1 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * InsetList.C: replace functor MathcIt with adaptable functor
5 (insetIterator): modify accordingly
7 * BranchList.h: move the BranchNamesEqual functor here from...
8 * BranchList.C: ... to here
10 * BranchList.C: new BranchListEqual fuctor, use it. Remove
12 (add): replace a finding loop with std::find_if.
14 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
16 * output_docbook.C: moving LatexParam functionality into
19 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
21 * buffer.C: increment format to 229.
23 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
26 * lyx_sty.[Ch]: remove minipageindent_def
32 * text3.C: remove LFUN_INSET_MINIPAGE
34 2003-12-28 Angus Leeming <leeming@lyx.org>
36 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
38 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
40 * text2.C (setParagraph): fix off-by-one crash
42 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
44 * output_docbook.C: header stuff for AGU
46 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
48 * text2.C (redoCursor): remove
51 * BufferView_pimpl.C: remove calls to redoCursor and
52 setCursor(cursor.par(), cursor.pos()) all around
54 2003-12-15 Angus Leeming <leeming@lyx.org>
56 * buffer.C: up the format to 228.
58 2003-12-15 André Pönitz <poenitz@gmx.net>
60 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
74 2003-12-15 Angus Leeming <leeming@lyx.org>
76 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
77 than getFromGUIName to manipulate the color.
79 2003-12-14 Angus Leeming <leeming@lyx.org>
81 * BranchList.[Ch]: minimize the API.
82 (Branch::getBranch, getColor): now return a 'const &'.
83 (Branch::setSelected) now returns a bool set to true if the
84 selection status changes.
85 (BranchList::clear, size, getColor, setColor, setSelected,
86 allBranches, allSelected, separator): removed.
87 (BranchList::find): new functions, returning the Branch with
89 (BranchList::add, remove): return a bool indicating that
90 the operation was successful.
92 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
93 new InsetBranch::isBranchSlected member function.
95 * LColor.[Ch]: mimimize the API.
96 (fill): renamed as addColor and made private.
97 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
98 versions of these functions taking a string arg have been removed.
100 * bufferparams.C (readToken):
101 * lyxfunc.C (dispatch):
102 * lyxrc.C (read): changes due to the altered BranchList and
105 * factory.C (createInset, readInset): changes due to altered
108 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
111 * lyxfunc.C: remove insetminipage. "minipage-insert"
112 now produces a frameless minipage box inset.
114 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
116 * textcursor.[Ch] (selStart,selEnd): add new methods
117 remove selection::start, end, use LyXCursor::operator<
118 * lyxcursor.[Ch] (operator<): add
119 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
120 * BufferView.[Ch] (unsetXSel): add
121 * text2.C (clearSelection): use unsetXSel,adjust
124 * rowpainter.C: adjust
125 * bufferview_funcs.C (put_selection_at): adjust
127 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
129 * BufferView_pimpl.C: small coord. correction
131 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
133 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
134 dragging over the splash screen.
136 2003-12-11 Angus Leeming <leeming@lyx.org>
138 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
139 as it is now handled in LyXText::dispatch.
141 * text3.C (doInsertInset): remove a level of nesting.
143 2003-12-11 Angus Leeming <leeming@lyx.org>
145 * factory.C (createInset): changes due to the changed interface to
146 InsetCommandMailer::string2params.
148 2003-12-10 Angus Leeming <leeming@lyx.org>
150 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
151 'dialog-show-new-inset <inset name>'
153 2003-12-10 Angus Leeming <leeming@lyx.org>
155 * buffer.C: up the format to 227.
157 * factory.C: the box inset is now identified simply by 'Box'.
159 2003-12-10 Angus Leeming <leeming@lyx.org>
161 * buffer.C: up the format to 226.
163 * factory.C: the note inset is now identified simply by 'Note'.
165 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
167 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
168 when a pit is enough. Standarize a couple of loops.
170 2003-12-05 Angus Leeming <leeming@lyx.org>
172 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
173 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
174 data to the re-worked "log" dialog.
176 2003-12-03 André Pönitz <poenitz@gmx.net>
184 * text2.C: use Inset::getText instead of Inset::getParagraph
186 2003-12-03 André Pönitz <poenitz@gmx.net>
190 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
191 InsetText::read() as LyXText::read()
193 2003-12-02 Angus Leeming <leeming@lyx.org>
195 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
196 type. Add a comment in the implementation that the function uses
197 the stream's bad() function rather than fail() as the std::streams
200 2003-12-02 André Pönitz <poenitz@gmx.net>
202 * lyxlex.[Ch]: make interface more similar to std::stream
204 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
206 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
208 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
210 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
212 * vspace.[Ch]: remove VSpace::NONE
214 2003-12-01 André Pönitz <poenitz@gmx.net>
217 * lyxtext.h: move ParagraphList member to LyXText
218 rename LyXText::ownerParagraphs to LyXText::paragraph
221 * bufferview_funcs.C:
231 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
233 * undo.C: fix cursor positioning
235 2003-12-01 John Levon <levon@movementarian.org>
237 * BufferView_pimpl.C: fix a crash on exit with
240 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
242 * BranchList.C: fix setSelected() method.
244 2003-11-28 André Pönitz <poenitz@gmx.net>
246 * ParagraphParameters.[Ch]:
247 * ParameterStruct.h: remove space above/below from Paragraph to
250 * BufferView_pimpl.C:
262 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
264 * factory.C: Syntax change for CharStyles
266 2003-11-28 André Pönitz <poenitz@gmx.net>
271 * buffer.[Ch]: move LyXText member
273 2003-11-28 André Pönitz <poenitz@gmx.net>
275 * BufferView.[Ch]: make LyXText * text a private member
277 * BufferView_pimpl.C:
288 * output_plaintext.C: cleanup
290 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
293 * lyxtextclass.[Ch]: parametrize SGML document header
295 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
298 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
301 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
303 * text2.C (setFont): rework using PosIterator (no more recursive)
304 (setCharFont): no more needed
305 (setLayout): no more selection cursors fiddling (done by redoCursor)
306 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
307 destroy remaining ones)
309 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
311 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
313 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
316 * text3.C: adjust + re-allow multi par depth changes
317 * textcursor.C: simplify a bit
319 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
325 * src/output_docbook.C:
326 * src/output_latex.C:
331 * src/text2.C: Introducing a number of tags parametrizing various
332 XML formats that we may want to support
334 2003-11-25 André Pönitz <poenitz@gmx.net>
336 * InsetList.[Ch] (begein, end): inline as suggested by profiler
338 * lyxtext.h (leftMargin/rightMargin): simplify interface
345 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
347 * lyxfunc.C (dispatch): propogate the bibtex databases from the
348 master file to any child files. Fixes bug 546.
350 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
352 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
354 2003-11-24 André Pönitz <poenitz@gmx.net>
356 * rowpainter.C: simplification
358 * text2.C (updateCounters): remove call to redoParagraph on
359 changed labels as this is far too expensive.
361 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
363 * converter.C (convert): fix a crash: this function gets
364 called with buffer == 0 from importer code.
366 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
368 * text3.C (cursorPrevious): make sure that we do not compare
369 iterators form different containers.
372 * rowpainter.C (paintSelection): make sure that we do not compare
373 iterators from different containers.
375 * text3.C (dispatch): [PRIOR] make sure that we do not compare
376 iterators from different ParagraphList containers.
379 * text2.C (LyXText): change order of initialization slightly
380 (operator=): new function. copy all variables except cache_par_
381 (moveUp): make sure that we do not compare iterators from
382 different ParagraphList constainers.
385 * text.C (firstPar): new function
386 (lastPar): new function
387 (endPar): new function
389 * lyxtext.h: move things around and group public functions, public
390 variables, private functions, private variables
392 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
394 * factory.C: change call to InsetERT constructor to avoid
395 additional invocation of method status
396 * text2.C (toggleInset): remove redundant update() call
397 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
398 instead of a Bufferview pointer
400 2003-11-21 André Pönitz <poenitz@gmx.net>
402 * rowpainter.C: simplification
404 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
406 * text3.C (dispatch): make possible to extend a word/row selection
409 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
411 * lyxtext.h: x0_,y0_ -> xo_,yo_
412 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
413 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
414 * rowpainter.C (paintRows): paint full paragraphs
416 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
418 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
421 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
423 * lyxtext.h: add x0_, y0_
424 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
425 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
427 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
429 * text2.C (setCursorIntern): move the x_target update here *
430 * text3.C: change some bv() to true/false in calls to
431 cursorUp/Down/Right/Left
432 * cursor.C: use helper function.
434 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
436 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
437 * paragraph_funcs.[Ch]: correct comment
438 * rowpainter.C: do not paint selections away from bv->cursor()
439 Fix a long standing selection painting bug.
440 * text3.C: generalize mouse-selection code to LyXTexts other that
442 * textcursor.C: do not use y coords if we can use par offsets
444 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
446 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
447 cursor position after e.g. inset insert)
449 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
451 * lyxfind.C (replace): adjust to locking removal + some
454 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
456 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
459 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
462 * output_docbook.C: XML sanitation: new layout
463 parameters InnerTag and CommandDepth
465 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
467 * BufferView_pimpl.C:
469 * text3.C: Fix the insertion and modification of button-style
472 2003-11-13 André Pönitz <poenitz@gmx.net>
474 * InsetList.[Ch]: remove deleteLyXText
476 * paragraph.[Ch]: cache beginOfBody position
481 * text3.C: remove superfluous update() calls
485 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
487 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
488 * BufferView.C (fitLockedInsetCursor): remove
489 * cursor.[Ch] (getDim): add
490 * text.C (getRowNearY): add faster version
491 * text3.C: remove some update calls
493 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
505 * text3.C: The Character Style /XML short element patch.
507 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
510 * factory.C: Small step to solving 'unable to insert some insets'
513 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
515 * cursor.[Ch] (updatePos): new function for updating the y
516 position of the tip inset
517 * bufferview_funcs.C (put_selection_at):
518 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
520 2003-11-11 André Pönitz <poenitz@gmx.net>
522 * text.C: remove big comment on invalid Paragraph pointers as it is
525 2003-11-11 André Pönitz <poenitz@gmx.net>
527 * text_funcs.[Ch]: merge with ...
535 * Makefile.am: remove text_funcs.[Ch]
537 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
539 * cursor.C (getPos): return absolute cached y coord
541 * BufferView_pimpl.C (fitCursor): new simplistic code
542 (workAreaDispatch): add a fitCursor call
544 2003-11-10 André Pönitz <poenitz@gmx.net>
547 * BufferView_pimpl.[Ch]: merge update() and updateInset()
549 2003-11-10 André Pönitz <poenitz@gmx.net>
551 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
552 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
553 indicate that the cursor needs to leave an inset
555 * lyxtext.h: remove inset locking
557 * cursor.[Ch]: re-implement functionality provided by inset locking
560 * BufferView_pimpl.[Ch]:
562 * bufferview_funcs.[Ch]:
574 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
576 * PosIterator.[Ch]: replace the stack with a vector, add inset
578 * iterators.[C]: adjust
580 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
582 * lyxfind.C (replaceAll): mark the buffer dirty if something was
584 * paragraph_funcs.C (readParToken): put the correct id in the
585 error item, not the id of the top paragraph
587 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
589 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
590 * bufferview_funcs.C (put_selection_at): use the above
592 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
594 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
596 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
599 * output_plaintext.h:
601 * output_docbook.h: add #include statements
603 2003-11-05 José Matos <jamatos@lyx.org>
605 * output_docbook.[Ch]:
607 * output_linuxdoc.[Ch]:
608 * output_plaintext.[Ch]: New files for output formats.
609 * output.[Ch]: New file for helper functions.
612 * paragraph_funcs.[Ch]: output functions moved to new files.
614 * outputparams.h: rename of latexrunparams.h
622 * paragraph_funcs.[Ch]:
623 * paragraph_pimpl.[Ch]:
624 * tabular.[Ch]: rename ascii to plaintext
625 and LatexRunParams to OutputParams.
627 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
629 * iterators.[Ch] (text): require bv argument
630 * undo.C (recordUndo):
631 * lyxfunc.C (dispatch):
632 * bufferview_funcs.C (put_selection_at): adjust
634 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
636 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
638 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
640 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
643 2003-11-04 André Pönitz <poenitz@gmx.net>
645 * cursor.[Ch]: restructure
648 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
650 * iterators.[Ch] (asCursor): remove
652 * lfuns.h: remove LFUN_INSET_EDIT
658 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
660 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
662 * lyxfind.[Ch]: complete overhaul
663 * BufferView_pimpl.C:
665 * paragraph.[Ch] (insert): add
667 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
671 * text.C: remove dead spellcheck code
673 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
675 * dispatchresult.h: add a val setter
677 * cursor.C (dispatch): use a tempvar for data_[i]
679 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
681 * PosIterator.[Ch]: compile fix
683 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
685 * text.C (cursorPar): deactivate the cursor cache
687 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
689 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
691 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
693 * text3.C (dispatch): adjust for new DisptchResult semantics.
695 * lyxfunc.C (dispatch): handle update when return from
696 Cursor::dispatch, adjust for new DispatchResult semantics.
698 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
699 DispatchResult(true) mean to not update. Add class functions for
700 setting dispatched and update, as well as reading.
702 * cursor.C (dispatch): don't handle update here
704 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
706 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
707 * trans_mgr.C: adjust
709 * paragraph_funcs.C (readParToken): exception safety
711 * lyxvc.h: store the vcs pointer in a scoped_ptr
714 * lyxsocket.C (serverCallback): exception safety
716 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
718 * ispell.C (clone): make it return a auto_ptr
720 * factory.C (createInset): exception safety
721 (readInset): exception safety
723 * bufferlist.C (newBuffer): exception safety
725 * Thesaurus.C (Thesaurus): use initialization for aik_
727 * MenuBackend.C (expandToc): exception safety.
729 2003-11-03 André Pönitz <poenitz@gmx.net>
733 * bufferview_funcs.C: remove getInsetFromId()
736 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
742 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
744 * PosIterator.C (distance, advance): new
745 * bufferview_funcs.[Ch] (put_selection_at): new
746 * iterators.[Ch] (lockPath): new
748 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
750 * iterators.[Ch] (asPosIterator): added
751 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
752 * PosIterator.[Ch]: added
754 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
758 * cursor.C (dispatch):
759 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
761 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
762 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
763 contructor, add a class function dispatched. Remove operator>=
765 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
767 * debug.C: only use the default constructor for debugstream
770 * main.C (main): include debug.h and setup the lyxerr streambuf
773 2003-10-31 José Matos <jamatos@lyx.org>
775 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
777 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
778 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
779 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
780 * paragraph_pimpl.C (simpleTeXSpecialC):
781 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
782 add LatexRunParams argument.
784 * exporter.C (Export): change call accordingly.
786 * latexrunparams.h: add new member to take care of the other backends.
787 2003-10-30 José Matos <jamatos@lyx.org>
789 * buffer.C (makeLinuxDocFile, makeDocBookFile):
790 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
791 factorise code for paragraph output.
793 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
796 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
798 * text3.C (dispatch):
799 * lyxfunc.C (dispatch):
800 * cursor.C (dispatch):
801 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
803 * dispatchresult.h: make the dispatch_result_t ctor explicit
805 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
808 * buffer.C: small refactoring of docbook stuff
810 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
812 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
815 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
817 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
818 operator dispatch_result_t, and operators for == != and >=
820 * cursor.C (dispatch): adjust for operator dispatch_result_t
821 removal. comment out call to update
823 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
825 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
833 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
836 * dispatchresult.h: new file, DispatchResult broken out of
839 * Makefile.am (lyx_SOURCES): add dispatchresult.h
841 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
843 * text.C (rowBreakPoint): put a hack inside #if 0
845 2003-10-28 André Pönitz <poenitz@gmx.net>
852 * text2.C: general cleanup (lots of small stuff)
854 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
856 * text2.C (cursorEnd): simple fix to the "end key goes to one
857 before the end on last row" bug
859 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
861 * text.C (backspace): fix the "zombie characters"
863 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
865 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
867 2003-10-27 André Pönitz <poenitz@gmx.net>
869 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
871 * factory.C: handle new InsetPagebreak, InsetLine
873 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
874 and move handling into new InsetPagebreak, InsetLine
876 * BufferView_pimpl.C:
878 * ParagraphParameters.C:
891 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
900 * text3.C: remove lastPos uses in favour of Row::endpos
902 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
904 * undo.C (performUndoOrRedo): fix two crashes by setting a
905 cursor by hand and reordering some calls. Use bv->lockInset instead
906 of inset->edit because the latter loses cursor information
908 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
910 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
912 (rowBreakPoint): fix width. change point to point + 1.
915 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
918 * lyxfunc.C: fix (at least partly) the problems
919 with the Nav menu and headers inside branch insets
922 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
924 * paragraph.C (getChar): add strong asserts
926 * lyxrow_funcs.C (lastPos): remove hideous hack
928 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
929 (fill): adjust to that (avoid an infinite loop)
931 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
933 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
935 2003-10-23 André Pönitz <poenitz@gmx.net>
937 * RowList_fwd.h: change list<> to vector<> to gain speed
938 after suggestion from Alfredo
940 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
942 * lyxtext.h: move the bidi stuff from here...
945 * Bidi.[Ch]: ... to here
947 2003-10-23 André Pönitz <poenitz@gmx.net>
950 * text.C (isLastRow, isFirstRow): new functions
952 * paragraph.h: new width cache member
954 * rowpainter.C: replace RowList::iterator with Row & where possible
956 * lyxfunc.C: replace several view()->text with a single call
958 * toc.C: fix 'unused' warning
960 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
962 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
963 when woring with stream::pos_type
964 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
966 2003-10-22 André Pönitz <poenitz@gmx.net>
969 * text.C: use Row & instead of RowList::iterator
971 * lyxrow.h: rename end() to endpos()
977 2003-10-22 Angus Leeming <leeming@lyx.org>
979 * buffer.[Ch] (fully_loaded): new member function, returning true
980 only when the file has been loaded fully.
981 Used to prevent the premature generation of previews and by the
982 citation inset to prevent computation of the natbib-style label.
984 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
985 templates are all set up.
987 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
989 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
991 * text.C: fixed an "oops" in the "is a bit silly"
994 2003-10-21 André Pönitz <poenitz@gmx.net>
996 * FuncStatus.[Ch]: small stuff, whitespace
998 * lyxfont.[Ch]: operator<<() for debug reasons
1002 * lyxtext.h: whitespace, spelling
1004 * paragraph.C: naming of variables
1007 * text2.C: small stuff
1010 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1012 * text.C: (1) finish off the inset display() work;
1013 (2) fix the "is a bit silly" bug (accessing char
1016 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1018 * text.C: re-introduce display() for insets, fixing the
1019 various bugs (stretch of line above, math inset
1022 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1024 * text.C (rightMargin): remove spurious semicolon
1026 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1029 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1031 * text3.C: fix one crash due to wrong cursor def
1033 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1035 * vc-backend.C (scanMaster): make the regex static
1037 * LaTeX.C (scanAuxFile): make the regexs static
1039 * text3.C (doInsertInset, dispatch, dispatch):
1040 * text2.C (cursorUp, cursorDown):
1041 * text.C (selectNextWordToSpellcheck):
1042 * BufferView_pimpl.C (dispatch):
1043 * lyxfunc.C (dispatch): localDispatch -> dispatch
1045 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1047 * lyxsocket.C: include <cerrno>
1049 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1051 * lyxfunc.C (dispatch): remove textcache stuff
1053 * bufferlist.C (release): remove textcache stuff
1056 * TextCache.C: delete file
1057 * TextCache.h: delete file
1059 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1061 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1062 delete of the bv_->text.
1063 (resizeCurrentBuffer): remove texcache stuff
1064 (workAreaResize): ditto
1066 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1068 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1071 2003-10-16 André Pönitz <poenitz@gmx.net>
1078 * text3.C: speed up by storing y positions per paragraph plus per-row
1079 offset instead of having a 'full' y position in the row.
1081 2003-10-15 André Pönitz <poenitz@gmx.net>
1085 * undo.[Ch]: make undo aware of inner insets
1087 2003-10-14 Angus Leeming <leeming@lyx.org>
1089 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1090 static member functions LyX::ref() and LyX::cref.
1091 (lastfiles): new accessor functions for the new lastfiles_ member var.
1092 (addLyXView, views_): add a new LyXView to the list of views_.
1093 (updateInset): loop over all LyXViews to call their own updateInset
1094 member function, returning a pointer to the Buffer owning the inset.
1096 * BufferView_pimpl.C (loadLyXFile):
1097 * MenuBackend.C (expandLastfiles):
1098 * bufferlist.C (MenuWrite, QuitLyX):
1099 lastfiles is no longer a global variable.
1100 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1102 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1103 static function. Access through LyX::cref().emergencyCleanup().
1105 2003-10-14 André Pönitz <poenitz@gmx.net>
1107 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1109 * undo.[Ch]: restoring part of 'undo in insets'
1112 * undo_funcs.[Ch]: merge with undo.[Ch]
1114 * tabular.C: small cleansing stuff
1116 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1118 * paragraph_funcs.C (readParToken): report unknown insets as error
1119 boxes. Use the outer paragraph as location (also for unknown
1122 * factory.C (readInset): do not abort on reading an unknown inset.
1123 Eat it and return 0.
1125 2003-10-13 Angus Leeming <leeming@lyx.org>
1127 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1129 * lyxrc.C: displayTranslator is now a function,
1130 declared in GraphicsTypes.h.
1132 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1134 * format.C: new placeholder $$a to pass the socket address.
1136 * bufferlist.[Ch]: new function getBufferFromTmp.
1138 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1139 files in the temporary dir.
1141 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1143 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1145 * Makefile.am: add lyxsocket.[Ch].
1147 * lyx_main.C (error_handler): handle SIGPIPE.
1149 2003-10-13 André Pönitz <poenitz@gmx.net>
1151 * BufferView_pimpl.C:
1156 * undo_funcs.[Ch]: use paroffset_type instead of
1157 ParagraphList::iterators to prevent multiple conversion
1158 (and get a more robust interface)
1160 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1162 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1164 * text3.C (dispatch): ditto
1166 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1168 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1169 move the onlyfile, use onlyfile instead of foundfile in a couple
1172 * DepTable.C (update): flush the error stream a bit more
1174 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1176 * lyxserver.C (callback): adjust
1178 * lyxfunc.C (getStatus): add a missing brace in commented code
1179 (ensureBufferClean): reindent
1180 (dispatch): delete version taking a string
1182 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1184 * LaTeX.C (deplog): move found file handlig from here...
1185 (handleFoundFile): .. to new function here.
1186 (deplog): make sure to discover several files mentioned on the
1189 2003-10-10 André Pönitz <poenitz@gmx.net>
1196 * text3.C: fix some of the tabular crashes
1198 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1200 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1202 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1204 2003-10-09 André Pönitz <poenitz@gmx.net>
1206 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1209 * BufferView_pimpl.C:
1210 * bufferview_funcs.C:
1221 * undo_funcs.C: adjust
1223 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1225 * text2.C (incrementItemDepth): new function, use a backtracking
1226 algorithm to discover the correct item depth.
1227 (resetEnumCounterIfNeeded): new function, use a backtracking
1228 algorithm to discover if counter reset is needed.
1229 (setCounter): use them. Simplify a bit. Add different labels for
1230 different item depths for itemize.
1232 * paragraph.C (Paragraph): remove initialization of enumdepth
1235 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1236 enumerate and itemize. Change the type of itemdepth to signed char.
1238 2003-10-08 André Pönitz <poenitz@gmx.net>
1240 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1245 * tabular.[Ch]: fix crash after 'row-insert'
1247 2003-10-08 Angus Leeming <leeming@lyx.org>
1249 Fix doxygen warnings.
1251 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1252 Remove CutAndPaste:: prefix from header file declaration.
1254 * LColor.h (fill): remove LColor:: prefix from declaration.
1256 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1257 use lyx::depth_type rather than Paragraph::depth_type so that
1258 header file and .C file match.
1260 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1262 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1263 * aspell.C: \file aspell_local.C -> \file aspell.C
1264 * gettext.C: \file gettext.C -> \file src/gettext.C
1265 * gettext.h: \file gettext.h -> \file src/gettext.h
1266 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1267 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1268 * text.C: \file text.C -> \file src/text.C
1270 * toc.C: move comment so that doxygen is not confused.
1272 2003-10-07 Angus Leeming <leeming@lyx.org>
1274 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1276 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1279 * aspell_local.h: add forgotten std::string's.
1281 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1288 * text3.C: The Box patch. Fancybox support, minipage, parbox
1290 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1296 * ParagraphParameters.h:
1306 * lyxtextclasslist.h:
1309 * paragraph_pimpl.C:
1310 * textcursor.h: add <string> and other small fixes to make Lars'
1311 std::string patch compile with STLport.
1313 2003-10-06 Angus Leeming <leeming@lyx.org>
1315 * LColor.h: Add missing #include <string>.
1317 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1319 * All most all file in all subdirs: Make <string> be the prefered
1320 way of getting to std::string, add using declarations.
1322 2003-10-06 André Pönitz <poenitz@gmx.net>
1324 * metricsinfo.C: initialize LyXFont before changing attribute.
1325 (fixes the 'math in \emph is upright' bug)
1327 2003-10-06 André Pönitz <poenitz@gmx.net>
1329 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1331 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1334 * paragraph_pimpl.C: Small fixes to build using STLport
1336 2003-10-02 André Pönitz <poenitz@gmx.net>
1339 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1341 2003-10-01 André Pönitz <poenitz@gmx.net>
1343 * factory.C: assert early
1345 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1347 * lyx_main.C: remove the global debug object
1349 * debug.h: adjust for new debugstream
1351 * debug.C: adjust for new debugstream and keep the global debug
1354 2003-09-22 Angus Leeming <leeming@lyx.org>
1356 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1357 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1358 an incomplete class LyXFont.
1360 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1362 * factory.C: bug fix in branches
1364 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1366 * lyxfunc.C (processKeySym): adjust
1368 (dispatch): change arg name from ev to func, adjust
1369 (sendDispatchMessage): ditto
1371 * lyx_main.C (defaultKeyBindings): adjust keybindings
1372 (deadKeyBindings): ditto
1374 * kbsequence.C (addkey): return a FuncRequest
1376 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1378 * kbmap.C (bind): take a FuncRequest as arg, adjust
1381 (defkey): change to take a FuncRequest as arg, adjust
1382 (findbinding): take a FuncRequest as arg, adjust.
1384 * funcrequest.h (operator=): added
1386 * funcrequest.C (FuncRequest): default kb_action changed from
1387 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1389 * buffer.C (dispatch): simplify
1390 (dispatch): adjust to take a FuncRequest as arg, adjust
1392 * boost.C (assertion_failed): change assertion message slightly
1394 * ToolbarBackend.C (read): simplify
1396 * MenuBackend.C (binding): adjust call to findbinding, add a
1397 message if no binding is found.
1399 (expandToc): correct by adding a empty FuncRequest
1401 * LyXAction.C: include <boost/assert.hpp>
1402 (isPseudoAction): delete function
1403 (LookupFunc): change name to...
1404 (lookupFunc): this. change return type to FuncRequest.
1405 (getActionName): take kb_action as arg, simplify
1406 (funcHasFlag): add an assert, simplify.
1408 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1410 * toc.C (action): return a FuncRequest, simplify
1412 * lyxfunc.C (processKeySym): adjust
1413 (getStatus): delete version that takes an int.
1415 (dispatch): delete version that takes action as int
1417 (sendDispatchMessage): simplify and adjust
1419 * funcrequest.C (getArg): take unsigned int as arg
1421 * ToolbarBackend.C (read): adjust
1422 (add): delete version that takes func as a string.
1423 (getIton): take a FuncRequest as arg
1425 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1428 * MenuBackend.C (MenuItem): add a new construct that only takes a
1429 Kind, simplify the constructor use for submenus.
1431 (expandLastfiles): adjust
1432 (expandDocuments): adjust
1433 (expandFormats): adjust
1434 (expandFloatListInsert): adjust
1435 (expandFloatInsert): adjust
1436 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1438 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1439 Remove class variables lyx_pseudo_map and lyx_arg_map
1441 * LyXAction.C (searchActionArg): delete function
1442 (getPseudoAction): delete function
1443 (retrieveActionArg): delete function
1444 (LookupFunc): make it return kb_action, simplify.
1445 (getActionName): simplify
1447 * factory.C (createInset): fix new bug
1449 2003-09-19 Angus Leeming <leeming@lyx.org>
1451 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1452 masterFilename_ parameter in the include inset.
1454 * factory.C (createInset): changes due to the changes to InsetInclude.
1456 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1458 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1460 2003-09-18 Angus Leeming <leeming@lyx.org>
1463 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1464 Inset::fillWithBibKeys.
1465 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1467 2003-09-18 Angus Leeming <leeming@lyx.org>
1469 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1471 (ctor): pass and store a 'Buffer const &'
1472 (buffer): new member function.
1474 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1475 '*this' to the LaTeXFeatures ctor.
1477 2003-09-18 Angus Leeming <leeming@lyx.org>
1483 * text.C: rename EnumLColor as LColor_color.
1485 2003-09-18 Angus Leeming <leeming@lyx.org>
1487 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1488 remove #include "insets/insetbase.h" from cursor.h.
1490 2003-09-18 Angus Leeming <leeming@lyx.org>
1492 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1493 InsetOld_code to remove #include "inset.h".
1495 * iterators.C: add #include "insets/inset.h"
1497 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1499 * BufferView.C: remove more locking stuff that apparently doesn't
1500 do anything sensible.
1502 2003-09-16 André Pönitz <poenitz@gmx.net>
1505 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1508 2003-09-16 Angus Leeming <leeming@lyx.org>
1510 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1512 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1515 * paragraph.h: remove #include "lyxfont.h". Forward declare
1518 2003-09-16 Angus Leeming <leeming@lyx.org>
1520 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1521 of support/textutils.h.
1522 (isWord): move the contents of support/textutils.h's IsWordChar here.
1528 * text2.C: add #include "paragraph.h".
1531 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1533 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1539 * LaTeX.C: use namespace alias for lyx::support::os
1541 2003-09-16 Angus Leeming <leeming@lyx.org>
1544 * bufferview_funcs.C:
1547 * paragraph_pimpl.C:
1549 * text.C: add #include "LColor.h".
1551 2003-09-16 Angus Leeming <leeming@lyx.org>
1553 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1554 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1556 Store the FontBits::color variable as an int rather than as an
1557 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1560 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1561 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1562 string calls together.
1564 * lyxrc.C: add #include "LColor.h".
1566 2003-09-15 Angus Leeming <leeming@lyx.org>
1568 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1571 2003-09-15 Angus Leeming <leeming@lyx.org>
1573 * LColor.h: add an EnumLColor wrapper for LColor::color.
1575 * lyxfont.[Ch] (color, setColor, realColor):
1576 * lyxtext.h, text.C (backgroundColor):
1577 pass EnumLColor args to/from the functions, rather than LColor::color
1581 * lyxtext.h: forward declare EnumLColor.
1583 * lyx_main.C: add #include "LColor.h".
1585 2003-09-15 Angus Leeming <leeming@lyx.org>
1587 * .cvsignore: add lyx-gtk.
1589 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1594 * ParagraphParameters.C
1598 * bufferview_funcs.C
1608 * vc-backend.C: remove usage of STRCONV
1610 2003-09-15 Angus Leeming <leeming@lyx.org>
1612 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1613 explicitly define the color passed to the painter.
1615 2003-09-15 Angus Leeming <leeming@lyx.org>
1617 * bufferparams.C (BufferParams): reorder member initializers to avoid
1620 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1622 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1623 * text.C (updateRowPositions): remove an unusual nop
1625 2003-09-12 André Pönitz <poenitz@gmx.net>
1627 * BufferView_pimpl.C:
1636 * Counters.[Ch]: finish the 'automatic counters' job
1638 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1640 * aspell.C: include <boost/assert.cpp> (compile fix)
1642 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1644 * boost.C (assertion_failed): use lyx::support::abort instead of
1647 2003-09-10 Angus Leeming <leeming@lyx.org>
1649 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1650 with their _fwd progeny.
1652 2003-09-09 Angus Leeming <leeming@lyx.org>
1654 134 files throughtout the source tree: replace 'using namespace abc;'
1655 directives with the appropriate 'using abc::xyz;' declarations.
1657 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1659 * boost.C (emergencyCleanup): moved here from LAssert.c
1660 (assertion_failed): new function, called by BOOST_ASSERT
1662 * several files: change Assert to BOOST_ASSERT
1664 2003-09-09 Angus Leeming <leeming@lyx.org>
1666 * buffer.[Ch]: Add an Impl class and move Buffer's member
1667 variables into it. As a result move several header files out of
1670 Add header files to lots of .C files all over the tree as a result.
1672 2003-09-09 Angus Leeming <leeming@lyx.org>
1674 * buffer.[Ch]: make Buffer's member variables private. Add
1677 Lots of changes all over the tree as a result.
1679 2003-09-08 Angus Leeming <leeming@lyx.org>
1681 * graph.C: #include <config.h>.
1683 2003-09-08 Angus Leeming <leeming@lyx.org>
1687 * BufferView_pimpl.C:
1716 * toc.C: remove redundant using directives.
1718 2003-09-07 Angus Leeming <leeming@lyx.org>
1720 * LaTeXFeatures.h: remove #include "support/types.h".
1721 * ToolbarBackend.h: remove #include <algorithm>.
1722 * changes.h: remove #include <ctime>.
1723 * debug.h: remove #include <iosfwd>.
1724 * graph.h: remove #include "support/std_string.h".
1725 * lyx_main.h: remove #include <csignal>.
1726 * lyxlex_pimpl.h: remove #include <fstream>.
1727 * sgml.h: remove #include <algorithm>, <utility>.
1728 * toc.h: remove #include "support/std_ostream.h".
1729 Add #include <iosfwd>.
1731 2003-09-07 Angus Leeming <leeming@lyx.org>
1733 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1735 * converter.h: forward declare LatexRunParams.
1736 * encoding.h: remove #include "lyxrc.h".
1737 * lyxtext.h: remove #include "LColor.h".
1738 * lyxtextclass.h: remove #include "support/types.h".
1739 * trans.h: remove #include "tex-accent.h".
1740 * trans_mgr.h: remove #include "tex-accent.h".
1741 * insets/inset.h: remove #include "support/types.h", <vector>.
1742 * insets/insetcollapsable.h: remove #include "LColor.h".
1743 * insets/insetinclude.h: remove #include "dimension.h".
1744 * insets/insetlatexaccent.h: remove #include "dimension.h".
1745 * insets/insetoptarg.h:: remove #include "insettext.h".
1746 * insets/insettext.h: remove #include "dimension.h",
1747 <boost/shared_ptr.hpp>
1749 * insets/renderers.h: add #include "dimension.h".
1750 * insets/updatableinset.h: add #include "support/types.h".
1752 * many .C files: Associated changes.
1754 2003-09-06 Angus Leeming <leeming@lyx.org>
1756 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1757 one, inside testInvariant.
1759 * PrinterParams.C: new file.
1760 * PrinterParams.[Ch]: move the function bodies out of line.
1762 2003-09-06 Angus Leeming <leeming@lyx.org>
1764 * ParagraphParameters.h: forward declare ParameterStruct rather than
1765 including its header file.
1766 (depth): moved out-of-line.
1768 2003-09-06 Angus Leeming <leeming@lyx.org>
1770 * BufferView_pimpl.h:
1773 * lyxfunc.h: forward declare LyXKeySym rather than
1774 #include "frontends/LyXKeySym.h".
1776 * BufferView_pimpl.C:
1779 * lyxfunc.C: associated changes.
1781 2003-09-06 Angus Leeming <leeming@lyx.org>
1783 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1784 As a result, can remove the #include "insets/inset.h" from BufferView.h
1786 2003-09-06 Angus Leeming <leeming@lyx.org>
1788 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1789 As a result, can remove the #include "insets/inset.h" from BufferView.h
1791 2003-09-06 Angus Leeming <leeming@lyx.org>
1797 * bufferview_funcs.C:
1798 * BufferView_pimpl.C:
1803 * ParagraphParameters.C:
1808 * frontends/controllers/ControlDocument.C:
1809 * insets/insetcaption.C: rearrange the #includes into some sort of
1812 * buffer.h: remove #includes ErrorList.h, undo.h
1814 2003-09-06 Angus Leeming <leeming@lyx.org>
1816 * support/types.h: add a 'depth_type' typedef, used to store the
1817 nesting depth of a paragraph.
1820 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1821 defining explicitly.
1824 * paragraph_funcs.h:
1825 * ParagraphParameters.h:
1826 * sgml.h: use lyx::depth_type rather than Paragraph or
1827 ParameterStruct's depth_type.
1830 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1833 * BufferView_pimpl.C:
1835 * ParagraphParameters.C:
1838 * bufferview_funcs.C:
1845 * frontends/LyXView.C:
1846 * frontends/controllers/ControlDocument.C:
1847 * frontends/controllers/ControlErrorList.C:
1848 * insets/insetbibitem.C:
1849 * insets/insetbranch.C:
1850 * insets/insetcaption.C:
1851 * insets/insetcollapsable.C:
1852 * insets/insetenv.C:
1853 * insets/insetert.C:
1854 * insets/insetfloat.C:
1855 * insets/insetfoot.C:
1856 * insets/insetfootlike.C:
1857 * insets/insetnewline.C:
1858 * insets/insetquotes.C:
1859 * insets/insettabular.C:
1860 * insets/insettext.C:
1861 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1863 * frontends/controllers/ControlChanges.C: #include "changes.h".
1865 2003-09-06 Angus Leeming <leeming@lyx.org>
1867 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1868 than #including paragraph.h.
1871 * RowList.h: deleted. Superfluous.
1881 * insets/insettext.h: use ParagraphList_fwd.h rather than
1884 * paragraph.h: don't forward declare ParagraphList.
1887 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1888 rather than ParagraphList.h. paragraph.h is still needed for the
1889 Paragraph::depth_type parameters.
1891 * textcursor.h: enable it to compile stand-alone in light of the
1894 * bufferview_funcs.C:
1906 * frontends/controllers/ControlParagraph.C:
1907 * frontends/controllers/ControlTabular.C:
1908 * insets/insetmarginal.C:
1909 * insets/insetminipage.C:
1910 * insets/insetnote.C:
1911 * insets/insetoptarg.C: add header files needed to compile again.
1913 2003-09-06 Angus Leeming <leeming@lyx.org>
1915 * RowList_fwd.h: new file, forward-declaring Row rather than
1916 #including lyxrow.h.
1921 * insets/insettext.h: use it instead of RowList.h
1923 * bufferview_funcs.C:
1930 * text3.C: #include "RowList.h".
1932 2003-09-05 Angus Leeming <leeming@lyx.org>
1934 * factory.C (createInset):
1935 * vspace.C (c-tor): replace sscanf call with an istringstream.
1936 * ispell.C: re-add missing HP/UX headers.
1937 * lyxserver.C: re-add missing os2 headers.
1939 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1948 * text3.C: re-add missing system headers, needed for 2.95.2.
1950 2003-09-05 Angus Leeming <leeming@lyx.org>
1952 Changes most place everywhere due to the removal of using directives
1953 from support/std_sstream.h.
1955 2003-09-05 Angus Leeming <leeming@lyx.org>
1957 Replace LString.h with support/std_string.h,
1958 Lsstream.h with support/std_sstream.h,
1959 support/LIstream.h with support/std_istream.h,
1960 support/LOstream.h with support/std_ostream.h.
1962 Changes resulting throughout the tree.
1964 2003-09-05 Angus Leeming <leeming@lyx.org>
1966 * sgml.h: ensure that the header file can be compiled stand-alone.
1967 * *.C: strip out redundant #includes. (320 in total.)
1969 2003-09-04 Angus Leeming <leeming@lyx.org>
1971 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1972 here (from getPackages).
1974 * debug.[Ch]: add a new EXTERNAL tag.
1976 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1978 * text2.C (cursorEnd): simplify
1980 (getColumnNearX): adjust
1982 * text.C (computeBidiTables): adjust
1985 * rowpainter.C (paintChars): adjust
1986 (paintSelection): adjust
1987 (paintChangeBar): adjust
1990 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1992 (numberOfSeparators): adjust
1994 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2000 * text3.C: Restricts the mouse click functionality
2001 of insets like bibtex, include, toc and floatlist to the visible
2002 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2003 up the dialogs. Cursor has to be in front of the inset (i.e.
2004 start of row) for this to function.
2006 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2008 * bufferview_funcs.C (currentState): output row information
2010 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2012 * bufferview_funcs.C (currentState): output paragraph position
2014 2003-09-04 Angus Leeming <leeming@lyx.org>
2016 * FloatList.h: move out #include "Floating.h".
2017 * LaTeX.h: move out #include "DepTable.h".
2018 * LyXAction.h: move out #include "funcrequest.h".
2019 * buffer.h: move out #include "author.h", "iterators.h".
2020 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2021 * lyx_main.h: move out #include "errorlist.h".
2022 * lyxfunc.h: move out #include "FuncStatus.h".
2023 * lyxtext: move out #include "lyxcursor.h".
2024 * paragraph_pimpl.h: move out #include "counters.h".
2026 2003-09-03 Angus Leeming <leeming@lyx.org>
2028 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2029 preamble_snippets list, enabling us to add snippets to the preamble
2030 only if the snippet was not there already.
2032 2003-09-04 Angus Leeming <leeming@lyx.org>
2034 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2036 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2038 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2041 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2043 * BranchList.C: point fix, earlier forgotten
2045 2003-09-02 Angus Leeming <leeming@lyx.org>
2047 * box.C (contains): renamed from 'contained' after a fantastic
2050 2003-09-02 John Levon <levon@movementarian.org>
2056 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2058 2003-09-02 John Levon <levon@movementarian.org>
2060 * text2.C: simplification of cursorEnd(), including partial
2063 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2065 * buffer.C (readFile): add a space
2067 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2069 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2071 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2073 * buffer.C (readFile): new function, take a filename and a
2074 ParagraphList::iterator
2076 (readFile): adjust, make it private. don't use setStream, make
2077 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2078 always contain the filename.
2080 * BufferView.C (insertLyXFile): simplify and make it work for
2083 2003-08-30 John Levon <levon@movementarian.org>
2085 * Makefile.am: fix dist (from Kayvan)
2087 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2089 * most files: change to use const Buffer refs
2091 2003-08-27 André Pönitz <poenitz@gmx.net>
2093 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2094 on top of ownerPar().
2096 2003-08-27 John Levon <levon@movementarian.org>
2098 * funcrequest.C: properly initialise POD members
2100 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2102 * lyxtext.h (top_y): move top_y from here
2107 * BufferView_pimpl.[Ch]: to here
2108 * frontends/screen.C:
2109 * insets/insettabular.C:
2110 * insets/insettext.C: adjust
2111 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2113 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2116 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2118 2003-08-26 André Pönitz <poenitz@gmx.net>
2120 * paragraph_func.[Ch] (outerPar): new function
2123 * paragraph_funcs.C:
2124 * paragraph_funcs.h:
2125 * paragraph_pimpl.C:
2126 * text2.C: remove Inset::par_owner
2128 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2133 * text2.C: eliminates the needFullRow/display() stuff
2134 altogether, putting the logic in metrics/draw in the insets.
2136 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2138 * text2.C (redoParagraphInternal, redoParagraphs):
2139 * text.C (redoParagraph): add a call to updateRowPositions at the
2140 end of each 'metrics-like' call. Remove all others.
2141 (getRow): remove the 'y-computing' version.
2142 (getRowNearY): do not compute nor return the real y. Solve the
2143 'y < 0' problem and simplify.
2145 2003-08-22 Angus Leeming <leeming@lyx.org>
2147 * *.[Ch]: clean-up of licence and author blurbs.
2148 Also move config.h out of a few .h files and into a few .C files.
2150 2003-08-22 André Pönitz <poenitz@gmx.net>
2152 * lyxrow.[Ch]: add x_ and *fill_ members
2157 * text2.C: adjust/remove prepareToPrint() calls
2159 2003-08-22 André Pönitz <poenitz@gmx.net>
2161 * lyxrow.[Ch]: add end_ member
2163 * lyxrow_funcs.C: use LyXRow::end_
2165 * lyxtext.h (singleWidth): add LyXFont parameter
2168 * text2.C: adjust LyXText::singleWidth() calls
2170 * text.C (redoParagraph): simplify row breaking logic
2173 2003-08-19 André Pönitz <poenitz@gmx.net>
2175 * funcrequest.C: initialize button_ member
2178 * rowpainter.[Ch]: interface consolidation
2180 2003-08-18 André Pönitz <poenitz@gmx.net>
2183 * BufferView_pimpl.C:
2185 * paragraph_funcs.C:
2187 * text3.C: remove LyXScreen::draw() and fitCursor calls
2189 * BranchList.h: remove spurious semicolons
2191 * MenuBackend.C: fix branchlist related crash
2193 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2201 * bufferparams.[Ch]:
2205 * text3.C: implements the 'branch inset'
2206 idea. This allows the output of various versions of a document
2207 from a single source version, selectively outputing or suppressing
2208 output of parts of the text.
2209 This implementation contains a 'branch list editor' in a separate
2210 tab of the document settings dialog. Branches are user definable
2211 and have a "display colour" to distinguish them on-screen.
2213 ColorHandler was somewhat cleaned up.
2214 (1) make possible a dynamically growing LColor list by allowing
2215 the graphic context cache to grow along (vector);
2216 (2) eliminate an IMHO unnecessary step in colour allocation.
2218 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2220 * BufferView_pimpl.C: compile fix
2222 2003-08-15 André Pönitz <poenitz@gmx.net>
2224 * rowpainter.C: remove extra metrics calls
2226 * lyxtext.h: merge the two constructors into a single one,
2227 pass reference to owner's par list
2229 * BufferView_pimpl.C:
2233 2003-08-15 André Pönitz <poenitz@gmx.net>
2235 * lyxrow_funcs.[Ch]:
2238 * paragraph_funcs.C:
2243 * text_funcs.C: split LyXText::rowlist_ into individual
2244 Paragraph::rows_ chunks
2247 * BufferView_pimpl.[Ch]:
2250 * text3.C: remove toggleSelection()
2252 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2254 * bufferlist.C: beautify two alerts (shorter text of buttons)
2255 * buffer.C: Remove redundant ' ' from message
2257 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2258 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2259 rename VALIGN_CENTER to VALIGN_MIDDLE
2261 2003-08-11 André Pönitz <poenitz@gmx.net>
2263 * lyxtext.h (getPar):
2264 * text.C: new function
2266 2003-08-11 André Pönitz <poenitz@gmx.net>
2269 * tracer.[Ch]: remove unneeded files
2271 * InsetList.[Ch]: remove resizeInsetsLyXText()
2276 * text3.C: merge insertParagraphs() and appendParagraph()
2277 remove breakAgain(), update()
2279 * BufferView_pimpl.[Ch]:
2280 * bufferview_funcs.[Ch]:
2284 * tabular.C: adjust after text & InsetList changes.
2286 2003-08-08 André Pönitz <poenitz@gmx.net>
2288 * text.C (insertChar, backspace): replace rowlist fiddling
2289 with rebreak of full par
2292 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2293 checkParagraph, updateInset): removed
2295 2003-08-07 André Pönitz <poenitz@gmx.net>
2298 * text3.C: merge some LFUN handlers, remove dead code
2300 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2302 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2304 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2306 * text2.C (DEPM): fix part of bug 1255 and 1256
2308 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2310 * BufferView_pimpl.C (workAreaDispatch): change to use
2311 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2312 that are no mouse related.
2314 2003-08-05 André Pönitz <poenitz@gmx.net>
2317 * BufferView_pimpl.[Ch]:
2318 * bufferview_funcs.C:
2320 * text3.C: rip out "deep update"
2322 * textcursor.[Ch] (last_sel_cursor): remove unused member
2324 2003-08-04 André Pönitz <poenitz@gmx.net>
2327 * BufferView_pimpl.[Ch]:
2328 * ParagraphParameters.C:
2329 * bufferview_funcs.C:
2335 * text3.C: replace "complicated" BufferView::update(...) calls with
2338 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2340 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2342 * Makefile.am (lyx_SOURCES): add paper.h
2344 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2346 * Makefile.am: move things around so that both lyx-qt and
2347 lyx-xforms can be built (according to --with-frontend). Then lyx
2348 is a symbolic link to lyx-[firstfrontend]
2350 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2352 * Always use std::endl with lyxerr
2354 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2356 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2358 2003-08-01 André Pönitz <poenitz@gmx.net>
2361 * BufferView_pimpl.[Ch]:
2363 * text3.C: merge BufferView::repaint() and BufferView::update()
2365 2003-08-01 José Matos <jamatos@lyx.org>
2367 * buffer.[Ch]: file_format is no longer a buffer data element.
2369 2003-08-01 André Pönitz <poenitz@gmx.net>
2374 * text2.C: make redoParagraph more independent of current cursor
2376 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2378 * text2.C: remove unneeded members
2380 2003-07-30 André Pönitz <poenitz@gmx.net>
2382 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2384 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2385 create a single function...
2387 * paragraph_funcs.C (moveItem): ... here.
2390 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2392 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2394 * LColor.[Ch]: Add comment and greyedout logical colors.
2396 2003-07-30 André Pönitz <poenitz@gmx.net>
2398 * tabular.C: don't use Assert too heavily. This crashes where it
2401 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2403 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2404 is disabled (bug 1232)
2406 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2408 * factory.C: limited 'arg' scope
2410 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2412 * factory.C: fixed Note submenu issues
2414 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2416 * factory.C: submenu for Note/Comment/Greyedout
2418 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2421 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2423 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2426 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2427 greyedout. Patch provided by Jürgen Spitzmüller.
2429 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2431 * kbmap.C (read): fix error message when reading bind files
2433 2003-07-29 Angus Leeming <leeming@lyx.org>
2435 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2436 certainly does not do what it purports to do. I am doing it, and
2437 us, a favour by killing it.
2439 2003-07-28 José Matos <jamatos@lyx.org>
2441 * buffer.C (readBody, do_writeFile):
2442 * paragraph.C(readParagraph): \end_document replaces \the_end.
2444 2003-07-29 André Pönitz <poenitz@gmx.net>
2447 * BufferView_pimpl.[Ch]:
2451 * textcursor.[Ch]: remove toggleToggle & Co
2453 2003-07-28 José Matos <jamatos@fep.up.pt>
2455 * buffer.C (readParagraph):
2456 * params_func (readParToken, readParagraph):
2457 * paragraph.C (write): \layout -> \begin_layout.
2459 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2461 * lyxlex_pimpl.C (setFile): clean up slightly.
2463 * bufferparams.h: add compressed var
2465 * buffer_funcs.C (readFile): adjust for LyXLex change
2466 (newFile): ditto + simplify
2468 * buffer.C (writeFile): handle writing of compressed files
2470 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2471 Check if the file is compressed and set a bufferparm if so.
2473 * Makefile.am (lyx_LDADD): remove explicit -lz
2475 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2477 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2478 makeDocBookFile): put the real LyX version in the first line of
2482 * version.C.in: remove lyx_docversion
2484 * tabular.C (write_attribute): add a template-based version to
2485 write enums properly
2487 2003-07-28 André Pönitz <poenitz@gmx.net>
2492 * text3.C: use doubles again for x-coordinates. They are needed.
2494 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2496 * messages.C (getLocaleDir): use lyx_localedir()
2498 * lyxlex_pimpl.C (setFile): compress stuff
2500 * buffer.C (writeFile): add some compression stuff
2501 (do_writeFile): new func, dont call expliti close... will this
2504 * Makefile.am (lyx_LDADD): add -lz
2506 2003-07-28 José Matos <jamatos@fep.up.pt>
2508 * buffer.C: increment file format.
2509 * paragraph_funcs (readParagraph, readParToken):
2510 * paragraph.C (readParagraph): add \end_layout.
2512 2003-07-27 Angus Leeming <leeming@lyx.org>
2514 * Makefile.am: remove special casing for configure-time setting of
2515 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2517 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2518 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2520 2003-07-26 André Pönitz <poenitz@gmx.net>
2522 * paragraph_func.[Ch]:
2523 * paragraph.C (realizeFont): inline it whereever it is used
2528 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2531 2003-07-26 André Pönitz <poenitz@gmx.net>
2535 * text2.C: get rid of LyXText::need_break_row
2537 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2539 * toc.[Ch]: put namespace toc inside namespace lyx
2541 * MenuBackend.C (expandToc2): adjust for lyx::toc
2544 * lyxfunc.C (dispatch): adjust for lyx::find
2546 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2547 lyx::find instead. Reorganize a bit.
2548 (LyXReplace): rename to replace
2549 (LyXFind): rename to find
2551 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2554 2003-07-26 André Pönitz <poenitz@gmx.net>
2556 * text.C (setHeightOfRow): restrict scope of temporary variable
2558 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2559 code (never has been used?)
2561 2003-07-27 Asger Alstrup <alstrup@local>
2563 * text.C (fill): Optimise algorithm to exploit that we can reuse
2564 the LyXFont for many characters.
2565 (setHeightOfRow): Same thing.
2566 (rowBreakPoint): Same thing.
2568 2003-07-26 Asger Alstrup <alstrup@local>
2570 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2572 * text.C (singleWidth): Spurious font copying in hot-spot
2573 singleWidth avoided. Reorder tests for arabic for efficiency.
2575 * text.C (fill): handle empty paragraphs better.
2577 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2580 * encoding.h: add includes
2582 * lyxrc.C: remove reading of bind files
2584 * lyx_main.C (init): setup bindings and menus only if we have a
2587 * kbmap.C (read): new method. Do the actual reading of bind
2590 * converter.C (dvipdfm_options):
2593 (output): adapt PAPER_* enums.
2595 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2597 * bufferparams.h: remove paper-related enums from there
2599 * paper.h: New file. A trivial header file to hold paper-related
2600 enums. It should later expand to contain many paper-related
2603 * lyxrc.C: declare extern displayTranslator
2605 2003-07-27 José Matos <jamatos@fep.up.pt>
2607 * tabular.[Ch] (linuxdoc): add support for tables and figures
2610 2003-07-27 José Matos <jamatos@fep.up.pt>
2612 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2613 consistency in both functions.
2614 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2616 2003-07-26 Asger Alstrup <alstrup@local>
2618 * rowpainter.C (paintRows): Change algorithm to work directly on
2619 the insets rather than asking every character in the document
2620 whether its an inset.
2622 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2624 * buffer.C (openFileWrite): factorize some code
2626 2003-07-26 Angus Leeming <leeming@lyx.org>
2629 * lyx_main.[Ch]: replace occurances of system_tempdir with
2632 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2634 * rename Inset to InsetOld
2636 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2638 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2639 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2640 which I think is a bit clearer. EDIT is gone, since it was
2641 premature optimisation, and broken for mathed anyway.
2642 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2643 with cursor positioning in insets as well (math insets still do not
2644 work, but that's a different story anyway.) It mysteriously
2645 crashes sometimes with undo in the first paragraph, but I'm fairly
2646 confident that this is a compiler bug.
2648 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2650 * paragraph.C (Paragraph): adjust for new clone return type
2652 (copyIntoMinibuffer): ditto
2654 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2656 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2657 by not having a special case, and always doing a full rebreak of
2658 the document after undo.
2660 2003-07-23 Angus Leeming <leeming@lyx.org>
2662 * factory.C (createInset): InsetExternal::setParams now takes a
2665 2003-07-23 Angus Leeming <leeming@lyx.org>
2667 * factory.C (createInset): changed interface to the external and
2668 graphics mailers' string2params functions.
2670 2003-07-23 Angus Leeming <leeming@lyx.org>
2672 * factory.C (createInset): pass a
2673 Buffer const * parameter to InsetExternalMailer's string2params.
2675 2003-07-22 John Levon <levon@movementarian.org>
2677 * Thesaurus.h: include the right aiksaurus header
2679 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2681 * MenuBackend.C (expand): check menu shortcuts unconditionally
2683 2003-07-21 Angus Leeming <leeming@lyx.org>
2685 * factory.C (createInset): pass a
2686 buffer_path parameter to InsetGraphicsMailer's string2params.
2688 2003-07-21 Angus Leeming <leeming@lyx.org>
2690 * BufferView_pimpl.C (buffer):
2693 * lyxfunc.C (dispatch):
2694 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2695 rather than the grfx shortcut.
2697 2003-07-21 André Pönitz <poenitz@gmx.net>
2699 * rowpainter.C: remove unused variables
2702 * tabular_funcs.h: move to tabular.C
2703 * Makefile.am: adjust
2705 * tabular.[Ch]: basic optical cleaning
2707 * author.h: pass references, not values
2709 2003-07-18 André Pönitz <poenitz@gmx.net>
2717 * text3.C: two-phase drawing for InsetText and InsetTabular
2718 some float -> int changes.
2720 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2722 * lyx_main.C: fix the fix
2724 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2726 * lyx_main.C: fix a crash in batch mode if no files specified
2729 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2731 * format.[Ch] (papersize): moved to BufferParams
2732 * converter.[Ch] (dvips_options): moved to BufferParams
2733 (dvipdfm_options): moved to anon namespace
2734 * bufferparams.[Ch]: added above functions.
2736 2003-07-17 André Pönitz <poenitz@gmx.net>
2740 * text2.C: don't call inset->update() anymore
2742 * metricsinfo.[Ch]: add convenience constructor
2744 2003-07-16 André Pönitz <poenitz@gmx.net>
2749 * text2.C: replace the LyXCursor::irow_ member with
2750 on-demand computation of the value
2752 2003-07-16 John Levon <levon@movementarian.org>
2754 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2756 2003-07-15 André Pönitz <poenitz@gmx.net>
2759 * text2.C: remove no more needed refresh_row
2761 2003-07-15 André Pönitz <poenitz@gmx.net>
2766 * text3.C: refresh_status tristate -> need_update bool
2768 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2770 * lyxtext.h (init): remove reinit argument (act as if always true)
2771 * text2.C: adjust to that
2773 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2775 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2776 * text3.C: use it to delete selections in some cases
2777 (bugs 441, 673, 702, 954).
2779 2003-07-14 André Pönitz <poenitz@gmx.net>
2781 * rowpainter.[Ch]: reduce interface
2783 2003-07-14 André Pönitz <poenitz@gmx.net>
2785 * BufferView_pimpl.C:
2786 * text2.C: adjust after removing unused BufferView * argument
2788 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2790 * text2.C (init): fix a crash fired on resize
2792 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2794 * buffer.[Ch]: added new closing signal
2795 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2796 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2797 BufferView::Pimpl via the closing the signal
2799 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2801 * buffer.[Ch]: take out all bv-related from buffer
2803 * BufferView_pimpl.[Ch]: connect to new signals
2804 * CutAndPaste.C: removed useless asserts
2805 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2808 * lyxfunc.C: moved view-related funciontality from vc here
2809 * paragraph.C: removed outdated comments
2812 2003-07-10 André Pönitz <poenitz@gmx.net>
2814 * BufferView_pimpl.C:
2818 * text2.C: remove InsetText::InnerCache, clean up consequences
2820 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2822 * ispell.C: fix two typos in error messages
2824 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2826 * Extend Note inset to other forms of annotation like Comment
2827 and Greyedout. Right button click gives dialog.
2829 Files modified or added (+):
2833 * ControlNote.[Ch] +
2835 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2836 frontends/controllers
2840 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2842 * aspell.C: add missing namespace lyx::support
2844 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2846 * BufferView.[Ch] (newFile): Add
2847 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2848 * LaTeX.[Ch] (message): added this signal and use it
2849 * buffer.[Ch] (busy, message): added these signals and use them
2850 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2854 * importer.C: use buffer signals instead of direct bv calling
2855 * lyx_cb.[Ch] (ShowMessage): removed
2858 * paragraph_funcs.C:
2859 * text2.C: use buffer signals
2861 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2863 * introduce namespace lyx::graphics
2865 2003-07-02 André Pönitz <poenitz@gmx.net>
2867 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2869 2003-07-01 André Pönitz <poenitz@gmx.net>
2876 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2877 text*.C to text_func.C
2879 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2881 * introduce namespace lyx::support
2883 2003-06-30 André Pönitz <poenitz@gmx.net>
2888 * text.C: re-enable --with-included-string
2890 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2892 * textcursor.C: add <config.h>
2894 * text.C (getWord): remove const from word_location arg
2896 * lyxvc.C (getLogFile): fix const type order
2898 * lyxtext.h: remove const from word_location arg, add arg name
2900 * lyxlayout.h: currect type on labeltype.
2902 * importer.C: correct \file
2904 * converter.C (intToFormat): use std:: on ret val, ws changes
2906 * bufferlist.h: correct \file
2908 * buffer.C (makeLinuxDocFile): fix const type order
2909 (makeDocBookFile): ditto
2910 (fillWithBibKeys): use std:: on stdlib args.
2912 * CutAndPaste.C: fix authors.
2913 (availableSelections): use std:: on return vector
2915 2003-06-27 André Pönitz <poenitz@gmx.net>
2917 * BufferView_pimpl.C:
2918 * bufferview_funcs.C:
2926 * text3.C: remove LyXCursor::row_ member
2929 * text.C: rename fullRebreak() to partialRebreak() and implement
2930 a fullRebreak() that really bereks fully
2932 * textcursor.h: new struct for cursor-related data
2934 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2936 * lyx_main.C (LyX): get full path of document loaded on the
2939 2003-06-26 André Pönitz <poenitz@gmx.net>
2941 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2942 remove unused/broken operator>,<,>=.
2944 * text.C: remove only use of broken operator<= in an Assert().
2946 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2948 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2949 moved errorlist_.clear to showErrorList
2951 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2953 * converter.C (scanLog, runLaTeX):
2954 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2955 move the bv->showErrorList call to the callers
2956 * lyxfunc.C: i.e. here...
2958 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2959 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2960 namespace, the second to...
2961 * buffer_funcs (BufferFormat, parseErrors): added
2962 * errorlist.C (ErrorList(TeXErrors const &)): removed
2964 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2966 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2968 2003-06-24 "Garst R. Reese" <reese@isn.net>
2972 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2974 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2976 * version.C.in: change docversion to 1.4
2978 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2980 * buffer.C: fix a bug just introduced
2982 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2984 * buffer.[Ch]: added the parseError signal and use it, removed
2986 * BufferView.[Ch] (addError): moved to ...
2987 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2988 to the Buffer::parseError signal to catch (guess what) parse errors
2989 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2991 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2993 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2994 ability to create a buffer and to return an existing one from
2995 the list. Moved these functions to...
2996 * buffer_funcs.[Ch]: added
2997 * BufferView.[Ch] (loadLyXFile): added
2998 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2999 job removed from bufferlist::loadLyXFile.
3000 * buffer.C (setReadOnly): make it work without view
3001 (i.e added an if (users))
3003 2003-06-19 Angus Leeming <leeming@lyx.org>
3006 * LyXAction.C (init):
3007 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3008 with LFUN_DIALOG_SHOW <name> <data>.
3010 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3012 * CutAndPaste.C (availableSelections): small compilation fix for
3013 ancient (gcc 2.9x) compilers
3015 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3017 * text3.C (cursorNext): add tmp var
3019 * text2.C (updateCounters): for function calling out of for clause
3020 (replaceSelectionWithString): ditto
3021 (insertStringAsParagraphs): ditto
3022 (getColumnNearX): add tmp var
3023 (setCursorFromCoordinates): add tmp var
3024 (cursorDownParagraph): add tmp var
3025 (deleteEmptyParagraphMechanism): add tmp var
3027 * text.C (insertChar): add tmp var
3029 * rowpainter.C (paintDepthBar): add tmp var
3031 * CutAndPaste.C (availableSelections): potentially check all
3032 paragraphs in a cut to fill the shown strings.
3034 2003-06-18 André Pönitz <poenitz@gmx.net>
3036 * kbmap.[Ch]: use vector<> instead of list<>
3038 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3040 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3041 pasteSelection with index
3043 * text2.C (pasteSelection): modify, call pasteSelection with index
3045 * paragraph.C (asString): reimplement version with no interval to
3046 call the one with interval.
3048 * lyxtext.h: add index arg to pasteSelection
3050 * MenuBackend.C (MenuItem): handle PasteRecent
3051 (Menu::read::Menutags): add md_pasterecent
3053 (expandPasteRecent): new function
3056 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3058 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3060 (availableSelections): new function
3062 2003-06-17 Angus Leeming <leeming@lyx.org>
3064 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3066 2003-06-17 Angus Leeming <leeming@lyx.org>
3069 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3071 * lyxfunc.C (dispatch): invoke it.
3073 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3075 * iterators.C (operator++, ParPosition): reintroduce some
3076 const_cast for the benefit of older compilers.
3078 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3080 * text3.C (dispatch): do not modify clipboard when doing
3081 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3082 LFUN_DELETE_SKIP on a selection selection
3084 2003-06-16 André Pönitz <poenitz@gmx.net>
3090 * tabular.[Ch]: IU of clone() and getLabelList();
3092 2003-06-13 André Pönitz <poenitz@gmx.net>
3094 * tabular.h: compactification
3096 2003-06-12 André Pönitz <poenitz@gmx.net>
3100 * tabular_funcs.h: some renaming plus whitespace
3102 2003-06-12 André Pönitz <poenitz@gmx.net>
3105 * BufferView_pimpl.C:
3111 * toc.C: Return a Paragraph & for ParIterator::operator*()
3113 2003-06-11 John Levon <levon@movementarian.org>
3117 * ToolbarBackend.C: add "Toolbars" section and
3120 2003-06-10 Angus Leeming <leeming@lyx.org>
3123 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3125 * lyxfunc.C (dispatch): invoke it.
3127 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3129 * main.C: protect <ios> with HAVE_IOS
3130 (main): protect sync_with_stdio with HAVE_IOS
3132 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3134 * text2.C (cutSelection): adjust
3135 (pasteSelection): adjust
3137 * messages.C: handle get of empty string
3139 * main.C (main): use sync_with_stdio(false)
3141 * lyxfunc.C (dispatch): adjust
3143 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3144 (WriteAs): remove unneeded BufferView arg.
3146 * bufferparams.h: use correct types on papersize, papersize2 and
3149 * bufferparams.C (readToken): adjust for type
3150 (writeLaTeX): add missing cases to switch.
3152 * bufferlist.C (quitWriteBuffer): adjust
3155 * buffer.C (asciiParagraph): remove some commented code.
3157 * CutAndPaste.C: remove current_view extern variable.
3158 (cutSelection): add BufferParams arg.
3159 (eraseSelection): add BufferParams arg.
3160 (pasteSelection): add Buffer const & arg
3162 2003-06-07 John Levon <levon@movementarian.org>
3165 * paragraph_funcs.C:
3166 * paragraph_pimpl.C:
3170 * paragraph.C: allow InsetERT to freely space lines,
3171 and some consolidation of code
3173 2003-06-06 José Matos <jamatos@fep.up.pt>
3175 * buffer.C (makeDocBookFile): fix bug #821
3177 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3179 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3181 2003-06-04 Angus Leeming <leeming@lyx.org>
3183 * buffer.C: bump format to 224.
3185 2003-06-05 André Pönitz <poenitz@gmx.net>
3187 * text2.C (redoParagraphs): remove two const_cast<>
3189 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3191 * ParagraphList.h: remove last remnants of NO_STD_LIST
3193 2003-06-03 Angus Leeming <leeming@lyx.org>
3195 * factory.C (createInset): small change to the way InsetExternal's params
3198 2003-06-04 André Pönitz <poenitz@gmx.net>
3200 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3202 * paragraph_pimpl.h:
3203 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3205 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3207 * undo_funcs.C: make some simple cases of undo work again
3209 2003-06-03 John Levon <levon@movementarian.org>
3211 * ispell.C: HPUX doesn't have sys/select.h
3214 2003-06-03 John Levon <levon@movementarian.org>
3216 * CutAndPaste.C: update tabular and include inset
3221 * paragraph.C: remove owningBuffer(), don't pass Buffer
3224 * factory.C: insetGraphicsParams changed
3226 2003-06-02 John Levon <levon@movementarian.org>
3232 * text3.C: remove insetparent
3234 2003-06-02 John Levon <levon@movementarian.org>
3237 * buffer.C: fix inset_iterator.end(), move out of line
3240 2003-06-01 John Levon <levon@movementarian.org>
3242 * text3.C: use a proper cut/paste when doing inset
3243 insert (from Jürgen Spitzmüller)
3245 2003-06-01 John Levon <levon@movementarian.org>
3247 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3249 2003-05-30 André Pönitz <poenitz@gmx.net>
3251 * rowpainter.C: unify second drawing phase
3253 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3255 * trans_mgr.C: remove one case of current_view
3257 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3259 * paragraph_funcs.h: remove paragraph.h include
3261 * paragraph.h: delete NO_STD_LIST stuff
3263 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3265 * buffer.h: remove paragraph.h include
3267 * ParagraphList.C: delete file
3269 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3271 * toc.C (getTocList): adjust
3273 * paragraph_pimpl.C (validate): adjust
3275 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3277 * paragraph.C (Paragraph): adjust
3278 (getPositionOfInset): use const_iterator, adjust
3279 (bibitem): use const_iterator, adjust
3280 (setInsetOwner): adjust
3282 * iterators.C (operator++): adjust
3284 * InsetList.[Ch]: Replace selfmade iterator with standard
3285 vector::iterator also introduce const_iterator. Remove getPos,
3286 getInset and setInset from InsetTable. Adjust accordingly.
3288 * BufferView.C (lockInset): adjust
3289 (ChangeInsets): adjust
3291 * tabular.[Ch]: delete commented same_id functions
3293 2003-05-28 John Levon <levon@movementarian.org>
3295 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3297 2003-05-28 André Pönitz <poenitz@gmx.net>
3299 * metricsinfo.[Ch]: remove 'fullredraw' member
3301 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3303 * lyxtextclass.C (operator): remove caching.
3305 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3309 * text2.C (cursorBottom): adjust
3310 (setCounter): use ParagraphList::find, adjust
3312 * text.C (workWidth): use ParagraphList::find, adjust
3314 * lyxcursor.C (LyXCursor): adjust
3316 * buffer.C (inset_iterator): adjust
3318 * ParagraphList.h: make iterator(value_type) private, make
3319 ParagraphList a friend of iterator.
3321 * ParagraphList.C (find): new function
3323 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3325 2003-05-27 André Pönitz <poenitz@gmx.net>
3327 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3329 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3331 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3333 2003-05-26 John Levon <levon@movementarian.org>
3335 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3337 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3339 * remove same_id from function signatures, adjust.
3341 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3343 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3345 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3347 * paragraph.C (Paragraph): get rid of same_ids parameter
3349 * ParagraphList.C (insert): adjust
3352 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3354 * paragraph_funcs.C (breakParagraph): adjust
3355 (breakParagraphConservative): adjust
3357 * buffer.C (readParagraph): adjust
3359 * ParagraphList.C (insert): take a reference instead of a pointer
3362 * paragraph.[Ch] (id): new function
3364 * bufferlist.C (newFile): adjust
3366 * ParagraphList.C (ParagraphList): adjust
3368 (push_back): take a reference instead of a pointer.
3370 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3372 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3375 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3376 set else use old code.
3378 * ParagraphList.C: remove all NO_NEXT code and only compile this
3379 code of NO_STD_LIST is set.
3381 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3383 * BufferView_pimpl.C:
3393 * graphics/GraphicsConverter.C:
3394 * graphics/PreviewLoader.C: header adjustment
3396 2003-05-23 Angus Leeming <leeming@lyx.org>
3398 * LaTeXFeatures.[Ch] (useBabel): new method.
3399 * bufferparams.C (writeLaTeX): use it.
3401 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3403 * ParagraphList.h (set): remove unused function.
3405 2003-05-23 André Pönitz <poenitz@gmx.net>
3408 * BufferView_pimpl.C:
3412 * undo_funcs.C: setUndo reworked
3414 * iterators.[Ch]: add access to topmost ParagraphList
3416 * lyxtext.[Ch] (workWidth): add a const
3418 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3420 * texrow.[Ch] (increasePos): remove function
3421 * exporter.C (export): removed unused var and outdated comment
3423 2003-05-23 Angus Leeming <leeming@lyx.org>
3425 * latexrunparams.h: rename fragile as moving_arg.
3426 * paragraph.C (simpleTeXOnePar): ditto.
3427 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3429 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3431 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3433 (textUndoOrRedo): comment out a currently unused var.
3435 * paragraph.h (NO_NEXT): enable NO_NEXT
3437 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3439 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3441 * exporter.C (Export): adjust for removeAutoInsets removal.
3443 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3445 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3447 * BufferView.[Ch] (removeAutoInsets): delete function
3449 2003-05-22 Angus Leeming <leeming@lyx.org>
3451 * latexrunparams.h: add a free_spacing variable.
3453 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3454 to pass moving_arg, as the data is stored in runparams.fragile.
3456 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3457 to Inset::latexOptional or to simpleTeXOnePar.
3459 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3460 free_spacing arg to Inset::latexOptional.
3462 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3465 2003-05-22 Angus Leeming <leeming@lyx.org>
3467 * latexrunparams.h: add fragile and use_babel variables.
3469 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3470 * buffer.C (makeLaTeXFile): store this returned value in
3471 runparams.use_babel, thus passing it to the inset::latex methods.
3473 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3474 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3476 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3477 longer has a fragile arg, as it is stored in runparams.fragile.
3479 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3480 moving_arg parameter as the data is stored in runparams.fragile.
3482 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3483 a fragile parameter as the data is stored in runparams.fragile.
3485 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3487 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3489 2003-05-22 Angus Leeming <leeming@lyx.org>
3491 * latexrunparams.h: add a 'bool nice' which defaults to false.
3493 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3494 now encapsulated within runparams.
3496 * bufferlist.C (updateIncludedTeXfiles):
3497 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3499 2003-05-22 Angus Leeming <leeming@lyx.org>
3501 * latexrunparams.h: new file containing struct LatexRunParams.
3502 * Makefile.am: add new file.
3504 * LaTeX.[Ch] (c-tor, run):
3505 * buffer.[Ch] (makeLaTeXFile):
3506 * bufferlist.[Ch] (updateIncludedTeXfiles):
3507 * converter.C (convert, scanLog):
3508 * converter.[Ch] (runLaTeX):
3509 * exporter.C (Export):
3510 * paragraph.[Ch] (simpleTeXOnePar):
3511 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3512 * paragraph_funcs.[Ch] (latexParagraphs):
3513 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3514 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3515 pass around a LatexRunParams parameter.
3517 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3519 * paragraph.[Ch]: remove unused constructor
3521 * ParagraphList.C (erase): new function, taking two iterators
3523 2003-05-22 André Pönitz <poenitz@gmx.net>
3525 * undo_funcs.C: remove duplicated code
3527 * iterator.[Ch]: operator=
3529 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3531 * tabular.C (SetMultiColumn): ws changes
3533 * rowpainter.C (paintFirst): get rid of a ->previous
3535 * lyx_cb.C (getPossibleLabel): parlist simplification
3537 * BufferView.C (ChangeInsets): simplify slightly.
3539 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3541 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3542 * lfuns.h: new LFUN_SPACE
3543 * lyxfunc.C: protected space has a new lfun
3544 * paragraph_funcs.C: read new space insets
3546 * factory.C: handle new space insets
3548 2003-05-22 André Pönitz <poenitz@gmx.net>
3551 * BufferView_pimpl.C:
3554 * undo_funcs.C: return a ParIterator from getParFromID.
3556 * iterators.[Ch]: add two const's
3558 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3560 * toc.C (getTocList): adjust
3562 * iterators.[Ch]: rework for parlist
3564 * buffer.C (par_iterator_begin): adjust
3565 (par_iterator_end): adjust
3567 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3569 * BufferView.C (removeAutoInsets): adjust
3570 (ChangeInsets): adjust
3572 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3574 * text.C (top_y): fix bug 1110
3576 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3578 * errorlist.[Ch]: added
3581 * BufferView_pimpl.C:
3582 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3585 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3587 * Makefile.am: ensure that lyx is relinked upon changes to the
3588 various "convenience" libs.
3590 2003-05-20 Angus Leeming <leeming@lyx.org>
3592 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3593 files are compiled in alphabetical order again.
3595 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3597 2003-05-19 Angus Leeming <leeming@lyx.org>
3599 * gettext.[Ch]: remove "char const * _(char const *)".
3601 2003-05-19 André Pönitz <poenitz@gmx.net>
3603 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3612 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3614 2003-05-19 André Pönitz <poenitz@gmx.net>
3618 * lyxtextclass.[Ch]:
3620 * paragraph_funcs.[Ch]:
3622 * text3.C: more insetenv work
3624 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3626 * ParagraphParameters.C (params2string): small bug fixed
3628 2003-05-16 André Pönitz <poenitz@gmx.net>
3631 * bufferview_funcs.C: patch from Kornel Benko to prevent
3632 crash when _(...) is called twice in a statement
3634 2003-05-16 André Pönitz <poenitz@gmx.net>
3641 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3643 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3645 * lyx_main.C (init): remove spurious static_cast
3647 2003-05-14 André Pönitz <poenitz@gmx.net>
3649 * BufferView.C: fix format string
3651 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3653 * BufferView.[Ch] (insertErrors): removed
3654 * BufferView.[Ch] (showErrorList): added
3655 * buffer.C (runChkTeX):
3656 * converter.C (scanLog): call showErrorList instead of inserterrors
3658 2003-05-13 André Pönitz <poenitz@gmx.net>
3660 * BufferView_pimpl.C:
3662 * bufferview_func.C:
3669 * tabular_funcs.h: tostr() from its own header
3671 * ParagraphParameters.C:
3676 * text3.C: STRCONV()
3678 2003-05-12 André Pönitz <poenitz@gmx.net>
3681 * BufferView_pimpl.C:
3685 * ParagraphParameters.C:
3689 * bufferview_funcs.C:
3702 * paragraph_funcs.C:
3706 * text3.C: boost::format -> bformat all over the place
3709 2003-05-09 André Pönitz <poenitz@gmx.net>
3711 * LColor.[Ch]: Pimpl the #include <map> away
3713 2003-05-09 John Levon <levon@movementarian.org>
3715 * bufferlist.C: never remove emergency saves
3717 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3719 * Makefile.am: better lib building
3721 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3723 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3725 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3726 (simpleTeXSpecialChars): adjust
3727 (simpleTeXSpecialChars): adjust
3728 * paragraph.C (simpleTeXOnePar): adjust
3729 * buffer.C (makeLaTeXFile): adjust
3731 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3733 * text2.C (changeDepth): parlist cleanup
3734 (getColumnNearX): ditto
3736 * rowpainter.C (getLabelFont): parlist cleanup
3738 * bufferlist.C (newFile): parlist cleanup
3740 * CutAndPaste.C (eraseSelection): parlist cleanup
3742 * BufferView_pimpl.C (trackChanges): parlist cleanup
3745 * BufferView.C (lockInset): parlist cleanup.
3746 (ChangeInsets): ditto
3748 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3750 * CutAndPaste.h: Update file header.
3752 * CutAndPaste.C: Update file header.
3753 Store the parts cut out of the Document in a limited_stack.
3754 (copySelection): adjust
3755 (pasteSelection): new function, takes the index in the limited stack.
3756 (nrOfParagraphs): adjust
3757 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3758 simplify error inset insertion.
3759 (checkPastePossible): adjust
3761 2003-05-06 John Levon <levon@movementarian.org>
3763 * text2.C: don't cast wrap inset to float
3765 2003-05-05 André Pönitz <poenitz@gmx.net>
3768 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3770 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3771 few naked Paragraph *.
3773 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3775 * bufferparams.C: Output warning if a document with missing
3776 TeX document class is loaded
3777 * exporter.C: Disable TeX exports if the document class is missing
3780 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3781 isTeXClassAvailable()
3783 2003-05-03 John Levon <levon@movementarian.org>
3786 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3787 explicit cursor show/hide
3789 * BufferView_pimpl.h:
3790 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3791 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3793 * lyxfunc.C: hide cursor before dispatching.
3798 * text3.C: remove explicit cursor hides
3800 2003-05-02 André Pönitz <poenitz@gmx.net>
3802 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3805 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3808 * text2.C: tiny whitespace
3810 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3812 * undo_funcs.C: almost only ws changes.
3814 * ParagraphList.C (splice): just return if pl is empty.
3816 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3818 * ParagraphList.C (splice): new function.
3820 * CutAndPaste.C (pasteSelection): use it
3822 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3824 * CutAndPaste.C (pasteSelection): remove the last next and
3825 previous from this file.
3827 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3829 * CutAndPaste.C (pasteSelection): more clean up, user proper
3830 ParagraphList functions for pasteing.
3832 * ParagraphList.C (insert): new function, three arg insert
3834 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3836 * ParagraphList.C (insert): new function, three arg insert
3838 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3841 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3843 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3845 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3847 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3849 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3851 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3852 (copySelection): clean up a bit.
3853 (pasteSelection): use make_pair
3855 * ParagraphList.C (ParagraphList): implement copy constructor
3856 (operator=): implement, base on copy constructor.
3859 * paragraph.C (erase): return a bool
3861 * paragraph_pimpl.C (erasePos): remove function, move contents...
3862 (erase): ... here. Return a bool.
3863 (erase): call erase instead of erasePos.
3865 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3867 * ParagraphList.h: define PitPosPair
3868 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3869 ParagraphList, fix a bug on pasting multiple pars
3870 * text2.C: change interface to C&P
3872 2003-04-30 André Pönitz <poenitz@gmx.net>
3874 * undo_func.C: revert part of yesterday's patch 2
3876 2003-04-30 John Levon <levon@movementarian.org>
3878 * LColor.C: s/tabular/table/
3880 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3882 * text3.C (dispatch): do not convert iterator -> pointer
3883 * undo_funcs.C (setCursorParUndo): ditto
3884 * text_funcs.C (transposeChars): ditto
3886 * text2.C (setLayout): ws changes only
3888 * text.C (breakParagraph): do not convert iterator -> pointer
3890 (acceptChange): ditto
3891 (rejectChange): ditto
3896 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3899 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3901 * text3.C (gotoInset): YABG (yet another bad getChar)
3903 2003-04-29 André Pönitz <poenitz@gmx.net>
3905 * paragraph.h: make operator= private unimplemented as long as
3908 * ParagraphList.C: whitespace
3911 * paragraph_pimpl.[Ch]:
3912 * paragraph_funcs.C:
3914 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3917 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3919 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3921 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3922 * paragraph.[Ch] (erase):
3923 * paragraph_pimpl.[Ch] (erase): change return type and value
3924 * text2.C (cutSelection): some rework
3926 2003-04-28 John Levon <levon@movementarian.org>
3928 * bufferlist.C: changes for unsaved changes dialog
3930 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3932 * bufferlist.C (newFile): set language (messages_) for new
3935 * buffer.C (readFile): ws changes only.
3937 2003-04-28 André Pönitz <poenitz@gmx.net>
3942 * BufferView_pimpl.C:
3943 * BufferView.C: getParFromID related ParagraphList::iterator changes
3945 2003-04-28 André Pönitz <poenitz@gmx.net>
3947 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3950 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3952 * messages.C: remove one more localedir class variable.
3954 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3956 * messages.C (getLocaleDir): singleton generation function
3958 (Messages): add a default constructor.
3960 * main.C (main): do not setup localedir here, do not call
3963 * gettext.C (_): use it.
3964 (gettext_init): delete funciton
3966 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3968 * gettext.C (getLyXMessages): new singleton generating function.
3970 * buffer.C (updateDocLang): adjust
3972 * Makefile.am (messages.o): add target
3973 (main.o): remove target
3975 2003-04-27 John Levon <levon@movementarian.org>
3980 * lyxvc.C: specify cancel button in Alert::prompt
3982 2003-04-26 John Levon <levon@movementarian.org>
3987 * LyXAction.C: add LFUN_INSET_SETTINGS
3989 * lyxfunc.C: don't enable tabular-feature when there's
3990 just any locking inset
3992 2003-04-26 John Levon <levon@movementarian.org>
3994 * bufferlist.C: re-add Cancel to buffer close question
3996 * lyxfunc.C: fix import UI a bit
3998 2003-04-25 John Levon <levon@movementarian.org>
4000 * gettext.C: remove the broken asserts for now
4002 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4004 * messages.C: make case where setlocale cannot comply work better.
4006 * buffer.C (updateDocLang): new function
4007 (changeLanguage): use it
4010 * text2.C (setCounter): use B_ a bit.
4012 * lyxlayout.C (Read): be sure to trim the label strings.
4014 * messages.C (Messages): fix typo in comment
4016 * buffer.C (readFile): set message_ after file is loaded.
4017 (makeDocBookFile): remove double return
4018 (changeLanguage): reset message_ upon language change.
4019 (B_): new func, use this to get translated buffer strings.
4021 * main.C: add myself and Jean Marc as authors.
4023 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4025 * messages.[hC]: pimplify Messages, and three different pimpls to be
4026 used in different circumstances.
4028 * gettext.[Ch]: change for use with new message code.
4030 2003-04-24 André Pönitz <poenitz@gmx.net>
4032 * factory.C: support for eqref
4034 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4036 * messages.[Ch]: add missing char
4038 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4040 * messages.[Ch]: New files
4042 2003-04-18 John Levon <levon@movementarian.org>
4046 * BufferView_pimpl.C:
4050 * text2.C: remove layout-copy/paste (bug 778)
4052 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4054 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4056 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4058 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4059 if they succeed. Act accordingly.
4061 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4063 * text2.C (setCharFont): adjust
4064 (setCounter): adjust
4065 (insertStringAsLines): adjust
4067 * text.C (leftMargin): adjust
4068 (setHeightOfRow): adjust
4070 * rowpainter.C (paintFirst): adjust
4073 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4075 (isFirstInSequence): ditto
4076 (getEndLabel): ditto
4079 * paragraph.C (getParLanguage): comment out some hard stuff.
4081 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4083 (simpleDocBookOnePar): ditto
4084 (makeDocBookFile): use ParagraphList::iterator
4086 * CutAndPaste.C (pasteSelection): adjust
4088 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4090 * text2.C (getFont): adjust
4091 (getLayoutFont): adjust
4092 (getLabelFont): adjust
4094 * paragraph_funcs.C (TeXOnePar): adjust
4096 * buffer.C (simpleLinuxDocOnePar): adjust
4097 (simpleDocBookOnePar): adjust
4099 * CutAndPaste.C (pasteSelection): adjust
4101 * BufferView.C (getEncoding): adjust
4103 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4105 2003-04-16 John Levon <levon@movementarian.org>
4107 * lyxfind.C: use parlist stuff for search/changes
4109 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4111 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4113 * text2.C (deleteEmptyParagraphMechanism): adjust
4115 * text2.[Ch] (ownerParagraph): delete func (both of them
4117 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4119 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4121 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4123 * ParagraphList.C: prepare for NO_NEXT
4125 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4127 * text2.C (getFont): adjust
4128 (getLayoutFont): adjust
4129 (getLabelFont): adjust
4131 * paragraph.C (getFont): adjust
4132 (getLabelFont): adjust
4133 (getLayoutFont): adjust
4135 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4137 2003-04-15 John Levon <levon@movementarian.org>
4141 * lyx_main.C: handle Include in .ui files
4143 2003-04-15 John Levon <levon@movementarian.org>
4145 * MenuBackend.C: make the doc files length shorter
4148 * ToolbarBackend.C: handle toolbar placement flags,
4151 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4153 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4156 * paragraph_funcs.C (TeXOnePar): adjust
4158 * paragraph.C (getLabelFont): add outerfont arg, adjust
4159 (getLayoutFont): ditto
4160 (simpleTeXOnePar): adjust
4162 * paragraph_pimpl.C (realizeFont): delete func
4164 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4166 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4167 row argument, constify cur argument.
4169 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4171 * text2.C (getFont): adjust
4172 (getLayoutFont): adjust
4173 (getLabelFont): adjust
4175 * paragraph_funcs.C (TeXOnePar): adjust
4176 (outerFont): new func...
4177 (realizeFont): ...moved out from here, changed this to facilitate
4180 * paragraph.C (getFont): take outerfont as arg, adjust
4181 (simpleTeXOnePar): add outerfont arg, adjust
4183 * buffer.C (simpleLinuxDocOnePar): adjust
4184 (simpleDocBookOnePar): adjust
4186 * CutAndPaste.C (pasteSelection): adjust
4188 * BufferView.C (getEncoding): adjust
4190 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4192 * text2.C (setCharFont): adjust
4193 (setCounter): adjust
4195 * text.C (leftMargin): adjust
4196 (setHeightOfRow): adjust
4198 * rowpainter.C (paintFirst): adjust
4201 * paragraph_pimpl.C (realizeFont): adjust
4203 * paragraph.C (isFirstInSequence): move from here...
4204 * paragraph_funcs.C (isFirstInSequence): ...to here
4206 * paragraph.C (outerHook): move from here...
4207 * paragraph_funcs.C (outerHook): ...to here
4209 * paragraph.C (depthHook): move from here...
4210 * paragraph_funcs.C (depthHook): ...to here
4212 * paragraph.C (getEndLabel): move from here...
4213 * paragraph_funcs.C (getEndLabel): ...to here
4215 * text2.C (realizeFont): move from here...
4216 * paragraph_funcs.C (realizeFont): ...to here
4218 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4220 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4222 2003-04-14 Angus Leeming <leeming@lyx.org>
4224 * LColor.[Ch]: scrap LColor mathcursor.
4226 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4228 * lyxlex.[Ch] (text): delete function
4229 * trans.C (Load): adjust
4230 * paragraph_funcs.C (readParToken): adjust
4232 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4234 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4235 vector<char> instead of a char[].
4237 * lyxlex_pimpl.C (getString): adjust
4239 (lex): use getString
4243 * lyxlex.C (text): use pimpl_->getString()
4247 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4249 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4250 (makeFontEntriesLayoutSpecific): temp var for par.size()
4251 (setLayout): temp var for ownerParagraphs().end()
4252 (fullRebreak): temp var for rows().end()
4253 (selectionAsString): temp var for boost::next(startpit), realize
4254 that the while really is a regular for loop.
4255 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4256 setCursor in one place.
4257 (setParagraph): temp vr for ownerParagraphs().end()
4258 (updateCounters): make the while loop a for loop
4259 (cutSelection): temp var for ownerParagraphs().end()
4260 (updateInset): make the do {} while() a regular for loop
4261 (getCursorX): use temp vars
4262 (setCurrentFont): use temp vars
4263 (getColumnNearX): use temp vars
4265 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4267 * text.C (transformChar): use temp var for getChar
4268 (computeBidiTables): use temp var for row->par()
4269 (fill): move temp vars for row->par() and pit->layout() earlier in
4271 (labelFill): use temp var for row->par()
4272 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4273 asc and desc, realize that pit never changes and that firstpit is
4274 just a duplicate and not needed. Exchange rit->par() with pit in a
4276 (breakAgain): use a temp var for boost::next(rit)
4277 (breakAgainOneRow): ditto
4278 (breakParagraph): use a temp var for rows().begin()
4279 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4280 (cursorRightOneWord): use temp var for cursor.par() and
4281 cursor.pos(), remove usage of tmpcursor.
4282 (cursorLeftOneWord): use temp var for cursor.par() and
4283 cursor.pos() only set cur at end of function.
4285 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4287 * text.C, text2.C: exchange all usage of Paragraph::next with
4288 boost::next(ParagraphList::iterator)
4290 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4292 * text2.C (cursorTop): simplify implementation
4293 (cursorBottom): ditto
4294 (setParagraph): use ParagraphList::iterator
4295 (setCurrentFont): adjust
4296 (getColumnNearX): adjust
4297 (cursorRight): adjust
4298 (cursorLeft): remove usage of Paragraph::previous
4299 (cursorUpParagraph): ditto
4300 (deleteEmptyParagraphMechanism): slight cleanup
4302 * text.C (isBoundary): take a Paragraph const & instead of a
4304 (addressBreakPoint): ditto
4305 (leftMargin): remove usage of Paragraph::previous.
4306 (setHeightOfRow): ditto
4307 (cursorLeftOneWord): ditto
4308 (selectNextWordToSpellcheck): ditto
4311 (breakParagraph): remove one usage of Paragraph::next
4312 (redoParagraph): ditto
4313 (acceptChange): ditto
4314 (insertChar): adjust
4315 (rowBreakPoint): adjust
4317 * bufferview_funcs.C (toggleAndShow): adjust
4319 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4321 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4322 methods to access it.
4324 * text.C: Added updateRowPositions to compute all row positions.
4325 Make top_y and getRowNearY() to use the cached y position
4327 2003-04-11 John Levon <levon@movementarian.org>
4329 * text.C (rowBreakPoint): reintroduce the labelEnd
4330 checks, code copied from the row fill stuff. Deep voodoo.
4332 * text.C (fill): add a comment and debugging for the
4335 2003-04-11 John Levon <levon@movementarian.org>
4337 * text.C: make sure fullrow insets get wrapped to the next line,
4338 even when they're in a manual label
4340 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4342 * text2.C (insertParagraph): make it take ParagraphList::iterator
4344 (setLayout): make it return ParagraphList::iterator
4345 (redoParagraphs): ditto
4347 (checkParagraph): ditto
4349 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4351 * text2.C: adjust several funcs.
4352 (realizeFont): take a ParagraphList::iterator as arg.
4353 (getLayoutFont): ditto
4354 (getLabelFont): ditto
4355 (setCharFont): ditto
4357 * text.C: adjust several funcs.
4359 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4361 * text.C (selectNextWordToSpellcheck): don't accidentally
4364 2003-04-10 John Levon <levon@movementarian.org>
4366 * ToolbarBackend.C (getIcon): special handling for
4369 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4371 * text2.C (cursorRight): a getChar assert fixed
4373 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4375 * text2.C (getFont): change to take a ParagraphList::iterator
4376 instead of Paragraph*
4377 Adjust several functions.
4379 * text.C (transformChar): change to take a ParagraphList::iterator
4380 instead of Paragraph*
4381 (singleWidth): ditto
4382 Adjust several functions.
4384 * rowpainter.C: adjust several functions
4385 * rowpainter.h:store a ParagraphList::iterator and not a
4389 2003-04-09 John Levon <levon@movementarian.org>
4394 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4395 and the "help" bits as well
4397 2003-04-09 John Levon <levon@movementarian.org>
4400 * ToolbarBackend.C: allow multiple toolbars
4402 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4404 * undo_funcs.C (setCursorParUndo): adjust
4406 * text_funcs.C (transposeChars): adjust
4408 * text3.C (gotoNextInset): adjust
4411 * text2.C (setLayout): adjust
4412 (changeDepth): adjust
4414 (redoParagraphs): adjust
4415 (selectionAsString): adjust
4416 (setParagraph): adjust
4417 (insertInset): adjust
4418 (cutSelection): adjust
4419 (copySelection): adjust
4420 (pasteSelection): adjust
4421 (insertStringAsLines): adjust
4422 (updateInset): adjust
4423 (setCursor): change to take a ParagraphList::iterator parameter
4424 (setCursorIntern): change to take a ParagraphList::iterator parameter
4425 (setCurrentFont): adjust
4426 (cursorLeft): adjust
4427 (cursorRight): adjust
4428 (deleteEmptyParagraphMechanism): adjust
4430 * text.C (breakParagraph): adjust
4431 (insertChar): adjust
4432 (acceptChange): adjust
4433 (rejectChange): adjust
4434 (selectNextWordToSpellcheck): adjust
4435 (changeCase): adjust
4439 * lyxfind.C (SearchForward): adjust
4440 (SearchBackward): adjust
4441 (nextChange): adjust
4443 * lyxcursor.C (par): adjust
4445 * lyxcursor.h: store a ParagraphList::iterator instead of a
4448 * lyx_cb.C (getPossibleLabel): adjust
4450 * bufferview_funcs.C (toggleAndShow): adjust
4452 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4455 * BufferView.C (removeAutoInsets): adjust
4456 (lockedInsetStoreUndo): adjust
4458 2003-04-09 John Levon <levon@movementarian.org>
4460 * ToolbarBackend.C: try icon without argument
4461 if with argument fails
4463 2003-04-08 John Levon <levon@movementarian.org>
4466 * ToolbarBackend.C: add getIcon(), handle tooltip,
4467 and change from "Icon" to "Item".
4469 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4471 * BufferView.C (lockInset): another bad getchar crunched
4473 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4475 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4478 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4480 * lyxfind.C (searchForward, searchBackwards): bug 782
4482 2003-04-07 John Levon <levon@movementarian.org>
4484 * paragraph.C: remove dead comment
4486 * text.C: remove troublesome depth-fiddling code
4487 in leftMargin() and rightMargin() (bug 1017)
4489 * text.C: fix breaking of rows in nested lists
4492 * text2.C (updateCounters): fix up depth values
4495 2003-04-07 John Levon <levon@movementarian.org>
4497 * BufferView_pimpl.C: clear message when doc finishes resizing,
4498 and after a mouse event
4500 * lyxfunc.C: clear message after exiting inset
4502 2003-04-07 John Levon <levon@movementarian.org>
4504 * bufferview_funcs.C: show math status not outside
4505 status in the statusbar
4507 2003-04-07 John Levon <levon@movementarian.org>
4509 * lyxfunc.C: note status changed after a depth change
4511 2003-04-04 Angus Leeming <leeming@lyx.org>
4513 * LaTeX.h: move AuxInfo operator==, != out of line.
4514 Remove LaTeX virtual destructor; nothing derives from it.
4515 Move operator()() out of public area and rename it startscript().
4516 Change protected for private.
4518 2003-04-04 Angus Leeming <leeming@lyx.org>
4521 * text2.C: remove unneeded #includes.
4523 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4525 * text2.C (dEPM): fix the heigth of the next row
4527 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4529 * text.C: squashed an invalid getChar requester + some ws changes
4531 2003-04-03 John Levon <levon@movementarian.org>
4533 * bufferview_funcs.h:
4534 * bufferview_funcs.C:
4537 * text2.C: make getStatus work for the env depth lfuns
4539 2003-04-03 John Levon <levon@movementarian.org>
4541 * bufferview_funcs.h:
4542 * bufferview_funcs.C:
4545 * text2.C: parlistize decDepth(), by merging it with incDepth()
4547 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4549 * lyxrow.h: store a ParagraphList::iterator instead of a
4550 Paragraph* and adjust other class functions to suit.
4552 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4555 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4557 * text2.C (setCursor): do not anchor to cursor row for the time being
4559 2003-04-02 John Levon <levon@movementarian.org>
4566 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4568 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4570 * paragraph.h: make ParagraphList and ParagraphList::iterator
4571 friends of Paragraph.
4573 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4575 * ParagraphList.C: Use the private next_ and previous_ from
4578 2003-04-01 John Levon <levon@movementarian.org>
4582 * Makefile.am: rename, remove defaults gunk
4585 * MenuBackend.C: remove defaults gunk
4588 * Languages.C: remove defaults gunk
4591 * lyx_main.C: error out if files couldn't be found.
4593 2003-04-02 John Levon <levon@movementarian.org>
4595 * text2.C: make incDepth() use parlist
4597 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4599 * undo_funcs.C (firstUndoParagraph): adjust
4601 * text3.C (gotoInset): adjust
4602 (dispatch): adjust, and rewrite loop.
4604 * text2.C (init): adjust, and rewrite loop.
4605 (redoParagraphs): adjust
4606 (updateInset): adjust, and rewrite loop.
4607 (deleteEmptyParagraphMechanism): adjust
4609 * tabular.C (LyXTabular): adjust
4610 (SetMultiColumn): adjust
4613 * lyxtext.[Ch] (ownerParagraph): delete function
4614 (ownerParagraphs): new function returns a ParagraphList.
4616 * BufferView.C (removeAutoInsets): adjust
4617 (insertErrors): adjust
4618 (setCursorFromRow): adjust
4620 2003-04-01 Angus Leeming <leeming@lyx.org>
4622 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4625 2003-04-02 John Levon <levon@movementarian.org>
4631 * text_funcs.C: make transposeChars a free function
4633 * lyxrow_funcs.C: remove wrong comment
4635 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4638 * rowpainter.C: adjust
4643 * lyxrow_funcs. [Ch]: new files
4645 * lyxrow.[Ch]: remove next and previous pointers
4646 (next,previous): remove accessor functions
4647 (isParEnd): move to lyxrow_funcs
4648 (lastPos): move to lyxrow_funcs
4649 (nextRowIsAllInset): move to lyxrow_funcs
4650 (lastPrintablePos): move to lyxrow_funcs
4651 (numberOfSeparators): move to lyxrow_funcs
4652 (numberOfHfills): move to lyxrow_funcs
4653 (numberOfLabelHfills): move to lyxrow_funcs
4654 (hfillExpansion): move to lyxrow_funcs
4658 * bufferview_funcs.C (toggleAndShow): adjust
4660 * RowList.h: Remove class RowList from file leave just a
4663 * RowList.C: delete file
4665 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4668 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4670 * text3.C (cursorPrevious): adjust
4671 (cursorNext): adjust
4674 * text2.C (redoHeightOfParagraph): adjust
4675 (redoDrawingOfParagraph): adjust
4678 * text.C (breakParagraph): adjust
4679 (insertChar): adjust
4682 * rowpainter.C (RowPainter): adjust
4683 (leftMargin): simplify and adjust
4684 (most rowpainter functions): adjust.
4686 * rowpainter.h: store the row as RowList::iterator not as Row*
4688 * lyxcursor.C (row): taka RowList::iterator as arg
4691 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4694 2003-04-01 Angus Leeming <leeming@lyx.org>
4696 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4697 stuff like bool Bool.
4699 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4701 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4704 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4706 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4709 * lyxtext.h (rows): drop one version and leve a const variant that
4710 returns a RowList::iterator.
4712 2003-03-31 Angus Leeming <leeming@lyx.org>
4714 * text.C (fill): ensure that the signature is the same as that in the
4717 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4719 * text2.C (redoParagraphs): adjust
4720 (updateCounters): adjust
4721 (checkParagraph): adjust
4722 (getColumnNearX): adjust and reformat a bit.
4724 * text.C (top_y): adjust
4726 (leftMargin): adjust
4727 (prepareToPrint): adjust
4729 (getRowNearY): adjust
4731 * lyxtext.h: make rowlist_ mutable.
4733 * RowList.h: add const_iterator
4734 * RowList.C: adjust for RowList::const_iterator.
4736 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4739 2003-03-31 John Levon <levon@movementarian.org>
4742 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4744 * lyx_main.C: set default fonts from using lyx_gui funcs
4746 * exporter.C: pdf_mode moved from lyxrc
4749 * lyxfunc.C: changes from above
4751 2003-03-31 John Levon <levon@movementarian.org>
4753 * lyx_main.C: fix to the last fix
4755 2003-03-31 John Levon <levon@movementarian.org>
4757 * bufferlist.C: "Load original" -> "Load Original"
4763 * format.C: more Alert cleanups
4765 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4767 * text2.C (removeParagraph): make it take a RowList::iterator as
4769 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4770 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4772 * text.C (anchor_row): make it take a RowList::iterator as arg,
4774 (computeBidiTables): make it take a const reference to Row instead
4775 of Row pointer, adjust.
4776 (leftMargin): make it take a RowList::iterator as arg, adjust.
4777 (rowBreakPoint): adjust
4778 (breakAgainOneRow): make it take a RowList::iterator as arg,
4780 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4782 * bufferview_funcs.C (toggleAndShow): adjust
4784 2003-03-30 John Levon <levon@movementarian.org>
4788 * boost-inst.C: moved to support
4790 * several files: changes as a result
4792 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4794 * text2.C (LyXText): adjust.
4796 (removeRow): make it take a RowList::iterator as arg, adjust.
4797 (fullRebreak): adjust
4798 (deleteEmptyParagraphMechanism): adjust
4799 (clearPaint): adjust
4802 * text.C (top_y): adjust
4803 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4804 (breakAgain): make it take a RowList::iterator as arg, adjust.
4805 (breakParagraph): adjust
4806 (insertChar): adjust
4809 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4810 need_break_row, and refresh_row.
4812 * text3.C (dispatch): adjust
4814 * text2.C (checkParagraph): adjust
4816 (setCursorFromCoordinates): adjust
4818 * text.C (top_y): adjust
4820 (getRow): make it return a RowList::iterator, adjust
4821 (getRowNearY): make it return a RowList::iterator, adjust
4823 * text2.C (init): adjust
4824 (insertRow): remove function
4825 (insertParagraph): adjust
4826 (redoParagraphs): adjust
4827 (fullRebreak): adjust
4828 (updateCounters): adjust
4830 * text.C (top_y): rewrite to use RowList iterators.
4832 (setHeightOfRow): rewrite to sue RowList iterators.
4833 (appendParagraph): adjust
4834 (breakAgain): adjust
4835 (breakAgainOneRow): adjust
4836 (breakParagraph): adjust
4838 (getRowNearY): adjust, and remove commented code.
4840 * lyxtext.h (firstRow): delete function
4841 (lastRow): delete function
4842 (rows): new function (const and non-const versions.)
4843 (insertRow): delete function
4845 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4847 2003-03-29 John Levon <levon@movementarian.org>
4849 * BufferView_pimpl.C: always update scrollbar top
4850 because pasting text when we're anchored could mean we
4851 miss an update altogether
4853 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4855 * text2.C (init): use rowlist_.end() and not 0.
4856 (insertRow): change to take a RowList::iterator as arg, adjust
4858 (insertParagraph): change to take a RowList::iterator as arg,
4860 (redoParagraphs): remove some debug msgs.
4862 * text.C (appendParagraph): change to take a RowList::iterator
4863 arg, adjust for this.
4864 (breakAgain): add an assert
4865 (breakAgainOneRow): ditto
4867 2003-03-29 John Levon <levon@movementarian.org>
4869 * text2.C: do not clear selection after inc/decDepth
4872 2003-03-29 John Levon <levon@movementarian.org>
4875 * buffer.C: fix broken strerrors according to Lars
4877 2003-03-29 John Levon <levon@movementarian.org>
4879 * converters.C: more Alert cleanups
4881 2003-03-29 John Levon <levon@movementarian.org>
4883 * bufferview_funcs.C: remove pointless Alert
4885 * buffer.C: fix confusing error message when
4886 a template is chmoded 000
4888 2003-03-29 John Levon <levon@movementarian.org>
4892 * BufferView_pimpl.C: Alert fixes
4896 * tabular-old.C: remove unused table compat reading
4898 2003-03-29 John Levon <levon@movementarian.org>
4903 * lyx_cb.C: more Alert cleanups
4905 * lyxfunc.C: don't allow chktex if not latex document
4907 2003-03-29 John Levon <levon@movementarian.org>
4911 * buffer.C: warnings pushed down from support/,
4914 2003-03-29 John Levon <levon@movementarian.org>
4916 * lyxfunc.C: safety check for C-r (revert)
4918 2003-03-29 John Levon <levon@movementarian.org>
4921 * bufferlist.C: several UI fixes using Alert::prompt.
4922 Fix the pointless looping quit code. Fix stupid revert
4927 * lyx_cb.C: use Alert::prompt
4929 * lyx_main.C: remove a silly question
4931 * lyxfunc.C: remove a couple of silly questions,
4934 2003-03-28 John Levon <levon@movementarian.org>
4936 * text2.C: fix bug 974 (End on empty par)
4938 2003-03-28 John Levon <levon@movementarian.org>
4940 * BufferView_pimpl.C:
4942 * lfuns.h: remove do-nothing math greek lfuns
4944 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4946 * lyxgluelength.h (isValidGlueLength): add default arg on
4947 parameter 2. Remove default arg from friend in class.
4949 * lyxlength.h (isValidLength): add default arg on parameter 2.
4950 Remove default arg from friend in class.
4952 * text2.C (LyXText): adjust, initialize refresh_row.
4956 (insertParagraph): adjst
4957 (redoParagraphs): adjust
4958 (fullRebreak): adjust
4959 (updateCounters): adjust
4960 (deleteEmptyParagraphMechanism): first attempt at fixing a
4963 * text.C (top_y): adjust
4964 (setHeightOfRow): adjust
4966 (getRowNearY): adjust
4968 * lyxtext.h: include RowList.h
4969 (~LyXText): not needed anymore, deleted.
4970 (firstRow): modify for RowList
4971 (lastRow): new function
4972 Delete firstrow and lastrow class variables, add a Rowlist
4973 rowlist_ class variable.
4975 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4978 * RowList.C (insert): fix case where it == begin().
4980 2003-03-26 Angus Leeming <leeming@lyx.org>
4982 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4983 the thesaurus dialog.
4985 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4987 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4989 * RowList.[Ch]: new files
4991 * ParagraphList.C (erase): handle the case where it == begin
4994 2003-03-25 John Levon <levon@movementarian.org>
4998 * aspell.C: add new aspell support
5001 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5004 2003-03-25 Angus Leeming <leeming@lyx.org>
5007 * LyXAction.C (init): new LFUN_INSET_INSERT.
5009 * BufferView_pimpl.C (dispatch): split out part of the
5010 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5012 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5015 2003-03-25 Angus Leeming <leeming@lyx.org>
5017 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5019 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5022 * text3.C: remove useless row->height(0)
5024 2003-03-25 John Levon <levon@movementarian.org>
5028 * text3.C: rename the refreshing stuff to better names
5030 2003-03-24 John Levon <levon@movementarian.org>
5032 * BufferView_pimpl.h:
5033 * BufferView_pimpl.C: update layout choice on a mouse
5036 2003-03-23 John Levon <levon@movementarian.org>
5038 * Makefile.am: fix commandtags.h reference
5040 2003-03-22 John Levon <levon@movementarian.org>
5042 * BufferView_pimpl.C:
5047 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5049 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5052 * text.C: take the rtl methods out of line
5054 2003-03-21 André Pönitz <poenitz@gmx.net>
5056 * metricsinfo.[Ch]: new files containing structures to be passed around
5057 during the two-phase-drawing...
5059 2003-03-21 André Pönitz <poenitz@gmx.net>
5061 * lyxtextclass.C: read 'environment' tag.
5063 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5065 * text2.C (removeRow): fix bug 964
5067 2003-03-20 John Levon <levon@movementarian.org>
5071 * text2.C: paint cleanups. Inset::update() dropped font
5074 2003-03-19 John Levon <levon@movementarian.org>
5076 * lyxfunc.C: only fitcursor/markDirty if available()
5078 2003-03-19 John Levon <levon@movementarian.org>
5080 * commandtags.h: rename to ...
5082 * lfuns.h: ... this, and renumber / cleanup
5084 2003-03-19 John Levon <levon@movementarian.org>
5086 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5087 fit the cursor after an lfun
5091 * BufferView_pimpl.h:
5092 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5094 * LyXAction.C: layout-character should have ReadOnly
5096 * ParagraphParameters.C:
5098 * bufferview_funcs.C:
5105 * undo_funcs.C: changes from above
5107 2003-03-18 John Levon <levon@movementarian.org>
5109 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5110 remove it from update()
5112 * lyxfunc.C: update layout choice after an lfun
5114 * text3.C: remove extra updateLayoutChoice()s
5116 2003-03-18 John Levon <levon@movementarian.org>
5118 * text.C: top_y change means full repaint, fix
5119 a drawing bug with cursor movement
5121 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5125 * text2.C: anchor row on setCursor
5127 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5129 * lyxtext.h: remove almost all mutable keywords
5132 * text3.C: remove const keywords accordingly
5134 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5136 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5138 (TeXEnvironment): ditto
5141 2003-03-17 John Levon <levon@movementarian.org>
5143 * text.C (rowBreakPoint): remove attempt to fix displayed
5144 math insets inside a manual label
5146 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5148 * lyxtext.h: remove BufferView* as first arg from almost all class
5150 * other files: adjust.
5152 2003-03-17 John Levon <levon@movementarian.org>
5156 * text2.C: more paint cleanups
5158 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5161 * rowpainter.C: remove "smart" background painting code
5163 2003-03-16 John Levon <levon@movementarian.org>
5168 * text3.C: add helper functions for setting refresh_row/y
5170 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5172 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5173 newline inset which *can* get inserted in the pass_thru layouts.
5174 This is primarily for literate documents.
5176 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5178 * buffer.C: increment LYX_FORMAT to 223
5180 2003-03-14 André Pönitz <poenitz@gmx.net>
5182 * textclass.h: prepare for environment handling, ws changes
5183 * lyxlayout.C: read latexheader and latexfooter tags
5185 2003-03-14 John Levon <levon@movementarian.org>
5187 * text2.C: rewrite ::status() a bit
5189 2003-03-13 John Levon <levon@movementarian.org>
5191 * lyxtext.h: add some docs
5193 2003-03-13 John Levon <levon@movementarian.org>
5198 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5200 2003-03-13 John Levon <levon@movementarian.org>
5202 * text3.C: fix appendix redrawing
5204 2003-03-13 John Levon <levon@movementarian.org>
5206 * text.C (setHeightOfRow):
5208 * rowpainter.C: make appendix mark have the text
5209 "Appendix" so the user knows what it is
5212 * LColor.C: s/appendixline/appendix/ from above
5214 2003-03-13 John Levon <levon@movementarian.org>
5216 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5218 * text.C: fix a getChar(pos) bug properly
5220 2003-03-13 Angus Leeming <leeming@lyx.org>
5223 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5224 Probably only temporary. Let's see how things pan out.
5226 * BufferView.C (unlockInset):
5227 * BufferView_pimpl.C (fitCursor):
5228 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5230 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5231 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5233 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5234 new functions that convert ParagraphParameters to and from a string.
5236 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5237 BufferView::Pimpl's dispatch.
5238 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5240 2003-03-13 André Pönitz <poenitz@gmx.net>
5244 * factory.C: make it aware of InsetEnv
5246 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5248 * text2.C (setCursor): never ask for one past last
5249 (setCursor): add some debugging messages.
5251 * text.C (singleWidth): never ask for one past last
5252 (singleWidth): ditto
5254 (rightMargin): ditto
5255 (rowBreakPoint): ditto
5256 (setHeightOfRow): ditto
5257 (prepareToPrint): ditto
5259 * rowpainter.C (paintBackground): never ask for one past last
5260 (paintText): never ask for one past last
5262 * paragraph_pimpl.C (getChar): make the assert stricter, never
5263 allow the one past last pos to be taken
5265 * paragraph.C (getChar): ws changes only
5267 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5268 (numberOfSeparators): ditto
5269 (numberOfHfills): ditto
5271 2003-03-12 John Levon <levon@movementarian.org>
5277 * paragraph_funcs.C: fix per-buffer authorlists
5279 2003-03-12 John Levon <levon@movementarian.org>
5281 * text.C: fix newline in right address
5283 2003-03-12 Angus Leeming <leeming@lyx.org>
5285 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5286 duplicate those in LyXFunc::dispatch.
5290 * ToolbarDefaults.C:
5291 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5292 Add LFUN_FONTFREE_UPDATE.
5294 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5295 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5297 * bufferview_func.[Ch]: several new functions to facilliate
5298 transfer of data to and from the character dialog.
5300 2003-03-12 John Levon <levon@movementarian.org>
5305 * paragraph_funcs.C:
5306 * paragraph_pimpl.C:
5310 * text3.C: remove META_NEWLINE in favour of an inset
5313 * rowpainter.C: remove paintNewline (done by inset)
5315 2003-03-12 John Levon <levon@movementarian.org>
5317 * paragraph_pimpl.C: complain about bad getChar()s
5318 for a while at least
5320 2003-03-12 John Levon <levon@movementarian.org>
5323 * buffer.C: move paragraph read into a separate function,
5324 a little renaming to reflect that.
5327 * bufferparams.C: remove the author_ids map, not necessary now
5330 * factory.C: moved Buffer::readInset to here
5332 * paragraph_funcs.h:
5333 * paragraph_funcs.C: readParagraph free function moved from
5336 * tabular.C: name change
5338 2003-03-12 John Levon <levon@movementarian.org>
5341 * ParagraphParameters.C: move par params input to
5344 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5345 behave like a normal read from the stream wrt reading
5346 a line vs. a \\token
5348 2003-03-12 John Levon <levon@movementarian.org>
5351 * ParagraphParameters.h:
5352 * ParagraphParameters.C: move output code to a
5355 2003-03-12 John Levon <levon@movementarian.org>
5357 * BufferView.C (insertLyXFile):
5360 * tabular.C: use a parlist iterator for creating the
5363 2003-03-12 John Levon <levon@movementarian.org>
5365 * buffer.C: make current_change static local not
5368 2003-03-12 John Levon <levon@movementarian.org>
5370 * buffer.C: fix insertStringAsLines for change tracking
5372 2003-03-12 John Levon <levon@movementarian.org>
5379 * bufferparams.C: move author list into params. Rename some
5380 functions. Move the header reading into a separate token
5381 loop. Move the header token reading into BufferParams.
5383 2003-03-12 John Levon <levon@movementarian.org>
5385 * changes.C: put debug inside lyxerr.debugging() checks
5387 2003-03-11 André Pönitz <poenitz@gmx.net>
5389 * factory.C: make it aware of InsetHFill
5391 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5393 * buffer.C (latexParagraphs): move function from here...
5394 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5397 2003-03-10 Angus Leeming <leeming@lyx.org>
5399 * LyXAction.C (init): fix bug in poplating array with multiple entries
5400 with the same LFUN (spotted by JMarc).
5402 2003-03-10 John Levon <levon@movementarian.org>
5405 * text2.C: move getColumnNearX() near its
5408 2003-03-10 John Levon <levon@movementarian.org>
5410 * text.C: fix break before a minipage
5412 2003-03-10 John Levon <levon@movementarian.org>
5414 * text.C: fix the last commit
5416 2003-03-09 John Levon <levon@movementarian.org>
5420 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5421 bug 365 (don't break before insets unless needed). Don't
5422 return a value > last under any circumstances.
5424 2003-03-09 Angus Leeming <leeming@lyx.org>
5426 * BufferView_pimpl.C (trackChanges, dispatch): call
5427 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5429 2003-03-09 Angus Leeming <leeming@lyx.org>
5431 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5432 than Dialogs::showAboutlyx().
5434 2003-03-09 Angus Leeming <leeming@lyx.org>
5436 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5437 than Dialogs::showTabularCreate().
5439 2003-03-09 John Levon <levon@movementarian.org>
5443 * text2.C: 3rd arg to nextBreakPoint was always the same.
5446 2003-03-08 John Levon <levon@movementarian.org>
5453 * text2.C: Remove the "main" bit from the "main body"
5456 2003-03-08 John Levon <levon@movementarian.org>
5458 * text.C (leftMargin): The left margin of an empty
5459 manual label paragraph should not include the label width
5462 * text.C (prepareToPrint): don't attempt to measure hfills
5463 for empty manual label paragraphs - the answer should be 0
5465 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5467 * CutAndPaste.C: remove commented code and reindent.
5469 2003-03-08 John Levon <levon@movementarian.org>
5472 * lyxfunc.C: move reloadBuffer()
5475 * BufferView.C: to here
5477 * lyxvc.C: add comment
5480 * vc-backend.C: call bv->reload() to avoid
5481 getStatus() check on MENURELOAD
5483 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5485 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5486 to an old format .dep file.
5488 2003-03-07 Angus Leeming <leeming@lyx.org>
5490 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5491 when the LFUN_MOUSE_RELEASE should have been handled by
5492 inset->localDispatch.
5494 2003-03-07 Angus Leeming <leeming@lyx.org>
5496 * BufferView_pimpl.C (dispatch):
5497 * LyXAction.C (init):
5498 * ToolbarDefaults.C (init):
5500 * lyxfunc.C (getStatus):
5501 remove LFUN_INSET_GRAPHICS.
5503 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5505 2003-03-07 Angus Leeming <leeming@lyx.org>
5508 * LyXAction.C (init):
5509 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5511 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5514 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5516 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5517 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5519 2003-03-07 Angus Leeming <leeming@lyx.org>
5521 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5524 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5526 * ParagraphList.C (front): new function
5529 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5531 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5532 and top_row_offset_. removed var first_y.
5534 * text2.C (LyXText, removeRow):
5536 * BufferView_pimpl.C:
5537 use these methods instead of using first_y
5539 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5541 * text2.C (pasteSelection): adjust for checkPastePossible
5543 * CutAndPaste.C: remove Paragraph * buf and replace with
5544 ParagraphList paragraphs.
5545 (DeleteBuffer): delete
5546 (cutSelection): change the tc type to textclass_type
5547 (copySelection): change the tc type to textclass_type
5548 (copySelection): adjust for ParagraphList
5549 (pasteSelection): change the tc type to textclass_type
5550 (pasteSelection): adjust for Paragraphlist
5551 (nrOfParagraphs): simplify for ParagraphList
5552 (checkPastePossible): simplify for ParagraphList
5553 (checkPastePossible): remove unused arg
5555 * ParagraphList.C (insert): handle the case where there are no
5558 * CutAndPaste.h: make CutAndPaste a namespace.
5560 * text3.C (dispatch): adjust
5562 * text.C (breakParagraph): add a ParagraphList as arg
5564 * paragraph_funcs.C (breakParagraph): change to take a
5565 BufferParams and a ParagraphList as args.
5566 (breakParagraphConservative): ditto
5567 (mergeParagraph): ditto
5568 (TeXDeeper): add a ParagraphList arg
5569 (TeXEnvironment): ditto
5572 * buffer.C (readLyXformat2): adjust
5573 (insertStringAsLines): adjust
5574 (latexParagraphs): adjust
5576 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5577 (cutSelection): adjust
5578 (pasteSelection): adjust
5580 * BufferView_pimpl.C (insertInset): adjust
5582 2003-03-05 Angus Leeming <leeming@lyx.org>
5585 * LyXAction.C (init):
5586 * BufferView_pimpl.C (dispatch):
5587 * lyxfunc.C (getStatus):
5588 remove LFUN_CHILD_INSERT.
5590 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5592 2003-03-05 Angus Leeming <leeming@lyx.org>
5595 * LyXAction.C (init):
5596 * src/factory.C (createInset):
5597 * lyxfunc.C (getStatus):
5598 * text3.C (dispatch):
5599 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5601 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5603 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5605 * ParagraphList.C (insert): handle insert right before end()
5606 (erase): fix cases where it can be first or last paragraph.
5608 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5610 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5611 Paragraph::next and Paragraph::previous
5614 * text.C (breakParagraph): adjust
5616 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5617 BufferParams& as arg.
5618 (breakParagraph): use ParagraphList::insert
5619 (breakParagraphConservative): take a Buffer* instead of a
5620 BufferParams& as arg.
5621 (breakParagraphConservative): use ParagraphList::insert.
5623 * buffer.C (insertStringAsLines): un-const it
5624 (insertStringAsLines): adjust
5626 * ParagraphList.C (insert): new function
5628 * CutAndPaste.C (pasteSelection): adjust
5630 * text.C (backspace): adjust
5632 * tabular.C (SetMultiColumn): adjust
5634 * CutAndPaste.C (cutSelection): adjust
5635 (pasteSelection): adjust
5637 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5638 Buffer const * as arg
5640 * ParagraphList.C (erase): new function
5641 * paragraph_funcs.C (mergeParagraph): use it
5642 (mergeParagraph): make it take a Buffer* instead of a
5643 BufferParams* as arg
5645 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5647 (breakParagraphConservative): ditto
5649 * paragraph.h: remove the breakParagraph friend
5651 * paragraph.C (eraseIntern): new function
5652 (setChange): new function
5654 * paragraph_funcs.C (mergeParagraph): make it take a
5655 ParagraphList::iterator instead of a Paragraph *, adjust
5658 * paragraph.h: move an #endif so that the change tracking stuff
5659 also works in the NO_NEXT case.
5661 2003-03-04 Angus Leeming <leeming@lyx.org>
5664 * LyXAction.C: new LFUN_INSET_MODIFY.
5666 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5667 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5669 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5671 * several files: ws changes only
5673 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5674 (TeXEnvironment): ditto
5677 * buffer.C (makeLaTeXFile): adjust
5678 (latexParagraphs): make it take ParagraphList::iterator as args
5680 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5682 * buffer.C (latexParagraphs): adjust
5684 * paragraph.C (TeXOnePar): move function...
5685 (optArgInset): move function...
5686 (TeXEnvironment): move function...
5687 * paragraph_pimpl.C (TeXDeeper): move function...
5688 * paragraph_funcs.C: ...here
5690 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5692 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5694 * buffer.C (readInset): remove compability code for old Figure and
5697 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5699 * buffer.C: ws changes
5702 * BufferView_pimpl.C: ditto
5705 * bufferlist.h: ditto
5709 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5711 * converter.[Ch]: split into itself +
5714 * Makefile.am: += graph.[Ch] + format.[Ch]
5721 * lyxrc.C: added #include "format.h"
5723 2003-02-27 Angus Leeming <leeming@lyx.org>
5725 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5728 * factory.C (createInset): add "label" to the factory.
5730 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5731 string and do no more.
5733 2003-02-27 Angus Leeming <leeming@lyx.org>
5736 * LyXAction.C (init):
5737 * factory.C (createInset):
5738 * BufferView_pimpl.C (dispatch):
5739 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5741 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5743 * lyxfunc.C (dispatch):
5744 * text3.C (dispatch): pass name to params2string.
5746 2003-02-26 Angus Leeming <leeming@lyx.org>
5748 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5750 Rearrange the ~includes. Strip out the unnecessary ones.
5752 * factory.C (createInset): reformat.
5753 create new insets for the various LFUN_XYZ_APPLY lfuns.
5755 2003-02-26 John Levon <levon@movementarian.org>
5758 * lyxrow.C: add isParStart,isParEnd helpers
5760 * paragraph.h: make isInserted/DeletedText take refs
5762 * paragraph_funcs.h:
5763 * paragraph_funcs.C: remove #if 0'd code
5768 * text.C: use lyxrow helpers above.
5769 Move draw and paint routines to RowPainter.
5770 Make several methods use refs not pointers.
5771 Make backgroundColor() const.
5772 Add markChangeInDraw(), isInInset().
5773 Merge changeRegionCase into changeCase.
5774 Make workWidth() shouldn't-happen code into an Assert.
5777 * rowpainter.C: new class for painting a row.
5780 * vspace.C: make inPixels take a ref
5782 2003-02-26 Angus Leeming <leeming@lyx.org>
5784 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5787 2003-02-25 John Levon <levon@movementarian.org>
5789 * ispell.C: give the forked command a more accurate name
5791 2003-02-22 John Levon <levon@movementarian.org>
5794 * toc.C: make TocItem store an id not a Paragraph *
5797 2003-02-21 Angus Leeming <leeming@lyx.org>
5799 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5800 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5801 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5802 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5803 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5804 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5806 * BufferView_pimpl.C (dispatch):
5807 * LyXAction.C (init):
5808 * factory.C (createInset):
5809 * lyxfunc.C (getStatus, dispatch):
5810 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5812 2003-02-21 Angus Leeming <leeming@lyx.org>
5814 * BufferView_pimpl.C (MenuInsertLyXFile):
5815 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5816 * lyxfunc.C (menuNew, open, doImport):
5817 no longer pass a LyXView & to fileDlg.
5819 2003-02-21 Angus Leeming <leeming@lyx.org>
5821 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5822 * LyXAction.C: change, BIBKEY to BIBITEM.
5823 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5824 Change InsetBibKey to InsetBibitem.
5825 Change BIBKEY_CODE to BIBITEM_CODE.
5826 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5827 * factory.C: replace insetbib.h with insetbibitem.h.
5828 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5829 * paragraph.C: replace insetbib.h with insetbibitem.h.
5830 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5831 Change bibkey() to bibitem().
5832 * text.C: remove insetbib.h.
5833 * text2.C: replace insetbib.h with insetbibitem.h.
5834 change bibkey() to bibitem().
5835 * text3.C: remove insetbib.h.
5836 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5838 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5840 * lyxrc.C (output): enclose user email in quotes (in case there are
5843 2003-02-18 John Levon <levon@movementarian.org>
5845 * buffer.h: add std::
5847 2003-02-17 John Levon <levon@movementarian.org>
5853 * pspell.C: reworking. Especially in ispell, a large
5854 number of clean ups and bug fixes.
5856 * lyxfunc.C: fix revert to behave sensibly
5858 2003-02-17 André Pönitz <poenitz@gmx.net>
5861 * commandtags.h: new LFUN_INSERT_BIBKEY
5871 * paragraph_func.C: remove special bibkey handling
5873 2003-02-17 John Levon <levon@movementarian.org>
5875 * text.C (Delete): fix case where delete at the end of
5876 the very first paragraph would not merge the pars
5878 2003-02-17 John Levon <levon@movementarian.org>
5880 * lyxrow.C: fix lastPrintablePos()
5882 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5884 * bufferparams.C (writeLaTeX): add a std:here
5886 * buffer.C: and remove a using directive there
5888 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5890 * buffer.C (makeLaTeXFile): move the code that generates the
5893 * bufferparams.C (writeLaTeX): ... in this new method
5895 * LaTeXFeatures.C (getEncodingSet): make const
5896 (getLanguages): make const
5898 * MenuBackend.C (binding): returns the binding associated to this
5900 (add): sets the status of each item by calling getStatus. Adds
5902 (read): add support for OptSubMenu
5903 (expand): remove extra separator at the end of expanded menu
5905 2003-02-15 John Levon <levon@movementarian.org>
5908 * BufferView_pimpl.C:
5910 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5911 inset code that had no actual effect. Remove unneeded status
5914 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5916 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5919 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5921 * text.C (drawLengthMarker): also draw an arrow marker for
5922 symbolic lengths (medskip...)
5924 2003-02-14 John Levon <levon@movementarian.org>
5927 * tabular.C: better method names
5929 2003-02-14 John Levon <levon@movementarian.org>
5931 * BufferView_pimpl.C:
5936 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5937 it's a more accurate name. Remove some pointless uses.
5939 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5941 * text2.C (LyXText): change order of initilizers to shut off
5944 2003-02-14 John Levon <levon@movementarian.org>
5946 * buffer.C: use ParIterator for getParFromID()
5950 * paragraph_pimpl.h:
5951 * paragraph_pimpl.C: remove unused getParFromID()
5953 2003-02-14 John Levon <levon@movementarian.org>
5955 * buffer.C: remove some very old #if 0'd parse code
5957 2003-02-13 John Levon <levon@movementarian.org>
5961 * text2.C: move hfillExpansion(), numberOfSeparators(),
5962 rowLast(), rowLastPrintable(), numberofHfills(),
5963 numberOfLabelHfills() ...
5966 * lyxrow.C: ... to member functions here.
5971 * text.C: remove LyXText::beginningOfMainBody(), and call
5972 p->beginningOfMainBody() directly. Move the check for
5973 LABEL_MANUAL into the latter.
5980 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5986 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5987 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5989 2003-02-13 John Levon <levon@movementarian.org>
5991 * CutAndPaste.C: remove debug
5993 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5995 * paragraph.C (asString): remove two unused variables
5997 * lyxtextclass.C (readTitleType):
5999 (LyXTextClass): handle new members titletype_ and titlename_
6001 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6003 2003-02-09 John Levon <levon@movementarian.org>
6006 * buffer.C: replace hand-coded list with a map for the dep clean
6008 2003-02-08 John Levon <levon@movementarian.org>
6010 * LaTeX.C: consolidate code into showRunMessage() helper
6012 2003-02-08 John Levon <levon@movementarian.org>
6017 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6018 and pass the size in explicitly
6020 * BufferView_pimpl.h:
6021 * BufferView_pimpl.C:
6023 * BufferView.C: add getCurrentChange()
6025 * BufferView_pimpl.h:
6026 * BufferView_pimpl.C: handle change lfuns
6028 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6029 for changes. Mark pasted paragraphs as new.
6031 * support/lyxtime.h:
6032 * support/lyxtime.C:
6033 * DepTable.C: abstract time_t as lyx::time_type
6036 * LColor.C: add colours for new text, deleted text, changebars
6038 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6039 package use "usenames" option.
6043 * LyXAction.C: add change lfuns
6047 * author.C: author handling
6050 * buffer.C: add a per-buffer author list, with first entry as
6051 current author. Handle new .lyx tokens for change tracking. Output
6052 author list to .lyx file. Output dvipost stuff to .tex preamble.
6053 Bump lyx format to 222.
6056 * bufferlist.C: add setCurrentAuthor() to reset current author details
6060 * bufferparams.C: add param for tracking
6062 * bufferview_funcs.C: output change info in minibuffer
6066 * changes.C: add change-tracking structure
6069 * debug.C: add CHANGES debug flag
6072 * lyxfind.C: add code for finding the next change piece
6075 * lyxrc.C: add user_name and user_email
6078 * lyxrow.C: add a metric for the top of the text line
6081 * text.C: implement accept/rejectChange()
6084 * text.C: paint changebars. Paint new/deleted text in the chosen
6085 colours. Strike through deleted text.
6089 * paragraph_pimpl.h:
6090 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6091 in the current change to the insert functions. Rework erase to
6092 mark text as deleted, adding an eraseIntern() and a range-based
6093 erase(). Implement per-paragraph change lookup and
6096 * paragraph_funcs.C: Fixup paste for change tracking.
6098 * tabular.C: mark added row/columns as new.
6100 * text.C: fix rowLast() to never return -1. Don't allow
6101 spellchecking of deleted text. Track transpose changes. Don't
6102 allow paragraph break or merge where appropriate.
6104 * text2.C: leave cursor at end of selection after a cut.
6106 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6108 * text.C (getLengthMarkerHeight):
6109 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6110 visible on screen too.
6112 2003-02-07 John Levon <levon@movementarian.org>
6114 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6116 2003-02-05 Angus Leeming <leeming@lyx.org>
6118 * lyxserver.C (read_ready): revert my patch of 11 September last year
6119 as it sends PC cpu through the roof. Presumably this means that
6120 the lyxserver will no longer run on an Alpha...
6122 2003-01-30 Angus Leeming <leeming@lyx.org>
6124 * factory.C (createInset): create an InsetCommandParam of type "index"
6125 and use it to 'do the right thing'.
6127 * text2.C (getStringToIndex): ensure that cursor position is always
6128 reset to the reset_cursor position.
6130 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6132 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6135 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6139 * lyxfunc.C: Output messages with identical spelling, punctuation,
6142 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6144 * MenuBackend.C (expandFormats): List only viewable export formats
6147 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6150 * lyxfunc.C (getStatus): Make sure that formats other than
6151 "fax" can also be disabled
6153 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6155 * text3.C (dispatch): put the lfuns that insert insets in 3
6156 groups, and call doInsertInset with appropriate arguments.
6157 (doInsertInset): new function, that creates an inset and inserts
6158 it according to some boolean parameters.
6160 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6162 * buffer.C (readFile): remember to pass on 'par' when calling
6163 readFile recursively.
6165 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6167 * MenuBackend.C (expandFormats): add "..." to import formats.
6169 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6171 * paragraph.C (asString): Remove XForms RTL hacks.
6173 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6174 * buffer.C: fix typo
6176 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6178 * Makefile.am (LIBS): delete var
6179 (lyx_LDADD): add @LIBS@ here instead.
6181 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6183 * Clarify the meaning of "wheel mouse jump"
6185 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6187 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6190 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6192 * importer.C (Loaders): do not preallocate 3 elements in the
6193 vector, since one ends up with 6 elements otherwise
6195 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6197 * DepTable.C (write): write the file name as last element of the
6198 .dep file (because it may contain spaces)
6199 (read): read info in the right order
6201 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6203 * paragraph_pimpl.C (simpleTeXBlanks):
6204 (simpleTeXSpecialChars):
6205 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6207 * tabular.C (latex): add some missing case statements. Reindent.
6209 * MenuBackend.C (expandToc): remove unused variable.
6211 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6220 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6223 2003-01-05 John Levon <levon@movementarian.org>
6226 * BufferView.C: add getEncoding()
6229 * kbsequence.C: do not store last keypress
6232 * lyxfunc.C: store last keypress here instead. Pass encoding
6235 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6237 * lyx_main.C (init): remove annoying error message when following
6238 symbolic links (bug #780)
6240 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6242 * text.C (insertChar):
6243 * lyxrc.C (getDescription): remove extra spaces
6245 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6247 * lyxrc.C (getDescription): remove extra spaces
6249 2002-12-20 John Levon <levon@movementarian.org>
6251 * text3.C: hack fix for page up/down across tall rows
6253 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6255 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6258 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6260 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6261 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6262 thesaurus is not compiled in
6264 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6266 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6268 2002-12-16 Angus Leeming <leeming@lyx.org>
6271 * lyx_main.C (init): remove override_x_deadkeys stuff.
6273 2002-12-12 John Levon <levon@movementarian.org>
6275 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6276 insert. Only remove shift modifier under strict
6279 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6281 * MenuBackend.C (expandToc): fix crash.
6283 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6285 * MenuBackend.C (expandToc): gettext on float names.
6287 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6289 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6290 implement bool empty() [bug 490]
6292 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6294 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6296 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6298 * several files: ws changes
6300 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6302 * text2.C (setCounter): clean up a bit, use boost.format.
6303 (updateCounters): initialize par upon declaration.
6305 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6306 if the layout exists. We do not just store the layout any more.
6307 (SwitchLayoutsBetweenClasses): use boost.format
6309 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6311 * converter.C (convert): if from and to files are the same, use a
6312 temporary files as intermediary
6314 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6317 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6319 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6321 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6323 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6325 * tabular.C (asciiPrintCell): use string(size, char) instead of
6328 * sgml.C (openTag): fix order of arguments to string constructor
6331 * lyxfunc.C (dispatch): use boost.format
6333 * lots of files: change "c" -> 'c'
6335 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6337 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6339 2002-11-25 Angus Leeming <leeming@lyx.org>
6341 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6343 * lyx_main.C (init): compile fix.
6345 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6347 * lyx_cb.C (start): boost.formatify
6348 do not include <iostream>
6350 * lengthcommon.C: ws only
6352 * boost-inst.C,BoostFormat.h: add more explict instantations
6354 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6356 * lots of files: handle USE_BOOST_FORMAT
6358 2002-11-21 John Levon <levon@movementarian.org>
6360 * pspell.C: fix compile
6362 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6364 * lyxfunc.C (dispatch): use boost::format
6368 * lyxfont.C (stateText): use boost::format
6370 * lyx_main.C (LyX): use boost::format
6372 (queryUserLyXDir): ditto
6375 (typedef boost::function): use the recommened syntax.
6377 * importer.C (Import): use boost::format
6379 * debug.C (showLevel): use boost::format
6381 * converter.C (view): use boost::format
6386 * bufferview_funcs.C (currentState): use boost::format
6388 * bufferlist.C (emergencyWrite): use boost::format
6390 * buffer.C (readLyXformat2): use boost::format
6391 (parseSingleLyXformat2Token): ditto
6393 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6395 * LaTeX.C (run): use boost::format
6397 * Chktex.C (scanLogFile): use boost::format
6399 * BufferView_pimpl.C (savePosition): use boost::format
6400 (restorePosition): ditto
6401 (MenuInsertLyXFile): ditto
6403 * BoostFormat.h: help file for explicit instation.
6405 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6407 * tabular.C (latex): Support for block alignment in fixed width
6410 2002-11-17 John Levon <levon@movementarian.org>
6412 * BufferView_pimpl.C:
6414 * lyxfunc.C: split filedialog into open/save
6416 2002-11-08 Juergen Vigna <jug@sad.it>
6418 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6419 by my last patch (hopefully).
6421 2002-11-08 John Levon <levon@movementarian.org>
6430 * toc.C: ParConstIterator, and use it (from Lars)
6432 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6434 * lyxtextclass.[Ch]: revise and add doxygen comments
6436 2002-11-07 John Levon <levon@movementarian.org>
6438 * text.C: fix progress value for spellchecker
6440 * toc.C: fix navigate menu for insetwrap inside minipage
6442 * paragraph_funcs.C: added FIXME for suspect code
6444 2002-11-07 John Levon <levon@movementarian.org>
6446 * BufferView_pimpl.C: fix redrawing of insets
6449 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6451 * text2.C (updateCounters): fix bug 668
6453 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6455 * text3.C (dispatch): Do not make the buffer dirty when moving the
6458 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6460 * vc-backend.C: STRCONV
6463 * text2.C (setCounter): STRCONV
6465 * paragraph.C (asString): STRCONV
6467 * lyxlength.C (asString): STRCONV
6468 (asLatexString): ditto
6470 * lyxgluelength.C (asString): STRCONV
6471 (asLatexString): ditto
6473 * lyxfunc.C (dispatch): STRCONV
6476 * lyxfont.C (stateText): STRCONV
6478 * importer.C (Import): STRCONV
6480 * counters.C (labelItem): STRCONV
6481 (numberLabel): ditto
6482 (numberLabel): remove unused ostringstream o
6487 * bufferview_funcs.C (currentState): STRCONV
6489 * buffer.C (readFile): STRCONV
6490 (asciiParagraph): ditto
6491 (makeLaTeXFile): ditto
6493 * Spacing.C (writeEnvirBegin): STRCONV
6495 * LaTeXFeatures.C (getLanguages): STRCONV
6496 (getPackages): ditto
6498 (getBabelOptions): ditto
6499 (getTClassPreamble): ditto
6500 (getLyXSGMLEntities): ditto
6501 (getIncludedFiles): ditto
6505 (scanAuxFile): ditto
6508 * LString.h: add the STRCONV macros
6510 * BufferView_pimpl.C (savePosition): STRCONV
6511 (restorePosition): ditto
6512 (MenuInsertLyXFile): ditto
6514 * vc-backend.C (scanMaster): change from submatch[...] to
6517 * funcrequest.C: include config.h
6519 * factory.C: include config.h
6521 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6523 * box.C: include config.h
6525 * LaTeX.C (scanAuxFile): change from submatch[...] to
6529 2002-10-25 Angus Leeming <leeming@lyx.org>
6531 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6533 * ispell.[Ch] (setError): new method.
6534 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6535 Use setError() insetead of goto END.
6537 * lyx_cb.C (AutoSave): move out child process into new class
6540 2002-10-30 John Levon <levon@movementarian.org>
6542 * text3.C: make start appendix undoable
6544 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6546 * lyxlength.C (inPixels): Fix returned value.
6548 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6551 2002-10-24 Angus Leeming <leeming@lyx.org>
6553 * lyxgluelength.h: no need to forward declare BufferParams
6554 or BufferView, so don't.
6556 2002-10-21 John Levon <levon@movementarian.org>
6558 * BufferView.C: menuUndo ->undo, redo
6560 * BufferView.h: document, remove dead, make some methods private
6562 * paragraph_funcs.h:
6563 * paragraph_funcs.C:
6564 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6569 * sgml.C: move sgml open/close tag into sgml.C
6571 * bufferview_funcs.h: unused prototype
6574 * lyxfunc.C: remove unused
6577 * text.C: remove unused
6579 2002-10-21 John Levon <levon@movementarian.org>
6583 * BufferView_pimpl.h:
6584 * BufferView_pimpl.C: fix mouse wheel handling based on
6585 patch from Darren Freeman
6587 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6589 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6591 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6593 * lyxlength.C (inPixels): Fix hanfling of negative length.
6594 Fix LyXLength::MU case.
6596 2002-10-16 John Levon <levon@movementarian.org>
6598 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6600 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6602 * converter.C (view): add support for $$i (file name) and $$p
6603 (file path) for the viewer command. If $$i is not specified, then
6604 it is appended to the command (for compatibility with old syntax)
6606 2002-10-14 Juergen Vigna <jug@sad.it>
6608 * undo_funcs.C (textHandleUndo): alter the order in which the
6609 new undopar is added to the LyXText, as we have to set first
6610 the right prev/next and then add it as otherwise the rebuild of
6611 LyXText is not correct. Also reset the cursor to the right paragraph,
6612 with this IMO we could remove the hack in "redoParagraphs()".
6614 2002-10-09 Angus Leeming <leeming@lyx.org>
6616 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6617 to turn off an optimisation if a new inset is to be inserted.
6619 2002-10-11 André Pönitz <poenitz@gmx.net>
6621 * lyxtext.h: make some functions public to allow access
6622 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6624 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6626 * text3.C (dispatch): when changing layout, avoid an infinite loop
6629 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6631 * lyxrc.C (read): treat a viewer or converter command of "none" as
6634 * MenuBackend.C (expandFormats): for an update, also allow the
6635 formats that are not viewable
6637 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6638 script if it is newer than the lyxrc.defaults in user directory
6640 2002-10-07 André Pönitz <poenitz@gmx.net>
6642 * text.C: Vitaly Lipatov's small i18n fix
6644 2002-09-25 Angus Leeming <leeming@lyx.org>
6646 * ispell.h: doxygen fix.
6648 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6650 * buffer.h (readFile): Add a new argument to the method, to allow
6651 reading of old-format templates.
6653 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6655 * toc.C (getTocList): Get TOC from InsetWrap.
6657 2002-09-16 John Levon <levon@movementarian.org>
6659 * lyxfunc.C: check tabular for cut/copy too
6661 2002-09-12 John Levon <levon@movementarian.org>
6666 * factory.C: add header
6668 * paragraph_funcs.h:
6669 * paragraph_funcs.C: cleanup
6671 2002-09-11 John Levon <levon@movementarian.org>
6673 * PrinterParams.h: odd/even default to true
6675 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6677 * PrinterParams.h: update printer parameters for new xforms dialog
6679 2002-09-11 Angus Leeming <leeming@lyx.org>
6681 * lyxserver.C (read_ready): re-write to make it more transparent
6682 and to make it work in coherent fashion under Tru64 Unix.
6684 2002-09-11 André Pönitz <poenitz@gmx.net>
6688 * text3.C: implement LFUN_WORDSEL
6690 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6692 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6693 make floatlist_ a boost::shared_ptr<FloatList>
6695 * lyxtextclass.C: include FloatList.h
6696 (LyXTextClass): initialize floatlist_
6697 (TextClassTags): add TC_NOFLOAT
6698 (Read): match "nofloat" to TC_NOFLOAT and use it.
6699 (readFloat): modify call to floatlist_
6703 * FloatList.[Ch] (FloatList): remove commented out float
6705 (erase): new function
6707 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6709 * MenuBackend.C (expandToc): fix crash when there is no document
6712 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6714 * many files: Add insetwrap.
6716 2002-09-09 John Levon <levon@movementarian.org>
6718 * text2.C: remove confusing and awkward depth wraparound
6720 2002-09-09 John Levon <levon@movementarian.org>
6722 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6725 * buffer.C: remove getIncludeonlyList()
6728 * lyxfunc.C: remove headers
6730 2002-09-09 Juergen Vigna <jug@sad.it>
6732 * text.C (getColumnNearX): fix form Michael this is most
6733 probably a cut&paste bug.
6735 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6737 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6739 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6740 references, ws changes.
6742 * text2.C (init): update counters after init
6743 (insertParagraph): no need to set counter on idividual paragraphs.
6744 (setCounter): access the counters object in the textclass object
6745 on in the buffer object.
6746 (updateCounters): ditto
6748 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6749 shared_ptr<Counters> to avoid loading counters.h in all
6751 (LyXTextClass): initialize ctrs_
6752 (TextClassTags): add TC_COUNTER, and ...
6753 (Read): use it here.
6754 (CounterTags): new tags
6755 (readCounter): new function
6756 (counters): new funtion
6757 (defaultLayoutName): return a const reference
6759 * counters.C (Counters): remove contructor
6760 (newCounter): remove a couple of unneeded statements.
6761 (newCounter): simplify a bit.
6762 (numberLabel): some small formatting changes.
6764 * buffer.[Ch]: remove all traces of counters, move the Counters
6765 object to the LyXTextClass.
6767 2002-09-06 Alain Castera <castera@in2p3.fr>
6769 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6770 package to set the horizontal alignment on fixed width columns.
6773 * lyx_sty.h: added tabularnewline macro def.
6775 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6777 2002-09-06 John Levon <levon@movementarian.org>
6779 * LyXAction.C: tooltips for sub/superscript
6781 * MenuBackend.C: a bit more verbose
6783 * lyxfunc.C: tiny clean
6785 * undo_funcs.C: document undo_frozen
6787 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6789 * counters.C (Counters): add missing algorithm counter.
6791 * text2.C (setCounter): lookup the counter with layouts latexname
6792 instead of by section number.
6793 (setCounter): use a hackish way to lookup the correct enum
6795 a float name->type change
6796 reset enum couners with counter name directly instead of depth value.
6798 * counters.C (Counters): remove the push_backs, change to use the
6799 float type not the float name.
6800 (labelItem): remove unused string, float name->type change
6802 * counters.h: don't include vector, loose the enums and sects vectors
6804 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6806 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6807 (Read): add float->TC_FLOAT to textclassTags
6808 (Read): and handle it in the switch
6809 (readFloat): new function
6811 * FloatList.C (FloatList): comment out the hardcoded float
6814 * lyxlayout.h: ws change.
6816 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6818 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6820 2002-09-03 Angus Leeming <leeming@lyx.org>
6822 * BufferView_pimpl.h: qualified name is not allowed in member
6823 declaration: WorkArea & Pimpl::workarea() const;
6825 * factory.C: added using std::endl directive.
6827 * text3.C: added using std::find and std::vector directives.
6829 2002-08-29 André Pönitz <poenitz@gmx.net>
6832 * text2.C: remove unused member number_of_rows
6835 * BufferView2.C: remove file, move contents to...
6836 * BufferView.C: ... here
6838 * BufferView_pimpl.C:
6839 * factory.C: move more inset creation to factory
6841 * vspace.C: avoid direct usage of LyXText, ws changes
6844 don't provide direct access to WorkArea, use two simple
6845 acessors haveSelction() and workHeight() instead
6848 2002-08-29 John Levon <levon@movementarian.org>
6850 * BufferView_pimpl.C (dispatch): do not continue when
6853 2002-08-28 André Pönitz <poenitz@gmx.net>
6855 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6858 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6860 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6862 * buffer.C: increment LYX_FORMAT to 221
6864 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6865 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6867 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6869 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6871 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6873 * factory.C (createInset): use LyXTextClass::floats
6875 * MenuBackend.C (expandFloatListInsert):
6876 (expandFloatInsert):
6879 * text2.C (setCounter):
6881 * LaTeXFeatures.C (useFloat):
6882 (getFloatDefinitions):
6884 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6886 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6887 floatlist_, with accessor floats().
6889 * FloatList.h: remove global FloatList
6891 2002-08-26 André Pönitz <poenitz@gmx.net>
6893 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6897 * BufferView_pimpl.C:
6898 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6900 2002-08-25 John Levon <levon@movementarian.org>
6902 * LyXAction.C: fix margin note description
6904 2002-08-24 John Levon <levon@movementarian.org>
6908 * bufferview_funcs.C:
6910 * undo_funcs.C: cleanups
6912 * lyxfunc.C: disable CUT/COPY when no selection
6914 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6916 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6917 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6919 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6920 Add backward compatibility to "mono", "gray" and "no".
6922 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6924 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6925 (and file_format >= 200).
6927 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6929 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6931 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6933 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6935 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6937 * BufferView_pimpl.C:
6944 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6945 inset and code to make it work with the paragraph code. The inset
6946 can be anywhere in the paragraph, but will only do the expected
6947 thing in LaTeX if the layout file contains the parameter line
6949 (or more generally, a nonzero value) for that layout.
6951 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6953 * paragraph.h: remove the declaration of undefined counters class
6956 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6958 * text2.C (setCounter): fixed enumeration mis-count as reported by
6959 Dr. Richard Hawkins.
6961 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6963 * paragraph_funcs.h: remove some unneeded includes
6965 * text.C (backspace): pasteParagraph now in global scipe
6967 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6968 (pasteSelection): ditto
6970 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6971 * paragraph_funcs.C (pasteParagraph): ... here
6973 2002-08-20 André Pönitz <poenitz@gmx.net>
6975 * commandtags.h: new LFUNs for swapping/copying table row/colums
6978 * lyxfunc.C: support for new lfuns
6980 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6983 * buffer.[Ch]: remove NO_COMPABILITY stuff
6985 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6987 * boost.C (throw_exception): new file, with helper function for
6988 boost compiled without exceptions.
6993 * ParameterStruct.h:
6994 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6996 * bufferlist.C (emergencyWriteAll): use boost bind
6998 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7000 * text.C: include paragraph_funcs.h
7001 (breakParagraph): breakParagraph is now in global scope
7003 * paragraph_funcs.[Ch]: new files
7005 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7008 * buffer.C: include paragraph_funcs.h
7009 (insertStringAsLines): breakParagraph is now in global scope
7011 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7014 * CutAndPaste.C: include paragraph_funcs.h
7015 (cutSelection): breakParagraphConservative is now in global scope
7016 (pasteSelection): ditto
7018 * buffer.h: declare oprator== and operator!= for
7019 Buffer::inset_iterator
7021 * bufferlist.C (emergencyWrite): don't use fmt(...)
7023 * text3.C: add using std::endl
7025 * BufferView.C (moveCursorUpdate): remove default arg
7027 2002-08-20 André Pönitz <poenitz@gmx.net>
7029 * buffer.[Ch]: move inline functions to .C
7032 * BufferView_pimpl.C:
7034 * buffer.[Ch]: use improved inset_iterator
7037 * paragraph.[Ch]: write one paragraph at a time
7039 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7041 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7042 style if style is not specified.
7044 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7046 * text2.C (setCounter): when searching for right label for a
7047 caption, make sure to recurse to parent insets (so that a caption
7048 in a minipage in a figure float works) (bug #568)
7050 2002-08-20 André Pönitz <poenitz@gmx.net>
7052 * text3.C: new file for LyXText::dispatch() and helpers
7054 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7056 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7058 2002-08-19 André Pönitz <poenitz@gmx.net>
7061 * text.C: new LyXText::dispatch()
7063 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7065 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7067 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7069 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7072 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7074 * Makefile.am: use $(variables) instead of @substitutions@
7076 2002-08-15 André Pönitz <poenitz@gmx.net>
7079 * BufferView_pimpl.C: streamlining mathed <-> outer world
7083 * LyXAction.C: remove unused LFUN_MATH
7085 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7087 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7089 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7091 * paragraph.C (Paragraph): reformat a bit
7092 (cutIntoMinibuffer): use builtin InsetList function instad of
7096 * buffer.C: include boost/bind.hpp, add using std::for_each
7097 (writeFileAscii): use ParagraphList iterators
7098 (validate): use for_each for validate traversal of paragraphs
7099 (getBibkeyList): use ParagraphList iterators
7100 (resizeInsets): use for_each to resizeInsetsLyXText for all
7102 (getParFromID): use ParagraphList iterators
7104 * BufferView2.C (lockInset): use paragraph list and iterators
7106 2002-08-14 John Levon <levon@movementarian.org>
7108 * lyxserver.C: remove spurious xforms include
7110 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7112 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7114 2002-08-13 André Pönitz <poenitz@gmx.net>
7117 * lyxfunc.C: further cleaning
7119 2002-08-13 André Pönitz <poenitz@gmx.net>
7121 * funcrequest.h: new constructor
7123 * funcrequest.C: move stuff here from .h
7126 * BufferView_pimpl.C:
7129 * lyxfunc.C: subsequent changes
7131 * lyxfunc.h: new view() member function
7133 * lyxfunc.C: subsequent changes
7135 2002-08-13 Angus Leeming <leeming@lyx.org>
7138 * BufferView_pimpl.C:
7146 changes due to the changed LyXView interface that now returns references
7147 to member variables not pointers.
7149 2002-08-13 Angus Leeming <leeming@lyx.org>
7151 * WordLangTuple (word, lang_code): return references to strings,
7156 * lyxtext.h: forward-declare WordLangTuple.
7161 * text.C: #include "WordLangTuple.h".
7164 * text.C: (selectNextWordToSpellcheck): constify return type.
7166 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7172 * paragraph_pimpl.h:
7175 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7177 Made updateCounter always count from start of buffer, and removed
7178 second argument (par).
7179 Reverted floats number display to '#'. Perhaps I'll try again when the
7180 code base is sanitized a bit.
7182 2002-08-12 Angus Leeming <leeming@lyx.org>
7184 * buffer.[Ch] (getLabelList): constify.
7186 2002-08-07 André Pönitz <poenitz@gmx.net>
7188 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7190 * funcrequest.h: extension to keep mouse (x,y) position
7192 2002-08-12 Juergen Vigna <jug@sad.it>
7194 * BufferView2.C (insertErrors): forbid undo when inserting error
7197 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7199 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7201 * ParagraphList.[Ch]: new files
7203 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7205 * BufferView2.C (lockInset): ParagraphList changes
7208 * bufferlist.C: ditto
7212 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7214 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7215 unused class variable counter_,
7217 * paragraph.[Ch] (getFirstCounter): delete unused function
7219 * counters.C: include LAssert.h
7220 (reset): add a new function with no arg, change other version to
7221 not have def. arg and to not allow empty arg.
7223 * text2.C (setCounter): remove empty arg from call to Counters::reset
7225 2002-08-11 John Levon <levon@movementarian.org>
7227 * Makefile.am: add WordLangTuple.h
7229 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7231 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7232 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7234 * insets/insettext.C: InsetList changes
7236 * graphics/GraphicsSupport.C (operator()): InsetList changes
7238 * toc.C (getTocList): InsetList changes
7240 * paragraph_pimpl.[Ch]: InsetList changes
7242 * paragraph.[Ch]: InsetList changes
7244 * buffer.C (inset_iterator): InsetList changes
7245 (setParagraph): ditto
7246 * buffer.h (inset_iterator): ditto
7247 * iterators.C (operator++): ditto
7248 * iterators.h: ditto
7250 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7252 * InsetList.[Ch]: new files, most InsetList handling moved out of
7255 * BufferView2.C (removeAutoInsets): InsetList changes
7257 (ChangeInsets): ditto
7259 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7261 * paragraph_pimpl.h (empty): new function
7263 * paragraph.[Ch] (empty): new function
7265 * other files: use the new Paragraph::empty function
7267 2002-08-09 John Levon <levon@movementarian.org>
7269 * lyxtext.h: remove unused refresh_height
7271 2002-08-09 John Levon <levon@movementarian.org>
7278 * paragraph.C: move sgml char escaping out of paragraph
7281 * paragraph.C: remove id setter
7285 * paragraph_pimpl.C: remove dead tex_code_break_column
7287 * bufferview_funcs.C: small cleanup
7289 * lyxfunc.C: remove dead proto
7291 * lyxtext.h: make some stuff private. Remove some dead stuff.
7293 * lyxgluelength.C: make as[LyX]String() readable
7295 2002-08-08 John Levon <levon@movementarian.org>
7300 * ToolbarDefaults.C:
7303 * toc.C: lyxaction cleanup
7305 2002-08-08 John Levon <levon@movementarian.org>
7307 * BufferView2.C: small cleanup
7310 * lyxfind.C: move unnecessary header into the .C
7312 2002-08-08 John Levon <levon@movementarian.org>
7314 * funcrequest.h: just tedious nonsense
7317 * lyx_main.C: cleanups
7320 * vspace.C: remove dead header lyx_main.h
7322 2002-08-07 Angus Leeming <leeming@lyx.org>
7325 * paragraph_pimpl.h:
7326 Forward declare class Counters in paragraph.h by moving the ctrs member
7327 variable into Paragraph::Pimpl.
7328 (counters): new method, returning a reference to pimpl_->ctrs.
7330 * text2.C: ensuing changes.
7332 2002-08-07 John Levon <levon@movementarian.org>
7334 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7336 * BufferView_pimpl.C: announce X selection on double/triple
7339 * lyx_main.C: use correct bool in batch dispatch
7341 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7343 2002-08-07 André Pönitz <poenitz@gmx.net>
7345 * funcrequest.h: new class to wrap a kb_action and its argument
7348 * BufferView_pimpl[Ch]:
7352 * lyxrc.C: subsequent changes
7355 2002-08-07 John Levon <levon@movementarian.org>
7357 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7358 document options change.
7360 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7365 * makefile.am: move counters functionality over from
7366 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7368 2002-08-06 John Levon <levon@movementarian.org>
7370 * WordLangTuple.h: new file for word + language code tuple
7381 * BufferView2.C: use WordLangTuple
7384 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7386 2002-08-06 John Levon <levon@movementarian.org>
7388 * lyx_main.C: fix cmdline batch handling
7390 2002-08-06 André Pönitz <poenitz@gmx.net>
7392 * lyxrc.C: set default for show_banner to true
7394 2002-08-06 John Levon <levon@movementarian.org>
7396 * pspell.C: fix a crash, and allow new aspell to work
7398 2002-08-06 John Levon <levon@movementarian.org>
7401 * kbmap.C: small cleanup
7404 * vspace.C: add const
7406 2002-08-05 John Levon <levon@movementarian.org>
7408 * LyXAction.C: back to tabular-insert
7410 2002-08-04 John Levon <levon@movementarian.org>
7413 * BufferView.C: cosmetic change
7415 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7425 * BufferView2.C: purge all "Lyx" not "LyX" strings
7428 * lyxcursor.C: attempt to add some documentation
7433 * ToolbarDefaults.C:
7434 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7435 merge with LFUN_TABULAR_INSERT
7442 * pspell.C: split up i/pspell implementations into separate
7443 files, many cleanups
7445 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7447 * text2.C: some cleanup
7449 * lyxfunc.C: don't check for isp_command == "none" any more, it
7450 didn't make any sense
7452 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7457 * makefile.am: move counters functionality over
7458 from text2.C/paragraph.[Ch] to counters.[Ch], and
7460 2002-08-02 John Levon <levon@movementarian.org>
7462 * buffer.C: s/lyxconvert/lyx2lyx/
7464 2002-08-02 Angus Leeming <leeming@lyx.org>
7466 * lyxlex.C: revert John's change as it breaks reading of the user
7469 2002-08-02 Angus Leeming <leeming@lyx.org>
7471 * importer.C (Import):
7472 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7473 changes due to LyXView::view() now returning a boost::shared_ptr.
7475 2002-08-02 John Levon <levon@movementarian.org>
7477 * lyxlex.C: small cleanup
7479 2002-08-02 John Levon <levon@movementarian.org>
7481 * text2.C (status): small cleanup, no logic change
7483 2002-08-01 John Levon <levon@movementarian.org>
7486 * buffer.C (writeFile): don't output alerts, caller
7490 * lyx_cb.C: from above
7492 * lyxfunc.C: allow to open non-existent files
7494 2002-07-31 John Levon <levon@movementarian.org>
7496 * lyxserver.C: don't let incidental errors get
7499 2002-07-30 John Levon <levon@movementarian.org>
7501 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7503 2002-07-30 John Levon <levon@movementarian.org>
7506 * lyxserver.C: remove I/O callback too
7508 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7510 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7513 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7515 * many files: strip,frontStrip -> trim,ltrim,rtrim
7517 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7519 * PrinterParams.h: remove extern containsOnly, and include
7520 support/lstrings.h instead.
7522 * LaTeX.C (scanAuxFile): modify because of strip changes
7524 * buffer.C (makeLaTeXFile): ditto
7525 * bufferparams.C (writeFile): ditt
7526 * lyxfont.C (stateText): ditto
7527 * lyxserver.C (read_ready): ditto
7528 * vc-backend.C (scanMaster): ditto
7530 * BufferView_pimpl.h: ws changes
7532 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7534 2002-07-26 André Pönitz <poenitz@gmx.net>
7536 * kb_sequence.C: remove unnedred usings
7538 2002-07-26 Juergen Vigna <jug@sad.it>
7540 * lyxfind.C (LyXReplace): we have to check better if the returned
7541 text is not of theLockingInset()->getLockingInset().
7543 2002-07-25 Juergen Vigna <jug@sad.it>
7545 * lyxfind.C (LyXReplace): don't replace if we don't get the
7548 * undo_funcs.C (createUndo): remove debugging code.
7550 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7552 * buffer.C (parseSingleLyXformat2Token): Use default placement
7553 when reading old floats.
7555 * FloatList.C (FloatList): Change the default placement of figure
7556 and tables to "tbp".
7558 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7560 * MenuBackend.C: using std::max
7562 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7564 * MenuBackend.C (expandToc):
7565 (expandToc2): code moved from xforms menu frontend. It is now
7566 generic and TOCs are transparent to menu frontends.
7568 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7570 * toc.C (getTocList): protect against buf=0
7572 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7573 Menu as first parameter. Now, this calls itself recursively to
7574 expand a whole tree (this will be useful for TOC handling)
7575 (expandFloatInsert): remove 'wide' version of floats
7577 * MenuBackend.h (submenuname): returns the name of the submenu.
7578 (submenu): returns the submenu itself, provided it has been
7579 created by MenuBackend::expand
7581 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7583 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7584 insets which have noFontChange == true. (bug #172)
7586 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7588 * BufferView_pimpl.C: add connection objects and use them...
7591 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7593 * MenuBackend.C (expandLastfiles):
7596 (expandFloatListInsert):
7597 (expandFloatInsert):
7598 (expand): split expand in parts
7600 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7602 * lyx_gui.C: use lyx_gui::exit()
7604 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7606 * LyXAction.C: show the failing pseudo action
7608 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7610 * buffer.C (readFile): Run the lyxconvert script in order to read
7613 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7617 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7619 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7623 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7625 2002-07-22 Herbert Voss <voss@lyx.org>
7628 * lyxlength.[Ch]: add support for the vertical lengths
7630 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7632 * toc.[Ch]: std:: fixes
7634 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7636 * lyxrc.C: do not include lyx_main.h
7638 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7644 * BufferView2.C: include "lyxlex.h"
7647 * bufferparams.h: do not #include "lyxlex.h"
7649 * lyxtextclasslist.C (Add): remove method
7650 (classlist): renamed to classlist_
7652 * paragraph_pimpl.C:
7656 * bufferview_funcs.C:
7661 * toc.C (getTocList): use BufferParams::getLyXTextClass
7663 * toc.C (getTocList): use InsetFloat::addToToc
7665 * toc.[Ch]: new files, containing helper functions to handle table
7668 * lyxfunc.C (dispatch): no need to remove spaces around command
7670 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7671 first command of the sequence; it is not very clever, but I do not
7672 have a better idea, actually
7674 * LyXAction.C (LookupFunc): make sure to remove space at the
7675 beginning and end of the command
7677 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7679 * MenuBackend.C (getMenubar): new method: return the menubar of
7681 (read): treat differently reading of menu and menubar (in
7682 particular, the menubar has no name now)
7683 (Menu::menubar): remove
7685 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7688 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7690 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7691 a bibitem inset in a RTL paragraph.
7693 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7695 * paragraph_pimpl.C: constify
7697 * BufferView_pimpl.C:
7699 * lyxfunc.C: fix dispatch in a nicer way
7701 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7703 * lyxfunc.C (dispatch):
7704 * BufferView_pimpl.C:
7705 * BufferView_pimpl.h:
7707 * BufferView.h: rename Dispatch() to dispatch()
7709 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7711 * lyxlayout.C (Read): honor DependsOn tag
7713 * lyxlayout.[Ch] (depends_on): new method
7715 * version.C.in: update lyx_docversion
7717 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7719 * paragraph.C (validate): remove from here...
7720 * paragraph_pimpl.C (validate): ... and move here
7721 (isTextAt): make it const
7723 * buffer.C (getLists): ws cleanup
7725 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7727 * language.C (read): Use iso8859-1 encoding in latex_lang
7728 (this prevents LyX from crashing when using iso10646-1 encoding).
7730 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7732 * text2.C (toggleInset): if cursor is inside an inset, close the
7733 inset and leave cursor _after_ it
7735 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7737 * lyxfunc.C: move minibuffer completion handling out of here
7739 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7741 * BufferView_pimpl.C:
7742 * LaTeX.C: fix dispatch calls
7744 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7746 * text.C (drawChars): Fix Arabic text rendering.
7748 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7752 * lyxfunc.C: remove message-push/pop
7756 * lyxfunc.C: rationalise some code by removing verboseDispatch
7757 in favour of a bool argument to dispatch()
7759 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7761 * lyx_main.C (init): make sure to read symlinks as absolute paths
7763 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7766 * lyxfunc.C: no need for commandshortcut to be a member
7768 2002-07-15 André Pönitz <poenitz@gmx.net>
7770 * converter.C: add support for $$s (scripts from lib/scripts dir)
7771 * lyx_main.C: white space
7773 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7777 * lyxrc.C: remove second exit confirmation
7779 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7784 * BufferView_pimpl.h:
7785 * BufferView_pimpl.C:
7786 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7788 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7790 * MenuBackend.C (expand): add numeric shortcuts to document menu
7792 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7794 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7796 * lyxfont.C (setLyXFamily):
7803 * buffer.C (asciiParagraph): use ascii_lowercase
7805 2002-07-15 Mike Fabian <mfabian@suse.de>
7807 * lyxlex_pimpl.C (search_kw):
7808 * lyxlex.C (getLongString):
7809 * converter.h (operator<):
7810 * converter.C (operator<):
7811 * buffer.C (parseSingleLyXformat2Token):
7813 * ToolbarDefaults.C (read):
7814 * MenuBackend.C (checkShortcuts):
7816 * LColor.C (getFromGUIName):
7817 (getFromLyXName): use the compare_ascii_no_case instead of
7818 compare_no_case, because in turkish, 'i' is not the lowercase
7819 version of 'I', and thus turkish locale breaks parsing of tags.
7821 2002-07-16 Angus Leeming <leeming@lyx.org>
7823 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7824 now takes a Buffer const & argument.
7826 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7828 * BufferView.C (resize): check there's a buffer to resize
7830 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7832 * lyxfunc.C: remove dead code
7835 * lyxserver.C: use lyx_guii::set_read_callback
7837 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7839 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7840 an inset in a RTL paragraph.
7842 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7844 * lyxfunc.C: repaint after a font size update
7846 2002-07-15 André Pönitz <poenitz@gmx.net>
7848 * lyxlength.C: inBP should be able to return negative values
7850 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7852 * lyxfunc.C: use lyx_gui::update_fonts()
7854 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7856 * lyxfunc.C: use lyx_gui::update_color()
7858 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7864 * lyxrc.C: remove file->new asks for name option, and let
7865 buffer-new take an argument
7867 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7869 * BufferView_pimpl.C: remove unneeded extra repaint()
7871 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7873 * LyXAction.C: allow command-sequence with NoBuffer
7875 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7877 2002-07-10 Angus Leeming <leeming@lyx.org>
7879 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7881 2002-07-09 Angus Leeming <leeming@lyx.org>
7883 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7885 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7887 * lengthcommon.h: whitespace
7889 * lyxfunc.C: update scrollbar after goto paragraph
7891 * lyxtext.h: factor out page break drawing, and fix it so
7892 page break/added space paints as selected nicely
7894 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7896 * BufferView_pimpl.C: add FIXMEs, clean up a little
7898 2002-07-09 André Pönitz <poenitz@gmx.net>
7900 * lyxfont.[Ch]: support for wasy symbols
7902 2002-07-08 André Pönitz <poenitz@gmx.net>
7904 * BufferView_pimpl.C: apply John's patch for #93.
7906 2002-07-05 Angus Leeming <leeming@lyx.org>
7908 * BufferView_pimpl.C (buffer): generate previews if desired.
7910 * LColor.h: add "preview" to the color enum.
7912 * LColor.C (LColor): add a corresponding entry to the items array.
7914 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7917 2002-07-05 Angus Leeming <leeming@lyx.org>
7919 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7920 The body of the code is now in the method that is passed an ostream &
7921 rather than a file name.
7922 Pass an additional only_preamble parameter, useful for the forthcoming
7925 2002-07-03 André Pönitz <poenitz@gmx.net>
7927 * lyxfunc.C: simplify getStatus() a bit for math stuff
7929 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7931 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7933 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7935 * text.C (changeRegionCase): do not change case of all the
7936 document when region ends at paragraph end (bug #461)
7938 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7940 * paragraph.C (startTeXParParams):
7941 (endTeXParParams): add \protect when necessary
7943 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7945 * BufferView_pimpl.C (workAreaExpose): remove warning
7947 2002-06-27 Angus Leeming <leeming@lyx.org>
7949 * Makefile.am: add lyxlayout_ptr_fwd.h.
7951 2002-06-26 André Pönitz <poenitz@gmx.net>
7953 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7955 2002-06-25 Angus Leeming <leeming@lyx.org>
7957 * lyxfunc.C (dispatch): Comment out the call to
7958 grfx::GCache::changeDisplay. The method no longer exists now that the
7959 pixmap generation part of the graphics loader has been moved into
7962 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7964 * text2.C: layout as layout
7966 * text.C: layout as layout
7968 * tabular.C (OldFormatRead): layout as layout
7970 * paragraph_pimpl.C (TeXDeeper): layout as layout
7971 (realizeFont): layout as layout
7973 * paragraph.C (writeFile): layout as layout
7974 (validate): layout as layout
7975 (getFont): layout as layout
7976 (getLabelFont): layout as layout
7977 (getLayoutFont): layout as layout
7978 (breakParagraph): layout as layout
7979 (stripLeadingSpaces): layout as layout
7980 (getEndLabel): layout as layout
7981 (getMaxDepthAfter): layout as layout
7982 (applyLayout): layout as layout
7983 (TeXOnePar): layout as layout
7984 (simpleTeXOnePar): layout as layout
7985 (TeXEnvironment): layout as layout
7986 (layout): layout as layout
7987 (layout): layout as layout
7989 * lyxtextclass.C (compare_name): new functor to work with
7990 shared_ptr, layout as layout
7991 (Read): layout as layout
7992 (hasLayout): layout as layout
7993 (operator): layout as layout
7994 (delete_layout): layout as layout
7995 (defaultLayout): layout as layout
7997 * lyxlayout_ptr_fwd.h: new file
7999 * lyxlayout.C (Read): layout as layout
8001 * lyx_cb.C (MenuInsertLabel): layout as layout
8003 * bufferlist.C (newFile): layout as layout
8005 * buffer.C (readLyXformat2): layout as layout
8006 (parseSingleLyXformat2Token): layout as layout
8007 (insertStringAsLines): layout as layout
8008 (asciiParagraph): layout as layout
8009 (latexParagraphs): layout as layout
8010 (makeLinuxDocFile): layout as layout
8011 (simpleLinuxDocOnePar): layout as layout
8012 (makeDocBookFile): layout as layout
8013 (simpleDocBookOnePar): layout as layout
8014 (getLists): layout as layout
8016 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8018 * CutAndPaste.C (cutSelection): layout as layout
8019 (pasteSelection): layout as layout
8020 (SwitchLayoutsBetweenClasses): layout as layout
8022 * BufferView_pimpl.C (Dispatch): layout as layout
8023 (smartQuote): layout as layout
8025 * BufferView2.C (unlockInset): layout as layout
8027 2002-06-24 André Pönitz <poenitz@gmx.net>
8029 * lyxfunc.C: fix #487
8031 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8035 * lyxfunc.C: remove display_shortcuts, show_banner
8037 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8039 * Buffer_pimpl.C: oops, update on resize
8041 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8048 * BufferView.C: use repaint()
8050 * BufferView_pimpl.h:
8051 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8052 as it's a clearer description. Remove superfluous
8055 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8057 * text.C: fix bug 488. Not ideal, but getting
8058 getWord() to work properly for the insets that
8059 matter is more difficult ...
8061 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8063 * BufferView_pimpl.C:
8066 * lyxfunc.C: remove the six million index lyxfuncs to just
8067 one, and DTRT (bug 458)
8069 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8073 * BufferView_pimpl.h:
8074 * BufferView_pimpl.C: clean up resize() stuff,
8075 and unnecessary updateScreen()s
8077 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8081 * BufferView_pimpl.h:
8082 * BufferView_pimpl.C:
8085 * minibuffer.C: remove focus management of workarea,
8086 not needed. Use screen's greyOut()
8088 2002-06-17 Herbert Voss <voss@lyx.org>
8090 * converter.C: (convert) do not post a message, when converting
8091 fails, let the calling function decide what to do in this case
8093 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8095 * lyxfunc.C: tidy up a little
8097 2002-06-16 <alstrup@diku.dk>
8099 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8100 Got rid of FORMS_H_LOCATION include. Now we are
8103 2002-06-15 LyX Development team <lyx@rilke>
8105 * buffer.[Ch] (sgmlOpenTag):
8106 (sgmlCloseTag): Added support for avoiding pernicious mixed
8107 content. Return number of lines written.
8110 (makeDocBookFile): Fixed calls to sgml*Tag.
8111 Simple white space clean.
8113 (simpleDocBookOnePar): Simple white space clean.
8115 * tabular.[Ch] (docBook): Renamed to docbook and got another
8116 argument to related with the pernicious mixed content.
8118 (docbookRow): Fixed calls for docbook inset method.
8120 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8122 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8123 so it's X11 independent.
8127 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8129 2002-06-15 Lyx Development team <lyx@electronia>
8131 * intl.h: Renamed getTrans to getTransManager.
8133 2002-06-14 Angus Leeming <leeming@lyx.org>
8135 * Makefile.am: nuke forgotten stl_string_fwd.h.
8137 2002-06-12 Angus Leeming <leeming@lyx.org>
8139 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8141 2002-06-13 Angus Leeming <leeming@lyx.org>
8144 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8146 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8148 * kbmap.C (getiso): add support for cyrillic and greek
8150 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8154 * BufferView_pimpl.h:
8155 * BufferView_pimpl.C: move bogus scrolling logic
8158 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8161 * BufferView_pimpl.C: view->resize() change
8163 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8165 * BufferView_pimpl.C: topCursorVisible
8168 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8172 * lyx_gui.C: move to frontends/
8176 * lyx_main.C: changes from above
8178 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8185 * lyx_main.C: minor tidy
8187 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8189 * BufferView_pimpl.h:
8190 * BufferView_pimpl.C:
8192 * BufferView.C: make painter() const,
8195 * BufferView2.C: use screen() accessor
8198 * lyx_main.C: some minor cleanup
8200 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8202 * BufferView_pimpl.h:
8203 * BufferView_pimpl.C: remove enter/leaveView,
8206 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8211 * BufferView_pimpl.h:
8212 * BufferView_pimpl.C: only construct screen once,
8215 * lyxrc.C: remove pointless comment
8217 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8220 * BufferView.C: remove active() and belowMouse()
8222 * BufferView_pimpl.h:
8223 * BufferView_pimpl.C: use workarea() not workarea_,
8224 and make it use a scoped_ptr instead
8226 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8228 * lyx_gui.C: add debug message on BadWindow
8230 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8232 * sp_spell.C: fdopen is not part of the C++ standard.
8234 * paragraph.C (InsetIterator): use >= instead of ==
8236 2002-06-07 Angus Leeming <leeming@lyx.org>
8238 Fixes needed to compile with Compaq cxx 6.5.
8239 * BufferView_pimpl.C:
8246 * lyxtextclasslist.C:
8251 all c-library variables have been moved into namespace std. Wrap
8252 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8257 Add a using std::abs declaration.
8259 * kbmap.h (modifier_pair):
8260 * paragraph.h (InsetTable, InsetList):
8261 * lyxfont.h (FontBits):
8262 type definition made public.
8264 * bufferlist.C (emergencyWriteAll): the compiler complains that
8265 there is more than one possible lyx::class_fun template to choose from.
8266 I re-named the void specialisation as lyx::void_class_fun.
8268 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8270 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8271 the compiler is is unable to find tostr in write_attribute.
8273 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8275 * buffer.C (sgmlError): hide #warning
8277 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8279 * xtl/*: get rid of xtl, which is not in use anyway
8281 * LyXAction.C (init):
8282 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8283 were unimplemented xtl experimentation
8285 2002-06-04 André Pönitz <poenitz@gmx.net>
8287 * lyxfunc.C: disable array operation on simple formulae
8289 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8291 * converter.C: constify a bit
8293 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8295 * lyx_gui.C: check xforms version correctly
8297 2002-04-30 Herbert Voss <voss@lyx.org>
8299 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8302 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8304 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8305 attempt to register it with a VCS)
8307 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8309 * lyx_main.C (init): honor variables LYX_DIR_13x and
8312 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8316 * lyx_main.C: fix a crash on bad command line,
8317 and give a useful exit status on error
8319 * lyxfunc.C (doImport): allow -i lyx to work
8321 2002-03-30 André Pönitz <poenitz@gmx.net>
8323 * lyxfunc.C: mathed font changes
8325 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8340 * trans_mgr.h: srcdocs, and some minor cleanups
8342 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8344 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8345 call getFont all the time)
8347 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8349 * switch from SigC signals to boost::signals
8351 2002-05-29 André Pönitz <poenitz@gmx.net>
8353 * paragraph_pimpl.C (getChar): don't call size() too often...
8355 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8357 * paragraph_pimpl.C (insertChar): do not try to update tables when
8358 appending (pos == size())
8360 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8361 in order to reduce drastically the number of comparisons needed to
8362 parse a large document
8364 2002-05-29 André Pönitz <poenitz@gmx.net>
8370 * textclasslist.[Ch]:
8371 * sp_ispell.h: whitespace change
8373 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8375 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8376 lyxaction directly now.
8378 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8382 * lyxvc.C: remove unused headers
8384 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8391 * undo_funcs.C: some cleanups. Use shared_ptr
8392 and a template for the undo stacks.
8394 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8396 * BufferView_pimpl.h:
8397 * BufferView_pimpl.C:
8404 * text2.C: use key_state/mouse_state
8406 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8408 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8411 * chset.C: change include order
8412 (loadFile): use boost regex and get rid of LRegex and LSubstring
8414 * Makefile.am (BOOST_LIBS): new variable
8417 * LaTeX.C: change include order.
8418 (scanAuxFile): use boost regex and get rid of LRegex and
8422 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8427 * FontInfo.C: moved to frontends/xforms/
8430 * FontLoader.C: moved into frontends for GUIIzation
8435 * lyxfunc.C: changes from above
8437 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8439 * LColor.C: remove spurious X include
8441 * BufferView_pimpl.C:
8446 * text2.C: move font metrics to frontends/
8448 2002-05-24 Juergen Vigna <jug@sad.it>
8450 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8451 setting the undo_cursor.
8453 * ParagraphParameters.h: include local includes first.
8455 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8457 * BufferView_pimpl.C:
8458 * BufferView_pimpl.h:
8462 * screen.C: move WorkArea into frontends/
8468 * BufferView2.C: move LyXScreen into frontends/
8472 * lyx_gui.C: move lyxlookup into frontends/xforms/
8474 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8477 * BufferView_pimpl.C:
8487 * bufferview_funcs.C:
8500 * vc-backend.C: move LyX/XFormsView into frontends/
8502 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8514 * text2.C: move Painter to frontends/
8516 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8518 * buffer.C: comment out some some code that depend upon lyx_format
8521 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8522 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8524 * buffer.h (NO_COMPABILITY): turn off compability
8526 * ColorHandler.C: include scoped_array.hpp
8528 * font.C: Use more specific smart_ptr header.
8531 * ShareContainer.h: ditto
8535 * BufferView_pimpl.h: ditto
8536 * ColorHandler.h: ditto
8538 * kbmap.C (defkey): change call to shared_ptr::reset
8540 2002-05-21 Juergen Vigna <jug@sad.it>
8542 * buffer.C (insertErtContents): fix to insert ert asis if it is
8543 non empty. Skip it completely if it contains only whitespaces.
8545 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8547 * BufferView_pimpl.C:
8548 * BufferView2.C: clear selection on paste (bug 393)
8550 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8552 * DepTable.C: include ctime
8554 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8556 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8558 2002-05-14 Juergen Vigna <jug@sad.it>
8560 * text.C (breakParagraph): fixed function to honor the keepempty
8561 layout in the right maner and also to permit the right breaking
8562 algorithm on empty or non empyt keepempty paragraphs.
8564 * paragraph.C (breakParagraph): we have to check also if the par
8565 is really empty (!size()) for isempty otherwise we do the wrong
8568 2002-05-10 Juergen Vigna <jug@sad.it>
8570 * buffer.[Ch] : The following are only changes to the ert
8571 compatibility read reading old LaTeX layout and font stuff and
8572 convert it to ERTInsets.
8574 * buffer.h: added isErtInset().
8576 * buffer.C (struct ErtComp): add a fromlayout bool to check
8577 if we're inside a LaTeX layout.
8578 (isErtInset): new helper function.
8579 (insertErtContents): look for other ert insets before this one
8580 and insert the contents there, so that we don't have subsequent
8581 ERT insets with nothing between them. This way we create only one
8582 inset with multiple paragraphs. Also check if we don't insert only
8583 spaces ' ' as they are ignored anyway afterwards in the .tex file
8584 so if we have only spaces we will ignore this latex part in the
8586 (parseSingleLyXformat2Token \\layout): better compatibility when
8587 reading layout-latex stuff.
8588 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8590 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8591 stuff after reading the inset only get the information back from
8594 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8596 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8598 * LaTeXFeatures.C (getBabelOptions): New method.
8600 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8602 * BufferView_pimpl.C (Dispatch): work around missing argument for
8605 2002-05-08 Juergen Vigna <jug@sad.it>
8607 * text.C (leftMargin): handle paragraph leftindent.
8609 * paragraph.C (writeFile): write the new \\leftindent tag.
8610 (validate): handle leftindent code.
8611 (TeXEnvironment): handle paragraphleftindent code again.
8613 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8615 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8616 for paragrap_extra indent code and new token \\leftindent.
8617 (latexParagraphs): handle the leftindent as environment.
8619 * ParameterStruct.h: added leftindent support.
8621 * ParagraphParameters.C (leftIndent): added support functions for
8622 the paragraph left indent.
8624 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8627 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8629 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8632 * text.C (computeBidiTables): No bidi in insetERT.
8634 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8637 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8639 * version.C.in: pre 5
8641 2002-05-02 José Matos <jamatos@fep.up.pt>
8642 * buffer.C (makeDocBookFile): white space changes, add newline to
8644 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8646 * tabular.C (docBook): fix typo.
8648 2002-05-03 Juergen Vigna <jug@sad.it>
8650 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8651 change in LyXText as we can not be sure it was not freed.
8652 (drawOneRow): remove unused code.
8654 * text.C (drawInset): redo the calculation of the need_break_row as
8655 it could have a row which was already freed.
8656 (draw): look at the return value of drawInset and return false if
8657 it also returned false.
8658 (paintRowText): look at the return value of draw and return false if
8659 it also returned false.
8661 * lyxtext.h: added bool return type to drawInset() and draw() so that
8662 if we have a change in the row so that the rowbreak has to be redone
8663 we abort drawing as it will be called again.
8665 2002-05-02 Juergen Vigna <jug@sad.it>
8667 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8668 a change in the maintext also if we're inside an inset.
8669 (Dispatch): set the cursor again after a break line and after the
8670 screen has been updated as it could be we're in a different row.
8672 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8673 to set the cursor behind the pargraph with > size().
8674 (setCursor): check also for the same paragraph when checking where
8675 to put the cursor if we have a NFR inset.
8677 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8678 parts of layout read further up as it still was in the wrong
8681 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8683 * screen.C (drawFromTo): change sine fullRebreak always return
8686 * buffer.C (parseSingleLyXformat2Token): reindent some
8688 * BufferView_pimpl.C (update): change since fullRebreak always
8690 (Dispatch): git rid of the last hardcoded "Standard"s.
8692 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8694 * text2.[Ch] (fullRebreak): make it return void now that we always
8697 2002-04-30 Juergen Vigna <jug@sad.it>
8699 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8700 ert compatibility check for "latex" layout.
8702 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8704 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8705 minipages: use col% instead of p%, and also use the current font.
8706 (makeLaTeXFile): Fix use babel condition.
8707 (parseSingleLyXformat2Token): Correct font when reading old floats.
8709 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8711 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8712 inserting list of floats.
8714 2002-04-25 Herbert Voss <voss@lyx.org>
8716 * MenuBackend.C (expand): don't add the graphics extensions to the
8719 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8721 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8722 non-existing layout, do not complain if it was the default layout
8723 of the original class (bug #342)
8725 2002-04-24 Juergen Vigna <jug@sad.it>
8727 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8728 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8730 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8732 * buffer.C (getBibkeyList): If using \bibliography, return the
8733 option field with the reference itself. Enables us to provide natbib
8734 support when using \bibliography.
8736 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8738 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8740 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8741 natbib is provided by the LaTeX class.
8743 2002-04-23 Juergen Vigna <jug@sad.it>
8745 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8748 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8750 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8752 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8754 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8755 ensuremath around textordmasculine, textordfeminine and
8758 2002-04-19 Juergen Vigna <jug@sad.it>
8760 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8761 reinitializing the buffer otherwise row-dimensions may be wrong.
8762 (update): reset also the selection cursors if they do exits otherwise
8763 their x/y positions may be wrong.
8765 * text2.C (cursorDown): don't enter the inset if we came from a row
8766 above and are one row over the inset.
8768 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8769 really leaving an inset.
8771 2002-04-18 Juergen Vigna <jug@sad.it>
8773 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8774 of the selected paragraph does not have the selected layout also if
8777 * text2.C (setLayout): fixed bug which did not change last selected
8780 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8781 changed the read and substituted \\end_float with \\end_inset!
8783 * BufferView_pimpl.C (cursorPrevious):
8784 (cursorNext): fixed to make it work with rows heigher than the work
8785 area without moving the cursor only the draw of the row.
8786 (workAreaMotionNotify): fix jumping over high rows.
8788 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8790 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8793 2002-04-16 Juergen Vigna <jug@sad.it>
8795 * text2.C (setCursor): set also the irow().
8796 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8798 (cursorDown): support for locking an inset if the x_fix value goes
8799 inside it. That way I can transverse insets too with cursor up/down.
8801 * lyxrow.h: added irow helper function same as other (i) functions.
8803 * BufferView_pimpl.C (cursorPrevious):
8804 (cursorNext): fixed for insets!
8806 2002-04-15 Juergen Vigna <jug@sad.it>
8808 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8809 position otherwise it is wrong in some cases.
8811 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8812 inside the inset before the call.
8814 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8816 * buffer.[Ch] (getBibkeyList): make it const.
8818 2002-04-12 Juergen Vigna <jug@sad.it>
8820 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8822 * text2.C (getCursorX): new helper function
8823 (setCursor): compute also ix_
8824 (setCursorFromCoordinates): set also ix.
8826 * lyxcursor.h: added ix_ and helper functions.
8828 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8830 * buffer.C (insertStringAsLines): dont break paragraph if the this
8831 paragraph is inside an inset which does not permit it!
8833 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8834 also with no chars on this paragraph.
8835 (paintRowText): only paint stuff if it's inside the workarea!
8837 * paragraph.C (breakParagraph): honor keepempty flag and break the
8838 paragraph always below not above.
8840 * BufferView2.C (unlockInset): update the paragraph layout on inset
8841 unlock as we changed paragraph in such a case.
8843 * lyxfind.C (LyXFind): clear the former selection if not found!
8845 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8846 again called in insertChar().
8848 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8849 an inset which uses the whole row!
8850 (rightMargin): ditto.
8851 (insertChar): force a rebreak if we inserted an inset!
8853 2002-03-28 Herbert Voss <voss@lyx.org>
8855 * lyxlength.[Ch]: add inBP() to get the right PS-point
8856 units (BigPoint). With inPixels we have rounding errors
8858 2002-04-11 Juergen Vigna <jug@sad.it>
8860 * text2.C (setCursorFromCoordinates): set iy to the right value.
8861 (setCursor): add check if row->previous exists!
8863 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8864 an old float_type as this was the case in the old code!
8866 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8868 * BufferView2.C (showLockedInsetCursor): use iy
8869 (fitLockedInsetCursor): ditto
8871 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8872 locked insets as there we have the right value now.
8874 * lyxcursor.C: added iy_ variable and iy functions to set to the
8875 baseline of cursor-y of the locked inset.
8877 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8878 (setCursor): fixed for insets which need a full row.
8880 * text.C (rowLastPrintable): don't ignore the last space when before
8881 an inset which needs a full row.
8882 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8883 as last character of a row when before a inset which needs a full row.
8885 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8887 * version.C.in: update date
8889 * text2.C (fullRebreak): try to always return true and see what
8892 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8894 * MenuBackend.C (expand): use Floating::listName
8896 * FloatList.C (FloatList): add listName argument to the built-in
8899 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8900 text associated with the float.
8902 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8904 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8906 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8908 * ShareContainer.h: add a couple of missing typenames.
8910 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8912 * lyxrc.C (getDescription): use _() correctly rather than N_().
8914 2002-03-28 Herbert Voss <voss@lyx.org>
8916 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8917 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8919 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8921 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8922 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8924 2002-03-29 Juergen Vigna <jug@sad.it>
8926 * lyxfunc.C (dispatch): add a missing fitCursor call.
8928 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8929 it was scrolled by a cursor move, so return the bool status.
8931 * BufferView.C (fitCursor): return the bool flag also to the outside
8932 world as this is needed.
8934 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8936 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8937 call the edit() as it is not needed (and wrong) IMO.
8938 (workAreaButtonPress): set the screen_first variable before evt.
8939 unlock the inset as this may change screen_first and then we have
8940 a wrong y position for the click!
8942 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8944 * MenuBackend.C (expand): another translation that I missed
8946 2002-03-28 Juergen Vigna <jug@sad.it>
8948 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8950 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8952 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8954 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8956 * MenuBackend.C (expand): fix export/view/update when there is no
8959 2002-03-27 Herbert Voss <voss@lyx.org>
8961 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8964 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8966 * bufferview_funcs.C (currentState): only show paragraph number
8967 for is DEVEL_VERSION is set.
8969 * lyxfunc.C (dispatch): put warning in INFO channel
8971 * MenuBackend.C (expand): translate the name of floats
8973 * FloatList.C (FloatList): mark the float names for translation
8975 * converter.C (convert): use LibScriptSearch
8977 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8979 * MenuBackend.C (defaults): fix default menu (we might as well get
8982 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8984 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8987 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8989 * lyxvc.C: reorder includes.
8991 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8993 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8996 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8998 * CutAndPaste.C: change layouts earlier on paste
8999 to avoid crashing when calling getFont()
9001 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9003 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9006 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9008 * WorkArea.C: remove 'Pending' debug message.
9010 * most files: ws cleanup
9012 * buffer.[Ch]: ws changes
9014 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9016 2002-03-21 Juergen Vigna <jug@sad.it>
9018 * tabular.C (SetMultiColumn): collapse also the contents of the
9019 cells and set the last border right. Added a Buffer const * param.
9021 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9023 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9026 2002-03-19 Juergen Vigna <jug@sad.it>
9028 * text2.C (clearSelection): reset also xsel_cache.
9030 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9031 where it needs to be called (John tells us to do so too :)
9032 (selectionLost): reset sel_cache.
9034 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9036 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9038 * text2.C (setCursorIntern): put debuging code in INSETS channel
9040 2002-03-19 André Pönitz <poenitz@gmx.net>
9042 * lyxfunc.C: tiny whitespace change
9044 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9046 * ToolbarDefaults.C (init):
9047 * LyXAction.C (init):
9049 * BufferView_pimpl.C (Dispatch):
9050 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9052 2002-03-19 Allan Rae <rae@lyx.org>
9054 * exporter.C (Export): removeAutoInsets before doing anything else.
9055 While I've just introduced a dependency on BufferView this really is
9056 the best place to clean the buffer otherwise you need to cleanup in
9057 a dozen places before calling export or cleanup in a dozen functions
9060 * converter.C (runLaTeX):
9061 (scanLog): Better handling of removeAutoInsets and screen updates.
9063 * lyxfunc.C (dispatch): small whitespace changes
9065 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9067 * WorkArea.C (C_WorkAreaEvent): return a value.
9068 (event_cb): return 1 if we handled the event, 0 otherwise.
9070 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9072 2002-03-18 Juergen Vigna <jug@sad.it>
9074 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9075 (GetAdditionalWidth): ditto.
9079 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9080 inset if we're there actually (probably not used right now but this
9081 is the direction to go for unifying code).
9082 (paste): disable code to clear the selection.
9084 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9085 inside an InsetText and move the check further up as it is in the
9088 * text2.C (pasteSelection): set a selection over the pasted text.
9090 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9092 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9093 and libgraphics to build on Cygwin.
9095 2002-03-15 Juergen Vigna <jug@sad.it>
9097 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9098 inserting an Inset into the paragraph. I know this is not the best
9099 fix but we already use current_view in CutAndPaste so we will remove
9100 all of it's using at the same time.
9102 * buffer.C (sgmlError): deactivated function till it is rewritten in
9103 the right mode, now it can create problems.
9105 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9106 before accessing it.
9108 2002-03-14 Juergen Vigna <jug@sad.it>
9110 * undo_funcs.C (textHandleUndo): do the right thing when updating
9111 the inset after the undo/redo.
9113 * text2.C (setCursor): just some testcode for #44 not ready yet.
9115 * undo_funcs.C (textHandleUndo): set the next() and previous()
9116 pointers of the paragraph to 0 before deleting otherwise we have
9117 problems with the Paragraph::[destructor].
9119 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9120 on a paragraph insertion.
9122 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9124 * buffer.C (asciiParagraph): use += operator for char append to
9127 * paragraph.C (getFontSettings): compare >= not just >
9128 (highestFontInRange): ditto
9131 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9133 * paragraph.C: change several algorithm to be more appripriate for
9134 the problem domain. This is lookip in FontList and in the InsetList.
9136 2002-03-13 André Pönitz <poenitz@gmx.net>
9139 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9141 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9146 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9148 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9150 * Painter.C (display): anon helper function, adjust code for this
9152 (pixmap): remove function.
9154 * Painter.h: remove private display variable.
9156 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9158 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9160 * WorkArea.[Ch]: remove figinset_canvas cruft.
9162 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9164 * lyxtextclass.C (operator): add one item cache optimization.
9166 * bufferlist.h: doxy changes
9168 * bufferlist.C: ws changes
9170 * DepTable.[Ch] (ext_exist): place const in the right spot.
9172 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9174 (workAreaExpose): call resizeInsets when the with BufferView changes.
9175 (Dispatch): adjust for protectedBlank removal
9176 (specialChar): call updateInset if the insert went ok.
9178 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9179 specialChar instead.
9181 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9183 * BufferView.h: doxy change
9185 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9187 * lyxtextclass.C (operator[]): remove non-const version
9188 (defaultLayout): remove non-const version
9190 2002-03-12 Juergen Vigna <jug@sad.it>
9192 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9193 did resize the LyXText too.
9195 * buffer.C (readLyXformat2): set layout information on newly allocated
9198 * tabular.C (OldFormatRead): set layout information on the paragraph.
9200 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9202 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9204 2002-03-11 Juergen Vigna <jug@sad.it>
9206 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9208 (resizeCurrentBuffer): force also the insets to resize themselfes.
9209 (moveCursorUpdate): fixed up for InsetText.
9211 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9214 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9215 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9216 value of Dialogs::tooltipsEnabled().
9217 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9219 2002-03-08 Juergen Vigna <jug@sad.it>
9221 * BufferView_pimpl.C (updateInset): update inset inside inset also
9222 if it isn't inside theLockingInset().
9224 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9226 * buffer.C (asciiParagraph): redo some of the word and line length
9228 (getLists): look for Caption instead of caption.
9230 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9232 * buffer.C (Buffer): initialize niceFile to true
9235 (makeDocBookFile): make sure niceFile is true on exit
9237 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9239 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9241 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9243 * LyXSendto.C: remove.
9244 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9245 * lyx_gui.C: remove now-redundant comment.
9246 * ColorHandler.h: remove forward declaration of class WorkArea.
9247 * lyxfunc.C: remove #include "WorkArea.h".
9249 2002-03-07 Juergen Vigna <jug@sad.it>
9251 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9252 got moved away with the DEPM and also set the inset_owner always
9253 right which before could have been omitted.
9255 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9257 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9258 wanted layout is not found.
9260 2002-03-07 Juergen Vigna <jug@sad.it>
9262 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9264 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9266 * paragraph.C (breakParagraph): use default layout not layout of
9268 (Paragraph): clear ParagraphParameters.
9270 2002-03-06 Juergen Vigna <jug@sad.it>
9272 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9273 otherwise it would not be a valid lenght. Fixed a special case in
9274 the minipage compatibility read where we end the document with a
9277 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9278 was set as it could be 0 for InsetTexts first entry.
9280 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9282 * paragraph.C (writeFile): if layout is empty write out
9283 defaultLayoutName().
9285 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9286 file without named layout we set layout to defaultLayoutName().
9288 2002-03-06 Juergen Vigna <jug@sad.it>
9290 * CutAndPaste.C (copySelection): set layout for new paragraph.
9292 * text.C (prepareToPrint): leave ERT inset left aligned
9293 (leftMargin): don't indent paragraphs inside ERT insets
9295 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9297 * paragraph.C (breakParagraph): dont call clear do the work manually
9299 * paragraph.[Ch] (clear): remove function
9301 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9303 * paragraph.C (Paragraph): dont call clear, the work has already
9306 * lyxtextclass.C (operator): assert if n is empty
9308 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9309 work manually instead.
9311 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9313 * BufferView_pimpl.C: protect selectionLost against text == 0
9315 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9317 * text.C (breakParagraph): fix a setting layout to '0' problem.
9319 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9321 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9322 final location of file, for the included files, and graphics.
9324 2002-03-05 Juergen Vigna <jug@sad.it>
9326 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9328 2002-03-04 Juergen Vigna <jug@sad.it>
9330 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9332 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9333 last column of multicolumn cells.
9334 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9336 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9338 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9339 file if it doesn't go to a temporary file.
9341 * buffer.C (sgmlOpenTag):
9342 (sgmlCloseTag): remove extra newline insertion.
9344 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9346 * text.C (getRowNearY): comment out debug msg
9348 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9350 * text2.C: first -> first_y
9352 * text.C (getRowNearY): add some attemts at a possible
9353 optimization, not working.
9355 * tabular.[Ch]: add BufferParams to several function so that newly
9356 created paragraph can be initialized to he default layotu for the
9359 * tabular-old.C (ReadOld): add buf->params to call of Init
9361 * screen.C: rename text->first to text->first_y
9363 * paragraph.C (breakParagraph): always set layout in the broken
9366 * lyxtextclass.C (Read): remove lowercase
9369 (delete_layout): ditto
9371 * lyxtext.h: rename first -> first_y
9373 * lyxlayout.C (Read): remove lowercase
9376 (obsoleted_by): ditto
9378 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9380 * buffer.C (insertErtContents): add params are to InsetERT
9381 (parseSingleLyXformat2Token): add code to check if a paragraphs
9382 layout really exist.
9383 (parseSingleLyXformat2Token): add params to several inset
9385 (asciiParagraph): remove lowercase, do the layout comparisons with
9388 * BufferView_pimpl.C (cursorNext): first -> first_y
9389 (resizeCurrentBuffer): first -> first_y
9390 (updateScrollbar): first -> first_y
9391 (scrollCB): first -> first_y
9392 (workAreaMotionNotify): first -> first_y
9393 (workAreaButtonPress): first -> first_y
9394 (checkInsetHit): first -> first_y
9395 (cursorPrevious): first -> first_y
9396 (cursorNext): first -> first_y
9397 (Dispatch): add buffer_->params to severl inset contructors
9399 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9401 * lyxlayout.C (Read): remove some debug info that I forgot.
9403 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9404 clean up the code slightly.
9405 (makeLinuxDocFile): ditto
9406 (makeDocBookFile): ditto
9408 * text2.C: layout as string
9410 * text.C: layout as string
9412 * paragraph_pimpl.C: layout as string
9414 * paragraph.[Ch]: layout as string
9416 * lyxtextclasslist.[Ch]: layout as string
9418 * lyxtextclass.[Ch]: layout as string
9420 * lyxtext.h: layout as string
9422 * lyxlayout.[Ch]: layout as string
9424 * lyx_cb.C: layout as string
9426 * bufferview_funcs.C: layout as string
9428 * bufferparams.C: layout as string
9430 * buffer.C: layout as string
9432 * LyXView.[Ch]: layout as string
9434 * LaTeXFeatures.[Ch]: layout as string
9436 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9438 * BufferView_pimpl.C: change current_layout to string, remove
9443 (workAreaButtonRelease): layout as string
9445 * BufferView2.C (unlockInset): adjust
9447 * vspace.C (asLatexCommand): use an explict temp variable.
9449 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9451 * Makefile.am: use FRONTEND_*
9453 2002-03-01 Juergen Vigna <jug@sad.it>
9455 * tabular.C (SetWidthOfMulticolCell): changed to something better
9456 I hope but still work in progress.
9457 (recalculateMulticolumnsOfColumn): renamed function from
9458 recalculateMulticolCells as it is more appropriate now.
9459 (SetWidthOfCell): calculate multicols better.
9461 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9463 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9465 * lyxfunc.C (processKeySym): print sequence also if it is
9466 `deleted' (complete)
9468 * kbsequence.C (print): print sequence even if it is deleted
9469 (complete would be a better word, actually).
9471 * lyxfunc.C (dispatch): print complete options after a prefix key
9473 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9475 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9477 * text2.C (setCharFont): eliminate setCharFont code duplication.
9479 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9481 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9482 LFUN_TABULAR_FEATURE (bug #177)
9484 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9486 * Makefile.am: remove figure.h
9488 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9490 * Bufferview_pimpl.C:
9502 * text2.C: remove #include "lyx_gui_misc.h".
9504 * LaTeX.C: added #include <cstdio>
9506 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9508 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9509 that the paragraph following this one can have.
9511 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9513 * vspace.C (asLatexCommand): fix bogus gcc warning
9515 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9517 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9519 * text2.C (setLayout): get rid of redundant code
9521 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9523 * text2.C (incDepth): make sure depth cannot be increased beyond
9526 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9528 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9529 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9531 * PainterBase.h (image):
9532 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9535 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9539 * BufferView_pimpl.C:
9540 * BufferView_pimpl.h:
9560 * sp_spell.C: remove fig inset, and the crap house of
9561 cards that follows it
9563 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9569 * nt_defines.h: move .h into support/
9571 * vms_defines.h: remove
9573 * WorkArea.C: add space in debug output
9577 * buffer.C: add WITH_WARNINGS
9581 * bufferlist.C: s/retrive/retrieve/, add docs
9592 * lyxgui.C: add ID to X error handler
9594 * lyxtestclass.c: fix typo
9596 2002-02-26 Juergen Vigna <jug@sad.it>
9598 * tabular_funcs.C (write_attribute): changed so that some default
9599 attributes are not written at all.
9600 (getTokenValue): set default values before trying to read the
9601 value so we have the return value always set as default if we don't
9602 find the token we search for.
9604 * tabular.C (Write): write bools as bools not as strings!
9606 2002-02-22 Juergen Vigna <jug@sad.it>
9608 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9609 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9611 * text.C (leftMargin): don't add an indent for paragraphs inside
9612 tabular cells (fix #208).
9614 2002-02-21 José Matos <jamatos@fep.up.pt>
9616 * tabular.C (docBook): fixed support for long tables.
9618 2002-02-20 Juergen Vigna <jug@sad.it>
9620 * text2.C (getFont): get the drawing font of the Inset if this
9621 paragraph is inside an inset (only important for InsetERT for now).
9623 * buffer.C (insertErtContents): use new lanugage params in ERT
9626 * CutAndPaste.C: commenting out seemingly uneeded code.
9628 2002-02-19 Allan Rae <rae@lyx.org>
9630 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9631 Iterators might be simple to use but they also get invalidated.
9632 (removeAutoInsets): renamed saved cursor tracking variables and added
9633 some comments to clarify what everything does.
9635 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9642 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9643 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9646 * vc-backend.h: remove #include "support/syscall.h"
9650 * converter.C: rearrange #includes in Lars' approved fashion.
9652 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9653 forward declare class Timeout in the header file.
9655 * XFormsView.C: changes due to the above.
9657 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9660 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9661 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9663 2002-02-18 José Matos <jamatos@fep.up.pt>
9665 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9668 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9670 * a lot of small ws changes
9671 * add a lot of using std::XXX
9672 * use std construcs some places where approp.
9673 * use some exisint stuff from lyxfunctional where approp.
9674 * Make file changes to use partial linking (lets test this now...)
9676 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9680 remove #include "support/syscontr.h" as it's redundant. Always has been.
9688 change Systemcalls::System to Systemcalls::Wait and
9689 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9690 No change of functionality, just reflects the stripped down Systemcalls
9693 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9695 * debug.[Ch]: add a GRAPHICS type to the enum.
9697 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9699 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9701 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9704 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9706 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9707 match the changes below.
9709 * text2.C (toggleInset): if there is not editable inset at cursor
9710 position, try to see if cursor is _inside_ a collapsable inset
9713 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9715 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9716 document menu has a nice checkbox
9718 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9720 * lyxlength.C (asLatexString): change PW to output as percent of
9723 * lengthcommon.C: change '%' to 't%'
9725 * lyxfunc.C (dispatch): a few comments from Martin
9727 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9731 * BufferView_pimpl.h:
9732 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9735 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9737 * vspace.C (inPixels): fix compiler warning
9739 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9741 * lyxfunc.C (getStatus): fix status message for disabled commands.
9743 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9745 * BufferView_pimpl.C: fix crash on close buffer
9746 during selection (#227)
9748 2002-01-27 Herbert Voss <voss@lyx.org>
9750 * buffer.C: link old Figure to new graphic inset
9752 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9754 * FontLoader.C (getFontinfo): Change the latex font names in order
9755 to match the names of type1inst.
9757 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9759 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9761 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9764 (remove_files_with_extension): ditto
9765 (remove_file): ditto
9768 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9769 document is smaller than the work area height. Do not initialize
9770 static variables to 0.
9772 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9774 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9776 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9777 LFUN_LAYOUT_PARAGRAPHS.
9779 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9780 tabular. It is possible to provide a possible cell, which will
9781 typically be the actcell from the corresponding insettabular
9783 * lyxfunc.C (getStatus): small cleanup; disable
9784 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9787 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9789 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9791 * paragraph.C (startTeXParParams):
9792 (endTeXParParams): new methods. The LaTeX code to
9793 start/end paragraph formatting
9794 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9795 empty (fixes bug #200)
9797 * vspace.C (inPixels): adapt to the change below
9798 (inPixels): [later] more cleanups (remove unused variables)
9800 * lyxlength.C (inPixels): change to use a width and a height as
9803 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9805 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9806 Replaced with \paperwidth
9808 * DepTable.C (insert): add std:: qualifier
9810 2002-01-18 Allan Rae <rae@lyx.org>
9812 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9815 * text.C (drawInset): Turned out I didn't know enough about how
9816 rebreaking worked. This fixes most of the redraw problems. I see
9817 an occasional cursor trail when a line is broken now and the cursor
9818 placement can seem out by a few pixels also after a rebreak.
9820 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9822 * buffer.C (parseSingleLyXformat2Token): update because minipage
9823 width is now a LyXLength
9825 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9827 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9830 2002-01-17 Juergen Vigna <jug@sad.it>
9832 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9834 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9835 is set correctly and the inset is updated correctly.
9837 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9839 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9840 the beginning of the loop.
9842 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9844 * lyxrc.C: improve help for use_scalable_fonts
9846 2002-01-17 Allan Rae <rae@lyx.org>
9848 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9850 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9852 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9853 make sure to set their inset_owner to the right value (bug #171)
9855 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9858 * DepTable.C: Implement mtime checking to reduce time spent doing
9861 2002-01-16 Juergen Vigna <jug@sad.it>
9863 * tabular.C (GetAdditionalHeight): one of error fixed.
9865 * lyxrc.C (output): small fix in writing use_pspell.
9867 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9869 * sp_base.h: #include LString.h
9871 2002-01-16 Allan Rae <rae@lyx.org>
9873 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9874 Can someone check this please?
9876 * text.C (drawInset): It was possible that p.row would be removed by
9877 breakAgainOneRow upsetting a few other settings. There may be another
9878 small tweak possible by setting need_break_row = 0 when p.row has been
9879 removed but I don't know enough about the logic here.
9881 2002-01-15 Allan Rae <rae@lyx.org>
9883 * text.C (insertChar): removed conditional truism.
9885 * BufferView2.C (removeAutoInsets): More tweaks.
9886 cur_par_prev could be a stray pointer. Check for trailing empty line
9887 in case last line was cur_par and only had an error inset on it.
9889 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9891 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9894 * vc-backend.C (most methods):
9895 * exporter.C (Export):
9896 * converter.C (convert):
9898 * LyXSendto.C (SendtoApplyCB):
9899 * lyxfunc.C (dispatch):
9903 * lyx_cb.C (AutoSave):
9905 * BufferView_pimpl.C (MenuInsertLyXFile):
9906 * buffer.C (runChktex): use Buffer::filePath().
9908 * buffer.h: rename filename to filename_; rename filepath to
9909 filepath_ and make it private
9910 (filePath): new method
9912 * buffer.C (writeFile): use fileName()
9915 * lyx_main.C (init): fix starting of LyX when the binary is a
9916 link from so,ewhere else.
9918 * minibuffer.C: include <cctype> for isprint
9920 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9922 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9923 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9924 name clash with InsetCollapsable's width function.
9926 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9928 * lastfiles.C: include <iterator>
9930 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9932 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9935 * buffer.C (makeLaTeXFile): ditto.
9936 Also make loop operation more transparent.
9938 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9940 * ToolbarDefaults.C: remove trailing comma closing namespace.
9942 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9944 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9947 * trans.C (Load): comment out unused variable, allowed.
9949 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9951 * minibuffer.[Ch] (append_char): new method to recieve input from the
9952 drop-down completion browser. If a key was pressed, then recieve this
9953 char and append it to the existing string.
9954 (peek_event): modify the positioning data passed to the completion
9955 browser so that it can be placed above the minibuffer rather than below.
9956 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9958 * LyXAction.C (init): alloe error-next for readonly documents.
9960 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9963 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9965 * bufferlist.C (readFile): create the buffer _after_ checking that
9968 * lyxfunc.C (verboseDispatch): fix handling of arguments
9970 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9972 * lyxrc.C: use string::erase() instead of initializing to "".
9975 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9977 * BufferView_pimpl.h:
9978 * BufferView_pimpl.C:
9981 * text2.C: tell X when we have made a selection for copying
9983 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9985 * BufferView_pimpl.C (MenuInsertLyXFile):
9986 * lyxfunc.C (menuNew):
9988 (doImport): add shortcuts to directory buttons
9990 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9993 * lyxfunc.C (setStatusMessage):
9994 (getStatusMessage): new methods
9995 (getStatus):use setStatusMessage instead of setErrorMessage
9996 (dispatch): when function is disabled, set error message here
9997 [instead of in getStatus previously]
9999 * BufferView_pimpl.C (workAreaButtonRelease): update
10000 toolbar/menubar here too.
10002 2002-01-13 Allan Rae <rae@lyx.org>
10004 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10005 Now seems indestructible. Remaining task is to audit all other
10006 code affected by deleteEmptyParagraphMechanism. One small quirk
10007 left is that an empty document with an error in the preamble can
10008 be made to report an error but no error box appears. I don't know
10010 (removeAutoInsets): Improved comments.
10012 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10015 * Thesaurus.C: update for Aiksaurus 0.14
10017 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10019 * text2.C (firstParagraph): removed member function, all uses
10020 replaces with ownerParagraph
10021 (redoParagraphs): here
10022 (updateInset): here
10023 (toggleAppendix): here
10024 * BufferView2.C (insertErrors): here
10025 (setCursorFromRow): here
10027 2002-01-13 Allan Rae <rae@lyx.org>
10029 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10030 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10031 There is still a way to segfault this although you may have to do this
10032 multiple times: Have an InsetERT with an unknown command in it.
10033 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10034 <down-arrow>, <Enter> again, View->DVI, BANG!
10036 * text2.C (setCursor):
10037 (deleteEmptyParagraphMechanism):
10038 * lyxtext.h (setCursor):
10039 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10040 Making use of the return value may help fix other bugs.
10042 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10044 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10046 * LyXView.C (updateMenubar): call MenuBar::update here
10047 (updateToolbar): but not here
10048 (showState): do not update toolbar/menubar
10050 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10051 should need to care about that.
10053 * lyxfunc.C (verboseDispatch): simplify a bit
10054 (getStatus): have a version which takes a pseudoaction, and
10055 another which requires a (kb_action,string).
10057 * LyXAction.C (retrieveActionArg): make it work also when action
10058 is not a pseudo-action.
10059 (getActionName): simplify a bit
10062 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10064 * lyxfunc.C (verboseDispatch): new families of methods with
10065 several ways to specify a command and a bool to indicate whether
10066 the command name and shortcut should be displayed in minibuffer
10067 (eventually, we could extend that to a finer bitmask like
10068 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10069 (dispatch): the pristine dispatch command which just, well,
10070 dispatchs! Note it still sets its result to minibuffer; I'm not
10073 * lyxfunc.h: remove setHintMessage
10075 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10077 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10079 * BufferView_pimpl.C (specialChar): delete new inset if we have
10080 not been able to insert it.
10082 * kbmap.C: revert to using int instead of kb_action, since all we
10083 are dealing with is pseudo-actions.
10085 * LyXAction.C (searchActionArg): change to return int instead of
10086 kb_action, since the result is a pseudoaction.
10088 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10090 * buffer.C (insertErtContents): Fix (partially) the font bug.
10092 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10094 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10095 as the other one is broken on my machine!
10097 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10100 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10102 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10104 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10105 reflect their actual use. Provide compatibility code for older lyxrc
10108 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10110 change names of popup font variables in line with the changes to lyxrc.C
10112 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10114 * buffer.C (asciiParagraph): avoid outputing a word twice after
10117 * lyxrc.C (getDescription): document that document_path and
10118 template_path can be empty.
10120 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10122 * LaTeXFeatures.C (getMacros):
10123 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10125 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10127 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10129 (getPackages): rename feature "floats" to "float". Use an array to
10130 iterate over 'simple' features (i.e. just a \usepackage). Add
10131 handling of "amsmath" (renamed from "amsstyle").
10133 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10135 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10138 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10140 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10141 FuncStaus::FuncStatus & FuncStaus::some_method().
10143 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10145 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10146 of the func_satus stuff. Edited and massaged in various ways by
10149 * lyxfunc.C (getStatus): use FuncStatus
10151 2002-01-08 Juergen Vigna <jug@sad.it>
10153 * text.C (nextBreakPoint): use function Inset::isChar().
10155 * paragraph.C (TeXOnePar): use function
10156 Inset::forceDefaultParagraphs.
10158 * buffer.C (latexParagraphs): use function
10159 Inset::forceDefaultParagraphs.
10161 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10163 * lyx_gui.C (init): set the style of the menu popups to
10164 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10166 2002-01-07 Juergen Vigna <jug@sad.it>
10168 * text.C (setHeightOfRow): small fix
10169 (prepareToPrint): don't look at alignment if we don't have the place
10172 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10174 * box.C: New file. Move the Box methods and functions out of box.h,
10175 following Lars' suggestion.
10177 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10179 * box.h: #include "support/LOstream.h", needed for inlined function.
10182 * lyxtextclasslist.C: added some using std declarations.
10184 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10186 * box.h: make signed dimensions to allow insets wider than
10187 the screen (bug #162)
10189 * BufferView_pimpl.C: add some insetHit debug
10191 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10193 * vc-backend.C: add FIXME
10195 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10197 * lyxfunc.C (getStatus): enable code for showing math font status
10200 2002-01-07 Juergen Vigna <jug@sad.it>
10202 * text.C (nextBreakPoint): removed debug output not needed anymore.
10204 2002-01-06 Juergen Vigna <jug@sad.it>
10206 * text.C (nextBreakPoint): fixed up this function we had this bug
10207 since ever but now hopefully we break row better.
10208 (insertChar): we have to check if an inset is the next char as it
10209 could now happen that a large inset is causing a break.
10211 2002-01-05 Juergen Vigna <jug@sad.it>
10213 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10214 if it doesn't like to be drawed.
10216 2002-01-04 Juergen Vigna <jug@sad.it>
10218 * BufferView2.C (lockInset): forgot to set a cursor.
10220 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10222 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10224 * FormMathsPanel.C:
10227 * form_maths_panel.C:
10228 * form_maths_panel.h:
10229 * form_maths_panel.fd: implemented sub- and super- buttons in math
10232 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10233 (or ^ space) to be used as in TeX (req'd by André).
10235 * lyxfunc.C: Allow ^ and _ again to be used both as
10236 super/subscript (mathed) and as themselves (in text).
10238 2002-01-03 Allan Rae <rae@lyx.org>
10240 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10241 "LyX" or the filename of the current buffer if it has one. This is a
10242 modified form of John Levon's patch.
10244 * XFormsView.C (setWindowTitle): also set icon title.
10246 * LyXView.h (setWindowTitle): signature changed.
10247 * XFormsView.h (setWindowTitle): ditto.
10249 2002-01-02 Juergen Vigna <jug@sad.it>
10251 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10253 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10255 * screen.C (topCursorVisible): introduce a temp var for
10256 text->cursor.row(), handle the case where this row is null. (kindo
10259 * text2.C (setCursor): add a couple of asserts.
10261 * paragraph.h (inset_iterator): add -> operator
10263 * paragraph.[Ch] (autoDeleteInsets): remove member function
10265 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10266 cursor pos correctly and handle inset deletion by itself.
10267 (insertErrors): move iterator declaration out of for expression
10269 * lyxtextclass.C: add <algorithm>
10271 * Makefile.am: added the new files to sources, removed layout.C
10273 * layout.C: removed file
10275 * layout.h: remove LYX_DUMMY_LAYOUT
10277 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10281 * lyxtextclass.[Ch]:
10282 * lyxtextclasslist.[Ch]: new files
10284 * include order changes to a lot of files, also changes because of
10287 2001-12-27 Juergen Vigna <jug@sad.it>
10289 * buffer.C (asciiParagraph): more fixes.
10291 * tabular.C (ascii): make ascii export support export of only the
10292 data separated by a column-delimiter.
10293 (ascii): better support for ascii export.
10295 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10297 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10299 * tabular_funcs.C: use a "using std::getline" instead of the
10300 previous fix from Angus (necessary for cxx + lyxstring)
10302 2001-12-24 Juergen Vigna <jug@sad.it>
10304 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10306 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10307 problems. First check a minipage also if we have some ert-contents
10308 (not only on par->size(), second set the right depth of the paragraph
10309 on the relink to the root-paragraph-list!
10311 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10312 which then did not anymore update the main paragraphs on undo/redo!
10314 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10316 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10317 code. Support all font-changing funcs (even those which are not in
10318 menu currently). Support for reporting font settings in
10319 mathed (disabled until Andre provides a function on mathed's side).
10321 * func_status.h (toggle): small helper function to set toggle
10324 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10326 * tabular_funcs.C: getline -> std::getline
10328 2001-12-21 Juergen Vigna <jug@sad.it>
10330 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10331 accessed and could be 0 (I couldn't generate this but it seems
10334 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10336 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10337 * tabular_funcs.h: here and include iosfwd
10339 2001-12-20 Juergen Vigna <jug@sad.it>
10341 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10342 inside inset but undo_par was.
10344 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10346 * Thesaurus.C: always include <config.h> in sources.
10350 * box.h: do not include <config.h> in header files
10352 * text.C (paintLastRow): remove unused variable
10354 * text.C (transformChar):
10356 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10358 * Painter.C (text):
10359 * font.C (width): rewrite to use uppercase() instead of
10362 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10364 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10366 * lyxfind.C: clean up of find failure position change
10368 2001-12-20 Juergen Vigna <jug@sad.it>
10370 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10372 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10373 (TeXRow): added to LaTeX a single tabular row.
10374 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10375 (Latex): simplified and finally good LT-h/f support.
10376 (various_functions): just small adaptions for LT-h/f support.
10378 * tabular_funcs.[hC]: added and moved here all not classfunctions
10381 2001-12-19 Juergen Vigna <jug@sad.it>
10383 * tabular.[Ch]: better support for longtabular options (not finished
10386 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10388 * text.C (paintLastRow): use the label font instead of the font of
10389 the last character to compute the size of *_BOX. This makes more
10390 sense and avoids a crash with empty paragraphs.
10391 Use Painter::rectangle to draw EMPTY_BOX.
10393 2001-12-19 Juergen Vigna <jug@sad.it>
10395 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10396 the paragraphs if the replaced paragraph is not the first one!
10397 Tried to delete not used paragraphs but does not work yet so for
10398 now it's inside #ifdef's and by default off!
10400 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10402 * MenuBackend.C: include "lyx_main.h" instead of declaring
10403 lastfiles (actually was declared as LastFiles* instead of a
10406 2001-12-17 Juergen Vigna <jug@sad.it>
10408 * tabular.C (AppendColumn): applied John's fix
10410 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10414 * BufferView_pimpl.h:
10415 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10418 * box.h: new start of class for above
10420 * lyxfunc.C: ignore space-only minibuffer dispatches.
10421 Show the command name when it doesn't exist
10423 * minibuffer.C: don't add empty lines to the history
10425 * minibuffer.C: add a space on dropdown completion
10427 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10429 * text.C: fix line above/below drawing in insets
10431 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10433 * lyxlength.C (LyXLength): Initialize private variables.
10435 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10437 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10438 when inserting error insets.
10440 2001-12-13 Juergen Vigna <jug@sad.it>
10442 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10443 actually sometimes the before-paragraph.
10444 (setUndo): don't clear the redostack if we're not actually undoing!
10446 2001-12-06 Juergen Vigna <jug@sad.it>
10448 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10449 and fixed redoing of main paragraph, so we can use it now ;)
10451 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10453 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10455 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10458 2001-12-13 André Pönitz <poenitz@gmx.net>
10461 * undo_func.C: minor cleanup
10463 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10465 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10466 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10467 font in urw-fonts package which is marked as -urw-fontspecific and
10468 does not work (incidentally, changing the encoding in the
10469 fonts.dir of this package to -adobe-fontspecific fixes the
10472 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10473 is a crash when undoing first paragraph (Juergen, please take a
10474 look). THis does not mean the undo fix is wrong, just that it
10477 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10478 the (Paragraph*) version when needed instead of duplicating the
10481 * text.C (workWidth): use Inset::parOwner to find out where the
10482 inset has been inserted. This is a huge performance gain for large
10483 documents with lots of insets. If Inset::parOwner is not set, fall
10484 back on the brute force method
10486 * paragraph_pimpl.C (insertInset):
10487 * paragraph.C (Paragraph):
10488 (cutIntoMinibuffer): set parOwner of insets when
10489 inserting/removing them
10491 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10493 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10499 * mathed/formulabase.C:
10500 * mathed/math_cursor.[Ch]:
10501 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10504 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10506 * lyxlength.[Ch] (operator!=): new function
10508 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10510 * text.C (workWidth): use Inset::parOwner to find out where the
10511 inset has been inserted. This is a huge performance gain for large
10512 documents with lots of insets. If Inset::parOwner is not set, fall
10513 back on the brute force method
10515 * paragraph_pimpl.C (insertInset):
10516 * paragraph.C (Paragraph):
10517 (cutIntoMinibuffer): set parOwner of insets when
10518 inserting/removing them
10520 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10522 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10524 * tabular-old.C (getTokenValue):
10525 * tabular.C (getTokenValue):
10526 (write_attribute): new versions for LyXLength
10527 (everywhere): adjust the use of widths
10529 * tabular.h: change the type of widths from string to LyXLength
10531 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10533 * paragraph.C: fixed missing line number count when exporting
10534 Environments to LaTeX file
10536 * buffer.C: added informational message for checking line numbers.
10538 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10540 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10541 paragraph, do the 'double space' part, but not the 'empty
10544 * text.C (workWidth): small optimization
10545 (getLengthMarkerHeight): use minimal size for negative lengths.
10547 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10549 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10551 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10553 2001-12-11 André Pönitz <poenitz@gmx.net>
10556 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10558 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10560 * text2.C: keep selection on a setFont()
10562 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10564 * lyx_cb.C: another bv->text misuse, from insert label
10566 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10569 * kbsequence.C: re-instate nmodifier mask
10571 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10573 * lyx_main.h: make lyxGUI private.
10575 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10577 * lyxfind.C: place the cursor correctly on failed search
10579 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10581 * text.C (getLengthMarkerHeight): for small heights, the arrows
10582 are not always on top/bottom of the text
10583 (drawLengthMarker): smaller arrows; take the left margin in
10584 account; draw also vfills.
10586 (paintLastRow): remove special code for vfill and standard spaces,
10587 since everything is handled in drawLengthMarker now.
10589 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10591 * buffer.C (insertErtContents): try to handle font and language
10592 interaction a bit better.g
10594 * ColorHandler.C (updateColor): change the hash to cover the whole
10595 LColor enum, ws cleanup
10596 (getGCLinepars): ditto
10597 (getGCLinepars): only lookup in the linecache once.
10599 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10601 * iterators.C (operator++): Make the iterator more robust
10603 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10605 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10607 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10610 * text.C: better added space drawing
10612 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10615 * BufferView2.C: fix layout combo update on inset unlock
10617 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10619 * Makefile.am: don't compile unused files
10621 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10625 * LyXAction.C: remove old LFUN_LAYOUTNO
10627 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10629 * paragraph_pimpl.h:
10630 * paragraph_pimpl.C: isTextAt() doesn't need font param
10632 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10635 * lyxlex.C: little cleanup
10637 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10639 * BufferView_pimpl.C: fix insertAscii for insets
10641 2001-12-05 Juergen Vigna <jug@sad.it>
10643 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10644 set the right font on the "multi" paragraph paste!
10646 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10652 * lyxlength.C: remove out-commented code.
10654 * BufferView_pimpl:
10668 * vc-backend.C: change "while(" to "while ("
10670 * lyxlength.[Ch]: add zero function to check if length is zero or
10672 * lyxgluelength.C: use it
10674 2001-12-05 Allan Rae <rae@lyx.org>
10676 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10677 Works for 2.95.3, from what I understand of Garst's reports this should
10678 work for other g++ versions. We're screwed if the abs(int) definition
10679 changed between bugfix releases of gcc.
10681 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10683 * text.C: fix chapter label offset !
10685 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10688 * text.C: fix hfill at end of line, clean up
10690 2001-12-04 Juergen Vigna <jug@sad.it>
10692 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10693 that we force an update of the inset and it's owners if neccessary.
10695 2001-12-03 Juergen Vigna <jug@sad.it>
10697 * text.C (rowLast): simplified code
10699 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10701 * lyxfunc.C: fix show options on timeout
10703 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10705 * screen.C (topCursorVisible): scroll half a page when the cursor
10706 reached top of bottom of screen
10708 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10710 * minibuffer.C: deactivate on loss of focus
10712 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10714 * vspace.[Ch] (operator!=): add operator.
10716 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10718 * BufferView_pimpl.C: refuse to open an inset when
10719 there's a selection.
10721 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10723 * BufferView_pimpl.C: allow to click on RHS of full row insets
10725 2001-11-30 Juergen Vigna <jug@sad.it>
10727 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10728 insets for undo reasons.
10730 2001-11-28 André Pönitz <poenitz@gmx.net>
10732 * vspace.[Ch]: cosmetical changes
10734 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10744 * kbsequence.C: part re-write of old kb code
10747 * WorkArea.C: remove Lgb_bug_find_hack
10749 2001-11-30 José Matos <jamatos@fep.up.pt>
10751 * buffer.C (makeDocBookFile): add a comment to point a hack.
10752 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10753 Fixed a double write of labels.
10755 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10758 * LaTeX.h Fixed bug in LaTeX class where it would not
10759 re-run latex if no depfiles were changed, but the .dvi was removed.
10761 2001-11-28 André Pönitz <poenitz@gmx.net>
10763 * all the files from the change on 2001/11/26:
10764 use lyx::layout_type instead of LyXTextClass::size_type
10765 use lyx::textclass_type instead of LyXTextClassList::size_type
10767 2001-11-29 Juergen Vigna <jug@sad.it>
10769 * text.C: added support for paragraph::isFreeSpacing()
10771 * buffer.C: same as above
10773 * paragraph.h: inserted isFreeSpacing() function to enable
10774 FreeSpacing inside InsetERT.
10776 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10777 of the paragraph's in the cut/copy buffer to 0!
10779 * text2.C (removeRow): remove the assert as it can!
10781 * lyxtext.h: added helper function firstRow returning firstrow and
10782 made firstrow private again.
10784 * BufferView2.C (lockInset): don't relock if we're already locked!
10786 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10787 the only paragraph.
10788 (removeRow): added Assert::(firstrow)
10790 * debug.C: forgot to add INSETTEXT here.
10792 2001-11-28 Juergen Vigna <jug@sad.it>
10794 * sp_spell.C (initialize): changed error text to more general
10795 spellchecker command use (not only ispell!)
10797 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10799 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10801 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10803 * vspace.C: initialise lyxgluelength on failure
10805 2001-11-28 Allan Rae <rae@lyx.org>
10807 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10808 declaration & definition that looks like a function declaration.
10810 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10812 * BufferView2.C (copy):
10813 (copyEnvironment): do not clear the selection when doing a copy.
10815 * text.C (paintFirstRow): compilation fix
10817 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10819 * tabular.C (Latex): correct line count when writing latex.
10821 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10823 * paragraph_pimpl.h:
10824 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10827 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10831 * LColor.C: change vfillline->added_space
10833 * text.C: add markers and text for added space
10835 * vspace.C: fix comment
10837 2001-11-28 André Pönitz <poenitz@gmx.net>
10839 * paragraph.C: whitespace changes
10840 * all the other files from the change on 2001/11/26:
10841 change *::pos_type into lyx::pos_type
10843 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10845 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10846 language of the document when inserting error insets.
10848 2001-11-26 André Pönitz <poenitz@gmx.net>
10850 * BufferView_pimpl.[Ch]:
10858 * paragraph_pimpl.[Ch]:
10861 * text2.C: reduce header dependencies, introduce type for positions
10863 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10865 * <various>: change to use Alert.h
10867 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10869 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10870 when encountering an unknown token.
10871 (readLyXformat2): Show an error message if there were unknown tokens.
10873 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10876 * BufferView_pimpl.C:
10880 * text2.C: use par->isInset()
10882 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10884 * paragraph_pimpl.h:
10885 * paragraph_pimpl.C: cleanup
10887 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10889 * text2.C (removeRow):
10890 * text.C (setHeightOfRow): remove useless (and costly) call to
10893 2001-11-20 Allan Rae <rae@lyx.org>
10895 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10896 Now need Inset*::checkInsertChar() to return true for appropriate
10897 cases so that the characters in the minibuffer will actually be
10900 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10902 * text.C: change the order of the includes.
10903 (workWidth): initialize it at once.
10904 (workWidth): make maxw unsigned
10905 (setHeightOfRow): remove unused variable (inset)
10906 (selectSelectedWord): remove unused variable (inset)
10907 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10909 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10911 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10912 server is not running.
10914 (closeConnection): add debug info when server is disabled.
10916 * ColorHandler.C (getGCForeground): send debug message to GUI
10919 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10921 * kbmap.C (bind): modify because return conventions of
10922 kb_sequence::parse have changed.
10924 * kbsequence.C (parse): only ignore spaces and not any stupid
10925 control character. This avoids tests like s[i] <= ' ', which are
10926 guaranteed to fail with 8bit characters and signed chars.
10927 Change return code to string::npos when there have been no error
10928 (0 was a bad idea when error is at first character)
10930 2001-11-14 José Matos <jamatos@fep.up.pt>
10933 * buffer.C (simpleDocBookOnePar): removed unused argument.
10935 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10937 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10938 insets which are part of a word. Paragraph::isLetter takes care of
10939 that now. Use Paragraph::isInset to identify insets.
10940 (selectSelectedWord): do not test for hyphenation break.
10942 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10943 that protected spaces are considered as spaces.
10945 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10948 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10951 * lyxserver.C: fix it. and small cleanup.
10953 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10955 * BufferView_pimpl.C: use inline helpers
10958 * LaTeXFeatures.C: fix typos
10961 * Spacing.C: move spacing_string into class
10963 * ToolbarDefaults.C: move stuff into namespace anon
10965 * layout.h: update enum
10967 * lyxfunc.C: use better debug
10969 * minibuffer.h: fix typo
10973 * WorkArea.C: add and use Debug::WORKAREA
10977 * text2.C: code re-organisation, inline helpers
10979 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10981 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10982 std::vector.empty().
10984 2001-11-09 Allan Rae <rae@lyx.org>
10986 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10987 '\n's after tables. Tabular and ERT inset work now makes this no
10990 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10993 * minibuffer.C: fix crash, improve drop-down completion
10995 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10998 * lyxserver.C: invalidate fd's when doing endPipe()
11000 2001-11-08 José Matos <jamatos@fep.up.pt>
11002 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11003 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11006 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11008 2001-11-07 José Matos <jamatos@fep.up.pt>
11011 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11014 * buffer.C (sgmlOpenTag):
11015 * buffer.C (sgmlCloseTag): removed debug info.
11017 * buffer.h (sgmlOpenTag):
11018 * buffer.h (sgmlCloseTag): made public.
11020 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11022 * buffer.C (saveParamsAsDefaults):
11023 * lyx_cb.C (MenuLayoutSave): remove
11025 * LyXAction.C (init):
11027 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11029 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11031 * buffer.C (setPaperStuff): removed from here...
11033 * bufferparams.C (setPaperStuff): ... and moved there.
11035 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11039 * XFormsView.C: add support for drop-down completion
11041 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11043 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11046 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11048 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11051 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11053 * lyx_main.C: change ref to known bugs
11055 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11057 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11058 to work around older babel problems.
11060 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11062 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11064 2001-10-24 Juergen Vigna <jug@sad.it>
11066 * tabular-old.C (ReadOld): below variable changes reflected.
11068 * tabular.[Ch]: added ltType struct for longtable header/footer
11069 defines and changed all instances where they are used. Added
11070 future support for double top/bottom rows.
11072 2001-10-24 José Matos <jamatos@fep.up.pt>
11074 * buffer.h (docbookHandleCaption):
11075 * buffer.C (docbookHandleCaption): removed unused function.
11076 (makeDocBookFile): moved docbook supported version to v4.1.
11078 2001-10-24 José Matos <jamatos@fep.up.pt>
11081 * tabular.C (docbookRow): new function to export docbook code of a row.
11082 (DocBook): now honors the longtable flags.
11084 2001-10-23 José Matos <jamatos@fep.up.pt>
11087 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11088 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11090 * buffer.C (makeLinuxDocFile):
11091 (makeDocBookFile): reworked the preamble, more clean, and with
11092 support for lyx defined entities. Changed the document declaration
11093 to be more XML friendly.
11095 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11096 if we need to output XML that should be done with a filter.
11098 2001-10-22 Juergen Vigna <jug@sad.it>
11100 * sp_pspell.h (class PSpell): add alive function needed in the
11101 controller to see if the spellchecker could be started.
11103 2001-10-22 Juergen Vigna <jug@sad.it>
11105 * buffer.C (insertStringAsLines): modify the font for inserting
11106 chars in certain conditions by calling checkInsertChar(font).
11108 2001-10-19 Juergen Vigna <jug@sad.it>
11110 * text.C (workWidth): use getRow instead of wrong algorithm.
11111 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11113 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11118 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11120 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11122 * text.C (workWidth): do not search for the exact row when
11123 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11124 optimization for big documents.
11126 2001-10-18 Juergen Vigna <jug@sad.it>
11128 * text.C (workWidth): new function with added Inset * parameter.
11130 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11132 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11134 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11135 change return type of getColumnNearX.
11138 * text.C (changeRegionCase): use uppercase/lowercase instead of
11141 (rightMargin): simplify code by factoring out the uses of
11146 (appendParagraph): use Paragraph::size_type
11148 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11150 * vspace.C (asLatexString): add a missing break
11152 2001-10-15 Herbert Voss <voss@perce.de>
11154 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11156 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11158 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11161 2001-10-10 André Pönitz <poenitz@gmx.net>
11163 * lyxfunc.C: removed greek_kb_flag.
11165 2001-10-10 Herbert Voss <voss@perce.de>
11167 * lyx_main.C: delete global string help_lyxdir.
11169 2001-10-09 Herbert Voss <voss@perce.de>
11171 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11173 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11175 * lyx_main.C: added global string help_lyxdir.
11177 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11179 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11181 * lyxrc.C (set_font_norm_type): support iso8859-4
11183 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11185 * LaTeX.C (deplog): add another regex for MikTeX
11187 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11189 * lyxrc.C (set_font_norm_type): support iso8859-3
11191 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11193 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11195 * LaTeXFeatures.C: remove special case of french and index
11197 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11198 before \begin{document}). This solves several incompatibilities.
11200 2001-10-03 Garst Reese <reese@isn.net>
11202 * lyx_cb.C: change CheckTex error msg.
11204 2001-10-03 José Matos <jamatos@fep.up.pt>
11206 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11208 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11210 * .cvsignore: update
11212 * lyx_main.C (commandLineVersionInfo): use new style version info.
11214 * buffer.C (writeFile):
11216 (makeLinuxDocFile):
11217 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11219 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11221 * version.h: update to use stuff in version.C
11223 * version.C.in: new file. Contains version information determined
11224 at compile time. This is a merging of version.h and
11227 2001-10-03 Juergen Vigna <jug@sad.it>
11229 * BufferView_pimpl.C (update): don't change "dirty" status in
11232 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11234 * WorkArea.C (c-tor): re-position version string slightly.
11236 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11238 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11239 revert to previous code.
11241 WorkArea.[Ch]: (show, destroySplash): methods removed.
11243 WorkArea.C: rework code so that it's an amalgam of the codes before and
11244 after the splash screen was moved to WorkArea.
11246 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11249 * vspace.C (inPixels):
11252 * buffer.C (insertStringAsLines):
11253 (asciiParagraph): fix types to be large enough
11255 * lyxlex_pimpl.h: change member status from short to int
11257 * layout.h: fix type of endlabeltype
11260 * kbsequence.C (parse): change return type to string::size_type
11262 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11265 * Bullet.C (bulletSize):
11266 (bulletEntry): do not use short ints as parameters
11268 * BufferView2.C (insertLyXFile): change a char to an int.
11270 * WorkArea.C (WorkArea): remove unneeded floats in computation
11272 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11274 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11276 * paragraph.C (asString): Do not ignore newline/hfill chars when
11277 copying to the clipboard.
11279 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11281 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11282 after a multi-line inset.
11284 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11286 * paragraph.C (validate): Set NeedLyXFootnoteCode
11288 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11290 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11291 and decrease-error to decrease.
11293 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11295 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11296 it more readable (should be equivalent)
11298 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11300 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11302 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11304 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11305 of a cursor (row, etc.) after a character has been deleted
11306 (deleteEmptyParagraphMechanism): call the method above on _all_
11307 cursors held by the LyXText when a double space has been
11310 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11312 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11314 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11316 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11317 background. Use greyOut() and the new show() methods to toggle between
11318 the foreground and background. Add code to remove the splash after
11319 its initial showing.
11321 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11322 (create_forms): no longer call Dialogs::showSplash.
11324 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11326 * .cvsignore: add version_info.h
11328 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11330 * version_info.h.in: new file
11332 * Makefile.am: add version_info.h.in
11334 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11335 version_info.h instead of VERSION_INFO
11337 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11339 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11340 The ERT inset now returns string().
11342 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11344 * lyxtext.h, text.C (selectNextWord): renamed as
11345 selectNextWordToSpellcheck.
11347 * text.C (selectNextWordToSpellcheck): Modified to not select
11348 words inside an ERT inset.
11350 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11352 * lyx_cb.C (MenuLayoutSave): change a bit the question
11354 * sp_base.h: include <sys/types.h>
11356 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11358 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11360 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11362 * several files: fix typos in user-visible strings
11364 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11366 * text2.C (pasteSelection): do not set the selection, since it
11367 will be cleared later. Actually, the intent was to fix the way the
11368 selection was set, but I figured rmoving the code was just as good.
11370 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11372 * FontLoader.C (available): Check if font is available without
11375 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11377 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11379 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11381 * lyxrc.[Ch]: added display_graphics variable and associated code.
11383 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11385 * bufferparams.C (hasClassDefaults): new method. Returns true if
11386 the buffer parameters correspond to known class defaults
11388 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11390 * XFormsView.C (show): set minimum size to the main window.
11392 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11394 * text2.C (copySelection):
11396 * lyxfind.C (LyXReplace):
11397 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11398 LyXText::selectionAsString.
11400 * paragraph.C (asString): add "label" argument to the second form
11402 * text2.C (selectionAsString): add "label" argument and pass it to
11403 Paragraph::asString.
11405 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11407 * lyx_main.C (commandLineHelp): remove version information
11409 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11411 * lyx_main.C: add -version commandline option
11413 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11415 * paragraph.h: make the optional constructor arg required instead.
11416 some modifications to other files because of this.
11418 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11420 * lyxserver.C (C_LyXComm_callback): make it static
11422 * lyx_main.C (error_handler): make it static
11424 * lyx_gui.C (LyX_XErrHandler): make it static
11426 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11428 * WorkArea.C: make the extern "C" methods static.
11430 * Makefile.am (lyx_LDADD): simplify
11432 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11434 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11435 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11437 * LyXAction.C (init):
11438 * lyxfunc.C (dispatch): associated code removal.
11440 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11442 * lyxfont.h (isSymbolFont): shut off warning
11444 * text.C (setHeightOfRow):
11445 (getVisibleRow): fix crash with empty paragraphs which have a
11448 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11450 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11453 2001-09-04 José Matos <jamatos@fep.up.pt>
11456 * tabular.C (docbook): rename docBook method to docbook.
11458 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11460 * Makefile.am: add dependencies to main.o.
11462 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11464 * FontLoader.C (available): Return false if !lyxrc.use_gui
11466 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11468 * FontInfo.C (query):
11469 * converter.C (view):
11470 * importer.C (Import):
11471 * exporter.C (Export): Can not -> cannot.
11473 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11475 * BufferView_pimpl.C: allow to create index inset even if
11478 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11480 * buffer.C (getLists): replace boost::tie code with an explicit pair
11481 as boost::tie can break some compilers.
11483 * iterators.h: Added a std:: declaration to the return type of
11486 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11488 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11491 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11493 * iterators.[Ch]: New files. Provide paragraph iterators.
11495 * buffer.C (changeLanguage): Use paragraph iterators.
11496 (isMultiLingual): ditto
11498 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11500 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11502 * FontLoader.C: Support for cmr font.
11504 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11506 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11507 (available): New method.
11509 * FontInfo.C (getFontname): Use scalable fonts even when
11510 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11513 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11515 * converter.C (Formats::view): reverted! Incorrect fix.
11517 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11519 * converter.C (Formats::view): only output the -paper option
11520 if the dvi viewer is xdvi, thereby fixing bug #233429.
11522 2001-08-23 Herbert Voss <voss@perce>
11524 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11526 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11528 * Spacing.h (Spacing): Set space to Default on in the default
11531 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11533 * vc-backend.h (RCS::versionString): add RCS to version
11534 (CVS::versionString): add CVS to version
11536 * vc-backend.C (scanMaster): do not add CVS to version.
11537 (scanMaster): do not add RCS to version
11539 * lyxvc.C (versionString): new method
11541 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11543 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11545 * Spacing.C (set): initialize fval
11547 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11549 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11552 2001-08-16 Juergen Vigna <jug@sad.it>
11554 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11556 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11558 * BufferView_pimpl.C:
11561 * text2.C: setParagraph takes linespacing now
11563 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11565 * LyxAction.C: add internal LFUN_CITATION_INSERT
11567 * LyXView.C: actually apply fix
11569 * bufferlist.C: fix open non-existent file
11571 * lyxfind.C: fix indentation
11573 * lyxfunc.C: remove unneeded assert, fix typo
11575 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11577 * MenuBackend.C: use "Floatname List"
11579 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11581 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11582 when converting LaTeX layout to insetERT.
11583 Generate a non-collapsed float when reading old float
11585 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11587 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11590 2001-08-13 Juergen Vigna <jug@sad.it>
11592 * text.C (fill): return 0 instead of 20 as this seems to be the more
11595 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11597 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11600 2001-08-13 Juergen Vigna <jug@sad.it>
11602 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11604 (SearchBackward): comment out the unlocking of the inset_owner this
11605 should not be needed!
11607 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11609 * Many files: Remove inherit_language, and add latex_language
11611 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11612 collapsible insets.
11614 2001-08-10 Juergen Vigna <jug@sad.it>
11616 * text.C (prepareToPrint): fixed hfill-width in draw!
11618 * BufferView2.C (selectLastWord): save the selection cursor as this
11619 now is cleared in the function LyXText::clearSelection!
11621 2001-08-08 Juergen Vigna <jug@sad.it>
11623 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11624 BACKSPACE type functions.
11626 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11627 is only cutted from the document but not put in the cut-buffer, where
11628 still the old stuff should be.
11630 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11632 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11634 * tabular.C (SetWidthOfCell): fixed special case where the width
11636 (LeftLine): handle '|' in align_special.
11638 (LeftAlreadyDrawed): ditto
11639 (SetWidthOfCell): ditto
11641 2001-08-07 Juergen Vigna <jug@sad.it>
11643 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11645 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11647 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11648 * lyxlex.[hC]: ditto
11650 2001-08-06 Juergen Vigna <jug@sad.it>
11652 * text.C (getVisibleRow): fix up row clearing a bit.
11654 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11656 * minibuffer.C: make sure the X server sees the changes in the input.
11658 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11660 * paragraph.C (getFont): split into...
11661 (getLabelFont): this
11662 (getLayoutFont): and this
11663 * paragraph_pimpl.C (realizeFont): calling this
11665 * text2.C (getFont): split into...
11666 (getLayoutFont): this
11667 (getLabelFont): and this
11668 (realizeFont): all three calling this
11670 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11673 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11675 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11677 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11679 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11680 layouts from the Quote inset insertion.
11682 2001-08-03 Juergen Vigna <jug@sad.it>
11684 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11686 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11687 only if status not is already CHANGED_IN_DRAW (second level).
11689 * text.C (draw): don't set the need_break_row when inside an
11692 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11694 * buffer.C (parseSingleLyXformat2Token): handle more latex
11697 * bufferview_funcs.[hC]: change function names to
11698 begin with small char, adjust other files.
11700 2001-08-02 André Pönitz <poenitz@gmx.net>
11703 BufferView_pimpl.C: remove broken special code for math-greek
11705 2001-08-02 Juergen Vigna <jug@sad.it>
11707 * BufferView_pimpl.C (update): redone this function so that we
11708 update the text again if there was a CHANGE_IN_DRAW.
11710 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11711 (drawFromTo): added a new internal bool which is used by draw() and
11713 (general): some cursor drawing problems fixed.
11715 2001-08-01 Juergen Vigna <jug@sad.it>
11717 * lyxfind.C (LyXFind): fixed
11718 (SearchForward): ditto
11719 (SearchBackward): ditto
11721 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11722 spurius drawing of the cursor in the main area.
11724 * text2.C (status): small fix which could lead to a segfault!
11725 (clearSelection): remove unneeded BufferView param.
11727 2001-08-01 André Pönitz <poenitz@gmx.net>
11729 * lyxfunc.C: small change due to changed mathed interface
11731 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11733 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11735 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11737 * lyxfunc.c: fail gracefully if file doesn't exist
11742 * BufferView_pimpl.C: IsDirWriteable() proto changed
11744 * LyXView.C: fix updateWindowTitle() to store the last title
11746 2001-07-31 Juergen Vigna <jug@sad.it>
11748 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11749 the font (wrong since using of Paragraph::highestFontInRange).
11751 * paragraph.C (highestFontInRange): added a default_size parameter.
11753 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11754 (setHeightOfRow): reformat
11756 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11758 * converter.[hC] + affected files: move to (inital-char)lowercase
11761 * ParagraphParameters.C (ParagraphParameters): remove commented code
11763 * PainterBase.[Ch]: remove commented code
11765 * LaTeXFeatures.h: add "bool floats" for float.sty
11767 * LaTeXFeatures.C (LaTeXFeatures): init floats
11768 (require): handle float
11769 (getPackages): do it with floats
11771 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11773 * BufferView_pimpl.C (Dispatch): improve handling of
11774 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11776 * commandtags.h: #include lyxfont.h here temporarily to avoid
11779 * bufferlist.h: include LString.h here.
11781 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11783 * text2.C (getStringToIndex): new method.
11785 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11787 * *: Reduced header file dependencies all over.
11789 2001-07-30 Baruch Even <baruch@lyx.org>
11791 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11793 2001-07-29 Baruch Even <baruch@lyx.org>
11795 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11797 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11799 * ParameterStruct.h (endif): add a default constructor to make
11800 sure that all variables is initialized.
11802 * ParagraphParameters.C (ParagraphParameters): adjust
11804 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11806 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11807 index; also, check that there is something to index, and that it
11808 does not span over several paragraphs.
11809 (doubleClick): use WHOLE_WORD_STRICT for double click.
11811 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11813 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11816 2001-07-26 Baruch Even <baruch@lyx.org>
11818 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11819 an InsetFig figure, backwards compatible reading of old figure code.
11821 2001-07-27 Juergen Vigna <jug@sad.it>
11823 * text2.C: font.realize function adaption.
11825 * text.C (draw): add a warnings lyxerr text if needed.
11827 * layout.C: font.realize function adaption.
11829 * language.C: add inherit_language and implement it's handlings
11831 * bufferview_funcs.C (StyleReset): remove language parameter from
11832 font creation (should be language_inherit now).
11834 * bufferparams.C (writeFile): handle ignore_language.
11836 * paragraph.C (getFontSettings): the language has to be resolved
11837 otherwise we have problems in LyXFont!
11839 * lyxfont.C (lyxWriteChanges): added document_language parameter
11840 (update): removed unneeded language parameter
11842 * paragraph.C (validate): fixed wrong output of color-package when
11843 using interface colors for certain fonts in certain environments,
11844 which should not seen as that on the final output.
11846 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11848 * BufferView_pimpl.C:
11853 * LyXAction.C: add thesaurus support
11856 * lyxfind.C: add "once" parameter, for thesaurus, to not
11857 move to the next match
11859 2001-07-26 Juergen Vigna <jug@sad.it>
11861 * lyxfont.C (realize): honor ignore_language too!
11864 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11866 * text.C (draw): one place more for ignore_language to not draw
11869 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11871 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11873 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11875 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11876 the minipage conversion problem.
11878 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11880 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11883 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11885 * BufferView.h: don't forward declare WorkArea
11887 * BufferView.C: don't include WorkArea.h
11889 2001-07-25 André Pönitz <poenitz@gmx.net>
11893 * lyxfunc.C: new LFUN 'math-space'
11895 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11897 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11899 * text2.C (toggleInset): call open/close
11901 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11903 * lyxfunc.C (dispatch): add debug for the disabled case
11905 * font.C (buttonText): make similar to rectText
11907 * buffer.C (readInset): comment out parsing of insetlist and
11910 * PainterBase.C (rectText): small correction
11912 * BufferView_pimpl.C: comment out insettheorem and insetlist
11913 * LyXAction.C: ditto
11914 * commandtags.h: ditto
11916 2001-07-24 Juergen Vigna <jug@sad.it>
11918 * text.C (draw): honor the ignore_language.
11920 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11922 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11924 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11927 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11929 * lyxtext.h: remove unused (and unimplemented) methods
11931 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11933 * text.C (getVisibleRow): honor background color
11936 * Painter.h: remove default color argument for fillRectangle
11938 * text.C (backgroundColor): new method
11940 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11942 * text.C (getVisibleRow): adjust
11944 * font.[Ch] (rectText): new method, metrics
11945 (buttonText): new method, metrics
11947 * PainterBase.[hC]: make rectText and buttonText always draw and take
11950 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11952 * ToolbarDefaults.C (read):
11953 * MenuBackend.C (read): allow escaping in all strings
11955 * BufferView_pimpl.C (insertAndEditInset): new method.
11956 (Dispatch): use insertAndEditInset whenever appropriate.
11958 * BufferView_pimpl.C (insertNote): removed
11960 * BufferView_pimpl.C (smartQuote): new method, moved from
11961 BufferView; if an insetquote cannot be inserted, insert a '"'
11964 * BufferView2.C: remove insertCorrectQuote();
11966 * lyxfunc.C (getStatus): Add support for all remaingin
11967 inset-insert lfuns.
11969 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11971 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11972 command (necessary to pass " as parameter of self-insert.
11974 * text.C (selectWordWhenUnderCursor):
11975 (selectWord): add word_location parameter
11976 (selectWordWhenUnderCursor): same + remove special code for word
11978 (selectNextWord): use kind() to guess type of insetspecialchar,
11981 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11982 (insertErtContents): create ert insets as collapsed.
11983 (readInset): better compatibility code for Info inset.
11985 2001-07-20 Juergen Vigna <jug@sad.it>
11987 * lyxfunc.C (dispatch): use always LyXFind now!
11989 * text2.C (init): add a reinit flag so that the LyXText can be
11990 reinited instead of deleted and reallocated (used in InsetText).
11992 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11998 2001-07-18 Juergen Vigna <jug@sad.it>
12000 * text.C (selectNextWord): handle insets inside inset by calling
12001 always the bv->text functions so that we can go up the_locking_inset!
12003 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12004 in strange locations when inside an inset!
12006 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12007 handling to include insets.
12009 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12011 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12013 * LyXAction.C (init):
12015 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12016 LIGATURE_BREAK, since the name is so stupid.
12018 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12020 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12023 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12025 * sp_form.[Ch]: remove.
12027 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12029 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12032 * src/buffer.C (readInset): ditto.
12034 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12036 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12037 menuSeparator(), endOfSentenceDot(), ldots() and
12038 hyphenationPoint(), which are therefore removed.
12039 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12041 * LyXAction.C (init):
12042 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12044 * paragraph.C (getWord): removed.
12046 * BufferView_pimpl.C (Dispatch): use last word or selection for
12047 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12049 * lyx_main.C (queryUserLyXDir): do not ask before creating
12050 user_dir, except if it has been named explicitely.
12052 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12054 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12055 a document of zero size.
12057 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12059 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12060 approriately in the c-tor and in require().
12061 (getPackages): output the appropriate LaTeX for natbib support.
12063 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12064 variables "use_natbib" and "use_numerical_citations" when reading the
12066 (readInset): read the various natbib cite commands.
12067 (validate): white-space change.
12069 * bufferparams.[Ch]: new variables "bool use_natbib" and
12070 "bool use_numerical_citations".
12071 (writeFile): output them in the LyX file.
12073 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12075 * lyxfunc.C (getStatus): add support for all the inset insertion
12078 * text2.C (insertInset):
12079 * paragraph.C (insetAllowed):
12080 * BufferView_pimpl.C (insertInset): update to take in account the
12081 renaming of insertInsetAllowed
12083 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12085 * text2.C (getInset): new method. returns inset at cursor position.
12087 * BufferView_pimpl.C (Dispatch): changes because of this.
12089 * LyXAction.C (init): rename open-stuff to inset-toggle.
12091 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12093 * text2.C (toggleInset): renamed from openStuff; use
12096 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12098 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12100 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12102 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12104 * buffer.C (readLyXformat2): Add filename to the error dialog
12106 2001-07-18 Juergen Vigna <jug@sad.it>
12108 * tabular.C (GetCellNumber): put an assert here instead of the check!
12110 2001-07-17 Juergen Vigna <jug@sad.it>
12112 * BufferView_pimpl.C (toggleSelection): adapted too.
12114 * text.C (selectNextWord): adapted for use with insets.
12115 (selectSelectedWord): ditto
12117 2001-07-17 Juergen Vigna <jug@sad.it>
12119 * sp_spell.C (PSpell): fix initialitation order.
12121 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12123 * paragraph.C: spacing
12125 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12127 * sp_spell.C: repair language selection for pspell
12129 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12131 * lyxfunc.h: change more methods to begin with lower char.
12133 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12135 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12136 for unknown layouts.
12138 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12140 * buffer.C (readLyXformat2): Generate an error dialog if there are
12143 2001-07-16 Juergen Vigna <jug@sad.it>
12145 * sp_spell.C: always compile ISpell part.
12147 * lyxrc.C: added use_pspell entry and it's handling.
12149 2001-07-13 Juergen Vigna <jug@sad.it>
12151 * sp_spell.C: removed double includes.
12153 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12155 Consistent use of Lsstream.h:
12156 * Lsstream.h: added using std::stringstream for consistencies sake.
12158 * buffer.C: removed using std::stringstream
12160 * lyxfont.C (stateText):
12161 * paragraph.C (asString):
12162 * text.C (selectNextWord, selectSelectedWord):
12163 * text2.C (setCounter):
12164 * vspace.C (asString, asLatexString):
12165 std::ostringstream -> ostringstream.
12167 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12169 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12170 * commandtags.h: add LFUN_HELP_ABOUTLYX
12171 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12173 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12175 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12177 * lyx_gui_misc.C: remove spellchecker
12178 * lyxfunc.C: showSpellchecker
12180 * sp_ispell.h: added
12181 * sp_pspell.h: added
12182 * sp_spell.C: added
12183 * sp_form.[Ch]: removed
12184 * spellchecker.[Ch]: removed
12186 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12188 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12190 (simpleTeXSpecialChars): Simply print the input character without
12191 any special translation if pass_thru is set.
12193 * layout.h: Added bool pass_thru to layout class for being able to
12194 implement pass through of a paragraph for Literate Programming.
12196 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12197 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12198 * layout.C (Read): add "passthru" to list of layout tags and add
12199 code to set the pass_thru boolean when it is read.
12201 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12203 * trans_decl.h: remove allowed from KmodInfo
12205 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12206 remove allowed code
12209 * paragraph_pimpl.C (erase): use boost::prior
12211 * Painter.C (text): use data() instead of c_str() when length is
12213 * WorkArea.C (putClipboard): ditto
12214 * font.h (width): ditto
12216 * BufferView2.C: use it-> instead of (*it). for iterators
12218 * paragraph_pimpl.C: ditto
12219 * paragraph.C: ditto
12220 * minibuffer.C: ditto
12221 * language.C: ditto
12223 * encoding.C: ditto
12224 * counters.C: ditto
12225 * converter.C: ditto
12227 * Variables.C: ditto
12228 * TextCache.C: ditto
12229 * MenuBackend.C: ditto
12230 * LyXAction.C: ditto
12232 * FloatList.C: ditto
12233 * DepTable.C: ditto
12234 * ColorHandler.C (LyXColorHandler): ditto
12236 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12238 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12240 * text2.C (openStuff): reintroduce this method (which had been
12241 nuked in NEW_INSETS frenzy).
12243 * lyxfunc.C (Dispatch): when an action has not been handled, use
12244 its name in the error message, not its number.
12246 * paragraph.C (inInset): change method name to begin with lowercase.
12249 * text2.C: updates because of this.
12251 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12253 * ToolbarDefaults.C (add): add spaces in error message
12255 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12257 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12258 (readLyXformat2): rename return_par to first_par, use lyxlex's
12259 pushToken and remove the manual push handling.
12260 (parseSingleLyXformat2Token): add another ert comp. variable:
12261 in_tabular, rename return_par to first_par. handle newlines better
12263 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12265 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12267 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12269 * text2.C (getParFromID): removed
12271 * buffer.C (getParFromID): new method moved form lyxtext.
12272 * BufferView2.C (insertErrors): adjust
12273 (setCursorFromRow): adjust
12274 * BufferView_pimpl.C (restorePosition): adjust
12275 * lyxfunc.C (Dispatch): adjust
12276 * undo_funcs.C (textUndo): adjust
12278 (textHandleUndo): adjust
12279 (textHandleUndo): adjust
12281 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12283 * buffer.C: up' the LYX_FORMAT
12285 * lyxfont.h: turn NO_LATEX on as default
12287 * buffer.C (insertErtContents): new methods of tex style compability.
12288 (parseSingleLyXformat2Token): use it several places.
12289 * tabular.C (OldFormatRead): and here
12291 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12293 * text2.C: remove some commented code.
12296 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12297 * trans.C: changes because of the above.
12299 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12301 * text2.C (setCounter): Fix counters bug with bibliography layout.
12303 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12305 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12306 own member functions
12307 (simpleTeXSpecialChars): ditto
12309 2001-07-06 Juergen Vigna <jug@sad.it>
12311 * a lot of files: changed the access to LyXText::status and the
12312 call of undo-functions.
12314 * undo.[Ch]: added a inset_id to the undo informations.
12316 * undo_funcs.[Ch]: added and moved here all undo functions.
12318 * lyxtext.h: give the status enum a weight, made status_ a private
12319 variable and made accessor functions for it, removed the whole bunch
12320 of undo-functions as they are now in their own file, make some
12321 functions publically available. Added function ownerParagraph with
12324 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12325 made InInset() a const function, added getParFromID() function.
12327 * buffer.[Ch]: added const version for inset_iterator functions,
12328 added getInsetFromID() function.
12330 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12331 changed undo functions for new version.
12333 2001-07-05 Juergen Vigna <jug@sad.it>
12335 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12336 unknow mechanism does not call the proper constructor but only this
12337 one also if I request the other!?
12339 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12341 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12343 * text2.C (LyXText): use initialization lists.
12345 * lyxtext.h (Selection): initialize set_ and mark_
12346 (init): remove method
12348 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12350 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12352 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12354 * screen.[Ch]: change method names to begin with lowercase
12356 * BufferView_pimpl.C (updateScrollbar): simplify further and
12357 hopefully make it a bit faster.
12359 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12361 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12362 calling directly xforms functions.
12364 * Painter.C (Painter):
12365 * lyx_cb.C (MenuWrite):
12366 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12369 * lyx_gui.C: remove bogus guiruntime extern declaration.
12371 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12373 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12375 (redoDrawingOfParagraph): ditto
12376 (redoParagraphs): ditto
12377 (cutSelection): don't create a object for CutAndPaste use the
12378 static method directly
12379 (pasteSelection): ditto
12381 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12384 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12386 * modifications to some other files because of this.
12388 * Makefile.am (lyx_SOURCES): add XFormsView
12390 * XFormsView.[Ch]: new files
12392 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12393 the main window. Move the gui dependent stuff to XFormsView
12395 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12397 * tabular.C (GetCellInset): update cur_cell also in the row/col
12398 version of this function.
12400 * lyxfunc.C: no need to include figure_form.h here.
12406 * lyxvc.C: no need to include forms.h here.
12408 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12410 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12412 * lyxfunc.C (Dispatch):
12414 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12415 constructor argument.
12417 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12419 * paragraph.C (Paragraph): dont't clear, and just set layout.
12420 (makeSameLayout): use params's copy contructor.
12422 * ParagraphParameters.[Ch] (makeSame): delete method
12424 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12426 * Variables.[Ch]: fix indentation, rename set to isSet
12428 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12430 * lyxfunc.C (Dispatch): fix typo
12432 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12434 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12437 * bufferlist.C: include assert.h for emergencyWrite().
12439 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12441 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12442 give up at last (bug #425202) !
12444 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12450 * spellchecker.C: strip spellchecker options and bring up
12451 preferences tab instead
12453 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12455 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12456 the istringstream constructor
12458 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12460 * paragraph.C (getLayout): fix return value
12462 * paragraph.h: do not declare getLayout as inline.
12464 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12466 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12468 * lyxcursor.h (operator<): new func
12469 (operator>): new func
12470 (operator>=): new func
12471 (operator<=): new func
12473 * text.C (changeCase): use selection.start and selection.end
12474 (changeRegionCase): require from to be <= to. Require par to be a
12477 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12479 2001-06-27 Juergen Vigna <jug@sad.it>
12481 * text.C (cursorLeftOneWord): changed to return the cursor and added
12482 overlay with BufferView * parameter which calls this one.
12484 (selectWord): use new getWord function.
12485 (changeCase): renamed from changeWordCase as and extended to work
12486 also on selections.
12488 * lyxtext.h: added enum word_location
12490 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12491 changeCase as this operates now also on selections.
12493 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12495 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12497 * many files: send debug output to Debug::INFO instead of
12500 * converter.C (View):
12502 (Move): send debug output to Debug::FILES instead of console.
12504 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12506 * lyxfunc.C (getStatus): use func_status
12508 * func_status.h: new header, describing the results of
12509 LyXFunc::getStatus;
12511 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12514 2001-06-25 The LyX Project <jug@sad.it>
12516 * buffer.C (sgmlOpenTag):
12518 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12520 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12522 * text2.C: remove some dead code
12524 * tabular.C (GetCellInset): store the last cell checked (gotten)
12526 * tabular.h: add the helper for the speedup
12528 * lyxtext.h: remove some dead code
12530 2001-06-26 The LyX Project <Asger>
12532 * paragraph.C: Change export to LaTeX of alignment to
12533 \begin{center} and family for better roundtrip work with reLyX.
12535 * Tune the math drawing a bit.
12537 2001-06-25 The LyX Project <Asger>
12539 * LColor.C (LColor): New color for math background. New color
12542 2001-06-25 The LyX Project <jug@sad.it>
12544 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12546 * lyxfunc.C (Open):
12547 * bufferlist.C (newFile): do not restrict to files ending with
12550 * BufferView_pimpl.C (MenuInsertLyXFile):
12552 2001-06-24 The LyX Project <jug@sad.it>
12554 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12557 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12559 * lyxtext.h: rename most methods to begin with a small char.
12560 Lots of changes because of this.
12562 * paragraph.C (Paragraph): do not call fitToSize
12563 (erase): call Pimpl::erase
12564 (insertChar): call Pimpl::insertChar
12565 (insertInset): call Pipl::insertInset
12566 (breakParagraph): do not call fitToSize
12567 (breakParagraphConservative): do not call fitToSize
12568 (fitToSize): remove method
12570 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12572 2001-06-24 The LyX Project <Asger>
12574 * Fix Qt compilation^2
12576 2001-06-24 The LyX Project <jug@sad.it>
12578 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12579 depthHook(getDepth()-1).
12582 * ParagraphParameters.h:
12583 * ParameterStruct.h: change type of depth to unsigned int ==
12584 depth_type. Many adaptations to other files before of that.
12586 2001-06-24 The LyX Project <Asger>
12588 * Fix Qt compilation.
12590 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12592 * paragraph.h: renamed several methods to begin with small letter.
12593 several changes to many parts of the code because of this.
12595 2001-06-23 The LyX Project <jug@sad.it>
12597 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12598 rewritten to discard all double spaces when KeepEmpty is off
12599 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12600 to only handle newlines but not fiddle with spaces and friends.
12602 * lyxfunc.C (MenuNew): when doing 'new from template', use
12603 template_path as default directory
12605 2001-06-23 The LyX Project <Asger>
12607 * Clean-up of header file includes all over
12608 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12610 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12612 * paragraph.h: renamed from lyxparagraph.h
12614 2001-06-23 Asger <lyx@violet.home.sad.it>
12616 * Buffer.h: Removed Buffer::resize
12617 * BufferList.h: Removed BufferList::resize
12618 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12619 the document lazily when we change the width, or the font settings.
12621 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12623 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12625 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12627 * buffer.h: remove out of date comment
12629 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12632 * screen.C: fix "theoretical" GC leak
12634 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12636 * LaTeX.C (scanAuxFile):
12637 (deplog): remove trailing \r when reading stream (useful under
12640 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12642 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12643 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12644 and BufferView::theLockingInset(Inset*), so should use them and not
12645 access bv_->text->the_locking_inset directly.
12647 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12649 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12652 * tex-defs.h: remove old unused file
12654 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12656 * BufferView_pimpl.C: fix typo, remove minibuffer message
12657 when buffer has loaded
12659 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12661 * lyxfunc.C (Dispatch): use stringstream
12662 (MenuNew): use stringstream
12663 (Open): use stringstream
12665 * importer.C (Import): use stringstream
12667 * bufferview_funcs.C (CurrentState): use stringstream
12669 * LaTeX.C (run): use stringstream
12671 * BufferView_pimpl.C (savePosition): use stringstream
12672 (restorePosition): use stringstream
12673 (MenuInsertLyXFile): use stringstream
12675 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12688 * vspace.C: removed // -*- C++ -*- as first line.
12691 * version.h: added // -*- C++ -*- as first line.
12693 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12695 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12697 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12700 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12702 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12705 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12707 * gettext.C: include LString.h even when --disable-nls is on.
12709 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12711 * converter.h (Get): changed argument type from int to
12712 FormatList::size_type to avoid unnecessary conversion.
12714 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12717 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12719 * gettext.h: include LString.h even when --disable-nls is on.
12721 2001-06-07 Juergen Vigna <jug@sad.it>
12723 * text.C (BreakAgain): subst spaces with tabs.
12725 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12726 (resizeInsetsLyXText): set force on resizeLyXText.
12728 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12730 * gettext.h (gettext_init):
12731 (locale_init): use a real definition instead of a macro
12733 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12735 * Bufferview_pimpl.C:
12737 * LColor.C: further lcolor tidies
12739 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12741 * BufferView_pimpl.C (updateScrollbar): simplify.
12743 * BufferView2.C: don't include insets/insetinfo.h, change
12744 prototype for insertInset and call the Pimpl version. let
12745 updateInset call Pimpl version.
12747 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12748 gotoInset to BufferView::Pimpl
12750 2001-06-01 Juergen Vigna <jug@sad.it>
12752 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12753 inside a LockingInset (is the update needed at all?).
12755 2001-05-31 Juergen Vigna <jug@sad.it>
12757 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12758 here not the old one otherwise how should we compare it afterwards
12761 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12766 * FontInfo.C: bring C functions into global namespace when
12769 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12771 * LString.h: make sure config.h has been loaded before LString.h.
12773 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12774 (one for each char read by EatLine!).
12776 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12779 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12781 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12782 to the same as the par we break from
12784 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12786 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12788 * MenuBackend.C (expand): also create menu entries for wide
12789 versions of the floats.
12791 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12793 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12795 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12796 frontends/Makefile.am
12802 * tabular.C (getTokenValue): add std::
12804 * tabular-old.C (getTokenValue): add std::
12805 (getTokenValue): ditto
12806 (getTokenValue): ditto
12808 * screen.C (ToggleSelection): adjust
12810 * lyxtext.h: put selection cursors inside a Selection struct.
12812 * lyxfunc.C (moveCursorUpdate): adjust
12814 * lyxfont.C (latexWriteStartChanges): add std::
12816 * lyxfind.C: adjust
12818 * font.h: delete with(char const *, LyXFont const &)
12820 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12822 * FontInfo.C (getFontname): add std::
12824 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12825 (workAreaButtonPress): adjust
12826 (tripleClick): adjust
12828 (moveCursorUpdate): adjust
12831 * BufferView2.C (gotoInset): adjust
12833 2001-05-30 Juergen Vigna <jug@sad.it>
12835 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12836 to check pspell I add this as default as I now have new pspell
12837 libraries and they seem to use this.
12839 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12841 * text2.C (CutSelection): make the cursor valid before the call to
12844 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12846 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12847 relied on 0 terminated strings and other horrors. Bug found due to
12848 the new assert in lyxstring!
12850 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12853 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12855 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12858 * lyxfunc.C (processKeySym): change method of getting to the
12861 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12862 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12863 * BufferView_pimpl.[Ch]: here as private methods.
12865 2001-05-28 Juergen Vigna <jug@sad.it>
12867 * text.C (SetHeightOfRow): added the update() call again as it is
12868 needed to initialize inset dimensions!
12870 2001-05-16 Juergen Vigna <jug@sad.it>
12872 * text2.C (SetCharFont): Add new function with BufferView * and
12873 bool toggleall parameters for setting insets internal fonts.
12874 (SetFont): Freeze the undo as we may change fonts in Insets and
12875 all this change should be inside only one Undo!
12877 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12878 setting font's in insets as for them we have the SetFont function!
12880 2001-05-15 Juergen Vigna <jug@sad.it>
12882 * text2.C (ClearSelection): to be sure we REALLY don't have any
12885 * tabular.C (TeXCellPreamble): fixed the left border problem for
12888 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12890 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12893 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12895 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12896 LFUN_BREAKPARAGRAPH.
12898 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12899 help test to "internal only", similar for LFUN_INSERT_URL
12901 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12902 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12903 auto_region_delete and deadkeys.
12905 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12908 * LColor.C: remove some dead entries, tidy a little
12910 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12912 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12914 (Dispatch): implement LFUN_ESCAPE
12916 * commandtags.h: add LFUN_ESCAPE
12918 * LyXAction.C (init): add entry for LFUN_ESCAPE
12920 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12921 Remove commented code.
12922 (insertNote): moved here
12923 (open_new_inset): moved here
12925 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12928 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12930 * kbmap.C (findbinding): clean it up and make it work correctly.
12932 * lyx_main.C (init): do not pass argc and argv as parameters
12934 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12936 * buffer.C: fix path for OS/2 & Win32
12940 * lyx_main.C: Added os:: class.
12942 * os2_defines.h: update
12944 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12946 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12947 better by trying again with reduced state.
12949 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12951 * lyxrc.C (read): print error about invalid key sequence only when
12952 debugging (because not all latinX keysyms are known to some X
12955 * kbsequence.C (getiso): add a few std:: qualifiers
12956 (getiso): comment out extra return statement.
12958 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12960 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12962 (Dispatch): enhance the accent inset a bit. (not perfect)
12964 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12966 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12968 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12970 * bufferlist.C (emergencyWrite): fix assert() call
12972 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12974 * text.C (InsertChar): Added trivial patch to only send the "you
12975 can not do multiple spaces this way" message once during a
12978 2001-05-08 Baruch Even <baruch@lyx.org>
12980 * Makefile.am: Changed order of libraries to get LyX to link properly
12981 with the gnome frontend.
12983 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12985 * LaTeXFeatures.h: add a std:: qualifier
12987 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12989 * paragraph.C (String): use stringstream
12991 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12993 * paragraph.C (writeFile): remove footflag arg
12995 * buffer.C (makeLaTeXFile): use stringstream
12996 (latexParagraphs): remove footnot gurba
12998 * LaTeXFeatures.C (getPackages): use stringstream
12999 (getMacros): likewise
13000 (getTClassPreamble): likewise
13001 (getFloatDefinitions): new method
13003 * paragraph.C (writeFile): reindent
13006 * WorkArea.h: revert the xpos + etc changes.
13008 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13010 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13012 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13013 (pasteSelection): likewise
13014 * text2.C (CreateUndo): likewise
13016 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13018 * minibuffer.C (peek_event): temporarily reduce the functionality
13019 of the minibuffer (to allow args on lfuns)
13021 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13022 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13024 * buffer.C (readInset): add compability reading of old float
13025 lists, add reading of new style float list.
13026 (readInset): avoid reevaluation of inscmd.getCmdName()
13027 (getLists): reindent
13029 * MenuBackend.C (MenuItem): implement parsing of
13030 md_floatlistinsert and md_floatinsert.
13031 (expand::LastFiles): move initalizaton of iterators out of loop,
13032 avoid reevaluation.
13033 (expand::Documents): introduce typdedef vector<string> Strings,
13035 (expand::ExportFormats): introduce typedef vector<Format const *>
13036 Formats, and use it.
13037 (expand): implement FloatListInsert and FloatInsert.
13039 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13040 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13041 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13043 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13045 (Dispatch::LFUN_FLOAT_LIST): implement
13047 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13049 * LaTeX.C (run): Fix problem with --export code.
13051 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13053 * BufferView.[Ch] (workarea): removed.
13054 (getClipboard) new method; wrapper for workarea()->getClipboard()
13056 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13059 * WorkArea.h (width, height, xpos, ypos): These methods all
13060 returned the dimensions of the work_area sub-area of WorkArea,
13061 resulting in a position error if the WorkArea were resized. Now
13062 return the dimensions of the entire WorkArea.
13064 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13066 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13068 * LaTeX.C (deplog): correct the syntax of regex reg1
13070 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13072 * undo.C: remove !NEW_INSETS cruft
13074 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13076 * text2.C: remove !NEW_INSETS cruft
13078 * text.C: remove !NEW_INSETS cruft
13080 * tabular.C: remove !NEW_INSETS cruft
13082 * spellchecker.C: remove !NEW_INSETS cruft
13084 * lyxtext.h: remove !NEW_INSETS cruft
13086 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13088 * lyxfunc.C: remove !NEW_INSETS cruft
13090 * lyxfind.C: remove !NEW_INSETS cruft
13092 * lyx_cb.C: remove !NEW_INSETS cruft
13094 * figureForm.C: remove !NEW_INSETS cruft
13096 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13098 * buffer.[Ch]: remove !NEW_INSETS cruft
13100 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13102 * CutAndPaste.C: remove !NEW_INSETS cruft
13104 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13106 * BufferView2.C: remove !NEW_INSETS cruft
13108 * BufferView.h: remove !NEW_INSETS cruft
13110 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13112 * Lsstream.h: include LString.h before the sstream headers to
13113 fix problem with gcc 2.95.3 and lyxstring
13115 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13117 * lyx_main.C: add using directives when needed for C functions
13118 declared in std:: namespace.
13120 2001-04-27 Juergen Vigna <jug@sad.it>
13122 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13123 (SetHeightOfRow): comment out the update call should not be needed!
13125 2001-04-13 Juergen Vigna <jug@sad.it>
13127 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13128 (LyXTabular): tried to minimize operator= operations (and realized
13129 hopfully Lars wish).
13131 2001-04-27 Juergen Vigna <jug@sad.it>
13133 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13135 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13137 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13139 * buffer.C (readInset): hack to make listof algorithm work
13141 * BufferView_pimpl.C: hack to make listof algorithm work
13143 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13145 * LyXAction.C: removed all !NEW_INSETS cruft
13146 (init): moved lfun_item in method
13148 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13150 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13152 * BufferView2.C (theLockingInset): white space.
13154 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13156 * minibuffer.C: include <iostream>
13158 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13160 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13162 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13164 * text.[Ch] (TransposeChars): new method
13166 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13168 * call message directly through LyXView instead of through LyXFunc
13169 * BufferView2.C: adjust
13170 * BufferView_pimpl.C: adjust
13171 * FontLoader.C: adjust
13173 * bufferview_funcs.C: adjust
13174 * converter.C: adjust
13175 * figureForm.C: adjust
13176 * importer.C: adjust
13178 * lyx_gui_misc.C: adjust
13179 * lyxfunc.C: adjust
13182 + more files in subdirs
13184 * lyxparagraph.h (size): move up int file
13187 * adjust all uses of Assert to lyx::Assert.
13189 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13190 lyxfunctional in namespace lyx
13191 * layout.C (hasLayout): ditto
13194 (delete_layout): ditto
13195 (NumberOfClass): ditto
13196 * converter.C (GetFormat): ditto
13201 * bufferlist.C (getFileNames): ditto
13202 (emergencyWriteAll): ditto
13205 * MenuBackend.C (hasSubmenu): ditto
13208 * BufferView_pimpl.C (getInsetByCode): ditto
13210 2001-04-18 Juergen Vigna <jug@sad.it>
13212 * vspace.C (asLatexString): fixed the 100% problem.
13214 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13216 * lyxfunc.C (Dispatch):
13218 * minibuffer.h: add a few std:: qualifiers
13220 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13222 * minibuffer.[Ch]: reimplement so that commands is initiated and
13223 run from lyxfunc, simplified som handling, and made the completion
13224 and history code for complete. wip.
13226 * lyxfunc.C (processKeySym): call message
13227 (miniDispatch): new temporary method
13228 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13229 (LFUN_MESSAGE): implement
13230 (LFUN_MESSAGE_PUSH): implement
13231 (LFUN_MESSAGE_POP): implement
13232 (initMiniBuffer): the initial/defualt minibuffer message.
13234 * lyxfont.[Ch]: inline some more getters
13236 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13238 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13240 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13241 (AutoSave): use LFUN_MESSAGE
13242 (Reconfigure): ditto
13244 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13246 * figureForm.C: use LFUN_MESSAGE
13248 * converter.C (runLaTeX): use LFUN_MESSAGE
13250 * bufferview_funcs.C: use LFUN_MESSAGE
13252 (changeDepth): ditto
13254 * bufferparams.h: use boost::
13256 * bufferlist.h: inherit privately from noncopyable
13258 * bufferlist.C (loadLyXFile): remove some commented code.
13260 * buffer.C (runChktex): use LFUN_MESSAGE
13262 * ShareContainer.h: inherit privately from noncopyable
13264 * ParagraphParameters.[hC] (depth): inline it.
13266 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13268 (message): new method
13269 (messagePush): ditto
13270 (messagePop): ditto
13271 (show): init minibuffer
13272 (showState): direct call
13274 * LaTeX.[Ch]: inherit privately from noncopyable
13275 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13276 instead of WriteStatus.
13278 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13280 * BufferView_pimpl.C (buffer): don't init minibuffer
13281 (workAreaButtonPress): use LFUN_MESSAGE
13282 (workAreaButtonRelease): ditto
13283 (savePosition): ditto
13284 (restorePosition): ditto
13285 (MenuInsertLyXFile): ditto
13286 (workAreaExpose): don't init minibuffer
13287 (update): remove commented code, simplify
13289 * BufferView2.C (openStuff): use LFUN_MESSAGE
13290 (toggleFloat): ditto
13293 (copyEnvironment): ditto
13294 (pasteEnvironment): ditto
13299 (updateInset): remove some commented code
13301 * lastfiles.h: inherit privately from noncopyable
13304 * lyx_main.h: ditto
13306 * lyxlex_pimpl.h: ditto
13308 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13309 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13310 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13312 * LyXAction.h: inherit privately from noncopyable, add methods
13313 func_begin, func_end, returning iterators to the func map.
13315 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13316 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13317 (func_begin): new method
13318 (func_end): new method
13320 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13322 (copySelection): ditto
13323 (pasteSelection): ditto
13325 * BufferView.C: whitespace change
13326 * BufferView.h: inherit privately from noncopyable
13328 2001-04-16 Allan Rae <rae@lyx.org>
13330 * tabular-old.C (l_getline):
13331 * spellchecker.C (sc_check_word):
13332 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13333 an unrecognised preprocessor directive. So ensure they're wrapped.
13335 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13337 * src/exporter.C (Export): Give an error message when path to file
13340 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13342 * LaTeX.C (deplog): Always check that foundfile exists.
13344 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13347 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13349 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13351 * tabular.[Ch] (getLabelList): implement new method
13353 * minibuffer.h: comment ouf setTiimer
13355 * minibuffer.C (ExecutingCB): constify res
13356 (peek_event): constify s
13357 (Set): constify ntext
13358 (Init): constify nicename
13360 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13362 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13363 (savePosition): use two params to Minibuffer::Set
13364 (restorePosition): ditto
13366 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13368 * lyx_main.C: include language.h
13370 * Makefile.am (lyx_main.o): add language.h
13372 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13378 * CutAndPaste.C: include gettext.h
13380 * lyxfont.h: remove old hack with ON and OFF.
13383 * lyxfont.h: do not include language.h...
13388 * bufferview_funcs.C:
13394 * paragraph.C: ... but do it here instead
13396 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13398 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13400 * tabular.C: small reformat
13402 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13405 (BreakParagraph): ditto
13406 (SetOnlyLayout): ditto
13409 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13412 * lastfiles.C: removed most using decl, add std:: where needed
13414 * buffer.C: ws changes
13416 * MenuBackend.C (class compare_format): put into anon namespace
13417 (expand): constify label, names, action, action2
13420 * text.C (SingleWidth): constify font
13421 (IsBoundary): constify rtl2
13422 (GetVisibleRow): constify ww
13424 * LaTeX.C (deplog): constify logfile
13426 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13428 (workAreaExpose): constify widthChange, heightChange
13430 * lyxrow.C (par): moved
13433 * lyxrow.h: as inlines here
13435 * lyxfont.h (shape): moved from lyxfont.C
13436 (emph): moved from lyxfont.C
13438 * lyxfont.C (LyXFont): use initialization list for all
13440 (shape): move to lyxfont.h as inline
13441 (emph): move to lyxfont.h as inline
13444 2001-04-04 Juergen Vigna <jug@sad.it>
13446 * vspace.C: had to include stdio.h for use of sscanf
13448 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13451 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13452 independent of xforms.
13454 2001-04-02 Juergen Vigna <jug@sad.it>
13456 * spellchecker.C: fixed namespace placing!
13458 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13460 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13461 the LyXParagraph * is 0.
13463 2001-03-29 Juergen Vigna <jug@sad.it>
13465 * vspace.C: added support for %, c%, p%, l%.
13466 (stringFromUnit): added helper function.
13467 (asLatexString): changed to give right results for the %-values.
13469 * buffer.C: convert the widthp in a width%.
13471 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13473 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13476 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13477 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13479 * lyx_cb.[Ch]: see above.
13481 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13485 * lyx.[Ch]: replaced by figure_form.[Ch].
13489 * lyxfunc.C: changed headers associated with above changes.
13491 2001-03-27 Juergen Vigna <jug@sad.it>
13493 * BufferView_pimpl.C: set the temporary cursor right!
13495 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13497 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13499 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13501 * LString.h: removed "using std::getline"!
13503 * BufferView_pimpl.C (Dispatch): changes due to changes in
13504 InsetInclude::Params.
13506 * buffer.C (tag_name): removed redundant break statements as they were
13507 producing lots of warnings with my compiler.
13509 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13511 * LString.h: add "using std::getline" when using the real <string>.
13513 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13515 * buffer.C: removed bitset usage.
13516 PAR_TAG moved to an anonymous name space.
13517 (tag_name): new funtion, also in the anonymous namespace.
13518 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13519 (makeDocBookFile): clean code. Completed transition from string arrays
13521 (SimpleDocBookOnePar): code clean.
13523 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13525 * tabular.C: add some comments.
13527 2001-03-22 Juergen Vigna <jug@sad.it>
13529 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13530 compatibility read a bit and fixed bug with minipage in different
13533 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13535 * buffer.C (pop_tag): removed.
13536 (push_tag): removed.
13537 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13538 array replaced with vector. Added support for CDATA sections.
13539 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13541 (makeDocBookFile): XML conformant declaration of CDATA section,
13542 fixed bug related to <emphasis> in the first paragraph char.
13543 (sgmlOpenTag): exclude empty tags.
13544 (sgmlCloseTag): ditto.
13546 * buffer.h (pop_tag): removed.
13547 (push_tag): removed.
13549 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13551 * language.h (Languages): added size_type and size().
13553 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13555 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13556 response on compability reading of minipages. One probliem is that
13557 the old usage of minipages was «flertydig»
13559 * several files here and in subdirs: don't use static at file
13560 scope use anon namespaces instead.
13562 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13564 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13565 LaTeX output. This is necessary for Literate document
13568 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13570 * buffer.C: insert hfill when needed.
13572 * tabular.C (l_getline): use string::erase, small whitespace change.
13574 * BufferView_pimpl.C: try the anon namespace.
13575 * WorkArea.C: ditto
13577 2001-03-16 Juergen Vigna <jug@sad.it>
13579 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13580 otherwise it won't open options-dialogs.
13582 * buffer.C: honor pextraWidth(p) on converting minipages.
13584 * tabular.C (l_getline): changed the functions to strip trailing \r.
13586 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13588 * BufferView_pimpl.C:
13589 * minibuffer..C: added "using SigC::slot" declaration.
13591 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13593 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13599 * paragraph.C: ditto
13601 * lyxtext.h: NO_PEXTRA
13603 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13605 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13606 * ParameterStruct.h: ditto
13607 * ParagraphParameters.h: ditto
13608 * lyxparagraph.h: ditto
13610 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13612 * buffer.C: add compability for minipage alignment.
13613 (latexParagraphs): remove unwanted pextra check.
13615 * several files: remove CXX_WORKING_NAMESPACES
13617 * buffer.C (pop_tag): tie is in namespace boost
13619 * BufferView.h: noncopyable is in namespace boost
13621 * lyx_main.h: ditto
13624 * lastfiles.h: ditto
13625 * bufferlist.h: ditto
13626 * ShareContainer.h: ditto
13628 * LyXAction.h: ditto
13631 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13633 * Merging changes from BRANCH_MVC back into HEAD.
13635 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13637 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13639 * BufferView_pimpl.C: change from intl.C
13643 * Makefile.am: move combox.*
13649 * intl.C: remove dialog (covered by prefs)
13651 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13653 * lyxfunc.C (Dispatch): removed redundant break statement.
13655 2001-03-14 Juergen Vigna <jug@sad.it>
13657 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13659 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13661 * buffer.C: add hack to fix compability reading of minipages.
13663 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13665 * buffer.C (getLists): Cleanup.
13667 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13669 * lyxfont.C (update): don't honor toggleall on font size.
13671 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13675 * Makefile.am: moved to frontends/xforms/
13679 * BufferView_pimpl.C: changes for moved mathpanel
13681 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13683 * gettext.h: fix gettext_init() in --disable-nls
13685 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13687 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13689 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13692 * lyx.h: strip external form
13694 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13696 * BufferView_pimpl.C: add comment, destroySplash()
13698 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13700 * BufferView_pimpl.C:
13704 * lyxfunc.C: use re-worked insetinclude
13706 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13708 * buffer.C: add using std::stringstream.
13710 * lyx_cb.C: readd using std::ios.
13712 * buffer.C: add using std::map.
13714 * BufferView_pimpl.C: add using std::vector.
13716 * ShareContainer.h: add std:: to swap.
13718 * buffer.h: add some typedefs
13719 * buffer.C (getLists): use them
13720 (getLists): renamed from getTocList.
13721 add a counter for the different float types and use it in the
13723 (getLists): use the same counter for the NEW_INSETS and the "non"
13726 * lyx_cb.h: remove unused items, includes, using etc.
13728 * ShareContainer.h: remove some commented code, add more comments
13729 and "documentation".
13731 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13733 * buffer.C (getTocList): make the list also when NEW_INSETS is
13736 * buffer.h: remove TocType
13738 * buffer.C (getTocList): change to return a map<string,
13739 vector<TocItem> >, implement for dynamic number of list.
13741 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13742 * text2.C (PasteSelection): adjust
13743 * CutAndPaste.C (pasteSelection): adjust
13745 * FloatList.C (FloatList): update from the new_insets branch.
13746 * Floating.[Ch]: ditto
13747 * LaTeXFeatures.C: ditto
13749 * lyxlex_pimpl.C: ditto
13751 * paragraph.C (Last): remove when NEW_INSETS is defined.
13753 * other file: changes because of the above.
13755 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13757 * lyxparagraph.h: rename next to next_, previous to previous_,
13758 make them private for NEW_INSETS. Rename Next() to next(),
13759 Previous() to previous().
13761 * other files: changes because of the above.
13763 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13766 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13769 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13771 * main.C (main): pass lyx_localedir to gettext_init().
13773 * gettext.h: remove locale_init and gettext_init macros
13775 * gettext.C (locale_init): new function
13776 (gettext_init): new function
13778 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13781 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13783 * Moved credits to frontends:
13784 * credits.[Ch]: removed
13785 * credits_form.[Ch]: removed
13786 * lyx_gui_misc.C: remove credits stuff
13789 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13791 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13793 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13794 unneeded destructor.
13796 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13797 a standalone pointer again.
13799 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13801 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13807 * ToolbarDefaults.C:
13816 * BufferView_pimpl.C: use new file dialog in GUII
13819 * lyx_cb.C: remove LayoutsCB to Toolbar
13821 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13823 * ShareContainer.h (get): add std:: qualifier
13825 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13827 * ShareContainer.h: define a proper ShareContainer::value_type
13828 type (and use typename to please compaq cxx)
13830 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13832 * lyxparagraph.h: move serveral local vars to
13833 ParameterStruct/ParagraphParameters., use ShareContainer in
13834 FontTable., make vars in FontTable private and add getter and
13837 * paragraph.C: changes because of the above.
13839 * lyxfont.h: remove copy constructor and copy assignment. (the
13840 default ones is ok), move number inside FontBits. move inlines to
13843 * lyxfont.C: add number to initializaton of statics, move several
13844 inlines here. constify several local vars. some whitespace
13845 cleanup. Dont hide outerscope variables.
13847 * Spacing.h: add two new constructors to match the set methods.
13849 * ShareContainer.h: new file, will perhaps be moved to support
13851 * ParameterStruct.h: new file
13853 * ParagraphParameters.h: new file
13855 * ParagraphParameters.C: new file
13857 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13858 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13860 * BufferView_pimpl.C: ParagraphParameter changes.
13861 * buffer.C: Likewise.
13862 * bufferview_funcs.C: Likewise.
13863 * text.C: Likewise.
13864 * text2.C: Likewise.
13866 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13868 * lyxfind.C (LyXReplace): do not redefine default argument in
13870 (IsStringInText): ditto
13871 (SearchForward): ditto
13872 (SearchBackward): ditto
13874 2001-03-06 Juergen Vigna <jug@sad.it>
13876 * lyxfind.C (IsStringInText): put parentes around expressions.
13878 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13880 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13882 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13884 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13886 * stl_string_fwd.h: add comment
13888 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13891 * tabular.C: remove unused DocBook methods
13897 killed DO_USE_DEFAULT_LANGUAGE
13899 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13901 * lyx_gui.C: do not include language.h.
13903 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13904 arguments in function implementation.
13906 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13908 * BufferView_pimpl.C: add <ctime>
13910 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13912 * BufferView_pimpl.C: add using std::find_if
13914 2001-02-27 José Matos <jamatos@fep.up.pt>
13916 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13919 2001-02-11 José Matos <jamatos@fep.up.pt>
13921 * buffer.C (makeDocBookFile): command styles now have a parameter as
13922 "title" by default.
13924 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13926 * layout_forms.[Ch]: removed
13927 * lyx_cb.[Ch]: out character
13928 * lyx_gui.C: out character
13929 * lyx_gui_misc.C: out character
13930 * bufferview_funcs.C: : out character,
13931 added toggleall as parameter in ToggleAndShow
13933 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13935 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13937 * text2.C (SetCurrentFont): Disable number property at boundary.
13939 2001-02-26 Juergen Vigna <jug@sad.it>
13941 * lyxfunc.C (getStatus): added a string argument override function so
13942 that this is correctly called from LyXFunc::Dispatch if it contains a
13943 do_not_use_argument which is used!
13944 (Dispatch): added check for "custom" export and call appropriate func.
13946 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13948 * lyxrc.C: Add language_command_local, language_use_babel and
13949 language_global_options.
13951 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13953 * buffer.C (makeLaTeXFile): Use language_use_babel and
13954 language_global_options.
13956 2001-02-23 Juergen Vigna <jug@sad.it>
13958 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13959 which works with LyXText and putted it inside BufferView. Here now we
13960 only call for that part the BufferView::Dispatch() function.
13962 * BufferView.C (Dispatch): added.
13964 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13965 functions which needs to use a LyXText over from LyXFunc.
13966 (MenuInsertLyXFile): added
13967 (getInsetByCode): added
13968 (moveCursorUpdate): added
13969 (static TEXT): added
13971 2001-02-22 Juergen Vigna <jug@sad.it>
13973 * BufferView_pimpl.C (update): call a status update to see if LyXText
13976 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13978 * vc-backend.C (revert): implement for CVS
13979 (getLog): implement for CVS
13981 2001-02-20 Juergen Vigna <jug@sad.it>
13983 * text2.C (ClearSelection): added BufferView param for inset_owner call
13985 * lyxfunc.C (TEXT): added this function and use it instead of
13986 directly owner->view()-text of getLyXText().
13988 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13990 * src/layout_forms.C: out preamble
13991 * src/layout_forms.h: out preamble
13992 * src/lyx_cb.C: out preamble
13993 * src/lyx_cb.h: out preamble
13994 * src/lyx_gui.C: out preamble
13995 * src/lyx_gui_misc.C: out preamble
13996 * src/lyxfunc.C: connect with guii preamble
13998 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14000 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14002 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14004 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14005 whether to run bibtex.
14007 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14009 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14011 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14013 * Makefile.am (lyx_SOURCES): removed bibforms.h
14015 * vspace.h: doxygen
14017 * text.C (GetVisibleRow): make several local vars const
14019 * tabular.C: small cleanup.
14021 * lyxserver.C (callback): use compare instead of strncmp
14023 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14024 inlines to after class or to paragraph.C
14026 * lyxfont.h: remove friend operator!=
14028 * converter.h: move friend bool operator< to non friend and after
14031 * combox.h: small cleanup
14033 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14034 to inlines after class def.
14036 * buffer.C (pop_tag): use string operations instead of strcmp
14038 * bmtable.c: doxygen, small cleanup
14040 * LaTeX.h: remove friend operator==
14042 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14054 * BufferView_pimpl.C:
14055 * BufferView.[Ch]: remove cruft
14057 2001-02-14 Juergen Vigna <jug@sad.it>
14059 * lyxfunc.C: removed #if 0 unused code
14061 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14063 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14065 * text2.C (SetSelection): added a BufferView * parameter
14067 2001-02-13 Juergen Vigna <jug@sad.it>
14069 * lyxfunc.C (Dispatch): fixed protected blank problem.
14070 * BufferView2.C (protectedBlank): added LyxText * parameter.
14072 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14073 (AppendColumn): same as above for column_info.
14075 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14076 (moveCursorUpdate): use a LyXText param for support of InsetText.
14078 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14079 (tripleClick): ditto
14081 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14083 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14085 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14087 * text2.C (SetSelection): set correct update status if inset_owner
14088 (ToggleFree): ditto
14090 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14092 * tabular.C: remove some commented code.
14094 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14096 * BufferView_pimpl.C: call hideSplash()
14098 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14101 * bibforms.h: remove
14104 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14105 add LFUN_CHILD_CREATE
14107 * counters.h: fix tiny typo
14112 * lyx.C: move splash to frontends/xforms/
14114 * lyx_gui_misc.C: move Include and Bibform to frontends
14116 * lyxvc.h: clarify comment
14118 * vspace.C: tiny housekeeping
14120 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14122 * text.C (PrepareToPrint): RTL Fix.
14124 * paragraph.C (GetUChar): New method.
14125 (String): Use GetUChar.
14127 * buffer.C (asciiParagraph): Use GetUChar.
14129 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14131 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14133 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14136 * buffer.C: rename to getLogName(), handle
14137 build log / latex log nicely
14139 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14142 * MenuBackend.h: remove support for reference menuitem type.
14144 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14146 * BufferView_pimpl.C: housekeeping
14147 * BufferView_pimpl.h:
14152 * minibuffer.h: move Timeout GUI-I
14154 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14156 * lyxrc.C (read): Update converters data-structures.
14158 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14160 * LaTeX.h (operator!=): add operator != for Aux_Info
14162 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14164 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14166 * LaTeXLog.C: deleted, useful code moved to Buffer
14169 * buffer.C: new function getLatexLogName()
14175 * lyxfunc.C: use frontends for LaTeX and VC logs
14177 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14179 * LaTeX.h: yet another std:: that Allan forgot.
14181 * Variables.C (set): renamed from isset(), because this clashes
14182 with some HP-UX macros (grr).
14184 2001-02-06 Allan Rae <rae@lyx.org>
14186 * LaTeX.h: Another bug fix. Missing std:: this time.
14188 2001-02-04 Allan Rae <rae@lyx.org>
14190 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14191 floats problem. I've left it commented out because it's not quite
14192 correct. It should also test that the current object is a table or
14193 figure inset. But I haven't gotten around to figuring out how to do
14194 that. I *think* it'll be something like: "table" == inset.type()
14196 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14199 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14201 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14202 all the citation/databases/styles in the auxilary file.
14203 (run): Rerun latex if there was a babel language error.
14205 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14207 * text.C (Backspace): Preserve the font when changing newline char
14209 (BreakParagraph): If the cursor is before a space, delete the space.
14211 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14213 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14215 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14216 new argument (code).
14217 (ChangeCitationsIfUnique): New method.
14219 * paragraph.C (GetPositionOfInset): Handle bibkey.
14221 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14223 * BufferView_pimpl.h: change type of Position::par_pos to
14224 LyXParagraph::size_type.
14226 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14228 * BufferView_pimpl.C (savePosition, restorePosition): Write
14229 messages to minibuffer.
14231 2001-01-28 José Matos <jamatos@fep.up.pt>
14233 * buffer.C (makeDocBookFile): adds support for document language.
14234 A silly restriction on the name of LatexCommand types where removed.
14235 Added support for CDATA sections, allows to chars unescaped, used
14236 among others in code, to avoid escape < and >.
14238 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14240 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14241 saved positions instrad of a stack. Furthermore, a position is
14242 stored using paragraph id/paragraph position.
14244 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14245 Remove LFUN_REF_BACK.
14247 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14249 * converter.C (dvipdfm_options): New method.
14251 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14253 * vspace.C (isValidLength): Fix for empty input string.
14255 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14257 * LyXAction.C (init): change description of LFUN_FIGURE to
14260 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14262 * LaTeX.C: add using directive
14264 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14266 * MenuBackend.C (expand): Fix the sorting of the formats.
14268 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14270 * lyx_main.C: tiny error message fix
14272 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14274 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14275 calling fl_initialize(). This fixes the problem with ',' as
14276 decimal separator in text files.
14278 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14280 * trans.C (process): Fix the keymap bug.
14282 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14284 * LaTeX.C (scanAuxFiles): New method. Provides support for
14285 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14286 (scanLogFile) Scan for "run BibTeX" messages.
14288 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14289 OT1 font encoding. Also, load the aecompl package if the ae
14292 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14294 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14296 * texrow.C (increasePos): turn two error messages into debug
14299 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14301 * LaTeX.C (scanAux): Handle the \@input macro.
14302 (runBibTeX): Use scanAux().
14304 * language.C (latex_options_): New field.
14306 * LaTeXFeatures.C (getMacros): Add language macros.
14308 * buffer.C (makeLaTeXFile): Small fix.
14310 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14312 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14314 * text2.C: add a using directive.
14316 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14321 * lyxfunc.C: kill LyXBell.
14323 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14325 * text.C (IsBoundary): Remove the error message
14327 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14329 * lyxrc.C (setDefaults): Correct initialization value for
14332 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14334 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14337 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14338 and GotoNextNote().
14340 * src/LyXAction.C: Added reference-next.
14342 * text.C (InsertChar): Use contains instead of strchr.
14344 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14346 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14348 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14349 alignment commands (when needed).
14351 * text.C (InsertChar): Add ':' to number separator chars.