1 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4 dragging over the splash screen.
6 2003-12-11 Angus Leeming <leeming@lyx.org>
8 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
9 as it is now handled in LyXText::dispatch.
11 * text3.C (doInsertInset): remove a level of nesting.
13 2003-12-11 Angus Leeming <leeming@lyx.org>
15 * factory.C (createInset): changes due to the changed interface to
16 InsetCommandMailer::string2params.
18 2003-12-10 Angus Leeming <leeming@lyx.org>
20 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
21 'dialog-show-new-inset <inset name>'
23 2003-12-10 Angus Leeming <leeming@lyx.org>
25 * buffer.C: up the format to 227.
27 * factory.C: the box inset is now identified simply by 'Box'.
29 2003-12-10 Angus Leeming <leeming@lyx.org>
31 * buffer.C: up the format to 226.
33 * factory.C: the note inset is now identified simply by 'Note'.
35 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
37 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
38 when a pit is enough. Standarize a couple of loops.
40 2003-12-05 Angus Leeming <leeming@lyx.org>
42 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
43 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
44 data to the re-worked "log" dialog.
46 2003-12-03 André Pönitz <poenitz@gmx.net>
54 * text2.C: use Inset::getText instead of Inset::getParagraph
56 2003-12-03 André Pönitz <poenitz@gmx.net>
60 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
61 InsetText::read() as LyXText::read()
63 2003-12-02 Angus Leeming <leeming@lyx.org>
65 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
66 type. Add a comment in the implementation that the function uses
67 the stream's bad() function rather than fail() as the std::streams
70 2003-12-02 André Pönitz <poenitz@gmx.net>
72 * lyxlex.[Ch]: make interface more similar to std::stream
74 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
76 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
78 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
80 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
82 * vspace.[Ch]: remove VSpace::NONE
84 2003-12-01 André Pönitz <poenitz@gmx.net>
87 * lyxtext.h: move ParagraphList member to LyXText
88 rename LyXText::ownerParagraphs to LyXText::paragraph
101 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
103 * undo.C: fix cursor positioning
105 2003-12-01 John Levon <levon@movementarian.org>
107 * BufferView_pimpl.C: fix a crash on exit with
110 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
112 * BranchList.C: fix setSelected() method.
114 2003-11-28 André Pönitz <poenitz@gmx.net>
116 * ParagraphParameters.[Ch]:
117 * ParameterStruct.h: remove space above/below from Paragraph to
120 * BufferView_pimpl.C:
132 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
134 * factory.C: Syntax change for CharStyles
136 2003-11-28 André Pönitz <poenitz@gmx.net>
141 * buffer.[Ch]: move LyXText member
143 2003-11-28 André Pönitz <poenitz@gmx.net>
145 * BufferView.[Ch]: make LyXText * text a private member
147 * BufferView_pimpl.C:
158 * output_plaintext.C: cleanup
160 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
163 * lyxtextclass.[Ch]: parametrize SGML document header
165 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
168 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
171 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
173 * text2.C (setFont): rework using PosIterator (no more recursive)
174 (setCharFont): no more needed
175 (setLayout): no more selection cursors fiddling (done by redoCursor)
176 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
177 destroy remaining ones)
179 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
181 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
183 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
186 * text3.C: adjust + re-allow multi par depth changes
187 * textcursor.C: simplify a bit
189 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
195 * src/output_docbook.C:
196 * src/output_latex.C:
201 * src/text2.C: Introducing a number of tags parametrizing various
202 XML formats that we may want to support
204 2003-11-25 André Pönitz <poenitz@gmx.net>
206 * InsetList.[Ch] (begein, end): inline as suggested by profiler
208 * lyxtext.h (leftMargin/rightMargin): simplify interface
215 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
217 * lyxfunc.C (dispatch): propogate the bibtex databases from the
218 master file to any child files. Fixes bug 546.
220 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
222 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
224 2003-11-24 André Pönitz <poenitz@gmx.net>
226 * rowpainter.C: simplification
228 * text2.C (updateCounters): remove call to redoParagraph on
229 changed labels as this is far too expensive.
231 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
233 * converter.C (convert): fix a crash: this function gets
234 called with buffer == 0 from importer code.
236 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
238 * text3.C (cursorPrevious): make sure that we do not compare
239 iterators form different containers.
242 * rowpainter.C (paintSelection): make sure that we do not compare
243 iterators from different containers.
245 * text3.C (dispatch): [PRIOR] make sure that we do not compare
246 iterators from different ParagraphList containers.
249 * text2.C (LyXText): change order of initialization slightly
250 (operator=): new function. copy all variables except cache_par_
251 (moveUp): make sure that we do not compare iterators from
252 different ParagraphList constainers.
255 * text.C (firstPar): new function
256 (lastPar): new function
257 (endPar): new function
259 * lyxtext.h: move things around and group public functions, public
260 variables, private functions, private variables
262 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
264 * factory.C: change call to InsetERT constructor to avoid
265 additional invocation of method status
266 * text2.C (toggleInset): remove redundant update() call
267 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
268 instead of a Bufferview pointer
270 2003-11-21 André Pönitz <poenitz@gmx.net>
272 * rowpainter.C: simplification
274 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
276 * text3.C (dispatch): make possible to extend a word/row selection
279 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
281 * lyxtext.h: x0_,y0_ -> xo_,yo_
282 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
283 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
284 * rowpainter.C (paintRows): paint full paragraphs
286 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
288 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
291 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
293 * lyxtext.h: add x0_, y0_
294 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
295 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
297 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
299 * text2.C (setCursorIntern): move the x_target update here *
300 * text3.C: change some bv() to true/false in calls to
301 cursorUp/Down/Right/Left
302 * cursor.C: use helper function.
304 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
306 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
307 * paragraph_funcs.[Ch]: correct comment
308 * rowpainter.C: do not paint selections away from bv->cursor()
309 Fix a long standing selection painting bug.
310 * text3.C: generalize mouse-selection code to LyXTexts other that
312 * textcursor.C: do not use y coords if we can use par offsets
314 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
316 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
317 cursor position after e.g. inset insert)
319 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
321 * lyxfind.C (replace): adjust to locking removal + some
324 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
326 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
329 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
332 * output_docbook.C: XML sanitation: new layout
333 parameters InnerTag and CommandDepth
335 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
337 * BufferView_pimpl.C:
339 * text3.C: Fix the insertion and modification of button-style
342 2003-11-13 André Pönitz <poenitz@gmx.net>
344 * InsetList.[Ch]: remove deleteLyXText
346 * paragraph.[Ch]: cache beginOfBody position
351 * text3.C: remove superfluous update() calls
355 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
357 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
358 * BufferView.C (fitLockedInsetCursor): remove
359 * cursor.[Ch] (getDim): add
360 * text.C (getRowNearY): add faster version
361 * text3.C: remove some update calls
363 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
375 * text3.C: The Character Style /XML short element patch.
377 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
380 * factory.C: Small step to solving 'unable to insert some insets'
383 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
385 * cursor.[Ch] (updatePos): new function for updating the y
386 position of the tip inset
387 * bufferview_funcs.C (put_selection_at):
388 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
390 2003-11-11 André Pönitz <poenitz@gmx.net>
392 * text.C: remove big comment on invalid Paragraph pointers as it is
395 2003-11-11 André Pönitz <poenitz@gmx.net>
397 * text_funcs.[Ch]: merge with ...
405 * Makefile.am: remove text_funcs.[Ch]
407 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
409 * cursor.C (getPos): return absolute cached y coord
411 * BufferView_pimpl.C (fitCursor): new simplistic code
412 (workAreaDispatch): add a fitCursor call
414 2003-11-10 André Pönitz <poenitz@gmx.net>
417 * BufferView_pimpl.[Ch]: merge update() and updateInset()
419 2003-11-10 André Pönitz <poenitz@gmx.net>
421 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
422 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
423 indicate that the cursor needs to leave an inset
425 * lyxtext.h: remove inset locking
427 * cursor.[Ch]: re-implement functionality provided by inset locking
430 * BufferView_pimpl.[Ch]:
432 * bufferview_funcs.[Ch]:
444 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
446 * PosIterator.[Ch]: replace the stack with a vector, add inset
448 * iterators.[C]: adjust
450 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
452 * lyxfind.C (replaceAll): mark the buffer dirty if something was
454 * paragraph_funcs.C (readParToken): put the correct id in the
455 error item, not the id of the top paragraph
457 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
459 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
460 * bufferview_funcs.C (put_selection_at): use the above
462 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
464 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
466 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
469 * output_plaintext.h:
471 * output_docbook.h: add #include statements
473 2003-11-05 José Matos <jamatos@lyx.org>
475 * output_docbook.[Ch]:
477 * output_linuxdoc.[Ch]:
478 * output_plaintext.[Ch]: New files for output formats.
479 * output.[Ch]: New file for helper functions.
482 * paragraph_funcs.[Ch]: output functions moved to new files.
484 * outputparams.h: rename of latexrunparams.h
492 * paragraph_funcs.[Ch]:
493 * paragraph_pimpl.[Ch]:
494 * tabular.[Ch]: rename ascii to plaintext
495 and LatexRunParams to OutputParams.
497 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
499 * iterators.[Ch] (text): require bv argument
500 * undo.C (recordUndo):
501 * lyxfunc.C (dispatch):
502 * bufferview_funcs.C (put_selection_at): adjust
504 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
506 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
508 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
510 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
513 2003-11-04 André Pönitz <poenitz@gmx.net>
515 * cursor.[Ch]: restructure
518 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
520 * iterators.[Ch] (asCursor): remove
522 * lfuns.h: remove LFUN_INSET_EDIT
528 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
530 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
532 * lyxfind.[Ch]: complete overhaul
533 * BufferView_pimpl.C:
535 * paragraph.[Ch] (insert): add
537 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
541 * text.C: remove dead spellcheck code
543 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
545 * dispatchresult.h: add a val setter
547 * cursor.C (dispatch): use a tempvar for data_[i]
549 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
551 * PosIterator.[Ch]: compile fix
553 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
555 * text.C (cursorPar): deactivate the cursor cache
557 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
559 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
561 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
563 * text3.C (dispatch): adjust for new DisptchResult semantics.
565 * lyxfunc.C (dispatch): handle update when return from
566 Cursor::dispatch, adjust for new DispatchResult semantics.
568 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
569 DispatchResult(true) mean to not update. Add class functions for
570 setting dispatched and update, as well as reading.
572 * cursor.C (dispatch): don't handle update here
574 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
576 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
577 * trans_mgr.C: adjust
579 * paragraph_funcs.C (readParToken): exception safety
581 * lyxvc.h: store the vcs pointer in a scoped_ptr
584 * lyxsocket.C (serverCallback): exception safety
586 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
588 * ispell.C (clone): make it return a auto_ptr
590 * factory.C (createInset): exception safety
591 (readInset): exception safety
593 * bufferlist.C (newBuffer): exception safety
595 * Thesaurus.C (Thesaurus): use initialization for aik_
597 * MenuBackend.C (expandToc): exception safety.
599 2003-11-03 André Pönitz <poenitz@gmx.net>
603 * bufferview_funcs.C: remove getInsetFromId()
606 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
612 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
614 * PosIterator.C (distance, advance): new
615 * bufferview_funcs.[Ch] (put_selection_at): new
616 * iterators.[Ch] (lockPath): new
618 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
620 * iterators.[Ch] (asPosIterator): added
621 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
622 * PosIterator.[Ch]: added
624 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
628 * cursor.C (dispatch):
629 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
631 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
632 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
633 contructor, add a class function dispatched. Remove operator>=
635 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
637 * debug.C: only use the default constructor for debugstream
640 * main.C (main): include debug.h and setup the lyxerr streambuf
643 2003-10-31 José Matos <jamatos@lyx.org>
645 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
647 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
648 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
649 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
650 * paragraph_pimpl.C (simpleTeXSpecialC):
651 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
652 add LatexRunParams argument.
654 * exporter.C (Export): change call accordingly.
656 * latexrunparams.h: add new member to take care of the other backends.
657 2003-10-30 José Matos <jamatos@lyx.org>
659 * buffer.C (makeLinuxDocFile, makeDocBookFile):
660 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
661 factorise code for paragraph output.
663 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
666 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
668 * text3.C (dispatch):
669 * lyxfunc.C (dispatch):
670 * cursor.C (dispatch):
671 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
673 * dispatchresult.h: make the dispatch_result_t ctor explicit
675 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
678 * buffer.C: small refactoring of docbook stuff
680 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
682 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
685 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
687 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
688 operator dispatch_result_t, and operators for == != and >=
690 * cursor.C (dispatch): adjust for operator dispatch_result_t
691 removal. comment out call to update
693 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
695 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
703 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
706 * dispatchresult.h: new file, DispatchResult broken out of
709 * Makefile.am (lyx_SOURCES): add dispatchresult.h
711 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
713 * text.C (rowBreakPoint): put a hack inside #if 0
715 2003-10-28 André Pönitz <poenitz@gmx.net>
722 * text2.C: general cleanup (lots of small stuff)
724 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
726 * text2.C (cursorEnd): simple fix to the "end key goes to one
727 before the end on last row" bug
729 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
731 * text.C (backspace): fix the "zombie characters"
733 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
735 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
737 2003-10-27 André Pönitz <poenitz@gmx.net>
739 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
741 * factory.C: handle new InsetPagebreak, InsetLine
743 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
744 and move handling into new InsetPagebreak, InsetLine
746 * BufferView_pimpl.C:
748 * ParagraphParameters.C:
761 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
770 * text3.C: remove lastPos uses in favour of Row::endpos
772 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
774 * undo.C (performUndoOrRedo): fix two crashes by setting a
775 cursor by hand and reordering some calls. Use bv->lockInset instead
776 of inset->edit because the latter loses cursor information
778 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
780 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
782 (rowBreakPoint): fix width. change point to point + 1.
785 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
788 * lyxfunc.C: fix (at least partly) the problems
789 with the Nav menu and headers inside branch insets
792 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
794 * paragraph.C (getChar): add strong asserts
796 * lyxrow_funcs.C (lastPos): remove hideous hack
798 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
799 (fill): adjust to that (avoid an infinite loop)
801 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
803 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
805 2003-10-23 André Pönitz <poenitz@gmx.net>
807 * RowList_fwd.h: change list<> to vector<> to gain speed
808 after suggestion from Alfredo
810 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
812 * lyxtext.h: move the bidi stuff from here...
815 * Bidi.[Ch]: ... to here
817 2003-10-23 André Pönitz <poenitz@gmx.net>
820 * text.C (isLastRow, isFirstRow): new functions
822 * paragraph.h: new width cache member
824 * rowpainter.C: replace RowList::iterator with Row & where possible
826 * lyxfunc.C: replace several view()->text with a single call
828 * toc.C: fix 'unused' warning
830 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
832 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
833 when woring with stream::pos_type
834 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
836 2003-10-22 André Pönitz <poenitz@gmx.net>
839 * text.C: use Row & instead of RowList::iterator
841 * lyxrow.h: rename end() to endpos()
847 2003-10-22 Angus Leeming <leeming@lyx.org>
849 * buffer.[Ch] (fully_loaded): new member function, returning true
850 only when the file has been loaded fully.
851 Used to prevent the premature generation of previews and by the
852 citation inset to prevent computation of the natbib-style label.
854 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
855 templates are all set up.
857 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
859 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
861 * text.C: fixed an "oops" in the "is a bit silly"
864 2003-10-21 André Pönitz <poenitz@gmx.net>
866 * FuncStatus.[Ch]: small stuff, whitespace
868 * lyxfont.[Ch]: operator<<() for debug reasons
872 * lyxtext.h: whitespace, spelling
874 * paragraph.C: naming of variables
877 * text2.C: small stuff
880 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
882 * text.C: (1) finish off the inset display() work;
883 (2) fix the "is a bit silly" bug (accessing char
886 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
888 * text.C: re-introduce display() for insets, fixing the
889 various bugs (stretch of line above, math inset
892 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
894 * text.C (rightMargin): remove spurious semicolon
896 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
899 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
901 * text3.C: fix one crash due to wrong cursor def
903 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
905 * vc-backend.C (scanMaster): make the regex static
907 * LaTeX.C (scanAuxFile): make the regexs static
909 * text3.C (doInsertInset, dispatch, dispatch):
910 * text2.C (cursorUp, cursorDown):
911 * text.C (selectNextWordToSpellcheck):
912 * BufferView_pimpl.C (dispatch):
913 * lyxfunc.C (dispatch): localDispatch -> dispatch
915 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
917 * lyxsocket.C: include <cerrno>
919 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
921 * lyxfunc.C (dispatch): remove textcache stuff
923 * bufferlist.C (release): remove textcache stuff
926 * TextCache.C: delete file
927 * TextCache.h: delete file
929 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
931 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
932 delete of the bv_->text.
933 (resizeCurrentBuffer): remove texcache stuff
934 (workAreaResize): ditto
936 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
938 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
941 2003-10-16 André Pönitz <poenitz@gmx.net>
948 * text3.C: speed up by storing y positions per paragraph plus per-row
949 offset instead of having a 'full' y position in the row.
951 2003-10-15 André Pönitz <poenitz@gmx.net>
955 * undo.[Ch]: make undo aware of inner insets
957 2003-10-14 Angus Leeming <leeming@lyx.org>
959 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
960 static member functions LyX::ref() and LyX::cref.
961 (lastfiles): new accessor functions for the new lastfiles_ member var.
962 (addLyXView, views_): add a new LyXView to the list of views_.
963 (updateInset): loop over all LyXViews to call their own updateInset
964 member function, returning a pointer to the Buffer owning the inset.
966 * BufferView_pimpl.C (loadLyXFile):
967 * MenuBackend.C (expandLastfiles):
968 * bufferlist.C (MenuWrite, QuitLyX):
969 lastfiles is no longer a global variable.
970 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
972 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
973 static function. Access through LyX::cref().emergencyCleanup().
975 2003-10-14 André Pönitz <poenitz@gmx.net>
977 * iterators.[Ch]: new direct access to innermost LyXText and Inset
979 * undo.[Ch]: restoring part of 'undo in insets'
982 * undo_funcs.[Ch]: merge with undo.[Ch]
984 * tabular.C: small cleansing stuff
986 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
988 * paragraph_funcs.C (readParToken): report unknown insets as error
989 boxes. Use the outer paragraph as location (also for unknown
992 * factory.C (readInset): do not abort on reading an unknown inset.
995 2003-10-13 Angus Leeming <leeming@lyx.org>
997 * lyx_main.C (LyX): remove call to setDisplayTranslator().
999 * lyxrc.C: displayTranslator is now a function,
1000 declared in GraphicsTypes.h.
1002 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1004 * format.C: new placeholder $$a to pass the socket address.
1006 * bufferlist.[Ch]: new function getBufferFromTmp.
1008 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1009 files in the temporary dir.
1011 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1013 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1015 * Makefile.am: add lyxsocket.[Ch].
1017 * lyx_main.C (error_handler): handle SIGPIPE.
1019 2003-10-13 André Pönitz <poenitz@gmx.net>
1021 * BufferView_pimpl.C:
1026 * undo_funcs.[Ch]: use paroffset_type instead of
1027 ParagraphList::iterators to prevent multiple conversion
1028 (and get a more robust interface)
1030 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1032 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1034 * text3.C (dispatch): ditto
1036 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1038 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1039 move the onlyfile, use onlyfile instead of foundfile in a couple
1042 * DepTable.C (update): flush the error stream a bit more
1044 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1046 * lyxserver.C (callback): adjust
1048 * lyxfunc.C (getStatus): add a missing brace in commented code
1049 (ensureBufferClean): reindent
1050 (dispatch): delete version taking a string
1052 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1054 * LaTeX.C (deplog): move found file handlig from here...
1055 (handleFoundFile): .. to new function here.
1056 (deplog): make sure to discover several files mentioned on the
1059 2003-10-10 André Pönitz <poenitz@gmx.net>
1066 * text3.C: fix some of the tabular crashes
1068 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1070 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1072 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1074 2003-10-09 André Pönitz <poenitz@gmx.net>
1076 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1079 * BufferView_pimpl.C:
1080 * bufferview_funcs.C:
1091 * undo_funcs.C: adjust
1093 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1095 * text2.C (incrementItemDepth): new function, use a backtracking
1096 algorithm to discover the correct item depth.
1097 (resetEnumCounterIfNeeded): new function, use a backtracking
1098 algorithm to discover if counter reset is needed.
1099 (setCounter): use them. Simplify a bit. Add different labels for
1100 different item depths for itemize.
1102 * paragraph.C (Paragraph): remove initialization of enumdepth
1105 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1106 enumerate and itemize. Change the type of itemdepth to signed char.
1108 2003-10-08 André Pönitz <poenitz@gmx.net>
1110 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1115 * tabular.[Ch]: fix crash after 'row-insert'
1117 2003-10-08 Angus Leeming <leeming@lyx.org>
1119 Fix doxygen warnings.
1121 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1122 Remove CutAndPaste:: prefix from header file declaration.
1124 * LColor.h (fill): remove LColor:: prefix from declaration.
1126 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1127 use lyx::depth_type rather than Paragraph::depth_type so that
1128 header file and .C file match.
1130 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1132 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1133 * aspell.C: \file aspell_local.C -> \file aspell.C
1134 * gettext.C: \file gettext.C -> \file src/gettext.C
1135 * gettext.h: \file gettext.h -> \file src/gettext.h
1136 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1137 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1138 * text.C: \file text.C -> \file src/text.C
1140 * toc.C: move comment so that doxygen is not confused.
1142 2003-10-07 Angus Leeming <leeming@lyx.org>
1144 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1146 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1149 * aspell_local.h: add forgotten std::string's.
1151 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1158 * text3.C: The Box patch. Fancybox support, minipage, parbox
1160 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1166 * ParagraphParameters.h:
1176 * lyxtextclasslist.h:
1179 * paragraph_pimpl.C:
1180 * textcursor.h: add <string> and other small fixes to make Lars'
1181 std::string patch compile with STLport.
1183 2003-10-06 Angus Leeming <leeming@lyx.org>
1185 * LColor.h: Add missing #include <string>.
1187 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1189 * All most all file in all subdirs: Make <string> be the prefered
1190 way of getting to std::string, add using declarations.
1192 2003-10-06 André Pönitz <poenitz@gmx.net>
1194 * metricsinfo.C: initialize LyXFont before changing attribute.
1195 (fixes the 'math in \emph is upright' bug)
1197 2003-10-06 André Pönitz <poenitz@gmx.net>
1199 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1201 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1204 * paragraph_pimpl.C: Small fixes to build using STLport
1206 2003-10-02 André Pönitz <poenitz@gmx.net>
1209 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1211 2003-10-01 André Pönitz <poenitz@gmx.net>
1213 * factory.C: assert early
1215 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1217 * lyx_main.C: remove the global debug object
1219 * debug.h: adjust for new debugstream
1221 * debug.C: adjust for new debugstream and keep the global debug
1224 2003-09-22 Angus Leeming <leeming@lyx.org>
1226 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1227 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1228 an incomplete class LyXFont.
1230 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1232 * factory.C: bug fix in branches
1234 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1236 * lyxfunc.C (processKeySym): adjust
1238 (dispatch): change arg name from ev to func, adjust
1239 (sendDispatchMessage): ditto
1241 * lyx_main.C (defaultKeyBindings): adjust keybindings
1242 (deadKeyBindings): ditto
1244 * kbsequence.C (addkey): return a FuncRequest
1246 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1248 * kbmap.C (bind): take a FuncRequest as arg, adjust
1251 (defkey): change to take a FuncRequest as arg, adjust
1252 (findbinding): take a FuncRequest as arg, adjust.
1254 * funcrequest.h (operator=): added
1256 * funcrequest.C (FuncRequest): default kb_action changed from
1257 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1259 * buffer.C (dispatch): simplify
1260 (dispatch): adjust to take a FuncRequest as arg, adjust
1262 * boost.C (assertion_failed): change assertion message slightly
1264 * ToolbarBackend.C (read): simplify
1266 * MenuBackend.C (binding): adjust call to findbinding, add a
1267 message if no binding is found.
1269 (expandToc): correct by adding a empty FuncRequest
1271 * LyXAction.C: include <boost/assert.hpp>
1272 (isPseudoAction): delete function
1273 (LookupFunc): change name to...
1274 (lookupFunc): this. change return type to FuncRequest.
1275 (getActionName): take kb_action as arg, simplify
1276 (funcHasFlag): add an assert, simplify.
1278 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1280 * toc.C (action): return a FuncRequest, simplify
1282 * lyxfunc.C (processKeySym): adjust
1283 (getStatus): delete version that takes an int.
1285 (dispatch): delete version that takes action as int
1287 (sendDispatchMessage): simplify and adjust
1289 * funcrequest.C (getArg): take unsigned int as arg
1291 * ToolbarBackend.C (read): adjust
1292 (add): delete version that takes func as a string.
1293 (getIton): take a FuncRequest as arg
1295 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1298 * MenuBackend.C (MenuItem): add a new construct that only takes a
1299 Kind, simplify the constructor use for submenus.
1301 (expandLastfiles): adjust
1302 (expandDocuments): adjust
1303 (expandFormats): adjust
1304 (expandFloatListInsert): adjust
1305 (expandFloatInsert): adjust
1306 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1308 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1309 Remove class variables lyx_pseudo_map and lyx_arg_map
1311 * LyXAction.C (searchActionArg): delete function
1312 (getPseudoAction): delete function
1313 (retrieveActionArg): delete function
1314 (LookupFunc): make it return kb_action, simplify.
1315 (getActionName): simplify
1317 * factory.C (createInset): fix new bug
1319 2003-09-19 Angus Leeming <leeming@lyx.org>
1321 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1322 masterFilename_ parameter in the include inset.
1324 * factory.C (createInset): changes due to the changes to InsetInclude.
1326 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1328 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1330 2003-09-18 Angus Leeming <leeming@lyx.org>
1333 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1334 Inset::fillWithBibKeys.
1335 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1337 2003-09-18 Angus Leeming <leeming@lyx.org>
1339 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1341 (ctor): pass and store a 'Buffer const &'
1342 (buffer): new member function.
1344 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1345 '*this' to the LaTeXFeatures ctor.
1347 2003-09-18 Angus Leeming <leeming@lyx.org>
1353 * text.C: rename EnumLColor as LColor_color.
1355 2003-09-18 Angus Leeming <leeming@lyx.org>
1357 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1358 remove #include "insets/insetbase.h" from cursor.h.
1360 2003-09-18 Angus Leeming <leeming@lyx.org>
1362 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1363 InsetOld_code to remove #include "inset.h".
1365 * iterators.C: add #include "insets/inset.h"
1367 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1369 * BufferView.C: remove more locking stuff that apparently doesn't
1370 do anything sensible.
1372 2003-09-16 André Pönitz <poenitz@gmx.net>
1375 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1378 2003-09-16 Angus Leeming <leeming@lyx.org>
1380 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1382 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1385 * paragraph.h: remove #include "lyxfont.h". Forward declare
1388 2003-09-16 Angus Leeming <leeming@lyx.org>
1390 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1391 of support/textutils.h.
1392 (isWord): move the contents of support/textutils.h's IsWordChar here.
1398 * text2.C: add #include "paragraph.h".
1401 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1403 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1409 * LaTeX.C: use namespace alias for lyx::support::os
1411 2003-09-16 Angus Leeming <leeming@lyx.org>
1414 * bufferview_funcs.C:
1417 * paragraph_pimpl.C:
1419 * text.C: add #include "LColor.h".
1421 2003-09-16 Angus Leeming <leeming@lyx.org>
1423 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1424 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1426 Store the FontBits::color variable as an int rather than as an
1427 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1430 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1431 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1432 string calls together.
1434 * lyxrc.C: add #include "LColor.h".
1436 2003-09-15 Angus Leeming <leeming@lyx.org>
1438 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1441 2003-09-15 Angus Leeming <leeming@lyx.org>
1443 * LColor.h: add an EnumLColor wrapper for LColor::color.
1445 * lyxfont.[Ch] (color, setColor, realColor):
1446 * lyxtext.h, text.C (backgroundColor):
1447 pass EnumLColor args to/from the functions, rather than LColor::color
1451 * lyxtext.h: forward declare EnumLColor.
1453 * lyx_main.C: add #include "LColor.h".
1455 2003-09-15 Angus Leeming <leeming@lyx.org>
1457 * .cvsignore: add lyx-gtk.
1459 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1464 * ParagraphParameters.C
1468 * bufferview_funcs.C
1478 * vc-backend.C: remove usage of STRCONV
1480 2003-09-15 Angus Leeming <leeming@lyx.org>
1482 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1483 explicitly define the color passed to the painter.
1485 2003-09-15 Angus Leeming <leeming@lyx.org>
1487 * bufferparams.C (BufferParams): reorder member initializers to avoid
1490 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1492 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1493 * text.C (updateRowPositions): remove an unusual nop
1495 2003-09-12 André Pönitz <poenitz@gmx.net>
1497 * BufferView_pimpl.C:
1506 * Counters.[Ch]: finish the 'automatic counters' job
1508 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1510 * aspell.C: include <boost/assert.cpp> (compile fix)
1512 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1514 * boost.C (assertion_failed): use lyx::support::abort instead of
1517 2003-09-10 Angus Leeming <leeming@lyx.org>
1519 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1520 with their _fwd progeny.
1522 2003-09-09 Angus Leeming <leeming@lyx.org>
1524 134 files throughtout the source tree: replace 'using namespace abc;'
1525 directives with the appropriate 'using abc::xyz;' declarations.
1527 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1529 * boost.C (emergencyCleanup): moved here from LAssert.c
1530 (assertion_failed): new function, called by BOOST_ASSERT
1532 * several files: change Assert to BOOST_ASSERT
1534 2003-09-09 Angus Leeming <leeming@lyx.org>
1536 * buffer.[Ch]: Add an Impl class and move Buffer's member
1537 variables into it. As a result move several header files out of
1540 Add header files to lots of .C files all over the tree as a result.
1542 2003-09-09 Angus Leeming <leeming@lyx.org>
1544 * buffer.[Ch]: make Buffer's member variables private. Add
1547 Lots of changes all over the tree as a result.
1549 2003-09-08 Angus Leeming <leeming@lyx.org>
1551 * graph.C: #include <config.h>.
1553 2003-09-08 Angus Leeming <leeming@lyx.org>
1557 * BufferView_pimpl.C:
1586 * toc.C: remove redundant using directives.
1588 2003-09-07 Angus Leeming <leeming@lyx.org>
1590 * LaTeXFeatures.h: remove #include "support/types.h".
1591 * ToolbarBackend.h: remove #include <algorithm>.
1592 * changes.h: remove #include <ctime>.
1593 * debug.h: remove #include <iosfwd>.
1594 * graph.h: remove #include "support/std_string.h".
1595 * lyx_main.h: remove #include <csignal>.
1596 * lyxlex_pimpl.h: remove #include <fstream>.
1597 * sgml.h: remove #include <algorithm>, <utility>.
1598 * toc.h: remove #include "support/std_ostream.h".
1599 Add #include <iosfwd>.
1601 2003-09-07 Angus Leeming <leeming@lyx.org>
1603 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1605 * converter.h: forward declare LatexRunParams.
1606 * encoding.h: remove #include "lyxrc.h".
1607 * lyxtext.h: remove #include "LColor.h".
1608 * lyxtextclass.h: remove #include "support/types.h".
1609 * trans.h: remove #include "tex-accent.h".
1610 * trans_mgr.h: remove #include "tex-accent.h".
1611 * insets/inset.h: remove #include "support/types.h", <vector>.
1612 * insets/insetcollapsable.h: remove #include "LColor.h".
1613 * insets/insetinclude.h: remove #include "dimension.h".
1614 * insets/insetlatexaccent.h: remove #include "dimension.h".
1615 * insets/insetoptarg.h:: remove #include "insettext.h".
1616 * insets/insettext.h: remove #include "dimension.h",
1617 <boost/shared_ptr.hpp>
1619 * insets/renderers.h: add #include "dimension.h".
1620 * insets/updatableinset.h: add #include "support/types.h".
1622 * many .C files: Associated changes.
1624 2003-09-06 Angus Leeming <leeming@lyx.org>
1626 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1627 one, inside testInvariant.
1629 * PrinterParams.C: new file.
1630 * PrinterParams.[Ch]: move the function bodies out of line.
1632 2003-09-06 Angus Leeming <leeming@lyx.org>
1634 * ParagraphParameters.h: forward declare ParameterStruct rather than
1635 including its header file.
1636 (depth): moved out-of-line.
1638 2003-09-06 Angus Leeming <leeming@lyx.org>
1640 * BufferView_pimpl.h:
1643 * lyxfunc.h: forward declare LyXKeySym rather than
1644 #include "frontends/LyXKeySym.h".
1646 * BufferView_pimpl.C:
1649 * lyxfunc.C: associated changes.
1651 2003-09-06 Angus Leeming <leeming@lyx.org>
1653 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1654 As a result, can remove the #include "insets/inset.h" from BufferView.h
1656 2003-09-06 Angus Leeming <leeming@lyx.org>
1658 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1659 As a result, can remove the #include "insets/inset.h" from BufferView.h
1661 2003-09-06 Angus Leeming <leeming@lyx.org>
1667 * bufferview_funcs.C:
1668 * BufferView_pimpl.C:
1673 * ParagraphParameters.C:
1678 * frontends/controllers/ControlDocument.C:
1679 * insets/insetcaption.C: rearrange the #includes into some sort of
1682 * buffer.h: remove #includes ErrorList.h, undo.h
1684 2003-09-06 Angus Leeming <leeming@lyx.org>
1686 * support/types.h: add a 'depth_type' typedef, used to store the
1687 nesting depth of a paragraph.
1690 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1691 defining explicitly.
1694 * paragraph_funcs.h:
1695 * ParagraphParameters.h:
1696 * sgml.h: use lyx::depth_type rather than Paragraph or
1697 ParameterStruct's depth_type.
1700 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1703 * BufferView_pimpl.C:
1705 * ParagraphParameters.C:
1708 * bufferview_funcs.C:
1715 * frontends/LyXView.C:
1716 * frontends/controllers/ControlDocument.C:
1717 * frontends/controllers/ControlErrorList.C:
1718 * insets/insetbibitem.C:
1719 * insets/insetbranch.C:
1720 * insets/insetcaption.C:
1721 * insets/insetcollapsable.C:
1722 * insets/insetenv.C:
1723 * insets/insetert.C:
1724 * insets/insetfloat.C:
1725 * insets/insetfoot.C:
1726 * insets/insetfootlike.C:
1727 * insets/insetnewline.C:
1728 * insets/insetquotes.C:
1729 * insets/insettabular.C:
1730 * insets/insettext.C:
1731 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1733 * frontends/controllers/ControlChanges.C: #include "changes.h".
1735 2003-09-06 Angus Leeming <leeming@lyx.org>
1737 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1738 than #including paragraph.h.
1741 * RowList.h: deleted. Superfluous.
1751 * insets/insettext.h: use ParagraphList_fwd.h rather than
1754 * paragraph.h: don't forward declare ParagraphList.
1757 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1758 rather than ParagraphList.h. paragraph.h is still needed for the
1759 Paragraph::depth_type parameters.
1761 * textcursor.h: enable it to compile stand-alone in light of the
1764 * bufferview_funcs.C:
1776 * frontends/controllers/ControlParagraph.C:
1777 * frontends/controllers/ControlTabular.C:
1778 * insets/insetmarginal.C:
1779 * insets/insetminipage.C:
1780 * insets/insetnote.C:
1781 * insets/insetoptarg.C: add header files needed to compile again.
1783 2003-09-06 Angus Leeming <leeming@lyx.org>
1785 * RowList_fwd.h: new file, forward-declaring Row rather than
1786 #including lyxrow.h.
1791 * insets/insettext.h: use it instead of RowList.h
1793 * bufferview_funcs.C:
1800 * text3.C: #include "RowList.h".
1802 2003-09-05 Angus Leeming <leeming@lyx.org>
1804 * factory.C (createInset):
1805 * vspace.C (c-tor): replace sscanf call with an istringstream.
1806 * ispell.C: re-add missing HP/UX headers.
1807 * lyxserver.C: re-add missing os2 headers.
1809 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1818 * text3.C: re-add missing system headers, needed for 2.95.2.
1820 2003-09-05 Angus Leeming <leeming@lyx.org>
1822 Changes most place everywhere due to the removal of using directives
1823 from support/std_sstream.h.
1825 2003-09-05 Angus Leeming <leeming@lyx.org>
1827 Replace LString.h with support/std_string.h,
1828 Lsstream.h with support/std_sstream.h,
1829 support/LIstream.h with support/std_istream.h,
1830 support/LOstream.h with support/std_ostream.h.
1832 Changes resulting throughout the tree.
1834 2003-09-05 Angus Leeming <leeming@lyx.org>
1836 * sgml.h: ensure that the header file can be compiled stand-alone.
1837 * *.C: strip out redundant #includes. (320 in total.)
1839 2003-09-04 Angus Leeming <leeming@lyx.org>
1841 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1842 here (from getPackages).
1844 * debug.[Ch]: add a new EXTERNAL tag.
1846 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1848 * text2.C (cursorEnd): simplify
1850 (getColumnNearX): adjust
1852 * text.C (computeBidiTables): adjust
1855 * rowpainter.C (paintChars): adjust
1856 (paintSelection): adjust
1857 (paintChangeBar): adjust
1860 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1862 (numberOfSeparators): adjust
1864 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1870 * text3.C: Restricts the mouse click functionality
1871 of insets like bibtex, include, toc and floatlist to the visible
1872 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1873 up the dialogs. Cursor has to be in front of the inset (i.e.
1874 start of row) for this to function.
1876 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1878 * bufferview_funcs.C (currentState): output row information
1880 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1882 * bufferview_funcs.C (currentState): output paragraph position
1884 2003-09-04 Angus Leeming <leeming@lyx.org>
1886 * FloatList.h: move out #include "Floating.h".
1887 * LaTeX.h: move out #include "DepTable.h".
1888 * LyXAction.h: move out #include "funcrequest.h".
1889 * buffer.h: move out #include "author.h", "iterators.h".
1890 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1891 * lyx_main.h: move out #include "errorlist.h".
1892 * lyxfunc.h: move out #include "FuncStatus.h".
1893 * lyxtext: move out #include "lyxcursor.h".
1894 * paragraph_pimpl.h: move out #include "counters.h".
1896 2003-09-03 Angus Leeming <leeming@lyx.org>
1898 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1899 preamble_snippets list, enabling us to add snippets to the preamble
1900 only if the snippet was not there already.
1902 2003-09-04 Angus Leeming <leeming@lyx.org>
1904 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1906 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1908 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1911 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1913 * BranchList.C: point fix, earlier forgotten
1915 2003-09-02 Angus Leeming <leeming@lyx.org>
1917 * box.C (contains): renamed from 'contained' after a fantastic
1920 2003-09-02 John Levon <levon@movementarian.org>
1926 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1928 2003-09-02 John Levon <levon@movementarian.org>
1930 * text2.C: simplification of cursorEnd(), including partial
1933 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1935 * buffer.C (readFile): add a space
1937 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1939 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1941 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1943 * buffer.C (readFile): new function, take a filename and a
1944 ParagraphList::iterator
1946 (readFile): adjust, make it private. don't use setStream, make
1947 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1948 always contain the filename.
1950 * BufferView.C (insertLyXFile): simplify and make it work for
1953 2003-08-30 John Levon <levon@movementarian.org>
1955 * Makefile.am: fix dist (from Kayvan)
1957 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1959 * most files: change to use const Buffer refs
1961 2003-08-27 André Pönitz <poenitz@gmx.net>
1963 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1964 on top of ownerPar().
1966 2003-08-27 John Levon <levon@movementarian.org>
1968 * funcrequest.C: properly initialise POD members
1970 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1972 * lyxtext.h (top_y): move top_y from here
1977 * BufferView_pimpl.[Ch]: to here
1978 * frontends/screen.C:
1979 * insets/insettabular.C:
1980 * insets/insettext.C: adjust
1981 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1983 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1986 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1988 2003-08-26 André Pönitz <poenitz@gmx.net>
1990 * paragraph_func.[Ch] (outerPar): new function
1993 * paragraph_funcs.C:
1994 * paragraph_funcs.h:
1995 * paragraph_pimpl.C:
1996 * text2.C: remove Inset::par_owner
1998 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2003 * text2.C: eliminates the needFullRow/display() stuff
2004 altogether, putting the logic in metrics/draw in the insets.
2006 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2008 * text2.C (redoParagraphInternal, redoParagraphs):
2009 * text.C (redoParagraph): add a call to updateRowPositions at the
2010 end of each 'metrics-like' call. Remove all others.
2011 (getRow): remove the 'y-computing' version.
2012 (getRowNearY): do not compute nor return the real y. Solve the
2013 'y < 0' problem and simplify.
2015 2003-08-22 Angus Leeming <leeming@lyx.org>
2017 * *.[Ch]: clean-up of licence and author blurbs.
2018 Also move config.h out of a few .h files and into a few .C files.
2020 2003-08-22 André Pönitz <poenitz@gmx.net>
2022 * lyxrow.[Ch]: add x_ and *fill_ members
2027 * text2.C: adjust/remove prepareToPrint() calls
2029 2003-08-22 André Pönitz <poenitz@gmx.net>
2031 * lyxrow.[Ch]: add end_ member
2033 * lyxrow_funcs.C: use LyXRow::end_
2035 * lyxtext.h (singleWidth): add LyXFont parameter
2038 * text2.C: adjust LyXText::singleWidth() calls
2040 * text.C (redoParagraph): simplify row breaking logic
2043 2003-08-19 André Pönitz <poenitz@gmx.net>
2045 * funcrequest.C: initialize button_ member
2048 * rowpainter.[Ch]: interface consolidation
2050 2003-08-18 André Pönitz <poenitz@gmx.net>
2053 * BufferView_pimpl.C:
2055 * paragraph_funcs.C:
2057 * text3.C: remove LyXScreen::draw() and fitCursor calls
2059 * BranchList.h: remove spurious semicolons
2061 * MenuBackend.C: fix branchlist related crash
2063 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2071 * bufferparams.[Ch]:
2075 * text3.C: implements the 'branch inset'
2076 idea. This allows the output of various versions of a document
2077 from a single source version, selectively outputing or suppressing
2078 output of parts of the text.
2079 This implementation contains a 'branch list editor' in a separate
2080 tab of the document settings dialog. Branches are user definable
2081 and have a "display colour" to distinguish them on-screen.
2083 ColorHandler was somewhat cleaned up.
2084 (1) make possible a dynamically growing LColor list by allowing
2085 the graphic context cache to grow along (vector);
2086 (2) eliminate an IMHO unnecessary step in colour allocation.
2088 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2090 * BufferView_pimpl.C: compile fix
2092 2003-08-15 André Pönitz <poenitz@gmx.net>
2094 * rowpainter.C: remove extra metrics calls
2096 * lyxtext.h: merge the two constructors into a single one,
2097 pass reference to owner's par list
2099 * BufferView_pimpl.C:
2103 2003-08-15 André Pönitz <poenitz@gmx.net>
2105 * lyxrow_funcs.[Ch]:
2108 * paragraph_funcs.C:
2113 * text_funcs.C: split LyXText::rowlist_ into individual
2114 Paragraph::rows_ chunks
2117 * BufferView_pimpl.[Ch]:
2120 * text3.C: remove toggleSelection()
2122 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2124 * bufferlist.C: beautify two alerts (shorter text of buttons)
2125 * buffer.C: Remove redundant ' ' from message
2127 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2128 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2129 rename VALIGN_CENTER to VALIGN_MIDDLE
2131 2003-08-11 André Pönitz <poenitz@gmx.net>
2133 * lyxtext.h (getPar):
2134 * text.C: new function
2136 2003-08-11 André Pönitz <poenitz@gmx.net>
2139 * tracer.[Ch]: remove unneeded files
2141 * InsetList.[Ch]: remove resizeInsetsLyXText()
2146 * text3.C: merge insertParagraphs() and appendParagraph()
2147 remove breakAgain(), update()
2149 * BufferView_pimpl.[Ch]:
2150 * bufferview_funcs.[Ch]:
2154 * tabular.C: adjust after text & InsetList changes.
2156 2003-08-08 André Pönitz <poenitz@gmx.net>
2158 * text.C (insertChar, backspace): replace rowlist fiddling
2159 with rebreak of full par
2162 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2163 checkParagraph, updateInset): removed
2165 2003-08-07 André Pönitz <poenitz@gmx.net>
2168 * text3.C: merge some LFUN handlers, remove dead code
2170 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2172 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2174 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2176 * text2.C (DEPM): fix part of bug 1255 and 1256
2178 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2180 * BufferView_pimpl.C (workAreaDispatch): change to use
2181 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2182 that are no mouse related.
2184 2003-08-05 André Pönitz <poenitz@gmx.net>
2187 * BufferView_pimpl.[Ch]:
2188 * bufferview_funcs.C:
2190 * text3.C: rip out "deep update"
2192 * textcursor.[Ch] (last_sel_cursor): remove unused member
2194 2003-08-04 André Pönitz <poenitz@gmx.net>
2197 * BufferView_pimpl.[Ch]:
2198 * ParagraphParameters.C:
2199 * bufferview_funcs.C:
2205 * text3.C: replace "complicated" BufferView::update(...) calls with
2208 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2210 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2212 * Makefile.am (lyx_SOURCES): add paper.h
2214 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2216 * Makefile.am: move things around so that both lyx-qt and
2217 lyx-xforms can be built (according to --with-frontend). Then lyx
2218 is a symbolic link to lyx-[firstfrontend]
2220 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2222 * Always use std::endl with lyxerr
2224 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2226 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2228 2003-08-01 André Pönitz <poenitz@gmx.net>
2231 * BufferView_pimpl.[Ch]:
2233 * text3.C: merge BufferView::repaint() and BufferView::update()
2235 2003-08-01 José Matos <jamatos@lyx.org>
2237 * buffer.[Ch]: file_format is no longer a buffer data element.
2239 2003-08-01 André Pönitz <poenitz@gmx.net>
2244 * text2.C: make redoParagraph more independent of current cursor
2246 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2248 * text2.C: remove unneeded members
2250 2003-07-30 André Pönitz <poenitz@gmx.net>
2252 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2254 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2255 create a single function...
2257 * paragraph_funcs.C (moveItem): ... here.
2260 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2262 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2264 * LColor.[Ch]: Add comment and greyedout logical colors.
2266 2003-07-30 André Pönitz <poenitz@gmx.net>
2268 * tabular.C: don't use Assert too heavily. This crashes where it
2271 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2273 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2274 is disabled (bug 1232)
2276 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2278 * factory.C: limited 'arg' scope
2280 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2282 * factory.C: fixed Note submenu issues
2284 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2286 * factory.C: submenu for Note/Comment/Greyedout
2288 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2291 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2293 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2296 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2297 greyedout. Patch provided by Jürgen Spitzmüller.
2299 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2301 * kbmap.C (read): fix error message when reading bind files
2303 2003-07-29 Angus Leeming <leeming@lyx.org>
2305 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2306 certainly does not do what it purports to do. I am doing it, and
2307 us, a favour by killing it.
2309 2003-07-28 José Matos <jamatos@lyx.org>
2311 * buffer.C (readBody, do_writeFile):
2312 * paragraph.C(readParagraph): \end_document replaces \the_end.
2314 2003-07-29 André Pönitz <poenitz@gmx.net>
2317 * BufferView_pimpl.[Ch]:
2321 * textcursor.[Ch]: remove toggleToggle & Co
2323 2003-07-28 José Matos <jamatos@fep.up.pt>
2325 * buffer.C (readParagraph):
2326 * params_func (readParToken, readParagraph):
2327 * paragraph.C (write): \layout -> \begin_layout.
2329 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2331 * lyxlex_pimpl.C (setFile): clean up slightly.
2333 * bufferparams.h: add compressed var
2335 * buffer_funcs.C (readFile): adjust for LyXLex change
2336 (newFile): ditto + simplify
2338 * buffer.C (writeFile): handle writing of compressed files
2340 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2341 Check if the file is compressed and set a bufferparm if so.
2343 * Makefile.am (lyx_LDADD): remove explicit -lz
2345 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2347 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2348 makeDocBookFile): put the real LyX version in the first line of
2352 * version.C.in: remove lyx_docversion
2354 * tabular.C (write_attribute): add a template-based version to
2355 write enums properly
2357 2003-07-28 André Pönitz <poenitz@gmx.net>
2362 * text3.C: use doubles again for x-coordinates. They are needed.
2364 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2366 * messages.C (getLocaleDir): use lyx_localedir()
2368 * lyxlex_pimpl.C (setFile): compress stuff
2370 * buffer.C (writeFile): add some compression stuff
2371 (do_writeFile): new func, dont call expliti close... will this
2374 * Makefile.am (lyx_LDADD): add -lz
2376 2003-07-28 José Matos <jamatos@fep.up.pt>
2378 * buffer.C: increment file format.
2379 * paragraph_funcs (readParagraph, readParToken):
2380 * paragraph.C (readParagraph): add \end_layout.
2382 2003-07-27 Angus Leeming <leeming@lyx.org>
2384 * Makefile.am: remove special casing for configure-time setting of
2385 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2387 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2388 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2390 2003-07-26 André Pönitz <poenitz@gmx.net>
2392 * paragraph_func.[Ch]:
2393 * paragraph.C (realizeFont): inline it whereever it is used
2398 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2401 2003-07-26 André Pönitz <poenitz@gmx.net>
2405 * text2.C: get rid of LyXText::need_break_row
2407 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2409 * toc.[Ch]: put namespace toc inside namespace lyx
2411 * MenuBackend.C (expandToc2): adjust for lyx::toc
2414 * lyxfunc.C (dispatch): adjust for lyx::find
2416 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2417 lyx::find instead. Reorganize a bit.
2418 (LyXReplace): rename to replace
2419 (LyXFind): rename to find
2421 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2424 2003-07-26 André Pönitz <poenitz@gmx.net>
2426 * text.C (setHeightOfRow): restrict scope of temporary variable
2428 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2429 code (never has been used?)
2431 2003-07-27 Asger Alstrup <alstrup@local>
2433 * text.C (fill): Optimise algorithm to exploit that we can reuse
2434 the LyXFont for many characters.
2435 (setHeightOfRow): Same thing.
2436 (rowBreakPoint): Same thing.
2438 2003-07-26 Asger Alstrup <alstrup@local>
2440 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2442 * text.C (singleWidth): Spurious font copying in hot-spot
2443 singleWidth avoided. Reorder tests for arabic for efficiency.
2445 * text.C (fill): handle empty paragraphs better.
2447 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2450 * encoding.h: add includes
2452 * lyxrc.C: remove reading of bind files
2454 * lyx_main.C (init): setup bindings and menus only if we have a
2457 * kbmap.C (read): new method. Do the actual reading of bind
2460 * converter.C (dvipdfm_options):
2463 (output): adapt PAPER_* enums.
2465 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2467 * bufferparams.h: remove paper-related enums from there
2469 * paper.h: New file. A trivial header file to hold paper-related
2470 enums. It should later expand to contain many paper-related
2473 * lyxrc.C: declare extern displayTranslator
2475 2003-07-27 José Matos <jamatos@fep.up.pt>
2477 * tabular.[Ch] (linuxdoc): add support for tables and figures
2480 2003-07-27 José Matos <jamatos@fep.up.pt>
2482 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2483 consistency in both functions.
2484 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2486 2003-07-26 Asger Alstrup <alstrup@local>
2488 * rowpainter.C (paintRows): Change algorithm to work directly on
2489 the insets rather than asking every character in the document
2490 whether its an inset.
2492 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2494 * buffer.C (openFileWrite): factorize some code
2496 2003-07-26 Angus Leeming <leeming@lyx.org>
2499 * lyx_main.[Ch]: replace occurances of system_tempdir with
2502 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2504 * rename Inset to InsetOld
2506 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2508 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2509 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2510 which I think is a bit clearer. EDIT is gone, since it was
2511 premature optimisation, and broken for mathed anyway.
2512 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2513 with cursor positioning in insets as well (math insets still do not
2514 work, but that's a different story anyway.) It mysteriously
2515 crashes sometimes with undo in the first paragraph, but I'm fairly
2516 confident that this is a compiler bug.
2518 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2520 * paragraph.C (Paragraph): adjust for new clone return type
2522 (copyIntoMinibuffer): ditto
2524 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2526 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2527 by not having a special case, and always doing a full rebreak of
2528 the document after undo.
2530 2003-07-23 Angus Leeming <leeming@lyx.org>
2532 * factory.C (createInset): InsetExternal::setParams now takes a
2535 2003-07-23 Angus Leeming <leeming@lyx.org>
2537 * factory.C (createInset): changed interface to the external and
2538 graphics mailers' string2params functions.
2540 2003-07-23 Angus Leeming <leeming@lyx.org>
2542 * factory.C (createInset): pass a
2543 Buffer const * parameter to InsetExternalMailer's string2params.
2545 2003-07-22 John Levon <levon@movementarian.org>
2547 * Thesaurus.h: include the right aiksaurus header
2549 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2551 * MenuBackend.C (expand): check menu shortcuts unconditionally
2553 2003-07-21 Angus Leeming <leeming@lyx.org>
2555 * factory.C (createInset): pass a
2556 buffer_path parameter to InsetGraphicsMailer's string2params.
2558 2003-07-21 Angus Leeming <leeming@lyx.org>
2560 * BufferView_pimpl.C (buffer):
2563 * lyxfunc.C (dispatch):
2564 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2565 rather than the grfx shortcut.
2567 2003-07-21 André Pönitz <poenitz@gmx.net>
2569 * rowpainter.C: remove unused variables
2572 * tabular_funcs.h: move to tabular.C
2573 * Makefile.am: adjust
2575 * tabular.[Ch]: basic optical cleaning
2577 * author.h: pass references, not values
2579 2003-07-18 André Pönitz <poenitz@gmx.net>
2587 * text3.C: two-phase drawing for InsetText and InsetTabular
2588 some float -> int changes.
2590 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2592 * lyx_main.C: fix the fix
2594 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2596 * lyx_main.C: fix a crash in batch mode if no files specified
2599 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2601 * format.[Ch] (papersize): moved to BufferParams
2602 * converter.[Ch] (dvips_options): moved to BufferParams
2603 (dvipdfm_options): moved to anon namespace
2604 * bufferparams.[Ch]: added above functions.
2606 2003-07-17 André Pönitz <poenitz@gmx.net>
2610 * text2.C: don't call inset->update() anymore
2612 * metricsinfo.[Ch]: add convenience constructor
2614 2003-07-16 André Pönitz <poenitz@gmx.net>
2619 * text2.C: replace the LyXCursor::irow_ member with
2620 on-demand computation of the value
2622 2003-07-16 John Levon <levon@movementarian.org>
2624 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2626 2003-07-15 André Pönitz <poenitz@gmx.net>
2629 * text2.C: remove no more needed refresh_row
2631 2003-07-15 André Pönitz <poenitz@gmx.net>
2636 * text3.C: refresh_status tristate -> need_update bool
2638 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2640 * lyxtext.h (init): remove reinit argument (act as if always true)
2641 * text2.C: adjust to that
2643 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2645 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2646 * text3.C: use it to delete selections in some cases
2647 (bugs 441, 673, 702, 954).
2649 2003-07-14 André Pönitz <poenitz@gmx.net>
2651 * rowpainter.[Ch]: reduce interface
2653 2003-07-14 André Pönitz <poenitz@gmx.net>
2655 * BufferView_pimpl.C:
2656 * text2.C: adjust after removing unused BufferView * argument
2658 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2660 * text2.C (init): fix a crash fired on resize
2662 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2664 * buffer.[Ch]: added new closing signal
2665 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2666 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2667 BufferView::Pimpl via the closing the signal
2669 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2671 * buffer.[Ch]: take out all bv-related from buffer
2673 * BufferView_pimpl.[Ch]: connect to new signals
2674 * CutAndPaste.C: removed useless asserts
2675 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2678 * lyxfunc.C: moved view-related funciontality from vc here
2679 * paragraph.C: removed outdated comments
2682 2003-07-10 André Pönitz <poenitz@gmx.net>
2684 * BufferView_pimpl.C:
2688 * text2.C: remove InsetText::InnerCache, clean up consequences
2690 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2692 * ispell.C: fix two typos in error messages
2694 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2696 * Extend Note inset to other forms of annotation like Comment
2697 and Greyedout. Right button click gives dialog.
2699 Files modified or added (+):
2703 * ControlNote.[Ch] +
2705 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2706 frontends/controllers
2710 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2712 * aspell.C: add missing namespace lyx::support
2714 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2716 * BufferView.[Ch] (newFile): Add
2717 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2718 * LaTeX.[Ch] (message): added this signal and use it
2719 * buffer.[Ch] (busy, message): added these signals and use them
2720 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2724 * importer.C: use buffer signals instead of direct bv calling
2725 * lyx_cb.[Ch] (ShowMessage): removed
2728 * paragraph_funcs.C:
2729 * text2.C: use buffer signals
2731 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2733 * introduce namespace lyx::graphics
2735 2003-07-02 André Pönitz <poenitz@gmx.net>
2737 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2739 2003-07-01 André Pönitz <poenitz@gmx.net>
2746 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2747 text*.C to text_func.C
2749 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2751 * introduce namespace lyx::support
2753 2003-06-30 André Pönitz <poenitz@gmx.net>
2758 * text.C: re-enable --with-included-string
2760 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2762 * textcursor.C: add <config.h>
2764 * text.C (getWord): remove const from word_location arg
2766 * lyxvc.C (getLogFile): fix const type order
2768 * lyxtext.h: remove const from word_location arg, add arg name
2770 * lyxlayout.h: currect type on labeltype.
2772 * importer.C: correct \file
2774 * converter.C (intToFormat): use std:: on ret val, ws changes
2776 * bufferlist.h: correct \file
2778 * buffer.C (makeLinuxDocFile): fix const type order
2779 (makeDocBookFile): ditto
2780 (fillWithBibKeys): use std:: on stdlib args.
2782 * CutAndPaste.C: fix authors.
2783 (availableSelections): use std:: on return vector
2785 2003-06-27 André Pönitz <poenitz@gmx.net>
2787 * BufferView_pimpl.C:
2788 * bufferview_funcs.C:
2796 * text3.C: remove LyXCursor::row_ member
2799 * text.C: rename fullRebreak() to partialRebreak() and implement
2800 a fullRebreak() that really bereks fully
2802 * textcursor.h: new struct for cursor-related data
2804 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2806 * lyx_main.C (LyX): get full path of document loaded on the
2809 2003-06-26 André Pönitz <poenitz@gmx.net>
2811 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2812 remove unused/broken operator>,<,>=.
2814 * text.C: remove only use of broken operator<= in an Assert().
2816 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2818 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2819 moved errorlist_.clear to showErrorList
2821 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2823 * converter.C (scanLog, runLaTeX):
2824 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2825 move the bv->showErrorList call to the callers
2826 * lyxfunc.C: i.e. here...
2828 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2829 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2830 namespace, the second to...
2831 * buffer_funcs (BufferFormat, parseErrors): added
2832 * errorlist.C (ErrorList(TeXErrors const &)): removed
2834 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2836 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2838 2003-06-24 "Garst R. Reese" <reese@isn.net>
2842 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2844 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2846 * version.C.in: change docversion to 1.4
2848 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2850 * buffer.C: fix a bug just introduced
2852 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2854 * buffer.[Ch]: added the parseError signal and use it, removed
2856 * BufferView.[Ch] (addError): moved to ...
2857 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2858 to the Buffer::parseError signal to catch (guess what) parse errors
2859 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2861 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2863 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2864 ability to create a buffer and to return an existing one from
2865 the list. Moved these functions to...
2866 * buffer_funcs.[Ch]: added
2867 * BufferView.[Ch] (loadLyXFile): added
2868 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2869 job removed from bufferlist::loadLyXFile.
2870 * buffer.C (setReadOnly): make it work without view
2871 (i.e added an if (users))
2873 2003-06-19 Angus Leeming <leeming@lyx.org>
2876 * LyXAction.C (init):
2877 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2878 with LFUN_DIALOG_SHOW <name> <data>.
2880 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2882 * CutAndPaste.C (availableSelections): small compilation fix for
2883 ancient (gcc 2.9x) compilers
2885 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2887 * text3.C (cursorNext): add tmp var
2889 * text2.C (updateCounters): for function calling out of for clause
2890 (replaceSelectionWithString): ditto
2891 (insertStringAsParagraphs): ditto
2892 (getColumnNearX): add tmp var
2893 (setCursorFromCoordinates): add tmp var
2894 (cursorDownParagraph): add tmp var
2895 (deleteEmptyParagraphMechanism): add tmp var
2897 * text.C (insertChar): add tmp var
2899 * rowpainter.C (paintDepthBar): add tmp var
2901 * CutAndPaste.C (availableSelections): potentially check all
2902 paragraphs in a cut to fill the shown strings.
2904 2003-06-18 André Pönitz <poenitz@gmx.net>
2906 * kbmap.[Ch]: use vector<> instead of list<>
2908 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2910 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2911 pasteSelection with index
2913 * text2.C (pasteSelection): modify, call pasteSelection with index
2915 * paragraph.C (asString): reimplement version with no interval to
2916 call the one with interval.
2918 * lyxtext.h: add index arg to pasteSelection
2920 * MenuBackend.C (MenuItem): handle PasteRecent
2921 (Menu::read::Menutags): add md_pasterecent
2923 (expandPasteRecent): new function
2926 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2928 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2930 (availableSelections): new function
2932 2003-06-17 Angus Leeming <leeming@lyx.org>
2934 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2936 2003-06-17 Angus Leeming <leeming@lyx.org>
2939 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2941 * lyxfunc.C (dispatch): invoke it.
2943 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2945 * iterators.C (operator++, ParPosition): reintroduce some
2946 const_cast for the benefit of older compilers.
2948 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2950 * text3.C (dispatch): do not modify clipboard when doing
2951 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2952 LFUN_DELETE_SKIP on a selection selection
2954 2003-06-16 André Pönitz <poenitz@gmx.net>
2960 * tabular.[Ch]: IU of clone() and getLabelList();
2962 2003-06-13 André Pönitz <poenitz@gmx.net>
2964 * tabular.h: compactification
2966 2003-06-12 André Pönitz <poenitz@gmx.net>
2970 * tabular_funcs.h: some renaming plus whitespace
2972 2003-06-12 André Pönitz <poenitz@gmx.net>
2975 * BufferView_pimpl.C:
2981 * toc.C: Return a Paragraph & for ParIterator::operator*()
2983 2003-06-11 John Levon <levon@movementarian.org>
2987 * ToolbarBackend.C: add "Toolbars" section and
2990 2003-06-10 Angus Leeming <leeming@lyx.org>
2993 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2995 * lyxfunc.C (dispatch): invoke it.
2997 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2999 * main.C: protect <ios> with HAVE_IOS
3000 (main): protect sync_with_stdio with HAVE_IOS
3002 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3004 * text2.C (cutSelection): adjust
3005 (pasteSelection): adjust
3007 * messages.C: handle get of empty string
3009 * main.C (main): use sync_with_stdio(false)
3011 * lyxfunc.C (dispatch): adjust
3013 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3014 (WriteAs): remove unneeded BufferView arg.
3016 * bufferparams.h: use correct types on papersize, papersize2 and
3019 * bufferparams.C (readToken): adjust for type
3020 (writeLaTeX): add missing cases to switch.
3022 * bufferlist.C (quitWriteBuffer): adjust
3025 * buffer.C (asciiParagraph): remove some commented code.
3027 * CutAndPaste.C: remove current_view extern variable.
3028 (cutSelection): add BufferParams arg.
3029 (eraseSelection): add BufferParams arg.
3030 (pasteSelection): add Buffer const & arg
3032 2003-06-07 John Levon <levon@movementarian.org>
3035 * paragraph_funcs.C:
3036 * paragraph_pimpl.C:
3040 * paragraph.C: allow InsetERT to freely space lines,
3041 and some consolidation of code
3043 2003-06-06 José Matos <jamatos@fep.up.pt>
3045 * buffer.C (makeDocBookFile): fix bug #821
3047 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3049 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3051 2003-06-04 Angus Leeming <leeming@lyx.org>
3053 * buffer.C: bump format to 224.
3055 2003-06-05 André Pönitz <poenitz@gmx.net>
3057 * text2.C (redoParagraphs): remove two const_cast<>
3059 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3061 * ParagraphList.h: remove last remnants of NO_STD_LIST
3063 2003-06-03 Angus Leeming <leeming@lyx.org>
3065 * factory.C (createInset): small change to the way InsetExternal's params
3068 2003-06-04 André Pönitz <poenitz@gmx.net>
3070 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3072 * paragraph_pimpl.h:
3073 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3075 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3077 * undo_funcs.C: make some simple cases of undo work again
3079 2003-06-03 John Levon <levon@movementarian.org>
3081 * ispell.C: HPUX doesn't have sys/select.h
3084 2003-06-03 John Levon <levon@movementarian.org>
3086 * CutAndPaste.C: update tabular and include inset
3091 * paragraph.C: remove owningBuffer(), don't pass Buffer
3094 * factory.C: insetGraphicsParams changed
3096 2003-06-02 John Levon <levon@movementarian.org>
3102 * text3.C: remove insetparent
3104 2003-06-02 John Levon <levon@movementarian.org>
3107 * buffer.C: fix inset_iterator.end(), move out of line
3110 2003-06-01 John Levon <levon@movementarian.org>
3112 * text3.C: use a proper cut/paste when doing inset
3113 insert (from Jürgen Spitzmüller)
3115 2003-06-01 John Levon <levon@movementarian.org>
3117 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3119 2003-05-30 André Pönitz <poenitz@gmx.net>
3121 * rowpainter.C: unify second drawing phase
3123 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3125 * trans_mgr.C: remove one case of current_view
3127 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3129 * paragraph_funcs.h: remove paragraph.h include
3131 * paragraph.h: delete NO_STD_LIST stuff
3133 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3135 * buffer.h: remove paragraph.h include
3137 * ParagraphList.C: delete file
3139 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3141 * toc.C (getTocList): adjust
3143 * paragraph_pimpl.C (validate): adjust
3145 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3147 * paragraph.C (Paragraph): adjust
3148 (getPositionOfInset): use const_iterator, adjust
3149 (bibitem): use const_iterator, adjust
3150 (setInsetOwner): adjust
3152 * iterators.C (operator++): adjust
3154 * InsetList.[Ch]: Replace selfmade iterator with standard
3155 vector::iterator also introduce const_iterator. Remove getPos,
3156 getInset and setInset from InsetTable. Adjust accordingly.
3158 * BufferView.C (lockInset): adjust
3159 (ChangeInsets): adjust
3161 * tabular.[Ch]: delete commented same_id functions
3163 2003-05-28 John Levon <levon@movementarian.org>
3165 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3167 2003-05-28 André Pönitz <poenitz@gmx.net>
3169 * metricsinfo.[Ch]: remove 'fullredraw' member
3171 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3173 * lyxtextclass.C (operator): remove caching.
3175 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3179 * text2.C (cursorBottom): adjust
3180 (setCounter): use ParagraphList::find, adjust
3182 * text.C (workWidth): use ParagraphList::find, adjust
3184 * lyxcursor.C (LyXCursor): adjust
3186 * buffer.C (inset_iterator): adjust
3188 * ParagraphList.h: make iterator(value_type) private, make
3189 ParagraphList a friend of iterator.
3191 * ParagraphList.C (find): new function
3193 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3195 2003-05-27 André Pönitz <poenitz@gmx.net>
3197 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3199 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3201 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3203 2003-05-26 John Levon <levon@movementarian.org>
3205 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3207 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3209 * remove same_id from function signatures, adjust.
3211 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3213 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3215 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3217 * paragraph.C (Paragraph): get rid of same_ids parameter
3219 * ParagraphList.C (insert): adjust
3222 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3224 * paragraph_funcs.C (breakParagraph): adjust
3225 (breakParagraphConservative): adjust
3227 * buffer.C (readParagraph): adjust
3229 * ParagraphList.C (insert): take a reference instead of a pointer
3232 * paragraph.[Ch] (id): new function
3234 * bufferlist.C (newFile): adjust
3236 * ParagraphList.C (ParagraphList): adjust
3238 (push_back): take a reference instead of a pointer.
3240 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3242 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3245 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3246 set else use old code.
3248 * ParagraphList.C: remove all NO_NEXT code and only compile this
3249 code of NO_STD_LIST is set.
3251 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3253 * BufferView_pimpl.C:
3263 * graphics/GraphicsConverter.C:
3264 * graphics/PreviewLoader.C: header adjustment
3266 2003-05-23 Angus Leeming <leeming@lyx.org>
3268 * LaTeXFeatures.[Ch] (useBabel): new method.
3269 * bufferparams.C (writeLaTeX): use it.
3271 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3273 * ParagraphList.h (set): remove unused function.
3275 2003-05-23 André Pönitz <poenitz@gmx.net>
3278 * BufferView_pimpl.C:
3282 * undo_funcs.C: setUndo reworked
3284 * iterators.[Ch]: add access to topmost ParagraphList
3286 * lyxtext.[Ch] (workWidth): add a const
3288 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3290 * texrow.[Ch] (increasePos): remove function
3291 * exporter.C (export): removed unused var and outdated comment
3293 2003-05-23 Angus Leeming <leeming@lyx.org>
3295 * latexrunparams.h: rename fragile as moving_arg.
3296 * paragraph.C (simpleTeXOnePar): ditto.
3297 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3299 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3301 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3303 (textUndoOrRedo): comment out a currently unused var.
3305 * paragraph.h (NO_NEXT): enable NO_NEXT
3307 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3309 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3311 * exporter.C (Export): adjust for removeAutoInsets removal.
3313 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3315 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3317 * BufferView.[Ch] (removeAutoInsets): delete function
3319 2003-05-22 Angus Leeming <leeming@lyx.org>
3321 * latexrunparams.h: add a free_spacing variable.
3323 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3324 to pass moving_arg, as the data is stored in runparams.fragile.
3326 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3327 to Inset::latexOptional or to simpleTeXOnePar.
3329 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3330 free_spacing arg to Inset::latexOptional.
3332 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3335 2003-05-22 Angus Leeming <leeming@lyx.org>
3337 * latexrunparams.h: add fragile and use_babel variables.
3339 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3340 * buffer.C (makeLaTeXFile): store this returned value in
3341 runparams.use_babel, thus passing it to the inset::latex methods.
3343 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3344 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3346 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3347 longer has a fragile arg, as it is stored in runparams.fragile.
3349 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3350 moving_arg parameter as the data is stored in runparams.fragile.
3352 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3353 a fragile parameter as the data is stored in runparams.fragile.
3355 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3357 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3359 2003-05-22 Angus Leeming <leeming@lyx.org>
3361 * latexrunparams.h: add a 'bool nice' which defaults to false.
3363 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3364 now encapsulated within runparams.
3366 * bufferlist.C (updateIncludedTeXfiles):
3367 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3369 2003-05-22 Angus Leeming <leeming@lyx.org>
3371 * latexrunparams.h: new file containing struct LatexRunParams.
3372 * Makefile.am: add new file.
3374 * LaTeX.[Ch] (c-tor, run):
3375 * buffer.[Ch] (makeLaTeXFile):
3376 * bufferlist.[Ch] (updateIncludedTeXfiles):
3377 * converter.C (convert, scanLog):
3378 * converter.[Ch] (runLaTeX):
3379 * exporter.C (Export):
3380 * paragraph.[Ch] (simpleTeXOnePar):
3381 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3382 * paragraph_funcs.[Ch] (latexParagraphs):
3383 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3384 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3385 pass around a LatexRunParams parameter.
3387 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3389 * paragraph.[Ch]: remove unused constructor
3391 * ParagraphList.C (erase): new function, taking two iterators
3393 2003-05-22 André Pönitz <poenitz@gmx.net>
3395 * undo_funcs.C: remove duplicated code
3397 * iterator.[Ch]: operator=
3399 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3401 * tabular.C (SetMultiColumn): ws changes
3403 * rowpainter.C (paintFirst): get rid of a ->previous
3405 * lyx_cb.C (getPossibleLabel): parlist simplification
3407 * BufferView.C (ChangeInsets): simplify slightly.
3409 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3411 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3412 * lfuns.h: new LFUN_SPACE
3413 * lyxfunc.C: protected space has a new lfun
3414 * paragraph_funcs.C: read new space insets
3416 * factory.C: handle new space insets
3418 2003-05-22 André Pönitz <poenitz@gmx.net>
3421 * BufferView_pimpl.C:
3424 * undo_funcs.C: return a ParIterator from getParFromID.
3426 * iterators.[Ch]: add two const's
3428 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3430 * toc.C (getTocList): adjust
3432 * iterators.[Ch]: rework for parlist
3434 * buffer.C (par_iterator_begin): adjust
3435 (par_iterator_end): adjust
3437 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3439 * BufferView.C (removeAutoInsets): adjust
3440 (ChangeInsets): adjust
3442 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3444 * text.C (top_y): fix bug 1110
3446 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3448 * errorlist.[Ch]: added
3451 * BufferView_pimpl.C:
3452 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3455 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3457 * Makefile.am: ensure that lyx is relinked upon changes to the
3458 various "convenience" libs.
3460 2003-05-20 Angus Leeming <leeming@lyx.org>
3462 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3463 files are compiled in alphabetical order again.
3465 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3467 2003-05-19 Angus Leeming <leeming@lyx.org>
3469 * gettext.[Ch]: remove "char const * _(char const *)".
3471 2003-05-19 André Pönitz <poenitz@gmx.net>
3473 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3482 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3484 2003-05-19 André Pönitz <poenitz@gmx.net>
3488 * lyxtextclass.[Ch]:
3490 * paragraph_funcs.[Ch]:
3492 * text3.C: more insetenv work
3494 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3496 * ParagraphParameters.C (params2string): small bug fixed
3498 2003-05-16 André Pönitz <poenitz@gmx.net>
3501 * bufferview_funcs.C: patch from Kornel Benko to prevent
3502 crash when _(...) is called twice in a statement
3504 2003-05-16 André Pönitz <poenitz@gmx.net>
3511 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3513 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3515 * lyx_main.C (init): remove spurious static_cast
3517 2003-05-14 André Pönitz <poenitz@gmx.net>
3519 * BufferView.C: fix format string
3521 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3523 * BufferView.[Ch] (insertErrors): removed
3524 * BufferView.[Ch] (showErrorList): added
3525 * buffer.C (runChkTeX):
3526 * converter.C (scanLog): call showErrorList instead of inserterrors
3528 2003-05-13 André Pönitz <poenitz@gmx.net>
3530 * BufferView_pimpl.C:
3532 * bufferview_func.C:
3539 * tabular_funcs.h: tostr() from its own header
3541 * ParagraphParameters.C:
3546 * text3.C: STRCONV()
3548 2003-05-12 André Pönitz <poenitz@gmx.net>
3551 * BufferView_pimpl.C:
3555 * ParagraphParameters.C:
3559 * bufferview_funcs.C:
3572 * paragraph_funcs.C:
3576 * text3.C: boost::format -> bformat all over the place
3579 2003-05-09 André Pönitz <poenitz@gmx.net>
3581 * LColor.[Ch]: Pimpl the #include <map> away
3583 2003-05-09 John Levon <levon@movementarian.org>
3585 * bufferlist.C: never remove emergency saves
3587 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3589 * Makefile.am: better lib building
3591 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3593 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3595 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3596 (simpleTeXSpecialChars): adjust
3597 (simpleTeXSpecialChars): adjust
3598 * paragraph.C (simpleTeXOnePar): adjust
3599 * buffer.C (makeLaTeXFile): adjust
3601 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3603 * text2.C (changeDepth): parlist cleanup
3604 (getColumnNearX): ditto
3606 * rowpainter.C (getLabelFont): parlist cleanup
3608 * bufferlist.C (newFile): parlist cleanup
3610 * CutAndPaste.C (eraseSelection): parlist cleanup
3612 * BufferView_pimpl.C (trackChanges): parlist cleanup
3615 * BufferView.C (lockInset): parlist cleanup.
3616 (ChangeInsets): ditto
3618 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3620 * CutAndPaste.h: Update file header.
3622 * CutAndPaste.C: Update file header.
3623 Store the parts cut out of the Document in a limited_stack.
3624 (copySelection): adjust
3625 (pasteSelection): new function, takes the index in the limited stack.
3626 (nrOfParagraphs): adjust
3627 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3628 simplify error inset insertion.
3629 (checkPastePossible): adjust
3631 2003-05-06 John Levon <levon@movementarian.org>
3633 * text2.C: don't cast wrap inset to float
3635 2003-05-05 André Pönitz <poenitz@gmx.net>
3638 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3640 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3641 few naked Paragraph *.
3643 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3645 * bufferparams.C: Output warning if a document with missing
3646 TeX document class is loaded
3647 * exporter.C: Disable TeX exports if the document class is missing
3650 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3651 isTeXClassAvailable()
3653 2003-05-03 John Levon <levon@movementarian.org>
3656 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3657 explicit cursor show/hide
3659 * BufferView_pimpl.h:
3660 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3661 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3663 * lyxfunc.C: hide cursor before dispatching.
3668 * text3.C: remove explicit cursor hides
3670 2003-05-02 André Pönitz <poenitz@gmx.net>
3672 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3675 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3678 * text2.C: tiny whitespace
3680 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3682 * undo_funcs.C: almost only ws changes.
3684 * ParagraphList.C (splice): just return if pl is empty.
3686 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3688 * ParagraphList.C (splice): new function.
3690 * CutAndPaste.C (pasteSelection): use it
3692 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3694 * CutAndPaste.C (pasteSelection): remove the last next and
3695 previous from this file.
3697 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3699 * CutAndPaste.C (pasteSelection): more clean up, user proper
3700 ParagraphList functions for pasteing.
3702 * ParagraphList.C (insert): new function, three arg insert
3704 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3706 * ParagraphList.C (insert): new function, three arg insert
3708 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3711 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3713 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3715 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3717 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3719 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3721 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3722 (copySelection): clean up a bit.
3723 (pasteSelection): use make_pair
3725 * ParagraphList.C (ParagraphList): implement copy constructor
3726 (operator=): implement, base on copy constructor.
3729 * paragraph.C (erase): return a bool
3731 * paragraph_pimpl.C (erasePos): remove function, move contents...
3732 (erase): ... here. Return a bool.
3733 (erase): call erase instead of erasePos.
3735 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3737 * ParagraphList.h: define PitPosPair
3738 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3739 ParagraphList, fix a bug on pasting multiple pars
3740 * text2.C: change interface to C&P
3742 2003-04-30 André Pönitz <poenitz@gmx.net>
3744 * undo_func.C: revert part of yesterday's patch 2
3746 2003-04-30 John Levon <levon@movementarian.org>
3748 * LColor.C: s/tabular/table/
3750 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3752 * text3.C (dispatch): do not convert iterator -> pointer
3753 * undo_funcs.C (setCursorParUndo): ditto
3754 * text_funcs.C (transposeChars): ditto
3756 * text2.C (setLayout): ws changes only
3758 * text.C (breakParagraph): do not convert iterator -> pointer
3760 (acceptChange): ditto
3761 (rejectChange): ditto
3766 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3769 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3771 * text3.C (gotoInset): YABG (yet another bad getChar)
3773 2003-04-29 André Pönitz <poenitz@gmx.net>
3775 * paragraph.h: make operator= private unimplemented as long as
3778 * ParagraphList.C: whitespace
3781 * paragraph_pimpl.[Ch]:
3782 * paragraph_funcs.C:
3784 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3787 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3789 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3791 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3792 * paragraph.[Ch] (erase):
3793 * paragraph_pimpl.[Ch] (erase): change return type and value
3794 * text2.C (cutSelection): some rework
3796 2003-04-28 John Levon <levon@movementarian.org>
3798 * bufferlist.C: changes for unsaved changes dialog
3800 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3802 * bufferlist.C (newFile): set language (messages_) for new
3805 * buffer.C (readFile): ws changes only.
3807 2003-04-28 André Pönitz <poenitz@gmx.net>
3812 * BufferView_pimpl.C:
3813 * BufferView.C: getParFromID related ParagraphList::iterator changes
3815 2003-04-28 André Pönitz <poenitz@gmx.net>
3817 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3820 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3822 * messages.C: remove one more localedir class variable.
3824 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3826 * messages.C (getLocaleDir): singleton generation function
3828 (Messages): add a default constructor.
3830 * main.C (main): do not setup localedir here, do not call
3833 * gettext.C (_): use it.
3834 (gettext_init): delete funciton
3836 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3838 * gettext.C (getLyXMessages): new singleton generating function.
3840 * buffer.C (updateDocLang): adjust
3842 * Makefile.am (messages.o): add target
3843 (main.o): remove target
3845 2003-04-27 John Levon <levon@movementarian.org>
3850 * lyxvc.C: specify cancel button in Alert::prompt
3852 2003-04-26 John Levon <levon@movementarian.org>
3857 * LyXAction.C: add LFUN_INSET_SETTINGS
3859 * lyxfunc.C: don't enable tabular-feature when there's
3860 just any locking inset
3862 2003-04-26 John Levon <levon@movementarian.org>
3864 * bufferlist.C: re-add Cancel to buffer close question
3866 * lyxfunc.C: fix import UI a bit
3868 2003-04-25 John Levon <levon@movementarian.org>
3870 * gettext.C: remove the broken asserts for now
3872 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3874 * messages.C: make case where setlocale cannot comply work better.
3876 * buffer.C (updateDocLang): new function
3877 (changeLanguage): use it
3880 * text2.C (setCounter): use B_ a bit.
3882 * lyxlayout.C (Read): be sure to trim the label strings.
3884 * messages.C (Messages): fix typo in comment
3886 * buffer.C (readFile): set message_ after file is loaded.
3887 (makeDocBookFile): remove double return
3888 (changeLanguage): reset message_ upon language change.
3889 (B_): new func, use this to get translated buffer strings.
3891 * main.C: add myself and Jean Marc as authors.
3893 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3895 * messages.[hC]: pimplify Messages, and three different pimpls to be
3896 used in different circumstances.
3898 * gettext.[Ch]: change for use with new message code.
3900 2003-04-24 André Pönitz <poenitz@gmx.net>
3902 * factory.C: support for eqref
3904 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3906 * messages.[Ch]: add missing char
3908 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3910 * messages.[Ch]: New files
3912 2003-04-18 John Levon <levon@movementarian.org>
3916 * BufferView_pimpl.C:
3920 * text2.C: remove layout-copy/paste (bug 778)
3922 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3924 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3926 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3928 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3929 if they succeed. Act accordingly.
3931 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3933 * text2.C (setCharFont): adjust
3934 (setCounter): adjust
3935 (insertStringAsLines): adjust
3937 * text.C (leftMargin): adjust
3938 (setHeightOfRow): adjust
3940 * rowpainter.C (paintFirst): adjust
3943 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3945 (isFirstInSequence): ditto
3946 (getEndLabel): ditto
3949 * paragraph.C (getParLanguage): comment out some hard stuff.
3951 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3953 (simpleDocBookOnePar): ditto
3954 (makeDocBookFile): use ParagraphList::iterator
3956 * CutAndPaste.C (pasteSelection): adjust
3958 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3960 * text2.C (getFont): adjust
3961 (getLayoutFont): adjust
3962 (getLabelFont): adjust
3964 * paragraph_funcs.C (TeXOnePar): adjust
3966 * buffer.C (simpleLinuxDocOnePar): adjust
3967 (simpleDocBookOnePar): adjust
3969 * CutAndPaste.C (pasteSelection): adjust
3971 * BufferView.C (getEncoding): adjust
3973 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3975 2003-04-16 John Levon <levon@movementarian.org>
3977 * lyxfind.C: use parlist stuff for search/changes
3979 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3981 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3983 * text2.C (deleteEmptyParagraphMechanism): adjust
3985 * text2.[Ch] (ownerParagraph): delete func (both of them
3987 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3989 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3991 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3993 * ParagraphList.C: prepare for NO_NEXT
3995 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3997 * text2.C (getFont): adjust
3998 (getLayoutFont): adjust
3999 (getLabelFont): adjust
4001 * paragraph.C (getFont): adjust
4002 (getLabelFont): adjust
4003 (getLayoutFont): adjust
4005 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4007 2003-04-15 John Levon <levon@movementarian.org>
4011 * lyx_main.C: handle Include in .ui files
4013 2003-04-15 John Levon <levon@movementarian.org>
4015 * MenuBackend.C: make the doc files length shorter
4018 * ToolbarBackend.C: handle toolbar placement flags,
4021 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4023 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4026 * paragraph_funcs.C (TeXOnePar): adjust
4028 * paragraph.C (getLabelFont): add outerfont arg, adjust
4029 (getLayoutFont): ditto
4030 (simpleTeXOnePar): adjust
4032 * paragraph_pimpl.C (realizeFont): delete func
4034 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4036 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4037 row argument, constify cur argument.
4039 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4041 * text2.C (getFont): adjust
4042 (getLayoutFont): adjust
4043 (getLabelFont): adjust
4045 * paragraph_funcs.C (TeXOnePar): adjust
4046 (outerFont): new func...
4047 (realizeFont): ...moved out from here, changed this to facilitate
4050 * paragraph.C (getFont): take outerfont as arg, adjust
4051 (simpleTeXOnePar): add outerfont arg, adjust
4053 * buffer.C (simpleLinuxDocOnePar): adjust
4054 (simpleDocBookOnePar): adjust
4056 * CutAndPaste.C (pasteSelection): adjust
4058 * BufferView.C (getEncoding): adjust
4060 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4062 * text2.C (setCharFont): adjust
4063 (setCounter): adjust
4065 * text.C (leftMargin): adjust
4066 (setHeightOfRow): adjust
4068 * rowpainter.C (paintFirst): adjust
4071 * paragraph_pimpl.C (realizeFont): adjust
4073 * paragraph.C (isFirstInSequence): move from here...
4074 * paragraph_funcs.C (isFirstInSequence): ...to here
4076 * paragraph.C (outerHook): move from here...
4077 * paragraph_funcs.C (outerHook): ...to here
4079 * paragraph.C (depthHook): move from here...
4080 * paragraph_funcs.C (depthHook): ...to here
4082 * paragraph.C (getEndLabel): move from here...
4083 * paragraph_funcs.C (getEndLabel): ...to here
4085 * text2.C (realizeFont): move from here...
4086 * paragraph_funcs.C (realizeFont): ...to here
4088 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4090 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4092 2003-04-14 Angus Leeming <leeming@lyx.org>
4094 * LColor.[Ch]: scrap LColor mathcursor.
4096 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4098 * lyxlex.[Ch] (text): delete function
4099 * trans.C (Load): adjust
4100 * paragraph_funcs.C (readParToken): adjust
4102 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4104 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4105 vector<char> instead of a char[].
4107 * lyxlex_pimpl.C (getString): adjust
4109 (lex): use getString
4113 * lyxlex.C (text): use pimpl_->getString()
4117 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4119 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4120 (makeFontEntriesLayoutSpecific): temp var for par.size()
4121 (setLayout): temp var for ownerParagraphs().end()
4122 (fullRebreak): temp var for rows().end()
4123 (selectionAsString): temp var for boost::next(startpit), realize
4124 that the while really is a regular for loop.
4125 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4126 setCursor in one place.
4127 (setParagraph): temp vr for ownerParagraphs().end()
4128 (updateCounters): make the while loop a for loop
4129 (cutSelection): temp var for ownerParagraphs().end()
4130 (updateInset): make the do {} while() a regular for loop
4131 (getCursorX): use temp vars
4132 (setCurrentFont): use temp vars
4133 (getColumnNearX): use temp vars
4135 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4137 * text.C (transformChar): use temp var for getChar
4138 (computeBidiTables): use temp var for row->par()
4139 (fill): move temp vars for row->par() and pit->layout() earlier in
4141 (labelFill): use temp var for row->par()
4142 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4143 asc and desc, realize that pit never changes and that firstpit is
4144 just a duplicate and not needed. Exchange rit->par() with pit in a
4146 (breakAgain): use a temp var for boost::next(rit)
4147 (breakAgainOneRow): ditto
4148 (breakParagraph): use a temp var for rows().begin()
4149 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4150 (cursorRightOneWord): use temp var for cursor.par() and
4151 cursor.pos(), remove usage of tmpcursor.
4152 (cursorLeftOneWord): use temp var for cursor.par() and
4153 cursor.pos() only set cur at end of function.
4155 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4157 * text.C, text2.C: exchange all usage of Paragraph::next with
4158 boost::next(ParagraphList::iterator)
4160 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4162 * text2.C (cursorTop): simplify implementation
4163 (cursorBottom): ditto
4164 (setParagraph): use ParagraphList::iterator
4165 (setCurrentFont): adjust
4166 (getColumnNearX): adjust
4167 (cursorRight): adjust
4168 (cursorLeft): remove usage of Paragraph::previous
4169 (cursorUpParagraph): ditto
4170 (deleteEmptyParagraphMechanism): slight cleanup
4172 * text.C (isBoundary): take a Paragraph const & instead of a
4174 (addressBreakPoint): ditto
4175 (leftMargin): remove usage of Paragraph::previous.
4176 (setHeightOfRow): ditto
4177 (cursorLeftOneWord): ditto
4178 (selectNextWordToSpellcheck): ditto
4181 (breakParagraph): remove one usage of Paragraph::next
4182 (redoParagraph): ditto
4183 (acceptChange): ditto
4184 (insertChar): adjust
4185 (rowBreakPoint): adjust
4187 * bufferview_funcs.C (toggleAndShow): adjust
4189 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4191 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4192 methods to access it.
4194 * text.C: Added updateRowPositions to compute all row positions.
4195 Make top_y and getRowNearY() to use the cached y position
4197 2003-04-11 John Levon <levon@movementarian.org>
4199 * text.C (rowBreakPoint): reintroduce the labelEnd
4200 checks, code copied from the row fill stuff. Deep voodoo.
4202 * text.C (fill): add a comment and debugging for the
4205 2003-04-11 John Levon <levon@movementarian.org>
4207 * text.C: make sure fullrow insets get wrapped to the next line,
4208 even when they're in a manual label
4210 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4212 * text2.C (insertParagraph): make it take ParagraphList::iterator
4214 (setLayout): make it return ParagraphList::iterator
4215 (redoParagraphs): ditto
4217 (checkParagraph): ditto
4219 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4221 * text2.C: adjust several funcs.
4222 (realizeFont): take a ParagraphList::iterator as arg.
4223 (getLayoutFont): ditto
4224 (getLabelFont): ditto
4225 (setCharFont): ditto
4227 * text.C: adjust several funcs.
4229 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4231 * text.C (selectNextWordToSpellcheck): don't accidentally
4234 2003-04-10 John Levon <levon@movementarian.org>
4236 * ToolbarBackend.C (getIcon): special handling for
4239 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4241 * text2.C (cursorRight): a getChar assert fixed
4243 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4245 * text2.C (getFont): change to take a ParagraphList::iterator
4246 instead of Paragraph*
4247 Adjust several functions.
4249 * text.C (transformChar): change to take a ParagraphList::iterator
4250 instead of Paragraph*
4251 (singleWidth): ditto
4252 Adjust several functions.
4254 * rowpainter.C: adjust several functions
4255 * rowpainter.h:store a ParagraphList::iterator and not a
4259 2003-04-09 John Levon <levon@movementarian.org>
4264 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4265 and the "help" bits as well
4267 2003-04-09 John Levon <levon@movementarian.org>
4270 * ToolbarBackend.C: allow multiple toolbars
4272 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4274 * undo_funcs.C (setCursorParUndo): adjust
4276 * text_funcs.C (transposeChars): adjust
4278 * text3.C (gotoNextInset): adjust
4281 * text2.C (setLayout): adjust
4282 (changeDepth): adjust
4284 (redoParagraphs): adjust
4285 (selectionAsString): adjust
4286 (setParagraph): adjust
4287 (insertInset): adjust
4288 (cutSelection): adjust
4289 (copySelection): adjust
4290 (pasteSelection): adjust
4291 (insertStringAsLines): adjust
4292 (updateInset): adjust
4293 (setCursor): change to take a ParagraphList::iterator parameter
4294 (setCursorIntern): change to take a ParagraphList::iterator parameter
4295 (setCurrentFont): adjust
4296 (cursorLeft): adjust
4297 (cursorRight): adjust
4298 (deleteEmptyParagraphMechanism): adjust
4300 * text.C (breakParagraph): adjust
4301 (insertChar): adjust
4302 (acceptChange): adjust
4303 (rejectChange): adjust
4304 (selectNextWordToSpellcheck): adjust
4305 (changeCase): adjust
4309 * lyxfind.C (SearchForward): adjust
4310 (SearchBackward): adjust
4311 (nextChange): adjust
4313 * lyxcursor.C (par): adjust
4315 * lyxcursor.h: store a ParagraphList::iterator instead of a
4318 * lyx_cb.C (getPossibleLabel): adjust
4320 * bufferview_funcs.C (toggleAndShow): adjust
4322 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4325 * BufferView.C (removeAutoInsets): adjust
4326 (lockedInsetStoreUndo): adjust
4328 2003-04-09 John Levon <levon@movementarian.org>
4330 * ToolbarBackend.C: try icon without argument
4331 if with argument fails
4333 2003-04-08 John Levon <levon@movementarian.org>
4336 * ToolbarBackend.C: add getIcon(), handle tooltip,
4337 and change from "Icon" to "Item".
4339 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4341 * BufferView.C (lockInset): another bad getchar crunched
4343 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4345 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4348 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4350 * lyxfind.C (searchForward, searchBackwards): bug 782
4352 2003-04-07 John Levon <levon@movementarian.org>
4354 * paragraph.C: remove dead comment
4356 * text.C: remove troublesome depth-fiddling code
4357 in leftMargin() and rightMargin() (bug 1017)
4359 * text.C: fix breaking of rows in nested lists
4362 * text2.C (updateCounters): fix up depth values
4365 2003-04-07 John Levon <levon@movementarian.org>
4367 * BufferView_pimpl.C: clear message when doc finishes resizing,
4368 and after a mouse event
4370 * lyxfunc.C: clear message after exiting inset
4372 2003-04-07 John Levon <levon@movementarian.org>
4374 * bufferview_funcs.C: show math status not outside
4375 status in the statusbar
4377 2003-04-07 John Levon <levon@movementarian.org>
4379 * lyxfunc.C: note status changed after a depth change
4381 2003-04-04 Angus Leeming <leeming@lyx.org>
4383 * LaTeX.h: move AuxInfo operator==, != out of line.
4384 Remove LaTeX virtual destructor; nothing derives from it.
4385 Move operator()() out of public area and rename it startscript().
4386 Change protected for private.
4388 2003-04-04 Angus Leeming <leeming@lyx.org>
4391 * text2.C: remove unneeded #includes.
4393 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4395 * text2.C (dEPM): fix the heigth of the next row
4397 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4399 * text.C: squashed an invalid getChar requester + some ws changes
4401 2003-04-03 John Levon <levon@movementarian.org>
4403 * bufferview_funcs.h:
4404 * bufferview_funcs.C:
4407 * text2.C: make getStatus work for the env depth lfuns
4409 2003-04-03 John Levon <levon@movementarian.org>
4411 * bufferview_funcs.h:
4412 * bufferview_funcs.C:
4415 * text2.C: parlistize decDepth(), by merging it with incDepth()
4417 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4419 * lyxrow.h: store a ParagraphList::iterator instead of a
4420 Paragraph* and adjust other class functions to suit.
4422 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4425 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4427 * text2.C (setCursor): do not anchor to cursor row for the time being
4429 2003-04-02 John Levon <levon@movementarian.org>
4436 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4438 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4440 * paragraph.h: make ParagraphList and ParagraphList::iterator
4441 friends of Paragraph.
4443 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4445 * ParagraphList.C: Use the private next_ and previous_ from
4448 2003-04-01 John Levon <levon@movementarian.org>
4452 * Makefile.am: rename, remove defaults gunk
4455 * MenuBackend.C: remove defaults gunk
4458 * Languages.C: remove defaults gunk
4461 * lyx_main.C: error out if files couldn't be found.
4463 2003-04-02 John Levon <levon@movementarian.org>
4465 * text2.C: make incDepth() use parlist
4467 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4469 * undo_funcs.C (firstUndoParagraph): adjust
4471 * text3.C (gotoInset): adjust
4472 (dispatch): adjust, and rewrite loop.
4474 * text2.C (init): adjust, and rewrite loop.
4475 (redoParagraphs): adjust
4476 (updateInset): adjust, and rewrite loop.
4477 (deleteEmptyParagraphMechanism): adjust
4479 * tabular.C (LyXTabular): adjust
4480 (SetMultiColumn): adjust
4483 * lyxtext.[Ch] (ownerParagraph): delete function
4484 (ownerParagraphs): new function returns a ParagraphList.
4486 * BufferView.C (removeAutoInsets): adjust
4487 (insertErrors): adjust
4488 (setCursorFromRow): adjust
4490 2003-04-01 Angus Leeming <leeming@lyx.org>
4492 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4495 2003-04-02 John Levon <levon@movementarian.org>
4501 * text_funcs.C: make transposeChars a free function
4503 * lyxrow_funcs.C: remove wrong comment
4505 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4508 * rowpainter.C: adjust
4513 * lyxrow_funcs. [Ch]: new files
4515 * lyxrow.[Ch]: remove next and previous pointers
4516 (next,previous): remove accessor functions
4517 (isParEnd): move to lyxrow_funcs
4518 (lastPos): move to lyxrow_funcs
4519 (nextRowIsAllInset): move to lyxrow_funcs
4520 (lastPrintablePos): move to lyxrow_funcs
4521 (numberOfSeparators): move to lyxrow_funcs
4522 (numberOfHfills): move to lyxrow_funcs
4523 (numberOfLabelHfills): move to lyxrow_funcs
4524 (hfillExpansion): move to lyxrow_funcs
4528 * bufferview_funcs.C (toggleAndShow): adjust
4530 * RowList.h: Remove class RowList from file leave just a
4533 * RowList.C: delete file
4535 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4538 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4540 * text3.C (cursorPrevious): adjust
4541 (cursorNext): adjust
4544 * text2.C (redoHeightOfParagraph): adjust
4545 (redoDrawingOfParagraph): adjust
4548 * text.C (breakParagraph): adjust
4549 (insertChar): adjust
4552 * rowpainter.C (RowPainter): adjust
4553 (leftMargin): simplify and adjust
4554 (most rowpainter functions): adjust.
4556 * rowpainter.h: store the row as RowList::iterator not as Row*
4558 * lyxcursor.C (row): taka RowList::iterator as arg
4561 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4564 2003-04-01 Angus Leeming <leeming@lyx.org>
4566 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4567 stuff like bool Bool.
4569 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4571 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4574 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4576 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4579 * lyxtext.h (rows): drop one version and leve a const variant that
4580 returns a RowList::iterator.
4582 2003-03-31 Angus Leeming <leeming@lyx.org>
4584 * text.C (fill): ensure that the signature is the same as that in the
4587 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4589 * text2.C (redoParagraphs): adjust
4590 (updateCounters): adjust
4591 (checkParagraph): adjust
4592 (getColumnNearX): adjust and reformat a bit.
4594 * text.C (top_y): adjust
4596 (leftMargin): adjust
4597 (prepareToPrint): adjust
4599 (getRowNearY): adjust
4601 * lyxtext.h: make rowlist_ mutable.
4603 * RowList.h: add const_iterator
4604 * RowList.C: adjust for RowList::const_iterator.
4606 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4609 2003-03-31 John Levon <levon@movementarian.org>
4612 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4614 * lyx_main.C: set default fonts from using lyx_gui funcs
4616 * exporter.C: pdf_mode moved from lyxrc
4619 * lyxfunc.C: changes from above
4621 2003-03-31 John Levon <levon@movementarian.org>
4623 * lyx_main.C: fix to the last fix
4625 2003-03-31 John Levon <levon@movementarian.org>
4627 * bufferlist.C: "Load original" -> "Load Original"
4633 * format.C: more Alert cleanups
4635 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4637 * text2.C (removeParagraph): make it take a RowList::iterator as
4639 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4640 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4642 * text.C (anchor_row): make it take a RowList::iterator as arg,
4644 (computeBidiTables): make it take a const reference to Row instead
4645 of Row pointer, adjust.
4646 (leftMargin): make it take a RowList::iterator as arg, adjust.
4647 (rowBreakPoint): adjust
4648 (breakAgainOneRow): make it take a RowList::iterator as arg,
4650 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4652 * bufferview_funcs.C (toggleAndShow): adjust
4654 2003-03-30 John Levon <levon@movementarian.org>
4658 * boost-inst.C: moved to support
4660 * several files: changes as a result
4662 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4664 * text2.C (LyXText): adjust.
4666 (removeRow): make it take a RowList::iterator as arg, adjust.
4667 (fullRebreak): adjust
4668 (deleteEmptyParagraphMechanism): adjust
4669 (clearPaint): adjust
4672 * text.C (top_y): adjust
4673 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4674 (breakAgain): make it take a RowList::iterator as arg, adjust.
4675 (breakParagraph): adjust
4676 (insertChar): adjust
4679 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4680 need_break_row, and refresh_row.
4682 * text3.C (dispatch): adjust
4684 * text2.C (checkParagraph): adjust
4686 (setCursorFromCoordinates): adjust
4688 * text.C (top_y): adjust
4690 (getRow): make it return a RowList::iterator, adjust
4691 (getRowNearY): make it return a RowList::iterator, adjust
4693 * text2.C (init): adjust
4694 (insertRow): remove function
4695 (insertParagraph): adjust
4696 (redoParagraphs): adjust
4697 (fullRebreak): adjust
4698 (updateCounters): adjust
4700 * text.C (top_y): rewrite to use RowList iterators.
4702 (setHeightOfRow): rewrite to sue RowList iterators.
4703 (appendParagraph): adjust
4704 (breakAgain): adjust
4705 (breakAgainOneRow): adjust
4706 (breakParagraph): adjust
4708 (getRowNearY): adjust, and remove commented code.
4710 * lyxtext.h (firstRow): delete function
4711 (lastRow): delete function
4712 (rows): new function (const and non-const versions.)
4713 (insertRow): delete function
4715 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4717 2003-03-29 John Levon <levon@movementarian.org>
4719 * BufferView_pimpl.C: always update scrollbar top
4720 because pasting text when we're anchored could mean we
4721 miss an update altogether
4723 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4725 * text2.C (init): use rowlist_.end() and not 0.
4726 (insertRow): change to take a RowList::iterator as arg, adjust
4728 (insertParagraph): change to take a RowList::iterator as arg,
4730 (redoParagraphs): remove some debug msgs.
4732 * text.C (appendParagraph): change to take a RowList::iterator
4733 arg, adjust for this.
4734 (breakAgain): add an assert
4735 (breakAgainOneRow): ditto
4737 2003-03-29 John Levon <levon@movementarian.org>
4739 * text2.C: do not clear selection after inc/decDepth
4742 2003-03-29 John Levon <levon@movementarian.org>
4745 * buffer.C: fix broken strerrors according to Lars
4747 2003-03-29 John Levon <levon@movementarian.org>
4749 * converters.C: more Alert cleanups
4751 2003-03-29 John Levon <levon@movementarian.org>
4753 * bufferview_funcs.C: remove pointless Alert
4755 * buffer.C: fix confusing error message when
4756 a template is chmoded 000
4758 2003-03-29 John Levon <levon@movementarian.org>
4762 * BufferView_pimpl.C: Alert fixes
4766 * tabular-old.C: remove unused table compat reading
4768 2003-03-29 John Levon <levon@movementarian.org>
4773 * lyx_cb.C: more Alert cleanups
4775 * lyxfunc.C: don't allow chktex if not latex document
4777 2003-03-29 John Levon <levon@movementarian.org>
4781 * buffer.C: warnings pushed down from support/,
4784 2003-03-29 John Levon <levon@movementarian.org>
4786 * lyxfunc.C: safety check for C-r (revert)
4788 2003-03-29 John Levon <levon@movementarian.org>
4791 * bufferlist.C: several UI fixes using Alert::prompt.
4792 Fix the pointless looping quit code. Fix stupid revert
4797 * lyx_cb.C: use Alert::prompt
4799 * lyx_main.C: remove a silly question
4801 * lyxfunc.C: remove a couple of silly questions,
4804 2003-03-28 John Levon <levon@movementarian.org>
4806 * text2.C: fix bug 974 (End on empty par)
4808 2003-03-28 John Levon <levon@movementarian.org>
4810 * BufferView_pimpl.C:
4812 * lfuns.h: remove do-nothing math greek lfuns
4814 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4816 * lyxgluelength.h (isValidGlueLength): add default arg on
4817 parameter 2. Remove default arg from friend in class.
4819 * lyxlength.h (isValidLength): add default arg on parameter 2.
4820 Remove default arg from friend in class.
4822 * text2.C (LyXText): adjust, initialize refresh_row.
4826 (insertParagraph): adjst
4827 (redoParagraphs): adjust
4828 (fullRebreak): adjust
4829 (updateCounters): adjust
4830 (deleteEmptyParagraphMechanism): first attempt at fixing a
4833 * text.C (top_y): adjust
4834 (setHeightOfRow): adjust
4836 (getRowNearY): adjust
4838 * lyxtext.h: include RowList.h
4839 (~LyXText): not needed anymore, deleted.
4840 (firstRow): modify for RowList
4841 (lastRow): new function
4842 Delete firstrow and lastrow class variables, add a Rowlist
4843 rowlist_ class variable.
4845 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4848 * RowList.C (insert): fix case where it == begin().
4850 2003-03-26 Angus Leeming <leeming@lyx.org>
4852 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4853 the thesaurus dialog.
4855 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4857 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4859 * RowList.[Ch]: new files
4861 * ParagraphList.C (erase): handle the case where it == begin
4864 2003-03-25 John Levon <levon@movementarian.org>
4868 * aspell.C: add new aspell support
4871 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4874 2003-03-25 Angus Leeming <leeming@lyx.org>
4877 * LyXAction.C (init): new LFUN_INSET_INSERT.
4879 * BufferView_pimpl.C (dispatch): split out part of the
4880 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4882 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4885 2003-03-25 Angus Leeming <leeming@lyx.org>
4887 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4889 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4892 * text3.C: remove useless row->height(0)
4894 2003-03-25 John Levon <levon@movementarian.org>
4898 * text3.C: rename the refreshing stuff to better names
4900 2003-03-24 John Levon <levon@movementarian.org>
4902 * BufferView_pimpl.h:
4903 * BufferView_pimpl.C: update layout choice on a mouse
4906 2003-03-23 John Levon <levon@movementarian.org>
4908 * Makefile.am: fix commandtags.h reference
4910 2003-03-22 John Levon <levon@movementarian.org>
4912 * BufferView_pimpl.C:
4917 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4919 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4922 * text.C: take the rtl methods out of line
4924 2003-03-21 André Pönitz <poenitz@gmx.net>
4926 * metricsinfo.[Ch]: new files containing structures to be passed around
4927 during the two-phase-drawing...
4929 2003-03-21 André Pönitz <poenitz@gmx.net>
4931 * lyxtextclass.C: read 'environment' tag.
4933 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4935 * text2.C (removeRow): fix bug 964
4937 2003-03-20 John Levon <levon@movementarian.org>
4941 * text2.C: paint cleanups. Inset::update() dropped font
4944 2003-03-19 John Levon <levon@movementarian.org>
4946 * lyxfunc.C: only fitcursor/markDirty if available()
4948 2003-03-19 John Levon <levon@movementarian.org>
4950 * commandtags.h: rename to ...
4952 * lfuns.h: ... this, and renumber / cleanup
4954 2003-03-19 John Levon <levon@movementarian.org>
4956 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4957 fit the cursor after an lfun
4961 * BufferView_pimpl.h:
4962 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4964 * LyXAction.C: layout-character should have ReadOnly
4966 * ParagraphParameters.C:
4968 * bufferview_funcs.C:
4975 * undo_funcs.C: changes from above
4977 2003-03-18 John Levon <levon@movementarian.org>
4979 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4980 remove it from update()
4982 * lyxfunc.C: update layout choice after an lfun
4984 * text3.C: remove extra updateLayoutChoice()s
4986 2003-03-18 John Levon <levon@movementarian.org>
4988 * text.C: top_y change means full repaint, fix
4989 a drawing bug with cursor movement
4991 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4995 * text2.C: anchor row on setCursor
4997 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4999 * lyxtext.h: remove almost all mutable keywords
5002 * text3.C: remove const keywords accordingly
5004 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5006 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5008 (TeXEnvironment): ditto
5011 2003-03-17 John Levon <levon@movementarian.org>
5013 * text.C (rowBreakPoint): remove attempt to fix displayed
5014 math insets inside a manual label
5016 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5018 * lyxtext.h: remove BufferView* as first arg from almost all class
5020 * other files: adjust.
5022 2003-03-17 John Levon <levon@movementarian.org>
5026 * text2.C: more paint cleanups
5028 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5031 * rowpainter.C: remove "smart" background painting code
5033 2003-03-16 John Levon <levon@movementarian.org>
5038 * text3.C: add helper functions for setting refresh_row/y
5040 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5042 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5043 newline inset which *can* get inserted in the pass_thru layouts.
5044 This is primarily for literate documents.
5046 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5048 * buffer.C: increment LYX_FORMAT to 223
5050 2003-03-14 André Pönitz <poenitz@gmx.net>
5052 * textclass.h: prepare for environment handling, ws changes
5053 * lyxlayout.C: read latexheader and latexfooter tags
5055 2003-03-14 John Levon <levon@movementarian.org>
5057 * text2.C: rewrite ::status() a bit
5059 2003-03-13 John Levon <levon@movementarian.org>
5061 * lyxtext.h: add some docs
5063 2003-03-13 John Levon <levon@movementarian.org>
5068 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5070 2003-03-13 John Levon <levon@movementarian.org>
5072 * text3.C: fix appendix redrawing
5074 2003-03-13 John Levon <levon@movementarian.org>
5076 * text.C (setHeightOfRow):
5078 * rowpainter.C: make appendix mark have the text
5079 "Appendix" so the user knows what it is
5082 * LColor.C: s/appendixline/appendix/ from above
5084 2003-03-13 John Levon <levon@movementarian.org>
5086 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5088 * text.C: fix a getChar(pos) bug properly
5090 2003-03-13 Angus Leeming <leeming@lyx.org>
5093 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5094 Probably only temporary. Let's see how things pan out.
5096 * BufferView.C (unlockInset):
5097 * BufferView_pimpl.C (fitCursor):
5098 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5100 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5101 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5103 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5104 new functions that convert ParagraphParameters to and from a string.
5106 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5107 BufferView::Pimpl's dispatch.
5108 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5110 2003-03-13 André Pönitz <poenitz@gmx.net>
5114 * factory.C: make it aware of InsetEnv
5116 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5118 * text2.C (setCursor): never ask for one past last
5119 (setCursor): add some debugging messages.
5121 * text.C (singleWidth): never ask for one past last
5122 (singleWidth): ditto
5124 (rightMargin): ditto
5125 (rowBreakPoint): ditto
5126 (setHeightOfRow): ditto
5127 (prepareToPrint): ditto
5129 * rowpainter.C (paintBackground): never ask for one past last
5130 (paintText): never ask for one past last
5132 * paragraph_pimpl.C (getChar): make the assert stricter, never
5133 allow the one past last pos to be taken
5135 * paragraph.C (getChar): ws changes only
5137 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5138 (numberOfSeparators): ditto
5139 (numberOfHfills): ditto
5141 2003-03-12 John Levon <levon@movementarian.org>
5147 * paragraph_funcs.C: fix per-buffer authorlists
5149 2003-03-12 John Levon <levon@movementarian.org>
5151 * text.C: fix newline in right address
5153 2003-03-12 Angus Leeming <leeming@lyx.org>
5155 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5156 duplicate those in LyXFunc::dispatch.
5160 * ToolbarDefaults.C:
5161 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5162 Add LFUN_FONTFREE_UPDATE.
5164 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5165 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5167 * bufferview_func.[Ch]: several new functions to facilliate
5168 transfer of data to and from the character dialog.
5170 2003-03-12 John Levon <levon@movementarian.org>
5175 * paragraph_funcs.C:
5176 * paragraph_pimpl.C:
5180 * text3.C: remove META_NEWLINE in favour of an inset
5183 * rowpainter.C: remove paintNewline (done by inset)
5185 2003-03-12 John Levon <levon@movementarian.org>
5187 * paragraph_pimpl.C: complain about bad getChar()s
5188 for a while at least
5190 2003-03-12 John Levon <levon@movementarian.org>
5193 * buffer.C: move paragraph read into a separate function,
5194 a little renaming to reflect that.
5197 * bufferparams.C: remove the author_ids map, not necessary now
5200 * factory.C: moved Buffer::readInset to here
5202 * paragraph_funcs.h:
5203 * paragraph_funcs.C: readParagraph free function moved from
5206 * tabular.C: name change
5208 2003-03-12 John Levon <levon@movementarian.org>
5211 * ParagraphParameters.C: move par params input to
5214 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5215 behave like a normal read from the stream wrt reading
5216 a line vs. a \\token
5218 2003-03-12 John Levon <levon@movementarian.org>
5221 * ParagraphParameters.h:
5222 * ParagraphParameters.C: move output code to a
5225 2003-03-12 John Levon <levon@movementarian.org>
5227 * BufferView.C (insertLyXFile):
5230 * tabular.C: use a parlist iterator for creating the
5233 2003-03-12 John Levon <levon@movementarian.org>
5235 * buffer.C: make current_change static local not
5238 2003-03-12 John Levon <levon@movementarian.org>
5240 * buffer.C: fix insertStringAsLines for change tracking
5242 2003-03-12 John Levon <levon@movementarian.org>
5249 * bufferparams.C: move author list into params. Rename some
5250 functions. Move the header reading into a separate token
5251 loop. Move the header token reading into BufferParams.
5253 2003-03-12 John Levon <levon@movementarian.org>
5255 * changes.C: put debug inside lyxerr.debugging() checks
5257 2003-03-11 André Pönitz <poenitz@gmx.net>
5259 * factory.C: make it aware of InsetHFill
5261 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5263 * buffer.C (latexParagraphs): move function from here...
5264 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5267 2003-03-10 Angus Leeming <leeming@lyx.org>
5269 * LyXAction.C (init): fix bug in poplating array with multiple entries
5270 with the same LFUN (spotted by JMarc).
5272 2003-03-10 John Levon <levon@movementarian.org>
5275 * text2.C: move getColumnNearX() near its
5278 2003-03-10 John Levon <levon@movementarian.org>
5280 * text.C: fix break before a minipage
5282 2003-03-10 John Levon <levon@movementarian.org>
5284 * text.C: fix the last commit
5286 2003-03-09 John Levon <levon@movementarian.org>
5290 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5291 bug 365 (don't break before insets unless needed). Don't
5292 return a value > last under any circumstances.
5294 2003-03-09 Angus Leeming <leeming@lyx.org>
5296 * BufferView_pimpl.C (trackChanges, dispatch): call
5297 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5299 2003-03-09 Angus Leeming <leeming@lyx.org>
5301 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5302 than Dialogs::showAboutlyx().
5304 2003-03-09 Angus Leeming <leeming@lyx.org>
5306 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5307 than Dialogs::showTabularCreate().
5309 2003-03-09 John Levon <levon@movementarian.org>
5313 * text2.C: 3rd arg to nextBreakPoint was always the same.
5316 2003-03-08 John Levon <levon@movementarian.org>
5323 * text2.C: Remove the "main" bit from the "main body"
5326 2003-03-08 John Levon <levon@movementarian.org>
5328 * text.C (leftMargin): The left margin of an empty
5329 manual label paragraph should not include the label width
5332 * text.C (prepareToPrint): don't attempt to measure hfills
5333 for empty manual label paragraphs - the answer should be 0
5335 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5337 * CutAndPaste.C: remove commented code and reindent.
5339 2003-03-08 John Levon <levon@movementarian.org>
5342 * lyxfunc.C: move reloadBuffer()
5345 * BufferView.C: to here
5347 * lyxvc.C: add comment
5350 * vc-backend.C: call bv->reload() to avoid
5351 getStatus() check on MENURELOAD
5353 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5355 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5356 to an old format .dep file.
5358 2003-03-07 Angus Leeming <leeming@lyx.org>
5360 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5361 when the LFUN_MOUSE_RELEASE should have been handled by
5362 inset->localDispatch.
5364 2003-03-07 Angus Leeming <leeming@lyx.org>
5366 * BufferView_pimpl.C (dispatch):
5367 * LyXAction.C (init):
5368 * ToolbarDefaults.C (init):
5370 * lyxfunc.C (getStatus):
5371 remove LFUN_INSET_GRAPHICS.
5373 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5375 2003-03-07 Angus Leeming <leeming@lyx.org>
5378 * LyXAction.C (init):
5379 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5381 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5384 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5386 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5387 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5389 2003-03-07 Angus Leeming <leeming@lyx.org>
5391 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5394 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5396 * ParagraphList.C (front): new function
5399 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5401 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5402 and top_row_offset_. removed var first_y.
5404 * text2.C (LyXText, removeRow):
5406 * BufferView_pimpl.C:
5407 use these methods instead of using first_y
5409 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5411 * text2.C (pasteSelection): adjust for checkPastePossible
5413 * CutAndPaste.C: remove Paragraph * buf and replace with
5414 ParagraphList paragraphs.
5415 (DeleteBuffer): delete
5416 (cutSelection): change the tc type to textclass_type
5417 (copySelection): change the tc type to textclass_type
5418 (copySelection): adjust for ParagraphList
5419 (pasteSelection): change the tc type to textclass_type
5420 (pasteSelection): adjust for Paragraphlist
5421 (nrOfParagraphs): simplify for ParagraphList
5422 (checkPastePossible): simplify for ParagraphList
5423 (checkPastePossible): remove unused arg
5425 * ParagraphList.C (insert): handle the case where there are no
5428 * CutAndPaste.h: make CutAndPaste a namespace.
5430 * text3.C (dispatch): adjust
5432 * text.C (breakParagraph): add a ParagraphList as arg
5434 * paragraph_funcs.C (breakParagraph): change to take a
5435 BufferParams and a ParagraphList as args.
5436 (breakParagraphConservative): ditto
5437 (mergeParagraph): ditto
5438 (TeXDeeper): add a ParagraphList arg
5439 (TeXEnvironment): ditto
5442 * buffer.C (readLyXformat2): adjust
5443 (insertStringAsLines): adjust
5444 (latexParagraphs): adjust
5446 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5447 (cutSelection): adjust
5448 (pasteSelection): adjust
5450 * BufferView_pimpl.C (insertInset): adjust
5452 2003-03-05 Angus Leeming <leeming@lyx.org>
5455 * LyXAction.C (init):
5456 * BufferView_pimpl.C (dispatch):
5457 * lyxfunc.C (getStatus):
5458 remove LFUN_CHILD_INSERT.
5460 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5462 2003-03-05 Angus Leeming <leeming@lyx.org>
5465 * LyXAction.C (init):
5466 * src/factory.C (createInset):
5467 * lyxfunc.C (getStatus):
5468 * text3.C (dispatch):
5469 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5471 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5473 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5475 * ParagraphList.C (insert): handle insert right before end()
5476 (erase): fix cases where it can be first or last paragraph.
5478 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5480 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5481 Paragraph::next and Paragraph::previous
5484 * text.C (breakParagraph): adjust
5486 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5487 BufferParams& as arg.
5488 (breakParagraph): use ParagraphList::insert
5489 (breakParagraphConservative): take a Buffer* instead of a
5490 BufferParams& as arg.
5491 (breakParagraphConservative): use ParagraphList::insert.
5493 * buffer.C (insertStringAsLines): un-const it
5494 (insertStringAsLines): adjust
5496 * ParagraphList.C (insert): new function
5498 * CutAndPaste.C (pasteSelection): adjust
5500 * text.C (backspace): adjust
5502 * tabular.C (SetMultiColumn): adjust
5504 * CutAndPaste.C (cutSelection): adjust
5505 (pasteSelection): adjust
5507 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5508 Buffer const * as arg
5510 * ParagraphList.C (erase): new function
5511 * paragraph_funcs.C (mergeParagraph): use it
5512 (mergeParagraph): make it take a Buffer* instead of a
5513 BufferParams* as arg
5515 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5517 (breakParagraphConservative): ditto
5519 * paragraph.h: remove the breakParagraph friend
5521 * paragraph.C (eraseIntern): new function
5522 (setChange): new function
5524 * paragraph_funcs.C (mergeParagraph): make it take a
5525 ParagraphList::iterator instead of a Paragraph *, adjust
5528 * paragraph.h: move an #endif so that the change tracking stuff
5529 also works in the NO_NEXT case.
5531 2003-03-04 Angus Leeming <leeming@lyx.org>
5534 * LyXAction.C: new LFUN_INSET_MODIFY.
5536 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5537 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5539 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5541 * several files: ws changes only
5543 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5544 (TeXEnvironment): ditto
5547 * buffer.C (makeLaTeXFile): adjust
5548 (latexParagraphs): make it take ParagraphList::iterator as args
5550 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5552 * buffer.C (latexParagraphs): adjust
5554 * paragraph.C (TeXOnePar): move function...
5555 (optArgInset): move function...
5556 (TeXEnvironment): move function...
5557 * paragraph_pimpl.C (TeXDeeper): move function...
5558 * paragraph_funcs.C: ...here
5560 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5562 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5564 * buffer.C (readInset): remove compability code for old Figure and
5567 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5569 * buffer.C: ws changes
5572 * BufferView_pimpl.C: ditto
5575 * bufferlist.h: ditto
5579 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5581 * converter.[Ch]: split into itself +
5584 * Makefile.am: += graph.[Ch] + format.[Ch]
5591 * lyxrc.C: added #include "format.h"
5593 2003-02-27 Angus Leeming <leeming@lyx.org>
5595 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5598 * factory.C (createInset): add "label" to the factory.
5600 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5601 string and do no more.
5603 2003-02-27 Angus Leeming <leeming@lyx.org>
5606 * LyXAction.C (init):
5607 * factory.C (createInset):
5608 * BufferView_pimpl.C (dispatch):
5609 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5611 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5613 * lyxfunc.C (dispatch):
5614 * text3.C (dispatch): pass name to params2string.
5616 2003-02-26 Angus Leeming <leeming@lyx.org>
5618 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5620 Rearrange the ~includes. Strip out the unnecessary ones.
5622 * factory.C (createInset): reformat.
5623 create new insets for the various LFUN_XYZ_APPLY lfuns.
5625 2003-02-26 John Levon <levon@movementarian.org>
5628 * lyxrow.C: add isParStart,isParEnd helpers
5630 * paragraph.h: make isInserted/DeletedText take refs
5632 * paragraph_funcs.h:
5633 * paragraph_funcs.C: remove #if 0'd code
5638 * text.C: use lyxrow helpers above.
5639 Move draw and paint routines to RowPainter.
5640 Make several methods use refs not pointers.
5641 Make backgroundColor() const.
5642 Add markChangeInDraw(), isInInset().
5643 Merge changeRegionCase into changeCase.
5644 Make workWidth() shouldn't-happen code into an Assert.
5647 * rowpainter.C: new class for painting a row.
5650 * vspace.C: make inPixels take a ref
5652 2003-02-26 Angus Leeming <leeming@lyx.org>
5654 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5657 2003-02-25 John Levon <levon@movementarian.org>
5659 * ispell.C: give the forked command a more accurate name
5661 2003-02-22 John Levon <levon@movementarian.org>
5664 * toc.C: make TocItem store an id not a Paragraph *
5667 2003-02-21 Angus Leeming <leeming@lyx.org>
5669 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5670 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5671 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5672 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5673 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5674 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5676 * BufferView_pimpl.C (dispatch):
5677 * LyXAction.C (init):
5678 * factory.C (createInset):
5679 * lyxfunc.C (getStatus, dispatch):
5680 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5682 2003-02-21 Angus Leeming <leeming@lyx.org>
5684 * BufferView_pimpl.C (MenuInsertLyXFile):
5685 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5686 * lyxfunc.C (menuNew, open, doImport):
5687 no longer pass a LyXView & to fileDlg.
5689 2003-02-21 Angus Leeming <leeming@lyx.org>
5691 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5692 * LyXAction.C: change, BIBKEY to BIBITEM.
5693 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5694 Change InsetBibKey to InsetBibitem.
5695 Change BIBKEY_CODE to BIBITEM_CODE.
5696 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5697 * factory.C: replace insetbib.h with insetbibitem.h.
5698 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5699 * paragraph.C: replace insetbib.h with insetbibitem.h.
5700 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5701 Change bibkey() to bibitem().
5702 * text.C: remove insetbib.h.
5703 * text2.C: replace insetbib.h with insetbibitem.h.
5704 change bibkey() to bibitem().
5705 * text3.C: remove insetbib.h.
5706 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5708 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5710 * lyxrc.C (output): enclose user email in quotes (in case there are
5713 2003-02-18 John Levon <levon@movementarian.org>
5715 * buffer.h: add std::
5717 2003-02-17 John Levon <levon@movementarian.org>
5723 * pspell.C: reworking. Especially in ispell, a large
5724 number of clean ups and bug fixes.
5726 * lyxfunc.C: fix revert to behave sensibly
5728 2003-02-17 André Pönitz <poenitz@gmx.net>
5731 * commandtags.h: new LFUN_INSERT_BIBKEY
5741 * paragraph_func.C: remove special bibkey handling
5743 2003-02-17 John Levon <levon@movementarian.org>
5745 * text.C (Delete): fix case where delete at the end of
5746 the very first paragraph would not merge the pars
5748 2003-02-17 John Levon <levon@movementarian.org>
5750 * lyxrow.C: fix lastPrintablePos()
5752 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5754 * bufferparams.C (writeLaTeX): add a std:here
5756 * buffer.C: and remove a using directive there
5758 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5760 * buffer.C (makeLaTeXFile): move the code that generates the
5763 * bufferparams.C (writeLaTeX): ... in this new method
5765 * LaTeXFeatures.C (getEncodingSet): make const
5766 (getLanguages): make const
5768 * MenuBackend.C (binding): returns the binding associated to this
5770 (add): sets the status of each item by calling getStatus. Adds
5772 (read): add support for OptSubMenu
5773 (expand): remove extra separator at the end of expanded menu
5775 2003-02-15 John Levon <levon@movementarian.org>
5778 * BufferView_pimpl.C:
5780 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5781 inset code that had no actual effect. Remove unneeded status
5784 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5786 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5789 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5791 * text.C (drawLengthMarker): also draw an arrow marker for
5792 symbolic lengths (medskip...)
5794 2003-02-14 John Levon <levon@movementarian.org>
5797 * tabular.C: better method names
5799 2003-02-14 John Levon <levon@movementarian.org>
5801 * BufferView_pimpl.C:
5806 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5807 it's a more accurate name. Remove some pointless uses.
5809 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5811 * text2.C (LyXText): change order of initilizers to shut off
5814 2003-02-14 John Levon <levon@movementarian.org>
5816 * buffer.C: use ParIterator for getParFromID()
5820 * paragraph_pimpl.h:
5821 * paragraph_pimpl.C: remove unused getParFromID()
5823 2003-02-14 John Levon <levon@movementarian.org>
5825 * buffer.C: remove some very old #if 0'd parse code
5827 2003-02-13 John Levon <levon@movementarian.org>
5831 * text2.C: move hfillExpansion(), numberOfSeparators(),
5832 rowLast(), rowLastPrintable(), numberofHfills(),
5833 numberOfLabelHfills() ...
5836 * lyxrow.C: ... to member functions here.
5841 * text.C: remove LyXText::beginningOfMainBody(), and call
5842 p->beginningOfMainBody() directly. Move the check for
5843 LABEL_MANUAL into the latter.
5850 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5856 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5857 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5859 2003-02-13 John Levon <levon@movementarian.org>
5861 * CutAndPaste.C: remove debug
5863 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5865 * paragraph.C (asString): remove two unused variables
5867 * lyxtextclass.C (readTitleType):
5869 (LyXTextClass): handle new members titletype_ and titlename_
5871 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5873 2003-02-09 John Levon <levon@movementarian.org>
5876 * buffer.C: replace hand-coded list with a map for the dep clean
5878 2003-02-08 John Levon <levon@movementarian.org>
5880 * LaTeX.C: consolidate code into showRunMessage() helper
5882 2003-02-08 John Levon <levon@movementarian.org>
5887 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5888 and pass the size in explicitly
5890 * BufferView_pimpl.h:
5891 * BufferView_pimpl.C:
5893 * BufferView.C: add getCurrentChange()
5895 * BufferView_pimpl.h:
5896 * BufferView_pimpl.C: handle change lfuns
5898 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5899 for changes. Mark pasted paragraphs as new.
5901 * support/lyxtime.h:
5902 * support/lyxtime.C:
5903 * DepTable.C: abstract time_t as lyx::time_type
5906 * LColor.C: add colours for new text, deleted text, changebars
5908 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5909 package use "usenames" option.
5913 * LyXAction.C: add change lfuns
5917 * author.C: author handling
5920 * buffer.C: add a per-buffer author list, with first entry as
5921 current author. Handle new .lyx tokens for change tracking. Output
5922 author list to .lyx file. Output dvipost stuff to .tex preamble.
5923 Bump lyx format to 222.
5926 * bufferlist.C: add setCurrentAuthor() to reset current author details
5930 * bufferparams.C: add param for tracking
5932 * bufferview_funcs.C: output change info in minibuffer
5936 * changes.C: add change-tracking structure
5939 * debug.C: add CHANGES debug flag
5942 * lyxfind.C: add code for finding the next change piece
5945 * lyxrc.C: add user_name and user_email
5948 * lyxrow.C: add a metric for the top of the text line
5951 * text.C: implement accept/rejectChange()
5954 * text.C: paint changebars. Paint new/deleted text in the chosen
5955 colours. Strike through deleted text.
5959 * paragraph_pimpl.h:
5960 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5961 in the current change to the insert functions. Rework erase to
5962 mark text as deleted, adding an eraseIntern() and a range-based
5963 erase(). Implement per-paragraph change lookup and
5966 * paragraph_funcs.C: Fixup paste for change tracking.
5968 * tabular.C: mark added row/columns as new.
5970 * text.C: fix rowLast() to never return -1. Don't allow
5971 spellchecking of deleted text. Track transpose changes. Don't
5972 allow paragraph break or merge where appropriate.
5974 * text2.C: leave cursor at end of selection after a cut.
5976 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5978 * text.C (getLengthMarkerHeight):
5979 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5980 visible on screen too.
5982 2003-02-07 John Levon <levon@movementarian.org>
5984 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5986 2003-02-05 Angus Leeming <leeming@lyx.org>
5988 * lyxserver.C (read_ready): revert my patch of 11 September last year
5989 as it sends PC cpu through the roof. Presumably this means that
5990 the lyxserver will no longer run on an Alpha...
5992 2003-01-30 Angus Leeming <leeming@lyx.org>
5994 * factory.C (createInset): create an InsetCommandParam of type "index"
5995 and use it to 'do the right thing'.
5997 * text2.C (getStringToIndex): ensure that cursor position is always
5998 reset to the reset_cursor position.
6000 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6002 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6005 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6009 * lyxfunc.C: Output messages with identical spelling, punctuation,
6012 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6014 * MenuBackend.C (expandFormats): List only viewable export formats
6017 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6020 * lyxfunc.C (getStatus): Make sure that formats other than
6021 "fax" can also be disabled
6023 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6025 * text3.C (dispatch): put the lfuns that insert insets in 3
6026 groups, and call doInsertInset with appropriate arguments.
6027 (doInsertInset): new function, that creates an inset and inserts
6028 it according to some boolean parameters.
6030 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6032 * buffer.C (readFile): remember to pass on 'par' when calling
6033 readFile recursively.
6035 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6037 * MenuBackend.C (expandFormats): add "..." to import formats.
6039 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6041 * paragraph.C (asString): Remove XForms RTL hacks.
6043 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6044 * buffer.C: fix typo
6046 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6048 * Makefile.am (LIBS): delete var
6049 (lyx_LDADD): add @LIBS@ here instead.
6051 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6053 * Clarify the meaning of "wheel mouse jump"
6055 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6057 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6060 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6062 * importer.C (Loaders): do not preallocate 3 elements in the
6063 vector, since one ends up with 6 elements otherwise
6065 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6067 * DepTable.C (write): write the file name as last element of the
6068 .dep file (because it may contain spaces)
6069 (read): read info in the right order
6071 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6073 * paragraph_pimpl.C (simpleTeXBlanks):
6074 (simpleTeXSpecialChars):
6075 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6077 * tabular.C (latex): add some missing case statements. Reindent.
6079 * MenuBackend.C (expandToc): remove unused variable.
6081 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6090 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6093 2003-01-05 John Levon <levon@movementarian.org>
6096 * BufferView.C: add getEncoding()
6099 * kbsequence.C: do not store last keypress
6102 * lyxfunc.C: store last keypress here instead. Pass encoding
6105 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6107 * lyx_main.C (init): remove annoying error message when following
6108 symbolic links (bug #780)
6110 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6112 * text.C (insertChar):
6113 * lyxrc.C (getDescription): remove extra spaces
6115 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6117 * lyxrc.C (getDescription): remove extra spaces
6119 2002-12-20 John Levon <levon@movementarian.org>
6121 * text3.C: hack fix for page up/down across tall rows
6123 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6125 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6128 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6130 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6131 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6132 thesaurus is not compiled in
6134 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6136 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6138 2002-12-16 Angus Leeming <leeming@lyx.org>
6141 * lyx_main.C (init): remove override_x_deadkeys stuff.
6143 2002-12-12 John Levon <levon@movementarian.org>
6145 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6146 insert. Only remove shift modifier under strict
6149 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6151 * MenuBackend.C (expandToc): fix crash.
6153 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6155 * MenuBackend.C (expandToc): gettext on float names.
6157 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6159 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6160 implement bool empty() [bug 490]
6162 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6164 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6166 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6168 * several files: ws changes
6170 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6172 * text2.C (setCounter): clean up a bit, use boost.format.
6173 (updateCounters): initialize par upon declaration.
6175 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6176 if the layout exists. We do not just store the layout any more.
6177 (SwitchLayoutsBetweenClasses): use boost.format
6179 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6181 * converter.C (convert): if from and to files are the same, use a
6182 temporary files as intermediary
6184 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6187 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6189 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6191 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6193 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6195 * tabular.C (asciiPrintCell): use string(size, char) instead of
6198 * sgml.C (openTag): fix order of arguments to string constructor
6201 * lyxfunc.C (dispatch): use boost.format
6203 * lots of files: change "c" -> 'c'
6205 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6207 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6209 2002-11-25 Angus Leeming <leeming@lyx.org>
6211 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6213 * lyx_main.C (init): compile fix.
6215 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6217 * lyx_cb.C (start): boost.formatify
6218 do not include <iostream>
6220 * lengthcommon.C: ws only
6222 * boost-inst.C,BoostFormat.h: add more explict instantations
6224 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6226 * lots of files: handle USE_BOOST_FORMAT
6228 2002-11-21 John Levon <levon@movementarian.org>
6230 * pspell.C: fix compile
6232 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6234 * lyxfunc.C (dispatch): use boost::format
6238 * lyxfont.C (stateText): use boost::format
6240 * lyx_main.C (LyX): use boost::format
6242 (queryUserLyXDir): ditto
6245 (typedef boost::function): use the recommened syntax.
6247 * importer.C (Import): use boost::format
6249 * debug.C (showLevel): use boost::format
6251 * converter.C (view): use boost::format
6256 * bufferview_funcs.C (currentState): use boost::format
6258 * bufferlist.C (emergencyWrite): use boost::format
6260 * buffer.C (readLyXformat2): use boost::format
6261 (parseSingleLyXformat2Token): ditto
6263 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6265 * LaTeX.C (run): use boost::format
6267 * Chktex.C (scanLogFile): use boost::format
6269 * BufferView_pimpl.C (savePosition): use boost::format
6270 (restorePosition): ditto
6271 (MenuInsertLyXFile): ditto
6273 * BoostFormat.h: help file for explicit instation.
6275 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6277 * tabular.C (latex): Support for block alignment in fixed width
6280 2002-11-17 John Levon <levon@movementarian.org>
6282 * BufferView_pimpl.C:
6284 * lyxfunc.C: split filedialog into open/save
6286 2002-11-08 Juergen Vigna <jug@sad.it>
6288 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6289 by my last patch (hopefully).
6291 2002-11-08 John Levon <levon@movementarian.org>
6300 * toc.C: ParConstIterator, and use it (from Lars)
6302 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6304 * lyxtextclass.[Ch]: revise and add doxygen comments
6306 2002-11-07 John Levon <levon@movementarian.org>
6308 * text.C: fix progress value for spellchecker
6310 * toc.C: fix navigate menu for insetwrap inside minipage
6312 * paragraph_funcs.C: added FIXME for suspect code
6314 2002-11-07 John Levon <levon@movementarian.org>
6316 * BufferView_pimpl.C: fix redrawing of insets
6319 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6321 * text2.C (updateCounters): fix bug 668
6323 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6325 * text3.C (dispatch): Do not make the buffer dirty when moving the
6328 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6330 * vc-backend.C: STRCONV
6333 * text2.C (setCounter): STRCONV
6335 * paragraph.C (asString): STRCONV
6337 * lyxlength.C (asString): STRCONV
6338 (asLatexString): ditto
6340 * lyxgluelength.C (asString): STRCONV
6341 (asLatexString): ditto
6343 * lyxfunc.C (dispatch): STRCONV
6346 * lyxfont.C (stateText): STRCONV
6348 * importer.C (Import): STRCONV
6350 * counters.C (labelItem): STRCONV
6351 (numberLabel): ditto
6352 (numberLabel): remove unused ostringstream o
6357 * bufferview_funcs.C (currentState): STRCONV
6359 * buffer.C (readFile): STRCONV
6360 (asciiParagraph): ditto
6361 (makeLaTeXFile): ditto
6363 * Spacing.C (writeEnvirBegin): STRCONV
6365 * LaTeXFeatures.C (getLanguages): STRCONV
6366 (getPackages): ditto
6368 (getBabelOptions): ditto
6369 (getTClassPreamble): ditto
6370 (getLyXSGMLEntities): ditto
6371 (getIncludedFiles): ditto
6375 (scanAuxFile): ditto
6378 * LString.h: add the STRCONV macros
6380 * BufferView_pimpl.C (savePosition): STRCONV
6381 (restorePosition): ditto
6382 (MenuInsertLyXFile): ditto
6384 * vc-backend.C (scanMaster): change from submatch[...] to
6387 * funcrequest.C: include config.h
6389 * factory.C: include config.h
6391 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6393 * box.C: include config.h
6395 * LaTeX.C (scanAuxFile): change from submatch[...] to
6399 2002-10-25 Angus Leeming <leeming@lyx.org>
6401 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6403 * ispell.[Ch] (setError): new method.
6404 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6405 Use setError() insetead of goto END.
6407 * lyx_cb.C (AutoSave): move out child process into new class
6410 2002-10-30 John Levon <levon@movementarian.org>
6412 * text3.C: make start appendix undoable
6414 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6416 * lyxlength.C (inPixels): Fix returned value.
6418 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6421 2002-10-24 Angus Leeming <leeming@lyx.org>
6423 * lyxgluelength.h: no need to forward declare BufferParams
6424 or BufferView, so don't.
6426 2002-10-21 John Levon <levon@movementarian.org>
6428 * BufferView.C: menuUndo ->undo, redo
6430 * BufferView.h: document, remove dead, make some methods private
6432 * paragraph_funcs.h:
6433 * paragraph_funcs.C:
6434 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6439 * sgml.C: move sgml open/close tag into sgml.C
6441 * bufferview_funcs.h: unused prototype
6444 * lyxfunc.C: remove unused
6447 * text.C: remove unused
6449 2002-10-21 John Levon <levon@movementarian.org>
6453 * BufferView_pimpl.h:
6454 * BufferView_pimpl.C: fix mouse wheel handling based on
6455 patch from Darren Freeman
6457 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6459 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6461 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6463 * lyxlength.C (inPixels): Fix hanfling of negative length.
6464 Fix LyXLength::MU case.
6466 2002-10-16 John Levon <levon@movementarian.org>
6468 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6470 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6472 * converter.C (view): add support for $$i (file name) and $$p
6473 (file path) for the viewer command. If $$i is not specified, then
6474 it is appended to the command (for compatibility with old syntax)
6476 2002-10-14 Juergen Vigna <jug@sad.it>
6478 * undo_funcs.C (textHandleUndo): alter the order in which the
6479 new undopar is added to the LyXText, as we have to set first
6480 the right prev/next and then add it as otherwise the rebuild of
6481 LyXText is not correct. Also reset the cursor to the right paragraph,
6482 with this IMO we could remove the hack in "redoParagraphs()".
6484 2002-10-09 Angus Leeming <leeming@lyx.org>
6486 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6487 to turn off an optimisation if a new inset is to be inserted.
6489 2002-10-11 André Pönitz <poenitz@gmx.net>
6491 * lyxtext.h: make some functions public to allow access
6492 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6494 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6496 * text3.C (dispatch): when changing layout, avoid an infinite loop
6499 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6501 * lyxrc.C (read): treat a viewer or converter command of "none" as
6504 * MenuBackend.C (expandFormats): for an update, also allow the
6505 formats that are not viewable
6507 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6508 script if it is newer than the lyxrc.defaults in user directory
6510 2002-10-07 André Pönitz <poenitz@gmx.net>
6512 * text.C: Vitaly Lipatov's small i18n fix
6514 2002-09-25 Angus Leeming <leeming@lyx.org>
6516 * ispell.h: doxygen fix.
6518 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6520 * buffer.h (readFile): Add a new argument to the method, to allow
6521 reading of old-format templates.
6523 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6525 * toc.C (getTocList): Get TOC from InsetWrap.
6527 2002-09-16 John Levon <levon@movementarian.org>
6529 * lyxfunc.C: check tabular for cut/copy too
6531 2002-09-12 John Levon <levon@movementarian.org>
6536 * factory.C: add header
6538 * paragraph_funcs.h:
6539 * paragraph_funcs.C: cleanup
6541 2002-09-11 John Levon <levon@movementarian.org>
6543 * PrinterParams.h: odd/even default to true
6545 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6547 * PrinterParams.h: update printer parameters for new xforms dialog
6549 2002-09-11 Angus Leeming <leeming@lyx.org>
6551 * lyxserver.C (read_ready): re-write to make it more transparent
6552 and to make it work in coherent fashion under Tru64 Unix.
6554 2002-09-11 André Pönitz <poenitz@gmx.net>
6558 * text3.C: implement LFUN_WORDSEL
6560 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6562 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6563 make floatlist_ a boost::shared_ptr<FloatList>
6565 * lyxtextclass.C: include FloatList.h
6566 (LyXTextClass): initialize floatlist_
6567 (TextClassTags): add TC_NOFLOAT
6568 (Read): match "nofloat" to TC_NOFLOAT and use it.
6569 (readFloat): modify call to floatlist_
6573 * FloatList.[Ch] (FloatList): remove commented out float
6575 (erase): new function
6577 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6579 * MenuBackend.C (expandToc): fix crash when there is no document
6582 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6584 * many files: Add insetwrap.
6586 2002-09-09 John Levon <levon@movementarian.org>
6588 * text2.C: remove confusing and awkward depth wraparound
6590 2002-09-09 John Levon <levon@movementarian.org>
6592 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6595 * buffer.C: remove getIncludeonlyList()
6598 * lyxfunc.C: remove headers
6600 2002-09-09 Juergen Vigna <jug@sad.it>
6602 * text.C (getColumnNearX): fix form Michael this is most
6603 probably a cut&paste bug.
6605 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6607 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6609 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6610 references, ws changes.
6612 * text2.C (init): update counters after init
6613 (insertParagraph): no need to set counter on idividual paragraphs.
6614 (setCounter): access the counters object in the textclass object
6615 on in the buffer object.
6616 (updateCounters): ditto
6618 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6619 shared_ptr<Counters> to avoid loading counters.h in all
6621 (LyXTextClass): initialize ctrs_
6622 (TextClassTags): add TC_COUNTER, and ...
6623 (Read): use it here.
6624 (CounterTags): new tags
6625 (readCounter): new function
6626 (counters): new funtion
6627 (defaultLayoutName): return a const reference
6629 * counters.C (Counters): remove contructor
6630 (newCounter): remove a couple of unneeded statements.
6631 (newCounter): simplify a bit.
6632 (numberLabel): some small formatting changes.
6634 * buffer.[Ch]: remove all traces of counters, move the Counters
6635 object to the LyXTextClass.
6637 2002-09-06 Alain Castera <castera@in2p3.fr>
6639 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6640 package to set the horizontal alignment on fixed width columns.
6643 * lyx_sty.h: added tabularnewline macro def.
6645 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6647 2002-09-06 John Levon <levon@movementarian.org>
6649 * LyXAction.C: tooltips for sub/superscript
6651 * MenuBackend.C: a bit more verbose
6653 * lyxfunc.C: tiny clean
6655 * undo_funcs.C: document undo_frozen
6657 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6659 * counters.C (Counters): add missing algorithm counter.
6661 * text2.C (setCounter): lookup the counter with layouts latexname
6662 instead of by section number.
6663 (setCounter): use a hackish way to lookup the correct enum
6665 a float name->type change
6666 reset enum couners with counter name directly instead of depth value.
6668 * counters.C (Counters): remove the push_backs, change to use the
6669 float type not the float name.
6670 (labelItem): remove unused string, float name->type change
6672 * counters.h: don't include vector, loose the enums and sects vectors
6674 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6676 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6677 (Read): add float->TC_FLOAT to textclassTags
6678 (Read): and handle it in the switch
6679 (readFloat): new function
6681 * FloatList.C (FloatList): comment out the hardcoded float
6684 * lyxlayout.h: ws change.
6686 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6688 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6690 2002-09-03 Angus Leeming <leeming@lyx.org>
6692 * BufferView_pimpl.h: qualified name is not allowed in member
6693 declaration: WorkArea & Pimpl::workarea() const;
6695 * factory.C: added using std::endl directive.
6697 * text3.C: added using std::find and std::vector directives.
6699 2002-08-29 André Pönitz <poenitz@gmx.net>
6702 * text2.C: remove unused member number_of_rows
6705 * BufferView2.C: remove file, move contents to...
6706 * BufferView.C: ... here
6708 * BufferView_pimpl.C:
6709 * factory.C: move more inset creation to factory
6711 * vspace.C: avoid direct usage of LyXText, ws changes
6714 don't provide direct access to WorkArea, use two simple
6715 acessors haveSelction() and workHeight() instead
6718 2002-08-29 John Levon <levon@movementarian.org>
6720 * BufferView_pimpl.C (dispatch): do not continue when
6723 2002-08-28 André Pönitz <poenitz@gmx.net>
6725 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6728 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6730 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6732 * buffer.C: increment LYX_FORMAT to 221
6734 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6735 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6737 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6739 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6741 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6743 * factory.C (createInset): use LyXTextClass::floats
6745 * MenuBackend.C (expandFloatListInsert):
6746 (expandFloatInsert):
6749 * text2.C (setCounter):
6751 * LaTeXFeatures.C (useFloat):
6752 (getFloatDefinitions):
6754 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6756 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6757 floatlist_, with accessor floats().
6759 * FloatList.h: remove global FloatList
6761 2002-08-26 André Pönitz <poenitz@gmx.net>
6763 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6767 * BufferView_pimpl.C:
6768 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6770 2002-08-25 John Levon <levon@movementarian.org>
6772 * LyXAction.C: fix margin note description
6774 2002-08-24 John Levon <levon@movementarian.org>
6778 * bufferview_funcs.C:
6780 * undo_funcs.C: cleanups
6782 * lyxfunc.C: disable CUT/COPY when no selection
6784 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6786 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6787 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6789 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6790 Add backward compatibility to "mono", "gray" and "no".
6792 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6794 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6795 (and file_format >= 200).
6797 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6799 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6801 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6803 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6805 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6807 * BufferView_pimpl.C:
6814 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6815 inset and code to make it work with the paragraph code. The inset
6816 can be anywhere in the paragraph, but will only do the expected
6817 thing in LaTeX if the layout file contains the parameter line
6819 (or more generally, a nonzero value) for that layout.
6821 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6823 * paragraph.h: remove the declaration of undefined counters class
6826 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6828 * text2.C (setCounter): fixed enumeration mis-count as reported by
6829 Dr. Richard Hawkins.
6831 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6833 * paragraph_funcs.h: remove some unneeded includes
6835 * text.C (backspace): pasteParagraph now in global scipe
6837 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6838 (pasteSelection): ditto
6840 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6841 * paragraph_funcs.C (pasteParagraph): ... here
6843 2002-08-20 André Pönitz <poenitz@gmx.net>
6845 * commandtags.h: new LFUNs for swapping/copying table row/colums
6848 * lyxfunc.C: support for new lfuns
6850 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6853 * buffer.[Ch]: remove NO_COMPABILITY stuff
6855 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6857 * boost.C (throw_exception): new file, with helper function for
6858 boost compiled without exceptions.
6863 * ParameterStruct.h:
6864 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6866 * bufferlist.C (emergencyWriteAll): use boost bind
6868 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6870 * text.C: include paragraph_funcs.h
6871 (breakParagraph): breakParagraph is now in global scope
6873 * paragraph_funcs.[Ch]: new files
6875 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6878 * buffer.C: include paragraph_funcs.h
6879 (insertStringAsLines): breakParagraph is now in global scope
6881 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6884 * CutAndPaste.C: include paragraph_funcs.h
6885 (cutSelection): breakParagraphConservative is now in global scope
6886 (pasteSelection): ditto
6888 * buffer.h: declare oprator== and operator!= for
6889 Buffer::inset_iterator
6891 * bufferlist.C (emergencyWrite): don't use fmt(...)
6893 * text3.C: add using std::endl
6895 * BufferView.C (moveCursorUpdate): remove default arg
6897 2002-08-20 André Pönitz <poenitz@gmx.net>
6899 * buffer.[Ch]: move inline functions to .C
6902 * BufferView_pimpl.C:
6904 * buffer.[Ch]: use improved inset_iterator
6907 * paragraph.[Ch]: write one paragraph at a time
6909 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6911 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6912 style if style is not specified.
6914 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6916 * text2.C (setCounter): when searching for right label for a
6917 caption, make sure to recurse to parent insets (so that a caption
6918 in a minipage in a figure float works) (bug #568)
6920 2002-08-20 André Pönitz <poenitz@gmx.net>
6922 * text3.C: new file for LyXText::dispatch() and helpers
6924 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6926 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6928 2002-08-19 André Pönitz <poenitz@gmx.net>
6931 * text.C: new LyXText::dispatch()
6933 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6935 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6937 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6939 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6942 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6944 * Makefile.am: use $(variables) instead of @substitutions@
6946 2002-08-15 André Pönitz <poenitz@gmx.net>
6949 * BufferView_pimpl.C: streamlining mathed <-> outer world
6953 * LyXAction.C: remove unused LFUN_MATH
6955 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6957 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6959 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6961 * paragraph.C (Paragraph): reformat a bit
6962 (cutIntoMinibuffer): use builtin InsetList function instad of
6966 * buffer.C: include boost/bind.hpp, add using std::for_each
6967 (writeFileAscii): use ParagraphList iterators
6968 (validate): use for_each for validate traversal of paragraphs
6969 (getBibkeyList): use ParagraphList iterators
6970 (resizeInsets): use for_each to resizeInsetsLyXText for all
6972 (getParFromID): use ParagraphList iterators
6974 * BufferView2.C (lockInset): use paragraph list and iterators
6976 2002-08-14 John Levon <levon@movementarian.org>
6978 * lyxserver.C: remove spurious xforms include
6980 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6982 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6984 2002-08-13 André Pönitz <poenitz@gmx.net>
6987 * lyxfunc.C: further cleaning
6989 2002-08-13 André Pönitz <poenitz@gmx.net>
6991 * funcrequest.h: new constructor
6993 * funcrequest.C: move stuff here from .h
6996 * BufferView_pimpl.C:
6999 * lyxfunc.C: subsequent changes
7001 * lyxfunc.h: new view() member function
7003 * lyxfunc.C: subsequent changes
7005 2002-08-13 Angus Leeming <leeming@lyx.org>
7008 * BufferView_pimpl.C:
7016 changes due to the changed LyXView interface that now returns references
7017 to member variables not pointers.
7019 2002-08-13 Angus Leeming <leeming@lyx.org>
7021 * WordLangTuple (word, lang_code): return references to strings,
7026 * lyxtext.h: forward-declare WordLangTuple.
7031 * text.C: #include "WordLangTuple.h".
7034 * text.C: (selectNextWordToSpellcheck): constify return type.
7036 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7042 * paragraph_pimpl.h:
7045 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7047 Made updateCounter always count from start of buffer, and removed
7048 second argument (par).
7049 Reverted floats number display to '#'. Perhaps I'll try again when the
7050 code base is sanitized a bit.
7052 2002-08-12 Angus Leeming <leeming@lyx.org>
7054 * buffer.[Ch] (getLabelList): constify.
7056 2002-08-07 André Pönitz <poenitz@gmx.net>
7058 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7060 * funcrequest.h: extension to keep mouse (x,y) position
7062 2002-08-12 Juergen Vigna <jug@sad.it>
7064 * BufferView2.C (insertErrors): forbid undo when inserting error
7067 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7069 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7071 * ParagraphList.[Ch]: new files
7073 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7075 * BufferView2.C (lockInset): ParagraphList changes
7078 * bufferlist.C: ditto
7082 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7084 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7085 unused class variable counter_,
7087 * paragraph.[Ch] (getFirstCounter): delete unused function
7089 * counters.C: include LAssert.h
7090 (reset): add a new function with no arg, change other version to
7091 not have def. arg and to not allow empty arg.
7093 * text2.C (setCounter): remove empty arg from call to Counters::reset
7095 2002-08-11 John Levon <levon@movementarian.org>
7097 * Makefile.am: add WordLangTuple.h
7099 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7101 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7102 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7104 * insets/insettext.C: InsetList changes
7106 * graphics/GraphicsSupport.C (operator()): InsetList changes
7108 * toc.C (getTocList): InsetList changes
7110 * paragraph_pimpl.[Ch]: InsetList changes
7112 * paragraph.[Ch]: InsetList changes
7114 * buffer.C (inset_iterator): InsetList changes
7115 (setParagraph): ditto
7116 * buffer.h (inset_iterator): ditto
7117 * iterators.C (operator++): ditto
7118 * iterators.h: ditto
7120 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7122 * InsetList.[Ch]: new files, most InsetList handling moved out of
7125 * BufferView2.C (removeAutoInsets): InsetList changes
7127 (ChangeInsets): ditto
7129 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7131 * paragraph_pimpl.h (empty): new function
7133 * paragraph.[Ch] (empty): new function
7135 * other files: use the new Paragraph::empty function
7137 2002-08-09 John Levon <levon@movementarian.org>
7139 * lyxtext.h: remove unused refresh_height
7141 2002-08-09 John Levon <levon@movementarian.org>
7148 * paragraph.C: move sgml char escaping out of paragraph
7151 * paragraph.C: remove id setter
7155 * paragraph_pimpl.C: remove dead tex_code_break_column
7157 * bufferview_funcs.C: small cleanup
7159 * lyxfunc.C: remove dead proto
7161 * lyxtext.h: make some stuff private. Remove some dead stuff.
7163 * lyxgluelength.C: make as[LyX]String() readable
7165 2002-08-08 John Levon <levon@movementarian.org>
7170 * ToolbarDefaults.C:
7173 * toc.C: lyxaction cleanup
7175 2002-08-08 John Levon <levon@movementarian.org>
7177 * BufferView2.C: small cleanup
7180 * lyxfind.C: move unnecessary header into the .C
7182 2002-08-08 John Levon <levon@movementarian.org>
7184 * funcrequest.h: just tedious nonsense
7187 * lyx_main.C: cleanups
7190 * vspace.C: remove dead header lyx_main.h
7192 2002-08-07 Angus Leeming <leeming@lyx.org>
7195 * paragraph_pimpl.h:
7196 Forward declare class Counters in paragraph.h by moving the ctrs member
7197 variable into Paragraph::Pimpl.
7198 (counters): new method, returning a reference to pimpl_->ctrs.
7200 * text2.C: ensuing changes.
7202 2002-08-07 John Levon <levon@movementarian.org>
7204 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7206 * BufferView_pimpl.C: announce X selection on double/triple
7209 * lyx_main.C: use correct bool in batch dispatch
7211 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7213 2002-08-07 André Pönitz <poenitz@gmx.net>
7215 * funcrequest.h: new class to wrap a kb_action and its argument
7218 * BufferView_pimpl[Ch]:
7222 * lyxrc.C: subsequent changes
7225 2002-08-07 John Levon <levon@movementarian.org>
7227 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7228 document options change.
7230 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7235 * makefile.am: move counters functionality over from
7236 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7238 2002-08-06 John Levon <levon@movementarian.org>
7240 * WordLangTuple.h: new file for word + language code tuple
7251 * BufferView2.C: use WordLangTuple
7254 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7256 2002-08-06 John Levon <levon@movementarian.org>
7258 * lyx_main.C: fix cmdline batch handling
7260 2002-08-06 André Pönitz <poenitz@gmx.net>
7262 * lyxrc.C: set default for show_banner to true
7264 2002-08-06 John Levon <levon@movementarian.org>
7266 * pspell.C: fix a crash, and allow new aspell to work
7268 2002-08-06 John Levon <levon@movementarian.org>
7271 * kbmap.C: small cleanup
7274 * vspace.C: add const
7276 2002-08-05 John Levon <levon@movementarian.org>
7278 * LyXAction.C: back to tabular-insert
7280 2002-08-04 John Levon <levon@movementarian.org>
7283 * BufferView.C: cosmetic change
7285 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7295 * BufferView2.C: purge all "Lyx" not "LyX" strings
7298 * lyxcursor.C: attempt to add some documentation
7303 * ToolbarDefaults.C:
7304 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7305 merge with LFUN_TABULAR_INSERT
7312 * pspell.C: split up i/pspell implementations into separate
7313 files, many cleanups
7315 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7317 * text2.C: some cleanup
7319 * lyxfunc.C: don't check for isp_command == "none" any more, it
7320 didn't make any sense
7322 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7327 * makefile.am: move counters functionality over
7328 from text2.C/paragraph.[Ch] to counters.[Ch], and
7330 2002-08-02 John Levon <levon@movementarian.org>
7332 * buffer.C: s/lyxconvert/lyx2lyx/
7334 2002-08-02 Angus Leeming <leeming@lyx.org>
7336 * lyxlex.C: revert John's change as it breaks reading of the user
7339 2002-08-02 Angus Leeming <leeming@lyx.org>
7341 * importer.C (Import):
7342 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7343 changes due to LyXView::view() now returning a boost::shared_ptr.
7345 2002-08-02 John Levon <levon@movementarian.org>
7347 * lyxlex.C: small cleanup
7349 2002-08-02 John Levon <levon@movementarian.org>
7351 * text2.C (status): small cleanup, no logic change
7353 2002-08-01 John Levon <levon@movementarian.org>
7356 * buffer.C (writeFile): don't output alerts, caller
7360 * lyx_cb.C: from above
7362 * lyxfunc.C: allow to open non-existent files
7364 2002-07-31 John Levon <levon@movementarian.org>
7366 * lyxserver.C: don't let incidental errors get
7369 2002-07-30 John Levon <levon@movementarian.org>
7371 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7373 2002-07-30 John Levon <levon@movementarian.org>
7376 * lyxserver.C: remove I/O callback too
7378 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7380 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7383 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7385 * many files: strip,frontStrip -> trim,ltrim,rtrim
7387 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7389 * PrinterParams.h: remove extern containsOnly, and include
7390 support/lstrings.h instead.
7392 * LaTeX.C (scanAuxFile): modify because of strip changes
7394 * buffer.C (makeLaTeXFile): ditto
7395 * bufferparams.C (writeFile): ditt
7396 * lyxfont.C (stateText): ditto
7397 * lyxserver.C (read_ready): ditto
7398 * vc-backend.C (scanMaster): ditto
7400 * BufferView_pimpl.h: ws changes
7402 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7404 2002-07-26 André Pönitz <poenitz@gmx.net>
7406 * kb_sequence.C: remove unnedred usings
7408 2002-07-26 Juergen Vigna <jug@sad.it>
7410 * lyxfind.C (LyXReplace): we have to check better if the returned
7411 text is not of theLockingInset()->getLockingInset().
7413 2002-07-25 Juergen Vigna <jug@sad.it>
7415 * lyxfind.C (LyXReplace): don't replace if we don't get the
7418 * undo_funcs.C (createUndo): remove debugging code.
7420 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7422 * buffer.C (parseSingleLyXformat2Token): Use default placement
7423 when reading old floats.
7425 * FloatList.C (FloatList): Change the default placement of figure
7426 and tables to "tbp".
7428 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7430 * MenuBackend.C: using std::max
7432 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7434 * MenuBackend.C (expandToc):
7435 (expandToc2): code moved from xforms menu frontend. It is now
7436 generic and TOCs are transparent to menu frontends.
7438 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7440 * toc.C (getTocList): protect against buf=0
7442 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7443 Menu as first parameter. Now, this calls itself recursively to
7444 expand a whole tree (this will be useful for TOC handling)
7445 (expandFloatInsert): remove 'wide' version of floats
7447 * MenuBackend.h (submenuname): returns the name of the submenu.
7448 (submenu): returns the submenu itself, provided it has been
7449 created by MenuBackend::expand
7451 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7453 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7454 insets which have noFontChange == true. (bug #172)
7456 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7458 * BufferView_pimpl.C: add connection objects and use them...
7461 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7463 * MenuBackend.C (expandLastfiles):
7466 (expandFloatListInsert):
7467 (expandFloatInsert):
7468 (expand): split expand in parts
7470 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7472 * lyx_gui.C: use lyx_gui::exit()
7474 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7476 * LyXAction.C: show the failing pseudo action
7478 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7480 * buffer.C (readFile): Run the lyxconvert script in order to read
7483 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7487 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7489 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7493 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7495 2002-07-22 Herbert Voss <voss@lyx.org>
7498 * lyxlength.[Ch]: add support for the vertical lengths
7500 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7502 * toc.[Ch]: std:: fixes
7504 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7506 * lyxrc.C: do not include lyx_main.h
7508 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7514 * BufferView2.C: include "lyxlex.h"
7517 * bufferparams.h: do not #include "lyxlex.h"
7519 * lyxtextclasslist.C (Add): remove method
7520 (classlist): renamed to classlist_
7522 * paragraph_pimpl.C:
7526 * bufferview_funcs.C:
7531 * toc.C (getTocList): use BufferParams::getLyXTextClass
7533 * toc.C (getTocList): use InsetFloat::addToToc
7535 * toc.[Ch]: new files, containing helper functions to handle table
7538 * lyxfunc.C (dispatch): no need to remove spaces around command
7540 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7541 first command of the sequence; it is not very clever, but I do not
7542 have a better idea, actually
7544 * LyXAction.C (LookupFunc): make sure to remove space at the
7545 beginning and end of the command
7547 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7549 * MenuBackend.C (getMenubar): new method: return the menubar of
7551 (read): treat differently reading of menu and menubar (in
7552 particular, the menubar has no name now)
7553 (Menu::menubar): remove
7555 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7558 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7560 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7561 a bibitem inset in a RTL paragraph.
7563 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7565 * paragraph_pimpl.C: constify
7567 * BufferView_pimpl.C:
7569 * lyxfunc.C: fix dispatch in a nicer way
7571 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7573 * lyxfunc.C (dispatch):
7574 * BufferView_pimpl.C:
7575 * BufferView_pimpl.h:
7577 * BufferView.h: rename Dispatch() to dispatch()
7579 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7581 * lyxlayout.C (Read): honor DependsOn tag
7583 * lyxlayout.[Ch] (depends_on): new method
7585 * version.C.in: update lyx_docversion
7587 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7589 * paragraph.C (validate): remove from here...
7590 * paragraph_pimpl.C (validate): ... and move here
7591 (isTextAt): make it const
7593 * buffer.C (getLists): ws cleanup
7595 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7597 * language.C (read): Use iso8859-1 encoding in latex_lang
7598 (this prevents LyX from crashing when using iso10646-1 encoding).
7600 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7602 * text2.C (toggleInset): if cursor is inside an inset, close the
7603 inset and leave cursor _after_ it
7605 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7607 * lyxfunc.C: move minibuffer completion handling out of here
7609 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7611 * BufferView_pimpl.C:
7612 * LaTeX.C: fix dispatch calls
7614 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7616 * text.C (drawChars): Fix Arabic text rendering.
7618 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7622 * lyxfunc.C: remove message-push/pop
7626 * lyxfunc.C: rationalise some code by removing verboseDispatch
7627 in favour of a bool argument to dispatch()
7629 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7631 * lyx_main.C (init): make sure to read symlinks as absolute paths
7633 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7636 * lyxfunc.C: no need for commandshortcut to be a member
7638 2002-07-15 André Pönitz <poenitz@gmx.net>
7640 * converter.C: add support for $$s (scripts from lib/scripts dir)
7641 * lyx_main.C: white space
7643 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7647 * lyxrc.C: remove second exit confirmation
7649 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7654 * BufferView_pimpl.h:
7655 * BufferView_pimpl.C:
7656 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7658 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7660 * MenuBackend.C (expand): add numeric shortcuts to document menu
7662 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7664 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7666 * lyxfont.C (setLyXFamily):
7673 * buffer.C (asciiParagraph): use ascii_lowercase
7675 2002-07-15 Mike Fabian <mfabian@suse.de>
7677 * lyxlex_pimpl.C (search_kw):
7678 * lyxlex.C (getLongString):
7679 * converter.h (operator<):
7680 * converter.C (operator<):
7681 * buffer.C (parseSingleLyXformat2Token):
7683 * ToolbarDefaults.C (read):
7684 * MenuBackend.C (checkShortcuts):
7686 * LColor.C (getFromGUIName):
7687 (getFromLyXName): use the compare_ascii_no_case instead of
7688 compare_no_case, because in turkish, 'i' is not the lowercase
7689 version of 'I', and thus turkish locale breaks parsing of tags.
7691 2002-07-16 Angus Leeming <leeming@lyx.org>
7693 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7694 now takes a Buffer const & argument.
7696 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7698 * BufferView.C (resize): check there's a buffer to resize
7700 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7702 * lyxfunc.C: remove dead code
7705 * lyxserver.C: use lyx_guii::set_read_callback
7707 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7709 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7710 an inset in a RTL paragraph.
7712 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7714 * lyxfunc.C: repaint after a font size update
7716 2002-07-15 André Pönitz <poenitz@gmx.net>
7718 * lyxlength.C: inBP should be able to return negative values
7720 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7722 * lyxfunc.C: use lyx_gui::update_fonts()
7724 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7726 * lyxfunc.C: use lyx_gui::update_color()
7728 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7734 * lyxrc.C: remove file->new asks for name option, and let
7735 buffer-new take an argument
7737 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7739 * BufferView_pimpl.C: remove unneeded extra repaint()
7741 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7743 * LyXAction.C: allow command-sequence with NoBuffer
7745 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7747 2002-07-10 Angus Leeming <leeming@lyx.org>
7749 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7751 2002-07-09 Angus Leeming <leeming@lyx.org>
7753 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7755 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7757 * lengthcommon.h: whitespace
7759 * lyxfunc.C: update scrollbar after goto paragraph
7761 * lyxtext.h: factor out page break drawing, and fix it so
7762 page break/added space paints as selected nicely
7764 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7766 * BufferView_pimpl.C: add FIXMEs, clean up a little
7768 2002-07-09 André Pönitz <poenitz@gmx.net>
7770 * lyxfont.[Ch]: support for wasy symbols
7772 2002-07-08 André Pönitz <poenitz@gmx.net>
7774 * BufferView_pimpl.C: apply John's patch for #93.
7776 2002-07-05 Angus Leeming <leeming@lyx.org>
7778 * BufferView_pimpl.C (buffer): generate previews if desired.
7780 * LColor.h: add "preview" to the color enum.
7782 * LColor.C (LColor): add a corresponding entry to the items array.
7784 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7787 2002-07-05 Angus Leeming <leeming@lyx.org>
7789 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7790 The body of the code is now in the method that is passed an ostream &
7791 rather than a file name.
7792 Pass an additional only_preamble parameter, useful for the forthcoming
7795 2002-07-03 André Pönitz <poenitz@gmx.net>
7797 * lyxfunc.C: simplify getStatus() a bit for math stuff
7799 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7801 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7803 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7805 * text.C (changeRegionCase): do not change case of all the
7806 document when region ends at paragraph end (bug #461)
7808 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7810 * paragraph.C (startTeXParParams):
7811 (endTeXParParams): add \protect when necessary
7813 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7815 * BufferView_pimpl.C (workAreaExpose): remove warning
7817 2002-06-27 Angus Leeming <leeming@lyx.org>
7819 * Makefile.am: add lyxlayout_ptr_fwd.h.
7821 2002-06-26 André Pönitz <poenitz@gmx.net>
7823 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7825 2002-06-25 Angus Leeming <leeming@lyx.org>
7827 * lyxfunc.C (dispatch): Comment out the call to
7828 grfx::GCache::changeDisplay. The method no longer exists now that the
7829 pixmap generation part of the graphics loader has been moved into
7832 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7834 * text2.C: layout as layout
7836 * text.C: layout as layout
7838 * tabular.C (OldFormatRead): layout as layout
7840 * paragraph_pimpl.C (TeXDeeper): layout as layout
7841 (realizeFont): layout as layout
7843 * paragraph.C (writeFile): layout as layout
7844 (validate): layout as layout
7845 (getFont): layout as layout
7846 (getLabelFont): layout as layout
7847 (getLayoutFont): layout as layout
7848 (breakParagraph): layout as layout
7849 (stripLeadingSpaces): layout as layout
7850 (getEndLabel): layout as layout
7851 (getMaxDepthAfter): layout as layout
7852 (applyLayout): layout as layout
7853 (TeXOnePar): layout as layout
7854 (simpleTeXOnePar): layout as layout
7855 (TeXEnvironment): layout as layout
7856 (layout): layout as layout
7857 (layout): layout as layout
7859 * lyxtextclass.C (compare_name): new functor to work with
7860 shared_ptr, layout as layout
7861 (Read): layout as layout
7862 (hasLayout): layout as layout
7863 (operator): layout as layout
7864 (delete_layout): layout as layout
7865 (defaultLayout): layout as layout
7867 * lyxlayout_ptr_fwd.h: new file
7869 * lyxlayout.C (Read): layout as layout
7871 * lyx_cb.C (MenuInsertLabel): layout as layout
7873 * bufferlist.C (newFile): layout as layout
7875 * buffer.C (readLyXformat2): layout as layout
7876 (parseSingleLyXformat2Token): layout as layout
7877 (insertStringAsLines): layout as layout
7878 (asciiParagraph): layout as layout
7879 (latexParagraphs): layout as layout
7880 (makeLinuxDocFile): layout as layout
7881 (simpleLinuxDocOnePar): layout as layout
7882 (makeDocBookFile): layout as layout
7883 (simpleDocBookOnePar): layout as layout
7884 (getLists): layout as layout
7886 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7888 * CutAndPaste.C (cutSelection): layout as layout
7889 (pasteSelection): layout as layout
7890 (SwitchLayoutsBetweenClasses): layout as layout
7892 * BufferView_pimpl.C (Dispatch): layout as layout
7893 (smartQuote): layout as layout
7895 * BufferView2.C (unlockInset): layout as layout
7897 2002-06-24 André Pönitz <poenitz@gmx.net>
7899 * lyxfunc.C: fix #487
7901 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7905 * lyxfunc.C: remove display_shortcuts, show_banner
7907 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7909 * Buffer_pimpl.C: oops, update on resize
7911 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7918 * BufferView.C: use repaint()
7920 * BufferView_pimpl.h:
7921 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7922 as it's a clearer description. Remove superfluous
7925 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7927 * text.C: fix bug 488. Not ideal, but getting
7928 getWord() to work properly for the insets that
7929 matter is more difficult ...
7931 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7933 * BufferView_pimpl.C:
7936 * lyxfunc.C: remove the six million index lyxfuncs to just
7937 one, and DTRT (bug 458)
7939 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7943 * BufferView_pimpl.h:
7944 * BufferView_pimpl.C: clean up resize() stuff,
7945 and unnecessary updateScreen()s
7947 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7951 * BufferView_pimpl.h:
7952 * BufferView_pimpl.C:
7955 * minibuffer.C: remove focus management of workarea,
7956 not needed. Use screen's greyOut()
7958 2002-06-17 Herbert Voss <voss@lyx.org>
7960 * converter.C: (convert) do not post a message, when converting
7961 fails, let the calling function decide what to do in this case
7963 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7965 * lyxfunc.C: tidy up a little
7967 2002-06-16 <alstrup@diku.dk>
7969 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7970 Got rid of FORMS_H_LOCATION include. Now we are
7973 2002-06-15 LyX Development team <lyx@rilke>
7975 * buffer.[Ch] (sgmlOpenTag):
7976 (sgmlCloseTag): Added support for avoiding pernicious mixed
7977 content. Return number of lines written.
7980 (makeDocBookFile): Fixed calls to sgml*Tag.
7981 Simple white space clean.
7983 (simpleDocBookOnePar): Simple white space clean.
7985 * tabular.[Ch] (docBook): Renamed to docbook and got another
7986 argument to related with the pernicious mixed content.
7988 (docbookRow): Fixed calls for docbook inset method.
7990 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7992 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7993 so it's X11 independent.
7997 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7999 2002-06-15 Lyx Development team <lyx@electronia>
8001 * intl.h: Renamed getTrans to getTransManager.
8003 2002-06-14 Angus Leeming <leeming@lyx.org>
8005 * Makefile.am: nuke forgotten stl_string_fwd.h.
8007 2002-06-12 Angus Leeming <leeming@lyx.org>
8009 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8011 2002-06-13 Angus Leeming <leeming@lyx.org>
8014 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8016 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8018 * kbmap.C (getiso): add support for cyrillic and greek
8020 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8024 * BufferView_pimpl.h:
8025 * BufferView_pimpl.C: move bogus scrolling logic
8028 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8031 * BufferView_pimpl.C: view->resize() change
8033 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8035 * BufferView_pimpl.C: topCursorVisible
8038 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8042 * lyx_gui.C: move to frontends/
8046 * lyx_main.C: changes from above
8048 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8055 * lyx_main.C: minor tidy
8057 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8059 * BufferView_pimpl.h:
8060 * BufferView_pimpl.C:
8062 * BufferView.C: make painter() const,
8065 * BufferView2.C: use screen() accessor
8068 * lyx_main.C: some minor cleanup
8070 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8072 * BufferView_pimpl.h:
8073 * BufferView_pimpl.C: remove enter/leaveView,
8076 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8081 * BufferView_pimpl.h:
8082 * BufferView_pimpl.C: only construct screen once,
8085 * lyxrc.C: remove pointless comment
8087 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8090 * BufferView.C: remove active() and belowMouse()
8092 * BufferView_pimpl.h:
8093 * BufferView_pimpl.C: use workarea() not workarea_,
8094 and make it use a scoped_ptr instead
8096 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8098 * lyx_gui.C: add debug message on BadWindow
8100 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8102 * sp_spell.C: fdopen is not part of the C++ standard.
8104 * paragraph.C (InsetIterator): use >= instead of ==
8106 2002-06-07 Angus Leeming <leeming@lyx.org>
8108 Fixes needed to compile with Compaq cxx 6.5.
8109 * BufferView_pimpl.C:
8116 * lyxtextclasslist.C:
8121 all c-library variables have been moved into namespace std. Wrap
8122 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8127 Add a using std::abs declaration.
8129 * kbmap.h (modifier_pair):
8130 * paragraph.h (InsetTable, InsetList):
8131 * lyxfont.h (FontBits):
8132 type definition made public.
8134 * bufferlist.C (emergencyWriteAll): the compiler complains that
8135 there is more than one possible lyx::class_fun template to choose from.
8136 I re-named the void specialisation as lyx::void_class_fun.
8138 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8140 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8141 the compiler is is unable to find tostr in write_attribute.
8143 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8145 * buffer.C (sgmlError): hide #warning
8147 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8149 * xtl/*: get rid of xtl, which is not in use anyway
8151 * LyXAction.C (init):
8152 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8153 were unimplemented xtl experimentation
8155 2002-06-04 André Pönitz <poenitz@gmx.net>
8157 * lyxfunc.C: disable array operation on simple formulae
8159 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8161 * converter.C: constify a bit
8163 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8165 * lyx_gui.C: check xforms version correctly
8167 2002-04-30 Herbert Voss <voss@lyx.org>
8169 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8172 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8174 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8175 attempt to register it with a VCS)
8177 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8179 * lyx_main.C (init): honor variables LYX_DIR_13x and
8182 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8186 * lyx_main.C: fix a crash on bad command line,
8187 and give a useful exit status on error
8189 * lyxfunc.C (doImport): allow -i lyx to work
8191 2002-03-30 André Pönitz <poenitz@gmx.net>
8193 * lyxfunc.C: mathed font changes
8195 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8210 * trans_mgr.h: srcdocs, and some minor cleanups
8212 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8214 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8215 call getFont all the time)
8217 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8219 * switch from SigC signals to boost::signals
8221 2002-05-29 André Pönitz <poenitz@gmx.net>
8223 * paragraph_pimpl.C (getChar): don't call size() too often...
8225 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8227 * paragraph_pimpl.C (insertChar): do not try to update tables when
8228 appending (pos == size())
8230 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8231 in order to reduce drastically the number of comparisons needed to
8232 parse a large document
8234 2002-05-29 André Pönitz <poenitz@gmx.net>
8240 * textclasslist.[Ch]:
8241 * sp_ispell.h: whitespace change
8243 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8245 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8246 lyxaction directly now.
8248 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8252 * lyxvc.C: remove unused headers
8254 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8261 * undo_funcs.C: some cleanups. Use shared_ptr
8262 and a template for the undo stacks.
8264 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8266 * BufferView_pimpl.h:
8267 * BufferView_pimpl.C:
8274 * text2.C: use key_state/mouse_state
8276 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8278 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8281 * chset.C: change include order
8282 (loadFile): use boost regex and get rid of LRegex and LSubstring
8284 * Makefile.am (BOOST_LIBS): new variable
8287 * LaTeX.C: change include order.
8288 (scanAuxFile): use boost regex and get rid of LRegex and
8292 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8297 * FontInfo.C: moved to frontends/xforms/
8300 * FontLoader.C: moved into frontends for GUIIzation
8305 * lyxfunc.C: changes from above
8307 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8309 * LColor.C: remove spurious X include
8311 * BufferView_pimpl.C:
8316 * text2.C: move font metrics to frontends/
8318 2002-05-24 Juergen Vigna <jug@sad.it>
8320 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8321 setting the undo_cursor.
8323 * ParagraphParameters.h: include local includes first.
8325 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8327 * BufferView_pimpl.C:
8328 * BufferView_pimpl.h:
8332 * screen.C: move WorkArea into frontends/
8338 * BufferView2.C: move LyXScreen into frontends/
8342 * lyx_gui.C: move lyxlookup into frontends/xforms/
8344 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8347 * BufferView_pimpl.C:
8357 * bufferview_funcs.C:
8370 * vc-backend.C: move LyX/XFormsView into frontends/
8372 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8384 * text2.C: move Painter to frontends/
8386 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8388 * buffer.C: comment out some some code that depend upon lyx_format
8391 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8392 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8394 * buffer.h (NO_COMPABILITY): turn off compability
8396 * ColorHandler.C: include scoped_array.hpp
8398 * font.C: Use more specific smart_ptr header.
8401 * ShareContainer.h: ditto
8405 * BufferView_pimpl.h: ditto
8406 * ColorHandler.h: ditto
8408 * kbmap.C (defkey): change call to shared_ptr::reset
8410 2002-05-21 Juergen Vigna <jug@sad.it>
8412 * buffer.C (insertErtContents): fix to insert ert asis if it is
8413 non empty. Skip it completely if it contains only whitespaces.
8415 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8417 * BufferView_pimpl.C:
8418 * BufferView2.C: clear selection on paste (bug 393)
8420 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8422 * DepTable.C: include ctime
8424 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8426 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8428 2002-05-14 Juergen Vigna <jug@sad.it>
8430 * text.C (breakParagraph): fixed function to honor the keepempty
8431 layout in the right maner and also to permit the right breaking
8432 algorithm on empty or non empyt keepempty paragraphs.
8434 * paragraph.C (breakParagraph): we have to check also if the par
8435 is really empty (!size()) for isempty otherwise we do the wrong
8438 2002-05-10 Juergen Vigna <jug@sad.it>
8440 * buffer.[Ch] : The following are only changes to the ert
8441 compatibility read reading old LaTeX layout and font stuff and
8442 convert it to ERTInsets.
8444 * buffer.h: added isErtInset().
8446 * buffer.C (struct ErtComp): add a fromlayout bool to check
8447 if we're inside a LaTeX layout.
8448 (isErtInset): new helper function.
8449 (insertErtContents): look for other ert insets before this one
8450 and insert the contents there, so that we don't have subsequent
8451 ERT insets with nothing between them. This way we create only one
8452 inset with multiple paragraphs. Also check if we don't insert only
8453 spaces ' ' as they are ignored anyway afterwards in the .tex file
8454 so if we have only spaces we will ignore this latex part in the
8456 (parseSingleLyXformat2Token \\layout): better compatibility when
8457 reading layout-latex stuff.
8458 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8460 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8461 stuff after reading the inset only get the information back from
8464 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8466 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8468 * LaTeXFeatures.C (getBabelOptions): New method.
8470 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8472 * BufferView_pimpl.C (Dispatch): work around missing argument for
8475 2002-05-08 Juergen Vigna <jug@sad.it>
8477 * text.C (leftMargin): handle paragraph leftindent.
8479 * paragraph.C (writeFile): write the new \\leftindent tag.
8480 (validate): handle leftindent code.
8481 (TeXEnvironment): handle paragraphleftindent code again.
8483 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8485 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8486 for paragrap_extra indent code and new token \\leftindent.
8487 (latexParagraphs): handle the leftindent as environment.
8489 * ParameterStruct.h: added leftindent support.
8491 * ParagraphParameters.C (leftIndent): added support functions for
8492 the paragraph left indent.
8494 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8497 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8499 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8502 * text.C (computeBidiTables): No bidi in insetERT.
8504 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8507 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8509 * version.C.in: pre 5
8511 2002-05-02 José Matos <jamatos@fep.up.pt>
8512 * buffer.C (makeDocBookFile): white space changes, add newline to
8514 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8516 * tabular.C (docBook): fix typo.
8518 2002-05-03 Juergen Vigna <jug@sad.it>
8520 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8521 change in LyXText as we can not be sure it was not freed.
8522 (drawOneRow): remove unused code.
8524 * text.C (drawInset): redo the calculation of the need_break_row as
8525 it could have a row which was already freed.
8526 (draw): look at the return value of drawInset and return false if
8527 it also returned false.
8528 (paintRowText): look at the return value of draw and return false if
8529 it also returned false.
8531 * lyxtext.h: added bool return type to drawInset() and draw() so that
8532 if we have a change in the row so that the rowbreak has to be redone
8533 we abort drawing as it will be called again.
8535 2002-05-02 Juergen Vigna <jug@sad.it>
8537 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8538 a change in the maintext also if we're inside an inset.
8539 (Dispatch): set the cursor again after a break line and after the
8540 screen has been updated as it could be we're in a different row.
8542 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8543 to set the cursor behind the pargraph with > size().
8544 (setCursor): check also for the same paragraph when checking where
8545 to put the cursor if we have a NFR inset.
8547 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8548 parts of layout read further up as it still was in the wrong
8551 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8553 * screen.C (drawFromTo): change sine fullRebreak always return
8556 * buffer.C (parseSingleLyXformat2Token): reindent some
8558 * BufferView_pimpl.C (update): change since fullRebreak always
8560 (Dispatch): git rid of the last hardcoded "Standard"s.
8562 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8564 * text2.[Ch] (fullRebreak): make it return void now that we always
8567 2002-04-30 Juergen Vigna <jug@sad.it>
8569 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8570 ert compatibility check for "latex" layout.
8572 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8574 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8575 minipages: use col% instead of p%, and also use the current font.
8576 (makeLaTeXFile): Fix use babel condition.
8577 (parseSingleLyXformat2Token): Correct font when reading old floats.
8579 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8581 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8582 inserting list of floats.
8584 2002-04-25 Herbert Voss <voss@lyx.org>
8586 * MenuBackend.C (expand): don't add the graphics extensions to the
8589 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8591 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8592 non-existing layout, do not complain if it was the default layout
8593 of the original class (bug #342)
8595 2002-04-24 Juergen Vigna <jug@sad.it>
8597 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8598 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8600 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8602 * buffer.C (getBibkeyList): If using \bibliography, return the
8603 option field with the reference itself. Enables us to provide natbib
8604 support when using \bibliography.
8606 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8608 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8610 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8611 natbib is provided by the LaTeX class.
8613 2002-04-23 Juergen Vigna <jug@sad.it>
8615 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8618 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8620 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8622 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8624 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8625 ensuremath around textordmasculine, textordfeminine and
8628 2002-04-19 Juergen Vigna <jug@sad.it>
8630 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8631 reinitializing the buffer otherwise row-dimensions may be wrong.
8632 (update): reset also the selection cursors if they do exits otherwise
8633 their x/y positions may be wrong.
8635 * text2.C (cursorDown): don't enter the inset if we came from a row
8636 above and are one row over the inset.
8638 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8639 really leaving an inset.
8641 2002-04-18 Juergen Vigna <jug@sad.it>
8643 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8644 of the selected paragraph does not have the selected layout also if
8647 * text2.C (setLayout): fixed bug which did not change last selected
8650 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8651 changed the read and substituted \\end_float with \\end_inset!
8653 * BufferView_pimpl.C (cursorPrevious):
8654 (cursorNext): fixed to make it work with rows heigher than the work
8655 area without moving the cursor only the draw of the row.
8656 (workAreaMotionNotify): fix jumping over high rows.
8658 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8660 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8663 2002-04-16 Juergen Vigna <jug@sad.it>
8665 * text2.C (setCursor): set also the irow().
8666 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8668 (cursorDown): support for locking an inset if the x_fix value goes
8669 inside it. That way I can transverse insets too with cursor up/down.
8671 * lyxrow.h: added irow helper function same as other (i) functions.
8673 * BufferView_pimpl.C (cursorPrevious):
8674 (cursorNext): fixed for insets!
8676 2002-04-15 Juergen Vigna <jug@sad.it>
8678 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8679 position otherwise it is wrong in some cases.
8681 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8682 inside the inset before the call.
8684 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8686 * buffer.[Ch] (getBibkeyList): make it const.
8688 2002-04-12 Juergen Vigna <jug@sad.it>
8690 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8692 * text2.C (getCursorX): new helper function
8693 (setCursor): compute also ix_
8694 (setCursorFromCoordinates): set also ix.
8696 * lyxcursor.h: added ix_ and helper functions.
8698 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8700 * buffer.C (insertStringAsLines): dont break paragraph if the this
8701 paragraph is inside an inset which does not permit it!
8703 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8704 also with no chars on this paragraph.
8705 (paintRowText): only paint stuff if it's inside the workarea!
8707 * paragraph.C (breakParagraph): honor keepempty flag and break the
8708 paragraph always below not above.
8710 * BufferView2.C (unlockInset): update the paragraph layout on inset
8711 unlock as we changed paragraph in such a case.
8713 * lyxfind.C (LyXFind): clear the former selection if not found!
8715 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8716 again called in insertChar().
8718 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8719 an inset which uses the whole row!
8720 (rightMargin): ditto.
8721 (insertChar): force a rebreak if we inserted an inset!
8723 2002-03-28 Herbert Voss <voss@lyx.org>
8725 * lyxlength.[Ch]: add inBP() to get the right PS-point
8726 units (BigPoint). With inPixels we have rounding errors
8728 2002-04-11 Juergen Vigna <jug@sad.it>
8730 * text2.C (setCursorFromCoordinates): set iy to the right value.
8731 (setCursor): add check if row->previous exists!
8733 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8734 an old float_type as this was the case in the old code!
8736 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8738 * BufferView2.C (showLockedInsetCursor): use iy
8739 (fitLockedInsetCursor): ditto
8741 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8742 locked insets as there we have the right value now.
8744 * lyxcursor.C: added iy_ variable and iy functions to set to the
8745 baseline of cursor-y of the locked inset.
8747 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8748 (setCursor): fixed for insets which need a full row.
8750 * text.C (rowLastPrintable): don't ignore the last space when before
8751 an inset which needs a full row.
8752 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8753 as last character of a row when before a inset which needs a full row.
8755 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8757 * version.C.in: update date
8759 * text2.C (fullRebreak): try to always return true and see what
8762 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8764 * MenuBackend.C (expand): use Floating::listName
8766 * FloatList.C (FloatList): add listName argument to the built-in
8769 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8770 text associated with the float.
8772 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8774 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8776 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8778 * ShareContainer.h: add a couple of missing typenames.
8780 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8782 * lyxrc.C (getDescription): use _() correctly rather than N_().
8784 2002-03-28 Herbert Voss <voss@lyx.org>
8786 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8787 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8789 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8791 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8792 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8794 2002-03-29 Juergen Vigna <jug@sad.it>
8796 * lyxfunc.C (dispatch): add a missing fitCursor call.
8798 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8799 it was scrolled by a cursor move, so return the bool status.
8801 * BufferView.C (fitCursor): return the bool flag also to the outside
8802 world as this is needed.
8804 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8806 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8807 call the edit() as it is not needed (and wrong) IMO.
8808 (workAreaButtonPress): set the screen_first variable before evt.
8809 unlock the inset as this may change screen_first and then we have
8810 a wrong y position for the click!
8812 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8814 * MenuBackend.C (expand): another translation that I missed
8816 2002-03-28 Juergen Vigna <jug@sad.it>
8818 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8820 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8822 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8824 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8826 * MenuBackend.C (expand): fix export/view/update when there is no
8829 2002-03-27 Herbert Voss <voss@lyx.org>
8831 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8834 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8836 * bufferview_funcs.C (currentState): only show paragraph number
8837 for is DEVEL_VERSION is set.
8839 * lyxfunc.C (dispatch): put warning in INFO channel
8841 * MenuBackend.C (expand): translate the name of floats
8843 * FloatList.C (FloatList): mark the float names for translation
8845 * converter.C (convert): use LibScriptSearch
8847 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8849 * MenuBackend.C (defaults): fix default menu (we might as well get
8852 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8854 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8857 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8859 * lyxvc.C: reorder includes.
8861 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8863 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8866 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8868 * CutAndPaste.C: change layouts earlier on paste
8869 to avoid crashing when calling getFont()
8871 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8873 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8876 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8878 * WorkArea.C: remove 'Pending' debug message.
8880 * most files: ws cleanup
8882 * buffer.[Ch]: ws changes
8884 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8886 2002-03-21 Juergen Vigna <jug@sad.it>
8888 * tabular.C (SetMultiColumn): collapse also the contents of the
8889 cells and set the last border right. Added a Buffer const * param.
8891 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8893 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8896 2002-03-19 Juergen Vigna <jug@sad.it>
8898 * text2.C (clearSelection): reset also xsel_cache.
8900 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8901 where it needs to be called (John tells us to do so too :)
8902 (selectionLost): reset sel_cache.
8904 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8906 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8908 * text2.C (setCursorIntern): put debuging code in INSETS channel
8910 2002-03-19 André Pönitz <poenitz@gmx.net>
8912 * lyxfunc.C: tiny whitespace change
8914 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8916 * ToolbarDefaults.C (init):
8917 * LyXAction.C (init):
8919 * BufferView_pimpl.C (Dispatch):
8920 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8922 2002-03-19 Allan Rae <rae@lyx.org>
8924 * exporter.C (Export): removeAutoInsets before doing anything else.
8925 While I've just introduced a dependency on BufferView this really is
8926 the best place to clean the buffer otherwise you need to cleanup in
8927 a dozen places before calling export or cleanup in a dozen functions
8930 * converter.C (runLaTeX):
8931 (scanLog): Better handling of removeAutoInsets and screen updates.
8933 * lyxfunc.C (dispatch): small whitespace changes
8935 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8937 * WorkArea.C (C_WorkAreaEvent): return a value.
8938 (event_cb): return 1 if we handled the event, 0 otherwise.
8940 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8942 2002-03-18 Juergen Vigna <jug@sad.it>
8944 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8945 (GetAdditionalWidth): ditto.
8949 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8950 inset if we're there actually (probably not used right now but this
8951 is the direction to go for unifying code).
8952 (paste): disable code to clear the selection.
8954 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8955 inside an InsetText and move the check further up as it is in the
8958 * text2.C (pasteSelection): set a selection over the pasted text.
8960 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8962 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8963 and libgraphics to build on Cygwin.
8965 2002-03-15 Juergen Vigna <jug@sad.it>
8967 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8968 inserting an Inset into the paragraph. I know this is not the best
8969 fix but we already use current_view in CutAndPaste so we will remove
8970 all of it's using at the same time.
8972 * buffer.C (sgmlError): deactivated function till it is rewritten in
8973 the right mode, now it can create problems.
8975 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8976 before accessing it.
8978 2002-03-14 Juergen Vigna <jug@sad.it>
8980 * undo_funcs.C (textHandleUndo): do the right thing when updating
8981 the inset after the undo/redo.
8983 * text2.C (setCursor): just some testcode for #44 not ready yet.
8985 * undo_funcs.C (textHandleUndo): set the next() and previous()
8986 pointers of the paragraph to 0 before deleting otherwise we have
8987 problems with the Paragraph::[destructor].
8989 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8990 on a paragraph insertion.
8992 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8994 * buffer.C (asciiParagraph): use += operator for char append to
8997 * paragraph.C (getFontSettings): compare >= not just >
8998 (highestFontInRange): ditto
9001 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9003 * paragraph.C: change several algorithm to be more appripriate for
9004 the problem domain. This is lookip in FontList and in the InsetList.
9006 2002-03-13 André Pönitz <poenitz@gmx.net>
9009 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9011 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9016 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9018 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9020 * Painter.C (display): anon helper function, adjust code for this
9022 (pixmap): remove function.
9024 * Painter.h: remove private display variable.
9026 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9028 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9030 * WorkArea.[Ch]: remove figinset_canvas cruft.
9032 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9034 * lyxtextclass.C (operator): add one item cache optimization.
9036 * bufferlist.h: doxy changes
9038 * bufferlist.C: ws changes
9040 * DepTable.[Ch] (ext_exist): place const in the right spot.
9042 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9044 (workAreaExpose): call resizeInsets when the with BufferView changes.
9045 (Dispatch): adjust for protectedBlank removal
9046 (specialChar): call updateInset if the insert went ok.
9048 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9049 specialChar instead.
9051 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9053 * BufferView.h: doxy change
9055 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9057 * lyxtextclass.C (operator[]): remove non-const version
9058 (defaultLayout): remove non-const version
9060 2002-03-12 Juergen Vigna <jug@sad.it>
9062 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9063 did resize the LyXText too.
9065 * buffer.C (readLyXformat2): set layout information on newly allocated
9068 * tabular.C (OldFormatRead): set layout information on the paragraph.
9070 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9072 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9074 2002-03-11 Juergen Vigna <jug@sad.it>
9076 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9078 (resizeCurrentBuffer): force also the insets to resize themselfes.
9079 (moveCursorUpdate): fixed up for InsetText.
9081 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9084 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9085 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9086 value of Dialogs::tooltipsEnabled().
9087 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9089 2002-03-08 Juergen Vigna <jug@sad.it>
9091 * BufferView_pimpl.C (updateInset): update inset inside inset also
9092 if it isn't inside theLockingInset().
9094 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9096 * buffer.C (asciiParagraph): redo some of the word and line length
9098 (getLists): look for Caption instead of caption.
9100 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9102 * buffer.C (Buffer): initialize niceFile to true
9105 (makeDocBookFile): make sure niceFile is true on exit
9107 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9109 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9111 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9113 * LyXSendto.C: remove.
9114 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9115 * lyx_gui.C: remove now-redundant comment.
9116 * ColorHandler.h: remove forward declaration of class WorkArea.
9117 * lyxfunc.C: remove #include "WorkArea.h".
9119 2002-03-07 Juergen Vigna <jug@sad.it>
9121 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9122 got moved away with the DEPM and also set the inset_owner always
9123 right which before could have been omitted.
9125 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9127 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9128 wanted layout is not found.
9130 2002-03-07 Juergen Vigna <jug@sad.it>
9132 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9134 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9136 * paragraph.C (breakParagraph): use default layout not layout of
9138 (Paragraph): clear ParagraphParameters.
9140 2002-03-06 Juergen Vigna <jug@sad.it>
9142 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9143 otherwise it would not be a valid lenght. Fixed a special case in
9144 the minipage compatibility read where we end the document with a
9147 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9148 was set as it could be 0 for InsetTexts first entry.
9150 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9152 * paragraph.C (writeFile): if layout is empty write out
9153 defaultLayoutName().
9155 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9156 file without named layout we set layout to defaultLayoutName().
9158 2002-03-06 Juergen Vigna <jug@sad.it>
9160 * CutAndPaste.C (copySelection): set layout for new paragraph.
9162 * text.C (prepareToPrint): leave ERT inset left aligned
9163 (leftMargin): don't indent paragraphs inside ERT insets
9165 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9167 * paragraph.C (breakParagraph): dont call clear do the work manually
9169 * paragraph.[Ch] (clear): remove function
9171 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9173 * paragraph.C (Paragraph): dont call clear, the work has already
9176 * lyxtextclass.C (operator): assert if n is empty
9178 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9179 work manually instead.
9181 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9183 * BufferView_pimpl.C: protect selectionLost against text == 0
9185 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9187 * text.C (breakParagraph): fix a setting layout to '0' problem.
9189 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9191 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9192 final location of file, for the included files, and graphics.
9194 2002-03-05 Juergen Vigna <jug@sad.it>
9196 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9198 2002-03-04 Juergen Vigna <jug@sad.it>
9200 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9202 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9203 last column of multicolumn cells.
9204 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9206 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9208 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9209 file if it doesn't go to a temporary file.
9211 * buffer.C (sgmlOpenTag):
9212 (sgmlCloseTag): remove extra newline insertion.
9214 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9216 * text.C (getRowNearY): comment out debug msg
9218 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9220 * text2.C: first -> first_y
9222 * text.C (getRowNearY): add some attemts at a possible
9223 optimization, not working.
9225 * tabular.[Ch]: add BufferParams to several function so that newly
9226 created paragraph can be initialized to he default layotu for the
9229 * tabular-old.C (ReadOld): add buf->params to call of Init
9231 * screen.C: rename text->first to text->first_y
9233 * paragraph.C (breakParagraph): always set layout in the broken
9236 * lyxtextclass.C (Read): remove lowercase
9239 (delete_layout): ditto
9241 * lyxtext.h: rename first -> first_y
9243 * lyxlayout.C (Read): remove lowercase
9246 (obsoleted_by): ditto
9248 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9250 * buffer.C (insertErtContents): add params are to InsetERT
9251 (parseSingleLyXformat2Token): add code to check if a paragraphs
9252 layout really exist.
9253 (parseSingleLyXformat2Token): add params to several inset
9255 (asciiParagraph): remove lowercase, do the layout comparisons with
9258 * BufferView_pimpl.C (cursorNext): first -> first_y
9259 (resizeCurrentBuffer): first -> first_y
9260 (updateScrollbar): first -> first_y
9261 (scrollCB): first -> first_y
9262 (workAreaMotionNotify): first -> first_y
9263 (workAreaButtonPress): first -> first_y
9264 (checkInsetHit): first -> first_y
9265 (cursorPrevious): first -> first_y
9266 (cursorNext): first -> first_y
9267 (Dispatch): add buffer_->params to severl inset contructors
9269 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9271 * lyxlayout.C (Read): remove some debug info that I forgot.
9273 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9274 clean up the code slightly.
9275 (makeLinuxDocFile): ditto
9276 (makeDocBookFile): ditto
9278 * text2.C: layout as string
9280 * text.C: layout as string
9282 * paragraph_pimpl.C: layout as string
9284 * paragraph.[Ch]: layout as string
9286 * lyxtextclasslist.[Ch]: layout as string
9288 * lyxtextclass.[Ch]: layout as string
9290 * lyxtext.h: layout as string
9292 * lyxlayout.[Ch]: layout as string
9294 * lyx_cb.C: layout as string
9296 * bufferview_funcs.C: layout as string
9298 * bufferparams.C: layout as string
9300 * buffer.C: layout as string
9302 * LyXView.[Ch]: layout as string
9304 * LaTeXFeatures.[Ch]: layout as string
9306 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9308 * BufferView_pimpl.C: change current_layout to string, remove
9313 (workAreaButtonRelease): layout as string
9315 * BufferView2.C (unlockInset): adjust
9317 * vspace.C (asLatexCommand): use an explict temp variable.
9319 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9321 * Makefile.am: use FRONTEND_*
9323 2002-03-01 Juergen Vigna <jug@sad.it>
9325 * tabular.C (SetWidthOfMulticolCell): changed to something better
9326 I hope but still work in progress.
9327 (recalculateMulticolumnsOfColumn): renamed function from
9328 recalculateMulticolCells as it is more appropriate now.
9329 (SetWidthOfCell): calculate multicols better.
9331 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9333 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9335 * lyxfunc.C (processKeySym): print sequence also if it is
9336 `deleted' (complete)
9338 * kbsequence.C (print): print sequence even if it is deleted
9339 (complete would be a better word, actually).
9341 * lyxfunc.C (dispatch): print complete options after a prefix key
9343 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9345 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9347 * text2.C (setCharFont): eliminate setCharFont code duplication.
9349 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9351 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9352 LFUN_TABULAR_FEATURE (bug #177)
9354 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9356 * Makefile.am: remove figure.h
9358 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9360 * Bufferview_pimpl.C:
9372 * text2.C: remove #include "lyx_gui_misc.h".
9374 * LaTeX.C: added #include <cstdio>
9376 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9378 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9379 that the paragraph following this one can have.
9381 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9383 * vspace.C (asLatexCommand): fix bogus gcc warning
9385 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9387 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9389 * text2.C (setLayout): get rid of redundant code
9391 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9393 * text2.C (incDepth): make sure depth cannot be increased beyond
9396 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9398 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9399 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9401 * PainterBase.h (image):
9402 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9405 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9409 * BufferView_pimpl.C:
9410 * BufferView_pimpl.h:
9430 * sp_spell.C: remove fig inset, and the crap house of
9431 cards that follows it
9433 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9439 * nt_defines.h: move .h into support/
9441 * vms_defines.h: remove
9443 * WorkArea.C: add space in debug output
9447 * buffer.C: add WITH_WARNINGS
9451 * bufferlist.C: s/retrive/retrieve/, add docs
9462 * lyxgui.C: add ID to X error handler
9464 * lyxtestclass.c: fix typo
9466 2002-02-26 Juergen Vigna <jug@sad.it>
9468 * tabular_funcs.C (write_attribute): changed so that some default
9469 attributes are not written at all.
9470 (getTokenValue): set default values before trying to read the
9471 value so we have the return value always set as default if we don't
9472 find the token we search for.
9474 * tabular.C (Write): write bools as bools not as strings!
9476 2002-02-22 Juergen Vigna <jug@sad.it>
9478 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9479 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9481 * text.C (leftMargin): don't add an indent for paragraphs inside
9482 tabular cells (fix #208).
9484 2002-02-21 José Matos <jamatos@fep.up.pt>
9486 * tabular.C (docBook): fixed support for long tables.
9488 2002-02-20 Juergen Vigna <jug@sad.it>
9490 * text2.C (getFont): get the drawing font of the Inset if this
9491 paragraph is inside an inset (only important for InsetERT for now).
9493 * buffer.C (insertErtContents): use new lanugage params in ERT
9496 * CutAndPaste.C: commenting out seemingly uneeded code.
9498 2002-02-19 Allan Rae <rae@lyx.org>
9500 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9501 Iterators might be simple to use but they also get invalidated.
9502 (removeAutoInsets): renamed saved cursor tracking variables and added
9503 some comments to clarify what everything does.
9505 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9512 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9513 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9516 * vc-backend.h: remove #include "support/syscall.h"
9520 * converter.C: rearrange #includes in Lars' approved fashion.
9522 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9523 forward declare class Timeout in the header file.
9525 * XFormsView.C: changes due to the above.
9527 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9530 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9531 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9533 2002-02-18 José Matos <jamatos@fep.up.pt>
9535 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9538 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9540 * a lot of small ws changes
9541 * add a lot of using std::XXX
9542 * use std construcs some places where approp.
9543 * use some exisint stuff from lyxfunctional where approp.
9544 * Make file changes to use partial linking (lets test this now...)
9546 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9550 remove #include "support/syscontr.h" as it's redundant. Always has been.
9558 change Systemcalls::System to Systemcalls::Wait and
9559 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9560 No change of functionality, just reflects the stripped down Systemcalls
9563 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9565 * debug.[Ch]: add a GRAPHICS type to the enum.
9567 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9569 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9571 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9574 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9576 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9577 match the changes below.
9579 * text2.C (toggleInset): if there is not editable inset at cursor
9580 position, try to see if cursor is _inside_ a collapsable inset
9583 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9585 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9586 document menu has a nice checkbox
9588 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9590 * lyxlength.C (asLatexString): change PW to output as percent of
9593 * lengthcommon.C: change '%' to 't%'
9595 * lyxfunc.C (dispatch): a few comments from Martin
9597 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9601 * BufferView_pimpl.h:
9602 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9605 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9607 * vspace.C (inPixels): fix compiler warning
9609 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9611 * lyxfunc.C (getStatus): fix status message for disabled commands.
9613 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9615 * BufferView_pimpl.C: fix crash on close buffer
9616 during selection (#227)
9618 2002-01-27 Herbert Voss <voss@lyx.org>
9620 * buffer.C: link old Figure to new graphic inset
9622 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9624 * FontLoader.C (getFontinfo): Change the latex font names in order
9625 to match the names of type1inst.
9627 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9629 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9631 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9634 (remove_files_with_extension): ditto
9635 (remove_file): ditto
9638 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9639 document is smaller than the work area height. Do not initialize
9640 static variables to 0.
9642 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9644 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9646 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9647 LFUN_LAYOUT_PARAGRAPHS.
9649 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9650 tabular. It is possible to provide a possible cell, which will
9651 typically be the actcell from the corresponding insettabular
9653 * lyxfunc.C (getStatus): small cleanup; disable
9654 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9657 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9659 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9661 * paragraph.C (startTeXParParams):
9662 (endTeXParParams): new methods. The LaTeX code to
9663 start/end paragraph formatting
9664 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9665 empty (fixes bug #200)
9667 * vspace.C (inPixels): adapt to the change below
9668 (inPixels): [later] more cleanups (remove unused variables)
9670 * lyxlength.C (inPixels): change to use a width and a height as
9673 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9675 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9676 Replaced with \paperwidth
9678 * DepTable.C (insert): add std:: qualifier
9680 2002-01-18 Allan Rae <rae@lyx.org>
9682 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9685 * text.C (drawInset): Turned out I didn't know enough about how
9686 rebreaking worked. This fixes most of the redraw problems. I see
9687 an occasional cursor trail when a line is broken now and the cursor
9688 placement can seem out by a few pixels also after a rebreak.
9690 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9692 * buffer.C (parseSingleLyXformat2Token): update because minipage
9693 width is now a LyXLength
9695 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9697 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9700 2002-01-17 Juergen Vigna <jug@sad.it>
9702 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9704 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9705 is set correctly and the inset is updated correctly.
9707 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9709 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9710 the beginning of the loop.
9712 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9714 * lyxrc.C: improve help for use_scalable_fonts
9716 2002-01-17 Allan Rae <rae@lyx.org>
9718 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9720 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9722 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9723 make sure to set their inset_owner to the right value (bug #171)
9725 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9728 * DepTable.C: Implement mtime checking to reduce time spent doing
9731 2002-01-16 Juergen Vigna <jug@sad.it>
9733 * tabular.C (GetAdditionalHeight): one of error fixed.
9735 * lyxrc.C (output): small fix in writing use_pspell.
9737 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9739 * sp_base.h: #include LString.h
9741 2002-01-16 Allan Rae <rae@lyx.org>
9743 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9744 Can someone check this please?
9746 * text.C (drawInset): It was possible that p.row would be removed by
9747 breakAgainOneRow upsetting a few other settings. There may be another
9748 small tweak possible by setting need_break_row = 0 when p.row has been
9749 removed but I don't know enough about the logic here.
9751 2002-01-15 Allan Rae <rae@lyx.org>
9753 * text.C (insertChar): removed conditional truism.
9755 * BufferView2.C (removeAutoInsets): More tweaks.
9756 cur_par_prev could be a stray pointer. Check for trailing empty line
9757 in case last line was cur_par and only had an error inset on it.
9759 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9761 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9764 * vc-backend.C (most methods):
9765 * exporter.C (Export):
9766 * converter.C (convert):
9768 * LyXSendto.C (SendtoApplyCB):
9769 * lyxfunc.C (dispatch):
9773 * lyx_cb.C (AutoSave):
9775 * BufferView_pimpl.C (MenuInsertLyXFile):
9776 * buffer.C (runChktex): use Buffer::filePath().
9778 * buffer.h: rename filename to filename_; rename filepath to
9779 filepath_ and make it private
9780 (filePath): new method
9782 * buffer.C (writeFile): use fileName()
9785 * lyx_main.C (init): fix starting of LyX when the binary is a
9786 link from so,ewhere else.
9788 * minibuffer.C: include <cctype> for isprint
9790 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9792 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9793 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9794 name clash with InsetCollapsable's width function.
9796 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9798 * lastfiles.C: include <iterator>
9800 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9802 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9805 * buffer.C (makeLaTeXFile): ditto.
9806 Also make loop operation more transparent.
9808 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9810 * ToolbarDefaults.C: remove trailing comma closing namespace.
9812 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9814 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9817 * trans.C (Load): comment out unused variable, allowed.
9819 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9821 * minibuffer.[Ch] (append_char): new method to recieve input from the
9822 drop-down completion browser. If a key was pressed, then recieve this
9823 char and append it to the existing string.
9824 (peek_event): modify the positioning data passed to the completion
9825 browser so that it can be placed above the minibuffer rather than below.
9826 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9828 * LyXAction.C (init): alloe error-next for readonly documents.
9830 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9833 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9835 * bufferlist.C (readFile): create the buffer _after_ checking that
9838 * lyxfunc.C (verboseDispatch): fix handling of arguments
9840 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9842 * lyxrc.C: use string::erase() instead of initializing to "".
9845 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9847 * BufferView_pimpl.h:
9848 * BufferView_pimpl.C:
9851 * text2.C: tell X when we have made a selection for copying
9853 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9855 * BufferView_pimpl.C (MenuInsertLyXFile):
9856 * lyxfunc.C (menuNew):
9858 (doImport): add shortcuts to directory buttons
9860 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9863 * lyxfunc.C (setStatusMessage):
9864 (getStatusMessage): new methods
9865 (getStatus):use setStatusMessage instead of setErrorMessage
9866 (dispatch): when function is disabled, set error message here
9867 [instead of in getStatus previously]
9869 * BufferView_pimpl.C (workAreaButtonRelease): update
9870 toolbar/menubar here too.
9872 2002-01-13 Allan Rae <rae@lyx.org>
9874 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9875 Now seems indestructible. Remaining task is to audit all other
9876 code affected by deleteEmptyParagraphMechanism. One small quirk
9877 left is that an empty document with an error in the preamble can
9878 be made to report an error but no error box appears. I don't know
9880 (removeAutoInsets): Improved comments.
9882 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9885 * Thesaurus.C: update for Aiksaurus 0.14
9887 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9889 * text2.C (firstParagraph): removed member function, all uses
9890 replaces with ownerParagraph
9891 (redoParagraphs): here
9893 (toggleAppendix): here
9894 * BufferView2.C (insertErrors): here
9895 (setCursorFromRow): here
9897 2002-01-13 Allan Rae <rae@lyx.org>
9899 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9900 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9901 There is still a way to segfault this although you may have to do this
9902 multiple times: Have an InsetERT with an unknown command in it.
9903 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9904 <down-arrow>, <Enter> again, View->DVI, BANG!
9906 * text2.C (setCursor):
9907 (deleteEmptyParagraphMechanism):
9908 * lyxtext.h (setCursor):
9909 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9910 Making use of the return value may help fix other bugs.
9912 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9914 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9916 * LyXView.C (updateMenubar): call MenuBar::update here
9917 (updateToolbar): but not here
9918 (showState): do not update toolbar/menubar
9920 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9921 should need to care about that.
9923 * lyxfunc.C (verboseDispatch): simplify a bit
9924 (getStatus): have a version which takes a pseudoaction, and
9925 another which requires a (kb_action,string).
9927 * LyXAction.C (retrieveActionArg): make it work also when action
9928 is not a pseudo-action.
9929 (getActionName): simplify a bit
9932 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9934 * lyxfunc.C (verboseDispatch): new families of methods with
9935 several ways to specify a command and a bool to indicate whether
9936 the command name and shortcut should be displayed in minibuffer
9937 (eventually, we could extend that to a finer bitmask like
9938 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9939 (dispatch): the pristine dispatch command which just, well,
9940 dispatchs! Note it still sets its result to minibuffer; I'm not
9943 * lyxfunc.h: remove setHintMessage
9945 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9947 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9949 * BufferView_pimpl.C (specialChar): delete new inset if we have
9950 not been able to insert it.
9952 * kbmap.C: revert to using int instead of kb_action, since all we
9953 are dealing with is pseudo-actions.
9955 * LyXAction.C (searchActionArg): change to return int instead of
9956 kb_action, since the result is a pseudoaction.
9958 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9960 * buffer.C (insertErtContents): Fix (partially) the font bug.
9962 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9964 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9965 as the other one is broken on my machine!
9967 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9970 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9972 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9974 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9975 reflect their actual use. Provide compatibility code for older lyxrc
9978 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9980 change names of popup font variables in line with the changes to lyxrc.C
9982 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9984 * buffer.C (asciiParagraph): avoid outputing a word twice after
9987 * lyxrc.C (getDescription): document that document_path and
9988 template_path can be empty.
9990 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9992 * LaTeXFeatures.C (getMacros):
9993 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9995 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9997 * LaTeXFeatures.C (useFloat): require "float" here instead of in
9999 (getPackages): rename feature "floats" to "float". Use an array to
10000 iterate over 'simple' features (i.e. just a \usepackage). Add
10001 handling of "amsmath" (renamed from "amsstyle").
10003 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10005 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10008 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10010 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10011 FuncStaus::FuncStatus & FuncStaus::some_method().
10013 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10015 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10016 of the func_satus stuff. Edited and massaged in various ways by
10019 * lyxfunc.C (getStatus): use FuncStatus
10021 2002-01-08 Juergen Vigna <jug@sad.it>
10023 * text.C (nextBreakPoint): use function Inset::isChar().
10025 * paragraph.C (TeXOnePar): use function
10026 Inset::forceDefaultParagraphs.
10028 * buffer.C (latexParagraphs): use function
10029 Inset::forceDefaultParagraphs.
10031 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10033 * lyx_gui.C (init): set the style of the menu popups to
10034 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10036 2002-01-07 Juergen Vigna <jug@sad.it>
10038 * text.C (setHeightOfRow): small fix
10039 (prepareToPrint): don't look at alignment if we don't have the place
10042 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10044 * box.C: New file. Move the Box methods and functions out of box.h,
10045 following Lars' suggestion.
10047 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10049 * box.h: #include "support/LOstream.h", needed for inlined function.
10052 * lyxtextclasslist.C: added some using std declarations.
10054 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10056 * box.h: make signed dimensions to allow insets wider than
10057 the screen (bug #162)
10059 * BufferView_pimpl.C: add some insetHit debug
10061 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10063 * vc-backend.C: add FIXME
10065 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10067 * lyxfunc.C (getStatus): enable code for showing math font status
10070 2002-01-07 Juergen Vigna <jug@sad.it>
10072 * text.C (nextBreakPoint): removed debug output not needed anymore.
10074 2002-01-06 Juergen Vigna <jug@sad.it>
10076 * text.C (nextBreakPoint): fixed up this function we had this bug
10077 since ever but now hopefully we break row better.
10078 (insertChar): we have to check if an inset is the next char as it
10079 could now happen that a large inset is causing a break.
10081 2002-01-05 Juergen Vigna <jug@sad.it>
10083 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10084 if it doesn't like to be drawed.
10086 2002-01-04 Juergen Vigna <jug@sad.it>
10088 * BufferView2.C (lockInset): forgot to set a cursor.
10090 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10092 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10094 * FormMathsPanel.C:
10097 * form_maths_panel.C:
10098 * form_maths_panel.h:
10099 * form_maths_panel.fd: implemented sub- and super- buttons in math
10102 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10103 (or ^ space) to be used as in TeX (req'd by André).
10105 * lyxfunc.C: Allow ^ and _ again to be used both as
10106 super/subscript (mathed) and as themselves (in text).
10108 2002-01-03 Allan Rae <rae@lyx.org>
10110 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10111 "LyX" or the filename of the current buffer if it has one. This is a
10112 modified form of John Levon's patch.
10114 * XFormsView.C (setWindowTitle): also set icon title.
10116 * LyXView.h (setWindowTitle): signature changed.
10117 * XFormsView.h (setWindowTitle): ditto.
10119 2002-01-02 Juergen Vigna <jug@sad.it>
10121 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10123 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10125 * screen.C (topCursorVisible): introduce a temp var for
10126 text->cursor.row(), handle the case where this row is null. (kindo
10129 * text2.C (setCursor): add a couple of asserts.
10131 * paragraph.h (inset_iterator): add -> operator
10133 * paragraph.[Ch] (autoDeleteInsets): remove member function
10135 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10136 cursor pos correctly and handle inset deletion by itself.
10137 (insertErrors): move iterator declaration out of for expression
10139 * lyxtextclass.C: add <algorithm>
10141 * Makefile.am: added the new files to sources, removed layout.C
10143 * layout.C: removed file
10145 * layout.h: remove LYX_DUMMY_LAYOUT
10147 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10151 * lyxtextclass.[Ch]:
10152 * lyxtextclasslist.[Ch]: new files
10154 * include order changes to a lot of files, also changes because of
10157 2001-12-27 Juergen Vigna <jug@sad.it>
10159 * buffer.C (asciiParagraph): more fixes.
10161 * tabular.C (ascii): make ascii export support export of only the
10162 data separated by a column-delimiter.
10163 (ascii): better support for ascii export.
10165 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10167 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10169 * tabular_funcs.C: use a "using std::getline" instead of the
10170 previous fix from Angus (necessary for cxx + lyxstring)
10172 2001-12-24 Juergen Vigna <jug@sad.it>
10174 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10176 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10177 problems. First check a minipage also if we have some ert-contents
10178 (not only on par->size(), second set the right depth of the paragraph
10179 on the relink to the root-paragraph-list!
10181 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10182 which then did not anymore update the main paragraphs on undo/redo!
10184 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10186 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10187 code. Support all font-changing funcs (even those which are not in
10188 menu currently). Support for reporting font settings in
10189 mathed (disabled until Andre provides a function on mathed's side).
10191 * func_status.h (toggle): small helper function to set toggle
10194 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10196 * tabular_funcs.C: getline -> std::getline
10198 2001-12-21 Juergen Vigna <jug@sad.it>
10200 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10201 accessed and could be 0 (I couldn't generate this but it seems
10204 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10206 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10207 * tabular_funcs.h: here and include iosfwd
10209 2001-12-20 Juergen Vigna <jug@sad.it>
10211 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10212 inside inset but undo_par was.
10214 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10216 * Thesaurus.C: always include <config.h> in sources.
10220 * box.h: do not include <config.h> in header files
10222 * text.C (paintLastRow): remove unused variable
10224 * text.C (transformChar):
10226 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10228 * Painter.C (text):
10229 * font.C (width): rewrite to use uppercase() instead of
10232 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10234 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10236 * lyxfind.C: clean up of find failure position change
10238 2001-12-20 Juergen Vigna <jug@sad.it>
10240 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10242 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10243 (TeXRow): added to LaTeX a single tabular row.
10244 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10245 (Latex): simplified and finally good LT-h/f support.
10246 (various_functions): just small adaptions for LT-h/f support.
10248 * tabular_funcs.[hC]: added and moved here all not classfunctions
10251 2001-12-19 Juergen Vigna <jug@sad.it>
10253 * tabular.[Ch]: better support for longtabular options (not finished
10256 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10258 * text.C (paintLastRow): use the label font instead of the font of
10259 the last character to compute the size of *_BOX. This makes more
10260 sense and avoids a crash with empty paragraphs.
10261 Use Painter::rectangle to draw EMPTY_BOX.
10263 2001-12-19 Juergen Vigna <jug@sad.it>
10265 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10266 the paragraphs if the replaced paragraph is not the first one!
10267 Tried to delete not used paragraphs but does not work yet so for
10268 now it's inside #ifdef's and by default off!
10270 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10272 * MenuBackend.C: include "lyx_main.h" instead of declaring
10273 lastfiles (actually was declared as LastFiles* instead of a
10276 2001-12-17 Juergen Vigna <jug@sad.it>
10278 * tabular.C (AppendColumn): applied John's fix
10280 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10284 * BufferView_pimpl.h:
10285 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10288 * box.h: new start of class for above
10290 * lyxfunc.C: ignore space-only minibuffer dispatches.
10291 Show the command name when it doesn't exist
10293 * minibuffer.C: don't add empty lines to the history
10295 * minibuffer.C: add a space on dropdown completion
10297 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10299 * text.C: fix line above/below drawing in insets
10301 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10303 * lyxlength.C (LyXLength): Initialize private variables.
10305 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10307 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10308 when inserting error insets.
10310 2001-12-13 Juergen Vigna <jug@sad.it>
10312 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10313 actually sometimes the before-paragraph.
10314 (setUndo): don't clear the redostack if we're not actually undoing!
10316 2001-12-06 Juergen Vigna <jug@sad.it>
10318 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10319 and fixed redoing of main paragraph, so we can use it now ;)
10321 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10323 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10325 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10328 2001-12-13 André Pönitz <poenitz@gmx.net>
10331 * undo_func.C: minor cleanup
10333 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10335 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10336 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10337 font in urw-fonts package which is marked as -urw-fontspecific and
10338 does not work (incidentally, changing the encoding in the
10339 fonts.dir of this package to -adobe-fontspecific fixes the
10342 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10343 is a crash when undoing first paragraph (Juergen, please take a
10344 look). THis does not mean the undo fix is wrong, just that it
10347 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10348 the (Paragraph*) version when needed instead of duplicating the
10351 * text.C (workWidth): use Inset::parOwner to find out where the
10352 inset has been inserted. This is a huge performance gain for large
10353 documents with lots of insets. If Inset::parOwner is not set, fall
10354 back on the brute force method
10356 * paragraph_pimpl.C (insertInset):
10357 * paragraph.C (Paragraph):
10358 (cutIntoMinibuffer): set parOwner of insets when
10359 inserting/removing them
10361 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10363 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10369 * mathed/formulabase.C:
10370 * mathed/math_cursor.[Ch]:
10371 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10374 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10376 * lyxlength.[Ch] (operator!=): new function
10378 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10380 * text.C (workWidth): use Inset::parOwner to find out where the
10381 inset has been inserted. This is a huge performance gain for large
10382 documents with lots of insets. If Inset::parOwner is not set, fall
10383 back on the brute force method
10385 * paragraph_pimpl.C (insertInset):
10386 * paragraph.C (Paragraph):
10387 (cutIntoMinibuffer): set parOwner of insets when
10388 inserting/removing them
10390 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10392 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10394 * tabular-old.C (getTokenValue):
10395 * tabular.C (getTokenValue):
10396 (write_attribute): new versions for LyXLength
10397 (everywhere): adjust the use of widths
10399 * tabular.h: change the type of widths from string to LyXLength
10401 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10403 * paragraph.C: fixed missing line number count when exporting
10404 Environments to LaTeX file
10406 * buffer.C: added informational message for checking line numbers.
10408 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10410 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10411 paragraph, do the 'double space' part, but not the 'empty
10414 * text.C (workWidth): small optimization
10415 (getLengthMarkerHeight): use minimal size for negative lengths.
10417 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10419 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10421 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10423 2001-12-11 André Pönitz <poenitz@gmx.net>
10426 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10428 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10430 * text2.C: keep selection on a setFont()
10432 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10434 * lyx_cb.C: another bv->text misuse, from insert label
10436 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10439 * kbsequence.C: re-instate nmodifier mask
10441 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10443 * lyx_main.h: make lyxGUI private.
10445 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10447 * lyxfind.C: place the cursor correctly on failed search
10449 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10451 * text.C (getLengthMarkerHeight): for small heights, the arrows
10452 are not always on top/bottom of the text
10453 (drawLengthMarker): smaller arrows; take the left margin in
10454 account; draw also vfills.
10456 (paintLastRow): remove special code for vfill and standard spaces,
10457 since everything is handled in drawLengthMarker now.
10459 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10461 * buffer.C (insertErtContents): try to handle font and language
10462 interaction a bit better.g
10464 * ColorHandler.C (updateColor): change the hash to cover the whole
10465 LColor enum, ws cleanup
10466 (getGCLinepars): ditto
10467 (getGCLinepars): only lookup in the linecache once.
10469 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10471 * iterators.C (operator++): Make the iterator more robust
10473 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10475 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10477 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10480 * text.C: better added space drawing
10482 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10485 * BufferView2.C: fix layout combo update on inset unlock
10487 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10489 * Makefile.am: don't compile unused files
10491 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10495 * LyXAction.C: remove old LFUN_LAYOUTNO
10497 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10499 * paragraph_pimpl.h:
10500 * paragraph_pimpl.C: isTextAt() doesn't need font param
10502 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10505 * lyxlex.C: little cleanup
10507 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10509 * BufferView_pimpl.C: fix insertAscii for insets
10511 2001-12-05 Juergen Vigna <jug@sad.it>
10513 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10514 set the right font on the "multi" paragraph paste!
10516 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10522 * lyxlength.C: remove out-commented code.
10524 * BufferView_pimpl:
10538 * vc-backend.C: change "while(" to "while ("
10540 * lyxlength.[Ch]: add zero function to check if length is zero or
10542 * lyxgluelength.C: use it
10544 2001-12-05 Allan Rae <rae@lyx.org>
10546 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10547 Works for 2.95.3, from what I understand of Garst's reports this should
10548 work for other g++ versions. We're screwed if the abs(int) definition
10549 changed between bugfix releases of gcc.
10551 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10553 * text.C: fix chapter label offset !
10555 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10558 * text.C: fix hfill at end of line, clean up
10560 2001-12-04 Juergen Vigna <jug@sad.it>
10562 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10563 that we force an update of the inset and it's owners if neccessary.
10565 2001-12-03 Juergen Vigna <jug@sad.it>
10567 * text.C (rowLast): simplified code
10569 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10571 * lyxfunc.C: fix show options on timeout
10573 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10575 * screen.C (topCursorVisible): scroll half a page when the cursor
10576 reached top of bottom of screen
10578 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10580 * minibuffer.C: deactivate on loss of focus
10582 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10584 * vspace.[Ch] (operator!=): add operator.
10586 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10588 * BufferView_pimpl.C: refuse to open an inset when
10589 there's a selection.
10591 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10593 * BufferView_pimpl.C: allow to click on RHS of full row insets
10595 2001-11-30 Juergen Vigna <jug@sad.it>
10597 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10598 insets for undo reasons.
10600 2001-11-28 André Pönitz <poenitz@gmx.net>
10602 * vspace.[Ch]: cosmetical changes
10604 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10614 * kbsequence.C: part re-write of old kb code
10617 * WorkArea.C: remove Lgb_bug_find_hack
10619 2001-11-30 José Matos <jamatos@fep.up.pt>
10621 * buffer.C (makeDocBookFile): add a comment to point a hack.
10622 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10623 Fixed a double write of labels.
10625 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10628 * LaTeX.h Fixed bug in LaTeX class where it would not
10629 re-run latex if no depfiles were changed, but the .dvi was removed.
10631 2001-11-28 André Pönitz <poenitz@gmx.net>
10633 * all the files from the change on 2001/11/26:
10634 use lyx::layout_type instead of LyXTextClass::size_type
10635 use lyx::textclass_type instead of LyXTextClassList::size_type
10637 2001-11-29 Juergen Vigna <jug@sad.it>
10639 * text.C: added support for paragraph::isFreeSpacing()
10641 * buffer.C: same as above
10643 * paragraph.h: inserted isFreeSpacing() function to enable
10644 FreeSpacing inside InsetERT.
10646 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10647 of the paragraph's in the cut/copy buffer to 0!
10649 * text2.C (removeRow): remove the assert as it can!
10651 * lyxtext.h: added helper function firstRow returning firstrow and
10652 made firstrow private again.
10654 * BufferView2.C (lockInset): don't relock if we're already locked!
10656 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10657 the only paragraph.
10658 (removeRow): added Assert::(firstrow)
10660 * debug.C: forgot to add INSETTEXT here.
10662 2001-11-28 Juergen Vigna <jug@sad.it>
10664 * sp_spell.C (initialize): changed error text to more general
10665 spellchecker command use (not only ispell!)
10667 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10669 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10671 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10673 * vspace.C: initialise lyxgluelength on failure
10675 2001-11-28 Allan Rae <rae@lyx.org>
10677 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10678 declaration & definition that looks like a function declaration.
10680 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10682 * BufferView2.C (copy):
10683 (copyEnvironment): do not clear the selection when doing a copy.
10685 * text.C (paintFirstRow): compilation fix
10687 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10689 * tabular.C (Latex): correct line count when writing latex.
10691 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10693 * paragraph_pimpl.h:
10694 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10697 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10701 * LColor.C: change vfillline->added_space
10703 * text.C: add markers and text for added space
10705 * vspace.C: fix comment
10707 2001-11-28 André Pönitz <poenitz@gmx.net>
10709 * paragraph.C: whitespace changes
10710 * all the other files from the change on 2001/11/26:
10711 change *::pos_type into lyx::pos_type
10713 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10715 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10716 language of the document when inserting error insets.
10718 2001-11-26 André Pönitz <poenitz@gmx.net>
10720 * BufferView_pimpl.[Ch]:
10728 * paragraph_pimpl.[Ch]:
10731 * text2.C: reduce header dependencies, introduce type for positions
10733 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10735 * <various>: change to use Alert.h
10737 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10739 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10740 when encountering an unknown token.
10741 (readLyXformat2): Show an error message if there were unknown tokens.
10743 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10746 * BufferView_pimpl.C:
10750 * text2.C: use par->isInset()
10752 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10754 * paragraph_pimpl.h:
10755 * paragraph_pimpl.C: cleanup
10757 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10759 * text2.C (removeRow):
10760 * text.C (setHeightOfRow): remove useless (and costly) call to
10763 2001-11-20 Allan Rae <rae@lyx.org>
10765 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10766 Now need Inset*::checkInsertChar() to return true for appropriate
10767 cases so that the characters in the minibuffer will actually be
10770 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10772 * text.C: change the order of the includes.
10773 (workWidth): initialize it at once.
10774 (workWidth): make maxw unsigned
10775 (setHeightOfRow): remove unused variable (inset)
10776 (selectSelectedWord): remove unused variable (inset)
10777 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10779 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10781 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10782 server is not running.
10784 (closeConnection): add debug info when server is disabled.
10786 * ColorHandler.C (getGCForeground): send debug message to GUI
10789 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10791 * kbmap.C (bind): modify because return conventions of
10792 kb_sequence::parse have changed.
10794 * kbsequence.C (parse): only ignore spaces and not any stupid
10795 control character. This avoids tests like s[i] <= ' ', which are
10796 guaranteed to fail with 8bit characters and signed chars.
10797 Change return code to string::npos when there have been no error
10798 (0 was a bad idea when error is at first character)
10800 2001-11-14 José Matos <jamatos@fep.up.pt>
10803 * buffer.C (simpleDocBookOnePar): removed unused argument.
10805 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10807 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10808 insets which are part of a word. Paragraph::isLetter takes care of
10809 that now. Use Paragraph::isInset to identify insets.
10810 (selectSelectedWord): do not test for hyphenation break.
10812 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10813 that protected spaces are considered as spaces.
10815 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10818 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10821 * lyxserver.C: fix it. and small cleanup.
10823 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10825 * BufferView_pimpl.C: use inline helpers
10828 * LaTeXFeatures.C: fix typos
10831 * Spacing.C: move spacing_string into class
10833 * ToolbarDefaults.C: move stuff into namespace anon
10835 * layout.h: update enum
10837 * lyxfunc.C: use better debug
10839 * minibuffer.h: fix typo
10843 * WorkArea.C: add and use Debug::WORKAREA
10847 * text2.C: code re-organisation, inline helpers
10849 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10851 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10852 std::vector.empty().
10854 2001-11-09 Allan Rae <rae@lyx.org>
10856 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10857 '\n's after tables. Tabular and ERT inset work now makes this no
10860 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10863 * minibuffer.C: fix crash, improve drop-down completion
10865 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10868 * lyxserver.C: invalidate fd's when doing endPipe()
10870 2001-11-08 José Matos <jamatos@fep.up.pt>
10872 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10873 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10876 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10878 2001-11-07 José Matos <jamatos@fep.up.pt>
10881 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10884 * buffer.C (sgmlOpenTag):
10885 * buffer.C (sgmlCloseTag): removed debug info.
10887 * buffer.h (sgmlOpenTag):
10888 * buffer.h (sgmlCloseTag): made public.
10890 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10892 * buffer.C (saveParamsAsDefaults):
10893 * lyx_cb.C (MenuLayoutSave): remove
10895 * LyXAction.C (init):
10897 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10899 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10901 * buffer.C (setPaperStuff): removed from here...
10903 * bufferparams.C (setPaperStuff): ... and moved there.
10905 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10909 * XFormsView.C: add support for drop-down completion
10911 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10913 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10916 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10918 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10921 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10923 * lyx_main.C: change ref to known bugs
10925 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10927 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10928 to work around older babel problems.
10930 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10932 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10934 2001-10-24 Juergen Vigna <jug@sad.it>
10936 * tabular-old.C (ReadOld): below variable changes reflected.
10938 * tabular.[Ch]: added ltType struct for longtable header/footer
10939 defines and changed all instances where they are used. Added
10940 future support for double top/bottom rows.
10942 2001-10-24 José Matos <jamatos@fep.up.pt>
10944 * buffer.h (docbookHandleCaption):
10945 * buffer.C (docbookHandleCaption): removed unused function.
10946 (makeDocBookFile): moved docbook supported version to v4.1.
10948 2001-10-24 José Matos <jamatos@fep.up.pt>
10951 * tabular.C (docbookRow): new function to export docbook code of a row.
10952 (DocBook): now honors the longtable flags.
10954 2001-10-23 José Matos <jamatos@fep.up.pt>
10957 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10958 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10960 * buffer.C (makeLinuxDocFile):
10961 (makeDocBookFile): reworked the preamble, more clean, and with
10962 support for lyx defined entities. Changed the document declaration
10963 to be more XML friendly.
10965 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10966 if we need to output XML that should be done with a filter.
10968 2001-10-22 Juergen Vigna <jug@sad.it>
10970 * sp_pspell.h (class PSpell): add alive function needed in the
10971 controller to see if the spellchecker could be started.
10973 2001-10-22 Juergen Vigna <jug@sad.it>
10975 * buffer.C (insertStringAsLines): modify the font for inserting
10976 chars in certain conditions by calling checkInsertChar(font).
10978 2001-10-19 Juergen Vigna <jug@sad.it>
10980 * text.C (workWidth): use getRow instead of wrong algorithm.
10981 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10983 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10988 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10990 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10992 * text.C (workWidth): do not search for the exact row when
10993 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10994 optimization for big documents.
10996 2001-10-18 Juergen Vigna <jug@sad.it>
10998 * text.C (workWidth): new function with added Inset * parameter.
11000 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11002 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11004 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11005 change return type of getColumnNearX.
11008 * text.C (changeRegionCase): use uppercase/lowercase instead of
11011 (rightMargin): simplify code by factoring out the uses of
11016 (appendParagraph): use Paragraph::size_type
11018 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11020 * vspace.C (asLatexString): add a missing break
11022 2001-10-15 Herbert Voss <voss@perce.de>
11024 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11026 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11028 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11031 2001-10-10 André Pönitz <poenitz@gmx.net>
11033 * lyxfunc.C: removed greek_kb_flag.
11035 2001-10-10 Herbert Voss <voss@perce.de>
11037 * lyx_main.C: delete global string help_lyxdir.
11039 2001-10-09 Herbert Voss <voss@perce.de>
11041 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11043 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11045 * lyx_main.C: added global string help_lyxdir.
11047 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11049 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11051 * lyxrc.C (set_font_norm_type): support iso8859-4
11053 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11055 * LaTeX.C (deplog): add another regex for MikTeX
11057 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11059 * lyxrc.C (set_font_norm_type): support iso8859-3
11061 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11063 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11065 * LaTeXFeatures.C: remove special case of french and index
11067 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11068 before \begin{document}). This solves several incompatibilities.
11070 2001-10-03 Garst Reese <reese@isn.net>
11072 * lyx_cb.C: change CheckTex error msg.
11074 2001-10-03 José Matos <jamatos@fep.up.pt>
11076 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11078 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11080 * .cvsignore: update
11082 * lyx_main.C (commandLineVersionInfo): use new style version info.
11084 * buffer.C (writeFile):
11086 (makeLinuxDocFile):
11087 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11089 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11091 * version.h: update to use stuff in version.C
11093 * version.C.in: new file. Contains version information determined
11094 at compile time. This is a merging of version.h and
11097 2001-10-03 Juergen Vigna <jug@sad.it>
11099 * BufferView_pimpl.C (update): don't change "dirty" status in
11102 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11104 * WorkArea.C (c-tor): re-position version string slightly.
11106 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11108 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11109 revert to previous code.
11111 WorkArea.[Ch]: (show, destroySplash): methods removed.
11113 WorkArea.C: rework code so that it's an amalgam of the codes before and
11114 after the splash screen was moved to WorkArea.
11116 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11119 * vspace.C (inPixels):
11122 * buffer.C (insertStringAsLines):
11123 (asciiParagraph): fix types to be large enough
11125 * lyxlex_pimpl.h: change member status from short to int
11127 * layout.h: fix type of endlabeltype
11130 * kbsequence.C (parse): change return type to string::size_type
11132 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11135 * Bullet.C (bulletSize):
11136 (bulletEntry): do not use short ints as parameters
11138 * BufferView2.C (insertLyXFile): change a char to an int.
11140 * WorkArea.C (WorkArea): remove unneeded floats in computation
11142 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11144 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11146 * paragraph.C (asString): Do not ignore newline/hfill chars when
11147 copying to the clipboard.
11149 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11151 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11152 after a multi-line inset.
11154 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11156 * paragraph.C (validate): Set NeedLyXFootnoteCode
11158 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11160 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11161 and decrease-error to decrease.
11163 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11165 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11166 it more readable (should be equivalent)
11168 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11170 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11172 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11174 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11175 of a cursor (row, etc.) after a character has been deleted
11176 (deleteEmptyParagraphMechanism): call the method above on _all_
11177 cursors held by the LyXText when a double space has been
11180 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11182 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11184 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11186 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11187 background. Use greyOut() and the new show() methods to toggle between
11188 the foreground and background. Add code to remove the splash after
11189 its initial showing.
11191 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11192 (create_forms): no longer call Dialogs::showSplash.
11194 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11196 * .cvsignore: add version_info.h
11198 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11200 * version_info.h.in: new file
11202 * Makefile.am: add version_info.h.in
11204 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11205 version_info.h instead of VERSION_INFO
11207 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11209 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11210 The ERT inset now returns string().
11212 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11214 * lyxtext.h, text.C (selectNextWord): renamed as
11215 selectNextWordToSpellcheck.
11217 * text.C (selectNextWordToSpellcheck): Modified to not select
11218 words inside an ERT inset.
11220 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11222 * lyx_cb.C (MenuLayoutSave): change a bit the question
11224 * sp_base.h: include <sys/types.h>
11226 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11228 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11230 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11232 * several files: fix typos in user-visible strings
11234 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11236 * text2.C (pasteSelection): do not set the selection, since it
11237 will be cleared later. Actually, the intent was to fix the way the
11238 selection was set, but I figured rmoving the code was just as good.
11240 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11242 * FontLoader.C (available): Check if font is available without
11245 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11247 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11249 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11251 * lyxrc.[Ch]: added display_graphics variable and associated code.
11253 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11255 * bufferparams.C (hasClassDefaults): new method. Returns true if
11256 the buffer parameters correspond to known class defaults
11258 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11260 * XFormsView.C (show): set minimum size to the main window.
11262 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11264 * text2.C (copySelection):
11266 * lyxfind.C (LyXReplace):
11267 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11268 LyXText::selectionAsString.
11270 * paragraph.C (asString): add "label" argument to the second form
11272 * text2.C (selectionAsString): add "label" argument and pass it to
11273 Paragraph::asString.
11275 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11277 * lyx_main.C (commandLineHelp): remove version information
11279 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11281 * lyx_main.C: add -version commandline option
11283 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11285 * paragraph.h: make the optional constructor arg required instead.
11286 some modifications to other files because of this.
11288 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11290 * lyxserver.C (C_LyXComm_callback): make it static
11292 * lyx_main.C (error_handler): make it static
11294 * lyx_gui.C (LyX_XErrHandler): make it static
11296 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11298 * WorkArea.C: make the extern "C" methods static.
11300 * Makefile.am (lyx_LDADD): simplify
11302 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11304 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11305 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11307 * LyXAction.C (init):
11308 * lyxfunc.C (dispatch): associated code removal.
11310 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11312 * lyxfont.h (isSymbolFont): shut off warning
11314 * text.C (setHeightOfRow):
11315 (getVisibleRow): fix crash with empty paragraphs which have a
11318 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11320 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11323 2001-09-04 José Matos <jamatos@fep.up.pt>
11326 * tabular.C (docbook): rename docBook method to docbook.
11328 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11330 * Makefile.am: add dependencies to main.o.
11332 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11334 * FontLoader.C (available): Return false if !lyxrc.use_gui
11336 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11338 * FontInfo.C (query):
11339 * converter.C (view):
11340 * importer.C (Import):
11341 * exporter.C (Export): Can not -> cannot.
11343 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11345 * BufferView_pimpl.C: allow to create index inset even if
11348 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11350 * buffer.C (getLists): replace boost::tie code with an explicit pair
11351 as boost::tie can break some compilers.
11353 * iterators.h: Added a std:: declaration to the return type of
11356 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11358 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11361 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11363 * iterators.[Ch]: New files. Provide paragraph iterators.
11365 * buffer.C (changeLanguage): Use paragraph iterators.
11366 (isMultiLingual): ditto
11368 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11370 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11372 * FontLoader.C: Support for cmr font.
11374 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11376 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11377 (available): New method.
11379 * FontInfo.C (getFontname): Use scalable fonts even when
11380 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11383 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11385 * converter.C (Formats::view): reverted! Incorrect fix.
11387 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11389 * converter.C (Formats::view): only output the -paper option
11390 if the dvi viewer is xdvi, thereby fixing bug #233429.
11392 2001-08-23 Herbert Voss <voss@perce>
11394 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11396 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11398 * Spacing.h (Spacing): Set space to Default on in the default
11401 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11403 * vc-backend.h (RCS::versionString): add RCS to version
11404 (CVS::versionString): add CVS to version
11406 * vc-backend.C (scanMaster): do not add CVS to version.
11407 (scanMaster): do not add RCS to version
11409 * lyxvc.C (versionString): new method
11411 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11413 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11415 * Spacing.C (set): initialize fval
11417 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11419 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11422 2001-08-16 Juergen Vigna <jug@sad.it>
11424 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11426 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11428 * BufferView_pimpl.C:
11431 * text2.C: setParagraph takes linespacing now
11433 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11435 * LyxAction.C: add internal LFUN_CITATION_INSERT
11437 * LyXView.C: actually apply fix
11439 * bufferlist.C: fix open non-existent file
11441 * lyxfind.C: fix indentation
11443 * lyxfunc.C: remove unneeded assert, fix typo
11445 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11447 * MenuBackend.C: use "Floatname List"
11449 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11451 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11452 when converting LaTeX layout to insetERT.
11453 Generate a non-collapsed float when reading old float
11455 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11457 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11460 2001-08-13 Juergen Vigna <jug@sad.it>
11462 * text.C (fill): return 0 instead of 20 as this seems to be the more
11465 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11467 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11470 2001-08-13 Juergen Vigna <jug@sad.it>
11472 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11474 (SearchBackward): comment out the unlocking of the inset_owner this
11475 should not be needed!
11477 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11479 * Many files: Remove inherit_language, and add latex_language
11481 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11482 collapsible insets.
11484 2001-08-10 Juergen Vigna <jug@sad.it>
11486 * text.C (prepareToPrint): fixed hfill-width in draw!
11488 * BufferView2.C (selectLastWord): save the selection cursor as this
11489 now is cleared in the function LyXText::clearSelection!
11491 2001-08-08 Juergen Vigna <jug@sad.it>
11493 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11494 BACKSPACE type functions.
11496 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11497 is only cutted from the document but not put in the cut-buffer, where
11498 still the old stuff should be.
11500 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11502 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11504 * tabular.C (SetWidthOfCell): fixed special case where the width
11506 (LeftLine): handle '|' in align_special.
11508 (LeftAlreadyDrawed): ditto
11509 (SetWidthOfCell): ditto
11511 2001-08-07 Juergen Vigna <jug@sad.it>
11513 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11515 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11517 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11518 * lyxlex.[hC]: ditto
11520 2001-08-06 Juergen Vigna <jug@sad.it>
11522 * text.C (getVisibleRow): fix up row clearing a bit.
11524 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11526 * minibuffer.C: make sure the X server sees the changes in the input.
11528 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11530 * paragraph.C (getFont): split into...
11531 (getLabelFont): this
11532 (getLayoutFont): and this
11533 * paragraph_pimpl.C (realizeFont): calling this
11535 * text2.C (getFont): split into...
11536 (getLayoutFont): this
11537 (getLabelFont): and this
11538 (realizeFont): all three calling this
11540 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11543 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11545 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11547 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11549 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11550 layouts from the Quote inset insertion.
11552 2001-08-03 Juergen Vigna <jug@sad.it>
11554 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11556 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11557 only if status not is already CHANGED_IN_DRAW (second level).
11559 * text.C (draw): don't set the need_break_row when inside an
11562 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11564 * buffer.C (parseSingleLyXformat2Token): handle more latex
11567 * bufferview_funcs.[hC]: change function names to
11568 begin with small char, adjust other files.
11570 2001-08-02 André Pönitz <poenitz@gmx.net>
11573 BufferView_pimpl.C: remove broken special code for math-greek
11575 2001-08-02 Juergen Vigna <jug@sad.it>
11577 * BufferView_pimpl.C (update): redone this function so that we
11578 update the text again if there was a CHANGE_IN_DRAW.
11580 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11581 (drawFromTo): added a new internal bool which is used by draw() and
11583 (general): some cursor drawing problems fixed.
11585 2001-08-01 Juergen Vigna <jug@sad.it>
11587 * lyxfind.C (LyXFind): fixed
11588 (SearchForward): ditto
11589 (SearchBackward): ditto
11591 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11592 spurius drawing of the cursor in the main area.
11594 * text2.C (status): small fix which could lead to a segfault!
11595 (clearSelection): remove unneeded BufferView param.
11597 2001-08-01 André Pönitz <poenitz@gmx.net>
11599 * lyxfunc.C: small change due to changed mathed interface
11601 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11603 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11605 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11607 * lyxfunc.c: fail gracefully if file doesn't exist
11612 * BufferView_pimpl.C: IsDirWriteable() proto changed
11614 * LyXView.C: fix updateWindowTitle() to store the last title
11616 2001-07-31 Juergen Vigna <jug@sad.it>
11618 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11619 the font (wrong since using of Paragraph::highestFontInRange).
11621 * paragraph.C (highestFontInRange): added a default_size parameter.
11623 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11624 (setHeightOfRow): reformat
11626 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11628 * converter.[hC] + affected files: move to (inital-char)lowercase
11631 * ParagraphParameters.C (ParagraphParameters): remove commented code
11633 * PainterBase.[Ch]: remove commented code
11635 * LaTeXFeatures.h: add "bool floats" for float.sty
11637 * LaTeXFeatures.C (LaTeXFeatures): init floats
11638 (require): handle float
11639 (getPackages): do it with floats
11641 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11643 * BufferView_pimpl.C (Dispatch): improve handling of
11644 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11646 * commandtags.h: #include lyxfont.h here temporarily to avoid
11649 * bufferlist.h: include LString.h here.
11651 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11653 * text2.C (getStringToIndex): new method.
11655 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11657 * *: Reduced header file dependencies all over.
11659 2001-07-30 Baruch Even <baruch@lyx.org>
11661 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11663 2001-07-29 Baruch Even <baruch@lyx.org>
11665 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11667 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11669 * ParameterStruct.h (endif): add a default constructor to make
11670 sure that all variables is initialized.
11672 * ParagraphParameters.C (ParagraphParameters): adjust
11674 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11676 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11677 index; also, check that there is something to index, and that it
11678 does not span over several paragraphs.
11679 (doubleClick): use WHOLE_WORD_STRICT for double click.
11681 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11683 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11686 2001-07-26 Baruch Even <baruch@lyx.org>
11688 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11689 an InsetFig figure, backwards compatible reading of old figure code.
11691 2001-07-27 Juergen Vigna <jug@sad.it>
11693 * text2.C: font.realize function adaption.
11695 * text.C (draw): add a warnings lyxerr text if needed.
11697 * layout.C: font.realize function adaption.
11699 * language.C: add inherit_language and implement it's handlings
11701 * bufferview_funcs.C (StyleReset): remove language parameter from
11702 font creation (should be language_inherit now).
11704 * bufferparams.C (writeFile): handle ignore_language.
11706 * paragraph.C (getFontSettings): the language has to be resolved
11707 otherwise we have problems in LyXFont!
11709 * lyxfont.C (lyxWriteChanges): added document_language parameter
11710 (update): removed unneeded language parameter
11712 * paragraph.C (validate): fixed wrong output of color-package when
11713 using interface colors for certain fonts in certain environments,
11714 which should not seen as that on the final output.
11716 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11718 * BufferView_pimpl.C:
11723 * LyXAction.C: add thesaurus support
11726 * lyxfind.C: add "once" parameter, for thesaurus, to not
11727 move to the next match
11729 2001-07-26 Juergen Vigna <jug@sad.it>
11731 * lyxfont.C (realize): honor ignore_language too!
11734 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11736 * text.C (draw): one place more for ignore_language to not draw
11739 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11741 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11743 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11745 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11746 the minipage conversion problem.
11748 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11750 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11753 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11755 * BufferView.h: don't forward declare WorkArea
11757 * BufferView.C: don't include WorkArea.h
11759 2001-07-25 André Pönitz <poenitz@gmx.net>
11763 * lyxfunc.C: new LFUN 'math-space'
11765 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11767 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11769 * text2.C (toggleInset): call open/close
11771 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11773 * lyxfunc.C (dispatch): add debug for the disabled case
11775 * font.C (buttonText): make similar to rectText
11777 * buffer.C (readInset): comment out parsing of insetlist and
11780 * PainterBase.C (rectText): small correction
11782 * BufferView_pimpl.C: comment out insettheorem and insetlist
11783 * LyXAction.C: ditto
11784 * commandtags.h: ditto
11786 2001-07-24 Juergen Vigna <jug@sad.it>
11788 * text.C (draw): honor the ignore_language.
11790 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11792 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11794 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11797 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11799 * lyxtext.h: remove unused (and unimplemented) methods
11801 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11803 * text.C (getVisibleRow): honor background color
11806 * Painter.h: remove default color argument for fillRectangle
11808 * text.C (backgroundColor): new method
11810 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11812 * text.C (getVisibleRow): adjust
11814 * font.[Ch] (rectText): new method, metrics
11815 (buttonText): new method, metrics
11817 * PainterBase.[hC]: make rectText and buttonText always draw and take
11820 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11822 * ToolbarDefaults.C (read):
11823 * MenuBackend.C (read): allow escaping in all strings
11825 * BufferView_pimpl.C (insertAndEditInset): new method.
11826 (Dispatch): use insertAndEditInset whenever appropriate.
11828 * BufferView_pimpl.C (insertNote): removed
11830 * BufferView_pimpl.C (smartQuote): new method, moved from
11831 BufferView; if an insetquote cannot be inserted, insert a '"'
11834 * BufferView2.C: remove insertCorrectQuote();
11836 * lyxfunc.C (getStatus): Add support for all remaingin
11837 inset-insert lfuns.
11839 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11841 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11842 command (necessary to pass " as parameter of self-insert.
11844 * text.C (selectWordWhenUnderCursor):
11845 (selectWord): add word_location parameter
11846 (selectWordWhenUnderCursor): same + remove special code for word
11848 (selectNextWord): use kind() to guess type of insetspecialchar,
11851 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11852 (insertErtContents): create ert insets as collapsed.
11853 (readInset): better compatibility code for Info inset.
11855 2001-07-20 Juergen Vigna <jug@sad.it>
11857 * lyxfunc.C (dispatch): use always LyXFind now!
11859 * text2.C (init): add a reinit flag so that the LyXText can be
11860 reinited instead of deleted and reallocated (used in InsetText).
11862 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11868 2001-07-18 Juergen Vigna <jug@sad.it>
11870 * text.C (selectNextWord): handle insets inside inset by calling
11871 always the bv->text functions so that we can go up the_locking_inset!
11873 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11874 in strange locations when inside an inset!
11876 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11877 handling to include insets.
11879 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11881 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11883 * LyXAction.C (init):
11885 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11886 LIGATURE_BREAK, since the name is so stupid.
11888 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11890 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11893 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11895 * sp_form.[Ch]: remove.
11897 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11899 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11902 * src/buffer.C (readInset): ditto.
11904 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11906 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11907 menuSeparator(), endOfSentenceDot(), ldots() and
11908 hyphenationPoint(), which are therefore removed.
11909 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11911 * LyXAction.C (init):
11912 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11914 * paragraph.C (getWord): removed.
11916 * BufferView_pimpl.C (Dispatch): use last word or selection for
11917 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11919 * lyx_main.C (queryUserLyXDir): do not ask before creating
11920 user_dir, except if it has been named explicitely.
11922 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11924 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11925 a document of zero size.
11927 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11929 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11930 approriately in the c-tor and in require().
11931 (getPackages): output the appropriate LaTeX for natbib support.
11933 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11934 variables "use_natbib" and "use_numerical_citations" when reading the
11936 (readInset): read the various natbib cite commands.
11937 (validate): white-space change.
11939 * bufferparams.[Ch]: new variables "bool use_natbib" and
11940 "bool use_numerical_citations".
11941 (writeFile): output them in the LyX file.
11943 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11945 * lyxfunc.C (getStatus): add support for all the inset insertion
11948 * text2.C (insertInset):
11949 * paragraph.C (insetAllowed):
11950 * BufferView_pimpl.C (insertInset): update to take in account the
11951 renaming of insertInsetAllowed
11953 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11955 * text2.C (getInset): new method. returns inset at cursor position.
11957 * BufferView_pimpl.C (Dispatch): changes because of this.
11959 * LyXAction.C (init): rename open-stuff to inset-toggle.
11961 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11963 * text2.C (toggleInset): renamed from openStuff; use
11966 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11968 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11970 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11972 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11974 * buffer.C (readLyXformat2): Add filename to the error dialog
11976 2001-07-18 Juergen Vigna <jug@sad.it>
11978 * tabular.C (GetCellNumber): put an assert here instead of the check!
11980 2001-07-17 Juergen Vigna <jug@sad.it>
11982 * BufferView_pimpl.C (toggleSelection): adapted too.
11984 * text.C (selectNextWord): adapted for use with insets.
11985 (selectSelectedWord): ditto
11987 2001-07-17 Juergen Vigna <jug@sad.it>
11989 * sp_spell.C (PSpell): fix initialitation order.
11991 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11993 * paragraph.C: spacing
11995 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
11997 * sp_spell.C: repair language selection for pspell
11999 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12001 * lyxfunc.h: change more methods to begin with lower char.
12003 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12005 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12006 for unknown layouts.
12008 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12010 * buffer.C (readLyXformat2): Generate an error dialog if there are
12013 2001-07-16 Juergen Vigna <jug@sad.it>
12015 * sp_spell.C: always compile ISpell part.
12017 * lyxrc.C: added use_pspell entry and it's handling.
12019 2001-07-13 Juergen Vigna <jug@sad.it>
12021 * sp_spell.C: removed double includes.
12023 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12025 Consistent use of Lsstream.h:
12026 * Lsstream.h: added using std::stringstream for consistencies sake.
12028 * buffer.C: removed using std::stringstream
12030 * lyxfont.C (stateText):
12031 * paragraph.C (asString):
12032 * text.C (selectNextWord, selectSelectedWord):
12033 * text2.C (setCounter):
12034 * vspace.C (asString, asLatexString):
12035 std::ostringstream -> ostringstream.
12037 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12039 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12040 * commandtags.h: add LFUN_HELP_ABOUTLYX
12041 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12043 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12045 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12047 * lyx_gui_misc.C: remove spellchecker
12048 * lyxfunc.C: showSpellchecker
12050 * sp_ispell.h: added
12051 * sp_pspell.h: added
12052 * sp_spell.C: added
12053 * sp_form.[Ch]: removed
12054 * spellchecker.[Ch]: removed
12056 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12058 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12060 (simpleTeXSpecialChars): Simply print the input character without
12061 any special translation if pass_thru is set.
12063 * layout.h: Added bool pass_thru to layout class for being able to
12064 implement pass through of a paragraph for Literate Programming.
12066 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12067 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12068 * layout.C (Read): add "passthru" to list of layout tags and add
12069 code to set the pass_thru boolean when it is read.
12071 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12073 * trans_decl.h: remove allowed from KmodInfo
12075 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12076 remove allowed code
12079 * paragraph_pimpl.C (erase): use boost::prior
12081 * Painter.C (text): use data() instead of c_str() when length is
12083 * WorkArea.C (putClipboard): ditto
12084 * font.h (width): ditto
12086 * BufferView2.C: use it-> instead of (*it). for iterators
12088 * paragraph_pimpl.C: ditto
12089 * paragraph.C: ditto
12090 * minibuffer.C: ditto
12091 * language.C: ditto
12093 * encoding.C: ditto
12094 * counters.C: ditto
12095 * converter.C: ditto
12097 * Variables.C: ditto
12098 * TextCache.C: ditto
12099 * MenuBackend.C: ditto
12100 * LyXAction.C: ditto
12102 * FloatList.C: ditto
12103 * DepTable.C: ditto
12104 * ColorHandler.C (LyXColorHandler): ditto
12106 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12108 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12110 * text2.C (openStuff): reintroduce this method (which had been
12111 nuked in NEW_INSETS frenzy).
12113 * lyxfunc.C (Dispatch): when an action has not been handled, use
12114 its name in the error message, not its number.
12116 * paragraph.C (inInset): change method name to begin with lowercase.
12119 * text2.C: updates because of this.
12121 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12123 * ToolbarDefaults.C (add): add spaces in error message
12125 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12127 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12128 (readLyXformat2): rename return_par to first_par, use lyxlex's
12129 pushToken and remove the manual push handling.
12130 (parseSingleLyXformat2Token): add another ert comp. variable:
12131 in_tabular, rename return_par to first_par. handle newlines better
12133 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12135 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12137 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12139 * text2.C (getParFromID): removed
12141 * buffer.C (getParFromID): new method moved form lyxtext.
12142 * BufferView2.C (insertErrors): adjust
12143 (setCursorFromRow): adjust
12144 * BufferView_pimpl.C (restorePosition): adjust
12145 * lyxfunc.C (Dispatch): adjust
12146 * undo_funcs.C (textUndo): adjust
12148 (textHandleUndo): adjust
12149 (textHandleUndo): adjust
12151 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12153 * buffer.C: up' the LYX_FORMAT
12155 * lyxfont.h: turn NO_LATEX on as default
12157 * buffer.C (insertErtContents): new methods of tex style compability.
12158 (parseSingleLyXformat2Token): use it several places.
12159 * tabular.C (OldFormatRead): and here
12161 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12163 * text2.C: remove some commented code.
12166 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12167 * trans.C: changes because of the above.
12169 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12171 * text2.C (setCounter): Fix counters bug with bibliography layout.
12173 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12175 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12176 own member functions
12177 (simpleTeXSpecialChars): ditto
12179 2001-07-06 Juergen Vigna <jug@sad.it>
12181 * a lot of files: changed the access to LyXText::status and the
12182 call of undo-functions.
12184 * undo.[Ch]: added a inset_id to the undo informations.
12186 * undo_funcs.[Ch]: added and moved here all undo functions.
12188 * lyxtext.h: give the status enum a weight, made status_ a private
12189 variable and made accessor functions for it, removed the whole bunch
12190 of undo-functions as they are now in their own file, make some
12191 functions publically available. Added function ownerParagraph with
12194 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12195 made InInset() a const function, added getParFromID() function.
12197 * buffer.[Ch]: added const version for inset_iterator functions,
12198 added getInsetFromID() function.
12200 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12201 changed undo functions for new version.
12203 2001-07-05 Juergen Vigna <jug@sad.it>
12205 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12206 unknow mechanism does not call the proper constructor but only this
12207 one also if I request the other!?
12209 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12211 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12213 * text2.C (LyXText): use initialization lists.
12215 * lyxtext.h (Selection): initialize set_ and mark_
12216 (init): remove method
12218 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12220 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12222 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12224 * screen.[Ch]: change method names to begin with lowercase
12226 * BufferView_pimpl.C (updateScrollbar): simplify further and
12227 hopefully make it a bit faster.
12229 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12231 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12232 calling directly xforms functions.
12234 * Painter.C (Painter):
12235 * lyx_cb.C (MenuWrite):
12236 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12239 * lyx_gui.C: remove bogus guiruntime extern declaration.
12241 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12243 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12245 (redoDrawingOfParagraph): ditto
12246 (redoParagraphs): ditto
12247 (cutSelection): don't create a object for CutAndPaste use the
12248 static method directly
12249 (pasteSelection): ditto
12251 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12254 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12256 * modifications to some other files because of this.
12258 * Makefile.am (lyx_SOURCES): add XFormsView
12260 * XFormsView.[Ch]: new files
12262 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12263 the main window. Move the gui dependent stuff to XFormsView
12265 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12267 * tabular.C (GetCellInset): update cur_cell also in the row/col
12268 version of this function.
12270 * lyxfunc.C: no need to include figure_form.h here.
12276 * lyxvc.C: no need to include forms.h here.
12278 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12280 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12282 * lyxfunc.C (Dispatch):
12284 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12285 constructor argument.
12287 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12289 * paragraph.C (Paragraph): dont't clear, and just set layout.
12290 (makeSameLayout): use params's copy contructor.
12292 * ParagraphParameters.[Ch] (makeSame): delete method
12294 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12296 * Variables.[Ch]: fix indentation, rename set to isSet
12298 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12300 * lyxfunc.C (Dispatch): fix typo
12302 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12304 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12307 * bufferlist.C: include assert.h for emergencyWrite().
12309 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12311 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12312 give up at last (bug #425202) !
12314 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12320 * spellchecker.C: strip spellchecker options and bring up
12321 preferences tab instead
12323 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12325 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12326 the istringstream constructor
12328 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12330 * paragraph.C (getLayout): fix return value
12332 * paragraph.h: do not declare getLayout as inline.
12334 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12336 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12338 * lyxcursor.h (operator<): new func
12339 (operator>): new func
12340 (operator>=): new func
12341 (operator<=): new func
12343 * text.C (changeCase): use selection.start and selection.end
12344 (changeRegionCase): require from to be <= to. Require par to be a
12347 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12349 2001-06-27 Juergen Vigna <jug@sad.it>
12351 * text.C (cursorLeftOneWord): changed to return the cursor and added
12352 overlay with BufferView * parameter which calls this one.
12354 (selectWord): use new getWord function.
12355 (changeCase): renamed from changeWordCase as and extended to work
12356 also on selections.
12358 * lyxtext.h: added enum word_location
12360 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12361 changeCase as this operates now also on selections.
12363 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12365 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12367 * many files: send debug output to Debug::INFO instead of
12370 * converter.C (View):
12372 (Move): send debug output to Debug::FILES instead of console.
12374 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12376 * lyxfunc.C (getStatus): use func_status
12378 * func_status.h: new header, describing the results of
12379 LyXFunc::getStatus;
12381 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12384 2001-06-25 The LyX Project <jug@sad.it>
12386 * buffer.C (sgmlOpenTag):
12388 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12390 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12392 * text2.C: remove some dead code
12394 * tabular.C (GetCellInset): store the last cell checked (gotten)
12396 * tabular.h: add the helper for the speedup
12398 * lyxtext.h: remove some dead code
12400 2001-06-26 The LyX Project <Asger>
12402 * paragraph.C: Change export to LaTeX of alignment to
12403 \begin{center} and family for better roundtrip work with reLyX.
12405 * Tune the math drawing a bit.
12407 2001-06-25 The LyX Project <Asger>
12409 * LColor.C (LColor): New color for math background. New color
12412 2001-06-25 The LyX Project <jug@sad.it>
12414 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12416 * lyxfunc.C (Open):
12417 * bufferlist.C (newFile): do not restrict to files ending with
12420 * BufferView_pimpl.C (MenuInsertLyXFile):
12422 2001-06-24 The LyX Project <jug@sad.it>
12424 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12427 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12429 * lyxtext.h: rename most methods to begin with a small char.
12430 Lots of changes because of this.
12432 * paragraph.C (Paragraph): do not call fitToSize
12433 (erase): call Pimpl::erase
12434 (insertChar): call Pimpl::insertChar
12435 (insertInset): call Pipl::insertInset
12436 (breakParagraph): do not call fitToSize
12437 (breakParagraphConservative): do not call fitToSize
12438 (fitToSize): remove method
12440 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12442 2001-06-24 The LyX Project <Asger>
12444 * Fix Qt compilation^2
12446 2001-06-24 The LyX Project <jug@sad.it>
12448 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12449 depthHook(getDepth()-1).
12452 * ParagraphParameters.h:
12453 * ParameterStruct.h: change type of depth to unsigned int ==
12454 depth_type. Many adaptations to other files before of that.
12456 2001-06-24 The LyX Project <Asger>
12458 * Fix Qt compilation.
12460 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12462 * paragraph.h: renamed several methods to begin with small letter.
12463 several changes to many parts of the code because of this.
12465 2001-06-23 The LyX Project <jug@sad.it>
12467 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12468 rewritten to discard all double spaces when KeepEmpty is off
12469 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12470 to only handle newlines but not fiddle with spaces and friends.
12472 * lyxfunc.C (MenuNew): when doing 'new from template', use
12473 template_path as default directory
12475 2001-06-23 The LyX Project <Asger>
12477 * Clean-up of header file includes all over
12478 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12480 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12482 * paragraph.h: renamed from lyxparagraph.h
12484 2001-06-23 Asger <lyx@violet.home.sad.it>
12486 * Buffer.h: Removed Buffer::resize
12487 * BufferList.h: Removed BufferList::resize
12488 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12489 the document lazily when we change the width, or the font settings.
12491 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12493 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12495 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12497 * buffer.h: remove out of date comment
12499 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12502 * screen.C: fix "theoretical" GC leak
12504 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12506 * LaTeX.C (scanAuxFile):
12507 (deplog): remove trailing \r when reading stream (useful under
12510 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12512 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12513 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12514 and BufferView::theLockingInset(Inset*), so should use them and not
12515 access bv_->text->the_locking_inset directly.
12517 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12519 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12522 * tex-defs.h: remove old unused file
12524 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12526 * BufferView_pimpl.C: fix typo, remove minibuffer message
12527 when buffer has loaded
12529 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12531 * lyxfunc.C (Dispatch): use stringstream
12532 (MenuNew): use stringstream
12533 (Open): use stringstream
12535 * importer.C (Import): use stringstream
12537 * bufferview_funcs.C (CurrentState): use stringstream
12539 * LaTeX.C (run): use stringstream
12541 * BufferView_pimpl.C (savePosition): use stringstream
12542 (restorePosition): use stringstream
12543 (MenuInsertLyXFile): use stringstream
12545 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12558 * vspace.C: removed // -*- C++ -*- as first line.
12561 * version.h: added // -*- C++ -*- as first line.
12563 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12565 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12567 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12570 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12572 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12575 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12577 * gettext.C: include LString.h even when --disable-nls is on.
12579 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12581 * converter.h (Get): changed argument type from int to
12582 FormatList::size_type to avoid unnecessary conversion.
12584 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12587 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12589 * gettext.h: include LString.h even when --disable-nls is on.
12591 2001-06-07 Juergen Vigna <jug@sad.it>
12593 * text.C (BreakAgain): subst spaces with tabs.
12595 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12596 (resizeInsetsLyXText): set force on resizeLyXText.
12598 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12600 * gettext.h (gettext_init):
12601 (locale_init): use a real definition instead of a macro
12603 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12605 * Bufferview_pimpl.C:
12607 * LColor.C: further lcolor tidies
12609 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12611 * BufferView_pimpl.C (updateScrollbar): simplify.
12613 * BufferView2.C: don't include insets/insetinfo.h, change
12614 prototype for insertInset and call the Pimpl version. let
12615 updateInset call Pimpl version.
12617 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12618 gotoInset to BufferView::Pimpl
12620 2001-06-01 Juergen Vigna <jug@sad.it>
12622 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12623 inside a LockingInset (is the update needed at all?).
12625 2001-05-31 Juergen Vigna <jug@sad.it>
12627 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12628 here not the old one otherwise how should we compare it afterwards
12631 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12636 * FontInfo.C: bring C functions into global namespace when
12639 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12641 * LString.h: make sure config.h has been loaded before LString.h.
12643 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12644 (one for each char read by EatLine!).
12646 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12649 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12651 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12652 to the same as the par we break from
12654 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12656 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12658 * MenuBackend.C (expand): also create menu entries for wide
12659 versions of the floats.
12661 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12663 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12665 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12666 frontends/Makefile.am
12672 * tabular.C (getTokenValue): add std::
12674 * tabular-old.C (getTokenValue): add std::
12675 (getTokenValue): ditto
12676 (getTokenValue): ditto
12678 * screen.C (ToggleSelection): adjust
12680 * lyxtext.h: put selection cursors inside a Selection struct.
12682 * lyxfunc.C (moveCursorUpdate): adjust
12684 * lyxfont.C (latexWriteStartChanges): add std::
12686 * lyxfind.C: adjust
12688 * font.h: delete with(char const *, LyXFont const &)
12690 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12692 * FontInfo.C (getFontname): add std::
12694 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12695 (workAreaButtonPress): adjust
12696 (tripleClick): adjust
12698 (moveCursorUpdate): adjust
12701 * BufferView2.C (gotoInset): adjust
12703 2001-05-30 Juergen Vigna <jug@sad.it>
12705 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12706 to check pspell I add this as default as I now have new pspell
12707 libraries and they seem to use this.
12709 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12711 * text2.C (CutSelection): make the cursor valid before the call to
12714 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12716 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12717 relied on 0 terminated strings and other horrors. Bug found due to
12718 the new assert in lyxstring!
12720 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12723 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12725 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12728 * lyxfunc.C (processKeySym): change method of getting to the
12731 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12732 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12733 * BufferView_pimpl.[Ch]: here as private methods.
12735 2001-05-28 Juergen Vigna <jug@sad.it>
12737 * text.C (SetHeightOfRow): added the update() call again as it is
12738 needed to initialize inset dimensions!
12740 2001-05-16 Juergen Vigna <jug@sad.it>
12742 * text2.C (SetCharFont): Add new function with BufferView * and
12743 bool toggleall parameters for setting insets internal fonts.
12744 (SetFont): Freeze the undo as we may change fonts in Insets and
12745 all this change should be inside only one Undo!
12747 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12748 setting font's in insets as for them we have the SetFont function!
12750 2001-05-15 Juergen Vigna <jug@sad.it>
12752 * text2.C (ClearSelection): to be sure we REALLY don't have any
12755 * tabular.C (TeXCellPreamble): fixed the left border problem for
12758 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12760 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12763 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12765 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12766 LFUN_BREAKPARAGRAPH.
12768 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12769 help test to "internal only", similar for LFUN_INSERT_URL
12771 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12772 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12773 auto_region_delete and deadkeys.
12775 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12778 * LColor.C: remove some dead entries, tidy a little
12780 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12782 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12784 (Dispatch): implement LFUN_ESCAPE
12786 * commandtags.h: add LFUN_ESCAPE
12788 * LyXAction.C (init): add entry for LFUN_ESCAPE
12790 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12791 Remove commented code.
12792 (insertNote): moved here
12793 (open_new_inset): moved here
12795 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12798 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12800 * kbmap.C (findbinding): clean it up and make it work correctly.
12802 * lyx_main.C (init): do not pass argc and argv as parameters
12804 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12806 * buffer.C: fix path for OS/2 & Win32
12810 * lyx_main.C: Added os:: class.
12812 * os2_defines.h: update
12814 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12816 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12817 better by trying again with reduced state.
12819 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12821 * lyxrc.C (read): print error about invalid key sequence only when
12822 debugging (because not all latinX keysyms are known to some X
12825 * kbsequence.C (getiso): add a few std:: qualifiers
12826 (getiso): comment out extra return statement.
12828 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12830 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12832 (Dispatch): enhance the accent inset a bit. (not perfect)
12834 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12836 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12838 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12840 * bufferlist.C (emergencyWrite): fix assert() call
12842 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12844 * text.C (InsertChar): Added trivial patch to only send the "you
12845 can not do multiple spaces this way" message once during a
12848 2001-05-08 Baruch Even <baruch@lyx.org>
12850 * Makefile.am: Changed order of libraries to get LyX to link properly
12851 with the gnome frontend.
12853 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12855 * LaTeXFeatures.h: add a std:: qualifier
12857 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12859 * paragraph.C (String): use stringstream
12861 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12863 * paragraph.C (writeFile): remove footflag arg
12865 * buffer.C (makeLaTeXFile): use stringstream
12866 (latexParagraphs): remove footnot gurba
12868 * LaTeXFeatures.C (getPackages): use stringstream
12869 (getMacros): likewise
12870 (getTClassPreamble): likewise
12871 (getFloatDefinitions): new method
12873 * paragraph.C (writeFile): reindent
12876 * WorkArea.h: revert the xpos + etc changes.
12878 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12880 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12882 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12883 (pasteSelection): likewise
12884 * text2.C (CreateUndo): likewise
12886 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12888 * minibuffer.C (peek_event): temporarily reduce the functionality
12889 of the minibuffer (to allow args on lfuns)
12891 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12892 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12894 * buffer.C (readInset): add compability reading of old float
12895 lists, add reading of new style float list.
12896 (readInset): avoid reevaluation of inscmd.getCmdName()
12897 (getLists): reindent
12899 * MenuBackend.C (MenuItem): implement parsing of
12900 md_floatlistinsert and md_floatinsert.
12901 (expand::LastFiles): move initalizaton of iterators out of loop,
12902 avoid reevaluation.
12903 (expand::Documents): introduce typdedef vector<string> Strings,
12905 (expand::ExportFormats): introduce typedef vector<Format const *>
12906 Formats, and use it.
12907 (expand): implement FloatListInsert and FloatInsert.
12909 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12910 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12911 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12913 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12915 (Dispatch::LFUN_FLOAT_LIST): implement
12917 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12919 * LaTeX.C (run): Fix problem with --export code.
12921 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12923 * BufferView.[Ch] (workarea): removed.
12924 (getClipboard) new method; wrapper for workarea()->getClipboard()
12926 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12929 * WorkArea.h (width, height, xpos, ypos): These methods all
12930 returned the dimensions of the work_area sub-area of WorkArea,
12931 resulting in a position error if the WorkArea were resized. Now
12932 return the dimensions of the entire WorkArea.
12934 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12936 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12938 * LaTeX.C (deplog): correct the syntax of regex reg1
12940 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12942 * undo.C: remove !NEW_INSETS cruft
12944 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12946 * text2.C: remove !NEW_INSETS cruft
12948 * text.C: remove !NEW_INSETS cruft
12950 * tabular.C: remove !NEW_INSETS cruft
12952 * spellchecker.C: remove !NEW_INSETS cruft
12954 * lyxtext.h: remove !NEW_INSETS cruft
12956 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12958 * lyxfunc.C: remove !NEW_INSETS cruft
12960 * lyxfind.C: remove !NEW_INSETS cruft
12962 * lyx_cb.C: remove !NEW_INSETS cruft
12964 * figureForm.C: remove !NEW_INSETS cruft
12966 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12968 * buffer.[Ch]: remove !NEW_INSETS cruft
12970 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12972 * CutAndPaste.C: remove !NEW_INSETS cruft
12974 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12976 * BufferView2.C: remove !NEW_INSETS cruft
12978 * BufferView.h: remove !NEW_INSETS cruft
12980 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12982 * Lsstream.h: include LString.h before the sstream headers to
12983 fix problem with gcc 2.95.3 and lyxstring
12985 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12987 * lyx_main.C: add using directives when needed for C functions
12988 declared in std:: namespace.
12990 2001-04-27 Juergen Vigna <jug@sad.it>
12992 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12993 (SetHeightOfRow): comment out the update call should not be needed!
12995 2001-04-13 Juergen Vigna <jug@sad.it>
12997 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12998 (LyXTabular): tried to minimize operator= operations (and realized
12999 hopfully Lars wish).
13001 2001-04-27 Juergen Vigna <jug@sad.it>
13003 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13005 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13007 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13009 * buffer.C (readInset): hack to make listof algorithm work
13011 * BufferView_pimpl.C: hack to make listof algorithm work
13013 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13015 * LyXAction.C: removed all !NEW_INSETS cruft
13016 (init): moved lfun_item in method
13018 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13020 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13022 * BufferView2.C (theLockingInset): white space.
13024 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13026 * minibuffer.C: include <iostream>
13028 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13030 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13032 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13034 * text.[Ch] (TransposeChars): new method
13036 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13038 * call message directly through LyXView instead of through LyXFunc
13039 * BufferView2.C: adjust
13040 * BufferView_pimpl.C: adjust
13041 * FontLoader.C: adjust
13043 * bufferview_funcs.C: adjust
13044 * converter.C: adjust
13045 * figureForm.C: adjust
13046 * importer.C: adjust
13048 * lyx_gui_misc.C: adjust
13049 * lyxfunc.C: adjust
13052 + more files in subdirs
13054 * lyxparagraph.h (size): move up int file
13057 * adjust all uses of Assert to lyx::Assert.
13059 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13060 lyxfunctional in namespace lyx
13061 * layout.C (hasLayout): ditto
13064 (delete_layout): ditto
13065 (NumberOfClass): ditto
13066 * converter.C (GetFormat): ditto
13071 * bufferlist.C (getFileNames): ditto
13072 (emergencyWriteAll): ditto
13075 * MenuBackend.C (hasSubmenu): ditto
13078 * BufferView_pimpl.C (getInsetByCode): ditto
13080 2001-04-18 Juergen Vigna <jug@sad.it>
13082 * vspace.C (asLatexString): fixed the 100% problem.
13084 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13086 * lyxfunc.C (Dispatch):
13088 * minibuffer.h: add a few std:: qualifiers
13090 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13092 * minibuffer.[Ch]: reimplement so that commands is initiated and
13093 run from lyxfunc, simplified som handling, and made the completion
13094 and history code for complete. wip.
13096 * lyxfunc.C (processKeySym): call message
13097 (miniDispatch): new temporary method
13098 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13099 (LFUN_MESSAGE): implement
13100 (LFUN_MESSAGE_PUSH): implement
13101 (LFUN_MESSAGE_POP): implement
13102 (initMiniBuffer): the initial/defualt minibuffer message.
13104 * lyxfont.[Ch]: inline some more getters
13106 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13108 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13110 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13111 (AutoSave): use LFUN_MESSAGE
13112 (Reconfigure): ditto
13114 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13116 * figureForm.C: use LFUN_MESSAGE
13118 * converter.C (runLaTeX): use LFUN_MESSAGE
13120 * bufferview_funcs.C: use LFUN_MESSAGE
13122 (changeDepth): ditto
13124 * bufferparams.h: use boost::
13126 * bufferlist.h: inherit privately from noncopyable
13128 * bufferlist.C (loadLyXFile): remove some commented code.
13130 * buffer.C (runChktex): use LFUN_MESSAGE
13132 * ShareContainer.h: inherit privately from noncopyable
13134 * ParagraphParameters.[hC] (depth): inline it.
13136 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13138 (message): new method
13139 (messagePush): ditto
13140 (messagePop): ditto
13141 (show): init minibuffer
13142 (showState): direct call
13144 * LaTeX.[Ch]: inherit privately from noncopyable
13145 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13146 instead of WriteStatus.
13148 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13150 * BufferView_pimpl.C (buffer): don't init minibuffer
13151 (workAreaButtonPress): use LFUN_MESSAGE
13152 (workAreaButtonRelease): ditto
13153 (savePosition): ditto
13154 (restorePosition): ditto
13155 (MenuInsertLyXFile): ditto
13156 (workAreaExpose): don't init minibuffer
13157 (update): remove commented code, simplify
13159 * BufferView2.C (openStuff): use LFUN_MESSAGE
13160 (toggleFloat): ditto
13163 (copyEnvironment): ditto
13164 (pasteEnvironment): ditto
13169 (updateInset): remove some commented code
13171 * lastfiles.h: inherit privately from noncopyable
13174 * lyx_main.h: ditto
13176 * lyxlex_pimpl.h: ditto
13178 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13179 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13180 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13182 * LyXAction.h: inherit privately from noncopyable, add methods
13183 func_begin, func_end, returning iterators to the func map.
13185 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13186 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13187 (func_begin): new method
13188 (func_end): new method
13190 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13192 (copySelection): ditto
13193 (pasteSelection): ditto
13195 * BufferView.C: whitespace change
13196 * BufferView.h: inherit privately from noncopyable
13198 2001-04-16 Allan Rae <rae@lyx.org>
13200 * tabular-old.C (l_getline):
13201 * spellchecker.C (sc_check_word):
13202 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13203 an unrecognised preprocessor directive. So ensure they're wrapped.
13205 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13207 * src/exporter.C (Export): Give an error message when path to file
13210 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13212 * LaTeX.C (deplog): Always check that foundfile exists.
13214 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13217 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13219 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13221 * tabular.[Ch] (getLabelList): implement new method
13223 * minibuffer.h: comment ouf setTiimer
13225 * minibuffer.C (ExecutingCB): constify res
13226 (peek_event): constify s
13227 (Set): constify ntext
13228 (Init): constify nicename
13230 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13232 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13233 (savePosition): use two params to Minibuffer::Set
13234 (restorePosition): ditto
13236 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13238 * lyx_main.C: include language.h
13240 * Makefile.am (lyx_main.o): add language.h
13242 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13248 * CutAndPaste.C: include gettext.h
13250 * lyxfont.h: remove old hack with ON and OFF.
13253 * lyxfont.h: do not include language.h...
13258 * bufferview_funcs.C:
13264 * paragraph.C: ... but do it here instead
13266 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13268 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13270 * tabular.C: small reformat
13272 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13275 (BreakParagraph): ditto
13276 (SetOnlyLayout): ditto
13279 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13282 * lastfiles.C: removed most using decl, add std:: where needed
13284 * buffer.C: ws changes
13286 * MenuBackend.C (class compare_format): put into anon namespace
13287 (expand): constify label, names, action, action2
13290 * text.C (SingleWidth): constify font
13291 (IsBoundary): constify rtl2
13292 (GetVisibleRow): constify ww
13294 * LaTeX.C (deplog): constify logfile
13296 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13298 (workAreaExpose): constify widthChange, heightChange
13300 * lyxrow.C (par): moved
13303 * lyxrow.h: as inlines here
13305 * lyxfont.h (shape): moved from lyxfont.C
13306 (emph): moved from lyxfont.C
13308 * lyxfont.C (LyXFont): use initialization list for all
13310 (shape): move to lyxfont.h as inline
13311 (emph): move to lyxfont.h as inline
13314 2001-04-04 Juergen Vigna <jug@sad.it>
13316 * vspace.C: had to include stdio.h for use of sscanf
13318 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13321 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13322 independent of xforms.
13324 2001-04-02 Juergen Vigna <jug@sad.it>
13326 * spellchecker.C: fixed namespace placing!
13328 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13330 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13331 the LyXParagraph * is 0.
13333 2001-03-29 Juergen Vigna <jug@sad.it>
13335 * vspace.C: added support for %, c%, p%, l%.
13336 (stringFromUnit): added helper function.
13337 (asLatexString): changed to give right results for the %-values.
13339 * buffer.C: convert the widthp in a width%.
13341 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13343 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13346 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13347 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13349 * lyx_cb.[Ch]: see above.
13351 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13355 * lyx.[Ch]: replaced by figure_form.[Ch].
13359 * lyxfunc.C: changed headers associated with above changes.
13361 2001-03-27 Juergen Vigna <jug@sad.it>
13363 * BufferView_pimpl.C: set the temporary cursor right!
13365 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13367 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13369 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13371 * LString.h: removed "using std::getline"!
13373 * BufferView_pimpl.C (Dispatch): changes due to changes in
13374 InsetInclude::Params.
13376 * buffer.C (tag_name): removed redundant break statements as they were
13377 producing lots of warnings with my compiler.
13379 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13381 * LString.h: add "using std::getline" when using the real <string>.
13383 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13385 * buffer.C: removed bitset usage.
13386 PAR_TAG moved to an anonymous name space.
13387 (tag_name): new funtion, also in the anonymous namespace.
13388 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13389 (makeDocBookFile): clean code. Completed transition from string arrays
13391 (SimpleDocBookOnePar): code clean.
13393 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13395 * tabular.C: add some comments.
13397 2001-03-22 Juergen Vigna <jug@sad.it>
13399 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13400 compatibility read a bit and fixed bug with minipage in different
13403 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13405 * buffer.C (pop_tag): removed.
13406 (push_tag): removed.
13407 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13408 array replaced with vector. Added support for CDATA sections.
13409 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13411 (makeDocBookFile): XML conformant declaration of CDATA section,
13412 fixed bug related to <emphasis> in the first paragraph char.
13413 (sgmlOpenTag): exclude empty tags.
13414 (sgmlCloseTag): ditto.
13416 * buffer.h (pop_tag): removed.
13417 (push_tag): removed.
13419 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13421 * language.h (Languages): added size_type and size().
13423 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13425 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13426 response on compability reading of minipages. One probliem is that
13427 the old usage of minipages was «flertydig»
13429 * several files here and in subdirs: don't use static at file
13430 scope use anon namespaces instead.
13432 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13434 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13435 LaTeX output. This is necessary for Literate document
13438 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13440 * buffer.C: insert hfill when needed.
13442 * tabular.C (l_getline): use string::erase, small whitespace change.
13444 * BufferView_pimpl.C: try the anon namespace.
13445 * WorkArea.C: ditto
13447 2001-03-16 Juergen Vigna <jug@sad.it>
13449 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13450 otherwise it won't open options-dialogs.
13452 * buffer.C: honor pextraWidth(p) on converting minipages.
13454 * tabular.C (l_getline): changed the functions to strip trailing \r.
13456 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13458 * BufferView_pimpl.C:
13459 * minibuffer..C: added "using SigC::slot" declaration.
13461 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13463 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13469 * paragraph.C: ditto
13471 * lyxtext.h: NO_PEXTRA
13473 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13475 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13476 * ParameterStruct.h: ditto
13477 * ParagraphParameters.h: ditto
13478 * lyxparagraph.h: ditto
13480 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13482 * buffer.C: add compability for minipage alignment.
13483 (latexParagraphs): remove unwanted pextra check.
13485 * several files: remove CXX_WORKING_NAMESPACES
13487 * buffer.C (pop_tag): tie is in namespace boost
13489 * BufferView.h: noncopyable is in namespace boost
13491 * lyx_main.h: ditto
13494 * lastfiles.h: ditto
13495 * bufferlist.h: ditto
13496 * ShareContainer.h: ditto
13498 * LyXAction.h: ditto
13501 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13503 * Merging changes from BRANCH_MVC back into HEAD.
13505 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13507 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13509 * BufferView_pimpl.C: change from intl.C
13513 * Makefile.am: move combox.*
13519 * intl.C: remove dialog (covered by prefs)
13521 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13523 * lyxfunc.C (Dispatch): removed redundant break statement.
13525 2001-03-14 Juergen Vigna <jug@sad.it>
13527 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13529 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13531 * buffer.C: add hack to fix compability reading of minipages.
13533 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13535 * buffer.C (getLists): Cleanup.
13537 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13539 * lyxfont.C (update): don't honor toggleall on font size.
13541 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13545 * Makefile.am: moved to frontends/xforms/
13549 * BufferView_pimpl.C: changes for moved mathpanel
13551 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13553 * gettext.h: fix gettext_init() in --disable-nls
13555 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13557 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13559 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13562 * lyx.h: strip external form
13564 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13566 * BufferView_pimpl.C: add comment, destroySplash()
13568 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13570 * BufferView_pimpl.C:
13574 * lyxfunc.C: use re-worked insetinclude
13576 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13578 * buffer.C: add using std::stringstream.
13580 * lyx_cb.C: readd using std::ios.
13582 * buffer.C: add using std::map.
13584 * BufferView_pimpl.C: add using std::vector.
13586 * ShareContainer.h: add std:: to swap.
13588 * buffer.h: add some typedefs
13589 * buffer.C (getLists): use them
13590 (getLists): renamed from getTocList.
13591 add a counter for the different float types and use it in the
13593 (getLists): use the same counter for the NEW_INSETS and the "non"
13596 * lyx_cb.h: remove unused items, includes, using etc.
13598 * ShareContainer.h: remove some commented code, add more comments
13599 and "documentation".
13601 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13603 * buffer.C (getTocList): make the list also when NEW_INSETS is
13606 * buffer.h: remove TocType
13608 * buffer.C (getTocList): change to return a map<string,
13609 vector<TocItem> >, implement for dynamic number of list.
13611 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13612 * text2.C (PasteSelection): adjust
13613 * CutAndPaste.C (pasteSelection): adjust
13615 * FloatList.C (FloatList): update from the new_insets branch.
13616 * Floating.[Ch]: ditto
13617 * LaTeXFeatures.C: ditto
13619 * lyxlex_pimpl.C: ditto
13621 * paragraph.C (Last): remove when NEW_INSETS is defined.
13623 * other file: changes because of the above.
13625 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13627 * lyxparagraph.h: rename next to next_, previous to previous_,
13628 make them private for NEW_INSETS. Rename Next() to next(),
13629 Previous() to previous().
13631 * other files: changes because of the above.
13633 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13636 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13639 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13641 * main.C (main): pass lyx_localedir to gettext_init().
13643 * gettext.h: remove locale_init and gettext_init macros
13645 * gettext.C (locale_init): new function
13646 (gettext_init): new function
13648 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13651 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13653 * Moved credits to frontends:
13654 * credits.[Ch]: removed
13655 * credits_form.[Ch]: removed
13656 * lyx_gui_misc.C: remove credits stuff
13659 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13661 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13663 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13664 unneeded destructor.
13666 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13667 a standalone pointer again.
13669 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13671 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13677 * ToolbarDefaults.C:
13686 * BufferView_pimpl.C: use new file dialog in GUII
13689 * lyx_cb.C: remove LayoutsCB to Toolbar
13691 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13693 * ShareContainer.h (get): add std:: qualifier
13695 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13697 * ShareContainer.h: define a proper ShareContainer::value_type
13698 type (and use typename to please compaq cxx)
13700 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13702 * lyxparagraph.h: move serveral local vars to
13703 ParameterStruct/ParagraphParameters., use ShareContainer in
13704 FontTable., make vars in FontTable private and add getter and
13707 * paragraph.C: changes because of the above.
13709 * lyxfont.h: remove copy constructor and copy assignment. (the
13710 default ones is ok), move number inside FontBits. move inlines to
13713 * lyxfont.C: add number to initializaton of statics, move several
13714 inlines here. constify several local vars. some whitespace
13715 cleanup. Dont hide outerscope variables.
13717 * Spacing.h: add two new constructors to match the set methods.
13719 * ShareContainer.h: new file, will perhaps be moved to support
13721 * ParameterStruct.h: new file
13723 * ParagraphParameters.h: new file
13725 * ParagraphParameters.C: new file
13727 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13728 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13730 * BufferView_pimpl.C: ParagraphParameter changes.
13731 * buffer.C: Likewise.
13732 * bufferview_funcs.C: Likewise.
13733 * text.C: Likewise.
13734 * text2.C: Likewise.
13736 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13738 * lyxfind.C (LyXReplace): do not redefine default argument in
13740 (IsStringInText): ditto
13741 (SearchForward): ditto
13742 (SearchBackward): ditto
13744 2001-03-06 Juergen Vigna <jug@sad.it>
13746 * lyxfind.C (IsStringInText): put parentes around expressions.
13748 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13750 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13752 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13754 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13756 * stl_string_fwd.h: add comment
13758 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13761 * tabular.C: remove unused DocBook methods
13767 killed DO_USE_DEFAULT_LANGUAGE
13769 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13771 * lyx_gui.C: do not include language.h.
13773 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13774 arguments in function implementation.
13776 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13778 * BufferView_pimpl.C: add <ctime>
13780 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13782 * BufferView_pimpl.C: add using std::find_if
13784 2001-02-27 José Matos <jamatos@fep.up.pt>
13786 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13789 2001-02-11 José Matos <jamatos@fep.up.pt>
13791 * buffer.C (makeDocBookFile): command styles now have a parameter as
13792 "title" by default.
13794 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13796 * layout_forms.[Ch]: removed
13797 * lyx_cb.[Ch]: out character
13798 * lyx_gui.C: out character
13799 * lyx_gui_misc.C: out character
13800 * bufferview_funcs.C: : out character,
13801 added toggleall as parameter in ToggleAndShow
13803 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13805 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13807 * text2.C (SetCurrentFont): Disable number property at boundary.
13809 2001-02-26 Juergen Vigna <jug@sad.it>
13811 * lyxfunc.C (getStatus): added a string argument override function so
13812 that this is correctly called from LyXFunc::Dispatch if it contains a
13813 do_not_use_argument which is used!
13814 (Dispatch): added check for "custom" export and call appropriate func.
13816 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13818 * lyxrc.C: Add language_command_local, language_use_babel and
13819 language_global_options.
13821 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13823 * buffer.C (makeLaTeXFile): Use language_use_babel and
13824 language_global_options.
13826 2001-02-23 Juergen Vigna <jug@sad.it>
13828 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13829 which works with LyXText and putted it inside BufferView. Here now we
13830 only call for that part the BufferView::Dispatch() function.
13832 * BufferView.C (Dispatch): added.
13834 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13835 functions which needs to use a LyXText over from LyXFunc.
13836 (MenuInsertLyXFile): added
13837 (getInsetByCode): added
13838 (moveCursorUpdate): added
13839 (static TEXT): added
13841 2001-02-22 Juergen Vigna <jug@sad.it>
13843 * BufferView_pimpl.C (update): call a status update to see if LyXText
13846 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13848 * vc-backend.C (revert): implement for CVS
13849 (getLog): implement for CVS
13851 2001-02-20 Juergen Vigna <jug@sad.it>
13853 * text2.C (ClearSelection): added BufferView param for inset_owner call
13855 * lyxfunc.C (TEXT): added this function and use it instead of
13856 directly owner->view()-text of getLyXText().
13858 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13860 * src/layout_forms.C: out preamble
13861 * src/layout_forms.h: out preamble
13862 * src/lyx_cb.C: out preamble
13863 * src/lyx_cb.h: out preamble
13864 * src/lyx_gui.C: out preamble
13865 * src/lyx_gui_misc.C: out preamble
13866 * src/lyxfunc.C: connect with guii preamble
13868 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13870 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13872 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13874 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13875 whether to run bibtex.
13877 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13879 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13881 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13883 * Makefile.am (lyx_SOURCES): removed bibforms.h
13885 * vspace.h: doxygen
13887 * text.C (GetVisibleRow): make several local vars const
13889 * tabular.C: small cleanup.
13891 * lyxserver.C (callback): use compare instead of strncmp
13893 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13894 inlines to after class or to paragraph.C
13896 * lyxfont.h: remove friend operator!=
13898 * converter.h: move friend bool operator< to non friend and after
13901 * combox.h: small cleanup
13903 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13904 to inlines after class def.
13906 * buffer.C (pop_tag): use string operations instead of strcmp
13908 * bmtable.c: doxygen, small cleanup
13910 * LaTeX.h: remove friend operator==
13912 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13924 * BufferView_pimpl.C:
13925 * BufferView.[Ch]: remove cruft
13927 2001-02-14 Juergen Vigna <jug@sad.it>
13929 * lyxfunc.C: removed #if 0 unused code
13931 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13933 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13935 * text2.C (SetSelection): added a BufferView * parameter
13937 2001-02-13 Juergen Vigna <jug@sad.it>
13939 * lyxfunc.C (Dispatch): fixed protected blank problem.
13940 * BufferView2.C (protectedBlank): added LyxText * parameter.
13942 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13943 (AppendColumn): same as above for column_info.
13945 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13946 (moveCursorUpdate): use a LyXText param for support of InsetText.
13948 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13949 (tripleClick): ditto
13951 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13953 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13955 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13957 * text2.C (SetSelection): set correct update status if inset_owner
13958 (ToggleFree): ditto
13960 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13962 * tabular.C: remove some commented code.
13964 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13966 * BufferView_pimpl.C: call hideSplash()
13968 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13971 * bibforms.h: remove
13974 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13975 add LFUN_CHILD_CREATE
13977 * counters.h: fix tiny typo
13982 * lyx.C: move splash to frontends/xforms/
13984 * lyx_gui_misc.C: move Include and Bibform to frontends
13986 * lyxvc.h: clarify comment
13988 * vspace.C: tiny housekeeping
13990 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13992 * text.C (PrepareToPrint): RTL Fix.
13994 * paragraph.C (GetUChar): New method.
13995 (String): Use GetUChar.
13997 * buffer.C (asciiParagraph): Use GetUChar.
13999 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14001 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14003 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14006 * buffer.C: rename to getLogName(), handle
14007 build log / latex log nicely
14009 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14012 * MenuBackend.h: remove support for reference menuitem type.
14014 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14016 * BufferView_pimpl.C: housekeeping
14017 * BufferView_pimpl.h:
14022 * minibuffer.h: move Timeout GUI-I
14024 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14026 * lyxrc.C (read): Update converters data-structures.
14028 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14030 * LaTeX.h (operator!=): add operator != for Aux_Info
14032 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14034 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14036 * LaTeXLog.C: deleted, useful code moved to Buffer
14039 * buffer.C: new function getLatexLogName()
14045 * lyxfunc.C: use frontends for LaTeX and VC logs
14047 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14049 * LaTeX.h: yet another std:: that Allan forgot.
14051 * Variables.C (set): renamed from isset(), because this clashes
14052 with some HP-UX macros (grr).
14054 2001-02-06 Allan Rae <rae@lyx.org>
14056 * LaTeX.h: Another bug fix. Missing std:: this time.
14058 2001-02-04 Allan Rae <rae@lyx.org>
14060 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14061 floats problem. I've left it commented out because it's not quite
14062 correct. It should also test that the current object is a table or
14063 figure inset. But I haven't gotten around to figuring out how to do
14064 that. I *think* it'll be something like: "table" == inset.type()
14066 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14069 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14071 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14072 all the citation/databases/styles in the auxilary file.
14073 (run): Rerun latex if there was a babel language error.
14075 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14077 * text.C (Backspace): Preserve the font when changing newline char
14079 (BreakParagraph): If the cursor is before a space, delete the space.
14081 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14083 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14085 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14086 new argument (code).
14087 (ChangeCitationsIfUnique): New method.
14089 * paragraph.C (GetPositionOfInset): Handle bibkey.
14091 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14093 * BufferView_pimpl.h: change type of Position::par_pos to
14094 LyXParagraph::size_type.
14096 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14098 * BufferView_pimpl.C (savePosition, restorePosition): Write
14099 messages to minibuffer.
14101 2001-01-28 José Matos <jamatos@fep.up.pt>
14103 * buffer.C (makeDocBookFile): adds support for document language.
14104 A silly restriction on the name of LatexCommand types where removed.
14105 Added support for CDATA sections, allows to chars unescaped, used
14106 among others in code, to avoid escape < and >.
14108 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14110 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14111 saved positions instrad of a stack. Furthermore, a position is
14112 stored using paragraph id/paragraph position.
14114 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14115 Remove LFUN_REF_BACK.
14117 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14119 * converter.C (dvipdfm_options): New method.
14121 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14123 * vspace.C (isValidLength): Fix for empty input string.
14125 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14127 * LyXAction.C (init): change description of LFUN_FIGURE to
14130 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14132 * LaTeX.C: add using directive
14134 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14136 * MenuBackend.C (expand): Fix the sorting of the formats.
14138 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14140 * lyx_main.C: tiny error message fix
14142 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14144 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14145 calling fl_initialize(). This fixes the problem with ',' as
14146 decimal separator in text files.
14148 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14150 * trans.C (process): Fix the keymap bug.
14152 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14154 * LaTeX.C (scanAuxFiles): New method. Provides support for
14155 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14156 (scanLogFile) Scan for "run BibTeX" messages.
14158 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14159 OT1 font encoding. Also, load the aecompl package if the ae
14162 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14164 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14166 * texrow.C (increasePos): turn two error messages into debug
14169 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14171 * LaTeX.C (scanAux): Handle the \@input macro.
14172 (runBibTeX): Use scanAux().
14174 * language.C (latex_options_): New field.
14176 * LaTeXFeatures.C (getMacros): Add language macros.
14178 * buffer.C (makeLaTeXFile): Small fix.
14180 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14182 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14184 * text2.C: add a using directive.
14186 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14191 * lyxfunc.C: kill LyXBell.
14193 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14195 * text.C (IsBoundary): Remove the error message
14197 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14199 * lyxrc.C (setDefaults): Correct initialization value for
14202 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14204 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14207 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14208 and GotoNextNote().
14210 * src/LyXAction.C: Added reference-next.
14212 * text.C (InsertChar): Use contains instead of strchr.
14214 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14216 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14218 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14219 alignment commands (when needed).
14221 * text.C (InsertChar): Add ':' to number separator chars.