1 2003-12-10 Angus Leeming <leeming@lyx.org>
3 * buffer.C: up the format to 227.
5 * factory.C: the box inset is now identified simply by 'Box'.
7 2003-12-10 Angus Leeming <leeming@lyx.org>
9 * buffer.C: up the format to 226.
11 * factory.C: the note inset is now identified simply by 'Note'.
13 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
15 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
16 when a pit is enough. Standarize a couple of loops.
18 2003-12-05 Angus Leeming <leeming@lyx.org>
20 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
21 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
22 data to the re-worked "log" dialog.
24 2003-12-03 André Pönitz <poenitz@gmx.net>
32 * text2.C: use Inset::getText instead of Inset::getParagraph
34 2003-12-03 André Pönitz <poenitz@gmx.net>
38 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
39 InsetText::read() as LyXText::read()
41 2003-12-02 Angus Leeming <leeming@lyx.org>
43 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
44 type. Add a comment in the implementation that the function uses
45 the stream's bad() function rather than fail() as the std::streams
48 2003-12-02 André Pönitz <poenitz@gmx.net>
50 * lyxlex.[Ch]: make interface more similar to std::stream
52 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
54 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
56 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
58 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
60 * vspace.[Ch]: remove VSpace::NONE
62 2003-12-01 André Pönitz <poenitz@gmx.net>
65 * lyxtext.h: move ParagraphList member to LyXText
66 rename LyXText::ownerParagraphs to LyXText::paragraph
79 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
81 * undo.C: fix cursor positioning
83 2003-12-01 John Levon <levon@movementarian.org>
85 * BufferView_pimpl.C: fix a crash on exit with
88 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
90 * BranchList.C: fix setSelected() method.
92 2003-11-28 André Pönitz <poenitz@gmx.net>
94 * ParagraphParameters.[Ch]:
95 * ParameterStruct.h: remove space above/below from Paragraph to
110 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
112 * factory.C: Syntax change for CharStyles
114 2003-11-28 André Pönitz <poenitz@gmx.net>
119 * buffer.[Ch]: move LyXText member
121 2003-11-28 André Pönitz <poenitz@gmx.net>
123 * BufferView.[Ch]: make LyXText * text a private member
125 * BufferView_pimpl.C:
136 * output_plaintext.C: cleanup
138 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
141 * lyxtextclass.[Ch]: parametrize SGML document header
143 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
146 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
149 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
151 * text2.C (setFont): rework using PosIterator (no more recursive)
152 (setCharFont): no more needed
153 (setLayout): no more selection cursors fiddling (done by redoCursor)
154 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
155 destroy remaining ones)
157 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
159 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
161 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
164 * text3.C: adjust + re-allow multi par depth changes
165 * textcursor.C: simplify a bit
167 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
173 * src/output_docbook.C:
174 * src/output_latex.C:
179 * src/text2.C: Introducing a number of tags parametrizing various
180 XML formats that we may want to support
182 2003-11-25 André Pönitz <poenitz@gmx.net>
184 * InsetList.[Ch] (begein, end): inline as suggested by profiler
186 * lyxtext.h (leftMargin/rightMargin): simplify interface
193 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
195 * lyxfunc.C (dispatch): propogate the bibtex databases from the
196 master file to any child files. Fixes bug 546.
198 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
200 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
202 2003-11-24 André Pönitz <poenitz@gmx.net>
204 * rowpainter.C: simplification
206 * text2.C (updateCounters): remove call to redoParagraph on
207 changed labels as this is far too expensive.
209 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
211 * converter.C (convert): fix a crash: this function gets
212 called with buffer == 0 from importer code.
214 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
216 * text3.C (cursorPrevious): make sure that we do not compare
217 iterators form different containers.
220 * rowpainter.C (paintSelection): make sure that we do not compare
221 iterators from different containers.
223 * text3.C (dispatch): [PRIOR] make sure that we do not compare
224 iterators from different ParagraphList containers.
227 * text2.C (LyXText): change order of initialization slightly
228 (operator=): new function. copy all variables except cache_par_
229 (moveUp): make sure that we do not compare iterators from
230 different ParagraphList constainers.
233 * text.C (firstPar): new function
234 (lastPar): new function
235 (endPar): new function
237 * lyxtext.h: move things around and group public functions, public
238 variables, private functions, private variables
240 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
242 * factory.C: change call to InsetERT constructor to avoid
243 additional invocation of method status
244 * text2.C (toggleInset): remove redundant update() call
245 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
246 instead of a Bufferview pointer
248 2003-11-21 André Pönitz <poenitz@gmx.net>
250 * rowpainter.C: simplification
252 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
254 * text3.C (dispatch): make possible to extend a word/row selection
257 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
259 * lyxtext.h: x0_,y0_ -> xo_,yo_
260 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
261 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
262 * rowpainter.C (paintRows): paint full paragraphs
264 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
266 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
269 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
271 * lyxtext.h: add x0_, y0_
272 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
273 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
275 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
277 * text2.C (setCursorIntern): move the x_target update here *
278 * text3.C: change some bv() to true/false in calls to
279 cursorUp/Down/Right/Left
280 * cursor.C: use helper function.
282 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
284 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
285 * paragraph_funcs.[Ch]: correct comment
286 * rowpainter.C: do not paint selections away from bv->cursor()
287 Fix a long standing selection painting bug.
288 * text3.C: generalize mouse-selection code to LyXTexts other that
290 * textcursor.C: do not use y coords if we can use par offsets
292 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
294 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
295 cursor position after e.g. inset insert)
297 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
299 * lyxfind.C (replace): adjust to locking removal + some
302 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
304 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
307 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
310 * output_docbook.C: XML sanitation: new layout
311 parameters InnerTag and CommandDepth
313 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
315 * BufferView_pimpl.C:
317 * text3.C: Fix the insertion and modification of button-style
320 2003-11-13 André Pönitz <poenitz@gmx.net>
322 * InsetList.[Ch]: remove deleteLyXText
324 * paragraph.[Ch]: cache beginOfBody position
329 * text3.C: remove superfluous update() calls
333 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
335 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
336 * BufferView.C (fitLockedInsetCursor): remove
337 * cursor.[Ch] (getDim): add
338 * text.C (getRowNearY): add faster version
339 * text3.C: remove some update calls
341 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
353 * text3.C: The Character Style /XML short element patch.
355 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
358 * factory.C: Small step to solving 'unable to insert some insets'
361 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
363 * cursor.[Ch] (updatePos): new function for updating the y
364 position of the tip inset
365 * bufferview_funcs.C (put_selection_at):
366 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
368 2003-11-11 André Pönitz <poenitz@gmx.net>
370 * text.C: remove big comment on invalid Paragraph pointers as it is
373 2003-11-11 André Pönitz <poenitz@gmx.net>
375 * text_funcs.[Ch]: merge with ...
383 * Makefile.am: remove text_funcs.[Ch]
385 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
387 * cursor.C (getPos): return absolute cached y coord
389 * BufferView_pimpl.C (fitCursor): new simplistic code
390 (workAreaDispatch): add a fitCursor call
392 2003-11-10 André Pönitz <poenitz@gmx.net>
395 * BufferView_pimpl.[Ch]: merge update() and updateInset()
397 2003-11-10 André Pönitz <poenitz@gmx.net>
399 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
400 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
401 indicate that the cursor needs to leave an inset
403 * lyxtext.h: remove inset locking
405 * cursor.[Ch]: re-implement functionality provided by inset locking
408 * BufferView_pimpl.[Ch]:
410 * bufferview_funcs.[Ch]:
422 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
424 * PosIterator.[Ch]: replace the stack with a vector, add inset
426 * iterators.[C]: adjust
428 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
430 * lyxfind.C (replaceAll): mark the buffer dirty if something was
432 * paragraph_funcs.C (readParToken): put the correct id in the
433 error item, not the id of the top paragraph
435 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
437 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
438 * bufferview_funcs.C (put_selection_at): use the above
440 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
442 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
444 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
447 * output_plaintext.h:
449 * output_docbook.h: add #include statements
451 2003-11-05 José Matos <jamatos@lyx.org>
453 * output_docbook.[Ch]:
455 * output_linuxdoc.[Ch]:
456 * output_plaintext.[Ch]: New files for output formats.
457 * output.[Ch]: New file for helper functions.
460 * paragraph_funcs.[Ch]: output functions moved to new files.
462 * outputparams.h: rename of latexrunparams.h
470 * paragraph_funcs.[Ch]:
471 * paragraph_pimpl.[Ch]:
472 * tabular.[Ch]: rename ascii to plaintext
473 and LatexRunParams to OutputParams.
475 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
477 * iterators.[Ch] (text): require bv argument
478 * undo.C (recordUndo):
479 * lyxfunc.C (dispatch):
480 * bufferview_funcs.C (put_selection_at): adjust
482 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
484 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
486 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
488 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
491 2003-11-04 André Pönitz <poenitz@gmx.net>
493 * cursor.[Ch]: restructure
496 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
498 * iterators.[Ch] (asCursor): remove
500 * lfuns.h: remove LFUN_INSET_EDIT
506 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
508 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
510 * lyxfind.[Ch]: complete overhaul
511 * BufferView_pimpl.C:
513 * paragraph.[Ch] (insert): add
515 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
519 * text.C: remove dead spellcheck code
521 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
523 * dispatchresult.h: add a val setter
525 * cursor.C (dispatch): use a tempvar for data_[i]
527 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
529 * PosIterator.[Ch]: compile fix
531 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
533 * text.C (cursorPar): deactivate the cursor cache
535 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
537 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
539 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
541 * text3.C (dispatch): adjust for new DisptchResult semantics.
543 * lyxfunc.C (dispatch): handle update when return from
544 Cursor::dispatch, adjust for new DispatchResult semantics.
546 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
547 DispatchResult(true) mean to not update. Add class functions for
548 setting dispatched and update, as well as reading.
550 * cursor.C (dispatch): don't handle update here
552 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
554 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
555 * trans_mgr.C: adjust
557 * paragraph_funcs.C (readParToken): exception safety
559 * lyxvc.h: store the vcs pointer in a scoped_ptr
562 * lyxsocket.C (serverCallback): exception safety
564 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
566 * ispell.C (clone): make it return a auto_ptr
568 * factory.C (createInset): exception safety
569 (readInset): exception safety
571 * bufferlist.C (newBuffer): exception safety
573 * Thesaurus.C (Thesaurus): use initialization for aik_
575 * MenuBackend.C (expandToc): exception safety.
577 2003-11-03 André Pönitz <poenitz@gmx.net>
581 * bufferview_funcs.C: remove getInsetFromId()
584 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
590 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
592 * PosIterator.C (distance, advance): new
593 * bufferview_funcs.[Ch] (put_selection_at): new
594 * iterators.[Ch] (lockPath): new
596 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
598 * iterators.[Ch] (asPosIterator): added
599 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
600 * PosIterator.[Ch]: added
602 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
606 * cursor.C (dispatch):
607 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
609 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
610 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
611 contructor, add a class function dispatched. Remove operator>=
613 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
615 * debug.C: only use the default constructor for debugstream
618 * main.C (main): include debug.h and setup the lyxerr streambuf
621 2003-10-31 José Matos <jamatos@lyx.org>
623 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
625 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
626 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
627 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
628 * paragraph_pimpl.C (simpleTeXSpecialC):
629 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
630 add LatexRunParams argument.
632 * exporter.C (Export): change call accordingly.
634 * latexrunparams.h: add new member to take care of the other backends.
635 2003-10-30 José Matos <jamatos@lyx.org>
637 * buffer.C (makeLinuxDocFile, makeDocBookFile):
638 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
639 factorise code for paragraph output.
641 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
644 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
646 * text3.C (dispatch):
647 * lyxfunc.C (dispatch):
648 * cursor.C (dispatch):
649 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
651 * dispatchresult.h: make the dispatch_result_t ctor explicit
653 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
656 * buffer.C: small refactoring of docbook stuff
658 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
660 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
663 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
665 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
666 operator dispatch_result_t, and operators for == != and >=
668 * cursor.C (dispatch): adjust for operator dispatch_result_t
669 removal. comment out call to update
671 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
673 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
681 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
684 * dispatchresult.h: new file, DispatchResult broken out of
687 * Makefile.am (lyx_SOURCES): add dispatchresult.h
689 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
691 * text.C (rowBreakPoint): put a hack inside #if 0
693 2003-10-28 André Pönitz <poenitz@gmx.net>
700 * text2.C: general cleanup (lots of small stuff)
702 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
704 * text2.C (cursorEnd): simple fix to the "end key goes to one
705 before the end on last row" bug
707 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
709 * text.C (backspace): fix the "zombie characters"
711 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
713 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
715 2003-10-27 André Pönitz <poenitz@gmx.net>
717 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
719 * factory.C: handle new InsetPagebreak, InsetLine
721 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
722 and move handling into new InsetPagebreak, InsetLine
724 * BufferView_pimpl.C:
726 * ParagraphParameters.C:
739 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
748 * text3.C: remove lastPos uses in favour of Row::endpos
750 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
752 * undo.C (performUndoOrRedo): fix two crashes by setting a
753 cursor by hand and reordering some calls. Use bv->lockInset instead
754 of inset->edit because the latter loses cursor information
756 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
758 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
760 (rowBreakPoint): fix width. change point to point + 1.
763 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
766 * lyxfunc.C: fix (at least partly) the problems
767 with the Nav menu and headers inside branch insets
770 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
772 * paragraph.C (getChar): add strong asserts
774 * lyxrow_funcs.C (lastPos): remove hideous hack
776 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
777 (fill): adjust to that (avoid an infinite loop)
779 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
781 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
783 2003-10-23 André Pönitz <poenitz@gmx.net>
785 * RowList_fwd.h: change list<> to vector<> to gain speed
786 after suggestion from Alfredo
788 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
790 * lyxtext.h: move the bidi stuff from here...
793 * Bidi.[Ch]: ... to here
795 2003-10-23 André Pönitz <poenitz@gmx.net>
798 * text.C (isLastRow, isFirstRow): new functions
800 * paragraph.h: new width cache member
802 * rowpainter.C: replace RowList::iterator with Row & where possible
804 * lyxfunc.C: replace several view()->text with a single call
806 * toc.C: fix 'unused' warning
808 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
810 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
811 when woring with stream::pos_type
812 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
814 2003-10-22 André Pönitz <poenitz@gmx.net>
817 * text.C: use Row & instead of RowList::iterator
819 * lyxrow.h: rename end() to endpos()
825 2003-10-22 Angus Leeming <leeming@lyx.org>
827 * buffer.[Ch] (fully_loaded): new member function, returning true
828 only when the file has been loaded fully.
829 Used to prevent the premature generation of previews and by the
830 citation inset to prevent computation of the natbib-style label.
832 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
833 templates are all set up.
835 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
837 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
839 * text.C: fixed an "oops" in the "is a bit silly"
842 2003-10-21 André Pönitz <poenitz@gmx.net>
844 * FuncStatus.[Ch]: small stuff, whitespace
846 * lyxfont.[Ch]: operator<<() for debug reasons
850 * lyxtext.h: whitespace, spelling
852 * paragraph.C: naming of variables
855 * text2.C: small stuff
858 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
860 * text.C: (1) finish off the inset display() work;
861 (2) fix the "is a bit silly" bug (accessing char
864 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
866 * text.C: re-introduce display() for insets, fixing the
867 various bugs (stretch of line above, math inset
870 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
872 * text.C (rightMargin): remove spurious semicolon
874 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
877 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
879 * text3.C: fix one crash due to wrong cursor def
881 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
883 * vc-backend.C (scanMaster): make the regex static
885 * LaTeX.C (scanAuxFile): make the regexs static
887 * text3.C (doInsertInset, dispatch, dispatch):
888 * text2.C (cursorUp, cursorDown):
889 * text.C (selectNextWordToSpellcheck):
890 * BufferView_pimpl.C (dispatch):
891 * lyxfunc.C (dispatch): localDispatch -> dispatch
893 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
895 * lyxsocket.C: include <cerrno>
897 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
899 * lyxfunc.C (dispatch): remove textcache stuff
901 * bufferlist.C (release): remove textcache stuff
904 * TextCache.C: delete file
905 * TextCache.h: delete file
907 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
909 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
910 delete of the bv_->text.
911 (resizeCurrentBuffer): remove texcache stuff
912 (workAreaResize): ditto
914 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
916 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
919 2003-10-16 André Pönitz <poenitz@gmx.net>
926 * text3.C: speed up by storing y positions per paragraph plus per-row
927 offset instead of having a 'full' y position in the row.
929 2003-10-15 André Pönitz <poenitz@gmx.net>
933 * undo.[Ch]: make undo aware of inner insets
935 2003-10-14 Angus Leeming <leeming@lyx.org>
937 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
938 static member functions LyX::ref() and LyX::cref.
939 (lastfiles): new accessor functions for the new lastfiles_ member var.
940 (addLyXView, views_): add a new LyXView to the list of views_.
941 (updateInset): loop over all LyXViews to call their own updateInset
942 member function, returning a pointer to the Buffer owning the inset.
944 * BufferView_pimpl.C (loadLyXFile):
945 * MenuBackend.C (expandLastfiles):
946 * bufferlist.C (MenuWrite, QuitLyX):
947 lastfiles is no longer a global variable.
948 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
950 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
951 static function. Access through LyX::cref().emergencyCleanup().
953 2003-10-14 André Pönitz <poenitz@gmx.net>
955 * iterators.[Ch]: new direct access to innermost LyXText and Inset
957 * undo.[Ch]: restoring part of 'undo in insets'
960 * undo_funcs.[Ch]: merge with undo.[Ch]
962 * tabular.C: small cleansing stuff
964 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
966 * paragraph_funcs.C (readParToken): report unknown insets as error
967 boxes. Use the outer paragraph as location (also for unknown
970 * factory.C (readInset): do not abort on reading an unknown inset.
973 2003-10-13 Angus Leeming <leeming@lyx.org>
975 * lyx_main.C (LyX): remove call to setDisplayTranslator().
977 * lyxrc.C: displayTranslator is now a function,
978 declared in GraphicsTypes.h.
980 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
982 * format.C: new placeholder $$a to pass the socket address.
984 * bufferlist.[Ch]: new function getBufferFromTmp.
986 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
987 files in the temporary dir.
989 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
991 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
993 * Makefile.am: add lyxsocket.[Ch].
995 * lyx_main.C (error_handler): handle SIGPIPE.
997 2003-10-13 André Pönitz <poenitz@gmx.net>
999 * BufferView_pimpl.C:
1004 * undo_funcs.[Ch]: use paroffset_type instead of
1005 ParagraphList::iterators to prevent multiple conversion
1006 (and get a more robust interface)
1008 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1010 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1012 * text3.C (dispatch): ditto
1014 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1016 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1017 move the onlyfile, use onlyfile instead of foundfile in a couple
1020 * DepTable.C (update): flush the error stream a bit more
1022 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1024 * lyxserver.C (callback): adjust
1026 * lyxfunc.C (getStatus): add a missing brace in commented code
1027 (ensureBufferClean): reindent
1028 (dispatch): delete version taking a string
1030 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1032 * LaTeX.C (deplog): move found file handlig from here...
1033 (handleFoundFile): .. to new function here.
1034 (deplog): make sure to discover several files mentioned on the
1037 2003-10-10 André Pönitz <poenitz@gmx.net>
1044 * text3.C: fix some of the tabular crashes
1046 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1048 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1050 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1052 2003-10-09 André Pönitz <poenitz@gmx.net>
1054 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1057 * BufferView_pimpl.C:
1058 * bufferview_funcs.C:
1069 * undo_funcs.C: adjust
1071 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1073 * text2.C (incrementItemDepth): new function, use a backtracking
1074 algorithm to discover the correct item depth.
1075 (resetEnumCounterIfNeeded): new function, use a backtracking
1076 algorithm to discover if counter reset is needed.
1077 (setCounter): use them. Simplify a bit. Add different labels for
1078 different item depths for itemize.
1080 * paragraph.C (Paragraph): remove initialization of enumdepth
1083 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1084 enumerate and itemize. Change the type of itemdepth to signed char.
1086 2003-10-08 André Pönitz <poenitz@gmx.net>
1088 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1093 * tabular.[Ch]: fix crash after 'row-insert'
1095 2003-10-08 Angus Leeming <leeming@lyx.org>
1097 Fix doxygen warnings.
1099 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1100 Remove CutAndPaste:: prefix from header file declaration.
1102 * LColor.h (fill): remove LColor:: prefix from declaration.
1104 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1105 use lyx::depth_type rather than Paragraph::depth_type so that
1106 header file and .C file match.
1108 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1110 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1111 * aspell.C: \file aspell_local.C -> \file aspell.C
1112 * gettext.C: \file gettext.C -> \file src/gettext.C
1113 * gettext.h: \file gettext.h -> \file src/gettext.h
1114 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1115 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1116 * text.C: \file text.C -> \file src/text.C
1118 * toc.C: move comment so that doxygen is not confused.
1120 2003-10-07 Angus Leeming <leeming@lyx.org>
1122 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1124 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1127 * aspell_local.h: add forgotten std::string's.
1129 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1136 * text3.C: The Box patch. Fancybox support, minipage, parbox
1138 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1144 * ParagraphParameters.h:
1154 * lyxtextclasslist.h:
1157 * paragraph_pimpl.C:
1158 * textcursor.h: add <string> and other small fixes to make Lars'
1159 std::string patch compile with STLport.
1161 2003-10-06 Angus Leeming <leeming@lyx.org>
1163 * LColor.h: Add missing #include <string>.
1165 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1167 * All most all file in all subdirs: Make <string> be the prefered
1168 way of getting to std::string, add using declarations.
1170 2003-10-06 André Pönitz <poenitz@gmx.net>
1172 * metricsinfo.C: initialize LyXFont before changing attribute.
1173 (fixes the 'math in \emph is upright' bug)
1175 2003-10-06 André Pönitz <poenitz@gmx.net>
1177 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1179 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1182 * paragraph_pimpl.C: Small fixes to build using STLport
1184 2003-10-02 André Pönitz <poenitz@gmx.net>
1187 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1189 2003-10-01 André Pönitz <poenitz@gmx.net>
1191 * factory.C: assert early
1193 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1195 * lyx_main.C: remove the global debug object
1197 * debug.h: adjust for new debugstream
1199 * debug.C: adjust for new debugstream and keep the global debug
1202 2003-09-22 Angus Leeming <leeming@lyx.org>
1204 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1205 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1206 an incomplete class LyXFont.
1208 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1210 * factory.C: bug fix in branches
1212 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1214 * lyxfunc.C (processKeySym): adjust
1216 (dispatch): change arg name from ev to func, adjust
1217 (sendDispatchMessage): ditto
1219 * lyx_main.C (defaultKeyBindings): adjust keybindings
1220 (deadKeyBindings): ditto
1222 * kbsequence.C (addkey): return a FuncRequest
1224 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1226 * kbmap.C (bind): take a FuncRequest as arg, adjust
1229 (defkey): change to take a FuncRequest as arg, adjust
1230 (findbinding): take a FuncRequest as arg, adjust.
1232 * funcrequest.h (operator=): added
1234 * funcrequest.C (FuncRequest): default kb_action changed from
1235 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1237 * buffer.C (dispatch): simplify
1238 (dispatch): adjust to take a FuncRequest as arg, adjust
1240 * boost.C (assertion_failed): change assertion message slightly
1242 * ToolbarBackend.C (read): simplify
1244 * MenuBackend.C (binding): adjust call to findbinding, add a
1245 message if no binding is found.
1247 (expandToc): correct by adding a empty FuncRequest
1249 * LyXAction.C: include <boost/assert.hpp>
1250 (isPseudoAction): delete function
1251 (LookupFunc): change name to...
1252 (lookupFunc): this. change return type to FuncRequest.
1253 (getActionName): take kb_action as arg, simplify
1254 (funcHasFlag): add an assert, simplify.
1256 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1258 * toc.C (action): return a FuncRequest, simplify
1260 * lyxfunc.C (processKeySym): adjust
1261 (getStatus): delete version that takes an int.
1263 (dispatch): delete version that takes action as int
1265 (sendDispatchMessage): simplify and adjust
1267 * funcrequest.C (getArg): take unsigned int as arg
1269 * ToolbarBackend.C (read): adjust
1270 (add): delete version that takes func as a string.
1271 (getIton): take a FuncRequest as arg
1273 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1276 * MenuBackend.C (MenuItem): add a new construct that only takes a
1277 Kind, simplify the constructor use for submenus.
1279 (expandLastfiles): adjust
1280 (expandDocuments): adjust
1281 (expandFormats): adjust
1282 (expandFloatListInsert): adjust
1283 (expandFloatInsert): adjust
1284 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1286 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1287 Remove class variables lyx_pseudo_map and lyx_arg_map
1289 * LyXAction.C (searchActionArg): delete function
1290 (getPseudoAction): delete function
1291 (retrieveActionArg): delete function
1292 (LookupFunc): make it return kb_action, simplify.
1293 (getActionName): simplify
1295 * factory.C (createInset): fix new bug
1297 2003-09-19 Angus Leeming <leeming@lyx.org>
1299 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1300 masterFilename_ parameter in the include inset.
1302 * factory.C (createInset): changes due to the changes to InsetInclude.
1304 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1306 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1308 2003-09-18 Angus Leeming <leeming@lyx.org>
1311 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1312 Inset::fillWithBibKeys.
1313 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1315 2003-09-18 Angus Leeming <leeming@lyx.org>
1317 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1319 (ctor): pass and store a 'Buffer const &'
1320 (buffer): new member function.
1322 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1323 '*this' to the LaTeXFeatures ctor.
1325 2003-09-18 Angus Leeming <leeming@lyx.org>
1331 * text.C: rename EnumLColor as LColor_color.
1333 2003-09-18 Angus Leeming <leeming@lyx.org>
1335 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1336 remove #include "insets/insetbase.h" from cursor.h.
1338 2003-09-18 Angus Leeming <leeming@lyx.org>
1340 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1341 InsetOld_code to remove #include "inset.h".
1343 * iterators.C: add #include "insets/inset.h"
1345 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1347 * BufferView.C: remove more locking stuff that apparently doesn't
1348 do anything sensible.
1350 2003-09-16 André Pönitz <poenitz@gmx.net>
1353 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1356 2003-09-16 Angus Leeming <leeming@lyx.org>
1358 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1360 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1363 * paragraph.h: remove #include "lyxfont.h". Forward declare
1366 2003-09-16 Angus Leeming <leeming@lyx.org>
1368 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1369 of support/textutils.h.
1370 (isWord): move the contents of support/textutils.h's IsWordChar here.
1376 * text2.C: add #include "paragraph.h".
1379 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1381 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1387 * LaTeX.C: use namespace alias for lyx::support::os
1389 2003-09-16 Angus Leeming <leeming@lyx.org>
1392 * bufferview_funcs.C:
1395 * paragraph_pimpl.C:
1397 * text.C: add #include "LColor.h".
1399 2003-09-16 Angus Leeming <leeming@lyx.org>
1401 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1402 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1404 Store the FontBits::color variable as an int rather than as an
1405 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1408 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1409 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1410 string calls together.
1412 * lyxrc.C: add #include "LColor.h".
1414 2003-09-15 Angus Leeming <leeming@lyx.org>
1416 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1419 2003-09-15 Angus Leeming <leeming@lyx.org>
1421 * LColor.h: add an EnumLColor wrapper for LColor::color.
1423 * lyxfont.[Ch] (color, setColor, realColor):
1424 * lyxtext.h, text.C (backgroundColor):
1425 pass EnumLColor args to/from the functions, rather than LColor::color
1429 * lyxtext.h: forward declare EnumLColor.
1431 * lyx_main.C: add #include "LColor.h".
1433 2003-09-15 Angus Leeming <leeming@lyx.org>
1435 * .cvsignore: add lyx-gtk.
1437 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1442 * ParagraphParameters.C
1446 * bufferview_funcs.C
1456 * vc-backend.C: remove usage of STRCONV
1458 2003-09-15 Angus Leeming <leeming@lyx.org>
1460 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1461 explicitly define the color passed to the painter.
1463 2003-09-15 Angus Leeming <leeming@lyx.org>
1465 * bufferparams.C (BufferParams): reorder member initializers to avoid
1468 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1470 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1471 * text.C (updateRowPositions): remove an unusual nop
1473 2003-09-12 André Pönitz <poenitz@gmx.net>
1475 * BufferView_pimpl.C:
1484 * Counters.[Ch]: finish the 'automatic counters' job
1486 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1488 * aspell.C: include <boost/assert.cpp> (compile fix)
1490 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1492 * boost.C (assertion_failed): use lyx::support::abort instead of
1495 2003-09-10 Angus Leeming <leeming@lyx.org>
1497 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1498 with their _fwd progeny.
1500 2003-09-09 Angus Leeming <leeming@lyx.org>
1502 134 files throughtout the source tree: replace 'using namespace abc;'
1503 directives with the appropriate 'using abc::xyz;' declarations.
1505 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1507 * boost.C (emergencyCleanup): moved here from LAssert.c
1508 (assertion_failed): new function, called by BOOST_ASSERT
1510 * several files: change Assert to BOOST_ASSERT
1512 2003-09-09 Angus Leeming <leeming@lyx.org>
1514 * buffer.[Ch]: Add an Impl class and move Buffer's member
1515 variables into it. As a result move several header files out of
1518 Add header files to lots of .C files all over the tree as a result.
1520 2003-09-09 Angus Leeming <leeming@lyx.org>
1522 * buffer.[Ch]: make Buffer's member variables private. Add
1525 Lots of changes all over the tree as a result.
1527 2003-09-08 Angus Leeming <leeming@lyx.org>
1529 * graph.C: #include <config.h>.
1531 2003-09-08 Angus Leeming <leeming@lyx.org>
1535 * BufferView_pimpl.C:
1564 * toc.C: remove redundant using directives.
1566 2003-09-07 Angus Leeming <leeming@lyx.org>
1568 * LaTeXFeatures.h: remove #include "support/types.h".
1569 * ToolbarBackend.h: remove #include <algorithm>.
1570 * changes.h: remove #include <ctime>.
1571 * debug.h: remove #include <iosfwd>.
1572 * graph.h: remove #include "support/std_string.h".
1573 * lyx_main.h: remove #include <csignal>.
1574 * lyxlex_pimpl.h: remove #include <fstream>.
1575 * sgml.h: remove #include <algorithm>, <utility>.
1576 * toc.h: remove #include "support/std_ostream.h".
1577 Add #include <iosfwd>.
1579 2003-09-07 Angus Leeming <leeming@lyx.org>
1581 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1583 * converter.h: forward declare LatexRunParams.
1584 * encoding.h: remove #include "lyxrc.h".
1585 * lyxtext.h: remove #include "LColor.h".
1586 * lyxtextclass.h: remove #include "support/types.h".
1587 * trans.h: remove #include "tex-accent.h".
1588 * trans_mgr.h: remove #include "tex-accent.h".
1589 * insets/inset.h: remove #include "support/types.h", <vector>.
1590 * insets/insetcollapsable.h: remove #include "LColor.h".
1591 * insets/insetinclude.h: remove #include "dimension.h".
1592 * insets/insetlatexaccent.h: remove #include "dimension.h".
1593 * insets/insetoptarg.h:: remove #include "insettext.h".
1594 * insets/insettext.h: remove #include "dimension.h",
1595 <boost/shared_ptr.hpp>
1597 * insets/renderers.h: add #include "dimension.h".
1598 * insets/updatableinset.h: add #include "support/types.h".
1600 * many .C files: Associated changes.
1602 2003-09-06 Angus Leeming <leeming@lyx.org>
1604 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1605 one, inside testInvariant.
1607 * PrinterParams.C: new file.
1608 * PrinterParams.[Ch]: move the function bodies out of line.
1610 2003-09-06 Angus Leeming <leeming@lyx.org>
1612 * ParagraphParameters.h: forward declare ParameterStruct rather than
1613 including its header file.
1614 (depth): moved out-of-line.
1616 2003-09-06 Angus Leeming <leeming@lyx.org>
1618 * BufferView_pimpl.h:
1621 * lyxfunc.h: forward declare LyXKeySym rather than
1622 #include "frontends/LyXKeySym.h".
1624 * BufferView_pimpl.C:
1627 * lyxfunc.C: associated changes.
1629 2003-09-06 Angus Leeming <leeming@lyx.org>
1631 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1632 As a result, can remove the #include "insets/inset.h" from BufferView.h
1634 2003-09-06 Angus Leeming <leeming@lyx.org>
1636 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1637 As a result, can remove the #include "insets/inset.h" from BufferView.h
1639 2003-09-06 Angus Leeming <leeming@lyx.org>
1645 * bufferview_funcs.C:
1646 * BufferView_pimpl.C:
1651 * ParagraphParameters.C:
1656 * frontends/controllers/ControlDocument.C:
1657 * insets/insetcaption.C: rearrange the #includes into some sort of
1660 * buffer.h: remove #includes ErrorList.h, undo.h
1662 2003-09-06 Angus Leeming <leeming@lyx.org>
1664 * support/types.h: add a 'depth_type' typedef, used to store the
1665 nesting depth of a paragraph.
1668 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1669 defining explicitly.
1672 * paragraph_funcs.h:
1673 * ParagraphParameters.h:
1674 * sgml.h: use lyx::depth_type rather than Paragraph or
1675 ParameterStruct's depth_type.
1678 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1681 * BufferView_pimpl.C:
1683 * ParagraphParameters.C:
1686 * bufferview_funcs.C:
1693 * frontends/LyXView.C:
1694 * frontends/controllers/ControlDocument.C:
1695 * frontends/controllers/ControlErrorList.C:
1696 * insets/insetbibitem.C:
1697 * insets/insetbranch.C:
1698 * insets/insetcaption.C:
1699 * insets/insetcollapsable.C:
1700 * insets/insetenv.C:
1701 * insets/insetert.C:
1702 * insets/insetfloat.C:
1703 * insets/insetfoot.C:
1704 * insets/insetfootlike.C:
1705 * insets/insetnewline.C:
1706 * insets/insetquotes.C:
1707 * insets/insettabular.C:
1708 * insets/insettext.C:
1709 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1711 * frontends/controllers/ControlChanges.C: #include "changes.h".
1713 2003-09-06 Angus Leeming <leeming@lyx.org>
1715 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1716 than #including paragraph.h.
1719 * RowList.h: deleted. Superfluous.
1729 * insets/insettext.h: use ParagraphList_fwd.h rather than
1732 * paragraph.h: don't forward declare ParagraphList.
1735 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1736 rather than ParagraphList.h. paragraph.h is still needed for the
1737 Paragraph::depth_type parameters.
1739 * textcursor.h: enable it to compile stand-alone in light of the
1742 * bufferview_funcs.C:
1754 * frontends/controllers/ControlParagraph.C:
1755 * frontends/controllers/ControlTabular.C:
1756 * insets/insetmarginal.C:
1757 * insets/insetminipage.C:
1758 * insets/insetnote.C:
1759 * insets/insetoptarg.C: add header files needed to compile again.
1761 2003-09-06 Angus Leeming <leeming@lyx.org>
1763 * RowList_fwd.h: new file, forward-declaring Row rather than
1764 #including lyxrow.h.
1769 * insets/insettext.h: use it instead of RowList.h
1771 * bufferview_funcs.C:
1778 * text3.C: #include "RowList.h".
1780 2003-09-05 Angus Leeming <leeming@lyx.org>
1782 * factory.C (createInset):
1783 * vspace.C (c-tor): replace sscanf call with an istringstream.
1784 * ispell.C: re-add missing HP/UX headers.
1785 * lyxserver.C: re-add missing os2 headers.
1787 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1796 * text3.C: re-add missing system headers, needed for 2.95.2.
1798 2003-09-05 Angus Leeming <leeming@lyx.org>
1800 Changes most place everywhere due to the removal of using directives
1801 from support/std_sstream.h.
1803 2003-09-05 Angus Leeming <leeming@lyx.org>
1805 Replace LString.h with support/std_string.h,
1806 Lsstream.h with support/std_sstream.h,
1807 support/LIstream.h with support/std_istream.h,
1808 support/LOstream.h with support/std_ostream.h.
1810 Changes resulting throughout the tree.
1812 2003-09-05 Angus Leeming <leeming@lyx.org>
1814 * sgml.h: ensure that the header file can be compiled stand-alone.
1815 * *.C: strip out redundant #includes. (320 in total.)
1817 2003-09-04 Angus Leeming <leeming@lyx.org>
1819 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1820 here (from getPackages).
1822 * debug.[Ch]: add a new EXTERNAL tag.
1824 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1826 * text2.C (cursorEnd): simplify
1828 (getColumnNearX): adjust
1830 * text.C (computeBidiTables): adjust
1833 * rowpainter.C (paintChars): adjust
1834 (paintSelection): adjust
1835 (paintChangeBar): adjust
1838 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1840 (numberOfSeparators): adjust
1842 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1848 * text3.C: Restricts the mouse click functionality
1849 of insets like bibtex, include, toc and floatlist to the visible
1850 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1851 up the dialogs. Cursor has to be in front of the inset (i.e.
1852 start of row) for this to function.
1854 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1856 * bufferview_funcs.C (currentState): output row information
1858 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1860 * bufferview_funcs.C (currentState): output paragraph position
1862 2003-09-04 Angus Leeming <leeming@lyx.org>
1864 * FloatList.h: move out #include "Floating.h".
1865 * LaTeX.h: move out #include "DepTable.h".
1866 * LyXAction.h: move out #include "funcrequest.h".
1867 * buffer.h: move out #include "author.h", "iterators.h".
1868 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1869 * lyx_main.h: move out #include "errorlist.h".
1870 * lyxfunc.h: move out #include "FuncStatus.h".
1871 * lyxtext: move out #include "lyxcursor.h".
1872 * paragraph_pimpl.h: move out #include "counters.h".
1874 2003-09-03 Angus Leeming <leeming@lyx.org>
1876 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1877 preamble_snippets list, enabling us to add snippets to the preamble
1878 only if the snippet was not there already.
1880 2003-09-04 Angus Leeming <leeming@lyx.org>
1882 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1884 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1886 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1889 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1891 * BranchList.C: point fix, earlier forgotten
1893 2003-09-02 Angus Leeming <leeming@lyx.org>
1895 * box.C (contains): renamed from 'contained' after a fantastic
1898 2003-09-02 John Levon <levon@movementarian.org>
1904 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1906 2003-09-02 John Levon <levon@movementarian.org>
1908 * text2.C: simplification of cursorEnd(), including partial
1911 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1913 * buffer.C (readFile): add a space
1915 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1917 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1919 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1921 * buffer.C (readFile): new function, take a filename and a
1922 ParagraphList::iterator
1924 (readFile): adjust, make it private. don't use setStream, make
1925 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1926 always contain the filename.
1928 * BufferView.C (insertLyXFile): simplify and make it work for
1931 2003-08-30 John Levon <levon@movementarian.org>
1933 * Makefile.am: fix dist (from Kayvan)
1935 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1937 * most files: change to use const Buffer refs
1939 2003-08-27 André Pönitz <poenitz@gmx.net>
1941 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1942 on top of ownerPar().
1944 2003-08-27 John Levon <levon@movementarian.org>
1946 * funcrequest.C: properly initialise POD members
1948 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1950 * lyxtext.h (top_y): move top_y from here
1955 * BufferView_pimpl.[Ch]: to here
1956 * frontends/screen.C:
1957 * insets/insettabular.C:
1958 * insets/insettext.C: adjust
1959 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1961 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1964 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1966 2003-08-26 André Pönitz <poenitz@gmx.net>
1968 * paragraph_func.[Ch] (outerPar): new function
1971 * paragraph_funcs.C:
1972 * paragraph_funcs.h:
1973 * paragraph_pimpl.C:
1974 * text2.C: remove Inset::par_owner
1976 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1981 * text2.C: eliminates the needFullRow/display() stuff
1982 altogether, putting the logic in metrics/draw in the insets.
1984 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1986 * text2.C (redoParagraphInternal, redoParagraphs):
1987 * text.C (redoParagraph): add a call to updateRowPositions at the
1988 end of each 'metrics-like' call. Remove all others.
1989 (getRow): remove the 'y-computing' version.
1990 (getRowNearY): do not compute nor return the real y. Solve the
1991 'y < 0' problem and simplify.
1993 2003-08-22 Angus Leeming <leeming@lyx.org>
1995 * *.[Ch]: clean-up of licence and author blurbs.
1996 Also move config.h out of a few .h files and into a few .C files.
1998 2003-08-22 André Pönitz <poenitz@gmx.net>
2000 * lyxrow.[Ch]: add x_ and *fill_ members
2005 * text2.C: adjust/remove prepareToPrint() calls
2007 2003-08-22 André Pönitz <poenitz@gmx.net>
2009 * lyxrow.[Ch]: add end_ member
2011 * lyxrow_funcs.C: use LyXRow::end_
2013 * lyxtext.h (singleWidth): add LyXFont parameter
2016 * text2.C: adjust LyXText::singleWidth() calls
2018 * text.C (redoParagraph): simplify row breaking logic
2021 2003-08-19 André Pönitz <poenitz@gmx.net>
2023 * funcrequest.C: initialize button_ member
2026 * rowpainter.[Ch]: interface consolidation
2028 2003-08-18 André Pönitz <poenitz@gmx.net>
2031 * BufferView_pimpl.C:
2033 * paragraph_funcs.C:
2035 * text3.C: remove LyXScreen::draw() and fitCursor calls
2037 * BranchList.h: remove spurious semicolons
2039 * MenuBackend.C: fix branchlist related crash
2041 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2049 * bufferparams.[Ch]:
2053 * text3.C: implements the 'branch inset'
2054 idea. This allows the output of various versions of a document
2055 from a single source version, selectively outputing or suppressing
2056 output of parts of the text.
2057 This implementation contains a 'branch list editor' in a separate
2058 tab of the document settings dialog. Branches are user definable
2059 and have a "display colour" to distinguish them on-screen.
2061 ColorHandler was somewhat cleaned up.
2062 (1) make possible a dynamically growing LColor list by allowing
2063 the graphic context cache to grow along (vector);
2064 (2) eliminate an IMHO unnecessary step in colour allocation.
2066 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2068 * BufferView_pimpl.C: compile fix
2070 2003-08-15 André Pönitz <poenitz@gmx.net>
2072 * rowpainter.C: remove extra metrics calls
2074 * lyxtext.h: merge the two constructors into a single one,
2075 pass reference to owner's par list
2077 * BufferView_pimpl.C:
2081 2003-08-15 André Pönitz <poenitz@gmx.net>
2083 * lyxrow_funcs.[Ch]:
2086 * paragraph_funcs.C:
2091 * text_funcs.C: split LyXText::rowlist_ into individual
2092 Paragraph::rows_ chunks
2095 * BufferView_pimpl.[Ch]:
2098 * text3.C: remove toggleSelection()
2100 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2102 * bufferlist.C: beautify two alerts (shorter text of buttons)
2103 * buffer.C: Remove redundant ' ' from message
2105 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2106 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2107 rename VALIGN_CENTER to VALIGN_MIDDLE
2109 2003-08-11 André Pönitz <poenitz@gmx.net>
2111 * lyxtext.h (getPar):
2112 * text.C: new function
2114 2003-08-11 André Pönitz <poenitz@gmx.net>
2117 * tracer.[Ch]: remove unneeded files
2119 * InsetList.[Ch]: remove resizeInsetsLyXText()
2124 * text3.C: merge insertParagraphs() and appendParagraph()
2125 remove breakAgain(), update()
2127 * BufferView_pimpl.[Ch]:
2128 * bufferview_funcs.[Ch]:
2132 * tabular.C: adjust after text & InsetList changes.
2134 2003-08-08 André Pönitz <poenitz@gmx.net>
2136 * text.C (insertChar, backspace): replace rowlist fiddling
2137 with rebreak of full par
2140 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2141 checkParagraph, updateInset): removed
2143 2003-08-07 André Pönitz <poenitz@gmx.net>
2146 * text3.C: merge some LFUN handlers, remove dead code
2148 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2150 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2152 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2154 * text2.C (DEPM): fix part of bug 1255 and 1256
2156 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2158 * BufferView_pimpl.C (workAreaDispatch): change to use
2159 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2160 that are no mouse related.
2162 2003-08-05 André Pönitz <poenitz@gmx.net>
2165 * BufferView_pimpl.[Ch]:
2166 * bufferview_funcs.C:
2168 * text3.C: rip out "deep update"
2170 * textcursor.[Ch] (last_sel_cursor): remove unused member
2172 2003-08-04 André Pönitz <poenitz@gmx.net>
2175 * BufferView_pimpl.[Ch]:
2176 * ParagraphParameters.C:
2177 * bufferview_funcs.C:
2183 * text3.C: replace "complicated" BufferView::update(...) calls with
2186 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2188 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2190 * Makefile.am (lyx_SOURCES): add paper.h
2192 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2194 * Makefile.am: move things around so that both lyx-qt and
2195 lyx-xforms can be built (according to --with-frontend). Then lyx
2196 is a symbolic link to lyx-[firstfrontend]
2198 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2200 * Always use std::endl with lyxerr
2202 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2204 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2206 2003-08-01 André Pönitz <poenitz@gmx.net>
2209 * BufferView_pimpl.[Ch]:
2211 * text3.C: merge BufferView::repaint() and BufferView::update()
2213 2003-08-01 José Matos <jamatos@lyx.org>
2215 * buffer.[Ch]: file_format is no longer a buffer data element.
2217 2003-08-01 André Pönitz <poenitz@gmx.net>
2222 * text2.C: make redoParagraph more independent of current cursor
2224 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2226 * text2.C: remove unneeded members
2228 2003-07-30 André Pönitz <poenitz@gmx.net>
2230 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2232 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2233 create a single function...
2235 * paragraph_funcs.C (moveItem): ... here.
2238 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2240 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2242 * LColor.[Ch]: Add comment and greyedout logical colors.
2244 2003-07-30 André Pönitz <poenitz@gmx.net>
2246 * tabular.C: don't use Assert too heavily. This crashes where it
2249 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2251 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2252 is disabled (bug 1232)
2254 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2256 * factory.C: limited 'arg' scope
2258 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2260 * factory.C: fixed Note submenu issues
2262 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2264 * factory.C: submenu for Note/Comment/Greyedout
2266 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2269 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2271 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2274 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2275 greyedout. Patch provided by Jürgen Spitzmüller.
2277 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2279 * kbmap.C (read): fix error message when reading bind files
2281 2003-07-29 Angus Leeming <leeming@lyx.org>
2283 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2284 certainly does not do what it purports to do. I am doing it, and
2285 us, a favour by killing it.
2287 2003-07-28 José Matos <jamatos@lyx.org>
2289 * buffer.C (readBody, do_writeFile):
2290 * paragraph.C(readParagraph): \end_document replaces \the_end.
2292 2003-07-29 André Pönitz <poenitz@gmx.net>
2295 * BufferView_pimpl.[Ch]:
2299 * textcursor.[Ch]: remove toggleToggle & Co
2301 2003-07-28 José Matos <jamatos@fep.up.pt>
2303 * buffer.C (readParagraph):
2304 * params_func (readParToken, readParagraph):
2305 * paragraph.C (write): \layout -> \begin_layout.
2307 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2309 * lyxlex_pimpl.C (setFile): clean up slightly.
2311 * bufferparams.h: add compressed var
2313 * buffer_funcs.C (readFile): adjust for LyXLex change
2314 (newFile): ditto + simplify
2316 * buffer.C (writeFile): handle writing of compressed files
2318 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2319 Check if the file is compressed and set a bufferparm if so.
2321 * Makefile.am (lyx_LDADD): remove explicit -lz
2323 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2325 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2326 makeDocBookFile): put the real LyX version in the first line of
2330 * version.C.in: remove lyx_docversion
2332 * tabular.C (write_attribute): add a template-based version to
2333 write enums properly
2335 2003-07-28 André Pönitz <poenitz@gmx.net>
2340 * text3.C: use doubles again for x-coordinates. They are needed.
2342 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2344 * messages.C (getLocaleDir): use lyx_localedir()
2346 * lyxlex_pimpl.C (setFile): compress stuff
2348 * buffer.C (writeFile): add some compression stuff
2349 (do_writeFile): new func, dont call expliti close... will this
2352 * Makefile.am (lyx_LDADD): add -lz
2354 2003-07-28 José Matos <jamatos@fep.up.pt>
2356 * buffer.C: increment file format.
2357 * paragraph_funcs (readParagraph, readParToken):
2358 * paragraph.C (readParagraph): add \end_layout.
2360 2003-07-27 Angus Leeming <leeming@lyx.org>
2362 * Makefile.am: remove special casing for configure-time setting of
2363 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2365 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2366 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2368 2003-07-26 André Pönitz <poenitz@gmx.net>
2370 * paragraph_func.[Ch]:
2371 * paragraph.C (realizeFont): inline it whereever it is used
2376 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2379 2003-07-26 André Pönitz <poenitz@gmx.net>
2383 * text2.C: get rid of LyXText::need_break_row
2385 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2387 * toc.[Ch]: put namespace toc inside namespace lyx
2389 * MenuBackend.C (expandToc2): adjust for lyx::toc
2392 * lyxfunc.C (dispatch): adjust for lyx::find
2394 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2395 lyx::find instead. Reorganize a bit.
2396 (LyXReplace): rename to replace
2397 (LyXFind): rename to find
2399 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2402 2003-07-26 André Pönitz <poenitz@gmx.net>
2404 * text.C (setHeightOfRow): restrict scope of temporary variable
2406 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2407 code (never has been used?)
2409 2003-07-27 Asger Alstrup <alstrup@local>
2411 * text.C (fill): Optimise algorithm to exploit that we can reuse
2412 the LyXFont for many characters.
2413 (setHeightOfRow): Same thing.
2414 (rowBreakPoint): Same thing.
2416 2003-07-26 Asger Alstrup <alstrup@local>
2418 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2420 * text.C (singleWidth): Spurious font copying in hot-spot
2421 singleWidth avoided. Reorder tests for arabic for efficiency.
2423 * text.C (fill): handle empty paragraphs better.
2425 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2428 * encoding.h: add includes
2430 * lyxrc.C: remove reading of bind files
2432 * lyx_main.C (init): setup bindings and menus only if we have a
2435 * kbmap.C (read): new method. Do the actual reading of bind
2438 * converter.C (dvipdfm_options):
2441 (output): adapt PAPER_* enums.
2443 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2445 * bufferparams.h: remove paper-related enums from there
2447 * paper.h: New file. A trivial header file to hold paper-related
2448 enums. It should later expand to contain many paper-related
2451 * lyxrc.C: declare extern displayTranslator
2453 2003-07-27 José Matos <jamatos@fep.up.pt>
2455 * tabular.[Ch] (linuxdoc): add support for tables and figures
2458 2003-07-27 José Matos <jamatos@fep.up.pt>
2460 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2461 consistency in both functions.
2462 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2464 2003-07-26 Asger Alstrup <alstrup@local>
2466 * rowpainter.C (paintRows): Change algorithm to work directly on
2467 the insets rather than asking every character in the document
2468 whether its an inset.
2470 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2472 * buffer.C (openFileWrite): factorize some code
2474 2003-07-26 Angus Leeming <leeming@lyx.org>
2477 * lyx_main.[Ch]: replace occurances of system_tempdir with
2480 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2482 * rename Inset to InsetOld
2484 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2486 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2487 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2488 which I think is a bit clearer. EDIT is gone, since it was
2489 premature optimisation, and broken for mathed anyway.
2490 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2491 with cursor positioning in insets as well (math insets still do not
2492 work, but that's a different story anyway.) It mysteriously
2493 crashes sometimes with undo in the first paragraph, but I'm fairly
2494 confident that this is a compiler bug.
2496 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2498 * paragraph.C (Paragraph): adjust for new clone return type
2500 (copyIntoMinibuffer): ditto
2502 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2504 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2505 by not having a special case, and always doing a full rebreak of
2506 the document after undo.
2508 2003-07-23 Angus Leeming <leeming@lyx.org>
2510 * factory.C (createInset): InsetExternal::setParams now takes a
2513 2003-07-23 Angus Leeming <leeming@lyx.org>
2515 * factory.C (createInset): changed interface to the external and
2516 graphics mailers' string2params functions.
2518 2003-07-23 Angus Leeming <leeming@lyx.org>
2520 * factory.C (createInset): pass a
2521 Buffer const * parameter to InsetExternalMailer's string2params.
2523 2003-07-22 John Levon <levon@movementarian.org>
2525 * Thesaurus.h: include the right aiksaurus header
2527 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2529 * MenuBackend.C (expand): check menu shortcuts unconditionally
2531 2003-07-21 Angus Leeming <leeming@lyx.org>
2533 * factory.C (createInset): pass a
2534 buffer_path parameter to InsetGraphicsMailer's string2params.
2536 2003-07-21 Angus Leeming <leeming@lyx.org>
2538 * BufferView_pimpl.C (buffer):
2541 * lyxfunc.C (dispatch):
2542 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2543 rather than the grfx shortcut.
2545 2003-07-21 André Pönitz <poenitz@gmx.net>
2547 * rowpainter.C: remove unused variables
2550 * tabular_funcs.h: move to tabular.C
2551 * Makefile.am: adjust
2553 * tabular.[Ch]: basic optical cleaning
2555 * author.h: pass references, not values
2557 2003-07-18 André Pönitz <poenitz@gmx.net>
2565 * text3.C: two-phase drawing for InsetText and InsetTabular
2566 some float -> int changes.
2568 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2570 * lyx_main.C: fix the fix
2572 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2574 * lyx_main.C: fix a crash in batch mode if no files specified
2577 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2579 * format.[Ch] (papersize): moved to BufferParams
2580 * converter.[Ch] (dvips_options): moved to BufferParams
2581 (dvipdfm_options): moved to anon namespace
2582 * bufferparams.[Ch]: added above functions.
2584 2003-07-17 André Pönitz <poenitz@gmx.net>
2588 * text2.C: don't call inset->update() anymore
2590 * metricsinfo.[Ch]: add convenience constructor
2592 2003-07-16 André Pönitz <poenitz@gmx.net>
2597 * text2.C: replace the LyXCursor::irow_ member with
2598 on-demand computation of the value
2600 2003-07-16 John Levon <levon@movementarian.org>
2602 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2604 2003-07-15 André Pönitz <poenitz@gmx.net>
2607 * text2.C: remove no more needed refresh_row
2609 2003-07-15 André Pönitz <poenitz@gmx.net>
2614 * text3.C: refresh_status tristate -> need_update bool
2616 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2618 * lyxtext.h (init): remove reinit argument (act as if always true)
2619 * text2.C: adjust to that
2621 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2623 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2624 * text3.C: use it to delete selections in some cases
2625 (bugs 441, 673, 702, 954).
2627 2003-07-14 André Pönitz <poenitz@gmx.net>
2629 * rowpainter.[Ch]: reduce interface
2631 2003-07-14 André Pönitz <poenitz@gmx.net>
2633 * BufferView_pimpl.C:
2634 * text2.C: adjust after removing unused BufferView * argument
2636 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2638 * text2.C (init): fix a crash fired on resize
2640 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2642 * buffer.[Ch]: added new closing signal
2643 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2644 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2645 BufferView::Pimpl via the closing the signal
2647 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2649 * buffer.[Ch]: take out all bv-related from buffer
2651 * BufferView_pimpl.[Ch]: connect to new signals
2652 * CutAndPaste.C: removed useless asserts
2653 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2656 * lyxfunc.C: moved view-related funciontality from vc here
2657 * paragraph.C: removed outdated comments
2660 2003-07-10 André Pönitz <poenitz@gmx.net>
2662 * BufferView_pimpl.C:
2666 * text2.C: remove InsetText::InnerCache, clean up consequences
2668 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2670 * ispell.C: fix two typos in error messages
2672 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2674 * Extend Note inset to other forms of annotation like Comment
2675 and Greyedout. Right button click gives dialog.
2677 Files modified or added (+):
2681 * ControlNote.[Ch] +
2683 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2684 frontends/controllers
2688 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2690 * aspell.C: add missing namespace lyx::support
2692 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2694 * BufferView.[Ch] (newFile): Add
2695 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2696 * LaTeX.[Ch] (message): added this signal and use it
2697 * buffer.[Ch] (busy, message): added these signals and use them
2698 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2702 * importer.C: use buffer signals instead of direct bv calling
2703 * lyx_cb.[Ch] (ShowMessage): removed
2706 * paragraph_funcs.C:
2707 * text2.C: use buffer signals
2709 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2711 * introduce namespace lyx::graphics
2713 2003-07-02 André Pönitz <poenitz@gmx.net>
2715 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2717 2003-07-01 André Pönitz <poenitz@gmx.net>
2724 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2725 text*.C to text_func.C
2727 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2729 * introduce namespace lyx::support
2731 2003-06-30 André Pönitz <poenitz@gmx.net>
2736 * text.C: re-enable --with-included-string
2738 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2740 * textcursor.C: add <config.h>
2742 * text.C (getWord): remove const from word_location arg
2744 * lyxvc.C (getLogFile): fix const type order
2746 * lyxtext.h: remove const from word_location arg, add arg name
2748 * lyxlayout.h: currect type on labeltype.
2750 * importer.C: correct \file
2752 * converter.C (intToFormat): use std:: on ret val, ws changes
2754 * bufferlist.h: correct \file
2756 * buffer.C (makeLinuxDocFile): fix const type order
2757 (makeDocBookFile): ditto
2758 (fillWithBibKeys): use std:: on stdlib args.
2760 * CutAndPaste.C: fix authors.
2761 (availableSelections): use std:: on return vector
2763 2003-06-27 André Pönitz <poenitz@gmx.net>
2765 * BufferView_pimpl.C:
2766 * bufferview_funcs.C:
2774 * text3.C: remove LyXCursor::row_ member
2777 * text.C: rename fullRebreak() to partialRebreak() and implement
2778 a fullRebreak() that really bereks fully
2780 * textcursor.h: new struct for cursor-related data
2782 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2784 * lyx_main.C (LyX): get full path of document loaded on the
2787 2003-06-26 André Pönitz <poenitz@gmx.net>
2789 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2790 remove unused/broken operator>,<,>=.
2792 * text.C: remove only use of broken operator<= in an Assert().
2794 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2796 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2797 moved errorlist_.clear to showErrorList
2799 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2801 * converter.C (scanLog, runLaTeX):
2802 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2803 move the bv->showErrorList call to the callers
2804 * lyxfunc.C: i.e. here...
2806 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2807 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2808 namespace, the second to...
2809 * buffer_funcs (BufferFormat, parseErrors): added
2810 * errorlist.C (ErrorList(TeXErrors const &)): removed
2812 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2814 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2816 2003-06-24 "Garst R. Reese" <reese@isn.net>
2820 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2822 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2824 * version.C.in: change docversion to 1.4
2826 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2828 * buffer.C: fix a bug just introduced
2830 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2832 * buffer.[Ch]: added the parseError signal and use it, removed
2834 * BufferView.[Ch] (addError): moved to ...
2835 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2836 to the Buffer::parseError signal to catch (guess what) parse errors
2837 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2839 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2841 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2842 ability to create a buffer and to return an existing one from
2843 the list. Moved these functions to...
2844 * buffer_funcs.[Ch]: added
2845 * BufferView.[Ch] (loadLyXFile): added
2846 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2847 job removed from bufferlist::loadLyXFile.
2848 * buffer.C (setReadOnly): make it work without view
2849 (i.e added an if (users))
2851 2003-06-19 Angus Leeming <leeming@lyx.org>
2854 * LyXAction.C (init):
2855 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2856 with LFUN_DIALOG_SHOW <name> <data>.
2858 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2860 * CutAndPaste.C (availableSelections): small compilation fix for
2861 ancient (gcc 2.9x) compilers
2863 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2865 * text3.C (cursorNext): add tmp var
2867 * text2.C (updateCounters): for function calling out of for clause
2868 (replaceSelectionWithString): ditto
2869 (insertStringAsParagraphs): ditto
2870 (getColumnNearX): add tmp var
2871 (setCursorFromCoordinates): add tmp var
2872 (cursorDownParagraph): add tmp var
2873 (deleteEmptyParagraphMechanism): add tmp var
2875 * text.C (insertChar): add tmp var
2877 * rowpainter.C (paintDepthBar): add tmp var
2879 * CutAndPaste.C (availableSelections): potentially check all
2880 paragraphs in a cut to fill the shown strings.
2882 2003-06-18 André Pönitz <poenitz@gmx.net>
2884 * kbmap.[Ch]: use vector<> instead of list<>
2886 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2888 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2889 pasteSelection with index
2891 * text2.C (pasteSelection): modify, call pasteSelection with index
2893 * paragraph.C (asString): reimplement version with no interval to
2894 call the one with interval.
2896 * lyxtext.h: add index arg to pasteSelection
2898 * MenuBackend.C (MenuItem): handle PasteRecent
2899 (Menu::read::Menutags): add md_pasterecent
2901 (expandPasteRecent): new function
2904 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2906 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2908 (availableSelections): new function
2910 2003-06-17 Angus Leeming <leeming@lyx.org>
2912 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2914 2003-06-17 Angus Leeming <leeming@lyx.org>
2917 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2919 * lyxfunc.C (dispatch): invoke it.
2921 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2923 * iterators.C (operator++, ParPosition): reintroduce some
2924 const_cast for the benefit of older compilers.
2926 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2928 * text3.C (dispatch): do not modify clipboard when doing
2929 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2930 LFUN_DELETE_SKIP on a selection selection
2932 2003-06-16 André Pönitz <poenitz@gmx.net>
2938 * tabular.[Ch]: IU of clone() and getLabelList();
2940 2003-06-13 André Pönitz <poenitz@gmx.net>
2942 * tabular.h: compactification
2944 2003-06-12 André Pönitz <poenitz@gmx.net>
2948 * tabular_funcs.h: some renaming plus whitespace
2950 2003-06-12 André Pönitz <poenitz@gmx.net>
2953 * BufferView_pimpl.C:
2959 * toc.C: Return a Paragraph & for ParIterator::operator*()
2961 2003-06-11 John Levon <levon@movementarian.org>
2965 * ToolbarBackend.C: add "Toolbars" section and
2968 2003-06-10 Angus Leeming <leeming@lyx.org>
2971 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2973 * lyxfunc.C (dispatch): invoke it.
2975 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2977 * main.C: protect <ios> with HAVE_IOS
2978 (main): protect sync_with_stdio with HAVE_IOS
2980 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2982 * text2.C (cutSelection): adjust
2983 (pasteSelection): adjust
2985 * messages.C: handle get of empty string
2987 * main.C (main): use sync_with_stdio(false)
2989 * lyxfunc.C (dispatch): adjust
2991 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2992 (WriteAs): remove unneeded BufferView arg.
2994 * bufferparams.h: use correct types on papersize, papersize2 and
2997 * bufferparams.C (readToken): adjust for type
2998 (writeLaTeX): add missing cases to switch.
3000 * bufferlist.C (quitWriteBuffer): adjust
3003 * buffer.C (asciiParagraph): remove some commented code.
3005 * CutAndPaste.C: remove current_view extern variable.
3006 (cutSelection): add BufferParams arg.
3007 (eraseSelection): add BufferParams arg.
3008 (pasteSelection): add Buffer const & arg
3010 2003-06-07 John Levon <levon@movementarian.org>
3013 * paragraph_funcs.C:
3014 * paragraph_pimpl.C:
3018 * paragraph.C: allow InsetERT to freely space lines,
3019 and some consolidation of code
3021 2003-06-06 José Matos <jamatos@fep.up.pt>
3023 * buffer.C (makeDocBookFile): fix bug #821
3025 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3027 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3029 2003-06-04 Angus Leeming <leeming@lyx.org>
3031 * buffer.C: bump format to 224.
3033 2003-06-05 André Pönitz <poenitz@gmx.net>
3035 * text2.C (redoParagraphs): remove two const_cast<>
3037 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3039 * ParagraphList.h: remove last remnants of NO_STD_LIST
3041 2003-06-03 Angus Leeming <leeming@lyx.org>
3043 * factory.C (createInset): small change to the way InsetExternal's params
3046 2003-06-04 André Pönitz <poenitz@gmx.net>
3048 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3050 * paragraph_pimpl.h:
3051 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3053 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3055 * undo_funcs.C: make some simple cases of undo work again
3057 2003-06-03 John Levon <levon@movementarian.org>
3059 * ispell.C: HPUX doesn't have sys/select.h
3062 2003-06-03 John Levon <levon@movementarian.org>
3064 * CutAndPaste.C: update tabular and include inset
3069 * paragraph.C: remove owningBuffer(), don't pass Buffer
3072 * factory.C: insetGraphicsParams changed
3074 2003-06-02 John Levon <levon@movementarian.org>
3080 * text3.C: remove insetparent
3082 2003-06-02 John Levon <levon@movementarian.org>
3085 * buffer.C: fix inset_iterator.end(), move out of line
3088 2003-06-01 John Levon <levon@movementarian.org>
3090 * text3.C: use a proper cut/paste when doing inset
3091 insert (from Jürgen Spitzmüller)
3093 2003-06-01 John Levon <levon@movementarian.org>
3095 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3097 2003-05-30 André Pönitz <poenitz@gmx.net>
3099 * rowpainter.C: unify second drawing phase
3101 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3103 * trans_mgr.C: remove one case of current_view
3105 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3107 * paragraph_funcs.h: remove paragraph.h include
3109 * paragraph.h: delete NO_STD_LIST stuff
3111 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3113 * buffer.h: remove paragraph.h include
3115 * ParagraphList.C: delete file
3117 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3119 * toc.C (getTocList): adjust
3121 * paragraph_pimpl.C (validate): adjust
3123 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3125 * paragraph.C (Paragraph): adjust
3126 (getPositionOfInset): use const_iterator, adjust
3127 (bibitem): use const_iterator, adjust
3128 (setInsetOwner): adjust
3130 * iterators.C (operator++): adjust
3132 * InsetList.[Ch]: Replace selfmade iterator with standard
3133 vector::iterator also introduce const_iterator. Remove getPos,
3134 getInset and setInset from InsetTable. Adjust accordingly.
3136 * BufferView.C (lockInset): adjust
3137 (ChangeInsets): adjust
3139 * tabular.[Ch]: delete commented same_id functions
3141 2003-05-28 John Levon <levon@movementarian.org>
3143 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3145 2003-05-28 André Pönitz <poenitz@gmx.net>
3147 * metricsinfo.[Ch]: remove 'fullredraw' member
3149 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3151 * lyxtextclass.C (operator): remove caching.
3153 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3157 * text2.C (cursorBottom): adjust
3158 (setCounter): use ParagraphList::find, adjust
3160 * text.C (workWidth): use ParagraphList::find, adjust
3162 * lyxcursor.C (LyXCursor): adjust
3164 * buffer.C (inset_iterator): adjust
3166 * ParagraphList.h: make iterator(value_type) private, make
3167 ParagraphList a friend of iterator.
3169 * ParagraphList.C (find): new function
3171 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3173 2003-05-27 André Pönitz <poenitz@gmx.net>
3175 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3177 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3179 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3181 2003-05-26 John Levon <levon@movementarian.org>
3183 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3185 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3187 * remove same_id from function signatures, adjust.
3189 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3191 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3193 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3195 * paragraph.C (Paragraph): get rid of same_ids parameter
3197 * ParagraphList.C (insert): adjust
3200 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3202 * paragraph_funcs.C (breakParagraph): adjust
3203 (breakParagraphConservative): adjust
3205 * buffer.C (readParagraph): adjust
3207 * ParagraphList.C (insert): take a reference instead of a pointer
3210 * paragraph.[Ch] (id): new function
3212 * bufferlist.C (newFile): adjust
3214 * ParagraphList.C (ParagraphList): adjust
3216 (push_back): take a reference instead of a pointer.
3218 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3220 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3223 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3224 set else use old code.
3226 * ParagraphList.C: remove all NO_NEXT code and only compile this
3227 code of NO_STD_LIST is set.
3229 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3231 * BufferView_pimpl.C:
3241 * graphics/GraphicsConverter.C:
3242 * graphics/PreviewLoader.C: header adjustment
3244 2003-05-23 Angus Leeming <leeming@lyx.org>
3246 * LaTeXFeatures.[Ch] (useBabel): new method.
3247 * bufferparams.C (writeLaTeX): use it.
3249 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3251 * ParagraphList.h (set): remove unused function.
3253 2003-05-23 André Pönitz <poenitz@gmx.net>
3256 * BufferView_pimpl.C:
3260 * undo_funcs.C: setUndo reworked
3262 * iterators.[Ch]: add access to topmost ParagraphList
3264 * lyxtext.[Ch] (workWidth): add a const
3266 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3268 * texrow.[Ch] (increasePos): remove function
3269 * exporter.C (export): removed unused var and outdated comment
3271 2003-05-23 Angus Leeming <leeming@lyx.org>
3273 * latexrunparams.h: rename fragile as moving_arg.
3274 * paragraph.C (simpleTeXOnePar): ditto.
3275 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3277 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3279 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3281 (textUndoOrRedo): comment out a currently unused var.
3283 * paragraph.h (NO_NEXT): enable NO_NEXT
3285 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3287 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3289 * exporter.C (Export): adjust for removeAutoInsets removal.
3291 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3293 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3295 * BufferView.[Ch] (removeAutoInsets): delete function
3297 2003-05-22 Angus Leeming <leeming@lyx.org>
3299 * latexrunparams.h: add a free_spacing variable.
3301 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3302 to pass moving_arg, as the data is stored in runparams.fragile.
3304 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3305 to Inset::latexOptional or to simpleTeXOnePar.
3307 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3308 free_spacing arg to Inset::latexOptional.
3310 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3313 2003-05-22 Angus Leeming <leeming@lyx.org>
3315 * latexrunparams.h: add fragile and use_babel variables.
3317 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3318 * buffer.C (makeLaTeXFile): store this returned value in
3319 runparams.use_babel, thus passing it to the inset::latex methods.
3321 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3322 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3324 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3325 longer has a fragile arg, as it is stored in runparams.fragile.
3327 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3328 moving_arg parameter as the data is stored in runparams.fragile.
3330 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3331 a fragile parameter as the data is stored in runparams.fragile.
3333 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3335 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3337 2003-05-22 Angus Leeming <leeming@lyx.org>
3339 * latexrunparams.h: add a 'bool nice' which defaults to false.
3341 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3342 now encapsulated within runparams.
3344 * bufferlist.C (updateIncludedTeXfiles):
3345 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3347 2003-05-22 Angus Leeming <leeming@lyx.org>
3349 * latexrunparams.h: new file containing struct LatexRunParams.
3350 * Makefile.am: add new file.
3352 * LaTeX.[Ch] (c-tor, run):
3353 * buffer.[Ch] (makeLaTeXFile):
3354 * bufferlist.[Ch] (updateIncludedTeXfiles):
3355 * converter.C (convert, scanLog):
3356 * converter.[Ch] (runLaTeX):
3357 * exporter.C (Export):
3358 * paragraph.[Ch] (simpleTeXOnePar):
3359 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3360 * paragraph_funcs.[Ch] (latexParagraphs):
3361 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3362 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3363 pass around a LatexRunParams parameter.
3365 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3367 * paragraph.[Ch]: remove unused constructor
3369 * ParagraphList.C (erase): new function, taking two iterators
3371 2003-05-22 André Pönitz <poenitz@gmx.net>
3373 * undo_funcs.C: remove duplicated code
3375 * iterator.[Ch]: operator=
3377 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3379 * tabular.C (SetMultiColumn): ws changes
3381 * rowpainter.C (paintFirst): get rid of a ->previous
3383 * lyx_cb.C (getPossibleLabel): parlist simplification
3385 * BufferView.C (ChangeInsets): simplify slightly.
3387 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3389 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3390 * lfuns.h: new LFUN_SPACE
3391 * lyxfunc.C: protected space has a new lfun
3392 * paragraph_funcs.C: read new space insets
3394 * factory.C: handle new space insets
3396 2003-05-22 André Pönitz <poenitz@gmx.net>
3399 * BufferView_pimpl.C:
3402 * undo_funcs.C: return a ParIterator from getParFromID.
3404 * iterators.[Ch]: add two const's
3406 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3408 * toc.C (getTocList): adjust
3410 * iterators.[Ch]: rework for parlist
3412 * buffer.C (par_iterator_begin): adjust
3413 (par_iterator_end): adjust
3415 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3417 * BufferView.C (removeAutoInsets): adjust
3418 (ChangeInsets): adjust
3420 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3422 * text.C (top_y): fix bug 1110
3424 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3426 * errorlist.[Ch]: added
3429 * BufferView_pimpl.C:
3430 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3433 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3435 * Makefile.am: ensure that lyx is relinked upon changes to the
3436 various "convenience" libs.
3438 2003-05-20 Angus Leeming <leeming@lyx.org>
3440 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3441 files are compiled in alphabetical order again.
3443 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3445 2003-05-19 Angus Leeming <leeming@lyx.org>
3447 * gettext.[Ch]: remove "char const * _(char const *)".
3449 2003-05-19 André Pönitz <poenitz@gmx.net>
3451 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3460 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3462 2003-05-19 André Pönitz <poenitz@gmx.net>
3466 * lyxtextclass.[Ch]:
3468 * paragraph_funcs.[Ch]:
3470 * text3.C: more insetenv work
3472 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3474 * ParagraphParameters.C (params2string): small bug fixed
3476 2003-05-16 André Pönitz <poenitz@gmx.net>
3479 * bufferview_funcs.C: patch from Kornel Benko to prevent
3480 crash when _(...) is called twice in a statement
3482 2003-05-16 André Pönitz <poenitz@gmx.net>
3489 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3491 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3493 * lyx_main.C (init): remove spurious static_cast
3495 2003-05-14 André Pönitz <poenitz@gmx.net>
3497 * BufferView.C: fix format string
3499 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3501 * BufferView.[Ch] (insertErrors): removed
3502 * BufferView.[Ch] (showErrorList): added
3503 * buffer.C (runChkTeX):
3504 * converter.C (scanLog): call showErrorList instead of inserterrors
3506 2003-05-13 André Pönitz <poenitz@gmx.net>
3508 * BufferView_pimpl.C:
3510 * bufferview_func.C:
3517 * tabular_funcs.h: tostr() from its own header
3519 * ParagraphParameters.C:
3524 * text3.C: STRCONV()
3526 2003-05-12 André Pönitz <poenitz@gmx.net>
3529 * BufferView_pimpl.C:
3533 * ParagraphParameters.C:
3537 * bufferview_funcs.C:
3550 * paragraph_funcs.C:
3554 * text3.C: boost::format -> bformat all over the place
3557 2003-05-09 André Pönitz <poenitz@gmx.net>
3559 * LColor.[Ch]: Pimpl the #include <map> away
3561 2003-05-09 John Levon <levon@movementarian.org>
3563 * bufferlist.C: never remove emergency saves
3565 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3567 * Makefile.am: better lib building
3569 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3571 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3573 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3574 (simpleTeXSpecialChars): adjust
3575 (simpleTeXSpecialChars): adjust
3576 * paragraph.C (simpleTeXOnePar): adjust
3577 * buffer.C (makeLaTeXFile): adjust
3579 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3581 * text2.C (changeDepth): parlist cleanup
3582 (getColumnNearX): ditto
3584 * rowpainter.C (getLabelFont): parlist cleanup
3586 * bufferlist.C (newFile): parlist cleanup
3588 * CutAndPaste.C (eraseSelection): parlist cleanup
3590 * BufferView_pimpl.C (trackChanges): parlist cleanup
3593 * BufferView.C (lockInset): parlist cleanup.
3594 (ChangeInsets): ditto
3596 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3598 * CutAndPaste.h: Update file header.
3600 * CutAndPaste.C: Update file header.
3601 Store the parts cut out of the Document in a limited_stack.
3602 (copySelection): adjust
3603 (pasteSelection): new function, takes the index in the limited stack.
3604 (nrOfParagraphs): adjust
3605 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3606 simplify error inset insertion.
3607 (checkPastePossible): adjust
3609 2003-05-06 John Levon <levon@movementarian.org>
3611 * text2.C: don't cast wrap inset to float
3613 2003-05-05 André Pönitz <poenitz@gmx.net>
3616 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3618 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3619 few naked Paragraph *.
3621 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3623 * bufferparams.C: Output warning if a document with missing
3624 TeX document class is loaded
3625 * exporter.C: Disable TeX exports if the document class is missing
3628 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3629 isTeXClassAvailable()
3631 2003-05-03 John Levon <levon@movementarian.org>
3634 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3635 explicit cursor show/hide
3637 * BufferView_pimpl.h:
3638 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3639 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3641 * lyxfunc.C: hide cursor before dispatching.
3646 * text3.C: remove explicit cursor hides
3648 2003-05-02 André Pönitz <poenitz@gmx.net>
3650 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3653 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3656 * text2.C: tiny whitespace
3658 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3660 * undo_funcs.C: almost only ws changes.
3662 * ParagraphList.C (splice): just return if pl is empty.
3664 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3666 * ParagraphList.C (splice): new function.
3668 * CutAndPaste.C (pasteSelection): use it
3670 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3672 * CutAndPaste.C (pasteSelection): remove the last next and
3673 previous from this file.
3675 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3677 * CutAndPaste.C (pasteSelection): more clean up, user proper
3678 ParagraphList functions for pasteing.
3680 * ParagraphList.C (insert): new function, three arg insert
3682 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3684 * ParagraphList.C (insert): new function, three arg insert
3686 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3689 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3691 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3693 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3695 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3697 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3699 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3700 (copySelection): clean up a bit.
3701 (pasteSelection): use make_pair
3703 * ParagraphList.C (ParagraphList): implement copy constructor
3704 (operator=): implement, base on copy constructor.
3707 * paragraph.C (erase): return a bool
3709 * paragraph_pimpl.C (erasePos): remove function, move contents...
3710 (erase): ... here. Return a bool.
3711 (erase): call erase instead of erasePos.
3713 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3715 * ParagraphList.h: define PitPosPair
3716 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3717 ParagraphList, fix a bug on pasting multiple pars
3718 * text2.C: change interface to C&P
3720 2003-04-30 André Pönitz <poenitz@gmx.net>
3722 * undo_func.C: revert part of yesterday's patch 2
3724 2003-04-30 John Levon <levon@movementarian.org>
3726 * LColor.C: s/tabular/table/
3728 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3730 * text3.C (dispatch): do not convert iterator -> pointer
3731 * undo_funcs.C (setCursorParUndo): ditto
3732 * text_funcs.C (transposeChars): ditto
3734 * text2.C (setLayout): ws changes only
3736 * text.C (breakParagraph): do not convert iterator -> pointer
3738 (acceptChange): ditto
3739 (rejectChange): ditto
3744 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3747 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3749 * text3.C (gotoInset): YABG (yet another bad getChar)
3751 2003-04-29 André Pönitz <poenitz@gmx.net>
3753 * paragraph.h: make operator= private unimplemented as long as
3756 * ParagraphList.C: whitespace
3759 * paragraph_pimpl.[Ch]:
3760 * paragraph_funcs.C:
3762 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3765 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3767 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3769 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3770 * paragraph.[Ch] (erase):
3771 * paragraph_pimpl.[Ch] (erase): change return type and value
3772 * text2.C (cutSelection): some rework
3774 2003-04-28 John Levon <levon@movementarian.org>
3776 * bufferlist.C: changes for unsaved changes dialog
3778 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3780 * bufferlist.C (newFile): set language (messages_) for new
3783 * buffer.C (readFile): ws changes only.
3785 2003-04-28 André Pönitz <poenitz@gmx.net>
3790 * BufferView_pimpl.C:
3791 * BufferView.C: getParFromID related ParagraphList::iterator changes
3793 2003-04-28 André Pönitz <poenitz@gmx.net>
3795 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3798 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3800 * messages.C: remove one more localedir class variable.
3802 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3804 * messages.C (getLocaleDir): singleton generation function
3806 (Messages): add a default constructor.
3808 * main.C (main): do not setup localedir here, do not call
3811 * gettext.C (_): use it.
3812 (gettext_init): delete funciton
3814 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3816 * gettext.C (getLyXMessages): new singleton generating function.
3818 * buffer.C (updateDocLang): adjust
3820 * Makefile.am (messages.o): add target
3821 (main.o): remove target
3823 2003-04-27 John Levon <levon@movementarian.org>
3828 * lyxvc.C: specify cancel button in Alert::prompt
3830 2003-04-26 John Levon <levon@movementarian.org>
3835 * LyXAction.C: add LFUN_INSET_SETTINGS
3837 * lyxfunc.C: don't enable tabular-feature when there's
3838 just any locking inset
3840 2003-04-26 John Levon <levon@movementarian.org>
3842 * bufferlist.C: re-add Cancel to buffer close question
3844 * lyxfunc.C: fix import UI a bit
3846 2003-04-25 John Levon <levon@movementarian.org>
3848 * gettext.C: remove the broken asserts for now
3850 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3852 * messages.C: make case where setlocale cannot comply work better.
3854 * buffer.C (updateDocLang): new function
3855 (changeLanguage): use it
3858 * text2.C (setCounter): use B_ a bit.
3860 * lyxlayout.C (Read): be sure to trim the label strings.
3862 * messages.C (Messages): fix typo in comment
3864 * buffer.C (readFile): set message_ after file is loaded.
3865 (makeDocBookFile): remove double return
3866 (changeLanguage): reset message_ upon language change.
3867 (B_): new func, use this to get translated buffer strings.
3869 * main.C: add myself and Jean Marc as authors.
3871 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3873 * messages.[hC]: pimplify Messages, and three different pimpls to be
3874 used in different circumstances.
3876 * gettext.[Ch]: change for use with new message code.
3878 2003-04-24 André Pönitz <poenitz@gmx.net>
3880 * factory.C: support for eqref
3882 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3884 * messages.[Ch]: add missing char
3886 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3888 * messages.[Ch]: New files
3890 2003-04-18 John Levon <levon@movementarian.org>
3894 * BufferView_pimpl.C:
3898 * text2.C: remove layout-copy/paste (bug 778)
3900 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3902 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3904 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3906 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3907 if they succeed. Act accordingly.
3909 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3911 * text2.C (setCharFont): adjust
3912 (setCounter): adjust
3913 (insertStringAsLines): adjust
3915 * text.C (leftMargin): adjust
3916 (setHeightOfRow): adjust
3918 * rowpainter.C (paintFirst): adjust
3921 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3923 (isFirstInSequence): ditto
3924 (getEndLabel): ditto
3927 * paragraph.C (getParLanguage): comment out some hard stuff.
3929 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3931 (simpleDocBookOnePar): ditto
3932 (makeDocBookFile): use ParagraphList::iterator
3934 * CutAndPaste.C (pasteSelection): adjust
3936 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3938 * text2.C (getFont): adjust
3939 (getLayoutFont): adjust
3940 (getLabelFont): adjust
3942 * paragraph_funcs.C (TeXOnePar): adjust
3944 * buffer.C (simpleLinuxDocOnePar): adjust
3945 (simpleDocBookOnePar): adjust
3947 * CutAndPaste.C (pasteSelection): adjust
3949 * BufferView.C (getEncoding): adjust
3951 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3953 2003-04-16 John Levon <levon@movementarian.org>
3955 * lyxfind.C: use parlist stuff for search/changes
3957 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3959 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3961 * text2.C (deleteEmptyParagraphMechanism): adjust
3963 * text2.[Ch] (ownerParagraph): delete func (both of them
3965 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3967 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3969 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3971 * ParagraphList.C: prepare for NO_NEXT
3973 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3975 * text2.C (getFont): adjust
3976 (getLayoutFont): adjust
3977 (getLabelFont): adjust
3979 * paragraph.C (getFont): adjust
3980 (getLabelFont): adjust
3981 (getLayoutFont): adjust
3983 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3985 2003-04-15 John Levon <levon@movementarian.org>
3989 * lyx_main.C: handle Include in .ui files
3991 2003-04-15 John Levon <levon@movementarian.org>
3993 * MenuBackend.C: make the doc files length shorter
3996 * ToolbarBackend.C: handle toolbar placement flags,
3999 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4001 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4004 * paragraph_funcs.C (TeXOnePar): adjust
4006 * paragraph.C (getLabelFont): add outerfont arg, adjust
4007 (getLayoutFont): ditto
4008 (simpleTeXOnePar): adjust
4010 * paragraph_pimpl.C (realizeFont): delete func
4012 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4014 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4015 row argument, constify cur argument.
4017 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4019 * text2.C (getFont): adjust
4020 (getLayoutFont): adjust
4021 (getLabelFont): adjust
4023 * paragraph_funcs.C (TeXOnePar): adjust
4024 (outerFont): new func...
4025 (realizeFont): ...moved out from here, changed this to facilitate
4028 * paragraph.C (getFont): take outerfont as arg, adjust
4029 (simpleTeXOnePar): add outerfont arg, adjust
4031 * buffer.C (simpleLinuxDocOnePar): adjust
4032 (simpleDocBookOnePar): adjust
4034 * CutAndPaste.C (pasteSelection): adjust
4036 * BufferView.C (getEncoding): adjust
4038 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4040 * text2.C (setCharFont): adjust
4041 (setCounter): adjust
4043 * text.C (leftMargin): adjust
4044 (setHeightOfRow): adjust
4046 * rowpainter.C (paintFirst): adjust
4049 * paragraph_pimpl.C (realizeFont): adjust
4051 * paragraph.C (isFirstInSequence): move from here...
4052 * paragraph_funcs.C (isFirstInSequence): ...to here
4054 * paragraph.C (outerHook): move from here...
4055 * paragraph_funcs.C (outerHook): ...to here
4057 * paragraph.C (depthHook): move from here...
4058 * paragraph_funcs.C (depthHook): ...to here
4060 * paragraph.C (getEndLabel): move from here...
4061 * paragraph_funcs.C (getEndLabel): ...to here
4063 * text2.C (realizeFont): move from here...
4064 * paragraph_funcs.C (realizeFont): ...to here
4066 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4068 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4070 2003-04-14 Angus Leeming <leeming@lyx.org>
4072 * LColor.[Ch]: scrap LColor mathcursor.
4074 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4076 * lyxlex.[Ch] (text): delete function
4077 * trans.C (Load): adjust
4078 * paragraph_funcs.C (readParToken): adjust
4080 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4082 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4083 vector<char> instead of a char[].
4085 * lyxlex_pimpl.C (getString): adjust
4087 (lex): use getString
4091 * lyxlex.C (text): use pimpl_->getString()
4095 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4097 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4098 (makeFontEntriesLayoutSpecific): temp var for par.size()
4099 (setLayout): temp var for ownerParagraphs().end()
4100 (fullRebreak): temp var for rows().end()
4101 (selectionAsString): temp var for boost::next(startpit), realize
4102 that the while really is a regular for loop.
4103 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4104 setCursor in one place.
4105 (setParagraph): temp vr for ownerParagraphs().end()
4106 (updateCounters): make the while loop a for loop
4107 (cutSelection): temp var for ownerParagraphs().end()
4108 (updateInset): make the do {} while() a regular for loop
4109 (getCursorX): use temp vars
4110 (setCurrentFont): use temp vars
4111 (getColumnNearX): use temp vars
4113 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4115 * text.C (transformChar): use temp var for getChar
4116 (computeBidiTables): use temp var for row->par()
4117 (fill): move temp vars for row->par() and pit->layout() earlier in
4119 (labelFill): use temp var for row->par()
4120 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4121 asc and desc, realize that pit never changes and that firstpit is
4122 just a duplicate and not needed. Exchange rit->par() with pit in a
4124 (breakAgain): use a temp var for boost::next(rit)
4125 (breakAgainOneRow): ditto
4126 (breakParagraph): use a temp var for rows().begin()
4127 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4128 (cursorRightOneWord): use temp var for cursor.par() and
4129 cursor.pos(), remove usage of tmpcursor.
4130 (cursorLeftOneWord): use temp var for cursor.par() and
4131 cursor.pos() only set cur at end of function.
4133 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4135 * text.C, text2.C: exchange all usage of Paragraph::next with
4136 boost::next(ParagraphList::iterator)
4138 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4140 * text2.C (cursorTop): simplify implementation
4141 (cursorBottom): ditto
4142 (setParagraph): use ParagraphList::iterator
4143 (setCurrentFont): adjust
4144 (getColumnNearX): adjust
4145 (cursorRight): adjust
4146 (cursorLeft): remove usage of Paragraph::previous
4147 (cursorUpParagraph): ditto
4148 (deleteEmptyParagraphMechanism): slight cleanup
4150 * text.C (isBoundary): take a Paragraph const & instead of a
4152 (addressBreakPoint): ditto
4153 (leftMargin): remove usage of Paragraph::previous.
4154 (setHeightOfRow): ditto
4155 (cursorLeftOneWord): ditto
4156 (selectNextWordToSpellcheck): ditto
4159 (breakParagraph): remove one usage of Paragraph::next
4160 (redoParagraph): ditto
4161 (acceptChange): ditto
4162 (insertChar): adjust
4163 (rowBreakPoint): adjust
4165 * bufferview_funcs.C (toggleAndShow): adjust
4167 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4169 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4170 methods to access it.
4172 * text.C: Added updateRowPositions to compute all row positions.
4173 Make top_y and getRowNearY() to use the cached y position
4175 2003-04-11 John Levon <levon@movementarian.org>
4177 * text.C (rowBreakPoint): reintroduce the labelEnd
4178 checks, code copied from the row fill stuff. Deep voodoo.
4180 * text.C (fill): add a comment and debugging for the
4183 2003-04-11 John Levon <levon@movementarian.org>
4185 * text.C: make sure fullrow insets get wrapped to the next line,
4186 even when they're in a manual label
4188 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4190 * text2.C (insertParagraph): make it take ParagraphList::iterator
4192 (setLayout): make it return ParagraphList::iterator
4193 (redoParagraphs): ditto
4195 (checkParagraph): ditto
4197 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4199 * text2.C: adjust several funcs.
4200 (realizeFont): take a ParagraphList::iterator as arg.
4201 (getLayoutFont): ditto
4202 (getLabelFont): ditto
4203 (setCharFont): ditto
4205 * text.C: adjust several funcs.
4207 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4209 * text.C (selectNextWordToSpellcheck): don't accidentally
4212 2003-04-10 John Levon <levon@movementarian.org>
4214 * ToolbarBackend.C (getIcon): special handling for
4217 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4219 * text2.C (cursorRight): a getChar assert fixed
4221 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4223 * text2.C (getFont): change to take a ParagraphList::iterator
4224 instead of Paragraph*
4225 Adjust several functions.
4227 * text.C (transformChar): change to take a ParagraphList::iterator
4228 instead of Paragraph*
4229 (singleWidth): ditto
4230 Adjust several functions.
4232 * rowpainter.C: adjust several functions
4233 * rowpainter.h:store a ParagraphList::iterator and not a
4237 2003-04-09 John Levon <levon@movementarian.org>
4242 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4243 and the "help" bits as well
4245 2003-04-09 John Levon <levon@movementarian.org>
4248 * ToolbarBackend.C: allow multiple toolbars
4250 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4252 * undo_funcs.C (setCursorParUndo): adjust
4254 * text_funcs.C (transposeChars): adjust
4256 * text3.C (gotoNextInset): adjust
4259 * text2.C (setLayout): adjust
4260 (changeDepth): adjust
4262 (redoParagraphs): adjust
4263 (selectionAsString): adjust
4264 (setParagraph): adjust
4265 (insertInset): adjust
4266 (cutSelection): adjust
4267 (copySelection): adjust
4268 (pasteSelection): adjust
4269 (insertStringAsLines): adjust
4270 (updateInset): adjust
4271 (setCursor): change to take a ParagraphList::iterator parameter
4272 (setCursorIntern): change to take a ParagraphList::iterator parameter
4273 (setCurrentFont): adjust
4274 (cursorLeft): adjust
4275 (cursorRight): adjust
4276 (deleteEmptyParagraphMechanism): adjust
4278 * text.C (breakParagraph): adjust
4279 (insertChar): adjust
4280 (acceptChange): adjust
4281 (rejectChange): adjust
4282 (selectNextWordToSpellcheck): adjust
4283 (changeCase): adjust
4287 * lyxfind.C (SearchForward): adjust
4288 (SearchBackward): adjust
4289 (nextChange): adjust
4291 * lyxcursor.C (par): adjust
4293 * lyxcursor.h: store a ParagraphList::iterator instead of a
4296 * lyx_cb.C (getPossibleLabel): adjust
4298 * bufferview_funcs.C (toggleAndShow): adjust
4300 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4303 * BufferView.C (removeAutoInsets): adjust
4304 (lockedInsetStoreUndo): adjust
4306 2003-04-09 John Levon <levon@movementarian.org>
4308 * ToolbarBackend.C: try icon without argument
4309 if with argument fails
4311 2003-04-08 John Levon <levon@movementarian.org>
4314 * ToolbarBackend.C: add getIcon(), handle tooltip,
4315 and change from "Icon" to "Item".
4317 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4319 * BufferView.C (lockInset): another bad getchar crunched
4321 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4323 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4326 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4328 * lyxfind.C (searchForward, searchBackwards): bug 782
4330 2003-04-07 John Levon <levon@movementarian.org>
4332 * paragraph.C: remove dead comment
4334 * text.C: remove troublesome depth-fiddling code
4335 in leftMargin() and rightMargin() (bug 1017)
4337 * text.C: fix breaking of rows in nested lists
4340 * text2.C (updateCounters): fix up depth values
4343 2003-04-07 John Levon <levon@movementarian.org>
4345 * BufferView_pimpl.C: clear message when doc finishes resizing,
4346 and after a mouse event
4348 * lyxfunc.C: clear message after exiting inset
4350 2003-04-07 John Levon <levon@movementarian.org>
4352 * bufferview_funcs.C: show math status not outside
4353 status in the statusbar
4355 2003-04-07 John Levon <levon@movementarian.org>
4357 * lyxfunc.C: note status changed after a depth change
4359 2003-04-04 Angus Leeming <leeming@lyx.org>
4361 * LaTeX.h: move AuxInfo operator==, != out of line.
4362 Remove LaTeX virtual destructor; nothing derives from it.
4363 Move operator()() out of public area and rename it startscript().
4364 Change protected for private.
4366 2003-04-04 Angus Leeming <leeming@lyx.org>
4369 * text2.C: remove unneeded #includes.
4371 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4373 * text2.C (dEPM): fix the heigth of the next row
4375 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4377 * text.C: squashed an invalid getChar requester + some ws changes
4379 2003-04-03 John Levon <levon@movementarian.org>
4381 * bufferview_funcs.h:
4382 * bufferview_funcs.C:
4385 * text2.C: make getStatus work for the env depth lfuns
4387 2003-04-03 John Levon <levon@movementarian.org>
4389 * bufferview_funcs.h:
4390 * bufferview_funcs.C:
4393 * text2.C: parlistize decDepth(), by merging it with incDepth()
4395 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4397 * lyxrow.h: store a ParagraphList::iterator instead of a
4398 Paragraph* and adjust other class functions to suit.
4400 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4403 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4405 * text2.C (setCursor): do not anchor to cursor row for the time being
4407 2003-04-02 John Levon <levon@movementarian.org>
4414 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4416 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4418 * paragraph.h: make ParagraphList and ParagraphList::iterator
4419 friends of Paragraph.
4421 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4423 * ParagraphList.C: Use the private next_ and previous_ from
4426 2003-04-01 John Levon <levon@movementarian.org>
4430 * Makefile.am: rename, remove defaults gunk
4433 * MenuBackend.C: remove defaults gunk
4436 * Languages.C: remove defaults gunk
4439 * lyx_main.C: error out if files couldn't be found.
4441 2003-04-02 John Levon <levon@movementarian.org>
4443 * text2.C: make incDepth() use parlist
4445 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4447 * undo_funcs.C (firstUndoParagraph): adjust
4449 * text3.C (gotoInset): adjust
4450 (dispatch): adjust, and rewrite loop.
4452 * text2.C (init): adjust, and rewrite loop.
4453 (redoParagraphs): adjust
4454 (updateInset): adjust, and rewrite loop.
4455 (deleteEmptyParagraphMechanism): adjust
4457 * tabular.C (LyXTabular): adjust
4458 (SetMultiColumn): adjust
4461 * lyxtext.[Ch] (ownerParagraph): delete function
4462 (ownerParagraphs): new function returns a ParagraphList.
4464 * BufferView.C (removeAutoInsets): adjust
4465 (insertErrors): adjust
4466 (setCursorFromRow): adjust
4468 2003-04-01 Angus Leeming <leeming@lyx.org>
4470 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4473 2003-04-02 John Levon <levon@movementarian.org>
4479 * text_funcs.C: make transposeChars a free function
4481 * lyxrow_funcs.C: remove wrong comment
4483 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4486 * rowpainter.C: adjust
4491 * lyxrow_funcs. [Ch]: new files
4493 * lyxrow.[Ch]: remove next and previous pointers
4494 (next,previous): remove accessor functions
4495 (isParEnd): move to lyxrow_funcs
4496 (lastPos): move to lyxrow_funcs
4497 (nextRowIsAllInset): move to lyxrow_funcs
4498 (lastPrintablePos): move to lyxrow_funcs
4499 (numberOfSeparators): move to lyxrow_funcs
4500 (numberOfHfills): move to lyxrow_funcs
4501 (numberOfLabelHfills): move to lyxrow_funcs
4502 (hfillExpansion): move to lyxrow_funcs
4506 * bufferview_funcs.C (toggleAndShow): adjust
4508 * RowList.h: Remove class RowList from file leave just a
4511 * RowList.C: delete file
4513 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4516 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4518 * text3.C (cursorPrevious): adjust
4519 (cursorNext): adjust
4522 * text2.C (redoHeightOfParagraph): adjust
4523 (redoDrawingOfParagraph): adjust
4526 * text.C (breakParagraph): adjust
4527 (insertChar): adjust
4530 * rowpainter.C (RowPainter): adjust
4531 (leftMargin): simplify and adjust
4532 (most rowpainter functions): adjust.
4534 * rowpainter.h: store the row as RowList::iterator not as Row*
4536 * lyxcursor.C (row): taka RowList::iterator as arg
4539 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4542 2003-04-01 Angus Leeming <leeming@lyx.org>
4544 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4545 stuff like bool Bool.
4547 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4549 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4552 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4554 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4557 * lyxtext.h (rows): drop one version and leve a const variant that
4558 returns a RowList::iterator.
4560 2003-03-31 Angus Leeming <leeming@lyx.org>
4562 * text.C (fill): ensure that the signature is the same as that in the
4565 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4567 * text2.C (redoParagraphs): adjust
4568 (updateCounters): adjust
4569 (checkParagraph): adjust
4570 (getColumnNearX): adjust and reformat a bit.
4572 * text.C (top_y): adjust
4574 (leftMargin): adjust
4575 (prepareToPrint): adjust
4577 (getRowNearY): adjust
4579 * lyxtext.h: make rowlist_ mutable.
4581 * RowList.h: add const_iterator
4582 * RowList.C: adjust for RowList::const_iterator.
4584 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4587 2003-03-31 John Levon <levon@movementarian.org>
4590 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4592 * lyx_main.C: set default fonts from using lyx_gui funcs
4594 * exporter.C: pdf_mode moved from lyxrc
4597 * lyxfunc.C: changes from above
4599 2003-03-31 John Levon <levon@movementarian.org>
4601 * lyx_main.C: fix to the last fix
4603 2003-03-31 John Levon <levon@movementarian.org>
4605 * bufferlist.C: "Load original" -> "Load Original"
4611 * format.C: more Alert cleanups
4613 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4615 * text2.C (removeParagraph): make it take a RowList::iterator as
4617 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4618 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4620 * text.C (anchor_row): make it take a RowList::iterator as arg,
4622 (computeBidiTables): make it take a const reference to Row instead
4623 of Row pointer, adjust.
4624 (leftMargin): make it take a RowList::iterator as arg, adjust.
4625 (rowBreakPoint): adjust
4626 (breakAgainOneRow): make it take a RowList::iterator as arg,
4628 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4630 * bufferview_funcs.C (toggleAndShow): adjust
4632 2003-03-30 John Levon <levon@movementarian.org>
4636 * boost-inst.C: moved to support
4638 * several files: changes as a result
4640 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4642 * text2.C (LyXText): adjust.
4644 (removeRow): make it take a RowList::iterator as arg, adjust.
4645 (fullRebreak): adjust
4646 (deleteEmptyParagraphMechanism): adjust
4647 (clearPaint): adjust
4650 * text.C (top_y): adjust
4651 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4652 (breakAgain): make it take a RowList::iterator as arg, adjust.
4653 (breakParagraph): adjust
4654 (insertChar): adjust
4657 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4658 need_break_row, and refresh_row.
4660 * text3.C (dispatch): adjust
4662 * text2.C (checkParagraph): adjust
4664 (setCursorFromCoordinates): adjust
4666 * text.C (top_y): adjust
4668 (getRow): make it return a RowList::iterator, adjust
4669 (getRowNearY): make it return a RowList::iterator, adjust
4671 * text2.C (init): adjust
4672 (insertRow): remove function
4673 (insertParagraph): adjust
4674 (redoParagraphs): adjust
4675 (fullRebreak): adjust
4676 (updateCounters): adjust
4678 * text.C (top_y): rewrite to use RowList iterators.
4680 (setHeightOfRow): rewrite to sue RowList iterators.
4681 (appendParagraph): adjust
4682 (breakAgain): adjust
4683 (breakAgainOneRow): adjust
4684 (breakParagraph): adjust
4686 (getRowNearY): adjust, and remove commented code.
4688 * lyxtext.h (firstRow): delete function
4689 (lastRow): delete function
4690 (rows): new function (const and non-const versions.)
4691 (insertRow): delete function
4693 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4695 2003-03-29 John Levon <levon@movementarian.org>
4697 * BufferView_pimpl.C: always update scrollbar top
4698 because pasting text when we're anchored could mean we
4699 miss an update altogether
4701 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4703 * text2.C (init): use rowlist_.end() and not 0.
4704 (insertRow): change to take a RowList::iterator as arg, adjust
4706 (insertParagraph): change to take a RowList::iterator as arg,
4708 (redoParagraphs): remove some debug msgs.
4710 * text.C (appendParagraph): change to take a RowList::iterator
4711 arg, adjust for this.
4712 (breakAgain): add an assert
4713 (breakAgainOneRow): ditto
4715 2003-03-29 John Levon <levon@movementarian.org>
4717 * text2.C: do not clear selection after inc/decDepth
4720 2003-03-29 John Levon <levon@movementarian.org>
4723 * buffer.C: fix broken strerrors according to Lars
4725 2003-03-29 John Levon <levon@movementarian.org>
4727 * converters.C: more Alert cleanups
4729 2003-03-29 John Levon <levon@movementarian.org>
4731 * bufferview_funcs.C: remove pointless Alert
4733 * buffer.C: fix confusing error message when
4734 a template is chmoded 000
4736 2003-03-29 John Levon <levon@movementarian.org>
4740 * BufferView_pimpl.C: Alert fixes
4744 * tabular-old.C: remove unused table compat reading
4746 2003-03-29 John Levon <levon@movementarian.org>
4751 * lyx_cb.C: more Alert cleanups
4753 * lyxfunc.C: don't allow chktex if not latex document
4755 2003-03-29 John Levon <levon@movementarian.org>
4759 * buffer.C: warnings pushed down from support/,
4762 2003-03-29 John Levon <levon@movementarian.org>
4764 * lyxfunc.C: safety check for C-r (revert)
4766 2003-03-29 John Levon <levon@movementarian.org>
4769 * bufferlist.C: several UI fixes using Alert::prompt.
4770 Fix the pointless looping quit code. Fix stupid revert
4775 * lyx_cb.C: use Alert::prompt
4777 * lyx_main.C: remove a silly question
4779 * lyxfunc.C: remove a couple of silly questions,
4782 2003-03-28 John Levon <levon@movementarian.org>
4784 * text2.C: fix bug 974 (End on empty par)
4786 2003-03-28 John Levon <levon@movementarian.org>
4788 * BufferView_pimpl.C:
4790 * lfuns.h: remove do-nothing math greek lfuns
4792 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4794 * lyxgluelength.h (isValidGlueLength): add default arg on
4795 parameter 2. Remove default arg from friend in class.
4797 * lyxlength.h (isValidLength): add default arg on parameter 2.
4798 Remove default arg from friend in class.
4800 * text2.C (LyXText): adjust, initialize refresh_row.
4804 (insertParagraph): adjst
4805 (redoParagraphs): adjust
4806 (fullRebreak): adjust
4807 (updateCounters): adjust
4808 (deleteEmptyParagraphMechanism): first attempt at fixing a
4811 * text.C (top_y): adjust
4812 (setHeightOfRow): adjust
4814 (getRowNearY): adjust
4816 * lyxtext.h: include RowList.h
4817 (~LyXText): not needed anymore, deleted.
4818 (firstRow): modify for RowList
4819 (lastRow): new function
4820 Delete firstrow and lastrow class variables, add a Rowlist
4821 rowlist_ class variable.
4823 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4826 * RowList.C (insert): fix case where it == begin().
4828 2003-03-26 Angus Leeming <leeming@lyx.org>
4830 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4831 the thesaurus dialog.
4833 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4835 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4837 * RowList.[Ch]: new files
4839 * ParagraphList.C (erase): handle the case where it == begin
4842 2003-03-25 John Levon <levon@movementarian.org>
4846 * aspell.C: add new aspell support
4849 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4852 2003-03-25 Angus Leeming <leeming@lyx.org>
4855 * LyXAction.C (init): new LFUN_INSET_INSERT.
4857 * BufferView_pimpl.C (dispatch): split out part of the
4858 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4860 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4863 2003-03-25 Angus Leeming <leeming@lyx.org>
4865 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4867 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4870 * text3.C: remove useless row->height(0)
4872 2003-03-25 John Levon <levon@movementarian.org>
4876 * text3.C: rename the refreshing stuff to better names
4878 2003-03-24 John Levon <levon@movementarian.org>
4880 * BufferView_pimpl.h:
4881 * BufferView_pimpl.C: update layout choice on a mouse
4884 2003-03-23 John Levon <levon@movementarian.org>
4886 * Makefile.am: fix commandtags.h reference
4888 2003-03-22 John Levon <levon@movementarian.org>
4890 * BufferView_pimpl.C:
4895 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4897 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4900 * text.C: take the rtl methods out of line
4902 2003-03-21 André Pönitz <poenitz@gmx.net>
4904 * metricsinfo.[Ch]: new files containing structures to be passed around
4905 during the two-phase-drawing...
4907 2003-03-21 André Pönitz <poenitz@gmx.net>
4909 * lyxtextclass.C: read 'environment' tag.
4911 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4913 * text2.C (removeRow): fix bug 964
4915 2003-03-20 John Levon <levon@movementarian.org>
4919 * text2.C: paint cleanups. Inset::update() dropped font
4922 2003-03-19 John Levon <levon@movementarian.org>
4924 * lyxfunc.C: only fitcursor/markDirty if available()
4926 2003-03-19 John Levon <levon@movementarian.org>
4928 * commandtags.h: rename to ...
4930 * lfuns.h: ... this, and renumber / cleanup
4932 2003-03-19 John Levon <levon@movementarian.org>
4934 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4935 fit the cursor after an lfun
4939 * BufferView_pimpl.h:
4940 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4942 * LyXAction.C: layout-character should have ReadOnly
4944 * ParagraphParameters.C:
4946 * bufferview_funcs.C:
4953 * undo_funcs.C: changes from above
4955 2003-03-18 John Levon <levon@movementarian.org>
4957 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4958 remove it from update()
4960 * lyxfunc.C: update layout choice after an lfun
4962 * text3.C: remove extra updateLayoutChoice()s
4964 2003-03-18 John Levon <levon@movementarian.org>
4966 * text.C: top_y change means full repaint, fix
4967 a drawing bug with cursor movement
4969 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4973 * text2.C: anchor row on setCursor
4975 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4977 * lyxtext.h: remove almost all mutable keywords
4980 * text3.C: remove const keywords accordingly
4982 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4984 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4986 (TeXEnvironment): ditto
4989 2003-03-17 John Levon <levon@movementarian.org>
4991 * text.C (rowBreakPoint): remove attempt to fix displayed
4992 math insets inside a manual label
4994 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4996 * lyxtext.h: remove BufferView* as first arg from almost all class
4998 * other files: adjust.
5000 2003-03-17 John Levon <levon@movementarian.org>
5004 * text2.C: more paint cleanups
5006 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5009 * rowpainter.C: remove "smart" background painting code
5011 2003-03-16 John Levon <levon@movementarian.org>
5016 * text3.C: add helper functions for setting refresh_row/y
5018 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5020 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5021 newline inset which *can* get inserted in the pass_thru layouts.
5022 This is primarily for literate documents.
5024 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5026 * buffer.C: increment LYX_FORMAT to 223
5028 2003-03-14 André Pönitz <poenitz@gmx.net>
5030 * textclass.h: prepare for environment handling, ws changes
5031 * lyxlayout.C: read latexheader and latexfooter tags
5033 2003-03-14 John Levon <levon@movementarian.org>
5035 * text2.C: rewrite ::status() a bit
5037 2003-03-13 John Levon <levon@movementarian.org>
5039 * lyxtext.h: add some docs
5041 2003-03-13 John Levon <levon@movementarian.org>
5046 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5048 2003-03-13 John Levon <levon@movementarian.org>
5050 * text3.C: fix appendix redrawing
5052 2003-03-13 John Levon <levon@movementarian.org>
5054 * text.C (setHeightOfRow):
5056 * rowpainter.C: make appendix mark have the text
5057 "Appendix" so the user knows what it is
5060 * LColor.C: s/appendixline/appendix/ from above
5062 2003-03-13 John Levon <levon@movementarian.org>
5064 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5066 * text.C: fix a getChar(pos) bug properly
5068 2003-03-13 Angus Leeming <leeming@lyx.org>
5071 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5072 Probably only temporary. Let's see how things pan out.
5074 * BufferView.C (unlockInset):
5075 * BufferView_pimpl.C (fitCursor):
5076 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5078 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5079 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5081 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5082 new functions that convert ParagraphParameters to and from a string.
5084 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5085 BufferView::Pimpl's dispatch.
5086 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5088 2003-03-13 André Pönitz <poenitz@gmx.net>
5092 * factory.C: make it aware of InsetEnv
5094 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5096 * text2.C (setCursor): never ask for one past last
5097 (setCursor): add some debugging messages.
5099 * text.C (singleWidth): never ask for one past last
5100 (singleWidth): ditto
5102 (rightMargin): ditto
5103 (rowBreakPoint): ditto
5104 (setHeightOfRow): ditto
5105 (prepareToPrint): ditto
5107 * rowpainter.C (paintBackground): never ask for one past last
5108 (paintText): never ask for one past last
5110 * paragraph_pimpl.C (getChar): make the assert stricter, never
5111 allow the one past last pos to be taken
5113 * paragraph.C (getChar): ws changes only
5115 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5116 (numberOfSeparators): ditto
5117 (numberOfHfills): ditto
5119 2003-03-12 John Levon <levon@movementarian.org>
5125 * paragraph_funcs.C: fix per-buffer authorlists
5127 2003-03-12 John Levon <levon@movementarian.org>
5129 * text.C: fix newline in right address
5131 2003-03-12 Angus Leeming <leeming@lyx.org>
5133 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5134 duplicate those in LyXFunc::dispatch.
5138 * ToolbarDefaults.C:
5139 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5140 Add LFUN_FONTFREE_UPDATE.
5142 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5143 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5145 * bufferview_func.[Ch]: several new functions to facilliate
5146 transfer of data to and from the character dialog.
5148 2003-03-12 John Levon <levon@movementarian.org>
5153 * paragraph_funcs.C:
5154 * paragraph_pimpl.C:
5158 * text3.C: remove META_NEWLINE in favour of an inset
5161 * rowpainter.C: remove paintNewline (done by inset)
5163 2003-03-12 John Levon <levon@movementarian.org>
5165 * paragraph_pimpl.C: complain about bad getChar()s
5166 for a while at least
5168 2003-03-12 John Levon <levon@movementarian.org>
5171 * buffer.C: move paragraph read into a separate function,
5172 a little renaming to reflect that.
5175 * bufferparams.C: remove the author_ids map, not necessary now
5178 * factory.C: moved Buffer::readInset to here
5180 * paragraph_funcs.h:
5181 * paragraph_funcs.C: readParagraph free function moved from
5184 * tabular.C: name change
5186 2003-03-12 John Levon <levon@movementarian.org>
5189 * ParagraphParameters.C: move par params input to
5192 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5193 behave like a normal read from the stream wrt reading
5194 a line vs. a \\token
5196 2003-03-12 John Levon <levon@movementarian.org>
5199 * ParagraphParameters.h:
5200 * ParagraphParameters.C: move output code to a
5203 2003-03-12 John Levon <levon@movementarian.org>
5205 * BufferView.C (insertLyXFile):
5208 * tabular.C: use a parlist iterator for creating the
5211 2003-03-12 John Levon <levon@movementarian.org>
5213 * buffer.C: make current_change static local not
5216 2003-03-12 John Levon <levon@movementarian.org>
5218 * buffer.C: fix insertStringAsLines for change tracking
5220 2003-03-12 John Levon <levon@movementarian.org>
5227 * bufferparams.C: move author list into params. Rename some
5228 functions. Move the header reading into a separate token
5229 loop. Move the header token reading into BufferParams.
5231 2003-03-12 John Levon <levon@movementarian.org>
5233 * changes.C: put debug inside lyxerr.debugging() checks
5235 2003-03-11 André Pönitz <poenitz@gmx.net>
5237 * factory.C: make it aware of InsetHFill
5239 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5241 * buffer.C (latexParagraphs): move function from here...
5242 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5245 2003-03-10 Angus Leeming <leeming@lyx.org>
5247 * LyXAction.C (init): fix bug in poplating array with multiple entries
5248 with the same LFUN (spotted by JMarc).
5250 2003-03-10 John Levon <levon@movementarian.org>
5253 * text2.C: move getColumnNearX() near its
5256 2003-03-10 John Levon <levon@movementarian.org>
5258 * text.C: fix break before a minipage
5260 2003-03-10 John Levon <levon@movementarian.org>
5262 * text.C: fix the last commit
5264 2003-03-09 John Levon <levon@movementarian.org>
5268 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5269 bug 365 (don't break before insets unless needed). Don't
5270 return a value > last under any circumstances.
5272 2003-03-09 Angus Leeming <leeming@lyx.org>
5274 * BufferView_pimpl.C (trackChanges, dispatch): call
5275 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5277 2003-03-09 Angus Leeming <leeming@lyx.org>
5279 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5280 than Dialogs::showAboutlyx().
5282 2003-03-09 Angus Leeming <leeming@lyx.org>
5284 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5285 than Dialogs::showTabularCreate().
5287 2003-03-09 John Levon <levon@movementarian.org>
5291 * text2.C: 3rd arg to nextBreakPoint was always the same.
5294 2003-03-08 John Levon <levon@movementarian.org>
5301 * text2.C: Remove the "main" bit from the "main body"
5304 2003-03-08 John Levon <levon@movementarian.org>
5306 * text.C (leftMargin): The left margin of an empty
5307 manual label paragraph should not include the label width
5310 * text.C (prepareToPrint): don't attempt to measure hfills
5311 for empty manual label paragraphs - the answer should be 0
5313 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5315 * CutAndPaste.C: remove commented code and reindent.
5317 2003-03-08 John Levon <levon@movementarian.org>
5320 * lyxfunc.C: move reloadBuffer()
5323 * BufferView.C: to here
5325 * lyxvc.C: add comment
5328 * vc-backend.C: call bv->reload() to avoid
5329 getStatus() check on MENURELOAD
5331 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5333 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5334 to an old format .dep file.
5336 2003-03-07 Angus Leeming <leeming@lyx.org>
5338 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5339 when the LFUN_MOUSE_RELEASE should have been handled by
5340 inset->localDispatch.
5342 2003-03-07 Angus Leeming <leeming@lyx.org>
5344 * BufferView_pimpl.C (dispatch):
5345 * LyXAction.C (init):
5346 * ToolbarDefaults.C (init):
5348 * lyxfunc.C (getStatus):
5349 remove LFUN_INSET_GRAPHICS.
5351 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5353 2003-03-07 Angus Leeming <leeming@lyx.org>
5356 * LyXAction.C (init):
5357 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5359 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5362 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5364 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5365 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5367 2003-03-07 Angus Leeming <leeming@lyx.org>
5369 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5372 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5374 * ParagraphList.C (front): new function
5377 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5379 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5380 and top_row_offset_. removed var first_y.
5382 * text2.C (LyXText, removeRow):
5384 * BufferView_pimpl.C:
5385 use these methods instead of using first_y
5387 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5389 * text2.C (pasteSelection): adjust for checkPastePossible
5391 * CutAndPaste.C: remove Paragraph * buf and replace with
5392 ParagraphList paragraphs.
5393 (DeleteBuffer): delete
5394 (cutSelection): change the tc type to textclass_type
5395 (copySelection): change the tc type to textclass_type
5396 (copySelection): adjust for ParagraphList
5397 (pasteSelection): change the tc type to textclass_type
5398 (pasteSelection): adjust for Paragraphlist
5399 (nrOfParagraphs): simplify for ParagraphList
5400 (checkPastePossible): simplify for ParagraphList
5401 (checkPastePossible): remove unused arg
5403 * ParagraphList.C (insert): handle the case where there are no
5406 * CutAndPaste.h: make CutAndPaste a namespace.
5408 * text3.C (dispatch): adjust
5410 * text.C (breakParagraph): add a ParagraphList as arg
5412 * paragraph_funcs.C (breakParagraph): change to take a
5413 BufferParams and a ParagraphList as args.
5414 (breakParagraphConservative): ditto
5415 (mergeParagraph): ditto
5416 (TeXDeeper): add a ParagraphList arg
5417 (TeXEnvironment): ditto
5420 * buffer.C (readLyXformat2): adjust
5421 (insertStringAsLines): adjust
5422 (latexParagraphs): adjust
5424 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5425 (cutSelection): adjust
5426 (pasteSelection): adjust
5428 * BufferView_pimpl.C (insertInset): adjust
5430 2003-03-05 Angus Leeming <leeming@lyx.org>
5433 * LyXAction.C (init):
5434 * BufferView_pimpl.C (dispatch):
5435 * lyxfunc.C (getStatus):
5436 remove LFUN_CHILD_INSERT.
5438 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5440 2003-03-05 Angus Leeming <leeming@lyx.org>
5443 * LyXAction.C (init):
5444 * src/factory.C (createInset):
5445 * lyxfunc.C (getStatus):
5446 * text3.C (dispatch):
5447 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5449 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5451 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5453 * ParagraphList.C (insert): handle insert right before end()
5454 (erase): fix cases where it can be first or last paragraph.
5456 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5458 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5459 Paragraph::next and Paragraph::previous
5462 * text.C (breakParagraph): adjust
5464 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5465 BufferParams& as arg.
5466 (breakParagraph): use ParagraphList::insert
5467 (breakParagraphConservative): take a Buffer* instead of a
5468 BufferParams& as arg.
5469 (breakParagraphConservative): use ParagraphList::insert.
5471 * buffer.C (insertStringAsLines): un-const it
5472 (insertStringAsLines): adjust
5474 * ParagraphList.C (insert): new function
5476 * CutAndPaste.C (pasteSelection): adjust
5478 * text.C (backspace): adjust
5480 * tabular.C (SetMultiColumn): adjust
5482 * CutAndPaste.C (cutSelection): adjust
5483 (pasteSelection): adjust
5485 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5486 Buffer const * as arg
5488 * ParagraphList.C (erase): new function
5489 * paragraph_funcs.C (mergeParagraph): use it
5490 (mergeParagraph): make it take a Buffer* instead of a
5491 BufferParams* as arg
5493 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5495 (breakParagraphConservative): ditto
5497 * paragraph.h: remove the breakParagraph friend
5499 * paragraph.C (eraseIntern): new function
5500 (setChange): new function
5502 * paragraph_funcs.C (mergeParagraph): make it take a
5503 ParagraphList::iterator instead of a Paragraph *, adjust
5506 * paragraph.h: move an #endif so that the change tracking stuff
5507 also works in the NO_NEXT case.
5509 2003-03-04 Angus Leeming <leeming@lyx.org>
5512 * LyXAction.C: new LFUN_INSET_MODIFY.
5514 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5515 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5517 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5519 * several files: ws changes only
5521 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5522 (TeXEnvironment): ditto
5525 * buffer.C (makeLaTeXFile): adjust
5526 (latexParagraphs): make it take ParagraphList::iterator as args
5528 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5530 * buffer.C (latexParagraphs): adjust
5532 * paragraph.C (TeXOnePar): move function...
5533 (optArgInset): move function...
5534 (TeXEnvironment): move function...
5535 * paragraph_pimpl.C (TeXDeeper): move function...
5536 * paragraph_funcs.C: ...here
5538 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5540 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5542 * buffer.C (readInset): remove compability code for old Figure and
5545 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5547 * buffer.C: ws changes
5550 * BufferView_pimpl.C: ditto
5553 * bufferlist.h: ditto
5557 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5559 * converter.[Ch]: split into itself +
5562 * Makefile.am: += graph.[Ch] + format.[Ch]
5569 * lyxrc.C: added #include "format.h"
5571 2003-02-27 Angus Leeming <leeming@lyx.org>
5573 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5576 * factory.C (createInset): add "label" to the factory.
5578 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5579 string and do no more.
5581 2003-02-27 Angus Leeming <leeming@lyx.org>
5584 * LyXAction.C (init):
5585 * factory.C (createInset):
5586 * BufferView_pimpl.C (dispatch):
5587 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5589 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5591 * lyxfunc.C (dispatch):
5592 * text3.C (dispatch): pass name to params2string.
5594 2003-02-26 Angus Leeming <leeming@lyx.org>
5596 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5598 Rearrange the ~includes. Strip out the unnecessary ones.
5600 * factory.C (createInset): reformat.
5601 create new insets for the various LFUN_XYZ_APPLY lfuns.
5603 2003-02-26 John Levon <levon@movementarian.org>
5606 * lyxrow.C: add isParStart,isParEnd helpers
5608 * paragraph.h: make isInserted/DeletedText take refs
5610 * paragraph_funcs.h:
5611 * paragraph_funcs.C: remove #if 0'd code
5616 * text.C: use lyxrow helpers above.
5617 Move draw and paint routines to RowPainter.
5618 Make several methods use refs not pointers.
5619 Make backgroundColor() const.
5620 Add markChangeInDraw(), isInInset().
5621 Merge changeRegionCase into changeCase.
5622 Make workWidth() shouldn't-happen code into an Assert.
5625 * rowpainter.C: new class for painting a row.
5628 * vspace.C: make inPixels take a ref
5630 2003-02-26 Angus Leeming <leeming@lyx.org>
5632 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5635 2003-02-25 John Levon <levon@movementarian.org>
5637 * ispell.C: give the forked command a more accurate name
5639 2003-02-22 John Levon <levon@movementarian.org>
5642 * toc.C: make TocItem store an id not a Paragraph *
5645 2003-02-21 Angus Leeming <leeming@lyx.org>
5647 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5648 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5649 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5650 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5651 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5652 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5654 * BufferView_pimpl.C (dispatch):
5655 * LyXAction.C (init):
5656 * factory.C (createInset):
5657 * lyxfunc.C (getStatus, dispatch):
5658 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5660 2003-02-21 Angus Leeming <leeming@lyx.org>
5662 * BufferView_pimpl.C (MenuInsertLyXFile):
5663 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5664 * lyxfunc.C (menuNew, open, doImport):
5665 no longer pass a LyXView & to fileDlg.
5667 2003-02-21 Angus Leeming <leeming@lyx.org>
5669 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5670 * LyXAction.C: change, BIBKEY to BIBITEM.
5671 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5672 Change InsetBibKey to InsetBibitem.
5673 Change BIBKEY_CODE to BIBITEM_CODE.
5674 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5675 * factory.C: replace insetbib.h with insetbibitem.h.
5676 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5677 * paragraph.C: replace insetbib.h with insetbibitem.h.
5678 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5679 Change bibkey() to bibitem().
5680 * text.C: remove insetbib.h.
5681 * text2.C: replace insetbib.h with insetbibitem.h.
5682 change bibkey() to bibitem().
5683 * text3.C: remove insetbib.h.
5684 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5686 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5688 * lyxrc.C (output): enclose user email in quotes (in case there are
5691 2003-02-18 John Levon <levon@movementarian.org>
5693 * buffer.h: add std::
5695 2003-02-17 John Levon <levon@movementarian.org>
5701 * pspell.C: reworking. Especially in ispell, a large
5702 number of clean ups and bug fixes.
5704 * lyxfunc.C: fix revert to behave sensibly
5706 2003-02-17 André Pönitz <poenitz@gmx.net>
5709 * commandtags.h: new LFUN_INSERT_BIBKEY
5719 * paragraph_func.C: remove special bibkey handling
5721 2003-02-17 John Levon <levon@movementarian.org>
5723 * text.C (Delete): fix case where delete at the end of
5724 the very first paragraph would not merge the pars
5726 2003-02-17 John Levon <levon@movementarian.org>
5728 * lyxrow.C: fix lastPrintablePos()
5730 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5732 * bufferparams.C (writeLaTeX): add a std:here
5734 * buffer.C: and remove a using directive there
5736 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5738 * buffer.C (makeLaTeXFile): move the code that generates the
5741 * bufferparams.C (writeLaTeX): ... in this new method
5743 * LaTeXFeatures.C (getEncodingSet): make const
5744 (getLanguages): make const
5746 * MenuBackend.C (binding): returns the binding associated to this
5748 (add): sets the status of each item by calling getStatus. Adds
5750 (read): add support for OptSubMenu
5751 (expand): remove extra separator at the end of expanded menu
5753 2003-02-15 John Levon <levon@movementarian.org>
5756 * BufferView_pimpl.C:
5758 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5759 inset code that had no actual effect. Remove unneeded status
5762 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5764 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5767 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5769 * text.C (drawLengthMarker): also draw an arrow marker for
5770 symbolic lengths (medskip...)
5772 2003-02-14 John Levon <levon@movementarian.org>
5775 * tabular.C: better method names
5777 2003-02-14 John Levon <levon@movementarian.org>
5779 * BufferView_pimpl.C:
5784 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5785 it's a more accurate name. Remove some pointless uses.
5787 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5789 * text2.C (LyXText): change order of initilizers to shut off
5792 2003-02-14 John Levon <levon@movementarian.org>
5794 * buffer.C: use ParIterator for getParFromID()
5798 * paragraph_pimpl.h:
5799 * paragraph_pimpl.C: remove unused getParFromID()
5801 2003-02-14 John Levon <levon@movementarian.org>
5803 * buffer.C: remove some very old #if 0'd parse code
5805 2003-02-13 John Levon <levon@movementarian.org>
5809 * text2.C: move hfillExpansion(), numberOfSeparators(),
5810 rowLast(), rowLastPrintable(), numberofHfills(),
5811 numberOfLabelHfills() ...
5814 * lyxrow.C: ... to member functions here.
5819 * text.C: remove LyXText::beginningOfMainBody(), and call
5820 p->beginningOfMainBody() directly. Move the check for
5821 LABEL_MANUAL into the latter.
5828 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5834 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5835 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5837 2003-02-13 John Levon <levon@movementarian.org>
5839 * CutAndPaste.C: remove debug
5841 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5843 * paragraph.C (asString): remove two unused variables
5845 * lyxtextclass.C (readTitleType):
5847 (LyXTextClass): handle new members titletype_ and titlename_
5849 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5851 2003-02-09 John Levon <levon@movementarian.org>
5854 * buffer.C: replace hand-coded list with a map for the dep clean
5856 2003-02-08 John Levon <levon@movementarian.org>
5858 * LaTeX.C: consolidate code into showRunMessage() helper
5860 2003-02-08 John Levon <levon@movementarian.org>
5865 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5866 and pass the size in explicitly
5868 * BufferView_pimpl.h:
5869 * BufferView_pimpl.C:
5871 * BufferView.C: add getCurrentChange()
5873 * BufferView_pimpl.h:
5874 * BufferView_pimpl.C: handle change lfuns
5876 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5877 for changes. Mark pasted paragraphs as new.
5879 * support/lyxtime.h:
5880 * support/lyxtime.C:
5881 * DepTable.C: abstract time_t as lyx::time_type
5884 * LColor.C: add colours for new text, deleted text, changebars
5886 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5887 package use "usenames" option.
5891 * LyXAction.C: add change lfuns
5895 * author.C: author handling
5898 * buffer.C: add a per-buffer author list, with first entry as
5899 current author. Handle new .lyx tokens for change tracking. Output
5900 author list to .lyx file. Output dvipost stuff to .tex preamble.
5901 Bump lyx format to 222.
5904 * bufferlist.C: add setCurrentAuthor() to reset current author details
5908 * bufferparams.C: add param for tracking
5910 * bufferview_funcs.C: output change info in minibuffer
5914 * changes.C: add change-tracking structure
5917 * debug.C: add CHANGES debug flag
5920 * lyxfind.C: add code for finding the next change piece
5923 * lyxrc.C: add user_name and user_email
5926 * lyxrow.C: add a metric for the top of the text line
5929 * text.C: implement accept/rejectChange()
5932 * text.C: paint changebars. Paint new/deleted text in the chosen
5933 colours. Strike through deleted text.
5937 * paragraph_pimpl.h:
5938 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5939 in the current change to the insert functions. Rework erase to
5940 mark text as deleted, adding an eraseIntern() and a range-based
5941 erase(). Implement per-paragraph change lookup and
5944 * paragraph_funcs.C: Fixup paste for change tracking.
5946 * tabular.C: mark added row/columns as new.
5948 * text.C: fix rowLast() to never return -1. Don't allow
5949 spellchecking of deleted text. Track transpose changes. Don't
5950 allow paragraph break or merge where appropriate.
5952 * text2.C: leave cursor at end of selection after a cut.
5954 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5956 * text.C (getLengthMarkerHeight):
5957 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5958 visible on screen too.
5960 2003-02-07 John Levon <levon@movementarian.org>
5962 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5964 2003-02-05 Angus Leeming <leeming@lyx.org>
5966 * lyxserver.C (read_ready): revert my patch of 11 September last year
5967 as it sends PC cpu through the roof. Presumably this means that
5968 the lyxserver will no longer run on an Alpha...
5970 2003-01-30 Angus Leeming <leeming@lyx.org>
5972 * factory.C (createInset): create an InsetCommandParam of type "index"
5973 and use it to 'do the right thing'.
5975 * text2.C (getStringToIndex): ensure that cursor position is always
5976 reset to the reset_cursor position.
5978 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5980 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5983 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5987 * lyxfunc.C: Output messages with identical spelling, punctuation,
5990 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5992 * MenuBackend.C (expandFormats): List only viewable export formats
5995 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5998 * lyxfunc.C (getStatus): Make sure that formats other than
5999 "fax" can also be disabled
6001 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6003 * text3.C (dispatch): put the lfuns that insert insets in 3
6004 groups, and call doInsertInset with appropriate arguments.
6005 (doInsertInset): new function, that creates an inset and inserts
6006 it according to some boolean parameters.
6008 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6010 * buffer.C (readFile): remember to pass on 'par' when calling
6011 readFile recursively.
6013 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6015 * MenuBackend.C (expandFormats): add "..." to import formats.
6017 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6019 * paragraph.C (asString): Remove XForms RTL hacks.
6021 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6022 * buffer.C: fix typo
6024 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6026 * Makefile.am (LIBS): delete var
6027 (lyx_LDADD): add @LIBS@ here instead.
6029 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6031 * Clarify the meaning of "wheel mouse jump"
6033 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6035 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6038 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6040 * importer.C (Loaders): do not preallocate 3 elements in the
6041 vector, since one ends up with 6 elements otherwise
6043 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6045 * DepTable.C (write): write the file name as last element of the
6046 .dep file (because it may contain spaces)
6047 (read): read info in the right order
6049 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6051 * paragraph_pimpl.C (simpleTeXBlanks):
6052 (simpleTeXSpecialChars):
6053 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6055 * tabular.C (latex): add some missing case statements. Reindent.
6057 * MenuBackend.C (expandToc): remove unused variable.
6059 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6068 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6071 2003-01-05 John Levon <levon@movementarian.org>
6074 * BufferView.C: add getEncoding()
6077 * kbsequence.C: do not store last keypress
6080 * lyxfunc.C: store last keypress here instead. Pass encoding
6083 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6085 * lyx_main.C (init): remove annoying error message when following
6086 symbolic links (bug #780)
6088 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6090 * text.C (insertChar):
6091 * lyxrc.C (getDescription): remove extra spaces
6093 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6095 * lyxrc.C (getDescription): remove extra spaces
6097 2002-12-20 John Levon <levon@movementarian.org>
6099 * text3.C: hack fix for page up/down across tall rows
6101 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6103 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6106 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6108 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6109 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6110 thesaurus is not compiled in
6112 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6114 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6116 2002-12-16 Angus Leeming <leeming@lyx.org>
6119 * lyx_main.C (init): remove override_x_deadkeys stuff.
6121 2002-12-12 John Levon <levon@movementarian.org>
6123 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6124 insert. Only remove shift modifier under strict
6127 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6129 * MenuBackend.C (expandToc): fix crash.
6131 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6133 * MenuBackend.C (expandToc): gettext on float names.
6135 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6137 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6138 implement bool empty() [bug 490]
6140 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6142 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6144 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6146 * several files: ws changes
6148 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6150 * text2.C (setCounter): clean up a bit, use boost.format.
6151 (updateCounters): initialize par upon declaration.
6153 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6154 if the layout exists. We do not just store the layout any more.
6155 (SwitchLayoutsBetweenClasses): use boost.format
6157 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6159 * converter.C (convert): if from and to files are the same, use a
6160 temporary files as intermediary
6162 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6165 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6167 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6169 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6171 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6173 * tabular.C (asciiPrintCell): use string(size, char) instead of
6176 * sgml.C (openTag): fix order of arguments to string constructor
6179 * lyxfunc.C (dispatch): use boost.format
6181 * lots of files: change "c" -> 'c'
6183 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6185 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6187 2002-11-25 Angus Leeming <leeming@lyx.org>
6189 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6191 * lyx_main.C (init): compile fix.
6193 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6195 * lyx_cb.C (start): boost.formatify
6196 do not include <iostream>
6198 * lengthcommon.C: ws only
6200 * boost-inst.C,BoostFormat.h: add more explict instantations
6202 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6204 * lots of files: handle USE_BOOST_FORMAT
6206 2002-11-21 John Levon <levon@movementarian.org>
6208 * pspell.C: fix compile
6210 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6212 * lyxfunc.C (dispatch): use boost::format
6216 * lyxfont.C (stateText): use boost::format
6218 * lyx_main.C (LyX): use boost::format
6220 (queryUserLyXDir): ditto
6223 (typedef boost::function): use the recommened syntax.
6225 * importer.C (Import): use boost::format
6227 * debug.C (showLevel): use boost::format
6229 * converter.C (view): use boost::format
6234 * bufferview_funcs.C (currentState): use boost::format
6236 * bufferlist.C (emergencyWrite): use boost::format
6238 * buffer.C (readLyXformat2): use boost::format
6239 (parseSingleLyXformat2Token): ditto
6241 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6243 * LaTeX.C (run): use boost::format
6245 * Chktex.C (scanLogFile): use boost::format
6247 * BufferView_pimpl.C (savePosition): use boost::format
6248 (restorePosition): ditto
6249 (MenuInsertLyXFile): ditto
6251 * BoostFormat.h: help file for explicit instation.
6253 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6255 * tabular.C (latex): Support for block alignment in fixed width
6258 2002-11-17 John Levon <levon@movementarian.org>
6260 * BufferView_pimpl.C:
6262 * lyxfunc.C: split filedialog into open/save
6264 2002-11-08 Juergen Vigna <jug@sad.it>
6266 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6267 by my last patch (hopefully).
6269 2002-11-08 John Levon <levon@movementarian.org>
6278 * toc.C: ParConstIterator, and use it (from Lars)
6280 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6282 * lyxtextclass.[Ch]: revise and add doxygen comments
6284 2002-11-07 John Levon <levon@movementarian.org>
6286 * text.C: fix progress value for spellchecker
6288 * toc.C: fix navigate menu for insetwrap inside minipage
6290 * paragraph_funcs.C: added FIXME for suspect code
6292 2002-11-07 John Levon <levon@movementarian.org>
6294 * BufferView_pimpl.C: fix redrawing of insets
6297 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6299 * text2.C (updateCounters): fix bug 668
6301 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6303 * text3.C (dispatch): Do not make the buffer dirty when moving the
6306 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6308 * vc-backend.C: STRCONV
6311 * text2.C (setCounter): STRCONV
6313 * paragraph.C (asString): STRCONV
6315 * lyxlength.C (asString): STRCONV
6316 (asLatexString): ditto
6318 * lyxgluelength.C (asString): STRCONV
6319 (asLatexString): ditto
6321 * lyxfunc.C (dispatch): STRCONV
6324 * lyxfont.C (stateText): STRCONV
6326 * importer.C (Import): STRCONV
6328 * counters.C (labelItem): STRCONV
6329 (numberLabel): ditto
6330 (numberLabel): remove unused ostringstream o
6335 * bufferview_funcs.C (currentState): STRCONV
6337 * buffer.C (readFile): STRCONV
6338 (asciiParagraph): ditto
6339 (makeLaTeXFile): ditto
6341 * Spacing.C (writeEnvirBegin): STRCONV
6343 * LaTeXFeatures.C (getLanguages): STRCONV
6344 (getPackages): ditto
6346 (getBabelOptions): ditto
6347 (getTClassPreamble): ditto
6348 (getLyXSGMLEntities): ditto
6349 (getIncludedFiles): ditto
6353 (scanAuxFile): ditto
6356 * LString.h: add the STRCONV macros
6358 * BufferView_pimpl.C (savePosition): STRCONV
6359 (restorePosition): ditto
6360 (MenuInsertLyXFile): ditto
6362 * vc-backend.C (scanMaster): change from submatch[...] to
6365 * funcrequest.C: include config.h
6367 * factory.C: include config.h
6369 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6371 * box.C: include config.h
6373 * LaTeX.C (scanAuxFile): change from submatch[...] to
6377 2002-10-25 Angus Leeming <leeming@lyx.org>
6379 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6381 * ispell.[Ch] (setError): new method.
6382 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6383 Use setError() insetead of goto END.
6385 * lyx_cb.C (AutoSave): move out child process into new class
6388 2002-10-30 John Levon <levon@movementarian.org>
6390 * text3.C: make start appendix undoable
6392 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6394 * lyxlength.C (inPixels): Fix returned value.
6396 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6399 2002-10-24 Angus Leeming <leeming@lyx.org>
6401 * lyxgluelength.h: no need to forward declare BufferParams
6402 or BufferView, so don't.
6404 2002-10-21 John Levon <levon@movementarian.org>
6406 * BufferView.C: menuUndo ->undo, redo
6408 * BufferView.h: document, remove dead, make some methods private
6410 * paragraph_funcs.h:
6411 * paragraph_funcs.C:
6412 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6417 * sgml.C: move sgml open/close tag into sgml.C
6419 * bufferview_funcs.h: unused prototype
6422 * lyxfunc.C: remove unused
6425 * text.C: remove unused
6427 2002-10-21 John Levon <levon@movementarian.org>
6431 * BufferView_pimpl.h:
6432 * BufferView_pimpl.C: fix mouse wheel handling based on
6433 patch from Darren Freeman
6435 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6437 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6439 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6441 * lyxlength.C (inPixels): Fix hanfling of negative length.
6442 Fix LyXLength::MU case.
6444 2002-10-16 John Levon <levon@movementarian.org>
6446 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6448 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6450 * converter.C (view): add support for $$i (file name) and $$p
6451 (file path) for the viewer command. If $$i is not specified, then
6452 it is appended to the command (for compatibility with old syntax)
6454 2002-10-14 Juergen Vigna <jug@sad.it>
6456 * undo_funcs.C (textHandleUndo): alter the order in which the
6457 new undopar is added to the LyXText, as we have to set first
6458 the right prev/next and then add it as otherwise the rebuild of
6459 LyXText is not correct. Also reset the cursor to the right paragraph,
6460 with this IMO we could remove the hack in "redoParagraphs()".
6462 2002-10-09 Angus Leeming <leeming@lyx.org>
6464 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6465 to turn off an optimisation if a new inset is to be inserted.
6467 2002-10-11 André Pönitz <poenitz@gmx.net>
6469 * lyxtext.h: make some functions public to allow access
6470 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6472 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6474 * text3.C (dispatch): when changing layout, avoid an infinite loop
6477 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6479 * lyxrc.C (read): treat a viewer or converter command of "none" as
6482 * MenuBackend.C (expandFormats): for an update, also allow the
6483 formats that are not viewable
6485 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6486 script if it is newer than the lyxrc.defaults in user directory
6488 2002-10-07 André Pönitz <poenitz@gmx.net>
6490 * text.C: Vitaly Lipatov's small i18n fix
6492 2002-09-25 Angus Leeming <leeming@lyx.org>
6494 * ispell.h: doxygen fix.
6496 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6498 * buffer.h (readFile): Add a new argument to the method, to allow
6499 reading of old-format templates.
6501 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6503 * toc.C (getTocList): Get TOC from InsetWrap.
6505 2002-09-16 John Levon <levon@movementarian.org>
6507 * lyxfunc.C: check tabular for cut/copy too
6509 2002-09-12 John Levon <levon@movementarian.org>
6514 * factory.C: add header
6516 * paragraph_funcs.h:
6517 * paragraph_funcs.C: cleanup
6519 2002-09-11 John Levon <levon@movementarian.org>
6521 * PrinterParams.h: odd/even default to true
6523 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6525 * PrinterParams.h: update printer parameters for new xforms dialog
6527 2002-09-11 Angus Leeming <leeming@lyx.org>
6529 * lyxserver.C (read_ready): re-write to make it more transparent
6530 and to make it work in coherent fashion under Tru64 Unix.
6532 2002-09-11 André Pönitz <poenitz@gmx.net>
6536 * text3.C: implement LFUN_WORDSEL
6538 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6540 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6541 make floatlist_ a boost::shared_ptr<FloatList>
6543 * lyxtextclass.C: include FloatList.h
6544 (LyXTextClass): initialize floatlist_
6545 (TextClassTags): add TC_NOFLOAT
6546 (Read): match "nofloat" to TC_NOFLOAT and use it.
6547 (readFloat): modify call to floatlist_
6551 * FloatList.[Ch] (FloatList): remove commented out float
6553 (erase): new function
6555 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6557 * MenuBackend.C (expandToc): fix crash when there is no document
6560 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6562 * many files: Add insetwrap.
6564 2002-09-09 John Levon <levon@movementarian.org>
6566 * text2.C: remove confusing and awkward depth wraparound
6568 2002-09-09 John Levon <levon@movementarian.org>
6570 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6573 * buffer.C: remove getIncludeonlyList()
6576 * lyxfunc.C: remove headers
6578 2002-09-09 Juergen Vigna <jug@sad.it>
6580 * text.C (getColumnNearX): fix form Michael this is most
6581 probably a cut&paste bug.
6583 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6585 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6587 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6588 references, ws changes.
6590 * text2.C (init): update counters after init
6591 (insertParagraph): no need to set counter on idividual paragraphs.
6592 (setCounter): access the counters object in the textclass object
6593 on in the buffer object.
6594 (updateCounters): ditto
6596 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6597 shared_ptr<Counters> to avoid loading counters.h in all
6599 (LyXTextClass): initialize ctrs_
6600 (TextClassTags): add TC_COUNTER, and ...
6601 (Read): use it here.
6602 (CounterTags): new tags
6603 (readCounter): new function
6604 (counters): new funtion
6605 (defaultLayoutName): return a const reference
6607 * counters.C (Counters): remove contructor
6608 (newCounter): remove a couple of unneeded statements.
6609 (newCounter): simplify a bit.
6610 (numberLabel): some small formatting changes.
6612 * buffer.[Ch]: remove all traces of counters, move the Counters
6613 object to the LyXTextClass.
6615 2002-09-06 Alain Castera <castera@in2p3.fr>
6617 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6618 package to set the horizontal alignment on fixed width columns.
6621 * lyx_sty.h: added tabularnewline macro def.
6623 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6625 2002-09-06 John Levon <levon@movementarian.org>
6627 * LyXAction.C: tooltips for sub/superscript
6629 * MenuBackend.C: a bit more verbose
6631 * lyxfunc.C: tiny clean
6633 * undo_funcs.C: document undo_frozen
6635 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6637 * counters.C (Counters): add missing algorithm counter.
6639 * text2.C (setCounter): lookup the counter with layouts latexname
6640 instead of by section number.
6641 (setCounter): use a hackish way to lookup the correct enum
6643 a float name->type change
6644 reset enum couners with counter name directly instead of depth value.
6646 * counters.C (Counters): remove the push_backs, change to use the
6647 float type not the float name.
6648 (labelItem): remove unused string, float name->type change
6650 * counters.h: don't include vector, loose the enums and sects vectors
6652 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6654 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6655 (Read): add float->TC_FLOAT to textclassTags
6656 (Read): and handle it in the switch
6657 (readFloat): new function
6659 * FloatList.C (FloatList): comment out the hardcoded float
6662 * lyxlayout.h: ws change.
6664 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6666 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6668 2002-09-03 Angus Leeming <leeming@lyx.org>
6670 * BufferView_pimpl.h: qualified name is not allowed in member
6671 declaration: WorkArea & Pimpl::workarea() const;
6673 * factory.C: added using std::endl directive.
6675 * text3.C: added using std::find and std::vector directives.
6677 2002-08-29 André Pönitz <poenitz@gmx.net>
6680 * text2.C: remove unused member number_of_rows
6683 * BufferView2.C: remove file, move contents to...
6684 * BufferView.C: ... here
6686 * BufferView_pimpl.C:
6687 * factory.C: move more inset creation to factory
6689 * vspace.C: avoid direct usage of LyXText, ws changes
6692 don't provide direct access to WorkArea, use two simple
6693 acessors haveSelction() and workHeight() instead
6696 2002-08-29 John Levon <levon@movementarian.org>
6698 * BufferView_pimpl.C (dispatch): do not continue when
6701 2002-08-28 André Pönitz <poenitz@gmx.net>
6703 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6706 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6708 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6710 * buffer.C: increment LYX_FORMAT to 221
6712 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6713 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6715 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6717 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6719 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6721 * factory.C (createInset): use LyXTextClass::floats
6723 * MenuBackend.C (expandFloatListInsert):
6724 (expandFloatInsert):
6727 * text2.C (setCounter):
6729 * LaTeXFeatures.C (useFloat):
6730 (getFloatDefinitions):
6732 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6734 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6735 floatlist_, with accessor floats().
6737 * FloatList.h: remove global FloatList
6739 2002-08-26 André Pönitz <poenitz@gmx.net>
6741 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6745 * BufferView_pimpl.C:
6746 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6748 2002-08-25 John Levon <levon@movementarian.org>
6750 * LyXAction.C: fix margin note description
6752 2002-08-24 John Levon <levon@movementarian.org>
6756 * bufferview_funcs.C:
6758 * undo_funcs.C: cleanups
6760 * lyxfunc.C: disable CUT/COPY when no selection
6762 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6764 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6765 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6767 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6768 Add backward compatibility to "mono", "gray" and "no".
6770 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6772 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6773 (and file_format >= 200).
6775 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6777 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6779 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6781 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6783 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6785 * BufferView_pimpl.C:
6792 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6793 inset and code to make it work with the paragraph code. The inset
6794 can be anywhere in the paragraph, but will only do the expected
6795 thing in LaTeX if the layout file contains the parameter line
6797 (or more generally, a nonzero value) for that layout.
6799 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6801 * paragraph.h: remove the declaration of undefined counters class
6804 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6806 * text2.C (setCounter): fixed enumeration mis-count as reported by
6807 Dr. Richard Hawkins.
6809 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6811 * paragraph_funcs.h: remove some unneeded includes
6813 * text.C (backspace): pasteParagraph now in global scipe
6815 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6816 (pasteSelection): ditto
6818 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6819 * paragraph_funcs.C (pasteParagraph): ... here
6821 2002-08-20 André Pönitz <poenitz@gmx.net>
6823 * commandtags.h: new LFUNs for swapping/copying table row/colums
6826 * lyxfunc.C: support for new lfuns
6828 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6831 * buffer.[Ch]: remove NO_COMPABILITY stuff
6833 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6835 * boost.C (throw_exception): new file, with helper function for
6836 boost compiled without exceptions.
6841 * ParameterStruct.h:
6842 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6844 * bufferlist.C (emergencyWriteAll): use boost bind
6846 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6848 * text.C: include paragraph_funcs.h
6849 (breakParagraph): breakParagraph is now in global scope
6851 * paragraph_funcs.[Ch]: new files
6853 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6856 * buffer.C: include paragraph_funcs.h
6857 (insertStringAsLines): breakParagraph is now in global scope
6859 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6862 * CutAndPaste.C: include paragraph_funcs.h
6863 (cutSelection): breakParagraphConservative is now in global scope
6864 (pasteSelection): ditto
6866 * buffer.h: declare oprator== and operator!= for
6867 Buffer::inset_iterator
6869 * bufferlist.C (emergencyWrite): don't use fmt(...)
6871 * text3.C: add using std::endl
6873 * BufferView.C (moveCursorUpdate): remove default arg
6875 2002-08-20 André Pönitz <poenitz@gmx.net>
6877 * buffer.[Ch]: move inline functions to .C
6880 * BufferView_pimpl.C:
6882 * buffer.[Ch]: use improved inset_iterator
6885 * paragraph.[Ch]: write one paragraph at a time
6887 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6889 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6890 style if style is not specified.
6892 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6894 * text2.C (setCounter): when searching for right label for a
6895 caption, make sure to recurse to parent insets (so that a caption
6896 in a minipage in a figure float works) (bug #568)
6898 2002-08-20 André Pönitz <poenitz@gmx.net>
6900 * text3.C: new file for LyXText::dispatch() and helpers
6902 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6904 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6906 2002-08-19 André Pönitz <poenitz@gmx.net>
6909 * text.C: new LyXText::dispatch()
6911 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6913 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6915 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6917 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6920 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6922 * Makefile.am: use $(variables) instead of @substitutions@
6924 2002-08-15 André Pönitz <poenitz@gmx.net>
6927 * BufferView_pimpl.C: streamlining mathed <-> outer world
6931 * LyXAction.C: remove unused LFUN_MATH
6933 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6935 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6937 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6939 * paragraph.C (Paragraph): reformat a bit
6940 (cutIntoMinibuffer): use builtin InsetList function instad of
6944 * buffer.C: include boost/bind.hpp, add using std::for_each
6945 (writeFileAscii): use ParagraphList iterators
6946 (validate): use for_each for validate traversal of paragraphs
6947 (getBibkeyList): use ParagraphList iterators
6948 (resizeInsets): use for_each to resizeInsetsLyXText for all
6950 (getParFromID): use ParagraphList iterators
6952 * BufferView2.C (lockInset): use paragraph list and iterators
6954 2002-08-14 John Levon <levon@movementarian.org>
6956 * lyxserver.C: remove spurious xforms include
6958 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6960 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6962 2002-08-13 André Pönitz <poenitz@gmx.net>
6965 * lyxfunc.C: further cleaning
6967 2002-08-13 André Pönitz <poenitz@gmx.net>
6969 * funcrequest.h: new constructor
6971 * funcrequest.C: move stuff here from .h
6974 * BufferView_pimpl.C:
6977 * lyxfunc.C: subsequent changes
6979 * lyxfunc.h: new view() member function
6981 * lyxfunc.C: subsequent changes
6983 2002-08-13 Angus Leeming <leeming@lyx.org>
6986 * BufferView_pimpl.C:
6994 changes due to the changed LyXView interface that now returns references
6995 to member variables not pointers.
6997 2002-08-13 Angus Leeming <leeming@lyx.org>
6999 * WordLangTuple (word, lang_code): return references to strings,
7004 * lyxtext.h: forward-declare WordLangTuple.
7009 * text.C: #include "WordLangTuple.h".
7012 * text.C: (selectNextWordToSpellcheck): constify return type.
7014 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7020 * paragraph_pimpl.h:
7023 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7025 Made updateCounter always count from start of buffer, and removed
7026 second argument (par).
7027 Reverted floats number display to '#'. Perhaps I'll try again when the
7028 code base is sanitized a bit.
7030 2002-08-12 Angus Leeming <leeming@lyx.org>
7032 * buffer.[Ch] (getLabelList): constify.
7034 2002-08-07 André Pönitz <poenitz@gmx.net>
7036 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7038 * funcrequest.h: extension to keep mouse (x,y) position
7040 2002-08-12 Juergen Vigna <jug@sad.it>
7042 * BufferView2.C (insertErrors): forbid undo when inserting error
7045 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7047 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7049 * ParagraphList.[Ch]: new files
7051 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7053 * BufferView2.C (lockInset): ParagraphList changes
7056 * bufferlist.C: ditto
7060 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7062 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7063 unused class variable counter_,
7065 * paragraph.[Ch] (getFirstCounter): delete unused function
7067 * counters.C: include LAssert.h
7068 (reset): add a new function with no arg, change other version to
7069 not have def. arg and to not allow empty arg.
7071 * text2.C (setCounter): remove empty arg from call to Counters::reset
7073 2002-08-11 John Levon <levon@movementarian.org>
7075 * Makefile.am: add WordLangTuple.h
7077 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7079 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7080 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7082 * insets/insettext.C: InsetList changes
7084 * graphics/GraphicsSupport.C (operator()): InsetList changes
7086 * toc.C (getTocList): InsetList changes
7088 * paragraph_pimpl.[Ch]: InsetList changes
7090 * paragraph.[Ch]: InsetList changes
7092 * buffer.C (inset_iterator): InsetList changes
7093 (setParagraph): ditto
7094 * buffer.h (inset_iterator): ditto
7095 * iterators.C (operator++): ditto
7096 * iterators.h: ditto
7098 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7100 * InsetList.[Ch]: new files, most InsetList handling moved out of
7103 * BufferView2.C (removeAutoInsets): InsetList changes
7105 (ChangeInsets): ditto
7107 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7109 * paragraph_pimpl.h (empty): new function
7111 * paragraph.[Ch] (empty): new function
7113 * other files: use the new Paragraph::empty function
7115 2002-08-09 John Levon <levon@movementarian.org>
7117 * lyxtext.h: remove unused refresh_height
7119 2002-08-09 John Levon <levon@movementarian.org>
7126 * paragraph.C: move sgml char escaping out of paragraph
7129 * paragraph.C: remove id setter
7133 * paragraph_pimpl.C: remove dead tex_code_break_column
7135 * bufferview_funcs.C: small cleanup
7137 * lyxfunc.C: remove dead proto
7139 * lyxtext.h: make some stuff private. Remove some dead stuff.
7141 * lyxgluelength.C: make as[LyX]String() readable
7143 2002-08-08 John Levon <levon@movementarian.org>
7148 * ToolbarDefaults.C:
7151 * toc.C: lyxaction cleanup
7153 2002-08-08 John Levon <levon@movementarian.org>
7155 * BufferView2.C: small cleanup
7158 * lyxfind.C: move unnecessary header into the .C
7160 2002-08-08 John Levon <levon@movementarian.org>
7162 * funcrequest.h: just tedious nonsense
7165 * lyx_main.C: cleanups
7168 * vspace.C: remove dead header lyx_main.h
7170 2002-08-07 Angus Leeming <leeming@lyx.org>
7173 * paragraph_pimpl.h:
7174 Forward declare class Counters in paragraph.h by moving the ctrs member
7175 variable into Paragraph::Pimpl.
7176 (counters): new method, returning a reference to pimpl_->ctrs.
7178 * text2.C: ensuing changes.
7180 2002-08-07 John Levon <levon@movementarian.org>
7182 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7184 * BufferView_pimpl.C: announce X selection on double/triple
7187 * lyx_main.C: use correct bool in batch dispatch
7189 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7191 2002-08-07 André Pönitz <poenitz@gmx.net>
7193 * funcrequest.h: new class to wrap a kb_action and its argument
7196 * BufferView_pimpl[Ch]:
7200 * lyxrc.C: subsequent changes
7203 2002-08-07 John Levon <levon@movementarian.org>
7205 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7206 document options change.
7208 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7213 * makefile.am: move counters functionality over from
7214 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7216 2002-08-06 John Levon <levon@movementarian.org>
7218 * WordLangTuple.h: new file for word + language code tuple
7229 * BufferView2.C: use WordLangTuple
7232 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7234 2002-08-06 John Levon <levon@movementarian.org>
7236 * lyx_main.C: fix cmdline batch handling
7238 2002-08-06 André Pönitz <poenitz@gmx.net>
7240 * lyxrc.C: set default for show_banner to true
7242 2002-08-06 John Levon <levon@movementarian.org>
7244 * pspell.C: fix a crash, and allow new aspell to work
7246 2002-08-06 John Levon <levon@movementarian.org>
7249 * kbmap.C: small cleanup
7252 * vspace.C: add const
7254 2002-08-05 John Levon <levon@movementarian.org>
7256 * LyXAction.C: back to tabular-insert
7258 2002-08-04 John Levon <levon@movementarian.org>
7261 * BufferView.C: cosmetic change
7263 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7273 * BufferView2.C: purge all "Lyx" not "LyX" strings
7276 * lyxcursor.C: attempt to add some documentation
7281 * ToolbarDefaults.C:
7282 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7283 merge with LFUN_TABULAR_INSERT
7290 * pspell.C: split up i/pspell implementations into separate
7291 files, many cleanups
7293 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7295 * text2.C: some cleanup
7297 * lyxfunc.C: don't check for isp_command == "none" any more, it
7298 didn't make any sense
7300 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7305 * makefile.am: move counters functionality over
7306 from text2.C/paragraph.[Ch] to counters.[Ch], and
7308 2002-08-02 John Levon <levon@movementarian.org>
7310 * buffer.C: s/lyxconvert/lyx2lyx/
7312 2002-08-02 Angus Leeming <leeming@lyx.org>
7314 * lyxlex.C: revert John's change as it breaks reading of the user
7317 2002-08-02 Angus Leeming <leeming@lyx.org>
7319 * importer.C (Import):
7320 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7321 changes due to LyXView::view() now returning a boost::shared_ptr.
7323 2002-08-02 John Levon <levon@movementarian.org>
7325 * lyxlex.C: small cleanup
7327 2002-08-02 John Levon <levon@movementarian.org>
7329 * text2.C (status): small cleanup, no logic change
7331 2002-08-01 John Levon <levon@movementarian.org>
7334 * buffer.C (writeFile): don't output alerts, caller
7338 * lyx_cb.C: from above
7340 * lyxfunc.C: allow to open non-existent files
7342 2002-07-31 John Levon <levon@movementarian.org>
7344 * lyxserver.C: don't let incidental errors get
7347 2002-07-30 John Levon <levon@movementarian.org>
7349 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7351 2002-07-30 John Levon <levon@movementarian.org>
7354 * lyxserver.C: remove I/O callback too
7356 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7358 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7361 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7363 * many files: strip,frontStrip -> trim,ltrim,rtrim
7365 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7367 * PrinterParams.h: remove extern containsOnly, and include
7368 support/lstrings.h instead.
7370 * LaTeX.C (scanAuxFile): modify because of strip changes
7372 * buffer.C (makeLaTeXFile): ditto
7373 * bufferparams.C (writeFile): ditt
7374 * lyxfont.C (stateText): ditto
7375 * lyxserver.C (read_ready): ditto
7376 * vc-backend.C (scanMaster): ditto
7378 * BufferView_pimpl.h: ws changes
7380 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7382 2002-07-26 André Pönitz <poenitz@gmx.net>
7384 * kb_sequence.C: remove unnedred usings
7386 2002-07-26 Juergen Vigna <jug@sad.it>
7388 * lyxfind.C (LyXReplace): we have to check better if the returned
7389 text is not of theLockingInset()->getLockingInset().
7391 2002-07-25 Juergen Vigna <jug@sad.it>
7393 * lyxfind.C (LyXReplace): don't replace if we don't get the
7396 * undo_funcs.C (createUndo): remove debugging code.
7398 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7400 * buffer.C (parseSingleLyXformat2Token): Use default placement
7401 when reading old floats.
7403 * FloatList.C (FloatList): Change the default placement of figure
7404 and tables to "tbp".
7406 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7408 * MenuBackend.C: using std::max
7410 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7412 * MenuBackend.C (expandToc):
7413 (expandToc2): code moved from xforms menu frontend. It is now
7414 generic and TOCs are transparent to menu frontends.
7416 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7418 * toc.C (getTocList): protect against buf=0
7420 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7421 Menu as first parameter. Now, this calls itself recursively to
7422 expand a whole tree (this will be useful for TOC handling)
7423 (expandFloatInsert): remove 'wide' version of floats
7425 * MenuBackend.h (submenuname): returns the name of the submenu.
7426 (submenu): returns the submenu itself, provided it has been
7427 created by MenuBackend::expand
7429 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7431 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7432 insets which have noFontChange == true. (bug #172)
7434 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7436 * BufferView_pimpl.C: add connection objects and use them...
7439 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7441 * MenuBackend.C (expandLastfiles):
7444 (expandFloatListInsert):
7445 (expandFloatInsert):
7446 (expand): split expand in parts
7448 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7450 * lyx_gui.C: use lyx_gui::exit()
7452 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7454 * LyXAction.C: show the failing pseudo action
7456 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7458 * buffer.C (readFile): Run the lyxconvert script in order to read
7461 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7465 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7467 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7471 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7473 2002-07-22 Herbert Voss <voss@lyx.org>
7476 * lyxlength.[Ch]: add support for the vertical lengths
7478 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7480 * toc.[Ch]: std:: fixes
7482 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7484 * lyxrc.C: do not include lyx_main.h
7486 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7492 * BufferView2.C: include "lyxlex.h"
7495 * bufferparams.h: do not #include "lyxlex.h"
7497 * lyxtextclasslist.C (Add): remove method
7498 (classlist): renamed to classlist_
7500 * paragraph_pimpl.C:
7504 * bufferview_funcs.C:
7509 * toc.C (getTocList): use BufferParams::getLyXTextClass
7511 * toc.C (getTocList): use InsetFloat::addToToc
7513 * toc.[Ch]: new files, containing helper functions to handle table
7516 * lyxfunc.C (dispatch): no need to remove spaces around command
7518 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7519 first command of the sequence; it is not very clever, but I do not
7520 have a better idea, actually
7522 * LyXAction.C (LookupFunc): make sure to remove space at the
7523 beginning and end of the command
7525 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7527 * MenuBackend.C (getMenubar): new method: return the menubar of
7529 (read): treat differently reading of menu and menubar (in
7530 particular, the menubar has no name now)
7531 (Menu::menubar): remove
7533 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7536 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7538 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7539 a bibitem inset in a RTL paragraph.
7541 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7543 * paragraph_pimpl.C: constify
7545 * BufferView_pimpl.C:
7547 * lyxfunc.C: fix dispatch in a nicer way
7549 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7551 * lyxfunc.C (dispatch):
7552 * BufferView_pimpl.C:
7553 * BufferView_pimpl.h:
7555 * BufferView.h: rename Dispatch() to dispatch()
7557 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7559 * lyxlayout.C (Read): honor DependsOn tag
7561 * lyxlayout.[Ch] (depends_on): new method
7563 * version.C.in: update lyx_docversion
7565 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7567 * paragraph.C (validate): remove from here...
7568 * paragraph_pimpl.C (validate): ... and move here
7569 (isTextAt): make it const
7571 * buffer.C (getLists): ws cleanup
7573 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7575 * language.C (read): Use iso8859-1 encoding in latex_lang
7576 (this prevents LyX from crashing when using iso10646-1 encoding).
7578 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7580 * text2.C (toggleInset): if cursor is inside an inset, close the
7581 inset and leave cursor _after_ it
7583 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7585 * lyxfunc.C: move minibuffer completion handling out of here
7587 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7589 * BufferView_pimpl.C:
7590 * LaTeX.C: fix dispatch calls
7592 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7594 * text.C (drawChars): Fix Arabic text rendering.
7596 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7600 * lyxfunc.C: remove message-push/pop
7604 * lyxfunc.C: rationalise some code by removing verboseDispatch
7605 in favour of a bool argument to dispatch()
7607 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7609 * lyx_main.C (init): make sure to read symlinks as absolute paths
7611 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7614 * lyxfunc.C: no need for commandshortcut to be a member
7616 2002-07-15 André Pönitz <poenitz@gmx.net>
7618 * converter.C: add support for $$s (scripts from lib/scripts dir)
7619 * lyx_main.C: white space
7621 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7625 * lyxrc.C: remove second exit confirmation
7627 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7632 * BufferView_pimpl.h:
7633 * BufferView_pimpl.C:
7634 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7636 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7638 * MenuBackend.C (expand): add numeric shortcuts to document menu
7640 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7642 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7644 * lyxfont.C (setLyXFamily):
7651 * buffer.C (asciiParagraph): use ascii_lowercase
7653 2002-07-15 Mike Fabian <mfabian@suse.de>
7655 * lyxlex_pimpl.C (search_kw):
7656 * lyxlex.C (getLongString):
7657 * converter.h (operator<):
7658 * converter.C (operator<):
7659 * buffer.C (parseSingleLyXformat2Token):
7661 * ToolbarDefaults.C (read):
7662 * MenuBackend.C (checkShortcuts):
7664 * LColor.C (getFromGUIName):
7665 (getFromLyXName): use the compare_ascii_no_case instead of
7666 compare_no_case, because in turkish, 'i' is not the lowercase
7667 version of 'I', and thus turkish locale breaks parsing of tags.
7669 2002-07-16 Angus Leeming <leeming@lyx.org>
7671 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7672 now takes a Buffer const & argument.
7674 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7676 * BufferView.C (resize): check there's a buffer to resize
7678 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7680 * lyxfunc.C: remove dead code
7683 * lyxserver.C: use lyx_guii::set_read_callback
7685 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7687 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7688 an inset in a RTL paragraph.
7690 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7692 * lyxfunc.C: repaint after a font size update
7694 2002-07-15 André Pönitz <poenitz@gmx.net>
7696 * lyxlength.C: inBP should be able to return negative values
7698 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7700 * lyxfunc.C: use lyx_gui::update_fonts()
7702 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7704 * lyxfunc.C: use lyx_gui::update_color()
7706 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7712 * lyxrc.C: remove file->new asks for name option, and let
7713 buffer-new take an argument
7715 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7717 * BufferView_pimpl.C: remove unneeded extra repaint()
7719 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7721 * LyXAction.C: allow command-sequence with NoBuffer
7723 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7725 2002-07-10 Angus Leeming <leeming@lyx.org>
7727 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7729 2002-07-09 Angus Leeming <leeming@lyx.org>
7731 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7733 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7735 * lengthcommon.h: whitespace
7737 * lyxfunc.C: update scrollbar after goto paragraph
7739 * lyxtext.h: factor out page break drawing, and fix it so
7740 page break/added space paints as selected nicely
7742 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7744 * BufferView_pimpl.C: add FIXMEs, clean up a little
7746 2002-07-09 André Pönitz <poenitz@gmx.net>
7748 * lyxfont.[Ch]: support for wasy symbols
7750 2002-07-08 André Pönitz <poenitz@gmx.net>
7752 * BufferView_pimpl.C: apply John's patch for #93.
7754 2002-07-05 Angus Leeming <leeming@lyx.org>
7756 * BufferView_pimpl.C (buffer): generate previews if desired.
7758 * LColor.h: add "preview" to the color enum.
7760 * LColor.C (LColor): add a corresponding entry to the items array.
7762 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7765 2002-07-05 Angus Leeming <leeming@lyx.org>
7767 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7768 The body of the code is now in the method that is passed an ostream &
7769 rather than a file name.
7770 Pass an additional only_preamble parameter, useful for the forthcoming
7773 2002-07-03 André Pönitz <poenitz@gmx.net>
7775 * lyxfunc.C: simplify getStatus() a bit for math stuff
7777 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7779 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7781 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7783 * text.C (changeRegionCase): do not change case of all the
7784 document when region ends at paragraph end (bug #461)
7786 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7788 * paragraph.C (startTeXParParams):
7789 (endTeXParParams): add \protect when necessary
7791 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7793 * BufferView_pimpl.C (workAreaExpose): remove warning
7795 2002-06-27 Angus Leeming <leeming@lyx.org>
7797 * Makefile.am: add lyxlayout_ptr_fwd.h.
7799 2002-06-26 André Pönitz <poenitz@gmx.net>
7801 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7803 2002-06-25 Angus Leeming <leeming@lyx.org>
7805 * lyxfunc.C (dispatch): Comment out the call to
7806 grfx::GCache::changeDisplay. The method no longer exists now that the
7807 pixmap generation part of the graphics loader has been moved into
7810 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7812 * text2.C: layout as layout
7814 * text.C: layout as layout
7816 * tabular.C (OldFormatRead): layout as layout
7818 * paragraph_pimpl.C (TeXDeeper): layout as layout
7819 (realizeFont): layout as layout
7821 * paragraph.C (writeFile): layout as layout
7822 (validate): layout as layout
7823 (getFont): layout as layout
7824 (getLabelFont): layout as layout
7825 (getLayoutFont): layout as layout
7826 (breakParagraph): layout as layout
7827 (stripLeadingSpaces): layout as layout
7828 (getEndLabel): layout as layout
7829 (getMaxDepthAfter): layout as layout
7830 (applyLayout): layout as layout
7831 (TeXOnePar): layout as layout
7832 (simpleTeXOnePar): layout as layout
7833 (TeXEnvironment): layout as layout
7834 (layout): layout as layout
7835 (layout): layout as layout
7837 * lyxtextclass.C (compare_name): new functor to work with
7838 shared_ptr, layout as layout
7839 (Read): layout as layout
7840 (hasLayout): layout as layout
7841 (operator): layout as layout
7842 (delete_layout): layout as layout
7843 (defaultLayout): layout as layout
7845 * lyxlayout_ptr_fwd.h: new file
7847 * lyxlayout.C (Read): layout as layout
7849 * lyx_cb.C (MenuInsertLabel): layout as layout
7851 * bufferlist.C (newFile): layout as layout
7853 * buffer.C (readLyXformat2): layout as layout
7854 (parseSingleLyXformat2Token): layout as layout
7855 (insertStringAsLines): layout as layout
7856 (asciiParagraph): layout as layout
7857 (latexParagraphs): layout as layout
7858 (makeLinuxDocFile): layout as layout
7859 (simpleLinuxDocOnePar): layout as layout
7860 (makeDocBookFile): layout as layout
7861 (simpleDocBookOnePar): layout as layout
7862 (getLists): layout as layout
7864 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7866 * CutAndPaste.C (cutSelection): layout as layout
7867 (pasteSelection): layout as layout
7868 (SwitchLayoutsBetweenClasses): layout as layout
7870 * BufferView_pimpl.C (Dispatch): layout as layout
7871 (smartQuote): layout as layout
7873 * BufferView2.C (unlockInset): layout as layout
7875 2002-06-24 André Pönitz <poenitz@gmx.net>
7877 * lyxfunc.C: fix #487
7879 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7883 * lyxfunc.C: remove display_shortcuts, show_banner
7885 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7887 * Buffer_pimpl.C: oops, update on resize
7889 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7896 * BufferView.C: use repaint()
7898 * BufferView_pimpl.h:
7899 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7900 as it's a clearer description. Remove superfluous
7903 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7905 * text.C: fix bug 488. Not ideal, but getting
7906 getWord() to work properly for the insets that
7907 matter is more difficult ...
7909 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7911 * BufferView_pimpl.C:
7914 * lyxfunc.C: remove the six million index lyxfuncs to just
7915 one, and DTRT (bug 458)
7917 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7921 * BufferView_pimpl.h:
7922 * BufferView_pimpl.C: clean up resize() stuff,
7923 and unnecessary updateScreen()s
7925 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7929 * BufferView_pimpl.h:
7930 * BufferView_pimpl.C:
7933 * minibuffer.C: remove focus management of workarea,
7934 not needed. Use screen's greyOut()
7936 2002-06-17 Herbert Voss <voss@lyx.org>
7938 * converter.C: (convert) do not post a message, when converting
7939 fails, let the calling function decide what to do in this case
7941 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7943 * lyxfunc.C: tidy up a little
7945 2002-06-16 <alstrup@diku.dk>
7947 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7948 Got rid of FORMS_H_LOCATION include. Now we are
7951 2002-06-15 LyX Development team <lyx@rilke>
7953 * buffer.[Ch] (sgmlOpenTag):
7954 (sgmlCloseTag): Added support for avoiding pernicious mixed
7955 content. Return number of lines written.
7958 (makeDocBookFile): Fixed calls to sgml*Tag.
7959 Simple white space clean.
7961 (simpleDocBookOnePar): Simple white space clean.
7963 * tabular.[Ch] (docBook): Renamed to docbook and got another
7964 argument to related with the pernicious mixed content.
7966 (docbookRow): Fixed calls for docbook inset method.
7968 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7970 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7971 so it's X11 independent.
7975 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7977 2002-06-15 Lyx Development team <lyx@electronia>
7979 * intl.h: Renamed getTrans to getTransManager.
7981 2002-06-14 Angus Leeming <leeming@lyx.org>
7983 * Makefile.am: nuke forgotten stl_string_fwd.h.
7985 2002-06-12 Angus Leeming <leeming@lyx.org>
7987 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7989 2002-06-13 Angus Leeming <leeming@lyx.org>
7992 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7994 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7996 * kbmap.C (getiso): add support for cyrillic and greek
7998 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8002 * BufferView_pimpl.h:
8003 * BufferView_pimpl.C: move bogus scrolling logic
8006 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8009 * BufferView_pimpl.C: view->resize() change
8011 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8013 * BufferView_pimpl.C: topCursorVisible
8016 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8020 * lyx_gui.C: move to frontends/
8024 * lyx_main.C: changes from above
8026 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8033 * lyx_main.C: minor tidy
8035 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8037 * BufferView_pimpl.h:
8038 * BufferView_pimpl.C:
8040 * BufferView.C: make painter() const,
8043 * BufferView2.C: use screen() accessor
8046 * lyx_main.C: some minor cleanup
8048 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8050 * BufferView_pimpl.h:
8051 * BufferView_pimpl.C: remove enter/leaveView,
8054 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8059 * BufferView_pimpl.h:
8060 * BufferView_pimpl.C: only construct screen once,
8063 * lyxrc.C: remove pointless comment
8065 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8068 * BufferView.C: remove active() and belowMouse()
8070 * BufferView_pimpl.h:
8071 * BufferView_pimpl.C: use workarea() not workarea_,
8072 and make it use a scoped_ptr instead
8074 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8076 * lyx_gui.C: add debug message on BadWindow
8078 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8080 * sp_spell.C: fdopen is not part of the C++ standard.
8082 * paragraph.C (InsetIterator): use >= instead of ==
8084 2002-06-07 Angus Leeming <leeming@lyx.org>
8086 Fixes needed to compile with Compaq cxx 6.5.
8087 * BufferView_pimpl.C:
8094 * lyxtextclasslist.C:
8099 all c-library variables have been moved into namespace std. Wrap
8100 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8105 Add a using std::abs declaration.
8107 * kbmap.h (modifier_pair):
8108 * paragraph.h (InsetTable, InsetList):
8109 * lyxfont.h (FontBits):
8110 type definition made public.
8112 * bufferlist.C (emergencyWriteAll): the compiler complains that
8113 there is more than one possible lyx::class_fun template to choose from.
8114 I re-named the void specialisation as lyx::void_class_fun.
8116 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8118 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8119 the compiler is is unable to find tostr in write_attribute.
8121 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8123 * buffer.C (sgmlError): hide #warning
8125 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8127 * xtl/*: get rid of xtl, which is not in use anyway
8129 * LyXAction.C (init):
8130 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8131 were unimplemented xtl experimentation
8133 2002-06-04 André Pönitz <poenitz@gmx.net>
8135 * lyxfunc.C: disable array operation on simple formulae
8137 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8139 * converter.C: constify a bit
8141 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8143 * lyx_gui.C: check xforms version correctly
8145 2002-04-30 Herbert Voss <voss@lyx.org>
8147 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8150 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8152 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8153 attempt to register it with a VCS)
8155 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8157 * lyx_main.C (init): honor variables LYX_DIR_13x and
8160 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8164 * lyx_main.C: fix a crash on bad command line,
8165 and give a useful exit status on error
8167 * lyxfunc.C (doImport): allow -i lyx to work
8169 2002-03-30 André Pönitz <poenitz@gmx.net>
8171 * lyxfunc.C: mathed font changes
8173 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8188 * trans_mgr.h: srcdocs, and some minor cleanups
8190 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8192 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8193 call getFont all the time)
8195 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8197 * switch from SigC signals to boost::signals
8199 2002-05-29 André Pönitz <poenitz@gmx.net>
8201 * paragraph_pimpl.C (getChar): don't call size() too often...
8203 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8205 * paragraph_pimpl.C (insertChar): do not try to update tables when
8206 appending (pos == size())
8208 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8209 in order to reduce drastically the number of comparisons needed to
8210 parse a large document
8212 2002-05-29 André Pönitz <poenitz@gmx.net>
8218 * textclasslist.[Ch]:
8219 * sp_ispell.h: whitespace change
8221 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8223 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8224 lyxaction directly now.
8226 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8230 * lyxvc.C: remove unused headers
8232 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8239 * undo_funcs.C: some cleanups. Use shared_ptr
8240 and a template for the undo stacks.
8242 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8244 * BufferView_pimpl.h:
8245 * BufferView_pimpl.C:
8252 * text2.C: use key_state/mouse_state
8254 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8256 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8259 * chset.C: change include order
8260 (loadFile): use boost regex and get rid of LRegex and LSubstring
8262 * Makefile.am (BOOST_LIBS): new variable
8265 * LaTeX.C: change include order.
8266 (scanAuxFile): use boost regex and get rid of LRegex and
8270 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8275 * FontInfo.C: moved to frontends/xforms/
8278 * FontLoader.C: moved into frontends for GUIIzation
8283 * lyxfunc.C: changes from above
8285 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8287 * LColor.C: remove spurious X include
8289 * BufferView_pimpl.C:
8294 * text2.C: move font metrics to frontends/
8296 2002-05-24 Juergen Vigna <jug@sad.it>
8298 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8299 setting the undo_cursor.
8301 * ParagraphParameters.h: include local includes first.
8303 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8305 * BufferView_pimpl.C:
8306 * BufferView_pimpl.h:
8310 * screen.C: move WorkArea into frontends/
8316 * BufferView2.C: move LyXScreen into frontends/
8320 * lyx_gui.C: move lyxlookup into frontends/xforms/
8322 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8325 * BufferView_pimpl.C:
8335 * bufferview_funcs.C:
8348 * vc-backend.C: move LyX/XFormsView into frontends/
8350 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8362 * text2.C: move Painter to frontends/
8364 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8366 * buffer.C: comment out some some code that depend upon lyx_format
8369 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8370 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8372 * buffer.h (NO_COMPABILITY): turn off compability
8374 * ColorHandler.C: include scoped_array.hpp
8376 * font.C: Use more specific smart_ptr header.
8379 * ShareContainer.h: ditto
8383 * BufferView_pimpl.h: ditto
8384 * ColorHandler.h: ditto
8386 * kbmap.C (defkey): change call to shared_ptr::reset
8388 2002-05-21 Juergen Vigna <jug@sad.it>
8390 * buffer.C (insertErtContents): fix to insert ert asis if it is
8391 non empty. Skip it completely if it contains only whitespaces.
8393 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8395 * BufferView_pimpl.C:
8396 * BufferView2.C: clear selection on paste (bug 393)
8398 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8400 * DepTable.C: include ctime
8402 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8404 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8406 2002-05-14 Juergen Vigna <jug@sad.it>
8408 * text.C (breakParagraph): fixed function to honor the keepempty
8409 layout in the right maner and also to permit the right breaking
8410 algorithm on empty or non empyt keepempty paragraphs.
8412 * paragraph.C (breakParagraph): we have to check also if the par
8413 is really empty (!size()) for isempty otherwise we do the wrong
8416 2002-05-10 Juergen Vigna <jug@sad.it>
8418 * buffer.[Ch] : The following are only changes to the ert
8419 compatibility read reading old LaTeX layout and font stuff and
8420 convert it to ERTInsets.
8422 * buffer.h: added isErtInset().
8424 * buffer.C (struct ErtComp): add a fromlayout bool to check
8425 if we're inside a LaTeX layout.
8426 (isErtInset): new helper function.
8427 (insertErtContents): look for other ert insets before this one
8428 and insert the contents there, so that we don't have subsequent
8429 ERT insets with nothing between them. This way we create only one
8430 inset with multiple paragraphs. Also check if we don't insert only
8431 spaces ' ' as they are ignored anyway afterwards in the .tex file
8432 so if we have only spaces we will ignore this latex part in the
8434 (parseSingleLyXformat2Token \\layout): better compatibility when
8435 reading layout-latex stuff.
8436 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8438 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8439 stuff after reading the inset only get the information back from
8442 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8444 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8446 * LaTeXFeatures.C (getBabelOptions): New method.
8448 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8450 * BufferView_pimpl.C (Dispatch): work around missing argument for
8453 2002-05-08 Juergen Vigna <jug@sad.it>
8455 * text.C (leftMargin): handle paragraph leftindent.
8457 * paragraph.C (writeFile): write the new \\leftindent tag.
8458 (validate): handle leftindent code.
8459 (TeXEnvironment): handle paragraphleftindent code again.
8461 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8463 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8464 for paragrap_extra indent code and new token \\leftindent.
8465 (latexParagraphs): handle the leftindent as environment.
8467 * ParameterStruct.h: added leftindent support.
8469 * ParagraphParameters.C (leftIndent): added support functions for
8470 the paragraph left indent.
8472 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8475 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8477 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8480 * text.C (computeBidiTables): No bidi in insetERT.
8482 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8485 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8487 * version.C.in: pre 5
8489 2002-05-02 José Matos <jamatos@fep.up.pt>
8490 * buffer.C (makeDocBookFile): white space changes, add newline to
8492 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8494 * tabular.C (docBook): fix typo.
8496 2002-05-03 Juergen Vigna <jug@sad.it>
8498 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8499 change in LyXText as we can not be sure it was not freed.
8500 (drawOneRow): remove unused code.
8502 * text.C (drawInset): redo the calculation of the need_break_row as
8503 it could have a row which was already freed.
8504 (draw): look at the return value of drawInset and return false if
8505 it also returned false.
8506 (paintRowText): look at the return value of draw and return false if
8507 it also returned false.
8509 * lyxtext.h: added bool return type to drawInset() and draw() so that
8510 if we have a change in the row so that the rowbreak has to be redone
8511 we abort drawing as it will be called again.
8513 2002-05-02 Juergen Vigna <jug@sad.it>
8515 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8516 a change in the maintext also if we're inside an inset.
8517 (Dispatch): set the cursor again after a break line and after the
8518 screen has been updated as it could be we're in a different row.
8520 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8521 to set the cursor behind the pargraph with > size().
8522 (setCursor): check also for the same paragraph when checking where
8523 to put the cursor if we have a NFR inset.
8525 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8526 parts of layout read further up as it still was in the wrong
8529 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8531 * screen.C (drawFromTo): change sine fullRebreak always return
8534 * buffer.C (parseSingleLyXformat2Token): reindent some
8536 * BufferView_pimpl.C (update): change since fullRebreak always
8538 (Dispatch): git rid of the last hardcoded "Standard"s.
8540 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8542 * text2.[Ch] (fullRebreak): make it return void now that we always
8545 2002-04-30 Juergen Vigna <jug@sad.it>
8547 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8548 ert compatibility check for "latex" layout.
8550 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8552 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8553 minipages: use col% instead of p%, and also use the current font.
8554 (makeLaTeXFile): Fix use babel condition.
8555 (parseSingleLyXformat2Token): Correct font when reading old floats.
8557 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8559 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8560 inserting list of floats.
8562 2002-04-25 Herbert Voss <voss@lyx.org>
8564 * MenuBackend.C (expand): don't add the graphics extensions to the
8567 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8569 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8570 non-existing layout, do not complain if it was the default layout
8571 of the original class (bug #342)
8573 2002-04-24 Juergen Vigna <jug@sad.it>
8575 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8576 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8578 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8580 * buffer.C (getBibkeyList): If using \bibliography, return the
8581 option field with the reference itself. Enables us to provide natbib
8582 support when using \bibliography.
8584 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8586 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8588 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8589 natbib is provided by the LaTeX class.
8591 2002-04-23 Juergen Vigna <jug@sad.it>
8593 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8596 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8598 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8600 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8602 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8603 ensuremath around textordmasculine, textordfeminine and
8606 2002-04-19 Juergen Vigna <jug@sad.it>
8608 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8609 reinitializing the buffer otherwise row-dimensions may be wrong.
8610 (update): reset also the selection cursors if they do exits otherwise
8611 their x/y positions may be wrong.
8613 * text2.C (cursorDown): don't enter the inset if we came from a row
8614 above and are one row over the inset.
8616 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8617 really leaving an inset.
8619 2002-04-18 Juergen Vigna <jug@sad.it>
8621 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8622 of the selected paragraph does not have the selected layout also if
8625 * text2.C (setLayout): fixed bug which did not change last selected
8628 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8629 changed the read and substituted \\end_float with \\end_inset!
8631 * BufferView_pimpl.C (cursorPrevious):
8632 (cursorNext): fixed to make it work with rows heigher than the work
8633 area without moving the cursor only the draw of the row.
8634 (workAreaMotionNotify): fix jumping over high rows.
8636 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8638 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8641 2002-04-16 Juergen Vigna <jug@sad.it>
8643 * text2.C (setCursor): set also the irow().
8644 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8646 (cursorDown): support for locking an inset if the x_fix value goes
8647 inside it. That way I can transverse insets too with cursor up/down.
8649 * lyxrow.h: added irow helper function same as other (i) functions.
8651 * BufferView_pimpl.C (cursorPrevious):
8652 (cursorNext): fixed for insets!
8654 2002-04-15 Juergen Vigna <jug@sad.it>
8656 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8657 position otherwise it is wrong in some cases.
8659 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8660 inside the inset before the call.
8662 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8664 * buffer.[Ch] (getBibkeyList): make it const.
8666 2002-04-12 Juergen Vigna <jug@sad.it>
8668 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8670 * text2.C (getCursorX): new helper function
8671 (setCursor): compute also ix_
8672 (setCursorFromCoordinates): set also ix.
8674 * lyxcursor.h: added ix_ and helper functions.
8676 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8678 * buffer.C (insertStringAsLines): dont break paragraph if the this
8679 paragraph is inside an inset which does not permit it!
8681 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8682 also with no chars on this paragraph.
8683 (paintRowText): only paint stuff if it's inside the workarea!
8685 * paragraph.C (breakParagraph): honor keepempty flag and break the
8686 paragraph always below not above.
8688 * BufferView2.C (unlockInset): update the paragraph layout on inset
8689 unlock as we changed paragraph in such a case.
8691 * lyxfind.C (LyXFind): clear the former selection if not found!
8693 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8694 again called in insertChar().
8696 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8697 an inset which uses the whole row!
8698 (rightMargin): ditto.
8699 (insertChar): force a rebreak if we inserted an inset!
8701 2002-03-28 Herbert Voss <voss@lyx.org>
8703 * lyxlength.[Ch]: add inBP() to get the right PS-point
8704 units (BigPoint). With inPixels we have rounding errors
8706 2002-04-11 Juergen Vigna <jug@sad.it>
8708 * text2.C (setCursorFromCoordinates): set iy to the right value.
8709 (setCursor): add check if row->previous exists!
8711 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8712 an old float_type as this was the case in the old code!
8714 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8716 * BufferView2.C (showLockedInsetCursor): use iy
8717 (fitLockedInsetCursor): ditto
8719 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8720 locked insets as there we have the right value now.
8722 * lyxcursor.C: added iy_ variable and iy functions to set to the
8723 baseline of cursor-y of the locked inset.
8725 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8726 (setCursor): fixed for insets which need a full row.
8728 * text.C (rowLastPrintable): don't ignore the last space when before
8729 an inset which needs a full row.
8730 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8731 as last character of a row when before a inset which needs a full row.
8733 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8735 * version.C.in: update date
8737 * text2.C (fullRebreak): try to always return true and see what
8740 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8742 * MenuBackend.C (expand): use Floating::listName
8744 * FloatList.C (FloatList): add listName argument to the built-in
8747 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8748 text associated with the float.
8750 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8752 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8754 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8756 * ShareContainer.h: add a couple of missing typenames.
8758 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8760 * lyxrc.C (getDescription): use _() correctly rather than N_().
8762 2002-03-28 Herbert Voss <voss@lyx.org>
8764 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8765 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8767 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8769 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8770 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8772 2002-03-29 Juergen Vigna <jug@sad.it>
8774 * lyxfunc.C (dispatch): add a missing fitCursor call.
8776 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8777 it was scrolled by a cursor move, so return the bool status.
8779 * BufferView.C (fitCursor): return the bool flag also to the outside
8780 world as this is needed.
8782 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8784 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8785 call the edit() as it is not needed (and wrong) IMO.
8786 (workAreaButtonPress): set the screen_first variable before evt.
8787 unlock the inset as this may change screen_first and then we have
8788 a wrong y position for the click!
8790 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8792 * MenuBackend.C (expand): another translation that I missed
8794 2002-03-28 Juergen Vigna <jug@sad.it>
8796 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8798 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8800 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8802 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8804 * MenuBackend.C (expand): fix export/view/update when there is no
8807 2002-03-27 Herbert Voss <voss@lyx.org>
8809 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8812 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8814 * bufferview_funcs.C (currentState): only show paragraph number
8815 for is DEVEL_VERSION is set.
8817 * lyxfunc.C (dispatch): put warning in INFO channel
8819 * MenuBackend.C (expand): translate the name of floats
8821 * FloatList.C (FloatList): mark the float names for translation
8823 * converter.C (convert): use LibScriptSearch
8825 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8827 * MenuBackend.C (defaults): fix default menu (we might as well get
8830 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8832 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8835 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8837 * lyxvc.C: reorder includes.
8839 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8841 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8844 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8846 * CutAndPaste.C: change layouts earlier on paste
8847 to avoid crashing when calling getFont()
8849 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8851 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8854 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8856 * WorkArea.C: remove 'Pending' debug message.
8858 * most files: ws cleanup
8860 * buffer.[Ch]: ws changes
8862 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8864 2002-03-21 Juergen Vigna <jug@sad.it>
8866 * tabular.C (SetMultiColumn): collapse also the contents of the
8867 cells and set the last border right. Added a Buffer const * param.
8869 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8871 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8874 2002-03-19 Juergen Vigna <jug@sad.it>
8876 * text2.C (clearSelection): reset also xsel_cache.
8878 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8879 where it needs to be called (John tells us to do so too :)
8880 (selectionLost): reset sel_cache.
8882 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8884 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8886 * text2.C (setCursorIntern): put debuging code in INSETS channel
8888 2002-03-19 André Pönitz <poenitz@gmx.net>
8890 * lyxfunc.C: tiny whitespace change
8892 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8894 * ToolbarDefaults.C (init):
8895 * LyXAction.C (init):
8897 * BufferView_pimpl.C (Dispatch):
8898 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8900 2002-03-19 Allan Rae <rae@lyx.org>
8902 * exporter.C (Export): removeAutoInsets before doing anything else.
8903 While I've just introduced a dependency on BufferView this really is
8904 the best place to clean the buffer otherwise you need to cleanup in
8905 a dozen places before calling export or cleanup in a dozen functions
8908 * converter.C (runLaTeX):
8909 (scanLog): Better handling of removeAutoInsets and screen updates.
8911 * lyxfunc.C (dispatch): small whitespace changes
8913 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8915 * WorkArea.C (C_WorkAreaEvent): return a value.
8916 (event_cb): return 1 if we handled the event, 0 otherwise.
8918 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8920 2002-03-18 Juergen Vigna <jug@sad.it>
8922 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8923 (GetAdditionalWidth): ditto.
8927 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8928 inset if we're there actually (probably not used right now but this
8929 is the direction to go for unifying code).
8930 (paste): disable code to clear the selection.
8932 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8933 inside an InsetText and move the check further up as it is in the
8936 * text2.C (pasteSelection): set a selection over the pasted text.
8938 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8940 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8941 and libgraphics to build on Cygwin.
8943 2002-03-15 Juergen Vigna <jug@sad.it>
8945 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8946 inserting an Inset into the paragraph. I know this is not the best
8947 fix but we already use current_view in CutAndPaste so we will remove
8948 all of it's using at the same time.
8950 * buffer.C (sgmlError): deactivated function till it is rewritten in
8951 the right mode, now it can create problems.
8953 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8954 before accessing it.
8956 2002-03-14 Juergen Vigna <jug@sad.it>
8958 * undo_funcs.C (textHandleUndo): do the right thing when updating
8959 the inset after the undo/redo.
8961 * text2.C (setCursor): just some testcode for #44 not ready yet.
8963 * undo_funcs.C (textHandleUndo): set the next() and previous()
8964 pointers of the paragraph to 0 before deleting otherwise we have
8965 problems with the Paragraph::[destructor].
8967 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8968 on a paragraph insertion.
8970 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8972 * buffer.C (asciiParagraph): use += operator for char append to
8975 * paragraph.C (getFontSettings): compare >= not just >
8976 (highestFontInRange): ditto
8979 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8981 * paragraph.C: change several algorithm to be more appripriate for
8982 the problem domain. This is lookip in FontList and in the InsetList.
8984 2002-03-13 André Pönitz <poenitz@gmx.net>
8987 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8989 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8994 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8996 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8998 * Painter.C (display): anon helper function, adjust code for this
9000 (pixmap): remove function.
9002 * Painter.h: remove private display variable.
9004 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9006 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9008 * WorkArea.[Ch]: remove figinset_canvas cruft.
9010 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9012 * lyxtextclass.C (operator): add one item cache optimization.
9014 * bufferlist.h: doxy changes
9016 * bufferlist.C: ws changes
9018 * DepTable.[Ch] (ext_exist): place const in the right spot.
9020 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9022 (workAreaExpose): call resizeInsets when the with BufferView changes.
9023 (Dispatch): adjust for protectedBlank removal
9024 (specialChar): call updateInset if the insert went ok.
9026 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9027 specialChar instead.
9029 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9031 * BufferView.h: doxy change
9033 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9035 * lyxtextclass.C (operator[]): remove non-const version
9036 (defaultLayout): remove non-const version
9038 2002-03-12 Juergen Vigna <jug@sad.it>
9040 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9041 did resize the LyXText too.
9043 * buffer.C (readLyXformat2): set layout information on newly allocated
9046 * tabular.C (OldFormatRead): set layout information on the paragraph.
9048 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9050 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9052 2002-03-11 Juergen Vigna <jug@sad.it>
9054 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9056 (resizeCurrentBuffer): force also the insets to resize themselfes.
9057 (moveCursorUpdate): fixed up for InsetText.
9059 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9062 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9063 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9064 value of Dialogs::tooltipsEnabled().
9065 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9067 2002-03-08 Juergen Vigna <jug@sad.it>
9069 * BufferView_pimpl.C (updateInset): update inset inside inset also
9070 if it isn't inside theLockingInset().
9072 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9074 * buffer.C (asciiParagraph): redo some of the word and line length
9076 (getLists): look for Caption instead of caption.
9078 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9080 * buffer.C (Buffer): initialize niceFile to true
9083 (makeDocBookFile): make sure niceFile is true on exit
9085 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9087 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9089 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9091 * LyXSendto.C: remove.
9092 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9093 * lyx_gui.C: remove now-redundant comment.
9094 * ColorHandler.h: remove forward declaration of class WorkArea.
9095 * lyxfunc.C: remove #include "WorkArea.h".
9097 2002-03-07 Juergen Vigna <jug@sad.it>
9099 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9100 got moved away with the DEPM and also set the inset_owner always
9101 right which before could have been omitted.
9103 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9105 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9106 wanted layout is not found.
9108 2002-03-07 Juergen Vigna <jug@sad.it>
9110 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9112 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9114 * paragraph.C (breakParagraph): use default layout not layout of
9116 (Paragraph): clear ParagraphParameters.
9118 2002-03-06 Juergen Vigna <jug@sad.it>
9120 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9121 otherwise it would not be a valid lenght. Fixed a special case in
9122 the minipage compatibility read where we end the document with a
9125 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9126 was set as it could be 0 for InsetTexts first entry.
9128 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9130 * paragraph.C (writeFile): if layout is empty write out
9131 defaultLayoutName().
9133 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9134 file without named layout we set layout to defaultLayoutName().
9136 2002-03-06 Juergen Vigna <jug@sad.it>
9138 * CutAndPaste.C (copySelection): set layout for new paragraph.
9140 * text.C (prepareToPrint): leave ERT inset left aligned
9141 (leftMargin): don't indent paragraphs inside ERT insets
9143 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9145 * paragraph.C (breakParagraph): dont call clear do the work manually
9147 * paragraph.[Ch] (clear): remove function
9149 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9151 * paragraph.C (Paragraph): dont call clear, the work has already
9154 * lyxtextclass.C (operator): assert if n is empty
9156 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9157 work manually instead.
9159 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9161 * BufferView_pimpl.C: protect selectionLost against text == 0
9163 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9165 * text.C (breakParagraph): fix a setting layout to '0' problem.
9167 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9169 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9170 final location of file, for the included files, and graphics.
9172 2002-03-05 Juergen Vigna <jug@sad.it>
9174 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9176 2002-03-04 Juergen Vigna <jug@sad.it>
9178 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9180 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9181 last column of multicolumn cells.
9182 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9184 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9186 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9187 file if it doesn't go to a temporary file.
9189 * buffer.C (sgmlOpenTag):
9190 (sgmlCloseTag): remove extra newline insertion.
9192 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9194 * text.C (getRowNearY): comment out debug msg
9196 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9198 * text2.C: first -> first_y
9200 * text.C (getRowNearY): add some attemts at a possible
9201 optimization, not working.
9203 * tabular.[Ch]: add BufferParams to several function so that newly
9204 created paragraph can be initialized to he default layotu for the
9207 * tabular-old.C (ReadOld): add buf->params to call of Init
9209 * screen.C: rename text->first to text->first_y
9211 * paragraph.C (breakParagraph): always set layout in the broken
9214 * lyxtextclass.C (Read): remove lowercase
9217 (delete_layout): ditto
9219 * lyxtext.h: rename first -> first_y
9221 * lyxlayout.C (Read): remove lowercase
9224 (obsoleted_by): ditto
9226 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9228 * buffer.C (insertErtContents): add params are to InsetERT
9229 (parseSingleLyXformat2Token): add code to check if a paragraphs
9230 layout really exist.
9231 (parseSingleLyXformat2Token): add params to several inset
9233 (asciiParagraph): remove lowercase, do the layout comparisons with
9236 * BufferView_pimpl.C (cursorNext): first -> first_y
9237 (resizeCurrentBuffer): first -> first_y
9238 (updateScrollbar): first -> first_y
9239 (scrollCB): first -> first_y
9240 (workAreaMotionNotify): first -> first_y
9241 (workAreaButtonPress): first -> first_y
9242 (checkInsetHit): first -> first_y
9243 (cursorPrevious): first -> first_y
9244 (cursorNext): first -> first_y
9245 (Dispatch): add buffer_->params to severl inset contructors
9247 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9249 * lyxlayout.C (Read): remove some debug info that I forgot.
9251 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9252 clean up the code slightly.
9253 (makeLinuxDocFile): ditto
9254 (makeDocBookFile): ditto
9256 * text2.C: layout as string
9258 * text.C: layout as string
9260 * paragraph_pimpl.C: layout as string
9262 * paragraph.[Ch]: layout as string
9264 * lyxtextclasslist.[Ch]: layout as string
9266 * lyxtextclass.[Ch]: layout as string
9268 * lyxtext.h: layout as string
9270 * lyxlayout.[Ch]: layout as string
9272 * lyx_cb.C: layout as string
9274 * bufferview_funcs.C: layout as string
9276 * bufferparams.C: layout as string
9278 * buffer.C: layout as string
9280 * LyXView.[Ch]: layout as string
9282 * LaTeXFeatures.[Ch]: layout as string
9284 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9286 * BufferView_pimpl.C: change current_layout to string, remove
9291 (workAreaButtonRelease): layout as string
9293 * BufferView2.C (unlockInset): adjust
9295 * vspace.C (asLatexCommand): use an explict temp variable.
9297 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9299 * Makefile.am: use FRONTEND_*
9301 2002-03-01 Juergen Vigna <jug@sad.it>
9303 * tabular.C (SetWidthOfMulticolCell): changed to something better
9304 I hope but still work in progress.
9305 (recalculateMulticolumnsOfColumn): renamed function from
9306 recalculateMulticolCells as it is more appropriate now.
9307 (SetWidthOfCell): calculate multicols better.
9309 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9311 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9313 * lyxfunc.C (processKeySym): print sequence also if it is
9314 `deleted' (complete)
9316 * kbsequence.C (print): print sequence even if it is deleted
9317 (complete would be a better word, actually).
9319 * lyxfunc.C (dispatch): print complete options after a prefix key
9321 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9323 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9325 * text2.C (setCharFont): eliminate setCharFont code duplication.
9327 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9329 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9330 LFUN_TABULAR_FEATURE (bug #177)
9332 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9334 * Makefile.am: remove figure.h
9336 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9338 * Bufferview_pimpl.C:
9350 * text2.C: remove #include "lyx_gui_misc.h".
9352 * LaTeX.C: added #include <cstdio>
9354 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9356 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9357 that the paragraph following this one can have.
9359 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9361 * vspace.C (asLatexCommand): fix bogus gcc warning
9363 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9365 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9367 * text2.C (setLayout): get rid of redundant code
9369 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9371 * text2.C (incDepth): make sure depth cannot be increased beyond
9374 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9376 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9377 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9379 * PainterBase.h (image):
9380 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9383 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9387 * BufferView_pimpl.C:
9388 * BufferView_pimpl.h:
9408 * sp_spell.C: remove fig inset, and the crap house of
9409 cards that follows it
9411 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9417 * nt_defines.h: move .h into support/
9419 * vms_defines.h: remove
9421 * WorkArea.C: add space in debug output
9425 * buffer.C: add WITH_WARNINGS
9429 * bufferlist.C: s/retrive/retrieve/, add docs
9440 * lyxgui.C: add ID to X error handler
9442 * lyxtestclass.c: fix typo
9444 2002-02-26 Juergen Vigna <jug@sad.it>
9446 * tabular_funcs.C (write_attribute): changed so that some default
9447 attributes are not written at all.
9448 (getTokenValue): set default values before trying to read the
9449 value so we have the return value always set as default if we don't
9450 find the token we search for.
9452 * tabular.C (Write): write bools as bools not as strings!
9454 2002-02-22 Juergen Vigna <jug@sad.it>
9456 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9457 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9459 * text.C (leftMargin): don't add an indent for paragraphs inside
9460 tabular cells (fix #208).
9462 2002-02-21 José Matos <jamatos@fep.up.pt>
9464 * tabular.C (docBook): fixed support for long tables.
9466 2002-02-20 Juergen Vigna <jug@sad.it>
9468 * text2.C (getFont): get the drawing font of the Inset if this
9469 paragraph is inside an inset (only important for InsetERT for now).
9471 * buffer.C (insertErtContents): use new lanugage params in ERT
9474 * CutAndPaste.C: commenting out seemingly uneeded code.
9476 2002-02-19 Allan Rae <rae@lyx.org>
9478 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9479 Iterators might be simple to use but they also get invalidated.
9480 (removeAutoInsets): renamed saved cursor tracking variables and added
9481 some comments to clarify what everything does.
9483 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9490 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9491 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9494 * vc-backend.h: remove #include "support/syscall.h"
9498 * converter.C: rearrange #includes in Lars' approved fashion.
9500 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9501 forward declare class Timeout in the header file.
9503 * XFormsView.C: changes due to the above.
9505 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9508 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9509 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9511 2002-02-18 José Matos <jamatos@fep.up.pt>
9513 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9516 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9518 * a lot of small ws changes
9519 * add a lot of using std::XXX
9520 * use std construcs some places where approp.
9521 * use some exisint stuff from lyxfunctional where approp.
9522 * Make file changes to use partial linking (lets test this now...)
9524 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9528 remove #include "support/syscontr.h" as it's redundant. Always has been.
9536 change Systemcalls::System to Systemcalls::Wait and
9537 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9538 No change of functionality, just reflects the stripped down Systemcalls
9541 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9543 * debug.[Ch]: add a GRAPHICS type to the enum.
9545 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9547 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9549 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9552 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9554 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9555 match the changes below.
9557 * text2.C (toggleInset): if there is not editable inset at cursor
9558 position, try to see if cursor is _inside_ a collapsable inset
9561 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9563 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9564 document menu has a nice checkbox
9566 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9568 * lyxlength.C (asLatexString): change PW to output as percent of
9571 * lengthcommon.C: change '%' to 't%'
9573 * lyxfunc.C (dispatch): a few comments from Martin
9575 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9579 * BufferView_pimpl.h:
9580 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9583 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9585 * vspace.C (inPixels): fix compiler warning
9587 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9589 * lyxfunc.C (getStatus): fix status message for disabled commands.
9591 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9593 * BufferView_pimpl.C: fix crash on close buffer
9594 during selection (#227)
9596 2002-01-27 Herbert Voss <voss@lyx.org>
9598 * buffer.C: link old Figure to new graphic inset
9600 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9602 * FontLoader.C (getFontinfo): Change the latex font names in order
9603 to match the names of type1inst.
9605 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9607 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9609 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9612 (remove_files_with_extension): ditto
9613 (remove_file): ditto
9616 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9617 document is smaller than the work area height. Do not initialize
9618 static variables to 0.
9620 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9622 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9624 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9625 LFUN_LAYOUT_PARAGRAPHS.
9627 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9628 tabular. It is possible to provide a possible cell, which will
9629 typically be the actcell from the corresponding insettabular
9631 * lyxfunc.C (getStatus): small cleanup; disable
9632 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9635 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9637 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9639 * paragraph.C (startTeXParParams):
9640 (endTeXParParams): new methods. The LaTeX code to
9641 start/end paragraph formatting
9642 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9643 empty (fixes bug #200)
9645 * vspace.C (inPixels): adapt to the change below
9646 (inPixels): [later] more cleanups (remove unused variables)
9648 * lyxlength.C (inPixels): change to use a width and a height as
9651 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9653 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9654 Replaced with \paperwidth
9656 * DepTable.C (insert): add std:: qualifier
9658 2002-01-18 Allan Rae <rae@lyx.org>
9660 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9663 * text.C (drawInset): Turned out I didn't know enough about how
9664 rebreaking worked. This fixes most of the redraw problems. I see
9665 an occasional cursor trail when a line is broken now and the cursor
9666 placement can seem out by a few pixels also after a rebreak.
9668 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9670 * buffer.C (parseSingleLyXformat2Token): update because minipage
9671 width is now a LyXLength
9673 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9675 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9678 2002-01-17 Juergen Vigna <jug@sad.it>
9680 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9682 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9683 is set correctly and the inset is updated correctly.
9685 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9687 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9688 the beginning of the loop.
9690 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9692 * lyxrc.C: improve help for use_scalable_fonts
9694 2002-01-17 Allan Rae <rae@lyx.org>
9696 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9698 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9700 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9701 make sure to set their inset_owner to the right value (bug #171)
9703 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9706 * DepTable.C: Implement mtime checking to reduce time spent doing
9709 2002-01-16 Juergen Vigna <jug@sad.it>
9711 * tabular.C (GetAdditionalHeight): one of error fixed.
9713 * lyxrc.C (output): small fix in writing use_pspell.
9715 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9717 * sp_base.h: #include LString.h
9719 2002-01-16 Allan Rae <rae@lyx.org>
9721 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9722 Can someone check this please?
9724 * text.C (drawInset): It was possible that p.row would be removed by
9725 breakAgainOneRow upsetting a few other settings. There may be another
9726 small tweak possible by setting need_break_row = 0 when p.row has been
9727 removed but I don't know enough about the logic here.
9729 2002-01-15 Allan Rae <rae@lyx.org>
9731 * text.C (insertChar): removed conditional truism.
9733 * BufferView2.C (removeAutoInsets): More tweaks.
9734 cur_par_prev could be a stray pointer. Check for trailing empty line
9735 in case last line was cur_par and only had an error inset on it.
9737 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9739 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9742 * vc-backend.C (most methods):
9743 * exporter.C (Export):
9744 * converter.C (convert):
9746 * LyXSendto.C (SendtoApplyCB):
9747 * lyxfunc.C (dispatch):
9751 * lyx_cb.C (AutoSave):
9753 * BufferView_pimpl.C (MenuInsertLyXFile):
9754 * buffer.C (runChktex): use Buffer::filePath().
9756 * buffer.h: rename filename to filename_; rename filepath to
9757 filepath_ and make it private
9758 (filePath): new method
9760 * buffer.C (writeFile): use fileName()
9763 * lyx_main.C (init): fix starting of LyX when the binary is a
9764 link from so,ewhere else.
9766 * minibuffer.C: include <cctype> for isprint
9768 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9770 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9771 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9772 name clash with InsetCollapsable's width function.
9774 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9776 * lastfiles.C: include <iterator>
9778 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9780 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9783 * buffer.C (makeLaTeXFile): ditto.
9784 Also make loop operation more transparent.
9786 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9788 * ToolbarDefaults.C: remove trailing comma closing namespace.
9790 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9792 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9795 * trans.C (Load): comment out unused variable, allowed.
9797 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9799 * minibuffer.[Ch] (append_char): new method to recieve input from the
9800 drop-down completion browser. If a key was pressed, then recieve this
9801 char and append it to the existing string.
9802 (peek_event): modify the positioning data passed to the completion
9803 browser so that it can be placed above the minibuffer rather than below.
9804 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9806 * LyXAction.C (init): alloe error-next for readonly documents.
9808 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9811 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9813 * bufferlist.C (readFile): create the buffer _after_ checking that
9816 * lyxfunc.C (verboseDispatch): fix handling of arguments
9818 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9820 * lyxrc.C: use string::erase() instead of initializing to "".
9823 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9825 * BufferView_pimpl.h:
9826 * BufferView_pimpl.C:
9829 * text2.C: tell X when we have made a selection for copying
9831 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9833 * BufferView_pimpl.C (MenuInsertLyXFile):
9834 * lyxfunc.C (menuNew):
9836 (doImport): add shortcuts to directory buttons
9838 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9841 * lyxfunc.C (setStatusMessage):
9842 (getStatusMessage): new methods
9843 (getStatus):use setStatusMessage instead of setErrorMessage
9844 (dispatch): when function is disabled, set error message here
9845 [instead of in getStatus previously]
9847 * BufferView_pimpl.C (workAreaButtonRelease): update
9848 toolbar/menubar here too.
9850 2002-01-13 Allan Rae <rae@lyx.org>
9852 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9853 Now seems indestructible. Remaining task is to audit all other
9854 code affected by deleteEmptyParagraphMechanism. One small quirk
9855 left is that an empty document with an error in the preamble can
9856 be made to report an error but no error box appears. I don't know
9858 (removeAutoInsets): Improved comments.
9860 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9863 * Thesaurus.C: update for Aiksaurus 0.14
9865 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9867 * text2.C (firstParagraph): removed member function, all uses
9868 replaces with ownerParagraph
9869 (redoParagraphs): here
9871 (toggleAppendix): here
9872 * BufferView2.C (insertErrors): here
9873 (setCursorFromRow): here
9875 2002-01-13 Allan Rae <rae@lyx.org>
9877 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9878 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9879 There is still a way to segfault this although you may have to do this
9880 multiple times: Have an InsetERT with an unknown command in it.
9881 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9882 <down-arrow>, <Enter> again, View->DVI, BANG!
9884 * text2.C (setCursor):
9885 (deleteEmptyParagraphMechanism):
9886 * lyxtext.h (setCursor):
9887 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9888 Making use of the return value may help fix other bugs.
9890 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9892 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9894 * LyXView.C (updateMenubar): call MenuBar::update here
9895 (updateToolbar): but not here
9896 (showState): do not update toolbar/menubar
9898 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9899 should need to care about that.
9901 * lyxfunc.C (verboseDispatch): simplify a bit
9902 (getStatus): have a version which takes a pseudoaction, and
9903 another which requires a (kb_action,string).
9905 * LyXAction.C (retrieveActionArg): make it work also when action
9906 is not a pseudo-action.
9907 (getActionName): simplify a bit
9910 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9912 * lyxfunc.C (verboseDispatch): new families of methods with
9913 several ways to specify a command and a bool to indicate whether
9914 the command name and shortcut should be displayed in minibuffer
9915 (eventually, we could extend that to a finer bitmask like
9916 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9917 (dispatch): the pristine dispatch command which just, well,
9918 dispatchs! Note it still sets its result to minibuffer; I'm not
9921 * lyxfunc.h: remove setHintMessage
9923 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9925 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9927 * BufferView_pimpl.C (specialChar): delete new inset if we have
9928 not been able to insert it.
9930 * kbmap.C: revert to using int instead of kb_action, since all we
9931 are dealing with is pseudo-actions.
9933 * LyXAction.C (searchActionArg): change to return int instead of
9934 kb_action, since the result is a pseudoaction.
9936 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9938 * buffer.C (insertErtContents): Fix (partially) the font bug.
9940 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9942 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9943 as the other one is broken on my machine!
9945 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9948 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9950 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9952 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9953 reflect their actual use. Provide compatibility code for older lyxrc
9956 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9958 change names of popup font variables in line with the changes to lyxrc.C
9960 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9962 * buffer.C (asciiParagraph): avoid outputing a word twice after
9965 * lyxrc.C (getDescription): document that document_path and
9966 template_path can be empty.
9968 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9970 * LaTeXFeatures.C (getMacros):
9971 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9973 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9975 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9977 (getPackages): rename feature "floats" to "float". Use an array to
9978 iterate over 'simple' features (i.e. just a \usepackage). Add
9979 handling of "amsmath" (renamed from "amsstyle").
9981 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9983 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9986 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9988 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9989 FuncStaus::FuncStatus & FuncStaus::some_method().
9991 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9993 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9994 of the func_satus stuff. Edited and massaged in various ways by
9997 * lyxfunc.C (getStatus): use FuncStatus
9999 2002-01-08 Juergen Vigna <jug@sad.it>
10001 * text.C (nextBreakPoint): use function Inset::isChar().
10003 * paragraph.C (TeXOnePar): use function
10004 Inset::forceDefaultParagraphs.
10006 * buffer.C (latexParagraphs): use function
10007 Inset::forceDefaultParagraphs.
10009 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10011 * lyx_gui.C (init): set the style of the menu popups to
10012 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10014 2002-01-07 Juergen Vigna <jug@sad.it>
10016 * text.C (setHeightOfRow): small fix
10017 (prepareToPrint): don't look at alignment if we don't have the place
10020 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10022 * box.C: New file. Move the Box methods and functions out of box.h,
10023 following Lars' suggestion.
10025 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10027 * box.h: #include "support/LOstream.h", needed for inlined function.
10030 * lyxtextclasslist.C: added some using std declarations.
10032 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10034 * box.h: make signed dimensions to allow insets wider than
10035 the screen (bug #162)
10037 * BufferView_pimpl.C: add some insetHit debug
10039 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10041 * vc-backend.C: add FIXME
10043 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10045 * lyxfunc.C (getStatus): enable code for showing math font status
10048 2002-01-07 Juergen Vigna <jug@sad.it>
10050 * text.C (nextBreakPoint): removed debug output not needed anymore.
10052 2002-01-06 Juergen Vigna <jug@sad.it>
10054 * text.C (nextBreakPoint): fixed up this function we had this bug
10055 since ever but now hopefully we break row better.
10056 (insertChar): we have to check if an inset is the next char as it
10057 could now happen that a large inset is causing a break.
10059 2002-01-05 Juergen Vigna <jug@sad.it>
10061 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10062 if it doesn't like to be drawed.
10064 2002-01-04 Juergen Vigna <jug@sad.it>
10066 * BufferView2.C (lockInset): forgot to set a cursor.
10068 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10070 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10072 * FormMathsPanel.C:
10075 * form_maths_panel.C:
10076 * form_maths_panel.h:
10077 * form_maths_panel.fd: implemented sub- and super- buttons in math
10080 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10081 (or ^ space) to be used as in TeX (req'd by André).
10083 * lyxfunc.C: Allow ^ and _ again to be used both as
10084 super/subscript (mathed) and as themselves (in text).
10086 2002-01-03 Allan Rae <rae@lyx.org>
10088 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10089 "LyX" or the filename of the current buffer if it has one. This is a
10090 modified form of John Levon's patch.
10092 * XFormsView.C (setWindowTitle): also set icon title.
10094 * LyXView.h (setWindowTitle): signature changed.
10095 * XFormsView.h (setWindowTitle): ditto.
10097 2002-01-02 Juergen Vigna <jug@sad.it>
10099 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10101 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10103 * screen.C (topCursorVisible): introduce a temp var for
10104 text->cursor.row(), handle the case where this row is null. (kindo
10107 * text2.C (setCursor): add a couple of asserts.
10109 * paragraph.h (inset_iterator): add -> operator
10111 * paragraph.[Ch] (autoDeleteInsets): remove member function
10113 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10114 cursor pos correctly and handle inset deletion by itself.
10115 (insertErrors): move iterator declaration out of for expression
10117 * lyxtextclass.C: add <algorithm>
10119 * Makefile.am: added the new files to sources, removed layout.C
10121 * layout.C: removed file
10123 * layout.h: remove LYX_DUMMY_LAYOUT
10125 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10129 * lyxtextclass.[Ch]:
10130 * lyxtextclasslist.[Ch]: new files
10132 * include order changes to a lot of files, also changes because of
10135 2001-12-27 Juergen Vigna <jug@sad.it>
10137 * buffer.C (asciiParagraph): more fixes.
10139 * tabular.C (ascii): make ascii export support export of only the
10140 data separated by a column-delimiter.
10141 (ascii): better support for ascii export.
10143 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10145 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10147 * tabular_funcs.C: use a "using std::getline" instead of the
10148 previous fix from Angus (necessary for cxx + lyxstring)
10150 2001-12-24 Juergen Vigna <jug@sad.it>
10152 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10154 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10155 problems. First check a minipage also if we have some ert-contents
10156 (not only on par->size(), second set the right depth of the paragraph
10157 on the relink to the root-paragraph-list!
10159 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10160 which then did not anymore update the main paragraphs on undo/redo!
10162 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10164 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10165 code. Support all font-changing funcs (even those which are not in
10166 menu currently). Support for reporting font settings in
10167 mathed (disabled until Andre provides a function on mathed's side).
10169 * func_status.h (toggle): small helper function to set toggle
10172 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10174 * tabular_funcs.C: getline -> std::getline
10176 2001-12-21 Juergen Vigna <jug@sad.it>
10178 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10179 accessed and could be 0 (I couldn't generate this but it seems
10182 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10184 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10185 * tabular_funcs.h: here and include iosfwd
10187 2001-12-20 Juergen Vigna <jug@sad.it>
10189 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10190 inside inset but undo_par was.
10192 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10194 * Thesaurus.C: always include <config.h> in sources.
10198 * box.h: do not include <config.h> in header files
10200 * text.C (paintLastRow): remove unused variable
10202 * text.C (transformChar):
10204 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10206 * Painter.C (text):
10207 * font.C (width): rewrite to use uppercase() instead of
10210 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10212 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10214 * lyxfind.C: clean up of find failure position change
10216 2001-12-20 Juergen Vigna <jug@sad.it>
10218 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10220 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10221 (TeXRow): added to LaTeX a single tabular row.
10222 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10223 (Latex): simplified and finally good LT-h/f support.
10224 (various_functions): just small adaptions for LT-h/f support.
10226 * tabular_funcs.[hC]: added and moved here all not classfunctions
10229 2001-12-19 Juergen Vigna <jug@sad.it>
10231 * tabular.[Ch]: better support for longtabular options (not finished
10234 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10236 * text.C (paintLastRow): use the label font instead of the font of
10237 the last character to compute the size of *_BOX. This makes more
10238 sense and avoids a crash with empty paragraphs.
10239 Use Painter::rectangle to draw EMPTY_BOX.
10241 2001-12-19 Juergen Vigna <jug@sad.it>
10243 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10244 the paragraphs if the replaced paragraph is not the first one!
10245 Tried to delete not used paragraphs but does not work yet so for
10246 now it's inside #ifdef's and by default off!
10248 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10250 * MenuBackend.C: include "lyx_main.h" instead of declaring
10251 lastfiles (actually was declared as LastFiles* instead of a
10254 2001-12-17 Juergen Vigna <jug@sad.it>
10256 * tabular.C (AppendColumn): applied John's fix
10258 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10262 * BufferView_pimpl.h:
10263 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10266 * box.h: new start of class for above
10268 * lyxfunc.C: ignore space-only minibuffer dispatches.
10269 Show the command name when it doesn't exist
10271 * minibuffer.C: don't add empty lines to the history
10273 * minibuffer.C: add a space on dropdown completion
10275 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10277 * text.C: fix line above/below drawing in insets
10279 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10281 * lyxlength.C (LyXLength): Initialize private variables.
10283 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10285 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10286 when inserting error insets.
10288 2001-12-13 Juergen Vigna <jug@sad.it>
10290 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10291 actually sometimes the before-paragraph.
10292 (setUndo): don't clear the redostack if we're not actually undoing!
10294 2001-12-06 Juergen Vigna <jug@sad.it>
10296 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10297 and fixed redoing of main paragraph, so we can use it now ;)
10299 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10301 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10303 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10306 2001-12-13 André Pönitz <poenitz@gmx.net>
10309 * undo_func.C: minor cleanup
10311 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10313 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10314 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10315 font in urw-fonts package which is marked as -urw-fontspecific and
10316 does not work (incidentally, changing the encoding in the
10317 fonts.dir of this package to -adobe-fontspecific fixes the
10320 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10321 is a crash when undoing first paragraph (Juergen, please take a
10322 look). THis does not mean the undo fix is wrong, just that it
10325 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10326 the (Paragraph*) version when needed instead of duplicating the
10329 * text.C (workWidth): use Inset::parOwner to find out where the
10330 inset has been inserted. This is a huge performance gain for large
10331 documents with lots of insets. If Inset::parOwner is not set, fall
10332 back on the brute force method
10334 * paragraph_pimpl.C (insertInset):
10335 * paragraph.C (Paragraph):
10336 (cutIntoMinibuffer): set parOwner of insets when
10337 inserting/removing them
10339 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10341 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10347 * mathed/formulabase.C:
10348 * mathed/math_cursor.[Ch]:
10349 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10352 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10354 * lyxlength.[Ch] (operator!=): new function
10356 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10358 * text.C (workWidth): use Inset::parOwner to find out where the
10359 inset has been inserted. This is a huge performance gain for large
10360 documents with lots of insets. If Inset::parOwner is not set, fall
10361 back on the brute force method
10363 * paragraph_pimpl.C (insertInset):
10364 * paragraph.C (Paragraph):
10365 (cutIntoMinibuffer): set parOwner of insets when
10366 inserting/removing them
10368 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10370 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10372 * tabular-old.C (getTokenValue):
10373 * tabular.C (getTokenValue):
10374 (write_attribute): new versions for LyXLength
10375 (everywhere): adjust the use of widths
10377 * tabular.h: change the type of widths from string to LyXLength
10379 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10381 * paragraph.C: fixed missing line number count when exporting
10382 Environments to LaTeX file
10384 * buffer.C: added informational message for checking line numbers.
10386 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10388 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10389 paragraph, do the 'double space' part, but not the 'empty
10392 * text.C (workWidth): small optimization
10393 (getLengthMarkerHeight): use minimal size for negative lengths.
10395 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10397 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10399 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10401 2001-12-11 André Pönitz <poenitz@gmx.net>
10404 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10406 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10408 * text2.C: keep selection on a setFont()
10410 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10412 * lyx_cb.C: another bv->text misuse, from insert label
10414 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10417 * kbsequence.C: re-instate nmodifier mask
10419 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10421 * lyx_main.h: make lyxGUI private.
10423 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10425 * lyxfind.C: place the cursor correctly on failed search
10427 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10429 * text.C (getLengthMarkerHeight): for small heights, the arrows
10430 are not always on top/bottom of the text
10431 (drawLengthMarker): smaller arrows; take the left margin in
10432 account; draw also vfills.
10434 (paintLastRow): remove special code for vfill and standard spaces,
10435 since everything is handled in drawLengthMarker now.
10437 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10439 * buffer.C (insertErtContents): try to handle font and language
10440 interaction a bit better.g
10442 * ColorHandler.C (updateColor): change the hash to cover the whole
10443 LColor enum, ws cleanup
10444 (getGCLinepars): ditto
10445 (getGCLinepars): only lookup in the linecache once.
10447 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10449 * iterators.C (operator++): Make the iterator more robust
10451 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10453 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10455 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10458 * text.C: better added space drawing
10460 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10463 * BufferView2.C: fix layout combo update on inset unlock
10465 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10467 * Makefile.am: don't compile unused files
10469 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10473 * LyXAction.C: remove old LFUN_LAYOUTNO
10475 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10477 * paragraph_pimpl.h:
10478 * paragraph_pimpl.C: isTextAt() doesn't need font param
10480 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10483 * lyxlex.C: little cleanup
10485 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10487 * BufferView_pimpl.C: fix insertAscii for insets
10489 2001-12-05 Juergen Vigna <jug@sad.it>
10491 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10492 set the right font on the "multi" paragraph paste!
10494 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10500 * lyxlength.C: remove out-commented code.
10502 * BufferView_pimpl:
10516 * vc-backend.C: change "while(" to "while ("
10518 * lyxlength.[Ch]: add zero function to check if length is zero or
10520 * lyxgluelength.C: use it
10522 2001-12-05 Allan Rae <rae@lyx.org>
10524 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10525 Works for 2.95.3, from what I understand of Garst's reports this should
10526 work for other g++ versions. We're screwed if the abs(int) definition
10527 changed between bugfix releases of gcc.
10529 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10531 * text.C: fix chapter label offset !
10533 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10536 * text.C: fix hfill at end of line, clean up
10538 2001-12-04 Juergen Vigna <jug@sad.it>
10540 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10541 that we force an update of the inset and it's owners if neccessary.
10543 2001-12-03 Juergen Vigna <jug@sad.it>
10545 * text.C (rowLast): simplified code
10547 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10549 * lyxfunc.C: fix show options on timeout
10551 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10553 * screen.C (topCursorVisible): scroll half a page when the cursor
10554 reached top of bottom of screen
10556 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10558 * minibuffer.C: deactivate on loss of focus
10560 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10562 * vspace.[Ch] (operator!=): add operator.
10564 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10566 * BufferView_pimpl.C: refuse to open an inset when
10567 there's a selection.
10569 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10571 * BufferView_pimpl.C: allow to click on RHS of full row insets
10573 2001-11-30 Juergen Vigna <jug@sad.it>
10575 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10576 insets for undo reasons.
10578 2001-11-28 André Pönitz <poenitz@gmx.net>
10580 * vspace.[Ch]: cosmetical changes
10582 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10592 * kbsequence.C: part re-write of old kb code
10595 * WorkArea.C: remove Lgb_bug_find_hack
10597 2001-11-30 José Matos <jamatos@fep.up.pt>
10599 * buffer.C (makeDocBookFile): add a comment to point a hack.
10600 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10601 Fixed a double write of labels.
10603 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10606 * LaTeX.h Fixed bug in LaTeX class where it would not
10607 re-run latex if no depfiles were changed, but the .dvi was removed.
10609 2001-11-28 André Pönitz <poenitz@gmx.net>
10611 * all the files from the change on 2001/11/26:
10612 use lyx::layout_type instead of LyXTextClass::size_type
10613 use lyx::textclass_type instead of LyXTextClassList::size_type
10615 2001-11-29 Juergen Vigna <jug@sad.it>
10617 * text.C: added support for paragraph::isFreeSpacing()
10619 * buffer.C: same as above
10621 * paragraph.h: inserted isFreeSpacing() function to enable
10622 FreeSpacing inside InsetERT.
10624 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10625 of the paragraph's in the cut/copy buffer to 0!
10627 * text2.C (removeRow): remove the assert as it can!
10629 * lyxtext.h: added helper function firstRow returning firstrow and
10630 made firstrow private again.
10632 * BufferView2.C (lockInset): don't relock if we're already locked!
10634 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10635 the only paragraph.
10636 (removeRow): added Assert::(firstrow)
10638 * debug.C: forgot to add INSETTEXT here.
10640 2001-11-28 Juergen Vigna <jug@sad.it>
10642 * sp_spell.C (initialize): changed error text to more general
10643 spellchecker command use (not only ispell!)
10645 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10647 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10649 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10651 * vspace.C: initialise lyxgluelength on failure
10653 2001-11-28 Allan Rae <rae@lyx.org>
10655 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10656 declaration & definition that looks like a function declaration.
10658 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10660 * BufferView2.C (copy):
10661 (copyEnvironment): do not clear the selection when doing a copy.
10663 * text.C (paintFirstRow): compilation fix
10665 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10667 * tabular.C (Latex): correct line count when writing latex.
10669 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10671 * paragraph_pimpl.h:
10672 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10675 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10679 * LColor.C: change vfillline->added_space
10681 * text.C: add markers and text for added space
10683 * vspace.C: fix comment
10685 2001-11-28 André Pönitz <poenitz@gmx.net>
10687 * paragraph.C: whitespace changes
10688 * all the other files from the change on 2001/11/26:
10689 change *::pos_type into lyx::pos_type
10691 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10693 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10694 language of the document when inserting error insets.
10696 2001-11-26 André Pönitz <poenitz@gmx.net>
10698 * BufferView_pimpl.[Ch]:
10706 * paragraph_pimpl.[Ch]:
10709 * text2.C: reduce header dependencies, introduce type for positions
10711 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10713 * <various>: change to use Alert.h
10715 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10717 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10718 when encountering an unknown token.
10719 (readLyXformat2): Show an error message if there were unknown tokens.
10721 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10724 * BufferView_pimpl.C:
10728 * text2.C: use par->isInset()
10730 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10732 * paragraph_pimpl.h:
10733 * paragraph_pimpl.C: cleanup
10735 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10737 * text2.C (removeRow):
10738 * text.C (setHeightOfRow): remove useless (and costly) call to
10741 2001-11-20 Allan Rae <rae@lyx.org>
10743 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10744 Now need Inset*::checkInsertChar() to return true for appropriate
10745 cases so that the characters in the minibuffer will actually be
10748 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10750 * text.C: change the order of the includes.
10751 (workWidth): initialize it at once.
10752 (workWidth): make maxw unsigned
10753 (setHeightOfRow): remove unused variable (inset)
10754 (selectSelectedWord): remove unused variable (inset)
10755 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10757 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10759 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10760 server is not running.
10762 (closeConnection): add debug info when server is disabled.
10764 * ColorHandler.C (getGCForeground): send debug message to GUI
10767 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10769 * kbmap.C (bind): modify because return conventions of
10770 kb_sequence::parse have changed.
10772 * kbsequence.C (parse): only ignore spaces and not any stupid
10773 control character. This avoids tests like s[i] <= ' ', which are
10774 guaranteed to fail with 8bit characters and signed chars.
10775 Change return code to string::npos when there have been no error
10776 (0 was a bad idea when error is at first character)
10778 2001-11-14 José Matos <jamatos@fep.up.pt>
10781 * buffer.C (simpleDocBookOnePar): removed unused argument.
10783 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10785 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10786 insets which are part of a word. Paragraph::isLetter takes care of
10787 that now. Use Paragraph::isInset to identify insets.
10788 (selectSelectedWord): do not test for hyphenation break.
10790 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10791 that protected spaces are considered as spaces.
10793 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10796 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10799 * lyxserver.C: fix it. and small cleanup.
10801 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10803 * BufferView_pimpl.C: use inline helpers
10806 * LaTeXFeatures.C: fix typos
10809 * Spacing.C: move spacing_string into class
10811 * ToolbarDefaults.C: move stuff into namespace anon
10813 * layout.h: update enum
10815 * lyxfunc.C: use better debug
10817 * minibuffer.h: fix typo
10821 * WorkArea.C: add and use Debug::WORKAREA
10825 * text2.C: code re-organisation, inline helpers
10827 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10829 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10830 std::vector.empty().
10832 2001-11-09 Allan Rae <rae@lyx.org>
10834 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10835 '\n's after tables. Tabular and ERT inset work now makes this no
10838 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10841 * minibuffer.C: fix crash, improve drop-down completion
10843 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10846 * lyxserver.C: invalidate fd's when doing endPipe()
10848 2001-11-08 José Matos <jamatos@fep.up.pt>
10850 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10851 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10854 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10856 2001-11-07 José Matos <jamatos@fep.up.pt>
10859 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10862 * buffer.C (sgmlOpenTag):
10863 * buffer.C (sgmlCloseTag): removed debug info.
10865 * buffer.h (sgmlOpenTag):
10866 * buffer.h (sgmlCloseTag): made public.
10868 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10870 * buffer.C (saveParamsAsDefaults):
10871 * lyx_cb.C (MenuLayoutSave): remove
10873 * LyXAction.C (init):
10875 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10877 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10879 * buffer.C (setPaperStuff): removed from here...
10881 * bufferparams.C (setPaperStuff): ... and moved there.
10883 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10887 * XFormsView.C: add support for drop-down completion
10889 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10891 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10894 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10896 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10899 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10901 * lyx_main.C: change ref to known bugs
10903 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10905 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10906 to work around older babel problems.
10908 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10910 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10912 2001-10-24 Juergen Vigna <jug@sad.it>
10914 * tabular-old.C (ReadOld): below variable changes reflected.
10916 * tabular.[Ch]: added ltType struct for longtable header/footer
10917 defines and changed all instances where they are used. Added
10918 future support for double top/bottom rows.
10920 2001-10-24 José Matos <jamatos@fep.up.pt>
10922 * buffer.h (docbookHandleCaption):
10923 * buffer.C (docbookHandleCaption): removed unused function.
10924 (makeDocBookFile): moved docbook supported version to v4.1.
10926 2001-10-24 José Matos <jamatos@fep.up.pt>
10929 * tabular.C (docbookRow): new function to export docbook code of a row.
10930 (DocBook): now honors the longtable flags.
10932 2001-10-23 José Matos <jamatos@fep.up.pt>
10935 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10936 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10938 * buffer.C (makeLinuxDocFile):
10939 (makeDocBookFile): reworked the preamble, more clean, and with
10940 support for lyx defined entities. Changed the document declaration
10941 to be more XML friendly.
10943 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10944 if we need to output XML that should be done with a filter.
10946 2001-10-22 Juergen Vigna <jug@sad.it>
10948 * sp_pspell.h (class PSpell): add alive function needed in the
10949 controller to see if the spellchecker could be started.
10951 2001-10-22 Juergen Vigna <jug@sad.it>
10953 * buffer.C (insertStringAsLines): modify the font for inserting
10954 chars in certain conditions by calling checkInsertChar(font).
10956 2001-10-19 Juergen Vigna <jug@sad.it>
10958 * text.C (workWidth): use getRow instead of wrong algorithm.
10959 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10961 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10966 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10968 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10970 * text.C (workWidth): do not search for the exact row when
10971 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10972 optimization for big documents.
10974 2001-10-18 Juergen Vigna <jug@sad.it>
10976 * text.C (workWidth): new function with added Inset * parameter.
10978 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10980 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10982 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10983 change return type of getColumnNearX.
10986 * text.C (changeRegionCase): use uppercase/lowercase instead of
10989 (rightMargin): simplify code by factoring out the uses of
10994 (appendParagraph): use Paragraph::size_type
10996 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10998 * vspace.C (asLatexString): add a missing break
11000 2001-10-15 Herbert Voss <voss@perce.de>
11002 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11004 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11006 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11009 2001-10-10 André Pönitz <poenitz@gmx.net>
11011 * lyxfunc.C: removed greek_kb_flag.
11013 2001-10-10 Herbert Voss <voss@perce.de>
11015 * lyx_main.C: delete global string help_lyxdir.
11017 2001-10-09 Herbert Voss <voss@perce.de>
11019 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11021 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11023 * lyx_main.C: added global string help_lyxdir.
11025 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11027 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11029 * lyxrc.C (set_font_norm_type): support iso8859-4
11031 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11033 * LaTeX.C (deplog): add another regex for MikTeX
11035 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11037 * lyxrc.C (set_font_norm_type): support iso8859-3
11039 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11041 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11043 * LaTeXFeatures.C: remove special case of french and index
11045 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11046 before \begin{document}). This solves several incompatibilities.
11048 2001-10-03 Garst Reese <reese@isn.net>
11050 * lyx_cb.C: change CheckTex error msg.
11052 2001-10-03 José Matos <jamatos@fep.up.pt>
11054 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11056 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11058 * .cvsignore: update
11060 * lyx_main.C (commandLineVersionInfo): use new style version info.
11062 * buffer.C (writeFile):
11064 (makeLinuxDocFile):
11065 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11067 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11069 * version.h: update to use stuff in version.C
11071 * version.C.in: new file. Contains version information determined
11072 at compile time. This is a merging of version.h and
11075 2001-10-03 Juergen Vigna <jug@sad.it>
11077 * BufferView_pimpl.C (update): don't change "dirty" status in
11080 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11082 * WorkArea.C (c-tor): re-position version string slightly.
11084 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11086 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11087 revert to previous code.
11089 WorkArea.[Ch]: (show, destroySplash): methods removed.
11091 WorkArea.C: rework code so that it's an amalgam of the codes before and
11092 after the splash screen was moved to WorkArea.
11094 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11097 * vspace.C (inPixels):
11100 * buffer.C (insertStringAsLines):
11101 (asciiParagraph): fix types to be large enough
11103 * lyxlex_pimpl.h: change member status from short to int
11105 * layout.h: fix type of endlabeltype
11108 * kbsequence.C (parse): change return type to string::size_type
11110 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11113 * Bullet.C (bulletSize):
11114 (bulletEntry): do not use short ints as parameters
11116 * BufferView2.C (insertLyXFile): change a char to an int.
11118 * WorkArea.C (WorkArea): remove unneeded floats in computation
11120 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11122 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11124 * paragraph.C (asString): Do not ignore newline/hfill chars when
11125 copying to the clipboard.
11127 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11129 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11130 after a multi-line inset.
11132 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11134 * paragraph.C (validate): Set NeedLyXFootnoteCode
11136 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11138 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11139 and decrease-error to decrease.
11141 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11143 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11144 it more readable (should be equivalent)
11146 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11148 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11150 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11152 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11153 of a cursor (row, etc.) after a character has been deleted
11154 (deleteEmptyParagraphMechanism): call the method above on _all_
11155 cursors held by the LyXText when a double space has been
11158 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11160 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11162 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11164 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11165 background. Use greyOut() and the new show() methods to toggle between
11166 the foreground and background. Add code to remove the splash after
11167 its initial showing.
11169 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11170 (create_forms): no longer call Dialogs::showSplash.
11172 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11174 * .cvsignore: add version_info.h
11176 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11178 * version_info.h.in: new file
11180 * Makefile.am: add version_info.h.in
11182 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11183 version_info.h instead of VERSION_INFO
11185 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11187 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11188 The ERT inset now returns string().
11190 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11192 * lyxtext.h, text.C (selectNextWord): renamed as
11193 selectNextWordToSpellcheck.
11195 * text.C (selectNextWordToSpellcheck): Modified to not select
11196 words inside an ERT inset.
11198 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11200 * lyx_cb.C (MenuLayoutSave): change a bit the question
11202 * sp_base.h: include <sys/types.h>
11204 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11206 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11208 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11210 * several files: fix typos in user-visible strings
11212 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11214 * text2.C (pasteSelection): do not set the selection, since it
11215 will be cleared later. Actually, the intent was to fix the way the
11216 selection was set, but I figured rmoving the code was just as good.
11218 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11220 * FontLoader.C (available): Check if font is available without
11223 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11225 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11227 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11229 * lyxrc.[Ch]: added display_graphics variable and associated code.
11231 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11233 * bufferparams.C (hasClassDefaults): new method. Returns true if
11234 the buffer parameters correspond to known class defaults
11236 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11238 * XFormsView.C (show): set minimum size to the main window.
11240 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11242 * text2.C (copySelection):
11244 * lyxfind.C (LyXReplace):
11245 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11246 LyXText::selectionAsString.
11248 * paragraph.C (asString): add "label" argument to the second form
11250 * text2.C (selectionAsString): add "label" argument and pass it to
11251 Paragraph::asString.
11253 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11255 * lyx_main.C (commandLineHelp): remove version information
11257 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11259 * lyx_main.C: add -version commandline option
11261 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11263 * paragraph.h: make the optional constructor arg required instead.
11264 some modifications to other files because of this.
11266 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11268 * lyxserver.C (C_LyXComm_callback): make it static
11270 * lyx_main.C (error_handler): make it static
11272 * lyx_gui.C (LyX_XErrHandler): make it static
11274 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11276 * WorkArea.C: make the extern "C" methods static.
11278 * Makefile.am (lyx_LDADD): simplify
11280 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11282 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11283 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11285 * LyXAction.C (init):
11286 * lyxfunc.C (dispatch): associated code removal.
11288 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11290 * lyxfont.h (isSymbolFont): shut off warning
11292 * text.C (setHeightOfRow):
11293 (getVisibleRow): fix crash with empty paragraphs which have a
11296 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11298 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11301 2001-09-04 José Matos <jamatos@fep.up.pt>
11304 * tabular.C (docbook): rename docBook method to docbook.
11306 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11308 * Makefile.am: add dependencies to main.o.
11310 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11312 * FontLoader.C (available): Return false if !lyxrc.use_gui
11314 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11316 * FontInfo.C (query):
11317 * converter.C (view):
11318 * importer.C (Import):
11319 * exporter.C (Export): Can not -> cannot.
11321 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11323 * BufferView_pimpl.C: allow to create index inset even if
11326 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11328 * buffer.C (getLists): replace boost::tie code with an explicit pair
11329 as boost::tie can break some compilers.
11331 * iterators.h: Added a std:: declaration to the return type of
11334 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11336 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11339 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11341 * iterators.[Ch]: New files. Provide paragraph iterators.
11343 * buffer.C (changeLanguage): Use paragraph iterators.
11344 (isMultiLingual): ditto
11346 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11348 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11350 * FontLoader.C: Support for cmr font.
11352 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11354 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11355 (available): New method.
11357 * FontInfo.C (getFontname): Use scalable fonts even when
11358 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11361 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11363 * converter.C (Formats::view): reverted! Incorrect fix.
11365 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11367 * converter.C (Formats::view): only output the -paper option
11368 if the dvi viewer is xdvi, thereby fixing bug #233429.
11370 2001-08-23 Herbert Voss <voss@perce>
11372 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11374 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11376 * Spacing.h (Spacing): Set space to Default on in the default
11379 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11381 * vc-backend.h (RCS::versionString): add RCS to version
11382 (CVS::versionString): add CVS to version
11384 * vc-backend.C (scanMaster): do not add CVS to version.
11385 (scanMaster): do not add RCS to version
11387 * lyxvc.C (versionString): new method
11389 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11391 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11393 * Spacing.C (set): initialize fval
11395 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11397 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11400 2001-08-16 Juergen Vigna <jug@sad.it>
11402 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11404 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11406 * BufferView_pimpl.C:
11409 * text2.C: setParagraph takes linespacing now
11411 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11413 * LyxAction.C: add internal LFUN_CITATION_INSERT
11415 * LyXView.C: actually apply fix
11417 * bufferlist.C: fix open non-existent file
11419 * lyxfind.C: fix indentation
11421 * lyxfunc.C: remove unneeded assert, fix typo
11423 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11425 * MenuBackend.C: use "Floatname List"
11427 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11429 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11430 when converting LaTeX layout to insetERT.
11431 Generate a non-collapsed float when reading old float
11433 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11435 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11438 2001-08-13 Juergen Vigna <jug@sad.it>
11440 * text.C (fill): return 0 instead of 20 as this seems to be the more
11443 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11445 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11448 2001-08-13 Juergen Vigna <jug@sad.it>
11450 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11452 (SearchBackward): comment out the unlocking of the inset_owner this
11453 should not be needed!
11455 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11457 * Many files: Remove inherit_language, and add latex_language
11459 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11460 collapsible insets.
11462 2001-08-10 Juergen Vigna <jug@sad.it>
11464 * text.C (prepareToPrint): fixed hfill-width in draw!
11466 * BufferView2.C (selectLastWord): save the selection cursor as this
11467 now is cleared in the function LyXText::clearSelection!
11469 2001-08-08 Juergen Vigna <jug@sad.it>
11471 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11472 BACKSPACE type functions.
11474 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11475 is only cutted from the document but not put in the cut-buffer, where
11476 still the old stuff should be.
11478 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11480 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11482 * tabular.C (SetWidthOfCell): fixed special case where the width
11484 (LeftLine): handle '|' in align_special.
11486 (LeftAlreadyDrawed): ditto
11487 (SetWidthOfCell): ditto
11489 2001-08-07 Juergen Vigna <jug@sad.it>
11491 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11493 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11495 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11496 * lyxlex.[hC]: ditto
11498 2001-08-06 Juergen Vigna <jug@sad.it>
11500 * text.C (getVisibleRow): fix up row clearing a bit.
11502 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11504 * minibuffer.C: make sure the X server sees the changes in the input.
11506 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11508 * paragraph.C (getFont): split into...
11509 (getLabelFont): this
11510 (getLayoutFont): and this
11511 * paragraph_pimpl.C (realizeFont): calling this
11513 * text2.C (getFont): split into...
11514 (getLayoutFont): this
11515 (getLabelFont): and this
11516 (realizeFont): all three calling this
11518 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11521 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11523 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11525 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11527 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11528 layouts from the Quote inset insertion.
11530 2001-08-03 Juergen Vigna <jug@sad.it>
11532 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11534 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11535 only if status not is already CHANGED_IN_DRAW (second level).
11537 * text.C (draw): don't set the need_break_row when inside an
11540 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11542 * buffer.C (parseSingleLyXformat2Token): handle more latex
11545 * bufferview_funcs.[hC]: change function names to
11546 begin with small char, adjust other files.
11548 2001-08-02 André Pönitz <poenitz@gmx.net>
11551 BufferView_pimpl.C: remove broken special code for math-greek
11553 2001-08-02 Juergen Vigna <jug@sad.it>
11555 * BufferView_pimpl.C (update): redone this function so that we
11556 update the text again if there was a CHANGE_IN_DRAW.
11558 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11559 (drawFromTo): added a new internal bool which is used by draw() and
11561 (general): some cursor drawing problems fixed.
11563 2001-08-01 Juergen Vigna <jug@sad.it>
11565 * lyxfind.C (LyXFind): fixed
11566 (SearchForward): ditto
11567 (SearchBackward): ditto
11569 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11570 spurius drawing of the cursor in the main area.
11572 * text2.C (status): small fix which could lead to a segfault!
11573 (clearSelection): remove unneeded BufferView param.
11575 2001-08-01 André Pönitz <poenitz@gmx.net>
11577 * lyxfunc.C: small change due to changed mathed interface
11579 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11581 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11583 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11585 * lyxfunc.c: fail gracefully if file doesn't exist
11590 * BufferView_pimpl.C: IsDirWriteable() proto changed
11592 * LyXView.C: fix updateWindowTitle() to store the last title
11594 2001-07-31 Juergen Vigna <jug@sad.it>
11596 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11597 the font (wrong since using of Paragraph::highestFontInRange).
11599 * paragraph.C (highestFontInRange): added a default_size parameter.
11601 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11602 (setHeightOfRow): reformat
11604 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11606 * converter.[hC] + affected files: move to (inital-char)lowercase
11609 * ParagraphParameters.C (ParagraphParameters): remove commented code
11611 * PainterBase.[Ch]: remove commented code
11613 * LaTeXFeatures.h: add "bool floats" for float.sty
11615 * LaTeXFeatures.C (LaTeXFeatures): init floats
11616 (require): handle float
11617 (getPackages): do it with floats
11619 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11621 * BufferView_pimpl.C (Dispatch): improve handling of
11622 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11624 * commandtags.h: #include lyxfont.h here temporarily to avoid
11627 * bufferlist.h: include LString.h here.
11629 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11631 * text2.C (getStringToIndex): new method.
11633 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11635 * *: Reduced header file dependencies all over.
11637 2001-07-30 Baruch Even <baruch@lyx.org>
11639 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11641 2001-07-29 Baruch Even <baruch@lyx.org>
11643 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11645 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11647 * ParameterStruct.h (endif): add a default constructor to make
11648 sure that all variables is initialized.
11650 * ParagraphParameters.C (ParagraphParameters): adjust
11652 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11654 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11655 index; also, check that there is something to index, and that it
11656 does not span over several paragraphs.
11657 (doubleClick): use WHOLE_WORD_STRICT for double click.
11659 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11661 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11664 2001-07-26 Baruch Even <baruch@lyx.org>
11666 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11667 an InsetFig figure, backwards compatible reading of old figure code.
11669 2001-07-27 Juergen Vigna <jug@sad.it>
11671 * text2.C: font.realize function adaption.
11673 * text.C (draw): add a warnings lyxerr text if needed.
11675 * layout.C: font.realize function adaption.
11677 * language.C: add inherit_language and implement it's handlings
11679 * bufferview_funcs.C (StyleReset): remove language parameter from
11680 font creation (should be language_inherit now).
11682 * bufferparams.C (writeFile): handle ignore_language.
11684 * paragraph.C (getFontSettings): the language has to be resolved
11685 otherwise we have problems in LyXFont!
11687 * lyxfont.C (lyxWriteChanges): added document_language parameter
11688 (update): removed unneeded language parameter
11690 * paragraph.C (validate): fixed wrong output of color-package when
11691 using interface colors for certain fonts in certain environments,
11692 which should not seen as that on the final output.
11694 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11696 * BufferView_pimpl.C:
11701 * LyXAction.C: add thesaurus support
11704 * lyxfind.C: add "once" parameter, for thesaurus, to not
11705 move to the next match
11707 2001-07-26 Juergen Vigna <jug@sad.it>
11709 * lyxfont.C (realize): honor ignore_language too!
11712 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11714 * text.C (draw): one place more for ignore_language to not draw
11717 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11719 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11721 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11723 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11724 the minipage conversion problem.
11726 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11728 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11731 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11733 * BufferView.h: don't forward declare WorkArea
11735 * BufferView.C: don't include WorkArea.h
11737 2001-07-25 André Pönitz <poenitz@gmx.net>
11741 * lyxfunc.C: new LFUN 'math-space'
11743 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11745 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11747 * text2.C (toggleInset): call open/close
11749 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11751 * lyxfunc.C (dispatch): add debug for the disabled case
11753 * font.C (buttonText): make similar to rectText
11755 * buffer.C (readInset): comment out parsing of insetlist and
11758 * PainterBase.C (rectText): small correction
11760 * BufferView_pimpl.C: comment out insettheorem and insetlist
11761 * LyXAction.C: ditto
11762 * commandtags.h: ditto
11764 2001-07-24 Juergen Vigna <jug@sad.it>
11766 * text.C (draw): honor the ignore_language.
11768 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11770 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11772 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11775 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11777 * lyxtext.h: remove unused (and unimplemented) methods
11779 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11781 * text.C (getVisibleRow): honor background color
11784 * Painter.h: remove default color argument for fillRectangle
11786 * text.C (backgroundColor): new method
11788 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11790 * text.C (getVisibleRow): adjust
11792 * font.[Ch] (rectText): new method, metrics
11793 (buttonText): new method, metrics
11795 * PainterBase.[hC]: make rectText and buttonText always draw and take
11798 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11800 * ToolbarDefaults.C (read):
11801 * MenuBackend.C (read): allow escaping in all strings
11803 * BufferView_pimpl.C (insertAndEditInset): new method.
11804 (Dispatch): use insertAndEditInset whenever appropriate.
11806 * BufferView_pimpl.C (insertNote): removed
11808 * BufferView_pimpl.C (smartQuote): new method, moved from
11809 BufferView; if an insetquote cannot be inserted, insert a '"'
11812 * BufferView2.C: remove insertCorrectQuote();
11814 * lyxfunc.C (getStatus): Add support for all remaingin
11815 inset-insert lfuns.
11817 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11819 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11820 command (necessary to pass " as parameter of self-insert.
11822 * text.C (selectWordWhenUnderCursor):
11823 (selectWord): add word_location parameter
11824 (selectWordWhenUnderCursor): same + remove special code for word
11826 (selectNextWord): use kind() to guess type of insetspecialchar,
11829 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11830 (insertErtContents): create ert insets as collapsed.
11831 (readInset): better compatibility code for Info inset.
11833 2001-07-20 Juergen Vigna <jug@sad.it>
11835 * lyxfunc.C (dispatch): use always LyXFind now!
11837 * text2.C (init): add a reinit flag so that the LyXText can be
11838 reinited instead of deleted and reallocated (used in InsetText).
11840 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11846 2001-07-18 Juergen Vigna <jug@sad.it>
11848 * text.C (selectNextWord): handle insets inside inset by calling
11849 always the bv->text functions so that we can go up the_locking_inset!
11851 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11852 in strange locations when inside an inset!
11854 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11855 handling to include insets.
11857 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11859 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11861 * LyXAction.C (init):
11863 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11864 LIGATURE_BREAK, since the name is so stupid.
11866 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11868 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11871 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11873 * sp_form.[Ch]: remove.
11875 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11877 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11880 * src/buffer.C (readInset): ditto.
11882 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11884 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11885 menuSeparator(), endOfSentenceDot(), ldots() and
11886 hyphenationPoint(), which are therefore removed.
11887 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11889 * LyXAction.C (init):
11890 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11892 * paragraph.C (getWord): removed.
11894 * BufferView_pimpl.C (Dispatch): use last word or selection for
11895 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11897 * lyx_main.C (queryUserLyXDir): do not ask before creating
11898 user_dir, except if it has been named explicitely.
11900 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11902 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11903 a document of zero size.
11905 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11907 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11908 approriately in the c-tor and in require().
11909 (getPackages): output the appropriate LaTeX for natbib support.
11911 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11912 variables "use_natbib" and "use_numerical_citations" when reading the
11914 (readInset): read the various natbib cite commands.
11915 (validate): white-space change.
11917 * bufferparams.[Ch]: new variables "bool use_natbib" and
11918 "bool use_numerical_citations".
11919 (writeFile): output them in the LyX file.
11921 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11923 * lyxfunc.C (getStatus): add support for all the inset insertion
11926 * text2.C (insertInset):
11927 * paragraph.C (insetAllowed):
11928 * BufferView_pimpl.C (insertInset): update to take in account the
11929 renaming of insertInsetAllowed
11931 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11933 * text2.C (getInset): new method. returns inset at cursor position.
11935 * BufferView_pimpl.C (Dispatch): changes because of this.
11937 * LyXAction.C (init): rename open-stuff to inset-toggle.
11939 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11941 * text2.C (toggleInset): renamed from openStuff; use
11944 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11946 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11948 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11950 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11952 * buffer.C (readLyXformat2): Add filename to the error dialog
11954 2001-07-18 Juergen Vigna <jug@sad.it>
11956 * tabular.C (GetCellNumber): put an assert here instead of the check!
11958 2001-07-17 Juergen Vigna <jug@sad.it>
11960 * BufferView_pimpl.C (toggleSelection): adapted too.
11962 * text.C (selectNextWord): adapted for use with insets.
11963 (selectSelectedWord): ditto
11965 2001-07-17 Juergen Vigna <jug@sad.it>
11967 * sp_spell.C (PSpell): fix initialitation order.
11969 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11971 * paragraph.C: spacing
11973 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11975 * sp_spell.C: repair language selection for pspell
11977 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11979 * lyxfunc.h: change more methods to begin with lower char.
11981 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11983 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11984 for unknown layouts.
11986 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11988 * buffer.C (readLyXformat2): Generate an error dialog if there are
11991 2001-07-16 Juergen Vigna <jug@sad.it>
11993 * sp_spell.C: always compile ISpell part.
11995 * lyxrc.C: added use_pspell entry and it's handling.
11997 2001-07-13 Juergen Vigna <jug@sad.it>
11999 * sp_spell.C: removed double includes.
12001 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12003 Consistent use of Lsstream.h:
12004 * Lsstream.h: added using std::stringstream for consistencies sake.
12006 * buffer.C: removed using std::stringstream
12008 * lyxfont.C (stateText):
12009 * paragraph.C (asString):
12010 * text.C (selectNextWord, selectSelectedWord):
12011 * text2.C (setCounter):
12012 * vspace.C (asString, asLatexString):
12013 std::ostringstream -> ostringstream.
12015 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12017 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12018 * commandtags.h: add LFUN_HELP_ABOUTLYX
12019 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12021 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12023 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12025 * lyx_gui_misc.C: remove spellchecker
12026 * lyxfunc.C: showSpellchecker
12028 * sp_ispell.h: added
12029 * sp_pspell.h: added
12030 * sp_spell.C: added
12031 * sp_form.[Ch]: removed
12032 * spellchecker.[Ch]: removed
12034 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12036 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12038 (simpleTeXSpecialChars): Simply print the input character without
12039 any special translation if pass_thru is set.
12041 * layout.h: Added bool pass_thru to layout class for being able to
12042 implement pass through of a paragraph for Literate Programming.
12044 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12045 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12046 * layout.C (Read): add "passthru" to list of layout tags and add
12047 code to set the pass_thru boolean when it is read.
12049 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12051 * trans_decl.h: remove allowed from KmodInfo
12053 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12054 remove allowed code
12057 * paragraph_pimpl.C (erase): use boost::prior
12059 * Painter.C (text): use data() instead of c_str() when length is
12061 * WorkArea.C (putClipboard): ditto
12062 * font.h (width): ditto
12064 * BufferView2.C: use it-> instead of (*it). for iterators
12066 * paragraph_pimpl.C: ditto
12067 * paragraph.C: ditto
12068 * minibuffer.C: ditto
12069 * language.C: ditto
12071 * encoding.C: ditto
12072 * counters.C: ditto
12073 * converter.C: ditto
12075 * Variables.C: ditto
12076 * TextCache.C: ditto
12077 * MenuBackend.C: ditto
12078 * LyXAction.C: ditto
12080 * FloatList.C: ditto
12081 * DepTable.C: ditto
12082 * ColorHandler.C (LyXColorHandler): ditto
12084 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12086 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12088 * text2.C (openStuff): reintroduce this method (which had been
12089 nuked in NEW_INSETS frenzy).
12091 * lyxfunc.C (Dispatch): when an action has not been handled, use
12092 its name in the error message, not its number.
12094 * paragraph.C (inInset): change method name to begin with lowercase.
12097 * text2.C: updates because of this.
12099 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12101 * ToolbarDefaults.C (add): add spaces in error message
12103 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12105 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12106 (readLyXformat2): rename return_par to first_par, use lyxlex's
12107 pushToken and remove the manual push handling.
12108 (parseSingleLyXformat2Token): add another ert comp. variable:
12109 in_tabular, rename return_par to first_par. handle newlines better
12111 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12113 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12115 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12117 * text2.C (getParFromID): removed
12119 * buffer.C (getParFromID): new method moved form lyxtext.
12120 * BufferView2.C (insertErrors): adjust
12121 (setCursorFromRow): adjust
12122 * BufferView_pimpl.C (restorePosition): adjust
12123 * lyxfunc.C (Dispatch): adjust
12124 * undo_funcs.C (textUndo): adjust
12126 (textHandleUndo): adjust
12127 (textHandleUndo): adjust
12129 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12131 * buffer.C: up' the LYX_FORMAT
12133 * lyxfont.h: turn NO_LATEX on as default
12135 * buffer.C (insertErtContents): new methods of tex style compability.
12136 (parseSingleLyXformat2Token): use it several places.
12137 * tabular.C (OldFormatRead): and here
12139 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12141 * text2.C: remove some commented code.
12144 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12145 * trans.C: changes because of the above.
12147 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12149 * text2.C (setCounter): Fix counters bug with bibliography layout.
12151 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12153 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12154 own member functions
12155 (simpleTeXSpecialChars): ditto
12157 2001-07-06 Juergen Vigna <jug@sad.it>
12159 * a lot of files: changed the access to LyXText::status and the
12160 call of undo-functions.
12162 * undo.[Ch]: added a inset_id to the undo informations.
12164 * undo_funcs.[Ch]: added and moved here all undo functions.
12166 * lyxtext.h: give the status enum a weight, made status_ a private
12167 variable and made accessor functions for it, removed the whole bunch
12168 of undo-functions as they are now in their own file, make some
12169 functions publically available. Added function ownerParagraph with
12172 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12173 made InInset() a const function, added getParFromID() function.
12175 * buffer.[Ch]: added const version for inset_iterator functions,
12176 added getInsetFromID() function.
12178 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12179 changed undo functions for new version.
12181 2001-07-05 Juergen Vigna <jug@sad.it>
12183 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12184 unknow mechanism does not call the proper constructor but only this
12185 one also if I request the other!?
12187 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12189 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12191 * text2.C (LyXText): use initialization lists.
12193 * lyxtext.h (Selection): initialize set_ and mark_
12194 (init): remove method
12196 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12198 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12200 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12202 * screen.[Ch]: change method names to begin with lowercase
12204 * BufferView_pimpl.C (updateScrollbar): simplify further and
12205 hopefully make it a bit faster.
12207 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12209 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12210 calling directly xforms functions.
12212 * Painter.C (Painter):
12213 * lyx_cb.C (MenuWrite):
12214 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12217 * lyx_gui.C: remove bogus guiruntime extern declaration.
12219 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12221 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12223 (redoDrawingOfParagraph): ditto
12224 (redoParagraphs): ditto
12225 (cutSelection): don't create a object for CutAndPaste use the
12226 static method directly
12227 (pasteSelection): ditto
12229 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12232 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12234 * modifications to some other files because of this.
12236 * Makefile.am (lyx_SOURCES): add XFormsView
12238 * XFormsView.[Ch]: new files
12240 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12241 the main window. Move the gui dependent stuff to XFormsView
12243 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12245 * tabular.C (GetCellInset): update cur_cell also in the row/col
12246 version of this function.
12248 * lyxfunc.C: no need to include figure_form.h here.
12254 * lyxvc.C: no need to include forms.h here.
12256 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12258 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12260 * lyxfunc.C (Dispatch):
12262 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12263 constructor argument.
12265 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12267 * paragraph.C (Paragraph): dont't clear, and just set layout.
12268 (makeSameLayout): use params's copy contructor.
12270 * ParagraphParameters.[Ch] (makeSame): delete method
12272 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12274 * Variables.[Ch]: fix indentation, rename set to isSet
12276 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12278 * lyxfunc.C (Dispatch): fix typo
12280 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12282 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12285 * bufferlist.C: include assert.h for emergencyWrite().
12287 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12289 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12290 give up at last (bug #425202) !
12292 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12298 * spellchecker.C: strip spellchecker options and bring up
12299 preferences tab instead
12301 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12303 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12304 the istringstream constructor
12306 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12308 * paragraph.C (getLayout): fix return value
12310 * paragraph.h: do not declare getLayout as inline.
12312 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12314 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12316 * lyxcursor.h (operator<): new func
12317 (operator>): new func
12318 (operator>=): new func
12319 (operator<=): new func
12321 * text.C (changeCase): use selection.start and selection.end
12322 (changeRegionCase): require from to be <= to. Require par to be a
12325 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12327 2001-06-27 Juergen Vigna <jug@sad.it>
12329 * text.C (cursorLeftOneWord): changed to return the cursor and added
12330 overlay with BufferView * parameter which calls this one.
12332 (selectWord): use new getWord function.
12333 (changeCase): renamed from changeWordCase as and extended to work
12334 also on selections.
12336 * lyxtext.h: added enum word_location
12338 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12339 changeCase as this operates now also on selections.
12341 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12343 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12345 * many files: send debug output to Debug::INFO instead of
12348 * converter.C (View):
12350 (Move): send debug output to Debug::FILES instead of console.
12352 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12354 * lyxfunc.C (getStatus): use func_status
12356 * func_status.h: new header, describing the results of
12357 LyXFunc::getStatus;
12359 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12362 2001-06-25 The LyX Project <jug@sad.it>
12364 * buffer.C (sgmlOpenTag):
12366 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12368 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12370 * text2.C: remove some dead code
12372 * tabular.C (GetCellInset): store the last cell checked (gotten)
12374 * tabular.h: add the helper for the speedup
12376 * lyxtext.h: remove some dead code
12378 2001-06-26 The LyX Project <Asger>
12380 * paragraph.C: Change export to LaTeX of alignment to
12381 \begin{center} and family for better roundtrip work with reLyX.
12383 * Tune the math drawing a bit.
12385 2001-06-25 The LyX Project <Asger>
12387 * LColor.C (LColor): New color for math background. New color
12390 2001-06-25 The LyX Project <jug@sad.it>
12392 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12394 * lyxfunc.C (Open):
12395 * bufferlist.C (newFile): do not restrict to files ending with
12398 * BufferView_pimpl.C (MenuInsertLyXFile):
12400 2001-06-24 The LyX Project <jug@sad.it>
12402 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12405 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12407 * lyxtext.h: rename most methods to begin with a small char.
12408 Lots of changes because of this.
12410 * paragraph.C (Paragraph): do not call fitToSize
12411 (erase): call Pimpl::erase
12412 (insertChar): call Pimpl::insertChar
12413 (insertInset): call Pipl::insertInset
12414 (breakParagraph): do not call fitToSize
12415 (breakParagraphConservative): do not call fitToSize
12416 (fitToSize): remove method
12418 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12420 2001-06-24 The LyX Project <Asger>
12422 * Fix Qt compilation^2
12424 2001-06-24 The LyX Project <jug@sad.it>
12426 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12427 depthHook(getDepth()-1).
12430 * ParagraphParameters.h:
12431 * ParameterStruct.h: change type of depth to unsigned int ==
12432 depth_type. Many adaptations to other files before of that.
12434 2001-06-24 The LyX Project <Asger>
12436 * Fix Qt compilation.
12438 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12440 * paragraph.h: renamed several methods to begin with small letter.
12441 several changes to many parts of the code because of this.
12443 2001-06-23 The LyX Project <jug@sad.it>
12445 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12446 rewritten to discard all double spaces when KeepEmpty is off
12447 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12448 to only handle newlines but not fiddle with spaces and friends.
12450 * lyxfunc.C (MenuNew): when doing 'new from template', use
12451 template_path as default directory
12453 2001-06-23 The LyX Project <Asger>
12455 * Clean-up of header file includes all over
12456 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12458 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12460 * paragraph.h: renamed from lyxparagraph.h
12462 2001-06-23 Asger <lyx@violet.home.sad.it>
12464 * Buffer.h: Removed Buffer::resize
12465 * BufferList.h: Removed BufferList::resize
12466 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12467 the document lazily when we change the width, or the font settings.
12469 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12471 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12473 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12475 * buffer.h: remove out of date comment
12477 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12480 * screen.C: fix "theoretical" GC leak
12482 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12484 * LaTeX.C (scanAuxFile):
12485 (deplog): remove trailing \r when reading stream (useful under
12488 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12490 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12491 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12492 and BufferView::theLockingInset(Inset*), so should use them and not
12493 access bv_->text->the_locking_inset directly.
12495 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12497 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12500 * tex-defs.h: remove old unused file
12502 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12504 * BufferView_pimpl.C: fix typo, remove minibuffer message
12505 when buffer has loaded
12507 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12509 * lyxfunc.C (Dispatch): use stringstream
12510 (MenuNew): use stringstream
12511 (Open): use stringstream
12513 * importer.C (Import): use stringstream
12515 * bufferview_funcs.C (CurrentState): use stringstream
12517 * LaTeX.C (run): use stringstream
12519 * BufferView_pimpl.C (savePosition): use stringstream
12520 (restorePosition): use stringstream
12521 (MenuInsertLyXFile): use stringstream
12523 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12536 * vspace.C: removed // -*- C++ -*- as first line.
12539 * version.h: added // -*- C++ -*- as first line.
12541 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12543 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12545 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12548 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12550 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12553 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12555 * gettext.C: include LString.h even when --disable-nls is on.
12557 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12559 * converter.h (Get): changed argument type from int to
12560 FormatList::size_type to avoid unnecessary conversion.
12562 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12565 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12567 * gettext.h: include LString.h even when --disable-nls is on.
12569 2001-06-07 Juergen Vigna <jug@sad.it>
12571 * text.C (BreakAgain): subst spaces with tabs.
12573 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12574 (resizeInsetsLyXText): set force on resizeLyXText.
12576 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12578 * gettext.h (gettext_init):
12579 (locale_init): use a real definition instead of a macro
12581 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12583 * Bufferview_pimpl.C:
12585 * LColor.C: further lcolor tidies
12587 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12589 * BufferView_pimpl.C (updateScrollbar): simplify.
12591 * BufferView2.C: don't include insets/insetinfo.h, change
12592 prototype for insertInset and call the Pimpl version. let
12593 updateInset call Pimpl version.
12595 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12596 gotoInset to BufferView::Pimpl
12598 2001-06-01 Juergen Vigna <jug@sad.it>
12600 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12601 inside a LockingInset (is the update needed at all?).
12603 2001-05-31 Juergen Vigna <jug@sad.it>
12605 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12606 here not the old one otherwise how should we compare it afterwards
12609 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12614 * FontInfo.C: bring C functions into global namespace when
12617 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12619 * LString.h: make sure config.h has been loaded before LString.h.
12621 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12622 (one for each char read by EatLine!).
12624 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12627 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12629 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12630 to the same as the par we break from
12632 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12634 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12636 * MenuBackend.C (expand): also create menu entries for wide
12637 versions of the floats.
12639 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12641 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12643 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12644 frontends/Makefile.am
12650 * tabular.C (getTokenValue): add std::
12652 * tabular-old.C (getTokenValue): add std::
12653 (getTokenValue): ditto
12654 (getTokenValue): ditto
12656 * screen.C (ToggleSelection): adjust
12658 * lyxtext.h: put selection cursors inside a Selection struct.
12660 * lyxfunc.C (moveCursorUpdate): adjust
12662 * lyxfont.C (latexWriteStartChanges): add std::
12664 * lyxfind.C: adjust
12666 * font.h: delete with(char const *, LyXFont const &)
12668 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12670 * FontInfo.C (getFontname): add std::
12672 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12673 (workAreaButtonPress): adjust
12674 (tripleClick): adjust
12676 (moveCursorUpdate): adjust
12679 * BufferView2.C (gotoInset): adjust
12681 2001-05-30 Juergen Vigna <jug@sad.it>
12683 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12684 to check pspell I add this as default as I now have new pspell
12685 libraries and they seem to use this.
12687 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12689 * text2.C (CutSelection): make the cursor valid before the call to
12692 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12694 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12695 relied on 0 terminated strings and other horrors. Bug found due to
12696 the new assert in lyxstring!
12698 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12701 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12703 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12706 * lyxfunc.C (processKeySym): change method of getting to the
12709 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12710 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12711 * BufferView_pimpl.[Ch]: here as private methods.
12713 2001-05-28 Juergen Vigna <jug@sad.it>
12715 * text.C (SetHeightOfRow): added the update() call again as it is
12716 needed to initialize inset dimensions!
12718 2001-05-16 Juergen Vigna <jug@sad.it>
12720 * text2.C (SetCharFont): Add new function with BufferView * and
12721 bool toggleall parameters for setting insets internal fonts.
12722 (SetFont): Freeze the undo as we may change fonts in Insets and
12723 all this change should be inside only one Undo!
12725 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12726 setting font's in insets as for them we have the SetFont function!
12728 2001-05-15 Juergen Vigna <jug@sad.it>
12730 * text2.C (ClearSelection): to be sure we REALLY don't have any
12733 * tabular.C (TeXCellPreamble): fixed the left border problem for
12736 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12738 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12741 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12743 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12744 LFUN_BREAKPARAGRAPH.
12746 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12747 help test to "internal only", similar for LFUN_INSERT_URL
12749 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12750 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12751 auto_region_delete and deadkeys.
12753 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12756 * LColor.C: remove some dead entries, tidy a little
12758 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12760 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12762 (Dispatch): implement LFUN_ESCAPE
12764 * commandtags.h: add LFUN_ESCAPE
12766 * LyXAction.C (init): add entry for LFUN_ESCAPE
12768 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12769 Remove commented code.
12770 (insertNote): moved here
12771 (open_new_inset): moved here
12773 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12776 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12778 * kbmap.C (findbinding): clean it up and make it work correctly.
12780 * lyx_main.C (init): do not pass argc and argv as parameters
12782 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12784 * buffer.C: fix path for OS/2 & Win32
12788 * lyx_main.C: Added os:: class.
12790 * os2_defines.h: update
12792 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12794 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12795 better by trying again with reduced state.
12797 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12799 * lyxrc.C (read): print error about invalid key sequence only when
12800 debugging (because not all latinX keysyms are known to some X
12803 * kbsequence.C (getiso): add a few std:: qualifiers
12804 (getiso): comment out extra return statement.
12806 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12808 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12810 (Dispatch): enhance the accent inset a bit. (not perfect)
12812 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12814 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12816 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12818 * bufferlist.C (emergencyWrite): fix assert() call
12820 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12822 * text.C (InsertChar): Added trivial patch to only send the "you
12823 can not do multiple spaces this way" message once during a
12826 2001-05-08 Baruch Even <baruch@lyx.org>
12828 * Makefile.am: Changed order of libraries to get LyX to link properly
12829 with the gnome frontend.
12831 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12833 * LaTeXFeatures.h: add a std:: qualifier
12835 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12837 * paragraph.C (String): use stringstream
12839 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12841 * paragraph.C (writeFile): remove footflag arg
12843 * buffer.C (makeLaTeXFile): use stringstream
12844 (latexParagraphs): remove footnot gurba
12846 * LaTeXFeatures.C (getPackages): use stringstream
12847 (getMacros): likewise
12848 (getTClassPreamble): likewise
12849 (getFloatDefinitions): new method
12851 * paragraph.C (writeFile): reindent
12854 * WorkArea.h: revert the xpos + etc changes.
12856 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12858 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12860 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12861 (pasteSelection): likewise
12862 * text2.C (CreateUndo): likewise
12864 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12866 * minibuffer.C (peek_event): temporarily reduce the functionality
12867 of the minibuffer (to allow args on lfuns)
12869 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12870 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12872 * buffer.C (readInset): add compability reading of old float
12873 lists, add reading of new style float list.
12874 (readInset): avoid reevaluation of inscmd.getCmdName()
12875 (getLists): reindent
12877 * MenuBackend.C (MenuItem): implement parsing of
12878 md_floatlistinsert and md_floatinsert.
12879 (expand::LastFiles): move initalizaton of iterators out of loop,
12880 avoid reevaluation.
12881 (expand::Documents): introduce typdedef vector<string> Strings,
12883 (expand::ExportFormats): introduce typedef vector<Format const *>
12884 Formats, and use it.
12885 (expand): implement FloatListInsert and FloatInsert.
12887 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12888 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12889 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12891 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12893 (Dispatch::LFUN_FLOAT_LIST): implement
12895 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12897 * LaTeX.C (run): Fix problem with --export code.
12899 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12901 * BufferView.[Ch] (workarea): removed.
12902 (getClipboard) new method; wrapper for workarea()->getClipboard()
12904 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12907 * WorkArea.h (width, height, xpos, ypos): These methods all
12908 returned the dimensions of the work_area sub-area of WorkArea,
12909 resulting in a position error if the WorkArea were resized. Now
12910 return the dimensions of the entire WorkArea.
12912 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12914 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12916 * LaTeX.C (deplog): correct the syntax of regex reg1
12918 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12920 * undo.C: remove !NEW_INSETS cruft
12922 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12924 * text2.C: remove !NEW_INSETS cruft
12926 * text.C: remove !NEW_INSETS cruft
12928 * tabular.C: remove !NEW_INSETS cruft
12930 * spellchecker.C: remove !NEW_INSETS cruft
12932 * lyxtext.h: remove !NEW_INSETS cruft
12934 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12936 * lyxfunc.C: remove !NEW_INSETS cruft
12938 * lyxfind.C: remove !NEW_INSETS cruft
12940 * lyx_cb.C: remove !NEW_INSETS cruft
12942 * figureForm.C: remove !NEW_INSETS cruft
12944 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12946 * buffer.[Ch]: remove !NEW_INSETS cruft
12948 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12950 * CutAndPaste.C: remove !NEW_INSETS cruft
12952 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12954 * BufferView2.C: remove !NEW_INSETS cruft
12956 * BufferView.h: remove !NEW_INSETS cruft
12958 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12960 * Lsstream.h: include LString.h before the sstream headers to
12961 fix problem with gcc 2.95.3 and lyxstring
12963 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12965 * lyx_main.C: add using directives when needed for C functions
12966 declared in std:: namespace.
12968 2001-04-27 Juergen Vigna <jug@sad.it>
12970 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12971 (SetHeightOfRow): comment out the update call should not be needed!
12973 2001-04-13 Juergen Vigna <jug@sad.it>
12975 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12976 (LyXTabular): tried to minimize operator= operations (and realized
12977 hopfully Lars wish).
12979 2001-04-27 Juergen Vigna <jug@sad.it>
12981 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12983 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12985 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12987 * buffer.C (readInset): hack to make listof algorithm work
12989 * BufferView_pimpl.C: hack to make listof algorithm work
12991 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12993 * LyXAction.C: removed all !NEW_INSETS cruft
12994 (init): moved lfun_item in method
12996 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12998 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13000 * BufferView2.C (theLockingInset): white space.
13002 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13004 * minibuffer.C: include <iostream>
13006 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13008 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13010 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13012 * text.[Ch] (TransposeChars): new method
13014 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13016 * call message directly through LyXView instead of through LyXFunc
13017 * BufferView2.C: adjust
13018 * BufferView_pimpl.C: adjust
13019 * FontLoader.C: adjust
13021 * bufferview_funcs.C: adjust
13022 * converter.C: adjust
13023 * figureForm.C: adjust
13024 * importer.C: adjust
13026 * lyx_gui_misc.C: adjust
13027 * lyxfunc.C: adjust
13030 + more files in subdirs
13032 * lyxparagraph.h (size): move up int file
13035 * adjust all uses of Assert to lyx::Assert.
13037 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13038 lyxfunctional in namespace lyx
13039 * layout.C (hasLayout): ditto
13042 (delete_layout): ditto
13043 (NumberOfClass): ditto
13044 * converter.C (GetFormat): ditto
13049 * bufferlist.C (getFileNames): ditto
13050 (emergencyWriteAll): ditto
13053 * MenuBackend.C (hasSubmenu): ditto
13056 * BufferView_pimpl.C (getInsetByCode): ditto
13058 2001-04-18 Juergen Vigna <jug@sad.it>
13060 * vspace.C (asLatexString): fixed the 100% problem.
13062 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13064 * lyxfunc.C (Dispatch):
13066 * minibuffer.h: add a few std:: qualifiers
13068 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13070 * minibuffer.[Ch]: reimplement so that commands is initiated and
13071 run from lyxfunc, simplified som handling, and made the completion
13072 and history code for complete. wip.
13074 * lyxfunc.C (processKeySym): call message
13075 (miniDispatch): new temporary method
13076 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13077 (LFUN_MESSAGE): implement
13078 (LFUN_MESSAGE_PUSH): implement
13079 (LFUN_MESSAGE_POP): implement
13080 (initMiniBuffer): the initial/defualt minibuffer message.
13082 * lyxfont.[Ch]: inline some more getters
13084 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13086 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13088 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13089 (AutoSave): use LFUN_MESSAGE
13090 (Reconfigure): ditto
13092 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13094 * figureForm.C: use LFUN_MESSAGE
13096 * converter.C (runLaTeX): use LFUN_MESSAGE
13098 * bufferview_funcs.C: use LFUN_MESSAGE
13100 (changeDepth): ditto
13102 * bufferparams.h: use boost::
13104 * bufferlist.h: inherit privately from noncopyable
13106 * bufferlist.C (loadLyXFile): remove some commented code.
13108 * buffer.C (runChktex): use LFUN_MESSAGE
13110 * ShareContainer.h: inherit privately from noncopyable
13112 * ParagraphParameters.[hC] (depth): inline it.
13114 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13116 (message): new method
13117 (messagePush): ditto
13118 (messagePop): ditto
13119 (show): init minibuffer
13120 (showState): direct call
13122 * LaTeX.[Ch]: inherit privately from noncopyable
13123 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13124 instead of WriteStatus.
13126 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13128 * BufferView_pimpl.C (buffer): don't init minibuffer
13129 (workAreaButtonPress): use LFUN_MESSAGE
13130 (workAreaButtonRelease): ditto
13131 (savePosition): ditto
13132 (restorePosition): ditto
13133 (MenuInsertLyXFile): ditto
13134 (workAreaExpose): don't init minibuffer
13135 (update): remove commented code, simplify
13137 * BufferView2.C (openStuff): use LFUN_MESSAGE
13138 (toggleFloat): ditto
13141 (copyEnvironment): ditto
13142 (pasteEnvironment): ditto
13147 (updateInset): remove some commented code
13149 * lastfiles.h: inherit privately from noncopyable
13152 * lyx_main.h: ditto
13154 * lyxlex_pimpl.h: ditto
13156 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13157 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13158 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13160 * LyXAction.h: inherit privately from noncopyable, add methods
13161 func_begin, func_end, returning iterators to the func map.
13163 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13164 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13165 (func_begin): new method
13166 (func_end): new method
13168 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13170 (copySelection): ditto
13171 (pasteSelection): ditto
13173 * BufferView.C: whitespace change
13174 * BufferView.h: inherit privately from noncopyable
13176 2001-04-16 Allan Rae <rae@lyx.org>
13178 * tabular-old.C (l_getline):
13179 * spellchecker.C (sc_check_word):
13180 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13181 an unrecognised preprocessor directive. So ensure they're wrapped.
13183 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13185 * src/exporter.C (Export): Give an error message when path to file
13188 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13190 * LaTeX.C (deplog): Always check that foundfile exists.
13192 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13195 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13197 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13199 * tabular.[Ch] (getLabelList): implement new method
13201 * minibuffer.h: comment ouf setTiimer
13203 * minibuffer.C (ExecutingCB): constify res
13204 (peek_event): constify s
13205 (Set): constify ntext
13206 (Init): constify nicename
13208 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13210 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13211 (savePosition): use two params to Minibuffer::Set
13212 (restorePosition): ditto
13214 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13216 * lyx_main.C: include language.h
13218 * Makefile.am (lyx_main.o): add language.h
13220 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13226 * CutAndPaste.C: include gettext.h
13228 * lyxfont.h: remove old hack with ON and OFF.
13231 * lyxfont.h: do not include language.h...
13236 * bufferview_funcs.C:
13242 * paragraph.C: ... but do it here instead
13244 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13246 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13248 * tabular.C: small reformat
13250 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13253 (BreakParagraph): ditto
13254 (SetOnlyLayout): ditto
13257 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13260 * lastfiles.C: removed most using decl, add std:: where needed
13262 * buffer.C: ws changes
13264 * MenuBackend.C (class compare_format): put into anon namespace
13265 (expand): constify label, names, action, action2
13268 * text.C (SingleWidth): constify font
13269 (IsBoundary): constify rtl2
13270 (GetVisibleRow): constify ww
13272 * LaTeX.C (deplog): constify logfile
13274 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13276 (workAreaExpose): constify widthChange, heightChange
13278 * lyxrow.C (par): moved
13281 * lyxrow.h: as inlines here
13283 * lyxfont.h (shape): moved from lyxfont.C
13284 (emph): moved from lyxfont.C
13286 * lyxfont.C (LyXFont): use initialization list for all
13288 (shape): move to lyxfont.h as inline
13289 (emph): move to lyxfont.h as inline
13292 2001-04-04 Juergen Vigna <jug@sad.it>
13294 * vspace.C: had to include stdio.h for use of sscanf
13296 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13299 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13300 independent of xforms.
13302 2001-04-02 Juergen Vigna <jug@sad.it>
13304 * spellchecker.C: fixed namespace placing!
13306 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13308 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13309 the LyXParagraph * is 0.
13311 2001-03-29 Juergen Vigna <jug@sad.it>
13313 * vspace.C: added support for %, c%, p%, l%.
13314 (stringFromUnit): added helper function.
13315 (asLatexString): changed to give right results for the %-values.
13317 * buffer.C: convert the widthp in a width%.
13319 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13321 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13324 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13325 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13327 * lyx_cb.[Ch]: see above.
13329 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13333 * lyx.[Ch]: replaced by figure_form.[Ch].
13337 * lyxfunc.C: changed headers associated with above changes.
13339 2001-03-27 Juergen Vigna <jug@sad.it>
13341 * BufferView_pimpl.C: set the temporary cursor right!
13343 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13345 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13347 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13349 * LString.h: removed "using std::getline"!
13351 * BufferView_pimpl.C (Dispatch): changes due to changes in
13352 InsetInclude::Params.
13354 * buffer.C (tag_name): removed redundant break statements as they were
13355 producing lots of warnings with my compiler.
13357 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13359 * LString.h: add "using std::getline" when using the real <string>.
13361 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13363 * buffer.C: removed bitset usage.
13364 PAR_TAG moved to an anonymous name space.
13365 (tag_name): new funtion, also in the anonymous namespace.
13366 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13367 (makeDocBookFile): clean code. Completed transition from string arrays
13369 (SimpleDocBookOnePar): code clean.
13371 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13373 * tabular.C: add some comments.
13375 2001-03-22 Juergen Vigna <jug@sad.it>
13377 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13378 compatibility read a bit and fixed bug with minipage in different
13381 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13383 * buffer.C (pop_tag): removed.
13384 (push_tag): removed.
13385 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13386 array replaced with vector. Added support for CDATA sections.
13387 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13389 (makeDocBookFile): XML conformant declaration of CDATA section,
13390 fixed bug related to <emphasis> in the first paragraph char.
13391 (sgmlOpenTag): exclude empty tags.
13392 (sgmlCloseTag): ditto.
13394 * buffer.h (pop_tag): removed.
13395 (push_tag): removed.
13397 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13399 * language.h (Languages): added size_type and size().
13401 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13403 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13404 response on compability reading of minipages. One probliem is that
13405 the old usage of minipages was «flertydig»
13407 * several files here and in subdirs: don't use static at file
13408 scope use anon namespaces instead.
13410 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13412 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13413 LaTeX output. This is necessary for Literate document
13416 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13418 * buffer.C: insert hfill when needed.
13420 * tabular.C (l_getline): use string::erase, small whitespace change.
13422 * BufferView_pimpl.C: try the anon namespace.
13423 * WorkArea.C: ditto
13425 2001-03-16 Juergen Vigna <jug@sad.it>
13427 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13428 otherwise it won't open options-dialogs.
13430 * buffer.C: honor pextraWidth(p) on converting minipages.
13432 * tabular.C (l_getline): changed the functions to strip trailing \r.
13434 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13436 * BufferView_pimpl.C:
13437 * minibuffer..C: added "using SigC::slot" declaration.
13439 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13441 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13447 * paragraph.C: ditto
13449 * lyxtext.h: NO_PEXTRA
13451 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13453 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13454 * ParameterStruct.h: ditto
13455 * ParagraphParameters.h: ditto
13456 * lyxparagraph.h: ditto
13458 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13460 * buffer.C: add compability for minipage alignment.
13461 (latexParagraphs): remove unwanted pextra check.
13463 * several files: remove CXX_WORKING_NAMESPACES
13465 * buffer.C (pop_tag): tie is in namespace boost
13467 * BufferView.h: noncopyable is in namespace boost
13469 * lyx_main.h: ditto
13472 * lastfiles.h: ditto
13473 * bufferlist.h: ditto
13474 * ShareContainer.h: ditto
13476 * LyXAction.h: ditto
13479 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13481 * Merging changes from BRANCH_MVC back into HEAD.
13483 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13485 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13487 * BufferView_pimpl.C: change from intl.C
13491 * Makefile.am: move combox.*
13497 * intl.C: remove dialog (covered by prefs)
13499 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13501 * lyxfunc.C (Dispatch): removed redundant break statement.
13503 2001-03-14 Juergen Vigna <jug@sad.it>
13505 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13507 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13509 * buffer.C: add hack to fix compability reading of minipages.
13511 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13513 * buffer.C (getLists): Cleanup.
13515 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13517 * lyxfont.C (update): don't honor toggleall on font size.
13519 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13523 * Makefile.am: moved to frontends/xforms/
13527 * BufferView_pimpl.C: changes for moved mathpanel
13529 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13531 * gettext.h: fix gettext_init() in --disable-nls
13533 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13535 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13537 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13540 * lyx.h: strip external form
13542 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13544 * BufferView_pimpl.C: add comment, destroySplash()
13546 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13548 * BufferView_pimpl.C:
13552 * lyxfunc.C: use re-worked insetinclude
13554 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13556 * buffer.C: add using std::stringstream.
13558 * lyx_cb.C: readd using std::ios.
13560 * buffer.C: add using std::map.
13562 * BufferView_pimpl.C: add using std::vector.
13564 * ShareContainer.h: add std:: to swap.
13566 * buffer.h: add some typedefs
13567 * buffer.C (getLists): use them
13568 (getLists): renamed from getTocList.
13569 add a counter for the different float types and use it in the
13571 (getLists): use the same counter for the NEW_INSETS and the "non"
13574 * lyx_cb.h: remove unused items, includes, using etc.
13576 * ShareContainer.h: remove some commented code, add more comments
13577 and "documentation".
13579 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13581 * buffer.C (getTocList): make the list also when NEW_INSETS is
13584 * buffer.h: remove TocType
13586 * buffer.C (getTocList): change to return a map<string,
13587 vector<TocItem> >, implement for dynamic number of list.
13589 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13590 * text2.C (PasteSelection): adjust
13591 * CutAndPaste.C (pasteSelection): adjust
13593 * FloatList.C (FloatList): update from the new_insets branch.
13594 * Floating.[Ch]: ditto
13595 * LaTeXFeatures.C: ditto
13597 * lyxlex_pimpl.C: ditto
13599 * paragraph.C (Last): remove when NEW_INSETS is defined.
13601 * other file: changes because of the above.
13603 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13605 * lyxparagraph.h: rename next to next_, previous to previous_,
13606 make them private for NEW_INSETS. Rename Next() to next(),
13607 Previous() to previous().
13609 * other files: changes because of the above.
13611 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13614 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13617 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13619 * main.C (main): pass lyx_localedir to gettext_init().
13621 * gettext.h: remove locale_init and gettext_init macros
13623 * gettext.C (locale_init): new function
13624 (gettext_init): new function
13626 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13629 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13631 * Moved credits to frontends:
13632 * credits.[Ch]: removed
13633 * credits_form.[Ch]: removed
13634 * lyx_gui_misc.C: remove credits stuff
13637 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13639 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13641 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13642 unneeded destructor.
13644 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13645 a standalone pointer again.
13647 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13649 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13655 * ToolbarDefaults.C:
13664 * BufferView_pimpl.C: use new file dialog in GUII
13667 * lyx_cb.C: remove LayoutsCB to Toolbar
13669 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13671 * ShareContainer.h (get): add std:: qualifier
13673 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13675 * ShareContainer.h: define a proper ShareContainer::value_type
13676 type (and use typename to please compaq cxx)
13678 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13680 * lyxparagraph.h: move serveral local vars to
13681 ParameterStruct/ParagraphParameters., use ShareContainer in
13682 FontTable., make vars in FontTable private and add getter and
13685 * paragraph.C: changes because of the above.
13687 * lyxfont.h: remove copy constructor and copy assignment. (the
13688 default ones is ok), move number inside FontBits. move inlines to
13691 * lyxfont.C: add number to initializaton of statics, move several
13692 inlines here. constify several local vars. some whitespace
13693 cleanup. Dont hide outerscope variables.
13695 * Spacing.h: add two new constructors to match the set methods.
13697 * ShareContainer.h: new file, will perhaps be moved to support
13699 * ParameterStruct.h: new file
13701 * ParagraphParameters.h: new file
13703 * ParagraphParameters.C: new file
13705 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13706 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13708 * BufferView_pimpl.C: ParagraphParameter changes.
13709 * buffer.C: Likewise.
13710 * bufferview_funcs.C: Likewise.
13711 * text.C: Likewise.
13712 * text2.C: Likewise.
13714 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13716 * lyxfind.C (LyXReplace): do not redefine default argument in
13718 (IsStringInText): ditto
13719 (SearchForward): ditto
13720 (SearchBackward): ditto
13722 2001-03-06 Juergen Vigna <jug@sad.it>
13724 * lyxfind.C (IsStringInText): put parentes around expressions.
13726 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13728 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13730 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13732 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13734 * stl_string_fwd.h: add comment
13736 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13739 * tabular.C: remove unused DocBook methods
13745 killed DO_USE_DEFAULT_LANGUAGE
13747 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13749 * lyx_gui.C: do not include language.h.
13751 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13752 arguments in function implementation.
13754 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13756 * BufferView_pimpl.C: add <ctime>
13758 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13760 * BufferView_pimpl.C: add using std::find_if
13762 2001-02-27 José Matos <jamatos@fep.up.pt>
13764 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13767 2001-02-11 José Matos <jamatos@fep.up.pt>
13769 * buffer.C (makeDocBookFile): command styles now have a parameter as
13770 "title" by default.
13772 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13774 * layout_forms.[Ch]: removed
13775 * lyx_cb.[Ch]: out character
13776 * lyx_gui.C: out character
13777 * lyx_gui_misc.C: out character
13778 * bufferview_funcs.C: : out character,
13779 added toggleall as parameter in ToggleAndShow
13781 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13783 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13785 * text2.C (SetCurrentFont): Disable number property at boundary.
13787 2001-02-26 Juergen Vigna <jug@sad.it>
13789 * lyxfunc.C (getStatus): added a string argument override function so
13790 that this is correctly called from LyXFunc::Dispatch if it contains a
13791 do_not_use_argument which is used!
13792 (Dispatch): added check for "custom" export and call appropriate func.
13794 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13796 * lyxrc.C: Add language_command_local, language_use_babel and
13797 language_global_options.
13799 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13801 * buffer.C (makeLaTeXFile): Use language_use_babel and
13802 language_global_options.
13804 2001-02-23 Juergen Vigna <jug@sad.it>
13806 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13807 which works with LyXText and putted it inside BufferView. Here now we
13808 only call for that part the BufferView::Dispatch() function.
13810 * BufferView.C (Dispatch): added.
13812 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13813 functions which needs to use a LyXText over from LyXFunc.
13814 (MenuInsertLyXFile): added
13815 (getInsetByCode): added
13816 (moveCursorUpdate): added
13817 (static TEXT): added
13819 2001-02-22 Juergen Vigna <jug@sad.it>
13821 * BufferView_pimpl.C (update): call a status update to see if LyXText
13824 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13826 * vc-backend.C (revert): implement for CVS
13827 (getLog): implement for CVS
13829 2001-02-20 Juergen Vigna <jug@sad.it>
13831 * text2.C (ClearSelection): added BufferView param for inset_owner call
13833 * lyxfunc.C (TEXT): added this function and use it instead of
13834 directly owner->view()-text of getLyXText().
13836 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13838 * src/layout_forms.C: out preamble
13839 * src/layout_forms.h: out preamble
13840 * src/lyx_cb.C: out preamble
13841 * src/lyx_cb.h: out preamble
13842 * src/lyx_gui.C: out preamble
13843 * src/lyx_gui_misc.C: out preamble
13844 * src/lyxfunc.C: connect with guii preamble
13846 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13848 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13850 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13852 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13853 whether to run bibtex.
13855 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13857 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13859 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13861 * Makefile.am (lyx_SOURCES): removed bibforms.h
13863 * vspace.h: doxygen
13865 * text.C (GetVisibleRow): make several local vars const
13867 * tabular.C: small cleanup.
13869 * lyxserver.C (callback): use compare instead of strncmp
13871 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13872 inlines to after class or to paragraph.C
13874 * lyxfont.h: remove friend operator!=
13876 * converter.h: move friend bool operator< to non friend and after
13879 * combox.h: small cleanup
13881 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13882 to inlines after class def.
13884 * buffer.C (pop_tag): use string operations instead of strcmp
13886 * bmtable.c: doxygen, small cleanup
13888 * LaTeX.h: remove friend operator==
13890 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13902 * BufferView_pimpl.C:
13903 * BufferView.[Ch]: remove cruft
13905 2001-02-14 Juergen Vigna <jug@sad.it>
13907 * lyxfunc.C: removed #if 0 unused code
13909 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13911 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13913 * text2.C (SetSelection): added a BufferView * parameter
13915 2001-02-13 Juergen Vigna <jug@sad.it>
13917 * lyxfunc.C (Dispatch): fixed protected blank problem.
13918 * BufferView2.C (protectedBlank): added LyxText * parameter.
13920 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13921 (AppendColumn): same as above for column_info.
13923 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13924 (moveCursorUpdate): use a LyXText param for support of InsetText.
13926 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13927 (tripleClick): ditto
13929 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13931 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13933 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13935 * text2.C (SetSelection): set correct update status if inset_owner
13936 (ToggleFree): ditto
13938 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13940 * tabular.C: remove some commented code.
13942 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13944 * BufferView_pimpl.C: call hideSplash()
13946 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13949 * bibforms.h: remove
13952 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13953 add LFUN_CHILD_CREATE
13955 * counters.h: fix tiny typo
13960 * lyx.C: move splash to frontends/xforms/
13962 * lyx_gui_misc.C: move Include and Bibform to frontends
13964 * lyxvc.h: clarify comment
13966 * vspace.C: tiny housekeeping
13968 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13970 * text.C (PrepareToPrint): RTL Fix.
13972 * paragraph.C (GetUChar): New method.
13973 (String): Use GetUChar.
13975 * buffer.C (asciiParagraph): Use GetUChar.
13977 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13979 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13981 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13984 * buffer.C: rename to getLogName(), handle
13985 build log / latex log nicely
13987 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13990 * MenuBackend.h: remove support for reference menuitem type.
13992 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13994 * BufferView_pimpl.C: housekeeping
13995 * BufferView_pimpl.h:
14000 * minibuffer.h: move Timeout GUI-I
14002 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14004 * lyxrc.C (read): Update converters data-structures.
14006 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14008 * LaTeX.h (operator!=): add operator != for Aux_Info
14010 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14012 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14014 * LaTeXLog.C: deleted, useful code moved to Buffer
14017 * buffer.C: new function getLatexLogName()
14023 * lyxfunc.C: use frontends for LaTeX and VC logs
14025 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14027 * LaTeX.h: yet another std:: that Allan forgot.
14029 * Variables.C (set): renamed from isset(), because this clashes
14030 with some HP-UX macros (grr).
14032 2001-02-06 Allan Rae <rae@lyx.org>
14034 * LaTeX.h: Another bug fix. Missing std:: this time.
14036 2001-02-04 Allan Rae <rae@lyx.org>
14038 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14039 floats problem. I've left it commented out because it's not quite
14040 correct. It should also test that the current object is a table or
14041 figure inset. But I haven't gotten around to figuring out how to do
14042 that. I *think* it'll be something like: "table" == inset.type()
14044 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14047 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14049 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14050 all the citation/databases/styles in the auxilary file.
14051 (run): Rerun latex if there was a babel language error.
14053 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14055 * text.C (Backspace): Preserve the font when changing newline char
14057 (BreakParagraph): If the cursor is before a space, delete the space.
14059 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14061 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14063 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14064 new argument (code).
14065 (ChangeCitationsIfUnique): New method.
14067 * paragraph.C (GetPositionOfInset): Handle bibkey.
14069 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14071 * BufferView_pimpl.h: change type of Position::par_pos to
14072 LyXParagraph::size_type.
14074 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14076 * BufferView_pimpl.C (savePosition, restorePosition): Write
14077 messages to minibuffer.
14079 2001-01-28 José Matos <jamatos@fep.up.pt>
14081 * buffer.C (makeDocBookFile): adds support for document language.
14082 A silly restriction on the name of LatexCommand types where removed.
14083 Added support for CDATA sections, allows to chars unescaped, used
14084 among others in code, to avoid escape < and >.
14086 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14088 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14089 saved positions instrad of a stack. Furthermore, a position is
14090 stored using paragraph id/paragraph position.
14092 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14093 Remove LFUN_REF_BACK.
14095 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14097 * converter.C (dvipdfm_options): New method.
14099 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14101 * vspace.C (isValidLength): Fix for empty input string.
14103 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14105 * LyXAction.C (init): change description of LFUN_FIGURE to
14108 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14110 * LaTeX.C: add using directive
14112 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14114 * MenuBackend.C (expand): Fix the sorting of the formats.
14116 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14118 * lyx_main.C: tiny error message fix
14120 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14122 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14123 calling fl_initialize(). This fixes the problem with ',' as
14124 decimal separator in text files.
14126 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14128 * trans.C (process): Fix the keymap bug.
14130 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14132 * LaTeX.C (scanAuxFiles): New method. Provides support for
14133 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14134 (scanLogFile) Scan for "run BibTeX" messages.
14136 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14137 OT1 font encoding. Also, load the aecompl package if the ae
14140 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14142 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14144 * texrow.C (increasePos): turn two error messages into debug
14147 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14149 * LaTeX.C (scanAux): Handle the \@input macro.
14150 (runBibTeX): Use scanAux().
14152 * language.C (latex_options_): New field.
14154 * LaTeXFeatures.C (getMacros): Add language macros.
14156 * buffer.C (makeLaTeXFile): Small fix.
14158 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14160 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14162 * text2.C: add a using directive.
14164 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14169 * lyxfunc.C: kill LyXBell.
14171 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14173 * text.C (IsBoundary): Remove the error message
14175 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14177 * lyxrc.C (setDefaults): Correct initialization value for
14180 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14182 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14185 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14186 and GotoNextNote().
14188 * src/LyXAction.C: Added reference-next.
14190 * text.C (InsertChar): Use contains instead of strchr.
14192 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14194 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14196 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14197 alignment commands (when needed).
14199 * text.C (InsertChar): Add ':' to number separator chars.