2 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
4 * lyxcursor.[Ch] (operator>): add
5 * textcursor.C (selStart, selEnd): use std::min and std::max
7 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
9 * Chktex.C: include boost/format.hpp
11 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
13 * InsetList.C: replace functor MathcIt with adaptable functor
15 (insetIterator): modify accordingly
17 * BranchList.h: move the BranchNamesEqual functor here from...
18 * BranchList.C: ... to here
20 * BranchList.C: new BranchListEqual fuctor, use it. Remove
22 (add): replace a finding loop with std::find_if.
24 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
26 * output_docbook.C: moving LatexParam functionality into
29 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
31 * buffer.C: increment format to 229.
33 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
36 * lyx_sty.[Ch]: remove minipageindent_def
42 * text3.C: remove LFUN_INSET_MINIPAGE
44 2003-12-28 Angus Leeming <leeming@lyx.org>
46 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
48 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
50 * text2.C (setParagraph): fix off-by-one crash
52 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
54 * output_docbook.C: header stuff for AGU
56 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
58 * text2.C (redoCursor): remove
61 * BufferView_pimpl.C: remove calls to redoCursor and
62 setCursor(cursor.par(), cursor.pos()) all around
64 2003-12-15 Angus Leeming <leeming@lyx.org>
66 * buffer.C: up the format to 228.
68 2003-12-15 André Pönitz <poenitz@gmx.net>
70 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
84 2003-12-15 Angus Leeming <leeming@lyx.org>
86 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
87 than getFromGUIName to manipulate the color.
89 2003-12-14 Angus Leeming <leeming@lyx.org>
91 * BranchList.[Ch]: minimize the API.
92 (Branch::getBranch, getColor): now return a 'const &'.
93 (Branch::setSelected) now returns a bool set to true if the
94 selection status changes.
95 (BranchList::clear, size, getColor, setColor, setSelected,
96 allBranches, allSelected, separator): removed.
97 (BranchList::find): new functions, returning the Branch with
99 (BranchList::add, remove): return a bool indicating that
100 the operation was successful.
102 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
103 new InsetBranch::isBranchSlected member function.
105 * LColor.[Ch]: mimimize the API.
106 (fill): renamed as addColor and made private.
107 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
108 versions of these functions taking a string arg have been removed.
110 * bufferparams.C (readToken):
111 * lyxfunc.C (dispatch):
112 * lyxrc.C (read): changes due to the altered BranchList and
115 * factory.C (createInset, readInset): changes due to altered
118 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
121 * lyxfunc.C: remove insetminipage. "minipage-insert"
122 now produces a frameless minipage box inset.
124 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
126 * textcursor.[Ch] (selStart,selEnd): add new methods
127 remove selection::start, end, use LyXCursor::operator<
128 * lyxcursor.[Ch] (operator<): add
129 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
130 * BufferView.[Ch] (unsetXSel): add
131 * text2.C (clearSelection): use unsetXSel,adjust
134 * rowpainter.C: adjust
135 * bufferview_funcs.C (put_selection_at): adjust
137 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
139 * BufferView_pimpl.C: small coord. correction
141 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
143 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
144 dragging over the splash screen.
146 2003-12-11 Angus Leeming <leeming@lyx.org>
148 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
149 as it is now handled in LyXText::dispatch.
151 * text3.C (doInsertInset): remove a level of nesting.
153 2003-12-11 Angus Leeming <leeming@lyx.org>
155 * factory.C (createInset): changes due to the changed interface to
156 InsetCommandMailer::string2params.
158 2003-12-10 Angus Leeming <leeming@lyx.org>
160 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
161 'dialog-show-new-inset <inset name>'
163 2003-12-10 Angus Leeming <leeming@lyx.org>
165 * buffer.C: up the format to 227.
167 * factory.C: the box inset is now identified simply by 'Box'.
169 2003-12-10 Angus Leeming <leeming@lyx.org>
171 * buffer.C: up the format to 226.
173 * factory.C: the note inset is now identified simply by 'Note'.
175 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
177 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
178 when a pit is enough. Standarize a couple of loops.
180 2003-12-05 Angus Leeming <leeming@lyx.org>
182 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
183 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
184 data to the re-worked "log" dialog.
186 2003-12-03 André Pönitz <poenitz@gmx.net>
194 * text2.C: use Inset::getText instead of Inset::getParagraph
196 2003-12-03 André Pönitz <poenitz@gmx.net>
200 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
201 InsetText::read() as LyXText::read()
203 2003-12-02 Angus Leeming <leeming@lyx.org>
205 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
206 type. Add a comment in the implementation that the function uses
207 the stream's bad() function rather than fail() as the std::streams
210 2003-12-02 André Pönitz <poenitz@gmx.net>
212 * lyxlex.[Ch]: make interface more similar to std::stream
214 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
216 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
218 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
220 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
222 * vspace.[Ch]: remove VSpace::NONE
224 2003-12-01 André Pönitz <poenitz@gmx.net>
227 * lyxtext.h: move ParagraphList member to LyXText
228 rename LyXText::ownerParagraphs to LyXText::paragraph
231 * bufferview_funcs.C:
241 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
243 * undo.C: fix cursor positioning
245 2003-12-01 John Levon <levon@movementarian.org>
247 * BufferView_pimpl.C: fix a crash on exit with
250 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
252 * BranchList.C: fix setSelected() method.
254 2003-11-28 André Pönitz <poenitz@gmx.net>
256 * ParagraphParameters.[Ch]:
257 * ParameterStruct.h: remove space above/below from Paragraph to
260 * BufferView_pimpl.C:
272 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
274 * factory.C: Syntax change for CharStyles
276 2003-11-28 André Pönitz <poenitz@gmx.net>
281 * buffer.[Ch]: move LyXText member
283 2003-11-28 André Pönitz <poenitz@gmx.net>
285 * BufferView.[Ch]: make LyXText * text a private member
287 * BufferView_pimpl.C:
298 * output_plaintext.C: cleanup
300 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
303 * lyxtextclass.[Ch]: parametrize SGML document header
305 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
308 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
311 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
313 * text2.C (setFont): rework using PosIterator (no more recursive)
314 (setCharFont): no more needed
315 (setLayout): no more selection cursors fiddling (done by redoCursor)
316 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
317 destroy remaining ones)
319 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
321 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
323 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
326 * text3.C: adjust + re-allow multi par depth changes
327 * textcursor.C: simplify a bit
329 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
335 * src/output_docbook.C:
336 * src/output_latex.C:
341 * src/text2.C: Introducing a number of tags parametrizing various
342 XML formats that we may want to support
344 2003-11-25 André Pönitz <poenitz@gmx.net>
346 * InsetList.[Ch] (begein, end): inline as suggested by profiler
348 * lyxtext.h (leftMargin/rightMargin): simplify interface
355 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
357 * lyxfunc.C (dispatch): propogate the bibtex databases from the
358 master file to any child files. Fixes bug 546.
360 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
362 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
364 2003-11-24 André Pönitz <poenitz@gmx.net>
366 * rowpainter.C: simplification
368 * text2.C (updateCounters): remove call to redoParagraph on
369 changed labels as this is far too expensive.
371 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
373 * converter.C (convert): fix a crash: this function gets
374 called with buffer == 0 from importer code.
376 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
378 * text3.C (cursorPrevious): make sure that we do not compare
379 iterators form different containers.
382 * rowpainter.C (paintSelection): make sure that we do not compare
383 iterators from different containers.
385 * text3.C (dispatch): [PRIOR] make sure that we do not compare
386 iterators from different ParagraphList containers.
389 * text2.C (LyXText): change order of initialization slightly
390 (operator=): new function. copy all variables except cache_par_
391 (moveUp): make sure that we do not compare iterators from
392 different ParagraphList constainers.
395 * text.C (firstPar): new function
396 (lastPar): new function
397 (endPar): new function
399 * lyxtext.h: move things around and group public functions, public
400 variables, private functions, private variables
402 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
404 * factory.C: change call to InsetERT constructor to avoid
405 additional invocation of method status
406 * text2.C (toggleInset): remove redundant update() call
407 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
408 instead of a Bufferview pointer
410 2003-11-21 André Pönitz <poenitz@gmx.net>
412 * rowpainter.C: simplification
414 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
416 * text3.C (dispatch): make possible to extend a word/row selection
419 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
421 * lyxtext.h: x0_,y0_ -> xo_,yo_
422 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
423 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
424 * rowpainter.C (paintRows): paint full paragraphs
426 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
428 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
431 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
433 * lyxtext.h: add x0_, y0_
434 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
435 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
437 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
439 * text2.C (setCursorIntern): move the x_target update here *
440 * text3.C: change some bv() to true/false in calls to
441 cursorUp/Down/Right/Left
442 * cursor.C: use helper function.
444 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
446 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
447 * paragraph_funcs.[Ch]: correct comment
448 * rowpainter.C: do not paint selections away from bv->cursor()
449 Fix a long standing selection painting bug.
450 * text3.C: generalize mouse-selection code to LyXTexts other that
452 * textcursor.C: do not use y coords if we can use par offsets
454 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
456 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
457 cursor position after e.g. inset insert)
459 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
461 * lyxfind.C (replace): adjust to locking removal + some
464 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
466 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
469 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
472 * output_docbook.C: XML sanitation: new layout
473 parameters InnerTag and CommandDepth
475 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
477 * BufferView_pimpl.C:
479 * text3.C: Fix the insertion and modification of button-style
482 2003-11-13 André Pönitz <poenitz@gmx.net>
484 * InsetList.[Ch]: remove deleteLyXText
486 * paragraph.[Ch]: cache beginOfBody position
491 * text3.C: remove superfluous update() calls
495 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
497 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
498 * BufferView.C (fitLockedInsetCursor): remove
499 * cursor.[Ch] (getDim): add
500 * text.C (getRowNearY): add faster version
501 * text3.C: remove some update calls
503 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
515 * text3.C: The Character Style /XML short element patch.
517 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
520 * factory.C: Small step to solving 'unable to insert some insets'
523 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
525 * cursor.[Ch] (updatePos): new function for updating the y
526 position of the tip inset
527 * bufferview_funcs.C (put_selection_at):
528 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
530 2003-11-11 André Pönitz <poenitz@gmx.net>
532 * text.C: remove big comment on invalid Paragraph pointers as it is
535 2003-11-11 André Pönitz <poenitz@gmx.net>
537 * text_funcs.[Ch]: merge with ...
545 * Makefile.am: remove text_funcs.[Ch]
547 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
549 * cursor.C (getPos): return absolute cached y coord
551 * BufferView_pimpl.C (fitCursor): new simplistic code
552 (workAreaDispatch): add a fitCursor call
554 2003-11-10 André Pönitz <poenitz@gmx.net>
557 * BufferView_pimpl.[Ch]: merge update() and updateInset()
559 2003-11-10 André Pönitz <poenitz@gmx.net>
561 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
562 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
563 indicate that the cursor needs to leave an inset
565 * lyxtext.h: remove inset locking
567 * cursor.[Ch]: re-implement functionality provided by inset locking
570 * BufferView_pimpl.[Ch]:
572 * bufferview_funcs.[Ch]:
584 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
586 * PosIterator.[Ch]: replace the stack with a vector, add inset
588 * iterators.[C]: adjust
590 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
592 * lyxfind.C (replaceAll): mark the buffer dirty if something was
594 * paragraph_funcs.C (readParToken): put the correct id in the
595 error item, not the id of the top paragraph
597 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
599 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
600 * bufferview_funcs.C (put_selection_at): use the above
602 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
604 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
606 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
609 * output_plaintext.h:
611 * output_docbook.h: add #include statements
613 2003-11-05 José Matos <jamatos@lyx.org>
615 * output_docbook.[Ch]:
617 * output_linuxdoc.[Ch]:
618 * output_plaintext.[Ch]: New files for output formats.
619 * output.[Ch]: New file for helper functions.
622 * paragraph_funcs.[Ch]: output functions moved to new files.
624 * outputparams.h: rename of latexrunparams.h
632 * paragraph_funcs.[Ch]:
633 * paragraph_pimpl.[Ch]:
634 * tabular.[Ch]: rename ascii to plaintext
635 and LatexRunParams to OutputParams.
637 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
639 * iterators.[Ch] (text): require bv argument
640 * undo.C (recordUndo):
641 * lyxfunc.C (dispatch):
642 * bufferview_funcs.C (put_selection_at): adjust
644 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
646 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
648 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
650 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
653 2003-11-04 André Pönitz <poenitz@gmx.net>
655 * cursor.[Ch]: restructure
658 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
660 * iterators.[Ch] (asCursor): remove
662 * lfuns.h: remove LFUN_INSET_EDIT
668 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
670 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
672 * lyxfind.[Ch]: complete overhaul
673 * BufferView_pimpl.C:
675 * paragraph.[Ch] (insert): add
677 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
681 * text.C: remove dead spellcheck code
683 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
685 * dispatchresult.h: add a val setter
687 * cursor.C (dispatch): use a tempvar for data_[i]
689 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
691 * PosIterator.[Ch]: compile fix
693 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
695 * text.C (cursorPar): deactivate the cursor cache
697 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
699 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
701 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
703 * text3.C (dispatch): adjust for new DisptchResult semantics.
705 * lyxfunc.C (dispatch): handle update when return from
706 Cursor::dispatch, adjust for new DispatchResult semantics.
708 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
709 DispatchResult(true) mean to not update. Add class functions for
710 setting dispatched and update, as well as reading.
712 * cursor.C (dispatch): don't handle update here
714 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
716 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
717 * trans_mgr.C: adjust
719 * paragraph_funcs.C (readParToken): exception safety
721 * lyxvc.h: store the vcs pointer in a scoped_ptr
724 * lyxsocket.C (serverCallback): exception safety
726 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
728 * ispell.C (clone): make it return a auto_ptr
730 * factory.C (createInset): exception safety
731 (readInset): exception safety
733 * bufferlist.C (newBuffer): exception safety
735 * Thesaurus.C (Thesaurus): use initialization for aik_
737 * MenuBackend.C (expandToc): exception safety.
739 2003-11-03 André Pönitz <poenitz@gmx.net>
743 * bufferview_funcs.C: remove getInsetFromId()
746 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
752 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
754 * PosIterator.C (distance, advance): new
755 * bufferview_funcs.[Ch] (put_selection_at): new
756 * iterators.[Ch] (lockPath): new
758 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
760 * iterators.[Ch] (asPosIterator): added
761 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
762 * PosIterator.[Ch]: added
764 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
768 * cursor.C (dispatch):
769 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
771 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
772 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
773 contructor, add a class function dispatched. Remove operator>=
775 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
777 * debug.C: only use the default constructor for debugstream
780 * main.C (main): include debug.h and setup the lyxerr streambuf
783 2003-10-31 José Matos <jamatos@lyx.org>
785 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
787 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
788 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
789 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
790 * paragraph_pimpl.C (simpleTeXSpecialC):
791 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
792 add LatexRunParams argument.
794 * exporter.C (Export): change call accordingly.
796 * latexrunparams.h: add new member to take care of the other backends.
797 2003-10-30 José Matos <jamatos@lyx.org>
799 * buffer.C (makeLinuxDocFile, makeDocBookFile):
800 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
801 factorise code for paragraph output.
803 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
806 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
808 * text3.C (dispatch):
809 * lyxfunc.C (dispatch):
810 * cursor.C (dispatch):
811 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
813 * dispatchresult.h: make the dispatch_result_t ctor explicit
815 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
818 * buffer.C: small refactoring of docbook stuff
820 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
822 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
825 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
827 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
828 operator dispatch_result_t, and operators for == != and >=
830 * cursor.C (dispatch): adjust for operator dispatch_result_t
831 removal. comment out call to update
833 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
835 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
843 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
846 * dispatchresult.h: new file, DispatchResult broken out of
849 * Makefile.am (lyx_SOURCES): add dispatchresult.h
851 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
853 * text.C (rowBreakPoint): put a hack inside #if 0
855 2003-10-28 André Pönitz <poenitz@gmx.net>
862 * text2.C: general cleanup (lots of small stuff)
864 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
866 * text2.C (cursorEnd): simple fix to the "end key goes to one
867 before the end on last row" bug
869 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
871 * text.C (backspace): fix the "zombie characters"
873 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
875 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
877 2003-10-27 André Pönitz <poenitz@gmx.net>
879 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
881 * factory.C: handle new InsetPagebreak, InsetLine
883 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
884 and move handling into new InsetPagebreak, InsetLine
886 * BufferView_pimpl.C:
888 * ParagraphParameters.C:
901 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
910 * text3.C: remove lastPos uses in favour of Row::endpos
912 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
914 * undo.C (performUndoOrRedo): fix two crashes by setting a
915 cursor by hand and reordering some calls. Use bv->lockInset instead
916 of inset->edit because the latter loses cursor information
918 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
920 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
922 (rowBreakPoint): fix width. change point to point + 1.
925 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
928 * lyxfunc.C: fix (at least partly) the problems
929 with the Nav menu and headers inside branch insets
932 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
934 * paragraph.C (getChar): add strong asserts
936 * lyxrow_funcs.C (lastPos): remove hideous hack
938 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
939 (fill): adjust to that (avoid an infinite loop)
941 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
943 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
945 2003-10-23 André Pönitz <poenitz@gmx.net>
947 * RowList_fwd.h: change list<> to vector<> to gain speed
948 after suggestion from Alfredo
950 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
952 * lyxtext.h: move the bidi stuff from here...
955 * Bidi.[Ch]: ... to here
957 2003-10-23 André Pönitz <poenitz@gmx.net>
960 * text.C (isLastRow, isFirstRow): new functions
962 * paragraph.h: new width cache member
964 * rowpainter.C: replace RowList::iterator with Row & where possible
966 * lyxfunc.C: replace several view()->text with a single call
968 * toc.C: fix 'unused' warning
970 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
972 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
973 when woring with stream::pos_type
974 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
976 2003-10-22 André Pönitz <poenitz@gmx.net>
979 * text.C: use Row & instead of RowList::iterator
981 * lyxrow.h: rename end() to endpos()
987 2003-10-22 Angus Leeming <leeming@lyx.org>
989 * buffer.[Ch] (fully_loaded): new member function, returning true
990 only when the file has been loaded fully.
991 Used to prevent the premature generation of previews and by the
992 citation inset to prevent computation of the natbib-style label.
994 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
995 templates are all set up.
997 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
999 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1001 * text.C: fixed an "oops" in the "is a bit silly"
1004 2003-10-21 André Pönitz <poenitz@gmx.net>
1006 * FuncStatus.[Ch]: small stuff, whitespace
1008 * lyxfont.[Ch]: operator<<() for debug reasons
1012 * lyxtext.h: whitespace, spelling
1014 * paragraph.C: naming of variables
1017 * text2.C: small stuff
1020 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1022 * text.C: (1) finish off the inset display() work;
1023 (2) fix the "is a bit silly" bug (accessing char
1026 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1028 * text.C: re-introduce display() for insets, fixing the
1029 various bugs (stretch of line above, math inset
1032 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1034 * text.C (rightMargin): remove spurious semicolon
1036 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1039 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1041 * text3.C: fix one crash due to wrong cursor def
1043 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1045 * vc-backend.C (scanMaster): make the regex static
1047 * LaTeX.C (scanAuxFile): make the regexs static
1049 * text3.C (doInsertInset, dispatch, dispatch):
1050 * text2.C (cursorUp, cursorDown):
1051 * text.C (selectNextWordToSpellcheck):
1052 * BufferView_pimpl.C (dispatch):
1053 * lyxfunc.C (dispatch): localDispatch -> dispatch
1055 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1057 * lyxsocket.C: include <cerrno>
1059 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1061 * lyxfunc.C (dispatch): remove textcache stuff
1063 * bufferlist.C (release): remove textcache stuff
1066 * TextCache.C: delete file
1067 * TextCache.h: delete file
1069 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1071 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1072 delete of the bv_->text.
1073 (resizeCurrentBuffer): remove texcache stuff
1074 (workAreaResize): ditto
1076 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1078 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1081 2003-10-16 André Pönitz <poenitz@gmx.net>
1088 * text3.C: speed up by storing y positions per paragraph plus per-row
1089 offset instead of having a 'full' y position in the row.
1091 2003-10-15 André Pönitz <poenitz@gmx.net>
1095 * undo.[Ch]: make undo aware of inner insets
1097 2003-10-14 Angus Leeming <leeming@lyx.org>
1099 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1100 static member functions LyX::ref() and LyX::cref.
1101 (lastfiles): new accessor functions for the new lastfiles_ member var.
1102 (addLyXView, views_): add a new LyXView to the list of views_.
1103 (updateInset): loop over all LyXViews to call their own updateInset
1104 member function, returning a pointer to the Buffer owning the inset.
1106 * BufferView_pimpl.C (loadLyXFile):
1107 * MenuBackend.C (expandLastfiles):
1108 * bufferlist.C (MenuWrite, QuitLyX):
1109 lastfiles is no longer a global variable.
1110 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1112 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1113 static function. Access through LyX::cref().emergencyCleanup().
1115 2003-10-14 André Pönitz <poenitz@gmx.net>
1117 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1119 * undo.[Ch]: restoring part of 'undo in insets'
1122 * undo_funcs.[Ch]: merge with undo.[Ch]
1124 * tabular.C: small cleansing stuff
1126 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1128 * paragraph_funcs.C (readParToken): report unknown insets as error
1129 boxes. Use the outer paragraph as location (also for unknown
1132 * factory.C (readInset): do not abort on reading an unknown inset.
1133 Eat it and return 0.
1135 2003-10-13 Angus Leeming <leeming@lyx.org>
1137 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1139 * lyxrc.C: displayTranslator is now a function,
1140 declared in GraphicsTypes.h.
1142 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1144 * format.C: new placeholder $$a to pass the socket address.
1146 * bufferlist.[Ch]: new function getBufferFromTmp.
1148 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1149 files in the temporary dir.
1151 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1153 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1155 * Makefile.am: add lyxsocket.[Ch].
1157 * lyx_main.C (error_handler): handle SIGPIPE.
1159 2003-10-13 André Pönitz <poenitz@gmx.net>
1161 * BufferView_pimpl.C:
1166 * undo_funcs.[Ch]: use paroffset_type instead of
1167 ParagraphList::iterators to prevent multiple conversion
1168 (and get a more robust interface)
1170 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1172 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1174 * text3.C (dispatch): ditto
1176 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1178 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1179 move the onlyfile, use onlyfile instead of foundfile in a couple
1182 * DepTable.C (update): flush the error stream a bit more
1184 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1186 * lyxserver.C (callback): adjust
1188 * lyxfunc.C (getStatus): add a missing brace in commented code
1189 (ensureBufferClean): reindent
1190 (dispatch): delete version taking a string
1192 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1194 * LaTeX.C (deplog): move found file handlig from here...
1195 (handleFoundFile): .. to new function here.
1196 (deplog): make sure to discover several files mentioned on the
1199 2003-10-10 André Pönitz <poenitz@gmx.net>
1206 * text3.C: fix some of the tabular crashes
1208 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1210 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1212 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1214 2003-10-09 André Pönitz <poenitz@gmx.net>
1216 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1219 * BufferView_pimpl.C:
1220 * bufferview_funcs.C:
1231 * undo_funcs.C: adjust
1233 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1235 * text2.C (incrementItemDepth): new function, use a backtracking
1236 algorithm to discover the correct item depth.
1237 (resetEnumCounterIfNeeded): new function, use a backtracking
1238 algorithm to discover if counter reset is needed.
1239 (setCounter): use them. Simplify a bit. Add different labels for
1240 different item depths for itemize.
1242 * paragraph.C (Paragraph): remove initialization of enumdepth
1245 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1246 enumerate and itemize. Change the type of itemdepth to signed char.
1248 2003-10-08 André Pönitz <poenitz@gmx.net>
1250 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1255 * tabular.[Ch]: fix crash after 'row-insert'
1257 2003-10-08 Angus Leeming <leeming@lyx.org>
1259 Fix doxygen warnings.
1261 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1262 Remove CutAndPaste:: prefix from header file declaration.
1264 * LColor.h (fill): remove LColor:: prefix from declaration.
1266 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1267 use lyx::depth_type rather than Paragraph::depth_type so that
1268 header file and .C file match.
1270 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1272 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1273 * aspell.C: \file aspell_local.C -> \file aspell.C
1274 * gettext.C: \file gettext.C -> \file src/gettext.C
1275 * gettext.h: \file gettext.h -> \file src/gettext.h
1276 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1277 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1278 * text.C: \file text.C -> \file src/text.C
1280 * toc.C: move comment so that doxygen is not confused.
1282 2003-10-07 Angus Leeming <leeming@lyx.org>
1284 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1286 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1289 * aspell_local.h: add forgotten std::string's.
1291 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1298 * text3.C: The Box patch. Fancybox support, minipage, parbox
1300 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1306 * ParagraphParameters.h:
1316 * lyxtextclasslist.h:
1319 * paragraph_pimpl.C:
1320 * textcursor.h: add <string> and other small fixes to make Lars'
1321 std::string patch compile with STLport.
1323 2003-10-06 Angus Leeming <leeming@lyx.org>
1325 * LColor.h: Add missing #include <string>.
1327 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1329 * All most all file in all subdirs: Make <string> be the prefered
1330 way of getting to std::string, add using declarations.
1332 2003-10-06 André Pönitz <poenitz@gmx.net>
1334 * metricsinfo.C: initialize LyXFont before changing attribute.
1335 (fixes the 'math in \emph is upright' bug)
1337 2003-10-06 André Pönitz <poenitz@gmx.net>
1339 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1341 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1344 * paragraph_pimpl.C: Small fixes to build using STLport
1346 2003-10-02 André Pönitz <poenitz@gmx.net>
1349 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1351 2003-10-01 André Pönitz <poenitz@gmx.net>
1353 * factory.C: assert early
1355 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1357 * lyx_main.C: remove the global debug object
1359 * debug.h: adjust for new debugstream
1361 * debug.C: adjust for new debugstream and keep the global debug
1364 2003-09-22 Angus Leeming <leeming@lyx.org>
1366 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1367 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1368 an incomplete class LyXFont.
1370 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1372 * factory.C: bug fix in branches
1374 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1376 * lyxfunc.C (processKeySym): adjust
1378 (dispatch): change arg name from ev to func, adjust
1379 (sendDispatchMessage): ditto
1381 * lyx_main.C (defaultKeyBindings): adjust keybindings
1382 (deadKeyBindings): ditto
1384 * kbsequence.C (addkey): return a FuncRequest
1386 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1388 * kbmap.C (bind): take a FuncRequest as arg, adjust
1391 (defkey): change to take a FuncRequest as arg, adjust
1392 (findbinding): take a FuncRequest as arg, adjust.
1394 * funcrequest.h (operator=): added
1396 * funcrequest.C (FuncRequest): default kb_action changed from
1397 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1399 * buffer.C (dispatch): simplify
1400 (dispatch): adjust to take a FuncRequest as arg, adjust
1402 * boost.C (assertion_failed): change assertion message slightly
1404 * ToolbarBackend.C (read): simplify
1406 * MenuBackend.C (binding): adjust call to findbinding, add a
1407 message if no binding is found.
1409 (expandToc): correct by adding a empty FuncRequest
1411 * LyXAction.C: include <boost/assert.hpp>
1412 (isPseudoAction): delete function
1413 (LookupFunc): change name to...
1414 (lookupFunc): this. change return type to FuncRequest.
1415 (getActionName): take kb_action as arg, simplify
1416 (funcHasFlag): add an assert, simplify.
1418 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1420 * toc.C (action): return a FuncRequest, simplify
1422 * lyxfunc.C (processKeySym): adjust
1423 (getStatus): delete version that takes an int.
1425 (dispatch): delete version that takes action as int
1427 (sendDispatchMessage): simplify and adjust
1429 * funcrequest.C (getArg): take unsigned int as arg
1431 * ToolbarBackend.C (read): adjust
1432 (add): delete version that takes func as a string.
1433 (getIton): take a FuncRequest as arg
1435 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1438 * MenuBackend.C (MenuItem): add a new construct that only takes a
1439 Kind, simplify the constructor use for submenus.
1441 (expandLastfiles): adjust
1442 (expandDocuments): adjust
1443 (expandFormats): adjust
1444 (expandFloatListInsert): adjust
1445 (expandFloatInsert): adjust
1446 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1448 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1449 Remove class variables lyx_pseudo_map and lyx_arg_map
1451 * LyXAction.C (searchActionArg): delete function
1452 (getPseudoAction): delete function
1453 (retrieveActionArg): delete function
1454 (LookupFunc): make it return kb_action, simplify.
1455 (getActionName): simplify
1457 * factory.C (createInset): fix new bug
1459 2003-09-19 Angus Leeming <leeming@lyx.org>
1461 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1462 masterFilename_ parameter in the include inset.
1464 * factory.C (createInset): changes due to the changes to InsetInclude.
1466 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1468 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1470 2003-09-18 Angus Leeming <leeming@lyx.org>
1473 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1474 Inset::fillWithBibKeys.
1475 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1477 2003-09-18 Angus Leeming <leeming@lyx.org>
1479 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1481 (ctor): pass and store a 'Buffer const &'
1482 (buffer): new member function.
1484 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1485 '*this' to the LaTeXFeatures ctor.
1487 2003-09-18 Angus Leeming <leeming@lyx.org>
1493 * text.C: rename EnumLColor as LColor_color.
1495 2003-09-18 Angus Leeming <leeming@lyx.org>
1497 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1498 remove #include "insets/insetbase.h" from cursor.h.
1500 2003-09-18 Angus Leeming <leeming@lyx.org>
1502 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1503 InsetOld_code to remove #include "inset.h".
1505 * iterators.C: add #include "insets/inset.h"
1507 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1509 * BufferView.C: remove more locking stuff that apparently doesn't
1510 do anything sensible.
1512 2003-09-16 André Pönitz <poenitz@gmx.net>
1515 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1518 2003-09-16 Angus Leeming <leeming@lyx.org>
1520 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1522 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1525 * paragraph.h: remove #include "lyxfont.h". Forward declare
1528 2003-09-16 Angus Leeming <leeming@lyx.org>
1530 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1531 of support/textutils.h.
1532 (isWord): move the contents of support/textutils.h's IsWordChar here.
1538 * text2.C: add #include "paragraph.h".
1541 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1543 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1549 * LaTeX.C: use namespace alias for lyx::support::os
1551 2003-09-16 Angus Leeming <leeming@lyx.org>
1554 * bufferview_funcs.C:
1557 * paragraph_pimpl.C:
1559 * text.C: add #include "LColor.h".
1561 2003-09-16 Angus Leeming <leeming@lyx.org>
1563 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1564 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1566 Store the FontBits::color variable as an int rather than as an
1567 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1570 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1571 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1572 string calls together.
1574 * lyxrc.C: add #include "LColor.h".
1576 2003-09-15 Angus Leeming <leeming@lyx.org>
1578 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1581 2003-09-15 Angus Leeming <leeming@lyx.org>
1583 * LColor.h: add an EnumLColor wrapper for LColor::color.
1585 * lyxfont.[Ch] (color, setColor, realColor):
1586 * lyxtext.h, text.C (backgroundColor):
1587 pass EnumLColor args to/from the functions, rather than LColor::color
1591 * lyxtext.h: forward declare EnumLColor.
1593 * lyx_main.C: add #include "LColor.h".
1595 2003-09-15 Angus Leeming <leeming@lyx.org>
1597 * .cvsignore: add lyx-gtk.
1599 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1604 * ParagraphParameters.C
1608 * bufferview_funcs.C
1618 * vc-backend.C: remove usage of STRCONV
1620 2003-09-15 Angus Leeming <leeming@lyx.org>
1622 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1623 explicitly define the color passed to the painter.
1625 2003-09-15 Angus Leeming <leeming@lyx.org>
1627 * bufferparams.C (BufferParams): reorder member initializers to avoid
1630 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1632 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1633 * text.C (updateRowPositions): remove an unusual nop
1635 2003-09-12 André Pönitz <poenitz@gmx.net>
1637 * BufferView_pimpl.C:
1646 * Counters.[Ch]: finish the 'automatic counters' job
1648 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1650 * aspell.C: include <boost/assert.cpp> (compile fix)
1652 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1654 * boost.C (assertion_failed): use lyx::support::abort instead of
1657 2003-09-10 Angus Leeming <leeming@lyx.org>
1659 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1660 with their _fwd progeny.
1662 2003-09-09 Angus Leeming <leeming@lyx.org>
1664 134 files throughtout the source tree: replace 'using namespace abc;'
1665 directives with the appropriate 'using abc::xyz;' declarations.
1667 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1669 * boost.C (emergencyCleanup): moved here from LAssert.c
1670 (assertion_failed): new function, called by BOOST_ASSERT
1672 * several files: change Assert to BOOST_ASSERT
1674 2003-09-09 Angus Leeming <leeming@lyx.org>
1676 * buffer.[Ch]: Add an Impl class and move Buffer's member
1677 variables into it. As a result move several header files out of
1680 Add header files to lots of .C files all over the tree as a result.
1682 2003-09-09 Angus Leeming <leeming@lyx.org>
1684 * buffer.[Ch]: make Buffer's member variables private. Add
1687 Lots of changes all over the tree as a result.
1689 2003-09-08 Angus Leeming <leeming@lyx.org>
1691 * graph.C: #include <config.h>.
1693 2003-09-08 Angus Leeming <leeming@lyx.org>
1697 * BufferView_pimpl.C:
1726 * toc.C: remove redundant using directives.
1728 2003-09-07 Angus Leeming <leeming@lyx.org>
1730 * LaTeXFeatures.h: remove #include "support/types.h".
1731 * ToolbarBackend.h: remove #include <algorithm>.
1732 * changes.h: remove #include <ctime>.
1733 * debug.h: remove #include <iosfwd>.
1734 * graph.h: remove #include "support/std_string.h".
1735 * lyx_main.h: remove #include <csignal>.
1736 * lyxlex_pimpl.h: remove #include <fstream>.
1737 * sgml.h: remove #include <algorithm>, <utility>.
1738 * toc.h: remove #include "support/std_ostream.h".
1739 Add #include <iosfwd>.
1741 2003-09-07 Angus Leeming <leeming@lyx.org>
1743 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1745 * converter.h: forward declare LatexRunParams.
1746 * encoding.h: remove #include "lyxrc.h".
1747 * lyxtext.h: remove #include "LColor.h".
1748 * lyxtextclass.h: remove #include "support/types.h".
1749 * trans.h: remove #include "tex-accent.h".
1750 * trans_mgr.h: remove #include "tex-accent.h".
1751 * insets/inset.h: remove #include "support/types.h", <vector>.
1752 * insets/insetcollapsable.h: remove #include "LColor.h".
1753 * insets/insetinclude.h: remove #include "dimension.h".
1754 * insets/insetlatexaccent.h: remove #include "dimension.h".
1755 * insets/insetoptarg.h:: remove #include "insettext.h".
1756 * insets/insettext.h: remove #include "dimension.h",
1757 <boost/shared_ptr.hpp>
1759 * insets/renderers.h: add #include "dimension.h".
1760 * insets/updatableinset.h: add #include "support/types.h".
1762 * many .C files: Associated changes.
1764 2003-09-06 Angus Leeming <leeming@lyx.org>
1766 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1767 one, inside testInvariant.
1769 * PrinterParams.C: new file.
1770 * PrinterParams.[Ch]: move the function bodies out of line.
1772 2003-09-06 Angus Leeming <leeming@lyx.org>
1774 * ParagraphParameters.h: forward declare ParameterStruct rather than
1775 including its header file.
1776 (depth): moved out-of-line.
1778 2003-09-06 Angus Leeming <leeming@lyx.org>
1780 * BufferView_pimpl.h:
1783 * lyxfunc.h: forward declare LyXKeySym rather than
1784 #include "frontends/LyXKeySym.h".
1786 * BufferView_pimpl.C:
1789 * lyxfunc.C: associated changes.
1791 2003-09-06 Angus Leeming <leeming@lyx.org>
1793 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1794 As a result, can remove the #include "insets/inset.h" from BufferView.h
1796 2003-09-06 Angus Leeming <leeming@lyx.org>
1798 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1799 As a result, can remove the #include "insets/inset.h" from BufferView.h
1801 2003-09-06 Angus Leeming <leeming@lyx.org>
1807 * bufferview_funcs.C:
1808 * BufferView_pimpl.C:
1813 * ParagraphParameters.C:
1818 * frontends/controllers/ControlDocument.C:
1819 * insets/insetcaption.C: rearrange the #includes into some sort of
1822 * buffer.h: remove #includes ErrorList.h, undo.h
1824 2003-09-06 Angus Leeming <leeming@lyx.org>
1826 * support/types.h: add a 'depth_type' typedef, used to store the
1827 nesting depth of a paragraph.
1830 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1831 defining explicitly.
1834 * paragraph_funcs.h:
1835 * ParagraphParameters.h:
1836 * sgml.h: use lyx::depth_type rather than Paragraph or
1837 ParameterStruct's depth_type.
1840 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1843 * BufferView_pimpl.C:
1845 * ParagraphParameters.C:
1848 * bufferview_funcs.C:
1855 * frontends/LyXView.C:
1856 * frontends/controllers/ControlDocument.C:
1857 * frontends/controllers/ControlErrorList.C:
1858 * insets/insetbibitem.C:
1859 * insets/insetbranch.C:
1860 * insets/insetcaption.C:
1861 * insets/insetcollapsable.C:
1862 * insets/insetenv.C:
1863 * insets/insetert.C:
1864 * insets/insetfloat.C:
1865 * insets/insetfoot.C:
1866 * insets/insetfootlike.C:
1867 * insets/insetnewline.C:
1868 * insets/insetquotes.C:
1869 * insets/insettabular.C:
1870 * insets/insettext.C:
1871 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1873 * frontends/controllers/ControlChanges.C: #include "changes.h".
1875 2003-09-06 Angus Leeming <leeming@lyx.org>
1877 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1878 than #including paragraph.h.
1881 * RowList.h: deleted. Superfluous.
1891 * insets/insettext.h: use ParagraphList_fwd.h rather than
1894 * paragraph.h: don't forward declare ParagraphList.
1897 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1898 rather than ParagraphList.h. paragraph.h is still needed for the
1899 Paragraph::depth_type parameters.
1901 * textcursor.h: enable it to compile stand-alone in light of the
1904 * bufferview_funcs.C:
1916 * frontends/controllers/ControlParagraph.C:
1917 * frontends/controllers/ControlTabular.C:
1918 * insets/insetmarginal.C:
1919 * insets/insetminipage.C:
1920 * insets/insetnote.C:
1921 * insets/insetoptarg.C: add header files needed to compile again.
1923 2003-09-06 Angus Leeming <leeming@lyx.org>
1925 * RowList_fwd.h: new file, forward-declaring Row rather than
1926 #including lyxrow.h.
1931 * insets/insettext.h: use it instead of RowList.h
1933 * bufferview_funcs.C:
1940 * text3.C: #include "RowList.h".
1942 2003-09-05 Angus Leeming <leeming@lyx.org>
1944 * factory.C (createInset):
1945 * vspace.C (c-tor): replace sscanf call with an istringstream.
1946 * ispell.C: re-add missing HP/UX headers.
1947 * lyxserver.C: re-add missing os2 headers.
1949 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1958 * text3.C: re-add missing system headers, needed for 2.95.2.
1960 2003-09-05 Angus Leeming <leeming@lyx.org>
1962 Changes most place everywhere due to the removal of using directives
1963 from support/std_sstream.h.
1965 2003-09-05 Angus Leeming <leeming@lyx.org>
1967 Replace LString.h with support/std_string.h,
1968 Lsstream.h with support/std_sstream.h,
1969 support/LIstream.h with support/std_istream.h,
1970 support/LOstream.h with support/std_ostream.h.
1972 Changes resulting throughout the tree.
1974 2003-09-05 Angus Leeming <leeming@lyx.org>
1976 * sgml.h: ensure that the header file can be compiled stand-alone.
1977 * *.C: strip out redundant #includes. (320 in total.)
1979 2003-09-04 Angus Leeming <leeming@lyx.org>
1981 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1982 here (from getPackages).
1984 * debug.[Ch]: add a new EXTERNAL tag.
1986 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1988 * text2.C (cursorEnd): simplify
1990 (getColumnNearX): adjust
1992 * text.C (computeBidiTables): adjust
1995 * rowpainter.C (paintChars): adjust
1996 (paintSelection): adjust
1997 (paintChangeBar): adjust
2000 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2002 (numberOfSeparators): adjust
2004 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2010 * text3.C: Restricts the mouse click functionality
2011 of insets like bibtex, include, toc and floatlist to the visible
2012 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2013 up the dialogs. Cursor has to be in front of the inset (i.e.
2014 start of row) for this to function.
2016 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2018 * bufferview_funcs.C (currentState): output row information
2020 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2022 * bufferview_funcs.C (currentState): output paragraph position
2024 2003-09-04 Angus Leeming <leeming@lyx.org>
2026 * FloatList.h: move out #include "Floating.h".
2027 * LaTeX.h: move out #include "DepTable.h".
2028 * LyXAction.h: move out #include "funcrequest.h".
2029 * buffer.h: move out #include "author.h", "iterators.h".
2030 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2031 * lyx_main.h: move out #include "errorlist.h".
2032 * lyxfunc.h: move out #include "FuncStatus.h".
2033 * lyxtext: move out #include "lyxcursor.h".
2034 * paragraph_pimpl.h: move out #include "counters.h".
2036 2003-09-03 Angus Leeming <leeming@lyx.org>
2038 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2039 preamble_snippets list, enabling us to add snippets to the preamble
2040 only if the snippet was not there already.
2042 2003-09-04 Angus Leeming <leeming@lyx.org>
2044 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2046 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2048 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2051 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2053 * BranchList.C: point fix, earlier forgotten
2055 2003-09-02 Angus Leeming <leeming@lyx.org>
2057 * box.C (contains): renamed from 'contained' after a fantastic
2060 2003-09-02 John Levon <levon@movementarian.org>
2066 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2068 2003-09-02 John Levon <levon@movementarian.org>
2070 * text2.C: simplification of cursorEnd(), including partial
2073 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2075 * buffer.C (readFile): add a space
2077 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2079 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2081 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2083 * buffer.C (readFile): new function, take a filename and a
2084 ParagraphList::iterator
2086 (readFile): adjust, make it private. don't use setStream, make
2087 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2088 always contain the filename.
2090 * BufferView.C (insertLyXFile): simplify and make it work for
2093 2003-08-30 John Levon <levon@movementarian.org>
2095 * Makefile.am: fix dist (from Kayvan)
2097 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2099 * most files: change to use const Buffer refs
2101 2003-08-27 André Pönitz <poenitz@gmx.net>
2103 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2104 on top of ownerPar().
2106 2003-08-27 John Levon <levon@movementarian.org>
2108 * funcrequest.C: properly initialise POD members
2110 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2112 * lyxtext.h (top_y): move top_y from here
2117 * BufferView_pimpl.[Ch]: to here
2118 * frontends/screen.C:
2119 * insets/insettabular.C:
2120 * insets/insettext.C: adjust
2121 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2123 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2126 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2128 2003-08-26 André Pönitz <poenitz@gmx.net>
2130 * paragraph_func.[Ch] (outerPar): new function
2133 * paragraph_funcs.C:
2134 * paragraph_funcs.h:
2135 * paragraph_pimpl.C:
2136 * text2.C: remove Inset::par_owner
2138 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2143 * text2.C: eliminates the needFullRow/display() stuff
2144 altogether, putting the logic in metrics/draw in the insets.
2146 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2148 * text2.C (redoParagraphInternal, redoParagraphs):
2149 * text.C (redoParagraph): add a call to updateRowPositions at the
2150 end of each 'metrics-like' call. Remove all others.
2151 (getRow): remove the 'y-computing' version.
2152 (getRowNearY): do not compute nor return the real y. Solve the
2153 'y < 0' problem and simplify.
2155 2003-08-22 Angus Leeming <leeming@lyx.org>
2157 * *.[Ch]: clean-up of licence and author blurbs.
2158 Also move config.h out of a few .h files and into a few .C files.
2160 2003-08-22 André Pönitz <poenitz@gmx.net>
2162 * lyxrow.[Ch]: add x_ and *fill_ members
2167 * text2.C: adjust/remove prepareToPrint() calls
2169 2003-08-22 André Pönitz <poenitz@gmx.net>
2171 * lyxrow.[Ch]: add end_ member
2173 * lyxrow_funcs.C: use LyXRow::end_
2175 * lyxtext.h (singleWidth): add LyXFont parameter
2178 * text2.C: adjust LyXText::singleWidth() calls
2180 * text.C (redoParagraph): simplify row breaking logic
2183 2003-08-19 André Pönitz <poenitz@gmx.net>
2185 * funcrequest.C: initialize button_ member
2188 * rowpainter.[Ch]: interface consolidation
2190 2003-08-18 André Pönitz <poenitz@gmx.net>
2193 * BufferView_pimpl.C:
2195 * paragraph_funcs.C:
2197 * text3.C: remove LyXScreen::draw() and fitCursor calls
2199 * BranchList.h: remove spurious semicolons
2201 * MenuBackend.C: fix branchlist related crash
2203 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2211 * bufferparams.[Ch]:
2215 * text3.C: implements the 'branch inset'
2216 idea. This allows the output of various versions of a document
2217 from a single source version, selectively outputing or suppressing
2218 output of parts of the text.
2219 This implementation contains a 'branch list editor' in a separate
2220 tab of the document settings dialog. Branches are user definable
2221 and have a "display colour" to distinguish them on-screen.
2223 ColorHandler was somewhat cleaned up.
2224 (1) make possible a dynamically growing LColor list by allowing
2225 the graphic context cache to grow along (vector);
2226 (2) eliminate an IMHO unnecessary step in colour allocation.
2228 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2230 * BufferView_pimpl.C: compile fix
2232 2003-08-15 André Pönitz <poenitz@gmx.net>
2234 * rowpainter.C: remove extra metrics calls
2236 * lyxtext.h: merge the two constructors into a single one,
2237 pass reference to owner's par list
2239 * BufferView_pimpl.C:
2243 2003-08-15 André Pönitz <poenitz@gmx.net>
2245 * lyxrow_funcs.[Ch]:
2248 * paragraph_funcs.C:
2253 * text_funcs.C: split LyXText::rowlist_ into individual
2254 Paragraph::rows_ chunks
2257 * BufferView_pimpl.[Ch]:
2260 * text3.C: remove toggleSelection()
2262 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2264 * bufferlist.C: beautify two alerts (shorter text of buttons)
2265 * buffer.C: Remove redundant ' ' from message
2267 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2268 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2269 rename VALIGN_CENTER to VALIGN_MIDDLE
2271 2003-08-11 André Pönitz <poenitz@gmx.net>
2273 * lyxtext.h (getPar):
2274 * text.C: new function
2276 2003-08-11 André Pönitz <poenitz@gmx.net>
2279 * tracer.[Ch]: remove unneeded files
2281 * InsetList.[Ch]: remove resizeInsetsLyXText()
2286 * text3.C: merge insertParagraphs() and appendParagraph()
2287 remove breakAgain(), update()
2289 * BufferView_pimpl.[Ch]:
2290 * bufferview_funcs.[Ch]:
2294 * tabular.C: adjust after text & InsetList changes.
2296 2003-08-08 André Pönitz <poenitz@gmx.net>
2298 * text.C (insertChar, backspace): replace rowlist fiddling
2299 with rebreak of full par
2302 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2303 checkParagraph, updateInset): removed
2305 2003-08-07 André Pönitz <poenitz@gmx.net>
2308 * text3.C: merge some LFUN handlers, remove dead code
2310 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2312 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2314 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2316 * text2.C (DEPM): fix part of bug 1255 and 1256
2318 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2320 * BufferView_pimpl.C (workAreaDispatch): change to use
2321 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2322 that are no mouse related.
2324 2003-08-05 André Pönitz <poenitz@gmx.net>
2327 * BufferView_pimpl.[Ch]:
2328 * bufferview_funcs.C:
2330 * text3.C: rip out "deep update"
2332 * textcursor.[Ch] (last_sel_cursor): remove unused member
2334 2003-08-04 André Pönitz <poenitz@gmx.net>
2337 * BufferView_pimpl.[Ch]:
2338 * ParagraphParameters.C:
2339 * bufferview_funcs.C:
2345 * text3.C: replace "complicated" BufferView::update(...) calls with
2348 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2350 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2352 * Makefile.am (lyx_SOURCES): add paper.h
2354 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2356 * Makefile.am: move things around so that both lyx-qt and
2357 lyx-xforms can be built (according to --with-frontend). Then lyx
2358 is a symbolic link to lyx-[firstfrontend]
2360 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2362 * Always use std::endl with lyxerr
2364 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2366 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2368 2003-08-01 André Pönitz <poenitz@gmx.net>
2371 * BufferView_pimpl.[Ch]:
2373 * text3.C: merge BufferView::repaint() and BufferView::update()
2375 2003-08-01 José Matos <jamatos@lyx.org>
2377 * buffer.[Ch]: file_format is no longer a buffer data element.
2379 2003-08-01 André Pönitz <poenitz@gmx.net>
2384 * text2.C: make redoParagraph more independent of current cursor
2386 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2388 * text2.C: remove unneeded members
2390 2003-07-30 André Pönitz <poenitz@gmx.net>
2392 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2394 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2395 create a single function...
2397 * paragraph_funcs.C (moveItem): ... here.
2400 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2402 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2404 * LColor.[Ch]: Add comment and greyedout logical colors.
2406 2003-07-30 André Pönitz <poenitz@gmx.net>
2408 * tabular.C: don't use Assert too heavily. This crashes where it
2411 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2413 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2414 is disabled (bug 1232)
2416 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2418 * factory.C: limited 'arg' scope
2420 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2422 * factory.C: fixed Note submenu issues
2424 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2426 * factory.C: submenu for Note/Comment/Greyedout
2428 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2431 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2433 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2436 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2437 greyedout. Patch provided by Jürgen Spitzmüller.
2439 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2441 * kbmap.C (read): fix error message when reading bind files
2443 2003-07-29 Angus Leeming <leeming@lyx.org>
2445 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2446 certainly does not do what it purports to do. I am doing it, and
2447 us, a favour by killing it.
2449 2003-07-28 José Matos <jamatos@lyx.org>
2451 * buffer.C (readBody, do_writeFile):
2452 * paragraph.C(readParagraph): \end_document replaces \the_end.
2454 2003-07-29 André Pönitz <poenitz@gmx.net>
2457 * BufferView_pimpl.[Ch]:
2461 * textcursor.[Ch]: remove toggleToggle & Co
2463 2003-07-28 José Matos <jamatos@fep.up.pt>
2465 * buffer.C (readParagraph):
2466 * params_func (readParToken, readParagraph):
2467 * paragraph.C (write): \layout -> \begin_layout.
2469 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2471 * lyxlex_pimpl.C (setFile): clean up slightly.
2473 * bufferparams.h: add compressed var
2475 * buffer_funcs.C (readFile): adjust for LyXLex change
2476 (newFile): ditto + simplify
2478 * buffer.C (writeFile): handle writing of compressed files
2480 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2481 Check if the file is compressed and set a bufferparm if so.
2483 * Makefile.am (lyx_LDADD): remove explicit -lz
2485 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2487 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2488 makeDocBookFile): put the real LyX version in the first line of
2492 * version.C.in: remove lyx_docversion
2494 * tabular.C (write_attribute): add a template-based version to
2495 write enums properly
2497 2003-07-28 André Pönitz <poenitz@gmx.net>
2502 * text3.C: use doubles again for x-coordinates. They are needed.
2504 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2506 * messages.C (getLocaleDir): use lyx_localedir()
2508 * lyxlex_pimpl.C (setFile): compress stuff
2510 * buffer.C (writeFile): add some compression stuff
2511 (do_writeFile): new func, dont call expliti close... will this
2514 * Makefile.am (lyx_LDADD): add -lz
2516 2003-07-28 José Matos <jamatos@fep.up.pt>
2518 * buffer.C: increment file format.
2519 * paragraph_funcs (readParagraph, readParToken):
2520 * paragraph.C (readParagraph): add \end_layout.
2522 2003-07-27 Angus Leeming <leeming@lyx.org>
2524 * Makefile.am: remove special casing for configure-time setting of
2525 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2527 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2528 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2530 2003-07-26 André Pönitz <poenitz@gmx.net>
2532 * paragraph_func.[Ch]:
2533 * paragraph.C (realizeFont): inline it whereever it is used
2538 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2541 2003-07-26 André Pönitz <poenitz@gmx.net>
2545 * text2.C: get rid of LyXText::need_break_row
2547 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2549 * toc.[Ch]: put namespace toc inside namespace lyx
2551 * MenuBackend.C (expandToc2): adjust for lyx::toc
2554 * lyxfunc.C (dispatch): adjust for lyx::find
2556 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2557 lyx::find instead. Reorganize a bit.
2558 (LyXReplace): rename to replace
2559 (LyXFind): rename to find
2561 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2564 2003-07-26 André Pönitz <poenitz@gmx.net>
2566 * text.C (setHeightOfRow): restrict scope of temporary variable
2568 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2569 code (never has been used?)
2571 2003-07-27 Asger Alstrup <alstrup@local>
2573 * text.C (fill): Optimise algorithm to exploit that we can reuse
2574 the LyXFont for many characters.
2575 (setHeightOfRow): Same thing.
2576 (rowBreakPoint): Same thing.
2578 2003-07-26 Asger Alstrup <alstrup@local>
2580 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2582 * text.C (singleWidth): Spurious font copying in hot-spot
2583 singleWidth avoided. Reorder tests for arabic for efficiency.
2585 * text.C (fill): handle empty paragraphs better.
2587 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2590 * encoding.h: add includes
2592 * lyxrc.C: remove reading of bind files
2594 * lyx_main.C (init): setup bindings and menus only if we have a
2597 * kbmap.C (read): new method. Do the actual reading of bind
2600 * converter.C (dvipdfm_options):
2603 (output): adapt PAPER_* enums.
2605 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2607 * bufferparams.h: remove paper-related enums from there
2609 * paper.h: New file. A trivial header file to hold paper-related
2610 enums. It should later expand to contain many paper-related
2613 * lyxrc.C: declare extern displayTranslator
2615 2003-07-27 José Matos <jamatos@fep.up.pt>
2617 * tabular.[Ch] (linuxdoc): add support for tables and figures
2620 2003-07-27 José Matos <jamatos@fep.up.pt>
2622 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2623 consistency in both functions.
2624 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2626 2003-07-26 Asger Alstrup <alstrup@local>
2628 * rowpainter.C (paintRows): Change algorithm to work directly on
2629 the insets rather than asking every character in the document
2630 whether its an inset.
2632 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2634 * buffer.C (openFileWrite): factorize some code
2636 2003-07-26 Angus Leeming <leeming@lyx.org>
2639 * lyx_main.[Ch]: replace occurances of system_tempdir with
2642 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2644 * rename Inset to InsetOld
2646 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2648 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2649 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2650 which I think is a bit clearer. EDIT is gone, since it was
2651 premature optimisation, and broken for mathed anyway.
2652 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2653 with cursor positioning in insets as well (math insets still do not
2654 work, but that's a different story anyway.) It mysteriously
2655 crashes sometimes with undo in the first paragraph, but I'm fairly
2656 confident that this is a compiler bug.
2658 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2660 * paragraph.C (Paragraph): adjust for new clone return type
2662 (copyIntoMinibuffer): ditto
2664 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2666 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2667 by not having a special case, and always doing a full rebreak of
2668 the document after undo.
2670 2003-07-23 Angus Leeming <leeming@lyx.org>
2672 * factory.C (createInset): InsetExternal::setParams now takes a
2675 2003-07-23 Angus Leeming <leeming@lyx.org>
2677 * factory.C (createInset): changed interface to the external and
2678 graphics mailers' string2params functions.
2680 2003-07-23 Angus Leeming <leeming@lyx.org>
2682 * factory.C (createInset): pass a
2683 Buffer const * parameter to InsetExternalMailer's string2params.
2685 2003-07-22 John Levon <levon@movementarian.org>
2687 * Thesaurus.h: include the right aiksaurus header
2689 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2691 * MenuBackend.C (expand): check menu shortcuts unconditionally
2693 2003-07-21 Angus Leeming <leeming@lyx.org>
2695 * factory.C (createInset): pass a
2696 buffer_path parameter to InsetGraphicsMailer's string2params.
2698 2003-07-21 Angus Leeming <leeming@lyx.org>
2700 * BufferView_pimpl.C (buffer):
2703 * lyxfunc.C (dispatch):
2704 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2705 rather than the grfx shortcut.
2707 2003-07-21 André Pönitz <poenitz@gmx.net>
2709 * rowpainter.C: remove unused variables
2712 * tabular_funcs.h: move to tabular.C
2713 * Makefile.am: adjust
2715 * tabular.[Ch]: basic optical cleaning
2717 * author.h: pass references, not values
2719 2003-07-18 André Pönitz <poenitz@gmx.net>
2727 * text3.C: two-phase drawing for InsetText and InsetTabular
2728 some float -> int changes.
2730 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2732 * lyx_main.C: fix the fix
2734 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2736 * lyx_main.C: fix a crash in batch mode if no files specified
2739 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2741 * format.[Ch] (papersize): moved to BufferParams
2742 * converter.[Ch] (dvips_options): moved to BufferParams
2743 (dvipdfm_options): moved to anon namespace
2744 * bufferparams.[Ch]: added above functions.
2746 2003-07-17 André Pönitz <poenitz@gmx.net>
2750 * text2.C: don't call inset->update() anymore
2752 * metricsinfo.[Ch]: add convenience constructor
2754 2003-07-16 André Pönitz <poenitz@gmx.net>
2759 * text2.C: replace the LyXCursor::irow_ member with
2760 on-demand computation of the value
2762 2003-07-16 John Levon <levon@movementarian.org>
2764 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2766 2003-07-15 André Pönitz <poenitz@gmx.net>
2769 * text2.C: remove no more needed refresh_row
2771 2003-07-15 André Pönitz <poenitz@gmx.net>
2776 * text3.C: refresh_status tristate -> need_update bool
2778 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2780 * lyxtext.h (init): remove reinit argument (act as if always true)
2781 * text2.C: adjust to that
2783 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2785 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2786 * text3.C: use it to delete selections in some cases
2787 (bugs 441, 673, 702, 954).
2789 2003-07-14 André Pönitz <poenitz@gmx.net>
2791 * rowpainter.[Ch]: reduce interface
2793 2003-07-14 André Pönitz <poenitz@gmx.net>
2795 * BufferView_pimpl.C:
2796 * text2.C: adjust after removing unused BufferView * argument
2798 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2800 * text2.C (init): fix a crash fired on resize
2802 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2804 * buffer.[Ch]: added new closing signal
2805 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2806 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2807 BufferView::Pimpl via the closing the signal
2809 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2811 * buffer.[Ch]: take out all bv-related from buffer
2813 * BufferView_pimpl.[Ch]: connect to new signals
2814 * CutAndPaste.C: removed useless asserts
2815 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2818 * lyxfunc.C: moved view-related funciontality from vc here
2819 * paragraph.C: removed outdated comments
2822 2003-07-10 André Pönitz <poenitz@gmx.net>
2824 * BufferView_pimpl.C:
2828 * text2.C: remove InsetText::InnerCache, clean up consequences
2830 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2832 * ispell.C: fix two typos in error messages
2834 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2836 * Extend Note inset to other forms of annotation like Comment
2837 and Greyedout. Right button click gives dialog.
2839 Files modified or added (+):
2843 * ControlNote.[Ch] +
2845 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2846 frontends/controllers
2850 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2852 * aspell.C: add missing namespace lyx::support
2854 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2856 * BufferView.[Ch] (newFile): Add
2857 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2858 * LaTeX.[Ch] (message): added this signal and use it
2859 * buffer.[Ch] (busy, message): added these signals and use them
2860 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2864 * importer.C: use buffer signals instead of direct bv calling
2865 * lyx_cb.[Ch] (ShowMessage): removed
2868 * paragraph_funcs.C:
2869 * text2.C: use buffer signals
2871 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2873 * introduce namespace lyx::graphics
2875 2003-07-02 André Pönitz <poenitz@gmx.net>
2877 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2879 2003-07-01 André Pönitz <poenitz@gmx.net>
2886 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2887 text*.C to text_func.C
2889 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2891 * introduce namespace lyx::support
2893 2003-06-30 André Pönitz <poenitz@gmx.net>
2898 * text.C: re-enable --with-included-string
2900 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2902 * textcursor.C: add <config.h>
2904 * text.C (getWord): remove const from word_location arg
2906 * lyxvc.C (getLogFile): fix const type order
2908 * lyxtext.h: remove const from word_location arg, add arg name
2910 * lyxlayout.h: currect type on labeltype.
2912 * importer.C: correct \file
2914 * converter.C (intToFormat): use std:: on ret val, ws changes
2916 * bufferlist.h: correct \file
2918 * buffer.C (makeLinuxDocFile): fix const type order
2919 (makeDocBookFile): ditto
2920 (fillWithBibKeys): use std:: on stdlib args.
2922 * CutAndPaste.C: fix authors.
2923 (availableSelections): use std:: on return vector
2925 2003-06-27 André Pönitz <poenitz@gmx.net>
2927 * BufferView_pimpl.C:
2928 * bufferview_funcs.C:
2936 * text3.C: remove LyXCursor::row_ member
2939 * text.C: rename fullRebreak() to partialRebreak() and implement
2940 a fullRebreak() that really bereks fully
2942 * textcursor.h: new struct for cursor-related data
2944 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2946 * lyx_main.C (LyX): get full path of document loaded on the
2949 2003-06-26 André Pönitz <poenitz@gmx.net>
2951 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2952 remove unused/broken operator>,<,>=.
2954 * text.C: remove only use of broken operator<= in an Assert().
2956 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2958 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2959 moved errorlist_.clear to showErrorList
2961 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2963 * converter.C (scanLog, runLaTeX):
2964 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2965 move the bv->showErrorList call to the callers
2966 * lyxfunc.C: i.e. here...
2968 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2969 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2970 namespace, the second to...
2971 * buffer_funcs (BufferFormat, parseErrors): added
2972 * errorlist.C (ErrorList(TeXErrors const &)): removed
2974 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2976 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2978 2003-06-24 "Garst R. Reese" <reese@isn.net>
2982 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2984 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2986 * version.C.in: change docversion to 1.4
2988 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2990 * buffer.C: fix a bug just introduced
2992 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2994 * buffer.[Ch]: added the parseError signal and use it, removed
2996 * BufferView.[Ch] (addError): moved to ...
2997 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2998 to the Buffer::parseError signal to catch (guess what) parse errors
2999 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3001 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3003 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3004 ability to create a buffer and to return an existing one from
3005 the list. Moved these functions to...
3006 * buffer_funcs.[Ch]: added
3007 * BufferView.[Ch] (loadLyXFile): added
3008 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3009 job removed from bufferlist::loadLyXFile.
3010 * buffer.C (setReadOnly): make it work without view
3011 (i.e added an if (users))
3013 2003-06-19 Angus Leeming <leeming@lyx.org>
3016 * LyXAction.C (init):
3017 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3018 with LFUN_DIALOG_SHOW <name> <data>.
3020 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3022 * CutAndPaste.C (availableSelections): small compilation fix for
3023 ancient (gcc 2.9x) compilers
3025 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3027 * text3.C (cursorNext): add tmp var
3029 * text2.C (updateCounters): for function calling out of for clause
3030 (replaceSelectionWithString): ditto
3031 (insertStringAsParagraphs): ditto
3032 (getColumnNearX): add tmp var
3033 (setCursorFromCoordinates): add tmp var
3034 (cursorDownParagraph): add tmp var
3035 (deleteEmptyParagraphMechanism): add tmp var
3037 * text.C (insertChar): add tmp var
3039 * rowpainter.C (paintDepthBar): add tmp var
3041 * CutAndPaste.C (availableSelections): potentially check all
3042 paragraphs in a cut to fill the shown strings.
3044 2003-06-18 André Pönitz <poenitz@gmx.net>
3046 * kbmap.[Ch]: use vector<> instead of list<>
3048 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3050 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3051 pasteSelection with index
3053 * text2.C (pasteSelection): modify, call pasteSelection with index
3055 * paragraph.C (asString): reimplement version with no interval to
3056 call the one with interval.
3058 * lyxtext.h: add index arg to pasteSelection
3060 * MenuBackend.C (MenuItem): handle PasteRecent
3061 (Menu::read::Menutags): add md_pasterecent
3063 (expandPasteRecent): new function
3066 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3068 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3070 (availableSelections): new function
3072 2003-06-17 Angus Leeming <leeming@lyx.org>
3074 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3076 2003-06-17 Angus Leeming <leeming@lyx.org>
3079 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3081 * lyxfunc.C (dispatch): invoke it.
3083 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3085 * iterators.C (operator++, ParPosition): reintroduce some
3086 const_cast for the benefit of older compilers.
3088 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3090 * text3.C (dispatch): do not modify clipboard when doing
3091 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3092 LFUN_DELETE_SKIP on a selection selection
3094 2003-06-16 André Pönitz <poenitz@gmx.net>
3100 * tabular.[Ch]: IU of clone() and getLabelList();
3102 2003-06-13 André Pönitz <poenitz@gmx.net>
3104 * tabular.h: compactification
3106 2003-06-12 André Pönitz <poenitz@gmx.net>
3110 * tabular_funcs.h: some renaming plus whitespace
3112 2003-06-12 André Pönitz <poenitz@gmx.net>
3115 * BufferView_pimpl.C:
3121 * toc.C: Return a Paragraph & for ParIterator::operator*()
3123 2003-06-11 John Levon <levon@movementarian.org>
3127 * ToolbarBackend.C: add "Toolbars" section and
3130 2003-06-10 Angus Leeming <leeming@lyx.org>
3133 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3135 * lyxfunc.C (dispatch): invoke it.
3137 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3139 * main.C: protect <ios> with HAVE_IOS
3140 (main): protect sync_with_stdio with HAVE_IOS
3142 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3144 * text2.C (cutSelection): adjust
3145 (pasteSelection): adjust
3147 * messages.C: handle get of empty string
3149 * main.C (main): use sync_with_stdio(false)
3151 * lyxfunc.C (dispatch): adjust
3153 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3154 (WriteAs): remove unneeded BufferView arg.
3156 * bufferparams.h: use correct types on papersize, papersize2 and
3159 * bufferparams.C (readToken): adjust for type
3160 (writeLaTeX): add missing cases to switch.
3162 * bufferlist.C (quitWriteBuffer): adjust
3165 * buffer.C (asciiParagraph): remove some commented code.
3167 * CutAndPaste.C: remove current_view extern variable.
3168 (cutSelection): add BufferParams arg.
3169 (eraseSelection): add BufferParams arg.
3170 (pasteSelection): add Buffer const & arg
3172 2003-06-07 John Levon <levon@movementarian.org>
3175 * paragraph_funcs.C:
3176 * paragraph_pimpl.C:
3180 * paragraph.C: allow InsetERT to freely space lines,
3181 and some consolidation of code
3183 2003-06-06 José Matos <jamatos@fep.up.pt>
3185 * buffer.C (makeDocBookFile): fix bug #821
3187 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3189 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3191 2003-06-04 Angus Leeming <leeming@lyx.org>
3193 * buffer.C: bump format to 224.
3195 2003-06-05 André Pönitz <poenitz@gmx.net>
3197 * text2.C (redoParagraphs): remove two const_cast<>
3199 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3201 * ParagraphList.h: remove last remnants of NO_STD_LIST
3203 2003-06-03 Angus Leeming <leeming@lyx.org>
3205 * factory.C (createInset): small change to the way InsetExternal's params
3208 2003-06-04 André Pönitz <poenitz@gmx.net>
3210 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3212 * paragraph_pimpl.h:
3213 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3215 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3217 * undo_funcs.C: make some simple cases of undo work again
3219 2003-06-03 John Levon <levon@movementarian.org>
3221 * ispell.C: HPUX doesn't have sys/select.h
3224 2003-06-03 John Levon <levon@movementarian.org>
3226 * CutAndPaste.C: update tabular and include inset
3231 * paragraph.C: remove owningBuffer(), don't pass Buffer
3234 * factory.C: insetGraphicsParams changed
3236 2003-06-02 John Levon <levon@movementarian.org>
3242 * text3.C: remove insetparent
3244 2003-06-02 John Levon <levon@movementarian.org>
3247 * buffer.C: fix inset_iterator.end(), move out of line
3250 2003-06-01 John Levon <levon@movementarian.org>
3252 * text3.C: use a proper cut/paste when doing inset
3253 insert (from Jürgen Spitzmüller)
3255 2003-06-01 John Levon <levon@movementarian.org>
3257 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3259 2003-05-30 André Pönitz <poenitz@gmx.net>
3261 * rowpainter.C: unify second drawing phase
3263 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3265 * trans_mgr.C: remove one case of current_view
3267 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3269 * paragraph_funcs.h: remove paragraph.h include
3271 * paragraph.h: delete NO_STD_LIST stuff
3273 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3275 * buffer.h: remove paragraph.h include
3277 * ParagraphList.C: delete file
3279 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3281 * toc.C (getTocList): adjust
3283 * paragraph_pimpl.C (validate): adjust
3285 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3287 * paragraph.C (Paragraph): adjust
3288 (getPositionOfInset): use const_iterator, adjust
3289 (bibitem): use const_iterator, adjust
3290 (setInsetOwner): adjust
3292 * iterators.C (operator++): adjust
3294 * InsetList.[Ch]: Replace selfmade iterator with standard
3295 vector::iterator also introduce const_iterator. Remove getPos,
3296 getInset and setInset from InsetTable. Adjust accordingly.
3298 * BufferView.C (lockInset): adjust
3299 (ChangeInsets): adjust
3301 * tabular.[Ch]: delete commented same_id functions
3303 2003-05-28 John Levon <levon@movementarian.org>
3305 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3307 2003-05-28 André Pönitz <poenitz@gmx.net>
3309 * metricsinfo.[Ch]: remove 'fullredraw' member
3311 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3313 * lyxtextclass.C (operator): remove caching.
3315 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3319 * text2.C (cursorBottom): adjust
3320 (setCounter): use ParagraphList::find, adjust
3322 * text.C (workWidth): use ParagraphList::find, adjust
3324 * lyxcursor.C (LyXCursor): adjust
3326 * buffer.C (inset_iterator): adjust
3328 * ParagraphList.h: make iterator(value_type) private, make
3329 ParagraphList a friend of iterator.
3331 * ParagraphList.C (find): new function
3333 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3335 2003-05-27 André Pönitz <poenitz@gmx.net>
3337 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3339 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3341 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3343 2003-05-26 John Levon <levon@movementarian.org>
3345 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3347 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3349 * remove same_id from function signatures, adjust.
3351 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3353 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3355 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3357 * paragraph.C (Paragraph): get rid of same_ids parameter
3359 * ParagraphList.C (insert): adjust
3362 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3364 * paragraph_funcs.C (breakParagraph): adjust
3365 (breakParagraphConservative): adjust
3367 * buffer.C (readParagraph): adjust
3369 * ParagraphList.C (insert): take a reference instead of a pointer
3372 * paragraph.[Ch] (id): new function
3374 * bufferlist.C (newFile): adjust
3376 * ParagraphList.C (ParagraphList): adjust
3378 (push_back): take a reference instead of a pointer.
3380 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3382 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3385 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3386 set else use old code.
3388 * ParagraphList.C: remove all NO_NEXT code and only compile this
3389 code of NO_STD_LIST is set.
3391 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3393 * BufferView_pimpl.C:
3403 * graphics/GraphicsConverter.C:
3404 * graphics/PreviewLoader.C: header adjustment
3406 2003-05-23 Angus Leeming <leeming@lyx.org>
3408 * LaTeXFeatures.[Ch] (useBabel): new method.
3409 * bufferparams.C (writeLaTeX): use it.
3411 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3413 * ParagraphList.h (set): remove unused function.
3415 2003-05-23 André Pönitz <poenitz@gmx.net>
3418 * BufferView_pimpl.C:
3422 * undo_funcs.C: setUndo reworked
3424 * iterators.[Ch]: add access to topmost ParagraphList
3426 * lyxtext.[Ch] (workWidth): add a const
3428 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3430 * texrow.[Ch] (increasePos): remove function
3431 * exporter.C (export): removed unused var and outdated comment
3433 2003-05-23 Angus Leeming <leeming@lyx.org>
3435 * latexrunparams.h: rename fragile as moving_arg.
3436 * paragraph.C (simpleTeXOnePar): ditto.
3437 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3439 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3441 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3443 (textUndoOrRedo): comment out a currently unused var.
3445 * paragraph.h (NO_NEXT): enable NO_NEXT
3447 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3449 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3451 * exporter.C (Export): adjust for removeAutoInsets removal.
3453 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3455 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3457 * BufferView.[Ch] (removeAutoInsets): delete function
3459 2003-05-22 Angus Leeming <leeming@lyx.org>
3461 * latexrunparams.h: add a free_spacing variable.
3463 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3464 to pass moving_arg, as the data is stored in runparams.fragile.
3466 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3467 to Inset::latexOptional or to simpleTeXOnePar.
3469 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3470 free_spacing arg to Inset::latexOptional.
3472 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3475 2003-05-22 Angus Leeming <leeming@lyx.org>
3477 * latexrunparams.h: add fragile and use_babel variables.
3479 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3480 * buffer.C (makeLaTeXFile): store this returned value in
3481 runparams.use_babel, thus passing it to the inset::latex methods.
3483 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3484 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3486 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3487 longer has a fragile arg, as it is stored in runparams.fragile.
3489 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3490 moving_arg parameter as the data is stored in runparams.fragile.
3492 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3493 a fragile parameter as the data is stored in runparams.fragile.
3495 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3497 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3499 2003-05-22 Angus Leeming <leeming@lyx.org>
3501 * latexrunparams.h: add a 'bool nice' which defaults to false.
3503 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3504 now encapsulated within runparams.
3506 * bufferlist.C (updateIncludedTeXfiles):
3507 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3509 2003-05-22 Angus Leeming <leeming@lyx.org>
3511 * latexrunparams.h: new file containing struct LatexRunParams.
3512 * Makefile.am: add new file.
3514 * LaTeX.[Ch] (c-tor, run):
3515 * buffer.[Ch] (makeLaTeXFile):
3516 * bufferlist.[Ch] (updateIncludedTeXfiles):
3517 * converter.C (convert, scanLog):
3518 * converter.[Ch] (runLaTeX):
3519 * exporter.C (Export):
3520 * paragraph.[Ch] (simpleTeXOnePar):
3521 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3522 * paragraph_funcs.[Ch] (latexParagraphs):
3523 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3524 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3525 pass around a LatexRunParams parameter.
3527 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3529 * paragraph.[Ch]: remove unused constructor
3531 * ParagraphList.C (erase): new function, taking two iterators
3533 2003-05-22 André Pönitz <poenitz@gmx.net>
3535 * undo_funcs.C: remove duplicated code
3537 * iterator.[Ch]: operator=
3539 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3541 * tabular.C (SetMultiColumn): ws changes
3543 * rowpainter.C (paintFirst): get rid of a ->previous
3545 * lyx_cb.C (getPossibleLabel): parlist simplification
3547 * BufferView.C (ChangeInsets): simplify slightly.
3549 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3551 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3552 * lfuns.h: new LFUN_SPACE
3553 * lyxfunc.C: protected space has a new lfun
3554 * paragraph_funcs.C: read new space insets
3556 * factory.C: handle new space insets
3558 2003-05-22 André Pönitz <poenitz@gmx.net>
3561 * BufferView_pimpl.C:
3564 * undo_funcs.C: return a ParIterator from getParFromID.
3566 * iterators.[Ch]: add two const's
3568 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3570 * toc.C (getTocList): adjust
3572 * iterators.[Ch]: rework for parlist
3574 * buffer.C (par_iterator_begin): adjust
3575 (par_iterator_end): adjust
3577 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3579 * BufferView.C (removeAutoInsets): adjust
3580 (ChangeInsets): adjust
3582 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3584 * text.C (top_y): fix bug 1110
3586 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3588 * errorlist.[Ch]: added
3591 * BufferView_pimpl.C:
3592 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3595 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3597 * Makefile.am: ensure that lyx is relinked upon changes to the
3598 various "convenience" libs.
3600 2003-05-20 Angus Leeming <leeming@lyx.org>
3602 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3603 files are compiled in alphabetical order again.
3605 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3607 2003-05-19 Angus Leeming <leeming@lyx.org>
3609 * gettext.[Ch]: remove "char const * _(char const *)".
3611 2003-05-19 André Pönitz <poenitz@gmx.net>
3613 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3622 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3624 2003-05-19 André Pönitz <poenitz@gmx.net>
3628 * lyxtextclass.[Ch]:
3630 * paragraph_funcs.[Ch]:
3632 * text3.C: more insetenv work
3634 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3636 * ParagraphParameters.C (params2string): small bug fixed
3638 2003-05-16 André Pönitz <poenitz@gmx.net>
3641 * bufferview_funcs.C: patch from Kornel Benko to prevent
3642 crash when _(...) is called twice in a statement
3644 2003-05-16 André Pönitz <poenitz@gmx.net>
3651 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3653 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3655 * lyx_main.C (init): remove spurious static_cast
3657 2003-05-14 André Pönitz <poenitz@gmx.net>
3659 * BufferView.C: fix format string
3661 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3663 * BufferView.[Ch] (insertErrors): removed
3664 * BufferView.[Ch] (showErrorList): added
3665 * buffer.C (runChkTeX):
3666 * converter.C (scanLog): call showErrorList instead of inserterrors
3668 2003-05-13 André Pönitz <poenitz@gmx.net>
3670 * BufferView_pimpl.C:
3672 * bufferview_func.C:
3679 * tabular_funcs.h: tostr() from its own header
3681 * ParagraphParameters.C:
3686 * text3.C: STRCONV()
3688 2003-05-12 André Pönitz <poenitz@gmx.net>
3691 * BufferView_pimpl.C:
3695 * ParagraphParameters.C:
3699 * bufferview_funcs.C:
3712 * paragraph_funcs.C:
3716 * text3.C: boost::format -> bformat all over the place
3719 2003-05-09 André Pönitz <poenitz@gmx.net>
3721 * LColor.[Ch]: Pimpl the #include <map> away
3723 2003-05-09 John Levon <levon@movementarian.org>
3725 * bufferlist.C: never remove emergency saves
3727 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3729 * Makefile.am: better lib building
3731 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3733 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3735 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3736 (simpleTeXSpecialChars): adjust
3737 (simpleTeXSpecialChars): adjust
3738 * paragraph.C (simpleTeXOnePar): adjust
3739 * buffer.C (makeLaTeXFile): adjust
3741 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3743 * text2.C (changeDepth): parlist cleanup
3744 (getColumnNearX): ditto
3746 * rowpainter.C (getLabelFont): parlist cleanup
3748 * bufferlist.C (newFile): parlist cleanup
3750 * CutAndPaste.C (eraseSelection): parlist cleanup
3752 * BufferView_pimpl.C (trackChanges): parlist cleanup
3755 * BufferView.C (lockInset): parlist cleanup.
3756 (ChangeInsets): ditto
3758 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3760 * CutAndPaste.h: Update file header.
3762 * CutAndPaste.C: Update file header.
3763 Store the parts cut out of the Document in a limited_stack.
3764 (copySelection): adjust
3765 (pasteSelection): new function, takes the index in the limited stack.
3766 (nrOfParagraphs): adjust
3767 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3768 simplify error inset insertion.
3769 (checkPastePossible): adjust
3771 2003-05-06 John Levon <levon@movementarian.org>
3773 * text2.C: don't cast wrap inset to float
3775 2003-05-05 André Pönitz <poenitz@gmx.net>
3778 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3780 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3781 few naked Paragraph *.
3783 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3785 * bufferparams.C: Output warning if a document with missing
3786 TeX document class is loaded
3787 * exporter.C: Disable TeX exports if the document class is missing
3790 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3791 isTeXClassAvailable()
3793 2003-05-03 John Levon <levon@movementarian.org>
3796 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3797 explicit cursor show/hide
3799 * BufferView_pimpl.h:
3800 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3801 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3803 * lyxfunc.C: hide cursor before dispatching.
3808 * text3.C: remove explicit cursor hides
3810 2003-05-02 André Pönitz <poenitz@gmx.net>
3812 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3815 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3818 * text2.C: tiny whitespace
3820 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3822 * undo_funcs.C: almost only ws changes.
3824 * ParagraphList.C (splice): just return if pl is empty.
3826 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3828 * ParagraphList.C (splice): new function.
3830 * CutAndPaste.C (pasteSelection): use it
3832 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3834 * CutAndPaste.C (pasteSelection): remove the last next and
3835 previous from this file.
3837 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3839 * CutAndPaste.C (pasteSelection): more clean up, user proper
3840 ParagraphList functions for pasteing.
3842 * ParagraphList.C (insert): new function, three arg insert
3844 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3846 * ParagraphList.C (insert): new function, three arg insert
3848 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3851 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3853 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3855 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3857 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3859 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3861 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3862 (copySelection): clean up a bit.
3863 (pasteSelection): use make_pair
3865 * ParagraphList.C (ParagraphList): implement copy constructor
3866 (operator=): implement, base on copy constructor.
3869 * paragraph.C (erase): return a bool
3871 * paragraph_pimpl.C (erasePos): remove function, move contents...
3872 (erase): ... here. Return a bool.
3873 (erase): call erase instead of erasePos.
3875 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3877 * ParagraphList.h: define PitPosPair
3878 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3879 ParagraphList, fix a bug on pasting multiple pars
3880 * text2.C: change interface to C&P
3882 2003-04-30 André Pönitz <poenitz@gmx.net>
3884 * undo_func.C: revert part of yesterday's patch 2
3886 2003-04-30 John Levon <levon@movementarian.org>
3888 * LColor.C: s/tabular/table/
3890 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3892 * text3.C (dispatch): do not convert iterator -> pointer
3893 * undo_funcs.C (setCursorParUndo): ditto
3894 * text_funcs.C (transposeChars): ditto
3896 * text2.C (setLayout): ws changes only
3898 * text.C (breakParagraph): do not convert iterator -> pointer
3900 (acceptChange): ditto
3901 (rejectChange): ditto
3906 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3909 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3911 * text3.C (gotoInset): YABG (yet another bad getChar)
3913 2003-04-29 André Pönitz <poenitz@gmx.net>
3915 * paragraph.h: make operator= private unimplemented as long as
3918 * ParagraphList.C: whitespace
3921 * paragraph_pimpl.[Ch]:
3922 * paragraph_funcs.C:
3924 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3927 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3929 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3931 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3932 * paragraph.[Ch] (erase):
3933 * paragraph_pimpl.[Ch] (erase): change return type and value
3934 * text2.C (cutSelection): some rework
3936 2003-04-28 John Levon <levon@movementarian.org>
3938 * bufferlist.C: changes for unsaved changes dialog
3940 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3942 * bufferlist.C (newFile): set language (messages_) for new
3945 * buffer.C (readFile): ws changes only.
3947 2003-04-28 André Pönitz <poenitz@gmx.net>
3952 * BufferView_pimpl.C:
3953 * BufferView.C: getParFromID related ParagraphList::iterator changes
3955 2003-04-28 André Pönitz <poenitz@gmx.net>
3957 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3960 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3962 * messages.C: remove one more localedir class variable.
3964 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3966 * messages.C (getLocaleDir): singleton generation function
3968 (Messages): add a default constructor.
3970 * main.C (main): do not setup localedir here, do not call
3973 * gettext.C (_): use it.
3974 (gettext_init): delete funciton
3976 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3978 * gettext.C (getLyXMessages): new singleton generating function.
3980 * buffer.C (updateDocLang): adjust
3982 * Makefile.am (messages.o): add target
3983 (main.o): remove target
3985 2003-04-27 John Levon <levon@movementarian.org>
3990 * lyxvc.C: specify cancel button in Alert::prompt
3992 2003-04-26 John Levon <levon@movementarian.org>
3997 * LyXAction.C: add LFUN_INSET_SETTINGS
3999 * lyxfunc.C: don't enable tabular-feature when there's
4000 just any locking inset
4002 2003-04-26 John Levon <levon@movementarian.org>
4004 * bufferlist.C: re-add Cancel to buffer close question
4006 * lyxfunc.C: fix import UI a bit
4008 2003-04-25 John Levon <levon@movementarian.org>
4010 * gettext.C: remove the broken asserts for now
4012 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4014 * messages.C: make case where setlocale cannot comply work better.
4016 * buffer.C (updateDocLang): new function
4017 (changeLanguage): use it
4020 * text2.C (setCounter): use B_ a bit.
4022 * lyxlayout.C (Read): be sure to trim the label strings.
4024 * messages.C (Messages): fix typo in comment
4026 * buffer.C (readFile): set message_ after file is loaded.
4027 (makeDocBookFile): remove double return
4028 (changeLanguage): reset message_ upon language change.
4029 (B_): new func, use this to get translated buffer strings.
4031 * main.C: add myself and Jean Marc as authors.
4033 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4035 * messages.[hC]: pimplify Messages, and three different pimpls to be
4036 used in different circumstances.
4038 * gettext.[Ch]: change for use with new message code.
4040 2003-04-24 André Pönitz <poenitz@gmx.net>
4042 * factory.C: support for eqref
4044 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4046 * messages.[Ch]: add missing char
4048 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4050 * messages.[Ch]: New files
4052 2003-04-18 John Levon <levon@movementarian.org>
4056 * BufferView_pimpl.C:
4060 * text2.C: remove layout-copy/paste (bug 778)
4062 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4064 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4066 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4068 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4069 if they succeed. Act accordingly.
4071 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4073 * text2.C (setCharFont): adjust
4074 (setCounter): adjust
4075 (insertStringAsLines): adjust
4077 * text.C (leftMargin): adjust
4078 (setHeightOfRow): adjust
4080 * rowpainter.C (paintFirst): adjust
4083 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4085 (isFirstInSequence): ditto
4086 (getEndLabel): ditto
4089 * paragraph.C (getParLanguage): comment out some hard stuff.
4091 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4093 (simpleDocBookOnePar): ditto
4094 (makeDocBookFile): use ParagraphList::iterator
4096 * CutAndPaste.C (pasteSelection): adjust
4098 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4100 * text2.C (getFont): adjust
4101 (getLayoutFont): adjust
4102 (getLabelFont): adjust
4104 * paragraph_funcs.C (TeXOnePar): adjust
4106 * buffer.C (simpleLinuxDocOnePar): adjust
4107 (simpleDocBookOnePar): adjust
4109 * CutAndPaste.C (pasteSelection): adjust
4111 * BufferView.C (getEncoding): adjust
4113 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4115 2003-04-16 John Levon <levon@movementarian.org>
4117 * lyxfind.C: use parlist stuff for search/changes
4119 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4121 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4123 * text2.C (deleteEmptyParagraphMechanism): adjust
4125 * text2.[Ch] (ownerParagraph): delete func (both of them
4127 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4129 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4131 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4133 * ParagraphList.C: prepare for NO_NEXT
4135 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4137 * text2.C (getFont): adjust
4138 (getLayoutFont): adjust
4139 (getLabelFont): adjust
4141 * paragraph.C (getFont): adjust
4142 (getLabelFont): adjust
4143 (getLayoutFont): adjust
4145 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4147 2003-04-15 John Levon <levon@movementarian.org>
4151 * lyx_main.C: handle Include in .ui files
4153 2003-04-15 John Levon <levon@movementarian.org>
4155 * MenuBackend.C: make the doc files length shorter
4158 * ToolbarBackend.C: handle toolbar placement flags,
4161 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4163 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4166 * paragraph_funcs.C (TeXOnePar): adjust
4168 * paragraph.C (getLabelFont): add outerfont arg, adjust
4169 (getLayoutFont): ditto
4170 (simpleTeXOnePar): adjust
4172 * paragraph_pimpl.C (realizeFont): delete func
4174 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4176 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4177 row argument, constify cur argument.
4179 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4181 * text2.C (getFont): adjust
4182 (getLayoutFont): adjust
4183 (getLabelFont): adjust
4185 * paragraph_funcs.C (TeXOnePar): adjust
4186 (outerFont): new func...
4187 (realizeFont): ...moved out from here, changed this to facilitate
4190 * paragraph.C (getFont): take outerfont as arg, adjust
4191 (simpleTeXOnePar): add outerfont arg, adjust
4193 * buffer.C (simpleLinuxDocOnePar): adjust
4194 (simpleDocBookOnePar): adjust
4196 * CutAndPaste.C (pasteSelection): adjust
4198 * BufferView.C (getEncoding): adjust
4200 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4202 * text2.C (setCharFont): adjust
4203 (setCounter): adjust
4205 * text.C (leftMargin): adjust
4206 (setHeightOfRow): adjust
4208 * rowpainter.C (paintFirst): adjust
4211 * paragraph_pimpl.C (realizeFont): adjust
4213 * paragraph.C (isFirstInSequence): move from here...
4214 * paragraph_funcs.C (isFirstInSequence): ...to here
4216 * paragraph.C (outerHook): move from here...
4217 * paragraph_funcs.C (outerHook): ...to here
4219 * paragraph.C (depthHook): move from here...
4220 * paragraph_funcs.C (depthHook): ...to here
4222 * paragraph.C (getEndLabel): move from here...
4223 * paragraph_funcs.C (getEndLabel): ...to here
4225 * text2.C (realizeFont): move from here...
4226 * paragraph_funcs.C (realizeFont): ...to here
4228 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4230 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4232 2003-04-14 Angus Leeming <leeming@lyx.org>
4234 * LColor.[Ch]: scrap LColor mathcursor.
4236 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4238 * lyxlex.[Ch] (text): delete function
4239 * trans.C (Load): adjust
4240 * paragraph_funcs.C (readParToken): adjust
4242 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4244 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4245 vector<char> instead of a char[].
4247 * lyxlex_pimpl.C (getString): adjust
4249 (lex): use getString
4253 * lyxlex.C (text): use pimpl_->getString()
4257 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4259 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4260 (makeFontEntriesLayoutSpecific): temp var for par.size()
4261 (setLayout): temp var for ownerParagraphs().end()
4262 (fullRebreak): temp var for rows().end()
4263 (selectionAsString): temp var for boost::next(startpit), realize
4264 that the while really is a regular for loop.
4265 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4266 setCursor in one place.
4267 (setParagraph): temp vr for ownerParagraphs().end()
4268 (updateCounters): make the while loop a for loop
4269 (cutSelection): temp var for ownerParagraphs().end()
4270 (updateInset): make the do {} while() a regular for loop
4271 (getCursorX): use temp vars
4272 (setCurrentFont): use temp vars
4273 (getColumnNearX): use temp vars
4275 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4277 * text.C (transformChar): use temp var for getChar
4278 (computeBidiTables): use temp var for row->par()
4279 (fill): move temp vars for row->par() and pit->layout() earlier in
4281 (labelFill): use temp var for row->par()
4282 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4283 asc and desc, realize that pit never changes and that firstpit is
4284 just a duplicate and not needed. Exchange rit->par() with pit in a
4286 (breakAgain): use a temp var for boost::next(rit)
4287 (breakAgainOneRow): ditto
4288 (breakParagraph): use a temp var for rows().begin()
4289 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4290 (cursorRightOneWord): use temp var for cursor.par() and
4291 cursor.pos(), remove usage of tmpcursor.
4292 (cursorLeftOneWord): use temp var for cursor.par() and
4293 cursor.pos() only set cur at end of function.
4295 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4297 * text.C, text2.C: exchange all usage of Paragraph::next with
4298 boost::next(ParagraphList::iterator)
4300 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4302 * text2.C (cursorTop): simplify implementation
4303 (cursorBottom): ditto
4304 (setParagraph): use ParagraphList::iterator
4305 (setCurrentFont): adjust
4306 (getColumnNearX): adjust
4307 (cursorRight): adjust
4308 (cursorLeft): remove usage of Paragraph::previous
4309 (cursorUpParagraph): ditto
4310 (deleteEmptyParagraphMechanism): slight cleanup
4312 * text.C (isBoundary): take a Paragraph const & instead of a
4314 (addressBreakPoint): ditto
4315 (leftMargin): remove usage of Paragraph::previous.
4316 (setHeightOfRow): ditto
4317 (cursorLeftOneWord): ditto
4318 (selectNextWordToSpellcheck): ditto
4321 (breakParagraph): remove one usage of Paragraph::next
4322 (redoParagraph): ditto
4323 (acceptChange): ditto
4324 (insertChar): adjust
4325 (rowBreakPoint): adjust
4327 * bufferview_funcs.C (toggleAndShow): adjust
4329 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4331 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4332 methods to access it.
4334 * text.C: Added updateRowPositions to compute all row positions.
4335 Make top_y and getRowNearY() to use the cached y position
4337 2003-04-11 John Levon <levon@movementarian.org>
4339 * text.C (rowBreakPoint): reintroduce the labelEnd
4340 checks, code copied from the row fill stuff. Deep voodoo.
4342 * text.C (fill): add a comment and debugging for the
4345 2003-04-11 John Levon <levon@movementarian.org>
4347 * text.C: make sure fullrow insets get wrapped to the next line,
4348 even when they're in a manual label
4350 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4352 * text2.C (insertParagraph): make it take ParagraphList::iterator
4354 (setLayout): make it return ParagraphList::iterator
4355 (redoParagraphs): ditto
4357 (checkParagraph): ditto
4359 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4361 * text2.C: adjust several funcs.
4362 (realizeFont): take a ParagraphList::iterator as arg.
4363 (getLayoutFont): ditto
4364 (getLabelFont): ditto
4365 (setCharFont): ditto
4367 * text.C: adjust several funcs.
4369 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4371 * text.C (selectNextWordToSpellcheck): don't accidentally
4374 2003-04-10 John Levon <levon@movementarian.org>
4376 * ToolbarBackend.C (getIcon): special handling for
4379 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4381 * text2.C (cursorRight): a getChar assert fixed
4383 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4385 * text2.C (getFont): change to take a ParagraphList::iterator
4386 instead of Paragraph*
4387 Adjust several functions.
4389 * text.C (transformChar): change to take a ParagraphList::iterator
4390 instead of Paragraph*
4391 (singleWidth): ditto
4392 Adjust several functions.
4394 * rowpainter.C: adjust several functions
4395 * rowpainter.h:store a ParagraphList::iterator and not a
4399 2003-04-09 John Levon <levon@movementarian.org>
4404 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4405 and the "help" bits as well
4407 2003-04-09 John Levon <levon@movementarian.org>
4410 * ToolbarBackend.C: allow multiple toolbars
4412 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4414 * undo_funcs.C (setCursorParUndo): adjust
4416 * text_funcs.C (transposeChars): adjust
4418 * text3.C (gotoNextInset): adjust
4421 * text2.C (setLayout): adjust
4422 (changeDepth): adjust
4424 (redoParagraphs): adjust
4425 (selectionAsString): adjust
4426 (setParagraph): adjust
4427 (insertInset): adjust
4428 (cutSelection): adjust
4429 (copySelection): adjust
4430 (pasteSelection): adjust
4431 (insertStringAsLines): adjust
4432 (updateInset): adjust
4433 (setCursor): change to take a ParagraphList::iterator parameter
4434 (setCursorIntern): change to take a ParagraphList::iterator parameter
4435 (setCurrentFont): adjust
4436 (cursorLeft): adjust
4437 (cursorRight): adjust
4438 (deleteEmptyParagraphMechanism): adjust
4440 * text.C (breakParagraph): adjust
4441 (insertChar): adjust
4442 (acceptChange): adjust
4443 (rejectChange): adjust
4444 (selectNextWordToSpellcheck): adjust
4445 (changeCase): adjust
4449 * lyxfind.C (SearchForward): adjust
4450 (SearchBackward): adjust
4451 (nextChange): adjust
4453 * lyxcursor.C (par): adjust
4455 * lyxcursor.h: store a ParagraphList::iterator instead of a
4458 * lyx_cb.C (getPossibleLabel): adjust
4460 * bufferview_funcs.C (toggleAndShow): adjust
4462 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4465 * BufferView.C (removeAutoInsets): adjust
4466 (lockedInsetStoreUndo): adjust
4468 2003-04-09 John Levon <levon@movementarian.org>
4470 * ToolbarBackend.C: try icon without argument
4471 if with argument fails
4473 2003-04-08 John Levon <levon@movementarian.org>
4476 * ToolbarBackend.C: add getIcon(), handle tooltip,
4477 and change from "Icon" to "Item".
4479 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4481 * BufferView.C (lockInset): another bad getchar crunched
4483 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4485 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4488 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4490 * lyxfind.C (searchForward, searchBackwards): bug 782
4492 2003-04-07 John Levon <levon@movementarian.org>
4494 * paragraph.C: remove dead comment
4496 * text.C: remove troublesome depth-fiddling code
4497 in leftMargin() and rightMargin() (bug 1017)
4499 * text.C: fix breaking of rows in nested lists
4502 * text2.C (updateCounters): fix up depth values
4505 2003-04-07 John Levon <levon@movementarian.org>
4507 * BufferView_pimpl.C: clear message when doc finishes resizing,
4508 and after a mouse event
4510 * lyxfunc.C: clear message after exiting inset
4512 2003-04-07 John Levon <levon@movementarian.org>
4514 * bufferview_funcs.C: show math status not outside
4515 status in the statusbar
4517 2003-04-07 John Levon <levon@movementarian.org>
4519 * lyxfunc.C: note status changed after a depth change
4521 2003-04-04 Angus Leeming <leeming@lyx.org>
4523 * LaTeX.h: move AuxInfo operator==, != out of line.
4524 Remove LaTeX virtual destructor; nothing derives from it.
4525 Move operator()() out of public area and rename it startscript().
4526 Change protected for private.
4528 2003-04-04 Angus Leeming <leeming@lyx.org>
4531 * text2.C: remove unneeded #includes.
4533 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4535 * text2.C (dEPM): fix the heigth of the next row
4537 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4539 * text.C: squashed an invalid getChar requester + some ws changes
4541 2003-04-03 John Levon <levon@movementarian.org>
4543 * bufferview_funcs.h:
4544 * bufferview_funcs.C:
4547 * text2.C: make getStatus work for the env depth lfuns
4549 2003-04-03 John Levon <levon@movementarian.org>
4551 * bufferview_funcs.h:
4552 * bufferview_funcs.C:
4555 * text2.C: parlistize decDepth(), by merging it with incDepth()
4557 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4559 * lyxrow.h: store a ParagraphList::iterator instead of a
4560 Paragraph* and adjust other class functions to suit.
4562 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4565 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4567 * text2.C (setCursor): do not anchor to cursor row for the time being
4569 2003-04-02 John Levon <levon@movementarian.org>
4576 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4578 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4580 * paragraph.h: make ParagraphList and ParagraphList::iterator
4581 friends of Paragraph.
4583 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4585 * ParagraphList.C: Use the private next_ and previous_ from
4588 2003-04-01 John Levon <levon@movementarian.org>
4592 * Makefile.am: rename, remove defaults gunk
4595 * MenuBackend.C: remove defaults gunk
4598 * Languages.C: remove defaults gunk
4601 * lyx_main.C: error out if files couldn't be found.
4603 2003-04-02 John Levon <levon@movementarian.org>
4605 * text2.C: make incDepth() use parlist
4607 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4609 * undo_funcs.C (firstUndoParagraph): adjust
4611 * text3.C (gotoInset): adjust
4612 (dispatch): adjust, and rewrite loop.
4614 * text2.C (init): adjust, and rewrite loop.
4615 (redoParagraphs): adjust
4616 (updateInset): adjust, and rewrite loop.
4617 (deleteEmptyParagraphMechanism): adjust
4619 * tabular.C (LyXTabular): adjust
4620 (SetMultiColumn): adjust
4623 * lyxtext.[Ch] (ownerParagraph): delete function
4624 (ownerParagraphs): new function returns a ParagraphList.
4626 * BufferView.C (removeAutoInsets): adjust
4627 (insertErrors): adjust
4628 (setCursorFromRow): adjust
4630 2003-04-01 Angus Leeming <leeming@lyx.org>
4632 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4635 2003-04-02 John Levon <levon@movementarian.org>
4641 * text_funcs.C: make transposeChars a free function
4643 * lyxrow_funcs.C: remove wrong comment
4645 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4648 * rowpainter.C: adjust
4653 * lyxrow_funcs. [Ch]: new files
4655 * lyxrow.[Ch]: remove next and previous pointers
4656 (next,previous): remove accessor functions
4657 (isParEnd): move to lyxrow_funcs
4658 (lastPos): move to lyxrow_funcs
4659 (nextRowIsAllInset): move to lyxrow_funcs
4660 (lastPrintablePos): move to lyxrow_funcs
4661 (numberOfSeparators): move to lyxrow_funcs
4662 (numberOfHfills): move to lyxrow_funcs
4663 (numberOfLabelHfills): move to lyxrow_funcs
4664 (hfillExpansion): move to lyxrow_funcs
4668 * bufferview_funcs.C (toggleAndShow): adjust
4670 * RowList.h: Remove class RowList from file leave just a
4673 * RowList.C: delete file
4675 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4678 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4680 * text3.C (cursorPrevious): adjust
4681 (cursorNext): adjust
4684 * text2.C (redoHeightOfParagraph): adjust
4685 (redoDrawingOfParagraph): adjust
4688 * text.C (breakParagraph): adjust
4689 (insertChar): adjust
4692 * rowpainter.C (RowPainter): adjust
4693 (leftMargin): simplify and adjust
4694 (most rowpainter functions): adjust.
4696 * rowpainter.h: store the row as RowList::iterator not as Row*
4698 * lyxcursor.C (row): taka RowList::iterator as arg
4701 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4704 2003-04-01 Angus Leeming <leeming@lyx.org>
4706 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4707 stuff like bool Bool.
4709 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4711 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4714 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4716 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4719 * lyxtext.h (rows): drop one version and leve a const variant that
4720 returns a RowList::iterator.
4722 2003-03-31 Angus Leeming <leeming@lyx.org>
4724 * text.C (fill): ensure that the signature is the same as that in the
4727 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4729 * text2.C (redoParagraphs): adjust
4730 (updateCounters): adjust
4731 (checkParagraph): adjust
4732 (getColumnNearX): adjust and reformat a bit.
4734 * text.C (top_y): adjust
4736 (leftMargin): adjust
4737 (prepareToPrint): adjust
4739 (getRowNearY): adjust
4741 * lyxtext.h: make rowlist_ mutable.
4743 * RowList.h: add const_iterator
4744 * RowList.C: adjust for RowList::const_iterator.
4746 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4749 2003-03-31 John Levon <levon@movementarian.org>
4752 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4754 * lyx_main.C: set default fonts from using lyx_gui funcs
4756 * exporter.C: pdf_mode moved from lyxrc
4759 * lyxfunc.C: changes from above
4761 2003-03-31 John Levon <levon@movementarian.org>
4763 * lyx_main.C: fix to the last fix
4765 2003-03-31 John Levon <levon@movementarian.org>
4767 * bufferlist.C: "Load original" -> "Load Original"
4773 * format.C: more Alert cleanups
4775 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4777 * text2.C (removeParagraph): make it take a RowList::iterator as
4779 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4780 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4782 * text.C (anchor_row): make it take a RowList::iterator as arg,
4784 (computeBidiTables): make it take a const reference to Row instead
4785 of Row pointer, adjust.
4786 (leftMargin): make it take a RowList::iterator as arg, adjust.
4787 (rowBreakPoint): adjust
4788 (breakAgainOneRow): make it take a RowList::iterator as arg,
4790 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4792 * bufferview_funcs.C (toggleAndShow): adjust
4794 2003-03-30 John Levon <levon@movementarian.org>
4798 * boost-inst.C: moved to support
4800 * several files: changes as a result
4802 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4804 * text2.C (LyXText): adjust.
4806 (removeRow): make it take a RowList::iterator as arg, adjust.
4807 (fullRebreak): adjust
4808 (deleteEmptyParagraphMechanism): adjust
4809 (clearPaint): adjust
4812 * text.C (top_y): adjust
4813 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4814 (breakAgain): make it take a RowList::iterator as arg, adjust.
4815 (breakParagraph): adjust
4816 (insertChar): adjust
4819 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4820 need_break_row, and refresh_row.
4822 * text3.C (dispatch): adjust
4824 * text2.C (checkParagraph): adjust
4826 (setCursorFromCoordinates): adjust
4828 * text.C (top_y): adjust
4830 (getRow): make it return a RowList::iterator, adjust
4831 (getRowNearY): make it return a RowList::iterator, adjust
4833 * text2.C (init): adjust
4834 (insertRow): remove function
4835 (insertParagraph): adjust
4836 (redoParagraphs): adjust
4837 (fullRebreak): adjust
4838 (updateCounters): adjust
4840 * text.C (top_y): rewrite to use RowList iterators.
4842 (setHeightOfRow): rewrite to sue RowList iterators.
4843 (appendParagraph): adjust
4844 (breakAgain): adjust
4845 (breakAgainOneRow): adjust
4846 (breakParagraph): adjust
4848 (getRowNearY): adjust, and remove commented code.
4850 * lyxtext.h (firstRow): delete function
4851 (lastRow): delete function
4852 (rows): new function (const and non-const versions.)
4853 (insertRow): delete function
4855 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4857 2003-03-29 John Levon <levon@movementarian.org>
4859 * BufferView_pimpl.C: always update scrollbar top
4860 because pasting text when we're anchored could mean we
4861 miss an update altogether
4863 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4865 * text2.C (init): use rowlist_.end() and not 0.
4866 (insertRow): change to take a RowList::iterator as arg, adjust
4868 (insertParagraph): change to take a RowList::iterator as arg,
4870 (redoParagraphs): remove some debug msgs.
4872 * text.C (appendParagraph): change to take a RowList::iterator
4873 arg, adjust for this.
4874 (breakAgain): add an assert
4875 (breakAgainOneRow): ditto
4877 2003-03-29 John Levon <levon@movementarian.org>
4879 * text2.C: do not clear selection after inc/decDepth
4882 2003-03-29 John Levon <levon@movementarian.org>
4885 * buffer.C: fix broken strerrors according to Lars
4887 2003-03-29 John Levon <levon@movementarian.org>
4889 * converters.C: more Alert cleanups
4891 2003-03-29 John Levon <levon@movementarian.org>
4893 * bufferview_funcs.C: remove pointless Alert
4895 * buffer.C: fix confusing error message when
4896 a template is chmoded 000
4898 2003-03-29 John Levon <levon@movementarian.org>
4902 * BufferView_pimpl.C: Alert fixes
4906 * tabular-old.C: remove unused table compat reading
4908 2003-03-29 John Levon <levon@movementarian.org>
4913 * lyx_cb.C: more Alert cleanups
4915 * lyxfunc.C: don't allow chktex if not latex document
4917 2003-03-29 John Levon <levon@movementarian.org>
4921 * buffer.C: warnings pushed down from support/,
4924 2003-03-29 John Levon <levon@movementarian.org>
4926 * lyxfunc.C: safety check for C-r (revert)
4928 2003-03-29 John Levon <levon@movementarian.org>
4931 * bufferlist.C: several UI fixes using Alert::prompt.
4932 Fix the pointless looping quit code. Fix stupid revert
4937 * lyx_cb.C: use Alert::prompt
4939 * lyx_main.C: remove a silly question
4941 * lyxfunc.C: remove a couple of silly questions,
4944 2003-03-28 John Levon <levon@movementarian.org>
4946 * text2.C: fix bug 974 (End on empty par)
4948 2003-03-28 John Levon <levon@movementarian.org>
4950 * BufferView_pimpl.C:
4952 * lfuns.h: remove do-nothing math greek lfuns
4954 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4956 * lyxgluelength.h (isValidGlueLength): add default arg on
4957 parameter 2. Remove default arg from friend in class.
4959 * lyxlength.h (isValidLength): add default arg on parameter 2.
4960 Remove default arg from friend in class.
4962 * text2.C (LyXText): adjust, initialize refresh_row.
4966 (insertParagraph): adjst
4967 (redoParagraphs): adjust
4968 (fullRebreak): adjust
4969 (updateCounters): adjust
4970 (deleteEmptyParagraphMechanism): first attempt at fixing a
4973 * text.C (top_y): adjust
4974 (setHeightOfRow): adjust
4976 (getRowNearY): adjust
4978 * lyxtext.h: include RowList.h
4979 (~LyXText): not needed anymore, deleted.
4980 (firstRow): modify for RowList
4981 (lastRow): new function
4982 Delete firstrow and lastrow class variables, add a Rowlist
4983 rowlist_ class variable.
4985 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4988 * RowList.C (insert): fix case where it == begin().
4990 2003-03-26 Angus Leeming <leeming@lyx.org>
4992 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4993 the thesaurus dialog.
4995 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4997 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4999 * RowList.[Ch]: new files
5001 * ParagraphList.C (erase): handle the case where it == begin
5004 2003-03-25 John Levon <levon@movementarian.org>
5008 * aspell.C: add new aspell support
5011 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5014 2003-03-25 Angus Leeming <leeming@lyx.org>
5017 * LyXAction.C (init): new LFUN_INSET_INSERT.
5019 * BufferView_pimpl.C (dispatch): split out part of the
5020 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5022 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5025 2003-03-25 Angus Leeming <leeming@lyx.org>
5027 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5029 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5032 * text3.C: remove useless row->height(0)
5034 2003-03-25 John Levon <levon@movementarian.org>
5038 * text3.C: rename the refreshing stuff to better names
5040 2003-03-24 John Levon <levon@movementarian.org>
5042 * BufferView_pimpl.h:
5043 * BufferView_pimpl.C: update layout choice on a mouse
5046 2003-03-23 John Levon <levon@movementarian.org>
5048 * Makefile.am: fix commandtags.h reference
5050 2003-03-22 John Levon <levon@movementarian.org>
5052 * BufferView_pimpl.C:
5057 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5059 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5062 * text.C: take the rtl methods out of line
5064 2003-03-21 André Pönitz <poenitz@gmx.net>
5066 * metricsinfo.[Ch]: new files containing structures to be passed around
5067 during the two-phase-drawing...
5069 2003-03-21 André Pönitz <poenitz@gmx.net>
5071 * lyxtextclass.C: read 'environment' tag.
5073 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5075 * text2.C (removeRow): fix bug 964
5077 2003-03-20 John Levon <levon@movementarian.org>
5081 * text2.C: paint cleanups. Inset::update() dropped font
5084 2003-03-19 John Levon <levon@movementarian.org>
5086 * lyxfunc.C: only fitcursor/markDirty if available()
5088 2003-03-19 John Levon <levon@movementarian.org>
5090 * commandtags.h: rename to ...
5092 * lfuns.h: ... this, and renumber / cleanup
5094 2003-03-19 John Levon <levon@movementarian.org>
5096 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5097 fit the cursor after an lfun
5101 * BufferView_pimpl.h:
5102 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5104 * LyXAction.C: layout-character should have ReadOnly
5106 * ParagraphParameters.C:
5108 * bufferview_funcs.C:
5115 * undo_funcs.C: changes from above
5117 2003-03-18 John Levon <levon@movementarian.org>
5119 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5120 remove it from update()
5122 * lyxfunc.C: update layout choice after an lfun
5124 * text3.C: remove extra updateLayoutChoice()s
5126 2003-03-18 John Levon <levon@movementarian.org>
5128 * text.C: top_y change means full repaint, fix
5129 a drawing bug with cursor movement
5131 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5135 * text2.C: anchor row on setCursor
5137 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5139 * lyxtext.h: remove almost all mutable keywords
5142 * text3.C: remove const keywords accordingly
5144 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5146 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5148 (TeXEnvironment): ditto
5151 2003-03-17 John Levon <levon@movementarian.org>
5153 * text.C (rowBreakPoint): remove attempt to fix displayed
5154 math insets inside a manual label
5156 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5158 * lyxtext.h: remove BufferView* as first arg from almost all class
5160 * other files: adjust.
5162 2003-03-17 John Levon <levon@movementarian.org>
5166 * text2.C: more paint cleanups
5168 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5171 * rowpainter.C: remove "smart" background painting code
5173 2003-03-16 John Levon <levon@movementarian.org>
5178 * text3.C: add helper functions for setting refresh_row/y
5180 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5182 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5183 newline inset which *can* get inserted in the pass_thru layouts.
5184 This is primarily for literate documents.
5186 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5188 * buffer.C: increment LYX_FORMAT to 223
5190 2003-03-14 André Pönitz <poenitz@gmx.net>
5192 * textclass.h: prepare for environment handling, ws changes
5193 * lyxlayout.C: read latexheader and latexfooter tags
5195 2003-03-14 John Levon <levon@movementarian.org>
5197 * text2.C: rewrite ::status() a bit
5199 2003-03-13 John Levon <levon@movementarian.org>
5201 * lyxtext.h: add some docs
5203 2003-03-13 John Levon <levon@movementarian.org>
5208 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5210 2003-03-13 John Levon <levon@movementarian.org>
5212 * text3.C: fix appendix redrawing
5214 2003-03-13 John Levon <levon@movementarian.org>
5216 * text.C (setHeightOfRow):
5218 * rowpainter.C: make appendix mark have the text
5219 "Appendix" so the user knows what it is
5222 * LColor.C: s/appendixline/appendix/ from above
5224 2003-03-13 John Levon <levon@movementarian.org>
5226 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5228 * text.C: fix a getChar(pos) bug properly
5230 2003-03-13 Angus Leeming <leeming@lyx.org>
5233 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5234 Probably only temporary. Let's see how things pan out.
5236 * BufferView.C (unlockInset):
5237 * BufferView_pimpl.C (fitCursor):
5238 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5240 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5241 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5243 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5244 new functions that convert ParagraphParameters to and from a string.
5246 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5247 BufferView::Pimpl's dispatch.
5248 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5250 2003-03-13 André Pönitz <poenitz@gmx.net>
5254 * factory.C: make it aware of InsetEnv
5256 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5258 * text2.C (setCursor): never ask for one past last
5259 (setCursor): add some debugging messages.
5261 * text.C (singleWidth): never ask for one past last
5262 (singleWidth): ditto
5264 (rightMargin): ditto
5265 (rowBreakPoint): ditto
5266 (setHeightOfRow): ditto
5267 (prepareToPrint): ditto
5269 * rowpainter.C (paintBackground): never ask for one past last
5270 (paintText): never ask for one past last
5272 * paragraph_pimpl.C (getChar): make the assert stricter, never
5273 allow the one past last pos to be taken
5275 * paragraph.C (getChar): ws changes only
5277 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5278 (numberOfSeparators): ditto
5279 (numberOfHfills): ditto
5281 2003-03-12 John Levon <levon@movementarian.org>
5287 * paragraph_funcs.C: fix per-buffer authorlists
5289 2003-03-12 John Levon <levon@movementarian.org>
5291 * text.C: fix newline in right address
5293 2003-03-12 Angus Leeming <leeming@lyx.org>
5295 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5296 duplicate those in LyXFunc::dispatch.
5300 * ToolbarDefaults.C:
5301 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5302 Add LFUN_FONTFREE_UPDATE.
5304 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5305 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5307 * bufferview_func.[Ch]: several new functions to facilliate
5308 transfer of data to and from the character dialog.
5310 2003-03-12 John Levon <levon@movementarian.org>
5315 * paragraph_funcs.C:
5316 * paragraph_pimpl.C:
5320 * text3.C: remove META_NEWLINE in favour of an inset
5323 * rowpainter.C: remove paintNewline (done by inset)
5325 2003-03-12 John Levon <levon@movementarian.org>
5327 * paragraph_pimpl.C: complain about bad getChar()s
5328 for a while at least
5330 2003-03-12 John Levon <levon@movementarian.org>
5333 * buffer.C: move paragraph read into a separate function,
5334 a little renaming to reflect that.
5337 * bufferparams.C: remove the author_ids map, not necessary now
5340 * factory.C: moved Buffer::readInset to here
5342 * paragraph_funcs.h:
5343 * paragraph_funcs.C: readParagraph free function moved from
5346 * tabular.C: name change
5348 2003-03-12 John Levon <levon@movementarian.org>
5351 * ParagraphParameters.C: move par params input to
5354 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5355 behave like a normal read from the stream wrt reading
5356 a line vs. a \\token
5358 2003-03-12 John Levon <levon@movementarian.org>
5361 * ParagraphParameters.h:
5362 * ParagraphParameters.C: move output code to a
5365 2003-03-12 John Levon <levon@movementarian.org>
5367 * BufferView.C (insertLyXFile):
5370 * tabular.C: use a parlist iterator for creating the
5373 2003-03-12 John Levon <levon@movementarian.org>
5375 * buffer.C: make current_change static local not
5378 2003-03-12 John Levon <levon@movementarian.org>
5380 * buffer.C: fix insertStringAsLines for change tracking
5382 2003-03-12 John Levon <levon@movementarian.org>
5389 * bufferparams.C: move author list into params. Rename some
5390 functions. Move the header reading into a separate token
5391 loop. Move the header token reading into BufferParams.
5393 2003-03-12 John Levon <levon@movementarian.org>
5395 * changes.C: put debug inside lyxerr.debugging() checks
5397 2003-03-11 André Pönitz <poenitz@gmx.net>
5399 * factory.C: make it aware of InsetHFill
5401 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5403 * buffer.C (latexParagraphs): move function from here...
5404 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5407 2003-03-10 Angus Leeming <leeming@lyx.org>
5409 * LyXAction.C (init): fix bug in poplating array with multiple entries
5410 with the same LFUN (spotted by JMarc).
5412 2003-03-10 John Levon <levon@movementarian.org>
5415 * text2.C: move getColumnNearX() near its
5418 2003-03-10 John Levon <levon@movementarian.org>
5420 * text.C: fix break before a minipage
5422 2003-03-10 John Levon <levon@movementarian.org>
5424 * text.C: fix the last commit
5426 2003-03-09 John Levon <levon@movementarian.org>
5430 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5431 bug 365 (don't break before insets unless needed). Don't
5432 return a value > last under any circumstances.
5434 2003-03-09 Angus Leeming <leeming@lyx.org>
5436 * BufferView_pimpl.C (trackChanges, dispatch): call
5437 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5439 2003-03-09 Angus Leeming <leeming@lyx.org>
5441 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5442 than Dialogs::showAboutlyx().
5444 2003-03-09 Angus Leeming <leeming@lyx.org>
5446 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5447 than Dialogs::showTabularCreate().
5449 2003-03-09 John Levon <levon@movementarian.org>
5453 * text2.C: 3rd arg to nextBreakPoint was always the same.
5456 2003-03-08 John Levon <levon@movementarian.org>
5463 * text2.C: Remove the "main" bit from the "main body"
5466 2003-03-08 John Levon <levon@movementarian.org>
5468 * text.C (leftMargin): The left margin of an empty
5469 manual label paragraph should not include the label width
5472 * text.C (prepareToPrint): don't attempt to measure hfills
5473 for empty manual label paragraphs - the answer should be 0
5475 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5477 * CutAndPaste.C: remove commented code and reindent.
5479 2003-03-08 John Levon <levon@movementarian.org>
5482 * lyxfunc.C: move reloadBuffer()
5485 * BufferView.C: to here
5487 * lyxvc.C: add comment
5490 * vc-backend.C: call bv->reload() to avoid
5491 getStatus() check on MENURELOAD
5493 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5495 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5496 to an old format .dep file.
5498 2003-03-07 Angus Leeming <leeming@lyx.org>
5500 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5501 when the LFUN_MOUSE_RELEASE should have been handled by
5502 inset->localDispatch.
5504 2003-03-07 Angus Leeming <leeming@lyx.org>
5506 * BufferView_pimpl.C (dispatch):
5507 * LyXAction.C (init):
5508 * ToolbarDefaults.C (init):
5510 * lyxfunc.C (getStatus):
5511 remove LFUN_INSET_GRAPHICS.
5513 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5515 2003-03-07 Angus Leeming <leeming@lyx.org>
5518 * LyXAction.C (init):
5519 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5521 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5524 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5526 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5527 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5529 2003-03-07 Angus Leeming <leeming@lyx.org>
5531 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5534 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5536 * ParagraphList.C (front): new function
5539 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5541 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5542 and top_row_offset_. removed var first_y.
5544 * text2.C (LyXText, removeRow):
5546 * BufferView_pimpl.C:
5547 use these methods instead of using first_y
5549 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5551 * text2.C (pasteSelection): adjust for checkPastePossible
5553 * CutAndPaste.C: remove Paragraph * buf and replace with
5554 ParagraphList paragraphs.
5555 (DeleteBuffer): delete
5556 (cutSelection): change the tc type to textclass_type
5557 (copySelection): change the tc type to textclass_type
5558 (copySelection): adjust for ParagraphList
5559 (pasteSelection): change the tc type to textclass_type
5560 (pasteSelection): adjust for Paragraphlist
5561 (nrOfParagraphs): simplify for ParagraphList
5562 (checkPastePossible): simplify for ParagraphList
5563 (checkPastePossible): remove unused arg
5565 * ParagraphList.C (insert): handle the case where there are no
5568 * CutAndPaste.h: make CutAndPaste a namespace.
5570 * text3.C (dispatch): adjust
5572 * text.C (breakParagraph): add a ParagraphList as arg
5574 * paragraph_funcs.C (breakParagraph): change to take a
5575 BufferParams and a ParagraphList as args.
5576 (breakParagraphConservative): ditto
5577 (mergeParagraph): ditto
5578 (TeXDeeper): add a ParagraphList arg
5579 (TeXEnvironment): ditto
5582 * buffer.C (readLyXformat2): adjust
5583 (insertStringAsLines): adjust
5584 (latexParagraphs): adjust
5586 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5587 (cutSelection): adjust
5588 (pasteSelection): adjust
5590 * BufferView_pimpl.C (insertInset): adjust
5592 2003-03-05 Angus Leeming <leeming@lyx.org>
5595 * LyXAction.C (init):
5596 * BufferView_pimpl.C (dispatch):
5597 * lyxfunc.C (getStatus):
5598 remove LFUN_CHILD_INSERT.
5600 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5602 2003-03-05 Angus Leeming <leeming@lyx.org>
5605 * LyXAction.C (init):
5606 * src/factory.C (createInset):
5607 * lyxfunc.C (getStatus):
5608 * text3.C (dispatch):
5609 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5611 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5613 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5615 * ParagraphList.C (insert): handle insert right before end()
5616 (erase): fix cases where it can be first or last paragraph.
5618 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5620 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5621 Paragraph::next and Paragraph::previous
5624 * text.C (breakParagraph): adjust
5626 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5627 BufferParams& as arg.
5628 (breakParagraph): use ParagraphList::insert
5629 (breakParagraphConservative): take a Buffer* instead of a
5630 BufferParams& as arg.
5631 (breakParagraphConservative): use ParagraphList::insert.
5633 * buffer.C (insertStringAsLines): un-const it
5634 (insertStringAsLines): adjust
5636 * ParagraphList.C (insert): new function
5638 * CutAndPaste.C (pasteSelection): adjust
5640 * text.C (backspace): adjust
5642 * tabular.C (SetMultiColumn): adjust
5644 * CutAndPaste.C (cutSelection): adjust
5645 (pasteSelection): adjust
5647 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5648 Buffer const * as arg
5650 * ParagraphList.C (erase): new function
5651 * paragraph_funcs.C (mergeParagraph): use it
5652 (mergeParagraph): make it take a Buffer* instead of a
5653 BufferParams* as arg
5655 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5657 (breakParagraphConservative): ditto
5659 * paragraph.h: remove the breakParagraph friend
5661 * paragraph.C (eraseIntern): new function
5662 (setChange): new function
5664 * paragraph_funcs.C (mergeParagraph): make it take a
5665 ParagraphList::iterator instead of a Paragraph *, adjust
5668 * paragraph.h: move an #endif so that the change tracking stuff
5669 also works in the NO_NEXT case.
5671 2003-03-04 Angus Leeming <leeming@lyx.org>
5674 * LyXAction.C: new LFUN_INSET_MODIFY.
5676 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5677 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5679 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5681 * several files: ws changes only
5683 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5684 (TeXEnvironment): ditto
5687 * buffer.C (makeLaTeXFile): adjust
5688 (latexParagraphs): make it take ParagraphList::iterator as args
5690 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5692 * buffer.C (latexParagraphs): adjust
5694 * paragraph.C (TeXOnePar): move function...
5695 (optArgInset): move function...
5696 (TeXEnvironment): move function...
5697 * paragraph_pimpl.C (TeXDeeper): move function...
5698 * paragraph_funcs.C: ...here
5700 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5702 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5704 * buffer.C (readInset): remove compability code for old Figure and
5707 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5709 * buffer.C: ws changes
5712 * BufferView_pimpl.C: ditto
5715 * bufferlist.h: ditto
5719 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5721 * converter.[Ch]: split into itself +
5724 * Makefile.am: += graph.[Ch] + format.[Ch]
5731 * lyxrc.C: added #include "format.h"
5733 2003-02-27 Angus Leeming <leeming@lyx.org>
5735 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5738 * factory.C (createInset): add "label" to the factory.
5740 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5741 string and do no more.
5743 2003-02-27 Angus Leeming <leeming@lyx.org>
5746 * LyXAction.C (init):
5747 * factory.C (createInset):
5748 * BufferView_pimpl.C (dispatch):
5749 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5751 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5753 * lyxfunc.C (dispatch):
5754 * text3.C (dispatch): pass name to params2string.
5756 2003-02-26 Angus Leeming <leeming@lyx.org>
5758 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5760 Rearrange the ~includes. Strip out the unnecessary ones.
5762 * factory.C (createInset): reformat.
5763 create new insets for the various LFUN_XYZ_APPLY lfuns.
5765 2003-02-26 John Levon <levon@movementarian.org>
5768 * lyxrow.C: add isParStart,isParEnd helpers
5770 * paragraph.h: make isInserted/DeletedText take refs
5772 * paragraph_funcs.h:
5773 * paragraph_funcs.C: remove #if 0'd code
5778 * text.C: use lyxrow helpers above.
5779 Move draw and paint routines to RowPainter.
5780 Make several methods use refs not pointers.
5781 Make backgroundColor() const.
5782 Add markChangeInDraw(), isInInset().
5783 Merge changeRegionCase into changeCase.
5784 Make workWidth() shouldn't-happen code into an Assert.
5787 * rowpainter.C: new class for painting a row.
5790 * vspace.C: make inPixels take a ref
5792 2003-02-26 Angus Leeming <leeming@lyx.org>
5794 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5797 2003-02-25 John Levon <levon@movementarian.org>
5799 * ispell.C: give the forked command a more accurate name
5801 2003-02-22 John Levon <levon@movementarian.org>
5804 * toc.C: make TocItem store an id not a Paragraph *
5807 2003-02-21 Angus Leeming <leeming@lyx.org>
5809 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5810 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5811 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5812 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5813 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5814 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5816 * BufferView_pimpl.C (dispatch):
5817 * LyXAction.C (init):
5818 * factory.C (createInset):
5819 * lyxfunc.C (getStatus, dispatch):
5820 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5822 2003-02-21 Angus Leeming <leeming@lyx.org>
5824 * BufferView_pimpl.C (MenuInsertLyXFile):
5825 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5826 * lyxfunc.C (menuNew, open, doImport):
5827 no longer pass a LyXView & to fileDlg.
5829 2003-02-21 Angus Leeming <leeming@lyx.org>
5831 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5832 * LyXAction.C: change, BIBKEY to BIBITEM.
5833 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5834 Change InsetBibKey to InsetBibitem.
5835 Change BIBKEY_CODE to BIBITEM_CODE.
5836 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5837 * factory.C: replace insetbib.h with insetbibitem.h.
5838 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5839 * paragraph.C: replace insetbib.h with insetbibitem.h.
5840 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5841 Change bibkey() to bibitem().
5842 * text.C: remove insetbib.h.
5843 * text2.C: replace insetbib.h with insetbibitem.h.
5844 change bibkey() to bibitem().
5845 * text3.C: remove insetbib.h.
5846 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5848 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5850 * lyxrc.C (output): enclose user email in quotes (in case there are
5853 2003-02-18 John Levon <levon@movementarian.org>
5855 * buffer.h: add std::
5857 2003-02-17 John Levon <levon@movementarian.org>
5863 * pspell.C: reworking. Especially in ispell, a large
5864 number of clean ups and bug fixes.
5866 * lyxfunc.C: fix revert to behave sensibly
5868 2003-02-17 André Pönitz <poenitz@gmx.net>
5871 * commandtags.h: new LFUN_INSERT_BIBKEY
5881 * paragraph_func.C: remove special bibkey handling
5883 2003-02-17 John Levon <levon@movementarian.org>
5885 * text.C (Delete): fix case where delete at the end of
5886 the very first paragraph would not merge the pars
5888 2003-02-17 John Levon <levon@movementarian.org>
5890 * lyxrow.C: fix lastPrintablePos()
5892 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5894 * bufferparams.C (writeLaTeX): add a std:here
5896 * buffer.C: and remove a using directive there
5898 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5900 * buffer.C (makeLaTeXFile): move the code that generates the
5903 * bufferparams.C (writeLaTeX): ... in this new method
5905 * LaTeXFeatures.C (getEncodingSet): make const
5906 (getLanguages): make const
5908 * MenuBackend.C (binding): returns the binding associated to this
5910 (add): sets the status of each item by calling getStatus. Adds
5912 (read): add support for OptSubMenu
5913 (expand): remove extra separator at the end of expanded menu
5915 2003-02-15 John Levon <levon@movementarian.org>
5918 * BufferView_pimpl.C:
5920 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5921 inset code that had no actual effect. Remove unneeded status
5924 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5926 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5929 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5931 * text.C (drawLengthMarker): also draw an arrow marker for
5932 symbolic lengths (medskip...)
5934 2003-02-14 John Levon <levon@movementarian.org>
5937 * tabular.C: better method names
5939 2003-02-14 John Levon <levon@movementarian.org>
5941 * BufferView_pimpl.C:
5946 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5947 it's a more accurate name. Remove some pointless uses.
5949 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5951 * text2.C (LyXText): change order of initilizers to shut off
5954 2003-02-14 John Levon <levon@movementarian.org>
5956 * buffer.C: use ParIterator for getParFromID()
5960 * paragraph_pimpl.h:
5961 * paragraph_pimpl.C: remove unused getParFromID()
5963 2003-02-14 John Levon <levon@movementarian.org>
5965 * buffer.C: remove some very old #if 0'd parse code
5967 2003-02-13 John Levon <levon@movementarian.org>
5971 * text2.C: move hfillExpansion(), numberOfSeparators(),
5972 rowLast(), rowLastPrintable(), numberofHfills(),
5973 numberOfLabelHfills() ...
5976 * lyxrow.C: ... to member functions here.
5981 * text.C: remove LyXText::beginningOfMainBody(), and call
5982 p->beginningOfMainBody() directly. Move the check for
5983 LABEL_MANUAL into the latter.
5990 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5996 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5997 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5999 2003-02-13 John Levon <levon@movementarian.org>
6001 * CutAndPaste.C: remove debug
6003 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6005 * paragraph.C (asString): remove two unused variables
6007 * lyxtextclass.C (readTitleType):
6009 (LyXTextClass): handle new members titletype_ and titlename_
6011 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6013 2003-02-09 John Levon <levon@movementarian.org>
6016 * buffer.C: replace hand-coded list with a map for the dep clean
6018 2003-02-08 John Levon <levon@movementarian.org>
6020 * LaTeX.C: consolidate code into showRunMessage() helper
6022 2003-02-08 John Levon <levon@movementarian.org>
6027 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6028 and pass the size in explicitly
6030 * BufferView_pimpl.h:
6031 * BufferView_pimpl.C:
6033 * BufferView.C: add getCurrentChange()
6035 * BufferView_pimpl.h:
6036 * BufferView_pimpl.C: handle change lfuns
6038 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6039 for changes. Mark pasted paragraphs as new.
6041 * support/lyxtime.h:
6042 * support/lyxtime.C:
6043 * DepTable.C: abstract time_t as lyx::time_type
6046 * LColor.C: add colours for new text, deleted text, changebars
6048 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6049 package use "usenames" option.
6053 * LyXAction.C: add change lfuns
6057 * author.C: author handling
6060 * buffer.C: add a per-buffer author list, with first entry as
6061 current author. Handle new .lyx tokens for change tracking. Output
6062 author list to .lyx file. Output dvipost stuff to .tex preamble.
6063 Bump lyx format to 222.
6066 * bufferlist.C: add setCurrentAuthor() to reset current author details
6070 * bufferparams.C: add param for tracking
6072 * bufferview_funcs.C: output change info in minibuffer
6076 * changes.C: add change-tracking structure
6079 * debug.C: add CHANGES debug flag
6082 * lyxfind.C: add code for finding the next change piece
6085 * lyxrc.C: add user_name and user_email
6088 * lyxrow.C: add a metric for the top of the text line
6091 * text.C: implement accept/rejectChange()
6094 * text.C: paint changebars. Paint new/deleted text in the chosen
6095 colours. Strike through deleted text.
6099 * paragraph_pimpl.h:
6100 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6101 in the current change to the insert functions. Rework erase to
6102 mark text as deleted, adding an eraseIntern() and a range-based
6103 erase(). Implement per-paragraph change lookup and
6106 * paragraph_funcs.C: Fixup paste for change tracking.
6108 * tabular.C: mark added row/columns as new.
6110 * text.C: fix rowLast() to never return -1. Don't allow
6111 spellchecking of deleted text. Track transpose changes. Don't
6112 allow paragraph break or merge where appropriate.
6114 * text2.C: leave cursor at end of selection after a cut.
6116 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6118 * text.C (getLengthMarkerHeight):
6119 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6120 visible on screen too.
6122 2003-02-07 John Levon <levon@movementarian.org>
6124 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6126 2003-02-05 Angus Leeming <leeming@lyx.org>
6128 * lyxserver.C (read_ready): revert my patch of 11 September last year
6129 as it sends PC cpu through the roof. Presumably this means that
6130 the lyxserver will no longer run on an Alpha...
6132 2003-01-30 Angus Leeming <leeming@lyx.org>
6134 * factory.C (createInset): create an InsetCommandParam of type "index"
6135 and use it to 'do the right thing'.
6137 * text2.C (getStringToIndex): ensure that cursor position is always
6138 reset to the reset_cursor position.
6140 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6142 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6145 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6149 * lyxfunc.C: Output messages with identical spelling, punctuation,
6152 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6154 * MenuBackend.C (expandFormats): List only viewable export formats
6157 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6160 * lyxfunc.C (getStatus): Make sure that formats other than
6161 "fax" can also be disabled
6163 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6165 * text3.C (dispatch): put the lfuns that insert insets in 3
6166 groups, and call doInsertInset with appropriate arguments.
6167 (doInsertInset): new function, that creates an inset and inserts
6168 it according to some boolean parameters.
6170 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6172 * buffer.C (readFile): remember to pass on 'par' when calling
6173 readFile recursively.
6175 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6177 * MenuBackend.C (expandFormats): add "..." to import formats.
6179 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6181 * paragraph.C (asString): Remove XForms RTL hacks.
6183 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6184 * buffer.C: fix typo
6186 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6188 * Makefile.am (LIBS): delete var
6189 (lyx_LDADD): add @LIBS@ here instead.
6191 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6193 * Clarify the meaning of "wheel mouse jump"
6195 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6197 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6200 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6202 * importer.C (Loaders): do not preallocate 3 elements in the
6203 vector, since one ends up with 6 elements otherwise
6205 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6207 * DepTable.C (write): write the file name as last element of the
6208 .dep file (because it may contain spaces)
6209 (read): read info in the right order
6211 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6213 * paragraph_pimpl.C (simpleTeXBlanks):
6214 (simpleTeXSpecialChars):
6215 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6217 * tabular.C (latex): add some missing case statements. Reindent.
6219 * MenuBackend.C (expandToc): remove unused variable.
6221 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6230 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6233 2003-01-05 John Levon <levon@movementarian.org>
6236 * BufferView.C: add getEncoding()
6239 * kbsequence.C: do not store last keypress
6242 * lyxfunc.C: store last keypress here instead. Pass encoding
6245 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6247 * lyx_main.C (init): remove annoying error message when following
6248 symbolic links (bug #780)
6250 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6252 * text.C (insertChar):
6253 * lyxrc.C (getDescription): remove extra spaces
6255 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6257 * lyxrc.C (getDescription): remove extra spaces
6259 2002-12-20 John Levon <levon@movementarian.org>
6261 * text3.C: hack fix for page up/down across tall rows
6263 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6265 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6268 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6270 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6271 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6272 thesaurus is not compiled in
6274 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6276 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6278 2002-12-16 Angus Leeming <leeming@lyx.org>
6281 * lyx_main.C (init): remove override_x_deadkeys stuff.
6283 2002-12-12 John Levon <levon@movementarian.org>
6285 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6286 insert. Only remove shift modifier under strict
6289 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6291 * MenuBackend.C (expandToc): fix crash.
6293 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6295 * MenuBackend.C (expandToc): gettext on float names.
6297 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6299 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6300 implement bool empty() [bug 490]
6302 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6304 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6306 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6308 * several files: ws changes
6310 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6312 * text2.C (setCounter): clean up a bit, use boost.format.
6313 (updateCounters): initialize par upon declaration.
6315 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6316 if the layout exists. We do not just store the layout any more.
6317 (SwitchLayoutsBetweenClasses): use boost.format
6319 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6321 * converter.C (convert): if from and to files are the same, use a
6322 temporary files as intermediary
6324 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6327 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6329 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6331 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6333 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6335 * tabular.C (asciiPrintCell): use string(size, char) instead of
6338 * sgml.C (openTag): fix order of arguments to string constructor
6341 * lyxfunc.C (dispatch): use boost.format
6343 * lots of files: change "c" -> 'c'
6345 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6347 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6349 2002-11-25 Angus Leeming <leeming@lyx.org>
6351 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6353 * lyx_main.C (init): compile fix.
6355 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6357 * lyx_cb.C (start): boost.formatify
6358 do not include <iostream>
6360 * lengthcommon.C: ws only
6362 * boost-inst.C,BoostFormat.h: add more explict instantations
6364 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6366 * lots of files: handle USE_BOOST_FORMAT
6368 2002-11-21 John Levon <levon@movementarian.org>
6370 * pspell.C: fix compile
6372 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6374 * lyxfunc.C (dispatch): use boost::format
6378 * lyxfont.C (stateText): use boost::format
6380 * lyx_main.C (LyX): use boost::format
6382 (queryUserLyXDir): ditto
6385 (typedef boost::function): use the recommened syntax.
6387 * importer.C (Import): use boost::format
6389 * debug.C (showLevel): use boost::format
6391 * converter.C (view): use boost::format
6396 * bufferview_funcs.C (currentState): use boost::format
6398 * bufferlist.C (emergencyWrite): use boost::format
6400 * buffer.C (readLyXformat2): use boost::format
6401 (parseSingleLyXformat2Token): ditto
6403 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6405 * LaTeX.C (run): use boost::format
6407 * Chktex.C (scanLogFile): use boost::format
6409 * BufferView_pimpl.C (savePosition): use boost::format
6410 (restorePosition): ditto
6411 (MenuInsertLyXFile): ditto
6413 * BoostFormat.h: help file for explicit instation.
6415 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6417 * tabular.C (latex): Support for block alignment in fixed width
6420 2002-11-17 John Levon <levon@movementarian.org>
6422 * BufferView_pimpl.C:
6424 * lyxfunc.C: split filedialog into open/save
6426 2002-11-08 Juergen Vigna <jug@sad.it>
6428 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6429 by my last patch (hopefully).
6431 2002-11-08 John Levon <levon@movementarian.org>
6440 * toc.C: ParConstIterator, and use it (from Lars)
6442 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6444 * lyxtextclass.[Ch]: revise and add doxygen comments
6446 2002-11-07 John Levon <levon@movementarian.org>
6448 * text.C: fix progress value for spellchecker
6450 * toc.C: fix navigate menu for insetwrap inside minipage
6452 * paragraph_funcs.C: added FIXME for suspect code
6454 2002-11-07 John Levon <levon@movementarian.org>
6456 * BufferView_pimpl.C: fix redrawing of insets
6459 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6461 * text2.C (updateCounters): fix bug 668
6463 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6465 * text3.C (dispatch): Do not make the buffer dirty when moving the
6468 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6470 * vc-backend.C: STRCONV
6473 * text2.C (setCounter): STRCONV
6475 * paragraph.C (asString): STRCONV
6477 * lyxlength.C (asString): STRCONV
6478 (asLatexString): ditto
6480 * lyxgluelength.C (asString): STRCONV
6481 (asLatexString): ditto
6483 * lyxfunc.C (dispatch): STRCONV
6486 * lyxfont.C (stateText): STRCONV
6488 * importer.C (Import): STRCONV
6490 * counters.C (labelItem): STRCONV
6491 (numberLabel): ditto
6492 (numberLabel): remove unused ostringstream o
6497 * bufferview_funcs.C (currentState): STRCONV
6499 * buffer.C (readFile): STRCONV
6500 (asciiParagraph): ditto
6501 (makeLaTeXFile): ditto
6503 * Spacing.C (writeEnvirBegin): STRCONV
6505 * LaTeXFeatures.C (getLanguages): STRCONV
6506 (getPackages): ditto
6508 (getBabelOptions): ditto
6509 (getTClassPreamble): ditto
6510 (getLyXSGMLEntities): ditto
6511 (getIncludedFiles): ditto
6515 (scanAuxFile): ditto
6518 * LString.h: add the STRCONV macros
6520 * BufferView_pimpl.C (savePosition): STRCONV
6521 (restorePosition): ditto
6522 (MenuInsertLyXFile): ditto
6524 * vc-backend.C (scanMaster): change from submatch[...] to
6527 * funcrequest.C: include config.h
6529 * factory.C: include config.h
6531 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6533 * box.C: include config.h
6535 * LaTeX.C (scanAuxFile): change from submatch[...] to
6539 2002-10-25 Angus Leeming <leeming@lyx.org>
6541 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6543 * ispell.[Ch] (setError): new method.
6544 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6545 Use setError() insetead of goto END.
6547 * lyx_cb.C (AutoSave): move out child process into new class
6550 2002-10-30 John Levon <levon@movementarian.org>
6552 * text3.C: make start appendix undoable
6554 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6556 * lyxlength.C (inPixels): Fix returned value.
6558 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6561 2002-10-24 Angus Leeming <leeming@lyx.org>
6563 * lyxgluelength.h: no need to forward declare BufferParams
6564 or BufferView, so don't.
6566 2002-10-21 John Levon <levon@movementarian.org>
6568 * BufferView.C: menuUndo ->undo, redo
6570 * BufferView.h: document, remove dead, make some methods private
6572 * paragraph_funcs.h:
6573 * paragraph_funcs.C:
6574 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6579 * sgml.C: move sgml open/close tag into sgml.C
6581 * bufferview_funcs.h: unused prototype
6584 * lyxfunc.C: remove unused
6587 * text.C: remove unused
6589 2002-10-21 John Levon <levon@movementarian.org>
6593 * BufferView_pimpl.h:
6594 * BufferView_pimpl.C: fix mouse wheel handling based on
6595 patch from Darren Freeman
6597 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6599 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6601 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6603 * lyxlength.C (inPixels): Fix hanfling of negative length.
6604 Fix LyXLength::MU case.
6606 2002-10-16 John Levon <levon@movementarian.org>
6608 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6610 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6612 * converter.C (view): add support for $$i (file name) and $$p
6613 (file path) for the viewer command. If $$i is not specified, then
6614 it is appended to the command (for compatibility with old syntax)
6616 2002-10-14 Juergen Vigna <jug@sad.it>
6618 * undo_funcs.C (textHandleUndo): alter the order in which the
6619 new undopar is added to the LyXText, as we have to set first
6620 the right prev/next and then add it as otherwise the rebuild of
6621 LyXText is not correct. Also reset the cursor to the right paragraph,
6622 with this IMO we could remove the hack in "redoParagraphs()".
6624 2002-10-09 Angus Leeming <leeming@lyx.org>
6626 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6627 to turn off an optimisation if a new inset is to be inserted.
6629 2002-10-11 André Pönitz <poenitz@gmx.net>
6631 * lyxtext.h: make some functions public to allow access
6632 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6634 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6636 * text3.C (dispatch): when changing layout, avoid an infinite loop
6639 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6641 * lyxrc.C (read): treat a viewer or converter command of "none" as
6644 * MenuBackend.C (expandFormats): for an update, also allow the
6645 formats that are not viewable
6647 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6648 script if it is newer than the lyxrc.defaults in user directory
6650 2002-10-07 André Pönitz <poenitz@gmx.net>
6652 * text.C: Vitaly Lipatov's small i18n fix
6654 2002-09-25 Angus Leeming <leeming@lyx.org>
6656 * ispell.h: doxygen fix.
6658 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6660 * buffer.h (readFile): Add a new argument to the method, to allow
6661 reading of old-format templates.
6663 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6665 * toc.C (getTocList): Get TOC from InsetWrap.
6667 2002-09-16 John Levon <levon@movementarian.org>
6669 * lyxfunc.C: check tabular for cut/copy too
6671 2002-09-12 John Levon <levon@movementarian.org>
6676 * factory.C: add header
6678 * paragraph_funcs.h:
6679 * paragraph_funcs.C: cleanup
6681 2002-09-11 John Levon <levon@movementarian.org>
6683 * PrinterParams.h: odd/even default to true
6685 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6687 * PrinterParams.h: update printer parameters for new xforms dialog
6689 2002-09-11 Angus Leeming <leeming@lyx.org>
6691 * lyxserver.C (read_ready): re-write to make it more transparent
6692 and to make it work in coherent fashion under Tru64 Unix.
6694 2002-09-11 André Pönitz <poenitz@gmx.net>
6698 * text3.C: implement LFUN_WORDSEL
6700 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6702 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6703 make floatlist_ a boost::shared_ptr<FloatList>
6705 * lyxtextclass.C: include FloatList.h
6706 (LyXTextClass): initialize floatlist_
6707 (TextClassTags): add TC_NOFLOAT
6708 (Read): match "nofloat" to TC_NOFLOAT and use it.
6709 (readFloat): modify call to floatlist_
6713 * FloatList.[Ch] (FloatList): remove commented out float
6715 (erase): new function
6717 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6719 * MenuBackend.C (expandToc): fix crash when there is no document
6722 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6724 * many files: Add insetwrap.
6726 2002-09-09 John Levon <levon@movementarian.org>
6728 * text2.C: remove confusing and awkward depth wraparound
6730 2002-09-09 John Levon <levon@movementarian.org>
6732 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6735 * buffer.C: remove getIncludeonlyList()
6738 * lyxfunc.C: remove headers
6740 2002-09-09 Juergen Vigna <jug@sad.it>
6742 * text.C (getColumnNearX): fix form Michael this is most
6743 probably a cut&paste bug.
6745 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6747 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6749 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6750 references, ws changes.
6752 * text2.C (init): update counters after init
6753 (insertParagraph): no need to set counter on idividual paragraphs.
6754 (setCounter): access the counters object in the textclass object
6755 on in the buffer object.
6756 (updateCounters): ditto
6758 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6759 shared_ptr<Counters> to avoid loading counters.h in all
6761 (LyXTextClass): initialize ctrs_
6762 (TextClassTags): add TC_COUNTER, and ...
6763 (Read): use it here.
6764 (CounterTags): new tags
6765 (readCounter): new function
6766 (counters): new funtion
6767 (defaultLayoutName): return a const reference
6769 * counters.C (Counters): remove contructor
6770 (newCounter): remove a couple of unneeded statements.
6771 (newCounter): simplify a bit.
6772 (numberLabel): some small formatting changes.
6774 * buffer.[Ch]: remove all traces of counters, move the Counters
6775 object to the LyXTextClass.
6777 2002-09-06 Alain Castera <castera@in2p3.fr>
6779 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6780 package to set the horizontal alignment on fixed width columns.
6783 * lyx_sty.h: added tabularnewline macro def.
6785 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6787 2002-09-06 John Levon <levon@movementarian.org>
6789 * LyXAction.C: tooltips for sub/superscript
6791 * MenuBackend.C: a bit more verbose
6793 * lyxfunc.C: tiny clean
6795 * undo_funcs.C: document undo_frozen
6797 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6799 * counters.C (Counters): add missing algorithm counter.
6801 * text2.C (setCounter): lookup the counter with layouts latexname
6802 instead of by section number.
6803 (setCounter): use a hackish way to lookup the correct enum
6805 a float name->type change
6806 reset enum couners with counter name directly instead of depth value.
6808 * counters.C (Counters): remove the push_backs, change to use the
6809 float type not the float name.
6810 (labelItem): remove unused string, float name->type change
6812 * counters.h: don't include vector, loose the enums and sects vectors
6814 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6816 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6817 (Read): add float->TC_FLOAT to textclassTags
6818 (Read): and handle it in the switch
6819 (readFloat): new function
6821 * FloatList.C (FloatList): comment out the hardcoded float
6824 * lyxlayout.h: ws change.
6826 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6828 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6830 2002-09-03 Angus Leeming <leeming@lyx.org>
6832 * BufferView_pimpl.h: qualified name is not allowed in member
6833 declaration: WorkArea & Pimpl::workarea() const;
6835 * factory.C: added using std::endl directive.
6837 * text3.C: added using std::find and std::vector directives.
6839 2002-08-29 André Pönitz <poenitz@gmx.net>
6842 * text2.C: remove unused member number_of_rows
6845 * BufferView2.C: remove file, move contents to...
6846 * BufferView.C: ... here
6848 * BufferView_pimpl.C:
6849 * factory.C: move more inset creation to factory
6851 * vspace.C: avoid direct usage of LyXText, ws changes
6854 don't provide direct access to WorkArea, use two simple
6855 acessors haveSelction() and workHeight() instead
6858 2002-08-29 John Levon <levon@movementarian.org>
6860 * BufferView_pimpl.C (dispatch): do not continue when
6863 2002-08-28 André Pönitz <poenitz@gmx.net>
6865 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6868 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6870 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6872 * buffer.C: increment LYX_FORMAT to 221
6874 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6875 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6877 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6879 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6881 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6883 * factory.C (createInset): use LyXTextClass::floats
6885 * MenuBackend.C (expandFloatListInsert):
6886 (expandFloatInsert):
6889 * text2.C (setCounter):
6891 * LaTeXFeatures.C (useFloat):
6892 (getFloatDefinitions):
6894 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6896 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6897 floatlist_, with accessor floats().
6899 * FloatList.h: remove global FloatList
6901 2002-08-26 André Pönitz <poenitz@gmx.net>
6903 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6907 * BufferView_pimpl.C:
6908 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6910 2002-08-25 John Levon <levon@movementarian.org>
6912 * LyXAction.C: fix margin note description
6914 2002-08-24 John Levon <levon@movementarian.org>
6918 * bufferview_funcs.C:
6920 * undo_funcs.C: cleanups
6922 * lyxfunc.C: disable CUT/COPY when no selection
6924 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6926 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6927 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6929 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6930 Add backward compatibility to "mono", "gray" and "no".
6932 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6934 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6935 (and file_format >= 200).
6937 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6939 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6941 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6943 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6945 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6947 * BufferView_pimpl.C:
6954 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6955 inset and code to make it work with the paragraph code. The inset
6956 can be anywhere in the paragraph, but will only do the expected
6957 thing in LaTeX if the layout file contains the parameter line
6959 (or more generally, a nonzero value) for that layout.
6961 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6963 * paragraph.h: remove the declaration of undefined counters class
6966 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6968 * text2.C (setCounter): fixed enumeration mis-count as reported by
6969 Dr. Richard Hawkins.
6971 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6973 * paragraph_funcs.h: remove some unneeded includes
6975 * text.C (backspace): pasteParagraph now in global scipe
6977 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6978 (pasteSelection): ditto
6980 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6981 * paragraph_funcs.C (pasteParagraph): ... here
6983 2002-08-20 André Pönitz <poenitz@gmx.net>
6985 * commandtags.h: new LFUNs for swapping/copying table row/colums
6988 * lyxfunc.C: support for new lfuns
6990 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6993 * buffer.[Ch]: remove NO_COMPABILITY stuff
6995 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6997 * boost.C (throw_exception): new file, with helper function for
6998 boost compiled without exceptions.
7003 * ParameterStruct.h:
7004 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7006 * bufferlist.C (emergencyWriteAll): use boost bind
7008 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7010 * text.C: include paragraph_funcs.h
7011 (breakParagraph): breakParagraph is now in global scope
7013 * paragraph_funcs.[Ch]: new files
7015 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7018 * buffer.C: include paragraph_funcs.h
7019 (insertStringAsLines): breakParagraph is now in global scope
7021 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7024 * CutAndPaste.C: include paragraph_funcs.h
7025 (cutSelection): breakParagraphConservative is now in global scope
7026 (pasteSelection): ditto
7028 * buffer.h: declare oprator== and operator!= for
7029 Buffer::inset_iterator
7031 * bufferlist.C (emergencyWrite): don't use fmt(...)
7033 * text3.C: add using std::endl
7035 * BufferView.C (moveCursorUpdate): remove default arg
7037 2002-08-20 André Pönitz <poenitz@gmx.net>
7039 * buffer.[Ch]: move inline functions to .C
7042 * BufferView_pimpl.C:
7044 * buffer.[Ch]: use improved inset_iterator
7047 * paragraph.[Ch]: write one paragraph at a time
7049 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7051 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7052 style if style is not specified.
7054 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7056 * text2.C (setCounter): when searching for right label for a
7057 caption, make sure to recurse to parent insets (so that a caption
7058 in a minipage in a figure float works) (bug #568)
7060 2002-08-20 André Pönitz <poenitz@gmx.net>
7062 * text3.C: new file for LyXText::dispatch() and helpers
7064 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7066 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7068 2002-08-19 André Pönitz <poenitz@gmx.net>
7071 * text.C: new LyXText::dispatch()
7073 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7075 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7077 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7079 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7082 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7084 * Makefile.am: use $(variables) instead of @substitutions@
7086 2002-08-15 André Pönitz <poenitz@gmx.net>
7089 * BufferView_pimpl.C: streamlining mathed <-> outer world
7093 * LyXAction.C: remove unused LFUN_MATH
7095 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7097 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7099 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7101 * paragraph.C (Paragraph): reformat a bit
7102 (cutIntoMinibuffer): use builtin InsetList function instad of
7106 * buffer.C: include boost/bind.hpp, add using std::for_each
7107 (writeFileAscii): use ParagraphList iterators
7108 (validate): use for_each for validate traversal of paragraphs
7109 (getBibkeyList): use ParagraphList iterators
7110 (resizeInsets): use for_each to resizeInsetsLyXText for all
7112 (getParFromID): use ParagraphList iterators
7114 * BufferView2.C (lockInset): use paragraph list and iterators
7116 2002-08-14 John Levon <levon@movementarian.org>
7118 * lyxserver.C: remove spurious xforms include
7120 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7122 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7124 2002-08-13 André Pönitz <poenitz@gmx.net>
7127 * lyxfunc.C: further cleaning
7129 2002-08-13 André Pönitz <poenitz@gmx.net>
7131 * funcrequest.h: new constructor
7133 * funcrequest.C: move stuff here from .h
7136 * BufferView_pimpl.C:
7139 * lyxfunc.C: subsequent changes
7141 * lyxfunc.h: new view() member function
7143 * lyxfunc.C: subsequent changes
7145 2002-08-13 Angus Leeming <leeming@lyx.org>
7148 * BufferView_pimpl.C:
7156 changes due to the changed LyXView interface that now returns references
7157 to member variables not pointers.
7159 2002-08-13 Angus Leeming <leeming@lyx.org>
7161 * WordLangTuple (word, lang_code): return references to strings,
7166 * lyxtext.h: forward-declare WordLangTuple.
7171 * text.C: #include "WordLangTuple.h".
7174 * text.C: (selectNextWordToSpellcheck): constify return type.
7176 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7182 * paragraph_pimpl.h:
7185 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7187 Made updateCounter always count from start of buffer, and removed
7188 second argument (par).
7189 Reverted floats number display to '#'. Perhaps I'll try again when the
7190 code base is sanitized a bit.
7192 2002-08-12 Angus Leeming <leeming@lyx.org>
7194 * buffer.[Ch] (getLabelList): constify.
7196 2002-08-07 André Pönitz <poenitz@gmx.net>
7198 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7200 * funcrequest.h: extension to keep mouse (x,y) position
7202 2002-08-12 Juergen Vigna <jug@sad.it>
7204 * BufferView2.C (insertErrors): forbid undo when inserting error
7207 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7209 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7211 * ParagraphList.[Ch]: new files
7213 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7215 * BufferView2.C (lockInset): ParagraphList changes
7218 * bufferlist.C: ditto
7222 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7224 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7225 unused class variable counter_,
7227 * paragraph.[Ch] (getFirstCounter): delete unused function
7229 * counters.C: include LAssert.h
7230 (reset): add a new function with no arg, change other version to
7231 not have def. arg and to not allow empty arg.
7233 * text2.C (setCounter): remove empty arg from call to Counters::reset
7235 2002-08-11 John Levon <levon@movementarian.org>
7237 * Makefile.am: add WordLangTuple.h
7239 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7241 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7242 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7244 * insets/insettext.C: InsetList changes
7246 * graphics/GraphicsSupport.C (operator()): InsetList changes
7248 * toc.C (getTocList): InsetList changes
7250 * paragraph_pimpl.[Ch]: InsetList changes
7252 * paragraph.[Ch]: InsetList changes
7254 * buffer.C (inset_iterator): InsetList changes
7255 (setParagraph): ditto
7256 * buffer.h (inset_iterator): ditto
7257 * iterators.C (operator++): ditto
7258 * iterators.h: ditto
7260 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7262 * InsetList.[Ch]: new files, most InsetList handling moved out of
7265 * BufferView2.C (removeAutoInsets): InsetList changes
7267 (ChangeInsets): ditto
7269 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7271 * paragraph_pimpl.h (empty): new function
7273 * paragraph.[Ch] (empty): new function
7275 * other files: use the new Paragraph::empty function
7277 2002-08-09 John Levon <levon@movementarian.org>
7279 * lyxtext.h: remove unused refresh_height
7281 2002-08-09 John Levon <levon@movementarian.org>
7288 * paragraph.C: move sgml char escaping out of paragraph
7291 * paragraph.C: remove id setter
7295 * paragraph_pimpl.C: remove dead tex_code_break_column
7297 * bufferview_funcs.C: small cleanup
7299 * lyxfunc.C: remove dead proto
7301 * lyxtext.h: make some stuff private. Remove some dead stuff.
7303 * lyxgluelength.C: make as[LyX]String() readable
7305 2002-08-08 John Levon <levon@movementarian.org>
7310 * ToolbarDefaults.C:
7313 * toc.C: lyxaction cleanup
7315 2002-08-08 John Levon <levon@movementarian.org>
7317 * BufferView2.C: small cleanup
7320 * lyxfind.C: move unnecessary header into the .C
7322 2002-08-08 John Levon <levon@movementarian.org>
7324 * funcrequest.h: just tedious nonsense
7327 * lyx_main.C: cleanups
7330 * vspace.C: remove dead header lyx_main.h
7332 2002-08-07 Angus Leeming <leeming@lyx.org>
7335 * paragraph_pimpl.h:
7336 Forward declare class Counters in paragraph.h by moving the ctrs member
7337 variable into Paragraph::Pimpl.
7338 (counters): new method, returning a reference to pimpl_->ctrs.
7340 * text2.C: ensuing changes.
7342 2002-08-07 John Levon <levon@movementarian.org>
7344 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7346 * BufferView_pimpl.C: announce X selection on double/triple
7349 * lyx_main.C: use correct bool in batch dispatch
7351 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7353 2002-08-07 André Pönitz <poenitz@gmx.net>
7355 * funcrequest.h: new class to wrap a kb_action and its argument
7358 * BufferView_pimpl[Ch]:
7362 * lyxrc.C: subsequent changes
7365 2002-08-07 John Levon <levon@movementarian.org>
7367 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7368 document options change.
7370 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7375 * makefile.am: move counters functionality over from
7376 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7378 2002-08-06 John Levon <levon@movementarian.org>
7380 * WordLangTuple.h: new file for word + language code tuple
7391 * BufferView2.C: use WordLangTuple
7394 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7396 2002-08-06 John Levon <levon@movementarian.org>
7398 * lyx_main.C: fix cmdline batch handling
7400 2002-08-06 André Pönitz <poenitz@gmx.net>
7402 * lyxrc.C: set default for show_banner to true
7404 2002-08-06 John Levon <levon@movementarian.org>
7406 * pspell.C: fix a crash, and allow new aspell to work
7408 2002-08-06 John Levon <levon@movementarian.org>
7411 * kbmap.C: small cleanup
7414 * vspace.C: add const
7416 2002-08-05 John Levon <levon@movementarian.org>
7418 * LyXAction.C: back to tabular-insert
7420 2002-08-04 John Levon <levon@movementarian.org>
7423 * BufferView.C: cosmetic change
7425 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7435 * BufferView2.C: purge all "Lyx" not "LyX" strings
7438 * lyxcursor.C: attempt to add some documentation
7443 * ToolbarDefaults.C:
7444 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7445 merge with LFUN_TABULAR_INSERT
7452 * pspell.C: split up i/pspell implementations into separate
7453 files, many cleanups
7455 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7457 * text2.C: some cleanup
7459 * lyxfunc.C: don't check for isp_command == "none" any more, it
7460 didn't make any sense
7462 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7467 * makefile.am: move counters functionality over
7468 from text2.C/paragraph.[Ch] to counters.[Ch], and
7470 2002-08-02 John Levon <levon@movementarian.org>
7472 * buffer.C: s/lyxconvert/lyx2lyx/
7474 2002-08-02 Angus Leeming <leeming@lyx.org>
7476 * lyxlex.C: revert John's change as it breaks reading of the user
7479 2002-08-02 Angus Leeming <leeming@lyx.org>
7481 * importer.C (Import):
7482 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7483 changes due to LyXView::view() now returning a boost::shared_ptr.
7485 2002-08-02 John Levon <levon@movementarian.org>
7487 * lyxlex.C: small cleanup
7489 2002-08-02 John Levon <levon@movementarian.org>
7491 * text2.C (status): small cleanup, no logic change
7493 2002-08-01 John Levon <levon@movementarian.org>
7496 * buffer.C (writeFile): don't output alerts, caller
7500 * lyx_cb.C: from above
7502 * lyxfunc.C: allow to open non-existent files
7504 2002-07-31 John Levon <levon@movementarian.org>
7506 * lyxserver.C: don't let incidental errors get
7509 2002-07-30 John Levon <levon@movementarian.org>
7511 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7513 2002-07-30 John Levon <levon@movementarian.org>
7516 * lyxserver.C: remove I/O callback too
7518 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7520 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7523 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7525 * many files: strip,frontStrip -> trim,ltrim,rtrim
7527 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7529 * PrinterParams.h: remove extern containsOnly, and include
7530 support/lstrings.h instead.
7532 * LaTeX.C (scanAuxFile): modify because of strip changes
7534 * buffer.C (makeLaTeXFile): ditto
7535 * bufferparams.C (writeFile): ditt
7536 * lyxfont.C (stateText): ditto
7537 * lyxserver.C (read_ready): ditto
7538 * vc-backend.C (scanMaster): ditto
7540 * BufferView_pimpl.h: ws changes
7542 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7544 2002-07-26 André Pönitz <poenitz@gmx.net>
7546 * kb_sequence.C: remove unnedred usings
7548 2002-07-26 Juergen Vigna <jug@sad.it>
7550 * lyxfind.C (LyXReplace): we have to check better if the returned
7551 text is not of theLockingInset()->getLockingInset().
7553 2002-07-25 Juergen Vigna <jug@sad.it>
7555 * lyxfind.C (LyXReplace): don't replace if we don't get the
7558 * undo_funcs.C (createUndo): remove debugging code.
7560 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7562 * buffer.C (parseSingleLyXformat2Token): Use default placement
7563 when reading old floats.
7565 * FloatList.C (FloatList): Change the default placement of figure
7566 and tables to "tbp".
7568 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7570 * MenuBackend.C: using std::max
7572 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7574 * MenuBackend.C (expandToc):
7575 (expandToc2): code moved from xforms menu frontend. It is now
7576 generic and TOCs are transparent to menu frontends.
7578 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7580 * toc.C (getTocList): protect against buf=0
7582 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7583 Menu as first parameter. Now, this calls itself recursively to
7584 expand a whole tree (this will be useful for TOC handling)
7585 (expandFloatInsert): remove 'wide' version of floats
7587 * MenuBackend.h (submenuname): returns the name of the submenu.
7588 (submenu): returns the submenu itself, provided it has been
7589 created by MenuBackend::expand
7591 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7593 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7594 insets which have noFontChange == true. (bug #172)
7596 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7598 * BufferView_pimpl.C: add connection objects and use them...
7601 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7603 * MenuBackend.C (expandLastfiles):
7606 (expandFloatListInsert):
7607 (expandFloatInsert):
7608 (expand): split expand in parts
7610 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7612 * lyx_gui.C: use lyx_gui::exit()
7614 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7616 * LyXAction.C: show the failing pseudo action
7618 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7620 * buffer.C (readFile): Run the lyxconvert script in order to read
7623 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7627 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7629 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7633 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7635 2002-07-22 Herbert Voss <voss@lyx.org>
7638 * lyxlength.[Ch]: add support for the vertical lengths
7640 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7642 * toc.[Ch]: std:: fixes
7644 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7646 * lyxrc.C: do not include lyx_main.h
7648 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7654 * BufferView2.C: include "lyxlex.h"
7657 * bufferparams.h: do not #include "lyxlex.h"
7659 * lyxtextclasslist.C (Add): remove method
7660 (classlist): renamed to classlist_
7662 * paragraph_pimpl.C:
7666 * bufferview_funcs.C:
7671 * toc.C (getTocList): use BufferParams::getLyXTextClass
7673 * toc.C (getTocList): use InsetFloat::addToToc
7675 * toc.[Ch]: new files, containing helper functions to handle table
7678 * lyxfunc.C (dispatch): no need to remove spaces around command
7680 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7681 first command of the sequence; it is not very clever, but I do not
7682 have a better idea, actually
7684 * LyXAction.C (LookupFunc): make sure to remove space at the
7685 beginning and end of the command
7687 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7689 * MenuBackend.C (getMenubar): new method: return the menubar of
7691 (read): treat differently reading of menu and menubar (in
7692 particular, the menubar has no name now)
7693 (Menu::menubar): remove
7695 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7698 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7700 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7701 a bibitem inset in a RTL paragraph.
7703 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7705 * paragraph_pimpl.C: constify
7707 * BufferView_pimpl.C:
7709 * lyxfunc.C: fix dispatch in a nicer way
7711 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7713 * lyxfunc.C (dispatch):
7714 * BufferView_pimpl.C:
7715 * BufferView_pimpl.h:
7717 * BufferView.h: rename Dispatch() to dispatch()
7719 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7721 * lyxlayout.C (Read): honor DependsOn tag
7723 * lyxlayout.[Ch] (depends_on): new method
7725 * version.C.in: update lyx_docversion
7727 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7729 * paragraph.C (validate): remove from here...
7730 * paragraph_pimpl.C (validate): ... and move here
7731 (isTextAt): make it const
7733 * buffer.C (getLists): ws cleanup
7735 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7737 * language.C (read): Use iso8859-1 encoding in latex_lang
7738 (this prevents LyX from crashing when using iso10646-1 encoding).
7740 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7742 * text2.C (toggleInset): if cursor is inside an inset, close the
7743 inset and leave cursor _after_ it
7745 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7747 * lyxfunc.C: move minibuffer completion handling out of here
7749 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7751 * BufferView_pimpl.C:
7752 * LaTeX.C: fix dispatch calls
7754 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7756 * text.C (drawChars): Fix Arabic text rendering.
7758 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7762 * lyxfunc.C: remove message-push/pop
7766 * lyxfunc.C: rationalise some code by removing verboseDispatch
7767 in favour of a bool argument to dispatch()
7769 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7771 * lyx_main.C (init): make sure to read symlinks as absolute paths
7773 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7776 * lyxfunc.C: no need for commandshortcut to be a member
7778 2002-07-15 André Pönitz <poenitz@gmx.net>
7780 * converter.C: add support for $$s (scripts from lib/scripts dir)
7781 * lyx_main.C: white space
7783 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7787 * lyxrc.C: remove second exit confirmation
7789 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7794 * BufferView_pimpl.h:
7795 * BufferView_pimpl.C:
7796 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7798 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7800 * MenuBackend.C (expand): add numeric shortcuts to document menu
7802 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7804 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7806 * lyxfont.C (setLyXFamily):
7813 * buffer.C (asciiParagraph): use ascii_lowercase
7815 2002-07-15 Mike Fabian <mfabian@suse.de>
7817 * lyxlex_pimpl.C (search_kw):
7818 * lyxlex.C (getLongString):
7819 * converter.h (operator<):
7820 * converter.C (operator<):
7821 * buffer.C (parseSingleLyXformat2Token):
7823 * ToolbarDefaults.C (read):
7824 * MenuBackend.C (checkShortcuts):
7826 * LColor.C (getFromGUIName):
7827 (getFromLyXName): use the compare_ascii_no_case instead of
7828 compare_no_case, because in turkish, 'i' is not the lowercase
7829 version of 'I', and thus turkish locale breaks parsing of tags.
7831 2002-07-16 Angus Leeming <leeming@lyx.org>
7833 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7834 now takes a Buffer const & argument.
7836 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7838 * BufferView.C (resize): check there's a buffer to resize
7840 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7842 * lyxfunc.C: remove dead code
7845 * lyxserver.C: use lyx_guii::set_read_callback
7847 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7849 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7850 an inset in a RTL paragraph.
7852 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7854 * lyxfunc.C: repaint after a font size update
7856 2002-07-15 André Pönitz <poenitz@gmx.net>
7858 * lyxlength.C: inBP should be able to return negative values
7860 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7862 * lyxfunc.C: use lyx_gui::update_fonts()
7864 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7866 * lyxfunc.C: use lyx_gui::update_color()
7868 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7874 * lyxrc.C: remove file->new asks for name option, and let
7875 buffer-new take an argument
7877 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7879 * BufferView_pimpl.C: remove unneeded extra repaint()
7881 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7883 * LyXAction.C: allow command-sequence with NoBuffer
7885 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7887 2002-07-10 Angus Leeming <leeming@lyx.org>
7889 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7891 2002-07-09 Angus Leeming <leeming@lyx.org>
7893 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7895 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7897 * lengthcommon.h: whitespace
7899 * lyxfunc.C: update scrollbar after goto paragraph
7901 * lyxtext.h: factor out page break drawing, and fix it so
7902 page break/added space paints as selected nicely
7904 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7906 * BufferView_pimpl.C: add FIXMEs, clean up a little
7908 2002-07-09 André Pönitz <poenitz@gmx.net>
7910 * lyxfont.[Ch]: support for wasy symbols
7912 2002-07-08 André Pönitz <poenitz@gmx.net>
7914 * BufferView_pimpl.C: apply John's patch for #93.
7916 2002-07-05 Angus Leeming <leeming@lyx.org>
7918 * BufferView_pimpl.C (buffer): generate previews if desired.
7920 * LColor.h: add "preview" to the color enum.
7922 * LColor.C (LColor): add a corresponding entry to the items array.
7924 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7927 2002-07-05 Angus Leeming <leeming@lyx.org>
7929 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7930 The body of the code is now in the method that is passed an ostream &
7931 rather than a file name.
7932 Pass an additional only_preamble parameter, useful for the forthcoming
7935 2002-07-03 André Pönitz <poenitz@gmx.net>
7937 * lyxfunc.C: simplify getStatus() a bit for math stuff
7939 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7941 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7943 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7945 * text.C (changeRegionCase): do not change case of all the
7946 document when region ends at paragraph end (bug #461)
7948 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7950 * paragraph.C (startTeXParParams):
7951 (endTeXParParams): add \protect when necessary
7953 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7955 * BufferView_pimpl.C (workAreaExpose): remove warning
7957 2002-06-27 Angus Leeming <leeming@lyx.org>
7959 * Makefile.am: add lyxlayout_ptr_fwd.h.
7961 2002-06-26 André Pönitz <poenitz@gmx.net>
7963 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7965 2002-06-25 Angus Leeming <leeming@lyx.org>
7967 * lyxfunc.C (dispatch): Comment out the call to
7968 grfx::GCache::changeDisplay. The method no longer exists now that the
7969 pixmap generation part of the graphics loader has been moved into
7972 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7974 * text2.C: layout as layout
7976 * text.C: layout as layout
7978 * tabular.C (OldFormatRead): layout as layout
7980 * paragraph_pimpl.C (TeXDeeper): layout as layout
7981 (realizeFont): layout as layout
7983 * paragraph.C (writeFile): layout as layout
7984 (validate): layout as layout
7985 (getFont): layout as layout
7986 (getLabelFont): layout as layout
7987 (getLayoutFont): layout as layout
7988 (breakParagraph): layout as layout
7989 (stripLeadingSpaces): layout as layout
7990 (getEndLabel): layout as layout
7991 (getMaxDepthAfter): layout as layout
7992 (applyLayout): layout as layout
7993 (TeXOnePar): layout as layout
7994 (simpleTeXOnePar): layout as layout
7995 (TeXEnvironment): layout as layout
7996 (layout): layout as layout
7997 (layout): layout as layout
7999 * lyxtextclass.C (compare_name): new functor to work with
8000 shared_ptr, layout as layout
8001 (Read): layout as layout
8002 (hasLayout): layout as layout
8003 (operator): layout as layout
8004 (delete_layout): layout as layout
8005 (defaultLayout): layout as layout
8007 * lyxlayout_ptr_fwd.h: new file
8009 * lyxlayout.C (Read): layout as layout
8011 * lyx_cb.C (MenuInsertLabel): layout as layout
8013 * bufferlist.C (newFile): layout as layout
8015 * buffer.C (readLyXformat2): layout as layout
8016 (parseSingleLyXformat2Token): layout as layout
8017 (insertStringAsLines): layout as layout
8018 (asciiParagraph): layout as layout
8019 (latexParagraphs): layout as layout
8020 (makeLinuxDocFile): layout as layout
8021 (simpleLinuxDocOnePar): layout as layout
8022 (makeDocBookFile): layout as layout
8023 (simpleDocBookOnePar): layout as layout
8024 (getLists): layout as layout
8026 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8028 * CutAndPaste.C (cutSelection): layout as layout
8029 (pasteSelection): layout as layout
8030 (SwitchLayoutsBetweenClasses): layout as layout
8032 * BufferView_pimpl.C (Dispatch): layout as layout
8033 (smartQuote): layout as layout
8035 * BufferView2.C (unlockInset): layout as layout
8037 2002-06-24 André Pönitz <poenitz@gmx.net>
8039 * lyxfunc.C: fix #487
8041 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8045 * lyxfunc.C: remove display_shortcuts, show_banner
8047 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8049 * Buffer_pimpl.C: oops, update on resize
8051 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8058 * BufferView.C: use repaint()
8060 * BufferView_pimpl.h:
8061 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8062 as it's a clearer description. Remove superfluous
8065 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8067 * text.C: fix bug 488. Not ideal, but getting
8068 getWord() to work properly for the insets that
8069 matter is more difficult ...
8071 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8073 * BufferView_pimpl.C:
8076 * lyxfunc.C: remove the six million index lyxfuncs to just
8077 one, and DTRT (bug 458)
8079 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8083 * BufferView_pimpl.h:
8084 * BufferView_pimpl.C: clean up resize() stuff,
8085 and unnecessary updateScreen()s
8087 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8091 * BufferView_pimpl.h:
8092 * BufferView_pimpl.C:
8095 * minibuffer.C: remove focus management of workarea,
8096 not needed. Use screen's greyOut()
8098 2002-06-17 Herbert Voss <voss@lyx.org>
8100 * converter.C: (convert) do not post a message, when converting
8101 fails, let the calling function decide what to do in this case
8103 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8105 * lyxfunc.C: tidy up a little
8107 2002-06-16 <alstrup@diku.dk>
8109 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8110 Got rid of FORMS_H_LOCATION include. Now we are
8113 2002-06-15 LyX Development team <lyx@rilke>
8115 * buffer.[Ch] (sgmlOpenTag):
8116 (sgmlCloseTag): Added support for avoiding pernicious mixed
8117 content. Return number of lines written.
8120 (makeDocBookFile): Fixed calls to sgml*Tag.
8121 Simple white space clean.
8123 (simpleDocBookOnePar): Simple white space clean.
8125 * tabular.[Ch] (docBook): Renamed to docbook and got another
8126 argument to related with the pernicious mixed content.
8128 (docbookRow): Fixed calls for docbook inset method.
8130 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8132 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8133 so it's X11 independent.
8137 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8139 2002-06-15 Lyx Development team <lyx@electronia>
8141 * intl.h: Renamed getTrans to getTransManager.
8143 2002-06-14 Angus Leeming <leeming@lyx.org>
8145 * Makefile.am: nuke forgotten stl_string_fwd.h.
8147 2002-06-12 Angus Leeming <leeming@lyx.org>
8149 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8151 2002-06-13 Angus Leeming <leeming@lyx.org>
8154 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8156 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8158 * kbmap.C (getiso): add support for cyrillic and greek
8160 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8164 * BufferView_pimpl.h:
8165 * BufferView_pimpl.C: move bogus scrolling logic
8168 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8171 * BufferView_pimpl.C: view->resize() change
8173 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8175 * BufferView_pimpl.C: topCursorVisible
8178 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8182 * lyx_gui.C: move to frontends/
8186 * lyx_main.C: changes from above
8188 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8195 * lyx_main.C: minor tidy
8197 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8199 * BufferView_pimpl.h:
8200 * BufferView_pimpl.C:
8202 * BufferView.C: make painter() const,
8205 * BufferView2.C: use screen() accessor
8208 * lyx_main.C: some minor cleanup
8210 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8212 * BufferView_pimpl.h:
8213 * BufferView_pimpl.C: remove enter/leaveView,
8216 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8221 * BufferView_pimpl.h:
8222 * BufferView_pimpl.C: only construct screen once,
8225 * lyxrc.C: remove pointless comment
8227 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8230 * BufferView.C: remove active() and belowMouse()
8232 * BufferView_pimpl.h:
8233 * BufferView_pimpl.C: use workarea() not workarea_,
8234 and make it use a scoped_ptr instead
8236 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8238 * lyx_gui.C: add debug message on BadWindow
8240 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8242 * sp_spell.C: fdopen is not part of the C++ standard.
8244 * paragraph.C (InsetIterator): use >= instead of ==
8246 2002-06-07 Angus Leeming <leeming@lyx.org>
8248 Fixes needed to compile with Compaq cxx 6.5.
8249 * BufferView_pimpl.C:
8256 * lyxtextclasslist.C:
8261 all c-library variables have been moved into namespace std. Wrap
8262 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8267 Add a using std::abs declaration.
8269 * kbmap.h (modifier_pair):
8270 * paragraph.h (InsetTable, InsetList):
8271 * lyxfont.h (FontBits):
8272 type definition made public.
8274 * bufferlist.C (emergencyWriteAll): the compiler complains that
8275 there is more than one possible lyx::class_fun template to choose from.
8276 I re-named the void specialisation as lyx::void_class_fun.
8278 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8280 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8281 the compiler is is unable to find tostr in write_attribute.
8283 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8285 * buffer.C (sgmlError): hide #warning
8287 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8289 * xtl/*: get rid of xtl, which is not in use anyway
8291 * LyXAction.C (init):
8292 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8293 were unimplemented xtl experimentation
8295 2002-06-04 André Pönitz <poenitz@gmx.net>
8297 * lyxfunc.C: disable array operation on simple formulae
8299 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8301 * converter.C: constify a bit
8303 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8305 * lyx_gui.C: check xforms version correctly
8307 2002-04-30 Herbert Voss <voss@lyx.org>
8309 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8312 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8314 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8315 attempt to register it with a VCS)
8317 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8319 * lyx_main.C (init): honor variables LYX_DIR_13x and
8322 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8326 * lyx_main.C: fix a crash on bad command line,
8327 and give a useful exit status on error
8329 * lyxfunc.C (doImport): allow -i lyx to work
8331 2002-03-30 André Pönitz <poenitz@gmx.net>
8333 * lyxfunc.C: mathed font changes
8335 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8350 * trans_mgr.h: srcdocs, and some minor cleanups
8352 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8354 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8355 call getFont all the time)
8357 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8359 * switch from SigC signals to boost::signals
8361 2002-05-29 André Pönitz <poenitz@gmx.net>
8363 * paragraph_pimpl.C (getChar): don't call size() too often...
8365 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8367 * paragraph_pimpl.C (insertChar): do not try to update tables when
8368 appending (pos == size())
8370 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8371 in order to reduce drastically the number of comparisons needed to
8372 parse a large document
8374 2002-05-29 André Pönitz <poenitz@gmx.net>
8380 * textclasslist.[Ch]:
8381 * sp_ispell.h: whitespace change
8383 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8385 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8386 lyxaction directly now.
8388 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8392 * lyxvc.C: remove unused headers
8394 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8401 * undo_funcs.C: some cleanups. Use shared_ptr
8402 and a template for the undo stacks.
8404 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8406 * BufferView_pimpl.h:
8407 * BufferView_pimpl.C:
8414 * text2.C: use key_state/mouse_state
8416 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8418 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8421 * chset.C: change include order
8422 (loadFile): use boost regex and get rid of LRegex and LSubstring
8424 * Makefile.am (BOOST_LIBS): new variable
8427 * LaTeX.C: change include order.
8428 (scanAuxFile): use boost regex and get rid of LRegex and
8432 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8437 * FontInfo.C: moved to frontends/xforms/
8440 * FontLoader.C: moved into frontends for GUIIzation
8445 * lyxfunc.C: changes from above
8447 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8449 * LColor.C: remove spurious X include
8451 * BufferView_pimpl.C:
8456 * text2.C: move font metrics to frontends/
8458 2002-05-24 Juergen Vigna <jug@sad.it>
8460 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8461 setting the undo_cursor.
8463 * ParagraphParameters.h: include local includes first.
8465 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8467 * BufferView_pimpl.C:
8468 * BufferView_pimpl.h:
8472 * screen.C: move WorkArea into frontends/
8478 * BufferView2.C: move LyXScreen into frontends/
8482 * lyx_gui.C: move lyxlookup into frontends/xforms/
8484 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8487 * BufferView_pimpl.C:
8497 * bufferview_funcs.C:
8510 * vc-backend.C: move LyX/XFormsView into frontends/
8512 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8524 * text2.C: move Painter to frontends/
8526 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8528 * buffer.C: comment out some some code that depend upon lyx_format
8531 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8532 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8534 * buffer.h (NO_COMPABILITY): turn off compability
8536 * ColorHandler.C: include scoped_array.hpp
8538 * font.C: Use more specific smart_ptr header.
8541 * ShareContainer.h: ditto
8545 * BufferView_pimpl.h: ditto
8546 * ColorHandler.h: ditto
8548 * kbmap.C (defkey): change call to shared_ptr::reset
8550 2002-05-21 Juergen Vigna <jug@sad.it>
8552 * buffer.C (insertErtContents): fix to insert ert asis if it is
8553 non empty. Skip it completely if it contains only whitespaces.
8555 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8557 * BufferView_pimpl.C:
8558 * BufferView2.C: clear selection on paste (bug 393)
8560 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8562 * DepTable.C: include ctime
8564 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8566 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8568 2002-05-14 Juergen Vigna <jug@sad.it>
8570 * text.C (breakParagraph): fixed function to honor the keepempty
8571 layout in the right maner and also to permit the right breaking
8572 algorithm on empty or non empyt keepempty paragraphs.
8574 * paragraph.C (breakParagraph): we have to check also if the par
8575 is really empty (!size()) for isempty otherwise we do the wrong
8578 2002-05-10 Juergen Vigna <jug@sad.it>
8580 * buffer.[Ch] : The following are only changes to the ert
8581 compatibility read reading old LaTeX layout and font stuff and
8582 convert it to ERTInsets.
8584 * buffer.h: added isErtInset().
8586 * buffer.C (struct ErtComp): add a fromlayout bool to check
8587 if we're inside a LaTeX layout.
8588 (isErtInset): new helper function.
8589 (insertErtContents): look for other ert insets before this one
8590 and insert the contents there, so that we don't have subsequent
8591 ERT insets with nothing between them. This way we create only one
8592 inset with multiple paragraphs. Also check if we don't insert only
8593 spaces ' ' as they are ignored anyway afterwards in the .tex file
8594 so if we have only spaces we will ignore this latex part in the
8596 (parseSingleLyXformat2Token \\layout): better compatibility when
8597 reading layout-latex stuff.
8598 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8600 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8601 stuff after reading the inset only get the information back from
8604 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8606 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8608 * LaTeXFeatures.C (getBabelOptions): New method.
8610 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8612 * BufferView_pimpl.C (Dispatch): work around missing argument for
8615 2002-05-08 Juergen Vigna <jug@sad.it>
8617 * text.C (leftMargin): handle paragraph leftindent.
8619 * paragraph.C (writeFile): write the new \\leftindent tag.
8620 (validate): handle leftindent code.
8621 (TeXEnvironment): handle paragraphleftindent code again.
8623 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8625 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8626 for paragrap_extra indent code and new token \\leftindent.
8627 (latexParagraphs): handle the leftindent as environment.
8629 * ParameterStruct.h: added leftindent support.
8631 * ParagraphParameters.C (leftIndent): added support functions for
8632 the paragraph left indent.
8634 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8637 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8639 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8642 * text.C (computeBidiTables): No bidi in insetERT.
8644 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8647 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8649 * version.C.in: pre 5
8651 2002-05-02 José Matos <jamatos@fep.up.pt>
8652 * buffer.C (makeDocBookFile): white space changes, add newline to
8654 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8656 * tabular.C (docBook): fix typo.
8658 2002-05-03 Juergen Vigna <jug@sad.it>
8660 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8661 change in LyXText as we can not be sure it was not freed.
8662 (drawOneRow): remove unused code.
8664 * text.C (drawInset): redo the calculation of the need_break_row as
8665 it could have a row which was already freed.
8666 (draw): look at the return value of drawInset and return false if
8667 it also returned false.
8668 (paintRowText): look at the return value of draw and return false if
8669 it also returned false.
8671 * lyxtext.h: added bool return type to drawInset() and draw() so that
8672 if we have a change in the row so that the rowbreak has to be redone
8673 we abort drawing as it will be called again.
8675 2002-05-02 Juergen Vigna <jug@sad.it>
8677 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8678 a change in the maintext also if we're inside an inset.
8679 (Dispatch): set the cursor again after a break line and after the
8680 screen has been updated as it could be we're in a different row.
8682 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8683 to set the cursor behind the pargraph with > size().
8684 (setCursor): check also for the same paragraph when checking where
8685 to put the cursor if we have a NFR inset.
8687 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8688 parts of layout read further up as it still was in the wrong
8691 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8693 * screen.C (drawFromTo): change sine fullRebreak always return
8696 * buffer.C (parseSingleLyXformat2Token): reindent some
8698 * BufferView_pimpl.C (update): change since fullRebreak always
8700 (Dispatch): git rid of the last hardcoded "Standard"s.
8702 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8704 * text2.[Ch] (fullRebreak): make it return void now that we always
8707 2002-04-30 Juergen Vigna <jug@sad.it>
8709 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8710 ert compatibility check for "latex" layout.
8712 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8714 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8715 minipages: use col% instead of p%, and also use the current font.
8716 (makeLaTeXFile): Fix use babel condition.
8717 (parseSingleLyXformat2Token): Correct font when reading old floats.
8719 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8721 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8722 inserting list of floats.
8724 2002-04-25 Herbert Voss <voss@lyx.org>
8726 * MenuBackend.C (expand): don't add the graphics extensions to the
8729 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8731 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8732 non-existing layout, do not complain if it was the default layout
8733 of the original class (bug #342)
8735 2002-04-24 Juergen Vigna <jug@sad.it>
8737 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8738 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8740 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8742 * buffer.C (getBibkeyList): If using \bibliography, return the
8743 option field with the reference itself. Enables us to provide natbib
8744 support when using \bibliography.
8746 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8748 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8750 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8751 natbib is provided by the LaTeX class.
8753 2002-04-23 Juergen Vigna <jug@sad.it>
8755 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8758 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8760 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8762 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8764 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8765 ensuremath around textordmasculine, textordfeminine and
8768 2002-04-19 Juergen Vigna <jug@sad.it>
8770 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8771 reinitializing the buffer otherwise row-dimensions may be wrong.
8772 (update): reset also the selection cursors if they do exits otherwise
8773 their x/y positions may be wrong.
8775 * text2.C (cursorDown): don't enter the inset if we came from a row
8776 above and are one row over the inset.
8778 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8779 really leaving an inset.
8781 2002-04-18 Juergen Vigna <jug@sad.it>
8783 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8784 of the selected paragraph does not have the selected layout also if
8787 * text2.C (setLayout): fixed bug which did not change last selected
8790 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8791 changed the read and substituted \\end_float with \\end_inset!
8793 * BufferView_pimpl.C (cursorPrevious):
8794 (cursorNext): fixed to make it work with rows heigher than the work
8795 area without moving the cursor only the draw of the row.
8796 (workAreaMotionNotify): fix jumping over high rows.
8798 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8800 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8803 2002-04-16 Juergen Vigna <jug@sad.it>
8805 * text2.C (setCursor): set also the irow().
8806 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8808 (cursorDown): support for locking an inset if the x_fix value goes
8809 inside it. That way I can transverse insets too with cursor up/down.
8811 * lyxrow.h: added irow helper function same as other (i) functions.
8813 * BufferView_pimpl.C (cursorPrevious):
8814 (cursorNext): fixed for insets!
8816 2002-04-15 Juergen Vigna <jug@sad.it>
8818 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8819 position otherwise it is wrong in some cases.
8821 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8822 inside the inset before the call.
8824 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8826 * buffer.[Ch] (getBibkeyList): make it const.
8828 2002-04-12 Juergen Vigna <jug@sad.it>
8830 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8832 * text2.C (getCursorX): new helper function
8833 (setCursor): compute also ix_
8834 (setCursorFromCoordinates): set also ix.
8836 * lyxcursor.h: added ix_ and helper functions.
8838 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8840 * buffer.C (insertStringAsLines): dont break paragraph if the this
8841 paragraph is inside an inset which does not permit it!
8843 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8844 also with no chars on this paragraph.
8845 (paintRowText): only paint stuff if it's inside the workarea!
8847 * paragraph.C (breakParagraph): honor keepempty flag and break the
8848 paragraph always below not above.
8850 * BufferView2.C (unlockInset): update the paragraph layout on inset
8851 unlock as we changed paragraph in such a case.
8853 * lyxfind.C (LyXFind): clear the former selection if not found!
8855 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8856 again called in insertChar().
8858 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8859 an inset which uses the whole row!
8860 (rightMargin): ditto.
8861 (insertChar): force a rebreak if we inserted an inset!
8863 2002-03-28 Herbert Voss <voss@lyx.org>
8865 * lyxlength.[Ch]: add inBP() to get the right PS-point
8866 units (BigPoint). With inPixels we have rounding errors
8868 2002-04-11 Juergen Vigna <jug@sad.it>
8870 * text2.C (setCursorFromCoordinates): set iy to the right value.
8871 (setCursor): add check if row->previous exists!
8873 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8874 an old float_type as this was the case in the old code!
8876 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8878 * BufferView2.C (showLockedInsetCursor): use iy
8879 (fitLockedInsetCursor): ditto
8881 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8882 locked insets as there we have the right value now.
8884 * lyxcursor.C: added iy_ variable and iy functions to set to the
8885 baseline of cursor-y of the locked inset.
8887 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8888 (setCursor): fixed for insets which need a full row.
8890 * text.C (rowLastPrintable): don't ignore the last space when before
8891 an inset which needs a full row.
8892 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8893 as last character of a row when before a inset which needs a full row.
8895 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8897 * version.C.in: update date
8899 * text2.C (fullRebreak): try to always return true and see what
8902 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8904 * MenuBackend.C (expand): use Floating::listName
8906 * FloatList.C (FloatList): add listName argument to the built-in
8909 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8910 text associated with the float.
8912 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8914 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8916 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8918 * ShareContainer.h: add a couple of missing typenames.
8920 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8922 * lyxrc.C (getDescription): use _() correctly rather than N_().
8924 2002-03-28 Herbert Voss <voss@lyx.org>
8926 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8927 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8929 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8931 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8932 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8934 2002-03-29 Juergen Vigna <jug@sad.it>
8936 * lyxfunc.C (dispatch): add a missing fitCursor call.
8938 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8939 it was scrolled by a cursor move, so return the bool status.
8941 * BufferView.C (fitCursor): return the bool flag also to the outside
8942 world as this is needed.
8944 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8946 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8947 call the edit() as it is not needed (and wrong) IMO.
8948 (workAreaButtonPress): set the screen_first variable before evt.
8949 unlock the inset as this may change screen_first and then we have
8950 a wrong y position for the click!
8952 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8954 * MenuBackend.C (expand): another translation that I missed
8956 2002-03-28 Juergen Vigna <jug@sad.it>
8958 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8960 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8962 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8964 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8966 * MenuBackend.C (expand): fix export/view/update when there is no
8969 2002-03-27 Herbert Voss <voss@lyx.org>
8971 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8974 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8976 * bufferview_funcs.C (currentState): only show paragraph number
8977 for is DEVEL_VERSION is set.
8979 * lyxfunc.C (dispatch): put warning in INFO channel
8981 * MenuBackend.C (expand): translate the name of floats
8983 * FloatList.C (FloatList): mark the float names for translation
8985 * converter.C (convert): use LibScriptSearch
8987 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8989 * MenuBackend.C (defaults): fix default menu (we might as well get
8992 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8994 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8997 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8999 * lyxvc.C: reorder includes.
9001 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9003 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9006 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9008 * CutAndPaste.C: change layouts earlier on paste
9009 to avoid crashing when calling getFont()
9011 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9013 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9016 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9018 * WorkArea.C: remove 'Pending' debug message.
9020 * most files: ws cleanup
9022 * buffer.[Ch]: ws changes
9024 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9026 2002-03-21 Juergen Vigna <jug@sad.it>
9028 * tabular.C (SetMultiColumn): collapse also the contents of the
9029 cells and set the last border right. Added a Buffer const * param.
9031 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9033 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9036 2002-03-19 Juergen Vigna <jug@sad.it>
9038 * text2.C (clearSelection): reset also xsel_cache.
9040 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9041 where it needs to be called (John tells us to do so too :)
9042 (selectionLost): reset sel_cache.
9044 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9046 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9048 * text2.C (setCursorIntern): put debuging code in INSETS channel
9050 2002-03-19 André Pönitz <poenitz@gmx.net>
9052 * lyxfunc.C: tiny whitespace change
9054 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9056 * ToolbarDefaults.C (init):
9057 * LyXAction.C (init):
9059 * BufferView_pimpl.C (Dispatch):
9060 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9062 2002-03-19 Allan Rae <rae@lyx.org>
9064 * exporter.C (Export): removeAutoInsets before doing anything else.
9065 While I've just introduced a dependency on BufferView this really is
9066 the best place to clean the buffer otherwise you need to cleanup in
9067 a dozen places before calling export or cleanup in a dozen functions
9070 * converter.C (runLaTeX):
9071 (scanLog): Better handling of removeAutoInsets and screen updates.
9073 * lyxfunc.C (dispatch): small whitespace changes
9075 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9077 * WorkArea.C (C_WorkAreaEvent): return a value.
9078 (event_cb): return 1 if we handled the event, 0 otherwise.
9080 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9082 2002-03-18 Juergen Vigna <jug@sad.it>
9084 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9085 (GetAdditionalWidth): ditto.
9089 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9090 inset if we're there actually (probably not used right now but this
9091 is the direction to go for unifying code).
9092 (paste): disable code to clear the selection.
9094 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9095 inside an InsetText and move the check further up as it is in the
9098 * text2.C (pasteSelection): set a selection over the pasted text.
9100 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9102 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9103 and libgraphics to build on Cygwin.
9105 2002-03-15 Juergen Vigna <jug@sad.it>
9107 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9108 inserting an Inset into the paragraph. I know this is not the best
9109 fix but we already use current_view in CutAndPaste so we will remove
9110 all of it's using at the same time.
9112 * buffer.C (sgmlError): deactivated function till it is rewritten in
9113 the right mode, now it can create problems.
9115 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9116 before accessing it.
9118 2002-03-14 Juergen Vigna <jug@sad.it>
9120 * undo_funcs.C (textHandleUndo): do the right thing when updating
9121 the inset after the undo/redo.
9123 * text2.C (setCursor): just some testcode for #44 not ready yet.
9125 * undo_funcs.C (textHandleUndo): set the next() and previous()
9126 pointers of the paragraph to 0 before deleting otherwise we have
9127 problems with the Paragraph::[destructor].
9129 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9130 on a paragraph insertion.
9132 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9134 * buffer.C (asciiParagraph): use += operator for char append to
9137 * paragraph.C (getFontSettings): compare >= not just >
9138 (highestFontInRange): ditto
9141 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9143 * paragraph.C: change several algorithm to be more appripriate for
9144 the problem domain. This is lookip in FontList and in the InsetList.
9146 2002-03-13 André Pönitz <poenitz@gmx.net>
9149 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9151 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9156 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9158 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9160 * Painter.C (display): anon helper function, adjust code for this
9162 (pixmap): remove function.
9164 * Painter.h: remove private display variable.
9166 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9168 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9170 * WorkArea.[Ch]: remove figinset_canvas cruft.
9172 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9174 * lyxtextclass.C (operator): add one item cache optimization.
9176 * bufferlist.h: doxy changes
9178 * bufferlist.C: ws changes
9180 * DepTable.[Ch] (ext_exist): place const in the right spot.
9182 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9184 (workAreaExpose): call resizeInsets when the with BufferView changes.
9185 (Dispatch): adjust for protectedBlank removal
9186 (specialChar): call updateInset if the insert went ok.
9188 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9189 specialChar instead.
9191 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9193 * BufferView.h: doxy change
9195 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9197 * lyxtextclass.C (operator[]): remove non-const version
9198 (defaultLayout): remove non-const version
9200 2002-03-12 Juergen Vigna <jug@sad.it>
9202 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9203 did resize the LyXText too.
9205 * buffer.C (readLyXformat2): set layout information on newly allocated
9208 * tabular.C (OldFormatRead): set layout information on the paragraph.
9210 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9212 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9214 2002-03-11 Juergen Vigna <jug@sad.it>
9216 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9218 (resizeCurrentBuffer): force also the insets to resize themselfes.
9219 (moveCursorUpdate): fixed up for InsetText.
9221 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9224 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9225 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9226 value of Dialogs::tooltipsEnabled().
9227 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9229 2002-03-08 Juergen Vigna <jug@sad.it>
9231 * BufferView_pimpl.C (updateInset): update inset inside inset also
9232 if it isn't inside theLockingInset().
9234 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9236 * buffer.C (asciiParagraph): redo some of the word and line length
9238 (getLists): look for Caption instead of caption.
9240 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9242 * buffer.C (Buffer): initialize niceFile to true
9245 (makeDocBookFile): make sure niceFile is true on exit
9247 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9249 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9251 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9253 * LyXSendto.C: remove.
9254 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9255 * lyx_gui.C: remove now-redundant comment.
9256 * ColorHandler.h: remove forward declaration of class WorkArea.
9257 * lyxfunc.C: remove #include "WorkArea.h".
9259 2002-03-07 Juergen Vigna <jug@sad.it>
9261 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9262 got moved away with the DEPM and also set the inset_owner always
9263 right which before could have been omitted.
9265 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9267 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9268 wanted layout is not found.
9270 2002-03-07 Juergen Vigna <jug@sad.it>
9272 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9274 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9276 * paragraph.C (breakParagraph): use default layout not layout of
9278 (Paragraph): clear ParagraphParameters.
9280 2002-03-06 Juergen Vigna <jug@sad.it>
9282 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9283 otherwise it would not be a valid lenght. Fixed a special case in
9284 the minipage compatibility read where we end the document with a
9287 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9288 was set as it could be 0 for InsetTexts first entry.
9290 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9292 * paragraph.C (writeFile): if layout is empty write out
9293 defaultLayoutName().
9295 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9296 file without named layout we set layout to defaultLayoutName().
9298 2002-03-06 Juergen Vigna <jug@sad.it>
9300 * CutAndPaste.C (copySelection): set layout for new paragraph.
9302 * text.C (prepareToPrint): leave ERT inset left aligned
9303 (leftMargin): don't indent paragraphs inside ERT insets
9305 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9307 * paragraph.C (breakParagraph): dont call clear do the work manually
9309 * paragraph.[Ch] (clear): remove function
9311 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9313 * paragraph.C (Paragraph): dont call clear, the work has already
9316 * lyxtextclass.C (operator): assert if n is empty
9318 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9319 work manually instead.
9321 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9323 * BufferView_pimpl.C: protect selectionLost against text == 0
9325 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9327 * text.C (breakParagraph): fix a setting layout to '0' problem.
9329 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9331 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9332 final location of file, for the included files, and graphics.
9334 2002-03-05 Juergen Vigna <jug@sad.it>
9336 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9338 2002-03-04 Juergen Vigna <jug@sad.it>
9340 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9342 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9343 last column of multicolumn cells.
9344 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9346 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9348 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9349 file if it doesn't go to a temporary file.
9351 * buffer.C (sgmlOpenTag):
9352 (sgmlCloseTag): remove extra newline insertion.
9354 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9356 * text.C (getRowNearY): comment out debug msg
9358 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9360 * text2.C: first -> first_y
9362 * text.C (getRowNearY): add some attemts at a possible
9363 optimization, not working.
9365 * tabular.[Ch]: add BufferParams to several function so that newly
9366 created paragraph can be initialized to he default layotu for the
9369 * tabular-old.C (ReadOld): add buf->params to call of Init
9371 * screen.C: rename text->first to text->first_y
9373 * paragraph.C (breakParagraph): always set layout in the broken
9376 * lyxtextclass.C (Read): remove lowercase
9379 (delete_layout): ditto
9381 * lyxtext.h: rename first -> first_y
9383 * lyxlayout.C (Read): remove lowercase
9386 (obsoleted_by): ditto
9388 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9390 * buffer.C (insertErtContents): add params are to InsetERT
9391 (parseSingleLyXformat2Token): add code to check if a paragraphs
9392 layout really exist.
9393 (parseSingleLyXformat2Token): add params to several inset
9395 (asciiParagraph): remove lowercase, do the layout comparisons with
9398 * BufferView_pimpl.C (cursorNext): first -> first_y
9399 (resizeCurrentBuffer): first -> first_y
9400 (updateScrollbar): first -> first_y
9401 (scrollCB): first -> first_y
9402 (workAreaMotionNotify): first -> first_y
9403 (workAreaButtonPress): first -> first_y
9404 (checkInsetHit): first -> first_y
9405 (cursorPrevious): first -> first_y
9406 (cursorNext): first -> first_y
9407 (Dispatch): add buffer_->params to severl inset contructors
9409 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9411 * lyxlayout.C (Read): remove some debug info that I forgot.
9413 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9414 clean up the code slightly.
9415 (makeLinuxDocFile): ditto
9416 (makeDocBookFile): ditto
9418 * text2.C: layout as string
9420 * text.C: layout as string
9422 * paragraph_pimpl.C: layout as string
9424 * paragraph.[Ch]: layout as string
9426 * lyxtextclasslist.[Ch]: layout as string
9428 * lyxtextclass.[Ch]: layout as string
9430 * lyxtext.h: layout as string
9432 * lyxlayout.[Ch]: layout as string
9434 * lyx_cb.C: layout as string
9436 * bufferview_funcs.C: layout as string
9438 * bufferparams.C: layout as string
9440 * buffer.C: layout as string
9442 * LyXView.[Ch]: layout as string
9444 * LaTeXFeatures.[Ch]: layout as string
9446 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9448 * BufferView_pimpl.C: change current_layout to string, remove
9453 (workAreaButtonRelease): layout as string
9455 * BufferView2.C (unlockInset): adjust
9457 * vspace.C (asLatexCommand): use an explict temp variable.
9459 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9461 * Makefile.am: use FRONTEND_*
9463 2002-03-01 Juergen Vigna <jug@sad.it>
9465 * tabular.C (SetWidthOfMulticolCell): changed to something better
9466 I hope but still work in progress.
9467 (recalculateMulticolumnsOfColumn): renamed function from
9468 recalculateMulticolCells as it is more appropriate now.
9469 (SetWidthOfCell): calculate multicols better.
9471 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9473 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9475 * lyxfunc.C (processKeySym): print sequence also if it is
9476 `deleted' (complete)
9478 * kbsequence.C (print): print sequence even if it is deleted
9479 (complete would be a better word, actually).
9481 * lyxfunc.C (dispatch): print complete options after a prefix key
9483 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9485 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9487 * text2.C (setCharFont): eliminate setCharFont code duplication.
9489 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9491 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9492 LFUN_TABULAR_FEATURE (bug #177)
9494 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9496 * Makefile.am: remove figure.h
9498 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9500 * Bufferview_pimpl.C:
9512 * text2.C: remove #include "lyx_gui_misc.h".
9514 * LaTeX.C: added #include <cstdio>
9516 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9518 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9519 that the paragraph following this one can have.
9521 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9523 * vspace.C (asLatexCommand): fix bogus gcc warning
9525 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9527 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9529 * text2.C (setLayout): get rid of redundant code
9531 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9533 * text2.C (incDepth): make sure depth cannot be increased beyond
9536 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9538 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9539 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9541 * PainterBase.h (image):
9542 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9545 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9549 * BufferView_pimpl.C:
9550 * BufferView_pimpl.h:
9570 * sp_spell.C: remove fig inset, and the crap house of
9571 cards that follows it
9573 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9579 * nt_defines.h: move .h into support/
9581 * vms_defines.h: remove
9583 * WorkArea.C: add space in debug output
9587 * buffer.C: add WITH_WARNINGS
9591 * bufferlist.C: s/retrive/retrieve/, add docs
9602 * lyxgui.C: add ID to X error handler
9604 * lyxtestclass.c: fix typo
9606 2002-02-26 Juergen Vigna <jug@sad.it>
9608 * tabular_funcs.C (write_attribute): changed so that some default
9609 attributes are not written at all.
9610 (getTokenValue): set default values before trying to read the
9611 value so we have the return value always set as default if we don't
9612 find the token we search for.
9614 * tabular.C (Write): write bools as bools not as strings!
9616 2002-02-22 Juergen Vigna <jug@sad.it>
9618 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9619 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9621 * text.C (leftMargin): don't add an indent for paragraphs inside
9622 tabular cells (fix #208).
9624 2002-02-21 José Matos <jamatos@fep.up.pt>
9626 * tabular.C (docBook): fixed support for long tables.
9628 2002-02-20 Juergen Vigna <jug@sad.it>
9630 * text2.C (getFont): get the drawing font of the Inset if this
9631 paragraph is inside an inset (only important for InsetERT for now).
9633 * buffer.C (insertErtContents): use new lanugage params in ERT
9636 * CutAndPaste.C: commenting out seemingly uneeded code.
9638 2002-02-19 Allan Rae <rae@lyx.org>
9640 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9641 Iterators might be simple to use but they also get invalidated.
9642 (removeAutoInsets): renamed saved cursor tracking variables and added
9643 some comments to clarify what everything does.
9645 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9652 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9653 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9656 * vc-backend.h: remove #include "support/syscall.h"
9660 * converter.C: rearrange #includes in Lars' approved fashion.
9662 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9663 forward declare class Timeout in the header file.
9665 * XFormsView.C: changes due to the above.
9667 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9670 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9671 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9673 2002-02-18 José Matos <jamatos@fep.up.pt>
9675 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9678 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9680 * a lot of small ws changes
9681 * add a lot of using std::XXX
9682 * use std construcs some places where approp.
9683 * use some exisint stuff from lyxfunctional where approp.
9684 * Make file changes to use partial linking (lets test this now...)
9686 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9690 remove #include "support/syscontr.h" as it's redundant. Always has been.
9698 change Systemcalls::System to Systemcalls::Wait and
9699 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9700 No change of functionality, just reflects the stripped down Systemcalls
9703 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9705 * debug.[Ch]: add a GRAPHICS type to the enum.
9707 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9709 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9711 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9714 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9716 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9717 match the changes below.
9719 * text2.C (toggleInset): if there is not editable inset at cursor
9720 position, try to see if cursor is _inside_ a collapsable inset
9723 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9725 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9726 document menu has a nice checkbox
9728 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9730 * lyxlength.C (asLatexString): change PW to output as percent of
9733 * lengthcommon.C: change '%' to 't%'
9735 * lyxfunc.C (dispatch): a few comments from Martin
9737 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9741 * BufferView_pimpl.h:
9742 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9745 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9747 * vspace.C (inPixels): fix compiler warning
9749 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9751 * lyxfunc.C (getStatus): fix status message for disabled commands.
9753 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9755 * BufferView_pimpl.C: fix crash on close buffer
9756 during selection (#227)
9758 2002-01-27 Herbert Voss <voss@lyx.org>
9760 * buffer.C: link old Figure to new graphic inset
9762 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9764 * FontLoader.C (getFontinfo): Change the latex font names in order
9765 to match the names of type1inst.
9767 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9769 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9771 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9774 (remove_files_with_extension): ditto
9775 (remove_file): ditto
9778 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9779 document is smaller than the work area height. Do not initialize
9780 static variables to 0.
9782 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9784 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9786 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9787 LFUN_LAYOUT_PARAGRAPHS.
9789 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9790 tabular. It is possible to provide a possible cell, which will
9791 typically be the actcell from the corresponding insettabular
9793 * lyxfunc.C (getStatus): small cleanup; disable
9794 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9797 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9799 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9801 * paragraph.C (startTeXParParams):
9802 (endTeXParParams): new methods. The LaTeX code to
9803 start/end paragraph formatting
9804 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9805 empty (fixes bug #200)
9807 * vspace.C (inPixels): adapt to the change below
9808 (inPixels): [later] more cleanups (remove unused variables)
9810 * lyxlength.C (inPixels): change to use a width and a height as
9813 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9815 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9816 Replaced with \paperwidth
9818 * DepTable.C (insert): add std:: qualifier
9820 2002-01-18 Allan Rae <rae@lyx.org>
9822 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9825 * text.C (drawInset): Turned out I didn't know enough about how
9826 rebreaking worked. This fixes most of the redraw problems. I see
9827 an occasional cursor trail when a line is broken now and the cursor
9828 placement can seem out by a few pixels also after a rebreak.
9830 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9832 * buffer.C (parseSingleLyXformat2Token): update because minipage
9833 width is now a LyXLength
9835 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9837 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9840 2002-01-17 Juergen Vigna <jug@sad.it>
9842 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9844 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9845 is set correctly and the inset is updated correctly.
9847 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9849 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9850 the beginning of the loop.
9852 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9854 * lyxrc.C: improve help for use_scalable_fonts
9856 2002-01-17 Allan Rae <rae@lyx.org>
9858 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9860 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9862 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9863 make sure to set their inset_owner to the right value (bug #171)
9865 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9868 * DepTable.C: Implement mtime checking to reduce time spent doing
9871 2002-01-16 Juergen Vigna <jug@sad.it>
9873 * tabular.C (GetAdditionalHeight): one of error fixed.
9875 * lyxrc.C (output): small fix in writing use_pspell.
9877 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9879 * sp_base.h: #include LString.h
9881 2002-01-16 Allan Rae <rae@lyx.org>
9883 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9884 Can someone check this please?
9886 * text.C (drawInset): It was possible that p.row would be removed by
9887 breakAgainOneRow upsetting a few other settings. There may be another
9888 small tweak possible by setting need_break_row = 0 when p.row has been
9889 removed but I don't know enough about the logic here.
9891 2002-01-15 Allan Rae <rae@lyx.org>
9893 * text.C (insertChar): removed conditional truism.
9895 * BufferView2.C (removeAutoInsets): More tweaks.
9896 cur_par_prev could be a stray pointer. Check for trailing empty line
9897 in case last line was cur_par and only had an error inset on it.
9899 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9901 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9904 * vc-backend.C (most methods):
9905 * exporter.C (Export):
9906 * converter.C (convert):
9908 * LyXSendto.C (SendtoApplyCB):
9909 * lyxfunc.C (dispatch):
9913 * lyx_cb.C (AutoSave):
9915 * BufferView_pimpl.C (MenuInsertLyXFile):
9916 * buffer.C (runChktex): use Buffer::filePath().
9918 * buffer.h: rename filename to filename_; rename filepath to
9919 filepath_ and make it private
9920 (filePath): new method
9922 * buffer.C (writeFile): use fileName()
9925 * lyx_main.C (init): fix starting of LyX when the binary is a
9926 link from so,ewhere else.
9928 * minibuffer.C: include <cctype> for isprint
9930 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9932 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9933 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9934 name clash with InsetCollapsable's width function.
9936 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9938 * lastfiles.C: include <iterator>
9940 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9942 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9945 * buffer.C (makeLaTeXFile): ditto.
9946 Also make loop operation more transparent.
9948 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9950 * ToolbarDefaults.C: remove trailing comma closing namespace.
9952 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9954 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9957 * trans.C (Load): comment out unused variable, allowed.
9959 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9961 * minibuffer.[Ch] (append_char): new method to recieve input from the
9962 drop-down completion browser. If a key was pressed, then recieve this
9963 char and append it to the existing string.
9964 (peek_event): modify the positioning data passed to the completion
9965 browser so that it can be placed above the minibuffer rather than below.
9966 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9968 * LyXAction.C (init): alloe error-next for readonly documents.
9970 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9973 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9975 * bufferlist.C (readFile): create the buffer _after_ checking that
9978 * lyxfunc.C (verboseDispatch): fix handling of arguments
9980 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9982 * lyxrc.C: use string::erase() instead of initializing to "".
9985 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9987 * BufferView_pimpl.h:
9988 * BufferView_pimpl.C:
9991 * text2.C: tell X when we have made a selection for copying
9993 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9995 * BufferView_pimpl.C (MenuInsertLyXFile):
9996 * lyxfunc.C (menuNew):
9998 (doImport): add shortcuts to directory buttons
10000 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10003 * lyxfunc.C (setStatusMessage):
10004 (getStatusMessage): new methods
10005 (getStatus):use setStatusMessage instead of setErrorMessage
10006 (dispatch): when function is disabled, set error message here
10007 [instead of in getStatus previously]
10009 * BufferView_pimpl.C (workAreaButtonRelease): update
10010 toolbar/menubar here too.
10012 2002-01-13 Allan Rae <rae@lyx.org>
10014 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10015 Now seems indestructible. Remaining task is to audit all other
10016 code affected by deleteEmptyParagraphMechanism. One small quirk
10017 left is that an empty document with an error in the preamble can
10018 be made to report an error but no error box appears. I don't know
10020 (removeAutoInsets): Improved comments.
10022 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10025 * Thesaurus.C: update for Aiksaurus 0.14
10027 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10029 * text2.C (firstParagraph): removed member function, all uses
10030 replaces with ownerParagraph
10031 (redoParagraphs): here
10032 (updateInset): here
10033 (toggleAppendix): here
10034 * BufferView2.C (insertErrors): here
10035 (setCursorFromRow): here
10037 2002-01-13 Allan Rae <rae@lyx.org>
10039 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10040 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10041 There is still a way to segfault this although you may have to do this
10042 multiple times: Have an InsetERT with an unknown command in it.
10043 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10044 <down-arrow>, <Enter> again, View->DVI, BANG!
10046 * text2.C (setCursor):
10047 (deleteEmptyParagraphMechanism):
10048 * lyxtext.h (setCursor):
10049 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10050 Making use of the return value may help fix other bugs.
10052 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10054 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10056 * LyXView.C (updateMenubar): call MenuBar::update here
10057 (updateToolbar): but not here
10058 (showState): do not update toolbar/menubar
10060 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10061 should need to care about that.
10063 * lyxfunc.C (verboseDispatch): simplify a bit
10064 (getStatus): have a version which takes a pseudoaction, and
10065 another which requires a (kb_action,string).
10067 * LyXAction.C (retrieveActionArg): make it work also when action
10068 is not a pseudo-action.
10069 (getActionName): simplify a bit
10072 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10074 * lyxfunc.C (verboseDispatch): new families of methods with
10075 several ways to specify a command and a bool to indicate whether
10076 the command name and shortcut should be displayed in minibuffer
10077 (eventually, we could extend that to a finer bitmask like
10078 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10079 (dispatch): the pristine dispatch command which just, well,
10080 dispatchs! Note it still sets its result to minibuffer; I'm not
10083 * lyxfunc.h: remove setHintMessage
10085 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10087 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10089 * BufferView_pimpl.C (specialChar): delete new inset if we have
10090 not been able to insert it.
10092 * kbmap.C: revert to using int instead of kb_action, since all we
10093 are dealing with is pseudo-actions.
10095 * LyXAction.C (searchActionArg): change to return int instead of
10096 kb_action, since the result is a pseudoaction.
10098 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10100 * buffer.C (insertErtContents): Fix (partially) the font bug.
10102 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10104 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10105 as the other one is broken on my machine!
10107 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10110 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10112 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10114 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10115 reflect their actual use. Provide compatibility code for older lyxrc
10118 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10120 change names of popup font variables in line with the changes to lyxrc.C
10122 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10124 * buffer.C (asciiParagraph): avoid outputing a word twice after
10127 * lyxrc.C (getDescription): document that document_path and
10128 template_path can be empty.
10130 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10132 * LaTeXFeatures.C (getMacros):
10133 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10135 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10137 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10139 (getPackages): rename feature "floats" to "float". Use an array to
10140 iterate over 'simple' features (i.e. just a \usepackage). Add
10141 handling of "amsmath" (renamed from "amsstyle").
10143 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10145 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10148 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10150 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10151 FuncStaus::FuncStatus & FuncStaus::some_method().
10153 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10155 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10156 of the func_satus stuff. Edited and massaged in various ways by
10159 * lyxfunc.C (getStatus): use FuncStatus
10161 2002-01-08 Juergen Vigna <jug@sad.it>
10163 * text.C (nextBreakPoint): use function Inset::isChar().
10165 * paragraph.C (TeXOnePar): use function
10166 Inset::forceDefaultParagraphs.
10168 * buffer.C (latexParagraphs): use function
10169 Inset::forceDefaultParagraphs.
10171 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10173 * lyx_gui.C (init): set the style of the menu popups to
10174 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10176 2002-01-07 Juergen Vigna <jug@sad.it>
10178 * text.C (setHeightOfRow): small fix
10179 (prepareToPrint): don't look at alignment if we don't have the place
10182 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10184 * box.C: New file. Move the Box methods and functions out of box.h,
10185 following Lars' suggestion.
10187 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10189 * box.h: #include "support/LOstream.h", needed for inlined function.
10192 * lyxtextclasslist.C: added some using std declarations.
10194 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10196 * box.h: make signed dimensions to allow insets wider than
10197 the screen (bug #162)
10199 * BufferView_pimpl.C: add some insetHit debug
10201 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10203 * vc-backend.C: add FIXME
10205 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10207 * lyxfunc.C (getStatus): enable code for showing math font status
10210 2002-01-07 Juergen Vigna <jug@sad.it>
10212 * text.C (nextBreakPoint): removed debug output not needed anymore.
10214 2002-01-06 Juergen Vigna <jug@sad.it>
10216 * text.C (nextBreakPoint): fixed up this function we had this bug
10217 since ever but now hopefully we break row better.
10218 (insertChar): we have to check if an inset is the next char as it
10219 could now happen that a large inset is causing a break.
10221 2002-01-05 Juergen Vigna <jug@sad.it>
10223 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10224 if it doesn't like to be drawed.
10226 2002-01-04 Juergen Vigna <jug@sad.it>
10228 * BufferView2.C (lockInset): forgot to set a cursor.
10230 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10232 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10234 * FormMathsPanel.C:
10237 * form_maths_panel.C:
10238 * form_maths_panel.h:
10239 * form_maths_panel.fd: implemented sub- and super- buttons in math
10242 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10243 (or ^ space) to be used as in TeX (req'd by André).
10245 * lyxfunc.C: Allow ^ and _ again to be used both as
10246 super/subscript (mathed) and as themselves (in text).
10248 2002-01-03 Allan Rae <rae@lyx.org>
10250 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10251 "LyX" or the filename of the current buffer if it has one. This is a
10252 modified form of John Levon's patch.
10254 * XFormsView.C (setWindowTitle): also set icon title.
10256 * LyXView.h (setWindowTitle): signature changed.
10257 * XFormsView.h (setWindowTitle): ditto.
10259 2002-01-02 Juergen Vigna <jug@sad.it>
10261 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10263 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10265 * screen.C (topCursorVisible): introduce a temp var for
10266 text->cursor.row(), handle the case where this row is null. (kindo
10269 * text2.C (setCursor): add a couple of asserts.
10271 * paragraph.h (inset_iterator): add -> operator
10273 * paragraph.[Ch] (autoDeleteInsets): remove member function
10275 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10276 cursor pos correctly and handle inset deletion by itself.
10277 (insertErrors): move iterator declaration out of for expression
10279 * lyxtextclass.C: add <algorithm>
10281 * Makefile.am: added the new files to sources, removed layout.C
10283 * layout.C: removed file
10285 * layout.h: remove LYX_DUMMY_LAYOUT
10287 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10291 * lyxtextclass.[Ch]:
10292 * lyxtextclasslist.[Ch]: new files
10294 * include order changes to a lot of files, also changes because of
10297 2001-12-27 Juergen Vigna <jug@sad.it>
10299 * buffer.C (asciiParagraph): more fixes.
10301 * tabular.C (ascii): make ascii export support export of only the
10302 data separated by a column-delimiter.
10303 (ascii): better support for ascii export.
10305 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10307 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10309 * tabular_funcs.C: use a "using std::getline" instead of the
10310 previous fix from Angus (necessary for cxx + lyxstring)
10312 2001-12-24 Juergen Vigna <jug@sad.it>
10314 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10316 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10317 problems. First check a minipage also if we have some ert-contents
10318 (not only on par->size(), second set the right depth of the paragraph
10319 on the relink to the root-paragraph-list!
10321 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10322 which then did not anymore update the main paragraphs on undo/redo!
10324 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10326 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10327 code. Support all font-changing funcs (even those which are not in
10328 menu currently). Support for reporting font settings in
10329 mathed (disabled until Andre provides a function on mathed's side).
10331 * func_status.h (toggle): small helper function to set toggle
10334 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10336 * tabular_funcs.C: getline -> std::getline
10338 2001-12-21 Juergen Vigna <jug@sad.it>
10340 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10341 accessed and could be 0 (I couldn't generate this but it seems
10344 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10346 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10347 * tabular_funcs.h: here and include iosfwd
10349 2001-12-20 Juergen Vigna <jug@sad.it>
10351 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10352 inside inset but undo_par was.
10354 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10356 * Thesaurus.C: always include <config.h> in sources.
10360 * box.h: do not include <config.h> in header files
10362 * text.C (paintLastRow): remove unused variable
10364 * text.C (transformChar):
10366 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10368 * Painter.C (text):
10369 * font.C (width): rewrite to use uppercase() instead of
10372 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10374 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10376 * lyxfind.C: clean up of find failure position change
10378 2001-12-20 Juergen Vigna <jug@sad.it>
10380 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10382 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10383 (TeXRow): added to LaTeX a single tabular row.
10384 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10385 (Latex): simplified and finally good LT-h/f support.
10386 (various_functions): just small adaptions for LT-h/f support.
10388 * tabular_funcs.[hC]: added and moved here all not classfunctions
10391 2001-12-19 Juergen Vigna <jug@sad.it>
10393 * tabular.[Ch]: better support for longtabular options (not finished
10396 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10398 * text.C (paintLastRow): use the label font instead of the font of
10399 the last character to compute the size of *_BOX. This makes more
10400 sense and avoids a crash with empty paragraphs.
10401 Use Painter::rectangle to draw EMPTY_BOX.
10403 2001-12-19 Juergen Vigna <jug@sad.it>
10405 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10406 the paragraphs if the replaced paragraph is not the first one!
10407 Tried to delete not used paragraphs but does not work yet so for
10408 now it's inside #ifdef's and by default off!
10410 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10412 * MenuBackend.C: include "lyx_main.h" instead of declaring
10413 lastfiles (actually was declared as LastFiles* instead of a
10416 2001-12-17 Juergen Vigna <jug@sad.it>
10418 * tabular.C (AppendColumn): applied John's fix
10420 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10424 * BufferView_pimpl.h:
10425 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10428 * box.h: new start of class for above
10430 * lyxfunc.C: ignore space-only minibuffer dispatches.
10431 Show the command name when it doesn't exist
10433 * minibuffer.C: don't add empty lines to the history
10435 * minibuffer.C: add a space on dropdown completion
10437 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10439 * text.C: fix line above/below drawing in insets
10441 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10443 * lyxlength.C (LyXLength): Initialize private variables.
10445 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10447 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10448 when inserting error insets.
10450 2001-12-13 Juergen Vigna <jug@sad.it>
10452 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10453 actually sometimes the before-paragraph.
10454 (setUndo): don't clear the redostack if we're not actually undoing!
10456 2001-12-06 Juergen Vigna <jug@sad.it>
10458 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10459 and fixed redoing of main paragraph, so we can use it now ;)
10461 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10463 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10465 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10468 2001-12-13 André Pönitz <poenitz@gmx.net>
10471 * undo_func.C: minor cleanup
10473 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10475 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10476 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10477 font in urw-fonts package which is marked as -urw-fontspecific and
10478 does not work (incidentally, changing the encoding in the
10479 fonts.dir of this package to -adobe-fontspecific fixes the
10482 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10483 is a crash when undoing first paragraph (Juergen, please take a
10484 look). THis does not mean the undo fix is wrong, just that it
10487 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10488 the (Paragraph*) version when needed instead of duplicating the
10491 * text.C (workWidth): use Inset::parOwner to find out where the
10492 inset has been inserted. This is a huge performance gain for large
10493 documents with lots of insets. If Inset::parOwner is not set, fall
10494 back on the brute force method
10496 * paragraph_pimpl.C (insertInset):
10497 * paragraph.C (Paragraph):
10498 (cutIntoMinibuffer): set parOwner of insets when
10499 inserting/removing them
10501 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10503 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10509 * mathed/formulabase.C:
10510 * mathed/math_cursor.[Ch]:
10511 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10514 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10516 * lyxlength.[Ch] (operator!=): new function
10518 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10520 * text.C (workWidth): use Inset::parOwner to find out where the
10521 inset has been inserted. This is a huge performance gain for large
10522 documents with lots of insets. If Inset::parOwner is not set, fall
10523 back on the brute force method
10525 * paragraph_pimpl.C (insertInset):
10526 * paragraph.C (Paragraph):
10527 (cutIntoMinibuffer): set parOwner of insets when
10528 inserting/removing them
10530 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10532 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10534 * tabular-old.C (getTokenValue):
10535 * tabular.C (getTokenValue):
10536 (write_attribute): new versions for LyXLength
10537 (everywhere): adjust the use of widths
10539 * tabular.h: change the type of widths from string to LyXLength
10541 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10543 * paragraph.C: fixed missing line number count when exporting
10544 Environments to LaTeX file
10546 * buffer.C: added informational message for checking line numbers.
10548 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10550 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10551 paragraph, do the 'double space' part, but not the 'empty
10554 * text.C (workWidth): small optimization
10555 (getLengthMarkerHeight): use minimal size for negative lengths.
10557 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10559 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10561 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10563 2001-12-11 André Pönitz <poenitz@gmx.net>
10566 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10568 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10570 * text2.C: keep selection on a setFont()
10572 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10574 * lyx_cb.C: another bv->text misuse, from insert label
10576 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10579 * kbsequence.C: re-instate nmodifier mask
10581 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10583 * lyx_main.h: make lyxGUI private.
10585 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10587 * lyxfind.C: place the cursor correctly on failed search
10589 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10591 * text.C (getLengthMarkerHeight): for small heights, the arrows
10592 are not always on top/bottom of the text
10593 (drawLengthMarker): smaller arrows; take the left margin in
10594 account; draw also vfills.
10596 (paintLastRow): remove special code for vfill and standard spaces,
10597 since everything is handled in drawLengthMarker now.
10599 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10601 * buffer.C (insertErtContents): try to handle font and language
10602 interaction a bit better.g
10604 * ColorHandler.C (updateColor): change the hash to cover the whole
10605 LColor enum, ws cleanup
10606 (getGCLinepars): ditto
10607 (getGCLinepars): only lookup in the linecache once.
10609 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10611 * iterators.C (operator++): Make the iterator more robust
10613 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10615 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10617 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10620 * text.C: better added space drawing
10622 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10625 * BufferView2.C: fix layout combo update on inset unlock
10627 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10629 * Makefile.am: don't compile unused files
10631 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10635 * LyXAction.C: remove old LFUN_LAYOUTNO
10637 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10639 * paragraph_pimpl.h:
10640 * paragraph_pimpl.C: isTextAt() doesn't need font param
10642 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10645 * lyxlex.C: little cleanup
10647 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10649 * BufferView_pimpl.C: fix insertAscii for insets
10651 2001-12-05 Juergen Vigna <jug@sad.it>
10653 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10654 set the right font on the "multi" paragraph paste!
10656 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10662 * lyxlength.C: remove out-commented code.
10664 * BufferView_pimpl:
10678 * vc-backend.C: change "while(" to "while ("
10680 * lyxlength.[Ch]: add zero function to check if length is zero or
10682 * lyxgluelength.C: use it
10684 2001-12-05 Allan Rae <rae@lyx.org>
10686 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10687 Works for 2.95.3, from what I understand of Garst's reports this should
10688 work for other g++ versions. We're screwed if the abs(int) definition
10689 changed between bugfix releases of gcc.
10691 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10693 * text.C: fix chapter label offset !
10695 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10698 * text.C: fix hfill at end of line, clean up
10700 2001-12-04 Juergen Vigna <jug@sad.it>
10702 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10703 that we force an update of the inset and it's owners if neccessary.
10705 2001-12-03 Juergen Vigna <jug@sad.it>
10707 * text.C (rowLast): simplified code
10709 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10711 * lyxfunc.C: fix show options on timeout
10713 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10715 * screen.C (topCursorVisible): scroll half a page when the cursor
10716 reached top of bottom of screen
10718 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10720 * minibuffer.C: deactivate on loss of focus
10722 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10724 * vspace.[Ch] (operator!=): add operator.
10726 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10728 * BufferView_pimpl.C: refuse to open an inset when
10729 there's a selection.
10731 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10733 * BufferView_pimpl.C: allow to click on RHS of full row insets
10735 2001-11-30 Juergen Vigna <jug@sad.it>
10737 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10738 insets for undo reasons.
10740 2001-11-28 André Pönitz <poenitz@gmx.net>
10742 * vspace.[Ch]: cosmetical changes
10744 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10754 * kbsequence.C: part re-write of old kb code
10757 * WorkArea.C: remove Lgb_bug_find_hack
10759 2001-11-30 José Matos <jamatos@fep.up.pt>
10761 * buffer.C (makeDocBookFile): add a comment to point a hack.
10762 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10763 Fixed a double write of labels.
10765 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10768 * LaTeX.h Fixed bug in LaTeX class where it would not
10769 re-run latex if no depfiles were changed, but the .dvi was removed.
10771 2001-11-28 André Pönitz <poenitz@gmx.net>
10773 * all the files from the change on 2001/11/26:
10774 use lyx::layout_type instead of LyXTextClass::size_type
10775 use lyx::textclass_type instead of LyXTextClassList::size_type
10777 2001-11-29 Juergen Vigna <jug@sad.it>
10779 * text.C: added support for paragraph::isFreeSpacing()
10781 * buffer.C: same as above
10783 * paragraph.h: inserted isFreeSpacing() function to enable
10784 FreeSpacing inside InsetERT.
10786 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10787 of the paragraph's in the cut/copy buffer to 0!
10789 * text2.C (removeRow): remove the assert as it can!
10791 * lyxtext.h: added helper function firstRow returning firstrow and
10792 made firstrow private again.
10794 * BufferView2.C (lockInset): don't relock if we're already locked!
10796 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10797 the only paragraph.
10798 (removeRow): added Assert::(firstrow)
10800 * debug.C: forgot to add INSETTEXT here.
10802 2001-11-28 Juergen Vigna <jug@sad.it>
10804 * sp_spell.C (initialize): changed error text to more general
10805 spellchecker command use (not only ispell!)
10807 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10809 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10811 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10813 * vspace.C: initialise lyxgluelength on failure
10815 2001-11-28 Allan Rae <rae@lyx.org>
10817 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10818 declaration & definition that looks like a function declaration.
10820 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10822 * BufferView2.C (copy):
10823 (copyEnvironment): do not clear the selection when doing a copy.
10825 * text.C (paintFirstRow): compilation fix
10827 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10829 * tabular.C (Latex): correct line count when writing latex.
10831 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10833 * paragraph_pimpl.h:
10834 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10837 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10841 * LColor.C: change vfillline->added_space
10843 * text.C: add markers and text for added space
10845 * vspace.C: fix comment
10847 2001-11-28 André Pönitz <poenitz@gmx.net>
10849 * paragraph.C: whitespace changes
10850 * all the other files from the change on 2001/11/26:
10851 change *::pos_type into lyx::pos_type
10853 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10855 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10856 language of the document when inserting error insets.
10858 2001-11-26 André Pönitz <poenitz@gmx.net>
10860 * BufferView_pimpl.[Ch]:
10868 * paragraph_pimpl.[Ch]:
10871 * text2.C: reduce header dependencies, introduce type for positions
10873 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10875 * <various>: change to use Alert.h
10877 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10879 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10880 when encountering an unknown token.
10881 (readLyXformat2): Show an error message if there were unknown tokens.
10883 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10886 * BufferView_pimpl.C:
10890 * text2.C: use par->isInset()
10892 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10894 * paragraph_pimpl.h:
10895 * paragraph_pimpl.C: cleanup
10897 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10899 * text2.C (removeRow):
10900 * text.C (setHeightOfRow): remove useless (and costly) call to
10903 2001-11-20 Allan Rae <rae@lyx.org>
10905 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10906 Now need Inset*::checkInsertChar() to return true for appropriate
10907 cases so that the characters in the minibuffer will actually be
10910 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10912 * text.C: change the order of the includes.
10913 (workWidth): initialize it at once.
10914 (workWidth): make maxw unsigned
10915 (setHeightOfRow): remove unused variable (inset)
10916 (selectSelectedWord): remove unused variable (inset)
10917 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10919 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10921 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10922 server is not running.
10924 (closeConnection): add debug info when server is disabled.
10926 * ColorHandler.C (getGCForeground): send debug message to GUI
10929 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10931 * kbmap.C (bind): modify because return conventions of
10932 kb_sequence::parse have changed.
10934 * kbsequence.C (parse): only ignore spaces and not any stupid
10935 control character. This avoids tests like s[i] <= ' ', which are
10936 guaranteed to fail with 8bit characters and signed chars.
10937 Change return code to string::npos when there have been no error
10938 (0 was a bad idea when error is at first character)
10940 2001-11-14 José Matos <jamatos@fep.up.pt>
10943 * buffer.C (simpleDocBookOnePar): removed unused argument.
10945 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10947 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10948 insets which are part of a word. Paragraph::isLetter takes care of
10949 that now. Use Paragraph::isInset to identify insets.
10950 (selectSelectedWord): do not test for hyphenation break.
10952 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10953 that protected spaces are considered as spaces.
10955 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10958 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10961 * lyxserver.C: fix it. and small cleanup.
10963 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10965 * BufferView_pimpl.C: use inline helpers
10968 * LaTeXFeatures.C: fix typos
10971 * Spacing.C: move spacing_string into class
10973 * ToolbarDefaults.C: move stuff into namespace anon
10975 * layout.h: update enum
10977 * lyxfunc.C: use better debug
10979 * minibuffer.h: fix typo
10983 * WorkArea.C: add and use Debug::WORKAREA
10987 * text2.C: code re-organisation, inline helpers
10989 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10991 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10992 std::vector.empty().
10994 2001-11-09 Allan Rae <rae@lyx.org>
10996 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10997 '\n's after tables. Tabular and ERT inset work now makes this no
11000 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11003 * minibuffer.C: fix crash, improve drop-down completion
11005 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11008 * lyxserver.C: invalidate fd's when doing endPipe()
11010 2001-11-08 José Matos <jamatos@fep.up.pt>
11012 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11013 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11016 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11018 2001-11-07 José Matos <jamatos@fep.up.pt>
11021 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11024 * buffer.C (sgmlOpenTag):
11025 * buffer.C (sgmlCloseTag): removed debug info.
11027 * buffer.h (sgmlOpenTag):
11028 * buffer.h (sgmlCloseTag): made public.
11030 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11032 * buffer.C (saveParamsAsDefaults):
11033 * lyx_cb.C (MenuLayoutSave): remove
11035 * LyXAction.C (init):
11037 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11039 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11041 * buffer.C (setPaperStuff): removed from here...
11043 * bufferparams.C (setPaperStuff): ... and moved there.
11045 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11049 * XFormsView.C: add support for drop-down completion
11051 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11053 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11056 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11058 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11061 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11063 * lyx_main.C: change ref to known bugs
11065 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11067 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11068 to work around older babel problems.
11070 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11072 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11074 2001-10-24 Juergen Vigna <jug@sad.it>
11076 * tabular-old.C (ReadOld): below variable changes reflected.
11078 * tabular.[Ch]: added ltType struct for longtable header/footer
11079 defines and changed all instances where they are used. Added
11080 future support for double top/bottom rows.
11082 2001-10-24 José Matos <jamatos@fep.up.pt>
11084 * buffer.h (docbookHandleCaption):
11085 * buffer.C (docbookHandleCaption): removed unused function.
11086 (makeDocBookFile): moved docbook supported version to v4.1.
11088 2001-10-24 José Matos <jamatos@fep.up.pt>
11091 * tabular.C (docbookRow): new function to export docbook code of a row.
11092 (DocBook): now honors the longtable flags.
11094 2001-10-23 José Matos <jamatos@fep.up.pt>
11097 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11098 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11100 * buffer.C (makeLinuxDocFile):
11101 (makeDocBookFile): reworked the preamble, more clean, and with
11102 support for lyx defined entities. Changed the document declaration
11103 to be more XML friendly.
11105 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11106 if we need to output XML that should be done with a filter.
11108 2001-10-22 Juergen Vigna <jug@sad.it>
11110 * sp_pspell.h (class PSpell): add alive function needed in the
11111 controller to see if the spellchecker could be started.
11113 2001-10-22 Juergen Vigna <jug@sad.it>
11115 * buffer.C (insertStringAsLines): modify the font for inserting
11116 chars in certain conditions by calling checkInsertChar(font).
11118 2001-10-19 Juergen Vigna <jug@sad.it>
11120 * text.C (workWidth): use getRow instead of wrong algorithm.
11121 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11123 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11128 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11130 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11132 * text.C (workWidth): do not search for the exact row when
11133 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11134 optimization for big documents.
11136 2001-10-18 Juergen Vigna <jug@sad.it>
11138 * text.C (workWidth): new function with added Inset * parameter.
11140 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11142 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11144 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11145 change return type of getColumnNearX.
11148 * text.C (changeRegionCase): use uppercase/lowercase instead of
11151 (rightMargin): simplify code by factoring out the uses of
11156 (appendParagraph): use Paragraph::size_type
11158 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11160 * vspace.C (asLatexString): add a missing break
11162 2001-10-15 Herbert Voss <voss@perce.de>
11164 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11166 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11168 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11171 2001-10-10 André Pönitz <poenitz@gmx.net>
11173 * lyxfunc.C: removed greek_kb_flag.
11175 2001-10-10 Herbert Voss <voss@perce.de>
11177 * lyx_main.C: delete global string help_lyxdir.
11179 2001-10-09 Herbert Voss <voss@perce.de>
11181 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11183 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11185 * lyx_main.C: added global string help_lyxdir.
11187 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11189 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11191 * lyxrc.C (set_font_norm_type): support iso8859-4
11193 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11195 * LaTeX.C (deplog): add another regex for MikTeX
11197 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11199 * lyxrc.C (set_font_norm_type): support iso8859-3
11201 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11203 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11205 * LaTeXFeatures.C: remove special case of french and index
11207 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11208 before \begin{document}). This solves several incompatibilities.
11210 2001-10-03 Garst Reese <reese@isn.net>
11212 * lyx_cb.C: change CheckTex error msg.
11214 2001-10-03 José Matos <jamatos@fep.up.pt>
11216 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11218 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11220 * .cvsignore: update
11222 * lyx_main.C (commandLineVersionInfo): use new style version info.
11224 * buffer.C (writeFile):
11226 (makeLinuxDocFile):
11227 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11229 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11231 * version.h: update to use stuff in version.C
11233 * version.C.in: new file. Contains version information determined
11234 at compile time. This is a merging of version.h and
11237 2001-10-03 Juergen Vigna <jug@sad.it>
11239 * BufferView_pimpl.C (update): don't change "dirty" status in
11242 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11244 * WorkArea.C (c-tor): re-position version string slightly.
11246 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11248 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11249 revert to previous code.
11251 WorkArea.[Ch]: (show, destroySplash): methods removed.
11253 WorkArea.C: rework code so that it's an amalgam of the codes before and
11254 after the splash screen was moved to WorkArea.
11256 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11259 * vspace.C (inPixels):
11262 * buffer.C (insertStringAsLines):
11263 (asciiParagraph): fix types to be large enough
11265 * lyxlex_pimpl.h: change member status from short to int
11267 * layout.h: fix type of endlabeltype
11270 * kbsequence.C (parse): change return type to string::size_type
11272 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11275 * Bullet.C (bulletSize):
11276 (bulletEntry): do not use short ints as parameters
11278 * BufferView2.C (insertLyXFile): change a char to an int.
11280 * WorkArea.C (WorkArea): remove unneeded floats in computation
11282 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11284 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11286 * paragraph.C (asString): Do not ignore newline/hfill chars when
11287 copying to the clipboard.
11289 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11291 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11292 after a multi-line inset.
11294 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11296 * paragraph.C (validate): Set NeedLyXFootnoteCode
11298 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11300 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11301 and decrease-error to decrease.
11303 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11305 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11306 it more readable (should be equivalent)
11308 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11310 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11312 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11314 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11315 of a cursor (row, etc.) after a character has been deleted
11316 (deleteEmptyParagraphMechanism): call the method above on _all_
11317 cursors held by the LyXText when a double space has been
11320 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11322 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11324 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11326 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11327 background. Use greyOut() and the new show() methods to toggle between
11328 the foreground and background. Add code to remove the splash after
11329 its initial showing.
11331 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11332 (create_forms): no longer call Dialogs::showSplash.
11334 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11336 * .cvsignore: add version_info.h
11338 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11340 * version_info.h.in: new file
11342 * Makefile.am: add version_info.h.in
11344 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11345 version_info.h instead of VERSION_INFO
11347 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11349 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11350 The ERT inset now returns string().
11352 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11354 * lyxtext.h, text.C (selectNextWord): renamed as
11355 selectNextWordToSpellcheck.
11357 * text.C (selectNextWordToSpellcheck): Modified to not select
11358 words inside an ERT inset.
11360 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11362 * lyx_cb.C (MenuLayoutSave): change a bit the question
11364 * sp_base.h: include <sys/types.h>
11366 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11368 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11370 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11372 * several files: fix typos in user-visible strings
11374 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11376 * text2.C (pasteSelection): do not set the selection, since it
11377 will be cleared later. Actually, the intent was to fix the way the
11378 selection was set, but I figured rmoving the code was just as good.
11380 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11382 * FontLoader.C (available): Check if font is available without
11385 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11387 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11389 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11391 * lyxrc.[Ch]: added display_graphics variable and associated code.
11393 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11395 * bufferparams.C (hasClassDefaults): new method. Returns true if
11396 the buffer parameters correspond to known class defaults
11398 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11400 * XFormsView.C (show): set minimum size to the main window.
11402 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11404 * text2.C (copySelection):
11406 * lyxfind.C (LyXReplace):
11407 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11408 LyXText::selectionAsString.
11410 * paragraph.C (asString): add "label" argument to the second form
11412 * text2.C (selectionAsString): add "label" argument and pass it to
11413 Paragraph::asString.
11415 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11417 * lyx_main.C (commandLineHelp): remove version information
11419 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11421 * lyx_main.C: add -version commandline option
11423 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11425 * paragraph.h: make the optional constructor arg required instead.
11426 some modifications to other files because of this.
11428 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11430 * lyxserver.C (C_LyXComm_callback): make it static
11432 * lyx_main.C (error_handler): make it static
11434 * lyx_gui.C (LyX_XErrHandler): make it static
11436 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11438 * WorkArea.C: make the extern "C" methods static.
11440 * Makefile.am (lyx_LDADD): simplify
11442 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11444 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11445 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11447 * LyXAction.C (init):
11448 * lyxfunc.C (dispatch): associated code removal.
11450 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11452 * lyxfont.h (isSymbolFont): shut off warning
11454 * text.C (setHeightOfRow):
11455 (getVisibleRow): fix crash with empty paragraphs which have a
11458 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11460 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11463 2001-09-04 José Matos <jamatos@fep.up.pt>
11466 * tabular.C (docbook): rename docBook method to docbook.
11468 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11470 * Makefile.am: add dependencies to main.o.
11472 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11474 * FontLoader.C (available): Return false if !lyxrc.use_gui
11476 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11478 * FontInfo.C (query):
11479 * converter.C (view):
11480 * importer.C (Import):
11481 * exporter.C (Export): Can not -> cannot.
11483 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11485 * BufferView_pimpl.C: allow to create index inset even if
11488 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11490 * buffer.C (getLists): replace boost::tie code with an explicit pair
11491 as boost::tie can break some compilers.
11493 * iterators.h: Added a std:: declaration to the return type of
11496 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11498 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11501 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11503 * iterators.[Ch]: New files. Provide paragraph iterators.
11505 * buffer.C (changeLanguage): Use paragraph iterators.
11506 (isMultiLingual): ditto
11508 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11510 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11512 * FontLoader.C: Support for cmr font.
11514 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11516 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11517 (available): New method.
11519 * FontInfo.C (getFontname): Use scalable fonts even when
11520 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11523 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11525 * converter.C (Formats::view): reverted! Incorrect fix.
11527 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11529 * converter.C (Formats::view): only output the -paper option
11530 if the dvi viewer is xdvi, thereby fixing bug #233429.
11532 2001-08-23 Herbert Voss <voss@perce>
11534 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11536 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11538 * Spacing.h (Spacing): Set space to Default on in the default
11541 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11543 * vc-backend.h (RCS::versionString): add RCS to version
11544 (CVS::versionString): add CVS to version
11546 * vc-backend.C (scanMaster): do not add CVS to version.
11547 (scanMaster): do not add RCS to version
11549 * lyxvc.C (versionString): new method
11551 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11553 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11555 * Spacing.C (set): initialize fval
11557 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11559 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11562 2001-08-16 Juergen Vigna <jug@sad.it>
11564 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11566 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11568 * BufferView_pimpl.C:
11571 * text2.C: setParagraph takes linespacing now
11573 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11575 * LyxAction.C: add internal LFUN_CITATION_INSERT
11577 * LyXView.C: actually apply fix
11579 * bufferlist.C: fix open non-existent file
11581 * lyxfind.C: fix indentation
11583 * lyxfunc.C: remove unneeded assert, fix typo
11585 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11587 * MenuBackend.C: use "Floatname List"
11589 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11591 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11592 when converting LaTeX layout to insetERT.
11593 Generate a non-collapsed float when reading old float
11595 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11597 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11600 2001-08-13 Juergen Vigna <jug@sad.it>
11602 * text.C (fill): return 0 instead of 20 as this seems to be the more
11605 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11607 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11610 2001-08-13 Juergen Vigna <jug@sad.it>
11612 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11614 (SearchBackward): comment out the unlocking of the inset_owner this
11615 should not be needed!
11617 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11619 * Many files: Remove inherit_language, and add latex_language
11621 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11622 collapsible insets.
11624 2001-08-10 Juergen Vigna <jug@sad.it>
11626 * text.C (prepareToPrint): fixed hfill-width in draw!
11628 * BufferView2.C (selectLastWord): save the selection cursor as this
11629 now is cleared in the function LyXText::clearSelection!
11631 2001-08-08 Juergen Vigna <jug@sad.it>
11633 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11634 BACKSPACE type functions.
11636 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11637 is only cutted from the document but not put in the cut-buffer, where
11638 still the old stuff should be.
11640 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11642 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11644 * tabular.C (SetWidthOfCell): fixed special case where the width
11646 (LeftLine): handle '|' in align_special.
11648 (LeftAlreadyDrawed): ditto
11649 (SetWidthOfCell): ditto
11651 2001-08-07 Juergen Vigna <jug@sad.it>
11653 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11655 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11657 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11658 * lyxlex.[hC]: ditto
11660 2001-08-06 Juergen Vigna <jug@sad.it>
11662 * text.C (getVisibleRow): fix up row clearing a bit.
11664 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11666 * minibuffer.C: make sure the X server sees the changes in the input.
11668 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11670 * paragraph.C (getFont): split into...
11671 (getLabelFont): this
11672 (getLayoutFont): and this
11673 * paragraph_pimpl.C (realizeFont): calling this
11675 * text2.C (getFont): split into...
11676 (getLayoutFont): this
11677 (getLabelFont): and this
11678 (realizeFont): all three calling this
11680 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11683 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11685 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11687 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11689 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11690 layouts from the Quote inset insertion.
11692 2001-08-03 Juergen Vigna <jug@sad.it>
11694 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11696 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11697 only if status not is already CHANGED_IN_DRAW (second level).
11699 * text.C (draw): don't set the need_break_row when inside an
11702 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11704 * buffer.C (parseSingleLyXformat2Token): handle more latex
11707 * bufferview_funcs.[hC]: change function names to
11708 begin with small char, adjust other files.
11710 2001-08-02 André Pönitz <poenitz@gmx.net>
11713 BufferView_pimpl.C: remove broken special code for math-greek
11715 2001-08-02 Juergen Vigna <jug@sad.it>
11717 * BufferView_pimpl.C (update): redone this function so that we
11718 update the text again if there was a CHANGE_IN_DRAW.
11720 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11721 (drawFromTo): added a new internal bool which is used by draw() and
11723 (general): some cursor drawing problems fixed.
11725 2001-08-01 Juergen Vigna <jug@sad.it>
11727 * lyxfind.C (LyXFind): fixed
11728 (SearchForward): ditto
11729 (SearchBackward): ditto
11731 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11732 spurius drawing of the cursor in the main area.
11734 * text2.C (status): small fix which could lead to a segfault!
11735 (clearSelection): remove unneeded BufferView param.
11737 2001-08-01 André Pönitz <poenitz@gmx.net>
11739 * lyxfunc.C: small change due to changed mathed interface
11741 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11743 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11745 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11747 * lyxfunc.c: fail gracefully if file doesn't exist
11752 * BufferView_pimpl.C: IsDirWriteable() proto changed
11754 * LyXView.C: fix updateWindowTitle() to store the last title
11756 2001-07-31 Juergen Vigna <jug@sad.it>
11758 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11759 the font (wrong since using of Paragraph::highestFontInRange).
11761 * paragraph.C (highestFontInRange): added a default_size parameter.
11763 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11764 (setHeightOfRow): reformat
11766 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11768 * converter.[hC] + affected files: move to (inital-char)lowercase
11771 * ParagraphParameters.C (ParagraphParameters): remove commented code
11773 * PainterBase.[Ch]: remove commented code
11775 * LaTeXFeatures.h: add "bool floats" for float.sty
11777 * LaTeXFeatures.C (LaTeXFeatures): init floats
11778 (require): handle float
11779 (getPackages): do it with floats
11781 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11783 * BufferView_pimpl.C (Dispatch): improve handling of
11784 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11786 * commandtags.h: #include lyxfont.h here temporarily to avoid
11789 * bufferlist.h: include LString.h here.
11791 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11793 * text2.C (getStringToIndex): new method.
11795 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11797 * *: Reduced header file dependencies all over.
11799 2001-07-30 Baruch Even <baruch@lyx.org>
11801 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11803 2001-07-29 Baruch Even <baruch@lyx.org>
11805 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11807 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11809 * ParameterStruct.h (endif): add a default constructor to make
11810 sure that all variables is initialized.
11812 * ParagraphParameters.C (ParagraphParameters): adjust
11814 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11816 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11817 index; also, check that there is something to index, and that it
11818 does not span over several paragraphs.
11819 (doubleClick): use WHOLE_WORD_STRICT for double click.
11821 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11823 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11826 2001-07-26 Baruch Even <baruch@lyx.org>
11828 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11829 an InsetFig figure, backwards compatible reading of old figure code.
11831 2001-07-27 Juergen Vigna <jug@sad.it>
11833 * text2.C: font.realize function adaption.
11835 * text.C (draw): add a warnings lyxerr text if needed.
11837 * layout.C: font.realize function adaption.
11839 * language.C: add inherit_language and implement it's handlings
11841 * bufferview_funcs.C (StyleReset): remove language parameter from
11842 font creation (should be language_inherit now).
11844 * bufferparams.C (writeFile): handle ignore_language.
11846 * paragraph.C (getFontSettings): the language has to be resolved
11847 otherwise we have problems in LyXFont!
11849 * lyxfont.C (lyxWriteChanges): added document_language parameter
11850 (update): removed unneeded language parameter
11852 * paragraph.C (validate): fixed wrong output of color-package when
11853 using interface colors for certain fonts in certain environments,
11854 which should not seen as that on the final output.
11856 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11858 * BufferView_pimpl.C:
11863 * LyXAction.C: add thesaurus support
11866 * lyxfind.C: add "once" parameter, for thesaurus, to not
11867 move to the next match
11869 2001-07-26 Juergen Vigna <jug@sad.it>
11871 * lyxfont.C (realize): honor ignore_language too!
11874 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11876 * text.C (draw): one place more for ignore_language to not draw
11879 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11881 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11883 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11885 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11886 the minipage conversion problem.
11888 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11890 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11893 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11895 * BufferView.h: don't forward declare WorkArea
11897 * BufferView.C: don't include WorkArea.h
11899 2001-07-25 André Pönitz <poenitz@gmx.net>
11903 * lyxfunc.C: new LFUN 'math-space'
11905 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11907 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11909 * text2.C (toggleInset): call open/close
11911 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11913 * lyxfunc.C (dispatch): add debug for the disabled case
11915 * font.C (buttonText): make similar to rectText
11917 * buffer.C (readInset): comment out parsing of insetlist and
11920 * PainterBase.C (rectText): small correction
11922 * BufferView_pimpl.C: comment out insettheorem and insetlist
11923 * LyXAction.C: ditto
11924 * commandtags.h: ditto
11926 2001-07-24 Juergen Vigna <jug@sad.it>
11928 * text.C (draw): honor the ignore_language.
11930 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11932 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11934 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11937 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11939 * lyxtext.h: remove unused (and unimplemented) methods
11941 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11943 * text.C (getVisibleRow): honor background color
11946 * Painter.h: remove default color argument for fillRectangle
11948 * text.C (backgroundColor): new method
11950 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11952 * text.C (getVisibleRow): adjust
11954 * font.[Ch] (rectText): new method, metrics
11955 (buttonText): new method, metrics
11957 * PainterBase.[hC]: make rectText and buttonText always draw and take
11960 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11962 * ToolbarDefaults.C (read):
11963 * MenuBackend.C (read): allow escaping in all strings
11965 * BufferView_pimpl.C (insertAndEditInset): new method.
11966 (Dispatch): use insertAndEditInset whenever appropriate.
11968 * BufferView_pimpl.C (insertNote): removed
11970 * BufferView_pimpl.C (smartQuote): new method, moved from
11971 BufferView; if an insetquote cannot be inserted, insert a '"'
11974 * BufferView2.C: remove insertCorrectQuote();
11976 * lyxfunc.C (getStatus): Add support for all remaingin
11977 inset-insert lfuns.
11979 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11981 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11982 command (necessary to pass " as parameter of self-insert.
11984 * text.C (selectWordWhenUnderCursor):
11985 (selectWord): add word_location parameter
11986 (selectWordWhenUnderCursor): same + remove special code for word
11988 (selectNextWord): use kind() to guess type of insetspecialchar,
11991 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11992 (insertErtContents): create ert insets as collapsed.
11993 (readInset): better compatibility code for Info inset.
11995 2001-07-20 Juergen Vigna <jug@sad.it>
11997 * lyxfunc.C (dispatch): use always LyXFind now!
11999 * text2.C (init): add a reinit flag so that the LyXText can be
12000 reinited instead of deleted and reallocated (used in InsetText).
12002 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12008 2001-07-18 Juergen Vigna <jug@sad.it>
12010 * text.C (selectNextWord): handle insets inside inset by calling
12011 always the bv->text functions so that we can go up the_locking_inset!
12013 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12014 in strange locations when inside an inset!
12016 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12017 handling to include insets.
12019 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12021 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12023 * LyXAction.C (init):
12025 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12026 LIGATURE_BREAK, since the name is so stupid.
12028 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12030 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12033 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12035 * sp_form.[Ch]: remove.
12037 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12039 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12042 * src/buffer.C (readInset): ditto.
12044 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12046 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12047 menuSeparator(), endOfSentenceDot(), ldots() and
12048 hyphenationPoint(), which are therefore removed.
12049 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12051 * LyXAction.C (init):
12052 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12054 * paragraph.C (getWord): removed.
12056 * BufferView_pimpl.C (Dispatch): use last word or selection for
12057 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12059 * lyx_main.C (queryUserLyXDir): do not ask before creating
12060 user_dir, except if it has been named explicitely.
12062 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12064 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12065 a document of zero size.
12067 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12069 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12070 approriately in the c-tor and in require().
12071 (getPackages): output the appropriate LaTeX for natbib support.
12073 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12074 variables "use_natbib" and "use_numerical_citations" when reading the
12076 (readInset): read the various natbib cite commands.
12077 (validate): white-space change.
12079 * bufferparams.[Ch]: new variables "bool use_natbib" and
12080 "bool use_numerical_citations".
12081 (writeFile): output them in the LyX file.
12083 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12085 * lyxfunc.C (getStatus): add support for all the inset insertion
12088 * text2.C (insertInset):
12089 * paragraph.C (insetAllowed):
12090 * BufferView_pimpl.C (insertInset): update to take in account the
12091 renaming of insertInsetAllowed
12093 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12095 * text2.C (getInset): new method. returns inset at cursor position.
12097 * BufferView_pimpl.C (Dispatch): changes because of this.
12099 * LyXAction.C (init): rename open-stuff to inset-toggle.
12101 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12103 * text2.C (toggleInset): renamed from openStuff; use
12106 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12108 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12110 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12112 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12114 * buffer.C (readLyXformat2): Add filename to the error dialog
12116 2001-07-18 Juergen Vigna <jug@sad.it>
12118 * tabular.C (GetCellNumber): put an assert here instead of the check!
12120 2001-07-17 Juergen Vigna <jug@sad.it>
12122 * BufferView_pimpl.C (toggleSelection): adapted too.
12124 * text.C (selectNextWord): adapted for use with insets.
12125 (selectSelectedWord): ditto
12127 2001-07-17 Juergen Vigna <jug@sad.it>
12129 * sp_spell.C (PSpell): fix initialitation order.
12131 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12133 * paragraph.C: spacing
12135 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12137 * sp_spell.C: repair language selection for pspell
12139 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12141 * lyxfunc.h: change more methods to begin with lower char.
12143 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12145 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12146 for unknown layouts.
12148 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12150 * buffer.C (readLyXformat2): Generate an error dialog if there are
12153 2001-07-16 Juergen Vigna <jug@sad.it>
12155 * sp_spell.C: always compile ISpell part.
12157 * lyxrc.C: added use_pspell entry and it's handling.
12159 2001-07-13 Juergen Vigna <jug@sad.it>
12161 * sp_spell.C: removed double includes.
12163 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12165 Consistent use of Lsstream.h:
12166 * Lsstream.h: added using std::stringstream for consistencies sake.
12168 * buffer.C: removed using std::stringstream
12170 * lyxfont.C (stateText):
12171 * paragraph.C (asString):
12172 * text.C (selectNextWord, selectSelectedWord):
12173 * text2.C (setCounter):
12174 * vspace.C (asString, asLatexString):
12175 std::ostringstream -> ostringstream.
12177 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12179 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12180 * commandtags.h: add LFUN_HELP_ABOUTLYX
12181 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12183 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12185 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12187 * lyx_gui_misc.C: remove spellchecker
12188 * lyxfunc.C: showSpellchecker
12190 * sp_ispell.h: added
12191 * sp_pspell.h: added
12192 * sp_spell.C: added
12193 * sp_form.[Ch]: removed
12194 * spellchecker.[Ch]: removed
12196 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12198 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12200 (simpleTeXSpecialChars): Simply print the input character without
12201 any special translation if pass_thru is set.
12203 * layout.h: Added bool pass_thru to layout class for being able to
12204 implement pass through of a paragraph for Literate Programming.
12206 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12207 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12208 * layout.C (Read): add "passthru" to list of layout tags and add
12209 code to set the pass_thru boolean when it is read.
12211 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12213 * trans_decl.h: remove allowed from KmodInfo
12215 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12216 remove allowed code
12219 * paragraph_pimpl.C (erase): use boost::prior
12221 * Painter.C (text): use data() instead of c_str() when length is
12223 * WorkArea.C (putClipboard): ditto
12224 * font.h (width): ditto
12226 * BufferView2.C: use it-> instead of (*it). for iterators
12228 * paragraph_pimpl.C: ditto
12229 * paragraph.C: ditto
12230 * minibuffer.C: ditto
12231 * language.C: ditto
12233 * encoding.C: ditto
12234 * counters.C: ditto
12235 * converter.C: ditto
12237 * Variables.C: ditto
12238 * TextCache.C: ditto
12239 * MenuBackend.C: ditto
12240 * LyXAction.C: ditto
12242 * FloatList.C: ditto
12243 * DepTable.C: ditto
12244 * ColorHandler.C (LyXColorHandler): ditto
12246 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12248 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12250 * text2.C (openStuff): reintroduce this method (which had been
12251 nuked in NEW_INSETS frenzy).
12253 * lyxfunc.C (Dispatch): when an action has not been handled, use
12254 its name in the error message, not its number.
12256 * paragraph.C (inInset): change method name to begin with lowercase.
12259 * text2.C: updates because of this.
12261 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12263 * ToolbarDefaults.C (add): add spaces in error message
12265 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12267 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12268 (readLyXformat2): rename return_par to first_par, use lyxlex's
12269 pushToken and remove the manual push handling.
12270 (parseSingleLyXformat2Token): add another ert comp. variable:
12271 in_tabular, rename return_par to first_par. handle newlines better
12273 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12275 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12277 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12279 * text2.C (getParFromID): removed
12281 * buffer.C (getParFromID): new method moved form lyxtext.
12282 * BufferView2.C (insertErrors): adjust
12283 (setCursorFromRow): adjust
12284 * BufferView_pimpl.C (restorePosition): adjust
12285 * lyxfunc.C (Dispatch): adjust
12286 * undo_funcs.C (textUndo): adjust
12288 (textHandleUndo): adjust
12289 (textHandleUndo): adjust
12291 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12293 * buffer.C: up' the LYX_FORMAT
12295 * lyxfont.h: turn NO_LATEX on as default
12297 * buffer.C (insertErtContents): new methods of tex style compability.
12298 (parseSingleLyXformat2Token): use it several places.
12299 * tabular.C (OldFormatRead): and here
12301 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12303 * text2.C: remove some commented code.
12306 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12307 * trans.C: changes because of the above.
12309 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12311 * text2.C (setCounter): Fix counters bug with bibliography layout.
12313 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12315 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12316 own member functions
12317 (simpleTeXSpecialChars): ditto
12319 2001-07-06 Juergen Vigna <jug@sad.it>
12321 * a lot of files: changed the access to LyXText::status and the
12322 call of undo-functions.
12324 * undo.[Ch]: added a inset_id to the undo informations.
12326 * undo_funcs.[Ch]: added and moved here all undo functions.
12328 * lyxtext.h: give the status enum a weight, made status_ a private
12329 variable and made accessor functions for it, removed the whole bunch
12330 of undo-functions as they are now in their own file, make some
12331 functions publically available. Added function ownerParagraph with
12334 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12335 made InInset() a const function, added getParFromID() function.
12337 * buffer.[Ch]: added const version for inset_iterator functions,
12338 added getInsetFromID() function.
12340 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12341 changed undo functions for new version.
12343 2001-07-05 Juergen Vigna <jug@sad.it>
12345 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12346 unknow mechanism does not call the proper constructor but only this
12347 one also if I request the other!?
12349 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12351 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12353 * text2.C (LyXText): use initialization lists.
12355 * lyxtext.h (Selection): initialize set_ and mark_
12356 (init): remove method
12358 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12360 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12362 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12364 * screen.[Ch]: change method names to begin with lowercase
12366 * BufferView_pimpl.C (updateScrollbar): simplify further and
12367 hopefully make it a bit faster.
12369 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12371 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12372 calling directly xforms functions.
12374 * Painter.C (Painter):
12375 * lyx_cb.C (MenuWrite):
12376 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12379 * lyx_gui.C: remove bogus guiruntime extern declaration.
12381 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12383 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12385 (redoDrawingOfParagraph): ditto
12386 (redoParagraphs): ditto
12387 (cutSelection): don't create a object for CutAndPaste use the
12388 static method directly
12389 (pasteSelection): ditto
12391 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12394 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12396 * modifications to some other files because of this.
12398 * Makefile.am (lyx_SOURCES): add XFormsView
12400 * XFormsView.[Ch]: new files
12402 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12403 the main window. Move the gui dependent stuff to XFormsView
12405 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12407 * tabular.C (GetCellInset): update cur_cell also in the row/col
12408 version of this function.
12410 * lyxfunc.C: no need to include figure_form.h here.
12416 * lyxvc.C: no need to include forms.h here.
12418 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12420 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12422 * lyxfunc.C (Dispatch):
12424 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12425 constructor argument.
12427 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12429 * paragraph.C (Paragraph): dont't clear, and just set layout.
12430 (makeSameLayout): use params's copy contructor.
12432 * ParagraphParameters.[Ch] (makeSame): delete method
12434 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12436 * Variables.[Ch]: fix indentation, rename set to isSet
12438 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12440 * lyxfunc.C (Dispatch): fix typo
12442 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12444 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12447 * bufferlist.C: include assert.h for emergencyWrite().
12449 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12451 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12452 give up at last (bug #425202) !
12454 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12460 * spellchecker.C: strip spellchecker options and bring up
12461 preferences tab instead
12463 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12465 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12466 the istringstream constructor
12468 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12470 * paragraph.C (getLayout): fix return value
12472 * paragraph.h: do not declare getLayout as inline.
12474 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12476 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12478 * lyxcursor.h (operator<): new func
12479 (operator>): new func
12480 (operator>=): new func
12481 (operator<=): new func
12483 * text.C (changeCase): use selection.start and selection.end
12484 (changeRegionCase): require from to be <= to. Require par to be a
12487 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12489 2001-06-27 Juergen Vigna <jug@sad.it>
12491 * text.C (cursorLeftOneWord): changed to return the cursor and added
12492 overlay with BufferView * parameter which calls this one.
12494 (selectWord): use new getWord function.
12495 (changeCase): renamed from changeWordCase as and extended to work
12496 also on selections.
12498 * lyxtext.h: added enum word_location
12500 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12501 changeCase as this operates now also on selections.
12503 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12505 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12507 * many files: send debug output to Debug::INFO instead of
12510 * converter.C (View):
12512 (Move): send debug output to Debug::FILES instead of console.
12514 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12516 * lyxfunc.C (getStatus): use func_status
12518 * func_status.h: new header, describing the results of
12519 LyXFunc::getStatus;
12521 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12524 2001-06-25 The LyX Project <jug@sad.it>
12526 * buffer.C (sgmlOpenTag):
12528 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12530 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12532 * text2.C: remove some dead code
12534 * tabular.C (GetCellInset): store the last cell checked (gotten)
12536 * tabular.h: add the helper for the speedup
12538 * lyxtext.h: remove some dead code
12540 2001-06-26 The LyX Project <Asger>
12542 * paragraph.C: Change export to LaTeX of alignment to
12543 \begin{center} and family for better roundtrip work with reLyX.
12545 * Tune the math drawing a bit.
12547 2001-06-25 The LyX Project <Asger>
12549 * LColor.C (LColor): New color for math background. New color
12552 2001-06-25 The LyX Project <jug@sad.it>
12554 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12556 * lyxfunc.C (Open):
12557 * bufferlist.C (newFile): do not restrict to files ending with
12560 * BufferView_pimpl.C (MenuInsertLyXFile):
12562 2001-06-24 The LyX Project <jug@sad.it>
12564 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12567 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12569 * lyxtext.h: rename most methods to begin with a small char.
12570 Lots of changes because of this.
12572 * paragraph.C (Paragraph): do not call fitToSize
12573 (erase): call Pimpl::erase
12574 (insertChar): call Pimpl::insertChar
12575 (insertInset): call Pipl::insertInset
12576 (breakParagraph): do not call fitToSize
12577 (breakParagraphConservative): do not call fitToSize
12578 (fitToSize): remove method
12580 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12582 2001-06-24 The LyX Project <Asger>
12584 * Fix Qt compilation^2
12586 2001-06-24 The LyX Project <jug@sad.it>
12588 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12589 depthHook(getDepth()-1).
12592 * ParagraphParameters.h:
12593 * ParameterStruct.h: change type of depth to unsigned int ==
12594 depth_type. Many adaptations to other files before of that.
12596 2001-06-24 The LyX Project <Asger>
12598 * Fix Qt compilation.
12600 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12602 * paragraph.h: renamed several methods to begin with small letter.
12603 several changes to many parts of the code because of this.
12605 2001-06-23 The LyX Project <jug@sad.it>
12607 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12608 rewritten to discard all double spaces when KeepEmpty is off
12609 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12610 to only handle newlines but not fiddle with spaces and friends.
12612 * lyxfunc.C (MenuNew): when doing 'new from template', use
12613 template_path as default directory
12615 2001-06-23 The LyX Project <Asger>
12617 * Clean-up of header file includes all over
12618 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12620 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12622 * paragraph.h: renamed from lyxparagraph.h
12624 2001-06-23 Asger <lyx@violet.home.sad.it>
12626 * Buffer.h: Removed Buffer::resize
12627 * BufferList.h: Removed BufferList::resize
12628 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12629 the document lazily when we change the width, or the font settings.
12631 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12633 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12635 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12637 * buffer.h: remove out of date comment
12639 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12642 * screen.C: fix "theoretical" GC leak
12644 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12646 * LaTeX.C (scanAuxFile):
12647 (deplog): remove trailing \r when reading stream (useful under
12650 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12652 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12653 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12654 and BufferView::theLockingInset(Inset*), so should use them and not
12655 access bv_->text->the_locking_inset directly.
12657 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12659 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12662 * tex-defs.h: remove old unused file
12664 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12666 * BufferView_pimpl.C: fix typo, remove minibuffer message
12667 when buffer has loaded
12669 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12671 * lyxfunc.C (Dispatch): use stringstream
12672 (MenuNew): use stringstream
12673 (Open): use stringstream
12675 * importer.C (Import): use stringstream
12677 * bufferview_funcs.C (CurrentState): use stringstream
12679 * LaTeX.C (run): use stringstream
12681 * BufferView_pimpl.C (savePosition): use stringstream
12682 (restorePosition): use stringstream
12683 (MenuInsertLyXFile): use stringstream
12685 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12698 * vspace.C: removed // -*- C++ -*- as first line.
12701 * version.h: added // -*- C++ -*- as first line.
12703 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12705 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12707 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12710 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12712 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12715 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12717 * gettext.C: include LString.h even when --disable-nls is on.
12719 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12721 * converter.h (Get): changed argument type from int to
12722 FormatList::size_type to avoid unnecessary conversion.
12724 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12727 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12729 * gettext.h: include LString.h even when --disable-nls is on.
12731 2001-06-07 Juergen Vigna <jug@sad.it>
12733 * text.C (BreakAgain): subst spaces with tabs.
12735 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12736 (resizeInsetsLyXText): set force on resizeLyXText.
12738 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12740 * gettext.h (gettext_init):
12741 (locale_init): use a real definition instead of a macro
12743 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12745 * Bufferview_pimpl.C:
12747 * LColor.C: further lcolor tidies
12749 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12751 * BufferView_pimpl.C (updateScrollbar): simplify.
12753 * BufferView2.C: don't include insets/insetinfo.h, change
12754 prototype for insertInset and call the Pimpl version. let
12755 updateInset call Pimpl version.
12757 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12758 gotoInset to BufferView::Pimpl
12760 2001-06-01 Juergen Vigna <jug@sad.it>
12762 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12763 inside a LockingInset (is the update needed at all?).
12765 2001-05-31 Juergen Vigna <jug@sad.it>
12767 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12768 here not the old one otherwise how should we compare it afterwards
12771 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12776 * FontInfo.C: bring C functions into global namespace when
12779 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12781 * LString.h: make sure config.h has been loaded before LString.h.
12783 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12784 (one for each char read by EatLine!).
12786 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12789 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12791 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12792 to the same as the par we break from
12794 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12796 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12798 * MenuBackend.C (expand): also create menu entries for wide
12799 versions of the floats.
12801 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12803 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12805 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12806 frontends/Makefile.am
12812 * tabular.C (getTokenValue): add std::
12814 * tabular-old.C (getTokenValue): add std::
12815 (getTokenValue): ditto
12816 (getTokenValue): ditto
12818 * screen.C (ToggleSelection): adjust
12820 * lyxtext.h: put selection cursors inside a Selection struct.
12822 * lyxfunc.C (moveCursorUpdate): adjust
12824 * lyxfont.C (latexWriteStartChanges): add std::
12826 * lyxfind.C: adjust
12828 * font.h: delete with(char const *, LyXFont const &)
12830 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12832 * FontInfo.C (getFontname): add std::
12834 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12835 (workAreaButtonPress): adjust
12836 (tripleClick): adjust
12838 (moveCursorUpdate): adjust
12841 * BufferView2.C (gotoInset): adjust
12843 2001-05-30 Juergen Vigna <jug@sad.it>
12845 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12846 to check pspell I add this as default as I now have new pspell
12847 libraries and they seem to use this.
12849 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12851 * text2.C (CutSelection): make the cursor valid before the call to
12854 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12856 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12857 relied on 0 terminated strings and other horrors. Bug found due to
12858 the new assert in lyxstring!
12860 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12863 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12865 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12868 * lyxfunc.C (processKeySym): change method of getting to the
12871 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12872 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12873 * BufferView_pimpl.[Ch]: here as private methods.
12875 2001-05-28 Juergen Vigna <jug@sad.it>
12877 * text.C (SetHeightOfRow): added the update() call again as it is
12878 needed to initialize inset dimensions!
12880 2001-05-16 Juergen Vigna <jug@sad.it>
12882 * text2.C (SetCharFont): Add new function with BufferView * and
12883 bool toggleall parameters for setting insets internal fonts.
12884 (SetFont): Freeze the undo as we may change fonts in Insets and
12885 all this change should be inside only one Undo!
12887 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12888 setting font's in insets as for them we have the SetFont function!
12890 2001-05-15 Juergen Vigna <jug@sad.it>
12892 * text2.C (ClearSelection): to be sure we REALLY don't have any
12895 * tabular.C (TeXCellPreamble): fixed the left border problem for
12898 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12900 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12903 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12905 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12906 LFUN_BREAKPARAGRAPH.
12908 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12909 help test to "internal only", similar for LFUN_INSERT_URL
12911 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12912 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12913 auto_region_delete and deadkeys.
12915 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12918 * LColor.C: remove some dead entries, tidy a little
12920 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12922 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12924 (Dispatch): implement LFUN_ESCAPE
12926 * commandtags.h: add LFUN_ESCAPE
12928 * LyXAction.C (init): add entry for LFUN_ESCAPE
12930 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12931 Remove commented code.
12932 (insertNote): moved here
12933 (open_new_inset): moved here
12935 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12938 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12940 * kbmap.C (findbinding): clean it up and make it work correctly.
12942 * lyx_main.C (init): do not pass argc and argv as parameters
12944 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12946 * buffer.C: fix path for OS/2 & Win32
12950 * lyx_main.C: Added os:: class.
12952 * os2_defines.h: update
12954 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12956 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12957 better by trying again with reduced state.
12959 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12961 * lyxrc.C (read): print error about invalid key sequence only when
12962 debugging (because not all latinX keysyms are known to some X
12965 * kbsequence.C (getiso): add a few std:: qualifiers
12966 (getiso): comment out extra return statement.
12968 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12970 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12972 (Dispatch): enhance the accent inset a bit. (not perfect)
12974 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12976 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12978 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12980 * bufferlist.C (emergencyWrite): fix assert() call
12982 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12984 * text.C (InsertChar): Added trivial patch to only send the "you
12985 can not do multiple spaces this way" message once during a
12988 2001-05-08 Baruch Even <baruch@lyx.org>
12990 * Makefile.am: Changed order of libraries to get LyX to link properly
12991 with the gnome frontend.
12993 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12995 * LaTeXFeatures.h: add a std:: qualifier
12997 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12999 * paragraph.C (String): use stringstream
13001 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13003 * paragraph.C (writeFile): remove footflag arg
13005 * buffer.C (makeLaTeXFile): use stringstream
13006 (latexParagraphs): remove footnot gurba
13008 * LaTeXFeatures.C (getPackages): use stringstream
13009 (getMacros): likewise
13010 (getTClassPreamble): likewise
13011 (getFloatDefinitions): new method
13013 * paragraph.C (writeFile): reindent
13016 * WorkArea.h: revert the xpos + etc changes.
13018 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13020 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13022 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13023 (pasteSelection): likewise
13024 * text2.C (CreateUndo): likewise
13026 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13028 * minibuffer.C (peek_event): temporarily reduce the functionality
13029 of the minibuffer (to allow args on lfuns)
13031 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13032 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13034 * buffer.C (readInset): add compability reading of old float
13035 lists, add reading of new style float list.
13036 (readInset): avoid reevaluation of inscmd.getCmdName()
13037 (getLists): reindent
13039 * MenuBackend.C (MenuItem): implement parsing of
13040 md_floatlistinsert and md_floatinsert.
13041 (expand::LastFiles): move initalizaton of iterators out of loop,
13042 avoid reevaluation.
13043 (expand::Documents): introduce typdedef vector<string> Strings,
13045 (expand::ExportFormats): introduce typedef vector<Format const *>
13046 Formats, and use it.
13047 (expand): implement FloatListInsert and FloatInsert.
13049 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13050 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13051 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13053 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13055 (Dispatch::LFUN_FLOAT_LIST): implement
13057 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13059 * LaTeX.C (run): Fix problem with --export code.
13061 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13063 * BufferView.[Ch] (workarea): removed.
13064 (getClipboard) new method; wrapper for workarea()->getClipboard()
13066 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13069 * WorkArea.h (width, height, xpos, ypos): These methods all
13070 returned the dimensions of the work_area sub-area of WorkArea,
13071 resulting in a position error if the WorkArea were resized. Now
13072 return the dimensions of the entire WorkArea.
13074 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13076 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13078 * LaTeX.C (deplog): correct the syntax of regex reg1
13080 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13082 * undo.C: remove !NEW_INSETS cruft
13084 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13086 * text2.C: remove !NEW_INSETS cruft
13088 * text.C: remove !NEW_INSETS cruft
13090 * tabular.C: remove !NEW_INSETS cruft
13092 * spellchecker.C: remove !NEW_INSETS cruft
13094 * lyxtext.h: remove !NEW_INSETS cruft
13096 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13098 * lyxfunc.C: remove !NEW_INSETS cruft
13100 * lyxfind.C: remove !NEW_INSETS cruft
13102 * lyx_cb.C: remove !NEW_INSETS cruft
13104 * figureForm.C: remove !NEW_INSETS cruft
13106 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13108 * buffer.[Ch]: remove !NEW_INSETS cruft
13110 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13112 * CutAndPaste.C: remove !NEW_INSETS cruft
13114 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13116 * BufferView2.C: remove !NEW_INSETS cruft
13118 * BufferView.h: remove !NEW_INSETS cruft
13120 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13122 * Lsstream.h: include LString.h before the sstream headers to
13123 fix problem with gcc 2.95.3 and lyxstring
13125 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13127 * lyx_main.C: add using directives when needed for C functions
13128 declared in std:: namespace.
13130 2001-04-27 Juergen Vigna <jug@sad.it>
13132 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13133 (SetHeightOfRow): comment out the update call should not be needed!
13135 2001-04-13 Juergen Vigna <jug@sad.it>
13137 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13138 (LyXTabular): tried to minimize operator= operations (and realized
13139 hopfully Lars wish).
13141 2001-04-27 Juergen Vigna <jug@sad.it>
13143 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13145 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13147 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13149 * buffer.C (readInset): hack to make listof algorithm work
13151 * BufferView_pimpl.C: hack to make listof algorithm work
13153 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13155 * LyXAction.C: removed all !NEW_INSETS cruft
13156 (init): moved lfun_item in method
13158 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13160 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13162 * BufferView2.C (theLockingInset): white space.
13164 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13166 * minibuffer.C: include <iostream>
13168 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13170 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13172 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13174 * text.[Ch] (TransposeChars): new method
13176 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13178 * call message directly through LyXView instead of through LyXFunc
13179 * BufferView2.C: adjust
13180 * BufferView_pimpl.C: adjust
13181 * FontLoader.C: adjust
13183 * bufferview_funcs.C: adjust
13184 * converter.C: adjust
13185 * figureForm.C: adjust
13186 * importer.C: adjust
13188 * lyx_gui_misc.C: adjust
13189 * lyxfunc.C: adjust
13192 + more files in subdirs
13194 * lyxparagraph.h (size): move up int file
13197 * adjust all uses of Assert to lyx::Assert.
13199 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13200 lyxfunctional in namespace lyx
13201 * layout.C (hasLayout): ditto
13204 (delete_layout): ditto
13205 (NumberOfClass): ditto
13206 * converter.C (GetFormat): ditto
13211 * bufferlist.C (getFileNames): ditto
13212 (emergencyWriteAll): ditto
13215 * MenuBackend.C (hasSubmenu): ditto
13218 * BufferView_pimpl.C (getInsetByCode): ditto
13220 2001-04-18 Juergen Vigna <jug@sad.it>
13222 * vspace.C (asLatexString): fixed the 100% problem.
13224 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13226 * lyxfunc.C (Dispatch):
13228 * minibuffer.h: add a few std:: qualifiers
13230 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13232 * minibuffer.[Ch]: reimplement so that commands is initiated and
13233 run from lyxfunc, simplified som handling, and made the completion
13234 and history code for complete. wip.
13236 * lyxfunc.C (processKeySym): call message
13237 (miniDispatch): new temporary method
13238 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13239 (LFUN_MESSAGE): implement
13240 (LFUN_MESSAGE_PUSH): implement
13241 (LFUN_MESSAGE_POP): implement
13242 (initMiniBuffer): the initial/defualt minibuffer message.
13244 * lyxfont.[Ch]: inline some more getters
13246 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13248 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13250 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13251 (AutoSave): use LFUN_MESSAGE
13252 (Reconfigure): ditto
13254 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13256 * figureForm.C: use LFUN_MESSAGE
13258 * converter.C (runLaTeX): use LFUN_MESSAGE
13260 * bufferview_funcs.C: use LFUN_MESSAGE
13262 (changeDepth): ditto
13264 * bufferparams.h: use boost::
13266 * bufferlist.h: inherit privately from noncopyable
13268 * bufferlist.C (loadLyXFile): remove some commented code.
13270 * buffer.C (runChktex): use LFUN_MESSAGE
13272 * ShareContainer.h: inherit privately from noncopyable
13274 * ParagraphParameters.[hC] (depth): inline it.
13276 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13278 (message): new method
13279 (messagePush): ditto
13280 (messagePop): ditto
13281 (show): init minibuffer
13282 (showState): direct call
13284 * LaTeX.[Ch]: inherit privately from noncopyable
13285 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13286 instead of WriteStatus.
13288 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13290 * BufferView_pimpl.C (buffer): don't init minibuffer
13291 (workAreaButtonPress): use LFUN_MESSAGE
13292 (workAreaButtonRelease): ditto
13293 (savePosition): ditto
13294 (restorePosition): ditto
13295 (MenuInsertLyXFile): ditto
13296 (workAreaExpose): don't init minibuffer
13297 (update): remove commented code, simplify
13299 * BufferView2.C (openStuff): use LFUN_MESSAGE
13300 (toggleFloat): ditto
13303 (copyEnvironment): ditto
13304 (pasteEnvironment): ditto
13309 (updateInset): remove some commented code
13311 * lastfiles.h: inherit privately from noncopyable
13314 * lyx_main.h: ditto
13316 * lyxlex_pimpl.h: ditto
13318 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13319 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13320 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13322 * LyXAction.h: inherit privately from noncopyable, add methods
13323 func_begin, func_end, returning iterators to the func map.
13325 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13326 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13327 (func_begin): new method
13328 (func_end): new method
13330 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13332 (copySelection): ditto
13333 (pasteSelection): ditto
13335 * BufferView.C: whitespace change
13336 * BufferView.h: inherit privately from noncopyable
13338 2001-04-16 Allan Rae <rae@lyx.org>
13340 * tabular-old.C (l_getline):
13341 * spellchecker.C (sc_check_word):
13342 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13343 an unrecognised preprocessor directive. So ensure they're wrapped.
13345 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13347 * src/exporter.C (Export): Give an error message when path to file
13350 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13352 * LaTeX.C (deplog): Always check that foundfile exists.
13354 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13357 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13359 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13361 * tabular.[Ch] (getLabelList): implement new method
13363 * minibuffer.h: comment ouf setTiimer
13365 * minibuffer.C (ExecutingCB): constify res
13366 (peek_event): constify s
13367 (Set): constify ntext
13368 (Init): constify nicename
13370 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13372 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13373 (savePosition): use two params to Minibuffer::Set
13374 (restorePosition): ditto
13376 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13378 * lyx_main.C: include language.h
13380 * Makefile.am (lyx_main.o): add language.h
13382 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13388 * CutAndPaste.C: include gettext.h
13390 * lyxfont.h: remove old hack with ON and OFF.
13393 * lyxfont.h: do not include language.h...
13398 * bufferview_funcs.C:
13404 * paragraph.C: ... but do it here instead
13406 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13408 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13410 * tabular.C: small reformat
13412 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13415 (BreakParagraph): ditto
13416 (SetOnlyLayout): ditto
13419 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13422 * lastfiles.C: removed most using decl, add std:: where needed
13424 * buffer.C: ws changes
13426 * MenuBackend.C (class compare_format): put into anon namespace
13427 (expand): constify label, names, action, action2
13430 * text.C (SingleWidth): constify font
13431 (IsBoundary): constify rtl2
13432 (GetVisibleRow): constify ww
13434 * LaTeX.C (deplog): constify logfile
13436 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13438 (workAreaExpose): constify widthChange, heightChange
13440 * lyxrow.C (par): moved
13443 * lyxrow.h: as inlines here
13445 * lyxfont.h (shape): moved from lyxfont.C
13446 (emph): moved from lyxfont.C
13448 * lyxfont.C (LyXFont): use initialization list for all
13450 (shape): move to lyxfont.h as inline
13451 (emph): move to lyxfont.h as inline
13454 2001-04-04 Juergen Vigna <jug@sad.it>
13456 * vspace.C: had to include stdio.h for use of sscanf
13458 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13461 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13462 independent of xforms.
13464 2001-04-02 Juergen Vigna <jug@sad.it>
13466 * spellchecker.C: fixed namespace placing!
13468 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13470 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13471 the LyXParagraph * is 0.
13473 2001-03-29 Juergen Vigna <jug@sad.it>
13475 * vspace.C: added support for %, c%, p%, l%.
13476 (stringFromUnit): added helper function.
13477 (asLatexString): changed to give right results for the %-values.
13479 * buffer.C: convert the widthp in a width%.
13481 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13483 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13486 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13487 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13489 * lyx_cb.[Ch]: see above.
13491 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13495 * lyx.[Ch]: replaced by figure_form.[Ch].
13499 * lyxfunc.C: changed headers associated with above changes.
13501 2001-03-27 Juergen Vigna <jug@sad.it>
13503 * BufferView_pimpl.C: set the temporary cursor right!
13505 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13507 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13509 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13511 * LString.h: removed "using std::getline"!
13513 * BufferView_pimpl.C (Dispatch): changes due to changes in
13514 InsetInclude::Params.
13516 * buffer.C (tag_name): removed redundant break statements as they were
13517 producing lots of warnings with my compiler.
13519 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13521 * LString.h: add "using std::getline" when using the real <string>.
13523 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13525 * buffer.C: removed bitset usage.
13526 PAR_TAG moved to an anonymous name space.
13527 (tag_name): new funtion, also in the anonymous namespace.
13528 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13529 (makeDocBookFile): clean code. Completed transition from string arrays
13531 (SimpleDocBookOnePar): code clean.
13533 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13535 * tabular.C: add some comments.
13537 2001-03-22 Juergen Vigna <jug@sad.it>
13539 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13540 compatibility read a bit and fixed bug with minipage in different
13543 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13545 * buffer.C (pop_tag): removed.
13546 (push_tag): removed.
13547 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13548 array replaced with vector. Added support for CDATA sections.
13549 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13551 (makeDocBookFile): XML conformant declaration of CDATA section,
13552 fixed bug related to <emphasis> in the first paragraph char.
13553 (sgmlOpenTag): exclude empty tags.
13554 (sgmlCloseTag): ditto.
13556 * buffer.h (pop_tag): removed.
13557 (push_tag): removed.
13559 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13561 * language.h (Languages): added size_type and size().
13563 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13565 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13566 response on compability reading of minipages. One probliem is that
13567 the old usage of minipages was «flertydig»
13569 * several files here and in subdirs: don't use static at file
13570 scope use anon namespaces instead.
13572 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13574 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13575 LaTeX output. This is necessary for Literate document
13578 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13580 * buffer.C: insert hfill when needed.
13582 * tabular.C (l_getline): use string::erase, small whitespace change.
13584 * BufferView_pimpl.C: try the anon namespace.
13585 * WorkArea.C: ditto
13587 2001-03-16 Juergen Vigna <jug@sad.it>
13589 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13590 otherwise it won't open options-dialogs.
13592 * buffer.C: honor pextraWidth(p) on converting minipages.
13594 * tabular.C (l_getline): changed the functions to strip trailing \r.
13596 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13598 * BufferView_pimpl.C:
13599 * minibuffer..C: added "using SigC::slot" declaration.
13601 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13603 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13609 * paragraph.C: ditto
13611 * lyxtext.h: NO_PEXTRA
13613 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13615 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13616 * ParameterStruct.h: ditto
13617 * ParagraphParameters.h: ditto
13618 * lyxparagraph.h: ditto
13620 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13622 * buffer.C: add compability for minipage alignment.
13623 (latexParagraphs): remove unwanted pextra check.
13625 * several files: remove CXX_WORKING_NAMESPACES
13627 * buffer.C (pop_tag): tie is in namespace boost
13629 * BufferView.h: noncopyable is in namespace boost
13631 * lyx_main.h: ditto
13634 * lastfiles.h: ditto
13635 * bufferlist.h: ditto
13636 * ShareContainer.h: ditto
13638 * LyXAction.h: ditto
13641 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13643 * Merging changes from BRANCH_MVC back into HEAD.
13645 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13647 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13649 * BufferView_pimpl.C: change from intl.C
13653 * Makefile.am: move combox.*
13659 * intl.C: remove dialog (covered by prefs)
13661 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13663 * lyxfunc.C (Dispatch): removed redundant break statement.
13665 2001-03-14 Juergen Vigna <jug@sad.it>
13667 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13669 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13671 * buffer.C: add hack to fix compability reading of minipages.
13673 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13675 * buffer.C (getLists): Cleanup.
13677 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13679 * lyxfont.C (update): don't honor toggleall on font size.
13681 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13685 * Makefile.am: moved to frontends/xforms/
13689 * BufferView_pimpl.C: changes for moved mathpanel
13691 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13693 * gettext.h: fix gettext_init() in --disable-nls
13695 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13697 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13699 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13702 * lyx.h: strip external form
13704 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13706 * BufferView_pimpl.C: add comment, destroySplash()
13708 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13710 * BufferView_pimpl.C:
13714 * lyxfunc.C: use re-worked insetinclude
13716 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13718 * buffer.C: add using std::stringstream.
13720 * lyx_cb.C: readd using std::ios.
13722 * buffer.C: add using std::map.
13724 * BufferView_pimpl.C: add using std::vector.
13726 * ShareContainer.h: add std:: to swap.
13728 * buffer.h: add some typedefs
13729 * buffer.C (getLists): use them
13730 (getLists): renamed from getTocList.
13731 add a counter for the different float types and use it in the
13733 (getLists): use the same counter for the NEW_INSETS and the "non"
13736 * lyx_cb.h: remove unused items, includes, using etc.
13738 * ShareContainer.h: remove some commented code, add more comments
13739 and "documentation".
13741 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13743 * buffer.C (getTocList): make the list also when NEW_INSETS is
13746 * buffer.h: remove TocType
13748 * buffer.C (getTocList): change to return a map<string,
13749 vector<TocItem> >, implement for dynamic number of list.
13751 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13752 * text2.C (PasteSelection): adjust
13753 * CutAndPaste.C (pasteSelection): adjust
13755 * FloatList.C (FloatList): update from the new_insets branch.
13756 * Floating.[Ch]: ditto
13757 * LaTeXFeatures.C: ditto
13759 * lyxlex_pimpl.C: ditto
13761 * paragraph.C (Last): remove when NEW_INSETS is defined.
13763 * other file: changes because of the above.
13765 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13767 * lyxparagraph.h: rename next to next_, previous to previous_,
13768 make them private for NEW_INSETS. Rename Next() to next(),
13769 Previous() to previous().
13771 * other files: changes because of the above.
13773 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13776 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13779 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13781 * main.C (main): pass lyx_localedir to gettext_init().
13783 * gettext.h: remove locale_init and gettext_init macros
13785 * gettext.C (locale_init): new function
13786 (gettext_init): new function
13788 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13791 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13793 * Moved credits to frontends:
13794 * credits.[Ch]: removed
13795 * credits_form.[Ch]: removed
13796 * lyx_gui_misc.C: remove credits stuff
13799 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13801 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13803 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13804 unneeded destructor.
13806 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13807 a standalone pointer again.
13809 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13811 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13817 * ToolbarDefaults.C:
13826 * BufferView_pimpl.C: use new file dialog in GUII
13829 * lyx_cb.C: remove LayoutsCB to Toolbar
13831 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13833 * ShareContainer.h (get): add std:: qualifier
13835 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13837 * ShareContainer.h: define a proper ShareContainer::value_type
13838 type (and use typename to please compaq cxx)
13840 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13842 * lyxparagraph.h: move serveral local vars to
13843 ParameterStruct/ParagraphParameters., use ShareContainer in
13844 FontTable., make vars in FontTable private and add getter and
13847 * paragraph.C: changes because of the above.
13849 * lyxfont.h: remove copy constructor and copy assignment. (the
13850 default ones is ok), move number inside FontBits. move inlines to
13853 * lyxfont.C: add number to initializaton of statics, move several
13854 inlines here. constify several local vars. some whitespace
13855 cleanup. Dont hide outerscope variables.
13857 * Spacing.h: add two new constructors to match the set methods.
13859 * ShareContainer.h: new file, will perhaps be moved to support
13861 * ParameterStruct.h: new file
13863 * ParagraphParameters.h: new file
13865 * ParagraphParameters.C: new file
13867 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13868 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13870 * BufferView_pimpl.C: ParagraphParameter changes.
13871 * buffer.C: Likewise.
13872 * bufferview_funcs.C: Likewise.
13873 * text.C: Likewise.
13874 * text2.C: Likewise.
13876 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13878 * lyxfind.C (LyXReplace): do not redefine default argument in
13880 (IsStringInText): ditto
13881 (SearchForward): ditto
13882 (SearchBackward): ditto
13884 2001-03-06 Juergen Vigna <jug@sad.it>
13886 * lyxfind.C (IsStringInText): put parentes around expressions.
13888 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13890 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13892 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13894 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13896 * stl_string_fwd.h: add comment
13898 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13901 * tabular.C: remove unused DocBook methods
13907 killed DO_USE_DEFAULT_LANGUAGE
13909 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13911 * lyx_gui.C: do not include language.h.
13913 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13914 arguments in function implementation.
13916 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13918 * BufferView_pimpl.C: add <ctime>
13920 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13922 * BufferView_pimpl.C: add using std::find_if
13924 2001-02-27 José Matos <jamatos@fep.up.pt>
13926 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13929 2001-02-11 José Matos <jamatos@fep.up.pt>
13931 * buffer.C (makeDocBookFile): command styles now have a parameter as
13932 "title" by default.
13934 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13936 * layout_forms.[Ch]: removed
13937 * lyx_cb.[Ch]: out character
13938 * lyx_gui.C: out character
13939 * lyx_gui_misc.C: out character
13940 * bufferview_funcs.C: : out character,
13941 added toggleall as parameter in ToggleAndShow
13943 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13945 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13947 * text2.C (SetCurrentFont): Disable number property at boundary.
13949 2001-02-26 Juergen Vigna <jug@sad.it>
13951 * lyxfunc.C (getStatus): added a string argument override function so
13952 that this is correctly called from LyXFunc::Dispatch if it contains a
13953 do_not_use_argument which is used!
13954 (Dispatch): added check for "custom" export and call appropriate func.
13956 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13958 * lyxrc.C: Add language_command_local, language_use_babel and
13959 language_global_options.
13961 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13963 * buffer.C (makeLaTeXFile): Use language_use_babel and
13964 language_global_options.
13966 2001-02-23 Juergen Vigna <jug@sad.it>
13968 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13969 which works with LyXText and putted it inside BufferView. Here now we
13970 only call for that part the BufferView::Dispatch() function.
13972 * BufferView.C (Dispatch): added.
13974 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13975 functions which needs to use a LyXText over from LyXFunc.
13976 (MenuInsertLyXFile): added
13977 (getInsetByCode): added
13978 (moveCursorUpdate): added
13979 (static TEXT): added
13981 2001-02-22 Juergen Vigna <jug@sad.it>
13983 * BufferView_pimpl.C (update): call a status update to see if LyXText
13986 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13988 * vc-backend.C (revert): implement for CVS
13989 (getLog): implement for CVS
13991 2001-02-20 Juergen Vigna <jug@sad.it>
13993 * text2.C (ClearSelection): added BufferView param for inset_owner call
13995 * lyxfunc.C (TEXT): added this function and use it instead of
13996 directly owner->view()-text of getLyXText().
13998 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14000 * src/layout_forms.C: out preamble
14001 * src/layout_forms.h: out preamble
14002 * src/lyx_cb.C: out preamble
14003 * src/lyx_cb.h: out preamble
14004 * src/lyx_gui.C: out preamble
14005 * src/lyx_gui_misc.C: out preamble
14006 * src/lyxfunc.C: connect with guii preamble
14008 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14010 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14012 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14014 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14015 whether to run bibtex.
14017 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14019 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14021 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14023 * Makefile.am (lyx_SOURCES): removed bibforms.h
14025 * vspace.h: doxygen
14027 * text.C (GetVisibleRow): make several local vars const
14029 * tabular.C: small cleanup.
14031 * lyxserver.C (callback): use compare instead of strncmp
14033 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14034 inlines to after class or to paragraph.C
14036 * lyxfont.h: remove friend operator!=
14038 * converter.h: move friend bool operator< to non friend and after
14041 * combox.h: small cleanup
14043 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14044 to inlines after class def.
14046 * buffer.C (pop_tag): use string operations instead of strcmp
14048 * bmtable.c: doxygen, small cleanup
14050 * LaTeX.h: remove friend operator==
14052 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14064 * BufferView_pimpl.C:
14065 * BufferView.[Ch]: remove cruft
14067 2001-02-14 Juergen Vigna <jug@sad.it>
14069 * lyxfunc.C: removed #if 0 unused code
14071 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14073 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14075 * text2.C (SetSelection): added a BufferView * parameter
14077 2001-02-13 Juergen Vigna <jug@sad.it>
14079 * lyxfunc.C (Dispatch): fixed protected blank problem.
14080 * BufferView2.C (protectedBlank): added LyxText * parameter.
14082 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14083 (AppendColumn): same as above for column_info.
14085 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14086 (moveCursorUpdate): use a LyXText param for support of InsetText.
14088 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14089 (tripleClick): ditto
14091 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14093 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14095 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14097 * text2.C (SetSelection): set correct update status if inset_owner
14098 (ToggleFree): ditto
14100 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14102 * tabular.C: remove some commented code.
14104 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14106 * BufferView_pimpl.C: call hideSplash()
14108 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14111 * bibforms.h: remove
14114 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14115 add LFUN_CHILD_CREATE
14117 * counters.h: fix tiny typo
14122 * lyx.C: move splash to frontends/xforms/
14124 * lyx_gui_misc.C: move Include and Bibform to frontends
14126 * lyxvc.h: clarify comment
14128 * vspace.C: tiny housekeeping
14130 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14132 * text.C (PrepareToPrint): RTL Fix.
14134 * paragraph.C (GetUChar): New method.
14135 (String): Use GetUChar.
14137 * buffer.C (asciiParagraph): Use GetUChar.
14139 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14141 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14143 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14146 * buffer.C: rename to getLogName(), handle
14147 build log / latex log nicely
14149 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14152 * MenuBackend.h: remove support for reference menuitem type.
14154 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14156 * BufferView_pimpl.C: housekeeping
14157 * BufferView_pimpl.h:
14162 * minibuffer.h: move Timeout GUI-I
14164 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14166 * lyxrc.C (read): Update converters data-structures.
14168 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14170 * LaTeX.h (operator!=): add operator != for Aux_Info
14172 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14174 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14176 * LaTeXLog.C: deleted, useful code moved to Buffer
14179 * buffer.C: new function getLatexLogName()
14185 * lyxfunc.C: use frontends for LaTeX and VC logs
14187 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14189 * LaTeX.h: yet another std:: that Allan forgot.
14191 * Variables.C (set): renamed from isset(), because this clashes
14192 with some HP-UX macros (grr).
14194 2001-02-06 Allan Rae <rae@lyx.org>
14196 * LaTeX.h: Another bug fix. Missing std:: this time.
14198 2001-02-04 Allan Rae <rae@lyx.org>
14200 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14201 floats problem. I've left it commented out because it's not quite
14202 correct. It should also test that the current object is a table or
14203 figure inset. But I haven't gotten around to figuring out how to do
14204 that. I *think* it'll be something like: "table" == inset.type()
14206 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14209 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14211 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14212 all the citation/databases/styles in the auxilary file.
14213 (run): Rerun latex if there was a babel language error.
14215 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14217 * text.C (Backspace): Preserve the font when changing newline char
14219 (BreakParagraph): If the cursor is before a space, delete the space.
14221 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14223 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14225 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14226 new argument (code).
14227 (ChangeCitationsIfUnique): New method.
14229 * paragraph.C (GetPositionOfInset): Handle bibkey.
14231 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14233 * BufferView_pimpl.h: change type of Position::par_pos to
14234 LyXParagraph::size_type.
14236 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14238 * BufferView_pimpl.C (savePosition, restorePosition): Write
14239 messages to minibuffer.
14241 2001-01-28 José Matos <jamatos@fep.up.pt>
14243 * buffer.C (makeDocBookFile): adds support for document language.
14244 A silly restriction on the name of LatexCommand types where removed.
14245 Added support for CDATA sections, allows to chars unescaped, used
14246 among others in code, to avoid escape < and >.
14248 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14250 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14251 saved positions instrad of a stack. Furthermore, a position is
14252 stored using paragraph id/paragraph position.
14254 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14255 Remove LFUN_REF_BACK.
14257 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14259 * converter.C (dvipdfm_options): New method.
14261 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14263 * vspace.C (isValidLength): Fix for empty input string.
14265 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14267 * LyXAction.C (init): change description of LFUN_FIGURE to
14270 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14272 * LaTeX.C: add using directive
14274 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14276 * MenuBackend.C (expand): Fix the sorting of the formats.
14278 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14280 * lyx_main.C: tiny error message fix
14282 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14284 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14285 calling fl_initialize(). This fixes the problem with ',' as
14286 decimal separator in text files.
14288 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14290 * trans.C (process): Fix the keymap bug.
14292 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14294 * LaTeX.C (scanAuxFiles): New method. Provides support for
14295 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14296 (scanLogFile) Scan for "run BibTeX" messages.
14298 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14299 OT1 font encoding. Also, load the aecompl package if the ae
14302 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14304 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14306 * texrow.C (increasePos): turn two error messages into debug
14309 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14311 * LaTeX.C (scanAux): Handle the \@input macro.
14312 (runBibTeX): Use scanAux().
14314 * language.C (latex_options_): New field.
14316 * LaTeXFeatures.C (getMacros): Add language macros.
14318 * buffer.C (makeLaTeXFile): Small fix.
14320 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14322 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14324 * text2.C: add a using directive.
14326 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14331 * lyxfunc.C: kill LyXBell.
14333 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14335 * text.C (IsBoundary): Remove the error message
14337 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14339 * lyxrc.C (setDefaults): Correct initialization value for
14342 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14344 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14347 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14348 and GotoNextNote().
14350 * src/LyXAction.C: Added reference-next.
14352 * text.C (InsertChar): Use contains instead of strchr.
14354 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14356 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14358 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14359 alignment commands (when needed).
14361 * text.C (InsertChar): Add ':' to number separator chars.