1 2003-12-10 Angus Leeming <leeming@lyx.org>
3 * buffer.C: up the format to 226.
5 * factory.C: the note inset is now identified simply by 'Note'.
7 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
9 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
10 when a pit is enough. Standarize a couple of loops.
12 2003-12-05 Angus Leeming <leeming@lyx.org>
14 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
15 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
16 data to the re-worked "log" dialog.
18 2003-12-03 André Pönitz <poenitz@gmx.net>
26 * text2.C: use Inset::getText instead of Inset::getParagraph
28 2003-12-03 André Pönitz <poenitz@gmx.net>
32 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
33 InsetText::read() as LyXText::read()
35 2003-12-02 Angus Leeming <leeming@lyx.org>
37 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
38 type. Add a comment in the implementation that the function uses
39 the stream's bad() function rather than fail() as the std::streams
42 2003-12-02 André Pönitz <poenitz@gmx.net>
44 * lyxlex.[Ch]: make interface more similar to std::stream
46 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
48 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
50 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
52 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
54 * vspace.[Ch]: remove VSpace::NONE
56 2003-12-01 André Pönitz <poenitz@gmx.net>
59 * lyxtext.h: move ParagraphList member to LyXText
60 rename LyXText::ownerParagraphs to LyXText::paragraph
73 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
75 * undo.C: fix cursor positioning
77 2003-12-01 John Levon <levon@movementarian.org>
79 * BufferView_pimpl.C: fix a crash on exit with
82 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
84 * BranchList.C: fix setSelected() method.
86 2003-11-28 André Pönitz <poenitz@gmx.net>
88 * ParagraphParameters.[Ch]:
89 * ParameterStruct.h: remove space above/below from Paragraph to
104 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
106 * factory.C: Syntax change for CharStyles
108 2003-11-28 André Pönitz <poenitz@gmx.net>
113 * buffer.[Ch]: move LyXText member
115 2003-11-28 André Pönitz <poenitz@gmx.net>
117 * BufferView.[Ch]: make LyXText * text a private member
119 * BufferView_pimpl.C:
130 * output_plaintext.C: cleanup
132 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
135 * lyxtextclass.[Ch]: parametrize SGML document header
137 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
140 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
143 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
145 * text2.C (setFont): rework using PosIterator (no more recursive)
146 (setCharFont): no more needed
147 (setLayout): no more selection cursors fiddling (done by redoCursor)
148 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
149 destroy remaining ones)
151 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
153 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
155 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
158 * text3.C: adjust + re-allow multi par depth changes
159 * textcursor.C: simplify a bit
161 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
167 * src/output_docbook.C:
168 * src/output_latex.C:
173 * src/text2.C: Introducing a number of tags parametrizing various
174 XML formats that we may want to support
176 2003-11-25 André Pönitz <poenitz@gmx.net>
178 * InsetList.[Ch] (begein, end): inline as suggested by profiler
180 * lyxtext.h (leftMargin/rightMargin): simplify interface
187 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
189 * lyxfunc.C (dispatch): propogate the bibtex databases from the
190 master file to any child files. Fixes bug 546.
192 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
194 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
196 2003-11-24 André Pönitz <poenitz@gmx.net>
198 * rowpainter.C: simplification
200 * text2.C (updateCounters): remove call to redoParagraph on
201 changed labels as this is far too expensive.
203 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
205 * converter.C (convert): fix a crash: this function gets
206 called with buffer == 0 from importer code.
208 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
210 * text3.C (cursorPrevious): make sure that we do not compare
211 iterators form different containers.
214 * rowpainter.C (paintSelection): make sure that we do not compare
215 iterators from different containers.
217 * text3.C (dispatch): [PRIOR] make sure that we do not compare
218 iterators from different ParagraphList containers.
221 * text2.C (LyXText): change order of initialization slightly
222 (operator=): new function. copy all variables except cache_par_
223 (moveUp): make sure that we do not compare iterators from
224 different ParagraphList constainers.
227 * text.C (firstPar): new function
228 (lastPar): new function
229 (endPar): new function
231 * lyxtext.h: move things around and group public functions, public
232 variables, private functions, private variables
234 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
236 * factory.C: change call to InsetERT constructor to avoid
237 additional invocation of method status
238 * text2.C (toggleInset): remove redundant update() call
239 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
240 instead of a Bufferview pointer
242 2003-11-21 André Pönitz <poenitz@gmx.net>
244 * rowpainter.C: simplification
246 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
248 * text3.C (dispatch): make possible to extend a word/row selection
251 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
253 * lyxtext.h: x0_,y0_ -> xo_,yo_
254 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
255 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
256 * rowpainter.C (paintRows): paint full paragraphs
258 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
260 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
263 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
265 * lyxtext.h: add x0_, y0_
266 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
267 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
269 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
271 * text2.C (setCursorIntern): move the x_target update here *
272 * text3.C: change some bv() to true/false in calls to
273 cursorUp/Down/Right/Left
274 * cursor.C: use helper function.
276 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
278 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
279 * paragraph_funcs.[Ch]: correct comment
280 * rowpainter.C: do not paint selections away from bv->cursor()
281 Fix a long standing selection painting bug.
282 * text3.C: generalize mouse-selection code to LyXTexts other that
284 * textcursor.C: do not use y coords if we can use par offsets
286 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
288 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
289 cursor position after e.g. inset insert)
291 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
293 * lyxfind.C (replace): adjust to locking removal + some
296 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
298 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
301 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
304 * output_docbook.C: XML sanitation: new layout
305 parameters InnerTag and CommandDepth
307 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
309 * BufferView_pimpl.C:
311 * text3.C: Fix the insertion and modification of button-style
314 2003-11-13 André Pönitz <poenitz@gmx.net>
316 * InsetList.[Ch]: remove deleteLyXText
318 * paragraph.[Ch]: cache beginOfBody position
323 * text3.C: remove superfluous update() calls
327 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
329 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
330 * BufferView.C (fitLockedInsetCursor): remove
331 * cursor.[Ch] (getDim): add
332 * text.C (getRowNearY): add faster version
333 * text3.C: remove some update calls
335 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
347 * text3.C: The Character Style /XML short element patch.
349 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
352 * factory.C: Small step to solving 'unable to insert some insets'
355 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
357 * cursor.[Ch] (updatePos): new function for updating the y
358 position of the tip inset
359 * bufferview_funcs.C (put_selection_at):
360 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
362 2003-11-11 André Pönitz <poenitz@gmx.net>
364 * text.C: remove big comment on invalid Paragraph pointers as it is
367 2003-11-11 André Pönitz <poenitz@gmx.net>
369 * text_funcs.[Ch]: merge with ...
377 * Makefile.am: remove text_funcs.[Ch]
379 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
381 * cursor.C (getPos): return absolute cached y coord
383 * BufferView_pimpl.C (fitCursor): new simplistic code
384 (workAreaDispatch): add a fitCursor call
386 2003-11-10 André Pönitz <poenitz@gmx.net>
389 * BufferView_pimpl.[Ch]: merge update() and updateInset()
391 2003-11-10 André Pönitz <poenitz@gmx.net>
393 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
394 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
395 indicate that the cursor needs to leave an inset
397 * lyxtext.h: remove inset locking
399 * cursor.[Ch]: re-implement functionality provided by inset locking
402 * BufferView_pimpl.[Ch]:
404 * bufferview_funcs.[Ch]:
416 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
418 * PosIterator.[Ch]: replace the stack with a vector, add inset
420 * iterators.[C]: adjust
422 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
424 * lyxfind.C (replaceAll): mark the buffer dirty if something was
426 * paragraph_funcs.C (readParToken): put the correct id in the
427 error item, not the id of the top paragraph
429 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
431 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
432 * bufferview_funcs.C (put_selection_at): use the above
434 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
436 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
438 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
441 * output_plaintext.h:
443 * output_docbook.h: add #include statements
445 2003-11-05 José Matos <jamatos@lyx.org>
447 * output_docbook.[Ch]:
449 * output_linuxdoc.[Ch]:
450 * output_plaintext.[Ch]: New files for output formats.
451 * output.[Ch]: New file for helper functions.
454 * paragraph_funcs.[Ch]: output functions moved to new files.
456 * outputparams.h: rename of latexrunparams.h
464 * paragraph_funcs.[Ch]:
465 * paragraph_pimpl.[Ch]:
466 * tabular.[Ch]: rename ascii to plaintext
467 and LatexRunParams to OutputParams.
469 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
471 * iterators.[Ch] (text): require bv argument
472 * undo.C (recordUndo):
473 * lyxfunc.C (dispatch):
474 * bufferview_funcs.C (put_selection_at): adjust
476 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
478 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
480 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
482 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
485 2003-11-04 André Pönitz <poenitz@gmx.net>
487 * cursor.[Ch]: restructure
490 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
492 * iterators.[Ch] (asCursor): remove
494 * lfuns.h: remove LFUN_INSET_EDIT
500 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
502 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
504 * lyxfind.[Ch]: complete overhaul
505 * BufferView_pimpl.C:
507 * paragraph.[Ch] (insert): add
509 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
513 * text.C: remove dead spellcheck code
515 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
517 * dispatchresult.h: add a val setter
519 * cursor.C (dispatch): use a tempvar for data_[i]
521 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
523 * PosIterator.[Ch]: compile fix
525 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
527 * text.C (cursorPar): deactivate the cursor cache
529 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
531 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
533 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
535 * text3.C (dispatch): adjust for new DisptchResult semantics.
537 * lyxfunc.C (dispatch): handle update when return from
538 Cursor::dispatch, adjust for new DispatchResult semantics.
540 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
541 DispatchResult(true) mean to not update. Add class functions for
542 setting dispatched and update, as well as reading.
544 * cursor.C (dispatch): don't handle update here
546 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
548 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
549 * trans_mgr.C: adjust
551 * paragraph_funcs.C (readParToken): exception safety
553 * lyxvc.h: store the vcs pointer in a scoped_ptr
556 * lyxsocket.C (serverCallback): exception safety
558 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
560 * ispell.C (clone): make it return a auto_ptr
562 * factory.C (createInset): exception safety
563 (readInset): exception safety
565 * bufferlist.C (newBuffer): exception safety
567 * Thesaurus.C (Thesaurus): use initialization for aik_
569 * MenuBackend.C (expandToc): exception safety.
571 2003-11-03 André Pönitz <poenitz@gmx.net>
575 * bufferview_funcs.C: remove getInsetFromId()
578 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
584 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
586 * PosIterator.C (distance, advance): new
587 * bufferview_funcs.[Ch] (put_selection_at): new
588 * iterators.[Ch] (lockPath): new
590 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
592 * iterators.[Ch] (asPosIterator): added
593 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
594 * PosIterator.[Ch]: added
596 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
600 * cursor.C (dispatch):
601 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
603 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
604 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
605 contructor, add a class function dispatched. Remove operator>=
607 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
609 * debug.C: only use the default constructor for debugstream
612 * main.C (main): include debug.h and setup the lyxerr streambuf
615 2003-10-31 José Matos <jamatos@lyx.org>
617 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
619 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
620 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
621 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
622 * paragraph_pimpl.C (simpleTeXSpecialC):
623 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
624 add LatexRunParams argument.
626 * exporter.C (Export): change call accordingly.
628 * latexrunparams.h: add new member to take care of the other backends.
629 2003-10-30 José Matos <jamatos@lyx.org>
631 * buffer.C (makeLinuxDocFile, makeDocBookFile):
632 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
633 factorise code for paragraph output.
635 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
638 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
640 * text3.C (dispatch):
641 * lyxfunc.C (dispatch):
642 * cursor.C (dispatch):
643 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
645 * dispatchresult.h: make the dispatch_result_t ctor explicit
647 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
650 * buffer.C: small refactoring of docbook stuff
652 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
654 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
657 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
659 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
660 operator dispatch_result_t, and operators for == != and >=
662 * cursor.C (dispatch): adjust for operator dispatch_result_t
663 removal. comment out call to update
665 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
667 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
675 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
678 * dispatchresult.h: new file, DispatchResult broken out of
681 * Makefile.am (lyx_SOURCES): add dispatchresult.h
683 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
685 * text.C (rowBreakPoint): put a hack inside #if 0
687 2003-10-28 André Pönitz <poenitz@gmx.net>
694 * text2.C: general cleanup (lots of small stuff)
696 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
698 * text2.C (cursorEnd): simple fix to the "end key goes to one
699 before the end on last row" bug
701 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
703 * text.C (backspace): fix the "zombie characters"
705 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
707 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
709 2003-10-27 André Pönitz <poenitz@gmx.net>
711 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
713 * factory.C: handle new InsetPagebreak, InsetLine
715 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
716 and move handling into new InsetPagebreak, InsetLine
718 * BufferView_pimpl.C:
720 * ParagraphParameters.C:
733 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
742 * text3.C: remove lastPos uses in favour of Row::endpos
744 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
746 * undo.C (performUndoOrRedo): fix two crashes by setting a
747 cursor by hand and reordering some calls. Use bv->lockInset instead
748 of inset->edit because the latter loses cursor information
750 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
752 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
754 (rowBreakPoint): fix width. change point to point + 1.
757 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
760 * lyxfunc.C: fix (at least partly) the problems
761 with the Nav menu and headers inside branch insets
764 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
766 * paragraph.C (getChar): add strong asserts
768 * lyxrow_funcs.C (lastPos): remove hideous hack
770 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
771 (fill): adjust to that (avoid an infinite loop)
773 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
775 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
777 2003-10-23 André Pönitz <poenitz@gmx.net>
779 * RowList_fwd.h: change list<> to vector<> to gain speed
780 after suggestion from Alfredo
782 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
784 * lyxtext.h: move the bidi stuff from here...
787 * Bidi.[Ch]: ... to here
789 2003-10-23 André Pönitz <poenitz@gmx.net>
792 * text.C (isLastRow, isFirstRow): new functions
794 * paragraph.h: new width cache member
796 * rowpainter.C: replace RowList::iterator with Row & where possible
798 * lyxfunc.C: replace several view()->text with a single call
800 * toc.C: fix 'unused' warning
802 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
804 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
805 when woring with stream::pos_type
806 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
808 2003-10-22 André Pönitz <poenitz@gmx.net>
811 * text.C: use Row & instead of RowList::iterator
813 * lyxrow.h: rename end() to endpos()
819 2003-10-22 Angus Leeming <leeming@lyx.org>
821 * buffer.[Ch] (fully_loaded): new member function, returning true
822 only when the file has been loaded fully.
823 Used to prevent the premature generation of previews and by the
824 citation inset to prevent computation of the natbib-style label.
826 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
827 templates are all set up.
829 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
831 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
833 * text.C: fixed an "oops" in the "is a bit silly"
836 2003-10-21 André Pönitz <poenitz@gmx.net>
838 * FuncStatus.[Ch]: small stuff, whitespace
840 * lyxfont.[Ch]: operator<<() for debug reasons
844 * lyxtext.h: whitespace, spelling
846 * paragraph.C: naming of variables
849 * text2.C: small stuff
852 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
854 * text.C: (1) finish off the inset display() work;
855 (2) fix the "is a bit silly" bug (accessing char
858 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
860 * text.C: re-introduce display() for insets, fixing the
861 various bugs (stretch of line above, math inset
864 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
866 * text.C (rightMargin): remove spurious semicolon
868 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
871 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
873 * text3.C: fix one crash due to wrong cursor def
875 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
877 * vc-backend.C (scanMaster): make the regex static
879 * LaTeX.C (scanAuxFile): make the regexs static
881 * text3.C (doInsertInset, dispatch, dispatch):
882 * text2.C (cursorUp, cursorDown):
883 * text.C (selectNextWordToSpellcheck):
884 * BufferView_pimpl.C (dispatch):
885 * lyxfunc.C (dispatch): localDispatch -> dispatch
887 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
889 * lyxsocket.C: include <cerrno>
891 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
893 * lyxfunc.C (dispatch): remove textcache stuff
895 * bufferlist.C (release): remove textcache stuff
898 * TextCache.C: delete file
899 * TextCache.h: delete file
901 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
903 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
904 delete of the bv_->text.
905 (resizeCurrentBuffer): remove texcache stuff
906 (workAreaResize): ditto
908 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
910 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
913 2003-10-16 André Pönitz <poenitz@gmx.net>
920 * text3.C: speed up by storing y positions per paragraph plus per-row
921 offset instead of having a 'full' y position in the row.
923 2003-10-15 André Pönitz <poenitz@gmx.net>
927 * undo.[Ch]: make undo aware of inner insets
929 2003-10-14 Angus Leeming <leeming@lyx.org>
931 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
932 static member functions LyX::ref() and LyX::cref.
933 (lastfiles): new accessor functions for the new lastfiles_ member var.
934 (addLyXView, views_): add a new LyXView to the list of views_.
935 (updateInset): loop over all LyXViews to call their own updateInset
936 member function, returning a pointer to the Buffer owning the inset.
938 * BufferView_pimpl.C (loadLyXFile):
939 * MenuBackend.C (expandLastfiles):
940 * bufferlist.C (MenuWrite, QuitLyX):
941 lastfiles is no longer a global variable.
942 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
944 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
945 static function. Access through LyX::cref().emergencyCleanup().
947 2003-10-14 André Pönitz <poenitz@gmx.net>
949 * iterators.[Ch]: new direct access to innermost LyXText and Inset
951 * undo.[Ch]: restoring part of 'undo in insets'
954 * undo_funcs.[Ch]: merge with undo.[Ch]
956 * tabular.C: small cleansing stuff
958 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
960 * paragraph_funcs.C (readParToken): report unknown insets as error
961 boxes. Use the outer paragraph as location (also for unknown
964 * factory.C (readInset): do not abort on reading an unknown inset.
967 2003-10-13 Angus Leeming <leeming@lyx.org>
969 * lyx_main.C (LyX): remove call to setDisplayTranslator().
971 * lyxrc.C: displayTranslator is now a function,
972 declared in GraphicsTypes.h.
974 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
976 * format.C: new placeholder $$a to pass the socket address.
978 * bufferlist.[Ch]: new function getBufferFromTmp.
980 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
981 files in the temporary dir.
983 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
985 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
987 * Makefile.am: add lyxsocket.[Ch].
989 * lyx_main.C (error_handler): handle SIGPIPE.
991 2003-10-13 André Pönitz <poenitz@gmx.net>
993 * BufferView_pimpl.C:
998 * undo_funcs.[Ch]: use paroffset_type instead of
999 ParagraphList::iterators to prevent multiple conversion
1000 (and get a more robust interface)
1002 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1004 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1006 * text3.C (dispatch): ditto
1008 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1010 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1011 move the onlyfile, use onlyfile instead of foundfile in a couple
1014 * DepTable.C (update): flush the error stream a bit more
1016 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1018 * lyxserver.C (callback): adjust
1020 * lyxfunc.C (getStatus): add a missing brace in commented code
1021 (ensureBufferClean): reindent
1022 (dispatch): delete version taking a string
1024 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1026 * LaTeX.C (deplog): move found file handlig from here...
1027 (handleFoundFile): .. to new function here.
1028 (deplog): make sure to discover several files mentioned on the
1031 2003-10-10 André Pönitz <poenitz@gmx.net>
1038 * text3.C: fix some of the tabular crashes
1040 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1042 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1044 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1046 2003-10-09 André Pönitz <poenitz@gmx.net>
1048 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1051 * BufferView_pimpl.C:
1052 * bufferview_funcs.C:
1063 * undo_funcs.C: adjust
1065 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1067 * text2.C (incrementItemDepth): new function, use a backtracking
1068 algorithm to discover the correct item depth.
1069 (resetEnumCounterIfNeeded): new function, use a backtracking
1070 algorithm to discover if counter reset is needed.
1071 (setCounter): use them. Simplify a bit. Add different labels for
1072 different item depths for itemize.
1074 * paragraph.C (Paragraph): remove initialization of enumdepth
1077 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1078 enumerate and itemize. Change the type of itemdepth to signed char.
1080 2003-10-08 André Pönitz <poenitz@gmx.net>
1082 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1087 * tabular.[Ch]: fix crash after 'row-insert'
1089 2003-10-08 Angus Leeming <leeming@lyx.org>
1091 Fix doxygen warnings.
1093 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1094 Remove CutAndPaste:: prefix from header file declaration.
1096 * LColor.h (fill): remove LColor:: prefix from declaration.
1098 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1099 use lyx::depth_type rather than Paragraph::depth_type so that
1100 header file and .C file match.
1102 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1104 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1105 * aspell.C: \file aspell_local.C -> \file aspell.C
1106 * gettext.C: \file gettext.C -> \file src/gettext.C
1107 * gettext.h: \file gettext.h -> \file src/gettext.h
1108 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1109 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1110 * text.C: \file text.C -> \file src/text.C
1112 * toc.C: move comment so that doxygen is not confused.
1114 2003-10-07 Angus Leeming <leeming@lyx.org>
1116 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1118 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1121 * aspell_local.h: add forgotten std::string's.
1123 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1130 * text3.C: The Box patch. Fancybox support, minipage, parbox
1132 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1138 * ParagraphParameters.h:
1148 * lyxtextclasslist.h:
1151 * paragraph_pimpl.C:
1152 * textcursor.h: add <string> and other small fixes to make Lars'
1153 std::string patch compile with STLport.
1155 2003-10-06 Angus Leeming <leeming@lyx.org>
1157 * LColor.h: Add missing #include <string>.
1159 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1161 * All most all file in all subdirs: Make <string> be the prefered
1162 way of getting to std::string, add using declarations.
1164 2003-10-06 André Pönitz <poenitz@gmx.net>
1166 * metricsinfo.C: initialize LyXFont before changing attribute.
1167 (fixes the 'math in \emph is upright' bug)
1169 2003-10-06 André Pönitz <poenitz@gmx.net>
1171 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1173 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1176 * paragraph_pimpl.C: Small fixes to build using STLport
1178 2003-10-02 André Pönitz <poenitz@gmx.net>
1181 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1183 2003-10-01 André Pönitz <poenitz@gmx.net>
1185 * factory.C: assert early
1187 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1189 * lyx_main.C: remove the global debug object
1191 * debug.h: adjust for new debugstream
1193 * debug.C: adjust for new debugstream and keep the global debug
1196 2003-09-22 Angus Leeming <leeming@lyx.org>
1198 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1199 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1200 an incomplete class LyXFont.
1202 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1204 * factory.C: bug fix in branches
1206 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1208 * lyxfunc.C (processKeySym): adjust
1210 (dispatch): change arg name from ev to func, adjust
1211 (sendDispatchMessage): ditto
1213 * lyx_main.C (defaultKeyBindings): adjust keybindings
1214 (deadKeyBindings): ditto
1216 * kbsequence.C (addkey): return a FuncRequest
1218 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1220 * kbmap.C (bind): take a FuncRequest as arg, adjust
1223 (defkey): change to take a FuncRequest as arg, adjust
1224 (findbinding): take a FuncRequest as arg, adjust.
1226 * funcrequest.h (operator=): added
1228 * funcrequest.C (FuncRequest): default kb_action changed from
1229 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1231 * buffer.C (dispatch): simplify
1232 (dispatch): adjust to take a FuncRequest as arg, adjust
1234 * boost.C (assertion_failed): change assertion message slightly
1236 * ToolbarBackend.C (read): simplify
1238 * MenuBackend.C (binding): adjust call to findbinding, add a
1239 message if no binding is found.
1241 (expandToc): correct by adding a empty FuncRequest
1243 * LyXAction.C: include <boost/assert.hpp>
1244 (isPseudoAction): delete function
1245 (LookupFunc): change name to...
1246 (lookupFunc): this. change return type to FuncRequest.
1247 (getActionName): take kb_action as arg, simplify
1248 (funcHasFlag): add an assert, simplify.
1250 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1252 * toc.C (action): return a FuncRequest, simplify
1254 * lyxfunc.C (processKeySym): adjust
1255 (getStatus): delete version that takes an int.
1257 (dispatch): delete version that takes action as int
1259 (sendDispatchMessage): simplify and adjust
1261 * funcrequest.C (getArg): take unsigned int as arg
1263 * ToolbarBackend.C (read): adjust
1264 (add): delete version that takes func as a string.
1265 (getIton): take a FuncRequest as arg
1267 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1270 * MenuBackend.C (MenuItem): add a new construct that only takes a
1271 Kind, simplify the constructor use for submenus.
1273 (expandLastfiles): adjust
1274 (expandDocuments): adjust
1275 (expandFormats): adjust
1276 (expandFloatListInsert): adjust
1277 (expandFloatInsert): adjust
1278 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1280 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1281 Remove class variables lyx_pseudo_map and lyx_arg_map
1283 * LyXAction.C (searchActionArg): delete function
1284 (getPseudoAction): delete function
1285 (retrieveActionArg): delete function
1286 (LookupFunc): make it return kb_action, simplify.
1287 (getActionName): simplify
1289 * factory.C (createInset): fix new bug
1291 2003-09-19 Angus Leeming <leeming@lyx.org>
1293 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1294 masterFilename_ parameter in the include inset.
1296 * factory.C (createInset): changes due to the changes to InsetInclude.
1298 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1300 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1302 2003-09-18 Angus Leeming <leeming@lyx.org>
1305 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1306 Inset::fillWithBibKeys.
1307 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1309 2003-09-18 Angus Leeming <leeming@lyx.org>
1311 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1313 (ctor): pass and store a 'Buffer const &'
1314 (buffer): new member function.
1316 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1317 '*this' to the LaTeXFeatures ctor.
1319 2003-09-18 Angus Leeming <leeming@lyx.org>
1325 * text.C: rename EnumLColor as LColor_color.
1327 2003-09-18 Angus Leeming <leeming@lyx.org>
1329 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1330 remove #include "insets/insetbase.h" from cursor.h.
1332 2003-09-18 Angus Leeming <leeming@lyx.org>
1334 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1335 InsetOld_code to remove #include "inset.h".
1337 * iterators.C: add #include "insets/inset.h"
1339 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1341 * BufferView.C: remove more locking stuff that apparently doesn't
1342 do anything sensible.
1344 2003-09-16 André Pönitz <poenitz@gmx.net>
1347 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1350 2003-09-16 Angus Leeming <leeming@lyx.org>
1352 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1354 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1357 * paragraph.h: remove #include "lyxfont.h". Forward declare
1360 2003-09-16 Angus Leeming <leeming@lyx.org>
1362 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1363 of support/textutils.h.
1364 (isWord): move the contents of support/textutils.h's IsWordChar here.
1370 * text2.C: add #include "paragraph.h".
1373 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1375 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1381 * LaTeX.C: use namespace alias for lyx::support::os
1383 2003-09-16 Angus Leeming <leeming@lyx.org>
1386 * bufferview_funcs.C:
1389 * paragraph_pimpl.C:
1391 * text.C: add #include "LColor.h".
1393 2003-09-16 Angus Leeming <leeming@lyx.org>
1395 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1396 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1398 Store the FontBits::color variable as an int rather than as an
1399 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1402 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1403 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1404 string calls together.
1406 * lyxrc.C: add #include "LColor.h".
1408 2003-09-15 Angus Leeming <leeming@lyx.org>
1410 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1413 2003-09-15 Angus Leeming <leeming@lyx.org>
1415 * LColor.h: add an EnumLColor wrapper for LColor::color.
1417 * lyxfont.[Ch] (color, setColor, realColor):
1418 * lyxtext.h, text.C (backgroundColor):
1419 pass EnumLColor args to/from the functions, rather than LColor::color
1423 * lyxtext.h: forward declare EnumLColor.
1425 * lyx_main.C: add #include "LColor.h".
1427 2003-09-15 Angus Leeming <leeming@lyx.org>
1429 * .cvsignore: add lyx-gtk.
1431 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1436 * ParagraphParameters.C
1440 * bufferview_funcs.C
1450 * vc-backend.C: remove usage of STRCONV
1452 2003-09-15 Angus Leeming <leeming@lyx.org>
1454 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1455 explicitly define the color passed to the painter.
1457 2003-09-15 Angus Leeming <leeming@lyx.org>
1459 * bufferparams.C (BufferParams): reorder member initializers to avoid
1462 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1464 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1465 * text.C (updateRowPositions): remove an unusual nop
1467 2003-09-12 André Pönitz <poenitz@gmx.net>
1469 * BufferView_pimpl.C:
1478 * Counters.[Ch]: finish the 'automatic counters' job
1480 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1482 * aspell.C: include <boost/assert.cpp> (compile fix)
1484 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1486 * boost.C (assertion_failed): use lyx::support::abort instead of
1489 2003-09-10 Angus Leeming <leeming@lyx.org>
1491 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1492 with their _fwd progeny.
1494 2003-09-09 Angus Leeming <leeming@lyx.org>
1496 134 files throughtout the source tree: replace 'using namespace abc;'
1497 directives with the appropriate 'using abc::xyz;' declarations.
1499 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1501 * boost.C (emergencyCleanup): moved here from LAssert.c
1502 (assertion_failed): new function, called by BOOST_ASSERT
1504 * several files: change Assert to BOOST_ASSERT
1506 2003-09-09 Angus Leeming <leeming@lyx.org>
1508 * buffer.[Ch]: Add an Impl class and move Buffer's member
1509 variables into it. As a result move several header files out of
1512 Add header files to lots of .C files all over the tree as a result.
1514 2003-09-09 Angus Leeming <leeming@lyx.org>
1516 * buffer.[Ch]: make Buffer's member variables private. Add
1519 Lots of changes all over the tree as a result.
1521 2003-09-08 Angus Leeming <leeming@lyx.org>
1523 * graph.C: #include <config.h>.
1525 2003-09-08 Angus Leeming <leeming@lyx.org>
1529 * BufferView_pimpl.C:
1558 * toc.C: remove redundant using directives.
1560 2003-09-07 Angus Leeming <leeming@lyx.org>
1562 * LaTeXFeatures.h: remove #include "support/types.h".
1563 * ToolbarBackend.h: remove #include <algorithm>.
1564 * changes.h: remove #include <ctime>.
1565 * debug.h: remove #include <iosfwd>.
1566 * graph.h: remove #include "support/std_string.h".
1567 * lyx_main.h: remove #include <csignal>.
1568 * lyxlex_pimpl.h: remove #include <fstream>.
1569 * sgml.h: remove #include <algorithm>, <utility>.
1570 * toc.h: remove #include "support/std_ostream.h".
1571 Add #include <iosfwd>.
1573 2003-09-07 Angus Leeming <leeming@lyx.org>
1575 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1577 * converter.h: forward declare LatexRunParams.
1578 * encoding.h: remove #include "lyxrc.h".
1579 * lyxtext.h: remove #include "LColor.h".
1580 * lyxtextclass.h: remove #include "support/types.h".
1581 * trans.h: remove #include "tex-accent.h".
1582 * trans_mgr.h: remove #include "tex-accent.h".
1583 * insets/inset.h: remove #include "support/types.h", <vector>.
1584 * insets/insetcollapsable.h: remove #include "LColor.h".
1585 * insets/insetinclude.h: remove #include "dimension.h".
1586 * insets/insetlatexaccent.h: remove #include "dimension.h".
1587 * insets/insetoptarg.h:: remove #include "insettext.h".
1588 * insets/insettext.h: remove #include "dimension.h",
1589 <boost/shared_ptr.hpp>
1591 * insets/renderers.h: add #include "dimension.h".
1592 * insets/updatableinset.h: add #include "support/types.h".
1594 * many .C files: Associated changes.
1596 2003-09-06 Angus Leeming <leeming@lyx.org>
1598 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1599 one, inside testInvariant.
1601 * PrinterParams.C: new file.
1602 * PrinterParams.[Ch]: move the function bodies out of line.
1604 2003-09-06 Angus Leeming <leeming@lyx.org>
1606 * ParagraphParameters.h: forward declare ParameterStruct rather than
1607 including its header file.
1608 (depth): moved out-of-line.
1610 2003-09-06 Angus Leeming <leeming@lyx.org>
1612 * BufferView_pimpl.h:
1615 * lyxfunc.h: forward declare LyXKeySym rather than
1616 #include "frontends/LyXKeySym.h".
1618 * BufferView_pimpl.C:
1621 * lyxfunc.C: associated changes.
1623 2003-09-06 Angus Leeming <leeming@lyx.org>
1625 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1626 As a result, can remove the #include "insets/inset.h" from BufferView.h
1628 2003-09-06 Angus Leeming <leeming@lyx.org>
1630 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1631 As a result, can remove the #include "insets/inset.h" from BufferView.h
1633 2003-09-06 Angus Leeming <leeming@lyx.org>
1639 * bufferview_funcs.C:
1640 * BufferView_pimpl.C:
1645 * ParagraphParameters.C:
1650 * frontends/controllers/ControlDocument.C:
1651 * insets/insetcaption.C: rearrange the #includes into some sort of
1654 * buffer.h: remove #includes ErrorList.h, undo.h
1656 2003-09-06 Angus Leeming <leeming@lyx.org>
1658 * support/types.h: add a 'depth_type' typedef, used to store the
1659 nesting depth of a paragraph.
1662 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1663 defining explicitly.
1666 * paragraph_funcs.h:
1667 * ParagraphParameters.h:
1668 * sgml.h: use lyx::depth_type rather than Paragraph or
1669 ParameterStruct's depth_type.
1672 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1675 * BufferView_pimpl.C:
1677 * ParagraphParameters.C:
1680 * bufferview_funcs.C:
1687 * frontends/LyXView.C:
1688 * frontends/controllers/ControlDocument.C:
1689 * frontends/controllers/ControlErrorList.C:
1690 * insets/insetbibitem.C:
1691 * insets/insetbranch.C:
1692 * insets/insetcaption.C:
1693 * insets/insetcollapsable.C:
1694 * insets/insetenv.C:
1695 * insets/insetert.C:
1696 * insets/insetfloat.C:
1697 * insets/insetfoot.C:
1698 * insets/insetfootlike.C:
1699 * insets/insetnewline.C:
1700 * insets/insetquotes.C:
1701 * insets/insettabular.C:
1702 * insets/insettext.C:
1703 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1705 * frontends/controllers/ControlChanges.C: #include "changes.h".
1707 2003-09-06 Angus Leeming <leeming@lyx.org>
1709 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1710 than #including paragraph.h.
1713 * RowList.h: deleted. Superfluous.
1723 * insets/insettext.h: use ParagraphList_fwd.h rather than
1726 * paragraph.h: don't forward declare ParagraphList.
1729 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1730 rather than ParagraphList.h. paragraph.h is still needed for the
1731 Paragraph::depth_type parameters.
1733 * textcursor.h: enable it to compile stand-alone in light of the
1736 * bufferview_funcs.C:
1748 * frontends/controllers/ControlParagraph.C:
1749 * frontends/controllers/ControlTabular.C:
1750 * insets/insetmarginal.C:
1751 * insets/insetminipage.C:
1752 * insets/insetnote.C:
1753 * insets/insetoptarg.C: add header files needed to compile again.
1755 2003-09-06 Angus Leeming <leeming@lyx.org>
1757 * RowList_fwd.h: new file, forward-declaring Row rather than
1758 #including lyxrow.h.
1763 * insets/insettext.h: use it instead of RowList.h
1765 * bufferview_funcs.C:
1772 * text3.C: #include "RowList.h".
1774 2003-09-05 Angus Leeming <leeming@lyx.org>
1776 * factory.C (createInset):
1777 * vspace.C (c-tor): replace sscanf call with an istringstream.
1778 * ispell.C: re-add missing HP/UX headers.
1779 * lyxserver.C: re-add missing os2 headers.
1781 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1790 * text3.C: re-add missing system headers, needed for 2.95.2.
1792 2003-09-05 Angus Leeming <leeming@lyx.org>
1794 Changes most place everywhere due to the removal of using directives
1795 from support/std_sstream.h.
1797 2003-09-05 Angus Leeming <leeming@lyx.org>
1799 Replace LString.h with support/std_string.h,
1800 Lsstream.h with support/std_sstream.h,
1801 support/LIstream.h with support/std_istream.h,
1802 support/LOstream.h with support/std_ostream.h.
1804 Changes resulting throughout the tree.
1806 2003-09-05 Angus Leeming <leeming@lyx.org>
1808 * sgml.h: ensure that the header file can be compiled stand-alone.
1809 * *.C: strip out redundant #includes. (320 in total.)
1811 2003-09-04 Angus Leeming <leeming@lyx.org>
1813 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1814 here (from getPackages).
1816 * debug.[Ch]: add a new EXTERNAL tag.
1818 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1820 * text2.C (cursorEnd): simplify
1822 (getColumnNearX): adjust
1824 * text.C (computeBidiTables): adjust
1827 * rowpainter.C (paintChars): adjust
1828 (paintSelection): adjust
1829 (paintChangeBar): adjust
1832 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1834 (numberOfSeparators): adjust
1836 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1842 * text3.C: Restricts the mouse click functionality
1843 of insets like bibtex, include, toc and floatlist to the visible
1844 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1845 up the dialogs. Cursor has to be in front of the inset (i.e.
1846 start of row) for this to function.
1848 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1850 * bufferview_funcs.C (currentState): output row information
1852 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1854 * bufferview_funcs.C (currentState): output paragraph position
1856 2003-09-04 Angus Leeming <leeming@lyx.org>
1858 * FloatList.h: move out #include "Floating.h".
1859 * LaTeX.h: move out #include "DepTable.h".
1860 * LyXAction.h: move out #include "funcrequest.h".
1861 * buffer.h: move out #include "author.h", "iterators.h".
1862 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1863 * lyx_main.h: move out #include "errorlist.h".
1864 * lyxfunc.h: move out #include "FuncStatus.h".
1865 * lyxtext: move out #include "lyxcursor.h".
1866 * paragraph_pimpl.h: move out #include "counters.h".
1868 2003-09-03 Angus Leeming <leeming@lyx.org>
1870 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1871 preamble_snippets list, enabling us to add snippets to the preamble
1872 only if the snippet was not there already.
1874 2003-09-04 Angus Leeming <leeming@lyx.org>
1876 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1878 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1880 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1883 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1885 * BranchList.C: point fix, earlier forgotten
1887 2003-09-02 Angus Leeming <leeming@lyx.org>
1889 * box.C (contains): renamed from 'contained' after a fantastic
1892 2003-09-02 John Levon <levon@movementarian.org>
1898 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1900 2003-09-02 John Levon <levon@movementarian.org>
1902 * text2.C: simplification of cursorEnd(), including partial
1905 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1907 * buffer.C (readFile): add a space
1909 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1911 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1913 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1915 * buffer.C (readFile): new function, take a filename and a
1916 ParagraphList::iterator
1918 (readFile): adjust, make it private. don't use setStream, make
1919 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1920 always contain the filename.
1922 * BufferView.C (insertLyXFile): simplify and make it work for
1925 2003-08-30 John Levon <levon@movementarian.org>
1927 * Makefile.am: fix dist (from Kayvan)
1929 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1931 * most files: change to use const Buffer refs
1933 2003-08-27 André Pönitz <poenitz@gmx.net>
1935 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1936 on top of ownerPar().
1938 2003-08-27 John Levon <levon@movementarian.org>
1940 * funcrequest.C: properly initialise POD members
1942 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1944 * lyxtext.h (top_y): move top_y from here
1949 * BufferView_pimpl.[Ch]: to here
1950 * frontends/screen.C:
1951 * insets/insettabular.C:
1952 * insets/insettext.C: adjust
1953 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1955 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1958 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1960 2003-08-26 André Pönitz <poenitz@gmx.net>
1962 * paragraph_func.[Ch] (outerPar): new function
1965 * paragraph_funcs.C:
1966 * paragraph_funcs.h:
1967 * paragraph_pimpl.C:
1968 * text2.C: remove Inset::par_owner
1970 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1975 * text2.C: eliminates the needFullRow/display() stuff
1976 altogether, putting the logic in metrics/draw in the insets.
1978 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
1980 * text2.C (redoParagraphInternal, redoParagraphs):
1981 * text.C (redoParagraph): add a call to updateRowPositions at the
1982 end of each 'metrics-like' call. Remove all others.
1983 (getRow): remove the 'y-computing' version.
1984 (getRowNearY): do not compute nor return the real y. Solve the
1985 'y < 0' problem and simplify.
1987 2003-08-22 Angus Leeming <leeming@lyx.org>
1989 * *.[Ch]: clean-up of licence and author blurbs.
1990 Also move config.h out of a few .h files and into a few .C files.
1992 2003-08-22 André Pönitz <poenitz@gmx.net>
1994 * lyxrow.[Ch]: add x_ and *fill_ members
1999 * text2.C: adjust/remove prepareToPrint() calls
2001 2003-08-22 André Pönitz <poenitz@gmx.net>
2003 * lyxrow.[Ch]: add end_ member
2005 * lyxrow_funcs.C: use LyXRow::end_
2007 * lyxtext.h (singleWidth): add LyXFont parameter
2010 * text2.C: adjust LyXText::singleWidth() calls
2012 * text.C (redoParagraph): simplify row breaking logic
2015 2003-08-19 André Pönitz <poenitz@gmx.net>
2017 * funcrequest.C: initialize button_ member
2020 * rowpainter.[Ch]: interface consolidation
2022 2003-08-18 André Pönitz <poenitz@gmx.net>
2025 * BufferView_pimpl.C:
2027 * paragraph_funcs.C:
2029 * text3.C: remove LyXScreen::draw() and fitCursor calls
2031 * BranchList.h: remove spurious semicolons
2033 * MenuBackend.C: fix branchlist related crash
2035 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2043 * bufferparams.[Ch]:
2047 * text3.C: implements the 'branch inset'
2048 idea. This allows the output of various versions of a document
2049 from a single source version, selectively outputing or suppressing
2050 output of parts of the text.
2051 This implementation contains a 'branch list editor' in a separate
2052 tab of the document settings dialog. Branches are user definable
2053 and have a "display colour" to distinguish them on-screen.
2055 ColorHandler was somewhat cleaned up.
2056 (1) make possible a dynamically growing LColor list by allowing
2057 the graphic context cache to grow along (vector);
2058 (2) eliminate an IMHO unnecessary step in colour allocation.
2060 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2062 * BufferView_pimpl.C: compile fix
2064 2003-08-15 André Pönitz <poenitz@gmx.net>
2066 * rowpainter.C: remove extra metrics calls
2068 * lyxtext.h: merge the two constructors into a single one,
2069 pass reference to owner's par list
2071 * BufferView_pimpl.C:
2075 2003-08-15 André Pönitz <poenitz@gmx.net>
2077 * lyxrow_funcs.[Ch]:
2080 * paragraph_funcs.C:
2085 * text_funcs.C: split LyXText::rowlist_ into individual
2086 Paragraph::rows_ chunks
2089 * BufferView_pimpl.[Ch]:
2092 * text3.C: remove toggleSelection()
2094 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2096 * bufferlist.C: beautify two alerts (shorter text of buttons)
2097 * buffer.C: Remove redundant ' ' from message
2099 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2100 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2101 rename VALIGN_CENTER to VALIGN_MIDDLE
2103 2003-08-11 André Pönitz <poenitz@gmx.net>
2105 * lyxtext.h (getPar):
2106 * text.C: new function
2108 2003-08-11 André Pönitz <poenitz@gmx.net>
2111 * tracer.[Ch]: remove unneeded files
2113 * InsetList.[Ch]: remove resizeInsetsLyXText()
2118 * text3.C: merge insertParagraphs() and appendParagraph()
2119 remove breakAgain(), update()
2121 * BufferView_pimpl.[Ch]:
2122 * bufferview_funcs.[Ch]:
2126 * tabular.C: adjust after text & InsetList changes.
2128 2003-08-08 André Pönitz <poenitz@gmx.net>
2130 * text.C (insertChar, backspace): replace rowlist fiddling
2131 with rebreak of full par
2134 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2135 checkParagraph, updateInset): removed
2137 2003-08-07 André Pönitz <poenitz@gmx.net>
2140 * text3.C: merge some LFUN handlers, remove dead code
2142 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2144 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2146 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2148 * text2.C (DEPM): fix part of bug 1255 and 1256
2150 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2152 * BufferView_pimpl.C (workAreaDispatch): change to use
2153 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2154 that are no mouse related.
2156 2003-08-05 André Pönitz <poenitz@gmx.net>
2159 * BufferView_pimpl.[Ch]:
2160 * bufferview_funcs.C:
2162 * text3.C: rip out "deep update"
2164 * textcursor.[Ch] (last_sel_cursor): remove unused member
2166 2003-08-04 André Pönitz <poenitz@gmx.net>
2169 * BufferView_pimpl.[Ch]:
2170 * ParagraphParameters.C:
2171 * bufferview_funcs.C:
2177 * text3.C: replace "complicated" BufferView::update(...) calls with
2180 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2182 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2184 * Makefile.am (lyx_SOURCES): add paper.h
2186 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2188 * Makefile.am: move things around so that both lyx-qt and
2189 lyx-xforms can be built (according to --with-frontend). Then lyx
2190 is a symbolic link to lyx-[firstfrontend]
2192 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2194 * Always use std::endl with lyxerr
2196 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2198 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2200 2003-08-01 André Pönitz <poenitz@gmx.net>
2203 * BufferView_pimpl.[Ch]:
2205 * text3.C: merge BufferView::repaint() and BufferView::update()
2207 2003-08-01 José Matos <jamatos@lyx.org>
2209 * buffer.[Ch]: file_format is no longer a buffer data element.
2211 2003-08-01 André Pönitz <poenitz@gmx.net>
2216 * text2.C: make redoParagraph more independent of current cursor
2218 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2220 * text2.C: remove unneeded members
2222 2003-07-30 André Pönitz <poenitz@gmx.net>
2224 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2226 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2227 create a single function...
2229 * paragraph_funcs.C (moveItem): ... here.
2232 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2234 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2236 * LColor.[Ch]: Add comment and greyedout logical colors.
2238 2003-07-30 André Pönitz <poenitz@gmx.net>
2240 * tabular.C: don't use Assert too heavily. This crashes where it
2243 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2245 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2246 is disabled (bug 1232)
2248 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2250 * factory.C: limited 'arg' scope
2252 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2254 * factory.C: fixed Note submenu issues
2256 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2258 * factory.C: submenu for Note/Comment/Greyedout
2260 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2263 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2265 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2268 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2269 greyedout. Patch provided by Jürgen Spitzmüller.
2271 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2273 * kbmap.C (read): fix error message when reading bind files
2275 2003-07-29 Angus Leeming <leeming@lyx.org>
2277 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2278 certainly does not do what it purports to do. I am doing it, and
2279 us, a favour by killing it.
2281 2003-07-28 José Matos <jamatos@lyx.org>
2283 * buffer.C (readBody, do_writeFile):
2284 * paragraph.C(readParagraph): \end_document replaces \the_end.
2286 2003-07-29 André Pönitz <poenitz@gmx.net>
2289 * BufferView_pimpl.[Ch]:
2293 * textcursor.[Ch]: remove toggleToggle & Co
2295 2003-07-28 José Matos <jamatos@fep.up.pt>
2297 * buffer.C (readParagraph):
2298 * params_func (readParToken, readParagraph):
2299 * paragraph.C (write): \layout -> \begin_layout.
2301 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2303 * lyxlex_pimpl.C (setFile): clean up slightly.
2305 * bufferparams.h: add compressed var
2307 * buffer_funcs.C (readFile): adjust for LyXLex change
2308 (newFile): ditto + simplify
2310 * buffer.C (writeFile): handle writing of compressed files
2312 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2313 Check if the file is compressed and set a bufferparm if so.
2315 * Makefile.am (lyx_LDADD): remove explicit -lz
2317 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2319 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2320 makeDocBookFile): put the real LyX version in the first line of
2324 * version.C.in: remove lyx_docversion
2326 * tabular.C (write_attribute): add a template-based version to
2327 write enums properly
2329 2003-07-28 André Pönitz <poenitz@gmx.net>
2334 * text3.C: use doubles again for x-coordinates. They are needed.
2336 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2338 * messages.C (getLocaleDir): use lyx_localedir()
2340 * lyxlex_pimpl.C (setFile): compress stuff
2342 * buffer.C (writeFile): add some compression stuff
2343 (do_writeFile): new func, dont call expliti close... will this
2346 * Makefile.am (lyx_LDADD): add -lz
2348 2003-07-28 José Matos <jamatos@fep.up.pt>
2350 * buffer.C: increment file format.
2351 * paragraph_funcs (readParagraph, readParToken):
2352 * paragraph.C (readParagraph): add \end_layout.
2354 2003-07-27 Angus Leeming <leeming@lyx.org>
2356 * Makefile.am: remove special casing for configure-time setting of
2357 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2359 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2360 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2362 2003-07-26 André Pönitz <poenitz@gmx.net>
2364 * paragraph_func.[Ch]:
2365 * paragraph.C (realizeFont): inline it whereever it is used
2370 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2373 2003-07-26 André Pönitz <poenitz@gmx.net>
2377 * text2.C: get rid of LyXText::need_break_row
2379 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2381 * toc.[Ch]: put namespace toc inside namespace lyx
2383 * MenuBackend.C (expandToc2): adjust for lyx::toc
2386 * lyxfunc.C (dispatch): adjust for lyx::find
2388 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2389 lyx::find instead. Reorganize a bit.
2390 (LyXReplace): rename to replace
2391 (LyXFind): rename to find
2393 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2396 2003-07-26 André Pönitz <poenitz@gmx.net>
2398 * text.C (setHeightOfRow): restrict scope of temporary variable
2400 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2401 code (never has been used?)
2403 2003-07-27 Asger Alstrup <alstrup@local>
2405 * text.C (fill): Optimise algorithm to exploit that we can reuse
2406 the LyXFont for many characters.
2407 (setHeightOfRow): Same thing.
2408 (rowBreakPoint): Same thing.
2410 2003-07-26 Asger Alstrup <alstrup@local>
2412 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2414 * text.C (singleWidth): Spurious font copying in hot-spot
2415 singleWidth avoided. Reorder tests for arabic for efficiency.
2417 * text.C (fill): handle empty paragraphs better.
2419 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2422 * encoding.h: add includes
2424 * lyxrc.C: remove reading of bind files
2426 * lyx_main.C (init): setup bindings and menus only if we have a
2429 * kbmap.C (read): new method. Do the actual reading of bind
2432 * converter.C (dvipdfm_options):
2435 (output): adapt PAPER_* enums.
2437 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2439 * bufferparams.h: remove paper-related enums from there
2441 * paper.h: New file. A trivial header file to hold paper-related
2442 enums. It should later expand to contain many paper-related
2445 * lyxrc.C: declare extern displayTranslator
2447 2003-07-27 José Matos <jamatos@fep.up.pt>
2449 * tabular.[Ch] (linuxdoc): add support for tables and figures
2452 2003-07-27 José Matos <jamatos@fep.up.pt>
2454 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2455 consistency in both functions.
2456 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2458 2003-07-26 Asger Alstrup <alstrup@local>
2460 * rowpainter.C (paintRows): Change algorithm to work directly on
2461 the insets rather than asking every character in the document
2462 whether its an inset.
2464 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2466 * buffer.C (openFileWrite): factorize some code
2468 2003-07-26 Angus Leeming <leeming@lyx.org>
2471 * lyx_main.[Ch]: replace occurances of system_tempdir with
2474 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2476 * rename Inset to InsetOld
2478 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2480 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2481 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2482 which I think is a bit clearer. EDIT is gone, since it was
2483 premature optimisation, and broken for mathed anyway.
2484 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2485 with cursor positioning in insets as well (math insets still do not
2486 work, but that's a different story anyway.) It mysteriously
2487 crashes sometimes with undo in the first paragraph, but I'm fairly
2488 confident that this is a compiler bug.
2490 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2492 * paragraph.C (Paragraph): adjust for new clone return type
2494 (copyIntoMinibuffer): ditto
2496 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2498 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2499 by not having a special case, and always doing a full rebreak of
2500 the document after undo.
2502 2003-07-23 Angus Leeming <leeming@lyx.org>
2504 * factory.C (createInset): InsetExternal::setParams now takes a
2507 2003-07-23 Angus Leeming <leeming@lyx.org>
2509 * factory.C (createInset): changed interface to the external and
2510 graphics mailers' string2params functions.
2512 2003-07-23 Angus Leeming <leeming@lyx.org>
2514 * factory.C (createInset): pass a
2515 Buffer const * parameter to InsetExternalMailer's string2params.
2517 2003-07-22 John Levon <levon@movementarian.org>
2519 * Thesaurus.h: include the right aiksaurus header
2521 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2523 * MenuBackend.C (expand): check menu shortcuts unconditionally
2525 2003-07-21 Angus Leeming <leeming@lyx.org>
2527 * factory.C (createInset): pass a
2528 buffer_path parameter to InsetGraphicsMailer's string2params.
2530 2003-07-21 Angus Leeming <leeming@lyx.org>
2532 * BufferView_pimpl.C (buffer):
2535 * lyxfunc.C (dispatch):
2536 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2537 rather than the grfx shortcut.
2539 2003-07-21 André Pönitz <poenitz@gmx.net>
2541 * rowpainter.C: remove unused variables
2544 * tabular_funcs.h: move to tabular.C
2545 * Makefile.am: adjust
2547 * tabular.[Ch]: basic optical cleaning
2549 * author.h: pass references, not values
2551 2003-07-18 André Pönitz <poenitz@gmx.net>
2559 * text3.C: two-phase drawing for InsetText and InsetTabular
2560 some float -> int changes.
2562 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2564 * lyx_main.C: fix the fix
2566 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2568 * lyx_main.C: fix a crash in batch mode if no files specified
2571 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2573 * format.[Ch] (papersize): moved to BufferParams
2574 * converter.[Ch] (dvips_options): moved to BufferParams
2575 (dvipdfm_options): moved to anon namespace
2576 * bufferparams.[Ch]: added above functions.
2578 2003-07-17 André Pönitz <poenitz@gmx.net>
2582 * text2.C: don't call inset->update() anymore
2584 * metricsinfo.[Ch]: add convenience constructor
2586 2003-07-16 André Pönitz <poenitz@gmx.net>
2591 * text2.C: replace the LyXCursor::irow_ member with
2592 on-demand computation of the value
2594 2003-07-16 John Levon <levon@movementarian.org>
2596 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2598 2003-07-15 André Pönitz <poenitz@gmx.net>
2601 * text2.C: remove no more needed refresh_row
2603 2003-07-15 André Pönitz <poenitz@gmx.net>
2608 * text3.C: refresh_status tristate -> need_update bool
2610 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2612 * lyxtext.h (init): remove reinit argument (act as if always true)
2613 * text2.C: adjust to that
2615 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2617 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2618 * text3.C: use it to delete selections in some cases
2619 (bugs 441, 673, 702, 954).
2621 2003-07-14 André Pönitz <poenitz@gmx.net>
2623 * rowpainter.[Ch]: reduce interface
2625 2003-07-14 André Pönitz <poenitz@gmx.net>
2627 * BufferView_pimpl.C:
2628 * text2.C: adjust after removing unused BufferView * argument
2630 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2632 * text2.C (init): fix a crash fired on resize
2634 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2636 * buffer.[Ch]: added new closing signal
2637 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2638 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2639 BufferView::Pimpl via the closing the signal
2641 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2643 * buffer.[Ch]: take out all bv-related from buffer
2645 * BufferView_pimpl.[Ch]: connect to new signals
2646 * CutAndPaste.C: removed useless asserts
2647 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2650 * lyxfunc.C: moved view-related funciontality from vc here
2651 * paragraph.C: removed outdated comments
2654 2003-07-10 André Pönitz <poenitz@gmx.net>
2656 * BufferView_pimpl.C:
2660 * text2.C: remove InsetText::InnerCache, clean up consequences
2662 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2664 * ispell.C: fix two typos in error messages
2666 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2668 * Extend Note inset to other forms of annotation like Comment
2669 and Greyedout. Right button click gives dialog.
2671 Files modified or added (+):
2675 * ControlNote.[Ch] +
2677 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2678 frontends/controllers
2682 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2684 * aspell.C: add missing namespace lyx::support
2686 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2688 * BufferView.[Ch] (newFile): Add
2689 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2690 * LaTeX.[Ch] (message): added this signal and use it
2691 * buffer.[Ch] (busy, message): added these signals and use them
2692 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2696 * importer.C: use buffer signals instead of direct bv calling
2697 * lyx_cb.[Ch] (ShowMessage): removed
2700 * paragraph_funcs.C:
2701 * text2.C: use buffer signals
2703 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2705 * introduce namespace lyx::graphics
2707 2003-07-02 André Pönitz <poenitz@gmx.net>
2709 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2711 2003-07-01 André Pönitz <poenitz@gmx.net>
2718 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2719 text*.C to text_func.C
2721 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2723 * introduce namespace lyx::support
2725 2003-06-30 André Pönitz <poenitz@gmx.net>
2730 * text.C: re-enable --with-included-string
2732 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2734 * textcursor.C: add <config.h>
2736 * text.C (getWord): remove const from word_location arg
2738 * lyxvc.C (getLogFile): fix const type order
2740 * lyxtext.h: remove const from word_location arg, add arg name
2742 * lyxlayout.h: currect type on labeltype.
2744 * importer.C: correct \file
2746 * converter.C (intToFormat): use std:: on ret val, ws changes
2748 * bufferlist.h: correct \file
2750 * buffer.C (makeLinuxDocFile): fix const type order
2751 (makeDocBookFile): ditto
2752 (fillWithBibKeys): use std:: on stdlib args.
2754 * CutAndPaste.C: fix authors.
2755 (availableSelections): use std:: on return vector
2757 2003-06-27 André Pönitz <poenitz@gmx.net>
2759 * BufferView_pimpl.C:
2760 * bufferview_funcs.C:
2768 * text3.C: remove LyXCursor::row_ member
2771 * text.C: rename fullRebreak() to partialRebreak() and implement
2772 a fullRebreak() that really bereks fully
2774 * textcursor.h: new struct for cursor-related data
2776 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2778 * lyx_main.C (LyX): get full path of document loaded on the
2781 2003-06-26 André Pönitz <poenitz@gmx.net>
2783 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2784 remove unused/broken operator>,<,>=.
2786 * text.C: remove only use of broken operator<= in an Assert().
2788 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2790 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2791 moved errorlist_.clear to showErrorList
2793 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2795 * converter.C (scanLog, runLaTeX):
2796 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2797 move the bv->showErrorList call to the callers
2798 * lyxfunc.C: i.e. here...
2800 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2801 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2802 namespace, the second to...
2803 * buffer_funcs (BufferFormat, parseErrors): added
2804 * errorlist.C (ErrorList(TeXErrors const &)): removed
2806 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2808 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2810 2003-06-24 "Garst R. Reese" <reese@isn.net>
2814 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2816 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2818 * version.C.in: change docversion to 1.4
2820 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2822 * buffer.C: fix a bug just introduced
2824 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2826 * buffer.[Ch]: added the parseError signal and use it, removed
2828 * BufferView.[Ch] (addError): moved to ...
2829 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2830 to the Buffer::parseError signal to catch (guess what) parse errors
2831 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2833 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2835 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2836 ability to create a buffer and to return an existing one from
2837 the list. Moved these functions to...
2838 * buffer_funcs.[Ch]: added
2839 * BufferView.[Ch] (loadLyXFile): added
2840 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2841 job removed from bufferlist::loadLyXFile.
2842 * buffer.C (setReadOnly): make it work without view
2843 (i.e added an if (users))
2845 2003-06-19 Angus Leeming <leeming@lyx.org>
2848 * LyXAction.C (init):
2849 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2850 with LFUN_DIALOG_SHOW <name> <data>.
2852 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2854 * CutAndPaste.C (availableSelections): small compilation fix for
2855 ancient (gcc 2.9x) compilers
2857 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2859 * text3.C (cursorNext): add tmp var
2861 * text2.C (updateCounters): for function calling out of for clause
2862 (replaceSelectionWithString): ditto
2863 (insertStringAsParagraphs): ditto
2864 (getColumnNearX): add tmp var
2865 (setCursorFromCoordinates): add tmp var
2866 (cursorDownParagraph): add tmp var
2867 (deleteEmptyParagraphMechanism): add tmp var
2869 * text.C (insertChar): add tmp var
2871 * rowpainter.C (paintDepthBar): add tmp var
2873 * CutAndPaste.C (availableSelections): potentially check all
2874 paragraphs in a cut to fill the shown strings.
2876 2003-06-18 André Pönitz <poenitz@gmx.net>
2878 * kbmap.[Ch]: use vector<> instead of list<>
2880 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2882 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2883 pasteSelection with index
2885 * text2.C (pasteSelection): modify, call pasteSelection with index
2887 * paragraph.C (asString): reimplement version with no interval to
2888 call the one with interval.
2890 * lyxtext.h: add index arg to pasteSelection
2892 * MenuBackend.C (MenuItem): handle PasteRecent
2893 (Menu::read::Menutags): add md_pasterecent
2895 (expandPasteRecent): new function
2898 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2900 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2902 (availableSelections): new function
2904 2003-06-17 Angus Leeming <leeming@lyx.org>
2906 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2908 2003-06-17 Angus Leeming <leeming@lyx.org>
2911 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2913 * lyxfunc.C (dispatch): invoke it.
2915 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2917 * iterators.C (operator++, ParPosition): reintroduce some
2918 const_cast for the benefit of older compilers.
2920 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2922 * text3.C (dispatch): do not modify clipboard when doing
2923 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2924 LFUN_DELETE_SKIP on a selection selection
2926 2003-06-16 André Pönitz <poenitz@gmx.net>
2932 * tabular.[Ch]: IU of clone() and getLabelList();
2934 2003-06-13 André Pönitz <poenitz@gmx.net>
2936 * tabular.h: compactification
2938 2003-06-12 André Pönitz <poenitz@gmx.net>
2942 * tabular_funcs.h: some renaming plus whitespace
2944 2003-06-12 André Pönitz <poenitz@gmx.net>
2947 * BufferView_pimpl.C:
2953 * toc.C: Return a Paragraph & for ParIterator::operator*()
2955 2003-06-11 John Levon <levon@movementarian.org>
2959 * ToolbarBackend.C: add "Toolbars" section and
2962 2003-06-10 Angus Leeming <leeming@lyx.org>
2965 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2967 * lyxfunc.C (dispatch): invoke it.
2969 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2971 * main.C: protect <ios> with HAVE_IOS
2972 (main): protect sync_with_stdio with HAVE_IOS
2974 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2976 * text2.C (cutSelection): adjust
2977 (pasteSelection): adjust
2979 * messages.C: handle get of empty string
2981 * main.C (main): use sync_with_stdio(false)
2983 * lyxfunc.C (dispatch): adjust
2985 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2986 (WriteAs): remove unneeded BufferView arg.
2988 * bufferparams.h: use correct types on papersize, papersize2 and
2991 * bufferparams.C (readToken): adjust for type
2992 (writeLaTeX): add missing cases to switch.
2994 * bufferlist.C (quitWriteBuffer): adjust
2997 * buffer.C (asciiParagraph): remove some commented code.
2999 * CutAndPaste.C: remove current_view extern variable.
3000 (cutSelection): add BufferParams arg.
3001 (eraseSelection): add BufferParams arg.
3002 (pasteSelection): add Buffer const & arg
3004 2003-06-07 John Levon <levon@movementarian.org>
3007 * paragraph_funcs.C:
3008 * paragraph_pimpl.C:
3012 * paragraph.C: allow InsetERT to freely space lines,
3013 and some consolidation of code
3015 2003-06-06 José Matos <jamatos@fep.up.pt>
3017 * buffer.C (makeDocBookFile): fix bug #821
3019 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3021 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3023 2003-06-04 Angus Leeming <leeming@lyx.org>
3025 * buffer.C: bump format to 224.
3027 2003-06-05 André Pönitz <poenitz@gmx.net>
3029 * text2.C (redoParagraphs): remove two const_cast<>
3031 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3033 * ParagraphList.h: remove last remnants of NO_STD_LIST
3035 2003-06-03 Angus Leeming <leeming@lyx.org>
3037 * factory.C (createInset): small change to the way InsetExternal's params
3040 2003-06-04 André Pönitz <poenitz@gmx.net>
3042 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3044 * paragraph_pimpl.h:
3045 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3047 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3049 * undo_funcs.C: make some simple cases of undo work again
3051 2003-06-03 John Levon <levon@movementarian.org>
3053 * ispell.C: HPUX doesn't have sys/select.h
3056 2003-06-03 John Levon <levon@movementarian.org>
3058 * CutAndPaste.C: update tabular and include inset
3063 * paragraph.C: remove owningBuffer(), don't pass Buffer
3066 * factory.C: insetGraphicsParams changed
3068 2003-06-02 John Levon <levon@movementarian.org>
3074 * text3.C: remove insetparent
3076 2003-06-02 John Levon <levon@movementarian.org>
3079 * buffer.C: fix inset_iterator.end(), move out of line
3082 2003-06-01 John Levon <levon@movementarian.org>
3084 * text3.C: use a proper cut/paste when doing inset
3085 insert (from Jürgen Spitzmüller)
3087 2003-06-01 John Levon <levon@movementarian.org>
3089 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3091 2003-05-30 André Pönitz <poenitz@gmx.net>
3093 * rowpainter.C: unify second drawing phase
3095 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3097 * trans_mgr.C: remove one case of current_view
3099 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3101 * paragraph_funcs.h: remove paragraph.h include
3103 * paragraph.h: delete NO_STD_LIST stuff
3105 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3107 * buffer.h: remove paragraph.h include
3109 * ParagraphList.C: delete file
3111 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3113 * toc.C (getTocList): adjust
3115 * paragraph_pimpl.C (validate): adjust
3117 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3119 * paragraph.C (Paragraph): adjust
3120 (getPositionOfInset): use const_iterator, adjust
3121 (bibitem): use const_iterator, adjust
3122 (setInsetOwner): adjust
3124 * iterators.C (operator++): adjust
3126 * InsetList.[Ch]: Replace selfmade iterator with standard
3127 vector::iterator also introduce const_iterator. Remove getPos,
3128 getInset and setInset from InsetTable. Adjust accordingly.
3130 * BufferView.C (lockInset): adjust
3131 (ChangeInsets): adjust
3133 * tabular.[Ch]: delete commented same_id functions
3135 2003-05-28 John Levon <levon@movementarian.org>
3137 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3139 2003-05-28 André Pönitz <poenitz@gmx.net>
3141 * metricsinfo.[Ch]: remove 'fullredraw' member
3143 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3145 * lyxtextclass.C (operator): remove caching.
3147 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3151 * text2.C (cursorBottom): adjust
3152 (setCounter): use ParagraphList::find, adjust
3154 * text.C (workWidth): use ParagraphList::find, adjust
3156 * lyxcursor.C (LyXCursor): adjust
3158 * buffer.C (inset_iterator): adjust
3160 * ParagraphList.h: make iterator(value_type) private, make
3161 ParagraphList a friend of iterator.
3163 * ParagraphList.C (find): new function
3165 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3167 2003-05-27 André Pönitz <poenitz@gmx.net>
3169 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3171 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3173 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3175 2003-05-26 John Levon <levon@movementarian.org>
3177 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3179 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3181 * remove same_id from function signatures, adjust.
3183 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3185 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3187 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3189 * paragraph.C (Paragraph): get rid of same_ids parameter
3191 * ParagraphList.C (insert): adjust
3194 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3196 * paragraph_funcs.C (breakParagraph): adjust
3197 (breakParagraphConservative): adjust
3199 * buffer.C (readParagraph): adjust
3201 * ParagraphList.C (insert): take a reference instead of a pointer
3204 * paragraph.[Ch] (id): new function
3206 * bufferlist.C (newFile): adjust
3208 * ParagraphList.C (ParagraphList): adjust
3210 (push_back): take a reference instead of a pointer.
3212 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3214 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3217 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3218 set else use old code.
3220 * ParagraphList.C: remove all NO_NEXT code and only compile this
3221 code of NO_STD_LIST is set.
3223 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3225 * BufferView_pimpl.C:
3235 * graphics/GraphicsConverter.C:
3236 * graphics/PreviewLoader.C: header adjustment
3238 2003-05-23 Angus Leeming <leeming@lyx.org>
3240 * LaTeXFeatures.[Ch] (useBabel): new method.
3241 * bufferparams.C (writeLaTeX): use it.
3243 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3245 * ParagraphList.h (set): remove unused function.
3247 2003-05-23 André Pönitz <poenitz@gmx.net>
3250 * BufferView_pimpl.C:
3254 * undo_funcs.C: setUndo reworked
3256 * iterators.[Ch]: add access to topmost ParagraphList
3258 * lyxtext.[Ch] (workWidth): add a const
3260 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3262 * texrow.[Ch] (increasePos): remove function
3263 * exporter.C (export): removed unused var and outdated comment
3265 2003-05-23 Angus Leeming <leeming@lyx.org>
3267 * latexrunparams.h: rename fragile as moving_arg.
3268 * paragraph.C (simpleTeXOnePar): ditto.
3269 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3271 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3273 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3275 (textUndoOrRedo): comment out a currently unused var.
3277 * paragraph.h (NO_NEXT): enable NO_NEXT
3279 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3281 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3283 * exporter.C (Export): adjust for removeAutoInsets removal.
3285 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3287 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3289 * BufferView.[Ch] (removeAutoInsets): delete function
3291 2003-05-22 Angus Leeming <leeming@lyx.org>
3293 * latexrunparams.h: add a free_spacing variable.
3295 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3296 to pass moving_arg, as the data is stored in runparams.fragile.
3298 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3299 to Inset::latexOptional or to simpleTeXOnePar.
3301 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3302 free_spacing arg to Inset::latexOptional.
3304 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3307 2003-05-22 Angus Leeming <leeming@lyx.org>
3309 * latexrunparams.h: add fragile and use_babel variables.
3311 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3312 * buffer.C (makeLaTeXFile): store this returned value in
3313 runparams.use_babel, thus passing it to the inset::latex methods.
3315 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3316 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3318 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3319 longer has a fragile arg, as it is stored in runparams.fragile.
3321 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3322 moving_arg parameter as the data is stored in runparams.fragile.
3324 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3325 a fragile parameter as the data is stored in runparams.fragile.
3327 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3329 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3331 2003-05-22 Angus Leeming <leeming@lyx.org>
3333 * latexrunparams.h: add a 'bool nice' which defaults to false.
3335 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3336 now encapsulated within runparams.
3338 * bufferlist.C (updateIncludedTeXfiles):
3339 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3341 2003-05-22 Angus Leeming <leeming@lyx.org>
3343 * latexrunparams.h: new file containing struct LatexRunParams.
3344 * Makefile.am: add new file.
3346 * LaTeX.[Ch] (c-tor, run):
3347 * buffer.[Ch] (makeLaTeXFile):
3348 * bufferlist.[Ch] (updateIncludedTeXfiles):
3349 * converter.C (convert, scanLog):
3350 * converter.[Ch] (runLaTeX):
3351 * exporter.C (Export):
3352 * paragraph.[Ch] (simpleTeXOnePar):
3353 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3354 * paragraph_funcs.[Ch] (latexParagraphs):
3355 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3356 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3357 pass around a LatexRunParams parameter.
3359 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3361 * paragraph.[Ch]: remove unused constructor
3363 * ParagraphList.C (erase): new function, taking two iterators
3365 2003-05-22 André Pönitz <poenitz@gmx.net>
3367 * undo_funcs.C: remove duplicated code
3369 * iterator.[Ch]: operator=
3371 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3373 * tabular.C (SetMultiColumn): ws changes
3375 * rowpainter.C (paintFirst): get rid of a ->previous
3377 * lyx_cb.C (getPossibleLabel): parlist simplification
3379 * BufferView.C (ChangeInsets): simplify slightly.
3381 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3383 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3384 * lfuns.h: new LFUN_SPACE
3385 * lyxfunc.C: protected space has a new lfun
3386 * paragraph_funcs.C: read new space insets
3388 * factory.C: handle new space insets
3390 2003-05-22 André Pönitz <poenitz@gmx.net>
3393 * BufferView_pimpl.C:
3396 * undo_funcs.C: return a ParIterator from getParFromID.
3398 * iterators.[Ch]: add two const's
3400 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3402 * toc.C (getTocList): adjust
3404 * iterators.[Ch]: rework for parlist
3406 * buffer.C (par_iterator_begin): adjust
3407 (par_iterator_end): adjust
3409 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3411 * BufferView.C (removeAutoInsets): adjust
3412 (ChangeInsets): adjust
3414 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3416 * text.C (top_y): fix bug 1110
3418 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3420 * errorlist.[Ch]: added
3423 * BufferView_pimpl.C:
3424 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3427 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3429 * Makefile.am: ensure that lyx is relinked upon changes to the
3430 various "convenience" libs.
3432 2003-05-20 Angus Leeming <leeming@lyx.org>
3434 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3435 files are compiled in alphabetical order again.
3437 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3439 2003-05-19 Angus Leeming <leeming@lyx.org>
3441 * gettext.[Ch]: remove "char const * _(char const *)".
3443 2003-05-19 André Pönitz <poenitz@gmx.net>
3445 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3454 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3456 2003-05-19 André Pönitz <poenitz@gmx.net>
3460 * lyxtextclass.[Ch]:
3462 * paragraph_funcs.[Ch]:
3464 * text3.C: more insetenv work
3466 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3468 * ParagraphParameters.C (params2string): small bug fixed
3470 2003-05-16 André Pönitz <poenitz@gmx.net>
3473 * bufferview_funcs.C: patch from Kornel Benko to prevent
3474 crash when _(...) is called twice in a statement
3476 2003-05-16 André Pönitz <poenitz@gmx.net>
3483 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3485 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3487 * lyx_main.C (init): remove spurious static_cast
3489 2003-05-14 André Pönitz <poenitz@gmx.net>
3491 * BufferView.C: fix format string
3493 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3495 * BufferView.[Ch] (insertErrors): removed
3496 * BufferView.[Ch] (showErrorList): added
3497 * buffer.C (runChkTeX):
3498 * converter.C (scanLog): call showErrorList instead of inserterrors
3500 2003-05-13 André Pönitz <poenitz@gmx.net>
3502 * BufferView_pimpl.C:
3504 * bufferview_func.C:
3511 * tabular_funcs.h: tostr() from its own header
3513 * ParagraphParameters.C:
3518 * text3.C: STRCONV()
3520 2003-05-12 André Pönitz <poenitz@gmx.net>
3523 * BufferView_pimpl.C:
3527 * ParagraphParameters.C:
3531 * bufferview_funcs.C:
3544 * paragraph_funcs.C:
3548 * text3.C: boost::format -> bformat all over the place
3551 2003-05-09 André Pönitz <poenitz@gmx.net>
3553 * LColor.[Ch]: Pimpl the #include <map> away
3555 2003-05-09 John Levon <levon@movementarian.org>
3557 * bufferlist.C: never remove emergency saves
3559 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3561 * Makefile.am: better lib building
3563 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3565 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3567 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3568 (simpleTeXSpecialChars): adjust
3569 (simpleTeXSpecialChars): adjust
3570 * paragraph.C (simpleTeXOnePar): adjust
3571 * buffer.C (makeLaTeXFile): adjust
3573 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3575 * text2.C (changeDepth): parlist cleanup
3576 (getColumnNearX): ditto
3578 * rowpainter.C (getLabelFont): parlist cleanup
3580 * bufferlist.C (newFile): parlist cleanup
3582 * CutAndPaste.C (eraseSelection): parlist cleanup
3584 * BufferView_pimpl.C (trackChanges): parlist cleanup
3587 * BufferView.C (lockInset): parlist cleanup.
3588 (ChangeInsets): ditto
3590 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3592 * CutAndPaste.h: Update file header.
3594 * CutAndPaste.C: Update file header.
3595 Store the parts cut out of the Document in a limited_stack.
3596 (copySelection): adjust
3597 (pasteSelection): new function, takes the index in the limited stack.
3598 (nrOfParagraphs): adjust
3599 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3600 simplify error inset insertion.
3601 (checkPastePossible): adjust
3603 2003-05-06 John Levon <levon@movementarian.org>
3605 * text2.C: don't cast wrap inset to float
3607 2003-05-05 André Pönitz <poenitz@gmx.net>
3610 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3612 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3613 few naked Paragraph *.
3615 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3617 * bufferparams.C: Output warning if a document with missing
3618 TeX document class is loaded
3619 * exporter.C: Disable TeX exports if the document class is missing
3622 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3623 isTeXClassAvailable()
3625 2003-05-03 John Levon <levon@movementarian.org>
3628 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3629 explicit cursor show/hide
3631 * BufferView_pimpl.h:
3632 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3633 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3635 * lyxfunc.C: hide cursor before dispatching.
3640 * text3.C: remove explicit cursor hides
3642 2003-05-02 André Pönitz <poenitz@gmx.net>
3644 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3647 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3650 * text2.C: tiny whitespace
3652 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3654 * undo_funcs.C: almost only ws changes.
3656 * ParagraphList.C (splice): just return if pl is empty.
3658 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3660 * ParagraphList.C (splice): new function.
3662 * CutAndPaste.C (pasteSelection): use it
3664 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3666 * CutAndPaste.C (pasteSelection): remove the last next and
3667 previous from this file.
3669 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3671 * CutAndPaste.C (pasteSelection): more clean up, user proper
3672 ParagraphList functions for pasteing.
3674 * ParagraphList.C (insert): new function, three arg insert
3676 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3678 * ParagraphList.C (insert): new function, three arg insert
3680 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3683 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3685 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3687 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3689 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3691 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3693 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3694 (copySelection): clean up a bit.
3695 (pasteSelection): use make_pair
3697 * ParagraphList.C (ParagraphList): implement copy constructor
3698 (operator=): implement, base on copy constructor.
3701 * paragraph.C (erase): return a bool
3703 * paragraph_pimpl.C (erasePos): remove function, move contents...
3704 (erase): ... here. Return a bool.
3705 (erase): call erase instead of erasePos.
3707 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3709 * ParagraphList.h: define PitPosPair
3710 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3711 ParagraphList, fix a bug on pasting multiple pars
3712 * text2.C: change interface to C&P
3714 2003-04-30 André Pönitz <poenitz@gmx.net>
3716 * undo_func.C: revert part of yesterday's patch 2
3718 2003-04-30 John Levon <levon@movementarian.org>
3720 * LColor.C: s/tabular/table/
3722 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3724 * text3.C (dispatch): do not convert iterator -> pointer
3725 * undo_funcs.C (setCursorParUndo): ditto
3726 * text_funcs.C (transposeChars): ditto
3728 * text2.C (setLayout): ws changes only
3730 * text.C (breakParagraph): do not convert iterator -> pointer
3732 (acceptChange): ditto
3733 (rejectChange): ditto
3738 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3741 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3743 * text3.C (gotoInset): YABG (yet another bad getChar)
3745 2003-04-29 André Pönitz <poenitz@gmx.net>
3747 * paragraph.h: make operator= private unimplemented as long as
3750 * ParagraphList.C: whitespace
3753 * paragraph_pimpl.[Ch]:
3754 * paragraph_funcs.C:
3756 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3759 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3761 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3763 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3764 * paragraph.[Ch] (erase):
3765 * paragraph_pimpl.[Ch] (erase): change return type and value
3766 * text2.C (cutSelection): some rework
3768 2003-04-28 John Levon <levon@movementarian.org>
3770 * bufferlist.C: changes for unsaved changes dialog
3772 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3774 * bufferlist.C (newFile): set language (messages_) for new
3777 * buffer.C (readFile): ws changes only.
3779 2003-04-28 André Pönitz <poenitz@gmx.net>
3784 * BufferView_pimpl.C:
3785 * BufferView.C: getParFromID related ParagraphList::iterator changes
3787 2003-04-28 André Pönitz <poenitz@gmx.net>
3789 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3792 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3794 * messages.C: remove one more localedir class variable.
3796 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3798 * messages.C (getLocaleDir): singleton generation function
3800 (Messages): add a default constructor.
3802 * main.C (main): do not setup localedir here, do not call
3805 * gettext.C (_): use it.
3806 (gettext_init): delete funciton
3808 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3810 * gettext.C (getLyXMessages): new singleton generating function.
3812 * buffer.C (updateDocLang): adjust
3814 * Makefile.am (messages.o): add target
3815 (main.o): remove target
3817 2003-04-27 John Levon <levon@movementarian.org>
3822 * lyxvc.C: specify cancel button in Alert::prompt
3824 2003-04-26 John Levon <levon@movementarian.org>
3829 * LyXAction.C: add LFUN_INSET_SETTINGS
3831 * lyxfunc.C: don't enable tabular-feature when there's
3832 just any locking inset
3834 2003-04-26 John Levon <levon@movementarian.org>
3836 * bufferlist.C: re-add Cancel to buffer close question
3838 * lyxfunc.C: fix import UI a bit
3840 2003-04-25 John Levon <levon@movementarian.org>
3842 * gettext.C: remove the broken asserts for now
3844 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3846 * messages.C: make case where setlocale cannot comply work better.
3848 * buffer.C (updateDocLang): new function
3849 (changeLanguage): use it
3852 * text2.C (setCounter): use B_ a bit.
3854 * lyxlayout.C (Read): be sure to trim the label strings.
3856 * messages.C (Messages): fix typo in comment
3858 * buffer.C (readFile): set message_ after file is loaded.
3859 (makeDocBookFile): remove double return
3860 (changeLanguage): reset message_ upon language change.
3861 (B_): new func, use this to get translated buffer strings.
3863 * main.C: add myself and Jean Marc as authors.
3865 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3867 * messages.[hC]: pimplify Messages, and three different pimpls to be
3868 used in different circumstances.
3870 * gettext.[Ch]: change for use with new message code.
3872 2003-04-24 André Pönitz <poenitz@gmx.net>
3874 * factory.C: support for eqref
3876 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3878 * messages.[Ch]: add missing char
3880 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3882 * messages.[Ch]: New files
3884 2003-04-18 John Levon <levon@movementarian.org>
3888 * BufferView_pimpl.C:
3892 * text2.C: remove layout-copy/paste (bug 778)
3894 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3896 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3898 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3900 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3901 if they succeed. Act accordingly.
3903 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3905 * text2.C (setCharFont): adjust
3906 (setCounter): adjust
3907 (insertStringAsLines): adjust
3909 * text.C (leftMargin): adjust
3910 (setHeightOfRow): adjust
3912 * rowpainter.C (paintFirst): adjust
3915 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3917 (isFirstInSequence): ditto
3918 (getEndLabel): ditto
3921 * paragraph.C (getParLanguage): comment out some hard stuff.
3923 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3925 (simpleDocBookOnePar): ditto
3926 (makeDocBookFile): use ParagraphList::iterator
3928 * CutAndPaste.C (pasteSelection): adjust
3930 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3932 * text2.C (getFont): adjust
3933 (getLayoutFont): adjust
3934 (getLabelFont): adjust
3936 * paragraph_funcs.C (TeXOnePar): adjust
3938 * buffer.C (simpleLinuxDocOnePar): adjust
3939 (simpleDocBookOnePar): adjust
3941 * CutAndPaste.C (pasteSelection): adjust
3943 * BufferView.C (getEncoding): adjust
3945 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3947 2003-04-16 John Levon <levon@movementarian.org>
3949 * lyxfind.C: use parlist stuff for search/changes
3951 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3953 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3955 * text2.C (deleteEmptyParagraphMechanism): adjust
3957 * text2.[Ch] (ownerParagraph): delete func (both of them
3959 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3961 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3963 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3965 * ParagraphList.C: prepare for NO_NEXT
3967 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3969 * text2.C (getFont): adjust
3970 (getLayoutFont): adjust
3971 (getLabelFont): adjust
3973 * paragraph.C (getFont): adjust
3974 (getLabelFont): adjust
3975 (getLayoutFont): adjust
3977 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3979 2003-04-15 John Levon <levon@movementarian.org>
3983 * lyx_main.C: handle Include in .ui files
3985 2003-04-15 John Levon <levon@movementarian.org>
3987 * MenuBackend.C: make the doc files length shorter
3990 * ToolbarBackend.C: handle toolbar placement flags,
3993 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3995 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3998 * paragraph_funcs.C (TeXOnePar): adjust
4000 * paragraph.C (getLabelFont): add outerfont arg, adjust
4001 (getLayoutFont): ditto
4002 (simpleTeXOnePar): adjust
4004 * paragraph_pimpl.C (realizeFont): delete func
4006 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4008 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4009 row argument, constify cur argument.
4011 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4013 * text2.C (getFont): adjust
4014 (getLayoutFont): adjust
4015 (getLabelFont): adjust
4017 * paragraph_funcs.C (TeXOnePar): adjust
4018 (outerFont): new func...
4019 (realizeFont): ...moved out from here, changed this to facilitate
4022 * paragraph.C (getFont): take outerfont as arg, adjust
4023 (simpleTeXOnePar): add outerfont arg, adjust
4025 * buffer.C (simpleLinuxDocOnePar): adjust
4026 (simpleDocBookOnePar): adjust
4028 * CutAndPaste.C (pasteSelection): adjust
4030 * BufferView.C (getEncoding): adjust
4032 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4034 * text2.C (setCharFont): adjust
4035 (setCounter): adjust
4037 * text.C (leftMargin): adjust
4038 (setHeightOfRow): adjust
4040 * rowpainter.C (paintFirst): adjust
4043 * paragraph_pimpl.C (realizeFont): adjust
4045 * paragraph.C (isFirstInSequence): move from here...
4046 * paragraph_funcs.C (isFirstInSequence): ...to here
4048 * paragraph.C (outerHook): move from here...
4049 * paragraph_funcs.C (outerHook): ...to here
4051 * paragraph.C (depthHook): move from here...
4052 * paragraph_funcs.C (depthHook): ...to here
4054 * paragraph.C (getEndLabel): move from here...
4055 * paragraph_funcs.C (getEndLabel): ...to here
4057 * text2.C (realizeFont): move from here...
4058 * paragraph_funcs.C (realizeFont): ...to here
4060 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4062 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4064 2003-04-14 Angus Leeming <leeming@lyx.org>
4066 * LColor.[Ch]: scrap LColor mathcursor.
4068 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4070 * lyxlex.[Ch] (text): delete function
4071 * trans.C (Load): adjust
4072 * paragraph_funcs.C (readParToken): adjust
4074 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4076 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4077 vector<char> instead of a char[].
4079 * lyxlex_pimpl.C (getString): adjust
4081 (lex): use getString
4085 * lyxlex.C (text): use pimpl_->getString()
4089 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4091 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4092 (makeFontEntriesLayoutSpecific): temp var for par.size()
4093 (setLayout): temp var for ownerParagraphs().end()
4094 (fullRebreak): temp var for rows().end()
4095 (selectionAsString): temp var for boost::next(startpit), realize
4096 that the while really is a regular for loop.
4097 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4098 setCursor in one place.
4099 (setParagraph): temp vr for ownerParagraphs().end()
4100 (updateCounters): make the while loop a for loop
4101 (cutSelection): temp var for ownerParagraphs().end()
4102 (updateInset): make the do {} while() a regular for loop
4103 (getCursorX): use temp vars
4104 (setCurrentFont): use temp vars
4105 (getColumnNearX): use temp vars
4107 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4109 * text.C (transformChar): use temp var for getChar
4110 (computeBidiTables): use temp var for row->par()
4111 (fill): move temp vars for row->par() and pit->layout() earlier in
4113 (labelFill): use temp var for row->par()
4114 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4115 asc and desc, realize that pit never changes and that firstpit is
4116 just a duplicate and not needed. Exchange rit->par() with pit in a
4118 (breakAgain): use a temp var for boost::next(rit)
4119 (breakAgainOneRow): ditto
4120 (breakParagraph): use a temp var for rows().begin()
4121 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4122 (cursorRightOneWord): use temp var for cursor.par() and
4123 cursor.pos(), remove usage of tmpcursor.
4124 (cursorLeftOneWord): use temp var for cursor.par() and
4125 cursor.pos() only set cur at end of function.
4127 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4129 * text.C, text2.C: exchange all usage of Paragraph::next with
4130 boost::next(ParagraphList::iterator)
4132 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4134 * text2.C (cursorTop): simplify implementation
4135 (cursorBottom): ditto
4136 (setParagraph): use ParagraphList::iterator
4137 (setCurrentFont): adjust
4138 (getColumnNearX): adjust
4139 (cursorRight): adjust
4140 (cursorLeft): remove usage of Paragraph::previous
4141 (cursorUpParagraph): ditto
4142 (deleteEmptyParagraphMechanism): slight cleanup
4144 * text.C (isBoundary): take a Paragraph const & instead of a
4146 (addressBreakPoint): ditto
4147 (leftMargin): remove usage of Paragraph::previous.
4148 (setHeightOfRow): ditto
4149 (cursorLeftOneWord): ditto
4150 (selectNextWordToSpellcheck): ditto
4153 (breakParagraph): remove one usage of Paragraph::next
4154 (redoParagraph): ditto
4155 (acceptChange): ditto
4156 (insertChar): adjust
4157 (rowBreakPoint): adjust
4159 * bufferview_funcs.C (toggleAndShow): adjust
4161 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4163 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4164 methods to access it.
4166 * text.C: Added updateRowPositions to compute all row positions.
4167 Make top_y and getRowNearY() to use the cached y position
4169 2003-04-11 John Levon <levon@movementarian.org>
4171 * text.C (rowBreakPoint): reintroduce the labelEnd
4172 checks, code copied from the row fill stuff. Deep voodoo.
4174 * text.C (fill): add a comment and debugging for the
4177 2003-04-11 John Levon <levon@movementarian.org>
4179 * text.C: make sure fullrow insets get wrapped to the next line,
4180 even when they're in a manual label
4182 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4184 * text2.C (insertParagraph): make it take ParagraphList::iterator
4186 (setLayout): make it return ParagraphList::iterator
4187 (redoParagraphs): ditto
4189 (checkParagraph): ditto
4191 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4193 * text2.C: adjust several funcs.
4194 (realizeFont): take a ParagraphList::iterator as arg.
4195 (getLayoutFont): ditto
4196 (getLabelFont): ditto
4197 (setCharFont): ditto
4199 * text.C: adjust several funcs.
4201 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4203 * text.C (selectNextWordToSpellcheck): don't accidentally
4206 2003-04-10 John Levon <levon@movementarian.org>
4208 * ToolbarBackend.C (getIcon): special handling for
4211 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4213 * text2.C (cursorRight): a getChar assert fixed
4215 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4217 * text2.C (getFont): change to take a ParagraphList::iterator
4218 instead of Paragraph*
4219 Adjust several functions.
4221 * text.C (transformChar): change to take a ParagraphList::iterator
4222 instead of Paragraph*
4223 (singleWidth): ditto
4224 Adjust several functions.
4226 * rowpainter.C: adjust several functions
4227 * rowpainter.h:store a ParagraphList::iterator and not a
4231 2003-04-09 John Levon <levon@movementarian.org>
4236 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4237 and the "help" bits as well
4239 2003-04-09 John Levon <levon@movementarian.org>
4242 * ToolbarBackend.C: allow multiple toolbars
4244 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4246 * undo_funcs.C (setCursorParUndo): adjust
4248 * text_funcs.C (transposeChars): adjust
4250 * text3.C (gotoNextInset): adjust
4253 * text2.C (setLayout): adjust
4254 (changeDepth): adjust
4256 (redoParagraphs): adjust
4257 (selectionAsString): adjust
4258 (setParagraph): adjust
4259 (insertInset): adjust
4260 (cutSelection): adjust
4261 (copySelection): adjust
4262 (pasteSelection): adjust
4263 (insertStringAsLines): adjust
4264 (updateInset): adjust
4265 (setCursor): change to take a ParagraphList::iterator parameter
4266 (setCursorIntern): change to take a ParagraphList::iterator parameter
4267 (setCurrentFont): adjust
4268 (cursorLeft): adjust
4269 (cursorRight): adjust
4270 (deleteEmptyParagraphMechanism): adjust
4272 * text.C (breakParagraph): adjust
4273 (insertChar): adjust
4274 (acceptChange): adjust
4275 (rejectChange): adjust
4276 (selectNextWordToSpellcheck): adjust
4277 (changeCase): adjust
4281 * lyxfind.C (SearchForward): adjust
4282 (SearchBackward): adjust
4283 (nextChange): adjust
4285 * lyxcursor.C (par): adjust
4287 * lyxcursor.h: store a ParagraphList::iterator instead of a
4290 * lyx_cb.C (getPossibleLabel): adjust
4292 * bufferview_funcs.C (toggleAndShow): adjust
4294 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4297 * BufferView.C (removeAutoInsets): adjust
4298 (lockedInsetStoreUndo): adjust
4300 2003-04-09 John Levon <levon@movementarian.org>
4302 * ToolbarBackend.C: try icon without argument
4303 if with argument fails
4305 2003-04-08 John Levon <levon@movementarian.org>
4308 * ToolbarBackend.C: add getIcon(), handle tooltip,
4309 and change from "Icon" to "Item".
4311 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4313 * BufferView.C (lockInset): another bad getchar crunched
4315 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4317 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4320 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4322 * lyxfind.C (searchForward, searchBackwards): bug 782
4324 2003-04-07 John Levon <levon@movementarian.org>
4326 * paragraph.C: remove dead comment
4328 * text.C: remove troublesome depth-fiddling code
4329 in leftMargin() and rightMargin() (bug 1017)
4331 * text.C: fix breaking of rows in nested lists
4334 * text2.C (updateCounters): fix up depth values
4337 2003-04-07 John Levon <levon@movementarian.org>
4339 * BufferView_pimpl.C: clear message when doc finishes resizing,
4340 and after a mouse event
4342 * lyxfunc.C: clear message after exiting inset
4344 2003-04-07 John Levon <levon@movementarian.org>
4346 * bufferview_funcs.C: show math status not outside
4347 status in the statusbar
4349 2003-04-07 John Levon <levon@movementarian.org>
4351 * lyxfunc.C: note status changed after a depth change
4353 2003-04-04 Angus Leeming <leeming@lyx.org>
4355 * LaTeX.h: move AuxInfo operator==, != out of line.
4356 Remove LaTeX virtual destructor; nothing derives from it.
4357 Move operator()() out of public area and rename it startscript().
4358 Change protected for private.
4360 2003-04-04 Angus Leeming <leeming@lyx.org>
4363 * text2.C: remove unneeded #includes.
4365 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4367 * text2.C (dEPM): fix the heigth of the next row
4369 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4371 * text.C: squashed an invalid getChar requester + some ws changes
4373 2003-04-03 John Levon <levon@movementarian.org>
4375 * bufferview_funcs.h:
4376 * bufferview_funcs.C:
4379 * text2.C: make getStatus work for the env depth lfuns
4381 2003-04-03 John Levon <levon@movementarian.org>
4383 * bufferview_funcs.h:
4384 * bufferview_funcs.C:
4387 * text2.C: parlistize decDepth(), by merging it with incDepth()
4389 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4391 * lyxrow.h: store a ParagraphList::iterator instead of a
4392 Paragraph* and adjust other class functions to suit.
4394 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4397 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4399 * text2.C (setCursor): do not anchor to cursor row for the time being
4401 2003-04-02 John Levon <levon@movementarian.org>
4408 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4410 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4412 * paragraph.h: make ParagraphList and ParagraphList::iterator
4413 friends of Paragraph.
4415 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4417 * ParagraphList.C: Use the private next_ and previous_ from
4420 2003-04-01 John Levon <levon@movementarian.org>
4424 * Makefile.am: rename, remove defaults gunk
4427 * MenuBackend.C: remove defaults gunk
4430 * Languages.C: remove defaults gunk
4433 * lyx_main.C: error out if files couldn't be found.
4435 2003-04-02 John Levon <levon@movementarian.org>
4437 * text2.C: make incDepth() use parlist
4439 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4441 * undo_funcs.C (firstUndoParagraph): adjust
4443 * text3.C (gotoInset): adjust
4444 (dispatch): adjust, and rewrite loop.
4446 * text2.C (init): adjust, and rewrite loop.
4447 (redoParagraphs): adjust
4448 (updateInset): adjust, and rewrite loop.
4449 (deleteEmptyParagraphMechanism): adjust
4451 * tabular.C (LyXTabular): adjust
4452 (SetMultiColumn): adjust
4455 * lyxtext.[Ch] (ownerParagraph): delete function
4456 (ownerParagraphs): new function returns a ParagraphList.
4458 * BufferView.C (removeAutoInsets): adjust
4459 (insertErrors): adjust
4460 (setCursorFromRow): adjust
4462 2003-04-01 Angus Leeming <leeming@lyx.org>
4464 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4467 2003-04-02 John Levon <levon@movementarian.org>
4473 * text_funcs.C: make transposeChars a free function
4475 * lyxrow_funcs.C: remove wrong comment
4477 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4480 * rowpainter.C: adjust
4485 * lyxrow_funcs. [Ch]: new files
4487 * lyxrow.[Ch]: remove next and previous pointers
4488 (next,previous): remove accessor functions
4489 (isParEnd): move to lyxrow_funcs
4490 (lastPos): move to lyxrow_funcs
4491 (nextRowIsAllInset): move to lyxrow_funcs
4492 (lastPrintablePos): move to lyxrow_funcs
4493 (numberOfSeparators): move to lyxrow_funcs
4494 (numberOfHfills): move to lyxrow_funcs
4495 (numberOfLabelHfills): move to lyxrow_funcs
4496 (hfillExpansion): move to lyxrow_funcs
4500 * bufferview_funcs.C (toggleAndShow): adjust
4502 * RowList.h: Remove class RowList from file leave just a
4505 * RowList.C: delete file
4507 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4510 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4512 * text3.C (cursorPrevious): adjust
4513 (cursorNext): adjust
4516 * text2.C (redoHeightOfParagraph): adjust
4517 (redoDrawingOfParagraph): adjust
4520 * text.C (breakParagraph): adjust
4521 (insertChar): adjust
4524 * rowpainter.C (RowPainter): adjust
4525 (leftMargin): simplify and adjust
4526 (most rowpainter functions): adjust.
4528 * rowpainter.h: store the row as RowList::iterator not as Row*
4530 * lyxcursor.C (row): taka RowList::iterator as arg
4533 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4536 2003-04-01 Angus Leeming <leeming@lyx.org>
4538 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4539 stuff like bool Bool.
4541 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4543 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4546 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4548 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4551 * lyxtext.h (rows): drop one version and leve a const variant that
4552 returns a RowList::iterator.
4554 2003-03-31 Angus Leeming <leeming@lyx.org>
4556 * text.C (fill): ensure that the signature is the same as that in the
4559 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4561 * text2.C (redoParagraphs): adjust
4562 (updateCounters): adjust
4563 (checkParagraph): adjust
4564 (getColumnNearX): adjust and reformat a bit.
4566 * text.C (top_y): adjust
4568 (leftMargin): adjust
4569 (prepareToPrint): adjust
4571 (getRowNearY): adjust
4573 * lyxtext.h: make rowlist_ mutable.
4575 * RowList.h: add const_iterator
4576 * RowList.C: adjust for RowList::const_iterator.
4578 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4581 2003-03-31 John Levon <levon@movementarian.org>
4584 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4586 * lyx_main.C: set default fonts from using lyx_gui funcs
4588 * exporter.C: pdf_mode moved from lyxrc
4591 * lyxfunc.C: changes from above
4593 2003-03-31 John Levon <levon@movementarian.org>
4595 * lyx_main.C: fix to the last fix
4597 2003-03-31 John Levon <levon@movementarian.org>
4599 * bufferlist.C: "Load original" -> "Load Original"
4605 * format.C: more Alert cleanups
4607 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4609 * text2.C (removeParagraph): make it take a RowList::iterator as
4611 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4612 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4614 * text.C (anchor_row): make it take a RowList::iterator as arg,
4616 (computeBidiTables): make it take a const reference to Row instead
4617 of Row pointer, adjust.
4618 (leftMargin): make it take a RowList::iterator as arg, adjust.
4619 (rowBreakPoint): adjust
4620 (breakAgainOneRow): make it take a RowList::iterator as arg,
4622 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4624 * bufferview_funcs.C (toggleAndShow): adjust
4626 2003-03-30 John Levon <levon@movementarian.org>
4630 * boost-inst.C: moved to support
4632 * several files: changes as a result
4634 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4636 * text2.C (LyXText): adjust.
4638 (removeRow): make it take a RowList::iterator as arg, adjust.
4639 (fullRebreak): adjust
4640 (deleteEmptyParagraphMechanism): adjust
4641 (clearPaint): adjust
4644 * text.C (top_y): adjust
4645 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4646 (breakAgain): make it take a RowList::iterator as arg, adjust.
4647 (breakParagraph): adjust
4648 (insertChar): adjust
4651 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4652 need_break_row, and refresh_row.
4654 * text3.C (dispatch): adjust
4656 * text2.C (checkParagraph): adjust
4658 (setCursorFromCoordinates): adjust
4660 * text.C (top_y): adjust
4662 (getRow): make it return a RowList::iterator, adjust
4663 (getRowNearY): make it return a RowList::iterator, adjust
4665 * text2.C (init): adjust
4666 (insertRow): remove function
4667 (insertParagraph): adjust
4668 (redoParagraphs): adjust
4669 (fullRebreak): adjust
4670 (updateCounters): adjust
4672 * text.C (top_y): rewrite to use RowList iterators.
4674 (setHeightOfRow): rewrite to sue RowList iterators.
4675 (appendParagraph): adjust
4676 (breakAgain): adjust
4677 (breakAgainOneRow): adjust
4678 (breakParagraph): adjust
4680 (getRowNearY): adjust, and remove commented code.
4682 * lyxtext.h (firstRow): delete function
4683 (lastRow): delete function
4684 (rows): new function (const and non-const versions.)
4685 (insertRow): delete function
4687 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4689 2003-03-29 John Levon <levon@movementarian.org>
4691 * BufferView_pimpl.C: always update scrollbar top
4692 because pasting text when we're anchored could mean we
4693 miss an update altogether
4695 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4697 * text2.C (init): use rowlist_.end() and not 0.
4698 (insertRow): change to take a RowList::iterator as arg, adjust
4700 (insertParagraph): change to take a RowList::iterator as arg,
4702 (redoParagraphs): remove some debug msgs.
4704 * text.C (appendParagraph): change to take a RowList::iterator
4705 arg, adjust for this.
4706 (breakAgain): add an assert
4707 (breakAgainOneRow): ditto
4709 2003-03-29 John Levon <levon@movementarian.org>
4711 * text2.C: do not clear selection after inc/decDepth
4714 2003-03-29 John Levon <levon@movementarian.org>
4717 * buffer.C: fix broken strerrors according to Lars
4719 2003-03-29 John Levon <levon@movementarian.org>
4721 * converters.C: more Alert cleanups
4723 2003-03-29 John Levon <levon@movementarian.org>
4725 * bufferview_funcs.C: remove pointless Alert
4727 * buffer.C: fix confusing error message when
4728 a template is chmoded 000
4730 2003-03-29 John Levon <levon@movementarian.org>
4734 * BufferView_pimpl.C: Alert fixes
4738 * tabular-old.C: remove unused table compat reading
4740 2003-03-29 John Levon <levon@movementarian.org>
4745 * lyx_cb.C: more Alert cleanups
4747 * lyxfunc.C: don't allow chktex if not latex document
4749 2003-03-29 John Levon <levon@movementarian.org>
4753 * buffer.C: warnings pushed down from support/,
4756 2003-03-29 John Levon <levon@movementarian.org>
4758 * lyxfunc.C: safety check for C-r (revert)
4760 2003-03-29 John Levon <levon@movementarian.org>
4763 * bufferlist.C: several UI fixes using Alert::prompt.
4764 Fix the pointless looping quit code. Fix stupid revert
4769 * lyx_cb.C: use Alert::prompt
4771 * lyx_main.C: remove a silly question
4773 * lyxfunc.C: remove a couple of silly questions,
4776 2003-03-28 John Levon <levon@movementarian.org>
4778 * text2.C: fix bug 974 (End on empty par)
4780 2003-03-28 John Levon <levon@movementarian.org>
4782 * BufferView_pimpl.C:
4784 * lfuns.h: remove do-nothing math greek lfuns
4786 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4788 * lyxgluelength.h (isValidGlueLength): add default arg on
4789 parameter 2. Remove default arg from friend in class.
4791 * lyxlength.h (isValidLength): add default arg on parameter 2.
4792 Remove default arg from friend in class.
4794 * text2.C (LyXText): adjust, initialize refresh_row.
4798 (insertParagraph): adjst
4799 (redoParagraphs): adjust
4800 (fullRebreak): adjust
4801 (updateCounters): adjust
4802 (deleteEmptyParagraphMechanism): first attempt at fixing a
4805 * text.C (top_y): adjust
4806 (setHeightOfRow): adjust
4808 (getRowNearY): adjust
4810 * lyxtext.h: include RowList.h
4811 (~LyXText): not needed anymore, deleted.
4812 (firstRow): modify for RowList
4813 (lastRow): new function
4814 Delete firstrow and lastrow class variables, add a Rowlist
4815 rowlist_ class variable.
4817 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4820 * RowList.C (insert): fix case where it == begin().
4822 2003-03-26 Angus Leeming <leeming@lyx.org>
4824 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4825 the thesaurus dialog.
4827 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4829 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4831 * RowList.[Ch]: new files
4833 * ParagraphList.C (erase): handle the case where it == begin
4836 2003-03-25 John Levon <levon@movementarian.org>
4840 * aspell.C: add new aspell support
4843 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4846 2003-03-25 Angus Leeming <leeming@lyx.org>
4849 * LyXAction.C (init): new LFUN_INSET_INSERT.
4851 * BufferView_pimpl.C (dispatch): split out part of the
4852 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4854 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4857 2003-03-25 Angus Leeming <leeming@lyx.org>
4859 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4861 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4864 * text3.C: remove useless row->height(0)
4866 2003-03-25 John Levon <levon@movementarian.org>
4870 * text3.C: rename the refreshing stuff to better names
4872 2003-03-24 John Levon <levon@movementarian.org>
4874 * BufferView_pimpl.h:
4875 * BufferView_pimpl.C: update layout choice on a mouse
4878 2003-03-23 John Levon <levon@movementarian.org>
4880 * Makefile.am: fix commandtags.h reference
4882 2003-03-22 John Levon <levon@movementarian.org>
4884 * BufferView_pimpl.C:
4889 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4891 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4894 * text.C: take the rtl methods out of line
4896 2003-03-21 André Pönitz <poenitz@gmx.net>
4898 * metricsinfo.[Ch]: new files containing structures to be passed around
4899 during the two-phase-drawing...
4901 2003-03-21 André Pönitz <poenitz@gmx.net>
4903 * lyxtextclass.C: read 'environment' tag.
4905 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4907 * text2.C (removeRow): fix bug 964
4909 2003-03-20 John Levon <levon@movementarian.org>
4913 * text2.C: paint cleanups. Inset::update() dropped font
4916 2003-03-19 John Levon <levon@movementarian.org>
4918 * lyxfunc.C: only fitcursor/markDirty if available()
4920 2003-03-19 John Levon <levon@movementarian.org>
4922 * commandtags.h: rename to ...
4924 * lfuns.h: ... this, and renumber / cleanup
4926 2003-03-19 John Levon <levon@movementarian.org>
4928 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4929 fit the cursor after an lfun
4933 * BufferView_pimpl.h:
4934 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4936 * LyXAction.C: layout-character should have ReadOnly
4938 * ParagraphParameters.C:
4940 * bufferview_funcs.C:
4947 * undo_funcs.C: changes from above
4949 2003-03-18 John Levon <levon@movementarian.org>
4951 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4952 remove it from update()
4954 * lyxfunc.C: update layout choice after an lfun
4956 * text3.C: remove extra updateLayoutChoice()s
4958 2003-03-18 John Levon <levon@movementarian.org>
4960 * text.C: top_y change means full repaint, fix
4961 a drawing bug with cursor movement
4963 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4967 * text2.C: anchor row on setCursor
4969 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4971 * lyxtext.h: remove almost all mutable keywords
4974 * text3.C: remove const keywords accordingly
4976 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4978 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4980 (TeXEnvironment): ditto
4983 2003-03-17 John Levon <levon@movementarian.org>
4985 * text.C (rowBreakPoint): remove attempt to fix displayed
4986 math insets inside a manual label
4988 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4990 * lyxtext.h: remove BufferView* as first arg from almost all class
4992 * other files: adjust.
4994 2003-03-17 John Levon <levon@movementarian.org>
4998 * text2.C: more paint cleanups
5000 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5003 * rowpainter.C: remove "smart" background painting code
5005 2003-03-16 John Levon <levon@movementarian.org>
5010 * text3.C: add helper functions for setting refresh_row/y
5012 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5014 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5015 newline inset which *can* get inserted in the pass_thru layouts.
5016 This is primarily for literate documents.
5018 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5020 * buffer.C: increment LYX_FORMAT to 223
5022 2003-03-14 André Pönitz <poenitz@gmx.net>
5024 * textclass.h: prepare for environment handling, ws changes
5025 * lyxlayout.C: read latexheader and latexfooter tags
5027 2003-03-14 John Levon <levon@movementarian.org>
5029 * text2.C: rewrite ::status() a bit
5031 2003-03-13 John Levon <levon@movementarian.org>
5033 * lyxtext.h: add some docs
5035 2003-03-13 John Levon <levon@movementarian.org>
5040 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5042 2003-03-13 John Levon <levon@movementarian.org>
5044 * text3.C: fix appendix redrawing
5046 2003-03-13 John Levon <levon@movementarian.org>
5048 * text.C (setHeightOfRow):
5050 * rowpainter.C: make appendix mark have the text
5051 "Appendix" so the user knows what it is
5054 * LColor.C: s/appendixline/appendix/ from above
5056 2003-03-13 John Levon <levon@movementarian.org>
5058 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5060 * text.C: fix a getChar(pos) bug properly
5062 2003-03-13 Angus Leeming <leeming@lyx.org>
5065 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5066 Probably only temporary. Let's see how things pan out.
5068 * BufferView.C (unlockInset):
5069 * BufferView_pimpl.C (fitCursor):
5070 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5072 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5073 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5075 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5076 new functions that convert ParagraphParameters to and from a string.
5078 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5079 BufferView::Pimpl's dispatch.
5080 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5082 2003-03-13 André Pönitz <poenitz@gmx.net>
5086 * factory.C: make it aware of InsetEnv
5088 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5090 * text2.C (setCursor): never ask for one past last
5091 (setCursor): add some debugging messages.
5093 * text.C (singleWidth): never ask for one past last
5094 (singleWidth): ditto
5096 (rightMargin): ditto
5097 (rowBreakPoint): ditto
5098 (setHeightOfRow): ditto
5099 (prepareToPrint): ditto
5101 * rowpainter.C (paintBackground): never ask for one past last
5102 (paintText): never ask for one past last
5104 * paragraph_pimpl.C (getChar): make the assert stricter, never
5105 allow the one past last pos to be taken
5107 * paragraph.C (getChar): ws changes only
5109 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5110 (numberOfSeparators): ditto
5111 (numberOfHfills): ditto
5113 2003-03-12 John Levon <levon@movementarian.org>
5119 * paragraph_funcs.C: fix per-buffer authorlists
5121 2003-03-12 John Levon <levon@movementarian.org>
5123 * text.C: fix newline in right address
5125 2003-03-12 Angus Leeming <leeming@lyx.org>
5127 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5128 duplicate those in LyXFunc::dispatch.
5132 * ToolbarDefaults.C:
5133 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5134 Add LFUN_FONTFREE_UPDATE.
5136 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5137 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5139 * bufferview_func.[Ch]: several new functions to facilliate
5140 transfer of data to and from the character dialog.
5142 2003-03-12 John Levon <levon@movementarian.org>
5147 * paragraph_funcs.C:
5148 * paragraph_pimpl.C:
5152 * text3.C: remove META_NEWLINE in favour of an inset
5155 * rowpainter.C: remove paintNewline (done by inset)
5157 2003-03-12 John Levon <levon@movementarian.org>
5159 * paragraph_pimpl.C: complain about bad getChar()s
5160 for a while at least
5162 2003-03-12 John Levon <levon@movementarian.org>
5165 * buffer.C: move paragraph read into a separate function,
5166 a little renaming to reflect that.
5169 * bufferparams.C: remove the author_ids map, not necessary now
5172 * factory.C: moved Buffer::readInset to here
5174 * paragraph_funcs.h:
5175 * paragraph_funcs.C: readParagraph free function moved from
5178 * tabular.C: name change
5180 2003-03-12 John Levon <levon@movementarian.org>
5183 * ParagraphParameters.C: move par params input to
5186 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5187 behave like a normal read from the stream wrt reading
5188 a line vs. a \\token
5190 2003-03-12 John Levon <levon@movementarian.org>
5193 * ParagraphParameters.h:
5194 * ParagraphParameters.C: move output code to a
5197 2003-03-12 John Levon <levon@movementarian.org>
5199 * BufferView.C (insertLyXFile):
5202 * tabular.C: use a parlist iterator for creating the
5205 2003-03-12 John Levon <levon@movementarian.org>
5207 * buffer.C: make current_change static local not
5210 2003-03-12 John Levon <levon@movementarian.org>
5212 * buffer.C: fix insertStringAsLines for change tracking
5214 2003-03-12 John Levon <levon@movementarian.org>
5221 * bufferparams.C: move author list into params. Rename some
5222 functions. Move the header reading into a separate token
5223 loop. Move the header token reading into BufferParams.
5225 2003-03-12 John Levon <levon@movementarian.org>
5227 * changes.C: put debug inside lyxerr.debugging() checks
5229 2003-03-11 André Pönitz <poenitz@gmx.net>
5231 * factory.C: make it aware of InsetHFill
5233 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5235 * buffer.C (latexParagraphs): move function from here...
5236 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5239 2003-03-10 Angus Leeming <leeming@lyx.org>
5241 * LyXAction.C (init): fix bug in poplating array with multiple entries
5242 with the same LFUN (spotted by JMarc).
5244 2003-03-10 John Levon <levon@movementarian.org>
5247 * text2.C: move getColumnNearX() near its
5250 2003-03-10 John Levon <levon@movementarian.org>
5252 * text.C: fix break before a minipage
5254 2003-03-10 John Levon <levon@movementarian.org>
5256 * text.C: fix the last commit
5258 2003-03-09 John Levon <levon@movementarian.org>
5262 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5263 bug 365 (don't break before insets unless needed). Don't
5264 return a value > last under any circumstances.
5266 2003-03-09 Angus Leeming <leeming@lyx.org>
5268 * BufferView_pimpl.C (trackChanges, dispatch): call
5269 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5271 2003-03-09 Angus Leeming <leeming@lyx.org>
5273 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5274 than Dialogs::showAboutlyx().
5276 2003-03-09 Angus Leeming <leeming@lyx.org>
5278 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5279 than Dialogs::showTabularCreate().
5281 2003-03-09 John Levon <levon@movementarian.org>
5285 * text2.C: 3rd arg to nextBreakPoint was always the same.
5288 2003-03-08 John Levon <levon@movementarian.org>
5295 * text2.C: Remove the "main" bit from the "main body"
5298 2003-03-08 John Levon <levon@movementarian.org>
5300 * text.C (leftMargin): The left margin of an empty
5301 manual label paragraph should not include the label width
5304 * text.C (prepareToPrint): don't attempt to measure hfills
5305 for empty manual label paragraphs - the answer should be 0
5307 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5309 * CutAndPaste.C: remove commented code and reindent.
5311 2003-03-08 John Levon <levon@movementarian.org>
5314 * lyxfunc.C: move reloadBuffer()
5317 * BufferView.C: to here
5319 * lyxvc.C: add comment
5322 * vc-backend.C: call bv->reload() to avoid
5323 getStatus() check on MENURELOAD
5325 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5327 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5328 to an old format .dep file.
5330 2003-03-07 Angus Leeming <leeming@lyx.org>
5332 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5333 when the LFUN_MOUSE_RELEASE should have been handled by
5334 inset->localDispatch.
5336 2003-03-07 Angus Leeming <leeming@lyx.org>
5338 * BufferView_pimpl.C (dispatch):
5339 * LyXAction.C (init):
5340 * ToolbarDefaults.C (init):
5342 * lyxfunc.C (getStatus):
5343 remove LFUN_INSET_GRAPHICS.
5345 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5347 2003-03-07 Angus Leeming <leeming@lyx.org>
5350 * LyXAction.C (init):
5351 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5353 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5356 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5358 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5359 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5361 2003-03-07 Angus Leeming <leeming@lyx.org>
5363 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5366 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5368 * ParagraphList.C (front): new function
5371 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5373 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5374 and top_row_offset_. removed var first_y.
5376 * text2.C (LyXText, removeRow):
5378 * BufferView_pimpl.C:
5379 use these methods instead of using first_y
5381 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5383 * text2.C (pasteSelection): adjust for checkPastePossible
5385 * CutAndPaste.C: remove Paragraph * buf and replace with
5386 ParagraphList paragraphs.
5387 (DeleteBuffer): delete
5388 (cutSelection): change the tc type to textclass_type
5389 (copySelection): change the tc type to textclass_type
5390 (copySelection): adjust for ParagraphList
5391 (pasteSelection): change the tc type to textclass_type
5392 (pasteSelection): adjust for Paragraphlist
5393 (nrOfParagraphs): simplify for ParagraphList
5394 (checkPastePossible): simplify for ParagraphList
5395 (checkPastePossible): remove unused arg
5397 * ParagraphList.C (insert): handle the case where there are no
5400 * CutAndPaste.h: make CutAndPaste a namespace.
5402 * text3.C (dispatch): adjust
5404 * text.C (breakParagraph): add a ParagraphList as arg
5406 * paragraph_funcs.C (breakParagraph): change to take a
5407 BufferParams and a ParagraphList as args.
5408 (breakParagraphConservative): ditto
5409 (mergeParagraph): ditto
5410 (TeXDeeper): add a ParagraphList arg
5411 (TeXEnvironment): ditto
5414 * buffer.C (readLyXformat2): adjust
5415 (insertStringAsLines): adjust
5416 (latexParagraphs): adjust
5418 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5419 (cutSelection): adjust
5420 (pasteSelection): adjust
5422 * BufferView_pimpl.C (insertInset): adjust
5424 2003-03-05 Angus Leeming <leeming@lyx.org>
5427 * LyXAction.C (init):
5428 * BufferView_pimpl.C (dispatch):
5429 * lyxfunc.C (getStatus):
5430 remove LFUN_CHILD_INSERT.
5432 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5434 2003-03-05 Angus Leeming <leeming@lyx.org>
5437 * LyXAction.C (init):
5438 * src/factory.C (createInset):
5439 * lyxfunc.C (getStatus):
5440 * text3.C (dispatch):
5441 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5443 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5445 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5447 * ParagraphList.C (insert): handle insert right before end()
5448 (erase): fix cases where it can be first or last paragraph.
5450 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5452 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5453 Paragraph::next and Paragraph::previous
5456 * text.C (breakParagraph): adjust
5458 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5459 BufferParams& as arg.
5460 (breakParagraph): use ParagraphList::insert
5461 (breakParagraphConservative): take a Buffer* instead of a
5462 BufferParams& as arg.
5463 (breakParagraphConservative): use ParagraphList::insert.
5465 * buffer.C (insertStringAsLines): un-const it
5466 (insertStringAsLines): adjust
5468 * ParagraphList.C (insert): new function
5470 * CutAndPaste.C (pasteSelection): adjust
5472 * text.C (backspace): adjust
5474 * tabular.C (SetMultiColumn): adjust
5476 * CutAndPaste.C (cutSelection): adjust
5477 (pasteSelection): adjust
5479 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5480 Buffer const * as arg
5482 * ParagraphList.C (erase): new function
5483 * paragraph_funcs.C (mergeParagraph): use it
5484 (mergeParagraph): make it take a Buffer* instead of a
5485 BufferParams* as arg
5487 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5489 (breakParagraphConservative): ditto
5491 * paragraph.h: remove the breakParagraph friend
5493 * paragraph.C (eraseIntern): new function
5494 (setChange): new function
5496 * paragraph_funcs.C (mergeParagraph): make it take a
5497 ParagraphList::iterator instead of a Paragraph *, adjust
5500 * paragraph.h: move an #endif so that the change tracking stuff
5501 also works in the NO_NEXT case.
5503 2003-03-04 Angus Leeming <leeming@lyx.org>
5506 * LyXAction.C: new LFUN_INSET_MODIFY.
5508 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5509 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5511 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5513 * several files: ws changes only
5515 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5516 (TeXEnvironment): ditto
5519 * buffer.C (makeLaTeXFile): adjust
5520 (latexParagraphs): make it take ParagraphList::iterator as args
5522 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5524 * buffer.C (latexParagraphs): adjust
5526 * paragraph.C (TeXOnePar): move function...
5527 (optArgInset): move function...
5528 (TeXEnvironment): move function...
5529 * paragraph_pimpl.C (TeXDeeper): move function...
5530 * paragraph_funcs.C: ...here
5532 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5534 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5536 * buffer.C (readInset): remove compability code for old Figure and
5539 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5541 * buffer.C: ws changes
5544 * BufferView_pimpl.C: ditto
5547 * bufferlist.h: ditto
5551 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5553 * converter.[Ch]: split into itself +
5556 * Makefile.am: += graph.[Ch] + format.[Ch]
5563 * lyxrc.C: added #include "format.h"
5565 2003-02-27 Angus Leeming <leeming@lyx.org>
5567 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5570 * factory.C (createInset): add "label" to the factory.
5572 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5573 string and do no more.
5575 2003-02-27 Angus Leeming <leeming@lyx.org>
5578 * LyXAction.C (init):
5579 * factory.C (createInset):
5580 * BufferView_pimpl.C (dispatch):
5581 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5583 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5585 * lyxfunc.C (dispatch):
5586 * text3.C (dispatch): pass name to params2string.
5588 2003-02-26 Angus Leeming <leeming@lyx.org>
5590 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5592 Rearrange the ~includes. Strip out the unnecessary ones.
5594 * factory.C (createInset): reformat.
5595 create new insets for the various LFUN_XYZ_APPLY lfuns.
5597 2003-02-26 John Levon <levon@movementarian.org>
5600 * lyxrow.C: add isParStart,isParEnd helpers
5602 * paragraph.h: make isInserted/DeletedText take refs
5604 * paragraph_funcs.h:
5605 * paragraph_funcs.C: remove #if 0'd code
5610 * text.C: use lyxrow helpers above.
5611 Move draw and paint routines to RowPainter.
5612 Make several methods use refs not pointers.
5613 Make backgroundColor() const.
5614 Add markChangeInDraw(), isInInset().
5615 Merge changeRegionCase into changeCase.
5616 Make workWidth() shouldn't-happen code into an Assert.
5619 * rowpainter.C: new class for painting a row.
5622 * vspace.C: make inPixels take a ref
5624 2003-02-26 Angus Leeming <leeming@lyx.org>
5626 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5629 2003-02-25 John Levon <levon@movementarian.org>
5631 * ispell.C: give the forked command a more accurate name
5633 2003-02-22 John Levon <levon@movementarian.org>
5636 * toc.C: make TocItem store an id not a Paragraph *
5639 2003-02-21 Angus Leeming <leeming@lyx.org>
5641 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5642 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5643 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5644 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5645 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5646 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5648 * BufferView_pimpl.C (dispatch):
5649 * LyXAction.C (init):
5650 * factory.C (createInset):
5651 * lyxfunc.C (getStatus, dispatch):
5652 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5654 2003-02-21 Angus Leeming <leeming@lyx.org>
5656 * BufferView_pimpl.C (MenuInsertLyXFile):
5657 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5658 * lyxfunc.C (menuNew, open, doImport):
5659 no longer pass a LyXView & to fileDlg.
5661 2003-02-21 Angus Leeming <leeming@lyx.org>
5663 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5664 * LyXAction.C: change, BIBKEY to BIBITEM.
5665 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5666 Change InsetBibKey to InsetBibitem.
5667 Change BIBKEY_CODE to BIBITEM_CODE.
5668 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5669 * factory.C: replace insetbib.h with insetbibitem.h.
5670 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5671 * paragraph.C: replace insetbib.h with insetbibitem.h.
5672 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5673 Change bibkey() to bibitem().
5674 * text.C: remove insetbib.h.
5675 * text2.C: replace insetbib.h with insetbibitem.h.
5676 change bibkey() to bibitem().
5677 * text3.C: remove insetbib.h.
5678 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5680 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5682 * lyxrc.C (output): enclose user email in quotes (in case there are
5685 2003-02-18 John Levon <levon@movementarian.org>
5687 * buffer.h: add std::
5689 2003-02-17 John Levon <levon@movementarian.org>
5695 * pspell.C: reworking. Especially in ispell, a large
5696 number of clean ups and bug fixes.
5698 * lyxfunc.C: fix revert to behave sensibly
5700 2003-02-17 André Pönitz <poenitz@gmx.net>
5703 * commandtags.h: new LFUN_INSERT_BIBKEY
5713 * paragraph_func.C: remove special bibkey handling
5715 2003-02-17 John Levon <levon@movementarian.org>
5717 * text.C (Delete): fix case where delete at the end of
5718 the very first paragraph would not merge the pars
5720 2003-02-17 John Levon <levon@movementarian.org>
5722 * lyxrow.C: fix lastPrintablePos()
5724 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5726 * bufferparams.C (writeLaTeX): add a std:here
5728 * buffer.C: and remove a using directive there
5730 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5732 * buffer.C (makeLaTeXFile): move the code that generates the
5735 * bufferparams.C (writeLaTeX): ... in this new method
5737 * LaTeXFeatures.C (getEncodingSet): make const
5738 (getLanguages): make const
5740 * MenuBackend.C (binding): returns the binding associated to this
5742 (add): sets the status of each item by calling getStatus. Adds
5744 (read): add support for OptSubMenu
5745 (expand): remove extra separator at the end of expanded menu
5747 2003-02-15 John Levon <levon@movementarian.org>
5750 * BufferView_pimpl.C:
5752 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5753 inset code that had no actual effect. Remove unneeded status
5756 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5758 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5761 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5763 * text.C (drawLengthMarker): also draw an arrow marker for
5764 symbolic lengths (medskip...)
5766 2003-02-14 John Levon <levon@movementarian.org>
5769 * tabular.C: better method names
5771 2003-02-14 John Levon <levon@movementarian.org>
5773 * BufferView_pimpl.C:
5778 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5779 it's a more accurate name. Remove some pointless uses.
5781 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5783 * text2.C (LyXText): change order of initilizers to shut off
5786 2003-02-14 John Levon <levon@movementarian.org>
5788 * buffer.C: use ParIterator for getParFromID()
5792 * paragraph_pimpl.h:
5793 * paragraph_pimpl.C: remove unused getParFromID()
5795 2003-02-14 John Levon <levon@movementarian.org>
5797 * buffer.C: remove some very old #if 0'd parse code
5799 2003-02-13 John Levon <levon@movementarian.org>
5803 * text2.C: move hfillExpansion(), numberOfSeparators(),
5804 rowLast(), rowLastPrintable(), numberofHfills(),
5805 numberOfLabelHfills() ...
5808 * lyxrow.C: ... to member functions here.
5813 * text.C: remove LyXText::beginningOfMainBody(), and call
5814 p->beginningOfMainBody() directly. Move the check for
5815 LABEL_MANUAL into the latter.
5822 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5828 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5829 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5831 2003-02-13 John Levon <levon@movementarian.org>
5833 * CutAndPaste.C: remove debug
5835 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5837 * paragraph.C (asString): remove two unused variables
5839 * lyxtextclass.C (readTitleType):
5841 (LyXTextClass): handle new members titletype_ and titlename_
5843 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5845 2003-02-09 John Levon <levon@movementarian.org>
5848 * buffer.C: replace hand-coded list with a map for the dep clean
5850 2003-02-08 John Levon <levon@movementarian.org>
5852 * LaTeX.C: consolidate code into showRunMessage() helper
5854 2003-02-08 John Levon <levon@movementarian.org>
5859 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5860 and pass the size in explicitly
5862 * BufferView_pimpl.h:
5863 * BufferView_pimpl.C:
5865 * BufferView.C: add getCurrentChange()
5867 * BufferView_pimpl.h:
5868 * BufferView_pimpl.C: handle change lfuns
5870 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5871 for changes. Mark pasted paragraphs as new.
5873 * support/lyxtime.h:
5874 * support/lyxtime.C:
5875 * DepTable.C: abstract time_t as lyx::time_type
5878 * LColor.C: add colours for new text, deleted text, changebars
5880 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5881 package use "usenames" option.
5885 * LyXAction.C: add change lfuns
5889 * author.C: author handling
5892 * buffer.C: add a per-buffer author list, with first entry as
5893 current author. Handle new .lyx tokens for change tracking. Output
5894 author list to .lyx file. Output dvipost stuff to .tex preamble.
5895 Bump lyx format to 222.
5898 * bufferlist.C: add setCurrentAuthor() to reset current author details
5902 * bufferparams.C: add param for tracking
5904 * bufferview_funcs.C: output change info in minibuffer
5908 * changes.C: add change-tracking structure
5911 * debug.C: add CHANGES debug flag
5914 * lyxfind.C: add code for finding the next change piece
5917 * lyxrc.C: add user_name and user_email
5920 * lyxrow.C: add a metric for the top of the text line
5923 * text.C: implement accept/rejectChange()
5926 * text.C: paint changebars. Paint new/deleted text in the chosen
5927 colours. Strike through deleted text.
5931 * paragraph_pimpl.h:
5932 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5933 in the current change to the insert functions. Rework erase to
5934 mark text as deleted, adding an eraseIntern() and a range-based
5935 erase(). Implement per-paragraph change lookup and
5938 * paragraph_funcs.C: Fixup paste for change tracking.
5940 * tabular.C: mark added row/columns as new.
5942 * text.C: fix rowLast() to never return -1. Don't allow
5943 spellchecking of deleted text. Track transpose changes. Don't
5944 allow paragraph break or merge where appropriate.
5946 * text2.C: leave cursor at end of selection after a cut.
5948 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5950 * text.C (getLengthMarkerHeight):
5951 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5952 visible on screen too.
5954 2003-02-07 John Levon <levon@movementarian.org>
5956 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5958 2003-02-05 Angus Leeming <leeming@lyx.org>
5960 * lyxserver.C (read_ready): revert my patch of 11 September last year
5961 as it sends PC cpu through the roof. Presumably this means that
5962 the lyxserver will no longer run on an Alpha...
5964 2003-01-30 Angus Leeming <leeming@lyx.org>
5966 * factory.C (createInset): create an InsetCommandParam of type "index"
5967 and use it to 'do the right thing'.
5969 * text2.C (getStringToIndex): ensure that cursor position is always
5970 reset to the reset_cursor position.
5972 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5974 * lyxfunc.C (getStatus): "buffer-export custom" should never be
5977 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5981 * lyxfunc.C: Output messages with identical spelling, punctuation,
5984 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
5986 * MenuBackend.C (expandFormats): List only viewable export formats
5989 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5992 * lyxfunc.C (getStatus): Make sure that formats other than
5993 "fax" can also be disabled
5995 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5997 * text3.C (dispatch): put the lfuns that insert insets in 3
5998 groups, and call doInsertInset with appropriate arguments.
5999 (doInsertInset): new function, that creates an inset and inserts
6000 it according to some boolean parameters.
6002 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6004 * buffer.C (readFile): remember to pass on 'par' when calling
6005 readFile recursively.
6007 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6009 * MenuBackend.C (expandFormats): add "..." to import formats.
6011 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6013 * paragraph.C (asString): Remove XForms RTL hacks.
6015 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6016 * buffer.C: fix typo
6018 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6020 * Makefile.am (LIBS): delete var
6021 (lyx_LDADD): add @LIBS@ here instead.
6023 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6025 * Clarify the meaning of "wheel mouse jump"
6027 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6029 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6032 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6034 * importer.C (Loaders): do not preallocate 3 elements in the
6035 vector, since one ends up with 6 elements otherwise
6037 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6039 * DepTable.C (write): write the file name as last element of the
6040 .dep file (because it may contain spaces)
6041 (read): read info in the right order
6043 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6045 * paragraph_pimpl.C (simpleTeXBlanks):
6046 (simpleTeXSpecialChars):
6047 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6049 * tabular.C (latex): add some missing case statements. Reindent.
6051 * MenuBackend.C (expandToc): remove unused variable.
6053 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6062 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6065 2003-01-05 John Levon <levon@movementarian.org>
6068 * BufferView.C: add getEncoding()
6071 * kbsequence.C: do not store last keypress
6074 * lyxfunc.C: store last keypress here instead. Pass encoding
6077 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6079 * lyx_main.C (init): remove annoying error message when following
6080 symbolic links (bug #780)
6082 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6084 * text.C (insertChar):
6085 * lyxrc.C (getDescription): remove extra spaces
6087 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6089 * lyxrc.C (getDescription): remove extra spaces
6091 2002-12-20 John Levon <levon@movementarian.org>
6093 * text3.C: hack fix for page up/down across tall rows
6095 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6097 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6100 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6102 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6103 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6104 thesaurus is not compiled in
6106 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6108 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6110 2002-12-16 Angus Leeming <leeming@lyx.org>
6113 * lyx_main.C (init): remove override_x_deadkeys stuff.
6115 2002-12-12 John Levon <levon@movementarian.org>
6117 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6118 insert. Only remove shift modifier under strict
6121 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6123 * MenuBackend.C (expandToc): fix crash.
6125 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6127 * MenuBackend.C (expandToc): gettext on float names.
6129 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6131 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6132 implement bool empty() [bug 490]
6134 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6136 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6138 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6140 * several files: ws changes
6142 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6144 * text2.C (setCounter): clean up a bit, use boost.format.
6145 (updateCounters): initialize par upon declaration.
6147 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6148 if the layout exists. We do not just store the layout any more.
6149 (SwitchLayoutsBetweenClasses): use boost.format
6151 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6153 * converter.C (convert): if from and to files are the same, use a
6154 temporary files as intermediary
6156 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6159 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6161 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6163 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6165 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6167 * tabular.C (asciiPrintCell): use string(size, char) instead of
6170 * sgml.C (openTag): fix order of arguments to string constructor
6173 * lyxfunc.C (dispatch): use boost.format
6175 * lots of files: change "c" -> 'c'
6177 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6179 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6181 2002-11-25 Angus Leeming <leeming@lyx.org>
6183 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6185 * lyx_main.C (init): compile fix.
6187 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6189 * lyx_cb.C (start): boost.formatify
6190 do not include <iostream>
6192 * lengthcommon.C: ws only
6194 * boost-inst.C,BoostFormat.h: add more explict instantations
6196 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6198 * lots of files: handle USE_BOOST_FORMAT
6200 2002-11-21 John Levon <levon@movementarian.org>
6202 * pspell.C: fix compile
6204 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6206 * lyxfunc.C (dispatch): use boost::format
6210 * lyxfont.C (stateText): use boost::format
6212 * lyx_main.C (LyX): use boost::format
6214 (queryUserLyXDir): ditto
6217 (typedef boost::function): use the recommened syntax.
6219 * importer.C (Import): use boost::format
6221 * debug.C (showLevel): use boost::format
6223 * converter.C (view): use boost::format
6228 * bufferview_funcs.C (currentState): use boost::format
6230 * bufferlist.C (emergencyWrite): use boost::format
6232 * buffer.C (readLyXformat2): use boost::format
6233 (parseSingleLyXformat2Token): ditto
6235 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6237 * LaTeX.C (run): use boost::format
6239 * Chktex.C (scanLogFile): use boost::format
6241 * BufferView_pimpl.C (savePosition): use boost::format
6242 (restorePosition): ditto
6243 (MenuInsertLyXFile): ditto
6245 * BoostFormat.h: help file for explicit instation.
6247 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6249 * tabular.C (latex): Support for block alignment in fixed width
6252 2002-11-17 John Levon <levon@movementarian.org>
6254 * BufferView_pimpl.C:
6256 * lyxfunc.C: split filedialog into open/save
6258 2002-11-08 Juergen Vigna <jug@sad.it>
6260 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6261 by my last patch (hopefully).
6263 2002-11-08 John Levon <levon@movementarian.org>
6272 * toc.C: ParConstIterator, and use it (from Lars)
6274 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6276 * lyxtextclass.[Ch]: revise and add doxygen comments
6278 2002-11-07 John Levon <levon@movementarian.org>
6280 * text.C: fix progress value for spellchecker
6282 * toc.C: fix navigate menu for insetwrap inside minipage
6284 * paragraph_funcs.C: added FIXME for suspect code
6286 2002-11-07 John Levon <levon@movementarian.org>
6288 * BufferView_pimpl.C: fix redrawing of insets
6291 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6293 * text2.C (updateCounters): fix bug 668
6295 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6297 * text3.C (dispatch): Do not make the buffer dirty when moving the
6300 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6302 * vc-backend.C: STRCONV
6305 * text2.C (setCounter): STRCONV
6307 * paragraph.C (asString): STRCONV
6309 * lyxlength.C (asString): STRCONV
6310 (asLatexString): ditto
6312 * lyxgluelength.C (asString): STRCONV
6313 (asLatexString): ditto
6315 * lyxfunc.C (dispatch): STRCONV
6318 * lyxfont.C (stateText): STRCONV
6320 * importer.C (Import): STRCONV
6322 * counters.C (labelItem): STRCONV
6323 (numberLabel): ditto
6324 (numberLabel): remove unused ostringstream o
6329 * bufferview_funcs.C (currentState): STRCONV
6331 * buffer.C (readFile): STRCONV
6332 (asciiParagraph): ditto
6333 (makeLaTeXFile): ditto
6335 * Spacing.C (writeEnvirBegin): STRCONV
6337 * LaTeXFeatures.C (getLanguages): STRCONV
6338 (getPackages): ditto
6340 (getBabelOptions): ditto
6341 (getTClassPreamble): ditto
6342 (getLyXSGMLEntities): ditto
6343 (getIncludedFiles): ditto
6347 (scanAuxFile): ditto
6350 * LString.h: add the STRCONV macros
6352 * BufferView_pimpl.C (savePosition): STRCONV
6353 (restorePosition): ditto
6354 (MenuInsertLyXFile): ditto
6356 * vc-backend.C (scanMaster): change from submatch[...] to
6359 * funcrequest.C: include config.h
6361 * factory.C: include config.h
6363 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6365 * box.C: include config.h
6367 * LaTeX.C (scanAuxFile): change from submatch[...] to
6371 2002-10-25 Angus Leeming <leeming@lyx.org>
6373 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6375 * ispell.[Ch] (setError): new method.
6376 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6377 Use setError() insetead of goto END.
6379 * lyx_cb.C (AutoSave): move out child process into new class
6382 2002-10-30 John Levon <levon@movementarian.org>
6384 * text3.C: make start appendix undoable
6386 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6388 * lyxlength.C (inPixels): Fix returned value.
6390 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6393 2002-10-24 Angus Leeming <leeming@lyx.org>
6395 * lyxgluelength.h: no need to forward declare BufferParams
6396 or BufferView, so don't.
6398 2002-10-21 John Levon <levon@movementarian.org>
6400 * BufferView.C: menuUndo ->undo, redo
6402 * BufferView.h: document, remove dead, make some methods private
6404 * paragraph_funcs.h:
6405 * paragraph_funcs.C:
6406 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6411 * sgml.C: move sgml open/close tag into sgml.C
6413 * bufferview_funcs.h: unused prototype
6416 * lyxfunc.C: remove unused
6419 * text.C: remove unused
6421 2002-10-21 John Levon <levon@movementarian.org>
6425 * BufferView_pimpl.h:
6426 * BufferView_pimpl.C: fix mouse wheel handling based on
6427 patch from Darren Freeman
6429 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6431 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6433 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6435 * lyxlength.C (inPixels): Fix hanfling of negative length.
6436 Fix LyXLength::MU case.
6438 2002-10-16 John Levon <levon@movementarian.org>
6440 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6442 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6444 * converter.C (view): add support for $$i (file name) and $$p
6445 (file path) for the viewer command. If $$i is not specified, then
6446 it is appended to the command (for compatibility with old syntax)
6448 2002-10-14 Juergen Vigna <jug@sad.it>
6450 * undo_funcs.C (textHandleUndo): alter the order in which the
6451 new undopar is added to the LyXText, as we have to set first
6452 the right prev/next and then add it as otherwise the rebuild of
6453 LyXText is not correct. Also reset the cursor to the right paragraph,
6454 with this IMO we could remove the hack in "redoParagraphs()".
6456 2002-10-09 Angus Leeming <leeming@lyx.org>
6458 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6459 to turn off an optimisation if a new inset is to be inserted.
6461 2002-10-11 André Pönitz <poenitz@gmx.net>
6463 * lyxtext.h: make some functions public to allow access
6464 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6466 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6468 * text3.C (dispatch): when changing layout, avoid an infinite loop
6471 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6473 * lyxrc.C (read): treat a viewer or converter command of "none" as
6476 * MenuBackend.C (expandFormats): for an update, also allow the
6477 formats that are not viewable
6479 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6480 script if it is newer than the lyxrc.defaults in user directory
6482 2002-10-07 André Pönitz <poenitz@gmx.net>
6484 * text.C: Vitaly Lipatov's small i18n fix
6486 2002-09-25 Angus Leeming <leeming@lyx.org>
6488 * ispell.h: doxygen fix.
6490 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6492 * buffer.h (readFile): Add a new argument to the method, to allow
6493 reading of old-format templates.
6495 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6497 * toc.C (getTocList): Get TOC from InsetWrap.
6499 2002-09-16 John Levon <levon@movementarian.org>
6501 * lyxfunc.C: check tabular for cut/copy too
6503 2002-09-12 John Levon <levon@movementarian.org>
6508 * factory.C: add header
6510 * paragraph_funcs.h:
6511 * paragraph_funcs.C: cleanup
6513 2002-09-11 John Levon <levon@movementarian.org>
6515 * PrinterParams.h: odd/even default to true
6517 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6519 * PrinterParams.h: update printer parameters for new xforms dialog
6521 2002-09-11 Angus Leeming <leeming@lyx.org>
6523 * lyxserver.C (read_ready): re-write to make it more transparent
6524 and to make it work in coherent fashion under Tru64 Unix.
6526 2002-09-11 André Pönitz <poenitz@gmx.net>
6530 * text3.C: implement LFUN_WORDSEL
6532 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6534 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6535 make floatlist_ a boost::shared_ptr<FloatList>
6537 * lyxtextclass.C: include FloatList.h
6538 (LyXTextClass): initialize floatlist_
6539 (TextClassTags): add TC_NOFLOAT
6540 (Read): match "nofloat" to TC_NOFLOAT and use it.
6541 (readFloat): modify call to floatlist_
6545 * FloatList.[Ch] (FloatList): remove commented out float
6547 (erase): new function
6549 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6551 * MenuBackend.C (expandToc): fix crash when there is no document
6554 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6556 * many files: Add insetwrap.
6558 2002-09-09 John Levon <levon@movementarian.org>
6560 * text2.C: remove confusing and awkward depth wraparound
6562 2002-09-09 John Levon <levon@movementarian.org>
6564 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6567 * buffer.C: remove getIncludeonlyList()
6570 * lyxfunc.C: remove headers
6572 2002-09-09 Juergen Vigna <jug@sad.it>
6574 * text.C (getColumnNearX): fix form Michael this is most
6575 probably a cut&paste bug.
6577 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6579 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6581 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6582 references, ws changes.
6584 * text2.C (init): update counters after init
6585 (insertParagraph): no need to set counter on idividual paragraphs.
6586 (setCounter): access the counters object in the textclass object
6587 on in the buffer object.
6588 (updateCounters): ditto
6590 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6591 shared_ptr<Counters> to avoid loading counters.h in all
6593 (LyXTextClass): initialize ctrs_
6594 (TextClassTags): add TC_COUNTER, and ...
6595 (Read): use it here.
6596 (CounterTags): new tags
6597 (readCounter): new function
6598 (counters): new funtion
6599 (defaultLayoutName): return a const reference
6601 * counters.C (Counters): remove contructor
6602 (newCounter): remove a couple of unneeded statements.
6603 (newCounter): simplify a bit.
6604 (numberLabel): some small formatting changes.
6606 * buffer.[Ch]: remove all traces of counters, move the Counters
6607 object to the LyXTextClass.
6609 2002-09-06 Alain Castera <castera@in2p3.fr>
6611 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6612 package to set the horizontal alignment on fixed width columns.
6615 * lyx_sty.h: added tabularnewline macro def.
6617 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6619 2002-09-06 John Levon <levon@movementarian.org>
6621 * LyXAction.C: tooltips for sub/superscript
6623 * MenuBackend.C: a bit more verbose
6625 * lyxfunc.C: tiny clean
6627 * undo_funcs.C: document undo_frozen
6629 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6631 * counters.C (Counters): add missing algorithm counter.
6633 * text2.C (setCounter): lookup the counter with layouts latexname
6634 instead of by section number.
6635 (setCounter): use a hackish way to lookup the correct enum
6637 a float name->type change
6638 reset enum couners with counter name directly instead of depth value.
6640 * counters.C (Counters): remove the push_backs, change to use the
6641 float type not the float name.
6642 (labelItem): remove unused string, float name->type change
6644 * counters.h: don't include vector, loose the enums and sects vectors
6646 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6648 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6649 (Read): add float->TC_FLOAT to textclassTags
6650 (Read): and handle it in the switch
6651 (readFloat): new function
6653 * FloatList.C (FloatList): comment out the hardcoded float
6656 * lyxlayout.h: ws change.
6658 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6660 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6662 2002-09-03 Angus Leeming <leeming@lyx.org>
6664 * BufferView_pimpl.h: qualified name is not allowed in member
6665 declaration: WorkArea & Pimpl::workarea() const;
6667 * factory.C: added using std::endl directive.
6669 * text3.C: added using std::find and std::vector directives.
6671 2002-08-29 André Pönitz <poenitz@gmx.net>
6674 * text2.C: remove unused member number_of_rows
6677 * BufferView2.C: remove file, move contents to...
6678 * BufferView.C: ... here
6680 * BufferView_pimpl.C:
6681 * factory.C: move more inset creation to factory
6683 * vspace.C: avoid direct usage of LyXText, ws changes
6686 don't provide direct access to WorkArea, use two simple
6687 acessors haveSelction() and workHeight() instead
6690 2002-08-29 John Levon <levon@movementarian.org>
6692 * BufferView_pimpl.C (dispatch): do not continue when
6695 2002-08-28 André Pönitz <poenitz@gmx.net>
6697 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6700 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6702 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6704 * buffer.C: increment LYX_FORMAT to 221
6706 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6707 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6709 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6711 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6713 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6715 * factory.C (createInset): use LyXTextClass::floats
6717 * MenuBackend.C (expandFloatListInsert):
6718 (expandFloatInsert):
6721 * text2.C (setCounter):
6723 * LaTeXFeatures.C (useFloat):
6724 (getFloatDefinitions):
6726 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6728 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6729 floatlist_, with accessor floats().
6731 * FloatList.h: remove global FloatList
6733 2002-08-26 André Pönitz <poenitz@gmx.net>
6735 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6739 * BufferView_pimpl.C:
6740 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6742 2002-08-25 John Levon <levon@movementarian.org>
6744 * LyXAction.C: fix margin note description
6746 2002-08-24 John Levon <levon@movementarian.org>
6750 * bufferview_funcs.C:
6752 * undo_funcs.C: cleanups
6754 * lyxfunc.C: disable CUT/COPY when no selection
6756 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6758 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6759 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6761 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6762 Add backward compatibility to "mono", "gray" and "no".
6764 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6766 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6767 (and file_format >= 200).
6769 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6771 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6773 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6775 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6777 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6779 * BufferView_pimpl.C:
6786 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6787 inset and code to make it work with the paragraph code. The inset
6788 can be anywhere in the paragraph, but will only do the expected
6789 thing in LaTeX if the layout file contains the parameter line
6791 (or more generally, a nonzero value) for that layout.
6793 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6795 * paragraph.h: remove the declaration of undefined counters class
6798 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6800 * text2.C (setCounter): fixed enumeration mis-count as reported by
6801 Dr. Richard Hawkins.
6803 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6805 * paragraph_funcs.h: remove some unneeded includes
6807 * text.C (backspace): pasteParagraph now in global scipe
6809 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6810 (pasteSelection): ditto
6812 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6813 * paragraph_funcs.C (pasteParagraph): ... here
6815 2002-08-20 André Pönitz <poenitz@gmx.net>
6817 * commandtags.h: new LFUNs for swapping/copying table row/colums
6820 * lyxfunc.C: support for new lfuns
6822 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6825 * buffer.[Ch]: remove NO_COMPABILITY stuff
6827 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6829 * boost.C (throw_exception): new file, with helper function for
6830 boost compiled without exceptions.
6835 * ParameterStruct.h:
6836 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6838 * bufferlist.C (emergencyWriteAll): use boost bind
6840 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6842 * text.C: include paragraph_funcs.h
6843 (breakParagraph): breakParagraph is now in global scope
6845 * paragraph_funcs.[Ch]: new files
6847 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6850 * buffer.C: include paragraph_funcs.h
6851 (insertStringAsLines): breakParagraph is now in global scope
6853 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6856 * CutAndPaste.C: include paragraph_funcs.h
6857 (cutSelection): breakParagraphConservative is now in global scope
6858 (pasteSelection): ditto
6860 * buffer.h: declare oprator== and operator!= for
6861 Buffer::inset_iterator
6863 * bufferlist.C (emergencyWrite): don't use fmt(...)
6865 * text3.C: add using std::endl
6867 * BufferView.C (moveCursorUpdate): remove default arg
6869 2002-08-20 André Pönitz <poenitz@gmx.net>
6871 * buffer.[Ch]: move inline functions to .C
6874 * BufferView_pimpl.C:
6876 * buffer.[Ch]: use improved inset_iterator
6879 * paragraph.[Ch]: write one paragraph at a time
6881 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6883 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6884 style if style is not specified.
6886 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6888 * text2.C (setCounter): when searching for right label for a
6889 caption, make sure to recurse to parent insets (so that a caption
6890 in a minipage in a figure float works) (bug #568)
6892 2002-08-20 André Pönitz <poenitz@gmx.net>
6894 * text3.C: new file for LyXText::dispatch() and helpers
6896 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6898 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6900 2002-08-19 André Pönitz <poenitz@gmx.net>
6903 * text.C: new LyXText::dispatch()
6905 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6907 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6909 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6911 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6914 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6916 * Makefile.am: use $(variables) instead of @substitutions@
6918 2002-08-15 André Pönitz <poenitz@gmx.net>
6921 * BufferView_pimpl.C: streamlining mathed <-> outer world
6925 * LyXAction.C: remove unused LFUN_MATH
6927 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6929 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6931 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6933 * paragraph.C (Paragraph): reformat a bit
6934 (cutIntoMinibuffer): use builtin InsetList function instad of
6938 * buffer.C: include boost/bind.hpp, add using std::for_each
6939 (writeFileAscii): use ParagraphList iterators
6940 (validate): use for_each for validate traversal of paragraphs
6941 (getBibkeyList): use ParagraphList iterators
6942 (resizeInsets): use for_each to resizeInsetsLyXText for all
6944 (getParFromID): use ParagraphList iterators
6946 * BufferView2.C (lockInset): use paragraph list and iterators
6948 2002-08-14 John Levon <levon@movementarian.org>
6950 * lyxserver.C: remove spurious xforms include
6952 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6954 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6956 2002-08-13 André Pönitz <poenitz@gmx.net>
6959 * lyxfunc.C: further cleaning
6961 2002-08-13 André Pönitz <poenitz@gmx.net>
6963 * funcrequest.h: new constructor
6965 * funcrequest.C: move stuff here from .h
6968 * BufferView_pimpl.C:
6971 * lyxfunc.C: subsequent changes
6973 * lyxfunc.h: new view() member function
6975 * lyxfunc.C: subsequent changes
6977 2002-08-13 Angus Leeming <leeming@lyx.org>
6980 * BufferView_pimpl.C:
6988 changes due to the changed LyXView interface that now returns references
6989 to member variables not pointers.
6991 2002-08-13 Angus Leeming <leeming@lyx.org>
6993 * WordLangTuple (word, lang_code): return references to strings,
6998 * lyxtext.h: forward-declare WordLangTuple.
7003 * text.C: #include "WordLangTuple.h".
7006 * text.C: (selectNextWordToSpellcheck): constify return type.
7008 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7014 * paragraph_pimpl.h:
7017 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7019 Made updateCounter always count from start of buffer, and removed
7020 second argument (par).
7021 Reverted floats number display to '#'. Perhaps I'll try again when the
7022 code base is sanitized a bit.
7024 2002-08-12 Angus Leeming <leeming@lyx.org>
7026 * buffer.[Ch] (getLabelList): constify.
7028 2002-08-07 André Pönitz <poenitz@gmx.net>
7030 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7032 * funcrequest.h: extension to keep mouse (x,y) position
7034 2002-08-12 Juergen Vigna <jug@sad.it>
7036 * BufferView2.C (insertErrors): forbid undo when inserting error
7039 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7041 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7043 * ParagraphList.[Ch]: new files
7045 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7047 * BufferView2.C (lockInset): ParagraphList changes
7050 * bufferlist.C: ditto
7054 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7056 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7057 unused class variable counter_,
7059 * paragraph.[Ch] (getFirstCounter): delete unused function
7061 * counters.C: include LAssert.h
7062 (reset): add a new function with no arg, change other version to
7063 not have def. arg and to not allow empty arg.
7065 * text2.C (setCounter): remove empty arg from call to Counters::reset
7067 2002-08-11 John Levon <levon@movementarian.org>
7069 * Makefile.am: add WordLangTuple.h
7071 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7073 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7074 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7076 * insets/insettext.C: InsetList changes
7078 * graphics/GraphicsSupport.C (operator()): InsetList changes
7080 * toc.C (getTocList): InsetList changes
7082 * paragraph_pimpl.[Ch]: InsetList changes
7084 * paragraph.[Ch]: InsetList changes
7086 * buffer.C (inset_iterator): InsetList changes
7087 (setParagraph): ditto
7088 * buffer.h (inset_iterator): ditto
7089 * iterators.C (operator++): ditto
7090 * iterators.h: ditto
7092 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7094 * InsetList.[Ch]: new files, most InsetList handling moved out of
7097 * BufferView2.C (removeAutoInsets): InsetList changes
7099 (ChangeInsets): ditto
7101 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7103 * paragraph_pimpl.h (empty): new function
7105 * paragraph.[Ch] (empty): new function
7107 * other files: use the new Paragraph::empty function
7109 2002-08-09 John Levon <levon@movementarian.org>
7111 * lyxtext.h: remove unused refresh_height
7113 2002-08-09 John Levon <levon@movementarian.org>
7120 * paragraph.C: move sgml char escaping out of paragraph
7123 * paragraph.C: remove id setter
7127 * paragraph_pimpl.C: remove dead tex_code_break_column
7129 * bufferview_funcs.C: small cleanup
7131 * lyxfunc.C: remove dead proto
7133 * lyxtext.h: make some stuff private. Remove some dead stuff.
7135 * lyxgluelength.C: make as[LyX]String() readable
7137 2002-08-08 John Levon <levon@movementarian.org>
7142 * ToolbarDefaults.C:
7145 * toc.C: lyxaction cleanup
7147 2002-08-08 John Levon <levon@movementarian.org>
7149 * BufferView2.C: small cleanup
7152 * lyxfind.C: move unnecessary header into the .C
7154 2002-08-08 John Levon <levon@movementarian.org>
7156 * funcrequest.h: just tedious nonsense
7159 * lyx_main.C: cleanups
7162 * vspace.C: remove dead header lyx_main.h
7164 2002-08-07 Angus Leeming <leeming@lyx.org>
7167 * paragraph_pimpl.h:
7168 Forward declare class Counters in paragraph.h by moving the ctrs member
7169 variable into Paragraph::Pimpl.
7170 (counters): new method, returning a reference to pimpl_->ctrs.
7172 * text2.C: ensuing changes.
7174 2002-08-07 John Levon <levon@movementarian.org>
7176 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7178 * BufferView_pimpl.C: announce X selection on double/triple
7181 * lyx_main.C: use correct bool in batch dispatch
7183 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7185 2002-08-07 André Pönitz <poenitz@gmx.net>
7187 * funcrequest.h: new class to wrap a kb_action and its argument
7190 * BufferView_pimpl[Ch]:
7194 * lyxrc.C: subsequent changes
7197 2002-08-07 John Levon <levon@movementarian.org>
7199 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7200 document options change.
7202 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7207 * makefile.am: move counters functionality over from
7208 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7210 2002-08-06 John Levon <levon@movementarian.org>
7212 * WordLangTuple.h: new file for word + language code tuple
7223 * BufferView2.C: use WordLangTuple
7226 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7228 2002-08-06 John Levon <levon@movementarian.org>
7230 * lyx_main.C: fix cmdline batch handling
7232 2002-08-06 André Pönitz <poenitz@gmx.net>
7234 * lyxrc.C: set default for show_banner to true
7236 2002-08-06 John Levon <levon@movementarian.org>
7238 * pspell.C: fix a crash, and allow new aspell to work
7240 2002-08-06 John Levon <levon@movementarian.org>
7243 * kbmap.C: small cleanup
7246 * vspace.C: add const
7248 2002-08-05 John Levon <levon@movementarian.org>
7250 * LyXAction.C: back to tabular-insert
7252 2002-08-04 John Levon <levon@movementarian.org>
7255 * BufferView.C: cosmetic change
7257 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7267 * BufferView2.C: purge all "Lyx" not "LyX" strings
7270 * lyxcursor.C: attempt to add some documentation
7275 * ToolbarDefaults.C:
7276 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7277 merge with LFUN_TABULAR_INSERT
7284 * pspell.C: split up i/pspell implementations into separate
7285 files, many cleanups
7287 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7289 * text2.C: some cleanup
7291 * lyxfunc.C: don't check for isp_command == "none" any more, it
7292 didn't make any sense
7294 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7299 * makefile.am: move counters functionality over
7300 from text2.C/paragraph.[Ch] to counters.[Ch], and
7302 2002-08-02 John Levon <levon@movementarian.org>
7304 * buffer.C: s/lyxconvert/lyx2lyx/
7306 2002-08-02 Angus Leeming <leeming@lyx.org>
7308 * lyxlex.C: revert John's change as it breaks reading of the user
7311 2002-08-02 Angus Leeming <leeming@lyx.org>
7313 * importer.C (Import):
7314 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7315 changes due to LyXView::view() now returning a boost::shared_ptr.
7317 2002-08-02 John Levon <levon@movementarian.org>
7319 * lyxlex.C: small cleanup
7321 2002-08-02 John Levon <levon@movementarian.org>
7323 * text2.C (status): small cleanup, no logic change
7325 2002-08-01 John Levon <levon@movementarian.org>
7328 * buffer.C (writeFile): don't output alerts, caller
7332 * lyx_cb.C: from above
7334 * lyxfunc.C: allow to open non-existent files
7336 2002-07-31 John Levon <levon@movementarian.org>
7338 * lyxserver.C: don't let incidental errors get
7341 2002-07-30 John Levon <levon@movementarian.org>
7343 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7345 2002-07-30 John Levon <levon@movementarian.org>
7348 * lyxserver.C: remove I/O callback too
7350 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7352 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7355 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7357 * many files: strip,frontStrip -> trim,ltrim,rtrim
7359 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7361 * PrinterParams.h: remove extern containsOnly, and include
7362 support/lstrings.h instead.
7364 * LaTeX.C (scanAuxFile): modify because of strip changes
7366 * buffer.C (makeLaTeXFile): ditto
7367 * bufferparams.C (writeFile): ditt
7368 * lyxfont.C (stateText): ditto
7369 * lyxserver.C (read_ready): ditto
7370 * vc-backend.C (scanMaster): ditto
7372 * BufferView_pimpl.h: ws changes
7374 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7376 2002-07-26 André Pönitz <poenitz@gmx.net>
7378 * kb_sequence.C: remove unnedred usings
7380 2002-07-26 Juergen Vigna <jug@sad.it>
7382 * lyxfind.C (LyXReplace): we have to check better if the returned
7383 text is not of theLockingInset()->getLockingInset().
7385 2002-07-25 Juergen Vigna <jug@sad.it>
7387 * lyxfind.C (LyXReplace): don't replace if we don't get the
7390 * undo_funcs.C (createUndo): remove debugging code.
7392 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7394 * buffer.C (parseSingleLyXformat2Token): Use default placement
7395 when reading old floats.
7397 * FloatList.C (FloatList): Change the default placement of figure
7398 and tables to "tbp".
7400 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7402 * MenuBackend.C: using std::max
7404 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7406 * MenuBackend.C (expandToc):
7407 (expandToc2): code moved from xforms menu frontend. It is now
7408 generic and TOCs are transparent to menu frontends.
7410 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7412 * toc.C (getTocList): protect against buf=0
7414 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7415 Menu as first parameter. Now, this calls itself recursively to
7416 expand a whole tree (this will be useful for TOC handling)
7417 (expandFloatInsert): remove 'wide' version of floats
7419 * MenuBackend.h (submenuname): returns the name of the submenu.
7420 (submenu): returns the submenu itself, provided it has been
7421 created by MenuBackend::expand
7423 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7425 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7426 insets which have noFontChange == true. (bug #172)
7428 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7430 * BufferView_pimpl.C: add connection objects and use them...
7433 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7435 * MenuBackend.C (expandLastfiles):
7438 (expandFloatListInsert):
7439 (expandFloatInsert):
7440 (expand): split expand in parts
7442 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7444 * lyx_gui.C: use lyx_gui::exit()
7446 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7448 * LyXAction.C: show the failing pseudo action
7450 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7452 * buffer.C (readFile): Run the lyxconvert script in order to read
7455 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7459 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7461 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7465 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7467 2002-07-22 Herbert Voss <voss@lyx.org>
7470 * lyxlength.[Ch]: add support for the vertical lengths
7472 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7474 * toc.[Ch]: std:: fixes
7476 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7478 * lyxrc.C: do not include lyx_main.h
7480 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7486 * BufferView2.C: include "lyxlex.h"
7489 * bufferparams.h: do not #include "lyxlex.h"
7491 * lyxtextclasslist.C (Add): remove method
7492 (classlist): renamed to classlist_
7494 * paragraph_pimpl.C:
7498 * bufferview_funcs.C:
7503 * toc.C (getTocList): use BufferParams::getLyXTextClass
7505 * toc.C (getTocList): use InsetFloat::addToToc
7507 * toc.[Ch]: new files, containing helper functions to handle table
7510 * lyxfunc.C (dispatch): no need to remove spaces around command
7512 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7513 first command of the sequence; it is not very clever, but I do not
7514 have a better idea, actually
7516 * LyXAction.C (LookupFunc): make sure to remove space at the
7517 beginning and end of the command
7519 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7521 * MenuBackend.C (getMenubar): new method: return the menubar of
7523 (read): treat differently reading of menu and menubar (in
7524 particular, the menubar has no name now)
7525 (Menu::menubar): remove
7527 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7530 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7532 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7533 a bibitem inset in a RTL paragraph.
7535 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7537 * paragraph_pimpl.C: constify
7539 * BufferView_pimpl.C:
7541 * lyxfunc.C: fix dispatch in a nicer way
7543 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7545 * lyxfunc.C (dispatch):
7546 * BufferView_pimpl.C:
7547 * BufferView_pimpl.h:
7549 * BufferView.h: rename Dispatch() to dispatch()
7551 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7553 * lyxlayout.C (Read): honor DependsOn tag
7555 * lyxlayout.[Ch] (depends_on): new method
7557 * version.C.in: update lyx_docversion
7559 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7561 * paragraph.C (validate): remove from here...
7562 * paragraph_pimpl.C (validate): ... and move here
7563 (isTextAt): make it const
7565 * buffer.C (getLists): ws cleanup
7567 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7569 * language.C (read): Use iso8859-1 encoding in latex_lang
7570 (this prevents LyX from crashing when using iso10646-1 encoding).
7572 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7574 * text2.C (toggleInset): if cursor is inside an inset, close the
7575 inset and leave cursor _after_ it
7577 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7579 * lyxfunc.C: move minibuffer completion handling out of here
7581 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7583 * BufferView_pimpl.C:
7584 * LaTeX.C: fix dispatch calls
7586 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7588 * text.C (drawChars): Fix Arabic text rendering.
7590 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7594 * lyxfunc.C: remove message-push/pop
7598 * lyxfunc.C: rationalise some code by removing verboseDispatch
7599 in favour of a bool argument to dispatch()
7601 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7603 * lyx_main.C (init): make sure to read symlinks as absolute paths
7605 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7608 * lyxfunc.C: no need for commandshortcut to be a member
7610 2002-07-15 André Pönitz <poenitz@gmx.net>
7612 * converter.C: add support for $$s (scripts from lib/scripts dir)
7613 * lyx_main.C: white space
7615 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7619 * lyxrc.C: remove second exit confirmation
7621 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7626 * BufferView_pimpl.h:
7627 * BufferView_pimpl.C:
7628 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7630 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7632 * MenuBackend.C (expand): add numeric shortcuts to document menu
7634 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7636 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7638 * lyxfont.C (setLyXFamily):
7645 * buffer.C (asciiParagraph): use ascii_lowercase
7647 2002-07-15 Mike Fabian <mfabian@suse.de>
7649 * lyxlex_pimpl.C (search_kw):
7650 * lyxlex.C (getLongString):
7651 * converter.h (operator<):
7652 * converter.C (operator<):
7653 * buffer.C (parseSingleLyXformat2Token):
7655 * ToolbarDefaults.C (read):
7656 * MenuBackend.C (checkShortcuts):
7658 * LColor.C (getFromGUIName):
7659 (getFromLyXName): use the compare_ascii_no_case instead of
7660 compare_no_case, because in turkish, 'i' is not the lowercase
7661 version of 'I', and thus turkish locale breaks parsing of tags.
7663 2002-07-16 Angus Leeming <leeming@lyx.org>
7665 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7666 now takes a Buffer const & argument.
7668 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7670 * BufferView.C (resize): check there's a buffer to resize
7672 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7674 * lyxfunc.C: remove dead code
7677 * lyxserver.C: use lyx_guii::set_read_callback
7679 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7681 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7682 an inset in a RTL paragraph.
7684 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7686 * lyxfunc.C: repaint after a font size update
7688 2002-07-15 André Pönitz <poenitz@gmx.net>
7690 * lyxlength.C: inBP should be able to return negative values
7692 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7694 * lyxfunc.C: use lyx_gui::update_fonts()
7696 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7698 * lyxfunc.C: use lyx_gui::update_color()
7700 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7706 * lyxrc.C: remove file->new asks for name option, and let
7707 buffer-new take an argument
7709 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7711 * BufferView_pimpl.C: remove unneeded extra repaint()
7713 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7715 * LyXAction.C: allow command-sequence with NoBuffer
7717 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7719 2002-07-10 Angus Leeming <leeming@lyx.org>
7721 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7723 2002-07-09 Angus Leeming <leeming@lyx.org>
7725 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7727 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7729 * lengthcommon.h: whitespace
7731 * lyxfunc.C: update scrollbar after goto paragraph
7733 * lyxtext.h: factor out page break drawing, and fix it so
7734 page break/added space paints as selected nicely
7736 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7738 * BufferView_pimpl.C: add FIXMEs, clean up a little
7740 2002-07-09 André Pönitz <poenitz@gmx.net>
7742 * lyxfont.[Ch]: support for wasy symbols
7744 2002-07-08 André Pönitz <poenitz@gmx.net>
7746 * BufferView_pimpl.C: apply John's patch for #93.
7748 2002-07-05 Angus Leeming <leeming@lyx.org>
7750 * BufferView_pimpl.C (buffer): generate previews if desired.
7752 * LColor.h: add "preview" to the color enum.
7754 * LColor.C (LColor): add a corresponding entry to the items array.
7756 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7759 2002-07-05 Angus Leeming <leeming@lyx.org>
7761 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7762 The body of the code is now in the method that is passed an ostream &
7763 rather than a file name.
7764 Pass an additional only_preamble parameter, useful for the forthcoming
7767 2002-07-03 André Pönitz <poenitz@gmx.net>
7769 * lyxfunc.C: simplify getStatus() a bit for math stuff
7771 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7773 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7775 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7777 * text.C (changeRegionCase): do not change case of all the
7778 document when region ends at paragraph end (bug #461)
7780 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7782 * paragraph.C (startTeXParParams):
7783 (endTeXParParams): add \protect when necessary
7785 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7787 * BufferView_pimpl.C (workAreaExpose): remove warning
7789 2002-06-27 Angus Leeming <leeming@lyx.org>
7791 * Makefile.am: add lyxlayout_ptr_fwd.h.
7793 2002-06-26 André Pönitz <poenitz@gmx.net>
7795 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7797 2002-06-25 Angus Leeming <leeming@lyx.org>
7799 * lyxfunc.C (dispatch): Comment out the call to
7800 grfx::GCache::changeDisplay. The method no longer exists now that the
7801 pixmap generation part of the graphics loader has been moved into
7804 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7806 * text2.C: layout as layout
7808 * text.C: layout as layout
7810 * tabular.C (OldFormatRead): layout as layout
7812 * paragraph_pimpl.C (TeXDeeper): layout as layout
7813 (realizeFont): layout as layout
7815 * paragraph.C (writeFile): layout as layout
7816 (validate): layout as layout
7817 (getFont): layout as layout
7818 (getLabelFont): layout as layout
7819 (getLayoutFont): layout as layout
7820 (breakParagraph): layout as layout
7821 (stripLeadingSpaces): layout as layout
7822 (getEndLabel): layout as layout
7823 (getMaxDepthAfter): layout as layout
7824 (applyLayout): layout as layout
7825 (TeXOnePar): layout as layout
7826 (simpleTeXOnePar): layout as layout
7827 (TeXEnvironment): layout as layout
7828 (layout): layout as layout
7829 (layout): layout as layout
7831 * lyxtextclass.C (compare_name): new functor to work with
7832 shared_ptr, layout as layout
7833 (Read): layout as layout
7834 (hasLayout): layout as layout
7835 (operator): layout as layout
7836 (delete_layout): layout as layout
7837 (defaultLayout): layout as layout
7839 * lyxlayout_ptr_fwd.h: new file
7841 * lyxlayout.C (Read): layout as layout
7843 * lyx_cb.C (MenuInsertLabel): layout as layout
7845 * bufferlist.C (newFile): layout as layout
7847 * buffer.C (readLyXformat2): layout as layout
7848 (parseSingleLyXformat2Token): layout as layout
7849 (insertStringAsLines): layout as layout
7850 (asciiParagraph): layout as layout
7851 (latexParagraphs): layout as layout
7852 (makeLinuxDocFile): layout as layout
7853 (simpleLinuxDocOnePar): layout as layout
7854 (makeDocBookFile): layout as layout
7855 (simpleDocBookOnePar): layout as layout
7856 (getLists): layout as layout
7858 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7860 * CutAndPaste.C (cutSelection): layout as layout
7861 (pasteSelection): layout as layout
7862 (SwitchLayoutsBetweenClasses): layout as layout
7864 * BufferView_pimpl.C (Dispatch): layout as layout
7865 (smartQuote): layout as layout
7867 * BufferView2.C (unlockInset): layout as layout
7869 2002-06-24 André Pönitz <poenitz@gmx.net>
7871 * lyxfunc.C: fix #487
7873 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7877 * lyxfunc.C: remove display_shortcuts, show_banner
7879 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7881 * Buffer_pimpl.C: oops, update on resize
7883 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7890 * BufferView.C: use repaint()
7892 * BufferView_pimpl.h:
7893 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7894 as it's a clearer description. Remove superfluous
7897 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7899 * text.C: fix bug 488. Not ideal, but getting
7900 getWord() to work properly for the insets that
7901 matter is more difficult ...
7903 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7905 * BufferView_pimpl.C:
7908 * lyxfunc.C: remove the six million index lyxfuncs to just
7909 one, and DTRT (bug 458)
7911 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7915 * BufferView_pimpl.h:
7916 * BufferView_pimpl.C: clean up resize() stuff,
7917 and unnecessary updateScreen()s
7919 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7923 * BufferView_pimpl.h:
7924 * BufferView_pimpl.C:
7927 * minibuffer.C: remove focus management of workarea,
7928 not needed. Use screen's greyOut()
7930 2002-06-17 Herbert Voss <voss@lyx.org>
7932 * converter.C: (convert) do not post a message, when converting
7933 fails, let the calling function decide what to do in this case
7935 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7937 * lyxfunc.C: tidy up a little
7939 2002-06-16 <alstrup@diku.dk>
7941 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7942 Got rid of FORMS_H_LOCATION include. Now we are
7945 2002-06-15 LyX Development team <lyx@rilke>
7947 * buffer.[Ch] (sgmlOpenTag):
7948 (sgmlCloseTag): Added support for avoiding pernicious mixed
7949 content. Return number of lines written.
7952 (makeDocBookFile): Fixed calls to sgml*Tag.
7953 Simple white space clean.
7955 (simpleDocBookOnePar): Simple white space clean.
7957 * tabular.[Ch] (docBook): Renamed to docbook and got another
7958 argument to related with the pernicious mixed content.
7960 (docbookRow): Fixed calls for docbook inset method.
7962 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7964 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7965 so it's X11 independent.
7969 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7971 2002-06-15 Lyx Development team <lyx@electronia>
7973 * intl.h: Renamed getTrans to getTransManager.
7975 2002-06-14 Angus Leeming <leeming@lyx.org>
7977 * Makefile.am: nuke forgotten stl_string_fwd.h.
7979 2002-06-12 Angus Leeming <leeming@lyx.org>
7981 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7983 2002-06-13 Angus Leeming <leeming@lyx.org>
7986 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7988 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
7990 * kbmap.C (getiso): add support for cyrillic and greek
7992 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
7996 * BufferView_pimpl.h:
7997 * BufferView_pimpl.C: move bogus scrolling logic
8000 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8003 * BufferView_pimpl.C: view->resize() change
8005 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8007 * BufferView_pimpl.C: topCursorVisible
8010 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8014 * lyx_gui.C: move to frontends/
8018 * lyx_main.C: changes from above
8020 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8027 * lyx_main.C: minor tidy
8029 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8031 * BufferView_pimpl.h:
8032 * BufferView_pimpl.C:
8034 * BufferView.C: make painter() const,
8037 * BufferView2.C: use screen() accessor
8040 * lyx_main.C: some minor cleanup
8042 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8044 * BufferView_pimpl.h:
8045 * BufferView_pimpl.C: remove enter/leaveView,
8048 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8053 * BufferView_pimpl.h:
8054 * BufferView_pimpl.C: only construct screen once,
8057 * lyxrc.C: remove pointless comment
8059 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8062 * BufferView.C: remove active() and belowMouse()
8064 * BufferView_pimpl.h:
8065 * BufferView_pimpl.C: use workarea() not workarea_,
8066 and make it use a scoped_ptr instead
8068 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8070 * lyx_gui.C: add debug message on BadWindow
8072 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8074 * sp_spell.C: fdopen is not part of the C++ standard.
8076 * paragraph.C (InsetIterator): use >= instead of ==
8078 2002-06-07 Angus Leeming <leeming@lyx.org>
8080 Fixes needed to compile with Compaq cxx 6.5.
8081 * BufferView_pimpl.C:
8088 * lyxtextclasslist.C:
8093 all c-library variables have been moved into namespace std. Wrap
8094 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8099 Add a using std::abs declaration.
8101 * kbmap.h (modifier_pair):
8102 * paragraph.h (InsetTable, InsetList):
8103 * lyxfont.h (FontBits):
8104 type definition made public.
8106 * bufferlist.C (emergencyWriteAll): the compiler complains that
8107 there is more than one possible lyx::class_fun template to choose from.
8108 I re-named the void specialisation as lyx::void_class_fun.
8110 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8112 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8113 the compiler is is unable to find tostr in write_attribute.
8115 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8117 * buffer.C (sgmlError): hide #warning
8119 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8121 * xtl/*: get rid of xtl, which is not in use anyway
8123 * LyXAction.C (init):
8124 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8125 were unimplemented xtl experimentation
8127 2002-06-04 André Pönitz <poenitz@gmx.net>
8129 * lyxfunc.C: disable array operation on simple formulae
8131 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8133 * converter.C: constify a bit
8135 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8137 * lyx_gui.C: check xforms version correctly
8139 2002-04-30 Herbert Voss <voss@lyx.org>
8141 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8144 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8146 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8147 attempt to register it with a VCS)
8149 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8151 * lyx_main.C (init): honor variables LYX_DIR_13x and
8154 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8158 * lyx_main.C: fix a crash on bad command line,
8159 and give a useful exit status on error
8161 * lyxfunc.C (doImport): allow -i lyx to work
8163 2002-03-30 André Pönitz <poenitz@gmx.net>
8165 * lyxfunc.C: mathed font changes
8167 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8182 * trans_mgr.h: srcdocs, and some minor cleanups
8184 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8186 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8187 call getFont all the time)
8189 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8191 * switch from SigC signals to boost::signals
8193 2002-05-29 André Pönitz <poenitz@gmx.net>
8195 * paragraph_pimpl.C (getChar): don't call size() too often...
8197 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8199 * paragraph_pimpl.C (insertChar): do not try to update tables when
8200 appending (pos == size())
8202 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8203 in order to reduce drastically the number of comparisons needed to
8204 parse a large document
8206 2002-05-29 André Pönitz <poenitz@gmx.net>
8212 * textclasslist.[Ch]:
8213 * sp_ispell.h: whitespace change
8215 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8217 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8218 lyxaction directly now.
8220 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8224 * lyxvc.C: remove unused headers
8226 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8233 * undo_funcs.C: some cleanups. Use shared_ptr
8234 and a template for the undo stacks.
8236 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8238 * BufferView_pimpl.h:
8239 * BufferView_pimpl.C:
8246 * text2.C: use key_state/mouse_state
8248 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8250 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8253 * chset.C: change include order
8254 (loadFile): use boost regex and get rid of LRegex and LSubstring
8256 * Makefile.am (BOOST_LIBS): new variable
8259 * LaTeX.C: change include order.
8260 (scanAuxFile): use boost regex and get rid of LRegex and
8264 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8269 * FontInfo.C: moved to frontends/xforms/
8272 * FontLoader.C: moved into frontends for GUIIzation
8277 * lyxfunc.C: changes from above
8279 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8281 * LColor.C: remove spurious X include
8283 * BufferView_pimpl.C:
8288 * text2.C: move font metrics to frontends/
8290 2002-05-24 Juergen Vigna <jug@sad.it>
8292 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8293 setting the undo_cursor.
8295 * ParagraphParameters.h: include local includes first.
8297 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8299 * BufferView_pimpl.C:
8300 * BufferView_pimpl.h:
8304 * screen.C: move WorkArea into frontends/
8310 * BufferView2.C: move LyXScreen into frontends/
8314 * lyx_gui.C: move lyxlookup into frontends/xforms/
8316 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8319 * BufferView_pimpl.C:
8329 * bufferview_funcs.C:
8342 * vc-backend.C: move LyX/XFormsView into frontends/
8344 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8356 * text2.C: move Painter to frontends/
8358 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8360 * buffer.C: comment out some some code that depend upon lyx_format
8363 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8364 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8366 * buffer.h (NO_COMPABILITY): turn off compability
8368 * ColorHandler.C: include scoped_array.hpp
8370 * font.C: Use more specific smart_ptr header.
8373 * ShareContainer.h: ditto
8377 * BufferView_pimpl.h: ditto
8378 * ColorHandler.h: ditto
8380 * kbmap.C (defkey): change call to shared_ptr::reset
8382 2002-05-21 Juergen Vigna <jug@sad.it>
8384 * buffer.C (insertErtContents): fix to insert ert asis if it is
8385 non empty. Skip it completely if it contains only whitespaces.
8387 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8389 * BufferView_pimpl.C:
8390 * BufferView2.C: clear selection on paste (bug 393)
8392 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8394 * DepTable.C: include ctime
8396 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8398 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8400 2002-05-14 Juergen Vigna <jug@sad.it>
8402 * text.C (breakParagraph): fixed function to honor the keepempty
8403 layout in the right maner and also to permit the right breaking
8404 algorithm on empty or non empyt keepempty paragraphs.
8406 * paragraph.C (breakParagraph): we have to check also if the par
8407 is really empty (!size()) for isempty otherwise we do the wrong
8410 2002-05-10 Juergen Vigna <jug@sad.it>
8412 * buffer.[Ch] : The following are only changes to the ert
8413 compatibility read reading old LaTeX layout and font stuff and
8414 convert it to ERTInsets.
8416 * buffer.h: added isErtInset().
8418 * buffer.C (struct ErtComp): add a fromlayout bool to check
8419 if we're inside a LaTeX layout.
8420 (isErtInset): new helper function.
8421 (insertErtContents): look for other ert insets before this one
8422 and insert the contents there, so that we don't have subsequent
8423 ERT insets with nothing between them. This way we create only one
8424 inset with multiple paragraphs. Also check if we don't insert only
8425 spaces ' ' as they are ignored anyway afterwards in the .tex file
8426 so if we have only spaces we will ignore this latex part in the
8428 (parseSingleLyXformat2Token \\layout): better compatibility when
8429 reading layout-latex stuff.
8430 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8432 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8433 stuff after reading the inset only get the information back from
8436 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8438 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8440 * LaTeXFeatures.C (getBabelOptions): New method.
8442 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8444 * BufferView_pimpl.C (Dispatch): work around missing argument for
8447 2002-05-08 Juergen Vigna <jug@sad.it>
8449 * text.C (leftMargin): handle paragraph leftindent.
8451 * paragraph.C (writeFile): write the new \\leftindent tag.
8452 (validate): handle leftindent code.
8453 (TeXEnvironment): handle paragraphleftindent code again.
8455 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8457 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8458 for paragrap_extra indent code and new token \\leftindent.
8459 (latexParagraphs): handle the leftindent as environment.
8461 * ParameterStruct.h: added leftindent support.
8463 * ParagraphParameters.C (leftIndent): added support functions for
8464 the paragraph left indent.
8466 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8469 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8471 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8474 * text.C (computeBidiTables): No bidi in insetERT.
8476 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8479 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8481 * version.C.in: pre 5
8483 2002-05-02 José Matos <jamatos@fep.up.pt>
8484 * buffer.C (makeDocBookFile): white space changes, add newline to
8486 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8488 * tabular.C (docBook): fix typo.
8490 2002-05-03 Juergen Vigna <jug@sad.it>
8492 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8493 change in LyXText as we can not be sure it was not freed.
8494 (drawOneRow): remove unused code.
8496 * text.C (drawInset): redo the calculation of the need_break_row as
8497 it could have a row which was already freed.
8498 (draw): look at the return value of drawInset and return false if
8499 it also returned false.
8500 (paintRowText): look at the return value of draw and return false if
8501 it also returned false.
8503 * lyxtext.h: added bool return type to drawInset() and draw() so that
8504 if we have a change in the row so that the rowbreak has to be redone
8505 we abort drawing as it will be called again.
8507 2002-05-02 Juergen Vigna <jug@sad.it>
8509 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8510 a change in the maintext also if we're inside an inset.
8511 (Dispatch): set the cursor again after a break line and after the
8512 screen has been updated as it could be we're in a different row.
8514 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8515 to set the cursor behind the pargraph with > size().
8516 (setCursor): check also for the same paragraph when checking where
8517 to put the cursor if we have a NFR inset.
8519 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8520 parts of layout read further up as it still was in the wrong
8523 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8525 * screen.C (drawFromTo): change sine fullRebreak always return
8528 * buffer.C (parseSingleLyXformat2Token): reindent some
8530 * BufferView_pimpl.C (update): change since fullRebreak always
8532 (Dispatch): git rid of the last hardcoded "Standard"s.
8534 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8536 * text2.[Ch] (fullRebreak): make it return void now that we always
8539 2002-04-30 Juergen Vigna <jug@sad.it>
8541 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8542 ert compatibility check for "latex" layout.
8544 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8546 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8547 minipages: use col% instead of p%, and also use the current font.
8548 (makeLaTeXFile): Fix use babel condition.
8549 (parseSingleLyXformat2Token): Correct font when reading old floats.
8551 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8553 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8554 inserting list of floats.
8556 2002-04-25 Herbert Voss <voss@lyx.org>
8558 * MenuBackend.C (expand): don't add the graphics extensions to the
8561 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8563 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8564 non-existing layout, do not complain if it was the default layout
8565 of the original class (bug #342)
8567 2002-04-24 Juergen Vigna <jug@sad.it>
8569 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8570 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8572 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8574 * buffer.C (getBibkeyList): If using \bibliography, return the
8575 option field with the reference itself. Enables us to provide natbib
8576 support when using \bibliography.
8578 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8580 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8582 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8583 natbib is provided by the LaTeX class.
8585 2002-04-23 Juergen Vigna <jug@sad.it>
8587 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8590 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8592 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8594 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8596 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8597 ensuremath around textordmasculine, textordfeminine and
8600 2002-04-19 Juergen Vigna <jug@sad.it>
8602 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8603 reinitializing the buffer otherwise row-dimensions may be wrong.
8604 (update): reset also the selection cursors if they do exits otherwise
8605 their x/y positions may be wrong.
8607 * text2.C (cursorDown): don't enter the inset if we came from a row
8608 above and are one row over the inset.
8610 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8611 really leaving an inset.
8613 2002-04-18 Juergen Vigna <jug@sad.it>
8615 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8616 of the selected paragraph does not have the selected layout also if
8619 * text2.C (setLayout): fixed bug which did not change last selected
8622 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8623 changed the read and substituted \\end_float with \\end_inset!
8625 * BufferView_pimpl.C (cursorPrevious):
8626 (cursorNext): fixed to make it work with rows heigher than the work
8627 area without moving the cursor only the draw of the row.
8628 (workAreaMotionNotify): fix jumping over high rows.
8630 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8632 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8635 2002-04-16 Juergen Vigna <jug@sad.it>
8637 * text2.C (setCursor): set also the irow().
8638 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8640 (cursorDown): support for locking an inset if the x_fix value goes
8641 inside it. That way I can transverse insets too with cursor up/down.
8643 * lyxrow.h: added irow helper function same as other (i) functions.
8645 * BufferView_pimpl.C (cursorPrevious):
8646 (cursorNext): fixed for insets!
8648 2002-04-15 Juergen Vigna <jug@sad.it>
8650 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8651 position otherwise it is wrong in some cases.
8653 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8654 inside the inset before the call.
8656 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8658 * buffer.[Ch] (getBibkeyList): make it const.
8660 2002-04-12 Juergen Vigna <jug@sad.it>
8662 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8664 * text2.C (getCursorX): new helper function
8665 (setCursor): compute also ix_
8666 (setCursorFromCoordinates): set also ix.
8668 * lyxcursor.h: added ix_ and helper functions.
8670 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8672 * buffer.C (insertStringAsLines): dont break paragraph if the this
8673 paragraph is inside an inset which does not permit it!
8675 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8676 also with no chars on this paragraph.
8677 (paintRowText): only paint stuff if it's inside the workarea!
8679 * paragraph.C (breakParagraph): honor keepempty flag and break the
8680 paragraph always below not above.
8682 * BufferView2.C (unlockInset): update the paragraph layout on inset
8683 unlock as we changed paragraph in such a case.
8685 * lyxfind.C (LyXFind): clear the former selection if not found!
8687 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8688 again called in insertChar().
8690 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8691 an inset which uses the whole row!
8692 (rightMargin): ditto.
8693 (insertChar): force a rebreak if we inserted an inset!
8695 2002-03-28 Herbert Voss <voss@lyx.org>
8697 * lyxlength.[Ch]: add inBP() to get the right PS-point
8698 units (BigPoint). With inPixels we have rounding errors
8700 2002-04-11 Juergen Vigna <jug@sad.it>
8702 * text2.C (setCursorFromCoordinates): set iy to the right value.
8703 (setCursor): add check if row->previous exists!
8705 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8706 an old float_type as this was the case in the old code!
8708 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8710 * BufferView2.C (showLockedInsetCursor): use iy
8711 (fitLockedInsetCursor): ditto
8713 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8714 locked insets as there we have the right value now.
8716 * lyxcursor.C: added iy_ variable and iy functions to set to the
8717 baseline of cursor-y of the locked inset.
8719 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8720 (setCursor): fixed for insets which need a full row.
8722 * text.C (rowLastPrintable): don't ignore the last space when before
8723 an inset which needs a full row.
8724 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8725 as last character of a row when before a inset which needs a full row.
8727 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8729 * version.C.in: update date
8731 * text2.C (fullRebreak): try to always return true and see what
8734 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8736 * MenuBackend.C (expand): use Floating::listName
8738 * FloatList.C (FloatList): add listName argument to the built-in
8741 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8742 text associated with the float.
8744 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8746 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8748 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8750 * ShareContainer.h: add a couple of missing typenames.
8752 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8754 * lyxrc.C (getDescription): use _() correctly rather than N_().
8756 2002-03-28 Herbert Voss <voss@lyx.org>
8758 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8759 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8761 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8763 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8764 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8766 2002-03-29 Juergen Vigna <jug@sad.it>
8768 * lyxfunc.C (dispatch): add a missing fitCursor call.
8770 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8771 it was scrolled by a cursor move, so return the bool status.
8773 * BufferView.C (fitCursor): return the bool flag also to the outside
8774 world as this is needed.
8776 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8778 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8779 call the edit() as it is not needed (and wrong) IMO.
8780 (workAreaButtonPress): set the screen_first variable before evt.
8781 unlock the inset as this may change screen_first and then we have
8782 a wrong y position for the click!
8784 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8786 * MenuBackend.C (expand): another translation that I missed
8788 2002-03-28 Juergen Vigna <jug@sad.it>
8790 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8792 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8794 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8796 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8798 * MenuBackend.C (expand): fix export/view/update when there is no
8801 2002-03-27 Herbert Voss <voss@lyx.org>
8803 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8806 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8808 * bufferview_funcs.C (currentState): only show paragraph number
8809 for is DEVEL_VERSION is set.
8811 * lyxfunc.C (dispatch): put warning in INFO channel
8813 * MenuBackend.C (expand): translate the name of floats
8815 * FloatList.C (FloatList): mark the float names for translation
8817 * converter.C (convert): use LibScriptSearch
8819 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8821 * MenuBackend.C (defaults): fix default menu (we might as well get
8824 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8826 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8829 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8831 * lyxvc.C: reorder includes.
8833 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8835 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8838 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8840 * CutAndPaste.C: change layouts earlier on paste
8841 to avoid crashing when calling getFont()
8843 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8845 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8848 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8850 * WorkArea.C: remove 'Pending' debug message.
8852 * most files: ws cleanup
8854 * buffer.[Ch]: ws changes
8856 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8858 2002-03-21 Juergen Vigna <jug@sad.it>
8860 * tabular.C (SetMultiColumn): collapse also the contents of the
8861 cells and set the last border right. Added a Buffer const * param.
8863 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8865 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8868 2002-03-19 Juergen Vigna <jug@sad.it>
8870 * text2.C (clearSelection): reset also xsel_cache.
8872 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8873 where it needs to be called (John tells us to do so too :)
8874 (selectionLost): reset sel_cache.
8876 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8878 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8880 * text2.C (setCursorIntern): put debuging code in INSETS channel
8882 2002-03-19 André Pönitz <poenitz@gmx.net>
8884 * lyxfunc.C: tiny whitespace change
8886 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8888 * ToolbarDefaults.C (init):
8889 * LyXAction.C (init):
8891 * BufferView_pimpl.C (Dispatch):
8892 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8894 2002-03-19 Allan Rae <rae@lyx.org>
8896 * exporter.C (Export): removeAutoInsets before doing anything else.
8897 While I've just introduced a dependency on BufferView this really is
8898 the best place to clean the buffer otherwise you need to cleanup in
8899 a dozen places before calling export or cleanup in a dozen functions
8902 * converter.C (runLaTeX):
8903 (scanLog): Better handling of removeAutoInsets and screen updates.
8905 * lyxfunc.C (dispatch): small whitespace changes
8907 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8909 * WorkArea.C (C_WorkAreaEvent): return a value.
8910 (event_cb): return 1 if we handled the event, 0 otherwise.
8912 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8914 2002-03-18 Juergen Vigna <jug@sad.it>
8916 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8917 (GetAdditionalWidth): ditto.
8921 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8922 inset if we're there actually (probably not used right now but this
8923 is the direction to go for unifying code).
8924 (paste): disable code to clear the selection.
8926 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8927 inside an InsetText and move the check further up as it is in the
8930 * text2.C (pasteSelection): set a selection over the pasted text.
8932 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8934 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8935 and libgraphics to build on Cygwin.
8937 2002-03-15 Juergen Vigna <jug@sad.it>
8939 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8940 inserting an Inset into the paragraph. I know this is not the best
8941 fix but we already use current_view in CutAndPaste so we will remove
8942 all of it's using at the same time.
8944 * buffer.C (sgmlError): deactivated function till it is rewritten in
8945 the right mode, now it can create problems.
8947 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8948 before accessing it.
8950 2002-03-14 Juergen Vigna <jug@sad.it>
8952 * undo_funcs.C (textHandleUndo): do the right thing when updating
8953 the inset after the undo/redo.
8955 * text2.C (setCursor): just some testcode for #44 not ready yet.
8957 * undo_funcs.C (textHandleUndo): set the next() and previous()
8958 pointers of the paragraph to 0 before deleting otherwise we have
8959 problems with the Paragraph::[destructor].
8961 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8962 on a paragraph insertion.
8964 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8966 * buffer.C (asciiParagraph): use += operator for char append to
8969 * paragraph.C (getFontSettings): compare >= not just >
8970 (highestFontInRange): ditto
8973 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8975 * paragraph.C: change several algorithm to be more appripriate for
8976 the problem domain. This is lookip in FontList and in the InsetList.
8978 2002-03-13 André Pönitz <poenitz@gmx.net>
8981 * LyXAction.C: remove unused LFUN_MATH_MACROARG
8983 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
8988 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8990 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8992 * Painter.C (display): anon helper function, adjust code for this
8994 (pixmap): remove function.
8996 * Painter.h: remove private display variable.
8998 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9000 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9002 * WorkArea.[Ch]: remove figinset_canvas cruft.
9004 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9006 * lyxtextclass.C (operator): add one item cache optimization.
9008 * bufferlist.h: doxy changes
9010 * bufferlist.C: ws changes
9012 * DepTable.[Ch] (ext_exist): place const in the right spot.
9014 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9016 (workAreaExpose): call resizeInsets when the with BufferView changes.
9017 (Dispatch): adjust for protectedBlank removal
9018 (specialChar): call updateInset if the insert went ok.
9020 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9021 specialChar instead.
9023 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9025 * BufferView.h: doxy change
9027 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9029 * lyxtextclass.C (operator[]): remove non-const version
9030 (defaultLayout): remove non-const version
9032 2002-03-12 Juergen Vigna <jug@sad.it>
9034 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9035 did resize the LyXText too.
9037 * buffer.C (readLyXformat2): set layout information on newly allocated
9040 * tabular.C (OldFormatRead): set layout information on the paragraph.
9042 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9044 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9046 2002-03-11 Juergen Vigna <jug@sad.it>
9048 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9050 (resizeCurrentBuffer): force also the insets to resize themselfes.
9051 (moveCursorUpdate): fixed up for InsetText.
9053 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9056 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9057 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9058 value of Dialogs::tooltipsEnabled().
9059 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9061 2002-03-08 Juergen Vigna <jug@sad.it>
9063 * BufferView_pimpl.C (updateInset): update inset inside inset also
9064 if it isn't inside theLockingInset().
9066 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9068 * buffer.C (asciiParagraph): redo some of the word and line length
9070 (getLists): look for Caption instead of caption.
9072 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9074 * buffer.C (Buffer): initialize niceFile to true
9077 (makeDocBookFile): make sure niceFile is true on exit
9079 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9081 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9083 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9085 * LyXSendto.C: remove.
9086 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9087 * lyx_gui.C: remove now-redundant comment.
9088 * ColorHandler.h: remove forward declaration of class WorkArea.
9089 * lyxfunc.C: remove #include "WorkArea.h".
9091 2002-03-07 Juergen Vigna <jug@sad.it>
9093 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9094 got moved away with the DEPM and also set the inset_owner always
9095 right which before could have been omitted.
9097 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9099 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9100 wanted layout is not found.
9102 2002-03-07 Juergen Vigna <jug@sad.it>
9104 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9106 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9108 * paragraph.C (breakParagraph): use default layout not layout of
9110 (Paragraph): clear ParagraphParameters.
9112 2002-03-06 Juergen Vigna <jug@sad.it>
9114 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9115 otherwise it would not be a valid lenght. Fixed a special case in
9116 the minipage compatibility read where we end the document with a
9119 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9120 was set as it could be 0 for InsetTexts first entry.
9122 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9124 * paragraph.C (writeFile): if layout is empty write out
9125 defaultLayoutName().
9127 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9128 file without named layout we set layout to defaultLayoutName().
9130 2002-03-06 Juergen Vigna <jug@sad.it>
9132 * CutAndPaste.C (copySelection): set layout for new paragraph.
9134 * text.C (prepareToPrint): leave ERT inset left aligned
9135 (leftMargin): don't indent paragraphs inside ERT insets
9137 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9139 * paragraph.C (breakParagraph): dont call clear do the work manually
9141 * paragraph.[Ch] (clear): remove function
9143 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9145 * paragraph.C (Paragraph): dont call clear, the work has already
9148 * lyxtextclass.C (operator): assert if n is empty
9150 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9151 work manually instead.
9153 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9155 * BufferView_pimpl.C: protect selectionLost against text == 0
9157 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9159 * text.C (breakParagraph): fix a setting layout to '0' problem.
9161 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9163 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9164 final location of file, for the included files, and graphics.
9166 2002-03-05 Juergen Vigna <jug@sad.it>
9168 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9170 2002-03-04 Juergen Vigna <jug@sad.it>
9172 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9174 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9175 last column of multicolumn cells.
9176 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9178 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9180 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9181 file if it doesn't go to a temporary file.
9183 * buffer.C (sgmlOpenTag):
9184 (sgmlCloseTag): remove extra newline insertion.
9186 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9188 * text.C (getRowNearY): comment out debug msg
9190 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9192 * text2.C: first -> first_y
9194 * text.C (getRowNearY): add some attemts at a possible
9195 optimization, not working.
9197 * tabular.[Ch]: add BufferParams to several function so that newly
9198 created paragraph can be initialized to he default layotu for the
9201 * tabular-old.C (ReadOld): add buf->params to call of Init
9203 * screen.C: rename text->first to text->first_y
9205 * paragraph.C (breakParagraph): always set layout in the broken
9208 * lyxtextclass.C (Read): remove lowercase
9211 (delete_layout): ditto
9213 * lyxtext.h: rename first -> first_y
9215 * lyxlayout.C (Read): remove lowercase
9218 (obsoleted_by): ditto
9220 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9222 * buffer.C (insertErtContents): add params are to InsetERT
9223 (parseSingleLyXformat2Token): add code to check if a paragraphs
9224 layout really exist.
9225 (parseSingleLyXformat2Token): add params to several inset
9227 (asciiParagraph): remove lowercase, do the layout comparisons with
9230 * BufferView_pimpl.C (cursorNext): first -> first_y
9231 (resizeCurrentBuffer): first -> first_y
9232 (updateScrollbar): first -> first_y
9233 (scrollCB): first -> first_y
9234 (workAreaMotionNotify): first -> first_y
9235 (workAreaButtonPress): first -> first_y
9236 (checkInsetHit): first -> first_y
9237 (cursorPrevious): first -> first_y
9238 (cursorNext): first -> first_y
9239 (Dispatch): add buffer_->params to severl inset contructors
9241 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9243 * lyxlayout.C (Read): remove some debug info that I forgot.
9245 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9246 clean up the code slightly.
9247 (makeLinuxDocFile): ditto
9248 (makeDocBookFile): ditto
9250 * text2.C: layout as string
9252 * text.C: layout as string
9254 * paragraph_pimpl.C: layout as string
9256 * paragraph.[Ch]: layout as string
9258 * lyxtextclasslist.[Ch]: layout as string
9260 * lyxtextclass.[Ch]: layout as string
9262 * lyxtext.h: layout as string
9264 * lyxlayout.[Ch]: layout as string
9266 * lyx_cb.C: layout as string
9268 * bufferview_funcs.C: layout as string
9270 * bufferparams.C: layout as string
9272 * buffer.C: layout as string
9274 * LyXView.[Ch]: layout as string
9276 * LaTeXFeatures.[Ch]: layout as string
9278 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9280 * BufferView_pimpl.C: change current_layout to string, remove
9285 (workAreaButtonRelease): layout as string
9287 * BufferView2.C (unlockInset): adjust
9289 * vspace.C (asLatexCommand): use an explict temp variable.
9291 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9293 * Makefile.am: use FRONTEND_*
9295 2002-03-01 Juergen Vigna <jug@sad.it>
9297 * tabular.C (SetWidthOfMulticolCell): changed to something better
9298 I hope but still work in progress.
9299 (recalculateMulticolumnsOfColumn): renamed function from
9300 recalculateMulticolCells as it is more appropriate now.
9301 (SetWidthOfCell): calculate multicols better.
9303 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9305 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9307 * lyxfunc.C (processKeySym): print sequence also if it is
9308 `deleted' (complete)
9310 * kbsequence.C (print): print sequence even if it is deleted
9311 (complete would be a better word, actually).
9313 * lyxfunc.C (dispatch): print complete options after a prefix key
9315 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9317 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9319 * text2.C (setCharFont): eliminate setCharFont code duplication.
9321 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9323 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9324 LFUN_TABULAR_FEATURE (bug #177)
9326 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9328 * Makefile.am: remove figure.h
9330 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9332 * Bufferview_pimpl.C:
9344 * text2.C: remove #include "lyx_gui_misc.h".
9346 * LaTeX.C: added #include <cstdio>
9348 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9350 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9351 that the paragraph following this one can have.
9353 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9355 * vspace.C (asLatexCommand): fix bogus gcc warning
9357 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9359 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9361 * text2.C (setLayout): get rid of redundant code
9363 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9365 * text2.C (incDepth): make sure depth cannot be increased beyond
9368 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9370 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9371 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9373 * PainterBase.h (image):
9374 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9377 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9381 * BufferView_pimpl.C:
9382 * BufferView_pimpl.h:
9402 * sp_spell.C: remove fig inset, and the crap house of
9403 cards that follows it
9405 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9411 * nt_defines.h: move .h into support/
9413 * vms_defines.h: remove
9415 * WorkArea.C: add space in debug output
9419 * buffer.C: add WITH_WARNINGS
9423 * bufferlist.C: s/retrive/retrieve/, add docs
9434 * lyxgui.C: add ID to X error handler
9436 * lyxtestclass.c: fix typo
9438 2002-02-26 Juergen Vigna <jug@sad.it>
9440 * tabular_funcs.C (write_attribute): changed so that some default
9441 attributes are not written at all.
9442 (getTokenValue): set default values before trying to read the
9443 value so we have the return value always set as default if we don't
9444 find the token we search for.
9446 * tabular.C (Write): write bools as bools not as strings!
9448 2002-02-22 Juergen Vigna <jug@sad.it>
9450 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9451 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9453 * text.C (leftMargin): don't add an indent for paragraphs inside
9454 tabular cells (fix #208).
9456 2002-02-21 José Matos <jamatos@fep.up.pt>
9458 * tabular.C (docBook): fixed support for long tables.
9460 2002-02-20 Juergen Vigna <jug@sad.it>
9462 * text2.C (getFont): get the drawing font of the Inset if this
9463 paragraph is inside an inset (only important for InsetERT for now).
9465 * buffer.C (insertErtContents): use new lanugage params in ERT
9468 * CutAndPaste.C: commenting out seemingly uneeded code.
9470 2002-02-19 Allan Rae <rae@lyx.org>
9472 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9473 Iterators might be simple to use but they also get invalidated.
9474 (removeAutoInsets): renamed saved cursor tracking variables and added
9475 some comments to clarify what everything does.
9477 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9484 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9485 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9488 * vc-backend.h: remove #include "support/syscall.h"
9492 * converter.C: rearrange #includes in Lars' approved fashion.
9494 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9495 forward declare class Timeout in the header file.
9497 * XFormsView.C: changes due to the above.
9499 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9502 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9503 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9505 2002-02-18 José Matos <jamatos@fep.up.pt>
9507 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9510 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9512 * a lot of small ws changes
9513 * add a lot of using std::XXX
9514 * use std construcs some places where approp.
9515 * use some exisint stuff from lyxfunctional where approp.
9516 * Make file changes to use partial linking (lets test this now...)
9518 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9522 remove #include "support/syscontr.h" as it's redundant. Always has been.
9530 change Systemcalls::System to Systemcalls::Wait and
9531 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9532 No change of functionality, just reflects the stripped down Systemcalls
9535 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9537 * debug.[Ch]: add a GRAPHICS type to the enum.
9539 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9541 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9543 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9546 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9548 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9549 match the changes below.
9551 * text2.C (toggleInset): if there is not editable inset at cursor
9552 position, try to see if cursor is _inside_ a collapsable inset
9555 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9557 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9558 document menu has a nice checkbox
9560 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9562 * lyxlength.C (asLatexString): change PW to output as percent of
9565 * lengthcommon.C: change '%' to 't%'
9567 * lyxfunc.C (dispatch): a few comments from Martin
9569 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9573 * BufferView_pimpl.h:
9574 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9577 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9579 * vspace.C (inPixels): fix compiler warning
9581 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9583 * lyxfunc.C (getStatus): fix status message for disabled commands.
9585 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9587 * BufferView_pimpl.C: fix crash on close buffer
9588 during selection (#227)
9590 2002-01-27 Herbert Voss <voss@lyx.org>
9592 * buffer.C: link old Figure to new graphic inset
9594 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9596 * FontLoader.C (getFontinfo): Change the latex font names in order
9597 to match the names of type1inst.
9599 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9601 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9603 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9606 (remove_files_with_extension): ditto
9607 (remove_file): ditto
9610 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9611 document is smaller than the work area height. Do not initialize
9612 static variables to 0.
9614 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9616 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9618 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9619 LFUN_LAYOUT_PARAGRAPHS.
9621 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9622 tabular. It is possible to provide a possible cell, which will
9623 typically be the actcell from the corresponding insettabular
9625 * lyxfunc.C (getStatus): small cleanup; disable
9626 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9629 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9631 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9633 * paragraph.C (startTeXParParams):
9634 (endTeXParParams): new methods. The LaTeX code to
9635 start/end paragraph formatting
9636 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9637 empty (fixes bug #200)
9639 * vspace.C (inPixels): adapt to the change below
9640 (inPixels): [later] more cleanups (remove unused variables)
9642 * lyxlength.C (inPixels): change to use a width and a height as
9645 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9647 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9648 Replaced with \paperwidth
9650 * DepTable.C (insert): add std:: qualifier
9652 2002-01-18 Allan Rae <rae@lyx.org>
9654 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9657 * text.C (drawInset): Turned out I didn't know enough about how
9658 rebreaking worked. This fixes most of the redraw problems. I see
9659 an occasional cursor trail when a line is broken now and the cursor
9660 placement can seem out by a few pixels also after a rebreak.
9662 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9664 * buffer.C (parseSingleLyXformat2Token): update because minipage
9665 width is now a LyXLength
9667 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9669 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9672 2002-01-17 Juergen Vigna <jug@sad.it>
9674 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9676 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9677 is set correctly and the inset is updated correctly.
9679 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9681 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9682 the beginning of the loop.
9684 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9686 * lyxrc.C: improve help for use_scalable_fonts
9688 2002-01-17 Allan Rae <rae@lyx.org>
9690 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9692 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9694 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9695 make sure to set their inset_owner to the right value (bug #171)
9697 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9700 * DepTable.C: Implement mtime checking to reduce time spent doing
9703 2002-01-16 Juergen Vigna <jug@sad.it>
9705 * tabular.C (GetAdditionalHeight): one of error fixed.
9707 * lyxrc.C (output): small fix in writing use_pspell.
9709 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9711 * sp_base.h: #include LString.h
9713 2002-01-16 Allan Rae <rae@lyx.org>
9715 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9716 Can someone check this please?
9718 * text.C (drawInset): It was possible that p.row would be removed by
9719 breakAgainOneRow upsetting a few other settings. There may be another
9720 small tweak possible by setting need_break_row = 0 when p.row has been
9721 removed but I don't know enough about the logic here.
9723 2002-01-15 Allan Rae <rae@lyx.org>
9725 * text.C (insertChar): removed conditional truism.
9727 * BufferView2.C (removeAutoInsets): More tweaks.
9728 cur_par_prev could be a stray pointer. Check for trailing empty line
9729 in case last line was cur_par and only had an error inset on it.
9731 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9733 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9736 * vc-backend.C (most methods):
9737 * exporter.C (Export):
9738 * converter.C (convert):
9740 * LyXSendto.C (SendtoApplyCB):
9741 * lyxfunc.C (dispatch):
9745 * lyx_cb.C (AutoSave):
9747 * BufferView_pimpl.C (MenuInsertLyXFile):
9748 * buffer.C (runChktex): use Buffer::filePath().
9750 * buffer.h: rename filename to filename_; rename filepath to
9751 filepath_ and make it private
9752 (filePath): new method
9754 * buffer.C (writeFile): use fileName()
9757 * lyx_main.C (init): fix starting of LyX when the binary is a
9758 link from so,ewhere else.
9760 * minibuffer.C: include <cctype> for isprint
9762 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9764 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9765 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9766 name clash with InsetCollapsable's width function.
9768 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9770 * lastfiles.C: include <iterator>
9772 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9774 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9777 * buffer.C (makeLaTeXFile): ditto.
9778 Also make loop operation more transparent.
9780 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9782 * ToolbarDefaults.C: remove trailing comma closing namespace.
9784 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9786 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9789 * trans.C (Load): comment out unused variable, allowed.
9791 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9793 * minibuffer.[Ch] (append_char): new method to recieve input from the
9794 drop-down completion browser. If a key was pressed, then recieve this
9795 char and append it to the existing string.
9796 (peek_event): modify the positioning data passed to the completion
9797 browser so that it can be placed above the minibuffer rather than below.
9798 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9800 * LyXAction.C (init): alloe error-next for readonly documents.
9802 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9805 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9807 * bufferlist.C (readFile): create the buffer _after_ checking that
9810 * lyxfunc.C (verboseDispatch): fix handling of arguments
9812 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9814 * lyxrc.C: use string::erase() instead of initializing to "".
9817 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9819 * BufferView_pimpl.h:
9820 * BufferView_pimpl.C:
9823 * text2.C: tell X when we have made a selection for copying
9825 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9827 * BufferView_pimpl.C (MenuInsertLyXFile):
9828 * lyxfunc.C (menuNew):
9830 (doImport): add shortcuts to directory buttons
9832 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9835 * lyxfunc.C (setStatusMessage):
9836 (getStatusMessage): new methods
9837 (getStatus):use setStatusMessage instead of setErrorMessage
9838 (dispatch): when function is disabled, set error message here
9839 [instead of in getStatus previously]
9841 * BufferView_pimpl.C (workAreaButtonRelease): update
9842 toolbar/menubar here too.
9844 2002-01-13 Allan Rae <rae@lyx.org>
9846 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9847 Now seems indestructible. Remaining task is to audit all other
9848 code affected by deleteEmptyParagraphMechanism. One small quirk
9849 left is that an empty document with an error in the preamble can
9850 be made to report an error but no error box appears. I don't know
9852 (removeAutoInsets): Improved comments.
9854 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9857 * Thesaurus.C: update for Aiksaurus 0.14
9859 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9861 * text2.C (firstParagraph): removed member function, all uses
9862 replaces with ownerParagraph
9863 (redoParagraphs): here
9865 (toggleAppendix): here
9866 * BufferView2.C (insertErrors): here
9867 (setCursorFromRow): here
9869 2002-01-13 Allan Rae <rae@lyx.org>
9871 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9872 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9873 There is still a way to segfault this although you may have to do this
9874 multiple times: Have an InsetERT with an unknown command in it.
9875 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9876 <down-arrow>, <Enter> again, View->DVI, BANG!
9878 * text2.C (setCursor):
9879 (deleteEmptyParagraphMechanism):
9880 * lyxtext.h (setCursor):
9881 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9882 Making use of the return value may help fix other bugs.
9884 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9886 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9888 * LyXView.C (updateMenubar): call MenuBar::update here
9889 (updateToolbar): but not here
9890 (showState): do not update toolbar/menubar
9892 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9893 should need to care about that.
9895 * lyxfunc.C (verboseDispatch): simplify a bit
9896 (getStatus): have a version which takes a pseudoaction, and
9897 another which requires a (kb_action,string).
9899 * LyXAction.C (retrieveActionArg): make it work also when action
9900 is not a pseudo-action.
9901 (getActionName): simplify a bit
9904 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9906 * lyxfunc.C (verboseDispatch): new families of methods with
9907 several ways to specify a command and a bool to indicate whether
9908 the command name and shortcut should be displayed in minibuffer
9909 (eventually, we could extend that to a finer bitmask like
9910 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9911 (dispatch): the pristine dispatch command which just, well,
9912 dispatchs! Note it still sets its result to minibuffer; I'm not
9915 * lyxfunc.h: remove setHintMessage
9917 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9919 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9921 * BufferView_pimpl.C (specialChar): delete new inset if we have
9922 not been able to insert it.
9924 * kbmap.C: revert to using int instead of kb_action, since all we
9925 are dealing with is pseudo-actions.
9927 * LyXAction.C (searchActionArg): change to return int instead of
9928 kb_action, since the result is a pseudoaction.
9930 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9932 * buffer.C (insertErtContents): Fix (partially) the font bug.
9934 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9936 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9937 as the other one is broken on my machine!
9939 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9942 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9944 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9946 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9947 reflect their actual use. Provide compatibility code for older lyxrc
9950 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9952 change names of popup font variables in line with the changes to lyxrc.C
9954 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9956 * buffer.C (asciiParagraph): avoid outputing a word twice after
9959 * lyxrc.C (getDescription): document that document_path and
9960 template_path can be empty.
9962 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9964 * LaTeXFeatures.C (getMacros):
9965 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9967 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9969 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9971 (getPackages): rename feature "floats" to "float". Use an array to
9972 iterate over 'simple' features (i.e. just a \usepackage). Add
9973 handling of "amsmath" (renamed from "amsstyle").
9975 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
9977 * LaTeXFeatures.C (require): Prevent duplicate entries in the
9980 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
9982 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9983 FuncStaus::FuncStatus & FuncStaus::some_method().
9985 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
9987 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9988 of the func_satus stuff. Edited and massaged in various ways by
9991 * lyxfunc.C (getStatus): use FuncStatus
9993 2002-01-08 Juergen Vigna <jug@sad.it>
9995 * text.C (nextBreakPoint): use function Inset::isChar().
9997 * paragraph.C (TeXOnePar): use function
9998 Inset::forceDefaultParagraphs.
10000 * buffer.C (latexParagraphs): use function
10001 Inset::forceDefaultParagraphs.
10003 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10005 * lyx_gui.C (init): set the style of the menu popups to
10006 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10008 2002-01-07 Juergen Vigna <jug@sad.it>
10010 * text.C (setHeightOfRow): small fix
10011 (prepareToPrint): don't look at alignment if we don't have the place
10014 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10016 * box.C: New file. Move the Box methods and functions out of box.h,
10017 following Lars' suggestion.
10019 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10021 * box.h: #include "support/LOstream.h", needed for inlined function.
10024 * lyxtextclasslist.C: added some using std declarations.
10026 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10028 * box.h: make signed dimensions to allow insets wider than
10029 the screen (bug #162)
10031 * BufferView_pimpl.C: add some insetHit debug
10033 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10035 * vc-backend.C: add FIXME
10037 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10039 * lyxfunc.C (getStatus): enable code for showing math font status
10042 2002-01-07 Juergen Vigna <jug@sad.it>
10044 * text.C (nextBreakPoint): removed debug output not needed anymore.
10046 2002-01-06 Juergen Vigna <jug@sad.it>
10048 * text.C (nextBreakPoint): fixed up this function we had this bug
10049 since ever but now hopefully we break row better.
10050 (insertChar): we have to check if an inset is the next char as it
10051 could now happen that a large inset is causing a break.
10053 2002-01-05 Juergen Vigna <jug@sad.it>
10055 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10056 if it doesn't like to be drawed.
10058 2002-01-04 Juergen Vigna <jug@sad.it>
10060 * BufferView2.C (lockInset): forgot to set a cursor.
10062 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10064 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10066 * FormMathsPanel.C:
10069 * form_maths_panel.C:
10070 * form_maths_panel.h:
10071 * form_maths_panel.fd: implemented sub- and super- buttons in math
10074 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10075 (or ^ space) to be used as in TeX (req'd by André).
10077 * lyxfunc.C: Allow ^ and _ again to be used both as
10078 super/subscript (mathed) and as themselves (in text).
10080 2002-01-03 Allan Rae <rae@lyx.org>
10082 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10083 "LyX" or the filename of the current buffer if it has one. This is a
10084 modified form of John Levon's patch.
10086 * XFormsView.C (setWindowTitle): also set icon title.
10088 * LyXView.h (setWindowTitle): signature changed.
10089 * XFormsView.h (setWindowTitle): ditto.
10091 2002-01-02 Juergen Vigna <jug@sad.it>
10093 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10095 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10097 * screen.C (topCursorVisible): introduce a temp var for
10098 text->cursor.row(), handle the case where this row is null. (kindo
10101 * text2.C (setCursor): add a couple of asserts.
10103 * paragraph.h (inset_iterator): add -> operator
10105 * paragraph.[Ch] (autoDeleteInsets): remove member function
10107 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10108 cursor pos correctly and handle inset deletion by itself.
10109 (insertErrors): move iterator declaration out of for expression
10111 * lyxtextclass.C: add <algorithm>
10113 * Makefile.am: added the new files to sources, removed layout.C
10115 * layout.C: removed file
10117 * layout.h: remove LYX_DUMMY_LAYOUT
10119 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10123 * lyxtextclass.[Ch]:
10124 * lyxtextclasslist.[Ch]: new files
10126 * include order changes to a lot of files, also changes because of
10129 2001-12-27 Juergen Vigna <jug@sad.it>
10131 * buffer.C (asciiParagraph): more fixes.
10133 * tabular.C (ascii): make ascii export support export of only the
10134 data separated by a column-delimiter.
10135 (ascii): better support for ascii export.
10137 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10139 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10141 * tabular_funcs.C: use a "using std::getline" instead of the
10142 previous fix from Angus (necessary for cxx + lyxstring)
10144 2001-12-24 Juergen Vigna <jug@sad.it>
10146 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10148 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10149 problems. First check a minipage also if we have some ert-contents
10150 (not only on par->size(), second set the right depth of the paragraph
10151 on the relink to the root-paragraph-list!
10153 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10154 which then did not anymore update the main paragraphs on undo/redo!
10156 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10158 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10159 code. Support all font-changing funcs (even those which are not in
10160 menu currently). Support for reporting font settings in
10161 mathed (disabled until Andre provides a function on mathed's side).
10163 * func_status.h (toggle): small helper function to set toggle
10166 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10168 * tabular_funcs.C: getline -> std::getline
10170 2001-12-21 Juergen Vigna <jug@sad.it>
10172 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10173 accessed and could be 0 (I couldn't generate this but it seems
10176 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10178 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10179 * tabular_funcs.h: here and include iosfwd
10181 2001-12-20 Juergen Vigna <jug@sad.it>
10183 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10184 inside inset but undo_par was.
10186 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10188 * Thesaurus.C: always include <config.h> in sources.
10192 * box.h: do not include <config.h> in header files
10194 * text.C (paintLastRow): remove unused variable
10196 * text.C (transformChar):
10198 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10200 * Painter.C (text):
10201 * font.C (width): rewrite to use uppercase() instead of
10204 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10206 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10208 * lyxfind.C: clean up of find failure position change
10210 2001-12-20 Juergen Vigna <jug@sad.it>
10212 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10214 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10215 (TeXRow): added to LaTeX a single tabular row.
10216 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10217 (Latex): simplified and finally good LT-h/f support.
10218 (various_functions): just small adaptions for LT-h/f support.
10220 * tabular_funcs.[hC]: added and moved here all not classfunctions
10223 2001-12-19 Juergen Vigna <jug@sad.it>
10225 * tabular.[Ch]: better support for longtabular options (not finished
10228 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10230 * text.C (paintLastRow): use the label font instead of the font of
10231 the last character to compute the size of *_BOX. This makes more
10232 sense and avoids a crash with empty paragraphs.
10233 Use Painter::rectangle to draw EMPTY_BOX.
10235 2001-12-19 Juergen Vigna <jug@sad.it>
10237 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10238 the paragraphs if the replaced paragraph is not the first one!
10239 Tried to delete not used paragraphs but does not work yet so for
10240 now it's inside #ifdef's and by default off!
10242 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10244 * MenuBackend.C: include "lyx_main.h" instead of declaring
10245 lastfiles (actually was declared as LastFiles* instead of a
10248 2001-12-17 Juergen Vigna <jug@sad.it>
10250 * tabular.C (AppendColumn): applied John's fix
10252 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10256 * BufferView_pimpl.h:
10257 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10260 * box.h: new start of class for above
10262 * lyxfunc.C: ignore space-only minibuffer dispatches.
10263 Show the command name when it doesn't exist
10265 * minibuffer.C: don't add empty lines to the history
10267 * minibuffer.C: add a space on dropdown completion
10269 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10271 * text.C: fix line above/below drawing in insets
10273 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10275 * lyxlength.C (LyXLength): Initialize private variables.
10277 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10279 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10280 when inserting error insets.
10282 2001-12-13 Juergen Vigna <jug@sad.it>
10284 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10285 actually sometimes the before-paragraph.
10286 (setUndo): don't clear the redostack if we're not actually undoing!
10288 2001-12-06 Juergen Vigna <jug@sad.it>
10290 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10291 and fixed redoing of main paragraph, so we can use it now ;)
10293 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10295 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10297 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10300 2001-12-13 André Pönitz <poenitz@gmx.net>
10303 * undo_func.C: minor cleanup
10305 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10307 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10308 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10309 font in urw-fonts package which is marked as -urw-fontspecific and
10310 does not work (incidentally, changing the encoding in the
10311 fonts.dir of this package to -adobe-fontspecific fixes the
10314 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10315 is a crash when undoing first paragraph (Juergen, please take a
10316 look). THis does not mean the undo fix is wrong, just that it
10319 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10320 the (Paragraph*) version when needed instead of duplicating the
10323 * text.C (workWidth): use Inset::parOwner to find out where the
10324 inset has been inserted. This is a huge performance gain for large
10325 documents with lots of insets. If Inset::parOwner is not set, fall
10326 back on the brute force method
10328 * paragraph_pimpl.C (insertInset):
10329 * paragraph.C (Paragraph):
10330 (cutIntoMinibuffer): set parOwner of insets when
10331 inserting/removing them
10333 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10335 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10341 * mathed/formulabase.C:
10342 * mathed/math_cursor.[Ch]:
10343 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10346 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10348 * lyxlength.[Ch] (operator!=): new function
10350 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10352 * text.C (workWidth): use Inset::parOwner to find out where the
10353 inset has been inserted. This is a huge performance gain for large
10354 documents with lots of insets. If Inset::parOwner is not set, fall
10355 back on the brute force method
10357 * paragraph_pimpl.C (insertInset):
10358 * paragraph.C (Paragraph):
10359 (cutIntoMinibuffer): set parOwner of insets when
10360 inserting/removing them
10362 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10364 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10366 * tabular-old.C (getTokenValue):
10367 * tabular.C (getTokenValue):
10368 (write_attribute): new versions for LyXLength
10369 (everywhere): adjust the use of widths
10371 * tabular.h: change the type of widths from string to LyXLength
10373 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10375 * paragraph.C: fixed missing line number count when exporting
10376 Environments to LaTeX file
10378 * buffer.C: added informational message for checking line numbers.
10380 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10382 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10383 paragraph, do the 'double space' part, but not the 'empty
10386 * text.C (workWidth): small optimization
10387 (getLengthMarkerHeight): use minimal size for negative lengths.
10389 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10391 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10393 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10395 2001-12-11 André Pönitz <poenitz@gmx.net>
10398 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10400 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10402 * text2.C: keep selection on a setFont()
10404 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10406 * lyx_cb.C: another bv->text misuse, from insert label
10408 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10411 * kbsequence.C: re-instate nmodifier mask
10413 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10415 * lyx_main.h: make lyxGUI private.
10417 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10419 * lyxfind.C: place the cursor correctly on failed search
10421 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10423 * text.C (getLengthMarkerHeight): for small heights, the arrows
10424 are not always on top/bottom of the text
10425 (drawLengthMarker): smaller arrows; take the left margin in
10426 account; draw also vfills.
10428 (paintLastRow): remove special code for vfill and standard spaces,
10429 since everything is handled in drawLengthMarker now.
10431 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10433 * buffer.C (insertErtContents): try to handle font and language
10434 interaction a bit better.g
10436 * ColorHandler.C (updateColor): change the hash to cover the whole
10437 LColor enum, ws cleanup
10438 (getGCLinepars): ditto
10439 (getGCLinepars): only lookup in the linecache once.
10441 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10443 * iterators.C (operator++): Make the iterator more robust
10445 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10447 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10449 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10452 * text.C: better added space drawing
10454 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10457 * BufferView2.C: fix layout combo update on inset unlock
10459 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10461 * Makefile.am: don't compile unused files
10463 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10467 * LyXAction.C: remove old LFUN_LAYOUTNO
10469 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10471 * paragraph_pimpl.h:
10472 * paragraph_pimpl.C: isTextAt() doesn't need font param
10474 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10477 * lyxlex.C: little cleanup
10479 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10481 * BufferView_pimpl.C: fix insertAscii for insets
10483 2001-12-05 Juergen Vigna <jug@sad.it>
10485 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10486 set the right font on the "multi" paragraph paste!
10488 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10494 * lyxlength.C: remove out-commented code.
10496 * BufferView_pimpl:
10510 * vc-backend.C: change "while(" to "while ("
10512 * lyxlength.[Ch]: add zero function to check if length is zero or
10514 * lyxgluelength.C: use it
10516 2001-12-05 Allan Rae <rae@lyx.org>
10518 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10519 Works for 2.95.3, from what I understand of Garst's reports this should
10520 work for other g++ versions. We're screwed if the abs(int) definition
10521 changed between bugfix releases of gcc.
10523 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10525 * text.C: fix chapter label offset !
10527 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10530 * text.C: fix hfill at end of line, clean up
10532 2001-12-04 Juergen Vigna <jug@sad.it>
10534 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10535 that we force an update of the inset and it's owners if neccessary.
10537 2001-12-03 Juergen Vigna <jug@sad.it>
10539 * text.C (rowLast): simplified code
10541 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10543 * lyxfunc.C: fix show options on timeout
10545 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10547 * screen.C (topCursorVisible): scroll half a page when the cursor
10548 reached top of bottom of screen
10550 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10552 * minibuffer.C: deactivate on loss of focus
10554 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10556 * vspace.[Ch] (operator!=): add operator.
10558 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10560 * BufferView_pimpl.C: refuse to open an inset when
10561 there's a selection.
10563 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10565 * BufferView_pimpl.C: allow to click on RHS of full row insets
10567 2001-11-30 Juergen Vigna <jug@sad.it>
10569 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10570 insets for undo reasons.
10572 2001-11-28 André Pönitz <poenitz@gmx.net>
10574 * vspace.[Ch]: cosmetical changes
10576 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10586 * kbsequence.C: part re-write of old kb code
10589 * WorkArea.C: remove Lgb_bug_find_hack
10591 2001-11-30 José Matos <jamatos@fep.up.pt>
10593 * buffer.C (makeDocBookFile): add a comment to point a hack.
10594 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10595 Fixed a double write of labels.
10597 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10600 * LaTeX.h Fixed bug in LaTeX class where it would not
10601 re-run latex if no depfiles were changed, but the .dvi was removed.
10603 2001-11-28 André Pönitz <poenitz@gmx.net>
10605 * all the files from the change on 2001/11/26:
10606 use lyx::layout_type instead of LyXTextClass::size_type
10607 use lyx::textclass_type instead of LyXTextClassList::size_type
10609 2001-11-29 Juergen Vigna <jug@sad.it>
10611 * text.C: added support for paragraph::isFreeSpacing()
10613 * buffer.C: same as above
10615 * paragraph.h: inserted isFreeSpacing() function to enable
10616 FreeSpacing inside InsetERT.
10618 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10619 of the paragraph's in the cut/copy buffer to 0!
10621 * text2.C (removeRow): remove the assert as it can!
10623 * lyxtext.h: added helper function firstRow returning firstrow and
10624 made firstrow private again.
10626 * BufferView2.C (lockInset): don't relock if we're already locked!
10628 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10629 the only paragraph.
10630 (removeRow): added Assert::(firstrow)
10632 * debug.C: forgot to add INSETTEXT here.
10634 2001-11-28 Juergen Vigna <jug@sad.it>
10636 * sp_spell.C (initialize): changed error text to more general
10637 spellchecker command use (not only ispell!)
10639 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10641 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10643 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10645 * vspace.C: initialise lyxgluelength on failure
10647 2001-11-28 Allan Rae <rae@lyx.org>
10649 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10650 declaration & definition that looks like a function declaration.
10652 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10654 * BufferView2.C (copy):
10655 (copyEnvironment): do not clear the selection when doing a copy.
10657 * text.C (paintFirstRow): compilation fix
10659 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10661 * tabular.C (Latex): correct line count when writing latex.
10663 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10665 * paragraph_pimpl.h:
10666 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10669 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10673 * LColor.C: change vfillline->added_space
10675 * text.C: add markers and text for added space
10677 * vspace.C: fix comment
10679 2001-11-28 André Pönitz <poenitz@gmx.net>
10681 * paragraph.C: whitespace changes
10682 * all the other files from the change on 2001/11/26:
10683 change *::pos_type into lyx::pos_type
10685 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10687 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10688 language of the document when inserting error insets.
10690 2001-11-26 André Pönitz <poenitz@gmx.net>
10692 * BufferView_pimpl.[Ch]:
10700 * paragraph_pimpl.[Ch]:
10703 * text2.C: reduce header dependencies, introduce type for positions
10705 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10707 * <various>: change to use Alert.h
10709 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10711 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10712 when encountering an unknown token.
10713 (readLyXformat2): Show an error message if there were unknown tokens.
10715 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10718 * BufferView_pimpl.C:
10722 * text2.C: use par->isInset()
10724 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10726 * paragraph_pimpl.h:
10727 * paragraph_pimpl.C: cleanup
10729 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10731 * text2.C (removeRow):
10732 * text.C (setHeightOfRow): remove useless (and costly) call to
10735 2001-11-20 Allan Rae <rae@lyx.org>
10737 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10738 Now need Inset*::checkInsertChar() to return true for appropriate
10739 cases so that the characters in the minibuffer will actually be
10742 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10744 * text.C: change the order of the includes.
10745 (workWidth): initialize it at once.
10746 (workWidth): make maxw unsigned
10747 (setHeightOfRow): remove unused variable (inset)
10748 (selectSelectedWord): remove unused variable (inset)
10749 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10751 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10753 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10754 server is not running.
10756 (closeConnection): add debug info when server is disabled.
10758 * ColorHandler.C (getGCForeground): send debug message to GUI
10761 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10763 * kbmap.C (bind): modify because return conventions of
10764 kb_sequence::parse have changed.
10766 * kbsequence.C (parse): only ignore spaces and not any stupid
10767 control character. This avoids tests like s[i] <= ' ', which are
10768 guaranteed to fail with 8bit characters and signed chars.
10769 Change return code to string::npos when there have been no error
10770 (0 was a bad idea when error is at first character)
10772 2001-11-14 José Matos <jamatos@fep.up.pt>
10775 * buffer.C (simpleDocBookOnePar): removed unused argument.
10777 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10779 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10780 insets which are part of a word. Paragraph::isLetter takes care of
10781 that now. Use Paragraph::isInset to identify insets.
10782 (selectSelectedWord): do not test for hyphenation break.
10784 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10785 that protected spaces are considered as spaces.
10787 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10790 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10793 * lyxserver.C: fix it. and small cleanup.
10795 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10797 * BufferView_pimpl.C: use inline helpers
10800 * LaTeXFeatures.C: fix typos
10803 * Spacing.C: move spacing_string into class
10805 * ToolbarDefaults.C: move stuff into namespace anon
10807 * layout.h: update enum
10809 * lyxfunc.C: use better debug
10811 * minibuffer.h: fix typo
10815 * WorkArea.C: add and use Debug::WORKAREA
10819 * text2.C: code re-organisation, inline helpers
10821 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10823 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10824 std::vector.empty().
10826 2001-11-09 Allan Rae <rae@lyx.org>
10828 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10829 '\n's after tables. Tabular and ERT inset work now makes this no
10832 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10835 * minibuffer.C: fix crash, improve drop-down completion
10837 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10840 * lyxserver.C: invalidate fd's when doing endPipe()
10842 2001-11-08 José Matos <jamatos@fep.up.pt>
10844 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10845 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10848 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10850 2001-11-07 José Matos <jamatos@fep.up.pt>
10853 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10856 * buffer.C (sgmlOpenTag):
10857 * buffer.C (sgmlCloseTag): removed debug info.
10859 * buffer.h (sgmlOpenTag):
10860 * buffer.h (sgmlCloseTag): made public.
10862 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10864 * buffer.C (saveParamsAsDefaults):
10865 * lyx_cb.C (MenuLayoutSave): remove
10867 * LyXAction.C (init):
10869 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10871 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10873 * buffer.C (setPaperStuff): removed from here...
10875 * bufferparams.C (setPaperStuff): ... and moved there.
10877 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10881 * XFormsView.C: add support for drop-down completion
10883 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10885 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10888 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10890 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10893 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10895 * lyx_main.C: change ref to known bugs
10897 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10899 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10900 to work around older babel problems.
10902 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10904 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10906 2001-10-24 Juergen Vigna <jug@sad.it>
10908 * tabular-old.C (ReadOld): below variable changes reflected.
10910 * tabular.[Ch]: added ltType struct for longtable header/footer
10911 defines and changed all instances where they are used. Added
10912 future support for double top/bottom rows.
10914 2001-10-24 José Matos <jamatos@fep.up.pt>
10916 * buffer.h (docbookHandleCaption):
10917 * buffer.C (docbookHandleCaption): removed unused function.
10918 (makeDocBookFile): moved docbook supported version to v4.1.
10920 2001-10-24 José Matos <jamatos@fep.up.pt>
10923 * tabular.C (docbookRow): new function to export docbook code of a row.
10924 (DocBook): now honors the longtable flags.
10926 2001-10-23 José Matos <jamatos@fep.up.pt>
10929 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10930 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10932 * buffer.C (makeLinuxDocFile):
10933 (makeDocBookFile): reworked the preamble, more clean, and with
10934 support for lyx defined entities. Changed the document declaration
10935 to be more XML friendly.
10937 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10938 if we need to output XML that should be done with a filter.
10940 2001-10-22 Juergen Vigna <jug@sad.it>
10942 * sp_pspell.h (class PSpell): add alive function needed in the
10943 controller to see if the spellchecker could be started.
10945 2001-10-22 Juergen Vigna <jug@sad.it>
10947 * buffer.C (insertStringAsLines): modify the font for inserting
10948 chars in certain conditions by calling checkInsertChar(font).
10950 2001-10-19 Juergen Vigna <jug@sad.it>
10952 * text.C (workWidth): use getRow instead of wrong algorithm.
10953 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10955 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10960 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10962 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10964 * text.C (workWidth): do not search for the exact row when
10965 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10966 optimization for big documents.
10968 2001-10-18 Juergen Vigna <jug@sad.it>
10970 * text.C (workWidth): new function with added Inset * parameter.
10972 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10974 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10976 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10977 change return type of getColumnNearX.
10980 * text.C (changeRegionCase): use uppercase/lowercase instead of
10983 (rightMargin): simplify code by factoring out the uses of
10988 (appendParagraph): use Paragraph::size_type
10990 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10992 * vspace.C (asLatexString): add a missing break
10994 2001-10-15 Herbert Voss <voss@perce.de>
10996 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10998 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11000 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11003 2001-10-10 André Pönitz <poenitz@gmx.net>
11005 * lyxfunc.C: removed greek_kb_flag.
11007 2001-10-10 Herbert Voss <voss@perce.de>
11009 * lyx_main.C: delete global string help_lyxdir.
11011 2001-10-09 Herbert Voss <voss@perce.de>
11013 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11015 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11017 * lyx_main.C: added global string help_lyxdir.
11019 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11021 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11023 * lyxrc.C (set_font_norm_type): support iso8859-4
11025 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11027 * LaTeX.C (deplog): add another regex for MikTeX
11029 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11031 * lyxrc.C (set_font_norm_type): support iso8859-3
11033 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11035 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11037 * LaTeXFeatures.C: remove special case of french and index
11039 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11040 before \begin{document}). This solves several incompatibilities.
11042 2001-10-03 Garst Reese <reese@isn.net>
11044 * lyx_cb.C: change CheckTex error msg.
11046 2001-10-03 José Matos <jamatos@fep.up.pt>
11048 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11050 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11052 * .cvsignore: update
11054 * lyx_main.C (commandLineVersionInfo): use new style version info.
11056 * buffer.C (writeFile):
11058 (makeLinuxDocFile):
11059 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11061 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11063 * version.h: update to use stuff in version.C
11065 * version.C.in: new file. Contains version information determined
11066 at compile time. This is a merging of version.h and
11069 2001-10-03 Juergen Vigna <jug@sad.it>
11071 * BufferView_pimpl.C (update): don't change "dirty" status in
11074 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11076 * WorkArea.C (c-tor): re-position version string slightly.
11078 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11080 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11081 revert to previous code.
11083 WorkArea.[Ch]: (show, destroySplash): methods removed.
11085 WorkArea.C: rework code so that it's an amalgam of the codes before and
11086 after the splash screen was moved to WorkArea.
11088 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11091 * vspace.C (inPixels):
11094 * buffer.C (insertStringAsLines):
11095 (asciiParagraph): fix types to be large enough
11097 * lyxlex_pimpl.h: change member status from short to int
11099 * layout.h: fix type of endlabeltype
11102 * kbsequence.C (parse): change return type to string::size_type
11104 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11107 * Bullet.C (bulletSize):
11108 (bulletEntry): do not use short ints as parameters
11110 * BufferView2.C (insertLyXFile): change a char to an int.
11112 * WorkArea.C (WorkArea): remove unneeded floats in computation
11114 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11116 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11118 * paragraph.C (asString): Do not ignore newline/hfill chars when
11119 copying to the clipboard.
11121 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11123 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11124 after a multi-line inset.
11126 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11128 * paragraph.C (validate): Set NeedLyXFootnoteCode
11130 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11132 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11133 and decrease-error to decrease.
11135 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11137 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11138 it more readable (should be equivalent)
11140 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11142 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11144 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11146 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11147 of a cursor (row, etc.) after a character has been deleted
11148 (deleteEmptyParagraphMechanism): call the method above on _all_
11149 cursors held by the LyXText when a double space has been
11152 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11154 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11156 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11158 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11159 background. Use greyOut() and the new show() methods to toggle between
11160 the foreground and background. Add code to remove the splash after
11161 its initial showing.
11163 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11164 (create_forms): no longer call Dialogs::showSplash.
11166 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11168 * .cvsignore: add version_info.h
11170 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11172 * version_info.h.in: new file
11174 * Makefile.am: add version_info.h.in
11176 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11177 version_info.h instead of VERSION_INFO
11179 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11181 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11182 The ERT inset now returns string().
11184 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11186 * lyxtext.h, text.C (selectNextWord): renamed as
11187 selectNextWordToSpellcheck.
11189 * text.C (selectNextWordToSpellcheck): Modified to not select
11190 words inside an ERT inset.
11192 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11194 * lyx_cb.C (MenuLayoutSave): change a bit the question
11196 * sp_base.h: include <sys/types.h>
11198 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11200 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11202 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11204 * several files: fix typos in user-visible strings
11206 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11208 * text2.C (pasteSelection): do not set the selection, since it
11209 will be cleared later. Actually, the intent was to fix the way the
11210 selection was set, but I figured rmoving the code was just as good.
11212 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11214 * FontLoader.C (available): Check if font is available without
11217 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11219 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11221 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11223 * lyxrc.[Ch]: added display_graphics variable and associated code.
11225 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11227 * bufferparams.C (hasClassDefaults): new method. Returns true if
11228 the buffer parameters correspond to known class defaults
11230 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11232 * XFormsView.C (show): set minimum size to the main window.
11234 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11236 * text2.C (copySelection):
11238 * lyxfind.C (LyXReplace):
11239 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11240 LyXText::selectionAsString.
11242 * paragraph.C (asString): add "label" argument to the second form
11244 * text2.C (selectionAsString): add "label" argument and pass it to
11245 Paragraph::asString.
11247 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11249 * lyx_main.C (commandLineHelp): remove version information
11251 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11253 * lyx_main.C: add -version commandline option
11255 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11257 * paragraph.h: make the optional constructor arg required instead.
11258 some modifications to other files because of this.
11260 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11262 * lyxserver.C (C_LyXComm_callback): make it static
11264 * lyx_main.C (error_handler): make it static
11266 * lyx_gui.C (LyX_XErrHandler): make it static
11268 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11270 * WorkArea.C: make the extern "C" methods static.
11272 * Makefile.am (lyx_LDADD): simplify
11274 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11276 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11277 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11279 * LyXAction.C (init):
11280 * lyxfunc.C (dispatch): associated code removal.
11282 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11284 * lyxfont.h (isSymbolFont): shut off warning
11286 * text.C (setHeightOfRow):
11287 (getVisibleRow): fix crash with empty paragraphs which have a
11290 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11292 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11295 2001-09-04 José Matos <jamatos@fep.up.pt>
11298 * tabular.C (docbook): rename docBook method to docbook.
11300 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11302 * Makefile.am: add dependencies to main.o.
11304 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11306 * FontLoader.C (available): Return false if !lyxrc.use_gui
11308 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11310 * FontInfo.C (query):
11311 * converter.C (view):
11312 * importer.C (Import):
11313 * exporter.C (Export): Can not -> cannot.
11315 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11317 * BufferView_pimpl.C: allow to create index inset even if
11320 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11322 * buffer.C (getLists): replace boost::tie code with an explicit pair
11323 as boost::tie can break some compilers.
11325 * iterators.h: Added a std:: declaration to the return type of
11328 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11330 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11333 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11335 * iterators.[Ch]: New files. Provide paragraph iterators.
11337 * buffer.C (changeLanguage): Use paragraph iterators.
11338 (isMultiLingual): ditto
11340 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11342 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11344 * FontLoader.C: Support for cmr font.
11346 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11348 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11349 (available): New method.
11351 * FontInfo.C (getFontname): Use scalable fonts even when
11352 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11355 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11357 * converter.C (Formats::view): reverted! Incorrect fix.
11359 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11361 * converter.C (Formats::view): only output the -paper option
11362 if the dvi viewer is xdvi, thereby fixing bug #233429.
11364 2001-08-23 Herbert Voss <voss@perce>
11366 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11368 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11370 * Spacing.h (Spacing): Set space to Default on in the default
11373 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11375 * vc-backend.h (RCS::versionString): add RCS to version
11376 (CVS::versionString): add CVS to version
11378 * vc-backend.C (scanMaster): do not add CVS to version.
11379 (scanMaster): do not add RCS to version
11381 * lyxvc.C (versionString): new method
11383 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11385 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11387 * Spacing.C (set): initialize fval
11389 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11391 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11394 2001-08-16 Juergen Vigna <jug@sad.it>
11396 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11398 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11400 * BufferView_pimpl.C:
11403 * text2.C: setParagraph takes linespacing now
11405 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11407 * LyxAction.C: add internal LFUN_CITATION_INSERT
11409 * LyXView.C: actually apply fix
11411 * bufferlist.C: fix open non-existent file
11413 * lyxfind.C: fix indentation
11415 * lyxfunc.C: remove unneeded assert, fix typo
11417 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11419 * MenuBackend.C: use "Floatname List"
11421 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11423 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11424 when converting LaTeX layout to insetERT.
11425 Generate a non-collapsed float when reading old float
11427 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11429 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11432 2001-08-13 Juergen Vigna <jug@sad.it>
11434 * text.C (fill): return 0 instead of 20 as this seems to be the more
11437 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11439 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11442 2001-08-13 Juergen Vigna <jug@sad.it>
11444 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11446 (SearchBackward): comment out the unlocking of the inset_owner this
11447 should not be needed!
11449 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11451 * Many files: Remove inherit_language, and add latex_language
11453 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11454 collapsible insets.
11456 2001-08-10 Juergen Vigna <jug@sad.it>
11458 * text.C (prepareToPrint): fixed hfill-width in draw!
11460 * BufferView2.C (selectLastWord): save the selection cursor as this
11461 now is cleared in the function LyXText::clearSelection!
11463 2001-08-08 Juergen Vigna <jug@sad.it>
11465 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11466 BACKSPACE type functions.
11468 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11469 is only cutted from the document but not put in the cut-buffer, where
11470 still the old stuff should be.
11472 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11474 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11476 * tabular.C (SetWidthOfCell): fixed special case where the width
11478 (LeftLine): handle '|' in align_special.
11480 (LeftAlreadyDrawed): ditto
11481 (SetWidthOfCell): ditto
11483 2001-08-07 Juergen Vigna <jug@sad.it>
11485 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11487 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11489 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11490 * lyxlex.[hC]: ditto
11492 2001-08-06 Juergen Vigna <jug@sad.it>
11494 * text.C (getVisibleRow): fix up row clearing a bit.
11496 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11498 * minibuffer.C: make sure the X server sees the changes in the input.
11500 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11502 * paragraph.C (getFont): split into...
11503 (getLabelFont): this
11504 (getLayoutFont): and this
11505 * paragraph_pimpl.C (realizeFont): calling this
11507 * text2.C (getFont): split into...
11508 (getLayoutFont): this
11509 (getLabelFont): and this
11510 (realizeFont): all three calling this
11512 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11515 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11517 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11519 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11521 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11522 layouts from the Quote inset insertion.
11524 2001-08-03 Juergen Vigna <jug@sad.it>
11526 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11528 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11529 only if status not is already CHANGED_IN_DRAW (second level).
11531 * text.C (draw): don't set the need_break_row when inside an
11534 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11536 * buffer.C (parseSingleLyXformat2Token): handle more latex
11539 * bufferview_funcs.[hC]: change function names to
11540 begin with small char, adjust other files.
11542 2001-08-02 André Pönitz <poenitz@gmx.net>
11545 BufferView_pimpl.C: remove broken special code for math-greek
11547 2001-08-02 Juergen Vigna <jug@sad.it>
11549 * BufferView_pimpl.C (update): redone this function so that we
11550 update the text again if there was a CHANGE_IN_DRAW.
11552 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11553 (drawFromTo): added a new internal bool which is used by draw() and
11555 (general): some cursor drawing problems fixed.
11557 2001-08-01 Juergen Vigna <jug@sad.it>
11559 * lyxfind.C (LyXFind): fixed
11560 (SearchForward): ditto
11561 (SearchBackward): ditto
11563 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11564 spurius drawing of the cursor in the main area.
11566 * text2.C (status): small fix which could lead to a segfault!
11567 (clearSelection): remove unneeded BufferView param.
11569 2001-08-01 André Pönitz <poenitz@gmx.net>
11571 * lyxfunc.C: small change due to changed mathed interface
11573 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11575 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11577 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11579 * lyxfunc.c: fail gracefully if file doesn't exist
11584 * BufferView_pimpl.C: IsDirWriteable() proto changed
11586 * LyXView.C: fix updateWindowTitle() to store the last title
11588 2001-07-31 Juergen Vigna <jug@sad.it>
11590 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11591 the font (wrong since using of Paragraph::highestFontInRange).
11593 * paragraph.C (highestFontInRange): added a default_size parameter.
11595 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11596 (setHeightOfRow): reformat
11598 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11600 * converter.[hC] + affected files: move to (inital-char)lowercase
11603 * ParagraphParameters.C (ParagraphParameters): remove commented code
11605 * PainterBase.[Ch]: remove commented code
11607 * LaTeXFeatures.h: add "bool floats" for float.sty
11609 * LaTeXFeatures.C (LaTeXFeatures): init floats
11610 (require): handle float
11611 (getPackages): do it with floats
11613 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11615 * BufferView_pimpl.C (Dispatch): improve handling of
11616 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11618 * commandtags.h: #include lyxfont.h here temporarily to avoid
11621 * bufferlist.h: include LString.h here.
11623 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11625 * text2.C (getStringToIndex): new method.
11627 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11629 * *: Reduced header file dependencies all over.
11631 2001-07-30 Baruch Even <baruch@lyx.org>
11633 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11635 2001-07-29 Baruch Even <baruch@lyx.org>
11637 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11639 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11641 * ParameterStruct.h (endif): add a default constructor to make
11642 sure that all variables is initialized.
11644 * ParagraphParameters.C (ParagraphParameters): adjust
11646 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11648 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11649 index; also, check that there is something to index, and that it
11650 does not span over several paragraphs.
11651 (doubleClick): use WHOLE_WORD_STRICT for double click.
11653 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11655 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11658 2001-07-26 Baruch Even <baruch@lyx.org>
11660 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11661 an InsetFig figure, backwards compatible reading of old figure code.
11663 2001-07-27 Juergen Vigna <jug@sad.it>
11665 * text2.C: font.realize function adaption.
11667 * text.C (draw): add a warnings lyxerr text if needed.
11669 * layout.C: font.realize function adaption.
11671 * language.C: add inherit_language and implement it's handlings
11673 * bufferview_funcs.C (StyleReset): remove language parameter from
11674 font creation (should be language_inherit now).
11676 * bufferparams.C (writeFile): handle ignore_language.
11678 * paragraph.C (getFontSettings): the language has to be resolved
11679 otherwise we have problems in LyXFont!
11681 * lyxfont.C (lyxWriteChanges): added document_language parameter
11682 (update): removed unneeded language parameter
11684 * paragraph.C (validate): fixed wrong output of color-package when
11685 using interface colors for certain fonts in certain environments,
11686 which should not seen as that on the final output.
11688 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11690 * BufferView_pimpl.C:
11695 * LyXAction.C: add thesaurus support
11698 * lyxfind.C: add "once" parameter, for thesaurus, to not
11699 move to the next match
11701 2001-07-26 Juergen Vigna <jug@sad.it>
11703 * lyxfont.C (realize): honor ignore_language too!
11706 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11708 * text.C (draw): one place more for ignore_language to not draw
11711 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11713 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11715 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11717 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11718 the minipage conversion problem.
11720 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11722 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11725 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11727 * BufferView.h: don't forward declare WorkArea
11729 * BufferView.C: don't include WorkArea.h
11731 2001-07-25 André Pönitz <poenitz@gmx.net>
11735 * lyxfunc.C: new LFUN 'math-space'
11737 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11739 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11741 * text2.C (toggleInset): call open/close
11743 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11745 * lyxfunc.C (dispatch): add debug for the disabled case
11747 * font.C (buttonText): make similar to rectText
11749 * buffer.C (readInset): comment out parsing of insetlist and
11752 * PainterBase.C (rectText): small correction
11754 * BufferView_pimpl.C: comment out insettheorem and insetlist
11755 * LyXAction.C: ditto
11756 * commandtags.h: ditto
11758 2001-07-24 Juergen Vigna <jug@sad.it>
11760 * text.C (draw): honor the ignore_language.
11762 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11764 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11766 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11769 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11771 * lyxtext.h: remove unused (and unimplemented) methods
11773 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11775 * text.C (getVisibleRow): honor background color
11778 * Painter.h: remove default color argument for fillRectangle
11780 * text.C (backgroundColor): new method
11782 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11784 * text.C (getVisibleRow): adjust
11786 * font.[Ch] (rectText): new method, metrics
11787 (buttonText): new method, metrics
11789 * PainterBase.[hC]: make rectText and buttonText always draw and take
11792 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11794 * ToolbarDefaults.C (read):
11795 * MenuBackend.C (read): allow escaping in all strings
11797 * BufferView_pimpl.C (insertAndEditInset): new method.
11798 (Dispatch): use insertAndEditInset whenever appropriate.
11800 * BufferView_pimpl.C (insertNote): removed
11802 * BufferView_pimpl.C (smartQuote): new method, moved from
11803 BufferView; if an insetquote cannot be inserted, insert a '"'
11806 * BufferView2.C: remove insertCorrectQuote();
11808 * lyxfunc.C (getStatus): Add support for all remaingin
11809 inset-insert lfuns.
11811 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11813 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11814 command (necessary to pass " as parameter of self-insert.
11816 * text.C (selectWordWhenUnderCursor):
11817 (selectWord): add word_location parameter
11818 (selectWordWhenUnderCursor): same + remove special code for word
11820 (selectNextWord): use kind() to guess type of insetspecialchar,
11823 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11824 (insertErtContents): create ert insets as collapsed.
11825 (readInset): better compatibility code for Info inset.
11827 2001-07-20 Juergen Vigna <jug@sad.it>
11829 * lyxfunc.C (dispatch): use always LyXFind now!
11831 * text2.C (init): add a reinit flag so that the LyXText can be
11832 reinited instead of deleted and reallocated (used in InsetText).
11834 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11840 2001-07-18 Juergen Vigna <jug@sad.it>
11842 * text.C (selectNextWord): handle insets inside inset by calling
11843 always the bv->text functions so that we can go up the_locking_inset!
11845 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11846 in strange locations when inside an inset!
11848 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11849 handling to include insets.
11851 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11853 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11855 * LyXAction.C (init):
11857 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11858 LIGATURE_BREAK, since the name is so stupid.
11860 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11862 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11865 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11867 * sp_form.[Ch]: remove.
11869 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11871 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11874 * src/buffer.C (readInset): ditto.
11876 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11878 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11879 menuSeparator(), endOfSentenceDot(), ldots() and
11880 hyphenationPoint(), which are therefore removed.
11881 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11883 * LyXAction.C (init):
11884 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11886 * paragraph.C (getWord): removed.
11888 * BufferView_pimpl.C (Dispatch): use last word or selection for
11889 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11891 * lyx_main.C (queryUserLyXDir): do not ask before creating
11892 user_dir, except if it has been named explicitely.
11894 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11896 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11897 a document of zero size.
11899 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11901 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11902 approriately in the c-tor and in require().
11903 (getPackages): output the appropriate LaTeX for natbib support.
11905 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11906 variables "use_natbib" and "use_numerical_citations" when reading the
11908 (readInset): read the various natbib cite commands.
11909 (validate): white-space change.
11911 * bufferparams.[Ch]: new variables "bool use_natbib" and
11912 "bool use_numerical_citations".
11913 (writeFile): output them in the LyX file.
11915 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11917 * lyxfunc.C (getStatus): add support for all the inset insertion
11920 * text2.C (insertInset):
11921 * paragraph.C (insetAllowed):
11922 * BufferView_pimpl.C (insertInset): update to take in account the
11923 renaming of insertInsetAllowed
11925 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11927 * text2.C (getInset): new method. returns inset at cursor position.
11929 * BufferView_pimpl.C (Dispatch): changes because of this.
11931 * LyXAction.C (init): rename open-stuff to inset-toggle.
11933 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11935 * text2.C (toggleInset): renamed from openStuff; use
11938 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11940 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11942 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11944 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11946 * buffer.C (readLyXformat2): Add filename to the error dialog
11948 2001-07-18 Juergen Vigna <jug@sad.it>
11950 * tabular.C (GetCellNumber): put an assert here instead of the check!
11952 2001-07-17 Juergen Vigna <jug@sad.it>
11954 * BufferView_pimpl.C (toggleSelection): adapted too.
11956 * text.C (selectNextWord): adapted for use with insets.
11957 (selectSelectedWord): ditto
11959 2001-07-17 Juergen Vigna <jug@sad.it>
11961 * sp_spell.C (PSpell): fix initialitation order.
11963 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11965 * paragraph.C: spacing
11967 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11969 * sp_spell.C: repair language selection for pspell
11971 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11973 * lyxfunc.h: change more methods to begin with lower char.
11975 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
11977 * buffer.C (parseSingleLyXformat2Token): Generate error insets
11978 for unknown layouts.
11980 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
11982 * buffer.C (readLyXformat2): Generate an error dialog if there are
11985 2001-07-16 Juergen Vigna <jug@sad.it>
11987 * sp_spell.C: always compile ISpell part.
11989 * lyxrc.C: added use_pspell entry and it's handling.
11991 2001-07-13 Juergen Vigna <jug@sad.it>
11993 * sp_spell.C: removed double includes.
11995 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
11997 Consistent use of Lsstream.h:
11998 * Lsstream.h: added using std::stringstream for consistencies sake.
12000 * buffer.C: removed using std::stringstream
12002 * lyxfont.C (stateText):
12003 * paragraph.C (asString):
12004 * text.C (selectNextWord, selectSelectedWord):
12005 * text2.C (setCounter):
12006 * vspace.C (asString, asLatexString):
12007 std::ostringstream -> ostringstream.
12009 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12011 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12012 * commandtags.h: add LFUN_HELP_ABOUTLYX
12013 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12015 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12017 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12019 * lyx_gui_misc.C: remove spellchecker
12020 * lyxfunc.C: showSpellchecker
12022 * sp_ispell.h: added
12023 * sp_pspell.h: added
12024 * sp_spell.C: added
12025 * sp_form.[Ch]: removed
12026 * spellchecker.[Ch]: removed
12028 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12030 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12032 (simpleTeXSpecialChars): Simply print the input character without
12033 any special translation if pass_thru is set.
12035 * layout.h: Added bool pass_thru to layout class for being able to
12036 implement pass through of a paragraph for Literate Programming.
12038 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12039 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12040 * layout.C (Read): add "passthru" to list of layout tags and add
12041 code to set the pass_thru boolean when it is read.
12043 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12045 * trans_decl.h: remove allowed from KmodInfo
12047 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12048 remove allowed code
12051 * paragraph_pimpl.C (erase): use boost::prior
12053 * Painter.C (text): use data() instead of c_str() when length is
12055 * WorkArea.C (putClipboard): ditto
12056 * font.h (width): ditto
12058 * BufferView2.C: use it-> instead of (*it). for iterators
12060 * paragraph_pimpl.C: ditto
12061 * paragraph.C: ditto
12062 * minibuffer.C: ditto
12063 * language.C: ditto
12065 * encoding.C: ditto
12066 * counters.C: ditto
12067 * converter.C: ditto
12069 * Variables.C: ditto
12070 * TextCache.C: ditto
12071 * MenuBackend.C: ditto
12072 * LyXAction.C: ditto
12074 * FloatList.C: ditto
12075 * DepTable.C: ditto
12076 * ColorHandler.C (LyXColorHandler): ditto
12078 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12080 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12082 * text2.C (openStuff): reintroduce this method (which had been
12083 nuked in NEW_INSETS frenzy).
12085 * lyxfunc.C (Dispatch): when an action has not been handled, use
12086 its name in the error message, not its number.
12088 * paragraph.C (inInset): change method name to begin with lowercase.
12091 * text2.C: updates because of this.
12093 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12095 * ToolbarDefaults.C (add): add spaces in error message
12097 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12099 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12100 (readLyXformat2): rename return_par to first_par, use lyxlex's
12101 pushToken and remove the manual push handling.
12102 (parseSingleLyXformat2Token): add another ert comp. variable:
12103 in_tabular, rename return_par to first_par. handle newlines better
12105 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12107 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12109 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12111 * text2.C (getParFromID): removed
12113 * buffer.C (getParFromID): new method moved form lyxtext.
12114 * BufferView2.C (insertErrors): adjust
12115 (setCursorFromRow): adjust
12116 * BufferView_pimpl.C (restorePosition): adjust
12117 * lyxfunc.C (Dispatch): adjust
12118 * undo_funcs.C (textUndo): adjust
12120 (textHandleUndo): adjust
12121 (textHandleUndo): adjust
12123 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12125 * buffer.C: up' the LYX_FORMAT
12127 * lyxfont.h: turn NO_LATEX on as default
12129 * buffer.C (insertErtContents): new methods of tex style compability.
12130 (parseSingleLyXformat2Token): use it several places.
12131 * tabular.C (OldFormatRead): and here
12133 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12135 * text2.C: remove some commented code.
12138 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12139 * trans.C: changes because of the above.
12141 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12143 * text2.C (setCounter): Fix counters bug with bibliography layout.
12145 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12147 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12148 own member functions
12149 (simpleTeXSpecialChars): ditto
12151 2001-07-06 Juergen Vigna <jug@sad.it>
12153 * a lot of files: changed the access to LyXText::status and the
12154 call of undo-functions.
12156 * undo.[Ch]: added a inset_id to the undo informations.
12158 * undo_funcs.[Ch]: added and moved here all undo functions.
12160 * lyxtext.h: give the status enum a weight, made status_ a private
12161 variable and made accessor functions for it, removed the whole bunch
12162 of undo-functions as they are now in their own file, make some
12163 functions publically available. Added function ownerParagraph with
12166 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12167 made InInset() a const function, added getParFromID() function.
12169 * buffer.[Ch]: added const version for inset_iterator functions,
12170 added getInsetFromID() function.
12172 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12173 changed undo functions for new version.
12175 2001-07-05 Juergen Vigna <jug@sad.it>
12177 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12178 unknow mechanism does not call the proper constructor but only this
12179 one also if I request the other!?
12181 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12183 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12185 * text2.C (LyXText): use initialization lists.
12187 * lyxtext.h (Selection): initialize set_ and mark_
12188 (init): remove method
12190 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12192 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12194 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12196 * screen.[Ch]: change method names to begin with lowercase
12198 * BufferView_pimpl.C (updateScrollbar): simplify further and
12199 hopefully make it a bit faster.
12201 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12203 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12204 calling directly xforms functions.
12206 * Painter.C (Painter):
12207 * lyx_cb.C (MenuWrite):
12208 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12211 * lyx_gui.C: remove bogus guiruntime extern declaration.
12213 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12215 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12217 (redoDrawingOfParagraph): ditto
12218 (redoParagraphs): ditto
12219 (cutSelection): don't create a object for CutAndPaste use the
12220 static method directly
12221 (pasteSelection): ditto
12223 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12226 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12228 * modifications to some other files because of this.
12230 * Makefile.am (lyx_SOURCES): add XFormsView
12232 * XFormsView.[Ch]: new files
12234 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12235 the main window. Move the gui dependent stuff to XFormsView
12237 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12239 * tabular.C (GetCellInset): update cur_cell also in the row/col
12240 version of this function.
12242 * lyxfunc.C: no need to include figure_form.h here.
12248 * lyxvc.C: no need to include forms.h here.
12250 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12252 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12254 * lyxfunc.C (Dispatch):
12256 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12257 constructor argument.
12259 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12261 * paragraph.C (Paragraph): dont't clear, and just set layout.
12262 (makeSameLayout): use params's copy contructor.
12264 * ParagraphParameters.[Ch] (makeSame): delete method
12266 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12268 * Variables.[Ch]: fix indentation, rename set to isSet
12270 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12272 * lyxfunc.C (Dispatch): fix typo
12274 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12276 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12279 * bufferlist.C: include assert.h for emergencyWrite().
12281 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12283 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12284 give up at last (bug #425202) !
12286 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12292 * spellchecker.C: strip spellchecker options and bring up
12293 preferences tab instead
12295 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12297 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12298 the istringstream constructor
12300 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12302 * paragraph.C (getLayout): fix return value
12304 * paragraph.h: do not declare getLayout as inline.
12306 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12308 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12310 * lyxcursor.h (operator<): new func
12311 (operator>): new func
12312 (operator>=): new func
12313 (operator<=): new func
12315 * text.C (changeCase): use selection.start and selection.end
12316 (changeRegionCase): require from to be <= to. Require par to be a
12319 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12321 2001-06-27 Juergen Vigna <jug@sad.it>
12323 * text.C (cursorLeftOneWord): changed to return the cursor and added
12324 overlay with BufferView * parameter which calls this one.
12326 (selectWord): use new getWord function.
12327 (changeCase): renamed from changeWordCase as and extended to work
12328 also on selections.
12330 * lyxtext.h: added enum word_location
12332 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12333 changeCase as this operates now also on selections.
12335 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12337 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12339 * many files: send debug output to Debug::INFO instead of
12342 * converter.C (View):
12344 (Move): send debug output to Debug::FILES instead of console.
12346 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12348 * lyxfunc.C (getStatus): use func_status
12350 * func_status.h: new header, describing the results of
12351 LyXFunc::getStatus;
12353 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12356 2001-06-25 The LyX Project <jug@sad.it>
12358 * buffer.C (sgmlOpenTag):
12360 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12362 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12364 * text2.C: remove some dead code
12366 * tabular.C (GetCellInset): store the last cell checked (gotten)
12368 * tabular.h: add the helper for the speedup
12370 * lyxtext.h: remove some dead code
12372 2001-06-26 The LyX Project <Asger>
12374 * paragraph.C: Change export to LaTeX of alignment to
12375 \begin{center} and family for better roundtrip work with reLyX.
12377 * Tune the math drawing a bit.
12379 2001-06-25 The LyX Project <Asger>
12381 * LColor.C (LColor): New color for math background. New color
12384 2001-06-25 The LyX Project <jug@sad.it>
12386 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12388 * lyxfunc.C (Open):
12389 * bufferlist.C (newFile): do not restrict to files ending with
12392 * BufferView_pimpl.C (MenuInsertLyXFile):
12394 2001-06-24 The LyX Project <jug@sad.it>
12396 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12399 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12401 * lyxtext.h: rename most methods to begin with a small char.
12402 Lots of changes because of this.
12404 * paragraph.C (Paragraph): do not call fitToSize
12405 (erase): call Pimpl::erase
12406 (insertChar): call Pimpl::insertChar
12407 (insertInset): call Pipl::insertInset
12408 (breakParagraph): do not call fitToSize
12409 (breakParagraphConservative): do not call fitToSize
12410 (fitToSize): remove method
12412 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12414 2001-06-24 The LyX Project <Asger>
12416 * Fix Qt compilation^2
12418 2001-06-24 The LyX Project <jug@sad.it>
12420 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12421 depthHook(getDepth()-1).
12424 * ParagraphParameters.h:
12425 * ParameterStruct.h: change type of depth to unsigned int ==
12426 depth_type. Many adaptations to other files before of that.
12428 2001-06-24 The LyX Project <Asger>
12430 * Fix Qt compilation.
12432 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12434 * paragraph.h: renamed several methods to begin with small letter.
12435 several changes to many parts of the code because of this.
12437 2001-06-23 The LyX Project <jug@sad.it>
12439 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12440 rewritten to discard all double spaces when KeepEmpty is off
12441 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12442 to only handle newlines but not fiddle with spaces and friends.
12444 * lyxfunc.C (MenuNew): when doing 'new from template', use
12445 template_path as default directory
12447 2001-06-23 The LyX Project <Asger>
12449 * Clean-up of header file includes all over
12450 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12452 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12454 * paragraph.h: renamed from lyxparagraph.h
12456 2001-06-23 Asger <lyx@violet.home.sad.it>
12458 * Buffer.h: Removed Buffer::resize
12459 * BufferList.h: Removed BufferList::resize
12460 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12461 the document lazily when we change the width, or the font settings.
12463 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12465 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12467 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12469 * buffer.h: remove out of date comment
12471 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12474 * screen.C: fix "theoretical" GC leak
12476 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12478 * LaTeX.C (scanAuxFile):
12479 (deplog): remove trailing \r when reading stream (useful under
12482 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12484 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12485 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12486 and BufferView::theLockingInset(Inset*), so should use them and not
12487 access bv_->text->the_locking_inset directly.
12489 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12491 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12494 * tex-defs.h: remove old unused file
12496 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12498 * BufferView_pimpl.C: fix typo, remove minibuffer message
12499 when buffer has loaded
12501 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12503 * lyxfunc.C (Dispatch): use stringstream
12504 (MenuNew): use stringstream
12505 (Open): use stringstream
12507 * importer.C (Import): use stringstream
12509 * bufferview_funcs.C (CurrentState): use stringstream
12511 * LaTeX.C (run): use stringstream
12513 * BufferView_pimpl.C (savePosition): use stringstream
12514 (restorePosition): use stringstream
12515 (MenuInsertLyXFile): use stringstream
12517 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12530 * vspace.C: removed // -*- C++ -*- as first line.
12533 * version.h: added // -*- C++ -*- as first line.
12535 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12537 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12539 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12542 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12544 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12547 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12549 * gettext.C: include LString.h even when --disable-nls is on.
12551 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12553 * converter.h (Get): changed argument type from int to
12554 FormatList::size_type to avoid unnecessary conversion.
12556 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12559 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12561 * gettext.h: include LString.h even when --disable-nls is on.
12563 2001-06-07 Juergen Vigna <jug@sad.it>
12565 * text.C (BreakAgain): subst spaces with tabs.
12567 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12568 (resizeInsetsLyXText): set force on resizeLyXText.
12570 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12572 * gettext.h (gettext_init):
12573 (locale_init): use a real definition instead of a macro
12575 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12577 * Bufferview_pimpl.C:
12579 * LColor.C: further lcolor tidies
12581 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12583 * BufferView_pimpl.C (updateScrollbar): simplify.
12585 * BufferView2.C: don't include insets/insetinfo.h, change
12586 prototype for insertInset and call the Pimpl version. let
12587 updateInset call Pimpl version.
12589 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12590 gotoInset to BufferView::Pimpl
12592 2001-06-01 Juergen Vigna <jug@sad.it>
12594 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12595 inside a LockingInset (is the update needed at all?).
12597 2001-05-31 Juergen Vigna <jug@sad.it>
12599 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12600 here not the old one otherwise how should we compare it afterwards
12603 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12608 * FontInfo.C: bring C functions into global namespace when
12611 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12613 * LString.h: make sure config.h has been loaded before LString.h.
12615 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12616 (one for each char read by EatLine!).
12618 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12621 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12623 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12624 to the same as the par we break from
12626 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12628 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12630 * MenuBackend.C (expand): also create menu entries for wide
12631 versions of the floats.
12633 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12635 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12637 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12638 frontends/Makefile.am
12644 * tabular.C (getTokenValue): add std::
12646 * tabular-old.C (getTokenValue): add std::
12647 (getTokenValue): ditto
12648 (getTokenValue): ditto
12650 * screen.C (ToggleSelection): adjust
12652 * lyxtext.h: put selection cursors inside a Selection struct.
12654 * lyxfunc.C (moveCursorUpdate): adjust
12656 * lyxfont.C (latexWriteStartChanges): add std::
12658 * lyxfind.C: adjust
12660 * font.h: delete with(char const *, LyXFont const &)
12662 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12664 * FontInfo.C (getFontname): add std::
12666 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12667 (workAreaButtonPress): adjust
12668 (tripleClick): adjust
12670 (moveCursorUpdate): adjust
12673 * BufferView2.C (gotoInset): adjust
12675 2001-05-30 Juergen Vigna <jug@sad.it>
12677 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12678 to check pspell I add this as default as I now have new pspell
12679 libraries and they seem to use this.
12681 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12683 * text2.C (CutSelection): make the cursor valid before the call to
12686 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12688 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12689 relied on 0 terminated strings and other horrors. Bug found due to
12690 the new assert in lyxstring!
12692 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12695 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12697 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12700 * lyxfunc.C (processKeySym): change method of getting to the
12703 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12704 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12705 * BufferView_pimpl.[Ch]: here as private methods.
12707 2001-05-28 Juergen Vigna <jug@sad.it>
12709 * text.C (SetHeightOfRow): added the update() call again as it is
12710 needed to initialize inset dimensions!
12712 2001-05-16 Juergen Vigna <jug@sad.it>
12714 * text2.C (SetCharFont): Add new function with BufferView * and
12715 bool toggleall parameters for setting insets internal fonts.
12716 (SetFont): Freeze the undo as we may change fonts in Insets and
12717 all this change should be inside only one Undo!
12719 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12720 setting font's in insets as for them we have the SetFont function!
12722 2001-05-15 Juergen Vigna <jug@sad.it>
12724 * text2.C (ClearSelection): to be sure we REALLY don't have any
12727 * tabular.C (TeXCellPreamble): fixed the left border problem for
12730 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12732 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12735 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12737 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12738 LFUN_BREAKPARAGRAPH.
12740 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12741 help test to "internal only", similar for LFUN_INSERT_URL
12743 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12744 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12745 auto_region_delete and deadkeys.
12747 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12750 * LColor.C: remove some dead entries, tidy a little
12752 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12754 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12756 (Dispatch): implement LFUN_ESCAPE
12758 * commandtags.h: add LFUN_ESCAPE
12760 * LyXAction.C (init): add entry for LFUN_ESCAPE
12762 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12763 Remove commented code.
12764 (insertNote): moved here
12765 (open_new_inset): moved here
12767 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12770 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12772 * kbmap.C (findbinding): clean it up and make it work correctly.
12774 * lyx_main.C (init): do not pass argc and argv as parameters
12776 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12778 * buffer.C: fix path for OS/2 & Win32
12782 * lyx_main.C: Added os:: class.
12784 * os2_defines.h: update
12786 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12788 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12789 better by trying again with reduced state.
12791 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12793 * lyxrc.C (read): print error about invalid key sequence only when
12794 debugging (because not all latinX keysyms are known to some X
12797 * kbsequence.C (getiso): add a few std:: qualifiers
12798 (getiso): comment out extra return statement.
12800 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12802 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12804 (Dispatch): enhance the accent inset a bit. (not perfect)
12806 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12808 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12810 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12812 * bufferlist.C (emergencyWrite): fix assert() call
12814 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12816 * text.C (InsertChar): Added trivial patch to only send the "you
12817 can not do multiple spaces this way" message once during a
12820 2001-05-08 Baruch Even <baruch@lyx.org>
12822 * Makefile.am: Changed order of libraries to get LyX to link properly
12823 with the gnome frontend.
12825 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12827 * LaTeXFeatures.h: add a std:: qualifier
12829 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12831 * paragraph.C (String): use stringstream
12833 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12835 * paragraph.C (writeFile): remove footflag arg
12837 * buffer.C (makeLaTeXFile): use stringstream
12838 (latexParagraphs): remove footnot gurba
12840 * LaTeXFeatures.C (getPackages): use stringstream
12841 (getMacros): likewise
12842 (getTClassPreamble): likewise
12843 (getFloatDefinitions): new method
12845 * paragraph.C (writeFile): reindent
12848 * WorkArea.h: revert the xpos + etc changes.
12850 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12852 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12854 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12855 (pasteSelection): likewise
12856 * text2.C (CreateUndo): likewise
12858 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12860 * minibuffer.C (peek_event): temporarily reduce the functionality
12861 of the minibuffer (to allow args on lfuns)
12863 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12864 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12866 * buffer.C (readInset): add compability reading of old float
12867 lists, add reading of new style float list.
12868 (readInset): avoid reevaluation of inscmd.getCmdName()
12869 (getLists): reindent
12871 * MenuBackend.C (MenuItem): implement parsing of
12872 md_floatlistinsert and md_floatinsert.
12873 (expand::LastFiles): move initalizaton of iterators out of loop,
12874 avoid reevaluation.
12875 (expand::Documents): introduce typdedef vector<string> Strings,
12877 (expand::ExportFormats): introduce typedef vector<Format const *>
12878 Formats, and use it.
12879 (expand): implement FloatListInsert and FloatInsert.
12881 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12882 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12883 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12885 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12887 (Dispatch::LFUN_FLOAT_LIST): implement
12889 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12891 * LaTeX.C (run): Fix problem with --export code.
12893 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12895 * BufferView.[Ch] (workarea): removed.
12896 (getClipboard) new method; wrapper for workarea()->getClipboard()
12898 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12901 * WorkArea.h (width, height, xpos, ypos): These methods all
12902 returned the dimensions of the work_area sub-area of WorkArea,
12903 resulting in a position error if the WorkArea were resized. Now
12904 return the dimensions of the entire WorkArea.
12906 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12908 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12910 * LaTeX.C (deplog): correct the syntax of regex reg1
12912 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12914 * undo.C: remove !NEW_INSETS cruft
12916 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12918 * text2.C: remove !NEW_INSETS cruft
12920 * text.C: remove !NEW_INSETS cruft
12922 * tabular.C: remove !NEW_INSETS cruft
12924 * spellchecker.C: remove !NEW_INSETS cruft
12926 * lyxtext.h: remove !NEW_INSETS cruft
12928 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12930 * lyxfunc.C: remove !NEW_INSETS cruft
12932 * lyxfind.C: remove !NEW_INSETS cruft
12934 * lyx_cb.C: remove !NEW_INSETS cruft
12936 * figureForm.C: remove !NEW_INSETS cruft
12938 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12940 * buffer.[Ch]: remove !NEW_INSETS cruft
12942 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12944 * CutAndPaste.C: remove !NEW_INSETS cruft
12946 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12948 * BufferView2.C: remove !NEW_INSETS cruft
12950 * BufferView.h: remove !NEW_INSETS cruft
12952 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12954 * Lsstream.h: include LString.h before the sstream headers to
12955 fix problem with gcc 2.95.3 and lyxstring
12957 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12959 * lyx_main.C: add using directives when needed for C functions
12960 declared in std:: namespace.
12962 2001-04-27 Juergen Vigna <jug@sad.it>
12964 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12965 (SetHeightOfRow): comment out the update call should not be needed!
12967 2001-04-13 Juergen Vigna <jug@sad.it>
12969 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12970 (LyXTabular): tried to minimize operator= operations (and realized
12971 hopfully Lars wish).
12973 2001-04-27 Juergen Vigna <jug@sad.it>
12975 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12977 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12979 * lyxfunc.C (Dispatch): hack to make listof algorithm work
12981 * buffer.C (readInset): hack to make listof algorithm work
12983 * BufferView_pimpl.C: hack to make listof algorithm work
12985 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12987 * LyXAction.C: removed all !NEW_INSETS cruft
12988 (init): moved lfun_item in method
12990 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12992 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12994 * BufferView2.C (theLockingInset): white space.
12996 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12998 * minibuffer.C: include <iostream>
13000 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13002 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13004 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13006 * text.[Ch] (TransposeChars): new method
13008 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13010 * call message directly through LyXView instead of through LyXFunc
13011 * BufferView2.C: adjust
13012 * BufferView_pimpl.C: adjust
13013 * FontLoader.C: adjust
13015 * bufferview_funcs.C: adjust
13016 * converter.C: adjust
13017 * figureForm.C: adjust
13018 * importer.C: adjust
13020 * lyx_gui_misc.C: adjust
13021 * lyxfunc.C: adjust
13024 + more files in subdirs
13026 * lyxparagraph.h (size): move up int file
13029 * adjust all uses of Assert to lyx::Assert.
13031 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13032 lyxfunctional in namespace lyx
13033 * layout.C (hasLayout): ditto
13036 (delete_layout): ditto
13037 (NumberOfClass): ditto
13038 * converter.C (GetFormat): ditto
13043 * bufferlist.C (getFileNames): ditto
13044 (emergencyWriteAll): ditto
13047 * MenuBackend.C (hasSubmenu): ditto
13050 * BufferView_pimpl.C (getInsetByCode): ditto
13052 2001-04-18 Juergen Vigna <jug@sad.it>
13054 * vspace.C (asLatexString): fixed the 100% problem.
13056 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13058 * lyxfunc.C (Dispatch):
13060 * minibuffer.h: add a few std:: qualifiers
13062 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13064 * minibuffer.[Ch]: reimplement so that commands is initiated and
13065 run from lyxfunc, simplified som handling, and made the completion
13066 and history code for complete. wip.
13068 * lyxfunc.C (processKeySym): call message
13069 (miniDispatch): new temporary method
13070 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13071 (LFUN_MESSAGE): implement
13072 (LFUN_MESSAGE_PUSH): implement
13073 (LFUN_MESSAGE_POP): implement
13074 (initMiniBuffer): the initial/defualt minibuffer message.
13076 * lyxfont.[Ch]: inline some more getters
13078 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13080 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13082 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13083 (AutoSave): use LFUN_MESSAGE
13084 (Reconfigure): ditto
13086 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13088 * figureForm.C: use LFUN_MESSAGE
13090 * converter.C (runLaTeX): use LFUN_MESSAGE
13092 * bufferview_funcs.C: use LFUN_MESSAGE
13094 (changeDepth): ditto
13096 * bufferparams.h: use boost::
13098 * bufferlist.h: inherit privately from noncopyable
13100 * bufferlist.C (loadLyXFile): remove some commented code.
13102 * buffer.C (runChktex): use LFUN_MESSAGE
13104 * ShareContainer.h: inherit privately from noncopyable
13106 * ParagraphParameters.[hC] (depth): inline it.
13108 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13110 (message): new method
13111 (messagePush): ditto
13112 (messagePop): ditto
13113 (show): init minibuffer
13114 (showState): direct call
13116 * LaTeX.[Ch]: inherit privately from noncopyable
13117 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13118 instead of WriteStatus.
13120 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13122 * BufferView_pimpl.C (buffer): don't init minibuffer
13123 (workAreaButtonPress): use LFUN_MESSAGE
13124 (workAreaButtonRelease): ditto
13125 (savePosition): ditto
13126 (restorePosition): ditto
13127 (MenuInsertLyXFile): ditto
13128 (workAreaExpose): don't init minibuffer
13129 (update): remove commented code, simplify
13131 * BufferView2.C (openStuff): use LFUN_MESSAGE
13132 (toggleFloat): ditto
13135 (copyEnvironment): ditto
13136 (pasteEnvironment): ditto
13141 (updateInset): remove some commented code
13143 * lastfiles.h: inherit privately from noncopyable
13146 * lyx_main.h: ditto
13148 * lyxlex_pimpl.h: ditto
13150 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13151 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13152 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13154 * LyXAction.h: inherit privately from noncopyable, add methods
13155 func_begin, func_end, returning iterators to the func map.
13157 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13158 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13159 (func_begin): new method
13160 (func_end): new method
13162 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13164 (copySelection): ditto
13165 (pasteSelection): ditto
13167 * BufferView.C: whitespace change
13168 * BufferView.h: inherit privately from noncopyable
13170 2001-04-16 Allan Rae <rae@lyx.org>
13172 * tabular-old.C (l_getline):
13173 * spellchecker.C (sc_check_word):
13174 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13175 an unrecognised preprocessor directive. So ensure they're wrapped.
13177 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13179 * src/exporter.C (Export): Give an error message when path to file
13182 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13184 * LaTeX.C (deplog): Always check that foundfile exists.
13186 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13189 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13191 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13193 * tabular.[Ch] (getLabelList): implement new method
13195 * minibuffer.h: comment ouf setTiimer
13197 * minibuffer.C (ExecutingCB): constify res
13198 (peek_event): constify s
13199 (Set): constify ntext
13200 (Init): constify nicename
13202 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13204 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13205 (savePosition): use two params to Minibuffer::Set
13206 (restorePosition): ditto
13208 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13210 * lyx_main.C: include language.h
13212 * Makefile.am (lyx_main.o): add language.h
13214 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13220 * CutAndPaste.C: include gettext.h
13222 * lyxfont.h: remove old hack with ON and OFF.
13225 * lyxfont.h: do not include language.h...
13230 * bufferview_funcs.C:
13236 * paragraph.C: ... but do it here instead
13238 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13240 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13242 * tabular.C: small reformat
13244 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13247 (BreakParagraph): ditto
13248 (SetOnlyLayout): ditto
13251 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13254 * lastfiles.C: removed most using decl, add std:: where needed
13256 * buffer.C: ws changes
13258 * MenuBackend.C (class compare_format): put into anon namespace
13259 (expand): constify label, names, action, action2
13262 * text.C (SingleWidth): constify font
13263 (IsBoundary): constify rtl2
13264 (GetVisibleRow): constify ww
13266 * LaTeX.C (deplog): constify logfile
13268 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13270 (workAreaExpose): constify widthChange, heightChange
13272 * lyxrow.C (par): moved
13275 * lyxrow.h: as inlines here
13277 * lyxfont.h (shape): moved from lyxfont.C
13278 (emph): moved from lyxfont.C
13280 * lyxfont.C (LyXFont): use initialization list for all
13282 (shape): move to lyxfont.h as inline
13283 (emph): move to lyxfont.h as inline
13286 2001-04-04 Juergen Vigna <jug@sad.it>
13288 * vspace.C: had to include stdio.h for use of sscanf
13290 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13293 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13294 independent of xforms.
13296 2001-04-02 Juergen Vigna <jug@sad.it>
13298 * spellchecker.C: fixed namespace placing!
13300 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13302 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13303 the LyXParagraph * is 0.
13305 2001-03-29 Juergen Vigna <jug@sad.it>
13307 * vspace.C: added support for %, c%, p%, l%.
13308 (stringFromUnit): added helper function.
13309 (asLatexString): changed to give right results for the %-values.
13311 * buffer.C: convert the widthp in a width%.
13313 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13315 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13318 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13319 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13321 * lyx_cb.[Ch]: see above.
13323 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13327 * lyx.[Ch]: replaced by figure_form.[Ch].
13331 * lyxfunc.C: changed headers associated with above changes.
13333 2001-03-27 Juergen Vigna <jug@sad.it>
13335 * BufferView_pimpl.C: set the temporary cursor right!
13337 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13339 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13341 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13343 * LString.h: removed "using std::getline"!
13345 * BufferView_pimpl.C (Dispatch): changes due to changes in
13346 InsetInclude::Params.
13348 * buffer.C (tag_name): removed redundant break statements as they were
13349 producing lots of warnings with my compiler.
13351 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13353 * LString.h: add "using std::getline" when using the real <string>.
13355 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13357 * buffer.C: removed bitset usage.
13358 PAR_TAG moved to an anonymous name space.
13359 (tag_name): new funtion, also in the anonymous namespace.
13360 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13361 (makeDocBookFile): clean code. Completed transition from string arrays
13363 (SimpleDocBookOnePar): code clean.
13365 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13367 * tabular.C: add some comments.
13369 2001-03-22 Juergen Vigna <jug@sad.it>
13371 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13372 compatibility read a bit and fixed bug with minipage in different
13375 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13377 * buffer.C (pop_tag): removed.
13378 (push_tag): removed.
13379 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13380 array replaced with vector. Added support for CDATA sections.
13381 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13383 (makeDocBookFile): XML conformant declaration of CDATA section,
13384 fixed bug related to <emphasis> in the first paragraph char.
13385 (sgmlOpenTag): exclude empty tags.
13386 (sgmlCloseTag): ditto.
13388 * buffer.h (pop_tag): removed.
13389 (push_tag): removed.
13391 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13393 * language.h (Languages): added size_type and size().
13395 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13397 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13398 response on compability reading of minipages. One probliem is that
13399 the old usage of minipages was «flertydig»
13401 * several files here and in subdirs: don't use static at file
13402 scope use anon namespaces instead.
13404 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13406 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13407 LaTeX output. This is necessary for Literate document
13410 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13412 * buffer.C: insert hfill when needed.
13414 * tabular.C (l_getline): use string::erase, small whitespace change.
13416 * BufferView_pimpl.C: try the anon namespace.
13417 * WorkArea.C: ditto
13419 2001-03-16 Juergen Vigna <jug@sad.it>
13421 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13422 otherwise it won't open options-dialogs.
13424 * buffer.C: honor pextraWidth(p) on converting minipages.
13426 * tabular.C (l_getline): changed the functions to strip trailing \r.
13428 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13430 * BufferView_pimpl.C:
13431 * minibuffer..C: added "using SigC::slot" declaration.
13433 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13435 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13441 * paragraph.C: ditto
13443 * lyxtext.h: NO_PEXTRA
13445 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13447 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13448 * ParameterStruct.h: ditto
13449 * ParagraphParameters.h: ditto
13450 * lyxparagraph.h: ditto
13452 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13454 * buffer.C: add compability for minipage alignment.
13455 (latexParagraphs): remove unwanted pextra check.
13457 * several files: remove CXX_WORKING_NAMESPACES
13459 * buffer.C (pop_tag): tie is in namespace boost
13461 * BufferView.h: noncopyable is in namespace boost
13463 * lyx_main.h: ditto
13466 * lastfiles.h: ditto
13467 * bufferlist.h: ditto
13468 * ShareContainer.h: ditto
13470 * LyXAction.h: ditto
13473 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13475 * Merging changes from BRANCH_MVC back into HEAD.
13477 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13479 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13481 * BufferView_pimpl.C: change from intl.C
13485 * Makefile.am: move combox.*
13491 * intl.C: remove dialog (covered by prefs)
13493 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13495 * lyxfunc.C (Dispatch): removed redundant break statement.
13497 2001-03-14 Juergen Vigna <jug@sad.it>
13499 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13501 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13503 * buffer.C: add hack to fix compability reading of minipages.
13505 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13507 * buffer.C (getLists): Cleanup.
13509 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13511 * lyxfont.C (update): don't honor toggleall on font size.
13513 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13517 * Makefile.am: moved to frontends/xforms/
13521 * BufferView_pimpl.C: changes for moved mathpanel
13523 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13525 * gettext.h: fix gettext_init() in --disable-nls
13527 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13529 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13531 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13534 * lyx.h: strip external form
13536 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13538 * BufferView_pimpl.C: add comment, destroySplash()
13540 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13542 * BufferView_pimpl.C:
13546 * lyxfunc.C: use re-worked insetinclude
13548 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13550 * buffer.C: add using std::stringstream.
13552 * lyx_cb.C: readd using std::ios.
13554 * buffer.C: add using std::map.
13556 * BufferView_pimpl.C: add using std::vector.
13558 * ShareContainer.h: add std:: to swap.
13560 * buffer.h: add some typedefs
13561 * buffer.C (getLists): use them
13562 (getLists): renamed from getTocList.
13563 add a counter for the different float types and use it in the
13565 (getLists): use the same counter for the NEW_INSETS and the "non"
13568 * lyx_cb.h: remove unused items, includes, using etc.
13570 * ShareContainer.h: remove some commented code, add more comments
13571 and "documentation".
13573 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13575 * buffer.C (getTocList): make the list also when NEW_INSETS is
13578 * buffer.h: remove TocType
13580 * buffer.C (getTocList): change to return a map<string,
13581 vector<TocItem> >, implement for dynamic number of list.
13583 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13584 * text2.C (PasteSelection): adjust
13585 * CutAndPaste.C (pasteSelection): adjust
13587 * FloatList.C (FloatList): update from the new_insets branch.
13588 * Floating.[Ch]: ditto
13589 * LaTeXFeatures.C: ditto
13591 * lyxlex_pimpl.C: ditto
13593 * paragraph.C (Last): remove when NEW_INSETS is defined.
13595 * other file: changes because of the above.
13597 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13599 * lyxparagraph.h: rename next to next_, previous to previous_,
13600 make them private for NEW_INSETS. Rename Next() to next(),
13601 Previous() to previous().
13603 * other files: changes because of the above.
13605 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13608 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13611 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13613 * main.C (main): pass lyx_localedir to gettext_init().
13615 * gettext.h: remove locale_init and gettext_init macros
13617 * gettext.C (locale_init): new function
13618 (gettext_init): new function
13620 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13623 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13625 * Moved credits to frontends:
13626 * credits.[Ch]: removed
13627 * credits_form.[Ch]: removed
13628 * lyx_gui_misc.C: remove credits stuff
13631 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13633 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13635 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13636 unneeded destructor.
13638 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13639 a standalone pointer again.
13641 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13643 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13649 * ToolbarDefaults.C:
13658 * BufferView_pimpl.C: use new file dialog in GUII
13661 * lyx_cb.C: remove LayoutsCB to Toolbar
13663 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13665 * ShareContainer.h (get): add std:: qualifier
13667 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13669 * ShareContainer.h: define a proper ShareContainer::value_type
13670 type (and use typename to please compaq cxx)
13672 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13674 * lyxparagraph.h: move serveral local vars to
13675 ParameterStruct/ParagraphParameters., use ShareContainer in
13676 FontTable., make vars in FontTable private and add getter and
13679 * paragraph.C: changes because of the above.
13681 * lyxfont.h: remove copy constructor and copy assignment. (the
13682 default ones is ok), move number inside FontBits. move inlines to
13685 * lyxfont.C: add number to initializaton of statics, move several
13686 inlines here. constify several local vars. some whitespace
13687 cleanup. Dont hide outerscope variables.
13689 * Spacing.h: add two new constructors to match the set methods.
13691 * ShareContainer.h: new file, will perhaps be moved to support
13693 * ParameterStruct.h: new file
13695 * ParagraphParameters.h: new file
13697 * ParagraphParameters.C: new file
13699 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13700 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13702 * BufferView_pimpl.C: ParagraphParameter changes.
13703 * buffer.C: Likewise.
13704 * bufferview_funcs.C: Likewise.
13705 * text.C: Likewise.
13706 * text2.C: Likewise.
13708 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13710 * lyxfind.C (LyXReplace): do not redefine default argument in
13712 (IsStringInText): ditto
13713 (SearchForward): ditto
13714 (SearchBackward): ditto
13716 2001-03-06 Juergen Vigna <jug@sad.it>
13718 * lyxfind.C (IsStringInText): put parentes around expressions.
13720 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13722 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13724 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13726 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13728 * stl_string_fwd.h: add comment
13730 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13733 * tabular.C: remove unused DocBook methods
13739 killed DO_USE_DEFAULT_LANGUAGE
13741 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13743 * lyx_gui.C: do not include language.h.
13745 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13746 arguments in function implementation.
13748 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13750 * BufferView_pimpl.C: add <ctime>
13752 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13754 * BufferView_pimpl.C: add using std::find_if
13756 2001-02-27 José Matos <jamatos@fep.up.pt>
13758 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13761 2001-02-11 José Matos <jamatos@fep.up.pt>
13763 * buffer.C (makeDocBookFile): command styles now have a parameter as
13764 "title" by default.
13766 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13768 * layout_forms.[Ch]: removed
13769 * lyx_cb.[Ch]: out character
13770 * lyx_gui.C: out character
13771 * lyx_gui_misc.C: out character
13772 * bufferview_funcs.C: : out character,
13773 added toggleall as parameter in ToggleAndShow
13775 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13777 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13779 * text2.C (SetCurrentFont): Disable number property at boundary.
13781 2001-02-26 Juergen Vigna <jug@sad.it>
13783 * lyxfunc.C (getStatus): added a string argument override function so
13784 that this is correctly called from LyXFunc::Dispatch if it contains a
13785 do_not_use_argument which is used!
13786 (Dispatch): added check for "custom" export and call appropriate func.
13788 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13790 * lyxrc.C: Add language_command_local, language_use_babel and
13791 language_global_options.
13793 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13795 * buffer.C (makeLaTeXFile): Use language_use_babel and
13796 language_global_options.
13798 2001-02-23 Juergen Vigna <jug@sad.it>
13800 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13801 which works with LyXText and putted it inside BufferView. Here now we
13802 only call for that part the BufferView::Dispatch() function.
13804 * BufferView.C (Dispatch): added.
13806 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13807 functions which needs to use a LyXText over from LyXFunc.
13808 (MenuInsertLyXFile): added
13809 (getInsetByCode): added
13810 (moveCursorUpdate): added
13811 (static TEXT): added
13813 2001-02-22 Juergen Vigna <jug@sad.it>
13815 * BufferView_pimpl.C (update): call a status update to see if LyXText
13818 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13820 * vc-backend.C (revert): implement for CVS
13821 (getLog): implement for CVS
13823 2001-02-20 Juergen Vigna <jug@sad.it>
13825 * text2.C (ClearSelection): added BufferView param for inset_owner call
13827 * lyxfunc.C (TEXT): added this function and use it instead of
13828 directly owner->view()-text of getLyXText().
13830 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13832 * src/layout_forms.C: out preamble
13833 * src/layout_forms.h: out preamble
13834 * src/lyx_cb.C: out preamble
13835 * src/lyx_cb.h: out preamble
13836 * src/lyx_gui.C: out preamble
13837 * src/lyx_gui_misc.C: out preamble
13838 * src/lyxfunc.C: connect with guii preamble
13840 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13842 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13844 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13846 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13847 whether to run bibtex.
13849 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13851 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13853 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13855 * Makefile.am (lyx_SOURCES): removed bibforms.h
13857 * vspace.h: doxygen
13859 * text.C (GetVisibleRow): make several local vars const
13861 * tabular.C: small cleanup.
13863 * lyxserver.C (callback): use compare instead of strncmp
13865 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13866 inlines to after class or to paragraph.C
13868 * lyxfont.h: remove friend operator!=
13870 * converter.h: move friend bool operator< to non friend and after
13873 * combox.h: small cleanup
13875 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13876 to inlines after class def.
13878 * buffer.C (pop_tag): use string operations instead of strcmp
13880 * bmtable.c: doxygen, small cleanup
13882 * LaTeX.h: remove friend operator==
13884 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13896 * BufferView_pimpl.C:
13897 * BufferView.[Ch]: remove cruft
13899 2001-02-14 Juergen Vigna <jug@sad.it>
13901 * lyxfunc.C: removed #if 0 unused code
13903 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13905 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13907 * text2.C (SetSelection): added a BufferView * parameter
13909 2001-02-13 Juergen Vigna <jug@sad.it>
13911 * lyxfunc.C (Dispatch): fixed protected blank problem.
13912 * BufferView2.C (protectedBlank): added LyxText * parameter.
13914 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13915 (AppendColumn): same as above for column_info.
13917 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13918 (moveCursorUpdate): use a LyXText param for support of InsetText.
13920 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13921 (tripleClick): ditto
13923 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13925 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13927 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13929 * text2.C (SetSelection): set correct update status if inset_owner
13930 (ToggleFree): ditto
13932 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13934 * tabular.C: remove some commented code.
13936 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13938 * BufferView_pimpl.C: call hideSplash()
13940 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13943 * bibforms.h: remove
13946 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13947 add LFUN_CHILD_CREATE
13949 * counters.h: fix tiny typo
13954 * lyx.C: move splash to frontends/xforms/
13956 * lyx_gui_misc.C: move Include and Bibform to frontends
13958 * lyxvc.h: clarify comment
13960 * vspace.C: tiny housekeeping
13962 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13964 * text.C (PrepareToPrint): RTL Fix.
13966 * paragraph.C (GetUChar): New method.
13967 (String): Use GetUChar.
13969 * buffer.C (asciiParagraph): Use GetUChar.
13971 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
13973 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13975 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
13978 * buffer.C: rename to getLogName(), handle
13979 build log / latex log nicely
13981 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13984 * MenuBackend.h: remove support for reference menuitem type.
13986 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
13988 * BufferView_pimpl.C: housekeeping
13989 * BufferView_pimpl.h:
13994 * minibuffer.h: move Timeout GUI-I
13996 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
13998 * lyxrc.C (read): Update converters data-structures.
14000 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14002 * LaTeX.h (operator!=): add operator != for Aux_Info
14004 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14006 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14008 * LaTeXLog.C: deleted, useful code moved to Buffer
14011 * buffer.C: new function getLatexLogName()
14017 * lyxfunc.C: use frontends for LaTeX and VC logs
14019 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14021 * LaTeX.h: yet another std:: that Allan forgot.
14023 * Variables.C (set): renamed from isset(), because this clashes
14024 with some HP-UX macros (grr).
14026 2001-02-06 Allan Rae <rae@lyx.org>
14028 * LaTeX.h: Another bug fix. Missing std:: this time.
14030 2001-02-04 Allan Rae <rae@lyx.org>
14032 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14033 floats problem. I've left it commented out because it's not quite
14034 correct. It should also test that the current object is a table or
14035 figure inset. But I haven't gotten around to figuring out how to do
14036 that. I *think* it'll be something like: "table" == inset.type()
14038 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14041 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14043 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14044 all the citation/databases/styles in the auxilary file.
14045 (run): Rerun latex if there was a babel language error.
14047 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14049 * text.C (Backspace): Preserve the font when changing newline char
14051 (BreakParagraph): If the cursor is before a space, delete the space.
14053 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14055 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14057 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14058 new argument (code).
14059 (ChangeCitationsIfUnique): New method.
14061 * paragraph.C (GetPositionOfInset): Handle bibkey.
14063 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14065 * BufferView_pimpl.h: change type of Position::par_pos to
14066 LyXParagraph::size_type.
14068 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14070 * BufferView_pimpl.C (savePosition, restorePosition): Write
14071 messages to minibuffer.
14073 2001-01-28 José Matos <jamatos@fep.up.pt>
14075 * buffer.C (makeDocBookFile): adds support for document language.
14076 A silly restriction on the name of LatexCommand types where removed.
14077 Added support for CDATA sections, allows to chars unescaped, used
14078 among others in code, to avoid escape < and >.
14080 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14082 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14083 saved positions instrad of a stack. Furthermore, a position is
14084 stored using paragraph id/paragraph position.
14086 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14087 Remove LFUN_REF_BACK.
14089 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14091 * converter.C (dvipdfm_options): New method.
14093 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14095 * vspace.C (isValidLength): Fix for empty input string.
14097 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14099 * LyXAction.C (init): change description of LFUN_FIGURE to
14102 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14104 * LaTeX.C: add using directive
14106 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14108 * MenuBackend.C (expand): Fix the sorting of the formats.
14110 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14112 * lyx_main.C: tiny error message fix
14114 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14116 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14117 calling fl_initialize(). This fixes the problem with ',' as
14118 decimal separator in text files.
14120 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14122 * trans.C (process): Fix the keymap bug.
14124 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14126 * LaTeX.C (scanAuxFiles): New method. Provides support for
14127 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14128 (scanLogFile) Scan for "run BibTeX" messages.
14130 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14131 OT1 font encoding. Also, load the aecompl package if the ae
14134 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14136 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14138 * texrow.C (increasePos): turn two error messages into debug
14141 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14143 * LaTeX.C (scanAux): Handle the \@input macro.
14144 (runBibTeX): Use scanAux().
14146 * language.C (latex_options_): New field.
14148 * LaTeXFeatures.C (getMacros): Add language macros.
14150 * buffer.C (makeLaTeXFile): Small fix.
14152 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14154 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14156 * text2.C: add a using directive.
14158 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14163 * lyxfunc.C: kill LyXBell.
14165 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14167 * text.C (IsBoundary): Remove the error message
14169 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14171 * lyxrc.C (setDefaults): Correct initialization value for
14174 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14176 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14179 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14180 and GotoNextNote().
14182 * src/LyXAction.C: Added reference-next.
14184 * text.C (InsertChar): Use contains instead of strchr.
14186 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14188 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14190 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14191 alignment commands (when needed).
14193 * text.C (InsertChar): Add ':' to number separator chars.