1 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * BranchList.h: move the BranchNamesEqual functor here from...
4 * BranchList.C: ... to here
6 * BranchList.C: new BranchListEqual fuctor, use it. Remove
8 (add): replace a finding loop with std::find_if.
10 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
12 * output_docbook.C: moving LatexParam functionality into
15 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
17 * buffer.C: increment format to 229.
19 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
22 * lyx_sty.[Ch]: remove minipageindent_def
28 * text3.C: remove LFUN_INSET_MINIPAGE
30 2003-12-28 Angus Leeming <leeming@lyx.org>
32 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
34 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
36 * text2.C (setParagraph): fix off-by-one crash
38 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
40 * output_docbook.C: header stuff for AGU
42 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
44 * text2.C (redoCursor): remove
47 * BufferView_pimpl.C: remove calls to redoCursor and
48 setCursor(cursor.par(), cursor.pos()) all around
50 2003-12-15 Angus Leeming <leeming@lyx.org>
52 * buffer.C: up the format to 228.
54 2003-12-15 André Pönitz <poenitz@gmx.net>
56 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
70 2003-12-15 Angus Leeming <leeming@lyx.org>
72 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
73 than getFromGUIName to manipulate the color.
75 2003-12-14 Angus Leeming <leeming@lyx.org>
77 * BranchList.[Ch]: minimize the API.
78 (Branch::getBranch, getColor): now return a 'const &'.
79 (Branch::setSelected) now returns a bool set to true if the
80 selection status changes.
81 (BranchList::clear, size, getColor, setColor, setSelected,
82 allBranches, allSelected, separator): removed.
83 (BranchList::find): new functions, returning the Branch with
85 (BranchList::add, remove): return a bool indicating that
86 the operation was successful.
88 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
89 new InsetBranch::isBranchSlected member function.
91 * LColor.[Ch]: mimimize the API.
92 (fill): renamed as addColor and made private.
93 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
94 versions of these functions taking a string arg have been removed.
96 * bufferparams.C (readToken):
97 * lyxfunc.C (dispatch):
98 * lyxrc.C (read): changes due to the altered BranchList and
101 * factory.C (createInset, readInset): changes due to altered
104 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
107 * lyxfunc.C: remove insetminipage. "minipage-insert"
108 now produces a frameless minipage box inset.
110 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
112 * textcursor.[Ch] (selStart,selEnd): add new methods
113 remove selection::start, end, use LyXCursor::operator<
114 * lyxcursor.[Ch] (operator<): add
115 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
116 * BufferView.[Ch] (unsetXSel): add
117 * text2.C (clearSelection): use unsetXSel,adjust
120 * rowpainter.C: adjust
121 * bufferview_funcs.C (put_selection_at): adjust
123 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
125 * BufferView_pimpl.C: small coord. correction
127 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
129 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
130 dragging over the splash screen.
132 2003-12-11 Angus Leeming <leeming@lyx.org>
134 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
135 as it is now handled in LyXText::dispatch.
137 * text3.C (doInsertInset): remove a level of nesting.
139 2003-12-11 Angus Leeming <leeming@lyx.org>
141 * factory.C (createInset): changes due to the changed interface to
142 InsetCommandMailer::string2params.
144 2003-12-10 Angus Leeming <leeming@lyx.org>
146 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
147 'dialog-show-new-inset <inset name>'
149 2003-12-10 Angus Leeming <leeming@lyx.org>
151 * buffer.C: up the format to 227.
153 * factory.C: the box inset is now identified simply by 'Box'.
155 2003-12-10 Angus Leeming <leeming@lyx.org>
157 * buffer.C: up the format to 226.
159 * factory.C: the note inset is now identified simply by 'Note'.
161 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
163 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
164 when a pit is enough. Standarize a couple of loops.
166 2003-12-05 Angus Leeming <leeming@lyx.org>
168 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
169 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
170 data to the re-worked "log" dialog.
172 2003-12-03 André Pönitz <poenitz@gmx.net>
180 * text2.C: use Inset::getText instead of Inset::getParagraph
182 2003-12-03 André Pönitz <poenitz@gmx.net>
186 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
187 InsetText::read() as LyXText::read()
189 2003-12-02 Angus Leeming <leeming@lyx.org>
191 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
192 type. Add a comment in the implementation that the function uses
193 the stream's bad() function rather than fail() as the std::streams
196 2003-12-02 André Pönitz <poenitz@gmx.net>
198 * lyxlex.[Ch]: make interface more similar to std::stream
200 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
202 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
204 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
206 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
208 * vspace.[Ch]: remove VSpace::NONE
210 2003-12-01 André Pönitz <poenitz@gmx.net>
213 * lyxtext.h: move ParagraphList member to LyXText
214 rename LyXText::ownerParagraphs to LyXText::paragraph
217 * bufferview_funcs.C:
227 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
229 * undo.C: fix cursor positioning
231 2003-12-01 John Levon <levon@movementarian.org>
233 * BufferView_pimpl.C: fix a crash on exit with
236 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
238 * BranchList.C: fix setSelected() method.
240 2003-11-28 André Pönitz <poenitz@gmx.net>
242 * ParagraphParameters.[Ch]:
243 * ParameterStruct.h: remove space above/below from Paragraph to
246 * BufferView_pimpl.C:
258 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
260 * factory.C: Syntax change for CharStyles
262 2003-11-28 André Pönitz <poenitz@gmx.net>
267 * buffer.[Ch]: move LyXText member
269 2003-11-28 André Pönitz <poenitz@gmx.net>
271 * BufferView.[Ch]: make LyXText * text a private member
273 * BufferView_pimpl.C:
284 * output_plaintext.C: cleanup
286 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
289 * lyxtextclass.[Ch]: parametrize SGML document header
291 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
294 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
297 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
299 * text2.C (setFont): rework using PosIterator (no more recursive)
300 (setCharFont): no more needed
301 (setLayout): no more selection cursors fiddling (done by redoCursor)
302 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
303 destroy remaining ones)
305 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
307 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
309 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
312 * text3.C: adjust + re-allow multi par depth changes
313 * textcursor.C: simplify a bit
315 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
321 * src/output_docbook.C:
322 * src/output_latex.C:
327 * src/text2.C: Introducing a number of tags parametrizing various
328 XML formats that we may want to support
330 2003-11-25 André Pönitz <poenitz@gmx.net>
332 * InsetList.[Ch] (begein, end): inline as suggested by profiler
334 * lyxtext.h (leftMargin/rightMargin): simplify interface
341 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
343 * lyxfunc.C (dispatch): propogate the bibtex databases from the
344 master file to any child files. Fixes bug 546.
346 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
348 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
350 2003-11-24 André Pönitz <poenitz@gmx.net>
352 * rowpainter.C: simplification
354 * text2.C (updateCounters): remove call to redoParagraph on
355 changed labels as this is far too expensive.
357 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
359 * converter.C (convert): fix a crash: this function gets
360 called with buffer == 0 from importer code.
362 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
364 * text3.C (cursorPrevious): make sure that we do not compare
365 iterators form different containers.
368 * rowpainter.C (paintSelection): make sure that we do not compare
369 iterators from different containers.
371 * text3.C (dispatch): [PRIOR] make sure that we do not compare
372 iterators from different ParagraphList containers.
375 * text2.C (LyXText): change order of initialization slightly
376 (operator=): new function. copy all variables except cache_par_
377 (moveUp): make sure that we do not compare iterators from
378 different ParagraphList constainers.
381 * text.C (firstPar): new function
382 (lastPar): new function
383 (endPar): new function
385 * lyxtext.h: move things around and group public functions, public
386 variables, private functions, private variables
388 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
390 * factory.C: change call to InsetERT constructor to avoid
391 additional invocation of method status
392 * text2.C (toggleInset): remove redundant update() call
393 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
394 instead of a Bufferview pointer
396 2003-11-21 André Pönitz <poenitz@gmx.net>
398 * rowpainter.C: simplification
400 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
402 * text3.C (dispatch): make possible to extend a word/row selection
405 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
407 * lyxtext.h: x0_,y0_ -> xo_,yo_
408 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
409 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
410 * rowpainter.C (paintRows): paint full paragraphs
412 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
414 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
417 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
419 * lyxtext.h: add x0_, y0_
420 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
421 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
423 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
425 * text2.C (setCursorIntern): move the x_target update here *
426 * text3.C: change some bv() to true/false in calls to
427 cursorUp/Down/Right/Left
428 * cursor.C: use helper function.
430 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
432 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
433 * paragraph_funcs.[Ch]: correct comment
434 * rowpainter.C: do not paint selections away from bv->cursor()
435 Fix a long standing selection painting bug.
436 * text3.C: generalize mouse-selection code to LyXTexts other that
438 * textcursor.C: do not use y coords if we can use par offsets
440 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
442 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
443 cursor position after e.g. inset insert)
445 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
447 * lyxfind.C (replace): adjust to locking removal + some
450 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
452 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
455 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
458 * output_docbook.C: XML sanitation: new layout
459 parameters InnerTag and CommandDepth
461 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
463 * BufferView_pimpl.C:
465 * text3.C: Fix the insertion and modification of button-style
468 2003-11-13 André Pönitz <poenitz@gmx.net>
470 * InsetList.[Ch]: remove deleteLyXText
472 * paragraph.[Ch]: cache beginOfBody position
477 * text3.C: remove superfluous update() calls
481 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
483 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
484 * BufferView.C (fitLockedInsetCursor): remove
485 * cursor.[Ch] (getDim): add
486 * text.C (getRowNearY): add faster version
487 * text3.C: remove some update calls
489 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
501 * text3.C: The Character Style /XML short element patch.
503 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
506 * factory.C: Small step to solving 'unable to insert some insets'
509 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
511 * cursor.[Ch] (updatePos): new function for updating the y
512 position of the tip inset
513 * bufferview_funcs.C (put_selection_at):
514 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
516 2003-11-11 André Pönitz <poenitz@gmx.net>
518 * text.C: remove big comment on invalid Paragraph pointers as it is
521 2003-11-11 André Pönitz <poenitz@gmx.net>
523 * text_funcs.[Ch]: merge with ...
531 * Makefile.am: remove text_funcs.[Ch]
533 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
535 * cursor.C (getPos): return absolute cached y coord
537 * BufferView_pimpl.C (fitCursor): new simplistic code
538 (workAreaDispatch): add a fitCursor call
540 2003-11-10 André Pönitz <poenitz@gmx.net>
543 * BufferView_pimpl.[Ch]: merge update() and updateInset()
545 2003-11-10 André Pönitz <poenitz@gmx.net>
547 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
548 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
549 indicate that the cursor needs to leave an inset
551 * lyxtext.h: remove inset locking
553 * cursor.[Ch]: re-implement functionality provided by inset locking
556 * BufferView_pimpl.[Ch]:
558 * bufferview_funcs.[Ch]:
570 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
572 * PosIterator.[Ch]: replace the stack with a vector, add inset
574 * iterators.[C]: adjust
576 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
578 * lyxfind.C (replaceAll): mark the buffer dirty if something was
580 * paragraph_funcs.C (readParToken): put the correct id in the
581 error item, not the id of the top paragraph
583 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
585 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
586 * bufferview_funcs.C (put_selection_at): use the above
588 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
590 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
592 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
595 * output_plaintext.h:
597 * output_docbook.h: add #include statements
599 2003-11-05 José Matos <jamatos@lyx.org>
601 * output_docbook.[Ch]:
603 * output_linuxdoc.[Ch]:
604 * output_plaintext.[Ch]: New files for output formats.
605 * output.[Ch]: New file for helper functions.
608 * paragraph_funcs.[Ch]: output functions moved to new files.
610 * outputparams.h: rename of latexrunparams.h
618 * paragraph_funcs.[Ch]:
619 * paragraph_pimpl.[Ch]:
620 * tabular.[Ch]: rename ascii to plaintext
621 and LatexRunParams to OutputParams.
623 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
625 * iterators.[Ch] (text): require bv argument
626 * undo.C (recordUndo):
627 * lyxfunc.C (dispatch):
628 * bufferview_funcs.C (put_selection_at): adjust
630 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
632 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
634 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
636 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
639 2003-11-04 André Pönitz <poenitz@gmx.net>
641 * cursor.[Ch]: restructure
644 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
646 * iterators.[Ch] (asCursor): remove
648 * lfuns.h: remove LFUN_INSET_EDIT
654 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
656 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
658 * lyxfind.[Ch]: complete overhaul
659 * BufferView_pimpl.C:
661 * paragraph.[Ch] (insert): add
663 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
667 * text.C: remove dead spellcheck code
669 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
671 * dispatchresult.h: add a val setter
673 * cursor.C (dispatch): use a tempvar for data_[i]
675 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
677 * PosIterator.[Ch]: compile fix
679 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
681 * text.C (cursorPar): deactivate the cursor cache
683 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
685 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
687 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
689 * text3.C (dispatch): adjust for new DisptchResult semantics.
691 * lyxfunc.C (dispatch): handle update when return from
692 Cursor::dispatch, adjust for new DispatchResult semantics.
694 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
695 DispatchResult(true) mean to not update. Add class functions for
696 setting dispatched and update, as well as reading.
698 * cursor.C (dispatch): don't handle update here
700 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
702 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
703 * trans_mgr.C: adjust
705 * paragraph_funcs.C (readParToken): exception safety
707 * lyxvc.h: store the vcs pointer in a scoped_ptr
710 * lyxsocket.C (serverCallback): exception safety
712 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
714 * ispell.C (clone): make it return a auto_ptr
716 * factory.C (createInset): exception safety
717 (readInset): exception safety
719 * bufferlist.C (newBuffer): exception safety
721 * Thesaurus.C (Thesaurus): use initialization for aik_
723 * MenuBackend.C (expandToc): exception safety.
725 2003-11-03 André Pönitz <poenitz@gmx.net>
729 * bufferview_funcs.C: remove getInsetFromId()
732 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
738 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
740 * PosIterator.C (distance, advance): new
741 * bufferview_funcs.[Ch] (put_selection_at): new
742 * iterators.[Ch] (lockPath): new
744 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
746 * iterators.[Ch] (asPosIterator): added
747 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
748 * PosIterator.[Ch]: added
750 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
754 * cursor.C (dispatch):
755 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
757 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
758 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
759 contructor, add a class function dispatched. Remove operator>=
761 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
763 * debug.C: only use the default constructor for debugstream
766 * main.C (main): include debug.h and setup the lyxerr streambuf
769 2003-10-31 José Matos <jamatos@lyx.org>
771 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
773 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
774 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
775 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
776 * paragraph_pimpl.C (simpleTeXSpecialC):
777 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
778 add LatexRunParams argument.
780 * exporter.C (Export): change call accordingly.
782 * latexrunparams.h: add new member to take care of the other backends.
783 2003-10-30 José Matos <jamatos@lyx.org>
785 * buffer.C (makeLinuxDocFile, makeDocBookFile):
786 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
787 factorise code for paragraph output.
789 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
792 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
794 * text3.C (dispatch):
795 * lyxfunc.C (dispatch):
796 * cursor.C (dispatch):
797 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
799 * dispatchresult.h: make the dispatch_result_t ctor explicit
801 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
804 * buffer.C: small refactoring of docbook stuff
806 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
808 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
811 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
813 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
814 operator dispatch_result_t, and operators for == != and >=
816 * cursor.C (dispatch): adjust for operator dispatch_result_t
817 removal. comment out call to update
819 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
821 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
829 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
832 * dispatchresult.h: new file, DispatchResult broken out of
835 * Makefile.am (lyx_SOURCES): add dispatchresult.h
837 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
839 * text.C (rowBreakPoint): put a hack inside #if 0
841 2003-10-28 André Pönitz <poenitz@gmx.net>
848 * text2.C: general cleanup (lots of small stuff)
850 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
852 * text2.C (cursorEnd): simple fix to the "end key goes to one
853 before the end on last row" bug
855 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
857 * text.C (backspace): fix the "zombie characters"
859 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
861 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
863 2003-10-27 André Pönitz <poenitz@gmx.net>
865 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
867 * factory.C: handle new InsetPagebreak, InsetLine
869 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
870 and move handling into new InsetPagebreak, InsetLine
872 * BufferView_pimpl.C:
874 * ParagraphParameters.C:
887 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
896 * text3.C: remove lastPos uses in favour of Row::endpos
898 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
900 * undo.C (performUndoOrRedo): fix two crashes by setting a
901 cursor by hand and reordering some calls. Use bv->lockInset instead
902 of inset->edit because the latter loses cursor information
904 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
906 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
908 (rowBreakPoint): fix width. change point to point + 1.
911 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
914 * lyxfunc.C: fix (at least partly) the problems
915 with the Nav menu and headers inside branch insets
918 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
920 * paragraph.C (getChar): add strong asserts
922 * lyxrow_funcs.C (lastPos): remove hideous hack
924 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
925 (fill): adjust to that (avoid an infinite loop)
927 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
929 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
931 2003-10-23 André Pönitz <poenitz@gmx.net>
933 * RowList_fwd.h: change list<> to vector<> to gain speed
934 after suggestion from Alfredo
936 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
938 * lyxtext.h: move the bidi stuff from here...
941 * Bidi.[Ch]: ... to here
943 2003-10-23 André Pönitz <poenitz@gmx.net>
946 * text.C (isLastRow, isFirstRow): new functions
948 * paragraph.h: new width cache member
950 * rowpainter.C: replace RowList::iterator with Row & where possible
952 * lyxfunc.C: replace several view()->text with a single call
954 * toc.C: fix 'unused' warning
956 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
958 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
959 when woring with stream::pos_type
960 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
962 2003-10-22 André Pönitz <poenitz@gmx.net>
965 * text.C: use Row & instead of RowList::iterator
967 * lyxrow.h: rename end() to endpos()
973 2003-10-22 Angus Leeming <leeming@lyx.org>
975 * buffer.[Ch] (fully_loaded): new member function, returning true
976 only when the file has been loaded fully.
977 Used to prevent the premature generation of previews and by the
978 citation inset to prevent computation of the natbib-style label.
980 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
981 templates are all set up.
983 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
985 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
987 * text.C: fixed an "oops" in the "is a bit silly"
990 2003-10-21 André Pönitz <poenitz@gmx.net>
992 * FuncStatus.[Ch]: small stuff, whitespace
994 * lyxfont.[Ch]: operator<<() for debug reasons
998 * lyxtext.h: whitespace, spelling
1000 * paragraph.C: naming of variables
1003 * text2.C: small stuff
1006 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1008 * text.C: (1) finish off the inset display() work;
1009 (2) fix the "is a bit silly" bug (accessing char
1012 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1014 * text.C: re-introduce display() for insets, fixing the
1015 various bugs (stretch of line above, math inset
1018 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1020 * text.C (rightMargin): remove spurious semicolon
1022 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1025 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1027 * text3.C: fix one crash due to wrong cursor def
1029 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1031 * vc-backend.C (scanMaster): make the regex static
1033 * LaTeX.C (scanAuxFile): make the regexs static
1035 * text3.C (doInsertInset, dispatch, dispatch):
1036 * text2.C (cursorUp, cursorDown):
1037 * text.C (selectNextWordToSpellcheck):
1038 * BufferView_pimpl.C (dispatch):
1039 * lyxfunc.C (dispatch): localDispatch -> dispatch
1041 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1043 * lyxsocket.C: include <cerrno>
1045 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1047 * lyxfunc.C (dispatch): remove textcache stuff
1049 * bufferlist.C (release): remove textcache stuff
1052 * TextCache.C: delete file
1053 * TextCache.h: delete file
1055 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1057 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1058 delete of the bv_->text.
1059 (resizeCurrentBuffer): remove texcache stuff
1060 (workAreaResize): ditto
1062 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1064 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1067 2003-10-16 André Pönitz <poenitz@gmx.net>
1074 * text3.C: speed up by storing y positions per paragraph plus per-row
1075 offset instead of having a 'full' y position in the row.
1077 2003-10-15 André Pönitz <poenitz@gmx.net>
1081 * undo.[Ch]: make undo aware of inner insets
1083 2003-10-14 Angus Leeming <leeming@lyx.org>
1085 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1086 static member functions LyX::ref() and LyX::cref.
1087 (lastfiles): new accessor functions for the new lastfiles_ member var.
1088 (addLyXView, views_): add a new LyXView to the list of views_.
1089 (updateInset): loop over all LyXViews to call their own updateInset
1090 member function, returning a pointer to the Buffer owning the inset.
1092 * BufferView_pimpl.C (loadLyXFile):
1093 * MenuBackend.C (expandLastfiles):
1094 * bufferlist.C (MenuWrite, QuitLyX):
1095 lastfiles is no longer a global variable.
1096 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1098 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1099 static function. Access through LyX::cref().emergencyCleanup().
1101 2003-10-14 André Pönitz <poenitz@gmx.net>
1103 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1105 * undo.[Ch]: restoring part of 'undo in insets'
1108 * undo_funcs.[Ch]: merge with undo.[Ch]
1110 * tabular.C: small cleansing stuff
1112 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1114 * paragraph_funcs.C (readParToken): report unknown insets as error
1115 boxes. Use the outer paragraph as location (also for unknown
1118 * factory.C (readInset): do not abort on reading an unknown inset.
1119 Eat it and return 0.
1121 2003-10-13 Angus Leeming <leeming@lyx.org>
1123 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1125 * lyxrc.C: displayTranslator is now a function,
1126 declared in GraphicsTypes.h.
1128 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1130 * format.C: new placeholder $$a to pass the socket address.
1132 * bufferlist.[Ch]: new function getBufferFromTmp.
1134 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1135 files in the temporary dir.
1137 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1139 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1141 * Makefile.am: add lyxsocket.[Ch].
1143 * lyx_main.C (error_handler): handle SIGPIPE.
1145 2003-10-13 André Pönitz <poenitz@gmx.net>
1147 * BufferView_pimpl.C:
1152 * undo_funcs.[Ch]: use paroffset_type instead of
1153 ParagraphList::iterators to prevent multiple conversion
1154 (and get a more robust interface)
1156 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1158 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1160 * text3.C (dispatch): ditto
1162 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1164 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1165 move the onlyfile, use onlyfile instead of foundfile in a couple
1168 * DepTable.C (update): flush the error stream a bit more
1170 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1172 * lyxserver.C (callback): adjust
1174 * lyxfunc.C (getStatus): add a missing brace in commented code
1175 (ensureBufferClean): reindent
1176 (dispatch): delete version taking a string
1178 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1180 * LaTeX.C (deplog): move found file handlig from here...
1181 (handleFoundFile): .. to new function here.
1182 (deplog): make sure to discover several files mentioned on the
1185 2003-10-10 André Pönitz <poenitz@gmx.net>
1192 * text3.C: fix some of the tabular crashes
1194 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1196 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1198 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1200 2003-10-09 André Pönitz <poenitz@gmx.net>
1202 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1205 * BufferView_pimpl.C:
1206 * bufferview_funcs.C:
1217 * undo_funcs.C: adjust
1219 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1221 * text2.C (incrementItemDepth): new function, use a backtracking
1222 algorithm to discover the correct item depth.
1223 (resetEnumCounterIfNeeded): new function, use a backtracking
1224 algorithm to discover if counter reset is needed.
1225 (setCounter): use them. Simplify a bit. Add different labels for
1226 different item depths for itemize.
1228 * paragraph.C (Paragraph): remove initialization of enumdepth
1231 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1232 enumerate and itemize. Change the type of itemdepth to signed char.
1234 2003-10-08 André Pönitz <poenitz@gmx.net>
1236 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1241 * tabular.[Ch]: fix crash after 'row-insert'
1243 2003-10-08 Angus Leeming <leeming@lyx.org>
1245 Fix doxygen warnings.
1247 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1248 Remove CutAndPaste:: prefix from header file declaration.
1250 * LColor.h (fill): remove LColor:: prefix from declaration.
1252 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1253 use lyx::depth_type rather than Paragraph::depth_type so that
1254 header file and .C file match.
1256 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1258 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1259 * aspell.C: \file aspell_local.C -> \file aspell.C
1260 * gettext.C: \file gettext.C -> \file src/gettext.C
1261 * gettext.h: \file gettext.h -> \file src/gettext.h
1262 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1263 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1264 * text.C: \file text.C -> \file src/text.C
1266 * toc.C: move comment so that doxygen is not confused.
1268 2003-10-07 Angus Leeming <leeming@lyx.org>
1270 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1272 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1275 * aspell_local.h: add forgotten std::string's.
1277 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1284 * text3.C: The Box patch. Fancybox support, minipage, parbox
1286 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1292 * ParagraphParameters.h:
1302 * lyxtextclasslist.h:
1305 * paragraph_pimpl.C:
1306 * textcursor.h: add <string> and other small fixes to make Lars'
1307 std::string patch compile with STLport.
1309 2003-10-06 Angus Leeming <leeming@lyx.org>
1311 * LColor.h: Add missing #include <string>.
1313 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1315 * All most all file in all subdirs: Make <string> be the prefered
1316 way of getting to std::string, add using declarations.
1318 2003-10-06 André Pönitz <poenitz@gmx.net>
1320 * metricsinfo.C: initialize LyXFont before changing attribute.
1321 (fixes the 'math in \emph is upright' bug)
1323 2003-10-06 André Pönitz <poenitz@gmx.net>
1325 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1327 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1330 * paragraph_pimpl.C: Small fixes to build using STLport
1332 2003-10-02 André Pönitz <poenitz@gmx.net>
1335 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1337 2003-10-01 André Pönitz <poenitz@gmx.net>
1339 * factory.C: assert early
1341 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1343 * lyx_main.C: remove the global debug object
1345 * debug.h: adjust for new debugstream
1347 * debug.C: adjust for new debugstream and keep the global debug
1350 2003-09-22 Angus Leeming <leeming@lyx.org>
1352 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1353 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1354 an incomplete class LyXFont.
1356 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1358 * factory.C: bug fix in branches
1360 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1362 * lyxfunc.C (processKeySym): adjust
1364 (dispatch): change arg name from ev to func, adjust
1365 (sendDispatchMessage): ditto
1367 * lyx_main.C (defaultKeyBindings): adjust keybindings
1368 (deadKeyBindings): ditto
1370 * kbsequence.C (addkey): return a FuncRequest
1372 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1374 * kbmap.C (bind): take a FuncRequest as arg, adjust
1377 (defkey): change to take a FuncRequest as arg, adjust
1378 (findbinding): take a FuncRequest as arg, adjust.
1380 * funcrequest.h (operator=): added
1382 * funcrequest.C (FuncRequest): default kb_action changed from
1383 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1385 * buffer.C (dispatch): simplify
1386 (dispatch): adjust to take a FuncRequest as arg, adjust
1388 * boost.C (assertion_failed): change assertion message slightly
1390 * ToolbarBackend.C (read): simplify
1392 * MenuBackend.C (binding): adjust call to findbinding, add a
1393 message if no binding is found.
1395 (expandToc): correct by adding a empty FuncRequest
1397 * LyXAction.C: include <boost/assert.hpp>
1398 (isPseudoAction): delete function
1399 (LookupFunc): change name to...
1400 (lookupFunc): this. change return type to FuncRequest.
1401 (getActionName): take kb_action as arg, simplify
1402 (funcHasFlag): add an assert, simplify.
1404 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1406 * toc.C (action): return a FuncRequest, simplify
1408 * lyxfunc.C (processKeySym): adjust
1409 (getStatus): delete version that takes an int.
1411 (dispatch): delete version that takes action as int
1413 (sendDispatchMessage): simplify and adjust
1415 * funcrequest.C (getArg): take unsigned int as arg
1417 * ToolbarBackend.C (read): adjust
1418 (add): delete version that takes func as a string.
1419 (getIton): take a FuncRequest as arg
1421 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1424 * MenuBackend.C (MenuItem): add a new construct that only takes a
1425 Kind, simplify the constructor use for submenus.
1427 (expandLastfiles): adjust
1428 (expandDocuments): adjust
1429 (expandFormats): adjust
1430 (expandFloatListInsert): adjust
1431 (expandFloatInsert): adjust
1432 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1434 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1435 Remove class variables lyx_pseudo_map and lyx_arg_map
1437 * LyXAction.C (searchActionArg): delete function
1438 (getPseudoAction): delete function
1439 (retrieveActionArg): delete function
1440 (LookupFunc): make it return kb_action, simplify.
1441 (getActionName): simplify
1443 * factory.C (createInset): fix new bug
1445 2003-09-19 Angus Leeming <leeming@lyx.org>
1447 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1448 masterFilename_ parameter in the include inset.
1450 * factory.C (createInset): changes due to the changes to InsetInclude.
1452 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1454 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1456 2003-09-18 Angus Leeming <leeming@lyx.org>
1459 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1460 Inset::fillWithBibKeys.
1461 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1463 2003-09-18 Angus Leeming <leeming@lyx.org>
1465 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1467 (ctor): pass and store a 'Buffer const &'
1468 (buffer): new member function.
1470 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1471 '*this' to the LaTeXFeatures ctor.
1473 2003-09-18 Angus Leeming <leeming@lyx.org>
1479 * text.C: rename EnumLColor as LColor_color.
1481 2003-09-18 Angus Leeming <leeming@lyx.org>
1483 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1484 remove #include "insets/insetbase.h" from cursor.h.
1486 2003-09-18 Angus Leeming <leeming@lyx.org>
1488 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1489 InsetOld_code to remove #include "inset.h".
1491 * iterators.C: add #include "insets/inset.h"
1493 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1495 * BufferView.C: remove more locking stuff that apparently doesn't
1496 do anything sensible.
1498 2003-09-16 André Pönitz <poenitz@gmx.net>
1501 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1504 2003-09-16 Angus Leeming <leeming@lyx.org>
1506 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1508 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1511 * paragraph.h: remove #include "lyxfont.h". Forward declare
1514 2003-09-16 Angus Leeming <leeming@lyx.org>
1516 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1517 of support/textutils.h.
1518 (isWord): move the contents of support/textutils.h's IsWordChar here.
1524 * text2.C: add #include "paragraph.h".
1527 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1529 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1535 * LaTeX.C: use namespace alias for lyx::support::os
1537 2003-09-16 Angus Leeming <leeming@lyx.org>
1540 * bufferview_funcs.C:
1543 * paragraph_pimpl.C:
1545 * text.C: add #include "LColor.h".
1547 2003-09-16 Angus Leeming <leeming@lyx.org>
1549 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1550 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1552 Store the FontBits::color variable as an int rather than as an
1553 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1556 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1557 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1558 string calls together.
1560 * lyxrc.C: add #include "LColor.h".
1562 2003-09-15 Angus Leeming <leeming@lyx.org>
1564 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1567 2003-09-15 Angus Leeming <leeming@lyx.org>
1569 * LColor.h: add an EnumLColor wrapper for LColor::color.
1571 * lyxfont.[Ch] (color, setColor, realColor):
1572 * lyxtext.h, text.C (backgroundColor):
1573 pass EnumLColor args to/from the functions, rather than LColor::color
1577 * lyxtext.h: forward declare EnumLColor.
1579 * lyx_main.C: add #include "LColor.h".
1581 2003-09-15 Angus Leeming <leeming@lyx.org>
1583 * .cvsignore: add lyx-gtk.
1585 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1590 * ParagraphParameters.C
1594 * bufferview_funcs.C
1604 * vc-backend.C: remove usage of STRCONV
1606 2003-09-15 Angus Leeming <leeming@lyx.org>
1608 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1609 explicitly define the color passed to the painter.
1611 2003-09-15 Angus Leeming <leeming@lyx.org>
1613 * bufferparams.C (BufferParams): reorder member initializers to avoid
1616 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1618 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1619 * text.C (updateRowPositions): remove an unusual nop
1621 2003-09-12 André Pönitz <poenitz@gmx.net>
1623 * BufferView_pimpl.C:
1632 * Counters.[Ch]: finish the 'automatic counters' job
1634 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1636 * aspell.C: include <boost/assert.cpp> (compile fix)
1638 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1640 * boost.C (assertion_failed): use lyx::support::abort instead of
1643 2003-09-10 Angus Leeming <leeming@lyx.org>
1645 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1646 with their _fwd progeny.
1648 2003-09-09 Angus Leeming <leeming@lyx.org>
1650 134 files throughtout the source tree: replace 'using namespace abc;'
1651 directives with the appropriate 'using abc::xyz;' declarations.
1653 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1655 * boost.C (emergencyCleanup): moved here from LAssert.c
1656 (assertion_failed): new function, called by BOOST_ASSERT
1658 * several files: change Assert to BOOST_ASSERT
1660 2003-09-09 Angus Leeming <leeming@lyx.org>
1662 * buffer.[Ch]: Add an Impl class and move Buffer's member
1663 variables into it. As a result move several header files out of
1666 Add header files to lots of .C files all over the tree as a result.
1668 2003-09-09 Angus Leeming <leeming@lyx.org>
1670 * buffer.[Ch]: make Buffer's member variables private. Add
1673 Lots of changes all over the tree as a result.
1675 2003-09-08 Angus Leeming <leeming@lyx.org>
1677 * graph.C: #include <config.h>.
1679 2003-09-08 Angus Leeming <leeming@lyx.org>
1683 * BufferView_pimpl.C:
1712 * toc.C: remove redundant using directives.
1714 2003-09-07 Angus Leeming <leeming@lyx.org>
1716 * LaTeXFeatures.h: remove #include "support/types.h".
1717 * ToolbarBackend.h: remove #include <algorithm>.
1718 * changes.h: remove #include <ctime>.
1719 * debug.h: remove #include <iosfwd>.
1720 * graph.h: remove #include "support/std_string.h".
1721 * lyx_main.h: remove #include <csignal>.
1722 * lyxlex_pimpl.h: remove #include <fstream>.
1723 * sgml.h: remove #include <algorithm>, <utility>.
1724 * toc.h: remove #include "support/std_ostream.h".
1725 Add #include <iosfwd>.
1727 2003-09-07 Angus Leeming <leeming@lyx.org>
1729 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1731 * converter.h: forward declare LatexRunParams.
1732 * encoding.h: remove #include "lyxrc.h".
1733 * lyxtext.h: remove #include "LColor.h".
1734 * lyxtextclass.h: remove #include "support/types.h".
1735 * trans.h: remove #include "tex-accent.h".
1736 * trans_mgr.h: remove #include "tex-accent.h".
1737 * insets/inset.h: remove #include "support/types.h", <vector>.
1738 * insets/insetcollapsable.h: remove #include "LColor.h".
1739 * insets/insetinclude.h: remove #include "dimension.h".
1740 * insets/insetlatexaccent.h: remove #include "dimension.h".
1741 * insets/insetoptarg.h:: remove #include "insettext.h".
1742 * insets/insettext.h: remove #include "dimension.h",
1743 <boost/shared_ptr.hpp>
1745 * insets/renderers.h: add #include "dimension.h".
1746 * insets/updatableinset.h: add #include "support/types.h".
1748 * many .C files: Associated changes.
1750 2003-09-06 Angus Leeming <leeming@lyx.org>
1752 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1753 one, inside testInvariant.
1755 * PrinterParams.C: new file.
1756 * PrinterParams.[Ch]: move the function bodies out of line.
1758 2003-09-06 Angus Leeming <leeming@lyx.org>
1760 * ParagraphParameters.h: forward declare ParameterStruct rather than
1761 including its header file.
1762 (depth): moved out-of-line.
1764 2003-09-06 Angus Leeming <leeming@lyx.org>
1766 * BufferView_pimpl.h:
1769 * lyxfunc.h: forward declare LyXKeySym rather than
1770 #include "frontends/LyXKeySym.h".
1772 * BufferView_pimpl.C:
1775 * lyxfunc.C: associated changes.
1777 2003-09-06 Angus Leeming <leeming@lyx.org>
1779 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1780 As a result, can remove the #include "insets/inset.h" from BufferView.h
1782 2003-09-06 Angus Leeming <leeming@lyx.org>
1784 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1785 As a result, can remove the #include "insets/inset.h" from BufferView.h
1787 2003-09-06 Angus Leeming <leeming@lyx.org>
1793 * bufferview_funcs.C:
1794 * BufferView_pimpl.C:
1799 * ParagraphParameters.C:
1804 * frontends/controllers/ControlDocument.C:
1805 * insets/insetcaption.C: rearrange the #includes into some sort of
1808 * buffer.h: remove #includes ErrorList.h, undo.h
1810 2003-09-06 Angus Leeming <leeming@lyx.org>
1812 * support/types.h: add a 'depth_type' typedef, used to store the
1813 nesting depth of a paragraph.
1816 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1817 defining explicitly.
1820 * paragraph_funcs.h:
1821 * ParagraphParameters.h:
1822 * sgml.h: use lyx::depth_type rather than Paragraph or
1823 ParameterStruct's depth_type.
1826 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1829 * BufferView_pimpl.C:
1831 * ParagraphParameters.C:
1834 * bufferview_funcs.C:
1841 * frontends/LyXView.C:
1842 * frontends/controllers/ControlDocument.C:
1843 * frontends/controllers/ControlErrorList.C:
1844 * insets/insetbibitem.C:
1845 * insets/insetbranch.C:
1846 * insets/insetcaption.C:
1847 * insets/insetcollapsable.C:
1848 * insets/insetenv.C:
1849 * insets/insetert.C:
1850 * insets/insetfloat.C:
1851 * insets/insetfoot.C:
1852 * insets/insetfootlike.C:
1853 * insets/insetnewline.C:
1854 * insets/insetquotes.C:
1855 * insets/insettabular.C:
1856 * insets/insettext.C:
1857 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1859 * frontends/controllers/ControlChanges.C: #include "changes.h".
1861 2003-09-06 Angus Leeming <leeming@lyx.org>
1863 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1864 than #including paragraph.h.
1867 * RowList.h: deleted. Superfluous.
1877 * insets/insettext.h: use ParagraphList_fwd.h rather than
1880 * paragraph.h: don't forward declare ParagraphList.
1883 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1884 rather than ParagraphList.h. paragraph.h is still needed for the
1885 Paragraph::depth_type parameters.
1887 * textcursor.h: enable it to compile stand-alone in light of the
1890 * bufferview_funcs.C:
1902 * frontends/controllers/ControlParagraph.C:
1903 * frontends/controllers/ControlTabular.C:
1904 * insets/insetmarginal.C:
1905 * insets/insetminipage.C:
1906 * insets/insetnote.C:
1907 * insets/insetoptarg.C: add header files needed to compile again.
1909 2003-09-06 Angus Leeming <leeming@lyx.org>
1911 * RowList_fwd.h: new file, forward-declaring Row rather than
1912 #including lyxrow.h.
1917 * insets/insettext.h: use it instead of RowList.h
1919 * bufferview_funcs.C:
1926 * text3.C: #include "RowList.h".
1928 2003-09-05 Angus Leeming <leeming@lyx.org>
1930 * factory.C (createInset):
1931 * vspace.C (c-tor): replace sscanf call with an istringstream.
1932 * ispell.C: re-add missing HP/UX headers.
1933 * lyxserver.C: re-add missing os2 headers.
1935 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1944 * text3.C: re-add missing system headers, needed for 2.95.2.
1946 2003-09-05 Angus Leeming <leeming@lyx.org>
1948 Changes most place everywhere due to the removal of using directives
1949 from support/std_sstream.h.
1951 2003-09-05 Angus Leeming <leeming@lyx.org>
1953 Replace LString.h with support/std_string.h,
1954 Lsstream.h with support/std_sstream.h,
1955 support/LIstream.h with support/std_istream.h,
1956 support/LOstream.h with support/std_ostream.h.
1958 Changes resulting throughout the tree.
1960 2003-09-05 Angus Leeming <leeming@lyx.org>
1962 * sgml.h: ensure that the header file can be compiled stand-alone.
1963 * *.C: strip out redundant #includes. (320 in total.)
1965 2003-09-04 Angus Leeming <leeming@lyx.org>
1967 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1968 here (from getPackages).
1970 * debug.[Ch]: add a new EXTERNAL tag.
1972 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1974 * text2.C (cursorEnd): simplify
1976 (getColumnNearX): adjust
1978 * text.C (computeBidiTables): adjust
1981 * rowpainter.C (paintChars): adjust
1982 (paintSelection): adjust
1983 (paintChangeBar): adjust
1986 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1988 (numberOfSeparators): adjust
1990 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1996 * text3.C: Restricts the mouse click functionality
1997 of insets like bibtex, include, toc and floatlist to the visible
1998 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1999 up the dialogs. Cursor has to be in front of the inset (i.e.
2000 start of row) for this to function.
2002 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2004 * bufferview_funcs.C (currentState): output row information
2006 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2008 * bufferview_funcs.C (currentState): output paragraph position
2010 2003-09-04 Angus Leeming <leeming@lyx.org>
2012 * FloatList.h: move out #include "Floating.h".
2013 * LaTeX.h: move out #include "DepTable.h".
2014 * LyXAction.h: move out #include "funcrequest.h".
2015 * buffer.h: move out #include "author.h", "iterators.h".
2016 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2017 * lyx_main.h: move out #include "errorlist.h".
2018 * lyxfunc.h: move out #include "FuncStatus.h".
2019 * lyxtext: move out #include "lyxcursor.h".
2020 * paragraph_pimpl.h: move out #include "counters.h".
2022 2003-09-03 Angus Leeming <leeming@lyx.org>
2024 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2025 preamble_snippets list, enabling us to add snippets to the preamble
2026 only if the snippet was not there already.
2028 2003-09-04 Angus Leeming <leeming@lyx.org>
2030 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2032 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2034 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2037 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2039 * BranchList.C: point fix, earlier forgotten
2041 2003-09-02 Angus Leeming <leeming@lyx.org>
2043 * box.C (contains): renamed from 'contained' after a fantastic
2046 2003-09-02 John Levon <levon@movementarian.org>
2052 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2054 2003-09-02 John Levon <levon@movementarian.org>
2056 * text2.C: simplification of cursorEnd(), including partial
2059 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2061 * buffer.C (readFile): add a space
2063 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2065 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2067 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2069 * buffer.C (readFile): new function, take a filename and a
2070 ParagraphList::iterator
2072 (readFile): adjust, make it private. don't use setStream, make
2073 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2074 always contain the filename.
2076 * BufferView.C (insertLyXFile): simplify and make it work for
2079 2003-08-30 John Levon <levon@movementarian.org>
2081 * Makefile.am: fix dist (from Kayvan)
2083 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2085 * most files: change to use const Buffer refs
2087 2003-08-27 André Pönitz <poenitz@gmx.net>
2089 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2090 on top of ownerPar().
2092 2003-08-27 John Levon <levon@movementarian.org>
2094 * funcrequest.C: properly initialise POD members
2096 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2098 * lyxtext.h (top_y): move top_y from here
2103 * BufferView_pimpl.[Ch]: to here
2104 * frontends/screen.C:
2105 * insets/insettabular.C:
2106 * insets/insettext.C: adjust
2107 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2109 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2112 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2114 2003-08-26 André Pönitz <poenitz@gmx.net>
2116 * paragraph_func.[Ch] (outerPar): new function
2119 * paragraph_funcs.C:
2120 * paragraph_funcs.h:
2121 * paragraph_pimpl.C:
2122 * text2.C: remove Inset::par_owner
2124 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2129 * text2.C: eliminates the needFullRow/display() stuff
2130 altogether, putting the logic in metrics/draw in the insets.
2132 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2134 * text2.C (redoParagraphInternal, redoParagraphs):
2135 * text.C (redoParagraph): add a call to updateRowPositions at the
2136 end of each 'metrics-like' call. Remove all others.
2137 (getRow): remove the 'y-computing' version.
2138 (getRowNearY): do not compute nor return the real y. Solve the
2139 'y < 0' problem and simplify.
2141 2003-08-22 Angus Leeming <leeming@lyx.org>
2143 * *.[Ch]: clean-up of licence and author blurbs.
2144 Also move config.h out of a few .h files and into a few .C files.
2146 2003-08-22 André Pönitz <poenitz@gmx.net>
2148 * lyxrow.[Ch]: add x_ and *fill_ members
2153 * text2.C: adjust/remove prepareToPrint() calls
2155 2003-08-22 André Pönitz <poenitz@gmx.net>
2157 * lyxrow.[Ch]: add end_ member
2159 * lyxrow_funcs.C: use LyXRow::end_
2161 * lyxtext.h (singleWidth): add LyXFont parameter
2164 * text2.C: adjust LyXText::singleWidth() calls
2166 * text.C (redoParagraph): simplify row breaking logic
2169 2003-08-19 André Pönitz <poenitz@gmx.net>
2171 * funcrequest.C: initialize button_ member
2174 * rowpainter.[Ch]: interface consolidation
2176 2003-08-18 André Pönitz <poenitz@gmx.net>
2179 * BufferView_pimpl.C:
2181 * paragraph_funcs.C:
2183 * text3.C: remove LyXScreen::draw() and fitCursor calls
2185 * BranchList.h: remove spurious semicolons
2187 * MenuBackend.C: fix branchlist related crash
2189 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2197 * bufferparams.[Ch]:
2201 * text3.C: implements the 'branch inset'
2202 idea. This allows the output of various versions of a document
2203 from a single source version, selectively outputing or suppressing
2204 output of parts of the text.
2205 This implementation contains a 'branch list editor' in a separate
2206 tab of the document settings dialog. Branches are user definable
2207 and have a "display colour" to distinguish them on-screen.
2209 ColorHandler was somewhat cleaned up.
2210 (1) make possible a dynamically growing LColor list by allowing
2211 the graphic context cache to grow along (vector);
2212 (2) eliminate an IMHO unnecessary step in colour allocation.
2214 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2216 * BufferView_pimpl.C: compile fix
2218 2003-08-15 André Pönitz <poenitz@gmx.net>
2220 * rowpainter.C: remove extra metrics calls
2222 * lyxtext.h: merge the two constructors into a single one,
2223 pass reference to owner's par list
2225 * BufferView_pimpl.C:
2229 2003-08-15 André Pönitz <poenitz@gmx.net>
2231 * lyxrow_funcs.[Ch]:
2234 * paragraph_funcs.C:
2239 * text_funcs.C: split LyXText::rowlist_ into individual
2240 Paragraph::rows_ chunks
2243 * BufferView_pimpl.[Ch]:
2246 * text3.C: remove toggleSelection()
2248 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2250 * bufferlist.C: beautify two alerts (shorter text of buttons)
2251 * buffer.C: Remove redundant ' ' from message
2253 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2254 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2255 rename VALIGN_CENTER to VALIGN_MIDDLE
2257 2003-08-11 André Pönitz <poenitz@gmx.net>
2259 * lyxtext.h (getPar):
2260 * text.C: new function
2262 2003-08-11 André Pönitz <poenitz@gmx.net>
2265 * tracer.[Ch]: remove unneeded files
2267 * InsetList.[Ch]: remove resizeInsetsLyXText()
2272 * text3.C: merge insertParagraphs() and appendParagraph()
2273 remove breakAgain(), update()
2275 * BufferView_pimpl.[Ch]:
2276 * bufferview_funcs.[Ch]:
2280 * tabular.C: adjust after text & InsetList changes.
2282 2003-08-08 André Pönitz <poenitz@gmx.net>
2284 * text.C (insertChar, backspace): replace rowlist fiddling
2285 with rebreak of full par
2288 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2289 checkParagraph, updateInset): removed
2291 2003-08-07 André Pönitz <poenitz@gmx.net>
2294 * text3.C: merge some LFUN handlers, remove dead code
2296 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2298 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2300 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2302 * text2.C (DEPM): fix part of bug 1255 and 1256
2304 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2306 * BufferView_pimpl.C (workAreaDispatch): change to use
2307 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2308 that are no mouse related.
2310 2003-08-05 André Pönitz <poenitz@gmx.net>
2313 * BufferView_pimpl.[Ch]:
2314 * bufferview_funcs.C:
2316 * text3.C: rip out "deep update"
2318 * textcursor.[Ch] (last_sel_cursor): remove unused member
2320 2003-08-04 André Pönitz <poenitz@gmx.net>
2323 * BufferView_pimpl.[Ch]:
2324 * ParagraphParameters.C:
2325 * bufferview_funcs.C:
2331 * text3.C: replace "complicated" BufferView::update(...) calls with
2334 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2336 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2338 * Makefile.am (lyx_SOURCES): add paper.h
2340 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2342 * Makefile.am: move things around so that both lyx-qt and
2343 lyx-xforms can be built (according to --with-frontend). Then lyx
2344 is a symbolic link to lyx-[firstfrontend]
2346 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2348 * Always use std::endl with lyxerr
2350 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2352 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2354 2003-08-01 André Pönitz <poenitz@gmx.net>
2357 * BufferView_pimpl.[Ch]:
2359 * text3.C: merge BufferView::repaint() and BufferView::update()
2361 2003-08-01 José Matos <jamatos@lyx.org>
2363 * buffer.[Ch]: file_format is no longer a buffer data element.
2365 2003-08-01 André Pönitz <poenitz@gmx.net>
2370 * text2.C: make redoParagraph more independent of current cursor
2372 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2374 * text2.C: remove unneeded members
2376 2003-07-30 André Pönitz <poenitz@gmx.net>
2378 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2380 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2381 create a single function...
2383 * paragraph_funcs.C (moveItem): ... here.
2386 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2388 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2390 * LColor.[Ch]: Add comment and greyedout logical colors.
2392 2003-07-30 André Pönitz <poenitz@gmx.net>
2394 * tabular.C: don't use Assert too heavily. This crashes where it
2397 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2399 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2400 is disabled (bug 1232)
2402 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2404 * factory.C: limited 'arg' scope
2406 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2408 * factory.C: fixed Note submenu issues
2410 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2412 * factory.C: submenu for Note/Comment/Greyedout
2414 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2417 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2419 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2422 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2423 greyedout. Patch provided by Jürgen Spitzmüller.
2425 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2427 * kbmap.C (read): fix error message when reading bind files
2429 2003-07-29 Angus Leeming <leeming@lyx.org>
2431 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2432 certainly does not do what it purports to do. I am doing it, and
2433 us, a favour by killing it.
2435 2003-07-28 José Matos <jamatos@lyx.org>
2437 * buffer.C (readBody, do_writeFile):
2438 * paragraph.C(readParagraph): \end_document replaces \the_end.
2440 2003-07-29 André Pönitz <poenitz@gmx.net>
2443 * BufferView_pimpl.[Ch]:
2447 * textcursor.[Ch]: remove toggleToggle & Co
2449 2003-07-28 José Matos <jamatos@fep.up.pt>
2451 * buffer.C (readParagraph):
2452 * params_func (readParToken, readParagraph):
2453 * paragraph.C (write): \layout -> \begin_layout.
2455 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2457 * lyxlex_pimpl.C (setFile): clean up slightly.
2459 * bufferparams.h: add compressed var
2461 * buffer_funcs.C (readFile): adjust for LyXLex change
2462 (newFile): ditto + simplify
2464 * buffer.C (writeFile): handle writing of compressed files
2466 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2467 Check if the file is compressed and set a bufferparm if so.
2469 * Makefile.am (lyx_LDADD): remove explicit -lz
2471 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2473 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2474 makeDocBookFile): put the real LyX version in the first line of
2478 * version.C.in: remove lyx_docversion
2480 * tabular.C (write_attribute): add a template-based version to
2481 write enums properly
2483 2003-07-28 André Pönitz <poenitz@gmx.net>
2488 * text3.C: use doubles again for x-coordinates. They are needed.
2490 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2492 * messages.C (getLocaleDir): use lyx_localedir()
2494 * lyxlex_pimpl.C (setFile): compress stuff
2496 * buffer.C (writeFile): add some compression stuff
2497 (do_writeFile): new func, dont call expliti close... will this
2500 * Makefile.am (lyx_LDADD): add -lz
2502 2003-07-28 José Matos <jamatos@fep.up.pt>
2504 * buffer.C: increment file format.
2505 * paragraph_funcs (readParagraph, readParToken):
2506 * paragraph.C (readParagraph): add \end_layout.
2508 2003-07-27 Angus Leeming <leeming@lyx.org>
2510 * Makefile.am: remove special casing for configure-time setting of
2511 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2513 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2514 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2516 2003-07-26 André Pönitz <poenitz@gmx.net>
2518 * paragraph_func.[Ch]:
2519 * paragraph.C (realizeFont): inline it whereever it is used
2524 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2527 2003-07-26 André Pönitz <poenitz@gmx.net>
2531 * text2.C: get rid of LyXText::need_break_row
2533 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2535 * toc.[Ch]: put namespace toc inside namespace lyx
2537 * MenuBackend.C (expandToc2): adjust for lyx::toc
2540 * lyxfunc.C (dispatch): adjust for lyx::find
2542 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2543 lyx::find instead. Reorganize a bit.
2544 (LyXReplace): rename to replace
2545 (LyXFind): rename to find
2547 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2550 2003-07-26 André Pönitz <poenitz@gmx.net>
2552 * text.C (setHeightOfRow): restrict scope of temporary variable
2554 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2555 code (never has been used?)
2557 2003-07-27 Asger Alstrup <alstrup@local>
2559 * text.C (fill): Optimise algorithm to exploit that we can reuse
2560 the LyXFont for many characters.
2561 (setHeightOfRow): Same thing.
2562 (rowBreakPoint): Same thing.
2564 2003-07-26 Asger Alstrup <alstrup@local>
2566 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2568 * text.C (singleWidth): Spurious font copying in hot-spot
2569 singleWidth avoided. Reorder tests for arabic for efficiency.
2571 * text.C (fill): handle empty paragraphs better.
2573 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2576 * encoding.h: add includes
2578 * lyxrc.C: remove reading of bind files
2580 * lyx_main.C (init): setup bindings and menus only if we have a
2583 * kbmap.C (read): new method. Do the actual reading of bind
2586 * converter.C (dvipdfm_options):
2589 (output): adapt PAPER_* enums.
2591 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2593 * bufferparams.h: remove paper-related enums from there
2595 * paper.h: New file. A trivial header file to hold paper-related
2596 enums. It should later expand to contain many paper-related
2599 * lyxrc.C: declare extern displayTranslator
2601 2003-07-27 José Matos <jamatos@fep.up.pt>
2603 * tabular.[Ch] (linuxdoc): add support for tables and figures
2606 2003-07-27 José Matos <jamatos@fep.up.pt>
2608 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2609 consistency in both functions.
2610 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2612 2003-07-26 Asger Alstrup <alstrup@local>
2614 * rowpainter.C (paintRows): Change algorithm to work directly on
2615 the insets rather than asking every character in the document
2616 whether its an inset.
2618 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2620 * buffer.C (openFileWrite): factorize some code
2622 2003-07-26 Angus Leeming <leeming@lyx.org>
2625 * lyx_main.[Ch]: replace occurances of system_tempdir with
2628 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2630 * rename Inset to InsetOld
2632 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2634 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2635 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2636 which I think is a bit clearer. EDIT is gone, since it was
2637 premature optimisation, and broken for mathed anyway.
2638 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2639 with cursor positioning in insets as well (math insets still do not
2640 work, but that's a different story anyway.) It mysteriously
2641 crashes sometimes with undo in the first paragraph, but I'm fairly
2642 confident that this is a compiler bug.
2644 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2646 * paragraph.C (Paragraph): adjust for new clone return type
2648 (copyIntoMinibuffer): ditto
2650 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2652 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2653 by not having a special case, and always doing a full rebreak of
2654 the document after undo.
2656 2003-07-23 Angus Leeming <leeming@lyx.org>
2658 * factory.C (createInset): InsetExternal::setParams now takes a
2661 2003-07-23 Angus Leeming <leeming@lyx.org>
2663 * factory.C (createInset): changed interface to the external and
2664 graphics mailers' string2params functions.
2666 2003-07-23 Angus Leeming <leeming@lyx.org>
2668 * factory.C (createInset): pass a
2669 Buffer const * parameter to InsetExternalMailer's string2params.
2671 2003-07-22 John Levon <levon@movementarian.org>
2673 * Thesaurus.h: include the right aiksaurus header
2675 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2677 * MenuBackend.C (expand): check menu shortcuts unconditionally
2679 2003-07-21 Angus Leeming <leeming@lyx.org>
2681 * factory.C (createInset): pass a
2682 buffer_path parameter to InsetGraphicsMailer's string2params.
2684 2003-07-21 Angus Leeming <leeming@lyx.org>
2686 * BufferView_pimpl.C (buffer):
2689 * lyxfunc.C (dispatch):
2690 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2691 rather than the grfx shortcut.
2693 2003-07-21 André Pönitz <poenitz@gmx.net>
2695 * rowpainter.C: remove unused variables
2698 * tabular_funcs.h: move to tabular.C
2699 * Makefile.am: adjust
2701 * tabular.[Ch]: basic optical cleaning
2703 * author.h: pass references, not values
2705 2003-07-18 André Pönitz <poenitz@gmx.net>
2713 * text3.C: two-phase drawing for InsetText and InsetTabular
2714 some float -> int changes.
2716 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2718 * lyx_main.C: fix the fix
2720 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2722 * lyx_main.C: fix a crash in batch mode if no files specified
2725 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2727 * format.[Ch] (papersize): moved to BufferParams
2728 * converter.[Ch] (dvips_options): moved to BufferParams
2729 (dvipdfm_options): moved to anon namespace
2730 * bufferparams.[Ch]: added above functions.
2732 2003-07-17 André Pönitz <poenitz@gmx.net>
2736 * text2.C: don't call inset->update() anymore
2738 * metricsinfo.[Ch]: add convenience constructor
2740 2003-07-16 André Pönitz <poenitz@gmx.net>
2745 * text2.C: replace the LyXCursor::irow_ member with
2746 on-demand computation of the value
2748 2003-07-16 John Levon <levon@movementarian.org>
2750 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2752 2003-07-15 André Pönitz <poenitz@gmx.net>
2755 * text2.C: remove no more needed refresh_row
2757 2003-07-15 André Pönitz <poenitz@gmx.net>
2762 * text3.C: refresh_status tristate -> need_update bool
2764 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2766 * lyxtext.h (init): remove reinit argument (act as if always true)
2767 * text2.C: adjust to that
2769 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2771 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2772 * text3.C: use it to delete selections in some cases
2773 (bugs 441, 673, 702, 954).
2775 2003-07-14 André Pönitz <poenitz@gmx.net>
2777 * rowpainter.[Ch]: reduce interface
2779 2003-07-14 André Pönitz <poenitz@gmx.net>
2781 * BufferView_pimpl.C:
2782 * text2.C: adjust after removing unused BufferView * argument
2784 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2786 * text2.C (init): fix a crash fired on resize
2788 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2790 * buffer.[Ch]: added new closing signal
2791 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2792 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2793 BufferView::Pimpl via the closing the signal
2795 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2797 * buffer.[Ch]: take out all bv-related from buffer
2799 * BufferView_pimpl.[Ch]: connect to new signals
2800 * CutAndPaste.C: removed useless asserts
2801 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2804 * lyxfunc.C: moved view-related funciontality from vc here
2805 * paragraph.C: removed outdated comments
2808 2003-07-10 André Pönitz <poenitz@gmx.net>
2810 * BufferView_pimpl.C:
2814 * text2.C: remove InsetText::InnerCache, clean up consequences
2816 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2818 * ispell.C: fix two typos in error messages
2820 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2822 * Extend Note inset to other forms of annotation like Comment
2823 and Greyedout. Right button click gives dialog.
2825 Files modified or added (+):
2829 * ControlNote.[Ch] +
2831 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2832 frontends/controllers
2836 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2838 * aspell.C: add missing namespace lyx::support
2840 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2842 * BufferView.[Ch] (newFile): Add
2843 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2844 * LaTeX.[Ch] (message): added this signal and use it
2845 * buffer.[Ch] (busy, message): added these signals and use them
2846 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2850 * importer.C: use buffer signals instead of direct bv calling
2851 * lyx_cb.[Ch] (ShowMessage): removed
2854 * paragraph_funcs.C:
2855 * text2.C: use buffer signals
2857 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2859 * introduce namespace lyx::graphics
2861 2003-07-02 André Pönitz <poenitz@gmx.net>
2863 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2865 2003-07-01 André Pönitz <poenitz@gmx.net>
2872 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2873 text*.C to text_func.C
2875 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2877 * introduce namespace lyx::support
2879 2003-06-30 André Pönitz <poenitz@gmx.net>
2884 * text.C: re-enable --with-included-string
2886 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2888 * textcursor.C: add <config.h>
2890 * text.C (getWord): remove const from word_location arg
2892 * lyxvc.C (getLogFile): fix const type order
2894 * lyxtext.h: remove const from word_location arg, add arg name
2896 * lyxlayout.h: currect type on labeltype.
2898 * importer.C: correct \file
2900 * converter.C (intToFormat): use std:: on ret val, ws changes
2902 * bufferlist.h: correct \file
2904 * buffer.C (makeLinuxDocFile): fix const type order
2905 (makeDocBookFile): ditto
2906 (fillWithBibKeys): use std:: on stdlib args.
2908 * CutAndPaste.C: fix authors.
2909 (availableSelections): use std:: on return vector
2911 2003-06-27 André Pönitz <poenitz@gmx.net>
2913 * BufferView_pimpl.C:
2914 * bufferview_funcs.C:
2922 * text3.C: remove LyXCursor::row_ member
2925 * text.C: rename fullRebreak() to partialRebreak() and implement
2926 a fullRebreak() that really bereks fully
2928 * textcursor.h: new struct for cursor-related data
2930 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2932 * lyx_main.C (LyX): get full path of document loaded on the
2935 2003-06-26 André Pönitz <poenitz@gmx.net>
2937 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2938 remove unused/broken operator>,<,>=.
2940 * text.C: remove only use of broken operator<= in an Assert().
2942 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2944 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2945 moved errorlist_.clear to showErrorList
2947 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2949 * converter.C (scanLog, runLaTeX):
2950 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2951 move the bv->showErrorList call to the callers
2952 * lyxfunc.C: i.e. here...
2954 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2955 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2956 namespace, the second to...
2957 * buffer_funcs (BufferFormat, parseErrors): added
2958 * errorlist.C (ErrorList(TeXErrors const &)): removed
2960 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2962 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2964 2003-06-24 "Garst R. Reese" <reese@isn.net>
2968 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2970 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2972 * version.C.in: change docversion to 1.4
2974 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2976 * buffer.C: fix a bug just introduced
2978 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2980 * buffer.[Ch]: added the parseError signal and use it, removed
2982 * BufferView.[Ch] (addError): moved to ...
2983 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2984 to the Buffer::parseError signal to catch (guess what) parse errors
2985 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2987 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2989 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2990 ability to create a buffer and to return an existing one from
2991 the list. Moved these functions to...
2992 * buffer_funcs.[Ch]: added
2993 * BufferView.[Ch] (loadLyXFile): added
2994 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2995 job removed from bufferlist::loadLyXFile.
2996 * buffer.C (setReadOnly): make it work without view
2997 (i.e added an if (users))
2999 2003-06-19 Angus Leeming <leeming@lyx.org>
3002 * LyXAction.C (init):
3003 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3004 with LFUN_DIALOG_SHOW <name> <data>.
3006 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3008 * CutAndPaste.C (availableSelections): small compilation fix for
3009 ancient (gcc 2.9x) compilers
3011 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3013 * text3.C (cursorNext): add tmp var
3015 * text2.C (updateCounters): for function calling out of for clause
3016 (replaceSelectionWithString): ditto
3017 (insertStringAsParagraphs): ditto
3018 (getColumnNearX): add tmp var
3019 (setCursorFromCoordinates): add tmp var
3020 (cursorDownParagraph): add tmp var
3021 (deleteEmptyParagraphMechanism): add tmp var
3023 * text.C (insertChar): add tmp var
3025 * rowpainter.C (paintDepthBar): add tmp var
3027 * CutAndPaste.C (availableSelections): potentially check all
3028 paragraphs in a cut to fill the shown strings.
3030 2003-06-18 André Pönitz <poenitz@gmx.net>
3032 * kbmap.[Ch]: use vector<> instead of list<>
3034 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3036 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3037 pasteSelection with index
3039 * text2.C (pasteSelection): modify, call pasteSelection with index
3041 * paragraph.C (asString): reimplement version with no interval to
3042 call the one with interval.
3044 * lyxtext.h: add index arg to pasteSelection
3046 * MenuBackend.C (MenuItem): handle PasteRecent
3047 (Menu::read::Menutags): add md_pasterecent
3049 (expandPasteRecent): new function
3052 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3054 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3056 (availableSelections): new function
3058 2003-06-17 Angus Leeming <leeming@lyx.org>
3060 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3062 2003-06-17 Angus Leeming <leeming@lyx.org>
3065 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3067 * lyxfunc.C (dispatch): invoke it.
3069 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3071 * iterators.C (operator++, ParPosition): reintroduce some
3072 const_cast for the benefit of older compilers.
3074 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3076 * text3.C (dispatch): do not modify clipboard when doing
3077 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3078 LFUN_DELETE_SKIP on a selection selection
3080 2003-06-16 André Pönitz <poenitz@gmx.net>
3086 * tabular.[Ch]: IU of clone() and getLabelList();
3088 2003-06-13 André Pönitz <poenitz@gmx.net>
3090 * tabular.h: compactification
3092 2003-06-12 André Pönitz <poenitz@gmx.net>
3096 * tabular_funcs.h: some renaming plus whitespace
3098 2003-06-12 André Pönitz <poenitz@gmx.net>
3101 * BufferView_pimpl.C:
3107 * toc.C: Return a Paragraph & for ParIterator::operator*()
3109 2003-06-11 John Levon <levon@movementarian.org>
3113 * ToolbarBackend.C: add "Toolbars" section and
3116 2003-06-10 Angus Leeming <leeming@lyx.org>
3119 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3121 * lyxfunc.C (dispatch): invoke it.
3123 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3125 * main.C: protect <ios> with HAVE_IOS
3126 (main): protect sync_with_stdio with HAVE_IOS
3128 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3130 * text2.C (cutSelection): adjust
3131 (pasteSelection): adjust
3133 * messages.C: handle get of empty string
3135 * main.C (main): use sync_with_stdio(false)
3137 * lyxfunc.C (dispatch): adjust
3139 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3140 (WriteAs): remove unneeded BufferView arg.
3142 * bufferparams.h: use correct types on papersize, papersize2 and
3145 * bufferparams.C (readToken): adjust for type
3146 (writeLaTeX): add missing cases to switch.
3148 * bufferlist.C (quitWriteBuffer): adjust
3151 * buffer.C (asciiParagraph): remove some commented code.
3153 * CutAndPaste.C: remove current_view extern variable.
3154 (cutSelection): add BufferParams arg.
3155 (eraseSelection): add BufferParams arg.
3156 (pasteSelection): add Buffer const & arg
3158 2003-06-07 John Levon <levon@movementarian.org>
3161 * paragraph_funcs.C:
3162 * paragraph_pimpl.C:
3166 * paragraph.C: allow InsetERT to freely space lines,
3167 and some consolidation of code
3169 2003-06-06 José Matos <jamatos@fep.up.pt>
3171 * buffer.C (makeDocBookFile): fix bug #821
3173 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3175 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3177 2003-06-04 Angus Leeming <leeming@lyx.org>
3179 * buffer.C: bump format to 224.
3181 2003-06-05 André Pönitz <poenitz@gmx.net>
3183 * text2.C (redoParagraphs): remove two const_cast<>
3185 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3187 * ParagraphList.h: remove last remnants of NO_STD_LIST
3189 2003-06-03 Angus Leeming <leeming@lyx.org>
3191 * factory.C (createInset): small change to the way InsetExternal's params
3194 2003-06-04 André Pönitz <poenitz@gmx.net>
3196 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3198 * paragraph_pimpl.h:
3199 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3201 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3203 * undo_funcs.C: make some simple cases of undo work again
3205 2003-06-03 John Levon <levon@movementarian.org>
3207 * ispell.C: HPUX doesn't have sys/select.h
3210 2003-06-03 John Levon <levon@movementarian.org>
3212 * CutAndPaste.C: update tabular and include inset
3217 * paragraph.C: remove owningBuffer(), don't pass Buffer
3220 * factory.C: insetGraphicsParams changed
3222 2003-06-02 John Levon <levon@movementarian.org>
3228 * text3.C: remove insetparent
3230 2003-06-02 John Levon <levon@movementarian.org>
3233 * buffer.C: fix inset_iterator.end(), move out of line
3236 2003-06-01 John Levon <levon@movementarian.org>
3238 * text3.C: use a proper cut/paste when doing inset
3239 insert (from Jürgen Spitzmüller)
3241 2003-06-01 John Levon <levon@movementarian.org>
3243 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3245 2003-05-30 André Pönitz <poenitz@gmx.net>
3247 * rowpainter.C: unify second drawing phase
3249 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3251 * trans_mgr.C: remove one case of current_view
3253 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3255 * paragraph_funcs.h: remove paragraph.h include
3257 * paragraph.h: delete NO_STD_LIST stuff
3259 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3261 * buffer.h: remove paragraph.h include
3263 * ParagraphList.C: delete file
3265 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3267 * toc.C (getTocList): adjust
3269 * paragraph_pimpl.C (validate): adjust
3271 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3273 * paragraph.C (Paragraph): adjust
3274 (getPositionOfInset): use const_iterator, adjust
3275 (bibitem): use const_iterator, adjust
3276 (setInsetOwner): adjust
3278 * iterators.C (operator++): adjust
3280 * InsetList.[Ch]: Replace selfmade iterator with standard
3281 vector::iterator also introduce const_iterator. Remove getPos,
3282 getInset and setInset from InsetTable. Adjust accordingly.
3284 * BufferView.C (lockInset): adjust
3285 (ChangeInsets): adjust
3287 * tabular.[Ch]: delete commented same_id functions
3289 2003-05-28 John Levon <levon@movementarian.org>
3291 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3293 2003-05-28 André Pönitz <poenitz@gmx.net>
3295 * metricsinfo.[Ch]: remove 'fullredraw' member
3297 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3299 * lyxtextclass.C (operator): remove caching.
3301 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3305 * text2.C (cursorBottom): adjust
3306 (setCounter): use ParagraphList::find, adjust
3308 * text.C (workWidth): use ParagraphList::find, adjust
3310 * lyxcursor.C (LyXCursor): adjust
3312 * buffer.C (inset_iterator): adjust
3314 * ParagraphList.h: make iterator(value_type) private, make
3315 ParagraphList a friend of iterator.
3317 * ParagraphList.C (find): new function
3319 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3321 2003-05-27 André Pönitz <poenitz@gmx.net>
3323 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3325 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3327 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3329 2003-05-26 John Levon <levon@movementarian.org>
3331 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3333 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3335 * remove same_id from function signatures, adjust.
3337 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3339 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3341 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3343 * paragraph.C (Paragraph): get rid of same_ids parameter
3345 * ParagraphList.C (insert): adjust
3348 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3350 * paragraph_funcs.C (breakParagraph): adjust
3351 (breakParagraphConservative): adjust
3353 * buffer.C (readParagraph): adjust
3355 * ParagraphList.C (insert): take a reference instead of a pointer
3358 * paragraph.[Ch] (id): new function
3360 * bufferlist.C (newFile): adjust
3362 * ParagraphList.C (ParagraphList): adjust
3364 (push_back): take a reference instead of a pointer.
3366 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3368 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3371 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3372 set else use old code.
3374 * ParagraphList.C: remove all NO_NEXT code and only compile this
3375 code of NO_STD_LIST is set.
3377 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3379 * BufferView_pimpl.C:
3389 * graphics/GraphicsConverter.C:
3390 * graphics/PreviewLoader.C: header adjustment
3392 2003-05-23 Angus Leeming <leeming@lyx.org>
3394 * LaTeXFeatures.[Ch] (useBabel): new method.
3395 * bufferparams.C (writeLaTeX): use it.
3397 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3399 * ParagraphList.h (set): remove unused function.
3401 2003-05-23 André Pönitz <poenitz@gmx.net>
3404 * BufferView_pimpl.C:
3408 * undo_funcs.C: setUndo reworked
3410 * iterators.[Ch]: add access to topmost ParagraphList
3412 * lyxtext.[Ch] (workWidth): add a const
3414 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3416 * texrow.[Ch] (increasePos): remove function
3417 * exporter.C (export): removed unused var and outdated comment
3419 2003-05-23 Angus Leeming <leeming@lyx.org>
3421 * latexrunparams.h: rename fragile as moving_arg.
3422 * paragraph.C (simpleTeXOnePar): ditto.
3423 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3425 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3427 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3429 (textUndoOrRedo): comment out a currently unused var.
3431 * paragraph.h (NO_NEXT): enable NO_NEXT
3433 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3435 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3437 * exporter.C (Export): adjust for removeAutoInsets removal.
3439 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3441 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3443 * BufferView.[Ch] (removeAutoInsets): delete function
3445 2003-05-22 Angus Leeming <leeming@lyx.org>
3447 * latexrunparams.h: add a free_spacing variable.
3449 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3450 to pass moving_arg, as the data is stored in runparams.fragile.
3452 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3453 to Inset::latexOptional or to simpleTeXOnePar.
3455 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3456 free_spacing arg to Inset::latexOptional.
3458 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3461 2003-05-22 Angus Leeming <leeming@lyx.org>
3463 * latexrunparams.h: add fragile and use_babel variables.
3465 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3466 * buffer.C (makeLaTeXFile): store this returned value in
3467 runparams.use_babel, thus passing it to the inset::latex methods.
3469 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3470 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3472 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3473 longer has a fragile arg, as it is stored in runparams.fragile.
3475 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3476 moving_arg parameter as the data is stored in runparams.fragile.
3478 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3479 a fragile parameter as the data is stored in runparams.fragile.
3481 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3483 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3485 2003-05-22 Angus Leeming <leeming@lyx.org>
3487 * latexrunparams.h: add a 'bool nice' which defaults to false.
3489 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3490 now encapsulated within runparams.
3492 * bufferlist.C (updateIncludedTeXfiles):
3493 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3495 2003-05-22 Angus Leeming <leeming@lyx.org>
3497 * latexrunparams.h: new file containing struct LatexRunParams.
3498 * Makefile.am: add new file.
3500 * LaTeX.[Ch] (c-tor, run):
3501 * buffer.[Ch] (makeLaTeXFile):
3502 * bufferlist.[Ch] (updateIncludedTeXfiles):
3503 * converter.C (convert, scanLog):
3504 * converter.[Ch] (runLaTeX):
3505 * exporter.C (Export):
3506 * paragraph.[Ch] (simpleTeXOnePar):
3507 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3508 * paragraph_funcs.[Ch] (latexParagraphs):
3509 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3510 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3511 pass around a LatexRunParams parameter.
3513 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3515 * paragraph.[Ch]: remove unused constructor
3517 * ParagraphList.C (erase): new function, taking two iterators
3519 2003-05-22 André Pönitz <poenitz@gmx.net>
3521 * undo_funcs.C: remove duplicated code
3523 * iterator.[Ch]: operator=
3525 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3527 * tabular.C (SetMultiColumn): ws changes
3529 * rowpainter.C (paintFirst): get rid of a ->previous
3531 * lyx_cb.C (getPossibleLabel): parlist simplification
3533 * BufferView.C (ChangeInsets): simplify slightly.
3535 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3537 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3538 * lfuns.h: new LFUN_SPACE
3539 * lyxfunc.C: protected space has a new lfun
3540 * paragraph_funcs.C: read new space insets
3542 * factory.C: handle new space insets
3544 2003-05-22 André Pönitz <poenitz@gmx.net>
3547 * BufferView_pimpl.C:
3550 * undo_funcs.C: return a ParIterator from getParFromID.
3552 * iterators.[Ch]: add two const's
3554 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3556 * toc.C (getTocList): adjust
3558 * iterators.[Ch]: rework for parlist
3560 * buffer.C (par_iterator_begin): adjust
3561 (par_iterator_end): adjust
3563 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3565 * BufferView.C (removeAutoInsets): adjust
3566 (ChangeInsets): adjust
3568 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3570 * text.C (top_y): fix bug 1110
3572 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3574 * errorlist.[Ch]: added
3577 * BufferView_pimpl.C:
3578 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3581 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3583 * Makefile.am: ensure that lyx is relinked upon changes to the
3584 various "convenience" libs.
3586 2003-05-20 Angus Leeming <leeming@lyx.org>
3588 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3589 files are compiled in alphabetical order again.
3591 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3593 2003-05-19 Angus Leeming <leeming@lyx.org>
3595 * gettext.[Ch]: remove "char const * _(char const *)".
3597 2003-05-19 André Pönitz <poenitz@gmx.net>
3599 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3608 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3610 2003-05-19 André Pönitz <poenitz@gmx.net>
3614 * lyxtextclass.[Ch]:
3616 * paragraph_funcs.[Ch]:
3618 * text3.C: more insetenv work
3620 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3622 * ParagraphParameters.C (params2string): small bug fixed
3624 2003-05-16 André Pönitz <poenitz@gmx.net>
3627 * bufferview_funcs.C: patch from Kornel Benko to prevent
3628 crash when _(...) is called twice in a statement
3630 2003-05-16 André Pönitz <poenitz@gmx.net>
3637 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3639 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3641 * lyx_main.C (init): remove spurious static_cast
3643 2003-05-14 André Pönitz <poenitz@gmx.net>
3645 * BufferView.C: fix format string
3647 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3649 * BufferView.[Ch] (insertErrors): removed
3650 * BufferView.[Ch] (showErrorList): added
3651 * buffer.C (runChkTeX):
3652 * converter.C (scanLog): call showErrorList instead of inserterrors
3654 2003-05-13 André Pönitz <poenitz@gmx.net>
3656 * BufferView_pimpl.C:
3658 * bufferview_func.C:
3665 * tabular_funcs.h: tostr() from its own header
3667 * ParagraphParameters.C:
3672 * text3.C: STRCONV()
3674 2003-05-12 André Pönitz <poenitz@gmx.net>
3677 * BufferView_pimpl.C:
3681 * ParagraphParameters.C:
3685 * bufferview_funcs.C:
3698 * paragraph_funcs.C:
3702 * text3.C: boost::format -> bformat all over the place
3705 2003-05-09 André Pönitz <poenitz@gmx.net>
3707 * LColor.[Ch]: Pimpl the #include <map> away
3709 2003-05-09 John Levon <levon@movementarian.org>
3711 * bufferlist.C: never remove emergency saves
3713 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3715 * Makefile.am: better lib building
3717 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3719 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3721 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3722 (simpleTeXSpecialChars): adjust
3723 (simpleTeXSpecialChars): adjust
3724 * paragraph.C (simpleTeXOnePar): adjust
3725 * buffer.C (makeLaTeXFile): adjust
3727 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3729 * text2.C (changeDepth): parlist cleanup
3730 (getColumnNearX): ditto
3732 * rowpainter.C (getLabelFont): parlist cleanup
3734 * bufferlist.C (newFile): parlist cleanup
3736 * CutAndPaste.C (eraseSelection): parlist cleanup
3738 * BufferView_pimpl.C (trackChanges): parlist cleanup
3741 * BufferView.C (lockInset): parlist cleanup.
3742 (ChangeInsets): ditto
3744 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3746 * CutAndPaste.h: Update file header.
3748 * CutAndPaste.C: Update file header.
3749 Store the parts cut out of the Document in a limited_stack.
3750 (copySelection): adjust
3751 (pasteSelection): new function, takes the index in the limited stack.
3752 (nrOfParagraphs): adjust
3753 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3754 simplify error inset insertion.
3755 (checkPastePossible): adjust
3757 2003-05-06 John Levon <levon@movementarian.org>
3759 * text2.C: don't cast wrap inset to float
3761 2003-05-05 André Pönitz <poenitz@gmx.net>
3764 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3766 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3767 few naked Paragraph *.
3769 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3771 * bufferparams.C: Output warning if a document with missing
3772 TeX document class is loaded
3773 * exporter.C: Disable TeX exports if the document class is missing
3776 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3777 isTeXClassAvailable()
3779 2003-05-03 John Levon <levon@movementarian.org>
3782 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3783 explicit cursor show/hide
3785 * BufferView_pimpl.h:
3786 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3787 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3789 * lyxfunc.C: hide cursor before dispatching.
3794 * text3.C: remove explicit cursor hides
3796 2003-05-02 André Pönitz <poenitz@gmx.net>
3798 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3801 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3804 * text2.C: tiny whitespace
3806 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3808 * undo_funcs.C: almost only ws changes.
3810 * ParagraphList.C (splice): just return if pl is empty.
3812 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3814 * ParagraphList.C (splice): new function.
3816 * CutAndPaste.C (pasteSelection): use it
3818 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3820 * CutAndPaste.C (pasteSelection): remove the last next and
3821 previous from this file.
3823 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3825 * CutAndPaste.C (pasteSelection): more clean up, user proper
3826 ParagraphList functions for pasteing.
3828 * ParagraphList.C (insert): new function, three arg insert
3830 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3832 * ParagraphList.C (insert): new function, three arg insert
3834 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3837 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3839 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3841 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3843 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3845 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3847 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3848 (copySelection): clean up a bit.
3849 (pasteSelection): use make_pair
3851 * ParagraphList.C (ParagraphList): implement copy constructor
3852 (operator=): implement, base on copy constructor.
3855 * paragraph.C (erase): return a bool
3857 * paragraph_pimpl.C (erasePos): remove function, move contents...
3858 (erase): ... here. Return a bool.
3859 (erase): call erase instead of erasePos.
3861 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3863 * ParagraphList.h: define PitPosPair
3864 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3865 ParagraphList, fix a bug on pasting multiple pars
3866 * text2.C: change interface to C&P
3868 2003-04-30 André Pönitz <poenitz@gmx.net>
3870 * undo_func.C: revert part of yesterday's patch 2
3872 2003-04-30 John Levon <levon@movementarian.org>
3874 * LColor.C: s/tabular/table/
3876 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3878 * text3.C (dispatch): do not convert iterator -> pointer
3879 * undo_funcs.C (setCursorParUndo): ditto
3880 * text_funcs.C (transposeChars): ditto
3882 * text2.C (setLayout): ws changes only
3884 * text.C (breakParagraph): do not convert iterator -> pointer
3886 (acceptChange): ditto
3887 (rejectChange): ditto
3892 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3895 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3897 * text3.C (gotoInset): YABG (yet another bad getChar)
3899 2003-04-29 André Pönitz <poenitz@gmx.net>
3901 * paragraph.h: make operator= private unimplemented as long as
3904 * ParagraphList.C: whitespace
3907 * paragraph_pimpl.[Ch]:
3908 * paragraph_funcs.C:
3910 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3913 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3915 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3917 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3918 * paragraph.[Ch] (erase):
3919 * paragraph_pimpl.[Ch] (erase): change return type and value
3920 * text2.C (cutSelection): some rework
3922 2003-04-28 John Levon <levon@movementarian.org>
3924 * bufferlist.C: changes for unsaved changes dialog
3926 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3928 * bufferlist.C (newFile): set language (messages_) for new
3931 * buffer.C (readFile): ws changes only.
3933 2003-04-28 André Pönitz <poenitz@gmx.net>
3938 * BufferView_pimpl.C:
3939 * BufferView.C: getParFromID related ParagraphList::iterator changes
3941 2003-04-28 André Pönitz <poenitz@gmx.net>
3943 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3946 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3948 * messages.C: remove one more localedir class variable.
3950 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3952 * messages.C (getLocaleDir): singleton generation function
3954 (Messages): add a default constructor.
3956 * main.C (main): do not setup localedir here, do not call
3959 * gettext.C (_): use it.
3960 (gettext_init): delete funciton
3962 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3964 * gettext.C (getLyXMessages): new singleton generating function.
3966 * buffer.C (updateDocLang): adjust
3968 * Makefile.am (messages.o): add target
3969 (main.o): remove target
3971 2003-04-27 John Levon <levon@movementarian.org>
3976 * lyxvc.C: specify cancel button in Alert::prompt
3978 2003-04-26 John Levon <levon@movementarian.org>
3983 * LyXAction.C: add LFUN_INSET_SETTINGS
3985 * lyxfunc.C: don't enable tabular-feature when there's
3986 just any locking inset
3988 2003-04-26 John Levon <levon@movementarian.org>
3990 * bufferlist.C: re-add Cancel to buffer close question
3992 * lyxfunc.C: fix import UI a bit
3994 2003-04-25 John Levon <levon@movementarian.org>
3996 * gettext.C: remove the broken asserts for now
3998 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4000 * messages.C: make case where setlocale cannot comply work better.
4002 * buffer.C (updateDocLang): new function
4003 (changeLanguage): use it
4006 * text2.C (setCounter): use B_ a bit.
4008 * lyxlayout.C (Read): be sure to trim the label strings.
4010 * messages.C (Messages): fix typo in comment
4012 * buffer.C (readFile): set message_ after file is loaded.
4013 (makeDocBookFile): remove double return
4014 (changeLanguage): reset message_ upon language change.
4015 (B_): new func, use this to get translated buffer strings.
4017 * main.C: add myself and Jean Marc as authors.
4019 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4021 * messages.[hC]: pimplify Messages, and three different pimpls to be
4022 used in different circumstances.
4024 * gettext.[Ch]: change for use with new message code.
4026 2003-04-24 André Pönitz <poenitz@gmx.net>
4028 * factory.C: support for eqref
4030 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4032 * messages.[Ch]: add missing char
4034 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4036 * messages.[Ch]: New files
4038 2003-04-18 John Levon <levon@movementarian.org>
4042 * BufferView_pimpl.C:
4046 * text2.C: remove layout-copy/paste (bug 778)
4048 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4050 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4052 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4054 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4055 if they succeed. Act accordingly.
4057 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4059 * text2.C (setCharFont): adjust
4060 (setCounter): adjust
4061 (insertStringAsLines): adjust
4063 * text.C (leftMargin): adjust
4064 (setHeightOfRow): adjust
4066 * rowpainter.C (paintFirst): adjust
4069 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4071 (isFirstInSequence): ditto
4072 (getEndLabel): ditto
4075 * paragraph.C (getParLanguage): comment out some hard stuff.
4077 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4079 (simpleDocBookOnePar): ditto
4080 (makeDocBookFile): use ParagraphList::iterator
4082 * CutAndPaste.C (pasteSelection): adjust
4084 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4086 * text2.C (getFont): adjust
4087 (getLayoutFont): adjust
4088 (getLabelFont): adjust
4090 * paragraph_funcs.C (TeXOnePar): adjust
4092 * buffer.C (simpleLinuxDocOnePar): adjust
4093 (simpleDocBookOnePar): adjust
4095 * CutAndPaste.C (pasteSelection): adjust
4097 * BufferView.C (getEncoding): adjust
4099 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4101 2003-04-16 John Levon <levon@movementarian.org>
4103 * lyxfind.C: use parlist stuff for search/changes
4105 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4107 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4109 * text2.C (deleteEmptyParagraphMechanism): adjust
4111 * text2.[Ch] (ownerParagraph): delete func (both of them
4113 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4115 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4117 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4119 * ParagraphList.C: prepare for NO_NEXT
4121 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4123 * text2.C (getFont): adjust
4124 (getLayoutFont): adjust
4125 (getLabelFont): adjust
4127 * paragraph.C (getFont): adjust
4128 (getLabelFont): adjust
4129 (getLayoutFont): adjust
4131 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4133 2003-04-15 John Levon <levon@movementarian.org>
4137 * lyx_main.C: handle Include in .ui files
4139 2003-04-15 John Levon <levon@movementarian.org>
4141 * MenuBackend.C: make the doc files length shorter
4144 * ToolbarBackend.C: handle toolbar placement flags,
4147 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4149 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4152 * paragraph_funcs.C (TeXOnePar): adjust
4154 * paragraph.C (getLabelFont): add outerfont arg, adjust
4155 (getLayoutFont): ditto
4156 (simpleTeXOnePar): adjust
4158 * paragraph_pimpl.C (realizeFont): delete func
4160 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4162 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4163 row argument, constify cur argument.
4165 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4167 * text2.C (getFont): adjust
4168 (getLayoutFont): adjust
4169 (getLabelFont): adjust
4171 * paragraph_funcs.C (TeXOnePar): adjust
4172 (outerFont): new func...
4173 (realizeFont): ...moved out from here, changed this to facilitate
4176 * paragraph.C (getFont): take outerfont as arg, adjust
4177 (simpleTeXOnePar): add outerfont arg, adjust
4179 * buffer.C (simpleLinuxDocOnePar): adjust
4180 (simpleDocBookOnePar): adjust
4182 * CutAndPaste.C (pasteSelection): adjust
4184 * BufferView.C (getEncoding): adjust
4186 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4188 * text2.C (setCharFont): adjust
4189 (setCounter): adjust
4191 * text.C (leftMargin): adjust
4192 (setHeightOfRow): adjust
4194 * rowpainter.C (paintFirst): adjust
4197 * paragraph_pimpl.C (realizeFont): adjust
4199 * paragraph.C (isFirstInSequence): move from here...
4200 * paragraph_funcs.C (isFirstInSequence): ...to here
4202 * paragraph.C (outerHook): move from here...
4203 * paragraph_funcs.C (outerHook): ...to here
4205 * paragraph.C (depthHook): move from here...
4206 * paragraph_funcs.C (depthHook): ...to here
4208 * paragraph.C (getEndLabel): move from here...
4209 * paragraph_funcs.C (getEndLabel): ...to here
4211 * text2.C (realizeFont): move from here...
4212 * paragraph_funcs.C (realizeFont): ...to here
4214 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4216 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4218 2003-04-14 Angus Leeming <leeming@lyx.org>
4220 * LColor.[Ch]: scrap LColor mathcursor.
4222 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4224 * lyxlex.[Ch] (text): delete function
4225 * trans.C (Load): adjust
4226 * paragraph_funcs.C (readParToken): adjust
4228 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4230 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4231 vector<char> instead of a char[].
4233 * lyxlex_pimpl.C (getString): adjust
4235 (lex): use getString
4239 * lyxlex.C (text): use pimpl_->getString()
4243 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4245 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4246 (makeFontEntriesLayoutSpecific): temp var for par.size()
4247 (setLayout): temp var for ownerParagraphs().end()
4248 (fullRebreak): temp var for rows().end()
4249 (selectionAsString): temp var for boost::next(startpit), realize
4250 that the while really is a regular for loop.
4251 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4252 setCursor in one place.
4253 (setParagraph): temp vr for ownerParagraphs().end()
4254 (updateCounters): make the while loop a for loop
4255 (cutSelection): temp var for ownerParagraphs().end()
4256 (updateInset): make the do {} while() a regular for loop
4257 (getCursorX): use temp vars
4258 (setCurrentFont): use temp vars
4259 (getColumnNearX): use temp vars
4261 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4263 * text.C (transformChar): use temp var for getChar
4264 (computeBidiTables): use temp var for row->par()
4265 (fill): move temp vars for row->par() and pit->layout() earlier in
4267 (labelFill): use temp var for row->par()
4268 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4269 asc and desc, realize that pit never changes and that firstpit is
4270 just a duplicate and not needed. Exchange rit->par() with pit in a
4272 (breakAgain): use a temp var for boost::next(rit)
4273 (breakAgainOneRow): ditto
4274 (breakParagraph): use a temp var for rows().begin()
4275 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4276 (cursorRightOneWord): use temp var for cursor.par() and
4277 cursor.pos(), remove usage of tmpcursor.
4278 (cursorLeftOneWord): use temp var for cursor.par() and
4279 cursor.pos() only set cur at end of function.
4281 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4283 * text.C, text2.C: exchange all usage of Paragraph::next with
4284 boost::next(ParagraphList::iterator)
4286 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4288 * text2.C (cursorTop): simplify implementation
4289 (cursorBottom): ditto
4290 (setParagraph): use ParagraphList::iterator
4291 (setCurrentFont): adjust
4292 (getColumnNearX): adjust
4293 (cursorRight): adjust
4294 (cursorLeft): remove usage of Paragraph::previous
4295 (cursorUpParagraph): ditto
4296 (deleteEmptyParagraphMechanism): slight cleanup
4298 * text.C (isBoundary): take a Paragraph const & instead of a
4300 (addressBreakPoint): ditto
4301 (leftMargin): remove usage of Paragraph::previous.
4302 (setHeightOfRow): ditto
4303 (cursorLeftOneWord): ditto
4304 (selectNextWordToSpellcheck): ditto
4307 (breakParagraph): remove one usage of Paragraph::next
4308 (redoParagraph): ditto
4309 (acceptChange): ditto
4310 (insertChar): adjust
4311 (rowBreakPoint): adjust
4313 * bufferview_funcs.C (toggleAndShow): adjust
4315 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4317 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4318 methods to access it.
4320 * text.C: Added updateRowPositions to compute all row positions.
4321 Make top_y and getRowNearY() to use the cached y position
4323 2003-04-11 John Levon <levon@movementarian.org>
4325 * text.C (rowBreakPoint): reintroduce the labelEnd
4326 checks, code copied from the row fill stuff. Deep voodoo.
4328 * text.C (fill): add a comment and debugging for the
4331 2003-04-11 John Levon <levon@movementarian.org>
4333 * text.C: make sure fullrow insets get wrapped to the next line,
4334 even when they're in a manual label
4336 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4338 * text2.C (insertParagraph): make it take ParagraphList::iterator
4340 (setLayout): make it return ParagraphList::iterator
4341 (redoParagraphs): ditto
4343 (checkParagraph): ditto
4345 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4347 * text2.C: adjust several funcs.
4348 (realizeFont): take a ParagraphList::iterator as arg.
4349 (getLayoutFont): ditto
4350 (getLabelFont): ditto
4351 (setCharFont): ditto
4353 * text.C: adjust several funcs.
4355 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4357 * text.C (selectNextWordToSpellcheck): don't accidentally
4360 2003-04-10 John Levon <levon@movementarian.org>
4362 * ToolbarBackend.C (getIcon): special handling for
4365 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4367 * text2.C (cursorRight): a getChar assert fixed
4369 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4371 * text2.C (getFont): change to take a ParagraphList::iterator
4372 instead of Paragraph*
4373 Adjust several functions.
4375 * text.C (transformChar): change to take a ParagraphList::iterator
4376 instead of Paragraph*
4377 (singleWidth): ditto
4378 Adjust several functions.
4380 * rowpainter.C: adjust several functions
4381 * rowpainter.h:store a ParagraphList::iterator and not a
4385 2003-04-09 John Levon <levon@movementarian.org>
4390 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4391 and the "help" bits as well
4393 2003-04-09 John Levon <levon@movementarian.org>
4396 * ToolbarBackend.C: allow multiple toolbars
4398 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4400 * undo_funcs.C (setCursorParUndo): adjust
4402 * text_funcs.C (transposeChars): adjust
4404 * text3.C (gotoNextInset): adjust
4407 * text2.C (setLayout): adjust
4408 (changeDepth): adjust
4410 (redoParagraphs): adjust
4411 (selectionAsString): adjust
4412 (setParagraph): adjust
4413 (insertInset): adjust
4414 (cutSelection): adjust
4415 (copySelection): adjust
4416 (pasteSelection): adjust
4417 (insertStringAsLines): adjust
4418 (updateInset): adjust
4419 (setCursor): change to take a ParagraphList::iterator parameter
4420 (setCursorIntern): change to take a ParagraphList::iterator parameter
4421 (setCurrentFont): adjust
4422 (cursorLeft): adjust
4423 (cursorRight): adjust
4424 (deleteEmptyParagraphMechanism): adjust
4426 * text.C (breakParagraph): adjust
4427 (insertChar): adjust
4428 (acceptChange): adjust
4429 (rejectChange): adjust
4430 (selectNextWordToSpellcheck): adjust
4431 (changeCase): adjust
4435 * lyxfind.C (SearchForward): adjust
4436 (SearchBackward): adjust
4437 (nextChange): adjust
4439 * lyxcursor.C (par): adjust
4441 * lyxcursor.h: store a ParagraphList::iterator instead of a
4444 * lyx_cb.C (getPossibleLabel): adjust
4446 * bufferview_funcs.C (toggleAndShow): adjust
4448 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4451 * BufferView.C (removeAutoInsets): adjust
4452 (lockedInsetStoreUndo): adjust
4454 2003-04-09 John Levon <levon@movementarian.org>
4456 * ToolbarBackend.C: try icon without argument
4457 if with argument fails
4459 2003-04-08 John Levon <levon@movementarian.org>
4462 * ToolbarBackend.C: add getIcon(), handle tooltip,
4463 and change from "Icon" to "Item".
4465 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4467 * BufferView.C (lockInset): another bad getchar crunched
4469 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4471 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4474 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4476 * lyxfind.C (searchForward, searchBackwards): bug 782
4478 2003-04-07 John Levon <levon@movementarian.org>
4480 * paragraph.C: remove dead comment
4482 * text.C: remove troublesome depth-fiddling code
4483 in leftMargin() and rightMargin() (bug 1017)
4485 * text.C: fix breaking of rows in nested lists
4488 * text2.C (updateCounters): fix up depth values
4491 2003-04-07 John Levon <levon@movementarian.org>
4493 * BufferView_pimpl.C: clear message when doc finishes resizing,
4494 and after a mouse event
4496 * lyxfunc.C: clear message after exiting inset
4498 2003-04-07 John Levon <levon@movementarian.org>
4500 * bufferview_funcs.C: show math status not outside
4501 status in the statusbar
4503 2003-04-07 John Levon <levon@movementarian.org>
4505 * lyxfunc.C: note status changed after a depth change
4507 2003-04-04 Angus Leeming <leeming@lyx.org>
4509 * LaTeX.h: move AuxInfo operator==, != out of line.
4510 Remove LaTeX virtual destructor; nothing derives from it.
4511 Move operator()() out of public area and rename it startscript().
4512 Change protected for private.
4514 2003-04-04 Angus Leeming <leeming@lyx.org>
4517 * text2.C: remove unneeded #includes.
4519 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4521 * text2.C (dEPM): fix the heigth of the next row
4523 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4525 * text.C: squashed an invalid getChar requester + some ws changes
4527 2003-04-03 John Levon <levon@movementarian.org>
4529 * bufferview_funcs.h:
4530 * bufferview_funcs.C:
4533 * text2.C: make getStatus work for the env depth lfuns
4535 2003-04-03 John Levon <levon@movementarian.org>
4537 * bufferview_funcs.h:
4538 * bufferview_funcs.C:
4541 * text2.C: parlistize decDepth(), by merging it with incDepth()
4543 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4545 * lyxrow.h: store a ParagraphList::iterator instead of a
4546 Paragraph* and adjust other class functions to suit.
4548 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4551 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4553 * text2.C (setCursor): do not anchor to cursor row for the time being
4555 2003-04-02 John Levon <levon@movementarian.org>
4562 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4564 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4566 * paragraph.h: make ParagraphList and ParagraphList::iterator
4567 friends of Paragraph.
4569 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4571 * ParagraphList.C: Use the private next_ and previous_ from
4574 2003-04-01 John Levon <levon@movementarian.org>
4578 * Makefile.am: rename, remove defaults gunk
4581 * MenuBackend.C: remove defaults gunk
4584 * Languages.C: remove defaults gunk
4587 * lyx_main.C: error out if files couldn't be found.
4589 2003-04-02 John Levon <levon@movementarian.org>
4591 * text2.C: make incDepth() use parlist
4593 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4595 * undo_funcs.C (firstUndoParagraph): adjust
4597 * text3.C (gotoInset): adjust
4598 (dispatch): adjust, and rewrite loop.
4600 * text2.C (init): adjust, and rewrite loop.
4601 (redoParagraphs): adjust
4602 (updateInset): adjust, and rewrite loop.
4603 (deleteEmptyParagraphMechanism): adjust
4605 * tabular.C (LyXTabular): adjust
4606 (SetMultiColumn): adjust
4609 * lyxtext.[Ch] (ownerParagraph): delete function
4610 (ownerParagraphs): new function returns a ParagraphList.
4612 * BufferView.C (removeAutoInsets): adjust
4613 (insertErrors): adjust
4614 (setCursorFromRow): adjust
4616 2003-04-01 Angus Leeming <leeming@lyx.org>
4618 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4621 2003-04-02 John Levon <levon@movementarian.org>
4627 * text_funcs.C: make transposeChars a free function
4629 * lyxrow_funcs.C: remove wrong comment
4631 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4634 * rowpainter.C: adjust
4639 * lyxrow_funcs. [Ch]: new files
4641 * lyxrow.[Ch]: remove next and previous pointers
4642 (next,previous): remove accessor functions
4643 (isParEnd): move to lyxrow_funcs
4644 (lastPos): move to lyxrow_funcs
4645 (nextRowIsAllInset): move to lyxrow_funcs
4646 (lastPrintablePos): move to lyxrow_funcs
4647 (numberOfSeparators): move to lyxrow_funcs
4648 (numberOfHfills): move to lyxrow_funcs
4649 (numberOfLabelHfills): move to lyxrow_funcs
4650 (hfillExpansion): move to lyxrow_funcs
4654 * bufferview_funcs.C (toggleAndShow): adjust
4656 * RowList.h: Remove class RowList from file leave just a
4659 * RowList.C: delete file
4661 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4664 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4666 * text3.C (cursorPrevious): adjust
4667 (cursorNext): adjust
4670 * text2.C (redoHeightOfParagraph): adjust
4671 (redoDrawingOfParagraph): adjust
4674 * text.C (breakParagraph): adjust
4675 (insertChar): adjust
4678 * rowpainter.C (RowPainter): adjust
4679 (leftMargin): simplify and adjust
4680 (most rowpainter functions): adjust.
4682 * rowpainter.h: store the row as RowList::iterator not as Row*
4684 * lyxcursor.C (row): taka RowList::iterator as arg
4687 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4690 2003-04-01 Angus Leeming <leeming@lyx.org>
4692 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4693 stuff like bool Bool.
4695 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4697 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4700 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4702 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4705 * lyxtext.h (rows): drop one version and leve a const variant that
4706 returns a RowList::iterator.
4708 2003-03-31 Angus Leeming <leeming@lyx.org>
4710 * text.C (fill): ensure that the signature is the same as that in the
4713 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4715 * text2.C (redoParagraphs): adjust
4716 (updateCounters): adjust
4717 (checkParagraph): adjust
4718 (getColumnNearX): adjust and reformat a bit.
4720 * text.C (top_y): adjust
4722 (leftMargin): adjust
4723 (prepareToPrint): adjust
4725 (getRowNearY): adjust
4727 * lyxtext.h: make rowlist_ mutable.
4729 * RowList.h: add const_iterator
4730 * RowList.C: adjust for RowList::const_iterator.
4732 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4735 2003-03-31 John Levon <levon@movementarian.org>
4738 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4740 * lyx_main.C: set default fonts from using lyx_gui funcs
4742 * exporter.C: pdf_mode moved from lyxrc
4745 * lyxfunc.C: changes from above
4747 2003-03-31 John Levon <levon@movementarian.org>
4749 * lyx_main.C: fix to the last fix
4751 2003-03-31 John Levon <levon@movementarian.org>
4753 * bufferlist.C: "Load original" -> "Load Original"
4759 * format.C: more Alert cleanups
4761 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4763 * text2.C (removeParagraph): make it take a RowList::iterator as
4765 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4766 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4768 * text.C (anchor_row): make it take a RowList::iterator as arg,
4770 (computeBidiTables): make it take a const reference to Row instead
4771 of Row pointer, adjust.
4772 (leftMargin): make it take a RowList::iterator as arg, adjust.
4773 (rowBreakPoint): adjust
4774 (breakAgainOneRow): make it take a RowList::iterator as arg,
4776 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4778 * bufferview_funcs.C (toggleAndShow): adjust
4780 2003-03-30 John Levon <levon@movementarian.org>
4784 * boost-inst.C: moved to support
4786 * several files: changes as a result
4788 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4790 * text2.C (LyXText): adjust.
4792 (removeRow): make it take a RowList::iterator as arg, adjust.
4793 (fullRebreak): adjust
4794 (deleteEmptyParagraphMechanism): adjust
4795 (clearPaint): adjust
4798 * text.C (top_y): adjust
4799 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4800 (breakAgain): make it take a RowList::iterator as arg, adjust.
4801 (breakParagraph): adjust
4802 (insertChar): adjust
4805 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4806 need_break_row, and refresh_row.
4808 * text3.C (dispatch): adjust
4810 * text2.C (checkParagraph): adjust
4812 (setCursorFromCoordinates): adjust
4814 * text.C (top_y): adjust
4816 (getRow): make it return a RowList::iterator, adjust
4817 (getRowNearY): make it return a RowList::iterator, adjust
4819 * text2.C (init): adjust
4820 (insertRow): remove function
4821 (insertParagraph): adjust
4822 (redoParagraphs): adjust
4823 (fullRebreak): adjust
4824 (updateCounters): adjust
4826 * text.C (top_y): rewrite to use RowList iterators.
4828 (setHeightOfRow): rewrite to sue RowList iterators.
4829 (appendParagraph): adjust
4830 (breakAgain): adjust
4831 (breakAgainOneRow): adjust
4832 (breakParagraph): adjust
4834 (getRowNearY): adjust, and remove commented code.
4836 * lyxtext.h (firstRow): delete function
4837 (lastRow): delete function
4838 (rows): new function (const and non-const versions.)
4839 (insertRow): delete function
4841 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4843 2003-03-29 John Levon <levon@movementarian.org>
4845 * BufferView_pimpl.C: always update scrollbar top
4846 because pasting text when we're anchored could mean we
4847 miss an update altogether
4849 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4851 * text2.C (init): use rowlist_.end() and not 0.
4852 (insertRow): change to take a RowList::iterator as arg, adjust
4854 (insertParagraph): change to take a RowList::iterator as arg,
4856 (redoParagraphs): remove some debug msgs.
4858 * text.C (appendParagraph): change to take a RowList::iterator
4859 arg, adjust for this.
4860 (breakAgain): add an assert
4861 (breakAgainOneRow): ditto
4863 2003-03-29 John Levon <levon@movementarian.org>
4865 * text2.C: do not clear selection after inc/decDepth
4868 2003-03-29 John Levon <levon@movementarian.org>
4871 * buffer.C: fix broken strerrors according to Lars
4873 2003-03-29 John Levon <levon@movementarian.org>
4875 * converters.C: more Alert cleanups
4877 2003-03-29 John Levon <levon@movementarian.org>
4879 * bufferview_funcs.C: remove pointless Alert
4881 * buffer.C: fix confusing error message when
4882 a template is chmoded 000
4884 2003-03-29 John Levon <levon@movementarian.org>
4888 * BufferView_pimpl.C: Alert fixes
4892 * tabular-old.C: remove unused table compat reading
4894 2003-03-29 John Levon <levon@movementarian.org>
4899 * lyx_cb.C: more Alert cleanups
4901 * lyxfunc.C: don't allow chktex if not latex document
4903 2003-03-29 John Levon <levon@movementarian.org>
4907 * buffer.C: warnings pushed down from support/,
4910 2003-03-29 John Levon <levon@movementarian.org>
4912 * lyxfunc.C: safety check for C-r (revert)
4914 2003-03-29 John Levon <levon@movementarian.org>
4917 * bufferlist.C: several UI fixes using Alert::prompt.
4918 Fix the pointless looping quit code. Fix stupid revert
4923 * lyx_cb.C: use Alert::prompt
4925 * lyx_main.C: remove a silly question
4927 * lyxfunc.C: remove a couple of silly questions,
4930 2003-03-28 John Levon <levon@movementarian.org>
4932 * text2.C: fix bug 974 (End on empty par)
4934 2003-03-28 John Levon <levon@movementarian.org>
4936 * BufferView_pimpl.C:
4938 * lfuns.h: remove do-nothing math greek lfuns
4940 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4942 * lyxgluelength.h (isValidGlueLength): add default arg on
4943 parameter 2. Remove default arg from friend in class.
4945 * lyxlength.h (isValidLength): add default arg on parameter 2.
4946 Remove default arg from friend in class.
4948 * text2.C (LyXText): adjust, initialize refresh_row.
4952 (insertParagraph): adjst
4953 (redoParagraphs): adjust
4954 (fullRebreak): adjust
4955 (updateCounters): adjust
4956 (deleteEmptyParagraphMechanism): first attempt at fixing a
4959 * text.C (top_y): adjust
4960 (setHeightOfRow): adjust
4962 (getRowNearY): adjust
4964 * lyxtext.h: include RowList.h
4965 (~LyXText): not needed anymore, deleted.
4966 (firstRow): modify for RowList
4967 (lastRow): new function
4968 Delete firstrow and lastrow class variables, add a Rowlist
4969 rowlist_ class variable.
4971 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4974 * RowList.C (insert): fix case where it == begin().
4976 2003-03-26 Angus Leeming <leeming@lyx.org>
4978 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4979 the thesaurus dialog.
4981 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4983 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4985 * RowList.[Ch]: new files
4987 * ParagraphList.C (erase): handle the case where it == begin
4990 2003-03-25 John Levon <levon@movementarian.org>
4994 * aspell.C: add new aspell support
4997 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5000 2003-03-25 Angus Leeming <leeming@lyx.org>
5003 * LyXAction.C (init): new LFUN_INSET_INSERT.
5005 * BufferView_pimpl.C (dispatch): split out part of the
5006 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5008 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5011 2003-03-25 Angus Leeming <leeming@lyx.org>
5013 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5015 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5018 * text3.C: remove useless row->height(0)
5020 2003-03-25 John Levon <levon@movementarian.org>
5024 * text3.C: rename the refreshing stuff to better names
5026 2003-03-24 John Levon <levon@movementarian.org>
5028 * BufferView_pimpl.h:
5029 * BufferView_pimpl.C: update layout choice on a mouse
5032 2003-03-23 John Levon <levon@movementarian.org>
5034 * Makefile.am: fix commandtags.h reference
5036 2003-03-22 John Levon <levon@movementarian.org>
5038 * BufferView_pimpl.C:
5043 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5045 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5048 * text.C: take the rtl methods out of line
5050 2003-03-21 André Pönitz <poenitz@gmx.net>
5052 * metricsinfo.[Ch]: new files containing structures to be passed around
5053 during the two-phase-drawing...
5055 2003-03-21 André Pönitz <poenitz@gmx.net>
5057 * lyxtextclass.C: read 'environment' tag.
5059 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5061 * text2.C (removeRow): fix bug 964
5063 2003-03-20 John Levon <levon@movementarian.org>
5067 * text2.C: paint cleanups. Inset::update() dropped font
5070 2003-03-19 John Levon <levon@movementarian.org>
5072 * lyxfunc.C: only fitcursor/markDirty if available()
5074 2003-03-19 John Levon <levon@movementarian.org>
5076 * commandtags.h: rename to ...
5078 * lfuns.h: ... this, and renumber / cleanup
5080 2003-03-19 John Levon <levon@movementarian.org>
5082 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5083 fit the cursor after an lfun
5087 * BufferView_pimpl.h:
5088 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5090 * LyXAction.C: layout-character should have ReadOnly
5092 * ParagraphParameters.C:
5094 * bufferview_funcs.C:
5101 * undo_funcs.C: changes from above
5103 2003-03-18 John Levon <levon@movementarian.org>
5105 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5106 remove it from update()
5108 * lyxfunc.C: update layout choice after an lfun
5110 * text3.C: remove extra updateLayoutChoice()s
5112 2003-03-18 John Levon <levon@movementarian.org>
5114 * text.C: top_y change means full repaint, fix
5115 a drawing bug with cursor movement
5117 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5121 * text2.C: anchor row on setCursor
5123 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5125 * lyxtext.h: remove almost all mutable keywords
5128 * text3.C: remove const keywords accordingly
5130 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5132 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5134 (TeXEnvironment): ditto
5137 2003-03-17 John Levon <levon@movementarian.org>
5139 * text.C (rowBreakPoint): remove attempt to fix displayed
5140 math insets inside a manual label
5142 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5144 * lyxtext.h: remove BufferView* as first arg from almost all class
5146 * other files: adjust.
5148 2003-03-17 John Levon <levon@movementarian.org>
5152 * text2.C: more paint cleanups
5154 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5157 * rowpainter.C: remove "smart" background painting code
5159 2003-03-16 John Levon <levon@movementarian.org>
5164 * text3.C: add helper functions for setting refresh_row/y
5166 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5168 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5169 newline inset which *can* get inserted in the pass_thru layouts.
5170 This is primarily for literate documents.
5172 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5174 * buffer.C: increment LYX_FORMAT to 223
5176 2003-03-14 André Pönitz <poenitz@gmx.net>
5178 * textclass.h: prepare for environment handling, ws changes
5179 * lyxlayout.C: read latexheader and latexfooter tags
5181 2003-03-14 John Levon <levon@movementarian.org>
5183 * text2.C: rewrite ::status() a bit
5185 2003-03-13 John Levon <levon@movementarian.org>
5187 * lyxtext.h: add some docs
5189 2003-03-13 John Levon <levon@movementarian.org>
5194 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5196 2003-03-13 John Levon <levon@movementarian.org>
5198 * text3.C: fix appendix redrawing
5200 2003-03-13 John Levon <levon@movementarian.org>
5202 * text.C (setHeightOfRow):
5204 * rowpainter.C: make appendix mark have the text
5205 "Appendix" so the user knows what it is
5208 * LColor.C: s/appendixline/appendix/ from above
5210 2003-03-13 John Levon <levon@movementarian.org>
5212 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5214 * text.C: fix a getChar(pos) bug properly
5216 2003-03-13 Angus Leeming <leeming@lyx.org>
5219 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5220 Probably only temporary. Let's see how things pan out.
5222 * BufferView.C (unlockInset):
5223 * BufferView_pimpl.C (fitCursor):
5224 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5226 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5227 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5229 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5230 new functions that convert ParagraphParameters to and from a string.
5232 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5233 BufferView::Pimpl's dispatch.
5234 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5236 2003-03-13 André Pönitz <poenitz@gmx.net>
5240 * factory.C: make it aware of InsetEnv
5242 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5244 * text2.C (setCursor): never ask for one past last
5245 (setCursor): add some debugging messages.
5247 * text.C (singleWidth): never ask for one past last
5248 (singleWidth): ditto
5250 (rightMargin): ditto
5251 (rowBreakPoint): ditto
5252 (setHeightOfRow): ditto
5253 (prepareToPrint): ditto
5255 * rowpainter.C (paintBackground): never ask for one past last
5256 (paintText): never ask for one past last
5258 * paragraph_pimpl.C (getChar): make the assert stricter, never
5259 allow the one past last pos to be taken
5261 * paragraph.C (getChar): ws changes only
5263 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5264 (numberOfSeparators): ditto
5265 (numberOfHfills): ditto
5267 2003-03-12 John Levon <levon@movementarian.org>
5273 * paragraph_funcs.C: fix per-buffer authorlists
5275 2003-03-12 John Levon <levon@movementarian.org>
5277 * text.C: fix newline in right address
5279 2003-03-12 Angus Leeming <leeming@lyx.org>
5281 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5282 duplicate those in LyXFunc::dispatch.
5286 * ToolbarDefaults.C:
5287 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5288 Add LFUN_FONTFREE_UPDATE.
5290 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5291 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5293 * bufferview_func.[Ch]: several new functions to facilliate
5294 transfer of data to and from the character dialog.
5296 2003-03-12 John Levon <levon@movementarian.org>
5301 * paragraph_funcs.C:
5302 * paragraph_pimpl.C:
5306 * text3.C: remove META_NEWLINE in favour of an inset
5309 * rowpainter.C: remove paintNewline (done by inset)
5311 2003-03-12 John Levon <levon@movementarian.org>
5313 * paragraph_pimpl.C: complain about bad getChar()s
5314 for a while at least
5316 2003-03-12 John Levon <levon@movementarian.org>
5319 * buffer.C: move paragraph read into a separate function,
5320 a little renaming to reflect that.
5323 * bufferparams.C: remove the author_ids map, not necessary now
5326 * factory.C: moved Buffer::readInset to here
5328 * paragraph_funcs.h:
5329 * paragraph_funcs.C: readParagraph free function moved from
5332 * tabular.C: name change
5334 2003-03-12 John Levon <levon@movementarian.org>
5337 * ParagraphParameters.C: move par params input to
5340 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5341 behave like a normal read from the stream wrt reading
5342 a line vs. a \\token
5344 2003-03-12 John Levon <levon@movementarian.org>
5347 * ParagraphParameters.h:
5348 * ParagraphParameters.C: move output code to a
5351 2003-03-12 John Levon <levon@movementarian.org>
5353 * BufferView.C (insertLyXFile):
5356 * tabular.C: use a parlist iterator for creating the
5359 2003-03-12 John Levon <levon@movementarian.org>
5361 * buffer.C: make current_change static local not
5364 2003-03-12 John Levon <levon@movementarian.org>
5366 * buffer.C: fix insertStringAsLines for change tracking
5368 2003-03-12 John Levon <levon@movementarian.org>
5375 * bufferparams.C: move author list into params. Rename some
5376 functions. Move the header reading into a separate token
5377 loop. Move the header token reading into BufferParams.
5379 2003-03-12 John Levon <levon@movementarian.org>
5381 * changes.C: put debug inside lyxerr.debugging() checks
5383 2003-03-11 André Pönitz <poenitz@gmx.net>
5385 * factory.C: make it aware of InsetHFill
5387 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5389 * buffer.C (latexParagraphs): move function from here...
5390 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5393 2003-03-10 Angus Leeming <leeming@lyx.org>
5395 * LyXAction.C (init): fix bug in poplating array with multiple entries
5396 with the same LFUN (spotted by JMarc).
5398 2003-03-10 John Levon <levon@movementarian.org>
5401 * text2.C: move getColumnNearX() near its
5404 2003-03-10 John Levon <levon@movementarian.org>
5406 * text.C: fix break before a minipage
5408 2003-03-10 John Levon <levon@movementarian.org>
5410 * text.C: fix the last commit
5412 2003-03-09 John Levon <levon@movementarian.org>
5416 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5417 bug 365 (don't break before insets unless needed). Don't
5418 return a value > last under any circumstances.
5420 2003-03-09 Angus Leeming <leeming@lyx.org>
5422 * BufferView_pimpl.C (trackChanges, dispatch): call
5423 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5425 2003-03-09 Angus Leeming <leeming@lyx.org>
5427 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5428 than Dialogs::showAboutlyx().
5430 2003-03-09 Angus Leeming <leeming@lyx.org>
5432 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5433 than Dialogs::showTabularCreate().
5435 2003-03-09 John Levon <levon@movementarian.org>
5439 * text2.C: 3rd arg to nextBreakPoint was always the same.
5442 2003-03-08 John Levon <levon@movementarian.org>
5449 * text2.C: Remove the "main" bit from the "main body"
5452 2003-03-08 John Levon <levon@movementarian.org>
5454 * text.C (leftMargin): The left margin of an empty
5455 manual label paragraph should not include the label width
5458 * text.C (prepareToPrint): don't attempt to measure hfills
5459 for empty manual label paragraphs - the answer should be 0
5461 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5463 * CutAndPaste.C: remove commented code and reindent.
5465 2003-03-08 John Levon <levon@movementarian.org>
5468 * lyxfunc.C: move reloadBuffer()
5471 * BufferView.C: to here
5473 * lyxvc.C: add comment
5476 * vc-backend.C: call bv->reload() to avoid
5477 getStatus() check on MENURELOAD
5479 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5481 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5482 to an old format .dep file.
5484 2003-03-07 Angus Leeming <leeming@lyx.org>
5486 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5487 when the LFUN_MOUSE_RELEASE should have been handled by
5488 inset->localDispatch.
5490 2003-03-07 Angus Leeming <leeming@lyx.org>
5492 * BufferView_pimpl.C (dispatch):
5493 * LyXAction.C (init):
5494 * ToolbarDefaults.C (init):
5496 * lyxfunc.C (getStatus):
5497 remove LFUN_INSET_GRAPHICS.
5499 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5501 2003-03-07 Angus Leeming <leeming@lyx.org>
5504 * LyXAction.C (init):
5505 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5507 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5510 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5512 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5513 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5515 2003-03-07 Angus Leeming <leeming@lyx.org>
5517 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5520 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5522 * ParagraphList.C (front): new function
5525 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5527 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5528 and top_row_offset_. removed var first_y.
5530 * text2.C (LyXText, removeRow):
5532 * BufferView_pimpl.C:
5533 use these methods instead of using first_y
5535 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5537 * text2.C (pasteSelection): adjust for checkPastePossible
5539 * CutAndPaste.C: remove Paragraph * buf and replace with
5540 ParagraphList paragraphs.
5541 (DeleteBuffer): delete
5542 (cutSelection): change the tc type to textclass_type
5543 (copySelection): change the tc type to textclass_type
5544 (copySelection): adjust for ParagraphList
5545 (pasteSelection): change the tc type to textclass_type
5546 (pasteSelection): adjust for Paragraphlist
5547 (nrOfParagraphs): simplify for ParagraphList
5548 (checkPastePossible): simplify for ParagraphList
5549 (checkPastePossible): remove unused arg
5551 * ParagraphList.C (insert): handle the case where there are no
5554 * CutAndPaste.h: make CutAndPaste a namespace.
5556 * text3.C (dispatch): adjust
5558 * text.C (breakParagraph): add a ParagraphList as arg
5560 * paragraph_funcs.C (breakParagraph): change to take a
5561 BufferParams and a ParagraphList as args.
5562 (breakParagraphConservative): ditto
5563 (mergeParagraph): ditto
5564 (TeXDeeper): add a ParagraphList arg
5565 (TeXEnvironment): ditto
5568 * buffer.C (readLyXformat2): adjust
5569 (insertStringAsLines): adjust
5570 (latexParagraphs): adjust
5572 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5573 (cutSelection): adjust
5574 (pasteSelection): adjust
5576 * BufferView_pimpl.C (insertInset): adjust
5578 2003-03-05 Angus Leeming <leeming@lyx.org>
5581 * LyXAction.C (init):
5582 * BufferView_pimpl.C (dispatch):
5583 * lyxfunc.C (getStatus):
5584 remove LFUN_CHILD_INSERT.
5586 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5588 2003-03-05 Angus Leeming <leeming@lyx.org>
5591 * LyXAction.C (init):
5592 * src/factory.C (createInset):
5593 * lyxfunc.C (getStatus):
5594 * text3.C (dispatch):
5595 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5597 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5599 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5601 * ParagraphList.C (insert): handle insert right before end()
5602 (erase): fix cases where it can be first or last paragraph.
5604 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5606 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5607 Paragraph::next and Paragraph::previous
5610 * text.C (breakParagraph): adjust
5612 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5613 BufferParams& as arg.
5614 (breakParagraph): use ParagraphList::insert
5615 (breakParagraphConservative): take a Buffer* instead of a
5616 BufferParams& as arg.
5617 (breakParagraphConservative): use ParagraphList::insert.
5619 * buffer.C (insertStringAsLines): un-const it
5620 (insertStringAsLines): adjust
5622 * ParagraphList.C (insert): new function
5624 * CutAndPaste.C (pasteSelection): adjust
5626 * text.C (backspace): adjust
5628 * tabular.C (SetMultiColumn): adjust
5630 * CutAndPaste.C (cutSelection): adjust
5631 (pasteSelection): adjust
5633 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5634 Buffer const * as arg
5636 * ParagraphList.C (erase): new function
5637 * paragraph_funcs.C (mergeParagraph): use it
5638 (mergeParagraph): make it take a Buffer* instead of a
5639 BufferParams* as arg
5641 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5643 (breakParagraphConservative): ditto
5645 * paragraph.h: remove the breakParagraph friend
5647 * paragraph.C (eraseIntern): new function
5648 (setChange): new function
5650 * paragraph_funcs.C (mergeParagraph): make it take a
5651 ParagraphList::iterator instead of a Paragraph *, adjust
5654 * paragraph.h: move an #endif so that the change tracking stuff
5655 also works in the NO_NEXT case.
5657 2003-03-04 Angus Leeming <leeming@lyx.org>
5660 * LyXAction.C: new LFUN_INSET_MODIFY.
5662 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5663 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5665 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5667 * several files: ws changes only
5669 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5670 (TeXEnvironment): ditto
5673 * buffer.C (makeLaTeXFile): adjust
5674 (latexParagraphs): make it take ParagraphList::iterator as args
5676 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5678 * buffer.C (latexParagraphs): adjust
5680 * paragraph.C (TeXOnePar): move function...
5681 (optArgInset): move function...
5682 (TeXEnvironment): move function...
5683 * paragraph_pimpl.C (TeXDeeper): move function...
5684 * paragraph_funcs.C: ...here
5686 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5688 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5690 * buffer.C (readInset): remove compability code for old Figure and
5693 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5695 * buffer.C: ws changes
5698 * BufferView_pimpl.C: ditto
5701 * bufferlist.h: ditto
5705 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5707 * converter.[Ch]: split into itself +
5710 * Makefile.am: += graph.[Ch] + format.[Ch]
5717 * lyxrc.C: added #include "format.h"
5719 2003-02-27 Angus Leeming <leeming@lyx.org>
5721 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5724 * factory.C (createInset): add "label" to the factory.
5726 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5727 string and do no more.
5729 2003-02-27 Angus Leeming <leeming@lyx.org>
5732 * LyXAction.C (init):
5733 * factory.C (createInset):
5734 * BufferView_pimpl.C (dispatch):
5735 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5737 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5739 * lyxfunc.C (dispatch):
5740 * text3.C (dispatch): pass name to params2string.
5742 2003-02-26 Angus Leeming <leeming@lyx.org>
5744 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5746 Rearrange the ~includes. Strip out the unnecessary ones.
5748 * factory.C (createInset): reformat.
5749 create new insets for the various LFUN_XYZ_APPLY lfuns.
5751 2003-02-26 John Levon <levon@movementarian.org>
5754 * lyxrow.C: add isParStart,isParEnd helpers
5756 * paragraph.h: make isInserted/DeletedText take refs
5758 * paragraph_funcs.h:
5759 * paragraph_funcs.C: remove #if 0'd code
5764 * text.C: use lyxrow helpers above.
5765 Move draw and paint routines to RowPainter.
5766 Make several methods use refs not pointers.
5767 Make backgroundColor() const.
5768 Add markChangeInDraw(), isInInset().
5769 Merge changeRegionCase into changeCase.
5770 Make workWidth() shouldn't-happen code into an Assert.
5773 * rowpainter.C: new class for painting a row.
5776 * vspace.C: make inPixels take a ref
5778 2003-02-26 Angus Leeming <leeming@lyx.org>
5780 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5783 2003-02-25 John Levon <levon@movementarian.org>
5785 * ispell.C: give the forked command a more accurate name
5787 2003-02-22 John Levon <levon@movementarian.org>
5790 * toc.C: make TocItem store an id not a Paragraph *
5793 2003-02-21 Angus Leeming <leeming@lyx.org>
5795 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5796 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5797 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5798 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5799 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5800 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5802 * BufferView_pimpl.C (dispatch):
5803 * LyXAction.C (init):
5804 * factory.C (createInset):
5805 * lyxfunc.C (getStatus, dispatch):
5806 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5808 2003-02-21 Angus Leeming <leeming@lyx.org>
5810 * BufferView_pimpl.C (MenuInsertLyXFile):
5811 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5812 * lyxfunc.C (menuNew, open, doImport):
5813 no longer pass a LyXView & to fileDlg.
5815 2003-02-21 Angus Leeming <leeming@lyx.org>
5817 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5818 * LyXAction.C: change, BIBKEY to BIBITEM.
5819 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5820 Change InsetBibKey to InsetBibitem.
5821 Change BIBKEY_CODE to BIBITEM_CODE.
5822 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5823 * factory.C: replace insetbib.h with insetbibitem.h.
5824 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5825 * paragraph.C: replace insetbib.h with insetbibitem.h.
5826 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5827 Change bibkey() to bibitem().
5828 * text.C: remove insetbib.h.
5829 * text2.C: replace insetbib.h with insetbibitem.h.
5830 change bibkey() to bibitem().
5831 * text3.C: remove insetbib.h.
5832 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5834 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5836 * lyxrc.C (output): enclose user email in quotes (in case there are
5839 2003-02-18 John Levon <levon@movementarian.org>
5841 * buffer.h: add std::
5843 2003-02-17 John Levon <levon@movementarian.org>
5849 * pspell.C: reworking. Especially in ispell, a large
5850 number of clean ups and bug fixes.
5852 * lyxfunc.C: fix revert to behave sensibly
5854 2003-02-17 André Pönitz <poenitz@gmx.net>
5857 * commandtags.h: new LFUN_INSERT_BIBKEY
5867 * paragraph_func.C: remove special bibkey handling
5869 2003-02-17 John Levon <levon@movementarian.org>
5871 * text.C (Delete): fix case where delete at the end of
5872 the very first paragraph would not merge the pars
5874 2003-02-17 John Levon <levon@movementarian.org>
5876 * lyxrow.C: fix lastPrintablePos()
5878 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5880 * bufferparams.C (writeLaTeX): add a std:here
5882 * buffer.C: and remove a using directive there
5884 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5886 * buffer.C (makeLaTeXFile): move the code that generates the
5889 * bufferparams.C (writeLaTeX): ... in this new method
5891 * LaTeXFeatures.C (getEncodingSet): make const
5892 (getLanguages): make const
5894 * MenuBackend.C (binding): returns the binding associated to this
5896 (add): sets the status of each item by calling getStatus. Adds
5898 (read): add support for OptSubMenu
5899 (expand): remove extra separator at the end of expanded menu
5901 2003-02-15 John Levon <levon@movementarian.org>
5904 * BufferView_pimpl.C:
5906 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5907 inset code that had no actual effect. Remove unneeded status
5910 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5912 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5915 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5917 * text.C (drawLengthMarker): also draw an arrow marker for
5918 symbolic lengths (medskip...)
5920 2003-02-14 John Levon <levon@movementarian.org>
5923 * tabular.C: better method names
5925 2003-02-14 John Levon <levon@movementarian.org>
5927 * BufferView_pimpl.C:
5932 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5933 it's a more accurate name. Remove some pointless uses.
5935 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5937 * text2.C (LyXText): change order of initilizers to shut off
5940 2003-02-14 John Levon <levon@movementarian.org>
5942 * buffer.C: use ParIterator for getParFromID()
5946 * paragraph_pimpl.h:
5947 * paragraph_pimpl.C: remove unused getParFromID()
5949 2003-02-14 John Levon <levon@movementarian.org>
5951 * buffer.C: remove some very old #if 0'd parse code
5953 2003-02-13 John Levon <levon@movementarian.org>
5957 * text2.C: move hfillExpansion(), numberOfSeparators(),
5958 rowLast(), rowLastPrintable(), numberofHfills(),
5959 numberOfLabelHfills() ...
5962 * lyxrow.C: ... to member functions here.
5967 * text.C: remove LyXText::beginningOfMainBody(), and call
5968 p->beginningOfMainBody() directly. Move the check for
5969 LABEL_MANUAL into the latter.
5976 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5982 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5983 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5985 2003-02-13 John Levon <levon@movementarian.org>
5987 * CutAndPaste.C: remove debug
5989 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5991 * paragraph.C (asString): remove two unused variables
5993 * lyxtextclass.C (readTitleType):
5995 (LyXTextClass): handle new members titletype_ and titlename_
5997 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5999 2003-02-09 John Levon <levon@movementarian.org>
6002 * buffer.C: replace hand-coded list with a map for the dep clean
6004 2003-02-08 John Levon <levon@movementarian.org>
6006 * LaTeX.C: consolidate code into showRunMessage() helper
6008 2003-02-08 John Levon <levon@movementarian.org>
6013 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6014 and pass the size in explicitly
6016 * BufferView_pimpl.h:
6017 * BufferView_pimpl.C:
6019 * BufferView.C: add getCurrentChange()
6021 * BufferView_pimpl.h:
6022 * BufferView_pimpl.C: handle change lfuns
6024 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6025 for changes. Mark pasted paragraphs as new.
6027 * support/lyxtime.h:
6028 * support/lyxtime.C:
6029 * DepTable.C: abstract time_t as lyx::time_type
6032 * LColor.C: add colours for new text, deleted text, changebars
6034 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6035 package use "usenames" option.
6039 * LyXAction.C: add change lfuns
6043 * author.C: author handling
6046 * buffer.C: add a per-buffer author list, with first entry as
6047 current author. Handle new .lyx tokens for change tracking. Output
6048 author list to .lyx file. Output dvipost stuff to .tex preamble.
6049 Bump lyx format to 222.
6052 * bufferlist.C: add setCurrentAuthor() to reset current author details
6056 * bufferparams.C: add param for tracking
6058 * bufferview_funcs.C: output change info in minibuffer
6062 * changes.C: add change-tracking structure
6065 * debug.C: add CHANGES debug flag
6068 * lyxfind.C: add code for finding the next change piece
6071 * lyxrc.C: add user_name and user_email
6074 * lyxrow.C: add a metric for the top of the text line
6077 * text.C: implement accept/rejectChange()
6080 * text.C: paint changebars. Paint new/deleted text in the chosen
6081 colours. Strike through deleted text.
6085 * paragraph_pimpl.h:
6086 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6087 in the current change to the insert functions. Rework erase to
6088 mark text as deleted, adding an eraseIntern() and a range-based
6089 erase(). Implement per-paragraph change lookup and
6092 * paragraph_funcs.C: Fixup paste for change tracking.
6094 * tabular.C: mark added row/columns as new.
6096 * text.C: fix rowLast() to never return -1. Don't allow
6097 spellchecking of deleted text. Track transpose changes. Don't
6098 allow paragraph break or merge where appropriate.
6100 * text2.C: leave cursor at end of selection after a cut.
6102 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6104 * text.C (getLengthMarkerHeight):
6105 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6106 visible on screen too.
6108 2003-02-07 John Levon <levon@movementarian.org>
6110 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6112 2003-02-05 Angus Leeming <leeming@lyx.org>
6114 * lyxserver.C (read_ready): revert my patch of 11 September last year
6115 as it sends PC cpu through the roof. Presumably this means that
6116 the lyxserver will no longer run on an Alpha...
6118 2003-01-30 Angus Leeming <leeming@lyx.org>
6120 * factory.C (createInset): create an InsetCommandParam of type "index"
6121 and use it to 'do the right thing'.
6123 * text2.C (getStringToIndex): ensure that cursor position is always
6124 reset to the reset_cursor position.
6126 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6128 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6131 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6135 * lyxfunc.C: Output messages with identical spelling, punctuation,
6138 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6140 * MenuBackend.C (expandFormats): List only viewable export formats
6143 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6146 * lyxfunc.C (getStatus): Make sure that formats other than
6147 "fax" can also be disabled
6149 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6151 * text3.C (dispatch): put the lfuns that insert insets in 3
6152 groups, and call doInsertInset with appropriate arguments.
6153 (doInsertInset): new function, that creates an inset and inserts
6154 it according to some boolean parameters.
6156 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6158 * buffer.C (readFile): remember to pass on 'par' when calling
6159 readFile recursively.
6161 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6163 * MenuBackend.C (expandFormats): add "..." to import formats.
6165 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6167 * paragraph.C (asString): Remove XForms RTL hacks.
6169 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6170 * buffer.C: fix typo
6172 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6174 * Makefile.am (LIBS): delete var
6175 (lyx_LDADD): add @LIBS@ here instead.
6177 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6179 * Clarify the meaning of "wheel mouse jump"
6181 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6183 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6186 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6188 * importer.C (Loaders): do not preallocate 3 elements in the
6189 vector, since one ends up with 6 elements otherwise
6191 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6193 * DepTable.C (write): write the file name as last element of the
6194 .dep file (because it may contain spaces)
6195 (read): read info in the right order
6197 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6199 * paragraph_pimpl.C (simpleTeXBlanks):
6200 (simpleTeXSpecialChars):
6201 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6203 * tabular.C (latex): add some missing case statements. Reindent.
6205 * MenuBackend.C (expandToc): remove unused variable.
6207 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6216 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6219 2003-01-05 John Levon <levon@movementarian.org>
6222 * BufferView.C: add getEncoding()
6225 * kbsequence.C: do not store last keypress
6228 * lyxfunc.C: store last keypress here instead. Pass encoding
6231 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6233 * lyx_main.C (init): remove annoying error message when following
6234 symbolic links (bug #780)
6236 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6238 * text.C (insertChar):
6239 * lyxrc.C (getDescription): remove extra spaces
6241 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6243 * lyxrc.C (getDescription): remove extra spaces
6245 2002-12-20 John Levon <levon@movementarian.org>
6247 * text3.C: hack fix for page up/down across tall rows
6249 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6251 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6254 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6256 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6257 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6258 thesaurus is not compiled in
6260 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6262 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6264 2002-12-16 Angus Leeming <leeming@lyx.org>
6267 * lyx_main.C (init): remove override_x_deadkeys stuff.
6269 2002-12-12 John Levon <levon@movementarian.org>
6271 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6272 insert. Only remove shift modifier under strict
6275 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6277 * MenuBackend.C (expandToc): fix crash.
6279 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6281 * MenuBackend.C (expandToc): gettext on float names.
6283 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6285 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6286 implement bool empty() [bug 490]
6288 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6290 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6292 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6294 * several files: ws changes
6296 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6298 * text2.C (setCounter): clean up a bit, use boost.format.
6299 (updateCounters): initialize par upon declaration.
6301 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6302 if the layout exists. We do not just store the layout any more.
6303 (SwitchLayoutsBetweenClasses): use boost.format
6305 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6307 * converter.C (convert): if from and to files are the same, use a
6308 temporary files as intermediary
6310 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6313 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6315 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6317 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6319 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6321 * tabular.C (asciiPrintCell): use string(size, char) instead of
6324 * sgml.C (openTag): fix order of arguments to string constructor
6327 * lyxfunc.C (dispatch): use boost.format
6329 * lots of files: change "c" -> 'c'
6331 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6333 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6335 2002-11-25 Angus Leeming <leeming@lyx.org>
6337 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6339 * lyx_main.C (init): compile fix.
6341 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6343 * lyx_cb.C (start): boost.formatify
6344 do not include <iostream>
6346 * lengthcommon.C: ws only
6348 * boost-inst.C,BoostFormat.h: add more explict instantations
6350 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6352 * lots of files: handle USE_BOOST_FORMAT
6354 2002-11-21 John Levon <levon@movementarian.org>
6356 * pspell.C: fix compile
6358 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6360 * lyxfunc.C (dispatch): use boost::format
6364 * lyxfont.C (stateText): use boost::format
6366 * lyx_main.C (LyX): use boost::format
6368 (queryUserLyXDir): ditto
6371 (typedef boost::function): use the recommened syntax.
6373 * importer.C (Import): use boost::format
6375 * debug.C (showLevel): use boost::format
6377 * converter.C (view): use boost::format
6382 * bufferview_funcs.C (currentState): use boost::format
6384 * bufferlist.C (emergencyWrite): use boost::format
6386 * buffer.C (readLyXformat2): use boost::format
6387 (parseSingleLyXformat2Token): ditto
6389 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6391 * LaTeX.C (run): use boost::format
6393 * Chktex.C (scanLogFile): use boost::format
6395 * BufferView_pimpl.C (savePosition): use boost::format
6396 (restorePosition): ditto
6397 (MenuInsertLyXFile): ditto
6399 * BoostFormat.h: help file for explicit instation.
6401 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6403 * tabular.C (latex): Support for block alignment in fixed width
6406 2002-11-17 John Levon <levon@movementarian.org>
6408 * BufferView_pimpl.C:
6410 * lyxfunc.C: split filedialog into open/save
6412 2002-11-08 Juergen Vigna <jug@sad.it>
6414 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6415 by my last patch (hopefully).
6417 2002-11-08 John Levon <levon@movementarian.org>
6426 * toc.C: ParConstIterator, and use it (from Lars)
6428 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6430 * lyxtextclass.[Ch]: revise and add doxygen comments
6432 2002-11-07 John Levon <levon@movementarian.org>
6434 * text.C: fix progress value for spellchecker
6436 * toc.C: fix navigate menu for insetwrap inside minipage
6438 * paragraph_funcs.C: added FIXME for suspect code
6440 2002-11-07 John Levon <levon@movementarian.org>
6442 * BufferView_pimpl.C: fix redrawing of insets
6445 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6447 * text2.C (updateCounters): fix bug 668
6449 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6451 * text3.C (dispatch): Do not make the buffer dirty when moving the
6454 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6456 * vc-backend.C: STRCONV
6459 * text2.C (setCounter): STRCONV
6461 * paragraph.C (asString): STRCONV
6463 * lyxlength.C (asString): STRCONV
6464 (asLatexString): ditto
6466 * lyxgluelength.C (asString): STRCONV
6467 (asLatexString): ditto
6469 * lyxfunc.C (dispatch): STRCONV
6472 * lyxfont.C (stateText): STRCONV
6474 * importer.C (Import): STRCONV
6476 * counters.C (labelItem): STRCONV
6477 (numberLabel): ditto
6478 (numberLabel): remove unused ostringstream o
6483 * bufferview_funcs.C (currentState): STRCONV
6485 * buffer.C (readFile): STRCONV
6486 (asciiParagraph): ditto
6487 (makeLaTeXFile): ditto
6489 * Spacing.C (writeEnvirBegin): STRCONV
6491 * LaTeXFeatures.C (getLanguages): STRCONV
6492 (getPackages): ditto
6494 (getBabelOptions): ditto
6495 (getTClassPreamble): ditto
6496 (getLyXSGMLEntities): ditto
6497 (getIncludedFiles): ditto
6501 (scanAuxFile): ditto
6504 * LString.h: add the STRCONV macros
6506 * BufferView_pimpl.C (savePosition): STRCONV
6507 (restorePosition): ditto
6508 (MenuInsertLyXFile): ditto
6510 * vc-backend.C (scanMaster): change from submatch[...] to
6513 * funcrequest.C: include config.h
6515 * factory.C: include config.h
6517 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6519 * box.C: include config.h
6521 * LaTeX.C (scanAuxFile): change from submatch[...] to
6525 2002-10-25 Angus Leeming <leeming@lyx.org>
6527 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6529 * ispell.[Ch] (setError): new method.
6530 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6531 Use setError() insetead of goto END.
6533 * lyx_cb.C (AutoSave): move out child process into new class
6536 2002-10-30 John Levon <levon@movementarian.org>
6538 * text3.C: make start appendix undoable
6540 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6542 * lyxlength.C (inPixels): Fix returned value.
6544 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6547 2002-10-24 Angus Leeming <leeming@lyx.org>
6549 * lyxgluelength.h: no need to forward declare BufferParams
6550 or BufferView, so don't.
6552 2002-10-21 John Levon <levon@movementarian.org>
6554 * BufferView.C: menuUndo ->undo, redo
6556 * BufferView.h: document, remove dead, make some methods private
6558 * paragraph_funcs.h:
6559 * paragraph_funcs.C:
6560 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6565 * sgml.C: move sgml open/close tag into sgml.C
6567 * bufferview_funcs.h: unused prototype
6570 * lyxfunc.C: remove unused
6573 * text.C: remove unused
6575 2002-10-21 John Levon <levon@movementarian.org>
6579 * BufferView_pimpl.h:
6580 * BufferView_pimpl.C: fix mouse wheel handling based on
6581 patch from Darren Freeman
6583 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6585 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6587 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6589 * lyxlength.C (inPixels): Fix hanfling of negative length.
6590 Fix LyXLength::MU case.
6592 2002-10-16 John Levon <levon@movementarian.org>
6594 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6596 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6598 * converter.C (view): add support for $$i (file name) and $$p
6599 (file path) for the viewer command. If $$i is not specified, then
6600 it is appended to the command (for compatibility with old syntax)
6602 2002-10-14 Juergen Vigna <jug@sad.it>
6604 * undo_funcs.C (textHandleUndo): alter the order in which the
6605 new undopar is added to the LyXText, as we have to set first
6606 the right prev/next and then add it as otherwise the rebuild of
6607 LyXText is not correct. Also reset the cursor to the right paragraph,
6608 with this IMO we could remove the hack in "redoParagraphs()".
6610 2002-10-09 Angus Leeming <leeming@lyx.org>
6612 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6613 to turn off an optimisation if a new inset is to be inserted.
6615 2002-10-11 André Pönitz <poenitz@gmx.net>
6617 * lyxtext.h: make some functions public to allow access
6618 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6620 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6622 * text3.C (dispatch): when changing layout, avoid an infinite loop
6625 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6627 * lyxrc.C (read): treat a viewer or converter command of "none" as
6630 * MenuBackend.C (expandFormats): for an update, also allow the
6631 formats that are not viewable
6633 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6634 script if it is newer than the lyxrc.defaults in user directory
6636 2002-10-07 André Pönitz <poenitz@gmx.net>
6638 * text.C: Vitaly Lipatov's small i18n fix
6640 2002-09-25 Angus Leeming <leeming@lyx.org>
6642 * ispell.h: doxygen fix.
6644 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6646 * buffer.h (readFile): Add a new argument to the method, to allow
6647 reading of old-format templates.
6649 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6651 * toc.C (getTocList): Get TOC from InsetWrap.
6653 2002-09-16 John Levon <levon@movementarian.org>
6655 * lyxfunc.C: check tabular for cut/copy too
6657 2002-09-12 John Levon <levon@movementarian.org>
6662 * factory.C: add header
6664 * paragraph_funcs.h:
6665 * paragraph_funcs.C: cleanup
6667 2002-09-11 John Levon <levon@movementarian.org>
6669 * PrinterParams.h: odd/even default to true
6671 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6673 * PrinterParams.h: update printer parameters for new xforms dialog
6675 2002-09-11 Angus Leeming <leeming@lyx.org>
6677 * lyxserver.C (read_ready): re-write to make it more transparent
6678 and to make it work in coherent fashion under Tru64 Unix.
6680 2002-09-11 André Pönitz <poenitz@gmx.net>
6684 * text3.C: implement LFUN_WORDSEL
6686 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6688 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6689 make floatlist_ a boost::shared_ptr<FloatList>
6691 * lyxtextclass.C: include FloatList.h
6692 (LyXTextClass): initialize floatlist_
6693 (TextClassTags): add TC_NOFLOAT
6694 (Read): match "nofloat" to TC_NOFLOAT and use it.
6695 (readFloat): modify call to floatlist_
6699 * FloatList.[Ch] (FloatList): remove commented out float
6701 (erase): new function
6703 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6705 * MenuBackend.C (expandToc): fix crash when there is no document
6708 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6710 * many files: Add insetwrap.
6712 2002-09-09 John Levon <levon@movementarian.org>
6714 * text2.C: remove confusing and awkward depth wraparound
6716 2002-09-09 John Levon <levon@movementarian.org>
6718 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6721 * buffer.C: remove getIncludeonlyList()
6724 * lyxfunc.C: remove headers
6726 2002-09-09 Juergen Vigna <jug@sad.it>
6728 * text.C (getColumnNearX): fix form Michael this is most
6729 probably a cut&paste bug.
6731 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6733 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6735 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6736 references, ws changes.
6738 * text2.C (init): update counters after init
6739 (insertParagraph): no need to set counter on idividual paragraphs.
6740 (setCounter): access the counters object in the textclass object
6741 on in the buffer object.
6742 (updateCounters): ditto
6744 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6745 shared_ptr<Counters> to avoid loading counters.h in all
6747 (LyXTextClass): initialize ctrs_
6748 (TextClassTags): add TC_COUNTER, and ...
6749 (Read): use it here.
6750 (CounterTags): new tags
6751 (readCounter): new function
6752 (counters): new funtion
6753 (defaultLayoutName): return a const reference
6755 * counters.C (Counters): remove contructor
6756 (newCounter): remove a couple of unneeded statements.
6757 (newCounter): simplify a bit.
6758 (numberLabel): some small formatting changes.
6760 * buffer.[Ch]: remove all traces of counters, move the Counters
6761 object to the LyXTextClass.
6763 2002-09-06 Alain Castera <castera@in2p3.fr>
6765 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6766 package to set the horizontal alignment on fixed width columns.
6769 * lyx_sty.h: added tabularnewline macro def.
6771 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6773 2002-09-06 John Levon <levon@movementarian.org>
6775 * LyXAction.C: tooltips for sub/superscript
6777 * MenuBackend.C: a bit more verbose
6779 * lyxfunc.C: tiny clean
6781 * undo_funcs.C: document undo_frozen
6783 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6785 * counters.C (Counters): add missing algorithm counter.
6787 * text2.C (setCounter): lookup the counter with layouts latexname
6788 instead of by section number.
6789 (setCounter): use a hackish way to lookup the correct enum
6791 a float name->type change
6792 reset enum couners with counter name directly instead of depth value.
6794 * counters.C (Counters): remove the push_backs, change to use the
6795 float type not the float name.
6796 (labelItem): remove unused string, float name->type change
6798 * counters.h: don't include vector, loose the enums and sects vectors
6800 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6802 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6803 (Read): add float->TC_FLOAT to textclassTags
6804 (Read): and handle it in the switch
6805 (readFloat): new function
6807 * FloatList.C (FloatList): comment out the hardcoded float
6810 * lyxlayout.h: ws change.
6812 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6814 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6816 2002-09-03 Angus Leeming <leeming@lyx.org>
6818 * BufferView_pimpl.h: qualified name is not allowed in member
6819 declaration: WorkArea & Pimpl::workarea() const;
6821 * factory.C: added using std::endl directive.
6823 * text3.C: added using std::find and std::vector directives.
6825 2002-08-29 André Pönitz <poenitz@gmx.net>
6828 * text2.C: remove unused member number_of_rows
6831 * BufferView2.C: remove file, move contents to...
6832 * BufferView.C: ... here
6834 * BufferView_pimpl.C:
6835 * factory.C: move more inset creation to factory
6837 * vspace.C: avoid direct usage of LyXText, ws changes
6840 don't provide direct access to WorkArea, use two simple
6841 acessors haveSelction() and workHeight() instead
6844 2002-08-29 John Levon <levon@movementarian.org>
6846 * BufferView_pimpl.C (dispatch): do not continue when
6849 2002-08-28 André Pönitz <poenitz@gmx.net>
6851 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6854 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6856 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6858 * buffer.C: increment LYX_FORMAT to 221
6860 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6861 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6863 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6865 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6867 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6869 * factory.C (createInset): use LyXTextClass::floats
6871 * MenuBackend.C (expandFloatListInsert):
6872 (expandFloatInsert):
6875 * text2.C (setCounter):
6877 * LaTeXFeatures.C (useFloat):
6878 (getFloatDefinitions):
6880 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6882 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6883 floatlist_, with accessor floats().
6885 * FloatList.h: remove global FloatList
6887 2002-08-26 André Pönitz <poenitz@gmx.net>
6889 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6893 * BufferView_pimpl.C:
6894 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6896 2002-08-25 John Levon <levon@movementarian.org>
6898 * LyXAction.C: fix margin note description
6900 2002-08-24 John Levon <levon@movementarian.org>
6904 * bufferview_funcs.C:
6906 * undo_funcs.C: cleanups
6908 * lyxfunc.C: disable CUT/COPY when no selection
6910 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6912 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6913 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6915 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6916 Add backward compatibility to "mono", "gray" and "no".
6918 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6920 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6921 (and file_format >= 200).
6923 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6925 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6927 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6929 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6931 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6933 * BufferView_pimpl.C:
6940 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6941 inset and code to make it work with the paragraph code. The inset
6942 can be anywhere in the paragraph, but will only do the expected
6943 thing in LaTeX if the layout file contains the parameter line
6945 (or more generally, a nonzero value) for that layout.
6947 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6949 * paragraph.h: remove the declaration of undefined counters class
6952 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6954 * text2.C (setCounter): fixed enumeration mis-count as reported by
6955 Dr. Richard Hawkins.
6957 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6959 * paragraph_funcs.h: remove some unneeded includes
6961 * text.C (backspace): pasteParagraph now in global scipe
6963 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6964 (pasteSelection): ditto
6966 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6967 * paragraph_funcs.C (pasteParagraph): ... here
6969 2002-08-20 André Pönitz <poenitz@gmx.net>
6971 * commandtags.h: new LFUNs for swapping/copying table row/colums
6974 * lyxfunc.C: support for new lfuns
6976 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6979 * buffer.[Ch]: remove NO_COMPABILITY stuff
6981 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6983 * boost.C (throw_exception): new file, with helper function for
6984 boost compiled without exceptions.
6989 * ParameterStruct.h:
6990 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6992 * bufferlist.C (emergencyWriteAll): use boost bind
6994 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6996 * text.C: include paragraph_funcs.h
6997 (breakParagraph): breakParagraph is now in global scope
6999 * paragraph_funcs.[Ch]: new files
7001 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7004 * buffer.C: include paragraph_funcs.h
7005 (insertStringAsLines): breakParagraph is now in global scope
7007 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7010 * CutAndPaste.C: include paragraph_funcs.h
7011 (cutSelection): breakParagraphConservative is now in global scope
7012 (pasteSelection): ditto
7014 * buffer.h: declare oprator== and operator!= for
7015 Buffer::inset_iterator
7017 * bufferlist.C (emergencyWrite): don't use fmt(...)
7019 * text3.C: add using std::endl
7021 * BufferView.C (moveCursorUpdate): remove default arg
7023 2002-08-20 André Pönitz <poenitz@gmx.net>
7025 * buffer.[Ch]: move inline functions to .C
7028 * BufferView_pimpl.C:
7030 * buffer.[Ch]: use improved inset_iterator
7033 * paragraph.[Ch]: write one paragraph at a time
7035 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7037 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7038 style if style is not specified.
7040 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7042 * text2.C (setCounter): when searching for right label for a
7043 caption, make sure to recurse to parent insets (so that a caption
7044 in a minipage in a figure float works) (bug #568)
7046 2002-08-20 André Pönitz <poenitz@gmx.net>
7048 * text3.C: new file for LyXText::dispatch() and helpers
7050 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7052 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7054 2002-08-19 André Pönitz <poenitz@gmx.net>
7057 * text.C: new LyXText::dispatch()
7059 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7061 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7063 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7065 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7068 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7070 * Makefile.am: use $(variables) instead of @substitutions@
7072 2002-08-15 André Pönitz <poenitz@gmx.net>
7075 * BufferView_pimpl.C: streamlining mathed <-> outer world
7079 * LyXAction.C: remove unused LFUN_MATH
7081 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7083 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7085 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7087 * paragraph.C (Paragraph): reformat a bit
7088 (cutIntoMinibuffer): use builtin InsetList function instad of
7092 * buffer.C: include boost/bind.hpp, add using std::for_each
7093 (writeFileAscii): use ParagraphList iterators
7094 (validate): use for_each for validate traversal of paragraphs
7095 (getBibkeyList): use ParagraphList iterators
7096 (resizeInsets): use for_each to resizeInsetsLyXText for all
7098 (getParFromID): use ParagraphList iterators
7100 * BufferView2.C (lockInset): use paragraph list and iterators
7102 2002-08-14 John Levon <levon@movementarian.org>
7104 * lyxserver.C: remove spurious xforms include
7106 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7108 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7110 2002-08-13 André Pönitz <poenitz@gmx.net>
7113 * lyxfunc.C: further cleaning
7115 2002-08-13 André Pönitz <poenitz@gmx.net>
7117 * funcrequest.h: new constructor
7119 * funcrequest.C: move stuff here from .h
7122 * BufferView_pimpl.C:
7125 * lyxfunc.C: subsequent changes
7127 * lyxfunc.h: new view() member function
7129 * lyxfunc.C: subsequent changes
7131 2002-08-13 Angus Leeming <leeming@lyx.org>
7134 * BufferView_pimpl.C:
7142 changes due to the changed LyXView interface that now returns references
7143 to member variables not pointers.
7145 2002-08-13 Angus Leeming <leeming@lyx.org>
7147 * WordLangTuple (word, lang_code): return references to strings,
7152 * lyxtext.h: forward-declare WordLangTuple.
7157 * text.C: #include "WordLangTuple.h".
7160 * text.C: (selectNextWordToSpellcheck): constify return type.
7162 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7168 * paragraph_pimpl.h:
7171 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7173 Made updateCounter always count from start of buffer, and removed
7174 second argument (par).
7175 Reverted floats number display to '#'. Perhaps I'll try again when the
7176 code base is sanitized a bit.
7178 2002-08-12 Angus Leeming <leeming@lyx.org>
7180 * buffer.[Ch] (getLabelList): constify.
7182 2002-08-07 André Pönitz <poenitz@gmx.net>
7184 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7186 * funcrequest.h: extension to keep mouse (x,y) position
7188 2002-08-12 Juergen Vigna <jug@sad.it>
7190 * BufferView2.C (insertErrors): forbid undo when inserting error
7193 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7195 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7197 * ParagraphList.[Ch]: new files
7199 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7201 * BufferView2.C (lockInset): ParagraphList changes
7204 * bufferlist.C: ditto
7208 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7210 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7211 unused class variable counter_,
7213 * paragraph.[Ch] (getFirstCounter): delete unused function
7215 * counters.C: include LAssert.h
7216 (reset): add a new function with no arg, change other version to
7217 not have def. arg and to not allow empty arg.
7219 * text2.C (setCounter): remove empty arg from call to Counters::reset
7221 2002-08-11 John Levon <levon@movementarian.org>
7223 * Makefile.am: add WordLangTuple.h
7225 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7227 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7228 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7230 * insets/insettext.C: InsetList changes
7232 * graphics/GraphicsSupport.C (operator()): InsetList changes
7234 * toc.C (getTocList): InsetList changes
7236 * paragraph_pimpl.[Ch]: InsetList changes
7238 * paragraph.[Ch]: InsetList changes
7240 * buffer.C (inset_iterator): InsetList changes
7241 (setParagraph): ditto
7242 * buffer.h (inset_iterator): ditto
7243 * iterators.C (operator++): ditto
7244 * iterators.h: ditto
7246 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7248 * InsetList.[Ch]: new files, most InsetList handling moved out of
7251 * BufferView2.C (removeAutoInsets): InsetList changes
7253 (ChangeInsets): ditto
7255 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7257 * paragraph_pimpl.h (empty): new function
7259 * paragraph.[Ch] (empty): new function
7261 * other files: use the new Paragraph::empty function
7263 2002-08-09 John Levon <levon@movementarian.org>
7265 * lyxtext.h: remove unused refresh_height
7267 2002-08-09 John Levon <levon@movementarian.org>
7274 * paragraph.C: move sgml char escaping out of paragraph
7277 * paragraph.C: remove id setter
7281 * paragraph_pimpl.C: remove dead tex_code_break_column
7283 * bufferview_funcs.C: small cleanup
7285 * lyxfunc.C: remove dead proto
7287 * lyxtext.h: make some stuff private. Remove some dead stuff.
7289 * lyxgluelength.C: make as[LyX]String() readable
7291 2002-08-08 John Levon <levon@movementarian.org>
7296 * ToolbarDefaults.C:
7299 * toc.C: lyxaction cleanup
7301 2002-08-08 John Levon <levon@movementarian.org>
7303 * BufferView2.C: small cleanup
7306 * lyxfind.C: move unnecessary header into the .C
7308 2002-08-08 John Levon <levon@movementarian.org>
7310 * funcrequest.h: just tedious nonsense
7313 * lyx_main.C: cleanups
7316 * vspace.C: remove dead header lyx_main.h
7318 2002-08-07 Angus Leeming <leeming@lyx.org>
7321 * paragraph_pimpl.h:
7322 Forward declare class Counters in paragraph.h by moving the ctrs member
7323 variable into Paragraph::Pimpl.
7324 (counters): new method, returning a reference to pimpl_->ctrs.
7326 * text2.C: ensuing changes.
7328 2002-08-07 John Levon <levon@movementarian.org>
7330 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7332 * BufferView_pimpl.C: announce X selection on double/triple
7335 * lyx_main.C: use correct bool in batch dispatch
7337 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7339 2002-08-07 André Pönitz <poenitz@gmx.net>
7341 * funcrequest.h: new class to wrap a kb_action and its argument
7344 * BufferView_pimpl[Ch]:
7348 * lyxrc.C: subsequent changes
7351 2002-08-07 John Levon <levon@movementarian.org>
7353 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7354 document options change.
7356 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7361 * makefile.am: move counters functionality over from
7362 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7364 2002-08-06 John Levon <levon@movementarian.org>
7366 * WordLangTuple.h: new file for word + language code tuple
7377 * BufferView2.C: use WordLangTuple
7380 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7382 2002-08-06 John Levon <levon@movementarian.org>
7384 * lyx_main.C: fix cmdline batch handling
7386 2002-08-06 André Pönitz <poenitz@gmx.net>
7388 * lyxrc.C: set default for show_banner to true
7390 2002-08-06 John Levon <levon@movementarian.org>
7392 * pspell.C: fix a crash, and allow new aspell to work
7394 2002-08-06 John Levon <levon@movementarian.org>
7397 * kbmap.C: small cleanup
7400 * vspace.C: add const
7402 2002-08-05 John Levon <levon@movementarian.org>
7404 * LyXAction.C: back to tabular-insert
7406 2002-08-04 John Levon <levon@movementarian.org>
7409 * BufferView.C: cosmetic change
7411 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7421 * BufferView2.C: purge all "Lyx" not "LyX" strings
7424 * lyxcursor.C: attempt to add some documentation
7429 * ToolbarDefaults.C:
7430 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7431 merge with LFUN_TABULAR_INSERT
7438 * pspell.C: split up i/pspell implementations into separate
7439 files, many cleanups
7441 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7443 * text2.C: some cleanup
7445 * lyxfunc.C: don't check for isp_command == "none" any more, it
7446 didn't make any sense
7448 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7453 * makefile.am: move counters functionality over
7454 from text2.C/paragraph.[Ch] to counters.[Ch], and
7456 2002-08-02 John Levon <levon@movementarian.org>
7458 * buffer.C: s/lyxconvert/lyx2lyx/
7460 2002-08-02 Angus Leeming <leeming@lyx.org>
7462 * lyxlex.C: revert John's change as it breaks reading of the user
7465 2002-08-02 Angus Leeming <leeming@lyx.org>
7467 * importer.C (Import):
7468 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7469 changes due to LyXView::view() now returning a boost::shared_ptr.
7471 2002-08-02 John Levon <levon@movementarian.org>
7473 * lyxlex.C: small cleanup
7475 2002-08-02 John Levon <levon@movementarian.org>
7477 * text2.C (status): small cleanup, no logic change
7479 2002-08-01 John Levon <levon@movementarian.org>
7482 * buffer.C (writeFile): don't output alerts, caller
7486 * lyx_cb.C: from above
7488 * lyxfunc.C: allow to open non-existent files
7490 2002-07-31 John Levon <levon@movementarian.org>
7492 * lyxserver.C: don't let incidental errors get
7495 2002-07-30 John Levon <levon@movementarian.org>
7497 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7499 2002-07-30 John Levon <levon@movementarian.org>
7502 * lyxserver.C: remove I/O callback too
7504 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7506 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7509 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7511 * many files: strip,frontStrip -> trim,ltrim,rtrim
7513 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7515 * PrinterParams.h: remove extern containsOnly, and include
7516 support/lstrings.h instead.
7518 * LaTeX.C (scanAuxFile): modify because of strip changes
7520 * buffer.C (makeLaTeXFile): ditto
7521 * bufferparams.C (writeFile): ditt
7522 * lyxfont.C (stateText): ditto
7523 * lyxserver.C (read_ready): ditto
7524 * vc-backend.C (scanMaster): ditto
7526 * BufferView_pimpl.h: ws changes
7528 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7530 2002-07-26 André Pönitz <poenitz@gmx.net>
7532 * kb_sequence.C: remove unnedred usings
7534 2002-07-26 Juergen Vigna <jug@sad.it>
7536 * lyxfind.C (LyXReplace): we have to check better if the returned
7537 text is not of theLockingInset()->getLockingInset().
7539 2002-07-25 Juergen Vigna <jug@sad.it>
7541 * lyxfind.C (LyXReplace): don't replace if we don't get the
7544 * undo_funcs.C (createUndo): remove debugging code.
7546 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7548 * buffer.C (parseSingleLyXformat2Token): Use default placement
7549 when reading old floats.
7551 * FloatList.C (FloatList): Change the default placement of figure
7552 and tables to "tbp".
7554 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7556 * MenuBackend.C: using std::max
7558 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7560 * MenuBackend.C (expandToc):
7561 (expandToc2): code moved from xforms menu frontend. It is now
7562 generic and TOCs are transparent to menu frontends.
7564 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7566 * toc.C (getTocList): protect against buf=0
7568 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7569 Menu as first parameter. Now, this calls itself recursively to
7570 expand a whole tree (this will be useful for TOC handling)
7571 (expandFloatInsert): remove 'wide' version of floats
7573 * MenuBackend.h (submenuname): returns the name of the submenu.
7574 (submenu): returns the submenu itself, provided it has been
7575 created by MenuBackend::expand
7577 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7579 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7580 insets which have noFontChange == true. (bug #172)
7582 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7584 * BufferView_pimpl.C: add connection objects and use them...
7587 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7589 * MenuBackend.C (expandLastfiles):
7592 (expandFloatListInsert):
7593 (expandFloatInsert):
7594 (expand): split expand in parts
7596 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7598 * lyx_gui.C: use lyx_gui::exit()
7600 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7602 * LyXAction.C: show the failing pseudo action
7604 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7606 * buffer.C (readFile): Run the lyxconvert script in order to read
7609 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7613 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7615 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7619 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7621 2002-07-22 Herbert Voss <voss@lyx.org>
7624 * lyxlength.[Ch]: add support for the vertical lengths
7626 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7628 * toc.[Ch]: std:: fixes
7630 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7632 * lyxrc.C: do not include lyx_main.h
7634 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7640 * BufferView2.C: include "lyxlex.h"
7643 * bufferparams.h: do not #include "lyxlex.h"
7645 * lyxtextclasslist.C (Add): remove method
7646 (classlist): renamed to classlist_
7648 * paragraph_pimpl.C:
7652 * bufferview_funcs.C:
7657 * toc.C (getTocList): use BufferParams::getLyXTextClass
7659 * toc.C (getTocList): use InsetFloat::addToToc
7661 * toc.[Ch]: new files, containing helper functions to handle table
7664 * lyxfunc.C (dispatch): no need to remove spaces around command
7666 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7667 first command of the sequence; it is not very clever, but I do not
7668 have a better idea, actually
7670 * LyXAction.C (LookupFunc): make sure to remove space at the
7671 beginning and end of the command
7673 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7675 * MenuBackend.C (getMenubar): new method: return the menubar of
7677 (read): treat differently reading of menu and menubar (in
7678 particular, the menubar has no name now)
7679 (Menu::menubar): remove
7681 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7684 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7686 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7687 a bibitem inset in a RTL paragraph.
7689 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7691 * paragraph_pimpl.C: constify
7693 * BufferView_pimpl.C:
7695 * lyxfunc.C: fix dispatch in a nicer way
7697 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7699 * lyxfunc.C (dispatch):
7700 * BufferView_pimpl.C:
7701 * BufferView_pimpl.h:
7703 * BufferView.h: rename Dispatch() to dispatch()
7705 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7707 * lyxlayout.C (Read): honor DependsOn tag
7709 * lyxlayout.[Ch] (depends_on): new method
7711 * version.C.in: update lyx_docversion
7713 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7715 * paragraph.C (validate): remove from here...
7716 * paragraph_pimpl.C (validate): ... and move here
7717 (isTextAt): make it const
7719 * buffer.C (getLists): ws cleanup
7721 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7723 * language.C (read): Use iso8859-1 encoding in latex_lang
7724 (this prevents LyX from crashing when using iso10646-1 encoding).
7726 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7728 * text2.C (toggleInset): if cursor is inside an inset, close the
7729 inset and leave cursor _after_ it
7731 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7733 * lyxfunc.C: move minibuffer completion handling out of here
7735 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7737 * BufferView_pimpl.C:
7738 * LaTeX.C: fix dispatch calls
7740 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7742 * text.C (drawChars): Fix Arabic text rendering.
7744 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7748 * lyxfunc.C: remove message-push/pop
7752 * lyxfunc.C: rationalise some code by removing verboseDispatch
7753 in favour of a bool argument to dispatch()
7755 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7757 * lyx_main.C (init): make sure to read symlinks as absolute paths
7759 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7762 * lyxfunc.C: no need for commandshortcut to be a member
7764 2002-07-15 André Pönitz <poenitz@gmx.net>
7766 * converter.C: add support for $$s (scripts from lib/scripts dir)
7767 * lyx_main.C: white space
7769 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7773 * lyxrc.C: remove second exit confirmation
7775 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7780 * BufferView_pimpl.h:
7781 * BufferView_pimpl.C:
7782 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7784 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7786 * MenuBackend.C (expand): add numeric shortcuts to document menu
7788 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7790 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7792 * lyxfont.C (setLyXFamily):
7799 * buffer.C (asciiParagraph): use ascii_lowercase
7801 2002-07-15 Mike Fabian <mfabian@suse.de>
7803 * lyxlex_pimpl.C (search_kw):
7804 * lyxlex.C (getLongString):
7805 * converter.h (operator<):
7806 * converter.C (operator<):
7807 * buffer.C (parseSingleLyXformat2Token):
7809 * ToolbarDefaults.C (read):
7810 * MenuBackend.C (checkShortcuts):
7812 * LColor.C (getFromGUIName):
7813 (getFromLyXName): use the compare_ascii_no_case instead of
7814 compare_no_case, because in turkish, 'i' is not the lowercase
7815 version of 'I', and thus turkish locale breaks parsing of tags.
7817 2002-07-16 Angus Leeming <leeming@lyx.org>
7819 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7820 now takes a Buffer const & argument.
7822 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7824 * BufferView.C (resize): check there's a buffer to resize
7826 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7828 * lyxfunc.C: remove dead code
7831 * lyxserver.C: use lyx_guii::set_read_callback
7833 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7835 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7836 an inset in a RTL paragraph.
7838 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7840 * lyxfunc.C: repaint after a font size update
7842 2002-07-15 André Pönitz <poenitz@gmx.net>
7844 * lyxlength.C: inBP should be able to return negative values
7846 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7848 * lyxfunc.C: use lyx_gui::update_fonts()
7850 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7852 * lyxfunc.C: use lyx_gui::update_color()
7854 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7860 * lyxrc.C: remove file->new asks for name option, and let
7861 buffer-new take an argument
7863 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7865 * BufferView_pimpl.C: remove unneeded extra repaint()
7867 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7869 * LyXAction.C: allow command-sequence with NoBuffer
7871 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7873 2002-07-10 Angus Leeming <leeming@lyx.org>
7875 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7877 2002-07-09 Angus Leeming <leeming@lyx.org>
7879 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7881 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7883 * lengthcommon.h: whitespace
7885 * lyxfunc.C: update scrollbar after goto paragraph
7887 * lyxtext.h: factor out page break drawing, and fix it so
7888 page break/added space paints as selected nicely
7890 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7892 * BufferView_pimpl.C: add FIXMEs, clean up a little
7894 2002-07-09 André Pönitz <poenitz@gmx.net>
7896 * lyxfont.[Ch]: support for wasy symbols
7898 2002-07-08 André Pönitz <poenitz@gmx.net>
7900 * BufferView_pimpl.C: apply John's patch for #93.
7902 2002-07-05 Angus Leeming <leeming@lyx.org>
7904 * BufferView_pimpl.C (buffer): generate previews if desired.
7906 * LColor.h: add "preview" to the color enum.
7908 * LColor.C (LColor): add a corresponding entry to the items array.
7910 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7913 2002-07-05 Angus Leeming <leeming@lyx.org>
7915 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7916 The body of the code is now in the method that is passed an ostream &
7917 rather than a file name.
7918 Pass an additional only_preamble parameter, useful for the forthcoming
7921 2002-07-03 André Pönitz <poenitz@gmx.net>
7923 * lyxfunc.C: simplify getStatus() a bit for math stuff
7925 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7927 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7929 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7931 * text.C (changeRegionCase): do not change case of all the
7932 document when region ends at paragraph end (bug #461)
7934 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7936 * paragraph.C (startTeXParParams):
7937 (endTeXParParams): add \protect when necessary
7939 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7941 * BufferView_pimpl.C (workAreaExpose): remove warning
7943 2002-06-27 Angus Leeming <leeming@lyx.org>
7945 * Makefile.am: add lyxlayout_ptr_fwd.h.
7947 2002-06-26 André Pönitz <poenitz@gmx.net>
7949 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7951 2002-06-25 Angus Leeming <leeming@lyx.org>
7953 * lyxfunc.C (dispatch): Comment out the call to
7954 grfx::GCache::changeDisplay. The method no longer exists now that the
7955 pixmap generation part of the graphics loader has been moved into
7958 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7960 * text2.C: layout as layout
7962 * text.C: layout as layout
7964 * tabular.C (OldFormatRead): layout as layout
7966 * paragraph_pimpl.C (TeXDeeper): layout as layout
7967 (realizeFont): layout as layout
7969 * paragraph.C (writeFile): layout as layout
7970 (validate): layout as layout
7971 (getFont): layout as layout
7972 (getLabelFont): layout as layout
7973 (getLayoutFont): layout as layout
7974 (breakParagraph): layout as layout
7975 (stripLeadingSpaces): layout as layout
7976 (getEndLabel): layout as layout
7977 (getMaxDepthAfter): layout as layout
7978 (applyLayout): layout as layout
7979 (TeXOnePar): layout as layout
7980 (simpleTeXOnePar): layout as layout
7981 (TeXEnvironment): layout as layout
7982 (layout): layout as layout
7983 (layout): layout as layout
7985 * lyxtextclass.C (compare_name): new functor to work with
7986 shared_ptr, layout as layout
7987 (Read): layout as layout
7988 (hasLayout): layout as layout
7989 (operator): layout as layout
7990 (delete_layout): layout as layout
7991 (defaultLayout): layout as layout
7993 * lyxlayout_ptr_fwd.h: new file
7995 * lyxlayout.C (Read): layout as layout
7997 * lyx_cb.C (MenuInsertLabel): layout as layout
7999 * bufferlist.C (newFile): layout as layout
8001 * buffer.C (readLyXformat2): layout as layout
8002 (parseSingleLyXformat2Token): layout as layout
8003 (insertStringAsLines): layout as layout
8004 (asciiParagraph): layout as layout
8005 (latexParagraphs): layout as layout
8006 (makeLinuxDocFile): layout as layout
8007 (simpleLinuxDocOnePar): layout as layout
8008 (makeDocBookFile): layout as layout
8009 (simpleDocBookOnePar): layout as layout
8010 (getLists): layout as layout
8012 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8014 * CutAndPaste.C (cutSelection): layout as layout
8015 (pasteSelection): layout as layout
8016 (SwitchLayoutsBetweenClasses): layout as layout
8018 * BufferView_pimpl.C (Dispatch): layout as layout
8019 (smartQuote): layout as layout
8021 * BufferView2.C (unlockInset): layout as layout
8023 2002-06-24 André Pönitz <poenitz@gmx.net>
8025 * lyxfunc.C: fix #487
8027 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8031 * lyxfunc.C: remove display_shortcuts, show_banner
8033 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8035 * Buffer_pimpl.C: oops, update on resize
8037 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8044 * BufferView.C: use repaint()
8046 * BufferView_pimpl.h:
8047 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8048 as it's a clearer description. Remove superfluous
8051 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8053 * text.C: fix bug 488. Not ideal, but getting
8054 getWord() to work properly for the insets that
8055 matter is more difficult ...
8057 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8059 * BufferView_pimpl.C:
8062 * lyxfunc.C: remove the six million index lyxfuncs to just
8063 one, and DTRT (bug 458)
8065 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8069 * BufferView_pimpl.h:
8070 * BufferView_pimpl.C: clean up resize() stuff,
8071 and unnecessary updateScreen()s
8073 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8077 * BufferView_pimpl.h:
8078 * BufferView_pimpl.C:
8081 * minibuffer.C: remove focus management of workarea,
8082 not needed. Use screen's greyOut()
8084 2002-06-17 Herbert Voss <voss@lyx.org>
8086 * converter.C: (convert) do not post a message, when converting
8087 fails, let the calling function decide what to do in this case
8089 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8091 * lyxfunc.C: tidy up a little
8093 2002-06-16 <alstrup@diku.dk>
8095 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8096 Got rid of FORMS_H_LOCATION include. Now we are
8099 2002-06-15 LyX Development team <lyx@rilke>
8101 * buffer.[Ch] (sgmlOpenTag):
8102 (sgmlCloseTag): Added support for avoiding pernicious mixed
8103 content. Return number of lines written.
8106 (makeDocBookFile): Fixed calls to sgml*Tag.
8107 Simple white space clean.
8109 (simpleDocBookOnePar): Simple white space clean.
8111 * tabular.[Ch] (docBook): Renamed to docbook and got another
8112 argument to related with the pernicious mixed content.
8114 (docbookRow): Fixed calls for docbook inset method.
8116 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8118 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8119 so it's X11 independent.
8123 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8125 2002-06-15 Lyx Development team <lyx@electronia>
8127 * intl.h: Renamed getTrans to getTransManager.
8129 2002-06-14 Angus Leeming <leeming@lyx.org>
8131 * Makefile.am: nuke forgotten stl_string_fwd.h.
8133 2002-06-12 Angus Leeming <leeming@lyx.org>
8135 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8137 2002-06-13 Angus Leeming <leeming@lyx.org>
8140 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8142 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8144 * kbmap.C (getiso): add support for cyrillic and greek
8146 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8150 * BufferView_pimpl.h:
8151 * BufferView_pimpl.C: move bogus scrolling logic
8154 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8157 * BufferView_pimpl.C: view->resize() change
8159 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8161 * BufferView_pimpl.C: topCursorVisible
8164 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8168 * lyx_gui.C: move to frontends/
8172 * lyx_main.C: changes from above
8174 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8181 * lyx_main.C: minor tidy
8183 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8185 * BufferView_pimpl.h:
8186 * BufferView_pimpl.C:
8188 * BufferView.C: make painter() const,
8191 * BufferView2.C: use screen() accessor
8194 * lyx_main.C: some minor cleanup
8196 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8198 * BufferView_pimpl.h:
8199 * BufferView_pimpl.C: remove enter/leaveView,
8202 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8207 * BufferView_pimpl.h:
8208 * BufferView_pimpl.C: only construct screen once,
8211 * lyxrc.C: remove pointless comment
8213 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8216 * BufferView.C: remove active() and belowMouse()
8218 * BufferView_pimpl.h:
8219 * BufferView_pimpl.C: use workarea() not workarea_,
8220 and make it use a scoped_ptr instead
8222 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8224 * lyx_gui.C: add debug message on BadWindow
8226 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8228 * sp_spell.C: fdopen is not part of the C++ standard.
8230 * paragraph.C (InsetIterator): use >= instead of ==
8232 2002-06-07 Angus Leeming <leeming@lyx.org>
8234 Fixes needed to compile with Compaq cxx 6.5.
8235 * BufferView_pimpl.C:
8242 * lyxtextclasslist.C:
8247 all c-library variables have been moved into namespace std. Wrap
8248 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8253 Add a using std::abs declaration.
8255 * kbmap.h (modifier_pair):
8256 * paragraph.h (InsetTable, InsetList):
8257 * lyxfont.h (FontBits):
8258 type definition made public.
8260 * bufferlist.C (emergencyWriteAll): the compiler complains that
8261 there is more than one possible lyx::class_fun template to choose from.
8262 I re-named the void specialisation as lyx::void_class_fun.
8264 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8266 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8267 the compiler is is unable to find tostr in write_attribute.
8269 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8271 * buffer.C (sgmlError): hide #warning
8273 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8275 * xtl/*: get rid of xtl, which is not in use anyway
8277 * LyXAction.C (init):
8278 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8279 were unimplemented xtl experimentation
8281 2002-06-04 André Pönitz <poenitz@gmx.net>
8283 * lyxfunc.C: disable array operation on simple formulae
8285 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8287 * converter.C: constify a bit
8289 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8291 * lyx_gui.C: check xforms version correctly
8293 2002-04-30 Herbert Voss <voss@lyx.org>
8295 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8298 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8300 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8301 attempt to register it with a VCS)
8303 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8305 * lyx_main.C (init): honor variables LYX_DIR_13x and
8308 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8312 * lyx_main.C: fix a crash on bad command line,
8313 and give a useful exit status on error
8315 * lyxfunc.C (doImport): allow -i lyx to work
8317 2002-03-30 André Pönitz <poenitz@gmx.net>
8319 * lyxfunc.C: mathed font changes
8321 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8336 * trans_mgr.h: srcdocs, and some minor cleanups
8338 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8340 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8341 call getFont all the time)
8343 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8345 * switch from SigC signals to boost::signals
8347 2002-05-29 André Pönitz <poenitz@gmx.net>
8349 * paragraph_pimpl.C (getChar): don't call size() too often...
8351 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8353 * paragraph_pimpl.C (insertChar): do not try to update tables when
8354 appending (pos == size())
8356 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8357 in order to reduce drastically the number of comparisons needed to
8358 parse a large document
8360 2002-05-29 André Pönitz <poenitz@gmx.net>
8366 * textclasslist.[Ch]:
8367 * sp_ispell.h: whitespace change
8369 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8371 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8372 lyxaction directly now.
8374 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8378 * lyxvc.C: remove unused headers
8380 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8387 * undo_funcs.C: some cleanups. Use shared_ptr
8388 and a template for the undo stacks.
8390 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8392 * BufferView_pimpl.h:
8393 * BufferView_pimpl.C:
8400 * text2.C: use key_state/mouse_state
8402 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8404 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8407 * chset.C: change include order
8408 (loadFile): use boost regex and get rid of LRegex and LSubstring
8410 * Makefile.am (BOOST_LIBS): new variable
8413 * LaTeX.C: change include order.
8414 (scanAuxFile): use boost regex and get rid of LRegex and
8418 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8423 * FontInfo.C: moved to frontends/xforms/
8426 * FontLoader.C: moved into frontends for GUIIzation
8431 * lyxfunc.C: changes from above
8433 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8435 * LColor.C: remove spurious X include
8437 * BufferView_pimpl.C:
8442 * text2.C: move font metrics to frontends/
8444 2002-05-24 Juergen Vigna <jug@sad.it>
8446 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8447 setting the undo_cursor.
8449 * ParagraphParameters.h: include local includes first.
8451 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8453 * BufferView_pimpl.C:
8454 * BufferView_pimpl.h:
8458 * screen.C: move WorkArea into frontends/
8464 * BufferView2.C: move LyXScreen into frontends/
8468 * lyx_gui.C: move lyxlookup into frontends/xforms/
8470 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8473 * BufferView_pimpl.C:
8483 * bufferview_funcs.C:
8496 * vc-backend.C: move LyX/XFormsView into frontends/
8498 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8510 * text2.C: move Painter to frontends/
8512 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8514 * buffer.C: comment out some some code that depend upon lyx_format
8517 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8518 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8520 * buffer.h (NO_COMPABILITY): turn off compability
8522 * ColorHandler.C: include scoped_array.hpp
8524 * font.C: Use more specific smart_ptr header.
8527 * ShareContainer.h: ditto
8531 * BufferView_pimpl.h: ditto
8532 * ColorHandler.h: ditto
8534 * kbmap.C (defkey): change call to shared_ptr::reset
8536 2002-05-21 Juergen Vigna <jug@sad.it>
8538 * buffer.C (insertErtContents): fix to insert ert asis if it is
8539 non empty. Skip it completely if it contains only whitespaces.
8541 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8543 * BufferView_pimpl.C:
8544 * BufferView2.C: clear selection on paste (bug 393)
8546 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8548 * DepTable.C: include ctime
8550 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8552 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8554 2002-05-14 Juergen Vigna <jug@sad.it>
8556 * text.C (breakParagraph): fixed function to honor the keepempty
8557 layout in the right maner and also to permit the right breaking
8558 algorithm on empty or non empyt keepempty paragraphs.
8560 * paragraph.C (breakParagraph): we have to check also if the par
8561 is really empty (!size()) for isempty otherwise we do the wrong
8564 2002-05-10 Juergen Vigna <jug@sad.it>
8566 * buffer.[Ch] : The following are only changes to the ert
8567 compatibility read reading old LaTeX layout and font stuff and
8568 convert it to ERTInsets.
8570 * buffer.h: added isErtInset().
8572 * buffer.C (struct ErtComp): add a fromlayout bool to check
8573 if we're inside a LaTeX layout.
8574 (isErtInset): new helper function.
8575 (insertErtContents): look for other ert insets before this one
8576 and insert the contents there, so that we don't have subsequent
8577 ERT insets with nothing between them. This way we create only one
8578 inset with multiple paragraphs. Also check if we don't insert only
8579 spaces ' ' as they are ignored anyway afterwards in the .tex file
8580 so if we have only spaces we will ignore this latex part in the
8582 (parseSingleLyXformat2Token \\layout): better compatibility when
8583 reading layout-latex stuff.
8584 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8586 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8587 stuff after reading the inset only get the information back from
8590 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8592 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8594 * LaTeXFeatures.C (getBabelOptions): New method.
8596 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8598 * BufferView_pimpl.C (Dispatch): work around missing argument for
8601 2002-05-08 Juergen Vigna <jug@sad.it>
8603 * text.C (leftMargin): handle paragraph leftindent.
8605 * paragraph.C (writeFile): write the new \\leftindent tag.
8606 (validate): handle leftindent code.
8607 (TeXEnvironment): handle paragraphleftindent code again.
8609 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8611 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8612 for paragrap_extra indent code and new token \\leftindent.
8613 (latexParagraphs): handle the leftindent as environment.
8615 * ParameterStruct.h: added leftindent support.
8617 * ParagraphParameters.C (leftIndent): added support functions for
8618 the paragraph left indent.
8620 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8623 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8625 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8628 * text.C (computeBidiTables): No bidi in insetERT.
8630 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8633 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8635 * version.C.in: pre 5
8637 2002-05-02 José Matos <jamatos@fep.up.pt>
8638 * buffer.C (makeDocBookFile): white space changes, add newline to
8640 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8642 * tabular.C (docBook): fix typo.
8644 2002-05-03 Juergen Vigna <jug@sad.it>
8646 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8647 change in LyXText as we can not be sure it was not freed.
8648 (drawOneRow): remove unused code.
8650 * text.C (drawInset): redo the calculation of the need_break_row as
8651 it could have a row which was already freed.
8652 (draw): look at the return value of drawInset and return false if
8653 it also returned false.
8654 (paintRowText): look at the return value of draw and return false if
8655 it also returned false.
8657 * lyxtext.h: added bool return type to drawInset() and draw() so that
8658 if we have a change in the row so that the rowbreak has to be redone
8659 we abort drawing as it will be called again.
8661 2002-05-02 Juergen Vigna <jug@sad.it>
8663 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8664 a change in the maintext also if we're inside an inset.
8665 (Dispatch): set the cursor again after a break line and after the
8666 screen has been updated as it could be we're in a different row.
8668 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8669 to set the cursor behind the pargraph with > size().
8670 (setCursor): check also for the same paragraph when checking where
8671 to put the cursor if we have a NFR inset.
8673 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8674 parts of layout read further up as it still was in the wrong
8677 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8679 * screen.C (drawFromTo): change sine fullRebreak always return
8682 * buffer.C (parseSingleLyXformat2Token): reindent some
8684 * BufferView_pimpl.C (update): change since fullRebreak always
8686 (Dispatch): git rid of the last hardcoded "Standard"s.
8688 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8690 * text2.[Ch] (fullRebreak): make it return void now that we always
8693 2002-04-30 Juergen Vigna <jug@sad.it>
8695 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8696 ert compatibility check for "latex" layout.
8698 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8700 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8701 minipages: use col% instead of p%, and also use the current font.
8702 (makeLaTeXFile): Fix use babel condition.
8703 (parseSingleLyXformat2Token): Correct font when reading old floats.
8705 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8707 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8708 inserting list of floats.
8710 2002-04-25 Herbert Voss <voss@lyx.org>
8712 * MenuBackend.C (expand): don't add the graphics extensions to the
8715 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8717 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8718 non-existing layout, do not complain if it was the default layout
8719 of the original class (bug #342)
8721 2002-04-24 Juergen Vigna <jug@sad.it>
8723 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8724 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8726 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8728 * buffer.C (getBibkeyList): If using \bibliography, return the
8729 option field with the reference itself. Enables us to provide natbib
8730 support when using \bibliography.
8732 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8734 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8736 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8737 natbib is provided by the LaTeX class.
8739 2002-04-23 Juergen Vigna <jug@sad.it>
8741 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8744 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8746 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8748 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8750 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8751 ensuremath around textordmasculine, textordfeminine and
8754 2002-04-19 Juergen Vigna <jug@sad.it>
8756 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8757 reinitializing the buffer otherwise row-dimensions may be wrong.
8758 (update): reset also the selection cursors if they do exits otherwise
8759 their x/y positions may be wrong.
8761 * text2.C (cursorDown): don't enter the inset if we came from a row
8762 above and are one row over the inset.
8764 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8765 really leaving an inset.
8767 2002-04-18 Juergen Vigna <jug@sad.it>
8769 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8770 of the selected paragraph does not have the selected layout also if
8773 * text2.C (setLayout): fixed bug which did not change last selected
8776 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8777 changed the read and substituted \\end_float with \\end_inset!
8779 * BufferView_pimpl.C (cursorPrevious):
8780 (cursorNext): fixed to make it work with rows heigher than the work
8781 area without moving the cursor only the draw of the row.
8782 (workAreaMotionNotify): fix jumping over high rows.
8784 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8786 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8789 2002-04-16 Juergen Vigna <jug@sad.it>
8791 * text2.C (setCursor): set also the irow().
8792 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8794 (cursorDown): support for locking an inset if the x_fix value goes
8795 inside it. That way I can transverse insets too with cursor up/down.
8797 * lyxrow.h: added irow helper function same as other (i) functions.
8799 * BufferView_pimpl.C (cursorPrevious):
8800 (cursorNext): fixed for insets!
8802 2002-04-15 Juergen Vigna <jug@sad.it>
8804 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8805 position otherwise it is wrong in some cases.
8807 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8808 inside the inset before the call.
8810 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8812 * buffer.[Ch] (getBibkeyList): make it const.
8814 2002-04-12 Juergen Vigna <jug@sad.it>
8816 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8818 * text2.C (getCursorX): new helper function
8819 (setCursor): compute also ix_
8820 (setCursorFromCoordinates): set also ix.
8822 * lyxcursor.h: added ix_ and helper functions.
8824 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8826 * buffer.C (insertStringAsLines): dont break paragraph if the this
8827 paragraph is inside an inset which does not permit it!
8829 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8830 also with no chars on this paragraph.
8831 (paintRowText): only paint stuff if it's inside the workarea!
8833 * paragraph.C (breakParagraph): honor keepempty flag and break the
8834 paragraph always below not above.
8836 * BufferView2.C (unlockInset): update the paragraph layout on inset
8837 unlock as we changed paragraph in such a case.
8839 * lyxfind.C (LyXFind): clear the former selection if not found!
8841 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8842 again called in insertChar().
8844 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8845 an inset which uses the whole row!
8846 (rightMargin): ditto.
8847 (insertChar): force a rebreak if we inserted an inset!
8849 2002-03-28 Herbert Voss <voss@lyx.org>
8851 * lyxlength.[Ch]: add inBP() to get the right PS-point
8852 units (BigPoint). With inPixels we have rounding errors
8854 2002-04-11 Juergen Vigna <jug@sad.it>
8856 * text2.C (setCursorFromCoordinates): set iy to the right value.
8857 (setCursor): add check if row->previous exists!
8859 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8860 an old float_type as this was the case in the old code!
8862 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8864 * BufferView2.C (showLockedInsetCursor): use iy
8865 (fitLockedInsetCursor): ditto
8867 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8868 locked insets as there we have the right value now.
8870 * lyxcursor.C: added iy_ variable and iy functions to set to the
8871 baseline of cursor-y of the locked inset.
8873 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8874 (setCursor): fixed for insets which need a full row.
8876 * text.C (rowLastPrintable): don't ignore the last space when before
8877 an inset which needs a full row.
8878 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8879 as last character of a row when before a inset which needs a full row.
8881 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8883 * version.C.in: update date
8885 * text2.C (fullRebreak): try to always return true and see what
8888 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8890 * MenuBackend.C (expand): use Floating::listName
8892 * FloatList.C (FloatList): add listName argument to the built-in
8895 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8896 text associated with the float.
8898 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8900 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8902 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8904 * ShareContainer.h: add a couple of missing typenames.
8906 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8908 * lyxrc.C (getDescription): use _() correctly rather than N_().
8910 2002-03-28 Herbert Voss <voss@lyx.org>
8912 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8913 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8915 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8917 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8918 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8920 2002-03-29 Juergen Vigna <jug@sad.it>
8922 * lyxfunc.C (dispatch): add a missing fitCursor call.
8924 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8925 it was scrolled by a cursor move, so return the bool status.
8927 * BufferView.C (fitCursor): return the bool flag also to the outside
8928 world as this is needed.
8930 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8932 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8933 call the edit() as it is not needed (and wrong) IMO.
8934 (workAreaButtonPress): set the screen_first variable before evt.
8935 unlock the inset as this may change screen_first and then we have
8936 a wrong y position for the click!
8938 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8940 * MenuBackend.C (expand): another translation that I missed
8942 2002-03-28 Juergen Vigna <jug@sad.it>
8944 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8946 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8948 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8950 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8952 * MenuBackend.C (expand): fix export/view/update when there is no
8955 2002-03-27 Herbert Voss <voss@lyx.org>
8957 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8960 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8962 * bufferview_funcs.C (currentState): only show paragraph number
8963 for is DEVEL_VERSION is set.
8965 * lyxfunc.C (dispatch): put warning in INFO channel
8967 * MenuBackend.C (expand): translate the name of floats
8969 * FloatList.C (FloatList): mark the float names for translation
8971 * converter.C (convert): use LibScriptSearch
8973 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8975 * MenuBackend.C (defaults): fix default menu (we might as well get
8978 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8980 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8983 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8985 * lyxvc.C: reorder includes.
8987 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8989 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8992 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8994 * CutAndPaste.C: change layouts earlier on paste
8995 to avoid crashing when calling getFont()
8997 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8999 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9002 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9004 * WorkArea.C: remove 'Pending' debug message.
9006 * most files: ws cleanup
9008 * buffer.[Ch]: ws changes
9010 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9012 2002-03-21 Juergen Vigna <jug@sad.it>
9014 * tabular.C (SetMultiColumn): collapse also the contents of the
9015 cells and set the last border right. Added a Buffer const * param.
9017 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9019 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9022 2002-03-19 Juergen Vigna <jug@sad.it>
9024 * text2.C (clearSelection): reset also xsel_cache.
9026 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9027 where it needs to be called (John tells us to do so too :)
9028 (selectionLost): reset sel_cache.
9030 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9032 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9034 * text2.C (setCursorIntern): put debuging code in INSETS channel
9036 2002-03-19 André Pönitz <poenitz@gmx.net>
9038 * lyxfunc.C: tiny whitespace change
9040 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9042 * ToolbarDefaults.C (init):
9043 * LyXAction.C (init):
9045 * BufferView_pimpl.C (Dispatch):
9046 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9048 2002-03-19 Allan Rae <rae@lyx.org>
9050 * exporter.C (Export): removeAutoInsets before doing anything else.
9051 While I've just introduced a dependency on BufferView this really is
9052 the best place to clean the buffer otherwise you need to cleanup in
9053 a dozen places before calling export or cleanup in a dozen functions
9056 * converter.C (runLaTeX):
9057 (scanLog): Better handling of removeAutoInsets and screen updates.
9059 * lyxfunc.C (dispatch): small whitespace changes
9061 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9063 * WorkArea.C (C_WorkAreaEvent): return a value.
9064 (event_cb): return 1 if we handled the event, 0 otherwise.
9066 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9068 2002-03-18 Juergen Vigna <jug@sad.it>
9070 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9071 (GetAdditionalWidth): ditto.
9075 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9076 inset if we're there actually (probably not used right now but this
9077 is the direction to go for unifying code).
9078 (paste): disable code to clear the selection.
9080 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9081 inside an InsetText and move the check further up as it is in the
9084 * text2.C (pasteSelection): set a selection over the pasted text.
9086 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9088 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9089 and libgraphics to build on Cygwin.
9091 2002-03-15 Juergen Vigna <jug@sad.it>
9093 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9094 inserting an Inset into the paragraph. I know this is not the best
9095 fix but we already use current_view in CutAndPaste so we will remove
9096 all of it's using at the same time.
9098 * buffer.C (sgmlError): deactivated function till it is rewritten in
9099 the right mode, now it can create problems.
9101 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9102 before accessing it.
9104 2002-03-14 Juergen Vigna <jug@sad.it>
9106 * undo_funcs.C (textHandleUndo): do the right thing when updating
9107 the inset after the undo/redo.
9109 * text2.C (setCursor): just some testcode for #44 not ready yet.
9111 * undo_funcs.C (textHandleUndo): set the next() and previous()
9112 pointers of the paragraph to 0 before deleting otherwise we have
9113 problems with the Paragraph::[destructor].
9115 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9116 on a paragraph insertion.
9118 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9120 * buffer.C (asciiParagraph): use += operator for char append to
9123 * paragraph.C (getFontSettings): compare >= not just >
9124 (highestFontInRange): ditto
9127 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9129 * paragraph.C: change several algorithm to be more appripriate for
9130 the problem domain. This is lookip in FontList and in the InsetList.
9132 2002-03-13 André Pönitz <poenitz@gmx.net>
9135 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9137 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9142 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9144 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9146 * Painter.C (display): anon helper function, adjust code for this
9148 (pixmap): remove function.
9150 * Painter.h: remove private display variable.
9152 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9154 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9156 * WorkArea.[Ch]: remove figinset_canvas cruft.
9158 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9160 * lyxtextclass.C (operator): add one item cache optimization.
9162 * bufferlist.h: doxy changes
9164 * bufferlist.C: ws changes
9166 * DepTable.[Ch] (ext_exist): place const in the right spot.
9168 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9170 (workAreaExpose): call resizeInsets when the with BufferView changes.
9171 (Dispatch): adjust for protectedBlank removal
9172 (specialChar): call updateInset if the insert went ok.
9174 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9175 specialChar instead.
9177 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9179 * BufferView.h: doxy change
9181 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9183 * lyxtextclass.C (operator[]): remove non-const version
9184 (defaultLayout): remove non-const version
9186 2002-03-12 Juergen Vigna <jug@sad.it>
9188 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9189 did resize the LyXText too.
9191 * buffer.C (readLyXformat2): set layout information on newly allocated
9194 * tabular.C (OldFormatRead): set layout information on the paragraph.
9196 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9198 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9200 2002-03-11 Juergen Vigna <jug@sad.it>
9202 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9204 (resizeCurrentBuffer): force also the insets to resize themselfes.
9205 (moveCursorUpdate): fixed up for InsetText.
9207 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9210 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9211 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9212 value of Dialogs::tooltipsEnabled().
9213 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9215 2002-03-08 Juergen Vigna <jug@sad.it>
9217 * BufferView_pimpl.C (updateInset): update inset inside inset also
9218 if it isn't inside theLockingInset().
9220 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9222 * buffer.C (asciiParagraph): redo some of the word and line length
9224 (getLists): look for Caption instead of caption.
9226 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9228 * buffer.C (Buffer): initialize niceFile to true
9231 (makeDocBookFile): make sure niceFile is true on exit
9233 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9235 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9237 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9239 * LyXSendto.C: remove.
9240 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9241 * lyx_gui.C: remove now-redundant comment.
9242 * ColorHandler.h: remove forward declaration of class WorkArea.
9243 * lyxfunc.C: remove #include "WorkArea.h".
9245 2002-03-07 Juergen Vigna <jug@sad.it>
9247 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9248 got moved away with the DEPM and also set the inset_owner always
9249 right which before could have been omitted.
9251 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9253 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9254 wanted layout is not found.
9256 2002-03-07 Juergen Vigna <jug@sad.it>
9258 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9260 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9262 * paragraph.C (breakParagraph): use default layout not layout of
9264 (Paragraph): clear ParagraphParameters.
9266 2002-03-06 Juergen Vigna <jug@sad.it>
9268 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9269 otherwise it would not be a valid lenght. Fixed a special case in
9270 the minipage compatibility read where we end the document with a
9273 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9274 was set as it could be 0 for InsetTexts first entry.
9276 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9278 * paragraph.C (writeFile): if layout is empty write out
9279 defaultLayoutName().
9281 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9282 file without named layout we set layout to defaultLayoutName().
9284 2002-03-06 Juergen Vigna <jug@sad.it>
9286 * CutAndPaste.C (copySelection): set layout for new paragraph.
9288 * text.C (prepareToPrint): leave ERT inset left aligned
9289 (leftMargin): don't indent paragraphs inside ERT insets
9291 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9293 * paragraph.C (breakParagraph): dont call clear do the work manually
9295 * paragraph.[Ch] (clear): remove function
9297 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9299 * paragraph.C (Paragraph): dont call clear, the work has already
9302 * lyxtextclass.C (operator): assert if n is empty
9304 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9305 work manually instead.
9307 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9309 * BufferView_pimpl.C: protect selectionLost against text == 0
9311 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9313 * text.C (breakParagraph): fix a setting layout to '0' problem.
9315 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9317 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9318 final location of file, for the included files, and graphics.
9320 2002-03-05 Juergen Vigna <jug@sad.it>
9322 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9324 2002-03-04 Juergen Vigna <jug@sad.it>
9326 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9328 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9329 last column of multicolumn cells.
9330 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9332 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9334 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9335 file if it doesn't go to a temporary file.
9337 * buffer.C (sgmlOpenTag):
9338 (sgmlCloseTag): remove extra newline insertion.
9340 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9342 * text.C (getRowNearY): comment out debug msg
9344 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9346 * text2.C: first -> first_y
9348 * text.C (getRowNearY): add some attemts at a possible
9349 optimization, not working.
9351 * tabular.[Ch]: add BufferParams to several function so that newly
9352 created paragraph can be initialized to he default layotu for the
9355 * tabular-old.C (ReadOld): add buf->params to call of Init
9357 * screen.C: rename text->first to text->first_y
9359 * paragraph.C (breakParagraph): always set layout in the broken
9362 * lyxtextclass.C (Read): remove lowercase
9365 (delete_layout): ditto
9367 * lyxtext.h: rename first -> first_y
9369 * lyxlayout.C (Read): remove lowercase
9372 (obsoleted_by): ditto
9374 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9376 * buffer.C (insertErtContents): add params are to InsetERT
9377 (parseSingleLyXformat2Token): add code to check if a paragraphs
9378 layout really exist.
9379 (parseSingleLyXformat2Token): add params to several inset
9381 (asciiParagraph): remove lowercase, do the layout comparisons with
9384 * BufferView_pimpl.C (cursorNext): first -> first_y
9385 (resizeCurrentBuffer): first -> first_y
9386 (updateScrollbar): first -> first_y
9387 (scrollCB): first -> first_y
9388 (workAreaMotionNotify): first -> first_y
9389 (workAreaButtonPress): first -> first_y
9390 (checkInsetHit): first -> first_y
9391 (cursorPrevious): first -> first_y
9392 (cursorNext): first -> first_y
9393 (Dispatch): add buffer_->params to severl inset contructors
9395 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9397 * lyxlayout.C (Read): remove some debug info that I forgot.
9399 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9400 clean up the code slightly.
9401 (makeLinuxDocFile): ditto
9402 (makeDocBookFile): ditto
9404 * text2.C: layout as string
9406 * text.C: layout as string
9408 * paragraph_pimpl.C: layout as string
9410 * paragraph.[Ch]: layout as string
9412 * lyxtextclasslist.[Ch]: layout as string
9414 * lyxtextclass.[Ch]: layout as string
9416 * lyxtext.h: layout as string
9418 * lyxlayout.[Ch]: layout as string
9420 * lyx_cb.C: layout as string
9422 * bufferview_funcs.C: layout as string
9424 * bufferparams.C: layout as string
9426 * buffer.C: layout as string
9428 * LyXView.[Ch]: layout as string
9430 * LaTeXFeatures.[Ch]: layout as string
9432 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9434 * BufferView_pimpl.C: change current_layout to string, remove
9439 (workAreaButtonRelease): layout as string
9441 * BufferView2.C (unlockInset): adjust
9443 * vspace.C (asLatexCommand): use an explict temp variable.
9445 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9447 * Makefile.am: use FRONTEND_*
9449 2002-03-01 Juergen Vigna <jug@sad.it>
9451 * tabular.C (SetWidthOfMulticolCell): changed to something better
9452 I hope but still work in progress.
9453 (recalculateMulticolumnsOfColumn): renamed function from
9454 recalculateMulticolCells as it is more appropriate now.
9455 (SetWidthOfCell): calculate multicols better.
9457 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9459 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9461 * lyxfunc.C (processKeySym): print sequence also if it is
9462 `deleted' (complete)
9464 * kbsequence.C (print): print sequence even if it is deleted
9465 (complete would be a better word, actually).
9467 * lyxfunc.C (dispatch): print complete options after a prefix key
9469 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9471 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9473 * text2.C (setCharFont): eliminate setCharFont code duplication.
9475 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9477 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9478 LFUN_TABULAR_FEATURE (bug #177)
9480 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9482 * Makefile.am: remove figure.h
9484 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9486 * Bufferview_pimpl.C:
9498 * text2.C: remove #include "lyx_gui_misc.h".
9500 * LaTeX.C: added #include <cstdio>
9502 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9504 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9505 that the paragraph following this one can have.
9507 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9509 * vspace.C (asLatexCommand): fix bogus gcc warning
9511 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9513 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9515 * text2.C (setLayout): get rid of redundant code
9517 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9519 * text2.C (incDepth): make sure depth cannot be increased beyond
9522 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9524 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9525 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9527 * PainterBase.h (image):
9528 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9531 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9535 * BufferView_pimpl.C:
9536 * BufferView_pimpl.h:
9556 * sp_spell.C: remove fig inset, and the crap house of
9557 cards that follows it
9559 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9565 * nt_defines.h: move .h into support/
9567 * vms_defines.h: remove
9569 * WorkArea.C: add space in debug output
9573 * buffer.C: add WITH_WARNINGS
9577 * bufferlist.C: s/retrive/retrieve/, add docs
9588 * lyxgui.C: add ID to X error handler
9590 * lyxtestclass.c: fix typo
9592 2002-02-26 Juergen Vigna <jug@sad.it>
9594 * tabular_funcs.C (write_attribute): changed so that some default
9595 attributes are not written at all.
9596 (getTokenValue): set default values before trying to read the
9597 value so we have the return value always set as default if we don't
9598 find the token we search for.
9600 * tabular.C (Write): write bools as bools not as strings!
9602 2002-02-22 Juergen Vigna <jug@sad.it>
9604 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9605 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9607 * text.C (leftMargin): don't add an indent for paragraphs inside
9608 tabular cells (fix #208).
9610 2002-02-21 José Matos <jamatos@fep.up.pt>
9612 * tabular.C (docBook): fixed support for long tables.
9614 2002-02-20 Juergen Vigna <jug@sad.it>
9616 * text2.C (getFont): get the drawing font of the Inset if this
9617 paragraph is inside an inset (only important for InsetERT for now).
9619 * buffer.C (insertErtContents): use new lanugage params in ERT
9622 * CutAndPaste.C: commenting out seemingly uneeded code.
9624 2002-02-19 Allan Rae <rae@lyx.org>
9626 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9627 Iterators might be simple to use but they also get invalidated.
9628 (removeAutoInsets): renamed saved cursor tracking variables and added
9629 some comments to clarify what everything does.
9631 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9638 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9639 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9642 * vc-backend.h: remove #include "support/syscall.h"
9646 * converter.C: rearrange #includes in Lars' approved fashion.
9648 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9649 forward declare class Timeout in the header file.
9651 * XFormsView.C: changes due to the above.
9653 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9656 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9657 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9659 2002-02-18 José Matos <jamatos@fep.up.pt>
9661 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9664 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9666 * a lot of small ws changes
9667 * add a lot of using std::XXX
9668 * use std construcs some places where approp.
9669 * use some exisint stuff from lyxfunctional where approp.
9670 * Make file changes to use partial linking (lets test this now...)
9672 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9676 remove #include "support/syscontr.h" as it's redundant. Always has been.
9684 change Systemcalls::System to Systemcalls::Wait and
9685 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9686 No change of functionality, just reflects the stripped down Systemcalls
9689 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9691 * debug.[Ch]: add a GRAPHICS type to the enum.
9693 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9695 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9697 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9700 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9702 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9703 match the changes below.
9705 * text2.C (toggleInset): if there is not editable inset at cursor
9706 position, try to see if cursor is _inside_ a collapsable inset
9709 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9711 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9712 document menu has a nice checkbox
9714 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9716 * lyxlength.C (asLatexString): change PW to output as percent of
9719 * lengthcommon.C: change '%' to 't%'
9721 * lyxfunc.C (dispatch): a few comments from Martin
9723 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9727 * BufferView_pimpl.h:
9728 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9731 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9733 * vspace.C (inPixels): fix compiler warning
9735 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9737 * lyxfunc.C (getStatus): fix status message for disabled commands.
9739 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9741 * BufferView_pimpl.C: fix crash on close buffer
9742 during selection (#227)
9744 2002-01-27 Herbert Voss <voss@lyx.org>
9746 * buffer.C: link old Figure to new graphic inset
9748 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9750 * FontLoader.C (getFontinfo): Change the latex font names in order
9751 to match the names of type1inst.
9753 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9755 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9757 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9760 (remove_files_with_extension): ditto
9761 (remove_file): ditto
9764 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9765 document is smaller than the work area height. Do not initialize
9766 static variables to 0.
9768 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9770 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9772 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9773 LFUN_LAYOUT_PARAGRAPHS.
9775 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9776 tabular. It is possible to provide a possible cell, which will
9777 typically be the actcell from the corresponding insettabular
9779 * lyxfunc.C (getStatus): small cleanup; disable
9780 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9783 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9785 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9787 * paragraph.C (startTeXParParams):
9788 (endTeXParParams): new methods. The LaTeX code to
9789 start/end paragraph formatting
9790 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9791 empty (fixes bug #200)
9793 * vspace.C (inPixels): adapt to the change below
9794 (inPixels): [later] more cleanups (remove unused variables)
9796 * lyxlength.C (inPixels): change to use a width and a height as
9799 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9801 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9802 Replaced with \paperwidth
9804 * DepTable.C (insert): add std:: qualifier
9806 2002-01-18 Allan Rae <rae@lyx.org>
9808 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9811 * text.C (drawInset): Turned out I didn't know enough about how
9812 rebreaking worked. This fixes most of the redraw problems. I see
9813 an occasional cursor trail when a line is broken now and the cursor
9814 placement can seem out by a few pixels also after a rebreak.
9816 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9818 * buffer.C (parseSingleLyXformat2Token): update because minipage
9819 width is now a LyXLength
9821 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9823 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9826 2002-01-17 Juergen Vigna <jug@sad.it>
9828 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9830 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9831 is set correctly and the inset is updated correctly.
9833 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9835 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9836 the beginning of the loop.
9838 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9840 * lyxrc.C: improve help for use_scalable_fonts
9842 2002-01-17 Allan Rae <rae@lyx.org>
9844 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9846 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9848 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9849 make sure to set their inset_owner to the right value (bug #171)
9851 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9854 * DepTable.C: Implement mtime checking to reduce time spent doing
9857 2002-01-16 Juergen Vigna <jug@sad.it>
9859 * tabular.C (GetAdditionalHeight): one of error fixed.
9861 * lyxrc.C (output): small fix in writing use_pspell.
9863 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9865 * sp_base.h: #include LString.h
9867 2002-01-16 Allan Rae <rae@lyx.org>
9869 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9870 Can someone check this please?
9872 * text.C (drawInset): It was possible that p.row would be removed by
9873 breakAgainOneRow upsetting a few other settings. There may be another
9874 small tweak possible by setting need_break_row = 0 when p.row has been
9875 removed but I don't know enough about the logic here.
9877 2002-01-15 Allan Rae <rae@lyx.org>
9879 * text.C (insertChar): removed conditional truism.
9881 * BufferView2.C (removeAutoInsets): More tweaks.
9882 cur_par_prev could be a stray pointer. Check for trailing empty line
9883 in case last line was cur_par and only had an error inset on it.
9885 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9887 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9890 * vc-backend.C (most methods):
9891 * exporter.C (Export):
9892 * converter.C (convert):
9894 * LyXSendto.C (SendtoApplyCB):
9895 * lyxfunc.C (dispatch):
9899 * lyx_cb.C (AutoSave):
9901 * BufferView_pimpl.C (MenuInsertLyXFile):
9902 * buffer.C (runChktex): use Buffer::filePath().
9904 * buffer.h: rename filename to filename_; rename filepath to
9905 filepath_ and make it private
9906 (filePath): new method
9908 * buffer.C (writeFile): use fileName()
9911 * lyx_main.C (init): fix starting of LyX when the binary is a
9912 link from so,ewhere else.
9914 * minibuffer.C: include <cctype> for isprint
9916 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9918 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9919 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9920 name clash with InsetCollapsable's width function.
9922 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9924 * lastfiles.C: include <iterator>
9926 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9928 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9931 * buffer.C (makeLaTeXFile): ditto.
9932 Also make loop operation more transparent.
9934 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9936 * ToolbarDefaults.C: remove trailing comma closing namespace.
9938 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9940 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9943 * trans.C (Load): comment out unused variable, allowed.
9945 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9947 * minibuffer.[Ch] (append_char): new method to recieve input from the
9948 drop-down completion browser. If a key was pressed, then recieve this
9949 char and append it to the existing string.
9950 (peek_event): modify the positioning data passed to the completion
9951 browser so that it can be placed above the minibuffer rather than below.
9952 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9954 * LyXAction.C (init): alloe error-next for readonly documents.
9956 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9959 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9961 * bufferlist.C (readFile): create the buffer _after_ checking that
9964 * lyxfunc.C (verboseDispatch): fix handling of arguments
9966 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9968 * lyxrc.C: use string::erase() instead of initializing to "".
9971 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9973 * BufferView_pimpl.h:
9974 * BufferView_pimpl.C:
9977 * text2.C: tell X when we have made a selection for copying
9979 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9981 * BufferView_pimpl.C (MenuInsertLyXFile):
9982 * lyxfunc.C (menuNew):
9984 (doImport): add shortcuts to directory buttons
9986 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9989 * lyxfunc.C (setStatusMessage):
9990 (getStatusMessage): new methods
9991 (getStatus):use setStatusMessage instead of setErrorMessage
9992 (dispatch): when function is disabled, set error message here
9993 [instead of in getStatus previously]
9995 * BufferView_pimpl.C (workAreaButtonRelease): update
9996 toolbar/menubar here too.
9998 2002-01-13 Allan Rae <rae@lyx.org>
10000 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10001 Now seems indestructible. Remaining task is to audit all other
10002 code affected by deleteEmptyParagraphMechanism. One small quirk
10003 left is that an empty document with an error in the preamble can
10004 be made to report an error but no error box appears. I don't know
10006 (removeAutoInsets): Improved comments.
10008 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10011 * Thesaurus.C: update for Aiksaurus 0.14
10013 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10015 * text2.C (firstParagraph): removed member function, all uses
10016 replaces with ownerParagraph
10017 (redoParagraphs): here
10018 (updateInset): here
10019 (toggleAppendix): here
10020 * BufferView2.C (insertErrors): here
10021 (setCursorFromRow): here
10023 2002-01-13 Allan Rae <rae@lyx.org>
10025 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10026 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10027 There is still a way to segfault this although you may have to do this
10028 multiple times: Have an InsetERT with an unknown command in it.
10029 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10030 <down-arrow>, <Enter> again, View->DVI, BANG!
10032 * text2.C (setCursor):
10033 (deleteEmptyParagraphMechanism):
10034 * lyxtext.h (setCursor):
10035 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10036 Making use of the return value may help fix other bugs.
10038 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10040 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10042 * LyXView.C (updateMenubar): call MenuBar::update here
10043 (updateToolbar): but not here
10044 (showState): do not update toolbar/menubar
10046 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10047 should need to care about that.
10049 * lyxfunc.C (verboseDispatch): simplify a bit
10050 (getStatus): have a version which takes a pseudoaction, and
10051 another which requires a (kb_action,string).
10053 * LyXAction.C (retrieveActionArg): make it work also when action
10054 is not a pseudo-action.
10055 (getActionName): simplify a bit
10058 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10060 * lyxfunc.C (verboseDispatch): new families of methods with
10061 several ways to specify a command and a bool to indicate whether
10062 the command name and shortcut should be displayed in minibuffer
10063 (eventually, we could extend that to a finer bitmask like
10064 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10065 (dispatch): the pristine dispatch command which just, well,
10066 dispatchs! Note it still sets its result to minibuffer; I'm not
10069 * lyxfunc.h: remove setHintMessage
10071 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10073 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10075 * BufferView_pimpl.C (specialChar): delete new inset if we have
10076 not been able to insert it.
10078 * kbmap.C: revert to using int instead of kb_action, since all we
10079 are dealing with is pseudo-actions.
10081 * LyXAction.C (searchActionArg): change to return int instead of
10082 kb_action, since the result is a pseudoaction.
10084 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10086 * buffer.C (insertErtContents): Fix (partially) the font bug.
10088 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10090 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10091 as the other one is broken on my machine!
10093 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10096 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10098 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10100 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10101 reflect their actual use. Provide compatibility code for older lyxrc
10104 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10106 change names of popup font variables in line with the changes to lyxrc.C
10108 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10110 * buffer.C (asciiParagraph): avoid outputing a word twice after
10113 * lyxrc.C (getDescription): document that document_path and
10114 template_path can be empty.
10116 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10118 * LaTeXFeatures.C (getMacros):
10119 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10121 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10123 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10125 (getPackages): rename feature "floats" to "float". Use an array to
10126 iterate over 'simple' features (i.e. just a \usepackage). Add
10127 handling of "amsmath" (renamed from "amsstyle").
10129 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10131 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10134 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10136 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10137 FuncStaus::FuncStatus & FuncStaus::some_method().
10139 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10141 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10142 of the func_satus stuff. Edited and massaged in various ways by
10145 * lyxfunc.C (getStatus): use FuncStatus
10147 2002-01-08 Juergen Vigna <jug@sad.it>
10149 * text.C (nextBreakPoint): use function Inset::isChar().
10151 * paragraph.C (TeXOnePar): use function
10152 Inset::forceDefaultParagraphs.
10154 * buffer.C (latexParagraphs): use function
10155 Inset::forceDefaultParagraphs.
10157 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10159 * lyx_gui.C (init): set the style of the menu popups to
10160 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10162 2002-01-07 Juergen Vigna <jug@sad.it>
10164 * text.C (setHeightOfRow): small fix
10165 (prepareToPrint): don't look at alignment if we don't have the place
10168 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10170 * box.C: New file. Move the Box methods and functions out of box.h,
10171 following Lars' suggestion.
10173 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10175 * box.h: #include "support/LOstream.h", needed for inlined function.
10178 * lyxtextclasslist.C: added some using std declarations.
10180 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10182 * box.h: make signed dimensions to allow insets wider than
10183 the screen (bug #162)
10185 * BufferView_pimpl.C: add some insetHit debug
10187 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10189 * vc-backend.C: add FIXME
10191 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10193 * lyxfunc.C (getStatus): enable code for showing math font status
10196 2002-01-07 Juergen Vigna <jug@sad.it>
10198 * text.C (nextBreakPoint): removed debug output not needed anymore.
10200 2002-01-06 Juergen Vigna <jug@sad.it>
10202 * text.C (nextBreakPoint): fixed up this function we had this bug
10203 since ever but now hopefully we break row better.
10204 (insertChar): we have to check if an inset is the next char as it
10205 could now happen that a large inset is causing a break.
10207 2002-01-05 Juergen Vigna <jug@sad.it>
10209 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10210 if it doesn't like to be drawed.
10212 2002-01-04 Juergen Vigna <jug@sad.it>
10214 * BufferView2.C (lockInset): forgot to set a cursor.
10216 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10218 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10220 * FormMathsPanel.C:
10223 * form_maths_panel.C:
10224 * form_maths_panel.h:
10225 * form_maths_panel.fd: implemented sub- and super- buttons in math
10228 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10229 (or ^ space) to be used as in TeX (req'd by André).
10231 * lyxfunc.C: Allow ^ and _ again to be used both as
10232 super/subscript (mathed) and as themselves (in text).
10234 2002-01-03 Allan Rae <rae@lyx.org>
10236 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10237 "LyX" or the filename of the current buffer if it has one. This is a
10238 modified form of John Levon's patch.
10240 * XFormsView.C (setWindowTitle): also set icon title.
10242 * LyXView.h (setWindowTitle): signature changed.
10243 * XFormsView.h (setWindowTitle): ditto.
10245 2002-01-02 Juergen Vigna <jug@sad.it>
10247 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10249 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10251 * screen.C (topCursorVisible): introduce a temp var for
10252 text->cursor.row(), handle the case where this row is null. (kindo
10255 * text2.C (setCursor): add a couple of asserts.
10257 * paragraph.h (inset_iterator): add -> operator
10259 * paragraph.[Ch] (autoDeleteInsets): remove member function
10261 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10262 cursor pos correctly and handle inset deletion by itself.
10263 (insertErrors): move iterator declaration out of for expression
10265 * lyxtextclass.C: add <algorithm>
10267 * Makefile.am: added the new files to sources, removed layout.C
10269 * layout.C: removed file
10271 * layout.h: remove LYX_DUMMY_LAYOUT
10273 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10277 * lyxtextclass.[Ch]:
10278 * lyxtextclasslist.[Ch]: new files
10280 * include order changes to a lot of files, also changes because of
10283 2001-12-27 Juergen Vigna <jug@sad.it>
10285 * buffer.C (asciiParagraph): more fixes.
10287 * tabular.C (ascii): make ascii export support export of only the
10288 data separated by a column-delimiter.
10289 (ascii): better support for ascii export.
10291 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10293 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10295 * tabular_funcs.C: use a "using std::getline" instead of the
10296 previous fix from Angus (necessary for cxx + lyxstring)
10298 2001-12-24 Juergen Vigna <jug@sad.it>
10300 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10302 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10303 problems. First check a minipage also if we have some ert-contents
10304 (not only on par->size(), second set the right depth of the paragraph
10305 on the relink to the root-paragraph-list!
10307 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10308 which then did not anymore update the main paragraphs on undo/redo!
10310 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10312 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10313 code. Support all font-changing funcs (even those which are not in
10314 menu currently). Support for reporting font settings in
10315 mathed (disabled until Andre provides a function on mathed's side).
10317 * func_status.h (toggle): small helper function to set toggle
10320 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10322 * tabular_funcs.C: getline -> std::getline
10324 2001-12-21 Juergen Vigna <jug@sad.it>
10326 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10327 accessed and could be 0 (I couldn't generate this but it seems
10330 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10332 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10333 * tabular_funcs.h: here and include iosfwd
10335 2001-12-20 Juergen Vigna <jug@sad.it>
10337 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10338 inside inset but undo_par was.
10340 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10342 * Thesaurus.C: always include <config.h> in sources.
10346 * box.h: do not include <config.h> in header files
10348 * text.C (paintLastRow): remove unused variable
10350 * text.C (transformChar):
10352 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10354 * Painter.C (text):
10355 * font.C (width): rewrite to use uppercase() instead of
10358 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10360 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10362 * lyxfind.C: clean up of find failure position change
10364 2001-12-20 Juergen Vigna <jug@sad.it>
10366 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10368 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10369 (TeXRow): added to LaTeX a single tabular row.
10370 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10371 (Latex): simplified and finally good LT-h/f support.
10372 (various_functions): just small adaptions for LT-h/f support.
10374 * tabular_funcs.[hC]: added and moved here all not classfunctions
10377 2001-12-19 Juergen Vigna <jug@sad.it>
10379 * tabular.[Ch]: better support for longtabular options (not finished
10382 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10384 * text.C (paintLastRow): use the label font instead of the font of
10385 the last character to compute the size of *_BOX. This makes more
10386 sense and avoids a crash with empty paragraphs.
10387 Use Painter::rectangle to draw EMPTY_BOX.
10389 2001-12-19 Juergen Vigna <jug@sad.it>
10391 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10392 the paragraphs if the replaced paragraph is not the first one!
10393 Tried to delete not used paragraphs but does not work yet so for
10394 now it's inside #ifdef's and by default off!
10396 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10398 * MenuBackend.C: include "lyx_main.h" instead of declaring
10399 lastfiles (actually was declared as LastFiles* instead of a
10402 2001-12-17 Juergen Vigna <jug@sad.it>
10404 * tabular.C (AppendColumn): applied John's fix
10406 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10410 * BufferView_pimpl.h:
10411 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10414 * box.h: new start of class for above
10416 * lyxfunc.C: ignore space-only minibuffer dispatches.
10417 Show the command name when it doesn't exist
10419 * minibuffer.C: don't add empty lines to the history
10421 * minibuffer.C: add a space on dropdown completion
10423 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10425 * text.C: fix line above/below drawing in insets
10427 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10429 * lyxlength.C (LyXLength): Initialize private variables.
10431 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10433 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10434 when inserting error insets.
10436 2001-12-13 Juergen Vigna <jug@sad.it>
10438 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10439 actually sometimes the before-paragraph.
10440 (setUndo): don't clear the redostack if we're not actually undoing!
10442 2001-12-06 Juergen Vigna <jug@sad.it>
10444 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10445 and fixed redoing of main paragraph, so we can use it now ;)
10447 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10449 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10451 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10454 2001-12-13 André Pönitz <poenitz@gmx.net>
10457 * undo_func.C: minor cleanup
10459 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10461 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10462 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10463 font in urw-fonts package which is marked as -urw-fontspecific and
10464 does not work (incidentally, changing the encoding in the
10465 fonts.dir of this package to -adobe-fontspecific fixes the
10468 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10469 is a crash when undoing first paragraph (Juergen, please take a
10470 look). THis does not mean the undo fix is wrong, just that it
10473 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10474 the (Paragraph*) version when needed instead of duplicating the
10477 * text.C (workWidth): use Inset::parOwner to find out where the
10478 inset has been inserted. This is a huge performance gain for large
10479 documents with lots of insets. If Inset::parOwner is not set, fall
10480 back on the brute force method
10482 * paragraph_pimpl.C (insertInset):
10483 * paragraph.C (Paragraph):
10484 (cutIntoMinibuffer): set parOwner of insets when
10485 inserting/removing them
10487 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10489 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10495 * mathed/formulabase.C:
10496 * mathed/math_cursor.[Ch]:
10497 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10500 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10502 * lyxlength.[Ch] (operator!=): new function
10504 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10506 * text.C (workWidth): use Inset::parOwner to find out where the
10507 inset has been inserted. This is a huge performance gain for large
10508 documents with lots of insets. If Inset::parOwner is not set, fall
10509 back on the brute force method
10511 * paragraph_pimpl.C (insertInset):
10512 * paragraph.C (Paragraph):
10513 (cutIntoMinibuffer): set parOwner of insets when
10514 inserting/removing them
10516 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10518 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10520 * tabular-old.C (getTokenValue):
10521 * tabular.C (getTokenValue):
10522 (write_attribute): new versions for LyXLength
10523 (everywhere): adjust the use of widths
10525 * tabular.h: change the type of widths from string to LyXLength
10527 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10529 * paragraph.C: fixed missing line number count when exporting
10530 Environments to LaTeX file
10532 * buffer.C: added informational message for checking line numbers.
10534 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10536 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10537 paragraph, do the 'double space' part, but not the 'empty
10540 * text.C (workWidth): small optimization
10541 (getLengthMarkerHeight): use minimal size for negative lengths.
10543 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10545 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10547 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10549 2001-12-11 André Pönitz <poenitz@gmx.net>
10552 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10554 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10556 * text2.C: keep selection on a setFont()
10558 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10560 * lyx_cb.C: another bv->text misuse, from insert label
10562 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10565 * kbsequence.C: re-instate nmodifier mask
10567 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10569 * lyx_main.h: make lyxGUI private.
10571 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10573 * lyxfind.C: place the cursor correctly on failed search
10575 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10577 * text.C (getLengthMarkerHeight): for small heights, the arrows
10578 are not always on top/bottom of the text
10579 (drawLengthMarker): smaller arrows; take the left margin in
10580 account; draw also vfills.
10582 (paintLastRow): remove special code for vfill and standard spaces,
10583 since everything is handled in drawLengthMarker now.
10585 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10587 * buffer.C (insertErtContents): try to handle font and language
10588 interaction a bit better.g
10590 * ColorHandler.C (updateColor): change the hash to cover the whole
10591 LColor enum, ws cleanup
10592 (getGCLinepars): ditto
10593 (getGCLinepars): only lookup in the linecache once.
10595 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10597 * iterators.C (operator++): Make the iterator more robust
10599 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10601 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10603 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10606 * text.C: better added space drawing
10608 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10611 * BufferView2.C: fix layout combo update on inset unlock
10613 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10615 * Makefile.am: don't compile unused files
10617 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10621 * LyXAction.C: remove old LFUN_LAYOUTNO
10623 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10625 * paragraph_pimpl.h:
10626 * paragraph_pimpl.C: isTextAt() doesn't need font param
10628 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10631 * lyxlex.C: little cleanup
10633 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10635 * BufferView_pimpl.C: fix insertAscii for insets
10637 2001-12-05 Juergen Vigna <jug@sad.it>
10639 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10640 set the right font on the "multi" paragraph paste!
10642 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10648 * lyxlength.C: remove out-commented code.
10650 * BufferView_pimpl:
10664 * vc-backend.C: change "while(" to "while ("
10666 * lyxlength.[Ch]: add zero function to check if length is zero or
10668 * lyxgluelength.C: use it
10670 2001-12-05 Allan Rae <rae@lyx.org>
10672 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10673 Works for 2.95.3, from what I understand of Garst's reports this should
10674 work for other g++ versions. We're screwed if the abs(int) definition
10675 changed between bugfix releases of gcc.
10677 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10679 * text.C: fix chapter label offset !
10681 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10684 * text.C: fix hfill at end of line, clean up
10686 2001-12-04 Juergen Vigna <jug@sad.it>
10688 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10689 that we force an update of the inset and it's owners if neccessary.
10691 2001-12-03 Juergen Vigna <jug@sad.it>
10693 * text.C (rowLast): simplified code
10695 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10697 * lyxfunc.C: fix show options on timeout
10699 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10701 * screen.C (topCursorVisible): scroll half a page when the cursor
10702 reached top of bottom of screen
10704 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10706 * minibuffer.C: deactivate on loss of focus
10708 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10710 * vspace.[Ch] (operator!=): add operator.
10712 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10714 * BufferView_pimpl.C: refuse to open an inset when
10715 there's a selection.
10717 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10719 * BufferView_pimpl.C: allow to click on RHS of full row insets
10721 2001-11-30 Juergen Vigna <jug@sad.it>
10723 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10724 insets for undo reasons.
10726 2001-11-28 André Pönitz <poenitz@gmx.net>
10728 * vspace.[Ch]: cosmetical changes
10730 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10740 * kbsequence.C: part re-write of old kb code
10743 * WorkArea.C: remove Lgb_bug_find_hack
10745 2001-11-30 José Matos <jamatos@fep.up.pt>
10747 * buffer.C (makeDocBookFile): add a comment to point a hack.
10748 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10749 Fixed a double write of labels.
10751 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10754 * LaTeX.h Fixed bug in LaTeX class where it would not
10755 re-run latex if no depfiles were changed, but the .dvi was removed.
10757 2001-11-28 André Pönitz <poenitz@gmx.net>
10759 * all the files from the change on 2001/11/26:
10760 use lyx::layout_type instead of LyXTextClass::size_type
10761 use lyx::textclass_type instead of LyXTextClassList::size_type
10763 2001-11-29 Juergen Vigna <jug@sad.it>
10765 * text.C: added support for paragraph::isFreeSpacing()
10767 * buffer.C: same as above
10769 * paragraph.h: inserted isFreeSpacing() function to enable
10770 FreeSpacing inside InsetERT.
10772 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10773 of the paragraph's in the cut/copy buffer to 0!
10775 * text2.C (removeRow): remove the assert as it can!
10777 * lyxtext.h: added helper function firstRow returning firstrow and
10778 made firstrow private again.
10780 * BufferView2.C (lockInset): don't relock if we're already locked!
10782 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10783 the only paragraph.
10784 (removeRow): added Assert::(firstrow)
10786 * debug.C: forgot to add INSETTEXT here.
10788 2001-11-28 Juergen Vigna <jug@sad.it>
10790 * sp_spell.C (initialize): changed error text to more general
10791 spellchecker command use (not only ispell!)
10793 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10795 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10797 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10799 * vspace.C: initialise lyxgluelength on failure
10801 2001-11-28 Allan Rae <rae@lyx.org>
10803 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10804 declaration & definition that looks like a function declaration.
10806 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10808 * BufferView2.C (copy):
10809 (copyEnvironment): do not clear the selection when doing a copy.
10811 * text.C (paintFirstRow): compilation fix
10813 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10815 * tabular.C (Latex): correct line count when writing latex.
10817 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10819 * paragraph_pimpl.h:
10820 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10823 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10827 * LColor.C: change vfillline->added_space
10829 * text.C: add markers and text for added space
10831 * vspace.C: fix comment
10833 2001-11-28 André Pönitz <poenitz@gmx.net>
10835 * paragraph.C: whitespace changes
10836 * all the other files from the change on 2001/11/26:
10837 change *::pos_type into lyx::pos_type
10839 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10841 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10842 language of the document when inserting error insets.
10844 2001-11-26 André Pönitz <poenitz@gmx.net>
10846 * BufferView_pimpl.[Ch]:
10854 * paragraph_pimpl.[Ch]:
10857 * text2.C: reduce header dependencies, introduce type for positions
10859 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10861 * <various>: change to use Alert.h
10863 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10865 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10866 when encountering an unknown token.
10867 (readLyXformat2): Show an error message if there were unknown tokens.
10869 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10872 * BufferView_pimpl.C:
10876 * text2.C: use par->isInset()
10878 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10880 * paragraph_pimpl.h:
10881 * paragraph_pimpl.C: cleanup
10883 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10885 * text2.C (removeRow):
10886 * text.C (setHeightOfRow): remove useless (and costly) call to
10889 2001-11-20 Allan Rae <rae@lyx.org>
10891 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10892 Now need Inset*::checkInsertChar() to return true for appropriate
10893 cases so that the characters in the minibuffer will actually be
10896 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10898 * text.C: change the order of the includes.
10899 (workWidth): initialize it at once.
10900 (workWidth): make maxw unsigned
10901 (setHeightOfRow): remove unused variable (inset)
10902 (selectSelectedWord): remove unused variable (inset)
10903 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10905 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10907 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10908 server is not running.
10910 (closeConnection): add debug info when server is disabled.
10912 * ColorHandler.C (getGCForeground): send debug message to GUI
10915 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10917 * kbmap.C (bind): modify because return conventions of
10918 kb_sequence::parse have changed.
10920 * kbsequence.C (parse): only ignore spaces and not any stupid
10921 control character. This avoids tests like s[i] <= ' ', which are
10922 guaranteed to fail with 8bit characters and signed chars.
10923 Change return code to string::npos when there have been no error
10924 (0 was a bad idea when error is at first character)
10926 2001-11-14 José Matos <jamatos@fep.up.pt>
10929 * buffer.C (simpleDocBookOnePar): removed unused argument.
10931 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10933 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10934 insets which are part of a word. Paragraph::isLetter takes care of
10935 that now. Use Paragraph::isInset to identify insets.
10936 (selectSelectedWord): do not test for hyphenation break.
10938 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10939 that protected spaces are considered as spaces.
10941 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10944 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10947 * lyxserver.C: fix it. and small cleanup.
10949 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10951 * BufferView_pimpl.C: use inline helpers
10954 * LaTeXFeatures.C: fix typos
10957 * Spacing.C: move spacing_string into class
10959 * ToolbarDefaults.C: move stuff into namespace anon
10961 * layout.h: update enum
10963 * lyxfunc.C: use better debug
10965 * minibuffer.h: fix typo
10969 * WorkArea.C: add and use Debug::WORKAREA
10973 * text2.C: code re-organisation, inline helpers
10975 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10977 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10978 std::vector.empty().
10980 2001-11-09 Allan Rae <rae@lyx.org>
10982 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10983 '\n's after tables. Tabular and ERT inset work now makes this no
10986 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10989 * minibuffer.C: fix crash, improve drop-down completion
10991 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10994 * lyxserver.C: invalidate fd's when doing endPipe()
10996 2001-11-08 José Matos <jamatos@fep.up.pt>
10998 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10999 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11002 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11004 2001-11-07 José Matos <jamatos@fep.up.pt>
11007 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11010 * buffer.C (sgmlOpenTag):
11011 * buffer.C (sgmlCloseTag): removed debug info.
11013 * buffer.h (sgmlOpenTag):
11014 * buffer.h (sgmlCloseTag): made public.
11016 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11018 * buffer.C (saveParamsAsDefaults):
11019 * lyx_cb.C (MenuLayoutSave): remove
11021 * LyXAction.C (init):
11023 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11025 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11027 * buffer.C (setPaperStuff): removed from here...
11029 * bufferparams.C (setPaperStuff): ... and moved there.
11031 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11035 * XFormsView.C: add support for drop-down completion
11037 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11039 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11042 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11044 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11047 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11049 * lyx_main.C: change ref to known bugs
11051 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11053 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11054 to work around older babel problems.
11056 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11058 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11060 2001-10-24 Juergen Vigna <jug@sad.it>
11062 * tabular-old.C (ReadOld): below variable changes reflected.
11064 * tabular.[Ch]: added ltType struct for longtable header/footer
11065 defines and changed all instances where they are used. Added
11066 future support for double top/bottom rows.
11068 2001-10-24 José Matos <jamatos@fep.up.pt>
11070 * buffer.h (docbookHandleCaption):
11071 * buffer.C (docbookHandleCaption): removed unused function.
11072 (makeDocBookFile): moved docbook supported version to v4.1.
11074 2001-10-24 José Matos <jamatos@fep.up.pt>
11077 * tabular.C (docbookRow): new function to export docbook code of a row.
11078 (DocBook): now honors the longtable flags.
11080 2001-10-23 José Matos <jamatos@fep.up.pt>
11083 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11084 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11086 * buffer.C (makeLinuxDocFile):
11087 (makeDocBookFile): reworked the preamble, more clean, and with
11088 support for lyx defined entities. Changed the document declaration
11089 to be more XML friendly.
11091 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11092 if we need to output XML that should be done with a filter.
11094 2001-10-22 Juergen Vigna <jug@sad.it>
11096 * sp_pspell.h (class PSpell): add alive function needed in the
11097 controller to see if the spellchecker could be started.
11099 2001-10-22 Juergen Vigna <jug@sad.it>
11101 * buffer.C (insertStringAsLines): modify the font for inserting
11102 chars in certain conditions by calling checkInsertChar(font).
11104 2001-10-19 Juergen Vigna <jug@sad.it>
11106 * text.C (workWidth): use getRow instead of wrong algorithm.
11107 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11109 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11114 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11116 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11118 * text.C (workWidth): do not search for the exact row when
11119 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11120 optimization for big documents.
11122 2001-10-18 Juergen Vigna <jug@sad.it>
11124 * text.C (workWidth): new function with added Inset * parameter.
11126 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11128 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11130 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11131 change return type of getColumnNearX.
11134 * text.C (changeRegionCase): use uppercase/lowercase instead of
11137 (rightMargin): simplify code by factoring out the uses of
11142 (appendParagraph): use Paragraph::size_type
11144 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11146 * vspace.C (asLatexString): add a missing break
11148 2001-10-15 Herbert Voss <voss@perce.de>
11150 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11152 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11154 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11157 2001-10-10 André Pönitz <poenitz@gmx.net>
11159 * lyxfunc.C: removed greek_kb_flag.
11161 2001-10-10 Herbert Voss <voss@perce.de>
11163 * lyx_main.C: delete global string help_lyxdir.
11165 2001-10-09 Herbert Voss <voss@perce.de>
11167 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11169 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11171 * lyx_main.C: added global string help_lyxdir.
11173 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11175 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11177 * lyxrc.C (set_font_norm_type): support iso8859-4
11179 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11181 * LaTeX.C (deplog): add another regex for MikTeX
11183 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11185 * lyxrc.C (set_font_norm_type): support iso8859-3
11187 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11189 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11191 * LaTeXFeatures.C: remove special case of french and index
11193 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11194 before \begin{document}). This solves several incompatibilities.
11196 2001-10-03 Garst Reese <reese@isn.net>
11198 * lyx_cb.C: change CheckTex error msg.
11200 2001-10-03 José Matos <jamatos@fep.up.pt>
11202 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11204 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11206 * .cvsignore: update
11208 * lyx_main.C (commandLineVersionInfo): use new style version info.
11210 * buffer.C (writeFile):
11212 (makeLinuxDocFile):
11213 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11215 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11217 * version.h: update to use stuff in version.C
11219 * version.C.in: new file. Contains version information determined
11220 at compile time. This is a merging of version.h and
11223 2001-10-03 Juergen Vigna <jug@sad.it>
11225 * BufferView_pimpl.C (update): don't change "dirty" status in
11228 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11230 * WorkArea.C (c-tor): re-position version string slightly.
11232 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11234 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11235 revert to previous code.
11237 WorkArea.[Ch]: (show, destroySplash): methods removed.
11239 WorkArea.C: rework code so that it's an amalgam of the codes before and
11240 after the splash screen was moved to WorkArea.
11242 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11245 * vspace.C (inPixels):
11248 * buffer.C (insertStringAsLines):
11249 (asciiParagraph): fix types to be large enough
11251 * lyxlex_pimpl.h: change member status from short to int
11253 * layout.h: fix type of endlabeltype
11256 * kbsequence.C (parse): change return type to string::size_type
11258 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11261 * Bullet.C (bulletSize):
11262 (bulletEntry): do not use short ints as parameters
11264 * BufferView2.C (insertLyXFile): change a char to an int.
11266 * WorkArea.C (WorkArea): remove unneeded floats in computation
11268 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11270 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11272 * paragraph.C (asString): Do not ignore newline/hfill chars when
11273 copying to the clipboard.
11275 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11277 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11278 after a multi-line inset.
11280 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11282 * paragraph.C (validate): Set NeedLyXFootnoteCode
11284 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11286 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11287 and decrease-error to decrease.
11289 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11291 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11292 it more readable (should be equivalent)
11294 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11296 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11298 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11300 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11301 of a cursor (row, etc.) after a character has been deleted
11302 (deleteEmptyParagraphMechanism): call the method above on _all_
11303 cursors held by the LyXText when a double space has been
11306 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11308 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11310 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11312 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11313 background. Use greyOut() and the new show() methods to toggle between
11314 the foreground and background. Add code to remove the splash after
11315 its initial showing.
11317 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11318 (create_forms): no longer call Dialogs::showSplash.
11320 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11322 * .cvsignore: add version_info.h
11324 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11326 * version_info.h.in: new file
11328 * Makefile.am: add version_info.h.in
11330 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11331 version_info.h instead of VERSION_INFO
11333 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11335 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11336 The ERT inset now returns string().
11338 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11340 * lyxtext.h, text.C (selectNextWord): renamed as
11341 selectNextWordToSpellcheck.
11343 * text.C (selectNextWordToSpellcheck): Modified to not select
11344 words inside an ERT inset.
11346 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11348 * lyx_cb.C (MenuLayoutSave): change a bit the question
11350 * sp_base.h: include <sys/types.h>
11352 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11354 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11356 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11358 * several files: fix typos in user-visible strings
11360 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11362 * text2.C (pasteSelection): do not set the selection, since it
11363 will be cleared later. Actually, the intent was to fix the way the
11364 selection was set, but I figured rmoving the code was just as good.
11366 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11368 * FontLoader.C (available): Check if font is available without
11371 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11373 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11375 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11377 * lyxrc.[Ch]: added display_graphics variable and associated code.
11379 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11381 * bufferparams.C (hasClassDefaults): new method. Returns true if
11382 the buffer parameters correspond to known class defaults
11384 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11386 * XFormsView.C (show): set minimum size to the main window.
11388 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11390 * text2.C (copySelection):
11392 * lyxfind.C (LyXReplace):
11393 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11394 LyXText::selectionAsString.
11396 * paragraph.C (asString): add "label" argument to the second form
11398 * text2.C (selectionAsString): add "label" argument and pass it to
11399 Paragraph::asString.
11401 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11403 * lyx_main.C (commandLineHelp): remove version information
11405 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11407 * lyx_main.C: add -version commandline option
11409 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11411 * paragraph.h: make the optional constructor arg required instead.
11412 some modifications to other files because of this.
11414 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11416 * lyxserver.C (C_LyXComm_callback): make it static
11418 * lyx_main.C (error_handler): make it static
11420 * lyx_gui.C (LyX_XErrHandler): make it static
11422 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11424 * WorkArea.C: make the extern "C" methods static.
11426 * Makefile.am (lyx_LDADD): simplify
11428 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11430 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11431 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11433 * LyXAction.C (init):
11434 * lyxfunc.C (dispatch): associated code removal.
11436 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11438 * lyxfont.h (isSymbolFont): shut off warning
11440 * text.C (setHeightOfRow):
11441 (getVisibleRow): fix crash with empty paragraphs which have a
11444 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11446 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11449 2001-09-04 José Matos <jamatos@fep.up.pt>
11452 * tabular.C (docbook): rename docBook method to docbook.
11454 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11456 * Makefile.am: add dependencies to main.o.
11458 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11460 * FontLoader.C (available): Return false if !lyxrc.use_gui
11462 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11464 * FontInfo.C (query):
11465 * converter.C (view):
11466 * importer.C (Import):
11467 * exporter.C (Export): Can not -> cannot.
11469 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11471 * BufferView_pimpl.C: allow to create index inset even if
11474 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11476 * buffer.C (getLists): replace boost::tie code with an explicit pair
11477 as boost::tie can break some compilers.
11479 * iterators.h: Added a std:: declaration to the return type of
11482 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11484 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11487 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11489 * iterators.[Ch]: New files. Provide paragraph iterators.
11491 * buffer.C (changeLanguage): Use paragraph iterators.
11492 (isMultiLingual): ditto
11494 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11496 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11498 * FontLoader.C: Support for cmr font.
11500 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11502 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11503 (available): New method.
11505 * FontInfo.C (getFontname): Use scalable fonts even when
11506 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11509 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11511 * converter.C (Formats::view): reverted! Incorrect fix.
11513 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11515 * converter.C (Formats::view): only output the -paper option
11516 if the dvi viewer is xdvi, thereby fixing bug #233429.
11518 2001-08-23 Herbert Voss <voss@perce>
11520 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11522 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11524 * Spacing.h (Spacing): Set space to Default on in the default
11527 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11529 * vc-backend.h (RCS::versionString): add RCS to version
11530 (CVS::versionString): add CVS to version
11532 * vc-backend.C (scanMaster): do not add CVS to version.
11533 (scanMaster): do not add RCS to version
11535 * lyxvc.C (versionString): new method
11537 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11539 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11541 * Spacing.C (set): initialize fval
11543 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11545 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11548 2001-08-16 Juergen Vigna <jug@sad.it>
11550 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11552 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11554 * BufferView_pimpl.C:
11557 * text2.C: setParagraph takes linespacing now
11559 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11561 * LyxAction.C: add internal LFUN_CITATION_INSERT
11563 * LyXView.C: actually apply fix
11565 * bufferlist.C: fix open non-existent file
11567 * lyxfind.C: fix indentation
11569 * lyxfunc.C: remove unneeded assert, fix typo
11571 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11573 * MenuBackend.C: use "Floatname List"
11575 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11577 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11578 when converting LaTeX layout to insetERT.
11579 Generate a non-collapsed float when reading old float
11581 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11583 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11586 2001-08-13 Juergen Vigna <jug@sad.it>
11588 * text.C (fill): return 0 instead of 20 as this seems to be the more
11591 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11593 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11596 2001-08-13 Juergen Vigna <jug@sad.it>
11598 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11600 (SearchBackward): comment out the unlocking of the inset_owner this
11601 should not be needed!
11603 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11605 * Many files: Remove inherit_language, and add latex_language
11607 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11608 collapsible insets.
11610 2001-08-10 Juergen Vigna <jug@sad.it>
11612 * text.C (prepareToPrint): fixed hfill-width in draw!
11614 * BufferView2.C (selectLastWord): save the selection cursor as this
11615 now is cleared in the function LyXText::clearSelection!
11617 2001-08-08 Juergen Vigna <jug@sad.it>
11619 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11620 BACKSPACE type functions.
11622 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11623 is only cutted from the document but not put in the cut-buffer, where
11624 still the old stuff should be.
11626 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11628 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11630 * tabular.C (SetWidthOfCell): fixed special case where the width
11632 (LeftLine): handle '|' in align_special.
11634 (LeftAlreadyDrawed): ditto
11635 (SetWidthOfCell): ditto
11637 2001-08-07 Juergen Vigna <jug@sad.it>
11639 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11641 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11643 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11644 * lyxlex.[hC]: ditto
11646 2001-08-06 Juergen Vigna <jug@sad.it>
11648 * text.C (getVisibleRow): fix up row clearing a bit.
11650 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11652 * minibuffer.C: make sure the X server sees the changes in the input.
11654 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11656 * paragraph.C (getFont): split into...
11657 (getLabelFont): this
11658 (getLayoutFont): and this
11659 * paragraph_pimpl.C (realizeFont): calling this
11661 * text2.C (getFont): split into...
11662 (getLayoutFont): this
11663 (getLabelFont): and this
11664 (realizeFont): all three calling this
11666 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11669 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11671 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11673 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11675 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11676 layouts from the Quote inset insertion.
11678 2001-08-03 Juergen Vigna <jug@sad.it>
11680 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11682 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11683 only if status not is already CHANGED_IN_DRAW (second level).
11685 * text.C (draw): don't set the need_break_row when inside an
11688 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11690 * buffer.C (parseSingleLyXformat2Token): handle more latex
11693 * bufferview_funcs.[hC]: change function names to
11694 begin with small char, adjust other files.
11696 2001-08-02 André Pönitz <poenitz@gmx.net>
11699 BufferView_pimpl.C: remove broken special code for math-greek
11701 2001-08-02 Juergen Vigna <jug@sad.it>
11703 * BufferView_pimpl.C (update): redone this function so that we
11704 update the text again if there was a CHANGE_IN_DRAW.
11706 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11707 (drawFromTo): added a new internal bool which is used by draw() and
11709 (general): some cursor drawing problems fixed.
11711 2001-08-01 Juergen Vigna <jug@sad.it>
11713 * lyxfind.C (LyXFind): fixed
11714 (SearchForward): ditto
11715 (SearchBackward): ditto
11717 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11718 spurius drawing of the cursor in the main area.
11720 * text2.C (status): small fix which could lead to a segfault!
11721 (clearSelection): remove unneeded BufferView param.
11723 2001-08-01 André Pönitz <poenitz@gmx.net>
11725 * lyxfunc.C: small change due to changed mathed interface
11727 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11729 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11731 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11733 * lyxfunc.c: fail gracefully if file doesn't exist
11738 * BufferView_pimpl.C: IsDirWriteable() proto changed
11740 * LyXView.C: fix updateWindowTitle() to store the last title
11742 2001-07-31 Juergen Vigna <jug@sad.it>
11744 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11745 the font (wrong since using of Paragraph::highestFontInRange).
11747 * paragraph.C (highestFontInRange): added a default_size parameter.
11749 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11750 (setHeightOfRow): reformat
11752 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11754 * converter.[hC] + affected files: move to (inital-char)lowercase
11757 * ParagraphParameters.C (ParagraphParameters): remove commented code
11759 * PainterBase.[Ch]: remove commented code
11761 * LaTeXFeatures.h: add "bool floats" for float.sty
11763 * LaTeXFeatures.C (LaTeXFeatures): init floats
11764 (require): handle float
11765 (getPackages): do it with floats
11767 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11769 * BufferView_pimpl.C (Dispatch): improve handling of
11770 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11772 * commandtags.h: #include lyxfont.h here temporarily to avoid
11775 * bufferlist.h: include LString.h here.
11777 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11779 * text2.C (getStringToIndex): new method.
11781 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11783 * *: Reduced header file dependencies all over.
11785 2001-07-30 Baruch Even <baruch@lyx.org>
11787 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11789 2001-07-29 Baruch Even <baruch@lyx.org>
11791 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11793 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11795 * ParameterStruct.h (endif): add a default constructor to make
11796 sure that all variables is initialized.
11798 * ParagraphParameters.C (ParagraphParameters): adjust
11800 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11802 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11803 index; also, check that there is something to index, and that it
11804 does not span over several paragraphs.
11805 (doubleClick): use WHOLE_WORD_STRICT for double click.
11807 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11809 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11812 2001-07-26 Baruch Even <baruch@lyx.org>
11814 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11815 an InsetFig figure, backwards compatible reading of old figure code.
11817 2001-07-27 Juergen Vigna <jug@sad.it>
11819 * text2.C: font.realize function adaption.
11821 * text.C (draw): add a warnings lyxerr text if needed.
11823 * layout.C: font.realize function adaption.
11825 * language.C: add inherit_language and implement it's handlings
11827 * bufferview_funcs.C (StyleReset): remove language parameter from
11828 font creation (should be language_inherit now).
11830 * bufferparams.C (writeFile): handle ignore_language.
11832 * paragraph.C (getFontSettings): the language has to be resolved
11833 otherwise we have problems in LyXFont!
11835 * lyxfont.C (lyxWriteChanges): added document_language parameter
11836 (update): removed unneeded language parameter
11838 * paragraph.C (validate): fixed wrong output of color-package when
11839 using interface colors for certain fonts in certain environments,
11840 which should not seen as that on the final output.
11842 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11844 * BufferView_pimpl.C:
11849 * LyXAction.C: add thesaurus support
11852 * lyxfind.C: add "once" parameter, for thesaurus, to not
11853 move to the next match
11855 2001-07-26 Juergen Vigna <jug@sad.it>
11857 * lyxfont.C (realize): honor ignore_language too!
11860 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11862 * text.C (draw): one place more for ignore_language to not draw
11865 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11867 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11869 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11871 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11872 the minipage conversion problem.
11874 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11876 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11879 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11881 * BufferView.h: don't forward declare WorkArea
11883 * BufferView.C: don't include WorkArea.h
11885 2001-07-25 André Pönitz <poenitz@gmx.net>
11889 * lyxfunc.C: new LFUN 'math-space'
11891 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11893 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11895 * text2.C (toggleInset): call open/close
11897 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11899 * lyxfunc.C (dispatch): add debug for the disabled case
11901 * font.C (buttonText): make similar to rectText
11903 * buffer.C (readInset): comment out parsing of insetlist and
11906 * PainterBase.C (rectText): small correction
11908 * BufferView_pimpl.C: comment out insettheorem and insetlist
11909 * LyXAction.C: ditto
11910 * commandtags.h: ditto
11912 2001-07-24 Juergen Vigna <jug@sad.it>
11914 * text.C (draw): honor the ignore_language.
11916 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11918 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11920 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11923 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11925 * lyxtext.h: remove unused (and unimplemented) methods
11927 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11929 * text.C (getVisibleRow): honor background color
11932 * Painter.h: remove default color argument for fillRectangle
11934 * text.C (backgroundColor): new method
11936 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11938 * text.C (getVisibleRow): adjust
11940 * font.[Ch] (rectText): new method, metrics
11941 (buttonText): new method, metrics
11943 * PainterBase.[hC]: make rectText and buttonText always draw and take
11946 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11948 * ToolbarDefaults.C (read):
11949 * MenuBackend.C (read): allow escaping in all strings
11951 * BufferView_pimpl.C (insertAndEditInset): new method.
11952 (Dispatch): use insertAndEditInset whenever appropriate.
11954 * BufferView_pimpl.C (insertNote): removed
11956 * BufferView_pimpl.C (smartQuote): new method, moved from
11957 BufferView; if an insetquote cannot be inserted, insert a '"'
11960 * BufferView2.C: remove insertCorrectQuote();
11962 * lyxfunc.C (getStatus): Add support for all remaingin
11963 inset-insert lfuns.
11965 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11967 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11968 command (necessary to pass " as parameter of self-insert.
11970 * text.C (selectWordWhenUnderCursor):
11971 (selectWord): add word_location parameter
11972 (selectWordWhenUnderCursor): same + remove special code for word
11974 (selectNextWord): use kind() to guess type of insetspecialchar,
11977 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11978 (insertErtContents): create ert insets as collapsed.
11979 (readInset): better compatibility code for Info inset.
11981 2001-07-20 Juergen Vigna <jug@sad.it>
11983 * lyxfunc.C (dispatch): use always LyXFind now!
11985 * text2.C (init): add a reinit flag so that the LyXText can be
11986 reinited instead of deleted and reallocated (used in InsetText).
11988 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11994 2001-07-18 Juergen Vigna <jug@sad.it>
11996 * text.C (selectNextWord): handle insets inside inset by calling
11997 always the bv->text functions so that we can go up the_locking_inset!
11999 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12000 in strange locations when inside an inset!
12002 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12003 handling to include insets.
12005 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12007 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12009 * LyXAction.C (init):
12011 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12012 LIGATURE_BREAK, since the name is so stupid.
12014 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12016 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12019 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12021 * sp_form.[Ch]: remove.
12023 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12025 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12028 * src/buffer.C (readInset): ditto.
12030 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12032 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12033 menuSeparator(), endOfSentenceDot(), ldots() and
12034 hyphenationPoint(), which are therefore removed.
12035 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12037 * LyXAction.C (init):
12038 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12040 * paragraph.C (getWord): removed.
12042 * BufferView_pimpl.C (Dispatch): use last word or selection for
12043 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12045 * lyx_main.C (queryUserLyXDir): do not ask before creating
12046 user_dir, except if it has been named explicitely.
12048 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12050 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12051 a document of zero size.
12053 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12055 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12056 approriately in the c-tor and in require().
12057 (getPackages): output the appropriate LaTeX for natbib support.
12059 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12060 variables "use_natbib" and "use_numerical_citations" when reading the
12062 (readInset): read the various natbib cite commands.
12063 (validate): white-space change.
12065 * bufferparams.[Ch]: new variables "bool use_natbib" and
12066 "bool use_numerical_citations".
12067 (writeFile): output them in the LyX file.
12069 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12071 * lyxfunc.C (getStatus): add support for all the inset insertion
12074 * text2.C (insertInset):
12075 * paragraph.C (insetAllowed):
12076 * BufferView_pimpl.C (insertInset): update to take in account the
12077 renaming of insertInsetAllowed
12079 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12081 * text2.C (getInset): new method. returns inset at cursor position.
12083 * BufferView_pimpl.C (Dispatch): changes because of this.
12085 * LyXAction.C (init): rename open-stuff to inset-toggle.
12087 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12089 * text2.C (toggleInset): renamed from openStuff; use
12092 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12094 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12096 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12098 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12100 * buffer.C (readLyXformat2): Add filename to the error dialog
12102 2001-07-18 Juergen Vigna <jug@sad.it>
12104 * tabular.C (GetCellNumber): put an assert here instead of the check!
12106 2001-07-17 Juergen Vigna <jug@sad.it>
12108 * BufferView_pimpl.C (toggleSelection): adapted too.
12110 * text.C (selectNextWord): adapted for use with insets.
12111 (selectSelectedWord): ditto
12113 2001-07-17 Juergen Vigna <jug@sad.it>
12115 * sp_spell.C (PSpell): fix initialitation order.
12117 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12119 * paragraph.C: spacing
12121 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12123 * sp_spell.C: repair language selection for pspell
12125 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12127 * lyxfunc.h: change more methods to begin with lower char.
12129 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12131 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12132 for unknown layouts.
12134 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12136 * buffer.C (readLyXformat2): Generate an error dialog if there are
12139 2001-07-16 Juergen Vigna <jug@sad.it>
12141 * sp_spell.C: always compile ISpell part.
12143 * lyxrc.C: added use_pspell entry and it's handling.
12145 2001-07-13 Juergen Vigna <jug@sad.it>
12147 * sp_spell.C: removed double includes.
12149 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12151 Consistent use of Lsstream.h:
12152 * Lsstream.h: added using std::stringstream for consistencies sake.
12154 * buffer.C: removed using std::stringstream
12156 * lyxfont.C (stateText):
12157 * paragraph.C (asString):
12158 * text.C (selectNextWord, selectSelectedWord):
12159 * text2.C (setCounter):
12160 * vspace.C (asString, asLatexString):
12161 std::ostringstream -> ostringstream.
12163 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12165 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12166 * commandtags.h: add LFUN_HELP_ABOUTLYX
12167 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12169 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12171 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12173 * lyx_gui_misc.C: remove spellchecker
12174 * lyxfunc.C: showSpellchecker
12176 * sp_ispell.h: added
12177 * sp_pspell.h: added
12178 * sp_spell.C: added
12179 * sp_form.[Ch]: removed
12180 * spellchecker.[Ch]: removed
12182 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12184 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12186 (simpleTeXSpecialChars): Simply print the input character without
12187 any special translation if pass_thru is set.
12189 * layout.h: Added bool pass_thru to layout class for being able to
12190 implement pass through of a paragraph for Literate Programming.
12192 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12193 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12194 * layout.C (Read): add "passthru" to list of layout tags and add
12195 code to set the pass_thru boolean when it is read.
12197 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12199 * trans_decl.h: remove allowed from KmodInfo
12201 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12202 remove allowed code
12205 * paragraph_pimpl.C (erase): use boost::prior
12207 * Painter.C (text): use data() instead of c_str() when length is
12209 * WorkArea.C (putClipboard): ditto
12210 * font.h (width): ditto
12212 * BufferView2.C: use it-> instead of (*it). for iterators
12214 * paragraph_pimpl.C: ditto
12215 * paragraph.C: ditto
12216 * minibuffer.C: ditto
12217 * language.C: ditto
12219 * encoding.C: ditto
12220 * counters.C: ditto
12221 * converter.C: ditto
12223 * Variables.C: ditto
12224 * TextCache.C: ditto
12225 * MenuBackend.C: ditto
12226 * LyXAction.C: ditto
12228 * FloatList.C: ditto
12229 * DepTable.C: ditto
12230 * ColorHandler.C (LyXColorHandler): ditto
12232 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12234 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12236 * text2.C (openStuff): reintroduce this method (which had been
12237 nuked in NEW_INSETS frenzy).
12239 * lyxfunc.C (Dispatch): when an action has not been handled, use
12240 its name in the error message, not its number.
12242 * paragraph.C (inInset): change method name to begin with lowercase.
12245 * text2.C: updates because of this.
12247 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12249 * ToolbarDefaults.C (add): add spaces in error message
12251 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12253 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12254 (readLyXformat2): rename return_par to first_par, use lyxlex's
12255 pushToken and remove the manual push handling.
12256 (parseSingleLyXformat2Token): add another ert comp. variable:
12257 in_tabular, rename return_par to first_par. handle newlines better
12259 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12261 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12263 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12265 * text2.C (getParFromID): removed
12267 * buffer.C (getParFromID): new method moved form lyxtext.
12268 * BufferView2.C (insertErrors): adjust
12269 (setCursorFromRow): adjust
12270 * BufferView_pimpl.C (restorePosition): adjust
12271 * lyxfunc.C (Dispatch): adjust
12272 * undo_funcs.C (textUndo): adjust
12274 (textHandleUndo): adjust
12275 (textHandleUndo): adjust
12277 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12279 * buffer.C: up' the LYX_FORMAT
12281 * lyxfont.h: turn NO_LATEX on as default
12283 * buffer.C (insertErtContents): new methods of tex style compability.
12284 (parseSingleLyXformat2Token): use it several places.
12285 * tabular.C (OldFormatRead): and here
12287 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12289 * text2.C: remove some commented code.
12292 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12293 * trans.C: changes because of the above.
12295 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12297 * text2.C (setCounter): Fix counters bug with bibliography layout.
12299 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12301 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12302 own member functions
12303 (simpleTeXSpecialChars): ditto
12305 2001-07-06 Juergen Vigna <jug@sad.it>
12307 * a lot of files: changed the access to LyXText::status and the
12308 call of undo-functions.
12310 * undo.[Ch]: added a inset_id to the undo informations.
12312 * undo_funcs.[Ch]: added and moved here all undo functions.
12314 * lyxtext.h: give the status enum a weight, made status_ a private
12315 variable and made accessor functions for it, removed the whole bunch
12316 of undo-functions as they are now in their own file, make some
12317 functions publically available. Added function ownerParagraph with
12320 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12321 made InInset() a const function, added getParFromID() function.
12323 * buffer.[Ch]: added const version for inset_iterator functions,
12324 added getInsetFromID() function.
12326 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12327 changed undo functions for new version.
12329 2001-07-05 Juergen Vigna <jug@sad.it>
12331 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12332 unknow mechanism does not call the proper constructor but only this
12333 one also if I request the other!?
12335 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12337 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12339 * text2.C (LyXText): use initialization lists.
12341 * lyxtext.h (Selection): initialize set_ and mark_
12342 (init): remove method
12344 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12346 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12348 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12350 * screen.[Ch]: change method names to begin with lowercase
12352 * BufferView_pimpl.C (updateScrollbar): simplify further and
12353 hopefully make it a bit faster.
12355 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12357 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12358 calling directly xforms functions.
12360 * Painter.C (Painter):
12361 * lyx_cb.C (MenuWrite):
12362 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12365 * lyx_gui.C: remove bogus guiruntime extern declaration.
12367 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12369 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12371 (redoDrawingOfParagraph): ditto
12372 (redoParagraphs): ditto
12373 (cutSelection): don't create a object for CutAndPaste use the
12374 static method directly
12375 (pasteSelection): ditto
12377 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12380 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12382 * modifications to some other files because of this.
12384 * Makefile.am (lyx_SOURCES): add XFormsView
12386 * XFormsView.[Ch]: new files
12388 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12389 the main window. Move the gui dependent stuff to XFormsView
12391 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12393 * tabular.C (GetCellInset): update cur_cell also in the row/col
12394 version of this function.
12396 * lyxfunc.C: no need to include figure_form.h here.
12402 * lyxvc.C: no need to include forms.h here.
12404 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12406 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12408 * lyxfunc.C (Dispatch):
12410 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12411 constructor argument.
12413 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12415 * paragraph.C (Paragraph): dont't clear, and just set layout.
12416 (makeSameLayout): use params's copy contructor.
12418 * ParagraphParameters.[Ch] (makeSame): delete method
12420 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12422 * Variables.[Ch]: fix indentation, rename set to isSet
12424 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12426 * lyxfunc.C (Dispatch): fix typo
12428 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12430 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12433 * bufferlist.C: include assert.h for emergencyWrite().
12435 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12437 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12438 give up at last (bug #425202) !
12440 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12446 * spellchecker.C: strip spellchecker options and bring up
12447 preferences tab instead
12449 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12451 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12452 the istringstream constructor
12454 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12456 * paragraph.C (getLayout): fix return value
12458 * paragraph.h: do not declare getLayout as inline.
12460 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12462 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12464 * lyxcursor.h (operator<): new func
12465 (operator>): new func
12466 (operator>=): new func
12467 (operator<=): new func
12469 * text.C (changeCase): use selection.start and selection.end
12470 (changeRegionCase): require from to be <= to. Require par to be a
12473 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12475 2001-06-27 Juergen Vigna <jug@sad.it>
12477 * text.C (cursorLeftOneWord): changed to return the cursor and added
12478 overlay with BufferView * parameter which calls this one.
12480 (selectWord): use new getWord function.
12481 (changeCase): renamed from changeWordCase as and extended to work
12482 also on selections.
12484 * lyxtext.h: added enum word_location
12486 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12487 changeCase as this operates now also on selections.
12489 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12491 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12493 * many files: send debug output to Debug::INFO instead of
12496 * converter.C (View):
12498 (Move): send debug output to Debug::FILES instead of console.
12500 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12502 * lyxfunc.C (getStatus): use func_status
12504 * func_status.h: new header, describing the results of
12505 LyXFunc::getStatus;
12507 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12510 2001-06-25 The LyX Project <jug@sad.it>
12512 * buffer.C (sgmlOpenTag):
12514 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12516 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12518 * text2.C: remove some dead code
12520 * tabular.C (GetCellInset): store the last cell checked (gotten)
12522 * tabular.h: add the helper for the speedup
12524 * lyxtext.h: remove some dead code
12526 2001-06-26 The LyX Project <Asger>
12528 * paragraph.C: Change export to LaTeX of alignment to
12529 \begin{center} and family for better roundtrip work with reLyX.
12531 * Tune the math drawing a bit.
12533 2001-06-25 The LyX Project <Asger>
12535 * LColor.C (LColor): New color for math background. New color
12538 2001-06-25 The LyX Project <jug@sad.it>
12540 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12542 * lyxfunc.C (Open):
12543 * bufferlist.C (newFile): do not restrict to files ending with
12546 * BufferView_pimpl.C (MenuInsertLyXFile):
12548 2001-06-24 The LyX Project <jug@sad.it>
12550 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12553 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12555 * lyxtext.h: rename most methods to begin with a small char.
12556 Lots of changes because of this.
12558 * paragraph.C (Paragraph): do not call fitToSize
12559 (erase): call Pimpl::erase
12560 (insertChar): call Pimpl::insertChar
12561 (insertInset): call Pipl::insertInset
12562 (breakParagraph): do not call fitToSize
12563 (breakParagraphConservative): do not call fitToSize
12564 (fitToSize): remove method
12566 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12568 2001-06-24 The LyX Project <Asger>
12570 * Fix Qt compilation^2
12572 2001-06-24 The LyX Project <jug@sad.it>
12574 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12575 depthHook(getDepth()-1).
12578 * ParagraphParameters.h:
12579 * ParameterStruct.h: change type of depth to unsigned int ==
12580 depth_type. Many adaptations to other files before of that.
12582 2001-06-24 The LyX Project <Asger>
12584 * Fix Qt compilation.
12586 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12588 * paragraph.h: renamed several methods to begin with small letter.
12589 several changes to many parts of the code because of this.
12591 2001-06-23 The LyX Project <jug@sad.it>
12593 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12594 rewritten to discard all double spaces when KeepEmpty is off
12595 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12596 to only handle newlines but not fiddle with spaces and friends.
12598 * lyxfunc.C (MenuNew): when doing 'new from template', use
12599 template_path as default directory
12601 2001-06-23 The LyX Project <Asger>
12603 * Clean-up of header file includes all over
12604 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12606 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12608 * paragraph.h: renamed from lyxparagraph.h
12610 2001-06-23 Asger <lyx@violet.home.sad.it>
12612 * Buffer.h: Removed Buffer::resize
12613 * BufferList.h: Removed BufferList::resize
12614 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12615 the document lazily when we change the width, or the font settings.
12617 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12619 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12621 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12623 * buffer.h: remove out of date comment
12625 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12628 * screen.C: fix "theoretical" GC leak
12630 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12632 * LaTeX.C (scanAuxFile):
12633 (deplog): remove trailing \r when reading stream (useful under
12636 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12638 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12639 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12640 and BufferView::theLockingInset(Inset*), so should use them and not
12641 access bv_->text->the_locking_inset directly.
12643 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12645 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12648 * tex-defs.h: remove old unused file
12650 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12652 * BufferView_pimpl.C: fix typo, remove minibuffer message
12653 when buffer has loaded
12655 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12657 * lyxfunc.C (Dispatch): use stringstream
12658 (MenuNew): use stringstream
12659 (Open): use stringstream
12661 * importer.C (Import): use stringstream
12663 * bufferview_funcs.C (CurrentState): use stringstream
12665 * LaTeX.C (run): use stringstream
12667 * BufferView_pimpl.C (savePosition): use stringstream
12668 (restorePosition): use stringstream
12669 (MenuInsertLyXFile): use stringstream
12671 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12684 * vspace.C: removed // -*- C++ -*- as first line.
12687 * version.h: added // -*- C++ -*- as first line.
12689 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12691 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12693 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12696 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12698 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12701 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12703 * gettext.C: include LString.h even when --disable-nls is on.
12705 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12707 * converter.h (Get): changed argument type from int to
12708 FormatList::size_type to avoid unnecessary conversion.
12710 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12713 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12715 * gettext.h: include LString.h even when --disable-nls is on.
12717 2001-06-07 Juergen Vigna <jug@sad.it>
12719 * text.C (BreakAgain): subst spaces with tabs.
12721 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12722 (resizeInsetsLyXText): set force on resizeLyXText.
12724 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12726 * gettext.h (gettext_init):
12727 (locale_init): use a real definition instead of a macro
12729 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12731 * Bufferview_pimpl.C:
12733 * LColor.C: further lcolor tidies
12735 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12737 * BufferView_pimpl.C (updateScrollbar): simplify.
12739 * BufferView2.C: don't include insets/insetinfo.h, change
12740 prototype for insertInset and call the Pimpl version. let
12741 updateInset call Pimpl version.
12743 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12744 gotoInset to BufferView::Pimpl
12746 2001-06-01 Juergen Vigna <jug@sad.it>
12748 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12749 inside a LockingInset (is the update needed at all?).
12751 2001-05-31 Juergen Vigna <jug@sad.it>
12753 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12754 here not the old one otherwise how should we compare it afterwards
12757 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12762 * FontInfo.C: bring C functions into global namespace when
12765 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12767 * LString.h: make sure config.h has been loaded before LString.h.
12769 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12770 (one for each char read by EatLine!).
12772 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12775 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12777 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12778 to the same as the par we break from
12780 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12782 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12784 * MenuBackend.C (expand): also create menu entries for wide
12785 versions of the floats.
12787 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12789 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12791 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12792 frontends/Makefile.am
12798 * tabular.C (getTokenValue): add std::
12800 * tabular-old.C (getTokenValue): add std::
12801 (getTokenValue): ditto
12802 (getTokenValue): ditto
12804 * screen.C (ToggleSelection): adjust
12806 * lyxtext.h: put selection cursors inside a Selection struct.
12808 * lyxfunc.C (moveCursorUpdate): adjust
12810 * lyxfont.C (latexWriteStartChanges): add std::
12812 * lyxfind.C: adjust
12814 * font.h: delete with(char const *, LyXFont const &)
12816 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12818 * FontInfo.C (getFontname): add std::
12820 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12821 (workAreaButtonPress): adjust
12822 (tripleClick): adjust
12824 (moveCursorUpdate): adjust
12827 * BufferView2.C (gotoInset): adjust
12829 2001-05-30 Juergen Vigna <jug@sad.it>
12831 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12832 to check pspell I add this as default as I now have new pspell
12833 libraries and they seem to use this.
12835 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12837 * text2.C (CutSelection): make the cursor valid before the call to
12840 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12842 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12843 relied on 0 terminated strings and other horrors. Bug found due to
12844 the new assert in lyxstring!
12846 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12849 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12851 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12854 * lyxfunc.C (processKeySym): change method of getting to the
12857 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12858 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12859 * BufferView_pimpl.[Ch]: here as private methods.
12861 2001-05-28 Juergen Vigna <jug@sad.it>
12863 * text.C (SetHeightOfRow): added the update() call again as it is
12864 needed to initialize inset dimensions!
12866 2001-05-16 Juergen Vigna <jug@sad.it>
12868 * text2.C (SetCharFont): Add new function with BufferView * and
12869 bool toggleall parameters for setting insets internal fonts.
12870 (SetFont): Freeze the undo as we may change fonts in Insets and
12871 all this change should be inside only one Undo!
12873 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12874 setting font's in insets as for them we have the SetFont function!
12876 2001-05-15 Juergen Vigna <jug@sad.it>
12878 * text2.C (ClearSelection): to be sure we REALLY don't have any
12881 * tabular.C (TeXCellPreamble): fixed the left border problem for
12884 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12886 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12889 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12891 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12892 LFUN_BREAKPARAGRAPH.
12894 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12895 help test to "internal only", similar for LFUN_INSERT_URL
12897 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12898 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12899 auto_region_delete and deadkeys.
12901 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12904 * LColor.C: remove some dead entries, tidy a little
12906 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12908 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12910 (Dispatch): implement LFUN_ESCAPE
12912 * commandtags.h: add LFUN_ESCAPE
12914 * LyXAction.C (init): add entry for LFUN_ESCAPE
12916 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12917 Remove commented code.
12918 (insertNote): moved here
12919 (open_new_inset): moved here
12921 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12924 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12926 * kbmap.C (findbinding): clean it up and make it work correctly.
12928 * lyx_main.C (init): do not pass argc and argv as parameters
12930 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12932 * buffer.C: fix path for OS/2 & Win32
12936 * lyx_main.C: Added os:: class.
12938 * os2_defines.h: update
12940 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12942 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12943 better by trying again with reduced state.
12945 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12947 * lyxrc.C (read): print error about invalid key sequence only when
12948 debugging (because not all latinX keysyms are known to some X
12951 * kbsequence.C (getiso): add a few std:: qualifiers
12952 (getiso): comment out extra return statement.
12954 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12956 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12958 (Dispatch): enhance the accent inset a bit. (not perfect)
12960 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12962 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12964 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12966 * bufferlist.C (emergencyWrite): fix assert() call
12968 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12970 * text.C (InsertChar): Added trivial patch to only send the "you
12971 can not do multiple spaces this way" message once during a
12974 2001-05-08 Baruch Even <baruch@lyx.org>
12976 * Makefile.am: Changed order of libraries to get LyX to link properly
12977 with the gnome frontend.
12979 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12981 * LaTeXFeatures.h: add a std:: qualifier
12983 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12985 * paragraph.C (String): use stringstream
12987 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12989 * paragraph.C (writeFile): remove footflag arg
12991 * buffer.C (makeLaTeXFile): use stringstream
12992 (latexParagraphs): remove footnot gurba
12994 * LaTeXFeatures.C (getPackages): use stringstream
12995 (getMacros): likewise
12996 (getTClassPreamble): likewise
12997 (getFloatDefinitions): new method
12999 * paragraph.C (writeFile): reindent
13002 * WorkArea.h: revert the xpos + etc changes.
13004 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13006 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13008 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13009 (pasteSelection): likewise
13010 * text2.C (CreateUndo): likewise
13012 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13014 * minibuffer.C (peek_event): temporarily reduce the functionality
13015 of the minibuffer (to allow args on lfuns)
13017 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13018 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13020 * buffer.C (readInset): add compability reading of old float
13021 lists, add reading of new style float list.
13022 (readInset): avoid reevaluation of inscmd.getCmdName()
13023 (getLists): reindent
13025 * MenuBackend.C (MenuItem): implement parsing of
13026 md_floatlistinsert and md_floatinsert.
13027 (expand::LastFiles): move initalizaton of iterators out of loop,
13028 avoid reevaluation.
13029 (expand::Documents): introduce typdedef vector<string> Strings,
13031 (expand::ExportFormats): introduce typedef vector<Format const *>
13032 Formats, and use it.
13033 (expand): implement FloatListInsert and FloatInsert.
13035 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13036 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13037 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13039 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13041 (Dispatch::LFUN_FLOAT_LIST): implement
13043 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13045 * LaTeX.C (run): Fix problem with --export code.
13047 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13049 * BufferView.[Ch] (workarea): removed.
13050 (getClipboard) new method; wrapper for workarea()->getClipboard()
13052 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13055 * WorkArea.h (width, height, xpos, ypos): These methods all
13056 returned the dimensions of the work_area sub-area of WorkArea,
13057 resulting in a position error if the WorkArea were resized. Now
13058 return the dimensions of the entire WorkArea.
13060 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13062 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13064 * LaTeX.C (deplog): correct the syntax of regex reg1
13066 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13068 * undo.C: remove !NEW_INSETS cruft
13070 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13072 * text2.C: remove !NEW_INSETS cruft
13074 * text.C: remove !NEW_INSETS cruft
13076 * tabular.C: remove !NEW_INSETS cruft
13078 * spellchecker.C: remove !NEW_INSETS cruft
13080 * lyxtext.h: remove !NEW_INSETS cruft
13082 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13084 * lyxfunc.C: remove !NEW_INSETS cruft
13086 * lyxfind.C: remove !NEW_INSETS cruft
13088 * lyx_cb.C: remove !NEW_INSETS cruft
13090 * figureForm.C: remove !NEW_INSETS cruft
13092 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13094 * buffer.[Ch]: remove !NEW_INSETS cruft
13096 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13098 * CutAndPaste.C: remove !NEW_INSETS cruft
13100 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13102 * BufferView2.C: remove !NEW_INSETS cruft
13104 * BufferView.h: remove !NEW_INSETS cruft
13106 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13108 * Lsstream.h: include LString.h before the sstream headers to
13109 fix problem with gcc 2.95.3 and lyxstring
13111 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13113 * lyx_main.C: add using directives when needed for C functions
13114 declared in std:: namespace.
13116 2001-04-27 Juergen Vigna <jug@sad.it>
13118 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13119 (SetHeightOfRow): comment out the update call should not be needed!
13121 2001-04-13 Juergen Vigna <jug@sad.it>
13123 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13124 (LyXTabular): tried to minimize operator= operations (and realized
13125 hopfully Lars wish).
13127 2001-04-27 Juergen Vigna <jug@sad.it>
13129 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13131 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13133 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13135 * buffer.C (readInset): hack to make listof algorithm work
13137 * BufferView_pimpl.C: hack to make listof algorithm work
13139 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13141 * LyXAction.C: removed all !NEW_INSETS cruft
13142 (init): moved lfun_item in method
13144 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13146 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13148 * BufferView2.C (theLockingInset): white space.
13150 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13152 * minibuffer.C: include <iostream>
13154 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13156 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13158 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13160 * text.[Ch] (TransposeChars): new method
13162 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13164 * call message directly through LyXView instead of through LyXFunc
13165 * BufferView2.C: adjust
13166 * BufferView_pimpl.C: adjust
13167 * FontLoader.C: adjust
13169 * bufferview_funcs.C: adjust
13170 * converter.C: adjust
13171 * figureForm.C: adjust
13172 * importer.C: adjust
13174 * lyx_gui_misc.C: adjust
13175 * lyxfunc.C: adjust
13178 + more files in subdirs
13180 * lyxparagraph.h (size): move up int file
13183 * adjust all uses of Assert to lyx::Assert.
13185 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13186 lyxfunctional in namespace lyx
13187 * layout.C (hasLayout): ditto
13190 (delete_layout): ditto
13191 (NumberOfClass): ditto
13192 * converter.C (GetFormat): ditto
13197 * bufferlist.C (getFileNames): ditto
13198 (emergencyWriteAll): ditto
13201 * MenuBackend.C (hasSubmenu): ditto
13204 * BufferView_pimpl.C (getInsetByCode): ditto
13206 2001-04-18 Juergen Vigna <jug@sad.it>
13208 * vspace.C (asLatexString): fixed the 100% problem.
13210 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13212 * lyxfunc.C (Dispatch):
13214 * minibuffer.h: add a few std:: qualifiers
13216 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13218 * minibuffer.[Ch]: reimplement so that commands is initiated and
13219 run from lyxfunc, simplified som handling, and made the completion
13220 and history code for complete. wip.
13222 * lyxfunc.C (processKeySym): call message
13223 (miniDispatch): new temporary method
13224 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13225 (LFUN_MESSAGE): implement
13226 (LFUN_MESSAGE_PUSH): implement
13227 (LFUN_MESSAGE_POP): implement
13228 (initMiniBuffer): the initial/defualt minibuffer message.
13230 * lyxfont.[Ch]: inline some more getters
13232 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13234 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13236 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13237 (AutoSave): use LFUN_MESSAGE
13238 (Reconfigure): ditto
13240 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13242 * figureForm.C: use LFUN_MESSAGE
13244 * converter.C (runLaTeX): use LFUN_MESSAGE
13246 * bufferview_funcs.C: use LFUN_MESSAGE
13248 (changeDepth): ditto
13250 * bufferparams.h: use boost::
13252 * bufferlist.h: inherit privately from noncopyable
13254 * bufferlist.C (loadLyXFile): remove some commented code.
13256 * buffer.C (runChktex): use LFUN_MESSAGE
13258 * ShareContainer.h: inherit privately from noncopyable
13260 * ParagraphParameters.[hC] (depth): inline it.
13262 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13264 (message): new method
13265 (messagePush): ditto
13266 (messagePop): ditto
13267 (show): init minibuffer
13268 (showState): direct call
13270 * LaTeX.[Ch]: inherit privately from noncopyable
13271 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13272 instead of WriteStatus.
13274 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13276 * BufferView_pimpl.C (buffer): don't init minibuffer
13277 (workAreaButtonPress): use LFUN_MESSAGE
13278 (workAreaButtonRelease): ditto
13279 (savePosition): ditto
13280 (restorePosition): ditto
13281 (MenuInsertLyXFile): ditto
13282 (workAreaExpose): don't init minibuffer
13283 (update): remove commented code, simplify
13285 * BufferView2.C (openStuff): use LFUN_MESSAGE
13286 (toggleFloat): ditto
13289 (copyEnvironment): ditto
13290 (pasteEnvironment): ditto
13295 (updateInset): remove some commented code
13297 * lastfiles.h: inherit privately from noncopyable
13300 * lyx_main.h: ditto
13302 * lyxlex_pimpl.h: ditto
13304 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13305 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13306 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13308 * LyXAction.h: inherit privately from noncopyable, add methods
13309 func_begin, func_end, returning iterators to the func map.
13311 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13312 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13313 (func_begin): new method
13314 (func_end): new method
13316 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13318 (copySelection): ditto
13319 (pasteSelection): ditto
13321 * BufferView.C: whitespace change
13322 * BufferView.h: inherit privately from noncopyable
13324 2001-04-16 Allan Rae <rae@lyx.org>
13326 * tabular-old.C (l_getline):
13327 * spellchecker.C (sc_check_word):
13328 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13329 an unrecognised preprocessor directive. So ensure they're wrapped.
13331 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13333 * src/exporter.C (Export): Give an error message when path to file
13336 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13338 * LaTeX.C (deplog): Always check that foundfile exists.
13340 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13343 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13345 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13347 * tabular.[Ch] (getLabelList): implement new method
13349 * minibuffer.h: comment ouf setTiimer
13351 * minibuffer.C (ExecutingCB): constify res
13352 (peek_event): constify s
13353 (Set): constify ntext
13354 (Init): constify nicename
13356 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13358 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13359 (savePosition): use two params to Minibuffer::Set
13360 (restorePosition): ditto
13362 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13364 * lyx_main.C: include language.h
13366 * Makefile.am (lyx_main.o): add language.h
13368 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13374 * CutAndPaste.C: include gettext.h
13376 * lyxfont.h: remove old hack with ON and OFF.
13379 * lyxfont.h: do not include language.h...
13384 * bufferview_funcs.C:
13390 * paragraph.C: ... but do it here instead
13392 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13394 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13396 * tabular.C: small reformat
13398 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13401 (BreakParagraph): ditto
13402 (SetOnlyLayout): ditto
13405 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13408 * lastfiles.C: removed most using decl, add std:: where needed
13410 * buffer.C: ws changes
13412 * MenuBackend.C (class compare_format): put into anon namespace
13413 (expand): constify label, names, action, action2
13416 * text.C (SingleWidth): constify font
13417 (IsBoundary): constify rtl2
13418 (GetVisibleRow): constify ww
13420 * LaTeX.C (deplog): constify logfile
13422 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13424 (workAreaExpose): constify widthChange, heightChange
13426 * lyxrow.C (par): moved
13429 * lyxrow.h: as inlines here
13431 * lyxfont.h (shape): moved from lyxfont.C
13432 (emph): moved from lyxfont.C
13434 * lyxfont.C (LyXFont): use initialization list for all
13436 (shape): move to lyxfont.h as inline
13437 (emph): move to lyxfont.h as inline
13440 2001-04-04 Juergen Vigna <jug@sad.it>
13442 * vspace.C: had to include stdio.h for use of sscanf
13444 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13447 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13448 independent of xforms.
13450 2001-04-02 Juergen Vigna <jug@sad.it>
13452 * spellchecker.C: fixed namespace placing!
13454 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13456 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13457 the LyXParagraph * is 0.
13459 2001-03-29 Juergen Vigna <jug@sad.it>
13461 * vspace.C: added support for %, c%, p%, l%.
13462 (stringFromUnit): added helper function.
13463 (asLatexString): changed to give right results for the %-values.
13465 * buffer.C: convert the widthp in a width%.
13467 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13469 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13472 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13473 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13475 * lyx_cb.[Ch]: see above.
13477 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13481 * lyx.[Ch]: replaced by figure_form.[Ch].
13485 * lyxfunc.C: changed headers associated with above changes.
13487 2001-03-27 Juergen Vigna <jug@sad.it>
13489 * BufferView_pimpl.C: set the temporary cursor right!
13491 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13493 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13495 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13497 * LString.h: removed "using std::getline"!
13499 * BufferView_pimpl.C (Dispatch): changes due to changes in
13500 InsetInclude::Params.
13502 * buffer.C (tag_name): removed redundant break statements as they were
13503 producing lots of warnings with my compiler.
13505 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13507 * LString.h: add "using std::getline" when using the real <string>.
13509 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13511 * buffer.C: removed bitset usage.
13512 PAR_TAG moved to an anonymous name space.
13513 (tag_name): new funtion, also in the anonymous namespace.
13514 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13515 (makeDocBookFile): clean code. Completed transition from string arrays
13517 (SimpleDocBookOnePar): code clean.
13519 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13521 * tabular.C: add some comments.
13523 2001-03-22 Juergen Vigna <jug@sad.it>
13525 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13526 compatibility read a bit and fixed bug with minipage in different
13529 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13531 * buffer.C (pop_tag): removed.
13532 (push_tag): removed.
13533 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13534 array replaced with vector. Added support for CDATA sections.
13535 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13537 (makeDocBookFile): XML conformant declaration of CDATA section,
13538 fixed bug related to <emphasis> in the first paragraph char.
13539 (sgmlOpenTag): exclude empty tags.
13540 (sgmlCloseTag): ditto.
13542 * buffer.h (pop_tag): removed.
13543 (push_tag): removed.
13545 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13547 * language.h (Languages): added size_type and size().
13549 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13551 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13552 response on compability reading of minipages. One probliem is that
13553 the old usage of minipages was «flertydig»
13555 * several files here and in subdirs: don't use static at file
13556 scope use anon namespaces instead.
13558 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13560 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13561 LaTeX output. This is necessary for Literate document
13564 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13566 * buffer.C: insert hfill when needed.
13568 * tabular.C (l_getline): use string::erase, small whitespace change.
13570 * BufferView_pimpl.C: try the anon namespace.
13571 * WorkArea.C: ditto
13573 2001-03-16 Juergen Vigna <jug@sad.it>
13575 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13576 otherwise it won't open options-dialogs.
13578 * buffer.C: honor pextraWidth(p) on converting minipages.
13580 * tabular.C (l_getline): changed the functions to strip trailing \r.
13582 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13584 * BufferView_pimpl.C:
13585 * minibuffer..C: added "using SigC::slot" declaration.
13587 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13589 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13595 * paragraph.C: ditto
13597 * lyxtext.h: NO_PEXTRA
13599 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13601 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13602 * ParameterStruct.h: ditto
13603 * ParagraphParameters.h: ditto
13604 * lyxparagraph.h: ditto
13606 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13608 * buffer.C: add compability for minipage alignment.
13609 (latexParagraphs): remove unwanted pextra check.
13611 * several files: remove CXX_WORKING_NAMESPACES
13613 * buffer.C (pop_tag): tie is in namespace boost
13615 * BufferView.h: noncopyable is in namespace boost
13617 * lyx_main.h: ditto
13620 * lastfiles.h: ditto
13621 * bufferlist.h: ditto
13622 * ShareContainer.h: ditto
13624 * LyXAction.h: ditto
13627 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13629 * Merging changes from BRANCH_MVC back into HEAD.
13631 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13633 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13635 * BufferView_pimpl.C: change from intl.C
13639 * Makefile.am: move combox.*
13645 * intl.C: remove dialog (covered by prefs)
13647 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13649 * lyxfunc.C (Dispatch): removed redundant break statement.
13651 2001-03-14 Juergen Vigna <jug@sad.it>
13653 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13655 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13657 * buffer.C: add hack to fix compability reading of minipages.
13659 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13661 * buffer.C (getLists): Cleanup.
13663 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13665 * lyxfont.C (update): don't honor toggleall on font size.
13667 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13671 * Makefile.am: moved to frontends/xforms/
13675 * BufferView_pimpl.C: changes for moved mathpanel
13677 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13679 * gettext.h: fix gettext_init() in --disable-nls
13681 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13683 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13685 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13688 * lyx.h: strip external form
13690 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13692 * BufferView_pimpl.C: add comment, destroySplash()
13694 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13696 * BufferView_pimpl.C:
13700 * lyxfunc.C: use re-worked insetinclude
13702 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13704 * buffer.C: add using std::stringstream.
13706 * lyx_cb.C: readd using std::ios.
13708 * buffer.C: add using std::map.
13710 * BufferView_pimpl.C: add using std::vector.
13712 * ShareContainer.h: add std:: to swap.
13714 * buffer.h: add some typedefs
13715 * buffer.C (getLists): use them
13716 (getLists): renamed from getTocList.
13717 add a counter for the different float types and use it in the
13719 (getLists): use the same counter for the NEW_INSETS and the "non"
13722 * lyx_cb.h: remove unused items, includes, using etc.
13724 * ShareContainer.h: remove some commented code, add more comments
13725 and "documentation".
13727 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13729 * buffer.C (getTocList): make the list also when NEW_INSETS is
13732 * buffer.h: remove TocType
13734 * buffer.C (getTocList): change to return a map<string,
13735 vector<TocItem> >, implement for dynamic number of list.
13737 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13738 * text2.C (PasteSelection): adjust
13739 * CutAndPaste.C (pasteSelection): adjust
13741 * FloatList.C (FloatList): update from the new_insets branch.
13742 * Floating.[Ch]: ditto
13743 * LaTeXFeatures.C: ditto
13745 * lyxlex_pimpl.C: ditto
13747 * paragraph.C (Last): remove when NEW_INSETS is defined.
13749 * other file: changes because of the above.
13751 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13753 * lyxparagraph.h: rename next to next_, previous to previous_,
13754 make them private for NEW_INSETS. Rename Next() to next(),
13755 Previous() to previous().
13757 * other files: changes because of the above.
13759 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13762 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13765 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13767 * main.C (main): pass lyx_localedir to gettext_init().
13769 * gettext.h: remove locale_init and gettext_init macros
13771 * gettext.C (locale_init): new function
13772 (gettext_init): new function
13774 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13777 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13779 * Moved credits to frontends:
13780 * credits.[Ch]: removed
13781 * credits_form.[Ch]: removed
13782 * lyx_gui_misc.C: remove credits stuff
13785 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13787 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13789 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13790 unneeded destructor.
13792 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13793 a standalone pointer again.
13795 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13797 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13803 * ToolbarDefaults.C:
13812 * BufferView_pimpl.C: use new file dialog in GUII
13815 * lyx_cb.C: remove LayoutsCB to Toolbar
13817 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13819 * ShareContainer.h (get): add std:: qualifier
13821 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13823 * ShareContainer.h: define a proper ShareContainer::value_type
13824 type (and use typename to please compaq cxx)
13826 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13828 * lyxparagraph.h: move serveral local vars to
13829 ParameterStruct/ParagraphParameters., use ShareContainer in
13830 FontTable., make vars in FontTable private and add getter and
13833 * paragraph.C: changes because of the above.
13835 * lyxfont.h: remove copy constructor and copy assignment. (the
13836 default ones is ok), move number inside FontBits. move inlines to
13839 * lyxfont.C: add number to initializaton of statics, move several
13840 inlines here. constify several local vars. some whitespace
13841 cleanup. Dont hide outerscope variables.
13843 * Spacing.h: add two new constructors to match the set methods.
13845 * ShareContainer.h: new file, will perhaps be moved to support
13847 * ParameterStruct.h: new file
13849 * ParagraphParameters.h: new file
13851 * ParagraphParameters.C: new file
13853 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13854 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13856 * BufferView_pimpl.C: ParagraphParameter changes.
13857 * buffer.C: Likewise.
13858 * bufferview_funcs.C: Likewise.
13859 * text.C: Likewise.
13860 * text2.C: Likewise.
13862 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13864 * lyxfind.C (LyXReplace): do not redefine default argument in
13866 (IsStringInText): ditto
13867 (SearchForward): ditto
13868 (SearchBackward): ditto
13870 2001-03-06 Juergen Vigna <jug@sad.it>
13872 * lyxfind.C (IsStringInText): put parentes around expressions.
13874 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13876 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13878 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13880 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13882 * stl_string_fwd.h: add comment
13884 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13887 * tabular.C: remove unused DocBook methods
13893 killed DO_USE_DEFAULT_LANGUAGE
13895 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13897 * lyx_gui.C: do not include language.h.
13899 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13900 arguments in function implementation.
13902 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13904 * BufferView_pimpl.C: add <ctime>
13906 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13908 * BufferView_pimpl.C: add using std::find_if
13910 2001-02-27 José Matos <jamatos@fep.up.pt>
13912 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13915 2001-02-11 José Matos <jamatos@fep.up.pt>
13917 * buffer.C (makeDocBookFile): command styles now have a parameter as
13918 "title" by default.
13920 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13922 * layout_forms.[Ch]: removed
13923 * lyx_cb.[Ch]: out character
13924 * lyx_gui.C: out character
13925 * lyx_gui_misc.C: out character
13926 * bufferview_funcs.C: : out character,
13927 added toggleall as parameter in ToggleAndShow
13929 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13931 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13933 * text2.C (SetCurrentFont): Disable number property at boundary.
13935 2001-02-26 Juergen Vigna <jug@sad.it>
13937 * lyxfunc.C (getStatus): added a string argument override function so
13938 that this is correctly called from LyXFunc::Dispatch if it contains a
13939 do_not_use_argument which is used!
13940 (Dispatch): added check for "custom" export and call appropriate func.
13942 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13944 * lyxrc.C: Add language_command_local, language_use_babel and
13945 language_global_options.
13947 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13949 * buffer.C (makeLaTeXFile): Use language_use_babel and
13950 language_global_options.
13952 2001-02-23 Juergen Vigna <jug@sad.it>
13954 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13955 which works with LyXText and putted it inside BufferView. Here now we
13956 only call for that part the BufferView::Dispatch() function.
13958 * BufferView.C (Dispatch): added.
13960 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13961 functions which needs to use a LyXText over from LyXFunc.
13962 (MenuInsertLyXFile): added
13963 (getInsetByCode): added
13964 (moveCursorUpdate): added
13965 (static TEXT): added
13967 2001-02-22 Juergen Vigna <jug@sad.it>
13969 * BufferView_pimpl.C (update): call a status update to see if LyXText
13972 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13974 * vc-backend.C (revert): implement for CVS
13975 (getLog): implement for CVS
13977 2001-02-20 Juergen Vigna <jug@sad.it>
13979 * text2.C (ClearSelection): added BufferView param for inset_owner call
13981 * lyxfunc.C (TEXT): added this function and use it instead of
13982 directly owner->view()-text of getLyXText().
13984 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13986 * src/layout_forms.C: out preamble
13987 * src/layout_forms.h: out preamble
13988 * src/lyx_cb.C: out preamble
13989 * src/lyx_cb.h: out preamble
13990 * src/lyx_gui.C: out preamble
13991 * src/lyx_gui_misc.C: out preamble
13992 * src/lyxfunc.C: connect with guii preamble
13994 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13996 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13998 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14000 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14001 whether to run bibtex.
14003 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14005 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14007 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14009 * Makefile.am (lyx_SOURCES): removed bibforms.h
14011 * vspace.h: doxygen
14013 * text.C (GetVisibleRow): make several local vars const
14015 * tabular.C: small cleanup.
14017 * lyxserver.C (callback): use compare instead of strncmp
14019 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14020 inlines to after class or to paragraph.C
14022 * lyxfont.h: remove friend operator!=
14024 * converter.h: move friend bool operator< to non friend and after
14027 * combox.h: small cleanup
14029 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14030 to inlines after class def.
14032 * buffer.C (pop_tag): use string operations instead of strcmp
14034 * bmtable.c: doxygen, small cleanup
14036 * LaTeX.h: remove friend operator==
14038 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14050 * BufferView_pimpl.C:
14051 * BufferView.[Ch]: remove cruft
14053 2001-02-14 Juergen Vigna <jug@sad.it>
14055 * lyxfunc.C: removed #if 0 unused code
14057 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14059 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14061 * text2.C (SetSelection): added a BufferView * parameter
14063 2001-02-13 Juergen Vigna <jug@sad.it>
14065 * lyxfunc.C (Dispatch): fixed protected blank problem.
14066 * BufferView2.C (protectedBlank): added LyxText * parameter.
14068 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14069 (AppendColumn): same as above for column_info.
14071 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14072 (moveCursorUpdate): use a LyXText param for support of InsetText.
14074 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14075 (tripleClick): ditto
14077 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14079 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14081 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14083 * text2.C (SetSelection): set correct update status if inset_owner
14084 (ToggleFree): ditto
14086 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14088 * tabular.C: remove some commented code.
14090 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14092 * BufferView_pimpl.C: call hideSplash()
14094 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14097 * bibforms.h: remove
14100 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14101 add LFUN_CHILD_CREATE
14103 * counters.h: fix tiny typo
14108 * lyx.C: move splash to frontends/xforms/
14110 * lyx_gui_misc.C: move Include and Bibform to frontends
14112 * lyxvc.h: clarify comment
14114 * vspace.C: tiny housekeeping
14116 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14118 * text.C (PrepareToPrint): RTL Fix.
14120 * paragraph.C (GetUChar): New method.
14121 (String): Use GetUChar.
14123 * buffer.C (asciiParagraph): Use GetUChar.
14125 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14127 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14129 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14132 * buffer.C: rename to getLogName(), handle
14133 build log / latex log nicely
14135 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14138 * MenuBackend.h: remove support for reference menuitem type.
14140 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14142 * BufferView_pimpl.C: housekeeping
14143 * BufferView_pimpl.h:
14148 * minibuffer.h: move Timeout GUI-I
14150 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14152 * lyxrc.C (read): Update converters data-structures.
14154 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14156 * LaTeX.h (operator!=): add operator != for Aux_Info
14158 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14160 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14162 * LaTeXLog.C: deleted, useful code moved to Buffer
14165 * buffer.C: new function getLatexLogName()
14171 * lyxfunc.C: use frontends for LaTeX and VC logs
14173 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14175 * LaTeX.h: yet another std:: that Allan forgot.
14177 * Variables.C (set): renamed from isset(), because this clashes
14178 with some HP-UX macros (grr).
14180 2001-02-06 Allan Rae <rae@lyx.org>
14182 * LaTeX.h: Another bug fix. Missing std:: this time.
14184 2001-02-04 Allan Rae <rae@lyx.org>
14186 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14187 floats problem. I've left it commented out because it's not quite
14188 correct. It should also test that the current object is a table or
14189 figure inset. But I haven't gotten around to figuring out how to do
14190 that. I *think* it'll be something like: "table" == inset.type()
14192 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14195 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14197 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14198 all the citation/databases/styles in the auxilary file.
14199 (run): Rerun latex if there was a babel language error.
14201 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14203 * text.C (Backspace): Preserve the font when changing newline char
14205 (BreakParagraph): If the cursor is before a space, delete the space.
14207 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14209 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14211 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14212 new argument (code).
14213 (ChangeCitationsIfUnique): New method.
14215 * paragraph.C (GetPositionOfInset): Handle bibkey.
14217 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14219 * BufferView_pimpl.h: change type of Position::par_pos to
14220 LyXParagraph::size_type.
14222 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14224 * BufferView_pimpl.C (savePosition, restorePosition): Write
14225 messages to minibuffer.
14227 2001-01-28 José Matos <jamatos@fep.up.pt>
14229 * buffer.C (makeDocBookFile): adds support for document language.
14230 A silly restriction on the name of LatexCommand types where removed.
14231 Added support for CDATA sections, allows to chars unescaped, used
14232 among others in code, to avoid escape < and >.
14234 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14236 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14237 saved positions instrad of a stack. Furthermore, a position is
14238 stored using paragraph id/paragraph position.
14240 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14241 Remove LFUN_REF_BACK.
14243 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14245 * converter.C (dvipdfm_options): New method.
14247 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14249 * vspace.C (isValidLength): Fix for empty input string.
14251 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14253 * LyXAction.C (init): change description of LFUN_FIGURE to
14256 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14258 * LaTeX.C: add using directive
14260 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14262 * MenuBackend.C (expand): Fix the sorting of the formats.
14264 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14266 * lyx_main.C: tiny error message fix
14268 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14270 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14271 calling fl_initialize(). This fixes the problem with ',' as
14272 decimal separator in text files.
14274 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14276 * trans.C (process): Fix the keymap bug.
14278 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14280 * LaTeX.C (scanAuxFiles): New method. Provides support for
14281 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14282 (scanLogFile) Scan for "run BibTeX" messages.
14284 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14285 OT1 font encoding. Also, load the aecompl package if the ae
14288 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14290 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14292 * texrow.C (increasePos): turn two error messages into debug
14295 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14297 * LaTeX.C (scanAux): Handle the \@input macro.
14298 (runBibTeX): Use scanAux().
14300 * language.C (latex_options_): New field.
14302 * LaTeXFeatures.C (getMacros): Add language macros.
14304 * buffer.C (makeLaTeXFile): Small fix.
14306 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14308 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14310 * text2.C: add a using directive.
14312 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14317 * lyxfunc.C: kill LyXBell.
14319 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14321 * text.C (IsBoundary): Remove the error message
14323 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14325 * lyxrc.C (setDefaults): Correct initialization value for
14328 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14330 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14333 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14334 and GotoNextNote().
14336 * src/LyXAction.C: Added reference-next.
14338 * text.C (InsertChar): Use contains instead of strchr.
14340 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14342 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14344 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14345 alignment commands (when needed).
14347 * text.C (InsertChar): Add ':' to number separator chars.