1 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * buffer.C: increment format to 229.
5 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
8 * lyx_sty.[Ch]: remove minipageindent_def
14 * text3.C: remove LFUN_INSET_MINIPAGE
16 2003-12-28 Angus Leeming <leeming@lyx.org>
18 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
20 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
22 * text2.C (setParagraph): fix off-by-one crash
24 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
26 * output_docbook.C: header stuff for AGU
28 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
30 * text2.C (redoCursor): remove
33 * BufferView_pimpl.C: remove calls to redoCursor and
34 setCursor(cursor.par(), cursor.pos()) all around
36 2003-12-15 Angus Leeming <leeming@lyx.org>
38 * buffer.C: up the format to 228.
40 2003-12-15 André Pönitz <poenitz@gmx.net>
42 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
56 2003-12-15 Angus Leeming <leeming@lyx.org>
58 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
59 than getFromGUIName to manipulate the color.
61 2003-12-14 Angus Leeming <leeming@lyx.org>
63 * BranchList.[Ch]: minimize the API.
64 (Branch::getBranch, getColor): now return a 'const &'.
65 (Branch::setSelected) now returns a bool set to true if the
66 selection status changes.
67 (BranchList::clear, size, getColor, setColor, setSelected,
68 allBranches, allSelected, separator): removed.
69 (BranchList::find): new functions, returning the Branch with
71 (BranchList::add, remove): return a bool indicating that
72 the operation was successful.
74 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
75 new InsetBranch::isBranchSlected member function.
77 * LColor.[Ch]: mimimize the API.
78 (fill): renamed as addColor and made private.
79 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
80 versions of these functions taking a string arg have been removed.
82 * bufferparams.C (readToken):
83 * lyxfunc.C (dispatch):
84 * lyxrc.C (read): changes due to the altered BranchList and
87 * factory.C (createInset, readInset): changes due to altered
90 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
93 * lyxfunc.C: remove insetminipage. "minipage-insert"
94 now produces a frameless minipage box inset.
96 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
98 * textcursor.[Ch] (selStart,selEnd): add new methods
99 remove selection::start, end, use LyXCursor::operator<
100 * lyxcursor.[Ch] (operator<): add
101 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
102 * BufferView.[Ch] (unsetXSel): add
103 * text2.C (clearSelection): use unsetXSel,adjust
106 * rowpainter.C: adjust
107 * bufferview_funcs.C (put_selection_at): adjust
109 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
111 * BufferView_pimpl.C: small coord. correction
113 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
115 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
116 dragging over the splash screen.
118 2003-12-11 Angus Leeming <leeming@lyx.org>
120 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
121 as it is now handled in LyXText::dispatch.
123 * text3.C (doInsertInset): remove a level of nesting.
125 2003-12-11 Angus Leeming <leeming@lyx.org>
127 * factory.C (createInset): changes due to the changed interface to
128 InsetCommandMailer::string2params.
130 2003-12-10 Angus Leeming <leeming@lyx.org>
132 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
133 'dialog-show-new-inset <inset name>'
135 2003-12-10 Angus Leeming <leeming@lyx.org>
137 * buffer.C: up the format to 227.
139 * factory.C: the box inset is now identified simply by 'Box'.
141 2003-12-10 Angus Leeming <leeming@lyx.org>
143 * buffer.C: up the format to 226.
145 * factory.C: the note inset is now identified simply by 'Note'.
147 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
149 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
150 when a pit is enough. Standarize a couple of loops.
152 2003-12-05 Angus Leeming <leeming@lyx.org>
154 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
155 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
156 data to the re-worked "log" dialog.
158 2003-12-03 André Pönitz <poenitz@gmx.net>
166 * text2.C: use Inset::getText instead of Inset::getParagraph
168 2003-12-03 André Pönitz <poenitz@gmx.net>
172 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
173 InsetText::read() as LyXText::read()
175 2003-12-02 Angus Leeming <leeming@lyx.org>
177 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
178 type. Add a comment in the implementation that the function uses
179 the stream's bad() function rather than fail() as the std::streams
182 2003-12-02 André Pönitz <poenitz@gmx.net>
184 * lyxlex.[Ch]: make interface more similar to std::stream
186 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
188 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
190 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
192 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
194 * vspace.[Ch]: remove VSpace::NONE
196 2003-12-01 André Pönitz <poenitz@gmx.net>
199 * lyxtext.h: move ParagraphList member to LyXText
200 rename LyXText::ownerParagraphs to LyXText::paragraph
203 * bufferview_funcs.C:
213 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
215 * undo.C: fix cursor positioning
217 2003-12-01 John Levon <levon@movementarian.org>
219 * BufferView_pimpl.C: fix a crash on exit with
222 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
224 * BranchList.C: fix setSelected() method.
226 2003-11-28 André Pönitz <poenitz@gmx.net>
228 * ParagraphParameters.[Ch]:
229 * ParameterStruct.h: remove space above/below from Paragraph to
232 * BufferView_pimpl.C:
244 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
246 * factory.C: Syntax change for CharStyles
248 2003-11-28 André Pönitz <poenitz@gmx.net>
253 * buffer.[Ch]: move LyXText member
255 2003-11-28 André Pönitz <poenitz@gmx.net>
257 * BufferView.[Ch]: make LyXText * text a private member
259 * BufferView_pimpl.C:
270 * output_plaintext.C: cleanup
272 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
275 * lyxtextclass.[Ch]: parametrize SGML document header
277 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
280 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
283 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
285 * text2.C (setFont): rework using PosIterator (no more recursive)
286 (setCharFont): no more needed
287 (setLayout): no more selection cursors fiddling (done by redoCursor)
288 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
289 destroy remaining ones)
291 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
293 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
295 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
298 * text3.C: adjust + re-allow multi par depth changes
299 * textcursor.C: simplify a bit
301 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
307 * src/output_docbook.C:
308 * src/output_latex.C:
313 * src/text2.C: Introducing a number of tags parametrizing various
314 XML formats that we may want to support
316 2003-11-25 André Pönitz <poenitz@gmx.net>
318 * InsetList.[Ch] (begein, end): inline as suggested by profiler
320 * lyxtext.h (leftMargin/rightMargin): simplify interface
327 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
329 * lyxfunc.C (dispatch): propogate the bibtex databases from the
330 master file to any child files. Fixes bug 546.
332 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
334 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
336 2003-11-24 André Pönitz <poenitz@gmx.net>
338 * rowpainter.C: simplification
340 * text2.C (updateCounters): remove call to redoParagraph on
341 changed labels as this is far too expensive.
343 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
345 * converter.C (convert): fix a crash: this function gets
346 called with buffer == 0 from importer code.
348 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
350 * text3.C (cursorPrevious): make sure that we do not compare
351 iterators form different containers.
354 * rowpainter.C (paintSelection): make sure that we do not compare
355 iterators from different containers.
357 * text3.C (dispatch): [PRIOR] make sure that we do not compare
358 iterators from different ParagraphList containers.
361 * text2.C (LyXText): change order of initialization slightly
362 (operator=): new function. copy all variables except cache_par_
363 (moveUp): make sure that we do not compare iterators from
364 different ParagraphList constainers.
367 * text.C (firstPar): new function
368 (lastPar): new function
369 (endPar): new function
371 * lyxtext.h: move things around and group public functions, public
372 variables, private functions, private variables
374 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
376 * factory.C: change call to InsetERT constructor to avoid
377 additional invocation of method status
378 * text2.C (toggleInset): remove redundant update() call
379 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
380 instead of a Bufferview pointer
382 2003-11-21 André Pönitz <poenitz@gmx.net>
384 * rowpainter.C: simplification
386 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
388 * text3.C (dispatch): make possible to extend a word/row selection
391 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
393 * lyxtext.h: x0_,y0_ -> xo_,yo_
394 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
395 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
396 * rowpainter.C (paintRows): paint full paragraphs
398 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
400 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
403 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
405 * lyxtext.h: add x0_, y0_
406 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
407 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
409 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
411 * text2.C (setCursorIntern): move the x_target update here *
412 * text3.C: change some bv() to true/false in calls to
413 cursorUp/Down/Right/Left
414 * cursor.C: use helper function.
416 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
418 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
419 * paragraph_funcs.[Ch]: correct comment
420 * rowpainter.C: do not paint selections away from bv->cursor()
421 Fix a long standing selection painting bug.
422 * text3.C: generalize mouse-selection code to LyXTexts other that
424 * textcursor.C: do not use y coords if we can use par offsets
426 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
428 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
429 cursor position after e.g. inset insert)
431 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
433 * lyxfind.C (replace): adjust to locking removal + some
436 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
438 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
441 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
444 * output_docbook.C: XML sanitation: new layout
445 parameters InnerTag and CommandDepth
447 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
449 * BufferView_pimpl.C:
451 * text3.C: Fix the insertion and modification of button-style
454 2003-11-13 André Pönitz <poenitz@gmx.net>
456 * InsetList.[Ch]: remove deleteLyXText
458 * paragraph.[Ch]: cache beginOfBody position
463 * text3.C: remove superfluous update() calls
467 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
469 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
470 * BufferView.C (fitLockedInsetCursor): remove
471 * cursor.[Ch] (getDim): add
472 * text.C (getRowNearY): add faster version
473 * text3.C: remove some update calls
475 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
487 * text3.C: The Character Style /XML short element patch.
489 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
492 * factory.C: Small step to solving 'unable to insert some insets'
495 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
497 * cursor.[Ch] (updatePos): new function for updating the y
498 position of the tip inset
499 * bufferview_funcs.C (put_selection_at):
500 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
502 2003-11-11 André Pönitz <poenitz@gmx.net>
504 * text.C: remove big comment on invalid Paragraph pointers as it is
507 2003-11-11 André Pönitz <poenitz@gmx.net>
509 * text_funcs.[Ch]: merge with ...
517 * Makefile.am: remove text_funcs.[Ch]
519 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
521 * cursor.C (getPos): return absolute cached y coord
523 * BufferView_pimpl.C (fitCursor): new simplistic code
524 (workAreaDispatch): add a fitCursor call
526 2003-11-10 André Pönitz <poenitz@gmx.net>
529 * BufferView_pimpl.[Ch]: merge update() and updateInset()
531 2003-11-10 André Pönitz <poenitz@gmx.net>
533 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
534 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
535 indicate that the cursor needs to leave an inset
537 * lyxtext.h: remove inset locking
539 * cursor.[Ch]: re-implement functionality provided by inset locking
542 * BufferView_pimpl.[Ch]:
544 * bufferview_funcs.[Ch]:
556 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
558 * PosIterator.[Ch]: replace the stack with a vector, add inset
560 * iterators.[C]: adjust
562 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
564 * lyxfind.C (replaceAll): mark the buffer dirty if something was
566 * paragraph_funcs.C (readParToken): put the correct id in the
567 error item, not the id of the top paragraph
569 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
571 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
572 * bufferview_funcs.C (put_selection_at): use the above
574 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
576 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
578 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
581 * output_plaintext.h:
583 * output_docbook.h: add #include statements
585 2003-11-05 José Matos <jamatos@lyx.org>
587 * output_docbook.[Ch]:
589 * output_linuxdoc.[Ch]:
590 * output_plaintext.[Ch]: New files for output formats.
591 * output.[Ch]: New file for helper functions.
594 * paragraph_funcs.[Ch]: output functions moved to new files.
596 * outputparams.h: rename of latexrunparams.h
604 * paragraph_funcs.[Ch]:
605 * paragraph_pimpl.[Ch]:
606 * tabular.[Ch]: rename ascii to plaintext
607 and LatexRunParams to OutputParams.
609 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
611 * iterators.[Ch] (text): require bv argument
612 * undo.C (recordUndo):
613 * lyxfunc.C (dispatch):
614 * bufferview_funcs.C (put_selection_at): adjust
616 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
618 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
620 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
622 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
625 2003-11-04 André Pönitz <poenitz@gmx.net>
627 * cursor.[Ch]: restructure
630 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
632 * iterators.[Ch] (asCursor): remove
634 * lfuns.h: remove LFUN_INSET_EDIT
640 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
642 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
644 * lyxfind.[Ch]: complete overhaul
645 * BufferView_pimpl.C:
647 * paragraph.[Ch] (insert): add
649 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
653 * text.C: remove dead spellcheck code
655 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
657 * dispatchresult.h: add a val setter
659 * cursor.C (dispatch): use a tempvar for data_[i]
661 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
663 * PosIterator.[Ch]: compile fix
665 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
667 * text.C (cursorPar): deactivate the cursor cache
669 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
671 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
673 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
675 * text3.C (dispatch): adjust for new DisptchResult semantics.
677 * lyxfunc.C (dispatch): handle update when return from
678 Cursor::dispatch, adjust for new DispatchResult semantics.
680 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
681 DispatchResult(true) mean to not update. Add class functions for
682 setting dispatched and update, as well as reading.
684 * cursor.C (dispatch): don't handle update here
686 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
688 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
689 * trans_mgr.C: adjust
691 * paragraph_funcs.C (readParToken): exception safety
693 * lyxvc.h: store the vcs pointer in a scoped_ptr
696 * lyxsocket.C (serverCallback): exception safety
698 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
700 * ispell.C (clone): make it return a auto_ptr
702 * factory.C (createInset): exception safety
703 (readInset): exception safety
705 * bufferlist.C (newBuffer): exception safety
707 * Thesaurus.C (Thesaurus): use initialization for aik_
709 * MenuBackend.C (expandToc): exception safety.
711 2003-11-03 André Pönitz <poenitz@gmx.net>
715 * bufferview_funcs.C: remove getInsetFromId()
718 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
724 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
726 * PosIterator.C (distance, advance): new
727 * bufferview_funcs.[Ch] (put_selection_at): new
728 * iterators.[Ch] (lockPath): new
730 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
732 * iterators.[Ch] (asPosIterator): added
733 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
734 * PosIterator.[Ch]: added
736 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
740 * cursor.C (dispatch):
741 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
743 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
744 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
745 contructor, add a class function dispatched. Remove operator>=
747 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
749 * debug.C: only use the default constructor for debugstream
752 * main.C (main): include debug.h and setup the lyxerr streambuf
755 2003-10-31 José Matos <jamatos@lyx.org>
757 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
759 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
760 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
761 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
762 * paragraph_pimpl.C (simpleTeXSpecialC):
763 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
764 add LatexRunParams argument.
766 * exporter.C (Export): change call accordingly.
768 * latexrunparams.h: add new member to take care of the other backends.
769 2003-10-30 José Matos <jamatos@lyx.org>
771 * buffer.C (makeLinuxDocFile, makeDocBookFile):
772 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
773 factorise code for paragraph output.
775 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
778 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
780 * text3.C (dispatch):
781 * lyxfunc.C (dispatch):
782 * cursor.C (dispatch):
783 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
785 * dispatchresult.h: make the dispatch_result_t ctor explicit
787 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
790 * buffer.C: small refactoring of docbook stuff
792 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
794 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
797 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
799 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
800 operator dispatch_result_t, and operators for == != and >=
802 * cursor.C (dispatch): adjust for operator dispatch_result_t
803 removal. comment out call to update
805 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
807 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
815 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
818 * dispatchresult.h: new file, DispatchResult broken out of
821 * Makefile.am (lyx_SOURCES): add dispatchresult.h
823 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
825 * text.C (rowBreakPoint): put a hack inside #if 0
827 2003-10-28 André Pönitz <poenitz@gmx.net>
834 * text2.C: general cleanup (lots of small stuff)
836 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
838 * text2.C (cursorEnd): simple fix to the "end key goes to one
839 before the end on last row" bug
841 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
843 * text.C (backspace): fix the "zombie characters"
845 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
847 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
849 2003-10-27 André Pönitz <poenitz@gmx.net>
851 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
853 * factory.C: handle new InsetPagebreak, InsetLine
855 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
856 and move handling into new InsetPagebreak, InsetLine
858 * BufferView_pimpl.C:
860 * ParagraphParameters.C:
873 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
882 * text3.C: remove lastPos uses in favour of Row::endpos
884 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
886 * undo.C (performUndoOrRedo): fix two crashes by setting a
887 cursor by hand and reordering some calls. Use bv->lockInset instead
888 of inset->edit because the latter loses cursor information
890 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
892 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
894 (rowBreakPoint): fix width. change point to point + 1.
897 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
900 * lyxfunc.C: fix (at least partly) the problems
901 with the Nav menu and headers inside branch insets
904 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
906 * paragraph.C (getChar): add strong asserts
908 * lyxrow_funcs.C (lastPos): remove hideous hack
910 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
911 (fill): adjust to that (avoid an infinite loop)
913 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
915 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
917 2003-10-23 André Pönitz <poenitz@gmx.net>
919 * RowList_fwd.h: change list<> to vector<> to gain speed
920 after suggestion from Alfredo
922 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
924 * lyxtext.h: move the bidi stuff from here...
927 * Bidi.[Ch]: ... to here
929 2003-10-23 André Pönitz <poenitz@gmx.net>
932 * text.C (isLastRow, isFirstRow): new functions
934 * paragraph.h: new width cache member
936 * rowpainter.C: replace RowList::iterator with Row & where possible
938 * lyxfunc.C: replace several view()->text with a single call
940 * toc.C: fix 'unused' warning
942 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
944 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
945 when woring with stream::pos_type
946 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
948 2003-10-22 André Pönitz <poenitz@gmx.net>
951 * text.C: use Row & instead of RowList::iterator
953 * lyxrow.h: rename end() to endpos()
959 2003-10-22 Angus Leeming <leeming@lyx.org>
961 * buffer.[Ch] (fully_loaded): new member function, returning true
962 only when the file has been loaded fully.
963 Used to prevent the premature generation of previews and by the
964 citation inset to prevent computation of the natbib-style label.
966 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
967 templates are all set up.
969 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
971 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
973 * text.C: fixed an "oops" in the "is a bit silly"
976 2003-10-21 André Pönitz <poenitz@gmx.net>
978 * FuncStatus.[Ch]: small stuff, whitespace
980 * lyxfont.[Ch]: operator<<() for debug reasons
984 * lyxtext.h: whitespace, spelling
986 * paragraph.C: naming of variables
989 * text2.C: small stuff
992 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
994 * text.C: (1) finish off the inset display() work;
995 (2) fix the "is a bit silly" bug (accessing char
998 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1000 * text.C: re-introduce display() for insets, fixing the
1001 various bugs (stretch of line above, math inset
1004 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1006 * text.C (rightMargin): remove spurious semicolon
1008 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1011 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1013 * text3.C: fix one crash due to wrong cursor def
1015 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1017 * vc-backend.C (scanMaster): make the regex static
1019 * LaTeX.C (scanAuxFile): make the regexs static
1021 * text3.C (doInsertInset, dispatch, dispatch):
1022 * text2.C (cursorUp, cursorDown):
1023 * text.C (selectNextWordToSpellcheck):
1024 * BufferView_pimpl.C (dispatch):
1025 * lyxfunc.C (dispatch): localDispatch -> dispatch
1027 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1029 * lyxsocket.C: include <cerrno>
1031 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1033 * lyxfunc.C (dispatch): remove textcache stuff
1035 * bufferlist.C (release): remove textcache stuff
1038 * TextCache.C: delete file
1039 * TextCache.h: delete file
1041 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1043 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1044 delete of the bv_->text.
1045 (resizeCurrentBuffer): remove texcache stuff
1046 (workAreaResize): ditto
1048 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1050 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1053 2003-10-16 André Pönitz <poenitz@gmx.net>
1060 * text3.C: speed up by storing y positions per paragraph plus per-row
1061 offset instead of having a 'full' y position in the row.
1063 2003-10-15 André Pönitz <poenitz@gmx.net>
1067 * undo.[Ch]: make undo aware of inner insets
1069 2003-10-14 Angus Leeming <leeming@lyx.org>
1071 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1072 static member functions LyX::ref() and LyX::cref.
1073 (lastfiles): new accessor functions for the new lastfiles_ member var.
1074 (addLyXView, views_): add a new LyXView to the list of views_.
1075 (updateInset): loop over all LyXViews to call their own updateInset
1076 member function, returning a pointer to the Buffer owning the inset.
1078 * BufferView_pimpl.C (loadLyXFile):
1079 * MenuBackend.C (expandLastfiles):
1080 * bufferlist.C (MenuWrite, QuitLyX):
1081 lastfiles is no longer a global variable.
1082 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1084 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1085 static function. Access through LyX::cref().emergencyCleanup().
1087 2003-10-14 André Pönitz <poenitz@gmx.net>
1089 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1091 * undo.[Ch]: restoring part of 'undo in insets'
1094 * undo_funcs.[Ch]: merge with undo.[Ch]
1096 * tabular.C: small cleansing stuff
1098 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1100 * paragraph_funcs.C (readParToken): report unknown insets as error
1101 boxes. Use the outer paragraph as location (also for unknown
1104 * factory.C (readInset): do not abort on reading an unknown inset.
1105 Eat it and return 0.
1107 2003-10-13 Angus Leeming <leeming@lyx.org>
1109 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1111 * lyxrc.C: displayTranslator is now a function,
1112 declared in GraphicsTypes.h.
1114 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1116 * format.C: new placeholder $$a to pass the socket address.
1118 * bufferlist.[Ch]: new function getBufferFromTmp.
1120 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1121 files in the temporary dir.
1123 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1125 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1127 * Makefile.am: add lyxsocket.[Ch].
1129 * lyx_main.C (error_handler): handle SIGPIPE.
1131 2003-10-13 André Pönitz <poenitz@gmx.net>
1133 * BufferView_pimpl.C:
1138 * undo_funcs.[Ch]: use paroffset_type instead of
1139 ParagraphList::iterators to prevent multiple conversion
1140 (and get a more robust interface)
1142 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1144 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1146 * text3.C (dispatch): ditto
1148 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1150 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1151 move the onlyfile, use onlyfile instead of foundfile in a couple
1154 * DepTable.C (update): flush the error stream a bit more
1156 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1158 * lyxserver.C (callback): adjust
1160 * lyxfunc.C (getStatus): add a missing brace in commented code
1161 (ensureBufferClean): reindent
1162 (dispatch): delete version taking a string
1164 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1166 * LaTeX.C (deplog): move found file handlig from here...
1167 (handleFoundFile): .. to new function here.
1168 (deplog): make sure to discover several files mentioned on the
1171 2003-10-10 André Pönitz <poenitz@gmx.net>
1178 * text3.C: fix some of the tabular crashes
1180 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1182 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1184 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1186 2003-10-09 André Pönitz <poenitz@gmx.net>
1188 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1191 * BufferView_pimpl.C:
1192 * bufferview_funcs.C:
1203 * undo_funcs.C: adjust
1205 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1207 * text2.C (incrementItemDepth): new function, use a backtracking
1208 algorithm to discover the correct item depth.
1209 (resetEnumCounterIfNeeded): new function, use a backtracking
1210 algorithm to discover if counter reset is needed.
1211 (setCounter): use them. Simplify a bit. Add different labels for
1212 different item depths for itemize.
1214 * paragraph.C (Paragraph): remove initialization of enumdepth
1217 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1218 enumerate and itemize. Change the type of itemdepth to signed char.
1220 2003-10-08 André Pönitz <poenitz@gmx.net>
1222 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1227 * tabular.[Ch]: fix crash after 'row-insert'
1229 2003-10-08 Angus Leeming <leeming@lyx.org>
1231 Fix doxygen warnings.
1233 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1234 Remove CutAndPaste:: prefix from header file declaration.
1236 * LColor.h (fill): remove LColor:: prefix from declaration.
1238 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1239 use lyx::depth_type rather than Paragraph::depth_type so that
1240 header file and .C file match.
1242 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1244 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1245 * aspell.C: \file aspell_local.C -> \file aspell.C
1246 * gettext.C: \file gettext.C -> \file src/gettext.C
1247 * gettext.h: \file gettext.h -> \file src/gettext.h
1248 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1249 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1250 * text.C: \file text.C -> \file src/text.C
1252 * toc.C: move comment so that doxygen is not confused.
1254 2003-10-07 Angus Leeming <leeming@lyx.org>
1256 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1258 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1261 * aspell_local.h: add forgotten std::string's.
1263 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1270 * text3.C: The Box patch. Fancybox support, minipage, parbox
1272 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1278 * ParagraphParameters.h:
1288 * lyxtextclasslist.h:
1291 * paragraph_pimpl.C:
1292 * textcursor.h: add <string> and other small fixes to make Lars'
1293 std::string patch compile with STLport.
1295 2003-10-06 Angus Leeming <leeming@lyx.org>
1297 * LColor.h: Add missing #include <string>.
1299 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1301 * All most all file in all subdirs: Make <string> be the prefered
1302 way of getting to std::string, add using declarations.
1304 2003-10-06 André Pönitz <poenitz@gmx.net>
1306 * metricsinfo.C: initialize LyXFont before changing attribute.
1307 (fixes the 'math in \emph is upright' bug)
1309 2003-10-06 André Pönitz <poenitz@gmx.net>
1311 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1313 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1316 * paragraph_pimpl.C: Small fixes to build using STLport
1318 2003-10-02 André Pönitz <poenitz@gmx.net>
1321 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1323 2003-10-01 André Pönitz <poenitz@gmx.net>
1325 * factory.C: assert early
1327 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1329 * lyx_main.C: remove the global debug object
1331 * debug.h: adjust for new debugstream
1333 * debug.C: adjust for new debugstream and keep the global debug
1336 2003-09-22 Angus Leeming <leeming@lyx.org>
1338 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1339 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1340 an incomplete class LyXFont.
1342 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1344 * factory.C: bug fix in branches
1346 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1348 * lyxfunc.C (processKeySym): adjust
1350 (dispatch): change arg name from ev to func, adjust
1351 (sendDispatchMessage): ditto
1353 * lyx_main.C (defaultKeyBindings): adjust keybindings
1354 (deadKeyBindings): ditto
1356 * kbsequence.C (addkey): return a FuncRequest
1358 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1360 * kbmap.C (bind): take a FuncRequest as arg, adjust
1363 (defkey): change to take a FuncRequest as arg, adjust
1364 (findbinding): take a FuncRequest as arg, adjust.
1366 * funcrequest.h (operator=): added
1368 * funcrequest.C (FuncRequest): default kb_action changed from
1369 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1371 * buffer.C (dispatch): simplify
1372 (dispatch): adjust to take a FuncRequest as arg, adjust
1374 * boost.C (assertion_failed): change assertion message slightly
1376 * ToolbarBackend.C (read): simplify
1378 * MenuBackend.C (binding): adjust call to findbinding, add a
1379 message if no binding is found.
1381 (expandToc): correct by adding a empty FuncRequest
1383 * LyXAction.C: include <boost/assert.hpp>
1384 (isPseudoAction): delete function
1385 (LookupFunc): change name to...
1386 (lookupFunc): this. change return type to FuncRequest.
1387 (getActionName): take kb_action as arg, simplify
1388 (funcHasFlag): add an assert, simplify.
1390 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1392 * toc.C (action): return a FuncRequest, simplify
1394 * lyxfunc.C (processKeySym): adjust
1395 (getStatus): delete version that takes an int.
1397 (dispatch): delete version that takes action as int
1399 (sendDispatchMessage): simplify and adjust
1401 * funcrequest.C (getArg): take unsigned int as arg
1403 * ToolbarBackend.C (read): adjust
1404 (add): delete version that takes func as a string.
1405 (getIton): take a FuncRequest as arg
1407 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1410 * MenuBackend.C (MenuItem): add a new construct that only takes a
1411 Kind, simplify the constructor use for submenus.
1413 (expandLastfiles): adjust
1414 (expandDocuments): adjust
1415 (expandFormats): adjust
1416 (expandFloatListInsert): adjust
1417 (expandFloatInsert): adjust
1418 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1420 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1421 Remove class variables lyx_pseudo_map and lyx_arg_map
1423 * LyXAction.C (searchActionArg): delete function
1424 (getPseudoAction): delete function
1425 (retrieveActionArg): delete function
1426 (LookupFunc): make it return kb_action, simplify.
1427 (getActionName): simplify
1429 * factory.C (createInset): fix new bug
1431 2003-09-19 Angus Leeming <leeming@lyx.org>
1433 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1434 masterFilename_ parameter in the include inset.
1436 * factory.C (createInset): changes due to the changes to InsetInclude.
1438 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1440 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1442 2003-09-18 Angus Leeming <leeming@lyx.org>
1445 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1446 Inset::fillWithBibKeys.
1447 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1449 2003-09-18 Angus Leeming <leeming@lyx.org>
1451 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1453 (ctor): pass and store a 'Buffer const &'
1454 (buffer): new member function.
1456 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1457 '*this' to the LaTeXFeatures ctor.
1459 2003-09-18 Angus Leeming <leeming@lyx.org>
1465 * text.C: rename EnumLColor as LColor_color.
1467 2003-09-18 Angus Leeming <leeming@lyx.org>
1469 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1470 remove #include "insets/insetbase.h" from cursor.h.
1472 2003-09-18 Angus Leeming <leeming@lyx.org>
1474 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1475 InsetOld_code to remove #include "inset.h".
1477 * iterators.C: add #include "insets/inset.h"
1479 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1481 * BufferView.C: remove more locking stuff that apparently doesn't
1482 do anything sensible.
1484 2003-09-16 André Pönitz <poenitz@gmx.net>
1487 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1490 2003-09-16 Angus Leeming <leeming@lyx.org>
1492 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1494 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1497 * paragraph.h: remove #include "lyxfont.h". Forward declare
1500 2003-09-16 Angus Leeming <leeming@lyx.org>
1502 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1503 of support/textutils.h.
1504 (isWord): move the contents of support/textutils.h's IsWordChar here.
1510 * text2.C: add #include "paragraph.h".
1513 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1515 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1521 * LaTeX.C: use namespace alias for lyx::support::os
1523 2003-09-16 Angus Leeming <leeming@lyx.org>
1526 * bufferview_funcs.C:
1529 * paragraph_pimpl.C:
1531 * text.C: add #include "LColor.h".
1533 2003-09-16 Angus Leeming <leeming@lyx.org>
1535 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1536 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1538 Store the FontBits::color variable as an int rather than as an
1539 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1542 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1543 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1544 string calls together.
1546 * lyxrc.C: add #include "LColor.h".
1548 2003-09-15 Angus Leeming <leeming@lyx.org>
1550 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1553 2003-09-15 Angus Leeming <leeming@lyx.org>
1555 * LColor.h: add an EnumLColor wrapper for LColor::color.
1557 * lyxfont.[Ch] (color, setColor, realColor):
1558 * lyxtext.h, text.C (backgroundColor):
1559 pass EnumLColor args to/from the functions, rather than LColor::color
1563 * lyxtext.h: forward declare EnumLColor.
1565 * lyx_main.C: add #include "LColor.h".
1567 2003-09-15 Angus Leeming <leeming@lyx.org>
1569 * .cvsignore: add lyx-gtk.
1571 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1576 * ParagraphParameters.C
1580 * bufferview_funcs.C
1590 * vc-backend.C: remove usage of STRCONV
1592 2003-09-15 Angus Leeming <leeming@lyx.org>
1594 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1595 explicitly define the color passed to the painter.
1597 2003-09-15 Angus Leeming <leeming@lyx.org>
1599 * bufferparams.C (BufferParams): reorder member initializers to avoid
1602 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1604 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1605 * text.C (updateRowPositions): remove an unusual nop
1607 2003-09-12 André Pönitz <poenitz@gmx.net>
1609 * BufferView_pimpl.C:
1618 * Counters.[Ch]: finish the 'automatic counters' job
1620 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1622 * aspell.C: include <boost/assert.cpp> (compile fix)
1624 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1626 * boost.C (assertion_failed): use lyx::support::abort instead of
1629 2003-09-10 Angus Leeming <leeming@lyx.org>
1631 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1632 with their _fwd progeny.
1634 2003-09-09 Angus Leeming <leeming@lyx.org>
1636 134 files throughtout the source tree: replace 'using namespace abc;'
1637 directives with the appropriate 'using abc::xyz;' declarations.
1639 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1641 * boost.C (emergencyCleanup): moved here from LAssert.c
1642 (assertion_failed): new function, called by BOOST_ASSERT
1644 * several files: change Assert to BOOST_ASSERT
1646 2003-09-09 Angus Leeming <leeming@lyx.org>
1648 * buffer.[Ch]: Add an Impl class and move Buffer's member
1649 variables into it. As a result move several header files out of
1652 Add header files to lots of .C files all over the tree as a result.
1654 2003-09-09 Angus Leeming <leeming@lyx.org>
1656 * buffer.[Ch]: make Buffer's member variables private. Add
1659 Lots of changes all over the tree as a result.
1661 2003-09-08 Angus Leeming <leeming@lyx.org>
1663 * graph.C: #include <config.h>.
1665 2003-09-08 Angus Leeming <leeming@lyx.org>
1669 * BufferView_pimpl.C:
1698 * toc.C: remove redundant using directives.
1700 2003-09-07 Angus Leeming <leeming@lyx.org>
1702 * LaTeXFeatures.h: remove #include "support/types.h".
1703 * ToolbarBackend.h: remove #include <algorithm>.
1704 * changes.h: remove #include <ctime>.
1705 * debug.h: remove #include <iosfwd>.
1706 * graph.h: remove #include "support/std_string.h".
1707 * lyx_main.h: remove #include <csignal>.
1708 * lyxlex_pimpl.h: remove #include <fstream>.
1709 * sgml.h: remove #include <algorithm>, <utility>.
1710 * toc.h: remove #include "support/std_ostream.h".
1711 Add #include <iosfwd>.
1713 2003-09-07 Angus Leeming <leeming@lyx.org>
1715 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1717 * converter.h: forward declare LatexRunParams.
1718 * encoding.h: remove #include "lyxrc.h".
1719 * lyxtext.h: remove #include "LColor.h".
1720 * lyxtextclass.h: remove #include "support/types.h".
1721 * trans.h: remove #include "tex-accent.h".
1722 * trans_mgr.h: remove #include "tex-accent.h".
1723 * insets/inset.h: remove #include "support/types.h", <vector>.
1724 * insets/insetcollapsable.h: remove #include "LColor.h".
1725 * insets/insetinclude.h: remove #include "dimension.h".
1726 * insets/insetlatexaccent.h: remove #include "dimension.h".
1727 * insets/insetoptarg.h:: remove #include "insettext.h".
1728 * insets/insettext.h: remove #include "dimension.h",
1729 <boost/shared_ptr.hpp>
1731 * insets/renderers.h: add #include "dimension.h".
1732 * insets/updatableinset.h: add #include "support/types.h".
1734 * many .C files: Associated changes.
1736 2003-09-06 Angus Leeming <leeming@lyx.org>
1738 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1739 one, inside testInvariant.
1741 * PrinterParams.C: new file.
1742 * PrinterParams.[Ch]: move the function bodies out of line.
1744 2003-09-06 Angus Leeming <leeming@lyx.org>
1746 * ParagraphParameters.h: forward declare ParameterStruct rather than
1747 including its header file.
1748 (depth): moved out-of-line.
1750 2003-09-06 Angus Leeming <leeming@lyx.org>
1752 * BufferView_pimpl.h:
1755 * lyxfunc.h: forward declare LyXKeySym rather than
1756 #include "frontends/LyXKeySym.h".
1758 * BufferView_pimpl.C:
1761 * lyxfunc.C: associated changes.
1763 2003-09-06 Angus Leeming <leeming@lyx.org>
1765 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1766 As a result, can remove the #include "insets/inset.h" from BufferView.h
1768 2003-09-06 Angus Leeming <leeming@lyx.org>
1770 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1771 As a result, can remove the #include "insets/inset.h" from BufferView.h
1773 2003-09-06 Angus Leeming <leeming@lyx.org>
1779 * bufferview_funcs.C:
1780 * BufferView_pimpl.C:
1785 * ParagraphParameters.C:
1790 * frontends/controllers/ControlDocument.C:
1791 * insets/insetcaption.C: rearrange the #includes into some sort of
1794 * buffer.h: remove #includes ErrorList.h, undo.h
1796 2003-09-06 Angus Leeming <leeming@lyx.org>
1798 * support/types.h: add a 'depth_type' typedef, used to store the
1799 nesting depth of a paragraph.
1802 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1803 defining explicitly.
1806 * paragraph_funcs.h:
1807 * ParagraphParameters.h:
1808 * sgml.h: use lyx::depth_type rather than Paragraph or
1809 ParameterStruct's depth_type.
1812 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1815 * BufferView_pimpl.C:
1817 * ParagraphParameters.C:
1820 * bufferview_funcs.C:
1827 * frontends/LyXView.C:
1828 * frontends/controllers/ControlDocument.C:
1829 * frontends/controllers/ControlErrorList.C:
1830 * insets/insetbibitem.C:
1831 * insets/insetbranch.C:
1832 * insets/insetcaption.C:
1833 * insets/insetcollapsable.C:
1834 * insets/insetenv.C:
1835 * insets/insetert.C:
1836 * insets/insetfloat.C:
1837 * insets/insetfoot.C:
1838 * insets/insetfootlike.C:
1839 * insets/insetnewline.C:
1840 * insets/insetquotes.C:
1841 * insets/insettabular.C:
1842 * insets/insettext.C:
1843 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1845 * frontends/controllers/ControlChanges.C: #include "changes.h".
1847 2003-09-06 Angus Leeming <leeming@lyx.org>
1849 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1850 than #including paragraph.h.
1853 * RowList.h: deleted. Superfluous.
1863 * insets/insettext.h: use ParagraphList_fwd.h rather than
1866 * paragraph.h: don't forward declare ParagraphList.
1869 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1870 rather than ParagraphList.h. paragraph.h is still needed for the
1871 Paragraph::depth_type parameters.
1873 * textcursor.h: enable it to compile stand-alone in light of the
1876 * bufferview_funcs.C:
1888 * frontends/controllers/ControlParagraph.C:
1889 * frontends/controllers/ControlTabular.C:
1890 * insets/insetmarginal.C:
1891 * insets/insetminipage.C:
1892 * insets/insetnote.C:
1893 * insets/insetoptarg.C: add header files needed to compile again.
1895 2003-09-06 Angus Leeming <leeming@lyx.org>
1897 * RowList_fwd.h: new file, forward-declaring Row rather than
1898 #including lyxrow.h.
1903 * insets/insettext.h: use it instead of RowList.h
1905 * bufferview_funcs.C:
1912 * text3.C: #include "RowList.h".
1914 2003-09-05 Angus Leeming <leeming@lyx.org>
1916 * factory.C (createInset):
1917 * vspace.C (c-tor): replace sscanf call with an istringstream.
1918 * ispell.C: re-add missing HP/UX headers.
1919 * lyxserver.C: re-add missing os2 headers.
1921 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1930 * text3.C: re-add missing system headers, needed for 2.95.2.
1932 2003-09-05 Angus Leeming <leeming@lyx.org>
1934 Changes most place everywhere due to the removal of using directives
1935 from support/std_sstream.h.
1937 2003-09-05 Angus Leeming <leeming@lyx.org>
1939 Replace LString.h with support/std_string.h,
1940 Lsstream.h with support/std_sstream.h,
1941 support/LIstream.h with support/std_istream.h,
1942 support/LOstream.h with support/std_ostream.h.
1944 Changes resulting throughout the tree.
1946 2003-09-05 Angus Leeming <leeming@lyx.org>
1948 * sgml.h: ensure that the header file can be compiled stand-alone.
1949 * *.C: strip out redundant #includes. (320 in total.)
1951 2003-09-04 Angus Leeming <leeming@lyx.org>
1953 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1954 here (from getPackages).
1956 * debug.[Ch]: add a new EXTERNAL tag.
1958 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1960 * text2.C (cursorEnd): simplify
1962 (getColumnNearX): adjust
1964 * text.C (computeBidiTables): adjust
1967 * rowpainter.C (paintChars): adjust
1968 (paintSelection): adjust
1969 (paintChangeBar): adjust
1972 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1974 (numberOfSeparators): adjust
1976 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1982 * text3.C: Restricts the mouse click functionality
1983 of insets like bibtex, include, toc and floatlist to the visible
1984 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1985 up the dialogs. Cursor has to be in front of the inset (i.e.
1986 start of row) for this to function.
1988 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1990 * bufferview_funcs.C (currentState): output row information
1992 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1994 * bufferview_funcs.C (currentState): output paragraph position
1996 2003-09-04 Angus Leeming <leeming@lyx.org>
1998 * FloatList.h: move out #include "Floating.h".
1999 * LaTeX.h: move out #include "DepTable.h".
2000 * LyXAction.h: move out #include "funcrequest.h".
2001 * buffer.h: move out #include "author.h", "iterators.h".
2002 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2003 * lyx_main.h: move out #include "errorlist.h".
2004 * lyxfunc.h: move out #include "FuncStatus.h".
2005 * lyxtext: move out #include "lyxcursor.h".
2006 * paragraph_pimpl.h: move out #include "counters.h".
2008 2003-09-03 Angus Leeming <leeming@lyx.org>
2010 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2011 preamble_snippets list, enabling us to add snippets to the preamble
2012 only if the snippet was not there already.
2014 2003-09-04 Angus Leeming <leeming@lyx.org>
2016 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2018 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2020 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2023 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2025 * BranchList.C: point fix, earlier forgotten
2027 2003-09-02 Angus Leeming <leeming@lyx.org>
2029 * box.C (contains): renamed from 'contained' after a fantastic
2032 2003-09-02 John Levon <levon@movementarian.org>
2038 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2040 2003-09-02 John Levon <levon@movementarian.org>
2042 * text2.C: simplification of cursorEnd(), including partial
2045 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2047 * buffer.C (readFile): add a space
2049 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2051 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2053 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2055 * buffer.C (readFile): new function, take a filename and a
2056 ParagraphList::iterator
2058 (readFile): adjust, make it private. don't use setStream, make
2059 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2060 always contain the filename.
2062 * BufferView.C (insertLyXFile): simplify and make it work for
2065 2003-08-30 John Levon <levon@movementarian.org>
2067 * Makefile.am: fix dist (from Kayvan)
2069 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2071 * most files: change to use const Buffer refs
2073 2003-08-27 André Pönitz <poenitz@gmx.net>
2075 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2076 on top of ownerPar().
2078 2003-08-27 John Levon <levon@movementarian.org>
2080 * funcrequest.C: properly initialise POD members
2082 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2084 * lyxtext.h (top_y): move top_y from here
2089 * BufferView_pimpl.[Ch]: to here
2090 * frontends/screen.C:
2091 * insets/insettabular.C:
2092 * insets/insettext.C: adjust
2093 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2095 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2098 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2100 2003-08-26 André Pönitz <poenitz@gmx.net>
2102 * paragraph_func.[Ch] (outerPar): new function
2105 * paragraph_funcs.C:
2106 * paragraph_funcs.h:
2107 * paragraph_pimpl.C:
2108 * text2.C: remove Inset::par_owner
2110 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2115 * text2.C: eliminates the needFullRow/display() stuff
2116 altogether, putting the logic in metrics/draw in the insets.
2118 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2120 * text2.C (redoParagraphInternal, redoParagraphs):
2121 * text.C (redoParagraph): add a call to updateRowPositions at the
2122 end of each 'metrics-like' call. Remove all others.
2123 (getRow): remove the 'y-computing' version.
2124 (getRowNearY): do not compute nor return the real y. Solve the
2125 'y < 0' problem and simplify.
2127 2003-08-22 Angus Leeming <leeming@lyx.org>
2129 * *.[Ch]: clean-up of licence and author blurbs.
2130 Also move config.h out of a few .h files and into a few .C files.
2132 2003-08-22 André Pönitz <poenitz@gmx.net>
2134 * lyxrow.[Ch]: add x_ and *fill_ members
2139 * text2.C: adjust/remove prepareToPrint() calls
2141 2003-08-22 André Pönitz <poenitz@gmx.net>
2143 * lyxrow.[Ch]: add end_ member
2145 * lyxrow_funcs.C: use LyXRow::end_
2147 * lyxtext.h (singleWidth): add LyXFont parameter
2150 * text2.C: adjust LyXText::singleWidth() calls
2152 * text.C (redoParagraph): simplify row breaking logic
2155 2003-08-19 André Pönitz <poenitz@gmx.net>
2157 * funcrequest.C: initialize button_ member
2160 * rowpainter.[Ch]: interface consolidation
2162 2003-08-18 André Pönitz <poenitz@gmx.net>
2165 * BufferView_pimpl.C:
2167 * paragraph_funcs.C:
2169 * text3.C: remove LyXScreen::draw() and fitCursor calls
2171 * BranchList.h: remove spurious semicolons
2173 * MenuBackend.C: fix branchlist related crash
2175 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2183 * bufferparams.[Ch]:
2187 * text3.C: implements the 'branch inset'
2188 idea. This allows the output of various versions of a document
2189 from a single source version, selectively outputing or suppressing
2190 output of parts of the text.
2191 This implementation contains a 'branch list editor' in a separate
2192 tab of the document settings dialog. Branches are user definable
2193 and have a "display colour" to distinguish them on-screen.
2195 ColorHandler was somewhat cleaned up.
2196 (1) make possible a dynamically growing LColor list by allowing
2197 the graphic context cache to grow along (vector);
2198 (2) eliminate an IMHO unnecessary step in colour allocation.
2200 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2202 * BufferView_pimpl.C: compile fix
2204 2003-08-15 André Pönitz <poenitz@gmx.net>
2206 * rowpainter.C: remove extra metrics calls
2208 * lyxtext.h: merge the two constructors into a single one,
2209 pass reference to owner's par list
2211 * BufferView_pimpl.C:
2215 2003-08-15 André Pönitz <poenitz@gmx.net>
2217 * lyxrow_funcs.[Ch]:
2220 * paragraph_funcs.C:
2225 * text_funcs.C: split LyXText::rowlist_ into individual
2226 Paragraph::rows_ chunks
2229 * BufferView_pimpl.[Ch]:
2232 * text3.C: remove toggleSelection()
2234 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2236 * bufferlist.C: beautify two alerts (shorter text of buttons)
2237 * buffer.C: Remove redundant ' ' from message
2239 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2240 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2241 rename VALIGN_CENTER to VALIGN_MIDDLE
2243 2003-08-11 André Pönitz <poenitz@gmx.net>
2245 * lyxtext.h (getPar):
2246 * text.C: new function
2248 2003-08-11 André Pönitz <poenitz@gmx.net>
2251 * tracer.[Ch]: remove unneeded files
2253 * InsetList.[Ch]: remove resizeInsetsLyXText()
2258 * text3.C: merge insertParagraphs() and appendParagraph()
2259 remove breakAgain(), update()
2261 * BufferView_pimpl.[Ch]:
2262 * bufferview_funcs.[Ch]:
2266 * tabular.C: adjust after text & InsetList changes.
2268 2003-08-08 André Pönitz <poenitz@gmx.net>
2270 * text.C (insertChar, backspace): replace rowlist fiddling
2271 with rebreak of full par
2274 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2275 checkParagraph, updateInset): removed
2277 2003-08-07 André Pönitz <poenitz@gmx.net>
2280 * text3.C: merge some LFUN handlers, remove dead code
2282 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2284 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2286 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2288 * text2.C (DEPM): fix part of bug 1255 and 1256
2290 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2292 * BufferView_pimpl.C (workAreaDispatch): change to use
2293 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2294 that are no mouse related.
2296 2003-08-05 André Pönitz <poenitz@gmx.net>
2299 * BufferView_pimpl.[Ch]:
2300 * bufferview_funcs.C:
2302 * text3.C: rip out "deep update"
2304 * textcursor.[Ch] (last_sel_cursor): remove unused member
2306 2003-08-04 André Pönitz <poenitz@gmx.net>
2309 * BufferView_pimpl.[Ch]:
2310 * ParagraphParameters.C:
2311 * bufferview_funcs.C:
2317 * text3.C: replace "complicated" BufferView::update(...) calls with
2320 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2322 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2324 * Makefile.am (lyx_SOURCES): add paper.h
2326 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2328 * Makefile.am: move things around so that both lyx-qt and
2329 lyx-xforms can be built (according to --with-frontend). Then lyx
2330 is a symbolic link to lyx-[firstfrontend]
2332 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2334 * Always use std::endl with lyxerr
2336 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2338 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2340 2003-08-01 André Pönitz <poenitz@gmx.net>
2343 * BufferView_pimpl.[Ch]:
2345 * text3.C: merge BufferView::repaint() and BufferView::update()
2347 2003-08-01 José Matos <jamatos@lyx.org>
2349 * buffer.[Ch]: file_format is no longer a buffer data element.
2351 2003-08-01 André Pönitz <poenitz@gmx.net>
2356 * text2.C: make redoParagraph more independent of current cursor
2358 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2360 * text2.C: remove unneeded members
2362 2003-07-30 André Pönitz <poenitz@gmx.net>
2364 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2366 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2367 create a single function...
2369 * paragraph_funcs.C (moveItem): ... here.
2372 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2374 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2376 * LColor.[Ch]: Add comment and greyedout logical colors.
2378 2003-07-30 André Pönitz <poenitz@gmx.net>
2380 * tabular.C: don't use Assert too heavily. This crashes where it
2383 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2385 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2386 is disabled (bug 1232)
2388 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2390 * factory.C: limited 'arg' scope
2392 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2394 * factory.C: fixed Note submenu issues
2396 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2398 * factory.C: submenu for Note/Comment/Greyedout
2400 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2403 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2405 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2408 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2409 greyedout. Patch provided by Jürgen Spitzmüller.
2411 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2413 * kbmap.C (read): fix error message when reading bind files
2415 2003-07-29 Angus Leeming <leeming@lyx.org>
2417 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2418 certainly does not do what it purports to do. I am doing it, and
2419 us, a favour by killing it.
2421 2003-07-28 José Matos <jamatos@lyx.org>
2423 * buffer.C (readBody, do_writeFile):
2424 * paragraph.C(readParagraph): \end_document replaces \the_end.
2426 2003-07-29 André Pönitz <poenitz@gmx.net>
2429 * BufferView_pimpl.[Ch]:
2433 * textcursor.[Ch]: remove toggleToggle & Co
2435 2003-07-28 José Matos <jamatos@fep.up.pt>
2437 * buffer.C (readParagraph):
2438 * params_func (readParToken, readParagraph):
2439 * paragraph.C (write): \layout -> \begin_layout.
2441 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2443 * lyxlex_pimpl.C (setFile): clean up slightly.
2445 * bufferparams.h: add compressed var
2447 * buffer_funcs.C (readFile): adjust for LyXLex change
2448 (newFile): ditto + simplify
2450 * buffer.C (writeFile): handle writing of compressed files
2452 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2453 Check if the file is compressed and set a bufferparm if so.
2455 * Makefile.am (lyx_LDADD): remove explicit -lz
2457 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2459 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2460 makeDocBookFile): put the real LyX version in the first line of
2464 * version.C.in: remove lyx_docversion
2466 * tabular.C (write_attribute): add a template-based version to
2467 write enums properly
2469 2003-07-28 André Pönitz <poenitz@gmx.net>
2474 * text3.C: use doubles again for x-coordinates. They are needed.
2476 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2478 * messages.C (getLocaleDir): use lyx_localedir()
2480 * lyxlex_pimpl.C (setFile): compress stuff
2482 * buffer.C (writeFile): add some compression stuff
2483 (do_writeFile): new func, dont call expliti close... will this
2486 * Makefile.am (lyx_LDADD): add -lz
2488 2003-07-28 José Matos <jamatos@fep.up.pt>
2490 * buffer.C: increment file format.
2491 * paragraph_funcs (readParagraph, readParToken):
2492 * paragraph.C (readParagraph): add \end_layout.
2494 2003-07-27 Angus Leeming <leeming@lyx.org>
2496 * Makefile.am: remove special casing for configure-time setting of
2497 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2499 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2500 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2502 2003-07-26 André Pönitz <poenitz@gmx.net>
2504 * paragraph_func.[Ch]:
2505 * paragraph.C (realizeFont): inline it whereever it is used
2510 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2513 2003-07-26 André Pönitz <poenitz@gmx.net>
2517 * text2.C: get rid of LyXText::need_break_row
2519 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2521 * toc.[Ch]: put namespace toc inside namespace lyx
2523 * MenuBackend.C (expandToc2): adjust for lyx::toc
2526 * lyxfunc.C (dispatch): adjust for lyx::find
2528 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2529 lyx::find instead. Reorganize a bit.
2530 (LyXReplace): rename to replace
2531 (LyXFind): rename to find
2533 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2536 2003-07-26 André Pönitz <poenitz@gmx.net>
2538 * text.C (setHeightOfRow): restrict scope of temporary variable
2540 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2541 code (never has been used?)
2543 2003-07-27 Asger Alstrup <alstrup@local>
2545 * text.C (fill): Optimise algorithm to exploit that we can reuse
2546 the LyXFont for many characters.
2547 (setHeightOfRow): Same thing.
2548 (rowBreakPoint): Same thing.
2550 2003-07-26 Asger Alstrup <alstrup@local>
2552 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2554 * text.C (singleWidth): Spurious font copying in hot-spot
2555 singleWidth avoided. Reorder tests for arabic for efficiency.
2557 * text.C (fill): handle empty paragraphs better.
2559 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2562 * encoding.h: add includes
2564 * lyxrc.C: remove reading of bind files
2566 * lyx_main.C (init): setup bindings and menus only if we have a
2569 * kbmap.C (read): new method. Do the actual reading of bind
2572 * converter.C (dvipdfm_options):
2575 (output): adapt PAPER_* enums.
2577 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2579 * bufferparams.h: remove paper-related enums from there
2581 * paper.h: New file. A trivial header file to hold paper-related
2582 enums. It should later expand to contain many paper-related
2585 * lyxrc.C: declare extern displayTranslator
2587 2003-07-27 José Matos <jamatos@fep.up.pt>
2589 * tabular.[Ch] (linuxdoc): add support for tables and figures
2592 2003-07-27 José Matos <jamatos@fep.up.pt>
2594 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2595 consistency in both functions.
2596 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2598 2003-07-26 Asger Alstrup <alstrup@local>
2600 * rowpainter.C (paintRows): Change algorithm to work directly on
2601 the insets rather than asking every character in the document
2602 whether its an inset.
2604 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2606 * buffer.C (openFileWrite): factorize some code
2608 2003-07-26 Angus Leeming <leeming@lyx.org>
2611 * lyx_main.[Ch]: replace occurances of system_tempdir with
2614 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2616 * rename Inset to InsetOld
2618 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2620 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2621 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2622 which I think is a bit clearer. EDIT is gone, since it was
2623 premature optimisation, and broken for mathed anyway.
2624 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2625 with cursor positioning in insets as well (math insets still do not
2626 work, but that's a different story anyway.) It mysteriously
2627 crashes sometimes with undo in the first paragraph, but I'm fairly
2628 confident that this is a compiler bug.
2630 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2632 * paragraph.C (Paragraph): adjust for new clone return type
2634 (copyIntoMinibuffer): ditto
2636 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2638 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2639 by not having a special case, and always doing a full rebreak of
2640 the document after undo.
2642 2003-07-23 Angus Leeming <leeming@lyx.org>
2644 * factory.C (createInset): InsetExternal::setParams now takes a
2647 2003-07-23 Angus Leeming <leeming@lyx.org>
2649 * factory.C (createInset): changed interface to the external and
2650 graphics mailers' string2params functions.
2652 2003-07-23 Angus Leeming <leeming@lyx.org>
2654 * factory.C (createInset): pass a
2655 Buffer const * parameter to InsetExternalMailer's string2params.
2657 2003-07-22 John Levon <levon@movementarian.org>
2659 * Thesaurus.h: include the right aiksaurus header
2661 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2663 * MenuBackend.C (expand): check menu shortcuts unconditionally
2665 2003-07-21 Angus Leeming <leeming@lyx.org>
2667 * factory.C (createInset): pass a
2668 buffer_path parameter to InsetGraphicsMailer's string2params.
2670 2003-07-21 Angus Leeming <leeming@lyx.org>
2672 * BufferView_pimpl.C (buffer):
2675 * lyxfunc.C (dispatch):
2676 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2677 rather than the grfx shortcut.
2679 2003-07-21 André Pönitz <poenitz@gmx.net>
2681 * rowpainter.C: remove unused variables
2684 * tabular_funcs.h: move to tabular.C
2685 * Makefile.am: adjust
2687 * tabular.[Ch]: basic optical cleaning
2689 * author.h: pass references, not values
2691 2003-07-18 André Pönitz <poenitz@gmx.net>
2699 * text3.C: two-phase drawing for InsetText and InsetTabular
2700 some float -> int changes.
2702 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2704 * lyx_main.C: fix the fix
2706 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2708 * lyx_main.C: fix a crash in batch mode if no files specified
2711 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2713 * format.[Ch] (papersize): moved to BufferParams
2714 * converter.[Ch] (dvips_options): moved to BufferParams
2715 (dvipdfm_options): moved to anon namespace
2716 * bufferparams.[Ch]: added above functions.
2718 2003-07-17 André Pönitz <poenitz@gmx.net>
2722 * text2.C: don't call inset->update() anymore
2724 * metricsinfo.[Ch]: add convenience constructor
2726 2003-07-16 André Pönitz <poenitz@gmx.net>
2731 * text2.C: replace the LyXCursor::irow_ member with
2732 on-demand computation of the value
2734 2003-07-16 John Levon <levon@movementarian.org>
2736 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2738 2003-07-15 André Pönitz <poenitz@gmx.net>
2741 * text2.C: remove no more needed refresh_row
2743 2003-07-15 André Pönitz <poenitz@gmx.net>
2748 * text3.C: refresh_status tristate -> need_update bool
2750 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2752 * lyxtext.h (init): remove reinit argument (act as if always true)
2753 * text2.C: adjust to that
2755 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2757 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2758 * text3.C: use it to delete selections in some cases
2759 (bugs 441, 673, 702, 954).
2761 2003-07-14 André Pönitz <poenitz@gmx.net>
2763 * rowpainter.[Ch]: reduce interface
2765 2003-07-14 André Pönitz <poenitz@gmx.net>
2767 * BufferView_pimpl.C:
2768 * text2.C: adjust after removing unused BufferView * argument
2770 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2772 * text2.C (init): fix a crash fired on resize
2774 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2776 * buffer.[Ch]: added new closing signal
2777 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2778 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2779 BufferView::Pimpl via the closing the signal
2781 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2783 * buffer.[Ch]: take out all bv-related from buffer
2785 * BufferView_pimpl.[Ch]: connect to new signals
2786 * CutAndPaste.C: removed useless asserts
2787 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2790 * lyxfunc.C: moved view-related funciontality from vc here
2791 * paragraph.C: removed outdated comments
2794 2003-07-10 André Pönitz <poenitz@gmx.net>
2796 * BufferView_pimpl.C:
2800 * text2.C: remove InsetText::InnerCache, clean up consequences
2802 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2804 * ispell.C: fix two typos in error messages
2806 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2808 * Extend Note inset to other forms of annotation like Comment
2809 and Greyedout. Right button click gives dialog.
2811 Files modified or added (+):
2815 * ControlNote.[Ch] +
2817 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2818 frontends/controllers
2822 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2824 * aspell.C: add missing namespace lyx::support
2826 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2828 * BufferView.[Ch] (newFile): Add
2829 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2830 * LaTeX.[Ch] (message): added this signal and use it
2831 * buffer.[Ch] (busy, message): added these signals and use them
2832 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2836 * importer.C: use buffer signals instead of direct bv calling
2837 * lyx_cb.[Ch] (ShowMessage): removed
2840 * paragraph_funcs.C:
2841 * text2.C: use buffer signals
2843 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2845 * introduce namespace lyx::graphics
2847 2003-07-02 André Pönitz <poenitz@gmx.net>
2849 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2851 2003-07-01 André Pönitz <poenitz@gmx.net>
2858 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2859 text*.C to text_func.C
2861 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2863 * introduce namespace lyx::support
2865 2003-06-30 André Pönitz <poenitz@gmx.net>
2870 * text.C: re-enable --with-included-string
2872 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2874 * textcursor.C: add <config.h>
2876 * text.C (getWord): remove const from word_location arg
2878 * lyxvc.C (getLogFile): fix const type order
2880 * lyxtext.h: remove const from word_location arg, add arg name
2882 * lyxlayout.h: currect type on labeltype.
2884 * importer.C: correct \file
2886 * converter.C (intToFormat): use std:: on ret val, ws changes
2888 * bufferlist.h: correct \file
2890 * buffer.C (makeLinuxDocFile): fix const type order
2891 (makeDocBookFile): ditto
2892 (fillWithBibKeys): use std:: on stdlib args.
2894 * CutAndPaste.C: fix authors.
2895 (availableSelections): use std:: on return vector
2897 2003-06-27 André Pönitz <poenitz@gmx.net>
2899 * BufferView_pimpl.C:
2900 * bufferview_funcs.C:
2908 * text3.C: remove LyXCursor::row_ member
2911 * text.C: rename fullRebreak() to partialRebreak() and implement
2912 a fullRebreak() that really bereks fully
2914 * textcursor.h: new struct for cursor-related data
2916 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2918 * lyx_main.C (LyX): get full path of document loaded on the
2921 2003-06-26 André Pönitz <poenitz@gmx.net>
2923 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2924 remove unused/broken operator>,<,>=.
2926 * text.C: remove only use of broken operator<= in an Assert().
2928 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2930 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2931 moved errorlist_.clear to showErrorList
2933 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2935 * converter.C (scanLog, runLaTeX):
2936 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2937 move the bv->showErrorList call to the callers
2938 * lyxfunc.C: i.e. here...
2940 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2941 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2942 namespace, the second to...
2943 * buffer_funcs (BufferFormat, parseErrors): added
2944 * errorlist.C (ErrorList(TeXErrors const &)): removed
2946 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2948 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2950 2003-06-24 "Garst R. Reese" <reese@isn.net>
2954 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2956 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2958 * version.C.in: change docversion to 1.4
2960 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2962 * buffer.C: fix a bug just introduced
2964 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2966 * buffer.[Ch]: added the parseError signal and use it, removed
2968 * BufferView.[Ch] (addError): moved to ...
2969 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2970 to the Buffer::parseError signal to catch (guess what) parse errors
2971 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2973 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2975 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2976 ability to create a buffer and to return an existing one from
2977 the list. Moved these functions to...
2978 * buffer_funcs.[Ch]: added
2979 * BufferView.[Ch] (loadLyXFile): added
2980 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2981 job removed from bufferlist::loadLyXFile.
2982 * buffer.C (setReadOnly): make it work without view
2983 (i.e added an if (users))
2985 2003-06-19 Angus Leeming <leeming@lyx.org>
2988 * LyXAction.C (init):
2989 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2990 with LFUN_DIALOG_SHOW <name> <data>.
2992 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2994 * CutAndPaste.C (availableSelections): small compilation fix for
2995 ancient (gcc 2.9x) compilers
2997 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2999 * text3.C (cursorNext): add tmp var
3001 * text2.C (updateCounters): for function calling out of for clause
3002 (replaceSelectionWithString): ditto
3003 (insertStringAsParagraphs): ditto
3004 (getColumnNearX): add tmp var
3005 (setCursorFromCoordinates): add tmp var
3006 (cursorDownParagraph): add tmp var
3007 (deleteEmptyParagraphMechanism): add tmp var
3009 * text.C (insertChar): add tmp var
3011 * rowpainter.C (paintDepthBar): add tmp var
3013 * CutAndPaste.C (availableSelections): potentially check all
3014 paragraphs in a cut to fill the shown strings.
3016 2003-06-18 André Pönitz <poenitz@gmx.net>
3018 * kbmap.[Ch]: use vector<> instead of list<>
3020 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3022 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3023 pasteSelection with index
3025 * text2.C (pasteSelection): modify, call pasteSelection with index
3027 * paragraph.C (asString): reimplement version with no interval to
3028 call the one with interval.
3030 * lyxtext.h: add index arg to pasteSelection
3032 * MenuBackend.C (MenuItem): handle PasteRecent
3033 (Menu::read::Menutags): add md_pasterecent
3035 (expandPasteRecent): new function
3038 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3040 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3042 (availableSelections): new function
3044 2003-06-17 Angus Leeming <leeming@lyx.org>
3046 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3048 2003-06-17 Angus Leeming <leeming@lyx.org>
3051 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3053 * lyxfunc.C (dispatch): invoke it.
3055 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3057 * iterators.C (operator++, ParPosition): reintroduce some
3058 const_cast for the benefit of older compilers.
3060 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3062 * text3.C (dispatch): do not modify clipboard when doing
3063 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3064 LFUN_DELETE_SKIP on a selection selection
3066 2003-06-16 André Pönitz <poenitz@gmx.net>
3072 * tabular.[Ch]: IU of clone() and getLabelList();
3074 2003-06-13 André Pönitz <poenitz@gmx.net>
3076 * tabular.h: compactification
3078 2003-06-12 André Pönitz <poenitz@gmx.net>
3082 * tabular_funcs.h: some renaming plus whitespace
3084 2003-06-12 André Pönitz <poenitz@gmx.net>
3087 * BufferView_pimpl.C:
3093 * toc.C: Return a Paragraph & for ParIterator::operator*()
3095 2003-06-11 John Levon <levon@movementarian.org>
3099 * ToolbarBackend.C: add "Toolbars" section and
3102 2003-06-10 Angus Leeming <leeming@lyx.org>
3105 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3107 * lyxfunc.C (dispatch): invoke it.
3109 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3111 * main.C: protect <ios> with HAVE_IOS
3112 (main): protect sync_with_stdio with HAVE_IOS
3114 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3116 * text2.C (cutSelection): adjust
3117 (pasteSelection): adjust
3119 * messages.C: handle get of empty string
3121 * main.C (main): use sync_with_stdio(false)
3123 * lyxfunc.C (dispatch): adjust
3125 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3126 (WriteAs): remove unneeded BufferView arg.
3128 * bufferparams.h: use correct types on papersize, papersize2 and
3131 * bufferparams.C (readToken): adjust for type
3132 (writeLaTeX): add missing cases to switch.
3134 * bufferlist.C (quitWriteBuffer): adjust
3137 * buffer.C (asciiParagraph): remove some commented code.
3139 * CutAndPaste.C: remove current_view extern variable.
3140 (cutSelection): add BufferParams arg.
3141 (eraseSelection): add BufferParams arg.
3142 (pasteSelection): add Buffer const & arg
3144 2003-06-07 John Levon <levon@movementarian.org>
3147 * paragraph_funcs.C:
3148 * paragraph_pimpl.C:
3152 * paragraph.C: allow InsetERT to freely space lines,
3153 and some consolidation of code
3155 2003-06-06 José Matos <jamatos@fep.up.pt>
3157 * buffer.C (makeDocBookFile): fix bug #821
3159 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3161 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3163 2003-06-04 Angus Leeming <leeming@lyx.org>
3165 * buffer.C: bump format to 224.
3167 2003-06-05 André Pönitz <poenitz@gmx.net>
3169 * text2.C (redoParagraphs): remove two const_cast<>
3171 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3173 * ParagraphList.h: remove last remnants of NO_STD_LIST
3175 2003-06-03 Angus Leeming <leeming@lyx.org>
3177 * factory.C (createInset): small change to the way InsetExternal's params
3180 2003-06-04 André Pönitz <poenitz@gmx.net>
3182 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3184 * paragraph_pimpl.h:
3185 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3187 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3189 * undo_funcs.C: make some simple cases of undo work again
3191 2003-06-03 John Levon <levon@movementarian.org>
3193 * ispell.C: HPUX doesn't have sys/select.h
3196 2003-06-03 John Levon <levon@movementarian.org>
3198 * CutAndPaste.C: update tabular and include inset
3203 * paragraph.C: remove owningBuffer(), don't pass Buffer
3206 * factory.C: insetGraphicsParams changed
3208 2003-06-02 John Levon <levon@movementarian.org>
3214 * text3.C: remove insetparent
3216 2003-06-02 John Levon <levon@movementarian.org>
3219 * buffer.C: fix inset_iterator.end(), move out of line
3222 2003-06-01 John Levon <levon@movementarian.org>
3224 * text3.C: use a proper cut/paste when doing inset
3225 insert (from Jürgen Spitzmüller)
3227 2003-06-01 John Levon <levon@movementarian.org>
3229 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3231 2003-05-30 André Pönitz <poenitz@gmx.net>
3233 * rowpainter.C: unify second drawing phase
3235 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3237 * trans_mgr.C: remove one case of current_view
3239 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3241 * paragraph_funcs.h: remove paragraph.h include
3243 * paragraph.h: delete NO_STD_LIST stuff
3245 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3247 * buffer.h: remove paragraph.h include
3249 * ParagraphList.C: delete file
3251 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3253 * toc.C (getTocList): adjust
3255 * paragraph_pimpl.C (validate): adjust
3257 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3259 * paragraph.C (Paragraph): adjust
3260 (getPositionOfInset): use const_iterator, adjust
3261 (bibitem): use const_iterator, adjust
3262 (setInsetOwner): adjust
3264 * iterators.C (operator++): adjust
3266 * InsetList.[Ch]: Replace selfmade iterator with standard
3267 vector::iterator also introduce const_iterator. Remove getPos,
3268 getInset and setInset from InsetTable. Adjust accordingly.
3270 * BufferView.C (lockInset): adjust
3271 (ChangeInsets): adjust
3273 * tabular.[Ch]: delete commented same_id functions
3275 2003-05-28 John Levon <levon@movementarian.org>
3277 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3279 2003-05-28 André Pönitz <poenitz@gmx.net>
3281 * metricsinfo.[Ch]: remove 'fullredraw' member
3283 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3285 * lyxtextclass.C (operator): remove caching.
3287 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3291 * text2.C (cursorBottom): adjust
3292 (setCounter): use ParagraphList::find, adjust
3294 * text.C (workWidth): use ParagraphList::find, adjust
3296 * lyxcursor.C (LyXCursor): adjust
3298 * buffer.C (inset_iterator): adjust
3300 * ParagraphList.h: make iterator(value_type) private, make
3301 ParagraphList a friend of iterator.
3303 * ParagraphList.C (find): new function
3305 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3307 2003-05-27 André Pönitz <poenitz@gmx.net>
3309 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3311 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3313 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3315 2003-05-26 John Levon <levon@movementarian.org>
3317 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3319 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3321 * remove same_id from function signatures, adjust.
3323 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3325 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3327 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3329 * paragraph.C (Paragraph): get rid of same_ids parameter
3331 * ParagraphList.C (insert): adjust
3334 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3336 * paragraph_funcs.C (breakParagraph): adjust
3337 (breakParagraphConservative): adjust
3339 * buffer.C (readParagraph): adjust
3341 * ParagraphList.C (insert): take a reference instead of a pointer
3344 * paragraph.[Ch] (id): new function
3346 * bufferlist.C (newFile): adjust
3348 * ParagraphList.C (ParagraphList): adjust
3350 (push_back): take a reference instead of a pointer.
3352 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3354 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3357 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3358 set else use old code.
3360 * ParagraphList.C: remove all NO_NEXT code and only compile this
3361 code of NO_STD_LIST is set.
3363 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3365 * BufferView_pimpl.C:
3375 * graphics/GraphicsConverter.C:
3376 * graphics/PreviewLoader.C: header adjustment
3378 2003-05-23 Angus Leeming <leeming@lyx.org>
3380 * LaTeXFeatures.[Ch] (useBabel): new method.
3381 * bufferparams.C (writeLaTeX): use it.
3383 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3385 * ParagraphList.h (set): remove unused function.
3387 2003-05-23 André Pönitz <poenitz@gmx.net>
3390 * BufferView_pimpl.C:
3394 * undo_funcs.C: setUndo reworked
3396 * iterators.[Ch]: add access to topmost ParagraphList
3398 * lyxtext.[Ch] (workWidth): add a const
3400 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3402 * texrow.[Ch] (increasePos): remove function
3403 * exporter.C (export): removed unused var and outdated comment
3405 2003-05-23 Angus Leeming <leeming@lyx.org>
3407 * latexrunparams.h: rename fragile as moving_arg.
3408 * paragraph.C (simpleTeXOnePar): ditto.
3409 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3411 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3413 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3415 (textUndoOrRedo): comment out a currently unused var.
3417 * paragraph.h (NO_NEXT): enable NO_NEXT
3419 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3421 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3423 * exporter.C (Export): adjust for removeAutoInsets removal.
3425 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3427 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3429 * BufferView.[Ch] (removeAutoInsets): delete function
3431 2003-05-22 Angus Leeming <leeming@lyx.org>
3433 * latexrunparams.h: add a free_spacing variable.
3435 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3436 to pass moving_arg, as the data is stored in runparams.fragile.
3438 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3439 to Inset::latexOptional or to simpleTeXOnePar.
3441 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3442 free_spacing arg to Inset::latexOptional.
3444 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3447 2003-05-22 Angus Leeming <leeming@lyx.org>
3449 * latexrunparams.h: add fragile and use_babel variables.
3451 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3452 * buffer.C (makeLaTeXFile): store this returned value in
3453 runparams.use_babel, thus passing it to the inset::latex methods.
3455 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3456 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3458 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3459 longer has a fragile arg, as it is stored in runparams.fragile.
3461 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3462 moving_arg parameter as the data is stored in runparams.fragile.
3464 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3465 a fragile parameter as the data is stored in runparams.fragile.
3467 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3469 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3471 2003-05-22 Angus Leeming <leeming@lyx.org>
3473 * latexrunparams.h: add a 'bool nice' which defaults to false.
3475 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3476 now encapsulated within runparams.
3478 * bufferlist.C (updateIncludedTeXfiles):
3479 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3481 2003-05-22 Angus Leeming <leeming@lyx.org>
3483 * latexrunparams.h: new file containing struct LatexRunParams.
3484 * Makefile.am: add new file.
3486 * LaTeX.[Ch] (c-tor, run):
3487 * buffer.[Ch] (makeLaTeXFile):
3488 * bufferlist.[Ch] (updateIncludedTeXfiles):
3489 * converter.C (convert, scanLog):
3490 * converter.[Ch] (runLaTeX):
3491 * exporter.C (Export):
3492 * paragraph.[Ch] (simpleTeXOnePar):
3493 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3494 * paragraph_funcs.[Ch] (latexParagraphs):
3495 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3496 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3497 pass around a LatexRunParams parameter.
3499 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3501 * paragraph.[Ch]: remove unused constructor
3503 * ParagraphList.C (erase): new function, taking two iterators
3505 2003-05-22 André Pönitz <poenitz@gmx.net>
3507 * undo_funcs.C: remove duplicated code
3509 * iterator.[Ch]: operator=
3511 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3513 * tabular.C (SetMultiColumn): ws changes
3515 * rowpainter.C (paintFirst): get rid of a ->previous
3517 * lyx_cb.C (getPossibleLabel): parlist simplification
3519 * BufferView.C (ChangeInsets): simplify slightly.
3521 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3523 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3524 * lfuns.h: new LFUN_SPACE
3525 * lyxfunc.C: protected space has a new lfun
3526 * paragraph_funcs.C: read new space insets
3528 * factory.C: handle new space insets
3530 2003-05-22 André Pönitz <poenitz@gmx.net>
3533 * BufferView_pimpl.C:
3536 * undo_funcs.C: return a ParIterator from getParFromID.
3538 * iterators.[Ch]: add two const's
3540 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3542 * toc.C (getTocList): adjust
3544 * iterators.[Ch]: rework for parlist
3546 * buffer.C (par_iterator_begin): adjust
3547 (par_iterator_end): adjust
3549 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3551 * BufferView.C (removeAutoInsets): adjust
3552 (ChangeInsets): adjust
3554 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3556 * text.C (top_y): fix bug 1110
3558 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3560 * errorlist.[Ch]: added
3563 * BufferView_pimpl.C:
3564 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3567 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3569 * Makefile.am: ensure that lyx is relinked upon changes to the
3570 various "convenience" libs.
3572 2003-05-20 Angus Leeming <leeming@lyx.org>
3574 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3575 files are compiled in alphabetical order again.
3577 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3579 2003-05-19 Angus Leeming <leeming@lyx.org>
3581 * gettext.[Ch]: remove "char const * _(char const *)".
3583 2003-05-19 André Pönitz <poenitz@gmx.net>
3585 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3594 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3596 2003-05-19 André Pönitz <poenitz@gmx.net>
3600 * lyxtextclass.[Ch]:
3602 * paragraph_funcs.[Ch]:
3604 * text3.C: more insetenv work
3606 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3608 * ParagraphParameters.C (params2string): small bug fixed
3610 2003-05-16 André Pönitz <poenitz@gmx.net>
3613 * bufferview_funcs.C: patch from Kornel Benko to prevent
3614 crash when _(...) is called twice in a statement
3616 2003-05-16 André Pönitz <poenitz@gmx.net>
3623 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3625 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3627 * lyx_main.C (init): remove spurious static_cast
3629 2003-05-14 André Pönitz <poenitz@gmx.net>
3631 * BufferView.C: fix format string
3633 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3635 * BufferView.[Ch] (insertErrors): removed
3636 * BufferView.[Ch] (showErrorList): added
3637 * buffer.C (runChkTeX):
3638 * converter.C (scanLog): call showErrorList instead of inserterrors
3640 2003-05-13 André Pönitz <poenitz@gmx.net>
3642 * BufferView_pimpl.C:
3644 * bufferview_func.C:
3651 * tabular_funcs.h: tostr() from its own header
3653 * ParagraphParameters.C:
3658 * text3.C: STRCONV()
3660 2003-05-12 André Pönitz <poenitz@gmx.net>
3663 * BufferView_pimpl.C:
3667 * ParagraphParameters.C:
3671 * bufferview_funcs.C:
3684 * paragraph_funcs.C:
3688 * text3.C: boost::format -> bformat all over the place
3691 2003-05-09 André Pönitz <poenitz@gmx.net>
3693 * LColor.[Ch]: Pimpl the #include <map> away
3695 2003-05-09 John Levon <levon@movementarian.org>
3697 * bufferlist.C: never remove emergency saves
3699 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3701 * Makefile.am: better lib building
3703 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3705 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3707 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3708 (simpleTeXSpecialChars): adjust
3709 (simpleTeXSpecialChars): adjust
3710 * paragraph.C (simpleTeXOnePar): adjust
3711 * buffer.C (makeLaTeXFile): adjust
3713 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3715 * text2.C (changeDepth): parlist cleanup
3716 (getColumnNearX): ditto
3718 * rowpainter.C (getLabelFont): parlist cleanup
3720 * bufferlist.C (newFile): parlist cleanup
3722 * CutAndPaste.C (eraseSelection): parlist cleanup
3724 * BufferView_pimpl.C (trackChanges): parlist cleanup
3727 * BufferView.C (lockInset): parlist cleanup.
3728 (ChangeInsets): ditto
3730 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3732 * CutAndPaste.h: Update file header.
3734 * CutAndPaste.C: Update file header.
3735 Store the parts cut out of the Document in a limited_stack.
3736 (copySelection): adjust
3737 (pasteSelection): new function, takes the index in the limited stack.
3738 (nrOfParagraphs): adjust
3739 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3740 simplify error inset insertion.
3741 (checkPastePossible): adjust
3743 2003-05-06 John Levon <levon@movementarian.org>
3745 * text2.C: don't cast wrap inset to float
3747 2003-05-05 André Pönitz <poenitz@gmx.net>
3750 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3752 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3753 few naked Paragraph *.
3755 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3757 * bufferparams.C: Output warning if a document with missing
3758 TeX document class is loaded
3759 * exporter.C: Disable TeX exports if the document class is missing
3762 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3763 isTeXClassAvailable()
3765 2003-05-03 John Levon <levon@movementarian.org>
3768 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3769 explicit cursor show/hide
3771 * BufferView_pimpl.h:
3772 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3773 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3775 * lyxfunc.C: hide cursor before dispatching.
3780 * text3.C: remove explicit cursor hides
3782 2003-05-02 André Pönitz <poenitz@gmx.net>
3784 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3787 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3790 * text2.C: tiny whitespace
3792 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3794 * undo_funcs.C: almost only ws changes.
3796 * ParagraphList.C (splice): just return if pl is empty.
3798 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3800 * ParagraphList.C (splice): new function.
3802 * CutAndPaste.C (pasteSelection): use it
3804 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3806 * CutAndPaste.C (pasteSelection): remove the last next and
3807 previous from this file.
3809 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3811 * CutAndPaste.C (pasteSelection): more clean up, user proper
3812 ParagraphList functions for pasteing.
3814 * ParagraphList.C (insert): new function, three arg insert
3816 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3818 * ParagraphList.C (insert): new function, three arg insert
3820 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3823 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3825 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3827 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3829 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3831 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3833 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3834 (copySelection): clean up a bit.
3835 (pasteSelection): use make_pair
3837 * ParagraphList.C (ParagraphList): implement copy constructor
3838 (operator=): implement, base on copy constructor.
3841 * paragraph.C (erase): return a bool
3843 * paragraph_pimpl.C (erasePos): remove function, move contents...
3844 (erase): ... here. Return a bool.
3845 (erase): call erase instead of erasePos.
3847 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3849 * ParagraphList.h: define PitPosPair
3850 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3851 ParagraphList, fix a bug on pasting multiple pars
3852 * text2.C: change interface to C&P
3854 2003-04-30 André Pönitz <poenitz@gmx.net>
3856 * undo_func.C: revert part of yesterday's patch 2
3858 2003-04-30 John Levon <levon@movementarian.org>
3860 * LColor.C: s/tabular/table/
3862 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3864 * text3.C (dispatch): do not convert iterator -> pointer
3865 * undo_funcs.C (setCursorParUndo): ditto
3866 * text_funcs.C (transposeChars): ditto
3868 * text2.C (setLayout): ws changes only
3870 * text.C (breakParagraph): do not convert iterator -> pointer
3872 (acceptChange): ditto
3873 (rejectChange): ditto
3878 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3881 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3883 * text3.C (gotoInset): YABG (yet another bad getChar)
3885 2003-04-29 André Pönitz <poenitz@gmx.net>
3887 * paragraph.h: make operator= private unimplemented as long as
3890 * ParagraphList.C: whitespace
3893 * paragraph_pimpl.[Ch]:
3894 * paragraph_funcs.C:
3896 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3899 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3901 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3903 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3904 * paragraph.[Ch] (erase):
3905 * paragraph_pimpl.[Ch] (erase): change return type and value
3906 * text2.C (cutSelection): some rework
3908 2003-04-28 John Levon <levon@movementarian.org>
3910 * bufferlist.C: changes for unsaved changes dialog
3912 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3914 * bufferlist.C (newFile): set language (messages_) for new
3917 * buffer.C (readFile): ws changes only.
3919 2003-04-28 André Pönitz <poenitz@gmx.net>
3924 * BufferView_pimpl.C:
3925 * BufferView.C: getParFromID related ParagraphList::iterator changes
3927 2003-04-28 André Pönitz <poenitz@gmx.net>
3929 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3932 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3934 * messages.C: remove one more localedir class variable.
3936 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3938 * messages.C (getLocaleDir): singleton generation function
3940 (Messages): add a default constructor.
3942 * main.C (main): do not setup localedir here, do not call
3945 * gettext.C (_): use it.
3946 (gettext_init): delete funciton
3948 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3950 * gettext.C (getLyXMessages): new singleton generating function.
3952 * buffer.C (updateDocLang): adjust
3954 * Makefile.am (messages.o): add target
3955 (main.o): remove target
3957 2003-04-27 John Levon <levon@movementarian.org>
3962 * lyxvc.C: specify cancel button in Alert::prompt
3964 2003-04-26 John Levon <levon@movementarian.org>
3969 * LyXAction.C: add LFUN_INSET_SETTINGS
3971 * lyxfunc.C: don't enable tabular-feature when there's
3972 just any locking inset
3974 2003-04-26 John Levon <levon@movementarian.org>
3976 * bufferlist.C: re-add Cancel to buffer close question
3978 * lyxfunc.C: fix import UI a bit
3980 2003-04-25 John Levon <levon@movementarian.org>
3982 * gettext.C: remove the broken asserts for now
3984 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3986 * messages.C: make case where setlocale cannot comply work better.
3988 * buffer.C (updateDocLang): new function
3989 (changeLanguage): use it
3992 * text2.C (setCounter): use B_ a bit.
3994 * lyxlayout.C (Read): be sure to trim the label strings.
3996 * messages.C (Messages): fix typo in comment
3998 * buffer.C (readFile): set message_ after file is loaded.
3999 (makeDocBookFile): remove double return
4000 (changeLanguage): reset message_ upon language change.
4001 (B_): new func, use this to get translated buffer strings.
4003 * main.C: add myself and Jean Marc as authors.
4005 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4007 * messages.[hC]: pimplify Messages, and three different pimpls to be
4008 used in different circumstances.
4010 * gettext.[Ch]: change for use with new message code.
4012 2003-04-24 André Pönitz <poenitz@gmx.net>
4014 * factory.C: support for eqref
4016 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4018 * messages.[Ch]: add missing char
4020 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4022 * messages.[Ch]: New files
4024 2003-04-18 John Levon <levon@movementarian.org>
4028 * BufferView_pimpl.C:
4032 * text2.C: remove layout-copy/paste (bug 778)
4034 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4036 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4038 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4040 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4041 if they succeed. Act accordingly.
4043 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4045 * text2.C (setCharFont): adjust
4046 (setCounter): adjust
4047 (insertStringAsLines): adjust
4049 * text.C (leftMargin): adjust
4050 (setHeightOfRow): adjust
4052 * rowpainter.C (paintFirst): adjust
4055 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4057 (isFirstInSequence): ditto
4058 (getEndLabel): ditto
4061 * paragraph.C (getParLanguage): comment out some hard stuff.
4063 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4065 (simpleDocBookOnePar): ditto
4066 (makeDocBookFile): use ParagraphList::iterator
4068 * CutAndPaste.C (pasteSelection): adjust
4070 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4072 * text2.C (getFont): adjust
4073 (getLayoutFont): adjust
4074 (getLabelFont): adjust
4076 * paragraph_funcs.C (TeXOnePar): adjust
4078 * buffer.C (simpleLinuxDocOnePar): adjust
4079 (simpleDocBookOnePar): adjust
4081 * CutAndPaste.C (pasteSelection): adjust
4083 * BufferView.C (getEncoding): adjust
4085 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4087 2003-04-16 John Levon <levon@movementarian.org>
4089 * lyxfind.C: use parlist stuff for search/changes
4091 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4093 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4095 * text2.C (deleteEmptyParagraphMechanism): adjust
4097 * text2.[Ch] (ownerParagraph): delete func (both of them
4099 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4101 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4103 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4105 * ParagraphList.C: prepare for NO_NEXT
4107 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4109 * text2.C (getFont): adjust
4110 (getLayoutFont): adjust
4111 (getLabelFont): adjust
4113 * paragraph.C (getFont): adjust
4114 (getLabelFont): adjust
4115 (getLayoutFont): adjust
4117 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4119 2003-04-15 John Levon <levon@movementarian.org>
4123 * lyx_main.C: handle Include in .ui files
4125 2003-04-15 John Levon <levon@movementarian.org>
4127 * MenuBackend.C: make the doc files length shorter
4130 * ToolbarBackend.C: handle toolbar placement flags,
4133 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4135 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4138 * paragraph_funcs.C (TeXOnePar): adjust
4140 * paragraph.C (getLabelFont): add outerfont arg, adjust
4141 (getLayoutFont): ditto
4142 (simpleTeXOnePar): adjust
4144 * paragraph_pimpl.C (realizeFont): delete func
4146 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4148 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4149 row argument, constify cur argument.
4151 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4153 * text2.C (getFont): adjust
4154 (getLayoutFont): adjust
4155 (getLabelFont): adjust
4157 * paragraph_funcs.C (TeXOnePar): adjust
4158 (outerFont): new func...
4159 (realizeFont): ...moved out from here, changed this to facilitate
4162 * paragraph.C (getFont): take outerfont as arg, adjust
4163 (simpleTeXOnePar): add outerfont arg, adjust
4165 * buffer.C (simpleLinuxDocOnePar): adjust
4166 (simpleDocBookOnePar): adjust
4168 * CutAndPaste.C (pasteSelection): adjust
4170 * BufferView.C (getEncoding): adjust
4172 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4174 * text2.C (setCharFont): adjust
4175 (setCounter): adjust
4177 * text.C (leftMargin): adjust
4178 (setHeightOfRow): adjust
4180 * rowpainter.C (paintFirst): adjust
4183 * paragraph_pimpl.C (realizeFont): adjust
4185 * paragraph.C (isFirstInSequence): move from here...
4186 * paragraph_funcs.C (isFirstInSequence): ...to here
4188 * paragraph.C (outerHook): move from here...
4189 * paragraph_funcs.C (outerHook): ...to here
4191 * paragraph.C (depthHook): move from here...
4192 * paragraph_funcs.C (depthHook): ...to here
4194 * paragraph.C (getEndLabel): move from here...
4195 * paragraph_funcs.C (getEndLabel): ...to here
4197 * text2.C (realizeFont): move from here...
4198 * paragraph_funcs.C (realizeFont): ...to here
4200 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4202 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4204 2003-04-14 Angus Leeming <leeming@lyx.org>
4206 * LColor.[Ch]: scrap LColor mathcursor.
4208 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4210 * lyxlex.[Ch] (text): delete function
4211 * trans.C (Load): adjust
4212 * paragraph_funcs.C (readParToken): adjust
4214 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4216 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4217 vector<char> instead of a char[].
4219 * lyxlex_pimpl.C (getString): adjust
4221 (lex): use getString
4225 * lyxlex.C (text): use pimpl_->getString()
4229 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4231 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4232 (makeFontEntriesLayoutSpecific): temp var for par.size()
4233 (setLayout): temp var for ownerParagraphs().end()
4234 (fullRebreak): temp var for rows().end()
4235 (selectionAsString): temp var for boost::next(startpit), realize
4236 that the while really is a regular for loop.
4237 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4238 setCursor in one place.
4239 (setParagraph): temp vr for ownerParagraphs().end()
4240 (updateCounters): make the while loop a for loop
4241 (cutSelection): temp var for ownerParagraphs().end()
4242 (updateInset): make the do {} while() a regular for loop
4243 (getCursorX): use temp vars
4244 (setCurrentFont): use temp vars
4245 (getColumnNearX): use temp vars
4247 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4249 * text.C (transformChar): use temp var for getChar
4250 (computeBidiTables): use temp var for row->par()
4251 (fill): move temp vars for row->par() and pit->layout() earlier in
4253 (labelFill): use temp var for row->par()
4254 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4255 asc and desc, realize that pit never changes and that firstpit is
4256 just a duplicate and not needed. Exchange rit->par() with pit in a
4258 (breakAgain): use a temp var for boost::next(rit)
4259 (breakAgainOneRow): ditto
4260 (breakParagraph): use a temp var for rows().begin()
4261 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4262 (cursorRightOneWord): use temp var for cursor.par() and
4263 cursor.pos(), remove usage of tmpcursor.
4264 (cursorLeftOneWord): use temp var for cursor.par() and
4265 cursor.pos() only set cur at end of function.
4267 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4269 * text.C, text2.C: exchange all usage of Paragraph::next with
4270 boost::next(ParagraphList::iterator)
4272 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4274 * text2.C (cursorTop): simplify implementation
4275 (cursorBottom): ditto
4276 (setParagraph): use ParagraphList::iterator
4277 (setCurrentFont): adjust
4278 (getColumnNearX): adjust
4279 (cursorRight): adjust
4280 (cursorLeft): remove usage of Paragraph::previous
4281 (cursorUpParagraph): ditto
4282 (deleteEmptyParagraphMechanism): slight cleanup
4284 * text.C (isBoundary): take a Paragraph const & instead of a
4286 (addressBreakPoint): ditto
4287 (leftMargin): remove usage of Paragraph::previous.
4288 (setHeightOfRow): ditto
4289 (cursorLeftOneWord): ditto
4290 (selectNextWordToSpellcheck): ditto
4293 (breakParagraph): remove one usage of Paragraph::next
4294 (redoParagraph): ditto
4295 (acceptChange): ditto
4296 (insertChar): adjust
4297 (rowBreakPoint): adjust
4299 * bufferview_funcs.C (toggleAndShow): adjust
4301 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4303 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4304 methods to access it.
4306 * text.C: Added updateRowPositions to compute all row positions.
4307 Make top_y and getRowNearY() to use the cached y position
4309 2003-04-11 John Levon <levon@movementarian.org>
4311 * text.C (rowBreakPoint): reintroduce the labelEnd
4312 checks, code copied from the row fill stuff. Deep voodoo.
4314 * text.C (fill): add a comment and debugging for the
4317 2003-04-11 John Levon <levon@movementarian.org>
4319 * text.C: make sure fullrow insets get wrapped to the next line,
4320 even when they're in a manual label
4322 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4324 * text2.C (insertParagraph): make it take ParagraphList::iterator
4326 (setLayout): make it return ParagraphList::iterator
4327 (redoParagraphs): ditto
4329 (checkParagraph): ditto
4331 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4333 * text2.C: adjust several funcs.
4334 (realizeFont): take a ParagraphList::iterator as arg.
4335 (getLayoutFont): ditto
4336 (getLabelFont): ditto
4337 (setCharFont): ditto
4339 * text.C: adjust several funcs.
4341 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4343 * text.C (selectNextWordToSpellcheck): don't accidentally
4346 2003-04-10 John Levon <levon@movementarian.org>
4348 * ToolbarBackend.C (getIcon): special handling for
4351 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4353 * text2.C (cursorRight): a getChar assert fixed
4355 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4357 * text2.C (getFont): change to take a ParagraphList::iterator
4358 instead of Paragraph*
4359 Adjust several functions.
4361 * text.C (transformChar): change to take a ParagraphList::iterator
4362 instead of Paragraph*
4363 (singleWidth): ditto
4364 Adjust several functions.
4366 * rowpainter.C: adjust several functions
4367 * rowpainter.h:store a ParagraphList::iterator and not a
4371 2003-04-09 John Levon <levon@movementarian.org>
4376 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4377 and the "help" bits as well
4379 2003-04-09 John Levon <levon@movementarian.org>
4382 * ToolbarBackend.C: allow multiple toolbars
4384 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4386 * undo_funcs.C (setCursorParUndo): adjust
4388 * text_funcs.C (transposeChars): adjust
4390 * text3.C (gotoNextInset): adjust
4393 * text2.C (setLayout): adjust
4394 (changeDepth): adjust
4396 (redoParagraphs): adjust
4397 (selectionAsString): adjust
4398 (setParagraph): adjust
4399 (insertInset): adjust
4400 (cutSelection): adjust
4401 (copySelection): adjust
4402 (pasteSelection): adjust
4403 (insertStringAsLines): adjust
4404 (updateInset): adjust
4405 (setCursor): change to take a ParagraphList::iterator parameter
4406 (setCursorIntern): change to take a ParagraphList::iterator parameter
4407 (setCurrentFont): adjust
4408 (cursorLeft): adjust
4409 (cursorRight): adjust
4410 (deleteEmptyParagraphMechanism): adjust
4412 * text.C (breakParagraph): adjust
4413 (insertChar): adjust
4414 (acceptChange): adjust
4415 (rejectChange): adjust
4416 (selectNextWordToSpellcheck): adjust
4417 (changeCase): adjust
4421 * lyxfind.C (SearchForward): adjust
4422 (SearchBackward): adjust
4423 (nextChange): adjust
4425 * lyxcursor.C (par): adjust
4427 * lyxcursor.h: store a ParagraphList::iterator instead of a
4430 * lyx_cb.C (getPossibleLabel): adjust
4432 * bufferview_funcs.C (toggleAndShow): adjust
4434 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4437 * BufferView.C (removeAutoInsets): adjust
4438 (lockedInsetStoreUndo): adjust
4440 2003-04-09 John Levon <levon@movementarian.org>
4442 * ToolbarBackend.C: try icon without argument
4443 if with argument fails
4445 2003-04-08 John Levon <levon@movementarian.org>
4448 * ToolbarBackend.C: add getIcon(), handle tooltip,
4449 and change from "Icon" to "Item".
4451 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4453 * BufferView.C (lockInset): another bad getchar crunched
4455 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4457 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4460 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4462 * lyxfind.C (searchForward, searchBackwards): bug 782
4464 2003-04-07 John Levon <levon@movementarian.org>
4466 * paragraph.C: remove dead comment
4468 * text.C: remove troublesome depth-fiddling code
4469 in leftMargin() and rightMargin() (bug 1017)
4471 * text.C: fix breaking of rows in nested lists
4474 * text2.C (updateCounters): fix up depth values
4477 2003-04-07 John Levon <levon@movementarian.org>
4479 * BufferView_pimpl.C: clear message when doc finishes resizing,
4480 and after a mouse event
4482 * lyxfunc.C: clear message after exiting inset
4484 2003-04-07 John Levon <levon@movementarian.org>
4486 * bufferview_funcs.C: show math status not outside
4487 status in the statusbar
4489 2003-04-07 John Levon <levon@movementarian.org>
4491 * lyxfunc.C: note status changed after a depth change
4493 2003-04-04 Angus Leeming <leeming@lyx.org>
4495 * LaTeX.h: move AuxInfo operator==, != out of line.
4496 Remove LaTeX virtual destructor; nothing derives from it.
4497 Move operator()() out of public area and rename it startscript().
4498 Change protected for private.
4500 2003-04-04 Angus Leeming <leeming@lyx.org>
4503 * text2.C: remove unneeded #includes.
4505 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4507 * text2.C (dEPM): fix the heigth of the next row
4509 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4511 * text.C: squashed an invalid getChar requester + some ws changes
4513 2003-04-03 John Levon <levon@movementarian.org>
4515 * bufferview_funcs.h:
4516 * bufferview_funcs.C:
4519 * text2.C: make getStatus work for the env depth lfuns
4521 2003-04-03 John Levon <levon@movementarian.org>
4523 * bufferview_funcs.h:
4524 * bufferview_funcs.C:
4527 * text2.C: parlistize decDepth(), by merging it with incDepth()
4529 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4531 * lyxrow.h: store a ParagraphList::iterator instead of a
4532 Paragraph* and adjust other class functions to suit.
4534 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4537 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4539 * text2.C (setCursor): do not anchor to cursor row for the time being
4541 2003-04-02 John Levon <levon@movementarian.org>
4548 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4550 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4552 * paragraph.h: make ParagraphList and ParagraphList::iterator
4553 friends of Paragraph.
4555 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4557 * ParagraphList.C: Use the private next_ and previous_ from
4560 2003-04-01 John Levon <levon@movementarian.org>
4564 * Makefile.am: rename, remove defaults gunk
4567 * MenuBackend.C: remove defaults gunk
4570 * Languages.C: remove defaults gunk
4573 * lyx_main.C: error out if files couldn't be found.
4575 2003-04-02 John Levon <levon@movementarian.org>
4577 * text2.C: make incDepth() use parlist
4579 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4581 * undo_funcs.C (firstUndoParagraph): adjust
4583 * text3.C (gotoInset): adjust
4584 (dispatch): adjust, and rewrite loop.
4586 * text2.C (init): adjust, and rewrite loop.
4587 (redoParagraphs): adjust
4588 (updateInset): adjust, and rewrite loop.
4589 (deleteEmptyParagraphMechanism): adjust
4591 * tabular.C (LyXTabular): adjust
4592 (SetMultiColumn): adjust
4595 * lyxtext.[Ch] (ownerParagraph): delete function
4596 (ownerParagraphs): new function returns a ParagraphList.
4598 * BufferView.C (removeAutoInsets): adjust
4599 (insertErrors): adjust
4600 (setCursorFromRow): adjust
4602 2003-04-01 Angus Leeming <leeming@lyx.org>
4604 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4607 2003-04-02 John Levon <levon@movementarian.org>
4613 * text_funcs.C: make transposeChars a free function
4615 * lyxrow_funcs.C: remove wrong comment
4617 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4620 * rowpainter.C: adjust
4625 * lyxrow_funcs. [Ch]: new files
4627 * lyxrow.[Ch]: remove next and previous pointers
4628 (next,previous): remove accessor functions
4629 (isParEnd): move to lyxrow_funcs
4630 (lastPos): move to lyxrow_funcs
4631 (nextRowIsAllInset): move to lyxrow_funcs
4632 (lastPrintablePos): move to lyxrow_funcs
4633 (numberOfSeparators): move to lyxrow_funcs
4634 (numberOfHfills): move to lyxrow_funcs
4635 (numberOfLabelHfills): move to lyxrow_funcs
4636 (hfillExpansion): move to lyxrow_funcs
4640 * bufferview_funcs.C (toggleAndShow): adjust
4642 * RowList.h: Remove class RowList from file leave just a
4645 * RowList.C: delete file
4647 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4650 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4652 * text3.C (cursorPrevious): adjust
4653 (cursorNext): adjust
4656 * text2.C (redoHeightOfParagraph): adjust
4657 (redoDrawingOfParagraph): adjust
4660 * text.C (breakParagraph): adjust
4661 (insertChar): adjust
4664 * rowpainter.C (RowPainter): adjust
4665 (leftMargin): simplify and adjust
4666 (most rowpainter functions): adjust.
4668 * rowpainter.h: store the row as RowList::iterator not as Row*
4670 * lyxcursor.C (row): taka RowList::iterator as arg
4673 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4676 2003-04-01 Angus Leeming <leeming@lyx.org>
4678 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4679 stuff like bool Bool.
4681 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4683 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4686 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4688 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4691 * lyxtext.h (rows): drop one version and leve a const variant that
4692 returns a RowList::iterator.
4694 2003-03-31 Angus Leeming <leeming@lyx.org>
4696 * text.C (fill): ensure that the signature is the same as that in the
4699 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4701 * text2.C (redoParagraphs): adjust
4702 (updateCounters): adjust
4703 (checkParagraph): adjust
4704 (getColumnNearX): adjust and reformat a bit.
4706 * text.C (top_y): adjust
4708 (leftMargin): adjust
4709 (prepareToPrint): adjust
4711 (getRowNearY): adjust
4713 * lyxtext.h: make rowlist_ mutable.
4715 * RowList.h: add const_iterator
4716 * RowList.C: adjust for RowList::const_iterator.
4718 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4721 2003-03-31 John Levon <levon@movementarian.org>
4724 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4726 * lyx_main.C: set default fonts from using lyx_gui funcs
4728 * exporter.C: pdf_mode moved from lyxrc
4731 * lyxfunc.C: changes from above
4733 2003-03-31 John Levon <levon@movementarian.org>
4735 * lyx_main.C: fix to the last fix
4737 2003-03-31 John Levon <levon@movementarian.org>
4739 * bufferlist.C: "Load original" -> "Load Original"
4745 * format.C: more Alert cleanups
4747 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4749 * text2.C (removeParagraph): make it take a RowList::iterator as
4751 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4752 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4754 * text.C (anchor_row): make it take a RowList::iterator as arg,
4756 (computeBidiTables): make it take a const reference to Row instead
4757 of Row pointer, adjust.
4758 (leftMargin): make it take a RowList::iterator as arg, adjust.
4759 (rowBreakPoint): adjust
4760 (breakAgainOneRow): make it take a RowList::iterator as arg,
4762 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4764 * bufferview_funcs.C (toggleAndShow): adjust
4766 2003-03-30 John Levon <levon@movementarian.org>
4770 * boost-inst.C: moved to support
4772 * several files: changes as a result
4774 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4776 * text2.C (LyXText): adjust.
4778 (removeRow): make it take a RowList::iterator as arg, adjust.
4779 (fullRebreak): adjust
4780 (deleteEmptyParagraphMechanism): adjust
4781 (clearPaint): adjust
4784 * text.C (top_y): adjust
4785 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4786 (breakAgain): make it take a RowList::iterator as arg, adjust.
4787 (breakParagraph): adjust
4788 (insertChar): adjust
4791 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4792 need_break_row, and refresh_row.
4794 * text3.C (dispatch): adjust
4796 * text2.C (checkParagraph): adjust
4798 (setCursorFromCoordinates): adjust
4800 * text.C (top_y): adjust
4802 (getRow): make it return a RowList::iterator, adjust
4803 (getRowNearY): make it return a RowList::iterator, adjust
4805 * text2.C (init): adjust
4806 (insertRow): remove function
4807 (insertParagraph): adjust
4808 (redoParagraphs): adjust
4809 (fullRebreak): adjust
4810 (updateCounters): adjust
4812 * text.C (top_y): rewrite to use RowList iterators.
4814 (setHeightOfRow): rewrite to sue RowList iterators.
4815 (appendParagraph): adjust
4816 (breakAgain): adjust
4817 (breakAgainOneRow): adjust
4818 (breakParagraph): adjust
4820 (getRowNearY): adjust, and remove commented code.
4822 * lyxtext.h (firstRow): delete function
4823 (lastRow): delete function
4824 (rows): new function (const and non-const versions.)
4825 (insertRow): delete function
4827 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4829 2003-03-29 John Levon <levon@movementarian.org>
4831 * BufferView_pimpl.C: always update scrollbar top
4832 because pasting text when we're anchored could mean we
4833 miss an update altogether
4835 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4837 * text2.C (init): use rowlist_.end() and not 0.
4838 (insertRow): change to take a RowList::iterator as arg, adjust
4840 (insertParagraph): change to take a RowList::iterator as arg,
4842 (redoParagraphs): remove some debug msgs.
4844 * text.C (appendParagraph): change to take a RowList::iterator
4845 arg, adjust for this.
4846 (breakAgain): add an assert
4847 (breakAgainOneRow): ditto
4849 2003-03-29 John Levon <levon@movementarian.org>
4851 * text2.C: do not clear selection after inc/decDepth
4854 2003-03-29 John Levon <levon@movementarian.org>
4857 * buffer.C: fix broken strerrors according to Lars
4859 2003-03-29 John Levon <levon@movementarian.org>
4861 * converters.C: more Alert cleanups
4863 2003-03-29 John Levon <levon@movementarian.org>
4865 * bufferview_funcs.C: remove pointless Alert
4867 * buffer.C: fix confusing error message when
4868 a template is chmoded 000
4870 2003-03-29 John Levon <levon@movementarian.org>
4874 * BufferView_pimpl.C: Alert fixes
4878 * tabular-old.C: remove unused table compat reading
4880 2003-03-29 John Levon <levon@movementarian.org>
4885 * lyx_cb.C: more Alert cleanups
4887 * lyxfunc.C: don't allow chktex if not latex document
4889 2003-03-29 John Levon <levon@movementarian.org>
4893 * buffer.C: warnings pushed down from support/,
4896 2003-03-29 John Levon <levon@movementarian.org>
4898 * lyxfunc.C: safety check for C-r (revert)
4900 2003-03-29 John Levon <levon@movementarian.org>
4903 * bufferlist.C: several UI fixes using Alert::prompt.
4904 Fix the pointless looping quit code. Fix stupid revert
4909 * lyx_cb.C: use Alert::prompt
4911 * lyx_main.C: remove a silly question
4913 * lyxfunc.C: remove a couple of silly questions,
4916 2003-03-28 John Levon <levon@movementarian.org>
4918 * text2.C: fix bug 974 (End on empty par)
4920 2003-03-28 John Levon <levon@movementarian.org>
4922 * BufferView_pimpl.C:
4924 * lfuns.h: remove do-nothing math greek lfuns
4926 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4928 * lyxgluelength.h (isValidGlueLength): add default arg on
4929 parameter 2. Remove default arg from friend in class.
4931 * lyxlength.h (isValidLength): add default arg on parameter 2.
4932 Remove default arg from friend in class.
4934 * text2.C (LyXText): adjust, initialize refresh_row.
4938 (insertParagraph): adjst
4939 (redoParagraphs): adjust
4940 (fullRebreak): adjust
4941 (updateCounters): adjust
4942 (deleteEmptyParagraphMechanism): first attempt at fixing a
4945 * text.C (top_y): adjust
4946 (setHeightOfRow): adjust
4948 (getRowNearY): adjust
4950 * lyxtext.h: include RowList.h
4951 (~LyXText): not needed anymore, deleted.
4952 (firstRow): modify for RowList
4953 (lastRow): new function
4954 Delete firstrow and lastrow class variables, add a Rowlist
4955 rowlist_ class variable.
4957 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4960 * RowList.C (insert): fix case where it == begin().
4962 2003-03-26 Angus Leeming <leeming@lyx.org>
4964 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4965 the thesaurus dialog.
4967 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4969 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4971 * RowList.[Ch]: new files
4973 * ParagraphList.C (erase): handle the case where it == begin
4976 2003-03-25 John Levon <levon@movementarian.org>
4980 * aspell.C: add new aspell support
4983 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4986 2003-03-25 Angus Leeming <leeming@lyx.org>
4989 * LyXAction.C (init): new LFUN_INSET_INSERT.
4991 * BufferView_pimpl.C (dispatch): split out part of the
4992 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4994 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4997 2003-03-25 Angus Leeming <leeming@lyx.org>
4999 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5001 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5004 * text3.C: remove useless row->height(0)
5006 2003-03-25 John Levon <levon@movementarian.org>
5010 * text3.C: rename the refreshing stuff to better names
5012 2003-03-24 John Levon <levon@movementarian.org>
5014 * BufferView_pimpl.h:
5015 * BufferView_pimpl.C: update layout choice on a mouse
5018 2003-03-23 John Levon <levon@movementarian.org>
5020 * Makefile.am: fix commandtags.h reference
5022 2003-03-22 John Levon <levon@movementarian.org>
5024 * BufferView_pimpl.C:
5029 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5031 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5034 * text.C: take the rtl methods out of line
5036 2003-03-21 André Pönitz <poenitz@gmx.net>
5038 * metricsinfo.[Ch]: new files containing structures to be passed around
5039 during the two-phase-drawing...
5041 2003-03-21 André Pönitz <poenitz@gmx.net>
5043 * lyxtextclass.C: read 'environment' tag.
5045 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5047 * text2.C (removeRow): fix bug 964
5049 2003-03-20 John Levon <levon@movementarian.org>
5053 * text2.C: paint cleanups. Inset::update() dropped font
5056 2003-03-19 John Levon <levon@movementarian.org>
5058 * lyxfunc.C: only fitcursor/markDirty if available()
5060 2003-03-19 John Levon <levon@movementarian.org>
5062 * commandtags.h: rename to ...
5064 * lfuns.h: ... this, and renumber / cleanup
5066 2003-03-19 John Levon <levon@movementarian.org>
5068 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5069 fit the cursor after an lfun
5073 * BufferView_pimpl.h:
5074 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5076 * LyXAction.C: layout-character should have ReadOnly
5078 * ParagraphParameters.C:
5080 * bufferview_funcs.C:
5087 * undo_funcs.C: changes from above
5089 2003-03-18 John Levon <levon@movementarian.org>
5091 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5092 remove it from update()
5094 * lyxfunc.C: update layout choice after an lfun
5096 * text3.C: remove extra updateLayoutChoice()s
5098 2003-03-18 John Levon <levon@movementarian.org>
5100 * text.C: top_y change means full repaint, fix
5101 a drawing bug with cursor movement
5103 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5107 * text2.C: anchor row on setCursor
5109 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5111 * lyxtext.h: remove almost all mutable keywords
5114 * text3.C: remove const keywords accordingly
5116 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5118 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5120 (TeXEnvironment): ditto
5123 2003-03-17 John Levon <levon@movementarian.org>
5125 * text.C (rowBreakPoint): remove attempt to fix displayed
5126 math insets inside a manual label
5128 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5130 * lyxtext.h: remove BufferView* as first arg from almost all class
5132 * other files: adjust.
5134 2003-03-17 John Levon <levon@movementarian.org>
5138 * text2.C: more paint cleanups
5140 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5143 * rowpainter.C: remove "smart" background painting code
5145 2003-03-16 John Levon <levon@movementarian.org>
5150 * text3.C: add helper functions for setting refresh_row/y
5152 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5154 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5155 newline inset which *can* get inserted in the pass_thru layouts.
5156 This is primarily for literate documents.
5158 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5160 * buffer.C: increment LYX_FORMAT to 223
5162 2003-03-14 André Pönitz <poenitz@gmx.net>
5164 * textclass.h: prepare for environment handling, ws changes
5165 * lyxlayout.C: read latexheader and latexfooter tags
5167 2003-03-14 John Levon <levon@movementarian.org>
5169 * text2.C: rewrite ::status() a bit
5171 2003-03-13 John Levon <levon@movementarian.org>
5173 * lyxtext.h: add some docs
5175 2003-03-13 John Levon <levon@movementarian.org>
5180 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5182 2003-03-13 John Levon <levon@movementarian.org>
5184 * text3.C: fix appendix redrawing
5186 2003-03-13 John Levon <levon@movementarian.org>
5188 * text.C (setHeightOfRow):
5190 * rowpainter.C: make appendix mark have the text
5191 "Appendix" so the user knows what it is
5194 * LColor.C: s/appendixline/appendix/ from above
5196 2003-03-13 John Levon <levon@movementarian.org>
5198 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5200 * text.C: fix a getChar(pos) bug properly
5202 2003-03-13 Angus Leeming <leeming@lyx.org>
5205 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5206 Probably only temporary. Let's see how things pan out.
5208 * BufferView.C (unlockInset):
5209 * BufferView_pimpl.C (fitCursor):
5210 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5212 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5213 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5215 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5216 new functions that convert ParagraphParameters to and from a string.
5218 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5219 BufferView::Pimpl's dispatch.
5220 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5222 2003-03-13 André Pönitz <poenitz@gmx.net>
5226 * factory.C: make it aware of InsetEnv
5228 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5230 * text2.C (setCursor): never ask for one past last
5231 (setCursor): add some debugging messages.
5233 * text.C (singleWidth): never ask for one past last
5234 (singleWidth): ditto
5236 (rightMargin): ditto
5237 (rowBreakPoint): ditto
5238 (setHeightOfRow): ditto
5239 (prepareToPrint): ditto
5241 * rowpainter.C (paintBackground): never ask for one past last
5242 (paintText): never ask for one past last
5244 * paragraph_pimpl.C (getChar): make the assert stricter, never
5245 allow the one past last pos to be taken
5247 * paragraph.C (getChar): ws changes only
5249 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5250 (numberOfSeparators): ditto
5251 (numberOfHfills): ditto
5253 2003-03-12 John Levon <levon@movementarian.org>
5259 * paragraph_funcs.C: fix per-buffer authorlists
5261 2003-03-12 John Levon <levon@movementarian.org>
5263 * text.C: fix newline in right address
5265 2003-03-12 Angus Leeming <leeming@lyx.org>
5267 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5268 duplicate those in LyXFunc::dispatch.
5272 * ToolbarDefaults.C:
5273 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5274 Add LFUN_FONTFREE_UPDATE.
5276 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5277 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5279 * bufferview_func.[Ch]: several new functions to facilliate
5280 transfer of data to and from the character dialog.
5282 2003-03-12 John Levon <levon@movementarian.org>
5287 * paragraph_funcs.C:
5288 * paragraph_pimpl.C:
5292 * text3.C: remove META_NEWLINE in favour of an inset
5295 * rowpainter.C: remove paintNewline (done by inset)
5297 2003-03-12 John Levon <levon@movementarian.org>
5299 * paragraph_pimpl.C: complain about bad getChar()s
5300 for a while at least
5302 2003-03-12 John Levon <levon@movementarian.org>
5305 * buffer.C: move paragraph read into a separate function,
5306 a little renaming to reflect that.
5309 * bufferparams.C: remove the author_ids map, not necessary now
5312 * factory.C: moved Buffer::readInset to here
5314 * paragraph_funcs.h:
5315 * paragraph_funcs.C: readParagraph free function moved from
5318 * tabular.C: name change
5320 2003-03-12 John Levon <levon@movementarian.org>
5323 * ParagraphParameters.C: move par params input to
5326 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5327 behave like a normal read from the stream wrt reading
5328 a line vs. a \\token
5330 2003-03-12 John Levon <levon@movementarian.org>
5333 * ParagraphParameters.h:
5334 * ParagraphParameters.C: move output code to a
5337 2003-03-12 John Levon <levon@movementarian.org>
5339 * BufferView.C (insertLyXFile):
5342 * tabular.C: use a parlist iterator for creating the
5345 2003-03-12 John Levon <levon@movementarian.org>
5347 * buffer.C: make current_change static local not
5350 2003-03-12 John Levon <levon@movementarian.org>
5352 * buffer.C: fix insertStringAsLines for change tracking
5354 2003-03-12 John Levon <levon@movementarian.org>
5361 * bufferparams.C: move author list into params. Rename some
5362 functions. Move the header reading into a separate token
5363 loop. Move the header token reading into BufferParams.
5365 2003-03-12 John Levon <levon@movementarian.org>
5367 * changes.C: put debug inside lyxerr.debugging() checks
5369 2003-03-11 André Pönitz <poenitz@gmx.net>
5371 * factory.C: make it aware of InsetHFill
5373 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5375 * buffer.C (latexParagraphs): move function from here...
5376 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5379 2003-03-10 Angus Leeming <leeming@lyx.org>
5381 * LyXAction.C (init): fix bug in poplating array with multiple entries
5382 with the same LFUN (spotted by JMarc).
5384 2003-03-10 John Levon <levon@movementarian.org>
5387 * text2.C: move getColumnNearX() near its
5390 2003-03-10 John Levon <levon@movementarian.org>
5392 * text.C: fix break before a minipage
5394 2003-03-10 John Levon <levon@movementarian.org>
5396 * text.C: fix the last commit
5398 2003-03-09 John Levon <levon@movementarian.org>
5402 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5403 bug 365 (don't break before insets unless needed). Don't
5404 return a value > last under any circumstances.
5406 2003-03-09 Angus Leeming <leeming@lyx.org>
5408 * BufferView_pimpl.C (trackChanges, dispatch): call
5409 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5411 2003-03-09 Angus Leeming <leeming@lyx.org>
5413 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5414 than Dialogs::showAboutlyx().
5416 2003-03-09 Angus Leeming <leeming@lyx.org>
5418 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5419 than Dialogs::showTabularCreate().
5421 2003-03-09 John Levon <levon@movementarian.org>
5425 * text2.C: 3rd arg to nextBreakPoint was always the same.
5428 2003-03-08 John Levon <levon@movementarian.org>
5435 * text2.C: Remove the "main" bit from the "main body"
5438 2003-03-08 John Levon <levon@movementarian.org>
5440 * text.C (leftMargin): The left margin of an empty
5441 manual label paragraph should not include the label width
5444 * text.C (prepareToPrint): don't attempt to measure hfills
5445 for empty manual label paragraphs - the answer should be 0
5447 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5449 * CutAndPaste.C: remove commented code and reindent.
5451 2003-03-08 John Levon <levon@movementarian.org>
5454 * lyxfunc.C: move reloadBuffer()
5457 * BufferView.C: to here
5459 * lyxvc.C: add comment
5462 * vc-backend.C: call bv->reload() to avoid
5463 getStatus() check on MENURELOAD
5465 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5467 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5468 to an old format .dep file.
5470 2003-03-07 Angus Leeming <leeming@lyx.org>
5472 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5473 when the LFUN_MOUSE_RELEASE should have been handled by
5474 inset->localDispatch.
5476 2003-03-07 Angus Leeming <leeming@lyx.org>
5478 * BufferView_pimpl.C (dispatch):
5479 * LyXAction.C (init):
5480 * ToolbarDefaults.C (init):
5482 * lyxfunc.C (getStatus):
5483 remove LFUN_INSET_GRAPHICS.
5485 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5487 2003-03-07 Angus Leeming <leeming@lyx.org>
5490 * LyXAction.C (init):
5491 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5493 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5496 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5498 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5499 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5501 2003-03-07 Angus Leeming <leeming@lyx.org>
5503 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5506 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5508 * ParagraphList.C (front): new function
5511 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5513 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5514 and top_row_offset_. removed var first_y.
5516 * text2.C (LyXText, removeRow):
5518 * BufferView_pimpl.C:
5519 use these methods instead of using first_y
5521 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5523 * text2.C (pasteSelection): adjust for checkPastePossible
5525 * CutAndPaste.C: remove Paragraph * buf and replace with
5526 ParagraphList paragraphs.
5527 (DeleteBuffer): delete
5528 (cutSelection): change the tc type to textclass_type
5529 (copySelection): change the tc type to textclass_type
5530 (copySelection): adjust for ParagraphList
5531 (pasteSelection): change the tc type to textclass_type
5532 (pasteSelection): adjust for Paragraphlist
5533 (nrOfParagraphs): simplify for ParagraphList
5534 (checkPastePossible): simplify for ParagraphList
5535 (checkPastePossible): remove unused arg
5537 * ParagraphList.C (insert): handle the case where there are no
5540 * CutAndPaste.h: make CutAndPaste a namespace.
5542 * text3.C (dispatch): adjust
5544 * text.C (breakParagraph): add a ParagraphList as arg
5546 * paragraph_funcs.C (breakParagraph): change to take a
5547 BufferParams and a ParagraphList as args.
5548 (breakParagraphConservative): ditto
5549 (mergeParagraph): ditto
5550 (TeXDeeper): add a ParagraphList arg
5551 (TeXEnvironment): ditto
5554 * buffer.C (readLyXformat2): adjust
5555 (insertStringAsLines): adjust
5556 (latexParagraphs): adjust
5558 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5559 (cutSelection): adjust
5560 (pasteSelection): adjust
5562 * BufferView_pimpl.C (insertInset): adjust
5564 2003-03-05 Angus Leeming <leeming@lyx.org>
5567 * LyXAction.C (init):
5568 * BufferView_pimpl.C (dispatch):
5569 * lyxfunc.C (getStatus):
5570 remove LFUN_CHILD_INSERT.
5572 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5574 2003-03-05 Angus Leeming <leeming@lyx.org>
5577 * LyXAction.C (init):
5578 * src/factory.C (createInset):
5579 * lyxfunc.C (getStatus):
5580 * text3.C (dispatch):
5581 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5583 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5585 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5587 * ParagraphList.C (insert): handle insert right before end()
5588 (erase): fix cases where it can be first or last paragraph.
5590 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5592 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5593 Paragraph::next and Paragraph::previous
5596 * text.C (breakParagraph): adjust
5598 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5599 BufferParams& as arg.
5600 (breakParagraph): use ParagraphList::insert
5601 (breakParagraphConservative): take a Buffer* instead of a
5602 BufferParams& as arg.
5603 (breakParagraphConservative): use ParagraphList::insert.
5605 * buffer.C (insertStringAsLines): un-const it
5606 (insertStringAsLines): adjust
5608 * ParagraphList.C (insert): new function
5610 * CutAndPaste.C (pasteSelection): adjust
5612 * text.C (backspace): adjust
5614 * tabular.C (SetMultiColumn): adjust
5616 * CutAndPaste.C (cutSelection): adjust
5617 (pasteSelection): adjust
5619 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5620 Buffer const * as arg
5622 * ParagraphList.C (erase): new function
5623 * paragraph_funcs.C (mergeParagraph): use it
5624 (mergeParagraph): make it take a Buffer* instead of a
5625 BufferParams* as arg
5627 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5629 (breakParagraphConservative): ditto
5631 * paragraph.h: remove the breakParagraph friend
5633 * paragraph.C (eraseIntern): new function
5634 (setChange): new function
5636 * paragraph_funcs.C (mergeParagraph): make it take a
5637 ParagraphList::iterator instead of a Paragraph *, adjust
5640 * paragraph.h: move an #endif so that the change tracking stuff
5641 also works in the NO_NEXT case.
5643 2003-03-04 Angus Leeming <leeming@lyx.org>
5646 * LyXAction.C: new LFUN_INSET_MODIFY.
5648 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5649 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5651 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5653 * several files: ws changes only
5655 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5656 (TeXEnvironment): ditto
5659 * buffer.C (makeLaTeXFile): adjust
5660 (latexParagraphs): make it take ParagraphList::iterator as args
5662 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5664 * buffer.C (latexParagraphs): adjust
5666 * paragraph.C (TeXOnePar): move function...
5667 (optArgInset): move function...
5668 (TeXEnvironment): move function...
5669 * paragraph_pimpl.C (TeXDeeper): move function...
5670 * paragraph_funcs.C: ...here
5672 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5674 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5676 * buffer.C (readInset): remove compability code for old Figure and
5679 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5681 * buffer.C: ws changes
5684 * BufferView_pimpl.C: ditto
5687 * bufferlist.h: ditto
5691 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5693 * converter.[Ch]: split into itself +
5696 * Makefile.am: += graph.[Ch] + format.[Ch]
5703 * lyxrc.C: added #include "format.h"
5705 2003-02-27 Angus Leeming <leeming@lyx.org>
5707 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5710 * factory.C (createInset): add "label" to the factory.
5712 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5713 string and do no more.
5715 2003-02-27 Angus Leeming <leeming@lyx.org>
5718 * LyXAction.C (init):
5719 * factory.C (createInset):
5720 * BufferView_pimpl.C (dispatch):
5721 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5723 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5725 * lyxfunc.C (dispatch):
5726 * text3.C (dispatch): pass name to params2string.
5728 2003-02-26 Angus Leeming <leeming@lyx.org>
5730 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5732 Rearrange the ~includes. Strip out the unnecessary ones.
5734 * factory.C (createInset): reformat.
5735 create new insets for the various LFUN_XYZ_APPLY lfuns.
5737 2003-02-26 John Levon <levon@movementarian.org>
5740 * lyxrow.C: add isParStart,isParEnd helpers
5742 * paragraph.h: make isInserted/DeletedText take refs
5744 * paragraph_funcs.h:
5745 * paragraph_funcs.C: remove #if 0'd code
5750 * text.C: use lyxrow helpers above.
5751 Move draw and paint routines to RowPainter.
5752 Make several methods use refs not pointers.
5753 Make backgroundColor() const.
5754 Add markChangeInDraw(), isInInset().
5755 Merge changeRegionCase into changeCase.
5756 Make workWidth() shouldn't-happen code into an Assert.
5759 * rowpainter.C: new class for painting a row.
5762 * vspace.C: make inPixels take a ref
5764 2003-02-26 Angus Leeming <leeming@lyx.org>
5766 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5769 2003-02-25 John Levon <levon@movementarian.org>
5771 * ispell.C: give the forked command a more accurate name
5773 2003-02-22 John Levon <levon@movementarian.org>
5776 * toc.C: make TocItem store an id not a Paragraph *
5779 2003-02-21 Angus Leeming <leeming@lyx.org>
5781 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5782 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5783 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5784 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5785 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5786 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5788 * BufferView_pimpl.C (dispatch):
5789 * LyXAction.C (init):
5790 * factory.C (createInset):
5791 * lyxfunc.C (getStatus, dispatch):
5792 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5794 2003-02-21 Angus Leeming <leeming@lyx.org>
5796 * BufferView_pimpl.C (MenuInsertLyXFile):
5797 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5798 * lyxfunc.C (menuNew, open, doImport):
5799 no longer pass a LyXView & to fileDlg.
5801 2003-02-21 Angus Leeming <leeming@lyx.org>
5803 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5804 * LyXAction.C: change, BIBKEY to BIBITEM.
5805 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5806 Change InsetBibKey to InsetBibitem.
5807 Change BIBKEY_CODE to BIBITEM_CODE.
5808 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5809 * factory.C: replace insetbib.h with insetbibitem.h.
5810 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5811 * paragraph.C: replace insetbib.h with insetbibitem.h.
5812 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5813 Change bibkey() to bibitem().
5814 * text.C: remove insetbib.h.
5815 * text2.C: replace insetbib.h with insetbibitem.h.
5816 change bibkey() to bibitem().
5817 * text3.C: remove insetbib.h.
5818 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5820 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5822 * lyxrc.C (output): enclose user email in quotes (in case there are
5825 2003-02-18 John Levon <levon@movementarian.org>
5827 * buffer.h: add std::
5829 2003-02-17 John Levon <levon@movementarian.org>
5835 * pspell.C: reworking. Especially in ispell, a large
5836 number of clean ups and bug fixes.
5838 * lyxfunc.C: fix revert to behave sensibly
5840 2003-02-17 André Pönitz <poenitz@gmx.net>
5843 * commandtags.h: new LFUN_INSERT_BIBKEY
5853 * paragraph_func.C: remove special bibkey handling
5855 2003-02-17 John Levon <levon@movementarian.org>
5857 * text.C (Delete): fix case where delete at the end of
5858 the very first paragraph would not merge the pars
5860 2003-02-17 John Levon <levon@movementarian.org>
5862 * lyxrow.C: fix lastPrintablePos()
5864 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5866 * bufferparams.C (writeLaTeX): add a std:here
5868 * buffer.C: and remove a using directive there
5870 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5872 * buffer.C (makeLaTeXFile): move the code that generates the
5875 * bufferparams.C (writeLaTeX): ... in this new method
5877 * LaTeXFeatures.C (getEncodingSet): make const
5878 (getLanguages): make const
5880 * MenuBackend.C (binding): returns the binding associated to this
5882 (add): sets the status of each item by calling getStatus. Adds
5884 (read): add support for OptSubMenu
5885 (expand): remove extra separator at the end of expanded menu
5887 2003-02-15 John Levon <levon@movementarian.org>
5890 * BufferView_pimpl.C:
5892 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5893 inset code that had no actual effect. Remove unneeded status
5896 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5898 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5901 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5903 * text.C (drawLengthMarker): also draw an arrow marker for
5904 symbolic lengths (medskip...)
5906 2003-02-14 John Levon <levon@movementarian.org>
5909 * tabular.C: better method names
5911 2003-02-14 John Levon <levon@movementarian.org>
5913 * BufferView_pimpl.C:
5918 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5919 it's a more accurate name. Remove some pointless uses.
5921 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5923 * text2.C (LyXText): change order of initilizers to shut off
5926 2003-02-14 John Levon <levon@movementarian.org>
5928 * buffer.C: use ParIterator for getParFromID()
5932 * paragraph_pimpl.h:
5933 * paragraph_pimpl.C: remove unused getParFromID()
5935 2003-02-14 John Levon <levon@movementarian.org>
5937 * buffer.C: remove some very old #if 0'd parse code
5939 2003-02-13 John Levon <levon@movementarian.org>
5943 * text2.C: move hfillExpansion(), numberOfSeparators(),
5944 rowLast(), rowLastPrintable(), numberofHfills(),
5945 numberOfLabelHfills() ...
5948 * lyxrow.C: ... to member functions here.
5953 * text.C: remove LyXText::beginningOfMainBody(), and call
5954 p->beginningOfMainBody() directly. Move the check for
5955 LABEL_MANUAL into the latter.
5962 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5968 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5969 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5971 2003-02-13 John Levon <levon@movementarian.org>
5973 * CutAndPaste.C: remove debug
5975 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5977 * paragraph.C (asString): remove two unused variables
5979 * lyxtextclass.C (readTitleType):
5981 (LyXTextClass): handle new members titletype_ and titlename_
5983 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5985 2003-02-09 John Levon <levon@movementarian.org>
5988 * buffer.C: replace hand-coded list with a map for the dep clean
5990 2003-02-08 John Levon <levon@movementarian.org>
5992 * LaTeX.C: consolidate code into showRunMessage() helper
5994 2003-02-08 John Levon <levon@movementarian.org>
5999 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6000 and pass the size in explicitly
6002 * BufferView_pimpl.h:
6003 * BufferView_pimpl.C:
6005 * BufferView.C: add getCurrentChange()
6007 * BufferView_pimpl.h:
6008 * BufferView_pimpl.C: handle change lfuns
6010 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6011 for changes. Mark pasted paragraphs as new.
6013 * support/lyxtime.h:
6014 * support/lyxtime.C:
6015 * DepTable.C: abstract time_t as lyx::time_type
6018 * LColor.C: add colours for new text, deleted text, changebars
6020 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6021 package use "usenames" option.
6025 * LyXAction.C: add change lfuns
6029 * author.C: author handling
6032 * buffer.C: add a per-buffer author list, with first entry as
6033 current author. Handle new .lyx tokens for change tracking. Output
6034 author list to .lyx file. Output dvipost stuff to .tex preamble.
6035 Bump lyx format to 222.
6038 * bufferlist.C: add setCurrentAuthor() to reset current author details
6042 * bufferparams.C: add param for tracking
6044 * bufferview_funcs.C: output change info in minibuffer
6048 * changes.C: add change-tracking structure
6051 * debug.C: add CHANGES debug flag
6054 * lyxfind.C: add code for finding the next change piece
6057 * lyxrc.C: add user_name and user_email
6060 * lyxrow.C: add a metric for the top of the text line
6063 * text.C: implement accept/rejectChange()
6066 * text.C: paint changebars. Paint new/deleted text in the chosen
6067 colours. Strike through deleted text.
6071 * paragraph_pimpl.h:
6072 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6073 in the current change to the insert functions. Rework erase to
6074 mark text as deleted, adding an eraseIntern() and a range-based
6075 erase(). Implement per-paragraph change lookup and
6078 * paragraph_funcs.C: Fixup paste for change tracking.
6080 * tabular.C: mark added row/columns as new.
6082 * text.C: fix rowLast() to never return -1. Don't allow
6083 spellchecking of deleted text. Track transpose changes. Don't
6084 allow paragraph break or merge where appropriate.
6086 * text2.C: leave cursor at end of selection after a cut.
6088 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6090 * text.C (getLengthMarkerHeight):
6091 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6092 visible on screen too.
6094 2003-02-07 John Levon <levon@movementarian.org>
6096 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6098 2003-02-05 Angus Leeming <leeming@lyx.org>
6100 * lyxserver.C (read_ready): revert my patch of 11 September last year
6101 as it sends PC cpu through the roof. Presumably this means that
6102 the lyxserver will no longer run on an Alpha...
6104 2003-01-30 Angus Leeming <leeming@lyx.org>
6106 * factory.C (createInset): create an InsetCommandParam of type "index"
6107 and use it to 'do the right thing'.
6109 * text2.C (getStringToIndex): ensure that cursor position is always
6110 reset to the reset_cursor position.
6112 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6114 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6117 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6121 * lyxfunc.C: Output messages with identical spelling, punctuation,
6124 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6126 * MenuBackend.C (expandFormats): List only viewable export formats
6129 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6132 * lyxfunc.C (getStatus): Make sure that formats other than
6133 "fax" can also be disabled
6135 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6137 * text3.C (dispatch): put the lfuns that insert insets in 3
6138 groups, and call doInsertInset with appropriate arguments.
6139 (doInsertInset): new function, that creates an inset and inserts
6140 it according to some boolean parameters.
6142 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6144 * buffer.C (readFile): remember to pass on 'par' when calling
6145 readFile recursively.
6147 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6149 * MenuBackend.C (expandFormats): add "..." to import formats.
6151 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6153 * paragraph.C (asString): Remove XForms RTL hacks.
6155 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6156 * buffer.C: fix typo
6158 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6160 * Makefile.am (LIBS): delete var
6161 (lyx_LDADD): add @LIBS@ here instead.
6163 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6165 * Clarify the meaning of "wheel mouse jump"
6167 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6169 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6172 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6174 * importer.C (Loaders): do not preallocate 3 elements in the
6175 vector, since one ends up with 6 elements otherwise
6177 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6179 * DepTable.C (write): write the file name as last element of the
6180 .dep file (because it may contain spaces)
6181 (read): read info in the right order
6183 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6185 * paragraph_pimpl.C (simpleTeXBlanks):
6186 (simpleTeXSpecialChars):
6187 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6189 * tabular.C (latex): add some missing case statements. Reindent.
6191 * MenuBackend.C (expandToc): remove unused variable.
6193 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6202 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6205 2003-01-05 John Levon <levon@movementarian.org>
6208 * BufferView.C: add getEncoding()
6211 * kbsequence.C: do not store last keypress
6214 * lyxfunc.C: store last keypress here instead. Pass encoding
6217 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6219 * lyx_main.C (init): remove annoying error message when following
6220 symbolic links (bug #780)
6222 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6224 * text.C (insertChar):
6225 * lyxrc.C (getDescription): remove extra spaces
6227 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6229 * lyxrc.C (getDescription): remove extra spaces
6231 2002-12-20 John Levon <levon@movementarian.org>
6233 * text3.C: hack fix for page up/down across tall rows
6235 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6237 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6240 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6242 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6243 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6244 thesaurus is not compiled in
6246 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6248 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6250 2002-12-16 Angus Leeming <leeming@lyx.org>
6253 * lyx_main.C (init): remove override_x_deadkeys stuff.
6255 2002-12-12 John Levon <levon@movementarian.org>
6257 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6258 insert. Only remove shift modifier under strict
6261 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6263 * MenuBackend.C (expandToc): fix crash.
6265 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6267 * MenuBackend.C (expandToc): gettext on float names.
6269 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6271 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6272 implement bool empty() [bug 490]
6274 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6276 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6278 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6280 * several files: ws changes
6282 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6284 * text2.C (setCounter): clean up a bit, use boost.format.
6285 (updateCounters): initialize par upon declaration.
6287 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6288 if the layout exists. We do not just store the layout any more.
6289 (SwitchLayoutsBetweenClasses): use boost.format
6291 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6293 * converter.C (convert): if from and to files are the same, use a
6294 temporary files as intermediary
6296 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6299 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6301 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6303 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6305 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6307 * tabular.C (asciiPrintCell): use string(size, char) instead of
6310 * sgml.C (openTag): fix order of arguments to string constructor
6313 * lyxfunc.C (dispatch): use boost.format
6315 * lots of files: change "c" -> 'c'
6317 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6319 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6321 2002-11-25 Angus Leeming <leeming@lyx.org>
6323 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6325 * lyx_main.C (init): compile fix.
6327 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6329 * lyx_cb.C (start): boost.formatify
6330 do not include <iostream>
6332 * lengthcommon.C: ws only
6334 * boost-inst.C,BoostFormat.h: add more explict instantations
6336 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6338 * lots of files: handle USE_BOOST_FORMAT
6340 2002-11-21 John Levon <levon@movementarian.org>
6342 * pspell.C: fix compile
6344 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6346 * lyxfunc.C (dispatch): use boost::format
6350 * lyxfont.C (stateText): use boost::format
6352 * lyx_main.C (LyX): use boost::format
6354 (queryUserLyXDir): ditto
6357 (typedef boost::function): use the recommened syntax.
6359 * importer.C (Import): use boost::format
6361 * debug.C (showLevel): use boost::format
6363 * converter.C (view): use boost::format
6368 * bufferview_funcs.C (currentState): use boost::format
6370 * bufferlist.C (emergencyWrite): use boost::format
6372 * buffer.C (readLyXformat2): use boost::format
6373 (parseSingleLyXformat2Token): ditto
6375 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6377 * LaTeX.C (run): use boost::format
6379 * Chktex.C (scanLogFile): use boost::format
6381 * BufferView_pimpl.C (savePosition): use boost::format
6382 (restorePosition): ditto
6383 (MenuInsertLyXFile): ditto
6385 * BoostFormat.h: help file for explicit instation.
6387 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6389 * tabular.C (latex): Support for block alignment in fixed width
6392 2002-11-17 John Levon <levon@movementarian.org>
6394 * BufferView_pimpl.C:
6396 * lyxfunc.C: split filedialog into open/save
6398 2002-11-08 Juergen Vigna <jug@sad.it>
6400 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6401 by my last patch (hopefully).
6403 2002-11-08 John Levon <levon@movementarian.org>
6412 * toc.C: ParConstIterator, and use it (from Lars)
6414 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6416 * lyxtextclass.[Ch]: revise and add doxygen comments
6418 2002-11-07 John Levon <levon@movementarian.org>
6420 * text.C: fix progress value for spellchecker
6422 * toc.C: fix navigate menu for insetwrap inside minipage
6424 * paragraph_funcs.C: added FIXME for suspect code
6426 2002-11-07 John Levon <levon@movementarian.org>
6428 * BufferView_pimpl.C: fix redrawing of insets
6431 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6433 * text2.C (updateCounters): fix bug 668
6435 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6437 * text3.C (dispatch): Do not make the buffer dirty when moving the
6440 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6442 * vc-backend.C: STRCONV
6445 * text2.C (setCounter): STRCONV
6447 * paragraph.C (asString): STRCONV
6449 * lyxlength.C (asString): STRCONV
6450 (asLatexString): ditto
6452 * lyxgluelength.C (asString): STRCONV
6453 (asLatexString): ditto
6455 * lyxfunc.C (dispatch): STRCONV
6458 * lyxfont.C (stateText): STRCONV
6460 * importer.C (Import): STRCONV
6462 * counters.C (labelItem): STRCONV
6463 (numberLabel): ditto
6464 (numberLabel): remove unused ostringstream o
6469 * bufferview_funcs.C (currentState): STRCONV
6471 * buffer.C (readFile): STRCONV
6472 (asciiParagraph): ditto
6473 (makeLaTeXFile): ditto
6475 * Spacing.C (writeEnvirBegin): STRCONV
6477 * LaTeXFeatures.C (getLanguages): STRCONV
6478 (getPackages): ditto
6480 (getBabelOptions): ditto
6481 (getTClassPreamble): ditto
6482 (getLyXSGMLEntities): ditto
6483 (getIncludedFiles): ditto
6487 (scanAuxFile): ditto
6490 * LString.h: add the STRCONV macros
6492 * BufferView_pimpl.C (savePosition): STRCONV
6493 (restorePosition): ditto
6494 (MenuInsertLyXFile): ditto
6496 * vc-backend.C (scanMaster): change from submatch[...] to
6499 * funcrequest.C: include config.h
6501 * factory.C: include config.h
6503 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6505 * box.C: include config.h
6507 * LaTeX.C (scanAuxFile): change from submatch[...] to
6511 2002-10-25 Angus Leeming <leeming@lyx.org>
6513 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6515 * ispell.[Ch] (setError): new method.
6516 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6517 Use setError() insetead of goto END.
6519 * lyx_cb.C (AutoSave): move out child process into new class
6522 2002-10-30 John Levon <levon@movementarian.org>
6524 * text3.C: make start appendix undoable
6526 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6528 * lyxlength.C (inPixels): Fix returned value.
6530 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6533 2002-10-24 Angus Leeming <leeming@lyx.org>
6535 * lyxgluelength.h: no need to forward declare BufferParams
6536 or BufferView, so don't.
6538 2002-10-21 John Levon <levon@movementarian.org>
6540 * BufferView.C: menuUndo ->undo, redo
6542 * BufferView.h: document, remove dead, make some methods private
6544 * paragraph_funcs.h:
6545 * paragraph_funcs.C:
6546 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6551 * sgml.C: move sgml open/close tag into sgml.C
6553 * bufferview_funcs.h: unused prototype
6556 * lyxfunc.C: remove unused
6559 * text.C: remove unused
6561 2002-10-21 John Levon <levon@movementarian.org>
6565 * BufferView_pimpl.h:
6566 * BufferView_pimpl.C: fix mouse wheel handling based on
6567 patch from Darren Freeman
6569 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6571 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6573 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6575 * lyxlength.C (inPixels): Fix hanfling of negative length.
6576 Fix LyXLength::MU case.
6578 2002-10-16 John Levon <levon@movementarian.org>
6580 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6582 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6584 * converter.C (view): add support for $$i (file name) and $$p
6585 (file path) for the viewer command. If $$i is not specified, then
6586 it is appended to the command (for compatibility with old syntax)
6588 2002-10-14 Juergen Vigna <jug@sad.it>
6590 * undo_funcs.C (textHandleUndo): alter the order in which the
6591 new undopar is added to the LyXText, as we have to set first
6592 the right prev/next and then add it as otherwise the rebuild of
6593 LyXText is not correct. Also reset the cursor to the right paragraph,
6594 with this IMO we could remove the hack in "redoParagraphs()".
6596 2002-10-09 Angus Leeming <leeming@lyx.org>
6598 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6599 to turn off an optimisation if a new inset is to be inserted.
6601 2002-10-11 André Pönitz <poenitz@gmx.net>
6603 * lyxtext.h: make some functions public to allow access
6604 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6606 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6608 * text3.C (dispatch): when changing layout, avoid an infinite loop
6611 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6613 * lyxrc.C (read): treat a viewer or converter command of "none" as
6616 * MenuBackend.C (expandFormats): for an update, also allow the
6617 formats that are not viewable
6619 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6620 script if it is newer than the lyxrc.defaults in user directory
6622 2002-10-07 André Pönitz <poenitz@gmx.net>
6624 * text.C: Vitaly Lipatov's small i18n fix
6626 2002-09-25 Angus Leeming <leeming@lyx.org>
6628 * ispell.h: doxygen fix.
6630 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6632 * buffer.h (readFile): Add a new argument to the method, to allow
6633 reading of old-format templates.
6635 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6637 * toc.C (getTocList): Get TOC from InsetWrap.
6639 2002-09-16 John Levon <levon@movementarian.org>
6641 * lyxfunc.C: check tabular for cut/copy too
6643 2002-09-12 John Levon <levon@movementarian.org>
6648 * factory.C: add header
6650 * paragraph_funcs.h:
6651 * paragraph_funcs.C: cleanup
6653 2002-09-11 John Levon <levon@movementarian.org>
6655 * PrinterParams.h: odd/even default to true
6657 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6659 * PrinterParams.h: update printer parameters for new xforms dialog
6661 2002-09-11 Angus Leeming <leeming@lyx.org>
6663 * lyxserver.C (read_ready): re-write to make it more transparent
6664 and to make it work in coherent fashion under Tru64 Unix.
6666 2002-09-11 André Pönitz <poenitz@gmx.net>
6670 * text3.C: implement LFUN_WORDSEL
6672 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6674 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6675 make floatlist_ a boost::shared_ptr<FloatList>
6677 * lyxtextclass.C: include FloatList.h
6678 (LyXTextClass): initialize floatlist_
6679 (TextClassTags): add TC_NOFLOAT
6680 (Read): match "nofloat" to TC_NOFLOAT and use it.
6681 (readFloat): modify call to floatlist_
6685 * FloatList.[Ch] (FloatList): remove commented out float
6687 (erase): new function
6689 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6691 * MenuBackend.C (expandToc): fix crash when there is no document
6694 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6696 * many files: Add insetwrap.
6698 2002-09-09 John Levon <levon@movementarian.org>
6700 * text2.C: remove confusing and awkward depth wraparound
6702 2002-09-09 John Levon <levon@movementarian.org>
6704 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6707 * buffer.C: remove getIncludeonlyList()
6710 * lyxfunc.C: remove headers
6712 2002-09-09 Juergen Vigna <jug@sad.it>
6714 * text.C (getColumnNearX): fix form Michael this is most
6715 probably a cut&paste bug.
6717 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6719 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6721 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6722 references, ws changes.
6724 * text2.C (init): update counters after init
6725 (insertParagraph): no need to set counter on idividual paragraphs.
6726 (setCounter): access the counters object in the textclass object
6727 on in the buffer object.
6728 (updateCounters): ditto
6730 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6731 shared_ptr<Counters> to avoid loading counters.h in all
6733 (LyXTextClass): initialize ctrs_
6734 (TextClassTags): add TC_COUNTER, and ...
6735 (Read): use it here.
6736 (CounterTags): new tags
6737 (readCounter): new function
6738 (counters): new funtion
6739 (defaultLayoutName): return a const reference
6741 * counters.C (Counters): remove contructor
6742 (newCounter): remove a couple of unneeded statements.
6743 (newCounter): simplify a bit.
6744 (numberLabel): some small formatting changes.
6746 * buffer.[Ch]: remove all traces of counters, move the Counters
6747 object to the LyXTextClass.
6749 2002-09-06 Alain Castera <castera@in2p3.fr>
6751 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6752 package to set the horizontal alignment on fixed width columns.
6755 * lyx_sty.h: added tabularnewline macro def.
6757 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6759 2002-09-06 John Levon <levon@movementarian.org>
6761 * LyXAction.C: tooltips for sub/superscript
6763 * MenuBackend.C: a bit more verbose
6765 * lyxfunc.C: tiny clean
6767 * undo_funcs.C: document undo_frozen
6769 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6771 * counters.C (Counters): add missing algorithm counter.
6773 * text2.C (setCounter): lookup the counter with layouts latexname
6774 instead of by section number.
6775 (setCounter): use a hackish way to lookup the correct enum
6777 a float name->type change
6778 reset enum couners with counter name directly instead of depth value.
6780 * counters.C (Counters): remove the push_backs, change to use the
6781 float type not the float name.
6782 (labelItem): remove unused string, float name->type change
6784 * counters.h: don't include vector, loose the enums and sects vectors
6786 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6788 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6789 (Read): add float->TC_FLOAT to textclassTags
6790 (Read): and handle it in the switch
6791 (readFloat): new function
6793 * FloatList.C (FloatList): comment out the hardcoded float
6796 * lyxlayout.h: ws change.
6798 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6800 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6802 2002-09-03 Angus Leeming <leeming@lyx.org>
6804 * BufferView_pimpl.h: qualified name is not allowed in member
6805 declaration: WorkArea & Pimpl::workarea() const;
6807 * factory.C: added using std::endl directive.
6809 * text3.C: added using std::find and std::vector directives.
6811 2002-08-29 André Pönitz <poenitz@gmx.net>
6814 * text2.C: remove unused member number_of_rows
6817 * BufferView2.C: remove file, move contents to...
6818 * BufferView.C: ... here
6820 * BufferView_pimpl.C:
6821 * factory.C: move more inset creation to factory
6823 * vspace.C: avoid direct usage of LyXText, ws changes
6826 don't provide direct access to WorkArea, use two simple
6827 acessors haveSelction() and workHeight() instead
6830 2002-08-29 John Levon <levon@movementarian.org>
6832 * BufferView_pimpl.C (dispatch): do not continue when
6835 2002-08-28 André Pönitz <poenitz@gmx.net>
6837 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6840 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6842 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6844 * buffer.C: increment LYX_FORMAT to 221
6846 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6847 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6849 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6851 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6853 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6855 * factory.C (createInset): use LyXTextClass::floats
6857 * MenuBackend.C (expandFloatListInsert):
6858 (expandFloatInsert):
6861 * text2.C (setCounter):
6863 * LaTeXFeatures.C (useFloat):
6864 (getFloatDefinitions):
6866 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6868 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6869 floatlist_, with accessor floats().
6871 * FloatList.h: remove global FloatList
6873 2002-08-26 André Pönitz <poenitz@gmx.net>
6875 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6879 * BufferView_pimpl.C:
6880 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6882 2002-08-25 John Levon <levon@movementarian.org>
6884 * LyXAction.C: fix margin note description
6886 2002-08-24 John Levon <levon@movementarian.org>
6890 * bufferview_funcs.C:
6892 * undo_funcs.C: cleanups
6894 * lyxfunc.C: disable CUT/COPY when no selection
6896 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6898 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6899 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6901 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6902 Add backward compatibility to "mono", "gray" and "no".
6904 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6906 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6907 (and file_format >= 200).
6909 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6911 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6913 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6915 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6917 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6919 * BufferView_pimpl.C:
6926 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6927 inset and code to make it work with the paragraph code. The inset
6928 can be anywhere in the paragraph, but will only do the expected
6929 thing in LaTeX if the layout file contains the parameter line
6931 (or more generally, a nonzero value) for that layout.
6933 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6935 * paragraph.h: remove the declaration of undefined counters class
6938 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6940 * text2.C (setCounter): fixed enumeration mis-count as reported by
6941 Dr. Richard Hawkins.
6943 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6945 * paragraph_funcs.h: remove some unneeded includes
6947 * text.C (backspace): pasteParagraph now in global scipe
6949 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6950 (pasteSelection): ditto
6952 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6953 * paragraph_funcs.C (pasteParagraph): ... here
6955 2002-08-20 André Pönitz <poenitz@gmx.net>
6957 * commandtags.h: new LFUNs for swapping/copying table row/colums
6960 * lyxfunc.C: support for new lfuns
6962 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6965 * buffer.[Ch]: remove NO_COMPABILITY stuff
6967 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6969 * boost.C (throw_exception): new file, with helper function for
6970 boost compiled without exceptions.
6975 * ParameterStruct.h:
6976 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6978 * bufferlist.C (emergencyWriteAll): use boost bind
6980 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6982 * text.C: include paragraph_funcs.h
6983 (breakParagraph): breakParagraph is now in global scope
6985 * paragraph_funcs.[Ch]: new files
6987 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6990 * buffer.C: include paragraph_funcs.h
6991 (insertStringAsLines): breakParagraph is now in global scope
6993 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6996 * CutAndPaste.C: include paragraph_funcs.h
6997 (cutSelection): breakParagraphConservative is now in global scope
6998 (pasteSelection): ditto
7000 * buffer.h: declare oprator== and operator!= for
7001 Buffer::inset_iterator
7003 * bufferlist.C (emergencyWrite): don't use fmt(...)
7005 * text3.C: add using std::endl
7007 * BufferView.C (moveCursorUpdate): remove default arg
7009 2002-08-20 André Pönitz <poenitz@gmx.net>
7011 * buffer.[Ch]: move inline functions to .C
7014 * BufferView_pimpl.C:
7016 * buffer.[Ch]: use improved inset_iterator
7019 * paragraph.[Ch]: write one paragraph at a time
7021 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7023 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7024 style if style is not specified.
7026 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7028 * text2.C (setCounter): when searching for right label for a
7029 caption, make sure to recurse to parent insets (so that a caption
7030 in a minipage in a figure float works) (bug #568)
7032 2002-08-20 André Pönitz <poenitz@gmx.net>
7034 * text3.C: new file for LyXText::dispatch() and helpers
7036 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7038 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7040 2002-08-19 André Pönitz <poenitz@gmx.net>
7043 * text.C: new LyXText::dispatch()
7045 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7047 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7049 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7051 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7054 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7056 * Makefile.am: use $(variables) instead of @substitutions@
7058 2002-08-15 André Pönitz <poenitz@gmx.net>
7061 * BufferView_pimpl.C: streamlining mathed <-> outer world
7065 * LyXAction.C: remove unused LFUN_MATH
7067 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7069 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7071 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7073 * paragraph.C (Paragraph): reformat a bit
7074 (cutIntoMinibuffer): use builtin InsetList function instad of
7078 * buffer.C: include boost/bind.hpp, add using std::for_each
7079 (writeFileAscii): use ParagraphList iterators
7080 (validate): use for_each for validate traversal of paragraphs
7081 (getBibkeyList): use ParagraphList iterators
7082 (resizeInsets): use for_each to resizeInsetsLyXText for all
7084 (getParFromID): use ParagraphList iterators
7086 * BufferView2.C (lockInset): use paragraph list and iterators
7088 2002-08-14 John Levon <levon@movementarian.org>
7090 * lyxserver.C: remove spurious xforms include
7092 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7094 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7096 2002-08-13 André Pönitz <poenitz@gmx.net>
7099 * lyxfunc.C: further cleaning
7101 2002-08-13 André Pönitz <poenitz@gmx.net>
7103 * funcrequest.h: new constructor
7105 * funcrequest.C: move stuff here from .h
7108 * BufferView_pimpl.C:
7111 * lyxfunc.C: subsequent changes
7113 * lyxfunc.h: new view() member function
7115 * lyxfunc.C: subsequent changes
7117 2002-08-13 Angus Leeming <leeming@lyx.org>
7120 * BufferView_pimpl.C:
7128 changes due to the changed LyXView interface that now returns references
7129 to member variables not pointers.
7131 2002-08-13 Angus Leeming <leeming@lyx.org>
7133 * WordLangTuple (word, lang_code): return references to strings,
7138 * lyxtext.h: forward-declare WordLangTuple.
7143 * text.C: #include "WordLangTuple.h".
7146 * text.C: (selectNextWordToSpellcheck): constify return type.
7148 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7154 * paragraph_pimpl.h:
7157 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7159 Made updateCounter always count from start of buffer, and removed
7160 second argument (par).
7161 Reverted floats number display to '#'. Perhaps I'll try again when the
7162 code base is sanitized a bit.
7164 2002-08-12 Angus Leeming <leeming@lyx.org>
7166 * buffer.[Ch] (getLabelList): constify.
7168 2002-08-07 André Pönitz <poenitz@gmx.net>
7170 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7172 * funcrequest.h: extension to keep mouse (x,y) position
7174 2002-08-12 Juergen Vigna <jug@sad.it>
7176 * BufferView2.C (insertErrors): forbid undo when inserting error
7179 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7181 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7183 * ParagraphList.[Ch]: new files
7185 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7187 * BufferView2.C (lockInset): ParagraphList changes
7190 * bufferlist.C: ditto
7194 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7196 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7197 unused class variable counter_,
7199 * paragraph.[Ch] (getFirstCounter): delete unused function
7201 * counters.C: include LAssert.h
7202 (reset): add a new function with no arg, change other version to
7203 not have def. arg and to not allow empty arg.
7205 * text2.C (setCounter): remove empty arg from call to Counters::reset
7207 2002-08-11 John Levon <levon@movementarian.org>
7209 * Makefile.am: add WordLangTuple.h
7211 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7213 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7214 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7216 * insets/insettext.C: InsetList changes
7218 * graphics/GraphicsSupport.C (operator()): InsetList changes
7220 * toc.C (getTocList): InsetList changes
7222 * paragraph_pimpl.[Ch]: InsetList changes
7224 * paragraph.[Ch]: InsetList changes
7226 * buffer.C (inset_iterator): InsetList changes
7227 (setParagraph): ditto
7228 * buffer.h (inset_iterator): ditto
7229 * iterators.C (operator++): ditto
7230 * iterators.h: ditto
7232 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7234 * InsetList.[Ch]: new files, most InsetList handling moved out of
7237 * BufferView2.C (removeAutoInsets): InsetList changes
7239 (ChangeInsets): ditto
7241 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7243 * paragraph_pimpl.h (empty): new function
7245 * paragraph.[Ch] (empty): new function
7247 * other files: use the new Paragraph::empty function
7249 2002-08-09 John Levon <levon@movementarian.org>
7251 * lyxtext.h: remove unused refresh_height
7253 2002-08-09 John Levon <levon@movementarian.org>
7260 * paragraph.C: move sgml char escaping out of paragraph
7263 * paragraph.C: remove id setter
7267 * paragraph_pimpl.C: remove dead tex_code_break_column
7269 * bufferview_funcs.C: small cleanup
7271 * lyxfunc.C: remove dead proto
7273 * lyxtext.h: make some stuff private. Remove some dead stuff.
7275 * lyxgluelength.C: make as[LyX]String() readable
7277 2002-08-08 John Levon <levon@movementarian.org>
7282 * ToolbarDefaults.C:
7285 * toc.C: lyxaction cleanup
7287 2002-08-08 John Levon <levon@movementarian.org>
7289 * BufferView2.C: small cleanup
7292 * lyxfind.C: move unnecessary header into the .C
7294 2002-08-08 John Levon <levon@movementarian.org>
7296 * funcrequest.h: just tedious nonsense
7299 * lyx_main.C: cleanups
7302 * vspace.C: remove dead header lyx_main.h
7304 2002-08-07 Angus Leeming <leeming@lyx.org>
7307 * paragraph_pimpl.h:
7308 Forward declare class Counters in paragraph.h by moving the ctrs member
7309 variable into Paragraph::Pimpl.
7310 (counters): new method, returning a reference to pimpl_->ctrs.
7312 * text2.C: ensuing changes.
7314 2002-08-07 John Levon <levon@movementarian.org>
7316 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7318 * BufferView_pimpl.C: announce X selection on double/triple
7321 * lyx_main.C: use correct bool in batch dispatch
7323 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7325 2002-08-07 André Pönitz <poenitz@gmx.net>
7327 * funcrequest.h: new class to wrap a kb_action and its argument
7330 * BufferView_pimpl[Ch]:
7334 * lyxrc.C: subsequent changes
7337 2002-08-07 John Levon <levon@movementarian.org>
7339 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7340 document options change.
7342 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7347 * makefile.am: move counters functionality over from
7348 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7350 2002-08-06 John Levon <levon@movementarian.org>
7352 * WordLangTuple.h: new file for word + language code tuple
7363 * BufferView2.C: use WordLangTuple
7366 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7368 2002-08-06 John Levon <levon@movementarian.org>
7370 * lyx_main.C: fix cmdline batch handling
7372 2002-08-06 André Pönitz <poenitz@gmx.net>
7374 * lyxrc.C: set default for show_banner to true
7376 2002-08-06 John Levon <levon@movementarian.org>
7378 * pspell.C: fix a crash, and allow new aspell to work
7380 2002-08-06 John Levon <levon@movementarian.org>
7383 * kbmap.C: small cleanup
7386 * vspace.C: add const
7388 2002-08-05 John Levon <levon@movementarian.org>
7390 * LyXAction.C: back to tabular-insert
7392 2002-08-04 John Levon <levon@movementarian.org>
7395 * BufferView.C: cosmetic change
7397 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7407 * BufferView2.C: purge all "Lyx" not "LyX" strings
7410 * lyxcursor.C: attempt to add some documentation
7415 * ToolbarDefaults.C:
7416 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7417 merge with LFUN_TABULAR_INSERT
7424 * pspell.C: split up i/pspell implementations into separate
7425 files, many cleanups
7427 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7429 * text2.C: some cleanup
7431 * lyxfunc.C: don't check for isp_command == "none" any more, it
7432 didn't make any sense
7434 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7439 * makefile.am: move counters functionality over
7440 from text2.C/paragraph.[Ch] to counters.[Ch], and
7442 2002-08-02 John Levon <levon@movementarian.org>
7444 * buffer.C: s/lyxconvert/lyx2lyx/
7446 2002-08-02 Angus Leeming <leeming@lyx.org>
7448 * lyxlex.C: revert John's change as it breaks reading of the user
7451 2002-08-02 Angus Leeming <leeming@lyx.org>
7453 * importer.C (Import):
7454 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7455 changes due to LyXView::view() now returning a boost::shared_ptr.
7457 2002-08-02 John Levon <levon@movementarian.org>
7459 * lyxlex.C: small cleanup
7461 2002-08-02 John Levon <levon@movementarian.org>
7463 * text2.C (status): small cleanup, no logic change
7465 2002-08-01 John Levon <levon@movementarian.org>
7468 * buffer.C (writeFile): don't output alerts, caller
7472 * lyx_cb.C: from above
7474 * lyxfunc.C: allow to open non-existent files
7476 2002-07-31 John Levon <levon@movementarian.org>
7478 * lyxserver.C: don't let incidental errors get
7481 2002-07-30 John Levon <levon@movementarian.org>
7483 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7485 2002-07-30 John Levon <levon@movementarian.org>
7488 * lyxserver.C: remove I/O callback too
7490 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7492 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7495 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7497 * many files: strip,frontStrip -> trim,ltrim,rtrim
7499 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7501 * PrinterParams.h: remove extern containsOnly, and include
7502 support/lstrings.h instead.
7504 * LaTeX.C (scanAuxFile): modify because of strip changes
7506 * buffer.C (makeLaTeXFile): ditto
7507 * bufferparams.C (writeFile): ditt
7508 * lyxfont.C (stateText): ditto
7509 * lyxserver.C (read_ready): ditto
7510 * vc-backend.C (scanMaster): ditto
7512 * BufferView_pimpl.h: ws changes
7514 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7516 2002-07-26 André Pönitz <poenitz@gmx.net>
7518 * kb_sequence.C: remove unnedred usings
7520 2002-07-26 Juergen Vigna <jug@sad.it>
7522 * lyxfind.C (LyXReplace): we have to check better if the returned
7523 text is not of theLockingInset()->getLockingInset().
7525 2002-07-25 Juergen Vigna <jug@sad.it>
7527 * lyxfind.C (LyXReplace): don't replace if we don't get the
7530 * undo_funcs.C (createUndo): remove debugging code.
7532 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7534 * buffer.C (parseSingleLyXformat2Token): Use default placement
7535 when reading old floats.
7537 * FloatList.C (FloatList): Change the default placement of figure
7538 and tables to "tbp".
7540 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7542 * MenuBackend.C: using std::max
7544 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7546 * MenuBackend.C (expandToc):
7547 (expandToc2): code moved from xforms menu frontend. It is now
7548 generic and TOCs are transparent to menu frontends.
7550 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7552 * toc.C (getTocList): protect against buf=0
7554 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7555 Menu as first parameter. Now, this calls itself recursively to
7556 expand a whole tree (this will be useful for TOC handling)
7557 (expandFloatInsert): remove 'wide' version of floats
7559 * MenuBackend.h (submenuname): returns the name of the submenu.
7560 (submenu): returns the submenu itself, provided it has been
7561 created by MenuBackend::expand
7563 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7565 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7566 insets which have noFontChange == true. (bug #172)
7568 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7570 * BufferView_pimpl.C: add connection objects and use them...
7573 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7575 * MenuBackend.C (expandLastfiles):
7578 (expandFloatListInsert):
7579 (expandFloatInsert):
7580 (expand): split expand in parts
7582 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7584 * lyx_gui.C: use lyx_gui::exit()
7586 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7588 * LyXAction.C: show the failing pseudo action
7590 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7592 * buffer.C (readFile): Run the lyxconvert script in order to read
7595 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7599 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7601 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7605 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7607 2002-07-22 Herbert Voss <voss@lyx.org>
7610 * lyxlength.[Ch]: add support for the vertical lengths
7612 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7614 * toc.[Ch]: std:: fixes
7616 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7618 * lyxrc.C: do not include lyx_main.h
7620 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7626 * BufferView2.C: include "lyxlex.h"
7629 * bufferparams.h: do not #include "lyxlex.h"
7631 * lyxtextclasslist.C (Add): remove method
7632 (classlist): renamed to classlist_
7634 * paragraph_pimpl.C:
7638 * bufferview_funcs.C:
7643 * toc.C (getTocList): use BufferParams::getLyXTextClass
7645 * toc.C (getTocList): use InsetFloat::addToToc
7647 * toc.[Ch]: new files, containing helper functions to handle table
7650 * lyxfunc.C (dispatch): no need to remove spaces around command
7652 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7653 first command of the sequence; it is not very clever, but I do not
7654 have a better idea, actually
7656 * LyXAction.C (LookupFunc): make sure to remove space at the
7657 beginning and end of the command
7659 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7661 * MenuBackend.C (getMenubar): new method: return the menubar of
7663 (read): treat differently reading of menu and menubar (in
7664 particular, the menubar has no name now)
7665 (Menu::menubar): remove
7667 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7670 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7672 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7673 a bibitem inset in a RTL paragraph.
7675 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7677 * paragraph_pimpl.C: constify
7679 * BufferView_pimpl.C:
7681 * lyxfunc.C: fix dispatch in a nicer way
7683 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7685 * lyxfunc.C (dispatch):
7686 * BufferView_pimpl.C:
7687 * BufferView_pimpl.h:
7689 * BufferView.h: rename Dispatch() to dispatch()
7691 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7693 * lyxlayout.C (Read): honor DependsOn tag
7695 * lyxlayout.[Ch] (depends_on): new method
7697 * version.C.in: update lyx_docversion
7699 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7701 * paragraph.C (validate): remove from here...
7702 * paragraph_pimpl.C (validate): ... and move here
7703 (isTextAt): make it const
7705 * buffer.C (getLists): ws cleanup
7707 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7709 * language.C (read): Use iso8859-1 encoding in latex_lang
7710 (this prevents LyX from crashing when using iso10646-1 encoding).
7712 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7714 * text2.C (toggleInset): if cursor is inside an inset, close the
7715 inset and leave cursor _after_ it
7717 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7719 * lyxfunc.C: move minibuffer completion handling out of here
7721 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7723 * BufferView_pimpl.C:
7724 * LaTeX.C: fix dispatch calls
7726 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7728 * text.C (drawChars): Fix Arabic text rendering.
7730 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7734 * lyxfunc.C: remove message-push/pop
7738 * lyxfunc.C: rationalise some code by removing verboseDispatch
7739 in favour of a bool argument to dispatch()
7741 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7743 * lyx_main.C (init): make sure to read symlinks as absolute paths
7745 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7748 * lyxfunc.C: no need for commandshortcut to be a member
7750 2002-07-15 André Pönitz <poenitz@gmx.net>
7752 * converter.C: add support for $$s (scripts from lib/scripts dir)
7753 * lyx_main.C: white space
7755 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7759 * lyxrc.C: remove second exit confirmation
7761 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7766 * BufferView_pimpl.h:
7767 * BufferView_pimpl.C:
7768 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7770 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7772 * MenuBackend.C (expand): add numeric shortcuts to document menu
7774 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7776 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7778 * lyxfont.C (setLyXFamily):
7785 * buffer.C (asciiParagraph): use ascii_lowercase
7787 2002-07-15 Mike Fabian <mfabian@suse.de>
7789 * lyxlex_pimpl.C (search_kw):
7790 * lyxlex.C (getLongString):
7791 * converter.h (operator<):
7792 * converter.C (operator<):
7793 * buffer.C (parseSingleLyXformat2Token):
7795 * ToolbarDefaults.C (read):
7796 * MenuBackend.C (checkShortcuts):
7798 * LColor.C (getFromGUIName):
7799 (getFromLyXName): use the compare_ascii_no_case instead of
7800 compare_no_case, because in turkish, 'i' is not the lowercase
7801 version of 'I', and thus turkish locale breaks parsing of tags.
7803 2002-07-16 Angus Leeming <leeming@lyx.org>
7805 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7806 now takes a Buffer const & argument.
7808 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7810 * BufferView.C (resize): check there's a buffer to resize
7812 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7814 * lyxfunc.C: remove dead code
7817 * lyxserver.C: use lyx_guii::set_read_callback
7819 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7821 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7822 an inset in a RTL paragraph.
7824 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7826 * lyxfunc.C: repaint after a font size update
7828 2002-07-15 André Pönitz <poenitz@gmx.net>
7830 * lyxlength.C: inBP should be able to return negative values
7832 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7834 * lyxfunc.C: use lyx_gui::update_fonts()
7836 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7838 * lyxfunc.C: use lyx_gui::update_color()
7840 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7846 * lyxrc.C: remove file->new asks for name option, and let
7847 buffer-new take an argument
7849 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7851 * BufferView_pimpl.C: remove unneeded extra repaint()
7853 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7855 * LyXAction.C: allow command-sequence with NoBuffer
7857 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7859 2002-07-10 Angus Leeming <leeming@lyx.org>
7861 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7863 2002-07-09 Angus Leeming <leeming@lyx.org>
7865 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7867 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7869 * lengthcommon.h: whitespace
7871 * lyxfunc.C: update scrollbar after goto paragraph
7873 * lyxtext.h: factor out page break drawing, and fix it so
7874 page break/added space paints as selected nicely
7876 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7878 * BufferView_pimpl.C: add FIXMEs, clean up a little
7880 2002-07-09 André Pönitz <poenitz@gmx.net>
7882 * lyxfont.[Ch]: support for wasy symbols
7884 2002-07-08 André Pönitz <poenitz@gmx.net>
7886 * BufferView_pimpl.C: apply John's patch for #93.
7888 2002-07-05 Angus Leeming <leeming@lyx.org>
7890 * BufferView_pimpl.C (buffer): generate previews if desired.
7892 * LColor.h: add "preview" to the color enum.
7894 * LColor.C (LColor): add a corresponding entry to the items array.
7896 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7899 2002-07-05 Angus Leeming <leeming@lyx.org>
7901 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7902 The body of the code is now in the method that is passed an ostream &
7903 rather than a file name.
7904 Pass an additional only_preamble parameter, useful for the forthcoming
7907 2002-07-03 André Pönitz <poenitz@gmx.net>
7909 * lyxfunc.C: simplify getStatus() a bit for math stuff
7911 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7913 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7915 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7917 * text.C (changeRegionCase): do not change case of all the
7918 document when region ends at paragraph end (bug #461)
7920 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7922 * paragraph.C (startTeXParParams):
7923 (endTeXParParams): add \protect when necessary
7925 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7927 * BufferView_pimpl.C (workAreaExpose): remove warning
7929 2002-06-27 Angus Leeming <leeming@lyx.org>
7931 * Makefile.am: add lyxlayout_ptr_fwd.h.
7933 2002-06-26 André Pönitz <poenitz@gmx.net>
7935 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7937 2002-06-25 Angus Leeming <leeming@lyx.org>
7939 * lyxfunc.C (dispatch): Comment out the call to
7940 grfx::GCache::changeDisplay. The method no longer exists now that the
7941 pixmap generation part of the graphics loader has been moved into
7944 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7946 * text2.C: layout as layout
7948 * text.C: layout as layout
7950 * tabular.C (OldFormatRead): layout as layout
7952 * paragraph_pimpl.C (TeXDeeper): layout as layout
7953 (realizeFont): layout as layout
7955 * paragraph.C (writeFile): layout as layout
7956 (validate): layout as layout
7957 (getFont): layout as layout
7958 (getLabelFont): layout as layout
7959 (getLayoutFont): layout as layout
7960 (breakParagraph): layout as layout
7961 (stripLeadingSpaces): layout as layout
7962 (getEndLabel): layout as layout
7963 (getMaxDepthAfter): layout as layout
7964 (applyLayout): layout as layout
7965 (TeXOnePar): layout as layout
7966 (simpleTeXOnePar): layout as layout
7967 (TeXEnvironment): layout as layout
7968 (layout): layout as layout
7969 (layout): layout as layout
7971 * lyxtextclass.C (compare_name): new functor to work with
7972 shared_ptr, layout as layout
7973 (Read): layout as layout
7974 (hasLayout): layout as layout
7975 (operator): layout as layout
7976 (delete_layout): layout as layout
7977 (defaultLayout): layout as layout
7979 * lyxlayout_ptr_fwd.h: new file
7981 * lyxlayout.C (Read): layout as layout
7983 * lyx_cb.C (MenuInsertLabel): layout as layout
7985 * bufferlist.C (newFile): layout as layout
7987 * buffer.C (readLyXformat2): layout as layout
7988 (parseSingleLyXformat2Token): layout as layout
7989 (insertStringAsLines): layout as layout
7990 (asciiParagraph): layout as layout
7991 (latexParagraphs): layout as layout
7992 (makeLinuxDocFile): layout as layout
7993 (simpleLinuxDocOnePar): layout as layout
7994 (makeDocBookFile): layout as layout
7995 (simpleDocBookOnePar): layout as layout
7996 (getLists): layout as layout
7998 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8000 * CutAndPaste.C (cutSelection): layout as layout
8001 (pasteSelection): layout as layout
8002 (SwitchLayoutsBetweenClasses): layout as layout
8004 * BufferView_pimpl.C (Dispatch): layout as layout
8005 (smartQuote): layout as layout
8007 * BufferView2.C (unlockInset): layout as layout
8009 2002-06-24 André Pönitz <poenitz@gmx.net>
8011 * lyxfunc.C: fix #487
8013 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8017 * lyxfunc.C: remove display_shortcuts, show_banner
8019 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8021 * Buffer_pimpl.C: oops, update on resize
8023 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8030 * BufferView.C: use repaint()
8032 * BufferView_pimpl.h:
8033 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8034 as it's a clearer description. Remove superfluous
8037 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8039 * text.C: fix bug 488. Not ideal, but getting
8040 getWord() to work properly for the insets that
8041 matter is more difficult ...
8043 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8045 * BufferView_pimpl.C:
8048 * lyxfunc.C: remove the six million index lyxfuncs to just
8049 one, and DTRT (bug 458)
8051 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8055 * BufferView_pimpl.h:
8056 * BufferView_pimpl.C: clean up resize() stuff,
8057 and unnecessary updateScreen()s
8059 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8063 * BufferView_pimpl.h:
8064 * BufferView_pimpl.C:
8067 * minibuffer.C: remove focus management of workarea,
8068 not needed. Use screen's greyOut()
8070 2002-06-17 Herbert Voss <voss@lyx.org>
8072 * converter.C: (convert) do not post a message, when converting
8073 fails, let the calling function decide what to do in this case
8075 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8077 * lyxfunc.C: tidy up a little
8079 2002-06-16 <alstrup@diku.dk>
8081 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8082 Got rid of FORMS_H_LOCATION include. Now we are
8085 2002-06-15 LyX Development team <lyx@rilke>
8087 * buffer.[Ch] (sgmlOpenTag):
8088 (sgmlCloseTag): Added support for avoiding pernicious mixed
8089 content. Return number of lines written.
8092 (makeDocBookFile): Fixed calls to sgml*Tag.
8093 Simple white space clean.
8095 (simpleDocBookOnePar): Simple white space clean.
8097 * tabular.[Ch] (docBook): Renamed to docbook and got another
8098 argument to related with the pernicious mixed content.
8100 (docbookRow): Fixed calls for docbook inset method.
8102 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8104 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8105 so it's X11 independent.
8109 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8111 2002-06-15 Lyx Development team <lyx@electronia>
8113 * intl.h: Renamed getTrans to getTransManager.
8115 2002-06-14 Angus Leeming <leeming@lyx.org>
8117 * Makefile.am: nuke forgotten stl_string_fwd.h.
8119 2002-06-12 Angus Leeming <leeming@lyx.org>
8121 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8123 2002-06-13 Angus Leeming <leeming@lyx.org>
8126 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8128 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8130 * kbmap.C (getiso): add support for cyrillic and greek
8132 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8136 * BufferView_pimpl.h:
8137 * BufferView_pimpl.C: move bogus scrolling logic
8140 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8143 * BufferView_pimpl.C: view->resize() change
8145 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8147 * BufferView_pimpl.C: topCursorVisible
8150 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8154 * lyx_gui.C: move to frontends/
8158 * lyx_main.C: changes from above
8160 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8167 * lyx_main.C: minor tidy
8169 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8171 * BufferView_pimpl.h:
8172 * BufferView_pimpl.C:
8174 * BufferView.C: make painter() const,
8177 * BufferView2.C: use screen() accessor
8180 * lyx_main.C: some minor cleanup
8182 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8184 * BufferView_pimpl.h:
8185 * BufferView_pimpl.C: remove enter/leaveView,
8188 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8193 * BufferView_pimpl.h:
8194 * BufferView_pimpl.C: only construct screen once,
8197 * lyxrc.C: remove pointless comment
8199 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8202 * BufferView.C: remove active() and belowMouse()
8204 * BufferView_pimpl.h:
8205 * BufferView_pimpl.C: use workarea() not workarea_,
8206 and make it use a scoped_ptr instead
8208 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8210 * lyx_gui.C: add debug message on BadWindow
8212 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8214 * sp_spell.C: fdopen is not part of the C++ standard.
8216 * paragraph.C (InsetIterator): use >= instead of ==
8218 2002-06-07 Angus Leeming <leeming@lyx.org>
8220 Fixes needed to compile with Compaq cxx 6.5.
8221 * BufferView_pimpl.C:
8228 * lyxtextclasslist.C:
8233 all c-library variables have been moved into namespace std. Wrap
8234 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8239 Add a using std::abs declaration.
8241 * kbmap.h (modifier_pair):
8242 * paragraph.h (InsetTable, InsetList):
8243 * lyxfont.h (FontBits):
8244 type definition made public.
8246 * bufferlist.C (emergencyWriteAll): the compiler complains that
8247 there is more than one possible lyx::class_fun template to choose from.
8248 I re-named the void specialisation as lyx::void_class_fun.
8250 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8252 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8253 the compiler is is unable to find tostr in write_attribute.
8255 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8257 * buffer.C (sgmlError): hide #warning
8259 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8261 * xtl/*: get rid of xtl, which is not in use anyway
8263 * LyXAction.C (init):
8264 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8265 were unimplemented xtl experimentation
8267 2002-06-04 André Pönitz <poenitz@gmx.net>
8269 * lyxfunc.C: disable array operation on simple formulae
8271 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8273 * converter.C: constify a bit
8275 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8277 * lyx_gui.C: check xforms version correctly
8279 2002-04-30 Herbert Voss <voss@lyx.org>
8281 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8284 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8286 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8287 attempt to register it with a VCS)
8289 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8291 * lyx_main.C (init): honor variables LYX_DIR_13x and
8294 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8298 * lyx_main.C: fix a crash on bad command line,
8299 and give a useful exit status on error
8301 * lyxfunc.C (doImport): allow -i lyx to work
8303 2002-03-30 André Pönitz <poenitz@gmx.net>
8305 * lyxfunc.C: mathed font changes
8307 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8322 * trans_mgr.h: srcdocs, and some minor cleanups
8324 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8326 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8327 call getFont all the time)
8329 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8331 * switch from SigC signals to boost::signals
8333 2002-05-29 André Pönitz <poenitz@gmx.net>
8335 * paragraph_pimpl.C (getChar): don't call size() too often...
8337 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8339 * paragraph_pimpl.C (insertChar): do not try to update tables when
8340 appending (pos == size())
8342 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8343 in order to reduce drastically the number of comparisons needed to
8344 parse a large document
8346 2002-05-29 André Pönitz <poenitz@gmx.net>
8352 * textclasslist.[Ch]:
8353 * sp_ispell.h: whitespace change
8355 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8357 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8358 lyxaction directly now.
8360 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8364 * lyxvc.C: remove unused headers
8366 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8373 * undo_funcs.C: some cleanups. Use shared_ptr
8374 and a template for the undo stacks.
8376 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8378 * BufferView_pimpl.h:
8379 * BufferView_pimpl.C:
8386 * text2.C: use key_state/mouse_state
8388 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8390 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8393 * chset.C: change include order
8394 (loadFile): use boost regex and get rid of LRegex and LSubstring
8396 * Makefile.am (BOOST_LIBS): new variable
8399 * LaTeX.C: change include order.
8400 (scanAuxFile): use boost regex and get rid of LRegex and
8404 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8409 * FontInfo.C: moved to frontends/xforms/
8412 * FontLoader.C: moved into frontends for GUIIzation
8417 * lyxfunc.C: changes from above
8419 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8421 * LColor.C: remove spurious X include
8423 * BufferView_pimpl.C:
8428 * text2.C: move font metrics to frontends/
8430 2002-05-24 Juergen Vigna <jug@sad.it>
8432 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8433 setting the undo_cursor.
8435 * ParagraphParameters.h: include local includes first.
8437 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8439 * BufferView_pimpl.C:
8440 * BufferView_pimpl.h:
8444 * screen.C: move WorkArea into frontends/
8450 * BufferView2.C: move LyXScreen into frontends/
8454 * lyx_gui.C: move lyxlookup into frontends/xforms/
8456 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8459 * BufferView_pimpl.C:
8469 * bufferview_funcs.C:
8482 * vc-backend.C: move LyX/XFormsView into frontends/
8484 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8496 * text2.C: move Painter to frontends/
8498 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8500 * buffer.C: comment out some some code that depend upon lyx_format
8503 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8504 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8506 * buffer.h (NO_COMPABILITY): turn off compability
8508 * ColorHandler.C: include scoped_array.hpp
8510 * font.C: Use more specific smart_ptr header.
8513 * ShareContainer.h: ditto
8517 * BufferView_pimpl.h: ditto
8518 * ColorHandler.h: ditto
8520 * kbmap.C (defkey): change call to shared_ptr::reset
8522 2002-05-21 Juergen Vigna <jug@sad.it>
8524 * buffer.C (insertErtContents): fix to insert ert asis if it is
8525 non empty. Skip it completely if it contains only whitespaces.
8527 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8529 * BufferView_pimpl.C:
8530 * BufferView2.C: clear selection on paste (bug 393)
8532 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8534 * DepTable.C: include ctime
8536 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8538 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8540 2002-05-14 Juergen Vigna <jug@sad.it>
8542 * text.C (breakParagraph): fixed function to honor the keepempty
8543 layout in the right maner and also to permit the right breaking
8544 algorithm on empty or non empyt keepempty paragraphs.
8546 * paragraph.C (breakParagraph): we have to check also if the par
8547 is really empty (!size()) for isempty otherwise we do the wrong
8550 2002-05-10 Juergen Vigna <jug@sad.it>
8552 * buffer.[Ch] : The following are only changes to the ert
8553 compatibility read reading old LaTeX layout and font stuff and
8554 convert it to ERTInsets.
8556 * buffer.h: added isErtInset().
8558 * buffer.C (struct ErtComp): add a fromlayout bool to check
8559 if we're inside a LaTeX layout.
8560 (isErtInset): new helper function.
8561 (insertErtContents): look for other ert insets before this one
8562 and insert the contents there, so that we don't have subsequent
8563 ERT insets with nothing between them. This way we create only one
8564 inset with multiple paragraphs. Also check if we don't insert only
8565 spaces ' ' as they are ignored anyway afterwards in the .tex file
8566 so if we have only spaces we will ignore this latex part in the
8568 (parseSingleLyXformat2Token \\layout): better compatibility when
8569 reading layout-latex stuff.
8570 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8572 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8573 stuff after reading the inset only get the information back from
8576 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8578 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8580 * LaTeXFeatures.C (getBabelOptions): New method.
8582 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8584 * BufferView_pimpl.C (Dispatch): work around missing argument for
8587 2002-05-08 Juergen Vigna <jug@sad.it>
8589 * text.C (leftMargin): handle paragraph leftindent.
8591 * paragraph.C (writeFile): write the new \\leftindent tag.
8592 (validate): handle leftindent code.
8593 (TeXEnvironment): handle paragraphleftindent code again.
8595 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8597 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8598 for paragrap_extra indent code and new token \\leftindent.
8599 (latexParagraphs): handle the leftindent as environment.
8601 * ParameterStruct.h: added leftindent support.
8603 * ParagraphParameters.C (leftIndent): added support functions for
8604 the paragraph left indent.
8606 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8609 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8611 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8614 * text.C (computeBidiTables): No bidi in insetERT.
8616 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8619 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8621 * version.C.in: pre 5
8623 2002-05-02 José Matos <jamatos@fep.up.pt>
8624 * buffer.C (makeDocBookFile): white space changes, add newline to
8626 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8628 * tabular.C (docBook): fix typo.
8630 2002-05-03 Juergen Vigna <jug@sad.it>
8632 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8633 change in LyXText as we can not be sure it was not freed.
8634 (drawOneRow): remove unused code.
8636 * text.C (drawInset): redo the calculation of the need_break_row as
8637 it could have a row which was already freed.
8638 (draw): look at the return value of drawInset and return false if
8639 it also returned false.
8640 (paintRowText): look at the return value of draw and return false if
8641 it also returned false.
8643 * lyxtext.h: added bool return type to drawInset() and draw() so that
8644 if we have a change in the row so that the rowbreak has to be redone
8645 we abort drawing as it will be called again.
8647 2002-05-02 Juergen Vigna <jug@sad.it>
8649 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8650 a change in the maintext also if we're inside an inset.
8651 (Dispatch): set the cursor again after a break line and after the
8652 screen has been updated as it could be we're in a different row.
8654 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8655 to set the cursor behind the pargraph with > size().
8656 (setCursor): check also for the same paragraph when checking where
8657 to put the cursor if we have a NFR inset.
8659 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8660 parts of layout read further up as it still was in the wrong
8663 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8665 * screen.C (drawFromTo): change sine fullRebreak always return
8668 * buffer.C (parseSingleLyXformat2Token): reindent some
8670 * BufferView_pimpl.C (update): change since fullRebreak always
8672 (Dispatch): git rid of the last hardcoded "Standard"s.
8674 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8676 * text2.[Ch] (fullRebreak): make it return void now that we always
8679 2002-04-30 Juergen Vigna <jug@sad.it>
8681 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8682 ert compatibility check for "latex" layout.
8684 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8686 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8687 minipages: use col% instead of p%, and also use the current font.
8688 (makeLaTeXFile): Fix use babel condition.
8689 (parseSingleLyXformat2Token): Correct font when reading old floats.
8691 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8693 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8694 inserting list of floats.
8696 2002-04-25 Herbert Voss <voss@lyx.org>
8698 * MenuBackend.C (expand): don't add the graphics extensions to the
8701 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8703 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8704 non-existing layout, do not complain if it was the default layout
8705 of the original class (bug #342)
8707 2002-04-24 Juergen Vigna <jug@sad.it>
8709 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8710 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8712 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8714 * buffer.C (getBibkeyList): If using \bibliography, return the
8715 option field with the reference itself. Enables us to provide natbib
8716 support when using \bibliography.
8718 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8720 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8722 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8723 natbib is provided by the LaTeX class.
8725 2002-04-23 Juergen Vigna <jug@sad.it>
8727 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8730 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8732 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8734 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8736 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8737 ensuremath around textordmasculine, textordfeminine and
8740 2002-04-19 Juergen Vigna <jug@sad.it>
8742 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8743 reinitializing the buffer otherwise row-dimensions may be wrong.
8744 (update): reset also the selection cursors if they do exits otherwise
8745 their x/y positions may be wrong.
8747 * text2.C (cursorDown): don't enter the inset if we came from a row
8748 above and are one row over the inset.
8750 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8751 really leaving an inset.
8753 2002-04-18 Juergen Vigna <jug@sad.it>
8755 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8756 of the selected paragraph does not have the selected layout also if
8759 * text2.C (setLayout): fixed bug which did not change last selected
8762 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8763 changed the read and substituted \\end_float with \\end_inset!
8765 * BufferView_pimpl.C (cursorPrevious):
8766 (cursorNext): fixed to make it work with rows heigher than the work
8767 area without moving the cursor only the draw of the row.
8768 (workAreaMotionNotify): fix jumping over high rows.
8770 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8772 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8775 2002-04-16 Juergen Vigna <jug@sad.it>
8777 * text2.C (setCursor): set also the irow().
8778 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8780 (cursorDown): support for locking an inset if the x_fix value goes
8781 inside it. That way I can transverse insets too with cursor up/down.
8783 * lyxrow.h: added irow helper function same as other (i) functions.
8785 * BufferView_pimpl.C (cursorPrevious):
8786 (cursorNext): fixed for insets!
8788 2002-04-15 Juergen Vigna <jug@sad.it>
8790 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8791 position otherwise it is wrong in some cases.
8793 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8794 inside the inset before the call.
8796 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8798 * buffer.[Ch] (getBibkeyList): make it const.
8800 2002-04-12 Juergen Vigna <jug@sad.it>
8802 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8804 * text2.C (getCursorX): new helper function
8805 (setCursor): compute also ix_
8806 (setCursorFromCoordinates): set also ix.
8808 * lyxcursor.h: added ix_ and helper functions.
8810 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8812 * buffer.C (insertStringAsLines): dont break paragraph if the this
8813 paragraph is inside an inset which does not permit it!
8815 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8816 also with no chars on this paragraph.
8817 (paintRowText): only paint stuff if it's inside the workarea!
8819 * paragraph.C (breakParagraph): honor keepempty flag and break the
8820 paragraph always below not above.
8822 * BufferView2.C (unlockInset): update the paragraph layout on inset
8823 unlock as we changed paragraph in such a case.
8825 * lyxfind.C (LyXFind): clear the former selection if not found!
8827 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8828 again called in insertChar().
8830 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8831 an inset which uses the whole row!
8832 (rightMargin): ditto.
8833 (insertChar): force a rebreak if we inserted an inset!
8835 2002-03-28 Herbert Voss <voss@lyx.org>
8837 * lyxlength.[Ch]: add inBP() to get the right PS-point
8838 units (BigPoint). With inPixels we have rounding errors
8840 2002-04-11 Juergen Vigna <jug@sad.it>
8842 * text2.C (setCursorFromCoordinates): set iy to the right value.
8843 (setCursor): add check if row->previous exists!
8845 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8846 an old float_type as this was the case in the old code!
8848 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8850 * BufferView2.C (showLockedInsetCursor): use iy
8851 (fitLockedInsetCursor): ditto
8853 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8854 locked insets as there we have the right value now.
8856 * lyxcursor.C: added iy_ variable and iy functions to set to the
8857 baseline of cursor-y of the locked inset.
8859 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8860 (setCursor): fixed for insets which need a full row.
8862 * text.C (rowLastPrintable): don't ignore the last space when before
8863 an inset which needs a full row.
8864 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8865 as last character of a row when before a inset which needs a full row.
8867 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8869 * version.C.in: update date
8871 * text2.C (fullRebreak): try to always return true and see what
8874 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8876 * MenuBackend.C (expand): use Floating::listName
8878 * FloatList.C (FloatList): add listName argument to the built-in
8881 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8882 text associated with the float.
8884 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8886 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8888 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8890 * ShareContainer.h: add a couple of missing typenames.
8892 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8894 * lyxrc.C (getDescription): use _() correctly rather than N_().
8896 2002-03-28 Herbert Voss <voss@lyx.org>
8898 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8899 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8901 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8903 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8904 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8906 2002-03-29 Juergen Vigna <jug@sad.it>
8908 * lyxfunc.C (dispatch): add a missing fitCursor call.
8910 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8911 it was scrolled by a cursor move, so return the bool status.
8913 * BufferView.C (fitCursor): return the bool flag also to the outside
8914 world as this is needed.
8916 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8918 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8919 call the edit() as it is not needed (and wrong) IMO.
8920 (workAreaButtonPress): set the screen_first variable before evt.
8921 unlock the inset as this may change screen_first and then we have
8922 a wrong y position for the click!
8924 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8926 * MenuBackend.C (expand): another translation that I missed
8928 2002-03-28 Juergen Vigna <jug@sad.it>
8930 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8932 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8934 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8936 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8938 * MenuBackend.C (expand): fix export/view/update when there is no
8941 2002-03-27 Herbert Voss <voss@lyx.org>
8943 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8946 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8948 * bufferview_funcs.C (currentState): only show paragraph number
8949 for is DEVEL_VERSION is set.
8951 * lyxfunc.C (dispatch): put warning in INFO channel
8953 * MenuBackend.C (expand): translate the name of floats
8955 * FloatList.C (FloatList): mark the float names for translation
8957 * converter.C (convert): use LibScriptSearch
8959 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8961 * MenuBackend.C (defaults): fix default menu (we might as well get
8964 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8966 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8969 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8971 * lyxvc.C: reorder includes.
8973 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8975 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8978 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8980 * CutAndPaste.C: change layouts earlier on paste
8981 to avoid crashing when calling getFont()
8983 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8985 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8988 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8990 * WorkArea.C: remove 'Pending' debug message.
8992 * most files: ws cleanup
8994 * buffer.[Ch]: ws changes
8996 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8998 2002-03-21 Juergen Vigna <jug@sad.it>
9000 * tabular.C (SetMultiColumn): collapse also the contents of the
9001 cells and set the last border right. Added a Buffer const * param.
9003 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9005 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9008 2002-03-19 Juergen Vigna <jug@sad.it>
9010 * text2.C (clearSelection): reset also xsel_cache.
9012 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9013 where it needs to be called (John tells us to do so too :)
9014 (selectionLost): reset sel_cache.
9016 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9018 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9020 * text2.C (setCursorIntern): put debuging code in INSETS channel
9022 2002-03-19 André Pönitz <poenitz@gmx.net>
9024 * lyxfunc.C: tiny whitespace change
9026 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9028 * ToolbarDefaults.C (init):
9029 * LyXAction.C (init):
9031 * BufferView_pimpl.C (Dispatch):
9032 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9034 2002-03-19 Allan Rae <rae@lyx.org>
9036 * exporter.C (Export): removeAutoInsets before doing anything else.
9037 While I've just introduced a dependency on BufferView this really is
9038 the best place to clean the buffer otherwise you need to cleanup in
9039 a dozen places before calling export or cleanup in a dozen functions
9042 * converter.C (runLaTeX):
9043 (scanLog): Better handling of removeAutoInsets and screen updates.
9045 * lyxfunc.C (dispatch): small whitespace changes
9047 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9049 * WorkArea.C (C_WorkAreaEvent): return a value.
9050 (event_cb): return 1 if we handled the event, 0 otherwise.
9052 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9054 2002-03-18 Juergen Vigna <jug@sad.it>
9056 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9057 (GetAdditionalWidth): ditto.
9061 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9062 inset if we're there actually (probably not used right now but this
9063 is the direction to go for unifying code).
9064 (paste): disable code to clear the selection.
9066 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9067 inside an InsetText and move the check further up as it is in the
9070 * text2.C (pasteSelection): set a selection over the pasted text.
9072 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9074 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9075 and libgraphics to build on Cygwin.
9077 2002-03-15 Juergen Vigna <jug@sad.it>
9079 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9080 inserting an Inset into the paragraph. I know this is not the best
9081 fix but we already use current_view in CutAndPaste so we will remove
9082 all of it's using at the same time.
9084 * buffer.C (sgmlError): deactivated function till it is rewritten in
9085 the right mode, now it can create problems.
9087 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9088 before accessing it.
9090 2002-03-14 Juergen Vigna <jug@sad.it>
9092 * undo_funcs.C (textHandleUndo): do the right thing when updating
9093 the inset after the undo/redo.
9095 * text2.C (setCursor): just some testcode for #44 not ready yet.
9097 * undo_funcs.C (textHandleUndo): set the next() and previous()
9098 pointers of the paragraph to 0 before deleting otherwise we have
9099 problems with the Paragraph::[destructor].
9101 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9102 on a paragraph insertion.
9104 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9106 * buffer.C (asciiParagraph): use += operator for char append to
9109 * paragraph.C (getFontSettings): compare >= not just >
9110 (highestFontInRange): ditto
9113 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9115 * paragraph.C: change several algorithm to be more appripriate for
9116 the problem domain. This is lookip in FontList and in the InsetList.
9118 2002-03-13 André Pönitz <poenitz@gmx.net>
9121 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9123 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9128 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9130 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9132 * Painter.C (display): anon helper function, adjust code for this
9134 (pixmap): remove function.
9136 * Painter.h: remove private display variable.
9138 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9140 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9142 * WorkArea.[Ch]: remove figinset_canvas cruft.
9144 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9146 * lyxtextclass.C (operator): add one item cache optimization.
9148 * bufferlist.h: doxy changes
9150 * bufferlist.C: ws changes
9152 * DepTable.[Ch] (ext_exist): place const in the right spot.
9154 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9156 (workAreaExpose): call resizeInsets when the with BufferView changes.
9157 (Dispatch): adjust for protectedBlank removal
9158 (specialChar): call updateInset if the insert went ok.
9160 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9161 specialChar instead.
9163 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9165 * BufferView.h: doxy change
9167 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9169 * lyxtextclass.C (operator[]): remove non-const version
9170 (defaultLayout): remove non-const version
9172 2002-03-12 Juergen Vigna <jug@sad.it>
9174 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9175 did resize the LyXText too.
9177 * buffer.C (readLyXformat2): set layout information on newly allocated
9180 * tabular.C (OldFormatRead): set layout information on the paragraph.
9182 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9184 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9186 2002-03-11 Juergen Vigna <jug@sad.it>
9188 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9190 (resizeCurrentBuffer): force also the insets to resize themselfes.
9191 (moveCursorUpdate): fixed up for InsetText.
9193 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9196 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9197 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9198 value of Dialogs::tooltipsEnabled().
9199 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9201 2002-03-08 Juergen Vigna <jug@sad.it>
9203 * BufferView_pimpl.C (updateInset): update inset inside inset also
9204 if it isn't inside theLockingInset().
9206 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9208 * buffer.C (asciiParagraph): redo some of the word and line length
9210 (getLists): look for Caption instead of caption.
9212 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9214 * buffer.C (Buffer): initialize niceFile to true
9217 (makeDocBookFile): make sure niceFile is true on exit
9219 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9221 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9223 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9225 * LyXSendto.C: remove.
9226 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9227 * lyx_gui.C: remove now-redundant comment.
9228 * ColorHandler.h: remove forward declaration of class WorkArea.
9229 * lyxfunc.C: remove #include "WorkArea.h".
9231 2002-03-07 Juergen Vigna <jug@sad.it>
9233 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9234 got moved away with the DEPM and also set the inset_owner always
9235 right which before could have been omitted.
9237 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9239 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9240 wanted layout is not found.
9242 2002-03-07 Juergen Vigna <jug@sad.it>
9244 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9246 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9248 * paragraph.C (breakParagraph): use default layout not layout of
9250 (Paragraph): clear ParagraphParameters.
9252 2002-03-06 Juergen Vigna <jug@sad.it>
9254 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9255 otherwise it would not be a valid lenght. Fixed a special case in
9256 the minipage compatibility read where we end the document with a
9259 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9260 was set as it could be 0 for InsetTexts first entry.
9262 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9264 * paragraph.C (writeFile): if layout is empty write out
9265 defaultLayoutName().
9267 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9268 file without named layout we set layout to defaultLayoutName().
9270 2002-03-06 Juergen Vigna <jug@sad.it>
9272 * CutAndPaste.C (copySelection): set layout for new paragraph.
9274 * text.C (prepareToPrint): leave ERT inset left aligned
9275 (leftMargin): don't indent paragraphs inside ERT insets
9277 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9279 * paragraph.C (breakParagraph): dont call clear do the work manually
9281 * paragraph.[Ch] (clear): remove function
9283 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9285 * paragraph.C (Paragraph): dont call clear, the work has already
9288 * lyxtextclass.C (operator): assert if n is empty
9290 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9291 work manually instead.
9293 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9295 * BufferView_pimpl.C: protect selectionLost against text == 0
9297 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9299 * text.C (breakParagraph): fix a setting layout to '0' problem.
9301 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9303 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9304 final location of file, for the included files, and graphics.
9306 2002-03-05 Juergen Vigna <jug@sad.it>
9308 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9310 2002-03-04 Juergen Vigna <jug@sad.it>
9312 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9314 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9315 last column of multicolumn cells.
9316 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9318 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9320 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9321 file if it doesn't go to a temporary file.
9323 * buffer.C (sgmlOpenTag):
9324 (sgmlCloseTag): remove extra newline insertion.
9326 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9328 * text.C (getRowNearY): comment out debug msg
9330 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9332 * text2.C: first -> first_y
9334 * text.C (getRowNearY): add some attemts at a possible
9335 optimization, not working.
9337 * tabular.[Ch]: add BufferParams to several function so that newly
9338 created paragraph can be initialized to he default layotu for the
9341 * tabular-old.C (ReadOld): add buf->params to call of Init
9343 * screen.C: rename text->first to text->first_y
9345 * paragraph.C (breakParagraph): always set layout in the broken
9348 * lyxtextclass.C (Read): remove lowercase
9351 (delete_layout): ditto
9353 * lyxtext.h: rename first -> first_y
9355 * lyxlayout.C (Read): remove lowercase
9358 (obsoleted_by): ditto
9360 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9362 * buffer.C (insertErtContents): add params are to InsetERT
9363 (parseSingleLyXformat2Token): add code to check if a paragraphs
9364 layout really exist.
9365 (parseSingleLyXformat2Token): add params to several inset
9367 (asciiParagraph): remove lowercase, do the layout comparisons with
9370 * BufferView_pimpl.C (cursorNext): first -> first_y
9371 (resizeCurrentBuffer): first -> first_y
9372 (updateScrollbar): first -> first_y
9373 (scrollCB): first -> first_y
9374 (workAreaMotionNotify): first -> first_y
9375 (workAreaButtonPress): first -> first_y
9376 (checkInsetHit): first -> first_y
9377 (cursorPrevious): first -> first_y
9378 (cursorNext): first -> first_y
9379 (Dispatch): add buffer_->params to severl inset contructors
9381 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9383 * lyxlayout.C (Read): remove some debug info that I forgot.
9385 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9386 clean up the code slightly.
9387 (makeLinuxDocFile): ditto
9388 (makeDocBookFile): ditto
9390 * text2.C: layout as string
9392 * text.C: layout as string
9394 * paragraph_pimpl.C: layout as string
9396 * paragraph.[Ch]: layout as string
9398 * lyxtextclasslist.[Ch]: layout as string
9400 * lyxtextclass.[Ch]: layout as string
9402 * lyxtext.h: layout as string
9404 * lyxlayout.[Ch]: layout as string
9406 * lyx_cb.C: layout as string
9408 * bufferview_funcs.C: layout as string
9410 * bufferparams.C: layout as string
9412 * buffer.C: layout as string
9414 * LyXView.[Ch]: layout as string
9416 * LaTeXFeatures.[Ch]: layout as string
9418 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9420 * BufferView_pimpl.C: change current_layout to string, remove
9425 (workAreaButtonRelease): layout as string
9427 * BufferView2.C (unlockInset): adjust
9429 * vspace.C (asLatexCommand): use an explict temp variable.
9431 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9433 * Makefile.am: use FRONTEND_*
9435 2002-03-01 Juergen Vigna <jug@sad.it>
9437 * tabular.C (SetWidthOfMulticolCell): changed to something better
9438 I hope but still work in progress.
9439 (recalculateMulticolumnsOfColumn): renamed function from
9440 recalculateMulticolCells as it is more appropriate now.
9441 (SetWidthOfCell): calculate multicols better.
9443 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9445 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9447 * lyxfunc.C (processKeySym): print sequence also if it is
9448 `deleted' (complete)
9450 * kbsequence.C (print): print sequence even if it is deleted
9451 (complete would be a better word, actually).
9453 * lyxfunc.C (dispatch): print complete options after a prefix key
9455 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9457 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9459 * text2.C (setCharFont): eliminate setCharFont code duplication.
9461 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9463 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9464 LFUN_TABULAR_FEATURE (bug #177)
9466 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9468 * Makefile.am: remove figure.h
9470 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9472 * Bufferview_pimpl.C:
9484 * text2.C: remove #include "lyx_gui_misc.h".
9486 * LaTeX.C: added #include <cstdio>
9488 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9490 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9491 that the paragraph following this one can have.
9493 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9495 * vspace.C (asLatexCommand): fix bogus gcc warning
9497 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9499 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9501 * text2.C (setLayout): get rid of redundant code
9503 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9505 * text2.C (incDepth): make sure depth cannot be increased beyond
9508 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9510 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9511 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9513 * PainterBase.h (image):
9514 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9517 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9521 * BufferView_pimpl.C:
9522 * BufferView_pimpl.h:
9542 * sp_spell.C: remove fig inset, and the crap house of
9543 cards that follows it
9545 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9551 * nt_defines.h: move .h into support/
9553 * vms_defines.h: remove
9555 * WorkArea.C: add space in debug output
9559 * buffer.C: add WITH_WARNINGS
9563 * bufferlist.C: s/retrive/retrieve/, add docs
9574 * lyxgui.C: add ID to X error handler
9576 * lyxtestclass.c: fix typo
9578 2002-02-26 Juergen Vigna <jug@sad.it>
9580 * tabular_funcs.C (write_attribute): changed so that some default
9581 attributes are not written at all.
9582 (getTokenValue): set default values before trying to read the
9583 value so we have the return value always set as default if we don't
9584 find the token we search for.
9586 * tabular.C (Write): write bools as bools not as strings!
9588 2002-02-22 Juergen Vigna <jug@sad.it>
9590 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9591 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9593 * text.C (leftMargin): don't add an indent for paragraphs inside
9594 tabular cells (fix #208).
9596 2002-02-21 José Matos <jamatos@fep.up.pt>
9598 * tabular.C (docBook): fixed support for long tables.
9600 2002-02-20 Juergen Vigna <jug@sad.it>
9602 * text2.C (getFont): get the drawing font of the Inset if this
9603 paragraph is inside an inset (only important for InsetERT for now).
9605 * buffer.C (insertErtContents): use new lanugage params in ERT
9608 * CutAndPaste.C: commenting out seemingly uneeded code.
9610 2002-02-19 Allan Rae <rae@lyx.org>
9612 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9613 Iterators might be simple to use but they also get invalidated.
9614 (removeAutoInsets): renamed saved cursor tracking variables and added
9615 some comments to clarify what everything does.
9617 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9624 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9625 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9628 * vc-backend.h: remove #include "support/syscall.h"
9632 * converter.C: rearrange #includes in Lars' approved fashion.
9634 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9635 forward declare class Timeout in the header file.
9637 * XFormsView.C: changes due to the above.
9639 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9642 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9643 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9645 2002-02-18 José Matos <jamatos@fep.up.pt>
9647 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9650 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9652 * a lot of small ws changes
9653 * add a lot of using std::XXX
9654 * use std construcs some places where approp.
9655 * use some exisint stuff from lyxfunctional where approp.
9656 * Make file changes to use partial linking (lets test this now...)
9658 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9662 remove #include "support/syscontr.h" as it's redundant. Always has been.
9670 change Systemcalls::System to Systemcalls::Wait and
9671 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9672 No change of functionality, just reflects the stripped down Systemcalls
9675 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9677 * debug.[Ch]: add a GRAPHICS type to the enum.
9679 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9681 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9683 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9686 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9688 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9689 match the changes below.
9691 * text2.C (toggleInset): if there is not editable inset at cursor
9692 position, try to see if cursor is _inside_ a collapsable inset
9695 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9697 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9698 document menu has a nice checkbox
9700 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9702 * lyxlength.C (asLatexString): change PW to output as percent of
9705 * lengthcommon.C: change '%' to 't%'
9707 * lyxfunc.C (dispatch): a few comments from Martin
9709 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9713 * BufferView_pimpl.h:
9714 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9717 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9719 * vspace.C (inPixels): fix compiler warning
9721 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9723 * lyxfunc.C (getStatus): fix status message for disabled commands.
9725 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9727 * BufferView_pimpl.C: fix crash on close buffer
9728 during selection (#227)
9730 2002-01-27 Herbert Voss <voss@lyx.org>
9732 * buffer.C: link old Figure to new graphic inset
9734 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9736 * FontLoader.C (getFontinfo): Change the latex font names in order
9737 to match the names of type1inst.
9739 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9741 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9743 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9746 (remove_files_with_extension): ditto
9747 (remove_file): ditto
9750 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9751 document is smaller than the work area height. Do not initialize
9752 static variables to 0.
9754 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9756 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9758 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9759 LFUN_LAYOUT_PARAGRAPHS.
9761 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9762 tabular. It is possible to provide a possible cell, which will
9763 typically be the actcell from the corresponding insettabular
9765 * lyxfunc.C (getStatus): small cleanup; disable
9766 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9769 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9771 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9773 * paragraph.C (startTeXParParams):
9774 (endTeXParParams): new methods. The LaTeX code to
9775 start/end paragraph formatting
9776 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9777 empty (fixes bug #200)
9779 * vspace.C (inPixels): adapt to the change below
9780 (inPixels): [later] more cleanups (remove unused variables)
9782 * lyxlength.C (inPixels): change to use a width and a height as
9785 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9787 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9788 Replaced with \paperwidth
9790 * DepTable.C (insert): add std:: qualifier
9792 2002-01-18 Allan Rae <rae@lyx.org>
9794 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9797 * text.C (drawInset): Turned out I didn't know enough about how
9798 rebreaking worked. This fixes most of the redraw problems. I see
9799 an occasional cursor trail when a line is broken now and the cursor
9800 placement can seem out by a few pixels also after a rebreak.
9802 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9804 * buffer.C (parseSingleLyXformat2Token): update because minipage
9805 width is now a LyXLength
9807 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9809 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9812 2002-01-17 Juergen Vigna <jug@sad.it>
9814 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9816 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9817 is set correctly and the inset is updated correctly.
9819 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9821 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9822 the beginning of the loop.
9824 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9826 * lyxrc.C: improve help for use_scalable_fonts
9828 2002-01-17 Allan Rae <rae@lyx.org>
9830 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9832 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9834 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9835 make sure to set their inset_owner to the right value (bug #171)
9837 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9840 * DepTable.C: Implement mtime checking to reduce time spent doing
9843 2002-01-16 Juergen Vigna <jug@sad.it>
9845 * tabular.C (GetAdditionalHeight): one of error fixed.
9847 * lyxrc.C (output): small fix in writing use_pspell.
9849 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9851 * sp_base.h: #include LString.h
9853 2002-01-16 Allan Rae <rae@lyx.org>
9855 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9856 Can someone check this please?
9858 * text.C (drawInset): It was possible that p.row would be removed by
9859 breakAgainOneRow upsetting a few other settings. There may be another
9860 small tweak possible by setting need_break_row = 0 when p.row has been
9861 removed but I don't know enough about the logic here.
9863 2002-01-15 Allan Rae <rae@lyx.org>
9865 * text.C (insertChar): removed conditional truism.
9867 * BufferView2.C (removeAutoInsets): More tweaks.
9868 cur_par_prev could be a stray pointer. Check for trailing empty line
9869 in case last line was cur_par and only had an error inset on it.
9871 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9873 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9876 * vc-backend.C (most methods):
9877 * exporter.C (Export):
9878 * converter.C (convert):
9880 * LyXSendto.C (SendtoApplyCB):
9881 * lyxfunc.C (dispatch):
9885 * lyx_cb.C (AutoSave):
9887 * BufferView_pimpl.C (MenuInsertLyXFile):
9888 * buffer.C (runChktex): use Buffer::filePath().
9890 * buffer.h: rename filename to filename_; rename filepath to
9891 filepath_ and make it private
9892 (filePath): new method
9894 * buffer.C (writeFile): use fileName()
9897 * lyx_main.C (init): fix starting of LyX when the binary is a
9898 link from so,ewhere else.
9900 * minibuffer.C: include <cctype> for isprint
9902 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9904 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9905 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9906 name clash with InsetCollapsable's width function.
9908 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9910 * lastfiles.C: include <iterator>
9912 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9914 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9917 * buffer.C (makeLaTeXFile): ditto.
9918 Also make loop operation more transparent.
9920 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9922 * ToolbarDefaults.C: remove trailing comma closing namespace.
9924 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9926 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9929 * trans.C (Load): comment out unused variable, allowed.
9931 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9933 * minibuffer.[Ch] (append_char): new method to recieve input from the
9934 drop-down completion browser. If a key was pressed, then recieve this
9935 char and append it to the existing string.
9936 (peek_event): modify the positioning data passed to the completion
9937 browser so that it can be placed above the minibuffer rather than below.
9938 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9940 * LyXAction.C (init): alloe error-next for readonly documents.
9942 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9945 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9947 * bufferlist.C (readFile): create the buffer _after_ checking that
9950 * lyxfunc.C (verboseDispatch): fix handling of arguments
9952 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9954 * lyxrc.C: use string::erase() instead of initializing to "".
9957 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9959 * BufferView_pimpl.h:
9960 * BufferView_pimpl.C:
9963 * text2.C: tell X when we have made a selection for copying
9965 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9967 * BufferView_pimpl.C (MenuInsertLyXFile):
9968 * lyxfunc.C (menuNew):
9970 (doImport): add shortcuts to directory buttons
9972 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9975 * lyxfunc.C (setStatusMessage):
9976 (getStatusMessage): new methods
9977 (getStatus):use setStatusMessage instead of setErrorMessage
9978 (dispatch): when function is disabled, set error message here
9979 [instead of in getStatus previously]
9981 * BufferView_pimpl.C (workAreaButtonRelease): update
9982 toolbar/menubar here too.
9984 2002-01-13 Allan Rae <rae@lyx.org>
9986 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9987 Now seems indestructible. Remaining task is to audit all other
9988 code affected by deleteEmptyParagraphMechanism. One small quirk
9989 left is that an empty document with an error in the preamble can
9990 be made to report an error but no error box appears. I don't know
9992 (removeAutoInsets): Improved comments.
9994 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9997 * Thesaurus.C: update for Aiksaurus 0.14
9999 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10001 * text2.C (firstParagraph): removed member function, all uses
10002 replaces with ownerParagraph
10003 (redoParagraphs): here
10004 (updateInset): here
10005 (toggleAppendix): here
10006 * BufferView2.C (insertErrors): here
10007 (setCursorFromRow): here
10009 2002-01-13 Allan Rae <rae@lyx.org>
10011 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10012 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10013 There is still a way to segfault this although you may have to do this
10014 multiple times: Have an InsetERT with an unknown command in it.
10015 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10016 <down-arrow>, <Enter> again, View->DVI, BANG!
10018 * text2.C (setCursor):
10019 (deleteEmptyParagraphMechanism):
10020 * lyxtext.h (setCursor):
10021 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10022 Making use of the return value may help fix other bugs.
10024 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10026 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10028 * LyXView.C (updateMenubar): call MenuBar::update here
10029 (updateToolbar): but not here
10030 (showState): do not update toolbar/menubar
10032 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10033 should need to care about that.
10035 * lyxfunc.C (verboseDispatch): simplify a bit
10036 (getStatus): have a version which takes a pseudoaction, and
10037 another which requires a (kb_action,string).
10039 * LyXAction.C (retrieveActionArg): make it work also when action
10040 is not a pseudo-action.
10041 (getActionName): simplify a bit
10044 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10046 * lyxfunc.C (verboseDispatch): new families of methods with
10047 several ways to specify a command and a bool to indicate whether
10048 the command name and shortcut should be displayed in minibuffer
10049 (eventually, we could extend that to a finer bitmask like
10050 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10051 (dispatch): the pristine dispatch command which just, well,
10052 dispatchs! Note it still sets its result to minibuffer; I'm not
10055 * lyxfunc.h: remove setHintMessage
10057 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10059 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10061 * BufferView_pimpl.C (specialChar): delete new inset if we have
10062 not been able to insert it.
10064 * kbmap.C: revert to using int instead of kb_action, since all we
10065 are dealing with is pseudo-actions.
10067 * LyXAction.C (searchActionArg): change to return int instead of
10068 kb_action, since the result is a pseudoaction.
10070 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10072 * buffer.C (insertErtContents): Fix (partially) the font bug.
10074 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10076 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10077 as the other one is broken on my machine!
10079 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10082 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10084 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10086 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10087 reflect their actual use. Provide compatibility code for older lyxrc
10090 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10092 change names of popup font variables in line with the changes to lyxrc.C
10094 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10096 * buffer.C (asciiParagraph): avoid outputing a word twice after
10099 * lyxrc.C (getDescription): document that document_path and
10100 template_path can be empty.
10102 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10104 * LaTeXFeatures.C (getMacros):
10105 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10107 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10109 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10111 (getPackages): rename feature "floats" to "float". Use an array to
10112 iterate over 'simple' features (i.e. just a \usepackage). Add
10113 handling of "amsmath" (renamed from "amsstyle").
10115 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10117 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10120 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10122 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10123 FuncStaus::FuncStatus & FuncStaus::some_method().
10125 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10127 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10128 of the func_satus stuff. Edited and massaged in various ways by
10131 * lyxfunc.C (getStatus): use FuncStatus
10133 2002-01-08 Juergen Vigna <jug@sad.it>
10135 * text.C (nextBreakPoint): use function Inset::isChar().
10137 * paragraph.C (TeXOnePar): use function
10138 Inset::forceDefaultParagraphs.
10140 * buffer.C (latexParagraphs): use function
10141 Inset::forceDefaultParagraphs.
10143 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10145 * lyx_gui.C (init): set the style of the menu popups to
10146 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10148 2002-01-07 Juergen Vigna <jug@sad.it>
10150 * text.C (setHeightOfRow): small fix
10151 (prepareToPrint): don't look at alignment if we don't have the place
10154 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10156 * box.C: New file. Move the Box methods and functions out of box.h,
10157 following Lars' suggestion.
10159 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10161 * box.h: #include "support/LOstream.h", needed for inlined function.
10164 * lyxtextclasslist.C: added some using std declarations.
10166 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10168 * box.h: make signed dimensions to allow insets wider than
10169 the screen (bug #162)
10171 * BufferView_pimpl.C: add some insetHit debug
10173 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10175 * vc-backend.C: add FIXME
10177 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10179 * lyxfunc.C (getStatus): enable code for showing math font status
10182 2002-01-07 Juergen Vigna <jug@sad.it>
10184 * text.C (nextBreakPoint): removed debug output not needed anymore.
10186 2002-01-06 Juergen Vigna <jug@sad.it>
10188 * text.C (nextBreakPoint): fixed up this function we had this bug
10189 since ever but now hopefully we break row better.
10190 (insertChar): we have to check if an inset is the next char as it
10191 could now happen that a large inset is causing a break.
10193 2002-01-05 Juergen Vigna <jug@sad.it>
10195 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10196 if it doesn't like to be drawed.
10198 2002-01-04 Juergen Vigna <jug@sad.it>
10200 * BufferView2.C (lockInset): forgot to set a cursor.
10202 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10204 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10206 * FormMathsPanel.C:
10209 * form_maths_panel.C:
10210 * form_maths_panel.h:
10211 * form_maths_panel.fd: implemented sub- and super- buttons in math
10214 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10215 (or ^ space) to be used as in TeX (req'd by André).
10217 * lyxfunc.C: Allow ^ and _ again to be used both as
10218 super/subscript (mathed) and as themselves (in text).
10220 2002-01-03 Allan Rae <rae@lyx.org>
10222 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10223 "LyX" or the filename of the current buffer if it has one. This is a
10224 modified form of John Levon's patch.
10226 * XFormsView.C (setWindowTitle): also set icon title.
10228 * LyXView.h (setWindowTitle): signature changed.
10229 * XFormsView.h (setWindowTitle): ditto.
10231 2002-01-02 Juergen Vigna <jug@sad.it>
10233 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10235 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10237 * screen.C (topCursorVisible): introduce a temp var for
10238 text->cursor.row(), handle the case where this row is null. (kindo
10241 * text2.C (setCursor): add a couple of asserts.
10243 * paragraph.h (inset_iterator): add -> operator
10245 * paragraph.[Ch] (autoDeleteInsets): remove member function
10247 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10248 cursor pos correctly and handle inset deletion by itself.
10249 (insertErrors): move iterator declaration out of for expression
10251 * lyxtextclass.C: add <algorithm>
10253 * Makefile.am: added the new files to sources, removed layout.C
10255 * layout.C: removed file
10257 * layout.h: remove LYX_DUMMY_LAYOUT
10259 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10263 * lyxtextclass.[Ch]:
10264 * lyxtextclasslist.[Ch]: new files
10266 * include order changes to a lot of files, also changes because of
10269 2001-12-27 Juergen Vigna <jug@sad.it>
10271 * buffer.C (asciiParagraph): more fixes.
10273 * tabular.C (ascii): make ascii export support export of only the
10274 data separated by a column-delimiter.
10275 (ascii): better support for ascii export.
10277 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10279 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10281 * tabular_funcs.C: use a "using std::getline" instead of the
10282 previous fix from Angus (necessary for cxx + lyxstring)
10284 2001-12-24 Juergen Vigna <jug@sad.it>
10286 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10288 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10289 problems. First check a minipage also if we have some ert-contents
10290 (not only on par->size(), second set the right depth of the paragraph
10291 on the relink to the root-paragraph-list!
10293 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10294 which then did not anymore update the main paragraphs on undo/redo!
10296 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10298 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10299 code. Support all font-changing funcs (even those which are not in
10300 menu currently). Support for reporting font settings in
10301 mathed (disabled until Andre provides a function on mathed's side).
10303 * func_status.h (toggle): small helper function to set toggle
10306 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10308 * tabular_funcs.C: getline -> std::getline
10310 2001-12-21 Juergen Vigna <jug@sad.it>
10312 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10313 accessed and could be 0 (I couldn't generate this but it seems
10316 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10318 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10319 * tabular_funcs.h: here and include iosfwd
10321 2001-12-20 Juergen Vigna <jug@sad.it>
10323 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10324 inside inset but undo_par was.
10326 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10328 * Thesaurus.C: always include <config.h> in sources.
10332 * box.h: do not include <config.h> in header files
10334 * text.C (paintLastRow): remove unused variable
10336 * text.C (transformChar):
10338 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10340 * Painter.C (text):
10341 * font.C (width): rewrite to use uppercase() instead of
10344 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10346 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10348 * lyxfind.C: clean up of find failure position change
10350 2001-12-20 Juergen Vigna <jug@sad.it>
10352 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10354 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10355 (TeXRow): added to LaTeX a single tabular row.
10356 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10357 (Latex): simplified and finally good LT-h/f support.
10358 (various_functions): just small adaptions for LT-h/f support.
10360 * tabular_funcs.[hC]: added and moved here all not classfunctions
10363 2001-12-19 Juergen Vigna <jug@sad.it>
10365 * tabular.[Ch]: better support for longtabular options (not finished
10368 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10370 * text.C (paintLastRow): use the label font instead of the font of
10371 the last character to compute the size of *_BOX. This makes more
10372 sense and avoids a crash with empty paragraphs.
10373 Use Painter::rectangle to draw EMPTY_BOX.
10375 2001-12-19 Juergen Vigna <jug@sad.it>
10377 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10378 the paragraphs if the replaced paragraph is not the first one!
10379 Tried to delete not used paragraphs but does not work yet so for
10380 now it's inside #ifdef's and by default off!
10382 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10384 * MenuBackend.C: include "lyx_main.h" instead of declaring
10385 lastfiles (actually was declared as LastFiles* instead of a
10388 2001-12-17 Juergen Vigna <jug@sad.it>
10390 * tabular.C (AppendColumn): applied John's fix
10392 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10396 * BufferView_pimpl.h:
10397 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10400 * box.h: new start of class for above
10402 * lyxfunc.C: ignore space-only minibuffer dispatches.
10403 Show the command name when it doesn't exist
10405 * minibuffer.C: don't add empty lines to the history
10407 * minibuffer.C: add a space on dropdown completion
10409 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10411 * text.C: fix line above/below drawing in insets
10413 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10415 * lyxlength.C (LyXLength): Initialize private variables.
10417 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10419 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10420 when inserting error insets.
10422 2001-12-13 Juergen Vigna <jug@sad.it>
10424 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10425 actually sometimes the before-paragraph.
10426 (setUndo): don't clear the redostack if we're not actually undoing!
10428 2001-12-06 Juergen Vigna <jug@sad.it>
10430 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10431 and fixed redoing of main paragraph, so we can use it now ;)
10433 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10435 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10437 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10440 2001-12-13 André Pönitz <poenitz@gmx.net>
10443 * undo_func.C: minor cleanup
10445 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10447 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10448 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10449 font in urw-fonts package which is marked as -urw-fontspecific and
10450 does not work (incidentally, changing the encoding in the
10451 fonts.dir of this package to -adobe-fontspecific fixes the
10454 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10455 is a crash when undoing first paragraph (Juergen, please take a
10456 look). THis does not mean the undo fix is wrong, just that it
10459 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10460 the (Paragraph*) version when needed instead of duplicating the
10463 * text.C (workWidth): use Inset::parOwner to find out where the
10464 inset has been inserted. This is a huge performance gain for large
10465 documents with lots of insets. If Inset::parOwner is not set, fall
10466 back on the brute force method
10468 * paragraph_pimpl.C (insertInset):
10469 * paragraph.C (Paragraph):
10470 (cutIntoMinibuffer): set parOwner of insets when
10471 inserting/removing them
10473 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10475 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10481 * mathed/formulabase.C:
10482 * mathed/math_cursor.[Ch]:
10483 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10486 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10488 * lyxlength.[Ch] (operator!=): new function
10490 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10492 * text.C (workWidth): use Inset::parOwner to find out where the
10493 inset has been inserted. This is a huge performance gain for large
10494 documents with lots of insets. If Inset::parOwner is not set, fall
10495 back on the brute force method
10497 * paragraph_pimpl.C (insertInset):
10498 * paragraph.C (Paragraph):
10499 (cutIntoMinibuffer): set parOwner of insets when
10500 inserting/removing them
10502 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10504 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10506 * tabular-old.C (getTokenValue):
10507 * tabular.C (getTokenValue):
10508 (write_attribute): new versions for LyXLength
10509 (everywhere): adjust the use of widths
10511 * tabular.h: change the type of widths from string to LyXLength
10513 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10515 * paragraph.C: fixed missing line number count when exporting
10516 Environments to LaTeX file
10518 * buffer.C: added informational message for checking line numbers.
10520 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10522 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10523 paragraph, do the 'double space' part, but not the 'empty
10526 * text.C (workWidth): small optimization
10527 (getLengthMarkerHeight): use minimal size for negative lengths.
10529 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10531 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10533 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10535 2001-12-11 André Pönitz <poenitz@gmx.net>
10538 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10540 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10542 * text2.C: keep selection on a setFont()
10544 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10546 * lyx_cb.C: another bv->text misuse, from insert label
10548 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10551 * kbsequence.C: re-instate nmodifier mask
10553 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10555 * lyx_main.h: make lyxGUI private.
10557 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10559 * lyxfind.C: place the cursor correctly on failed search
10561 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10563 * text.C (getLengthMarkerHeight): for small heights, the arrows
10564 are not always on top/bottom of the text
10565 (drawLengthMarker): smaller arrows; take the left margin in
10566 account; draw also vfills.
10568 (paintLastRow): remove special code for vfill and standard spaces,
10569 since everything is handled in drawLengthMarker now.
10571 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10573 * buffer.C (insertErtContents): try to handle font and language
10574 interaction a bit better.g
10576 * ColorHandler.C (updateColor): change the hash to cover the whole
10577 LColor enum, ws cleanup
10578 (getGCLinepars): ditto
10579 (getGCLinepars): only lookup in the linecache once.
10581 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10583 * iterators.C (operator++): Make the iterator more robust
10585 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10587 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10589 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10592 * text.C: better added space drawing
10594 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10597 * BufferView2.C: fix layout combo update on inset unlock
10599 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10601 * Makefile.am: don't compile unused files
10603 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10607 * LyXAction.C: remove old LFUN_LAYOUTNO
10609 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10611 * paragraph_pimpl.h:
10612 * paragraph_pimpl.C: isTextAt() doesn't need font param
10614 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10617 * lyxlex.C: little cleanup
10619 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10621 * BufferView_pimpl.C: fix insertAscii for insets
10623 2001-12-05 Juergen Vigna <jug@sad.it>
10625 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10626 set the right font on the "multi" paragraph paste!
10628 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10634 * lyxlength.C: remove out-commented code.
10636 * BufferView_pimpl:
10650 * vc-backend.C: change "while(" to "while ("
10652 * lyxlength.[Ch]: add zero function to check if length is zero or
10654 * lyxgluelength.C: use it
10656 2001-12-05 Allan Rae <rae@lyx.org>
10658 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10659 Works for 2.95.3, from what I understand of Garst's reports this should
10660 work for other g++ versions. We're screwed if the abs(int) definition
10661 changed between bugfix releases of gcc.
10663 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10665 * text.C: fix chapter label offset !
10667 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10670 * text.C: fix hfill at end of line, clean up
10672 2001-12-04 Juergen Vigna <jug@sad.it>
10674 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10675 that we force an update of the inset and it's owners if neccessary.
10677 2001-12-03 Juergen Vigna <jug@sad.it>
10679 * text.C (rowLast): simplified code
10681 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10683 * lyxfunc.C: fix show options on timeout
10685 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10687 * screen.C (topCursorVisible): scroll half a page when the cursor
10688 reached top of bottom of screen
10690 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10692 * minibuffer.C: deactivate on loss of focus
10694 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10696 * vspace.[Ch] (operator!=): add operator.
10698 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10700 * BufferView_pimpl.C: refuse to open an inset when
10701 there's a selection.
10703 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10705 * BufferView_pimpl.C: allow to click on RHS of full row insets
10707 2001-11-30 Juergen Vigna <jug@sad.it>
10709 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10710 insets for undo reasons.
10712 2001-11-28 André Pönitz <poenitz@gmx.net>
10714 * vspace.[Ch]: cosmetical changes
10716 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10726 * kbsequence.C: part re-write of old kb code
10729 * WorkArea.C: remove Lgb_bug_find_hack
10731 2001-11-30 José Matos <jamatos@fep.up.pt>
10733 * buffer.C (makeDocBookFile): add a comment to point a hack.
10734 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10735 Fixed a double write of labels.
10737 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10740 * LaTeX.h Fixed bug in LaTeX class where it would not
10741 re-run latex if no depfiles were changed, but the .dvi was removed.
10743 2001-11-28 André Pönitz <poenitz@gmx.net>
10745 * all the files from the change on 2001/11/26:
10746 use lyx::layout_type instead of LyXTextClass::size_type
10747 use lyx::textclass_type instead of LyXTextClassList::size_type
10749 2001-11-29 Juergen Vigna <jug@sad.it>
10751 * text.C: added support for paragraph::isFreeSpacing()
10753 * buffer.C: same as above
10755 * paragraph.h: inserted isFreeSpacing() function to enable
10756 FreeSpacing inside InsetERT.
10758 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10759 of the paragraph's in the cut/copy buffer to 0!
10761 * text2.C (removeRow): remove the assert as it can!
10763 * lyxtext.h: added helper function firstRow returning firstrow and
10764 made firstrow private again.
10766 * BufferView2.C (lockInset): don't relock if we're already locked!
10768 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10769 the only paragraph.
10770 (removeRow): added Assert::(firstrow)
10772 * debug.C: forgot to add INSETTEXT here.
10774 2001-11-28 Juergen Vigna <jug@sad.it>
10776 * sp_spell.C (initialize): changed error text to more general
10777 spellchecker command use (not only ispell!)
10779 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10781 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10783 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10785 * vspace.C: initialise lyxgluelength on failure
10787 2001-11-28 Allan Rae <rae@lyx.org>
10789 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10790 declaration & definition that looks like a function declaration.
10792 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10794 * BufferView2.C (copy):
10795 (copyEnvironment): do not clear the selection when doing a copy.
10797 * text.C (paintFirstRow): compilation fix
10799 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10801 * tabular.C (Latex): correct line count when writing latex.
10803 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10805 * paragraph_pimpl.h:
10806 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10809 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10813 * LColor.C: change vfillline->added_space
10815 * text.C: add markers and text for added space
10817 * vspace.C: fix comment
10819 2001-11-28 André Pönitz <poenitz@gmx.net>
10821 * paragraph.C: whitespace changes
10822 * all the other files from the change on 2001/11/26:
10823 change *::pos_type into lyx::pos_type
10825 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10827 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10828 language of the document when inserting error insets.
10830 2001-11-26 André Pönitz <poenitz@gmx.net>
10832 * BufferView_pimpl.[Ch]:
10840 * paragraph_pimpl.[Ch]:
10843 * text2.C: reduce header dependencies, introduce type for positions
10845 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10847 * <various>: change to use Alert.h
10849 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10851 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10852 when encountering an unknown token.
10853 (readLyXformat2): Show an error message if there were unknown tokens.
10855 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10858 * BufferView_pimpl.C:
10862 * text2.C: use par->isInset()
10864 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10866 * paragraph_pimpl.h:
10867 * paragraph_pimpl.C: cleanup
10869 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10871 * text2.C (removeRow):
10872 * text.C (setHeightOfRow): remove useless (and costly) call to
10875 2001-11-20 Allan Rae <rae@lyx.org>
10877 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10878 Now need Inset*::checkInsertChar() to return true for appropriate
10879 cases so that the characters in the minibuffer will actually be
10882 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10884 * text.C: change the order of the includes.
10885 (workWidth): initialize it at once.
10886 (workWidth): make maxw unsigned
10887 (setHeightOfRow): remove unused variable (inset)
10888 (selectSelectedWord): remove unused variable (inset)
10889 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10891 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10893 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10894 server is not running.
10896 (closeConnection): add debug info when server is disabled.
10898 * ColorHandler.C (getGCForeground): send debug message to GUI
10901 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10903 * kbmap.C (bind): modify because return conventions of
10904 kb_sequence::parse have changed.
10906 * kbsequence.C (parse): only ignore spaces and not any stupid
10907 control character. This avoids tests like s[i] <= ' ', which are
10908 guaranteed to fail with 8bit characters and signed chars.
10909 Change return code to string::npos when there have been no error
10910 (0 was a bad idea when error is at first character)
10912 2001-11-14 José Matos <jamatos@fep.up.pt>
10915 * buffer.C (simpleDocBookOnePar): removed unused argument.
10917 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10919 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10920 insets which are part of a word. Paragraph::isLetter takes care of
10921 that now. Use Paragraph::isInset to identify insets.
10922 (selectSelectedWord): do not test for hyphenation break.
10924 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10925 that protected spaces are considered as spaces.
10927 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10930 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10933 * lyxserver.C: fix it. and small cleanup.
10935 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10937 * BufferView_pimpl.C: use inline helpers
10940 * LaTeXFeatures.C: fix typos
10943 * Spacing.C: move spacing_string into class
10945 * ToolbarDefaults.C: move stuff into namespace anon
10947 * layout.h: update enum
10949 * lyxfunc.C: use better debug
10951 * minibuffer.h: fix typo
10955 * WorkArea.C: add and use Debug::WORKAREA
10959 * text2.C: code re-organisation, inline helpers
10961 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10963 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10964 std::vector.empty().
10966 2001-11-09 Allan Rae <rae@lyx.org>
10968 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10969 '\n's after tables. Tabular and ERT inset work now makes this no
10972 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10975 * minibuffer.C: fix crash, improve drop-down completion
10977 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10980 * lyxserver.C: invalidate fd's when doing endPipe()
10982 2001-11-08 José Matos <jamatos@fep.up.pt>
10984 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10985 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10988 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10990 2001-11-07 José Matos <jamatos@fep.up.pt>
10993 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10996 * buffer.C (sgmlOpenTag):
10997 * buffer.C (sgmlCloseTag): removed debug info.
10999 * buffer.h (sgmlOpenTag):
11000 * buffer.h (sgmlCloseTag): made public.
11002 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11004 * buffer.C (saveParamsAsDefaults):
11005 * lyx_cb.C (MenuLayoutSave): remove
11007 * LyXAction.C (init):
11009 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11011 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11013 * buffer.C (setPaperStuff): removed from here...
11015 * bufferparams.C (setPaperStuff): ... and moved there.
11017 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11021 * XFormsView.C: add support for drop-down completion
11023 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11025 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11028 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11030 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11033 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11035 * lyx_main.C: change ref to known bugs
11037 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11039 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11040 to work around older babel problems.
11042 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11044 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11046 2001-10-24 Juergen Vigna <jug@sad.it>
11048 * tabular-old.C (ReadOld): below variable changes reflected.
11050 * tabular.[Ch]: added ltType struct for longtable header/footer
11051 defines and changed all instances where they are used. Added
11052 future support for double top/bottom rows.
11054 2001-10-24 José Matos <jamatos@fep.up.pt>
11056 * buffer.h (docbookHandleCaption):
11057 * buffer.C (docbookHandleCaption): removed unused function.
11058 (makeDocBookFile): moved docbook supported version to v4.1.
11060 2001-10-24 José Matos <jamatos@fep.up.pt>
11063 * tabular.C (docbookRow): new function to export docbook code of a row.
11064 (DocBook): now honors the longtable flags.
11066 2001-10-23 José Matos <jamatos@fep.up.pt>
11069 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11070 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11072 * buffer.C (makeLinuxDocFile):
11073 (makeDocBookFile): reworked the preamble, more clean, and with
11074 support for lyx defined entities. Changed the document declaration
11075 to be more XML friendly.
11077 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11078 if we need to output XML that should be done with a filter.
11080 2001-10-22 Juergen Vigna <jug@sad.it>
11082 * sp_pspell.h (class PSpell): add alive function needed in the
11083 controller to see if the spellchecker could be started.
11085 2001-10-22 Juergen Vigna <jug@sad.it>
11087 * buffer.C (insertStringAsLines): modify the font for inserting
11088 chars in certain conditions by calling checkInsertChar(font).
11090 2001-10-19 Juergen Vigna <jug@sad.it>
11092 * text.C (workWidth): use getRow instead of wrong algorithm.
11093 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11095 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11100 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11102 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11104 * text.C (workWidth): do not search for the exact row when
11105 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11106 optimization for big documents.
11108 2001-10-18 Juergen Vigna <jug@sad.it>
11110 * text.C (workWidth): new function with added Inset * parameter.
11112 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11114 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11116 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11117 change return type of getColumnNearX.
11120 * text.C (changeRegionCase): use uppercase/lowercase instead of
11123 (rightMargin): simplify code by factoring out the uses of
11128 (appendParagraph): use Paragraph::size_type
11130 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11132 * vspace.C (asLatexString): add a missing break
11134 2001-10-15 Herbert Voss <voss@perce.de>
11136 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11138 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11140 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11143 2001-10-10 André Pönitz <poenitz@gmx.net>
11145 * lyxfunc.C: removed greek_kb_flag.
11147 2001-10-10 Herbert Voss <voss@perce.de>
11149 * lyx_main.C: delete global string help_lyxdir.
11151 2001-10-09 Herbert Voss <voss@perce.de>
11153 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11155 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11157 * lyx_main.C: added global string help_lyxdir.
11159 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11161 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11163 * lyxrc.C (set_font_norm_type): support iso8859-4
11165 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11167 * LaTeX.C (deplog): add another regex for MikTeX
11169 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11171 * lyxrc.C (set_font_norm_type): support iso8859-3
11173 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11175 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11177 * LaTeXFeatures.C: remove special case of french and index
11179 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11180 before \begin{document}). This solves several incompatibilities.
11182 2001-10-03 Garst Reese <reese@isn.net>
11184 * lyx_cb.C: change CheckTex error msg.
11186 2001-10-03 José Matos <jamatos@fep.up.pt>
11188 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11190 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11192 * .cvsignore: update
11194 * lyx_main.C (commandLineVersionInfo): use new style version info.
11196 * buffer.C (writeFile):
11198 (makeLinuxDocFile):
11199 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11201 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11203 * version.h: update to use stuff in version.C
11205 * version.C.in: new file. Contains version information determined
11206 at compile time. This is a merging of version.h and
11209 2001-10-03 Juergen Vigna <jug@sad.it>
11211 * BufferView_pimpl.C (update): don't change "dirty" status in
11214 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11216 * WorkArea.C (c-tor): re-position version string slightly.
11218 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11220 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11221 revert to previous code.
11223 WorkArea.[Ch]: (show, destroySplash): methods removed.
11225 WorkArea.C: rework code so that it's an amalgam of the codes before and
11226 after the splash screen was moved to WorkArea.
11228 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11231 * vspace.C (inPixels):
11234 * buffer.C (insertStringAsLines):
11235 (asciiParagraph): fix types to be large enough
11237 * lyxlex_pimpl.h: change member status from short to int
11239 * layout.h: fix type of endlabeltype
11242 * kbsequence.C (parse): change return type to string::size_type
11244 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11247 * Bullet.C (bulletSize):
11248 (bulletEntry): do not use short ints as parameters
11250 * BufferView2.C (insertLyXFile): change a char to an int.
11252 * WorkArea.C (WorkArea): remove unneeded floats in computation
11254 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11256 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11258 * paragraph.C (asString): Do not ignore newline/hfill chars when
11259 copying to the clipboard.
11261 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11263 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11264 after a multi-line inset.
11266 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11268 * paragraph.C (validate): Set NeedLyXFootnoteCode
11270 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11272 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11273 and decrease-error to decrease.
11275 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11277 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11278 it more readable (should be equivalent)
11280 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11282 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11284 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11286 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11287 of a cursor (row, etc.) after a character has been deleted
11288 (deleteEmptyParagraphMechanism): call the method above on _all_
11289 cursors held by the LyXText when a double space has been
11292 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11294 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11296 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11298 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11299 background. Use greyOut() and the new show() methods to toggle between
11300 the foreground and background. Add code to remove the splash after
11301 its initial showing.
11303 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11304 (create_forms): no longer call Dialogs::showSplash.
11306 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11308 * .cvsignore: add version_info.h
11310 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11312 * version_info.h.in: new file
11314 * Makefile.am: add version_info.h.in
11316 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11317 version_info.h instead of VERSION_INFO
11319 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11321 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11322 The ERT inset now returns string().
11324 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11326 * lyxtext.h, text.C (selectNextWord): renamed as
11327 selectNextWordToSpellcheck.
11329 * text.C (selectNextWordToSpellcheck): Modified to not select
11330 words inside an ERT inset.
11332 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11334 * lyx_cb.C (MenuLayoutSave): change a bit the question
11336 * sp_base.h: include <sys/types.h>
11338 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11340 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11342 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11344 * several files: fix typos in user-visible strings
11346 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11348 * text2.C (pasteSelection): do not set the selection, since it
11349 will be cleared later. Actually, the intent was to fix the way the
11350 selection was set, but I figured rmoving the code was just as good.
11352 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11354 * FontLoader.C (available): Check if font is available without
11357 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11359 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11361 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11363 * lyxrc.[Ch]: added display_graphics variable and associated code.
11365 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11367 * bufferparams.C (hasClassDefaults): new method. Returns true if
11368 the buffer parameters correspond to known class defaults
11370 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11372 * XFormsView.C (show): set minimum size to the main window.
11374 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11376 * text2.C (copySelection):
11378 * lyxfind.C (LyXReplace):
11379 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11380 LyXText::selectionAsString.
11382 * paragraph.C (asString): add "label" argument to the second form
11384 * text2.C (selectionAsString): add "label" argument and pass it to
11385 Paragraph::asString.
11387 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11389 * lyx_main.C (commandLineHelp): remove version information
11391 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11393 * lyx_main.C: add -version commandline option
11395 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11397 * paragraph.h: make the optional constructor arg required instead.
11398 some modifications to other files because of this.
11400 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11402 * lyxserver.C (C_LyXComm_callback): make it static
11404 * lyx_main.C (error_handler): make it static
11406 * lyx_gui.C (LyX_XErrHandler): make it static
11408 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11410 * WorkArea.C: make the extern "C" methods static.
11412 * Makefile.am (lyx_LDADD): simplify
11414 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11416 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11417 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11419 * LyXAction.C (init):
11420 * lyxfunc.C (dispatch): associated code removal.
11422 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11424 * lyxfont.h (isSymbolFont): shut off warning
11426 * text.C (setHeightOfRow):
11427 (getVisibleRow): fix crash with empty paragraphs which have a
11430 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11432 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11435 2001-09-04 José Matos <jamatos@fep.up.pt>
11438 * tabular.C (docbook): rename docBook method to docbook.
11440 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11442 * Makefile.am: add dependencies to main.o.
11444 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11446 * FontLoader.C (available): Return false if !lyxrc.use_gui
11448 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11450 * FontInfo.C (query):
11451 * converter.C (view):
11452 * importer.C (Import):
11453 * exporter.C (Export): Can not -> cannot.
11455 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11457 * BufferView_pimpl.C: allow to create index inset even if
11460 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11462 * buffer.C (getLists): replace boost::tie code with an explicit pair
11463 as boost::tie can break some compilers.
11465 * iterators.h: Added a std:: declaration to the return type of
11468 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11470 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11473 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11475 * iterators.[Ch]: New files. Provide paragraph iterators.
11477 * buffer.C (changeLanguage): Use paragraph iterators.
11478 (isMultiLingual): ditto
11480 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11482 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11484 * FontLoader.C: Support for cmr font.
11486 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11488 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11489 (available): New method.
11491 * FontInfo.C (getFontname): Use scalable fonts even when
11492 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11495 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11497 * converter.C (Formats::view): reverted! Incorrect fix.
11499 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11501 * converter.C (Formats::view): only output the -paper option
11502 if the dvi viewer is xdvi, thereby fixing bug #233429.
11504 2001-08-23 Herbert Voss <voss@perce>
11506 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11508 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11510 * Spacing.h (Spacing): Set space to Default on in the default
11513 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11515 * vc-backend.h (RCS::versionString): add RCS to version
11516 (CVS::versionString): add CVS to version
11518 * vc-backend.C (scanMaster): do not add CVS to version.
11519 (scanMaster): do not add RCS to version
11521 * lyxvc.C (versionString): new method
11523 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11525 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11527 * Spacing.C (set): initialize fval
11529 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11531 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11534 2001-08-16 Juergen Vigna <jug@sad.it>
11536 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11538 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11540 * BufferView_pimpl.C:
11543 * text2.C: setParagraph takes linespacing now
11545 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11547 * LyxAction.C: add internal LFUN_CITATION_INSERT
11549 * LyXView.C: actually apply fix
11551 * bufferlist.C: fix open non-existent file
11553 * lyxfind.C: fix indentation
11555 * lyxfunc.C: remove unneeded assert, fix typo
11557 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11559 * MenuBackend.C: use "Floatname List"
11561 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11563 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11564 when converting LaTeX layout to insetERT.
11565 Generate a non-collapsed float when reading old float
11567 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11569 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11572 2001-08-13 Juergen Vigna <jug@sad.it>
11574 * text.C (fill): return 0 instead of 20 as this seems to be the more
11577 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11579 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11582 2001-08-13 Juergen Vigna <jug@sad.it>
11584 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11586 (SearchBackward): comment out the unlocking of the inset_owner this
11587 should not be needed!
11589 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11591 * Many files: Remove inherit_language, and add latex_language
11593 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11594 collapsible insets.
11596 2001-08-10 Juergen Vigna <jug@sad.it>
11598 * text.C (prepareToPrint): fixed hfill-width in draw!
11600 * BufferView2.C (selectLastWord): save the selection cursor as this
11601 now is cleared in the function LyXText::clearSelection!
11603 2001-08-08 Juergen Vigna <jug@sad.it>
11605 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11606 BACKSPACE type functions.
11608 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11609 is only cutted from the document but not put in the cut-buffer, where
11610 still the old stuff should be.
11612 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11614 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11616 * tabular.C (SetWidthOfCell): fixed special case where the width
11618 (LeftLine): handle '|' in align_special.
11620 (LeftAlreadyDrawed): ditto
11621 (SetWidthOfCell): ditto
11623 2001-08-07 Juergen Vigna <jug@sad.it>
11625 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11627 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11629 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11630 * lyxlex.[hC]: ditto
11632 2001-08-06 Juergen Vigna <jug@sad.it>
11634 * text.C (getVisibleRow): fix up row clearing a bit.
11636 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11638 * minibuffer.C: make sure the X server sees the changes in the input.
11640 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11642 * paragraph.C (getFont): split into...
11643 (getLabelFont): this
11644 (getLayoutFont): and this
11645 * paragraph_pimpl.C (realizeFont): calling this
11647 * text2.C (getFont): split into...
11648 (getLayoutFont): this
11649 (getLabelFont): and this
11650 (realizeFont): all three calling this
11652 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11655 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11657 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11659 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11661 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11662 layouts from the Quote inset insertion.
11664 2001-08-03 Juergen Vigna <jug@sad.it>
11666 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11668 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11669 only if status not is already CHANGED_IN_DRAW (second level).
11671 * text.C (draw): don't set the need_break_row when inside an
11674 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11676 * buffer.C (parseSingleLyXformat2Token): handle more latex
11679 * bufferview_funcs.[hC]: change function names to
11680 begin with small char, adjust other files.
11682 2001-08-02 André Pönitz <poenitz@gmx.net>
11685 BufferView_pimpl.C: remove broken special code for math-greek
11687 2001-08-02 Juergen Vigna <jug@sad.it>
11689 * BufferView_pimpl.C (update): redone this function so that we
11690 update the text again if there was a CHANGE_IN_DRAW.
11692 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11693 (drawFromTo): added a new internal bool which is used by draw() and
11695 (general): some cursor drawing problems fixed.
11697 2001-08-01 Juergen Vigna <jug@sad.it>
11699 * lyxfind.C (LyXFind): fixed
11700 (SearchForward): ditto
11701 (SearchBackward): ditto
11703 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11704 spurius drawing of the cursor in the main area.
11706 * text2.C (status): small fix which could lead to a segfault!
11707 (clearSelection): remove unneeded BufferView param.
11709 2001-08-01 André Pönitz <poenitz@gmx.net>
11711 * lyxfunc.C: small change due to changed mathed interface
11713 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11715 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11717 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11719 * lyxfunc.c: fail gracefully if file doesn't exist
11724 * BufferView_pimpl.C: IsDirWriteable() proto changed
11726 * LyXView.C: fix updateWindowTitle() to store the last title
11728 2001-07-31 Juergen Vigna <jug@sad.it>
11730 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11731 the font (wrong since using of Paragraph::highestFontInRange).
11733 * paragraph.C (highestFontInRange): added a default_size parameter.
11735 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11736 (setHeightOfRow): reformat
11738 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11740 * converter.[hC] + affected files: move to (inital-char)lowercase
11743 * ParagraphParameters.C (ParagraphParameters): remove commented code
11745 * PainterBase.[Ch]: remove commented code
11747 * LaTeXFeatures.h: add "bool floats" for float.sty
11749 * LaTeXFeatures.C (LaTeXFeatures): init floats
11750 (require): handle float
11751 (getPackages): do it with floats
11753 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11755 * BufferView_pimpl.C (Dispatch): improve handling of
11756 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11758 * commandtags.h: #include lyxfont.h here temporarily to avoid
11761 * bufferlist.h: include LString.h here.
11763 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11765 * text2.C (getStringToIndex): new method.
11767 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11769 * *: Reduced header file dependencies all over.
11771 2001-07-30 Baruch Even <baruch@lyx.org>
11773 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11775 2001-07-29 Baruch Even <baruch@lyx.org>
11777 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11779 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11781 * ParameterStruct.h (endif): add a default constructor to make
11782 sure that all variables is initialized.
11784 * ParagraphParameters.C (ParagraphParameters): adjust
11786 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11788 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11789 index; also, check that there is something to index, and that it
11790 does not span over several paragraphs.
11791 (doubleClick): use WHOLE_WORD_STRICT for double click.
11793 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11795 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11798 2001-07-26 Baruch Even <baruch@lyx.org>
11800 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11801 an InsetFig figure, backwards compatible reading of old figure code.
11803 2001-07-27 Juergen Vigna <jug@sad.it>
11805 * text2.C: font.realize function adaption.
11807 * text.C (draw): add a warnings lyxerr text if needed.
11809 * layout.C: font.realize function adaption.
11811 * language.C: add inherit_language and implement it's handlings
11813 * bufferview_funcs.C (StyleReset): remove language parameter from
11814 font creation (should be language_inherit now).
11816 * bufferparams.C (writeFile): handle ignore_language.
11818 * paragraph.C (getFontSettings): the language has to be resolved
11819 otherwise we have problems in LyXFont!
11821 * lyxfont.C (lyxWriteChanges): added document_language parameter
11822 (update): removed unneeded language parameter
11824 * paragraph.C (validate): fixed wrong output of color-package when
11825 using interface colors for certain fonts in certain environments,
11826 which should not seen as that on the final output.
11828 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11830 * BufferView_pimpl.C:
11835 * LyXAction.C: add thesaurus support
11838 * lyxfind.C: add "once" parameter, for thesaurus, to not
11839 move to the next match
11841 2001-07-26 Juergen Vigna <jug@sad.it>
11843 * lyxfont.C (realize): honor ignore_language too!
11846 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11848 * text.C (draw): one place more for ignore_language to not draw
11851 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11853 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11855 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11857 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11858 the minipage conversion problem.
11860 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11862 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11865 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11867 * BufferView.h: don't forward declare WorkArea
11869 * BufferView.C: don't include WorkArea.h
11871 2001-07-25 André Pönitz <poenitz@gmx.net>
11875 * lyxfunc.C: new LFUN 'math-space'
11877 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11879 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11881 * text2.C (toggleInset): call open/close
11883 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11885 * lyxfunc.C (dispatch): add debug for the disabled case
11887 * font.C (buttonText): make similar to rectText
11889 * buffer.C (readInset): comment out parsing of insetlist and
11892 * PainterBase.C (rectText): small correction
11894 * BufferView_pimpl.C: comment out insettheorem and insetlist
11895 * LyXAction.C: ditto
11896 * commandtags.h: ditto
11898 2001-07-24 Juergen Vigna <jug@sad.it>
11900 * text.C (draw): honor the ignore_language.
11902 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11904 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11906 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11909 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11911 * lyxtext.h: remove unused (and unimplemented) methods
11913 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11915 * text.C (getVisibleRow): honor background color
11918 * Painter.h: remove default color argument for fillRectangle
11920 * text.C (backgroundColor): new method
11922 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11924 * text.C (getVisibleRow): adjust
11926 * font.[Ch] (rectText): new method, metrics
11927 (buttonText): new method, metrics
11929 * PainterBase.[hC]: make rectText and buttonText always draw and take
11932 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11934 * ToolbarDefaults.C (read):
11935 * MenuBackend.C (read): allow escaping in all strings
11937 * BufferView_pimpl.C (insertAndEditInset): new method.
11938 (Dispatch): use insertAndEditInset whenever appropriate.
11940 * BufferView_pimpl.C (insertNote): removed
11942 * BufferView_pimpl.C (smartQuote): new method, moved from
11943 BufferView; if an insetquote cannot be inserted, insert a '"'
11946 * BufferView2.C: remove insertCorrectQuote();
11948 * lyxfunc.C (getStatus): Add support for all remaingin
11949 inset-insert lfuns.
11951 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11953 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11954 command (necessary to pass " as parameter of self-insert.
11956 * text.C (selectWordWhenUnderCursor):
11957 (selectWord): add word_location parameter
11958 (selectWordWhenUnderCursor): same + remove special code for word
11960 (selectNextWord): use kind() to guess type of insetspecialchar,
11963 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11964 (insertErtContents): create ert insets as collapsed.
11965 (readInset): better compatibility code for Info inset.
11967 2001-07-20 Juergen Vigna <jug@sad.it>
11969 * lyxfunc.C (dispatch): use always LyXFind now!
11971 * text2.C (init): add a reinit flag so that the LyXText can be
11972 reinited instead of deleted and reallocated (used in InsetText).
11974 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11980 2001-07-18 Juergen Vigna <jug@sad.it>
11982 * text.C (selectNextWord): handle insets inside inset by calling
11983 always the bv->text functions so that we can go up the_locking_inset!
11985 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11986 in strange locations when inside an inset!
11988 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11989 handling to include insets.
11991 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11993 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11995 * LyXAction.C (init):
11997 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11998 LIGATURE_BREAK, since the name is so stupid.
12000 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12002 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12005 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12007 * sp_form.[Ch]: remove.
12009 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12011 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12014 * src/buffer.C (readInset): ditto.
12016 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12018 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12019 menuSeparator(), endOfSentenceDot(), ldots() and
12020 hyphenationPoint(), which are therefore removed.
12021 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12023 * LyXAction.C (init):
12024 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12026 * paragraph.C (getWord): removed.
12028 * BufferView_pimpl.C (Dispatch): use last word or selection for
12029 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12031 * lyx_main.C (queryUserLyXDir): do not ask before creating
12032 user_dir, except if it has been named explicitely.
12034 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12036 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12037 a document of zero size.
12039 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12041 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12042 approriately in the c-tor and in require().
12043 (getPackages): output the appropriate LaTeX for natbib support.
12045 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12046 variables "use_natbib" and "use_numerical_citations" when reading the
12048 (readInset): read the various natbib cite commands.
12049 (validate): white-space change.
12051 * bufferparams.[Ch]: new variables "bool use_natbib" and
12052 "bool use_numerical_citations".
12053 (writeFile): output them in the LyX file.
12055 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12057 * lyxfunc.C (getStatus): add support for all the inset insertion
12060 * text2.C (insertInset):
12061 * paragraph.C (insetAllowed):
12062 * BufferView_pimpl.C (insertInset): update to take in account the
12063 renaming of insertInsetAllowed
12065 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12067 * text2.C (getInset): new method. returns inset at cursor position.
12069 * BufferView_pimpl.C (Dispatch): changes because of this.
12071 * LyXAction.C (init): rename open-stuff to inset-toggle.
12073 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12075 * text2.C (toggleInset): renamed from openStuff; use
12078 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12080 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12082 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12084 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12086 * buffer.C (readLyXformat2): Add filename to the error dialog
12088 2001-07-18 Juergen Vigna <jug@sad.it>
12090 * tabular.C (GetCellNumber): put an assert here instead of the check!
12092 2001-07-17 Juergen Vigna <jug@sad.it>
12094 * BufferView_pimpl.C (toggleSelection): adapted too.
12096 * text.C (selectNextWord): adapted for use with insets.
12097 (selectSelectedWord): ditto
12099 2001-07-17 Juergen Vigna <jug@sad.it>
12101 * sp_spell.C (PSpell): fix initialitation order.
12103 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12105 * paragraph.C: spacing
12107 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12109 * sp_spell.C: repair language selection for pspell
12111 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12113 * lyxfunc.h: change more methods to begin with lower char.
12115 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12117 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12118 for unknown layouts.
12120 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12122 * buffer.C (readLyXformat2): Generate an error dialog if there are
12125 2001-07-16 Juergen Vigna <jug@sad.it>
12127 * sp_spell.C: always compile ISpell part.
12129 * lyxrc.C: added use_pspell entry and it's handling.
12131 2001-07-13 Juergen Vigna <jug@sad.it>
12133 * sp_spell.C: removed double includes.
12135 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12137 Consistent use of Lsstream.h:
12138 * Lsstream.h: added using std::stringstream for consistencies sake.
12140 * buffer.C: removed using std::stringstream
12142 * lyxfont.C (stateText):
12143 * paragraph.C (asString):
12144 * text.C (selectNextWord, selectSelectedWord):
12145 * text2.C (setCounter):
12146 * vspace.C (asString, asLatexString):
12147 std::ostringstream -> ostringstream.
12149 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12151 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12152 * commandtags.h: add LFUN_HELP_ABOUTLYX
12153 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12155 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12157 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12159 * lyx_gui_misc.C: remove spellchecker
12160 * lyxfunc.C: showSpellchecker
12162 * sp_ispell.h: added
12163 * sp_pspell.h: added
12164 * sp_spell.C: added
12165 * sp_form.[Ch]: removed
12166 * spellchecker.[Ch]: removed
12168 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12170 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12172 (simpleTeXSpecialChars): Simply print the input character without
12173 any special translation if pass_thru is set.
12175 * layout.h: Added bool pass_thru to layout class for being able to
12176 implement pass through of a paragraph for Literate Programming.
12178 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12179 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12180 * layout.C (Read): add "passthru" to list of layout tags and add
12181 code to set the pass_thru boolean when it is read.
12183 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12185 * trans_decl.h: remove allowed from KmodInfo
12187 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12188 remove allowed code
12191 * paragraph_pimpl.C (erase): use boost::prior
12193 * Painter.C (text): use data() instead of c_str() when length is
12195 * WorkArea.C (putClipboard): ditto
12196 * font.h (width): ditto
12198 * BufferView2.C: use it-> instead of (*it). for iterators
12200 * paragraph_pimpl.C: ditto
12201 * paragraph.C: ditto
12202 * minibuffer.C: ditto
12203 * language.C: ditto
12205 * encoding.C: ditto
12206 * counters.C: ditto
12207 * converter.C: ditto
12209 * Variables.C: ditto
12210 * TextCache.C: ditto
12211 * MenuBackend.C: ditto
12212 * LyXAction.C: ditto
12214 * FloatList.C: ditto
12215 * DepTable.C: ditto
12216 * ColorHandler.C (LyXColorHandler): ditto
12218 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12220 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12222 * text2.C (openStuff): reintroduce this method (which had been
12223 nuked in NEW_INSETS frenzy).
12225 * lyxfunc.C (Dispatch): when an action has not been handled, use
12226 its name in the error message, not its number.
12228 * paragraph.C (inInset): change method name to begin with lowercase.
12231 * text2.C: updates because of this.
12233 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12235 * ToolbarDefaults.C (add): add spaces in error message
12237 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12239 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12240 (readLyXformat2): rename return_par to first_par, use lyxlex's
12241 pushToken and remove the manual push handling.
12242 (parseSingleLyXformat2Token): add another ert comp. variable:
12243 in_tabular, rename return_par to first_par. handle newlines better
12245 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12247 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12249 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12251 * text2.C (getParFromID): removed
12253 * buffer.C (getParFromID): new method moved form lyxtext.
12254 * BufferView2.C (insertErrors): adjust
12255 (setCursorFromRow): adjust
12256 * BufferView_pimpl.C (restorePosition): adjust
12257 * lyxfunc.C (Dispatch): adjust
12258 * undo_funcs.C (textUndo): adjust
12260 (textHandleUndo): adjust
12261 (textHandleUndo): adjust
12263 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12265 * buffer.C: up' the LYX_FORMAT
12267 * lyxfont.h: turn NO_LATEX on as default
12269 * buffer.C (insertErtContents): new methods of tex style compability.
12270 (parseSingleLyXformat2Token): use it several places.
12271 * tabular.C (OldFormatRead): and here
12273 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12275 * text2.C: remove some commented code.
12278 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12279 * trans.C: changes because of the above.
12281 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12283 * text2.C (setCounter): Fix counters bug with bibliography layout.
12285 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12287 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12288 own member functions
12289 (simpleTeXSpecialChars): ditto
12291 2001-07-06 Juergen Vigna <jug@sad.it>
12293 * a lot of files: changed the access to LyXText::status and the
12294 call of undo-functions.
12296 * undo.[Ch]: added a inset_id to the undo informations.
12298 * undo_funcs.[Ch]: added and moved here all undo functions.
12300 * lyxtext.h: give the status enum a weight, made status_ a private
12301 variable and made accessor functions for it, removed the whole bunch
12302 of undo-functions as they are now in their own file, make some
12303 functions publically available. Added function ownerParagraph with
12306 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12307 made InInset() a const function, added getParFromID() function.
12309 * buffer.[Ch]: added const version for inset_iterator functions,
12310 added getInsetFromID() function.
12312 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12313 changed undo functions for new version.
12315 2001-07-05 Juergen Vigna <jug@sad.it>
12317 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12318 unknow mechanism does not call the proper constructor but only this
12319 one also if I request the other!?
12321 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12323 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12325 * text2.C (LyXText): use initialization lists.
12327 * lyxtext.h (Selection): initialize set_ and mark_
12328 (init): remove method
12330 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12332 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12334 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12336 * screen.[Ch]: change method names to begin with lowercase
12338 * BufferView_pimpl.C (updateScrollbar): simplify further and
12339 hopefully make it a bit faster.
12341 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12343 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12344 calling directly xforms functions.
12346 * Painter.C (Painter):
12347 * lyx_cb.C (MenuWrite):
12348 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12351 * lyx_gui.C: remove bogus guiruntime extern declaration.
12353 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12355 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12357 (redoDrawingOfParagraph): ditto
12358 (redoParagraphs): ditto
12359 (cutSelection): don't create a object for CutAndPaste use the
12360 static method directly
12361 (pasteSelection): ditto
12363 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12366 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12368 * modifications to some other files because of this.
12370 * Makefile.am (lyx_SOURCES): add XFormsView
12372 * XFormsView.[Ch]: new files
12374 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12375 the main window. Move the gui dependent stuff to XFormsView
12377 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12379 * tabular.C (GetCellInset): update cur_cell also in the row/col
12380 version of this function.
12382 * lyxfunc.C: no need to include figure_form.h here.
12388 * lyxvc.C: no need to include forms.h here.
12390 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12392 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12394 * lyxfunc.C (Dispatch):
12396 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12397 constructor argument.
12399 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12401 * paragraph.C (Paragraph): dont't clear, and just set layout.
12402 (makeSameLayout): use params's copy contructor.
12404 * ParagraphParameters.[Ch] (makeSame): delete method
12406 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12408 * Variables.[Ch]: fix indentation, rename set to isSet
12410 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12412 * lyxfunc.C (Dispatch): fix typo
12414 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12416 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12419 * bufferlist.C: include assert.h for emergencyWrite().
12421 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12423 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12424 give up at last (bug #425202) !
12426 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12432 * spellchecker.C: strip spellchecker options and bring up
12433 preferences tab instead
12435 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12437 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12438 the istringstream constructor
12440 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12442 * paragraph.C (getLayout): fix return value
12444 * paragraph.h: do not declare getLayout as inline.
12446 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12448 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12450 * lyxcursor.h (operator<): new func
12451 (operator>): new func
12452 (operator>=): new func
12453 (operator<=): new func
12455 * text.C (changeCase): use selection.start and selection.end
12456 (changeRegionCase): require from to be <= to. Require par to be a
12459 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12461 2001-06-27 Juergen Vigna <jug@sad.it>
12463 * text.C (cursorLeftOneWord): changed to return the cursor and added
12464 overlay with BufferView * parameter which calls this one.
12466 (selectWord): use new getWord function.
12467 (changeCase): renamed from changeWordCase as and extended to work
12468 also on selections.
12470 * lyxtext.h: added enum word_location
12472 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12473 changeCase as this operates now also on selections.
12475 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12477 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12479 * many files: send debug output to Debug::INFO instead of
12482 * converter.C (View):
12484 (Move): send debug output to Debug::FILES instead of console.
12486 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12488 * lyxfunc.C (getStatus): use func_status
12490 * func_status.h: new header, describing the results of
12491 LyXFunc::getStatus;
12493 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12496 2001-06-25 The LyX Project <jug@sad.it>
12498 * buffer.C (sgmlOpenTag):
12500 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12502 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12504 * text2.C: remove some dead code
12506 * tabular.C (GetCellInset): store the last cell checked (gotten)
12508 * tabular.h: add the helper for the speedup
12510 * lyxtext.h: remove some dead code
12512 2001-06-26 The LyX Project <Asger>
12514 * paragraph.C: Change export to LaTeX of alignment to
12515 \begin{center} and family for better roundtrip work with reLyX.
12517 * Tune the math drawing a bit.
12519 2001-06-25 The LyX Project <Asger>
12521 * LColor.C (LColor): New color for math background. New color
12524 2001-06-25 The LyX Project <jug@sad.it>
12526 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12528 * lyxfunc.C (Open):
12529 * bufferlist.C (newFile): do not restrict to files ending with
12532 * BufferView_pimpl.C (MenuInsertLyXFile):
12534 2001-06-24 The LyX Project <jug@sad.it>
12536 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12539 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12541 * lyxtext.h: rename most methods to begin with a small char.
12542 Lots of changes because of this.
12544 * paragraph.C (Paragraph): do not call fitToSize
12545 (erase): call Pimpl::erase
12546 (insertChar): call Pimpl::insertChar
12547 (insertInset): call Pipl::insertInset
12548 (breakParagraph): do not call fitToSize
12549 (breakParagraphConservative): do not call fitToSize
12550 (fitToSize): remove method
12552 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12554 2001-06-24 The LyX Project <Asger>
12556 * Fix Qt compilation^2
12558 2001-06-24 The LyX Project <jug@sad.it>
12560 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12561 depthHook(getDepth()-1).
12564 * ParagraphParameters.h:
12565 * ParameterStruct.h: change type of depth to unsigned int ==
12566 depth_type. Many adaptations to other files before of that.
12568 2001-06-24 The LyX Project <Asger>
12570 * Fix Qt compilation.
12572 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12574 * paragraph.h: renamed several methods to begin with small letter.
12575 several changes to many parts of the code because of this.
12577 2001-06-23 The LyX Project <jug@sad.it>
12579 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12580 rewritten to discard all double spaces when KeepEmpty is off
12581 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12582 to only handle newlines but not fiddle with spaces and friends.
12584 * lyxfunc.C (MenuNew): when doing 'new from template', use
12585 template_path as default directory
12587 2001-06-23 The LyX Project <Asger>
12589 * Clean-up of header file includes all over
12590 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12592 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12594 * paragraph.h: renamed from lyxparagraph.h
12596 2001-06-23 Asger <lyx@violet.home.sad.it>
12598 * Buffer.h: Removed Buffer::resize
12599 * BufferList.h: Removed BufferList::resize
12600 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12601 the document lazily when we change the width, or the font settings.
12603 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12605 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12607 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12609 * buffer.h: remove out of date comment
12611 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12614 * screen.C: fix "theoretical" GC leak
12616 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12618 * LaTeX.C (scanAuxFile):
12619 (deplog): remove trailing \r when reading stream (useful under
12622 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12624 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12625 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12626 and BufferView::theLockingInset(Inset*), so should use them and not
12627 access bv_->text->the_locking_inset directly.
12629 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12631 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12634 * tex-defs.h: remove old unused file
12636 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12638 * BufferView_pimpl.C: fix typo, remove minibuffer message
12639 when buffer has loaded
12641 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12643 * lyxfunc.C (Dispatch): use stringstream
12644 (MenuNew): use stringstream
12645 (Open): use stringstream
12647 * importer.C (Import): use stringstream
12649 * bufferview_funcs.C (CurrentState): use stringstream
12651 * LaTeX.C (run): use stringstream
12653 * BufferView_pimpl.C (savePosition): use stringstream
12654 (restorePosition): use stringstream
12655 (MenuInsertLyXFile): use stringstream
12657 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12670 * vspace.C: removed // -*- C++ -*- as first line.
12673 * version.h: added // -*- C++ -*- as first line.
12675 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12677 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12679 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12682 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12684 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12687 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12689 * gettext.C: include LString.h even when --disable-nls is on.
12691 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12693 * converter.h (Get): changed argument type from int to
12694 FormatList::size_type to avoid unnecessary conversion.
12696 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12699 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12701 * gettext.h: include LString.h even when --disable-nls is on.
12703 2001-06-07 Juergen Vigna <jug@sad.it>
12705 * text.C (BreakAgain): subst spaces with tabs.
12707 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12708 (resizeInsetsLyXText): set force on resizeLyXText.
12710 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12712 * gettext.h (gettext_init):
12713 (locale_init): use a real definition instead of a macro
12715 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12717 * Bufferview_pimpl.C:
12719 * LColor.C: further lcolor tidies
12721 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12723 * BufferView_pimpl.C (updateScrollbar): simplify.
12725 * BufferView2.C: don't include insets/insetinfo.h, change
12726 prototype for insertInset and call the Pimpl version. let
12727 updateInset call Pimpl version.
12729 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12730 gotoInset to BufferView::Pimpl
12732 2001-06-01 Juergen Vigna <jug@sad.it>
12734 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12735 inside a LockingInset (is the update needed at all?).
12737 2001-05-31 Juergen Vigna <jug@sad.it>
12739 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12740 here not the old one otherwise how should we compare it afterwards
12743 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12748 * FontInfo.C: bring C functions into global namespace when
12751 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12753 * LString.h: make sure config.h has been loaded before LString.h.
12755 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12756 (one for each char read by EatLine!).
12758 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12761 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12763 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12764 to the same as the par we break from
12766 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12768 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12770 * MenuBackend.C (expand): also create menu entries for wide
12771 versions of the floats.
12773 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12775 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12777 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12778 frontends/Makefile.am
12784 * tabular.C (getTokenValue): add std::
12786 * tabular-old.C (getTokenValue): add std::
12787 (getTokenValue): ditto
12788 (getTokenValue): ditto
12790 * screen.C (ToggleSelection): adjust
12792 * lyxtext.h: put selection cursors inside a Selection struct.
12794 * lyxfunc.C (moveCursorUpdate): adjust
12796 * lyxfont.C (latexWriteStartChanges): add std::
12798 * lyxfind.C: adjust
12800 * font.h: delete with(char const *, LyXFont const &)
12802 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12804 * FontInfo.C (getFontname): add std::
12806 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12807 (workAreaButtonPress): adjust
12808 (tripleClick): adjust
12810 (moveCursorUpdate): adjust
12813 * BufferView2.C (gotoInset): adjust
12815 2001-05-30 Juergen Vigna <jug@sad.it>
12817 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12818 to check pspell I add this as default as I now have new pspell
12819 libraries and they seem to use this.
12821 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12823 * text2.C (CutSelection): make the cursor valid before the call to
12826 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12828 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12829 relied on 0 terminated strings and other horrors. Bug found due to
12830 the new assert in lyxstring!
12832 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12835 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12837 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12840 * lyxfunc.C (processKeySym): change method of getting to the
12843 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12844 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12845 * BufferView_pimpl.[Ch]: here as private methods.
12847 2001-05-28 Juergen Vigna <jug@sad.it>
12849 * text.C (SetHeightOfRow): added the update() call again as it is
12850 needed to initialize inset dimensions!
12852 2001-05-16 Juergen Vigna <jug@sad.it>
12854 * text2.C (SetCharFont): Add new function with BufferView * and
12855 bool toggleall parameters for setting insets internal fonts.
12856 (SetFont): Freeze the undo as we may change fonts in Insets and
12857 all this change should be inside only one Undo!
12859 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12860 setting font's in insets as for them we have the SetFont function!
12862 2001-05-15 Juergen Vigna <jug@sad.it>
12864 * text2.C (ClearSelection): to be sure we REALLY don't have any
12867 * tabular.C (TeXCellPreamble): fixed the left border problem for
12870 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12872 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12875 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12877 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12878 LFUN_BREAKPARAGRAPH.
12880 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12881 help test to "internal only", similar for LFUN_INSERT_URL
12883 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12884 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12885 auto_region_delete and deadkeys.
12887 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12890 * LColor.C: remove some dead entries, tidy a little
12892 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12894 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12896 (Dispatch): implement LFUN_ESCAPE
12898 * commandtags.h: add LFUN_ESCAPE
12900 * LyXAction.C (init): add entry for LFUN_ESCAPE
12902 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12903 Remove commented code.
12904 (insertNote): moved here
12905 (open_new_inset): moved here
12907 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12910 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12912 * kbmap.C (findbinding): clean it up and make it work correctly.
12914 * lyx_main.C (init): do not pass argc and argv as parameters
12916 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12918 * buffer.C: fix path for OS/2 & Win32
12922 * lyx_main.C: Added os:: class.
12924 * os2_defines.h: update
12926 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12928 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12929 better by trying again with reduced state.
12931 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12933 * lyxrc.C (read): print error about invalid key sequence only when
12934 debugging (because not all latinX keysyms are known to some X
12937 * kbsequence.C (getiso): add a few std:: qualifiers
12938 (getiso): comment out extra return statement.
12940 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12942 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12944 (Dispatch): enhance the accent inset a bit. (not perfect)
12946 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12948 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12950 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12952 * bufferlist.C (emergencyWrite): fix assert() call
12954 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12956 * text.C (InsertChar): Added trivial patch to only send the "you
12957 can not do multiple spaces this way" message once during a
12960 2001-05-08 Baruch Even <baruch@lyx.org>
12962 * Makefile.am: Changed order of libraries to get LyX to link properly
12963 with the gnome frontend.
12965 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12967 * LaTeXFeatures.h: add a std:: qualifier
12969 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12971 * paragraph.C (String): use stringstream
12973 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12975 * paragraph.C (writeFile): remove footflag arg
12977 * buffer.C (makeLaTeXFile): use stringstream
12978 (latexParagraphs): remove footnot gurba
12980 * LaTeXFeatures.C (getPackages): use stringstream
12981 (getMacros): likewise
12982 (getTClassPreamble): likewise
12983 (getFloatDefinitions): new method
12985 * paragraph.C (writeFile): reindent
12988 * WorkArea.h: revert the xpos + etc changes.
12990 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12992 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12994 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12995 (pasteSelection): likewise
12996 * text2.C (CreateUndo): likewise
12998 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13000 * minibuffer.C (peek_event): temporarily reduce the functionality
13001 of the minibuffer (to allow args on lfuns)
13003 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13004 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13006 * buffer.C (readInset): add compability reading of old float
13007 lists, add reading of new style float list.
13008 (readInset): avoid reevaluation of inscmd.getCmdName()
13009 (getLists): reindent
13011 * MenuBackend.C (MenuItem): implement parsing of
13012 md_floatlistinsert and md_floatinsert.
13013 (expand::LastFiles): move initalizaton of iterators out of loop,
13014 avoid reevaluation.
13015 (expand::Documents): introduce typdedef vector<string> Strings,
13017 (expand::ExportFormats): introduce typedef vector<Format const *>
13018 Formats, and use it.
13019 (expand): implement FloatListInsert and FloatInsert.
13021 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13022 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13023 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13025 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13027 (Dispatch::LFUN_FLOAT_LIST): implement
13029 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13031 * LaTeX.C (run): Fix problem with --export code.
13033 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13035 * BufferView.[Ch] (workarea): removed.
13036 (getClipboard) new method; wrapper for workarea()->getClipboard()
13038 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13041 * WorkArea.h (width, height, xpos, ypos): These methods all
13042 returned the dimensions of the work_area sub-area of WorkArea,
13043 resulting in a position error if the WorkArea were resized. Now
13044 return the dimensions of the entire WorkArea.
13046 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13048 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13050 * LaTeX.C (deplog): correct the syntax of regex reg1
13052 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13054 * undo.C: remove !NEW_INSETS cruft
13056 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13058 * text2.C: remove !NEW_INSETS cruft
13060 * text.C: remove !NEW_INSETS cruft
13062 * tabular.C: remove !NEW_INSETS cruft
13064 * spellchecker.C: remove !NEW_INSETS cruft
13066 * lyxtext.h: remove !NEW_INSETS cruft
13068 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13070 * lyxfunc.C: remove !NEW_INSETS cruft
13072 * lyxfind.C: remove !NEW_INSETS cruft
13074 * lyx_cb.C: remove !NEW_INSETS cruft
13076 * figureForm.C: remove !NEW_INSETS cruft
13078 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13080 * buffer.[Ch]: remove !NEW_INSETS cruft
13082 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13084 * CutAndPaste.C: remove !NEW_INSETS cruft
13086 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13088 * BufferView2.C: remove !NEW_INSETS cruft
13090 * BufferView.h: remove !NEW_INSETS cruft
13092 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13094 * Lsstream.h: include LString.h before the sstream headers to
13095 fix problem with gcc 2.95.3 and lyxstring
13097 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13099 * lyx_main.C: add using directives when needed for C functions
13100 declared in std:: namespace.
13102 2001-04-27 Juergen Vigna <jug@sad.it>
13104 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13105 (SetHeightOfRow): comment out the update call should not be needed!
13107 2001-04-13 Juergen Vigna <jug@sad.it>
13109 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13110 (LyXTabular): tried to minimize operator= operations (and realized
13111 hopfully Lars wish).
13113 2001-04-27 Juergen Vigna <jug@sad.it>
13115 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13117 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13119 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13121 * buffer.C (readInset): hack to make listof algorithm work
13123 * BufferView_pimpl.C: hack to make listof algorithm work
13125 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13127 * LyXAction.C: removed all !NEW_INSETS cruft
13128 (init): moved lfun_item in method
13130 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13132 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13134 * BufferView2.C (theLockingInset): white space.
13136 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13138 * minibuffer.C: include <iostream>
13140 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13142 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13144 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13146 * text.[Ch] (TransposeChars): new method
13148 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13150 * call message directly through LyXView instead of through LyXFunc
13151 * BufferView2.C: adjust
13152 * BufferView_pimpl.C: adjust
13153 * FontLoader.C: adjust
13155 * bufferview_funcs.C: adjust
13156 * converter.C: adjust
13157 * figureForm.C: adjust
13158 * importer.C: adjust
13160 * lyx_gui_misc.C: adjust
13161 * lyxfunc.C: adjust
13164 + more files in subdirs
13166 * lyxparagraph.h (size): move up int file
13169 * adjust all uses of Assert to lyx::Assert.
13171 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13172 lyxfunctional in namespace lyx
13173 * layout.C (hasLayout): ditto
13176 (delete_layout): ditto
13177 (NumberOfClass): ditto
13178 * converter.C (GetFormat): ditto
13183 * bufferlist.C (getFileNames): ditto
13184 (emergencyWriteAll): ditto
13187 * MenuBackend.C (hasSubmenu): ditto
13190 * BufferView_pimpl.C (getInsetByCode): ditto
13192 2001-04-18 Juergen Vigna <jug@sad.it>
13194 * vspace.C (asLatexString): fixed the 100% problem.
13196 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13198 * lyxfunc.C (Dispatch):
13200 * minibuffer.h: add a few std:: qualifiers
13202 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13204 * minibuffer.[Ch]: reimplement so that commands is initiated and
13205 run from lyxfunc, simplified som handling, and made the completion
13206 and history code for complete. wip.
13208 * lyxfunc.C (processKeySym): call message
13209 (miniDispatch): new temporary method
13210 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13211 (LFUN_MESSAGE): implement
13212 (LFUN_MESSAGE_PUSH): implement
13213 (LFUN_MESSAGE_POP): implement
13214 (initMiniBuffer): the initial/defualt minibuffer message.
13216 * lyxfont.[Ch]: inline some more getters
13218 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13220 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13222 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13223 (AutoSave): use LFUN_MESSAGE
13224 (Reconfigure): ditto
13226 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13228 * figureForm.C: use LFUN_MESSAGE
13230 * converter.C (runLaTeX): use LFUN_MESSAGE
13232 * bufferview_funcs.C: use LFUN_MESSAGE
13234 (changeDepth): ditto
13236 * bufferparams.h: use boost::
13238 * bufferlist.h: inherit privately from noncopyable
13240 * bufferlist.C (loadLyXFile): remove some commented code.
13242 * buffer.C (runChktex): use LFUN_MESSAGE
13244 * ShareContainer.h: inherit privately from noncopyable
13246 * ParagraphParameters.[hC] (depth): inline it.
13248 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13250 (message): new method
13251 (messagePush): ditto
13252 (messagePop): ditto
13253 (show): init minibuffer
13254 (showState): direct call
13256 * LaTeX.[Ch]: inherit privately from noncopyable
13257 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13258 instead of WriteStatus.
13260 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13262 * BufferView_pimpl.C (buffer): don't init minibuffer
13263 (workAreaButtonPress): use LFUN_MESSAGE
13264 (workAreaButtonRelease): ditto
13265 (savePosition): ditto
13266 (restorePosition): ditto
13267 (MenuInsertLyXFile): ditto
13268 (workAreaExpose): don't init minibuffer
13269 (update): remove commented code, simplify
13271 * BufferView2.C (openStuff): use LFUN_MESSAGE
13272 (toggleFloat): ditto
13275 (copyEnvironment): ditto
13276 (pasteEnvironment): ditto
13281 (updateInset): remove some commented code
13283 * lastfiles.h: inherit privately from noncopyable
13286 * lyx_main.h: ditto
13288 * lyxlex_pimpl.h: ditto
13290 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13291 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13292 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13294 * LyXAction.h: inherit privately from noncopyable, add methods
13295 func_begin, func_end, returning iterators to the func map.
13297 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13298 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13299 (func_begin): new method
13300 (func_end): new method
13302 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13304 (copySelection): ditto
13305 (pasteSelection): ditto
13307 * BufferView.C: whitespace change
13308 * BufferView.h: inherit privately from noncopyable
13310 2001-04-16 Allan Rae <rae@lyx.org>
13312 * tabular-old.C (l_getline):
13313 * spellchecker.C (sc_check_word):
13314 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13315 an unrecognised preprocessor directive. So ensure they're wrapped.
13317 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13319 * src/exporter.C (Export): Give an error message when path to file
13322 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13324 * LaTeX.C (deplog): Always check that foundfile exists.
13326 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13329 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13331 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13333 * tabular.[Ch] (getLabelList): implement new method
13335 * minibuffer.h: comment ouf setTiimer
13337 * minibuffer.C (ExecutingCB): constify res
13338 (peek_event): constify s
13339 (Set): constify ntext
13340 (Init): constify nicename
13342 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13344 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13345 (savePosition): use two params to Minibuffer::Set
13346 (restorePosition): ditto
13348 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13350 * lyx_main.C: include language.h
13352 * Makefile.am (lyx_main.o): add language.h
13354 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13360 * CutAndPaste.C: include gettext.h
13362 * lyxfont.h: remove old hack with ON and OFF.
13365 * lyxfont.h: do not include language.h...
13370 * bufferview_funcs.C:
13376 * paragraph.C: ... but do it here instead
13378 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13380 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13382 * tabular.C: small reformat
13384 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13387 (BreakParagraph): ditto
13388 (SetOnlyLayout): ditto
13391 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13394 * lastfiles.C: removed most using decl, add std:: where needed
13396 * buffer.C: ws changes
13398 * MenuBackend.C (class compare_format): put into anon namespace
13399 (expand): constify label, names, action, action2
13402 * text.C (SingleWidth): constify font
13403 (IsBoundary): constify rtl2
13404 (GetVisibleRow): constify ww
13406 * LaTeX.C (deplog): constify logfile
13408 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13410 (workAreaExpose): constify widthChange, heightChange
13412 * lyxrow.C (par): moved
13415 * lyxrow.h: as inlines here
13417 * lyxfont.h (shape): moved from lyxfont.C
13418 (emph): moved from lyxfont.C
13420 * lyxfont.C (LyXFont): use initialization list for all
13422 (shape): move to lyxfont.h as inline
13423 (emph): move to lyxfont.h as inline
13426 2001-04-04 Juergen Vigna <jug@sad.it>
13428 * vspace.C: had to include stdio.h for use of sscanf
13430 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13433 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13434 independent of xforms.
13436 2001-04-02 Juergen Vigna <jug@sad.it>
13438 * spellchecker.C: fixed namespace placing!
13440 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13442 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13443 the LyXParagraph * is 0.
13445 2001-03-29 Juergen Vigna <jug@sad.it>
13447 * vspace.C: added support for %, c%, p%, l%.
13448 (stringFromUnit): added helper function.
13449 (asLatexString): changed to give right results for the %-values.
13451 * buffer.C: convert the widthp in a width%.
13453 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13455 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13458 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13459 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13461 * lyx_cb.[Ch]: see above.
13463 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13467 * lyx.[Ch]: replaced by figure_form.[Ch].
13471 * lyxfunc.C: changed headers associated with above changes.
13473 2001-03-27 Juergen Vigna <jug@sad.it>
13475 * BufferView_pimpl.C: set the temporary cursor right!
13477 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13479 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13481 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13483 * LString.h: removed "using std::getline"!
13485 * BufferView_pimpl.C (Dispatch): changes due to changes in
13486 InsetInclude::Params.
13488 * buffer.C (tag_name): removed redundant break statements as they were
13489 producing lots of warnings with my compiler.
13491 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13493 * LString.h: add "using std::getline" when using the real <string>.
13495 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13497 * buffer.C: removed bitset usage.
13498 PAR_TAG moved to an anonymous name space.
13499 (tag_name): new funtion, also in the anonymous namespace.
13500 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13501 (makeDocBookFile): clean code. Completed transition from string arrays
13503 (SimpleDocBookOnePar): code clean.
13505 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13507 * tabular.C: add some comments.
13509 2001-03-22 Juergen Vigna <jug@sad.it>
13511 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13512 compatibility read a bit and fixed bug with minipage in different
13515 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13517 * buffer.C (pop_tag): removed.
13518 (push_tag): removed.
13519 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13520 array replaced with vector. Added support for CDATA sections.
13521 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13523 (makeDocBookFile): XML conformant declaration of CDATA section,
13524 fixed bug related to <emphasis> in the first paragraph char.
13525 (sgmlOpenTag): exclude empty tags.
13526 (sgmlCloseTag): ditto.
13528 * buffer.h (pop_tag): removed.
13529 (push_tag): removed.
13531 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13533 * language.h (Languages): added size_type and size().
13535 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13537 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13538 response on compability reading of minipages. One probliem is that
13539 the old usage of minipages was «flertydig»
13541 * several files here and in subdirs: don't use static at file
13542 scope use anon namespaces instead.
13544 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13546 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13547 LaTeX output. This is necessary for Literate document
13550 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13552 * buffer.C: insert hfill when needed.
13554 * tabular.C (l_getline): use string::erase, small whitespace change.
13556 * BufferView_pimpl.C: try the anon namespace.
13557 * WorkArea.C: ditto
13559 2001-03-16 Juergen Vigna <jug@sad.it>
13561 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13562 otherwise it won't open options-dialogs.
13564 * buffer.C: honor pextraWidth(p) on converting minipages.
13566 * tabular.C (l_getline): changed the functions to strip trailing \r.
13568 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13570 * BufferView_pimpl.C:
13571 * minibuffer..C: added "using SigC::slot" declaration.
13573 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13575 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13581 * paragraph.C: ditto
13583 * lyxtext.h: NO_PEXTRA
13585 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13587 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13588 * ParameterStruct.h: ditto
13589 * ParagraphParameters.h: ditto
13590 * lyxparagraph.h: ditto
13592 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13594 * buffer.C: add compability for minipage alignment.
13595 (latexParagraphs): remove unwanted pextra check.
13597 * several files: remove CXX_WORKING_NAMESPACES
13599 * buffer.C (pop_tag): tie is in namespace boost
13601 * BufferView.h: noncopyable is in namespace boost
13603 * lyx_main.h: ditto
13606 * lastfiles.h: ditto
13607 * bufferlist.h: ditto
13608 * ShareContainer.h: ditto
13610 * LyXAction.h: ditto
13613 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13615 * Merging changes from BRANCH_MVC back into HEAD.
13617 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13619 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13621 * BufferView_pimpl.C: change from intl.C
13625 * Makefile.am: move combox.*
13631 * intl.C: remove dialog (covered by prefs)
13633 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13635 * lyxfunc.C (Dispatch): removed redundant break statement.
13637 2001-03-14 Juergen Vigna <jug@sad.it>
13639 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13641 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13643 * buffer.C: add hack to fix compability reading of minipages.
13645 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13647 * buffer.C (getLists): Cleanup.
13649 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13651 * lyxfont.C (update): don't honor toggleall on font size.
13653 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13657 * Makefile.am: moved to frontends/xforms/
13661 * BufferView_pimpl.C: changes for moved mathpanel
13663 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13665 * gettext.h: fix gettext_init() in --disable-nls
13667 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13669 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13671 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13674 * lyx.h: strip external form
13676 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13678 * BufferView_pimpl.C: add comment, destroySplash()
13680 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13682 * BufferView_pimpl.C:
13686 * lyxfunc.C: use re-worked insetinclude
13688 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13690 * buffer.C: add using std::stringstream.
13692 * lyx_cb.C: readd using std::ios.
13694 * buffer.C: add using std::map.
13696 * BufferView_pimpl.C: add using std::vector.
13698 * ShareContainer.h: add std:: to swap.
13700 * buffer.h: add some typedefs
13701 * buffer.C (getLists): use them
13702 (getLists): renamed from getTocList.
13703 add a counter for the different float types and use it in the
13705 (getLists): use the same counter for the NEW_INSETS and the "non"
13708 * lyx_cb.h: remove unused items, includes, using etc.
13710 * ShareContainer.h: remove some commented code, add more comments
13711 and "documentation".
13713 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13715 * buffer.C (getTocList): make the list also when NEW_INSETS is
13718 * buffer.h: remove TocType
13720 * buffer.C (getTocList): change to return a map<string,
13721 vector<TocItem> >, implement for dynamic number of list.
13723 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13724 * text2.C (PasteSelection): adjust
13725 * CutAndPaste.C (pasteSelection): adjust
13727 * FloatList.C (FloatList): update from the new_insets branch.
13728 * Floating.[Ch]: ditto
13729 * LaTeXFeatures.C: ditto
13731 * lyxlex_pimpl.C: ditto
13733 * paragraph.C (Last): remove when NEW_INSETS is defined.
13735 * other file: changes because of the above.
13737 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13739 * lyxparagraph.h: rename next to next_, previous to previous_,
13740 make them private for NEW_INSETS. Rename Next() to next(),
13741 Previous() to previous().
13743 * other files: changes because of the above.
13745 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13748 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13751 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13753 * main.C (main): pass lyx_localedir to gettext_init().
13755 * gettext.h: remove locale_init and gettext_init macros
13757 * gettext.C (locale_init): new function
13758 (gettext_init): new function
13760 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13763 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13765 * Moved credits to frontends:
13766 * credits.[Ch]: removed
13767 * credits_form.[Ch]: removed
13768 * lyx_gui_misc.C: remove credits stuff
13771 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13773 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13775 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13776 unneeded destructor.
13778 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13779 a standalone pointer again.
13781 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13783 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13789 * ToolbarDefaults.C:
13798 * BufferView_pimpl.C: use new file dialog in GUII
13801 * lyx_cb.C: remove LayoutsCB to Toolbar
13803 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13805 * ShareContainer.h (get): add std:: qualifier
13807 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13809 * ShareContainer.h: define a proper ShareContainer::value_type
13810 type (and use typename to please compaq cxx)
13812 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13814 * lyxparagraph.h: move serveral local vars to
13815 ParameterStruct/ParagraphParameters., use ShareContainer in
13816 FontTable., make vars in FontTable private and add getter and
13819 * paragraph.C: changes because of the above.
13821 * lyxfont.h: remove copy constructor and copy assignment. (the
13822 default ones is ok), move number inside FontBits. move inlines to
13825 * lyxfont.C: add number to initializaton of statics, move several
13826 inlines here. constify several local vars. some whitespace
13827 cleanup. Dont hide outerscope variables.
13829 * Spacing.h: add two new constructors to match the set methods.
13831 * ShareContainer.h: new file, will perhaps be moved to support
13833 * ParameterStruct.h: new file
13835 * ParagraphParameters.h: new file
13837 * ParagraphParameters.C: new file
13839 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13840 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13842 * BufferView_pimpl.C: ParagraphParameter changes.
13843 * buffer.C: Likewise.
13844 * bufferview_funcs.C: Likewise.
13845 * text.C: Likewise.
13846 * text2.C: Likewise.
13848 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13850 * lyxfind.C (LyXReplace): do not redefine default argument in
13852 (IsStringInText): ditto
13853 (SearchForward): ditto
13854 (SearchBackward): ditto
13856 2001-03-06 Juergen Vigna <jug@sad.it>
13858 * lyxfind.C (IsStringInText): put parentes around expressions.
13860 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13862 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13864 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13866 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13868 * stl_string_fwd.h: add comment
13870 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13873 * tabular.C: remove unused DocBook methods
13879 killed DO_USE_DEFAULT_LANGUAGE
13881 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13883 * lyx_gui.C: do not include language.h.
13885 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13886 arguments in function implementation.
13888 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13890 * BufferView_pimpl.C: add <ctime>
13892 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13894 * BufferView_pimpl.C: add using std::find_if
13896 2001-02-27 José Matos <jamatos@fep.up.pt>
13898 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13901 2001-02-11 José Matos <jamatos@fep.up.pt>
13903 * buffer.C (makeDocBookFile): command styles now have a parameter as
13904 "title" by default.
13906 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13908 * layout_forms.[Ch]: removed
13909 * lyx_cb.[Ch]: out character
13910 * lyx_gui.C: out character
13911 * lyx_gui_misc.C: out character
13912 * bufferview_funcs.C: : out character,
13913 added toggleall as parameter in ToggleAndShow
13915 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13917 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13919 * text2.C (SetCurrentFont): Disable number property at boundary.
13921 2001-02-26 Juergen Vigna <jug@sad.it>
13923 * lyxfunc.C (getStatus): added a string argument override function so
13924 that this is correctly called from LyXFunc::Dispatch if it contains a
13925 do_not_use_argument which is used!
13926 (Dispatch): added check for "custom" export and call appropriate func.
13928 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13930 * lyxrc.C: Add language_command_local, language_use_babel and
13931 language_global_options.
13933 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13935 * buffer.C (makeLaTeXFile): Use language_use_babel and
13936 language_global_options.
13938 2001-02-23 Juergen Vigna <jug@sad.it>
13940 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13941 which works with LyXText and putted it inside BufferView. Here now we
13942 only call for that part the BufferView::Dispatch() function.
13944 * BufferView.C (Dispatch): added.
13946 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13947 functions which needs to use a LyXText over from LyXFunc.
13948 (MenuInsertLyXFile): added
13949 (getInsetByCode): added
13950 (moveCursorUpdate): added
13951 (static TEXT): added
13953 2001-02-22 Juergen Vigna <jug@sad.it>
13955 * BufferView_pimpl.C (update): call a status update to see if LyXText
13958 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13960 * vc-backend.C (revert): implement for CVS
13961 (getLog): implement for CVS
13963 2001-02-20 Juergen Vigna <jug@sad.it>
13965 * text2.C (ClearSelection): added BufferView param for inset_owner call
13967 * lyxfunc.C (TEXT): added this function and use it instead of
13968 directly owner->view()-text of getLyXText().
13970 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13972 * src/layout_forms.C: out preamble
13973 * src/layout_forms.h: out preamble
13974 * src/lyx_cb.C: out preamble
13975 * src/lyx_cb.h: out preamble
13976 * src/lyx_gui.C: out preamble
13977 * src/lyx_gui_misc.C: out preamble
13978 * src/lyxfunc.C: connect with guii preamble
13980 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13982 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13984 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13986 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13987 whether to run bibtex.
13989 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13991 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13993 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13995 * Makefile.am (lyx_SOURCES): removed bibforms.h
13997 * vspace.h: doxygen
13999 * text.C (GetVisibleRow): make several local vars const
14001 * tabular.C: small cleanup.
14003 * lyxserver.C (callback): use compare instead of strncmp
14005 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14006 inlines to after class or to paragraph.C
14008 * lyxfont.h: remove friend operator!=
14010 * converter.h: move friend bool operator< to non friend and after
14013 * combox.h: small cleanup
14015 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14016 to inlines after class def.
14018 * buffer.C (pop_tag): use string operations instead of strcmp
14020 * bmtable.c: doxygen, small cleanup
14022 * LaTeX.h: remove friend operator==
14024 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14036 * BufferView_pimpl.C:
14037 * BufferView.[Ch]: remove cruft
14039 2001-02-14 Juergen Vigna <jug@sad.it>
14041 * lyxfunc.C: removed #if 0 unused code
14043 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14045 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14047 * text2.C (SetSelection): added a BufferView * parameter
14049 2001-02-13 Juergen Vigna <jug@sad.it>
14051 * lyxfunc.C (Dispatch): fixed protected blank problem.
14052 * BufferView2.C (protectedBlank): added LyxText * parameter.
14054 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14055 (AppendColumn): same as above for column_info.
14057 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14058 (moveCursorUpdate): use a LyXText param for support of InsetText.
14060 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14061 (tripleClick): ditto
14063 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14065 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14067 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14069 * text2.C (SetSelection): set correct update status if inset_owner
14070 (ToggleFree): ditto
14072 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14074 * tabular.C: remove some commented code.
14076 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14078 * BufferView_pimpl.C: call hideSplash()
14080 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14083 * bibforms.h: remove
14086 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14087 add LFUN_CHILD_CREATE
14089 * counters.h: fix tiny typo
14094 * lyx.C: move splash to frontends/xforms/
14096 * lyx_gui_misc.C: move Include and Bibform to frontends
14098 * lyxvc.h: clarify comment
14100 * vspace.C: tiny housekeeping
14102 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14104 * text.C (PrepareToPrint): RTL Fix.
14106 * paragraph.C (GetUChar): New method.
14107 (String): Use GetUChar.
14109 * buffer.C (asciiParagraph): Use GetUChar.
14111 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14113 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14115 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14118 * buffer.C: rename to getLogName(), handle
14119 build log / latex log nicely
14121 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14124 * MenuBackend.h: remove support for reference menuitem type.
14126 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14128 * BufferView_pimpl.C: housekeeping
14129 * BufferView_pimpl.h:
14134 * minibuffer.h: move Timeout GUI-I
14136 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14138 * lyxrc.C (read): Update converters data-structures.
14140 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14142 * LaTeX.h (operator!=): add operator != for Aux_Info
14144 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14146 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14148 * LaTeXLog.C: deleted, useful code moved to Buffer
14151 * buffer.C: new function getLatexLogName()
14157 * lyxfunc.C: use frontends for LaTeX and VC logs
14159 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14161 * LaTeX.h: yet another std:: that Allan forgot.
14163 * Variables.C (set): renamed from isset(), because this clashes
14164 with some HP-UX macros (grr).
14166 2001-02-06 Allan Rae <rae@lyx.org>
14168 * LaTeX.h: Another bug fix. Missing std:: this time.
14170 2001-02-04 Allan Rae <rae@lyx.org>
14172 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14173 floats problem. I've left it commented out because it's not quite
14174 correct. It should also test that the current object is a table or
14175 figure inset. But I haven't gotten around to figuring out how to do
14176 that. I *think* it'll be something like: "table" == inset.type()
14178 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14181 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14183 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14184 all the citation/databases/styles in the auxilary file.
14185 (run): Rerun latex if there was a babel language error.
14187 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14189 * text.C (Backspace): Preserve the font when changing newline char
14191 (BreakParagraph): If the cursor is before a space, delete the space.
14193 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14195 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14197 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14198 new argument (code).
14199 (ChangeCitationsIfUnique): New method.
14201 * paragraph.C (GetPositionOfInset): Handle bibkey.
14203 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14205 * BufferView_pimpl.h: change type of Position::par_pos to
14206 LyXParagraph::size_type.
14208 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14210 * BufferView_pimpl.C (savePosition, restorePosition): Write
14211 messages to minibuffer.
14213 2001-01-28 José Matos <jamatos@fep.up.pt>
14215 * buffer.C (makeDocBookFile): adds support for document language.
14216 A silly restriction on the name of LatexCommand types where removed.
14217 Added support for CDATA sections, allows to chars unescaped, used
14218 among others in code, to avoid escape < and >.
14220 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14222 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14223 saved positions instrad of a stack. Furthermore, a position is
14224 stored using paragraph id/paragraph position.
14226 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14227 Remove LFUN_REF_BACK.
14229 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14231 * converter.C (dvipdfm_options): New method.
14233 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14235 * vspace.C (isValidLength): Fix for empty input string.
14237 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14239 * LyXAction.C (init): change description of LFUN_FIGURE to
14242 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14244 * LaTeX.C: add using directive
14246 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14248 * MenuBackend.C (expand): Fix the sorting of the formats.
14250 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14252 * lyx_main.C: tiny error message fix
14254 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14256 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14257 calling fl_initialize(). This fixes the problem with ',' as
14258 decimal separator in text files.
14260 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14262 * trans.C (process): Fix the keymap bug.
14264 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14266 * LaTeX.C (scanAuxFiles): New method. Provides support for
14267 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14268 (scanLogFile) Scan for "run BibTeX" messages.
14270 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14271 OT1 font encoding. Also, load the aecompl package if the ae
14274 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14276 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14278 * texrow.C (increasePos): turn two error messages into debug
14281 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14283 * LaTeX.C (scanAux): Handle the \@input macro.
14284 (runBibTeX): Use scanAux().
14286 * language.C (latex_options_): New field.
14288 * LaTeXFeatures.C (getMacros): Add language macros.
14290 * buffer.C (makeLaTeXFile): Small fix.
14292 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14294 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14296 * text2.C: add a using directive.
14298 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14303 * lyxfunc.C: kill LyXBell.
14305 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14307 * text.C (IsBoundary): Remove the error message
14309 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14311 * lyxrc.C (setDefaults): Correct initialization value for
14314 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14316 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14319 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14320 and GotoNextNote().
14322 * src/LyXAction.C: Added reference-next.
14324 * text.C (InsertChar): Use contains instead of strchr.
14326 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14328 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14330 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14331 alignment commands (when needed).
14333 * text.C (InsertChar): Add ':' to number separator chars.