1 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3 * text2.C (undoSpan): add and use
4 * text.C (breakParagraph): use undoSpan (fix bug 578)
7 2004-01-08 Angus Leeming <leeming@lyx.org>
9 * BufferView_pimpl.C (MenuInsertLyXFile):
10 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
11 * lyxfunc.C (menuNew, open, doImport):
12 FileFilterList change to the FileDialog open and save functions.
14 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
16 * ShareContainer.h: make isEqual and isUnique adaptable
18 * CutAndPaste.C: make resetOwnerAndChanges adaptable
20 2004-01-07 Angus Leeming <leeming@lyx.org>
23 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
25 * BufferView_pimpl.C (dispatch): act on these LFUNs.
27 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
28 functions replacing find, replace and replaceAll.
30 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
31 LFUN_WORDFIND(FORWARD|BACKWARD).
33 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
35 * text.C (breakParagraph): remove an outdated #warning
37 2004-01-07 André Pönitz <poenitz@gmx.net>
39 * lyxfind.C: somewhat clearer logic
41 * text.C: prevent crash in cursorX on unitialized row cache
43 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
45 * lyxcursor.[Ch] (operator>): add
46 * textcursor.C (selStart, selEnd): use std::min and std::max
48 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
50 * Chktex.C: include boost/format.hpp
52 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
54 * InsetList.C: replace functor MathcIt with adaptable functor
56 (insetIterator): modify accordingly
58 * BranchList.h: move the BranchNamesEqual functor here from...
59 * BranchList.C: ... to here
61 * BranchList.C: new BranchListEqual fuctor, use it. Remove
63 (add): replace a finding loop with std::find_if.
65 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
67 * output_docbook.C: moving LatexParam functionality into
70 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
72 * buffer.C: increment format to 229.
74 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
77 * lyx_sty.[Ch]: remove minipageindent_def
83 * text3.C: remove LFUN_INSET_MINIPAGE
85 2003-12-28 Angus Leeming <leeming@lyx.org>
87 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
89 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
91 * text2.C (setParagraph): fix off-by-one crash
93 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
95 * output_docbook.C: header stuff for AGU
97 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
99 * text2.C (redoCursor): remove
102 * BufferView_pimpl.C: remove calls to redoCursor and
103 setCursor(cursor.par(), cursor.pos()) all around
105 2003-12-15 Angus Leeming <leeming@lyx.org>
107 * buffer.C: up the format to 228.
109 2003-12-15 André Pönitz <poenitz@gmx.net>
111 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
116 * BufferView_pimpl.C:
125 2003-12-15 Angus Leeming <leeming@lyx.org>
127 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
128 than getFromGUIName to manipulate the color.
130 2003-12-14 Angus Leeming <leeming@lyx.org>
132 * BranchList.[Ch]: minimize the API.
133 (Branch::getBranch, getColor): now return a 'const &'.
134 (Branch::setSelected) now returns a bool set to true if the
135 selection status changes.
136 (BranchList::clear, size, getColor, setColor, setSelected,
137 allBranches, allSelected, separator): removed.
138 (BranchList::find): new functions, returning the Branch with
140 (BranchList::add, remove): return a bool indicating that
141 the operation was successful.
143 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
144 new InsetBranch::isBranchSlected member function.
146 * LColor.[Ch]: mimimize the API.
147 (fill): renamed as addColor and made private.
148 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
149 versions of these functions taking a string arg have been removed.
151 * bufferparams.C (readToken):
152 * lyxfunc.C (dispatch):
153 * lyxrc.C (read): changes due to the altered BranchList and
156 * factory.C (createInset, readInset): changes due to altered
159 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
162 * lyxfunc.C: remove insetminipage. "minipage-insert"
163 now produces a frameless minipage box inset.
165 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
167 * textcursor.[Ch] (selStart,selEnd): add new methods
168 remove selection::start, end, use LyXCursor::operator<
169 * lyxcursor.[Ch] (operator<): add
170 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
171 * BufferView.[Ch] (unsetXSel): add
172 * text2.C (clearSelection): use unsetXSel,adjust
175 * rowpainter.C: adjust
176 * bufferview_funcs.C (put_selection_at): adjust
178 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
180 * BufferView_pimpl.C: small coord. correction
182 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
184 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
185 dragging over the splash screen.
187 2003-12-11 Angus Leeming <leeming@lyx.org>
189 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
190 as it is now handled in LyXText::dispatch.
192 * text3.C (doInsertInset): remove a level of nesting.
194 2003-12-11 Angus Leeming <leeming@lyx.org>
196 * factory.C (createInset): changes due to the changed interface to
197 InsetCommandMailer::string2params.
199 2003-12-10 Angus Leeming <leeming@lyx.org>
201 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
202 'dialog-show-new-inset <inset name>'
204 2003-12-10 Angus Leeming <leeming@lyx.org>
206 * buffer.C: up the format to 227.
208 * factory.C: the box inset is now identified simply by 'Box'.
210 2003-12-10 Angus Leeming <leeming@lyx.org>
212 * buffer.C: up the format to 226.
214 * factory.C: the note inset is now identified simply by 'Note'.
216 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
218 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
219 when a pit is enough. Standarize a couple of loops.
221 2003-12-05 Angus Leeming <leeming@lyx.org>
223 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
224 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
225 data to the re-worked "log" dialog.
227 2003-12-03 André Pönitz <poenitz@gmx.net>
235 * text2.C: use Inset::getText instead of Inset::getParagraph
237 2003-12-03 André Pönitz <poenitz@gmx.net>
241 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
242 InsetText::read() as LyXText::read()
244 2003-12-02 Angus Leeming <leeming@lyx.org>
246 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
247 type. Add a comment in the implementation that the function uses
248 the stream's bad() function rather than fail() as the std::streams
251 2003-12-02 André Pönitz <poenitz@gmx.net>
253 * lyxlex.[Ch]: make interface more similar to std::stream
255 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
257 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
259 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
261 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
263 * vspace.[Ch]: remove VSpace::NONE
265 2003-12-01 André Pönitz <poenitz@gmx.net>
268 * lyxtext.h: move ParagraphList member to LyXText
269 rename LyXText::ownerParagraphs to LyXText::paragraph
272 * bufferview_funcs.C:
282 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
284 * undo.C: fix cursor positioning
286 2003-12-01 John Levon <levon@movementarian.org>
288 * BufferView_pimpl.C: fix a crash on exit with
291 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
293 * BranchList.C: fix setSelected() method.
295 2003-11-28 André Pönitz <poenitz@gmx.net>
297 * ParagraphParameters.[Ch]:
298 * ParameterStruct.h: remove space above/below from Paragraph to
301 * BufferView_pimpl.C:
313 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
315 * factory.C: Syntax change for CharStyles
317 2003-11-28 André Pönitz <poenitz@gmx.net>
322 * buffer.[Ch]: move LyXText member
324 2003-11-28 André Pönitz <poenitz@gmx.net>
326 * BufferView.[Ch]: make LyXText * text a private member
328 * BufferView_pimpl.C:
339 * output_plaintext.C: cleanup
341 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
344 * lyxtextclass.[Ch]: parametrize SGML document header
346 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
349 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
352 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
354 * text2.C (setFont): rework using PosIterator (no more recursive)
355 (setCharFont): no more needed
356 (setLayout): no more selection cursors fiddling (done by redoCursor)
357 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
358 destroy remaining ones)
360 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
362 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
364 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
367 * text3.C: adjust + re-allow multi par depth changes
368 * textcursor.C: simplify a bit
370 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
376 * src/output_docbook.C:
377 * src/output_latex.C:
382 * src/text2.C: Introducing a number of tags parametrizing various
383 XML formats that we may want to support
385 2003-11-25 André Pönitz <poenitz@gmx.net>
387 * InsetList.[Ch] (begein, end): inline as suggested by profiler
389 * lyxtext.h (leftMargin/rightMargin): simplify interface
396 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
398 * lyxfunc.C (dispatch): propogate the bibtex databases from the
399 master file to any child files. Fixes bug 546.
401 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
403 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
405 2003-11-24 André Pönitz <poenitz@gmx.net>
407 * rowpainter.C: simplification
409 * text2.C (updateCounters): remove call to redoParagraph on
410 changed labels as this is far too expensive.
412 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
414 * converter.C (convert): fix a crash: this function gets
415 called with buffer == 0 from importer code.
417 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
419 * text3.C (cursorPrevious): make sure that we do not compare
420 iterators form different containers.
423 * rowpainter.C (paintSelection): make sure that we do not compare
424 iterators from different containers.
426 * text3.C (dispatch): [PRIOR] make sure that we do not compare
427 iterators from different ParagraphList containers.
430 * text2.C (LyXText): change order of initialization slightly
431 (operator=): new function. copy all variables except cache_par_
432 (moveUp): make sure that we do not compare iterators from
433 different ParagraphList constainers.
436 * text.C (firstPar): new function
437 (lastPar): new function
438 (endPar): new function
440 * lyxtext.h: move things around and group public functions, public
441 variables, private functions, private variables
443 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
445 * factory.C: change call to InsetERT constructor to avoid
446 additional invocation of method status
447 * text2.C (toggleInset): remove redundant update() call
448 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
449 instead of a Bufferview pointer
451 2003-11-21 André Pönitz <poenitz@gmx.net>
453 * rowpainter.C: simplification
455 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
457 * text3.C (dispatch): make possible to extend a word/row selection
460 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
462 * lyxtext.h: x0_,y0_ -> xo_,yo_
463 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
464 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
465 * rowpainter.C (paintRows): paint full paragraphs
467 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
469 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
472 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
474 * lyxtext.h: add x0_, y0_
475 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
476 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
478 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
480 * text2.C (setCursorIntern): move the x_target update here *
481 * text3.C: change some bv() to true/false in calls to
482 cursorUp/Down/Right/Left
483 * cursor.C: use helper function.
485 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
487 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
488 * paragraph_funcs.[Ch]: correct comment
489 * rowpainter.C: do not paint selections away from bv->cursor()
490 Fix a long standing selection painting bug.
491 * text3.C: generalize mouse-selection code to LyXTexts other that
493 * textcursor.C: do not use y coords if we can use par offsets
495 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
497 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
498 cursor position after e.g. inset insert)
500 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
502 * lyxfind.C (replace): adjust to locking removal + some
505 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
507 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
510 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
513 * output_docbook.C: XML sanitation: new layout
514 parameters InnerTag and CommandDepth
516 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
518 * BufferView_pimpl.C:
520 * text3.C: Fix the insertion and modification of button-style
523 2003-11-13 André Pönitz <poenitz@gmx.net>
525 * InsetList.[Ch]: remove deleteLyXText
527 * paragraph.[Ch]: cache beginOfBody position
532 * text3.C: remove superfluous update() calls
536 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
538 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
539 * BufferView.C (fitLockedInsetCursor): remove
540 * cursor.[Ch] (getDim): add
541 * text.C (getRowNearY): add faster version
542 * text3.C: remove some update calls
544 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
556 * text3.C: The Character Style /XML short element patch.
558 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
561 * factory.C: Small step to solving 'unable to insert some insets'
564 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
566 * cursor.[Ch] (updatePos): new function for updating the y
567 position of the tip inset
568 * bufferview_funcs.C (put_selection_at):
569 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
571 2003-11-11 André Pönitz <poenitz@gmx.net>
573 * text.C: remove big comment on invalid Paragraph pointers as it is
576 2003-11-11 André Pönitz <poenitz@gmx.net>
578 * text_funcs.[Ch]: merge with ...
586 * Makefile.am: remove text_funcs.[Ch]
588 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
590 * cursor.C (getPos): return absolute cached y coord
592 * BufferView_pimpl.C (fitCursor): new simplistic code
593 (workAreaDispatch): add a fitCursor call
595 2003-11-10 André Pönitz <poenitz@gmx.net>
598 * BufferView_pimpl.[Ch]: merge update() and updateInset()
600 2003-11-10 André Pönitz <poenitz@gmx.net>
602 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
603 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
604 indicate that the cursor needs to leave an inset
606 * lyxtext.h: remove inset locking
608 * cursor.[Ch]: re-implement functionality provided by inset locking
611 * BufferView_pimpl.[Ch]:
613 * bufferview_funcs.[Ch]:
625 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
627 * PosIterator.[Ch]: replace the stack with a vector, add inset
629 * iterators.[C]: adjust
631 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
633 * lyxfind.C (replaceAll): mark the buffer dirty if something was
635 * paragraph_funcs.C (readParToken): put the correct id in the
636 error item, not the id of the top paragraph
638 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
640 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
641 * bufferview_funcs.C (put_selection_at): use the above
643 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
645 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
647 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
650 * output_plaintext.h:
652 * output_docbook.h: add #include statements
654 2003-11-05 José Matos <jamatos@lyx.org>
656 * output_docbook.[Ch]:
658 * output_linuxdoc.[Ch]:
659 * output_plaintext.[Ch]: New files for output formats.
660 * output.[Ch]: New file for helper functions.
663 * paragraph_funcs.[Ch]: output functions moved to new files.
665 * outputparams.h: rename of latexrunparams.h
673 * paragraph_funcs.[Ch]:
674 * paragraph_pimpl.[Ch]:
675 * tabular.[Ch]: rename ascii to plaintext
676 and LatexRunParams to OutputParams.
678 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
680 * iterators.[Ch] (text): require bv argument
681 * undo.C (recordUndo):
682 * lyxfunc.C (dispatch):
683 * bufferview_funcs.C (put_selection_at): adjust
685 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
687 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
689 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
691 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
694 2003-11-04 André Pönitz <poenitz@gmx.net>
696 * cursor.[Ch]: restructure
699 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
701 * iterators.[Ch] (asCursor): remove
703 * lfuns.h: remove LFUN_INSET_EDIT
709 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
711 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
713 * lyxfind.[Ch]: complete overhaul
714 * BufferView_pimpl.C:
716 * paragraph.[Ch] (insert): add
718 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
722 * text.C: remove dead spellcheck code
724 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
726 * dispatchresult.h: add a val setter
728 * cursor.C (dispatch): use a tempvar for data_[i]
730 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
732 * PosIterator.[Ch]: compile fix
734 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
736 * text.C (cursorPar): deactivate the cursor cache
738 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
740 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
742 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
744 * text3.C (dispatch): adjust for new DisptchResult semantics.
746 * lyxfunc.C (dispatch): handle update when return from
747 Cursor::dispatch, adjust for new DispatchResult semantics.
749 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
750 DispatchResult(true) mean to not update. Add class functions for
751 setting dispatched and update, as well as reading.
753 * cursor.C (dispatch): don't handle update here
755 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
757 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
758 * trans_mgr.C: adjust
760 * paragraph_funcs.C (readParToken): exception safety
762 * lyxvc.h: store the vcs pointer in a scoped_ptr
765 * lyxsocket.C (serverCallback): exception safety
767 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
769 * ispell.C (clone): make it return a auto_ptr
771 * factory.C (createInset): exception safety
772 (readInset): exception safety
774 * bufferlist.C (newBuffer): exception safety
776 * Thesaurus.C (Thesaurus): use initialization for aik_
778 * MenuBackend.C (expandToc): exception safety.
780 2003-11-03 André Pönitz <poenitz@gmx.net>
784 * bufferview_funcs.C: remove getInsetFromId()
787 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
793 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
795 * PosIterator.C (distance, advance): new
796 * bufferview_funcs.[Ch] (put_selection_at): new
797 * iterators.[Ch] (lockPath): new
799 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
801 * iterators.[Ch] (asPosIterator): added
802 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
803 * PosIterator.[Ch]: added
805 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
809 * cursor.C (dispatch):
810 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
812 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
813 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
814 contructor, add a class function dispatched. Remove operator>=
816 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
818 * debug.C: only use the default constructor for debugstream
821 * main.C (main): include debug.h and setup the lyxerr streambuf
824 2003-10-31 José Matos <jamatos@lyx.org>
826 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
828 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
829 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
830 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
831 * paragraph_pimpl.C (simpleTeXSpecialC):
832 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
833 add LatexRunParams argument.
835 * exporter.C (Export): change call accordingly.
837 * latexrunparams.h: add new member to take care of the other backends.
838 2003-10-30 José Matos <jamatos@lyx.org>
840 * buffer.C (makeLinuxDocFile, makeDocBookFile):
841 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
842 factorise code for paragraph output.
844 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
847 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
849 * text3.C (dispatch):
850 * lyxfunc.C (dispatch):
851 * cursor.C (dispatch):
852 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
854 * dispatchresult.h: make the dispatch_result_t ctor explicit
856 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
859 * buffer.C: small refactoring of docbook stuff
861 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
863 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
866 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
868 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
869 operator dispatch_result_t, and operators for == != and >=
871 * cursor.C (dispatch): adjust for operator dispatch_result_t
872 removal. comment out call to update
874 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
876 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
884 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
887 * dispatchresult.h: new file, DispatchResult broken out of
890 * Makefile.am (lyx_SOURCES): add dispatchresult.h
892 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
894 * text.C (rowBreakPoint): put a hack inside #if 0
896 2003-10-28 André Pönitz <poenitz@gmx.net>
903 * text2.C: general cleanup (lots of small stuff)
905 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
907 * text2.C (cursorEnd): simple fix to the "end key goes to one
908 before the end on last row" bug
910 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
912 * text.C (backspace): fix the "zombie characters"
914 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
916 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
918 2003-10-27 André Pönitz <poenitz@gmx.net>
920 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
922 * factory.C: handle new InsetPagebreak, InsetLine
924 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
925 and move handling into new InsetPagebreak, InsetLine
927 * BufferView_pimpl.C:
929 * ParagraphParameters.C:
942 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
951 * text3.C: remove lastPos uses in favour of Row::endpos
953 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
955 * undo.C (performUndoOrRedo): fix two crashes by setting a
956 cursor by hand and reordering some calls. Use bv->lockInset instead
957 of inset->edit because the latter loses cursor information
959 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
961 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
963 (rowBreakPoint): fix width. change point to point + 1.
966 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
969 * lyxfunc.C: fix (at least partly) the problems
970 with the Nav menu and headers inside branch insets
973 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
975 * paragraph.C (getChar): add strong asserts
977 * lyxrow_funcs.C (lastPos): remove hideous hack
979 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
980 (fill): adjust to that (avoid an infinite loop)
982 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
984 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
986 2003-10-23 André Pönitz <poenitz@gmx.net>
988 * RowList_fwd.h: change list<> to vector<> to gain speed
989 after suggestion from Alfredo
991 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
993 * lyxtext.h: move the bidi stuff from here...
996 * Bidi.[Ch]: ... to here
998 2003-10-23 André Pönitz <poenitz@gmx.net>
1001 * text.C (isLastRow, isFirstRow): new functions
1003 * paragraph.h: new width cache member
1005 * rowpainter.C: replace RowList::iterator with Row & where possible
1007 * lyxfunc.C: replace several view()->text with a single call
1009 * toc.C: fix 'unused' warning
1011 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1013 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1014 when woring with stream::pos_type
1015 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1017 2003-10-22 André Pönitz <poenitz@gmx.net>
1020 * text.C: use Row & instead of RowList::iterator
1022 * lyxrow.h: rename end() to endpos()
1028 2003-10-22 Angus Leeming <leeming@lyx.org>
1030 * buffer.[Ch] (fully_loaded): new member function, returning true
1031 only when the file has been loaded fully.
1032 Used to prevent the premature generation of previews and by the
1033 citation inset to prevent computation of the natbib-style label.
1035 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1036 templates are all set up.
1038 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1040 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1042 * text.C: fixed an "oops" in the "is a bit silly"
1045 2003-10-21 André Pönitz <poenitz@gmx.net>
1047 * FuncStatus.[Ch]: small stuff, whitespace
1049 * lyxfont.[Ch]: operator<<() for debug reasons
1053 * lyxtext.h: whitespace, spelling
1055 * paragraph.C: naming of variables
1058 * text2.C: small stuff
1061 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1063 * text.C: (1) finish off the inset display() work;
1064 (2) fix the "is a bit silly" bug (accessing char
1067 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1069 * text.C: re-introduce display() for insets, fixing the
1070 various bugs (stretch of line above, math inset
1073 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1075 * text.C (rightMargin): remove spurious semicolon
1077 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1080 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1082 * text3.C: fix one crash due to wrong cursor def
1084 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1086 * vc-backend.C (scanMaster): make the regex static
1088 * LaTeX.C (scanAuxFile): make the regexs static
1090 * text3.C (doInsertInset, dispatch, dispatch):
1091 * text2.C (cursorUp, cursorDown):
1092 * text.C (selectNextWordToSpellcheck):
1093 * BufferView_pimpl.C (dispatch):
1094 * lyxfunc.C (dispatch): localDispatch -> dispatch
1096 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1098 * lyxsocket.C: include <cerrno>
1100 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1102 * lyxfunc.C (dispatch): remove textcache stuff
1104 * bufferlist.C (release): remove textcache stuff
1107 * TextCache.C: delete file
1108 * TextCache.h: delete file
1110 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1112 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1113 delete of the bv_->text.
1114 (resizeCurrentBuffer): remove texcache stuff
1115 (workAreaResize): ditto
1117 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1119 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1122 2003-10-16 André Pönitz <poenitz@gmx.net>
1129 * text3.C: speed up by storing y positions per paragraph plus per-row
1130 offset instead of having a 'full' y position in the row.
1132 2003-10-15 André Pönitz <poenitz@gmx.net>
1136 * undo.[Ch]: make undo aware of inner insets
1138 2003-10-14 Angus Leeming <leeming@lyx.org>
1140 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1141 static member functions LyX::ref() and LyX::cref.
1142 (lastfiles): new accessor functions for the new lastfiles_ member var.
1143 (addLyXView, views_): add a new LyXView to the list of views_.
1144 (updateInset): loop over all LyXViews to call their own updateInset
1145 member function, returning a pointer to the Buffer owning the inset.
1147 * BufferView_pimpl.C (loadLyXFile):
1148 * MenuBackend.C (expandLastfiles):
1149 * bufferlist.C (MenuWrite, QuitLyX):
1150 lastfiles is no longer a global variable.
1151 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1153 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1154 static function. Access through LyX::cref().emergencyCleanup().
1156 2003-10-14 André Pönitz <poenitz@gmx.net>
1158 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1160 * undo.[Ch]: restoring part of 'undo in insets'
1163 * undo_funcs.[Ch]: merge with undo.[Ch]
1165 * tabular.C: small cleansing stuff
1167 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1169 * paragraph_funcs.C (readParToken): report unknown insets as error
1170 boxes. Use the outer paragraph as location (also for unknown
1173 * factory.C (readInset): do not abort on reading an unknown inset.
1174 Eat it and return 0.
1176 2003-10-13 Angus Leeming <leeming@lyx.org>
1178 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1180 * lyxrc.C: displayTranslator is now a function,
1181 declared in GraphicsTypes.h.
1183 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1185 * format.C: new placeholder $$a to pass the socket address.
1187 * bufferlist.[Ch]: new function getBufferFromTmp.
1189 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1190 files in the temporary dir.
1192 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1194 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1196 * Makefile.am: add lyxsocket.[Ch].
1198 * lyx_main.C (error_handler): handle SIGPIPE.
1200 2003-10-13 André Pönitz <poenitz@gmx.net>
1202 * BufferView_pimpl.C:
1207 * undo_funcs.[Ch]: use paroffset_type instead of
1208 ParagraphList::iterators to prevent multiple conversion
1209 (and get a more robust interface)
1211 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1213 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1215 * text3.C (dispatch): ditto
1217 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1219 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1220 move the onlyfile, use onlyfile instead of foundfile in a couple
1223 * DepTable.C (update): flush the error stream a bit more
1225 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1227 * lyxserver.C (callback): adjust
1229 * lyxfunc.C (getStatus): add a missing brace in commented code
1230 (ensureBufferClean): reindent
1231 (dispatch): delete version taking a string
1233 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1235 * LaTeX.C (deplog): move found file handlig from here...
1236 (handleFoundFile): .. to new function here.
1237 (deplog): make sure to discover several files mentioned on the
1240 2003-10-10 André Pönitz <poenitz@gmx.net>
1247 * text3.C: fix some of the tabular crashes
1249 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1251 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1253 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1255 2003-10-09 André Pönitz <poenitz@gmx.net>
1257 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1260 * BufferView_pimpl.C:
1261 * bufferview_funcs.C:
1272 * undo_funcs.C: adjust
1274 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1276 * text2.C (incrementItemDepth): new function, use a backtracking
1277 algorithm to discover the correct item depth.
1278 (resetEnumCounterIfNeeded): new function, use a backtracking
1279 algorithm to discover if counter reset is needed.
1280 (setCounter): use them. Simplify a bit. Add different labels for
1281 different item depths for itemize.
1283 * paragraph.C (Paragraph): remove initialization of enumdepth
1286 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1287 enumerate and itemize. Change the type of itemdepth to signed char.
1289 2003-10-08 André Pönitz <poenitz@gmx.net>
1291 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1296 * tabular.[Ch]: fix crash after 'row-insert'
1298 2003-10-08 Angus Leeming <leeming@lyx.org>
1300 Fix doxygen warnings.
1302 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1303 Remove CutAndPaste:: prefix from header file declaration.
1305 * LColor.h (fill): remove LColor:: prefix from declaration.
1307 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1308 use lyx::depth_type rather than Paragraph::depth_type so that
1309 header file and .C file match.
1311 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1313 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1314 * aspell.C: \file aspell_local.C -> \file aspell.C
1315 * gettext.C: \file gettext.C -> \file src/gettext.C
1316 * gettext.h: \file gettext.h -> \file src/gettext.h
1317 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1318 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1319 * text.C: \file text.C -> \file src/text.C
1321 * toc.C: move comment so that doxygen is not confused.
1323 2003-10-07 Angus Leeming <leeming@lyx.org>
1325 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1327 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1330 * aspell_local.h: add forgotten std::string's.
1332 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1339 * text3.C: The Box patch. Fancybox support, minipage, parbox
1341 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1347 * ParagraphParameters.h:
1357 * lyxtextclasslist.h:
1360 * paragraph_pimpl.C:
1361 * textcursor.h: add <string> and other small fixes to make Lars'
1362 std::string patch compile with STLport.
1364 2003-10-06 Angus Leeming <leeming@lyx.org>
1366 * LColor.h: Add missing #include <string>.
1368 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1370 * All most all file in all subdirs: Make <string> be the prefered
1371 way of getting to std::string, add using declarations.
1373 2003-10-06 André Pönitz <poenitz@gmx.net>
1375 * metricsinfo.C: initialize LyXFont before changing attribute.
1376 (fixes the 'math in \emph is upright' bug)
1378 2003-10-06 André Pönitz <poenitz@gmx.net>
1380 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1382 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1385 * paragraph_pimpl.C: Small fixes to build using STLport
1387 2003-10-02 André Pönitz <poenitz@gmx.net>
1390 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1392 2003-10-01 André Pönitz <poenitz@gmx.net>
1394 * factory.C: assert early
1396 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1398 * lyx_main.C: remove the global debug object
1400 * debug.h: adjust for new debugstream
1402 * debug.C: adjust for new debugstream and keep the global debug
1405 2003-09-22 Angus Leeming <leeming@lyx.org>
1407 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1408 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1409 an incomplete class LyXFont.
1411 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1413 * factory.C: bug fix in branches
1415 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1417 * lyxfunc.C (processKeySym): adjust
1419 (dispatch): change arg name from ev to func, adjust
1420 (sendDispatchMessage): ditto
1422 * lyx_main.C (defaultKeyBindings): adjust keybindings
1423 (deadKeyBindings): ditto
1425 * kbsequence.C (addkey): return a FuncRequest
1427 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1429 * kbmap.C (bind): take a FuncRequest as arg, adjust
1432 (defkey): change to take a FuncRequest as arg, adjust
1433 (findbinding): take a FuncRequest as arg, adjust.
1435 * funcrequest.h (operator=): added
1437 * funcrequest.C (FuncRequest): default kb_action changed from
1438 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1440 * buffer.C (dispatch): simplify
1441 (dispatch): adjust to take a FuncRequest as arg, adjust
1443 * boost.C (assertion_failed): change assertion message slightly
1445 * ToolbarBackend.C (read): simplify
1447 * MenuBackend.C (binding): adjust call to findbinding, add a
1448 message if no binding is found.
1450 (expandToc): correct by adding a empty FuncRequest
1452 * LyXAction.C: include <boost/assert.hpp>
1453 (isPseudoAction): delete function
1454 (LookupFunc): change name to...
1455 (lookupFunc): this. change return type to FuncRequest.
1456 (getActionName): take kb_action as arg, simplify
1457 (funcHasFlag): add an assert, simplify.
1459 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1461 * toc.C (action): return a FuncRequest, simplify
1463 * lyxfunc.C (processKeySym): adjust
1464 (getStatus): delete version that takes an int.
1466 (dispatch): delete version that takes action as int
1468 (sendDispatchMessage): simplify and adjust
1470 * funcrequest.C (getArg): take unsigned int as arg
1472 * ToolbarBackend.C (read): adjust
1473 (add): delete version that takes func as a string.
1474 (getIton): take a FuncRequest as arg
1476 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1479 * MenuBackend.C (MenuItem): add a new construct that only takes a
1480 Kind, simplify the constructor use for submenus.
1482 (expandLastfiles): adjust
1483 (expandDocuments): adjust
1484 (expandFormats): adjust
1485 (expandFloatListInsert): adjust
1486 (expandFloatInsert): adjust
1487 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1489 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1490 Remove class variables lyx_pseudo_map and lyx_arg_map
1492 * LyXAction.C (searchActionArg): delete function
1493 (getPseudoAction): delete function
1494 (retrieveActionArg): delete function
1495 (LookupFunc): make it return kb_action, simplify.
1496 (getActionName): simplify
1498 * factory.C (createInset): fix new bug
1500 2003-09-19 Angus Leeming <leeming@lyx.org>
1502 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1503 masterFilename_ parameter in the include inset.
1505 * factory.C (createInset): changes due to the changes to InsetInclude.
1507 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1509 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1511 2003-09-18 Angus Leeming <leeming@lyx.org>
1514 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1515 Inset::fillWithBibKeys.
1516 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1518 2003-09-18 Angus Leeming <leeming@lyx.org>
1520 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1522 (ctor): pass and store a 'Buffer const &'
1523 (buffer): new member function.
1525 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1526 '*this' to the LaTeXFeatures ctor.
1528 2003-09-18 Angus Leeming <leeming@lyx.org>
1534 * text.C: rename EnumLColor as LColor_color.
1536 2003-09-18 Angus Leeming <leeming@lyx.org>
1538 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1539 remove #include "insets/insetbase.h" from cursor.h.
1541 2003-09-18 Angus Leeming <leeming@lyx.org>
1543 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1544 InsetOld_code to remove #include "inset.h".
1546 * iterators.C: add #include "insets/inset.h"
1548 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1550 * BufferView.C: remove more locking stuff that apparently doesn't
1551 do anything sensible.
1553 2003-09-16 André Pönitz <poenitz@gmx.net>
1556 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1559 2003-09-16 Angus Leeming <leeming@lyx.org>
1561 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1563 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1566 * paragraph.h: remove #include "lyxfont.h". Forward declare
1569 2003-09-16 Angus Leeming <leeming@lyx.org>
1571 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1572 of support/textutils.h.
1573 (isWord): move the contents of support/textutils.h's IsWordChar here.
1579 * text2.C: add #include "paragraph.h".
1582 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1584 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1590 * LaTeX.C: use namespace alias for lyx::support::os
1592 2003-09-16 Angus Leeming <leeming@lyx.org>
1595 * bufferview_funcs.C:
1598 * paragraph_pimpl.C:
1600 * text.C: add #include "LColor.h".
1602 2003-09-16 Angus Leeming <leeming@lyx.org>
1604 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1605 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1607 Store the FontBits::color variable as an int rather than as an
1608 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1611 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1612 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1613 string calls together.
1615 * lyxrc.C: add #include "LColor.h".
1617 2003-09-15 Angus Leeming <leeming@lyx.org>
1619 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1622 2003-09-15 Angus Leeming <leeming@lyx.org>
1624 * LColor.h: add an EnumLColor wrapper for LColor::color.
1626 * lyxfont.[Ch] (color, setColor, realColor):
1627 * lyxtext.h, text.C (backgroundColor):
1628 pass EnumLColor args to/from the functions, rather than LColor::color
1632 * lyxtext.h: forward declare EnumLColor.
1634 * lyx_main.C: add #include "LColor.h".
1636 2003-09-15 Angus Leeming <leeming@lyx.org>
1638 * .cvsignore: add lyx-gtk.
1640 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1645 * ParagraphParameters.C
1649 * bufferview_funcs.C
1659 * vc-backend.C: remove usage of STRCONV
1661 2003-09-15 Angus Leeming <leeming@lyx.org>
1663 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1664 explicitly define the color passed to the painter.
1666 2003-09-15 Angus Leeming <leeming@lyx.org>
1668 * bufferparams.C (BufferParams): reorder member initializers to avoid
1671 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1673 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1674 * text.C (updateRowPositions): remove an unusual nop
1676 2003-09-12 André Pönitz <poenitz@gmx.net>
1678 * BufferView_pimpl.C:
1687 * Counters.[Ch]: finish the 'automatic counters' job
1689 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1691 * aspell.C: include <boost/assert.cpp> (compile fix)
1693 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1695 * boost.C (assertion_failed): use lyx::support::abort instead of
1698 2003-09-10 Angus Leeming <leeming@lyx.org>
1700 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1701 with their _fwd progeny.
1703 2003-09-09 Angus Leeming <leeming@lyx.org>
1705 134 files throughtout the source tree: replace 'using namespace abc;'
1706 directives with the appropriate 'using abc::xyz;' declarations.
1708 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1710 * boost.C (emergencyCleanup): moved here from LAssert.c
1711 (assertion_failed): new function, called by BOOST_ASSERT
1713 * several files: change Assert to BOOST_ASSERT
1715 2003-09-09 Angus Leeming <leeming@lyx.org>
1717 * buffer.[Ch]: Add an Impl class and move Buffer's member
1718 variables into it. As a result move several header files out of
1721 Add header files to lots of .C files all over the tree as a result.
1723 2003-09-09 Angus Leeming <leeming@lyx.org>
1725 * buffer.[Ch]: make Buffer's member variables private. Add
1728 Lots of changes all over the tree as a result.
1730 2003-09-08 Angus Leeming <leeming@lyx.org>
1732 * graph.C: #include <config.h>.
1734 2003-09-08 Angus Leeming <leeming@lyx.org>
1738 * BufferView_pimpl.C:
1767 * toc.C: remove redundant using directives.
1769 2003-09-07 Angus Leeming <leeming@lyx.org>
1771 * LaTeXFeatures.h: remove #include "support/types.h".
1772 * ToolbarBackend.h: remove #include <algorithm>.
1773 * changes.h: remove #include <ctime>.
1774 * debug.h: remove #include <iosfwd>.
1775 * graph.h: remove #include "support/std_string.h".
1776 * lyx_main.h: remove #include <csignal>.
1777 * lyxlex_pimpl.h: remove #include <fstream>.
1778 * sgml.h: remove #include <algorithm>, <utility>.
1779 * toc.h: remove #include "support/std_ostream.h".
1780 Add #include <iosfwd>.
1782 2003-09-07 Angus Leeming <leeming@lyx.org>
1784 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1786 * converter.h: forward declare LatexRunParams.
1787 * encoding.h: remove #include "lyxrc.h".
1788 * lyxtext.h: remove #include "LColor.h".
1789 * lyxtextclass.h: remove #include "support/types.h".
1790 * trans.h: remove #include "tex-accent.h".
1791 * trans_mgr.h: remove #include "tex-accent.h".
1792 * insets/inset.h: remove #include "support/types.h", <vector>.
1793 * insets/insetcollapsable.h: remove #include "LColor.h".
1794 * insets/insetinclude.h: remove #include "dimension.h".
1795 * insets/insetlatexaccent.h: remove #include "dimension.h".
1796 * insets/insetoptarg.h:: remove #include "insettext.h".
1797 * insets/insettext.h: remove #include "dimension.h",
1798 <boost/shared_ptr.hpp>
1800 * insets/renderers.h: add #include "dimension.h".
1801 * insets/updatableinset.h: add #include "support/types.h".
1803 * many .C files: Associated changes.
1805 2003-09-06 Angus Leeming <leeming@lyx.org>
1807 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1808 one, inside testInvariant.
1810 * PrinterParams.C: new file.
1811 * PrinterParams.[Ch]: move the function bodies out of line.
1813 2003-09-06 Angus Leeming <leeming@lyx.org>
1815 * ParagraphParameters.h: forward declare ParameterStruct rather than
1816 including its header file.
1817 (depth): moved out-of-line.
1819 2003-09-06 Angus Leeming <leeming@lyx.org>
1821 * BufferView_pimpl.h:
1824 * lyxfunc.h: forward declare LyXKeySym rather than
1825 #include "frontends/LyXKeySym.h".
1827 * BufferView_pimpl.C:
1830 * lyxfunc.C: associated changes.
1832 2003-09-06 Angus Leeming <leeming@lyx.org>
1834 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1835 As a result, can remove the #include "insets/inset.h" from BufferView.h
1837 2003-09-06 Angus Leeming <leeming@lyx.org>
1839 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1840 As a result, can remove the #include "insets/inset.h" from BufferView.h
1842 2003-09-06 Angus Leeming <leeming@lyx.org>
1848 * bufferview_funcs.C:
1849 * BufferView_pimpl.C:
1854 * ParagraphParameters.C:
1859 * frontends/controllers/ControlDocument.C:
1860 * insets/insetcaption.C: rearrange the #includes into some sort of
1863 * buffer.h: remove #includes ErrorList.h, undo.h
1865 2003-09-06 Angus Leeming <leeming@lyx.org>
1867 * support/types.h: add a 'depth_type' typedef, used to store the
1868 nesting depth of a paragraph.
1871 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1872 defining explicitly.
1875 * paragraph_funcs.h:
1876 * ParagraphParameters.h:
1877 * sgml.h: use lyx::depth_type rather than Paragraph or
1878 ParameterStruct's depth_type.
1881 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1884 * BufferView_pimpl.C:
1886 * ParagraphParameters.C:
1889 * bufferview_funcs.C:
1896 * frontends/LyXView.C:
1897 * frontends/controllers/ControlDocument.C:
1898 * frontends/controllers/ControlErrorList.C:
1899 * insets/insetbibitem.C:
1900 * insets/insetbranch.C:
1901 * insets/insetcaption.C:
1902 * insets/insetcollapsable.C:
1903 * insets/insetenv.C:
1904 * insets/insetert.C:
1905 * insets/insetfloat.C:
1906 * insets/insetfoot.C:
1907 * insets/insetfootlike.C:
1908 * insets/insetnewline.C:
1909 * insets/insetquotes.C:
1910 * insets/insettabular.C:
1911 * insets/insettext.C:
1912 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1914 * frontends/controllers/ControlChanges.C: #include "changes.h".
1916 2003-09-06 Angus Leeming <leeming@lyx.org>
1918 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1919 than #including paragraph.h.
1922 * RowList.h: deleted. Superfluous.
1932 * insets/insettext.h: use ParagraphList_fwd.h rather than
1935 * paragraph.h: don't forward declare ParagraphList.
1938 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1939 rather than ParagraphList.h. paragraph.h is still needed for the
1940 Paragraph::depth_type parameters.
1942 * textcursor.h: enable it to compile stand-alone in light of the
1945 * bufferview_funcs.C:
1957 * frontends/controllers/ControlParagraph.C:
1958 * frontends/controllers/ControlTabular.C:
1959 * insets/insetmarginal.C:
1960 * insets/insetminipage.C:
1961 * insets/insetnote.C:
1962 * insets/insetoptarg.C: add header files needed to compile again.
1964 2003-09-06 Angus Leeming <leeming@lyx.org>
1966 * RowList_fwd.h: new file, forward-declaring Row rather than
1967 #including lyxrow.h.
1972 * insets/insettext.h: use it instead of RowList.h
1974 * bufferview_funcs.C:
1981 * text3.C: #include "RowList.h".
1983 2003-09-05 Angus Leeming <leeming@lyx.org>
1985 * factory.C (createInset):
1986 * vspace.C (c-tor): replace sscanf call with an istringstream.
1987 * ispell.C: re-add missing HP/UX headers.
1988 * lyxserver.C: re-add missing os2 headers.
1990 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1999 * text3.C: re-add missing system headers, needed for 2.95.2.
2001 2003-09-05 Angus Leeming <leeming@lyx.org>
2003 Changes most place everywhere due to the removal of using directives
2004 from support/std_sstream.h.
2006 2003-09-05 Angus Leeming <leeming@lyx.org>
2008 Replace LString.h with support/std_string.h,
2009 Lsstream.h with support/std_sstream.h,
2010 support/LIstream.h with support/std_istream.h,
2011 support/LOstream.h with support/std_ostream.h.
2013 Changes resulting throughout the tree.
2015 2003-09-05 Angus Leeming <leeming@lyx.org>
2017 * sgml.h: ensure that the header file can be compiled stand-alone.
2018 * *.C: strip out redundant #includes. (320 in total.)
2020 2003-09-04 Angus Leeming <leeming@lyx.org>
2022 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2023 here (from getPackages).
2025 * debug.[Ch]: add a new EXTERNAL tag.
2027 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2029 * text2.C (cursorEnd): simplify
2031 (getColumnNearX): adjust
2033 * text.C (computeBidiTables): adjust
2036 * rowpainter.C (paintChars): adjust
2037 (paintSelection): adjust
2038 (paintChangeBar): adjust
2041 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2043 (numberOfSeparators): adjust
2045 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2051 * text3.C: Restricts the mouse click functionality
2052 of insets like bibtex, include, toc and floatlist to the visible
2053 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2054 up the dialogs. Cursor has to be in front of the inset (i.e.
2055 start of row) for this to function.
2057 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2059 * bufferview_funcs.C (currentState): output row information
2061 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2063 * bufferview_funcs.C (currentState): output paragraph position
2065 2003-09-04 Angus Leeming <leeming@lyx.org>
2067 * FloatList.h: move out #include "Floating.h".
2068 * LaTeX.h: move out #include "DepTable.h".
2069 * LyXAction.h: move out #include "funcrequest.h".
2070 * buffer.h: move out #include "author.h", "iterators.h".
2071 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2072 * lyx_main.h: move out #include "errorlist.h".
2073 * lyxfunc.h: move out #include "FuncStatus.h".
2074 * lyxtext: move out #include "lyxcursor.h".
2075 * paragraph_pimpl.h: move out #include "counters.h".
2077 2003-09-03 Angus Leeming <leeming@lyx.org>
2079 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2080 preamble_snippets list, enabling us to add snippets to the preamble
2081 only if the snippet was not there already.
2083 2003-09-04 Angus Leeming <leeming@lyx.org>
2085 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2087 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2089 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2092 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2094 * BranchList.C: point fix, earlier forgotten
2096 2003-09-02 Angus Leeming <leeming@lyx.org>
2098 * box.C (contains): renamed from 'contained' after a fantastic
2101 2003-09-02 John Levon <levon@movementarian.org>
2107 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2109 2003-09-02 John Levon <levon@movementarian.org>
2111 * text2.C: simplification of cursorEnd(), including partial
2114 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2116 * buffer.C (readFile): add a space
2118 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2120 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2122 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2124 * buffer.C (readFile): new function, take a filename and a
2125 ParagraphList::iterator
2127 (readFile): adjust, make it private. don't use setStream, make
2128 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2129 always contain the filename.
2131 * BufferView.C (insertLyXFile): simplify and make it work for
2134 2003-08-30 John Levon <levon@movementarian.org>
2136 * Makefile.am: fix dist (from Kayvan)
2138 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2140 * most files: change to use const Buffer refs
2142 2003-08-27 André Pönitz <poenitz@gmx.net>
2144 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2145 on top of ownerPar().
2147 2003-08-27 John Levon <levon@movementarian.org>
2149 * funcrequest.C: properly initialise POD members
2151 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2153 * lyxtext.h (top_y): move top_y from here
2158 * BufferView_pimpl.[Ch]: to here
2159 * frontends/screen.C:
2160 * insets/insettabular.C:
2161 * insets/insettext.C: adjust
2162 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2164 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2167 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2169 2003-08-26 André Pönitz <poenitz@gmx.net>
2171 * paragraph_func.[Ch] (outerPar): new function
2174 * paragraph_funcs.C:
2175 * paragraph_funcs.h:
2176 * paragraph_pimpl.C:
2177 * text2.C: remove Inset::par_owner
2179 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2184 * text2.C: eliminates the needFullRow/display() stuff
2185 altogether, putting the logic in metrics/draw in the insets.
2187 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2189 * text2.C (redoParagraphInternal, redoParagraphs):
2190 * text.C (redoParagraph): add a call to updateRowPositions at the
2191 end of each 'metrics-like' call. Remove all others.
2192 (getRow): remove the 'y-computing' version.
2193 (getRowNearY): do not compute nor return the real y. Solve the
2194 'y < 0' problem and simplify.
2196 2003-08-22 Angus Leeming <leeming@lyx.org>
2198 * *.[Ch]: clean-up of licence and author blurbs.
2199 Also move config.h out of a few .h files and into a few .C files.
2201 2003-08-22 André Pönitz <poenitz@gmx.net>
2203 * lyxrow.[Ch]: add x_ and *fill_ members
2208 * text2.C: adjust/remove prepareToPrint() calls
2210 2003-08-22 André Pönitz <poenitz@gmx.net>
2212 * lyxrow.[Ch]: add end_ member
2214 * lyxrow_funcs.C: use LyXRow::end_
2216 * lyxtext.h (singleWidth): add LyXFont parameter
2219 * text2.C: adjust LyXText::singleWidth() calls
2221 * text.C (redoParagraph): simplify row breaking logic
2224 2003-08-19 André Pönitz <poenitz@gmx.net>
2226 * funcrequest.C: initialize button_ member
2229 * rowpainter.[Ch]: interface consolidation
2231 2003-08-18 André Pönitz <poenitz@gmx.net>
2234 * BufferView_pimpl.C:
2236 * paragraph_funcs.C:
2238 * text3.C: remove LyXScreen::draw() and fitCursor calls
2240 * BranchList.h: remove spurious semicolons
2242 * MenuBackend.C: fix branchlist related crash
2244 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2252 * bufferparams.[Ch]:
2256 * text3.C: implements the 'branch inset'
2257 idea. This allows the output of various versions of a document
2258 from a single source version, selectively outputing or suppressing
2259 output of parts of the text.
2260 This implementation contains a 'branch list editor' in a separate
2261 tab of the document settings dialog. Branches are user definable
2262 and have a "display colour" to distinguish them on-screen.
2264 ColorHandler was somewhat cleaned up.
2265 (1) make possible a dynamically growing LColor list by allowing
2266 the graphic context cache to grow along (vector);
2267 (2) eliminate an IMHO unnecessary step in colour allocation.
2269 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2271 * BufferView_pimpl.C: compile fix
2273 2003-08-15 André Pönitz <poenitz@gmx.net>
2275 * rowpainter.C: remove extra metrics calls
2277 * lyxtext.h: merge the two constructors into a single one,
2278 pass reference to owner's par list
2280 * BufferView_pimpl.C:
2284 2003-08-15 André Pönitz <poenitz@gmx.net>
2286 * lyxrow_funcs.[Ch]:
2289 * paragraph_funcs.C:
2294 * text_funcs.C: split LyXText::rowlist_ into individual
2295 Paragraph::rows_ chunks
2298 * BufferView_pimpl.[Ch]:
2301 * text3.C: remove toggleSelection()
2303 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2305 * bufferlist.C: beautify two alerts (shorter text of buttons)
2306 * buffer.C: Remove redundant ' ' from message
2308 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2309 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2310 rename VALIGN_CENTER to VALIGN_MIDDLE
2312 2003-08-11 André Pönitz <poenitz@gmx.net>
2314 * lyxtext.h (getPar):
2315 * text.C: new function
2317 2003-08-11 André Pönitz <poenitz@gmx.net>
2320 * tracer.[Ch]: remove unneeded files
2322 * InsetList.[Ch]: remove resizeInsetsLyXText()
2327 * text3.C: merge insertParagraphs() and appendParagraph()
2328 remove breakAgain(), update()
2330 * BufferView_pimpl.[Ch]:
2331 * bufferview_funcs.[Ch]:
2335 * tabular.C: adjust after text & InsetList changes.
2337 2003-08-08 André Pönitz <poenitz@gmx.net>
2339 * text.C (insertChar, backspace): replace rowlist fiddling
2340 with rebreak of full par
2343 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2344 checkParagraph, updateInset): removed
2346 2003-08-07 André Pönitz <poenitz@gmx.net>
2349 * text3.C: merge some LFUN handlers, remove dead code
2351 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2353 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2355 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2357 * text2.C (DEPM): fix part of bug 1255 and 1256
2359 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2361 * BufferView_pimpl.C (workAreaDispatch): change to use
2362 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2363 that are no mouse related.
2365 2003-08-05 André Pönitz <poenitz@gmx.net>
2368 * BufferView_pimpl.[Ch]:
2369 * bufferview_funcs.C:
2371 * text3.C: rip out "deep update"
2373 * textcursor.[Ch] (last_sel_cursor): remove unused member
2375 2003-08-04 André Pönitz <poenitz@gmx.net>
2378 * BufferView_pimpl.[Ch]:
2379 * ParagraphParameters.C:
2380 * bufferview_funcs.C:
2386 * text3.C: replace "complicated" BufferView::update(...) calls with
2389 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2391 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2393 * Makefile.am (lyx_SOURCES): add paper.h
2395 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2397 * Makefile.am: move things around so that both lyx-qt and
2398 lyx-xforms can be built (according to --with-frontend). Then lyx
2399 is a symbolic link to lyx-[firstfrontend]
2401 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2403 * Always use std::endl with lyxerr
2405 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2407 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2409 2003-08-01 André Pönitz <poenitz@gmx.net>
2412 * BufferView_pimpl.[Ch]:
2414 * text3.C: merge BufferView::repaint() and BufferView::update()
2416 2003-08-01 José Matos <jamatos@lyx.org>
2418 * buffer.[Ch]: file_format is no longer a buffer data element.
2420 2003-08-01 André Pönitz <poenitz@gmx.net>
2425 * text2.C: make redoParagraph more independent of current cursor
2427 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2429 * text2.C: remove unneeded members
2431 2003-07-30 André Pönitz <poenitz@gmx.net>
2433 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2435 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2436 create a single function...
2438 * paragraph_funcs.C (moveItem): ... here.
2441 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2443 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2445 * LColor.[Ch]: Add comment and greyedout logical colors.
2447 2003-07-30 André Pönitz <poenitz@gmx.net>
2449 * tabular.C: don't use Assert too heavily. This crashes where it
2452 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2454 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2455 is disabled (bug 1232)
2457 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2459 * factory.C: limited 'arg' scope
2461 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2463 * factory.C: fixed Note submenu issues
2465 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2467 * factory.C: submenu for Note/Comment/Greyedout
2469 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2472 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2474 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2477 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2478 greyedout. Patch provided by Jürgen Spitzmüller.
2480 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2482 * kbmap.C (read): fix error message when reading bind files
2484 2003-07-29 Angus Leeming <leeming@lyx.org>
2486 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2487 certainly does not do what it purports to do. I am doing it, and
2488 us, a favour by killing it.
2490 2003-07-28 José Matos <jamatos@lyx.org>
2492 * buffer.C (readBody, do_writeFile):
2493 * paragraph.C(readParagraph): \end_document replaces \the_end.
2495 2003-07-29 André Pönitz <poenitz@gmx.net>
2498 * BufferView_pimpl.[Ch]:
2502 * textcursor.[Ch]: remove toggleToggle & Co
2504 2003-07-28 José Matos <jamatos@fep.up.pt>
2506 * buffer.C (readParagraph):
2507 * params_func (readParToken, readParagraph):
2508 * paragraph.C (write): \layout -> \begin_layout.
2510 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2512 * lyxlex_pimpl.C (setFile): clean up slightly.
2514 * bufferparams.h: add compressed var
2516 * buffer_funcs.C (readFile): adjust for LyXLex change
2517 (newFile): ditto + simplify
2519 * buffer.C (writeFile): handle writing of compressed files
2521 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2522 Check if the file is compressed and set a bufferparm if so.
2524 * Makefile.am (lyx_LDADD): remove explicit -lz
2526 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2528 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2529 makeDocBookFile): put the real LyX version in the first line of
2533 * version.C.in: remove lyx_docversion
2535 * tabular.C (write_attribute): add a template-based version to
2536 write enums properly
2538 2003-07-28 André Pönitz <poenitz@gmx.net>
2543 * text3.C: use doubles again for x-coordinates. They are needed.
2545 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2547 * messages.C (getLocaleDir): use lyx_localedir()
2549 * lyxlex_pimpl.C (setFile): compress stuff
2551 * buffer.C (writeFile): add some compression stuff
2552 (do_writeFile): new func, dont call expliti close... will this
2555 * Makefile.am (lyx_LDADD): add -lz
2557 2003-07-28 José Matos <jamatos@fep.up.pt>
2559 * buffer.C: increment file format.
2560 * paragraph_funcs (readParagraph, readParToken):
2561 * paragraph.C (readParagraph): add \end_layout.
2563 2003-07-27 Angus Leeming <leeming@lyx.org>
2565 * Makefile.am: remove special casing for configure-time setting of
2566 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2568 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2569 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2571 2003-07-26 André Pönitz <poenitz@gmx.net>
2573 * paragraph_func.[Ch]:
2574 * paragraph.C (realizeFont): inline it whereever it is used
2579 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2582 2003-07-26 André Pönitz <poenitz@gmx.net>
2586 * text2.C: get rid of LyXText::need_break_row
2588 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2590 * toc.[Ch]: put namespace toc inside namespace lyx
2592 * MenuBackend.C (expandToc2): adjust for lyx::toc
2595 * lyxfunc.C (dispatch): adjust for lyx::find
2597 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2598 lyx::find instead. Reorganize a bit.
2599 (LyXReplace): rename to replace
2600 (LyXFind): rename to find
2602 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2605 2003-07-26 André Pönitz <poenitz@gmx.net>
2607 * text.C (setHeightOfRow): restrict scope of temporary variable
2609 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2610 code (never has been used?)
2612 2003-07-27 Asger Alstrup <alstrup@local>
2614 * text.C (fill): Optimise algorithm to exploit that we can reuse
2615 the LyXFont for many characters.
2616 (setHeightOfRow): Same thing.
2617 (rowBreakPoint): Same thing.
2619 2003-07-26 Asger Alstrup <alstrup@local>
2621 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2623 * text.C (singleWidth): Spurious font copying in hot-spot
2624 singleWidth avoided. Reorder tests for arabic for efficiency.
2626 * text.C (fill): handle empty paragraphs better.
2628 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2631 * encoding.h: add includes
2633 * lyxrc.C: remove reading of bind files
2635 * lyx_main.C (init): setup bindings and menus only if we have a
2638 * kbmap.C (read): new method. Do the actual reading of bind
2641 * converter.C (dvipdfm_options):
2644 (output): adapt PAPER_* enums.
2646 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2648 * bufferparams.h: remove paper-related enums from there
2650 * paper.h: New file. A trivial header file to hold paper-related
2651 enums. It should later expand to contain many paper-related
2654 * lyxrc.C: declare extern displayTranslator
2656 2003-07-27 José Matos <jamatos@fep.up.pt>
2658 * tabular.[Ch] (linuxdoc): add support for tables and figures
2661 2003-07-27 José Matos <jamatos@fep.up.pt>
2663 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2664 consistency in both functions.
2665 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2667 2003-07-26 Asger Alstrup <alstrup@local>
2669 * rowpainter.C (paintRows): Change algorithm to work directly on
2670 the insets rather than asking every character in the document
2671 whether its an inset.
2673 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2675 * buffer.C (openFileWrite): factorize some code
2677 2003-07-26 Angus Leeming <leeming@lyx.org>
2680 * lyx_main.[Ch]: replace occurances of system_tempdir with
2683 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2685 * rename Inset to InsetOld
2687 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2689 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2690 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2691 which I think is a bit clearer. EDIT is gone, since it was
2692 premature optimisation, and broken for mathed anyway.
2693 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2694 with cursor positioning in insets as well (math insets still do not
2695 work, but that's a different story anyway.) It mysteriously
2696 crashes sometimes with undo in the first paragraph, but I'm fairly
2697 confident that this is a compiler bug.
2699 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2701 * paragraph.C (Paragraph): adjust for new clone return type
2703 (copyIntoMinibuffer): ditto
2705 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2707 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2708 by not having a special case, and always doing a full rebreak of
2709 the document after undo.
2711 2003-07-23 Angus Leeming <leeming@lyx.org>
2713 * factory.C (createInset): InsetExternal::setParams now takes a
2716 2003-07-23 Angus Leeming <leeming@lyx.org>
2718 * factory.C (createInset): changed interface to the external and
2719 graphics mailers' string2params functions.
2721 2003-07-23 Angus Leeming <leeming@lyx.org>
2723 * factory.C (createInset): pass a
2724 Buffer const * parameter to InsetExternalMailer's string2params.
2726 2003-07-22 John Levon <levon@movementarian.org>
2728 * Thesaurus.h: include the right aiksaurus header
2730 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2732 * MenuBackend.C (expand): check menu shortcuts unconditionally
2734 2003-07-21 Angus Leeming <leeming@lyx.org>
2736 * factory.C (createInset): pass a
2737 buffer_path parameter to InsetGraphicsMailer's string2params.
2739 2003-07-21 Angus Leeming <leeming@lyx.org>
2741 * BufferView_pimpl.C (buffer):
2744 * lyxfunc.C (dispatch):
2745 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2746 rather than the grfx shortcut.
2748 2003-07-21 André Pönitz <poenitz@gmx.net>
2750 * rowpainter.C: remove unused variables
2753 * tabular_funcs.h: move to tabular.C
2754 * Makefile.am: adjust
2756 * tabular.[Ch]: basic optical cleaning
2758 * author.h: pass references, not values
2760 2003-07-18 André Pönitz <poenitz@gmx.net>
2768 * text3.C: two-phase drawing for InsetText and InsetTabular
2769 some float -> int changes.
2771 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2773 * lyx_main.C: fix the fix
2775 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2777 * lyx_main.C: fix a crash in batch mode if no files specified
2780 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2782 * format.[Ch] (papersize): moved to BufferParams
2783 * converter.[Ch] (dvips_options): moved to BufferParams
2784 (dvipdfm_options): moved to anon namespace
2785 * bufferparams.[Ch]: added above functions.
2787 2003-07-17 André Pönitz <poenitz@gmx.net>
2791 * text2.C: don't call inset->update() anymore
2793 * metricsinfo.[Ch]: add convenience constructor
2795 2003-07-16 André Pönitz <poenitz@gmx.net>
2800 * text2.C: replace the LyXCursor::irow_ member with
2801 on-demand computation of the value
2803 2003-07-16 John Levon <levon@movementarian.org>
2805 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2807 2003-07-15 André Pönitz <poenitz@gmx.net>
2810 * text2.C: remove no more needed refresh_row
2812 2003-07-15 André Pönitz <poenitz@gmx.net>
2817 * text3.C: refresh_status tristate -> need_update bool
2819 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2821 * lyxtext.h (init): remove reinit argument (act as if always true)
2822 * text2.C: adjust to that
2824 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2826 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2827 * text3.C: use it to delete selections in some cases
2828 (bugs 441, 673, 702, 954).
2830 2003-07-14 André Pönitz <poenitz@gmx.net>
2832 * rowpainter.[Ch]: reduce interface
2834 2003-07-14 André Pönitz <poenitz@gmx.net>
2836 * BufferView_pimpl.C:
2837 * text2.C: adjust after removing unused BufferView * argument
2839 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2841 * text2.C (init): fix a crash fired on resize
2843 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2845 * buffer.[Ch]: added new closing signal
2846 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2847 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2848 BufferView::Pimpl via the closing the signal
2850 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2852 * buffer.[Ch]: take out all bv-related from buffer
2854 * BufferView_pimpl.[Ch]: connect to new signals
2855 * CutAndPaste.C: removed useless asserts
2856 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2859 * lyxfunc.C: moved view-related funciontality from vc here
2860 * paragraph.C: removed outdated comments
2863 2003-07-10 André Pönitz <poenitz@gmx.net>
2865 * BufferView_pimpl.C:
2869 * text2.C: remove InsetText::InnerCache, clean up consequences
2871 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2873 * ispell.C: fix two typos in error messages
2875 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2877 * Extend Note inset to other forms of annotation like Comment
2878 and Greyedout. Right button click gives dialog.
2880 Files modified or added (+):
2884 * ControlNote.[Ch] +
2886 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2887 frontends/controllers
2891 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2893 * aspell.C: add missing namespace lyx::support
2895 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2897 * BufferView.[Ch] (newFile): Add
2898 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2899 * LaTeX.[Ch] (message): added this signal and use it
2900 * buffer.[Ch] (busy, message): added these signals and use them
2901 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2905 * importer.C: use buffer signals instead of direct bv calling
2906 * lyx_cb.[Ch] (ShowMessage): removed
2909 * paragraph_funcs.C:
2910 * text2.C: use buffer signals
2912 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2914 * introduce namespace lyx::graphics
2916 2003-07-02 André Pönitz <poenitz@gmx.net>
2918 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2920 2003-07-01 André Pönitz <poenitz@gmx.net>
2927 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2928 text*.C to text_func.C
2930 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2932 * introduce namespace lyx::support
2934 2003-06-30 André Pönitz <poenitz@gmx.net>
2939 * text.C: re-enable --with-included-string
2941 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2943 * textcursor.C: add <config.h>
2945 * text.C (getWord): remove const from word_location arg
2947 * lyxvc.C (getLogFile): fix const type order
2949 * lyxtext.h: remove const from word_location arg, add arg name
2951 * lyxlayout.h: currect type on labeltype.
2953 * importer.C: correct \file
2955 * converter.C (intToFormat): use std:: on ret val, ws changes
2957 * bufferlist.h: correct \file
2959 * buffer.C (makeLinuxDocFile): fix const type order
2960 (makeDocBookFile): ditto
2961 (fillWithBibKeys): use std:: on stdlib args.
2963 * CutAndPaste.C: fix authors.
2964 (availableSelections): use std:: on return vector
2966 2003-06-27 André Pönitz <poenitz@gmx.net>
2968 * BufferView_pimpl.C:
2969 * bufferview_funcs.C:
2977 * text3.C: remove LyXCursor::row_ member
2980 * text.C: rename fullRebreak() to partialRebreak() and implement
2981 a fullRebreak() that really bereks fully
2983 * textcursor.h: new struct for cursor-related data
2985 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2987 * lyx_main.C (LyX): get full path of document loaded on the
2990 2003-06-26 André Pönitz <poenitz@gmx.net>
2992 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2993 remove unused/broken operator>,<,>=.
2995 * text.C: remove only use of broken operator<= in an Assert().
2997 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2999 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3000 moved errorlist_.clear to showErrorList
3002 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3004 * converter.C (scanLog, runLaTeX):
3005 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3006 move the bv->showErrorList call to the callers
3007 * lyxfunc.C: i.e. here...
3009 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3010 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3011 namespace, the second to...
3012 * buffer_funcs (BufferFormat, parseErrors): added
3013 * errorlist.C (ErrorList(TeXErrors const &)): removed
3015 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3017 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3019 2003-06-24 "Garst R. Reese" <reese@isn.net>
3023 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3025 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3027 * version.C.in: change docversion to 1.4
3029 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3031 * buffer.C: fix a bug just introduced
3033 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3035 * buffer.[Ch]: added the parseError signal and use it, removed
3037 * BufferView.[Ch] (addError): moved to ...
3038 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3039 to the Buffer::parseError signal to catch (guess what) parse errors
3040 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3042 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3044 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3045 ability to create a buffer and to return an existing one from
3046 the list. Moved these functions to...
3047 * buffer_funcs.[Ch]: added
3048 * BufferView.[Ch] (loadLyXFile): added
3049 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3050 job removed from bufferlist::loadLyXFile.
3051 * buffer.C (setReadOnly): make it work without view
3052 (i.e added an if (users))
3054 2003-06-19 Angus Leeming <leeming@lyx.org>
3057 * LyXAction.C (init):
3058 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3059 with LFUN_DIALOG_SHOW <name> <data>.
3061 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3063 * CutAndPaste.C (availableSelections): small compilation fix for
3064 ancient (gcc 2.9x) compilers
3066 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3068 * text3.C (cursorNext): add tmp var
3070 * text2.C (updateCounters): for function calling out of for clause
3071 (replaceSelectionWithString): ditto
3072 (insertStringAsParagraphs): ditto
3073 (getColumnNearX): add tmp var
3074 (setCursorFromCoordinates): add tmp var
3075 (cursorDownParagraph): add tmp var
3076 (deleteEmptyParagraphMechanism): add tmp var
3078 * text.C (insertChar): add tmp var
3080 * rowpainter.C (paintDepthBar): add tmp var
3082 * CutAndPaste.C (availableSelections): potentially check all
3083 paragraphs in a cut to fill the shown strings.
3085 2003-06-18 André Pönitz <poenitz@gmx.net>
3087 * kbmap.[Ch]: use vector<> instead of list<>
3089 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3091 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3092 pasteSelection with index
3094 * text2.C (pasteSelection): modify, call pasteSelection with index
3096 * paragraph.C (asString): reimplement version with no interval to
3097 call the one with interval.
3099 * lyxtext.h: add index arg to pasteSelection
3101 * MenuBackend.C (MenuItem): handle PasteRecent
3102 (Menu::read::Menutags): add md_pasterecent
3104 (expandPasteRecent): new function
3107 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3109 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3111 (availableSelections): new function
3113 2003-06-17 Angus Leeming <leeming@lyx.org>
3115 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3117 2003-06-17 Angus Leeming <leeming@lyx.org>
3120 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3122 * lyxfunc.C (dispatch): invoke it.
3124 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3126 * iterators.C (operator++, ParPosition): reintroduce some
3127 const_cast for the benefit of older compilers.
3129 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3131 * text3.C (dispatch): do not modify clipboard when doing
3132 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3133 LFUN_DELETE_SKIP on a selection selection
3135 2003-06-16 André Pönitz <poenitz@gmx.net>
3141 * tabular.[Ch]: IU of clone() and getLabelList();
3143 2003-06-13 André Pönitz <poenitz@gmx.net>
3145 * tabular.h: compactification
3147 2003-06-12 André Pönitz <poenitz@gmx.net>
3151 * tabular_funcs.h: some renaming plus whitespace
3153 2003-06-12 André Pönitz <poenitz@gmx.net>
3156 * BufferView_pimpl.C:
3162 * toc.C: Return a Paragraph & for ParIterator::operator*()
3164 2003-06-11 John Levon <levon@movementarian.org>
3168 * ToolbarBackend.C: add "Toolbars" section and
3171 2003-06-10 Angus Leeming <leeming@lyx.org>
3174 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3176 * lyxfunc.C (dispatch): invoke it.
3178 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3180 * main.C: protect <ios> with HAVE_IOS
3181 (main): protect sync_with_stdio with HAVE_IOS
3183 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3185 * text2.C (cutSelection): adjust
3186 (pasteSelection): adjust
3188 * messages.C: handle get of empty string
3190 * main.C (main): use sync_with_stdio(false)
3192 * lyxfunc.C (dispatch): adjust
3194 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3195 (WriteAs): remove unneeded BufferView arg.
3197 * bufferparams.h: use correct types on papersize, papersize2 and
3200 * bufferparams.C (readToken): adjust for type
3201 (writeLaTeX): add missing cases to switch.
3203 * bufferlist.C (quitWriteBuffer): adjust
3206 * buffer.C (asciiParagraph): remove some commented code.
3208 * CutAndPaste.C: remove current_view extern variable.
3209 (cutSelection): add BufferParams arg.
3210 (eraseSelection): add BufferParams arg.
3211 (pasteSelection): add Buffer const & arg
3213 2003-06-07 John Levon <levon@movementarian.org>
3216 * paragraph_funcs.C:
3217 * paragraph_pimpl.C:
3221 * paragraph.C: allow InsetERT to freely space lines,
3222 and some consolidation of code
3224 2003-06-06 José Matos <jamatos@fep.up.pt>
3226 * buffer.C (makeDocBookFile): fix bug #821
3228 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3230 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3232 2003-06-04 Angus Leeming <leeming@lyx.org>
3234 * buffer.C: bump format to 224.
3236 2003-06-05 André Pönitz <poenitz@gmx.net>
3238 * text2.C (redoParagraphs): remove two const_cast<>
3240 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3242 * ParagraphList.h: remove last remnants of NO_STD_LIST
3244 2003-06-03 Angus Leeming <leeming@lyx.org>
3246 * factory.C (createInset): small change to the way InsetExternal's params
3249 2003-06-04 André Pönitz <poenitz@gmx.net>
3251 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3253 * paragraph_pimpl.h:
3254 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3256 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3258 * undo_funcs.C: make some simple cases of undo work again
3260 2003-06-03 John Levon <levon@movementarian.org>
3262 * ispell.C: HPUX doesn't have sys/select.h
3265 2003-06-03 John Levon <levon@movementarian.org>
3267 * CutAndPaste.C: update tabular and include inset
3272 * paragraph.C: remove owningBuffer(), don't pass Buffer
3275 * factory.C: insetGraphicsParams changed
3277 2003-06-02 John Levon <levon@movementarian.org>
3283 * text3.C: remove insetparent
3285 2003-06-02 John Levon <levon@movementarian.org>
3288 * buffer.C: fix inset_iterator.end(), move out of line
3291 2003-06-01 John Levon <levon@movementarian.org>
3293 * text3.C: use a proper cut/paste when doing inset
3294 insert (from Jürgen Spitzmüller)
3296 2003-06-01 John Levon <levon@movementarian.org>
3298 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3300 2003-05-30 André Pönitz <poenitz@gmx.net>
3302 * rowpainter.C: unify second drawing phase
3304 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3306 * trans_mgr.C: remove one case of current_view
3308 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3310 * paragraph_funcs.h: remove paragraph.h include
3312 * paragraph.h: delete NO_STD_LIST stuff
3314 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3316 * buffer.h: remove paragraph.h include
3318 * ParagraphList.C: delete file
3320 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3322 * toc.C (getTocList): adjust
3324 * paragraph_pimpl.C (validate): adjust
3326 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3328 * paragraph.C (Paragraph): adjust
3329 (getPositionOfInset): use const_iterator, adjust
3330 (bibitem): use const_iterator, adjust
3331 (setInsetOwner): adjust
3333 * iterators.C (operator++): adjust
3335 * InsetList.[Ch]: Replace selfmade iterator with standard
3336 vector::iterator also introduce const_iterator. Remove getPos,
3337 getInset and setInset from InsetTable. Adjust accordingly.
3339 * BufferView.C (lockInset): adjust
3340 (ChangeInsets): adjust
3342 * tabular.[Ch]: delete commented same_id functions
3344 2003-05-28 John Levon <levon@movementarian.org>
3346 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3348 2003-05-28 André Pönitz <poenitz@gmx.net>
3350 * metricsinfo.[Ch]: remove 'fullredraw' member
3352 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3354 * lyxtextclass.C (operator): remove caching.
3356 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3360 * text2.C (cursorBottom): adjust
3361 (setCounter): use ParagraphList::find, adjust
3363 * text.C (workWidth): use ParagraphList::find, adjust
3365 * lyxcursor.C (LyXCursor): adjust
3367 * buffer.C (inset_iterator): adjust
3369 * ParagraphList.h: make iterator(value_type) private, make
3370 ParagraphList a friend of iterator.
3372 * ParagraphList.C (find): new function
3374 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3376 2003-05-27 André Pönitz <poenitz@gmx.net>
3378 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3380 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3382 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3384 2003-05-26 John Levon <levon@movementarian.org>
3386 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3388 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3390 * remove same_id from function signatures, adjust.
3392 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3394 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3396 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3398 * paragraph.C (Paragraph): get rid of same_ids parameter
3400 * ParagraphList.C (insert): adjust
3403 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3405 * paragraph_funcs.C (breakParagraph): adjust
3406 (breakParagraphConservative): adjust
3408 * buffer.C (readParagraph): adjust
3410 * ParagraphList.C (insert): take a reference instead of a pointer
3413 * paragraph.[Ch] (id): new function
3415 * bufferlist.C (newFile): adjust
3417 * ParagraphList.C (ParagraphList): adjust
3419 (push_back): take a reference instead of a pointer.
3421 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3423 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3426 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3427 set else use old code.
3429 * ParagraphList.C: remove all NO_NEXT code and only compile this
3430 code of NO_STD_LIST is set.
3432 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3434 * BufferView_pimpl.C:
3444 * graphics/GraphicsConverter.C:
3445 * graphics/PreviewLoader.C: header adjustment
3447 2003-05-23 Angus Leeming <leeming@lyx.org>
3449 * LaTeXFeatures.[Ch] (useBabel): new method.
3450 * bufferparams.C (writeLaTeX): use it.
3452 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3454 * ParagraphList.h (set): remove unused function.
3456 2003-05-23 André Pönitz <poenitz@gmx.net>
3459 * BufferView_pimpl.C:
3463 * undo_funcs.C: setUndo reworked
3465 * iterators.[Ch]: add access to topmost ParagraphList
3467 * lyxtext.[Ch] (workWidth): add a const
3469 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3471 * texrow.[Ch] (increasePos): remove function
3472 * exporter.C (export): removed unused var and outdated comment
3474 2003-05-23 Angus Leeming <leeming@lyx.org>
3476 * latexrunparams.h: rename fragile as moving_arg.
3477 * paragraph.C (simpleTeXOnePar): ditto.
3478 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3480 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3482 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3484 (textUndoOrRedo): comment out a currently unused var.
3486 * paragraph.h (NO_NEXT): enable NO_NEXT
3488 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3490 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3492 * exporter.C (Export): adjust for removeAutoInsets removal.
3494 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3496 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3498 * BufferView.[Ch] (removeAutoInsets): delete function
3500 2003-05-22 Angus Leeming <leeming@lyx.org>
3502 * latexrunparams.h: add a free_spacing variable.
3504 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3505 to pass moving_arg, as the data is stored in runparams.fragile.
3507 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3508 to Inset::latexOptional or to simpleTeXOnePar.
3510 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3511 free_spacing arg to Inset::latexOptional.
3513 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3516 2003-05-22 Angus Leeming <leeming@lyx.org>
3518 * latexrunparams.h: add fragile and use_babel variables.
3520 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3521 * buffer.C (makeLaTeXFile): store this returned value in
3522 runparams.use_babel, thus passing it to the inset::latex methods.
3524 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3525 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3527 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3528 longer has a fragile arg, as it is stored in runparams.fragile.
3530 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3531 moving_arg parameter as the data is stored in runparams.fragile.
3533 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3534 a fragile parameter as the data is stored in runparams.fragile.
3536 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3538 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3540 2003-05-22 Angus Leeming <leeming@lyx.org>
3542 * latexrunparams.h: add a 'bool nice' which defaults to false.
3544 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3545 now encapsulated within runparams.
3547 * bufferlist.C (updateIncludedTeXfiles):
3548 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3550 2003-05-22 Angus Leeming <leeming@lyx.org>
3552 * latexrunparams.h: new file containing struct LatexRunParams.
3553 * Makefile.am: add new file.
3555 * LaTeX.[Ch] (c-tor, run):
3556 * buffer.[Ch] (makeLaTeXFile):
3557 * bufferlist.[Ch] (updateIncludedTeXfiles):
3558 * converter.C (convert, scanLog):
3559 * converter.[Ch] (runLaTeX):
3560 * exporter.C (Export):
3561 * paragraph.[Ch] (simpleTeXOnePar):
3562 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3563 * paragraph_funcs.[Ch] (latexParagraphs):
3564 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3565 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3566 pass around a LatexRunParams parameter.
3568 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3570 * paragraph.[Ch]: remove unused constructor
3572 * ParagraphList.C (erase): new function, taking two iterators
3574 2003-05-22 André Pönitz <poenitz@gmx.net>
3576 * undo_funcs.C: remove duplicated code
3578 * iterator.[Ch]: operator=
3580 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3582 * tabular.C (SetMultiColumn): ws changes
3584 * rowpainter.C (paintFirst): get rid of a ->previous
3586 * lyx_cb.C (getPossibleLabel): parlist simplification
3588 * BufferView.C (ChangeInsets): simplify slightly.
3590 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3592 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3593 * lfuns.h: new LFUN_SPACE
3594 * lyxfunc.C: protected space has a new lfun
3595 * paragraph_funcs.C: read new space insets
3597 * factory.C: handle new space insets
3599 2003-05-22 André Pönitz <poenitz@gmx.net>
3602 * BufferView_pimpl.C:
3605 * undo_funcs.C: return a ParIterator from getParFromID.
3607 * iterators.[Ch]: add two const's
3609 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3611 * toc.C (getTocList): adjust
3613 * iterators.[Ch]: rework for parlist
3615 * buffer.C (par_iterator_begin): adjust
3616 (par_iterator_end): adjust
3618 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3620 * BufferView.C (removeAutoInsets): adjust
3621 (ChangeInsets): adjust
3623 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3625 * text.C (top_y): fix bug 1110
3627 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3629 * errorlist.[Ch]: added
3632 * BufferView_pimpl.C:
3633 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3636 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3638 * Makefile.am: ensure that lyx is relinked upon changes to the
3639 various "convenience" libs.
3641 2003-05-20 Angus Leeming <leeming@lyx.org>
3643 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3644 files are compiled in alphabetical order again.
3646 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3648 2003-05-19 Angus Leeming <leeming@lyx.org>
3650 * gettext.[Ch]: remove "char const * _(char const *)".
3652 2003-05-19 André Pönitz <poenitz@gmx.net>
3654 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3663 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3665 2003-05-19 André Pönitz <poenitz@gmx.net>
3669 * lyxtextclass.[Ch]:
3671 * paragraph_funcs.[Ch]:
3673 * text3.C: more insetenv work
3675 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3677 * ParagraphParameters.C (params2string): small bug fixed
3679 2003-05-16 André Pönitz <poenitz@gmx.net>
3682 * bufferview_funcs.C: patch from Kornel Benko to prevent
3683 crash when _(...) is called twice in a statement
3685 2003-05-16 André Pönitz <poenitz@gmx.net>
3692 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3694 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3696 * lyx_main.C (init): remove spurious static_cast
3698 2003-05-14 André Pönitz <poenitz@gmx.net>
3700 * BufferView.C: fix format string
3702 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3704 * BufferView.[Ch] (insertErrors): removed
3705 * BufferView.[Ch] (showErrorList): added
3706 * buffer.C (runChkTeX):
3707 * converter.C (scanLog): call showErrorList instead of inserterrors
3709 2003-05-13 André Pönitz <poenitz@gmx.net>
3711 * BufferView_pimpl.C:
3713 * bufferview_func.C:
3720 * tabular_funcs.h: tostr() from its own header
3722 * ParagraphParameters.C:
3727 * text3.C: STRCONV()
3729 2003-05-12 André Pönitz <poenitz@gmx.net>
3732 * BufferView_pimpl.C:
3736 * ParagraphParameters.C:
3740 * bufferview_funcs.C:
3753 * paragraph_funcs.C:
3757 * text3.C: boost::format -> bformat all over the place
3760 2003-05-09 André Pönitz <poenitz@gmx.net>
3762 * LColor.[Ch]: Pimpl the #include <map> away
3764 2003-05-09 John Levon <levon@movementarian.org>
3766 * bufferlist.C: never remove emergency saves
3768 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3770 * Makefile.am: better lib building
3772 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3774 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3776 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3777 (simpleTeXSpecialChars): adjust
3778 (simpleTeXSpecialChars): adjust
3779 * paragraph.C (simpleTeXOnePar): adjust
3780 * buffer.C (makeLaTeXFile): adjust
3782 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3784 * text2.C (changeDepth): parlist cleanup
3785 (getColumnNearX): ditto
3787 * rowpainter.C (getLabelFont): parlist cleanup
3789 * bufferlist.C (newFile): parlist cleanup
3791 * CutAndPaste.C (eraseSelection): parlist cleanup
3793 * BufferView_pimpl.C (trackChanges): parlist cleanup
3796 * BufferView.C (lockInset): parlist cleanup.
3797 (ChangeInsets): ditto
3799 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3801 * CutAndPaste.h: Update file header.
3803 * CutAndPaste.C: Update file header.
3804 Store the parts cut out of the Document in a limited_stack.
3805 (copySelection): adjust
3806 (pasteSelection): new function, takes the index in the limited stack.
3807 (nrOfParagraphs): adjust
3808 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3809 simplify error inset insertion.
3810 (checkPastePossible): adjust
3812 2003-05-06 John Levon <levon@movementarian.org>
3814 * text2.C: don't cast wrap inset to float
3816 2003-05-05 André Pönitz <poenitz@gmx.net>
3819 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3821 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3822 few naked Paragraph *.
3824 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3826 * bufferparams.C: Output warning if a document with missing
3827 TeX document class is loaded
3828 * exporter.C: Disable TeX exports if the document class is missing
3831 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3832 isTeXClassAvailable()
3834 2003-05-03 John Levon <levon@movementarian.org>
3837 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3838 explicit cursor show/hide
3840 * BufferView_pimpl.h:
3841 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3842 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3844 * lyxfunc.C: hide cursor before dispatching.
3849 * text3.C: remove explicit cursor hides
3851 2003-05-02 André Pönitz <poenitz@gmx.net>
3853 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3856 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3859 * text2.C: tiny whitespace
3861 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3863 * undo_funcs.C: almost only ws changes.
3865 * ParagraphList.C (splice): just return if pl is empty.
3867 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3869 * ParagraphList.C (splice): new function.
3871 * CutAndPaste.C (pasteSelection): use it
3873 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3875 * CutAndPaste.C (pasteSelection): remove the last next and
3876 previous from this file.
3878 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3880 * CutAndPaste.C (pasteSelection): more clean up, user proper
3881 ParagraphList functions for pasteing.
3883 * ParagraphList.C (insert): new function, three arg insert
3885 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3887 * ParagraphList.C (insert): new function, three arg insert
3889 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3892 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3894 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3896 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3898 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3900 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3902 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3903 (copySelection): clean up a bit.
3904 (pasteSelection): use make_pair
3906 * ParagraphList.C (ParagraphList): implement copy constructor
3907 (operator=): implement, base on copy constructor.
3910 * paragraph.C (erase): return a bool
3912 * paragraph_pimpl.C (erasePos): remove function, move contents...
3913 (erase): ... here. Return a bool.
3914 (erase): call erase instead of erasePos.
3916 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3918 * ParagraphList.h: define PitPosPair
3919 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3920 ParagraphList, fix a bug on pasting multiple pars
3921 * text2.C: change interface to C&P
3923 2003-04-30 André Pönitz <poenitz@gmx.net>
3925 * undo_func.C: revert part of yesterday's patch 2
3927 2003-04-30 John Levon <levon@movementarian.org>
3929 * LColor.C: s/tabular/table/
3931 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3933 * text3.C (dispatch): do not convert iterator -> pointer
3934 * undo_funcs.C (setCursorParUndo): ditto
3935 * text_funcs.C (transposeChars): ditto
3937 * text2.C (setLayout): ws changes only
3939 * text.C (breakParagraph): do not convert iterator -> pointer
3941 (acceptChange): ditto
3942 (rejectChange): ditto
3947 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3950 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3952 * text3.C (gotoInset): YABG (yet another bad getChar)
3954 2003-04-29 André Pönitz <poenitz@gmx.net>
3956 * paragraph.h: make operator= private unimplemented as long as
3959 * ParagraphList.C: whitespace
3962 * paragraph_pimpl.[Ch]:
3963 * paragraph_funcs.C:
3965 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3968 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3970 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3972 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3973 * paragraph.[Ch] (erase):
3974 * paragraph_pimpl.[Ch] (erase): change return type and value
3975 * text2.C (cutSelection): some rework
3977 2003-04-28 John Levon <levon@movementarian.org>
3979 * bufferlist.C: changes for unsaved changes dialog
3981 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3983 * bufferlist.C (newFile): set language (messages_) for new
3986 * buffer.C (readFile): ws changes only.
3988 2003-04-28 André Pönitz <poenitz@gmx.net>
3993 * BufferView_pimpl.C:
3994 * BufferView.C: getParFromID related ParagraphList::iterator changes
3996 2003-04-28 André Pönitz <poenitz@gmx.net>
3998 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4001 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4003 * messages.C: remove one more localedir class variable.
4005 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4007 * messages.C (getLocaleDir): singleton generation function
4009 (Messages): add a default constructor.
4011 * main.C (main): do not setup localedir here, do not call
4014 * gettext.C (_): use it.
4015 (gettext_init): delete funciton
4017 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4019 * gettext.C (getLyXMessages): new singleton generating function.
4021 * buffer.C (updateDocLang): adjust
4023 * Makefile.am (messages.o): add target
4024 (main.o): remove target
4026 2003-04-27 John Levon <levon@movementarian.org>
4031 * lyxvc.C: specify cancel button in Alert::prompt
4033 2003-04-26 John Levon <levon@movementarian.org>
4038 * LyXAction.C: add LFUN_INSET_SETTINGS
4040 * lyxfunc.C: don't enable tabular-feature when there's
4041 just any locking inset
4043 2003-04-26 John Levon <levon@movementarian.org>
4045 * bufferlist.C: re-add Cancel to buffer close question
4047 * lyxfunc.C: fix import UI a bit
4049 2003-04-25 John Levon <levon@movementarian.org>
4051 * gettext.C: remove the broken asserts for now
4053 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4055 * messages.C: make case where setlocale cannot comply work better.
4057 * buffer.C (updateDocLang): new function
4058 (changeLanguage): use it
4061 * text2.C (setCounter): use B_ a bit.
4063 * lyxlayout.C (Read): be sure to trim the label strings.
4065 * messages.C (Messages): fix typo in comment
4067 * buffer.C (readFile): set message_ after file is loaded.
4068 (makeDocBookFile): remove double return
4069 (changeLanguage): reset message_ upon language change.
4070 (B_): new func, use this to get translated buffer strings.
4072 * main.C: add myself and Jean Marc as authors.
4074 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4076 * messages.[hC]: pimplify Messages, and three different pimpls to be
4077 used in different circumstances.
4079 * gettext.[Ch]: change for use with new message code.
4081 2003-04-24 André Pönitz <poenitz@gmx.net>
4083 * factory.C: support for eqref
4085 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4087 * messages.[Ch]: add missing char
4089 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4091 * messages.[Ch]: New files
4093 2003-04-18 John Levon <levon@movementarian.org>
4097 * BufferView_pimpl.C:
4101 * text2.C: remove layout-copy/paste (bug 778)
4103 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4105 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4107 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4109 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4110 if they succeed. Act accordingly.
4112 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4114 * text2.C (setCharFont): adjust
4115 (setCounter): adjust
4116 (insertStringAsLines): adjust
4118 * text.C (leftMargin): adjust
4119 (setHeightOfRow): adjust
4121 * rowpainter.C (paintFirst): adjust
4124 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4126 (isFirstInSequence): ditto
4127 (getEndLabel): ditto
4130 * paragraph.C (getParLanguage): comment out some hard stuff.
4132 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4134 (simpleDocBookOnePar): ditto
4135 (makeDocBookFile): use ParagraphList::iterator
4137 * CutAndPaste.C (pasteSelection): adjust
4139 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4141 * text2.C (getFont): adjust
4142 (getLayoutFont): adjust
4143 (getLabelFont): adjust
4145 * paragraph_funcs.C (TeXOnePar): adjust
4147 * buffer.C (simpleLinuxDocOnePar): adjust
4148 (simpleDocBookOnePar): adjust
4150 * CutAndPaste.C (pasteSelection): adjust
4152 * BufferView.C (getEncoding): adjust
4154 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4156 2003-04-16 John Levon <levon@movementarian.org>
4158 * lyxfind.C: use parlist stuff for search/changes
4160 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4162 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4164 * text2.C (deleteEmptyParagraphMechanism): adjust
4166 * text2.[Ch] (ownerParagraph): delete func (both of them
4168 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4170 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4172 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4174 * ParagraphList.C: prepare for NO_NEXT
4176 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4178 * text2.C (getFont): adjust
4179 (getLayoutFont): adjust
4180 (getLabelFont): adjust
4182 * paragraph.C (getFont): adjust
4183 (getLabelFont): adjust
4184 (getLayoutFont): adjust
4186 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4188 2003-04-15 John Levon <levon@movementarian.org>
4192 * lyx_main.C: handle Include in .ui files
4194 2003-04-15 John Levon <levon@movementarian.org>
4196 * MenuBackend.C: make the doc files length shorter
4199 * ToolbarBackend.C: handle toolbar placement flags,
4202 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4204 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4207 * paragraph_funcs.C (TeXOnePar): adjust
4209 * paragraph.C (getLabelFont): add outerfont arg, adjust
4210 (getLayoutFont): ditto
4211 (simpleTeXOnePar): adjust
4213 * paragraph_pimpl.C (realizeFont): delete func
4215 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4217 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4218 row argument, constify cur argument.
4220 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4222 * text2.C (getFont): adjust
4223 (getLayoutFont): adjust
4224 (getLabelFont): adjust
4226 * paragraph_funcs.C (TeXOnePar): adjust
4227 (outerFont): new func...
4228 (realizeFont): ...moved out from here, changed this to facilitate
4231 * paragraph.C (getFont): take outerfont as arg, adjust
4232 (simpleTeXOnePar): add outerfont arg, adjust
4234 * buffer.C (simpleLinuxDocOnePar): adjust
4235 (simpleDocBookOnePar): adjust
4237 * CutAndPaste.C (pasteSelection): adjust
4239 * BufferView.C (getEncoding): adjust
4241 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4243 * text2.C (setCharFont): adjust
4244 (setCounter): adjust
4246 * text.C (leftMargin): adjust
4247 (setHeightOfRow): adjust
4249 * rowpainter.C (paintFirst): adjust
4252 * paragraph_pimpl.C (realizeFont): adjust
4254 * paragraph.C (isFirstInSequence): move from here...
4255 * paragraph_funcs.C (isFirstInSequence): ...to here
4257 * paragraph.C (outerHook): move from here...
4258 * paragraph_funcs.C (outerHook): ...to here
4260 * paragraph.C (depthHook): move from here...
4261 * paragraph_funcs.C (depthHook): ...to here
4263 * paragraph.C (getEndLabel): move from here...
4264 * paragraph_funcs.C (getEndLabel): ...to here
4266 * text2.C (realizeFont): move from here...
4267 * paragraph_funcs.C (realizeFont): ...to here
4269 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4271 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4273 2003-04-14 Angus Leeming <leeming@lyx.org>
4275 * LColor.[Ch]: scrap LColor mathcursor.
4277 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4279 * lyxlex.[Ch] (text): delete function
4280 * trans.C (Load): adjust
4281 * paragraph_funcs.C (readParToken): adjust
4283 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4285 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4286 vector<char> instead of a char[].
4288 * lyxlex_pimpl.C (getString): adjust
4290 (lex): use getString
4294 * lyxlex.C (text): use pimpl_->getString()
4298 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4300 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4301 (makeFontEntriesLayoutSpecific): temp var for par.size()
4302 (setLayout): temp var for ownerParagraphs().end()
4303 (fullRebreak): temp var for rows().end()
4304 (selectionAsString): temp var for boost::next(startpit), realize
4305 that the while really is a regular for loop.
4306 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4307 setCursor in one place.
4308 (setParagraph): temp vr for ownerParagraphs().end()
4309 (updateCounters): make the while loop a for loop
4310 (cutSelection): temp var for ownerParagraphs().end()
4311 (updateInset): make the do {} while() a regular for loop
4312 (getCursorX): use temp vars
4313 (setCurrentFont): use temp vars
4314 (getColumnNearX): use temp vars
4316 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4318 * text.C (transformChar): use temp var for getChar
4319 (computeBidiTables): use temp var for row->par()
4320 (fill): move temp vars for row->par() and pit->layout() earlier in
4322 (labelFill): use temp var for row->par()
4323 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4324 asc and desc, realize that pit never changes and that firstpit is
4325 just a duplicate and not needed. Exchange rit->par() with pit in a
4327 (breakAgain): use a temp var for boost::next(rit)
4328 (breakAgainOneRow): ditto
4329 (breakParagraph): use a temp var for rows().begin()
4330 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4331 (cursorRightOneWord): use temp var for cursor.par() and
4332 cursor.pos(), remove usage of tmpcursor.
4333 (cursorLeftOneWord): use temp var for cursor.par() and
4334 cursor.pos() only set cur at end of function.
4336 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4338 * text.C, text2.C: exchange all usage of Paragraph::next with
4339 boost::next(ParagraphList::iterator)
4341 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4343 * text2.C (cursorTop): simplify implementation
4344 (cursorBottom): ditto
4345 (setParagraph): use ParagraphList::iterator
4346 (setCurrentFont): adjust
4347 (getColumnNearX): adjust
4348 (cursorRight): adjust
4349 (cursorLeft): remove usage of Paragraph::previous
4350 (cursorUpParagraph): ditto
4351 (deleteEmptyParagraphMechanism): slight cleanup
4353 * text.C (isBoundary): take a Paragraph const & instead of a
4355 (addressBreakPoint): ditto
4356 (leftMargin): remove usage of Paragraph::previous.
4357 (setHeightOfRow): ditto
4358 (cursorLeftOneWord): ditto
4359 (selectNextWordToSpellcheck): ditto
4362 (breakParagraph): remove one usage of Paragraph::next
4363 (redoParagraph): ditto
4364 (acceptChange): ditto
4365 (insertChar): adjust
4366 (rowBreakPoint): adjust
4368 * bufferview_funcs.C (toggleAndShow): adjust
4370 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4372 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4373 methods to access it.
4375 * text.C: Added updateRowPositions to compute all row positions.
4376 Make top_y and getRowNearY() to use the cached y position
4378 2003-04-11 John Levon <levon@movementarian.org>
4380 * text.C (rowBreakPoint): reintroduce the labelEnd
4381 checks, code copied from the row fill stuff. Deep voodoo.
4383 * text.C (fill): add a comment and debugging for the
4386 2003-04-11 John Levon <levon@movementarian.org>
4388 * text.C: make sure fullrow insets get wrapped to the next line,
4389 even when they're in a manual label
4391 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4393 * text2.C (insertParagraph): make it take ParagraphList::iterator
4395 (setLayout): make it return ParagraphList::iterator
4396 (redoParagraphs): ditto
4398 (checkParagraph): ditto
4400 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4402 * text2.C: adjust several funcs.
4403 (realizeFont): take a ParagraphList::iterator as arg.
4404 (getLayoutFont): ditto
4405 (getLabelFont): ditto
4406 (setCharFont): ditto
4408 * text.C: adjust several funcs.
4410 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4412 * text.C (selectNextWordToSpellcheck): don't accidentally
4415 2003-04-10 John Levon <levon@movementarian.org>
4417 * ToolbarBackend.C (getIcon): special handling for
4420 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4422 * text2.C (cursorRight): a getChar assert fixed
4424 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4426 * text2.C (getFont): change to take a ParagraphList::iterator
4427 instead of Paragraph*
4428 Adjust several functions.
4430 * text.C (transformChar): change to take a ParagraphList::iterator
4431 instead of Paragraph*
4432 (singleWidth): ditto
4433 Adjust several functions.
4435 * rowpainter.C: adjust several functions
4436 * rowpainter.h:store a ParagraphList::iterator and not a
4440 2003-04-09 John Levon <levon@movementarian.org>
4445 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4446 and the "help" bits as well
4448 2003-04-09 John Levon <levon@movementarian.org>
4451 * ToolbarBackend.C: allow multiple toolbars
4453 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4455 * undo_funcs.C (setCursorParUndo): adjust
4457 * text_funcs.C (transposeChars): adjust
4459 * text3.C (gotoNextInset): adjust
4462 * text2.C (setLayout): adjust
4463 (changeDepth): adjust
4465 (redoParagraphs): adjust
4466 (selectionAsString): adjust
4467 (setParagraph): adjust
4468 (insertInset): adjust
4469 (cutSelection): adjust
4470 (copySelection): adjust
4471 (pasteSelection): adjust
4472 (insertStringAsLines): adjust
4473 (updateInset): adjust
4474 (setCursor): change to take a ParagraphList::iterator parameter
4475 (setCursorIntern): change to take a ParagraphList::iterator parameter
4476 (setCurrentFont): adjust
4477 (cursorLeft): adjust
4478 (cursorRight): adjust
4479 (deleteEmptyParagraphMechanism): adjust
4481 * text.C (breakParagraph): adjust
4482 (insertChar): adjust
4483 (acceptChange): adjust
4484 (rejectChange): adjust
4485 (selectNextWordToSpellcheck): adjust
4486 (changeCase): adjust
4490 * lyxfind.C (SearchForward): adjust
4491 (SearchBackward): adjust
4492 (nextChange): adjust
4494 * lyxcursor.C (par): adjust
4496 * lyxcursor.h: store a ParagraphList::iterator instead of a
4499 * lyx_cb.C (getPossibleLabel): adjust
4501 * bufferview_funcs.C (toggleAndShow): adjust
4503 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4506 * BufferView.C (removeAutoInsets): adjust
4507 (lockedInsetStoreUndo): adjust
4509 2003-04-09 John Levon <levon@movementarian.org>
4511 * ToolbarBackend.C: try icon without argument
4512 if with argument fails
4514 2003-04-08 John Levon <levon@movementarian.org>
4517 * ToolbarBackend.C: add getIcon(), handle tooltip,
4518 and change from "Icon" to "Item".
4520 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4522 * BufferView.C (lockInset): another bad getchar crunched
4524 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4526 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4529 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4531 * lyxfind.C (searchForward, searchBackwards): bug 782
4533 2003-04-07 John Levon <levon@movementarian.org>
4535 * paragraph.C: remove dead comment
4537 * text.C: remove troublesome depth-fiddling code
4538 in leftMargin() and rightMargin() (bug 1017)
4540 * text.C: fix breaking of rows in nested lists
4543 * text2.C (updateCounters): fix up depth values
4546 2003-04-07 John Levon <levon@movementarian.org>
4548 * BufferView_pimpl.C: clear message when doc finishes resizing,
4549 and after a mouse event
4551 * lyxfunc.C: clear message after exiting inset
4553 2003-04-07 John Levon <levon@movementarian.org>
4555 * bufferview_funcs.C: show math status not outside
4556 status in the statusbar
4558 2003-04-07 John Levon <levon@movementarian.org>
4560 * lyxfunc.C: note status changed after a depth change
4562 2003-04-04 Angus Leeming <leeming@lyx.org>
4564 * LaTeX.h: move AuxInfo operator==, != out of line.
4565 Remove LaTeX virtual destructor; nothing derives from it.
4566 Move operator()() out of public area and rename it startscript().
4567 Change protected for private.
4569 2003-04-04 Angus Leeming <leeming@lyx.org>
4572 * text2.C: remove unneeded #includes.
4574 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4576 * text2.C (dEPM): fix the heigth of the next row
4578 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4580 * text.C: squashed an invalid getChar requester + some ws changes
4582 2003-04-03 John Levon <levon@movementarian.org>
4584 * bufferview_funcs.h:
4585 * bufferview_funcs.C:
4588 * text2.C: make getStatus work for the env depth lfuns
4590 2003-04-03 John Levon <levon@movementarian.org>
4592 * bufferview_funcs.h:
4593 * bufferview_funcs.C:
4596 * text2.C: parlistize decDepth(), by merging it with incDepth()
4598 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4600 * lyxrow.h: store a ParagraphList::iterator instead of a
4601 Paragraph* and adjust other class functions to suit.
4603 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4606 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4608 * text2.C (setCursor): do not anchor to cursor row for the time being
4610 2003-04-02 John Levon <levon@movementarian.org>
4617 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4619 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4621 * paragraph.h: make ParagraphList and ParagraphList::iterator
4622 friends of Paragraph.
4624 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4626 * ParagraphList.C: Use the private next_ and previous_ from
4629 2003-04-01 John Levon <levon@movementarian.org>
4633 * Makefile.am: rename, remove defaults gunk
4636 * MenuBackend.C: remove defaults gunk
4639 * Languages.C: remove defaults gunk
4642 * lyx_main.C: error out if files couldn't be found.
4644 2003-04-02 John Levon <levon@movementarian.org>
4646 * text2.C: make incDepth() use parlist
4648 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4650 * undo_funcs.C (firstUndoParagraph): adjust
4652 * text3.C (gotoInset): adjust
4653 (dispatch): adjust, and rewrite loop.
4655 * text2.C (init): adjust, and rewrite loop.
4656 (redoParagraphs): adjust
4657 (updateInset): adjust, and rewrite loop.
4658 (deleteEmptyParagraphMechanism): adjust
4660 * tabular.C (LyXTabular): adjust
4661 (SetMultiColumn): adjust
4664 * lyxtext.[Ch] (ownerParagraph): delete function
4665 (ownerParagraphs): new function returns a ParagraphList.
4667 * BufferView.C (removeAutoInsets): adjust
4668 (insertErrors): adjust
4669 (setCursorFromRow): adjust
4671 2003-04-01 Angus Leeming <leeming@lyx.org>
4673 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4676 2003-04-02 John Levon <levon@movementarian.org>
4682 * text_funcs.C: make transposeChars a free function
4684 * lyxrow_funcs.C: remove wrong comment
4686 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4689 * rowpainter.C: adjust
4694 * lyxrow_funcs. [Ch]: new files
4696 * lyxrow.[Ch]: remove next and previous pointers
4697 (next,previous): remove accessor functions
4698 (isParEnd): move to lyxrow_funcs
4699 (lastPos): move to lyxrow_funcs
4700 (nextRowIsAllInset): move to lyxrow_funcs
4701 (lastPrintablePos): move to lyxrow_funcs
4702 (numberOfSeparators): move to lyxrow_funcs
4703 (numberOfHfills): move to lyxrow_funcs
4704 (numberOfLabelHfills): move to lyxrow_funcs
4705 (hfillExpansion): move to lyxrow_funcs
4709 * bufferview_funcs.C (toggleAndShow): adjust
4711 * RowList.h: Remove class RowList from file leave just a
4714 * RowList.C: delete file
4716 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4719 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4721 * text3.C (cursorPrevious): adjust
4722 (cursorNext): adjust
4725 * text2.C (redoHeightOfParagraph): adjust
4726 (redoDrawingOfParagraph): adjust
4729 * text.C (breakParagraph): adjust
4730 (insertChar): adjust
4733 * rowpainter.C (RowPainter): adjust
4734 (leftMargin): simplify and adjust
4735 (most rowpainter functions): adjust.
4737 * rowpainter.h: store the row as RowList::iterator not as Row*
4739 * lyxcursor.C (row): taka RowList::iterator as arg
4742 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4745 2003-04-01 Angus Leeming <leeming@lyx.org>
4747 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4748 stuff like bool Bool.
4750 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4752 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4755 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4757 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4760 * lyxtext.h (rows): drop one version and leve a const variant that
4761 returns a RowList::iterator.
4763 2003-03-31 Angus Leeming <leeming@lyx.org>
4765 * text.C (fill): ensure that the signature is the same as that in the
4768 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4770 * text2.C (redoParagraphs): adjust
4771 (updateCounters): adjust
4772 (checkParagraph): adjust
4773 (getColumnNearX): adjust and reformat a bit.
4775 * text.C (top_y): adjust
4777 (leftMargin): adjust
4778 (prepareToPrint): adjust
4780 (getRowNearY): adjust
4782 * lyxtext.h: make rowlist_ mutable.
4784 * RowList.h: add const_iterator
4785 * RowList.C: adjust for RowList::const_iterator.
4787 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4790 2003-03-31 John Levon <levon@movementarian.org>
4793 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4795 * lyx_main.C: set default fonts from using lyx_gui funcs
4797 * exporter.C: pdf_mode moved from lyxrc
4800 * lyxfunc.C: changes from above
4802 2003-03-31 John Levon <levon@movementarian.org>
4804 * lyx_main.C: fix to the last fix
4806 2003-03-31 John Levon <levon@movementarian.org>
4808 * bufferlist.C: "Load original" -> "Load Original"
4814 * format.C: more Alert cleanups
4816 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4818 * text2.C (removeParagraph): make it take a RowList::iterator as
4820 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4821 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4823 * text.C (anchor_row): make it take a RowList::iterator as arg,
4825 (computeBidiTables): make it take a const reference to Row instead
4826 of Row pointer, adjust.
4827 (leftMargin): make it take a RowList::iterator as arg, adjust.
4828 (rowBreakPoint): adjust
4829 (breakAgainOneRow): make it take a RowList::iterator as arg,
4831 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4833 * bufferview_funcs.C (toggleAndShow): adjust
4835 2003-03-30 John Levon <levon@movementarian.org>
4839 * boost-inst.C: moved to support
4841 * several files: changes as a result
4843 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4845 * text2.C (LyXText): adjust.
4847 (removeRow): make it take a RowList::iterator as arg, adjust.
4848 (fullRebreak): adjust
4849 (deleteEmptyParagraphMechanism): adjust
4850 (clearPaint): adjust
4853 * text.C (top_y): adjust
4854 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4855 (breakAgain): make it take a RowList::iterator as arg, adjust.
4856 (breakParagraph): adjust
4857 (insertChar): adjust
4860 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4861 need_break_row, and refresh_row.
4863 * text3.C (dispatch): adjust
4865 * text2.C (checkParagraph): adjust
4867 (setCursorFromCoordinates): adjust
4869 * text.C (top_y): adjust
4871 (getRow): make it return a RowList::iterator, adjust
4872 (getRowNearY): make it return a RowList::iterator, adjust
4874 * text2.C (init): adjust
4875 (insertRow): remove function
4876 (insertParagraph): adjust
4877 (redoParagraphs): adjust
4878 (fullRebreak): adjust
4879 (updateCounters): adjust
4881 * text.C (top_y): rewrite to use RowList iterators.
4883 (setHeightOfRow): rewrite to sue RowList iterators.
4884 (appendParagraph): adjust
4885 (breakAgain): adjust
4886 (breakAgainOneRow): adjust
4887 (breakParagraph): adjust
4889 (getRowNearY): adjust, and remove commented code.
4891 * lyxtext.h (firstRow): delete function
4892 (lastRow): delete function
4893 (rows): new function (const and non-const versions.)
4894 (insertRow): delete function
4896 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4898 2003-03-29 John Levon <levon@movementarian.org>
4900 * BufferView_pimpl.C: always update scrollbar top
4901 because pasting text when we're anchored could mean we
4902 miss an update altogether
4904 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4906 * text2.C (init): use rowlist_.end() and not 0.
4907 (insertRow): change to take a RowList::iterator as arg, adjust
4909 (insertParagraph): change to take a RowList::iterator as arg,
4911 (redoParagraphs): remove some debug msgs.
4913 * text.C (appendParagraph): change to take a RowList::iterator
4914 arg, adjust for this.
4915 (breakAgain): add an assert
4916 (breakAgainOneRow): ditto
4918 2003-03-29 John Levon <levon@movementarian.org>
4920 * text2.C: do not clear selection after inc/decDepth
4923 2003-03-29 John Levon <levon@movementarian.org>
4926 * buffer.C: fix broken strerrors according to Lars
4928 2003-03-29 John Levon <levon@movementarian.org>
4930 * converters.C: more Alert cleanups
4932 2003-03-29 John Levon <levon@movementarian.org>
4934 * bufferview_funcs.C: remove pointless Alert
4936 * buffer.C: fix confusing error message when
4937 a template is chmoded 000
4939 2003-03-29 John Levon <levon@movementarian.org>
4943 * BufferView_pimpl.C: Alert fixes
4947 * tabular-old.C: remove unused table compat reading
4949 2003-03-29 John Levon <levon@movementarian.org>
4954 * lyx_cb.C: more Alert cleanups
4956 * lyxfunc.C: don't allow chktex if not latex document
4958 2003-03-29 John Levon <levon@movementarian.org>
4962 * buffer.C: warnings pushed down from support/,
4965 2003-03-29 John Levon <levon@movementarian.org>
4967 * lyxfunc.C: safety check for C-r (revert)
4969 2003-03-29 John Levon <levon@movementarian.org>
4972 * bufferlist.C: several UI fixes using Alert::prompt.
4973 Fix the pointless looping quit code. Fix stupid revert
4978 * lyx_cb.C: use Alert::prompt
4980 * lyx_main.C: remove a silly question
4982 * lyxfunc.C: remove a couple of silly questions,
4985 2003-03-28 John Levon <levon@movementarian.org>
4987 * text2.C: fix bug 974 (End on empty par)
4989 2003-03-28 John Levon <levon@movementarian.org>
4991 * BufferView_pimpl.C:
4993 * lfuns.h: remove do-nothing math greek lfuns
4995 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4997 * lyxgluelength.h (isValidGlueLength): add default arg on
4998 parameter 2. Remove default arg from friend in class.
5000 * lyxlength.h (isValidLength): add default arg on parameter 2.
5001 Remove default arg from friend in class.
5003 * text2.C (LyXText): adjust, initialize refresh_row.
5007 (insertParagraph): adjst
5008 (redoParagraphs): adjust
5009 (fullRebreak): adjust
5010 (updateCounters): adjust
5011 (deleteEmptyParagraphMechanism): first attempt at fixing a
5014 * text.C (top_y): adjust
5015 (setHeightOfRow): adjust
5017 (getRowNearY): adjust
5019 * lyxtext.h: include RowList.h
5020 (~LyXText): not needed anymore, deleted.
5021 (firstRow): modify for RowList
5022 (lastRow): new function
5023 Delete firstrow and lastrow class variables, add a Rowlist
5024 rowlist_ class variable.
5026 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5029 * RowList.C (insert): fix case where it == begin().
5031 2003-03-26 Angus Leeming <leeming@lyx.org>
5033 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5034 the thesaurus dialog.
5036 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5038 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5040 * RowList.[Ch]: new files
5042 * ParagraphList.C (erase): handle the case where it == begin
5045 2003-03-25 John Levon <levon@movementarian.org>
5049 * aspell.C: add new aspell support
5052 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5055 2003-03-25 Angus Leeming <leeming@lyx.org>
5058 * LyXAction.C (init): new LFUN_INSET_INSERT.
5060 * BufferView_pimpl.C (dispatch): split out part of the
5061 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5063 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5066 2003-03-25 Angus Leeming <leeming@lyx.org>
5068 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5070 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5073 * text3.C: remove useless row->height(0)
5075 2003-03-25 John Levon <levon@movementarian.org>
5079 * text3.C: rename the refreshing stuff to better names
5081 2003-03-24 John Levon <levon@movementarian.org>
5083 * BufferView_pimpl.h:
5084 * BufferView_pimpl.C: update layout choice on a mouse
5087 2003-03-23 John Levon <levon@movementarian.org>
5089 * Makefile.am: fix commandtags.h reference
5091 2003-03-22 John Levon <levon@movementarian.org>
5093 * BufferView_pimpl.C:
5098 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5100 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5103 * text.C: take the rtl methods out of line
5105 2003-03-21 André Pönitz <poenitz@gmx.net>
5107 * metricsinfo.[Ch]: new files containing structures to be passed around
5108 during the two-phase-drawing...
5110 2003-03-21 André Pönitz <poenitz@gmx.net>
5112 * lyxtextclass.C: read 'environment' tag.
5114 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5116 * text2.C (removeRow): fix bug 964
5118 2003-03-20 John Levon <levon@movementarian.org>
5122 * text2.C: paint cleanups. Inset::update() dropped font
5125 2003-03-19 John Levon <levon@movementarian.org>
5127 * lyxfunc.C: only fitcursor/markDirty if available()
5129 2003-03-19 John Levon <levon@movementarian.org>
5131 * commandtags.h: rename to ...
5133 * lfuns.h: ... this, and renumber / cleanup
5135 2003-03-19 John Levon <levon@movementarian.org>
5137 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5138 fit the cursor after an lfun
5142 * BufferView_pimpl.h:
5143 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5145 * LyXAction.C: layout-character should have ReadOnly
5147 * ParagraphParameters.C:
5149 * bufferview_funcs.C:
5156 * undo_funcs.C: changes from above
5158 2003-03-18 John Levon <levon@movementarian.org>
5160 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5161 remove it from update()
5163 * lyxfunc.C: update layout choice after an lfun
5165 * text3.C: remove extra updateLayoutChoice()s
5167 2003-03-18 John Levon <levon@movementarian.org>
5169 * text.C: top_y change means full repaint, fix
5170 a drawing bug with cursor movement
5172 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5176 * text2.C: anchor row on setCursor
5178 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5180 * lyxtext.h: remove almost all mutable keywords
5183 * text3.C: remove const keywords accordingly
5185 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5187 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5189 (TeXEnvironment): ditto
5192 2003-03-17 John Levon <levon@movementarian.org>
5194 * text.C (rowBreakPoint): remove attempt to fix displayed
5195 math insets inside a manual label
5197 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5199 * lyxtext.h: remove BufferView* as first arg from almost all class
5201 * other files: adjust.
5203 2003-03-17 John Levon <levon@movementarian.org>
5207 * text2.C: more paint cleanups
5209 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5212 * rowpainter.C: remove "smart" background painting code
5214 2003-03-16 John Levon <levon@movementarian.org>
5219 * text3.C: add helper functions for setting refresh_row/y
5221 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5223 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5224 newline inset which *can* get inserted in the pass_thru layouts.
5225 This is primarily for literate documents.
5227 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5229 * buffer.C: increment LYX_FORMAT to 223
5231 2003-03-14 André Pönitz <poenitz@gmx.net>
5233 * textclass.h: prepare for environment handling, ws changes
5234 * lyxlayout.C: read latexheader and latexfooter tags
5236 2003-03-14 John Levon <levon@movementarian.org>
5238 * text2.C: rewrite ::status() a bit
5240 2003-03-13 John Levon <levon@movementarian.org>
5242 * lyxtext.h: add some docs
5244 2003-03-13 John Levon <levon@movementarian.org>
5249 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5251 2003-03-13 John Levon <levon@movementarian.org>
5253 * text3.C: fix appendix redrawing
5255 2003-03-13 John Levon <levon@movementarian.org>
5257 * text.C (setHeightOfRow):
5259 * rowpainter.C: make appendix mark have the text
5260 "Appendix" so the user knows what it is
5263 * LColor.C: s/appendixline/appendix/ from above
5265 2003-03-13 John Levon <levon@movementarian.org>
5267 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5269 * text.C: fix a getChar(pos) bug properly
5271 2003-03-13 Angus Leeming <leeming@lyx.org>
5274 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5275 Probably only temporary. Let's see how things pan out.
5277 * BufferView.C (unlockInset):
5278 * BufferView_pimpl.C (fitCursor):
5279 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5281 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5282 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5284 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5285 new functions that convert ParagraphParameters to and from a string.
5287 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5288 BufferView::Pimpl's dispatch.
5289 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5291 2003-03-13 André Pönitz <poenitz@gmx.net>
5295 * factory.C: make it aware of InsetEnv
5297 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5299 * text2.C (setCursor): never ask for one past last
5300 (setCursor): add some debugging messages.
5302 * text.C (singleWidth): never ask for one past last
5303 (singleWidth): ditto
5305 (rightMargin): ditto
5306 (rowBreakPoint): ditto
5307 (setHeightOfRow): ditto
5308 (prepareToPrint): ditto
5310 * rowpainter.C (paintBackground): never ask for one past last
5311 (paintText): never ask for one past last
5313 * paragraph_pimpl.C (getChar): make the assert stricter, never
5314 allow the one past last pos to be taken
5316 * paragraph.C (getChar): ws changes only
5318 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5319 (numberOfSeparators): ditto
5320 (numberOfHfills): ditto
5322 2003-03-12 John Levon <levon@movementarian.org>
5328 * paragraph_funcs.C: fix per-buffer authorlists
5330 2003-03-12 John Levon <levon@movementarian.org>
5332 * text.C: fix newline in right address
5334 2003-03-12 Angus Leeming <leeming@lyx.org>
5336 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5337 duplicate those in LyXFunc::dispatch.
5341 * ToolbarDefaults.C:
5342 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5343 Add LFUN_FONTFREE_UPDATE.
5345 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5346 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5348 * bufferview_func.[Ch]: several new functions to facilliate
5349 transfer of data to and from the character dialog.
5351 2003-03-12 John Levon <levon@movementarian.org>
5356 * paragraph_funcs.C:
5357 * paragraph_pimpl.C:
5361 * text3.C: remove META_NEWLINE in favour of an inset
5364 * rowpainter.C: remove paintNewline (done by inset)
5366 2003-03-12 John Levon <levon@movementarian.org>
5368 * paragraph_pimpl.C: complain about bad getChar()s
5369 for a while at least
5371 2003-03-12 John Levon <levon@movementarian.org>
5374 * buffer.C: move paragraph read into a separate function,
5375 a little renaming to reflect that.
5378 * bufferparams.C: remove the author_ids map, not necessary now
5381 * factory.C: moved Buffer::readInset to here
5383 * paragraph_funcs.h:
5384 * paragraph_funcs.C: readParagraph free function moved from
5387 * tabular.C: name change
5389 2003-03-12 John Levon <levon@movementarian.org>
5392 * ParagraphParameters.C: move par params input to
5395 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5396 behave like a normal read from the stream wrt reading
5397 a line vs. a \\token
5399 2003-03-12 John Levon <levon@movementarian.org>
5402 * ParagraphParameters.h:
5403 * ParagraphParameters.C: move output code to a
5406 2003-03-12 John Levon <levon@movementarian.org>
5408 * BufferView.C (insertLyXFile):
5411 * tabular.C: use a parlist iterator for creating the
5414 2003-03-12 John Levon <levon@movementarian.org>
5416 * buffer.C: make current_change static local not
5419 2003-03-12 John Levon <levon@movementarian.org>
5421 * buffer.C: fix insertStringAsLines for change tracking
5423 2003-03-12 John Levon <levon@movementarian.org>
5430 * bufferparams.C: move author list into params. Rename some
5431 functions. Move the header reading into a separate token
5432 loop. Move the header token reading into BufferParams.
5434 2003-03-12 John Levon <levon@movementarian.org>
5436 * changes.C: put debug inside lyxerr.debugging() checks
5438 2003-03-11 André Pönitz <poenitz@gmx.net>
5440 * factory.C: make it aware of InsetHFill
5442 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5444 * buffer.C (latexParagraphs): move function from here...
5445 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5448 2003-03-10 Angus Leeming <leeming@lyx.org>
5450 * LyXAction.C (init): fix bug in poplating array with multiple entries
5451 with the same LFUN (spotted by JMarc).
5453 2003-03-10 John Levon <levon@movementarian.org>
5456 * text2.C: move getColumnNearX() near its
5459 2003-03-10 John Levon <levon@movementarian.org>
5461 * text.C: fix break before a minipage
5463 2003-03-10 John Levon <levon@movementarian.org>
5465 * text.C: fix the last commit
5467 2003-03-09 John Levon <levon@movementarian.org>
5471 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5472 bug 365 (don't break before insets unless needed). Don't
5473 return a value > last under any circumstances.
5475 2003-03-09 Angus Leeming <leeming@lyx.org>
5477 * BufferView_pimpl.C (trackChanges, dispatch): call
5478 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5480 2003-03-09 Angus Leeming <leeming@lyx.org>
5482 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5483 than Dialogs::showAboutlyx().
5485 2003-03-09 Angus Leeming <leeming@lyx.org>
5487 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5488 than Dialogs::showTabularCreate().
5490 2003-03-09 John Levon <levon@movementarian.org>
5494 * text2.C: 3rd arg to nextBreakPoint was always the same.
5497 2003-03-08 John Levon <levon@movementarian.org>
5504 * text2.C: Remove the "main" bit from the "main body"
5507 2003-03-08 John Levon <levon@movementarian.org>
5509 * text.C (leftMargin): The left margin of an empty
5510 manual label paragraph should not include the label width
5513 * text.C (prepareToPrint): don't attempt to measure hfills
5514 for empty manual label paragraphs - the answer should be 0
5516 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5518 * CutAndPaste.C: remove commented code and reindent.
5520 2003-03-08 John Levon <levon@movementarian.org>
5523 * lyxfunc.C: move reloadBuffer()
5526 * BufferView.C: to here
5528 * lyxvc.C: add comment
5531 * vc-backend.C: call bv->reload() to avoid
5532 getStatus() check on MENURELOAD
5534 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5536 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5537 to an old format .dep file.
5539 2003-03-07 Angus Leeming <leeming@lyx.org>
5541 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5542 when the LFUN_MOUSE_RELEASE should have been handled by
5543 inset->localDispatch.
5545 2003-03-07 Angus Leeming <leeming@lyx.org>
5547 * BufferView_pimpl.C (dispatch):
5548 * LyXAction.C (init):
5549 * ToolbarDefaults.C (init):
5551 * lyxfunc.C (getStatus):
5552 remove LFUN_INSET_GRAPHICS.
5554 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5556 2003-03-07 Angus Leeming <leeming@lyx.org>
5559 * LyXAction.C (init):
5560 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5562 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5565 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5567 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5568 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5570 2003-03-07 Angus Leeming <leeming@lyx.org>
5572 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5575 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5577 * ParagraphList.C (front): new function
5580 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5582 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5583 and top_row_offset_. removed var first_y.
5585 * text2.C (LyXText, removeRow):
5587 * BufferView_pimpl.C:
5588 use these methods instead of using first_y
5590 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5592 * text2.C (pasteSelection): adjust for checkPastePossible
5594 * CutAndPaste.C: remove Paragraph * buf and replace with
5595 ParagraphList paragraphs.
5596 (DeleteBuffer): delete
5597 (cutSelection): change the tc type to textclass_type
5598 (copySelection): change the tc type to textclass_type
5599 (copySelection): adjust for ParagraphList
5600 (pasteSelection): change the tc type to textclass_type
5601 (pasteSelection): adjust for Paragraphlist
5602 (nrOfParagraphs): simplify for ParagraphList
5603 (checkPastePossible): simplify for ParagraphList
5604 (checkPastePossible): remove unused arg
5606 * ParagraphList.C (insert): handle the case where there are no
5609 * CutAndPaste.h: make CutAndPaste a namespace.
5611 * text3.C (dispatch): adjust
5613 * text.C (breakParagraph): add a ParagraphList as arg
5615 * paragraph_funcs.C (breakParagraph): change to take a
5616 BufferParams and a ParagraphList as args.
5617 (breakParagraphConservative): ditto
5618 (mergeParagraph): ditto
5619 (TeXDeeper): add a ParagraphList arg
5620 (TeXEnvironment): ditto
5623 * buffer.C (readLyXformat2): adjust
5624 (insertStringAsLines): adjust
5625 (latexParagraphs): adjust
5627 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5628 (cutSelection): adjust
5629 (pasteSelection): adjust
5631 * BufferView_pimpl.C (insertInset): adjust
5633 2003-03-05 Angus Leeming <leeming@lyx.org>
5636 * LyXAction.C (init):
5637 * BufferView_pimpl.C (dispatch):
5638 * lyxfunc.C (getStatus):
5639 remove LFUN_CHILD_INSERT.
5641 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5643 2003-03-05 Angus Leeming <leeming@lyx.org>
5646 * LyXAction.C (init):
5647 * src/factory.C (createInset):
5648 * lyxfunc.C (getStatus):
5649 * text3.C (dispatch):
5650 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5652 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5654 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5656 * ParagraphList.C (insert): handle insert right before end()
5657 (erase): fix cases where it can be first or last paragraph.
5659 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5661 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5662 Paragraph::next and Paragraph::previous
5665 * text.C (breakParagraph): adjust
5667 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5668 BufferParams& as arg.
5669 (breakParagraph): use ParagraphList::insert
5670 (breakParagraphConservative): take a Buffer* instead of a
5671 BufferParams& as arg.
5672 (breakParagraphConservative): use ParagraphList::insert.
5674 * buffer.C (insertStringAsLines): un-const it
5675 (insertStringAsLines): adjust
5677 * ParagraphList.C (insert): new function
5679 * CutAndPaste.C (pasteSelection): adjust
5681 * text.C (backspace): adjust
5683 * tabular.C (SetMultiColumn): adjust
5685 * CutAndPaste.C (cutSelection): adjust
5686 (pasteSelection): adjust
5688 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5689 Buffer const * as arg
5691 * ParagraphList.C (erase): new function
5692 * paragraph_funcs.C (mergeParagraph): use it
5693 (mergeParagraph): make it take a Buffer* instead of a
5694 BufferParams* as arg
5696 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5698 (breakParagraphConservative): ditto
5700 * paragraph.h: remove the breakParagraph friend
5702 * paragraph.C (eraseIntern): new function
5703 (setChange): new function
5705 * paragraph_funcs.C (mergeParagraph): make it take a
5706 ParagraphList::iterator instead of a Paragraph *, adjust
5709 * paragraph.h: move an #endif so that the change tracking stuff
5710 also works in the NO_NEXT case.
5712 2003-03-04 Angus Leeming <leeming@lyx.org>
5715 * LyXAction.C: new LFUN_INSET_MODIFY.
5717 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5718 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5720 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5722 * several files: ws changes only
5724 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5725 (TeXEnvironment): ditto
5728 * buffer.C (makeLaTeXFile): adjust
5729 (latexParagraphs): make it take ParagraphList::iterator as args
5731 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5733 * buffer.C (latexParagraphs): adjust
5735 * paragraph.C (TeXOnePar): move function...
5736 (optArgInset): move function...
5737 (TeXEnvironment): move function...
5738 * paragraph_pimpl.C (TeXDeeper): move function...
5739 * paragraph_funcs.C: ...here
5741 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5743 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5745 * buffer.C (readInset): remove compability code for old Figure and
5748 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5750 * buffer.C: ws changes
5753 * BufferView_pimpl.C: ditto
5756 * bufferlist.h: ditto
5760 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5762 * converter.[Ch]: split into itself +
5765 * Makefile.am: += graph.[Ch] + format.[Ch]
5772 * lyxrc.C: added #include "format.h"
5774 2003-02-27 Angus Leeming <leeming@lyx.org>
5776 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5779 * factory.C (createInset): add "label" to the factory.
5781 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5782 string and do no more.
5784 2003-02-27 Angus Leeming <leeming@lyx.org>
5787 * LyXAction.C (init):
5788 * factory.C (createInset):
5789 * BufferView_pimpl.C (dispatch):
5790 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5792 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5794 * lyxfunc.C (dispatch):
5795 * text3.C (dispatch): pass name to params2string.
5797 2003-02-26 Angus Leeming <leeming@lyx.org>
5799 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5801 Rearrange the ~includes. Strip out the unnecessary ones.
5803 * factory.C (createInset): reformat.
5804 create new insets for the various LFUN_XYZ_APPLY lfuns.
5806 2003-02-26 John Levon <levon@movementarian.org>
5809 * lyxrow.C: add isParStart,isParEnd helpers
5811 * paragraph.h: make isInserted/DeletedText take refs
5813 * paragraph_funcs.h:
5814 * paragraph_funcs.C: remove #if 0'd code
5819 * text.C: use lyxrow helpers above.
5820 Move draw and paint routines to RowPainter.
5821 Make several methods use refs not pointers.
5822 Make backgroundColor() const.
5823 Add markChangeInDraw(), isInInset().
5824 Merge changeRegionCase into changeCase.
5825 Make workWidth() shouldn't-happen code into an Assert.
5828 * rowpainter.C: new class for painting a row.
5831 * vspace.C: make inPixels take a ref
5833 2003-02-26 Angus Leeming <leeming@lyx.org>
5835 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5838 2003-02-25 John Levon <levon@movementarian.org>
5840 * ispell.C: give the forked command a more accurate name
5842 2003-02-22 John Levon <levon@movementarian.org>
5845 * toc.C: make TocItem store an id not a Paragraph *
5848 2003-02-21 Angus Leeming <leeming@lyx.org>
5850 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5851 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5852 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5853 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5854 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5855 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5857 * BufferView_pimpl.C (dispatch):
5858 * LyXAction.C (init):
5859 * factory.C (createInset):
5860 * lyxfunc.C (getStatus, dispatch):
5861 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5863 2003-02-21 Angus Leeming <leeming@lyx.org>
5865 * BufferView_pimpl.C (MenuInsertLyXFile):
5866 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5867 * lyxfunc.C (menuNew, open, doImport):
5868 no longer pass a LyXView & to fileDlg.
5870 2003-02-21 Angus Leeming <leeming@lyx.org>
5872 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5873 * LyXAction.C: change, BIBKEY to BIBITEM.
5874 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5875 Change InsetBibKey to InsetBibitem.
5876 Change BIBKEY_CODE to BIBITEM_CODE.
5877 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5878 * factory.C: replace insetbib.h with insetbibitem.h.
5879 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5880 * paragraph.C: replace insetbib.h with insetbibitem.h.
5881 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5882 Change bibkey() to bibitem().
5883 * text.C: remove insetbib.h.
5884 * text2.C: replace insetbib.h with insetbibitem.h.
5885 change bibkey() to bibitem().
5886 * text3.C: remove insetbib.h.
5887 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5889 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5891 * lyxrc.C (output): enclose user email in quotes (in case there are
5894 2003-02-18 John Levon <levon@movementarian.org>
5896 * buffer.h: add std::
5898 2003-02-17 John Levon <levon@movementarian.org>
5904 * pspell.C: reworking. Especially in ispell, a large
5905 number of clean ups and bug fixes.
5907 * lyxfunc.C: fix revert to behave sensibly
5909 2003-02-17 André Pönitz <poenitz@gmx.net>
5912 * commandtags.h: new LFUN_INSERT_BIBKEY
5922 * paragraph_func.C: remove special bibkey handling
5924 2003-02-17 John Levon <levon@movementarian.org>
5926 * text.C (Delete): fix case where delete at the end of
5927 the very first paragraph would not merge the pars
5929 2003-02-17 John Levon <levon@movementarian.org>
5931 * lyxrow.C: fix lastPrintablePos()
5933 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5935 * bufferparams.C (writeLaTeX): add a std:here
5937 * buffer.C: and remove a using directive there
5939 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5941 * buffer.C (makeLaTeXFile): move the code that generates the
5944 * bufferparams.C (writeLaTeX): ... in this new method
5946 * LaTeXFeatures.C (getEncodingSet): make const
5947 (getLanguages): make const
5949 * MenuBackend.C (binding): returns the binding associated to this
5951 (add): sets the status of each item by calling getStatus. Adds
5953 (read): add support for OptSubMenu
5954 (expand): remove extra separator at the end of expanded menu
5956 2003-02-15 John Levon <levon@movementarian.org>
5959 * BufferView_pimpl.C:
5961 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5962 inset code that had no actual effect. Remove unneeded status
5965 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5967 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5970 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5972 * text.C (drawLengthMarker): also draw an arrow marker for
5973 symbolic lengths (medskip...)
5975 2003-02-14 John Levon <levon@movementarian.org>
5978 * tabular.C: better method names
5980 2003-02-14 John Levon <levon@movementarian.org>
5982 * BufferView_pimpl.C:
5987 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5988 it's a more accurate name. Remove some pointless uses.
5990 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5992 * text2.C (LyXText): change order of initilizers to shut off
5995 2003-02-14 John Levon <levon@movementarian.org>
5997 * buffer.C: use ParIterator for getParFromID()
6001 * paragraph_pimpl.h:
6002 * paragraph_pimpl.C: remove unused getParFromID()
6004 2003-02-14 John Levon <levon@movementarian.org>
6006 * buffer.C: remove some very old #if 0'd parse code
6008 2003-02-13 John Levon <levon@movementarian.org>
6012 * text2.C: move hfillExpansion(), numberOfSeparators(),
6013 rowLast(), rowLastPrintable(), numberofHfills(),
6014 numberOfLabelHfills() ...
6017 * lyxrow.C: ... to member functions here.
6022 * text.C: remove LyXText::beginningOfMainBody(), and call
6023 p->beginningOfMainBody() directly. Move the check for
6024 LABEL_MANUAL into the latter.
6031 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6037 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6038 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6040 2003-02-13 John Levon <levon@movementarian.org>
6042 * CutAndPaste.C: remove debug
6044 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6046 * paragraph.C (asString): remove two unused variables
6048 * lyxtextclass.C (readTitleType):
6050 (LyXTextClass): handle new members titletype_ and titlename_
6052 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6054 2003-02-09 John Levon <levon@movementarian.org>
6057 * buffer.C: replace hand-coded list with a map for the dep clean
6059 2003-02-08 John Levon <levon@movementarian.org>
6061 * LaTeX.C: consolidate code into showRunMessage() helper
6063 2003-02-08 John Levon <levon@movementarian.org>
6068 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6069 and pass the size in explicitly
6071 * BufferView_pimpl.h:
6072 * BufferView_pimpl.C:
6074 * BufferView.C: add getCurrentChange()
6076 * BufferView_pimpl.h:
6077 * BufferView_pimpl.C: handle change lfuns
6079 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6080 for changes. Mark pasted paragraphs as new.
6082 * support/lyxtime.h:
6083 * support/lyxtime.C:
6084 * DepTable.C: abstract time_t as lyx::time_type
6087 * LColor.C: add colours for new text, deleted text, changebars
6089 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6090 package use "usenames" option.
6094 * LyXAction.C: add change lfuns
6098 * author.C: author handling
6101 * buffer.C: add a per-buffer author list, with first entry as
6102 current author. Handle new .lyx tokens for change tracking. Output
6103 author list to .lyx file. Output dvipost stuff to .tex preamble.
6104 Bump lyx format to 222.
6107 * bufferlist.C: add setCurrentAuthor() to reset current author details
6111 * bufferparams.C: add param for tracking
6113 * bufferview_funcs.C: output change info in minibuffer
6117 * changes.C: add change-tracking structure
6120 * debug.C: add CHANGES debug flag
6123 * lyxfind.C: add code for finding the next change piece
6126 * lyxrc.C: add user_name and user_email
6129 * lyxrow.C: add a metric for the top of the text line
6132 * text.C: implement accept/rejectChange()
6135 * text.C: paint changebars. Paint new/deleted text in the chosen
6136 colours. Strike through deleted text.
6140 * paragraph_pimpl.h:
6141 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6142 in the current change to the insert functions. Rework erase to
6143 mark text as deleted, adding an eraseIntern() and a range-based
6144 erase(). Implement per-paragraph change lookup and
6147 * paragraph_funcs.C: Fixup paste for change tracking.
6149 * tabular.C: mark added row/columns as new.
6151 * text.C: fix rowLast() to never return -1. Don't allow
6152 spellchecking of deleted text. Track transpose changes. Don't
6153 allow paragraph break or merge where appropriate.
6155 * text2.C: leave cursor at end of selection after a cut.
6157 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6159 * text.C (getLengthMarkerHeight):
6160 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6161 visible on screen too.
6163 2003-02-07 John Levon <levon@movementarian.org>
6165 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6167 2003-02-05 Angus Leeming <leeming@lyx.org>
6169 * lyxserver.C (read_ready): revert my patch of 11 September last year
6170 as it sends PC cpu through the roof. Presumably this means that
6171 the lyxserver will no longer run on an Alpha...
6173 2003-01-30 Angus Leeming <leeming@lyx.org>
6175 * factory.C (createInset): create an InsetCommandParam of type "index"
6176 and use it to 'do the right thing'.
6178 * text2.C (getStringToIndex): ensure that cursor position is always
6179 reset to the reset_cursor position.
6181 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6183 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6186 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6190 * lyxfunc.C: Output messages with identical spelling, punctuation,
6193 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6195 * MenuBackend.C (expandFormats): List only viewable export formats
6198 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6201 * lyxfunc.C (getStatus): Make sure that formats other than
6202 "fax" can also be disabled
6204 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6206 * text3.C (dispatch): put the lfuns that insert insets in 3
6207 groups, and call doInsertInset with appropriate arguments.
6208 (doInsertInset): new function, that creates an inset and inserts
6209 it according to some boolean parameters.
6211 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6213 * buffer.C (readFile): remember to pass on 'par' when calling
6214 readFile recursively.
6216 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6218 * MenuBackend.C (expandFormats): add "..." to import formats.
6220 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6222 * paragraph.C (asString): Remove XForms RTL hacks.
6224 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6225 * buffer.C: fix typo
6227 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6229 * Makefile.am (LIBS): delete var
6230 (lyx_LDADD): add @LIBS@ here instead.
6232 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6234 * Clarify the meaning of "wheel mouse jump"
6236 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6238 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6241 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6243 * importer.C (Loaders): do not preallocate 3 elements in the
6244 vector, since one ends up with 6 elements otherwise
6246 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6248 * DepTable.C (write): write the file name as last element of the
6249 .dep file (because it may contain spaces)
6250 (read): read info in the right order
6252 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6254 * paragraph_pimpl.C (simpleTeXBlanks):
6255 (simpleTeXSpecialChars):
6256 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6258 * tabular.C (latex): add some missing case statements. Reindent.
6260 * MenuBackend.C (expandToc): remove unused variable.
6262 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6271 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6274 2003-01-05 John Levon <levon@movementarian.org>
6277 * BufferView.C: add getEncoding()
6280 * kbsequence.C: do not store last keypress
6283 * lyxfunc.C: store last keypress here instead. Pass encoding
6286 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6288 * lyx_main.C (init): remove annoying error message when following
6289 symbolic links (bug #780)
6291 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6293 * text.C (insertChar):
6294 * lyxrc.C (getDescription): remove extra spaces
6296 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6298 * lyxrc.C (getDescription): remove extra spaces
6300 2002-12-20 John Levon <levon@movementarian.org>
6302 * text3.C: hack fix for page up/down across tall rows
6304 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6306 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6309 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6311 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6312 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6313 thesaurus is not compiled in
6315 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6317 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6319 2002-12-16 Angus Leeming <leeming@lyx.org>
6322 * lyx_main.C (init): remove override_x_deadkeys stuff.
6324 2002-12-12 John Levon <levon@movementarian.org>
6326 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6327 insert. Only remove shift modifier under strict
6330 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6332 * MenuBackend.C (expandToc): fix crash.
6334 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6336 * MenuBackend.C (expandToc): gettext on float names.
6338 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6340 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6341 implement bool empty() [bug 490]
6343 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6345 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6347 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6349 * several files: ws changes
6351 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6353 * text2.C (setCounter): clean up a bit, use boost.format.
6354 (updateCounters): initialize par upon declaration.
6356 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6357 if the layout exists. We do not just store the layout any more.
6358 (SwitchLayoutsBetweenClasses): use boost.format
6360 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6362 * converter.C (convert): if from and to files are the same, use a
6363 temporary files as intermediary
6365 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6368 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6370 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6372 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6374 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6376 * tabular.C (asciiPrintCell): use string(size, char) instead of
6379 * sgml.C (openTag): fix order of arguments to string constructor
6382 * lyxfunc.C (dispatch): use boost.format
6384 * lots of files: change "c" -> 'c'
6386 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6388 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6390 2002-11-25 Angus Leeming <leeming@lyx.org>
6392 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6394 * lyx_main.C (init): compile fix.
6396 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6398 * lyx_cb.C (start): boost.formatify
6399 do not include <iostream>
6401 * lengthcommon.C: ws only
6403 * boost-inst.C,BoostFormat.h: add more explict instantations
6405 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6407 * lots of files: handle USE_BOOST_FORMAT
6409 2002-11-21 John Levon <levon@movementarian.org>
6411 * pspell.C: fix compile
6413 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6415 * lyxfunc.C (dispatch): use boost::format
6419 * lyxfont.C (stateText): use boost::format
6421 * lyx_main.C (LyX): use boost::format
6423 (queryUserLyXDir): ditto
6426 (typedef boost::function): use the recommened syntax.
6428 * importer.C (Import): use boost::format
6430 * debug.C (showLevel): use boost::format
6432 * converter.C (view): use boost::format
6437 * bufferview_funcs.C (currentState): use boost::format
6439 * bufferlist.C (emergencyWrite): use boost::format
6441 * buffer.C (readLyXformat2): use boost::format
6442 (parseSingleLyXformat2Token): ditto
6444 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6446 * LaTeX.C (run): use boost::format
6448 * Chktex.C (scanLogFile): use boost::format
6450 * BufferView_pimpl.C (savePosition): use boost::format
6451 (restorePosition): ditto
6452 (MenuInsertLyXFile): ditto
6454 * BoostFormat.h: help file for explicit instation.
6456 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6458 * tabular.C (latex): Support for block alignment in fixed width
6461 2002-11-17 John Levon <levon@movementarian.org>
6463 * BufferView_pimpl.C:
6465 * lyxfunc.C: split filedialog into open/save
6467 2002-11-08 Juergen Vigna <jug@sad.it>
6469 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6470 by my last patch (hopefully).
6472 2002-11-08 John Levon <levon@movementarian.org>
6481 * toc.C: ParConstIterator, and use it (from Lars)
6483 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6485 * lyxtextclass.[Ch]: revise and add doxygen comments
6487 2002-11-07 John Levon <levon@movementarian.org>
6489 * text.C: fix progress value for spellchecker
6491 * toc.C: fix navigate menu for insetwrap inside minipage
6493 * paragraph_funcs.C: added FIXME for suspect code
6495 2002-11-07 John Levon <levon@movementarian.org>
6497 * BufferView_pimpl.C: fix redrawing of insets
6500 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6502 * text2.C (updateCounters): fix bug 668
6504 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6506 * text3.C (dispatch): Do not make the buffer dirty when moving the
6509 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6511 * vc-backend.C: STRCONV
6514 * text2.C (setCounter): STRCONV
6516 * paragraph.C (asString): STRCONV
6518 * lyxlength.C (asString): STRCONV
6519 (asLatexString): ditto
6521 * lyxgluelength.C (asString): STRCONV
6522 (asLatexString): ditto
6524 * lyxfunc.C (dispatch): STRCONV
6527 * lyxfont.C (stateText): STRCONV
6529 * importer.C (Import): STRCONV
6531 * counters.C (labelItem): STRCONV
6532 (numberLabel): ditto
6533 (numberLabel): remove unused ostringstream o
6538 * bufferview_funcs.C (currentState): STRCONV
6540 * buffer.C (readFile): STRCONV
6541 (asciiParagraph): ditto
6542 (makeLaTeXFile): ditto
6544 * Spacing.C (writeEnvirBegin): STRCONV
6546 * LaTeXFeatures.C (getLanguages): STRCONV
6547 (getPackages): ditto
6549 (getBabelOptions): ditto
6550 (getTClassPreamble): ditto
6551 (getLyXSGMLEntities): ditto
6552 (getIncludedFiles): ditto
6556 (scanAuxFile): ditto
6559 * LString.h: add the STRCONV macros
6561 * BufferView_pimpl.C (savePosition): STRCONV
6562 (restorePosition): ditto
6563 (MenuInsertLyXFile): ditto
6565 * vc-backend.C (scanMaster): change from submatch[...] to
6568 * funcrequest.C: include config.h
6570 * factory.C: include config.h
6572 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6574 * box.C: include config.h
6576 * LaTeX.C (scanAuxFile): change from submatch[...] to
6580 2002-10-25 Angus Leeming <leeming@lyx.org>
6582 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6584 * ispell.[Ch] (setError): new method.
6585 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6586 Use setError() insetead of goto END.
6588 * lyx_cb.C (AutoSave): move out child process into new class
6591 2002-10-30 John Levon <levon@movementarian.org>
6593 * text3.C: make start appendix undoable
6595 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6597 * lyxlength.C (inPixels): Fix returned value.
6599 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6602 2002-10-24 Angus Leeming <leeming@lyx.org>
6604 * lyxgluelength.h: no need to forward declare BufferParams
6605 or BufferView, so don't.
6607 2002-10-21 John Levon <levon@movementarian.org>
6609 * BufferView.C: menuUndo ->undo, redo
6611 * BufferView.h: document, remove dead, make some methods private
6613 * paragraph_funcs.h:
6614 * paragraph_funcs.C:
6615 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6620 * sgml.C: move sgml open/close tag into sgml.C
6622 * bufferview_funcs.h: unused prototype
6625 * lyxfunc.C: remove unused
6628 * text.C: remove unused
6630 2002-10-21 John Levon <levon@movementarian.org>
6634 * BufferView_pimpl.h:
6635 * BufferView_pimpl.C: fix mouse wheel handling based on
6636 patch from Darren Freeman
6638 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6640 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6642 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6644 * lyxlength.C (inPixels): Fix hanfling of negative length.
6645 Fix LyXLength::MU case.
6647 2002-10-16 John Levon <levon@movementarian.org>
6649 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6651 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6653 * converter.C (view): add support for $$i (file name) and $$p
6654 (file path) for the viewer command. If $$i is not specified, then
6655 it is appended to the command (for compatibility with old syntax)
6657 2002-10-14 Juergen Vigna <jug@sad.it>
6659 * undo_funcs.C (textHandleUndo): alter the order in which the
6660 new undopar is added to the LyXText, as we have to set first
6661 the right prev/next and then add it as otherwise the rebuild of
6662 LyXText is not correct. Also reset the cursor to the right paragraph,
6663 with this IMO we could remove the hack in "redoParagraphs()".
6665 2002-10-09 Angus Leeming <leeming@lyx.org>
6667 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6668 to turn off an optimisation if a new inset is to be inserted.
6670 2002-10-11 André Pönitz <poenitz@gmx.net>
6672 * lyxtext.h: make some functions public to allow access
6673 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6675 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6677 * text3.C (dispatch): when changing layout, avoid an infinite loop
6680 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6682 * lyxrc.C (read): treat a viewer or converter command of "none" as
6685 * MenuBackend.C (expandFormats): for an update, also allow the
6686 formats that are not viewable
6688 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6689 script if it is newer than the lyxrc.defaults in user directory
6691 2002-10-07 André Pönitz <poenitz@gmx.net>
6693 * text.C: Vitaly Lipatov's small i18n fix
6695 2002-09-25 Angus Leeming <leeming@lyx.org>
6697 * ispell.h: doxygen fix.
6699 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6701 * buffer.h (readFile): Add a new argument to the method, to allow
6702 reading of old-format templates.
6704 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6706 * toc.C (getTocList): Get TOC from InsetWrap.
6708 2002-09-16 John Levon <levon@movementarian.org>
6710 * lyxfunc.C: check tabular for cut/copy too
6712 2002-09-12 John Levon <levon@movementarian.org>
6717 * factory.C: add header
6719 * paragraph_funcs.h:
6720 * paragraph_funcs.C: cleanup
6722 2002-09-11 John Levon <levon@movementarian.org>
6724 * PrinterParams.h: odd/even default to true
6726 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6728 * PrinterParams.h: update printer parameters for new xforms dialog
6730 2002-09-11 Angus Leeming <leeming@lyx.org>
6732 * lyxserver.C (read_ready): re-write to make it more transparent
6733 and to make it work in coherent fashion under Tru64 Unix.
6735 2002-09-11 André Pönitz <poenitz@gmx.net>
6739 * text3.C: implement LFUN_WORDSEL
6741 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6743 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6744 make floatlist_ a boost::shared_ptr<FloatList>
6746 * lyxtextclass.C: include FloatList.h
6747 (LyXTextClass): initialize floatlist_
6748 (TextClassTags): add TC_NOFLOAT
6749 (Read): match "nofloat" to TC_NOFLOAT and use it.
6750 (readFloat): modify call to floatlist_
6754 * FloatList.[Ch] (FloatList): remove commented out float
6756 (erase): new function
6758 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6760 * MenuBackend.C (expandToc): fix crash when there is no document
6763 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6765 * many files: Add insetwrap.
6767 2002-09-09 John Levon <levon@movementarian.org>
6769 * text2.C: remove confusing and awkward depth wraparound
6771 2002-09-09 John Levon <levon@movementarian.org>
6773 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6776 * buffer.C: remove getIncludeonlyList()
6779 * lyxfunc.C: remove headers
6781 2002-09-09 Juergen Vigna <jug@sad.it>
6783 * text.C (getColumnNearX): fix form Michael this is most
6784 probably a cut&paste bug.
6786 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6788 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6790 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6791 references, ws changes.
6793 * text2.C (init): update counters after init
6794 (insertParagraph): no need to set counter on idividual paragraphs.
6795 (setCounter): access the counters object in the textclass object
6796 on in the buffer object.
6797 (updateCounters): ditto
6799 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6800 shared_ptr<Counters> to avoid loading counters.h in all
6802 (LyXTextClass): initialize ctrs_
6803 (TextClassTags): add TC_COUNTER, and ...
6804 (Read): use it here.
6805 (CounterTags): new tags
6806 (readCounter): new function
6807 (counters): new funtion
6808 (defaultLayoutName): return a const reference
6810 * counters.C (Counters): remove contructor
6811 (newCounter): remove a couple of unneeded statements.
6812 (newCounter): simplify a bit.
6813 (numberLabel): some small formatting changes.
6815 * buffer.[Ch]: remove all traces of counters, move the Counters
6816 object to the LyXTextClass.
6818 2002-09-06 Alain Castera <castera@in2p3.fr>
6820 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6821 package to set the horizontal alignment on fixed width columns.
6824 * lyx_sty.h: added tabularnewline macro def.
6826 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6828 2002-09-06 John Levon <levon@movementarian.org>
6830 * LyXAction.C: tooltips for sub/superscript
6832 * MenuBackend.C: a bit more verbose
6834 * lyxfunc.C: tiny clean
6836 * undo_funcs.C: document undo_frozen
6838 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6840 * counters.C (Counters): add missing algorithm counter.
6842 * text2.C (setCounter): lookup the counter with layouts latexname
6843 instead of by section number.
6844 (setCounter): use a hackish way to lookup the correct enum
6846 a float name->type change
6847 reset enum couners with counter name directly instead of depth value.
6849 * counters.C (Counters): remove the push_backs, change to use the
6850 float type not the float name.
6851 (labelItem): remove unused string, float name->type change
6853 * counters.h: don't include vector, loose the enums and sects vectors
6855 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6857 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6858 (Read): add float->TC_FLOAT to textclassTags
6859 (Read): and handle it in the switch
6860 (readFloat): new function
6862 * FloatList.C (FloatList): comment out the hardcoded float
6865 * lyxlayout.h: ws change.
6867 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6869 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6871 2002-09-03 Angus Leeming <leeming@lyx.org>
6873 * BufferView_pimpl.h: qualified name is not allowed in member
6874 declaration: WorkArea & Pimpl::workarea() const;
6876 * factory.C: added using std::endl directive.
6878 * text3.C: added using std::find and std::vector directives.
6880 2002-08-29 André Pönitz <poenitz@gmx.net>
6883 * text2.C: remove unused member number_of_rows
6886 * BufferView2.C: remove file, move contents to...
6887 * BufferView.C: ... here
6889 * BufferView_pimpl.C:
6890 * factory.C: move more inset creation to factory
6892 * vspace.C: avoid direct usage of LyXText, ws changes
6895 don't provide direct access to WorkArea, use two simple
6896 acessors haveSelction() and workHeight() instead
6899 2002-08-29 John Levon <levon@movementarian.org>
6901 * BufferView_pimpl.C (dispatch): do not continue when
6904 2002-08-28 André Pönitz <poenitz@gmx.net>
6906 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6909 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6911 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6913 * buffer.C: increment LYX_FORMAT to 221
6915 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6916 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6918 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6920 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6922 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6924 * factory.C (createInset): use LyXTextClass::floats
6926 * MenuBackend.C (expandFloatListInsert):
6927 (expandFloatInsert):
6930 * text2.C (setCounter):
6932 * LaTeXFeatures.C (useFloat):
6933 (getFloatDefinitions):
6935 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6937 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6938 floatlist_, with accessor floats().
6940 * FloatList.h: remove global FloatList
6942 2002-08-26 André Pönitz <poenitz@gmx.net>
6944 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6948 * BufferView_pimpl.C:
6949 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6951 2002-08-25 John Levon <levon@movementarian.org>
6953 * LyXAction.C: fix margin note description
6955 2002-08-24 John Levon <levon@movementarian.org>
6959 * bufferview_funcs.C:
6961 * undo_funcs.C: cleanups
6963 * lyxfunc.C: disable CUT/COPY when no selection
6965 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6967 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6968 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6970 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6971 Add backward compatibility to "mono", "gray" and "no".
6973 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6975 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6976 (and file_format >= 200).
6978 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6980 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6982 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6984 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6986 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6988 * BufferView_pimpl.C:
6995 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6996 inset and code to make it work with the paragraph code. The inset
6997 can be anywhere in the paragraph, but will only do the expected
6998 thing in LaTeX if the layout file contains the parameter line
7000 (or more generally, a nonzero value) for that layout.
7002 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7004 * paragraph.h: remove the declaration of undefined counters class
7007 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7009 * text2.C (setCounter): fixed enumeration mis-count as reported by
7010 Dr. Richard Hawkins.
7012 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7014 * paragraph_funcs.h: remove some unneeded includes
7016 * text.C (backspace): pasteParagraph now in global scipe
7018 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7019 (pasteSelection): ditto
7021 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7022 * paragraph_funcs.C (pasteParagraph): ... here
7024 2002-08-20 André Pönitz <poenitz@gmx.net>
7026 * commandtags.h: new LFUNs for swapping/copying table row/colums
7029 * lyxfunc.C: support for new lfuns
7031 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7034 * buffer.[Ch]: remove NO_COMPABILITY stuff
7036 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7038 * boost.C (throw_exception): new file, with helper function for
7039 boost compiled without exceptions.
7044 * ParameterStruct.h:
7045 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7047 * bufferlist.C (emergencyWriteAll): use boost bind
7049 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7051 * text.C: include paragraph_funcs.h
7052 (breakParagraph): breakParagraph is now in global scope
7054 * paragraph_funcs.[Ch]: new files
7056 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7059 * buffer.C: include paragraph_funcs.h
7060 (insertStringAsLines): breakParagraph is now in global scope
7062 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7065 * CutAndPaste.C: include paragraph_funcs.h
7066 (cutSelection): breakParagraphConservative is now in global scope
7067 (pasteSelection): ditto
7069 * buffer.h: declare oprator== and operator!= for
7070 Buffer::inset_iterator
7072 * bufferlist.C (emergencyWrite): don't use fmt(...)
7074 * text3.C: add using std::endl
7076 * BufferView.C (moveCursorUpdate): remove default arg
7078 2002-08-20 André Pönitz <poenitz@gmx.net>
7080 * buffer.[Ch]: move inline functions to .C
7083 * BufferView_pimpl.C:
7085 * buffer.[Ch]: use improved inset_iterator
7088 * paragraph.[Ch]: write one paragraph at a time
7090 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7092 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7093 style if style is not specified.
7095 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7097 * text2.C (setCounter): when searching for right label for a
7098 caption, make sure to recurse to parent insets (so that a caption
7099 in a minipage in a figure float works) (bug #568)
7101 2002-08-20 André Pönitz <poenitz@gmx.net>
7103 * text3.C: new file for LyXText::dispatch() and helpers
7105 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7107 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7109 2002-08-19 André Pönitz <poenitz@gmx.net>
7112 * text.C: new LyXText::dispatch()
7114 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7116 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7118 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7120 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7123 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7125 * Makefile.am: use $(variables) instead of @substitutions@
7127 2002-08-15 André Pönitz <poenitz@gmx.net>
7130 * BufferView_pimpl.C: streamlining mathed <-> outer world
7134 * LyXAction.C: remove unused LFUN_MATH
7136 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7138 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7140 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7142 * paragraph.C (Paragraph): reformat a bit
7143 (cutIntoMinibuffer): use builtin InsetList function instad of
7147 * buffer.C: include boost/bind.hpp, add using std::for_each
7148 (writeFileAscii): use ParagraphList iterators
7149 (validate): use for_each for validate traversal of paragraphs
7150 (getBibkeyList): use ParagraphList iterators
7151 (resizeInsets): use for_each to resizeInsetsLyXText for all
7153 (getParFromID): use ParagraphList iterators
7155 * BufferView2.C (lockInset): use paragraph list and iterators
7157 2002-08-14 John Levon <levon@movementarian.org>
7159 * lyxserver.C: remove spurious xforms include
7161 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7163 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7165 2002-08-13 André Pönitz <poenitz@gmx.net>
7168 * lyxfunc.C: further cleaning
7170 2002-08-13 André Pönitz <poenitz@gmx.net>
7172 * funcrequest.h: new constructor
7174 * funcrequest.C: move stuff here from .h
7177 * BufferView_pimpl.C:
7180 * lyxfunc.C: subsequent changes
7182 * lyxfunc.h: new view() member function
7184 * lyxfunc.C: subsequent changes
7186 2002-08-13 Angus Leeming <leeming@lyx.org>
7189 * BufferView_pimpl.C:
7197 changes due to the changed LyXView interface that now returns references
7198 to member variables not pointers.
7200 2002-08-13 Angus Leeming <leeming@lyx.org>
7202 * WordLangTuple (word, lang_code): return references to strings,
7207 * lyxtext.h: forward-declare WordLangTuple.
7212 * text.C: #include "WordLangTuple.h".
7215 * text.C: (selectNextWordToSpellcheck): constify return type.
7217 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7223 * paragraph_pimpl.h:
7226 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7228 Made updateCounter always count from start of buffer, and removed
7229 second argument (par).
7230 Reverted floats number display to '#'. Perhaps I'll try again when the
7231 code base is sanitized a bit.
7233 2002-08-12 Angus Leeming <leeming@lyx.org>
7235 * buffer.[Ch] (getLabelList): constify.
7237 2002-08-07 André Pönitz <poenitz@gmx.net>
7239 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7241 * funcrequest.h: extension to keep mouse (x,y) position
7243 2002-08-12 Juergen Vigna <jug@sad.it>
7245 * BufferView2.C (insertErrors): forbid undo when inserting error
7248 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7250 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7252 * ParagraphList.[Ch]: new files
7254 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7256 * BufferView2.C (lockInset): ParagraphList changes
7259 * bufferlist.C: ditto
7263 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7265 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7266 unused class variable counter_,
7268 * paragraph.[Ch] (getFirstCounter): delete unused function
7270 * counters.C: include LAssert.h
7271 (reset): add a new function with no arg, change other version to
7272 not have def. arg and to not allow empty arg.
7274 * text2.C (setCounter): remove empty arg from call to Counters::reset
7276 2002-08-11 John Levon <levon@movementarian.org>
7278 * Makefile.am: add WordLangTuple.h
7280 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7282 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7283 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7285 * insets/insettext.C: InsetList changes
7287 * graphics/GraphicsSupport.C (operator()): InsetList changes
7289 * toc.C (getTocList): InsetList changes
7291 * paragraph_pimpl.[Ch]: InsetList changes
7293 * paragraph.[Ch]: InsetList changes
7295 * buffer.C (inset_iterator): InsetList changes
7296 (setParagraph): ditto
7297 * buffer.h (inset_iterator): ditto
7298 * iterators.C (operator++): ditto
7299 * iterators.h: ditto
7301 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7303 * InsetList.[Ch]: new files, most InsetList handling moved out of
7306 * BufferView2.C (removeAutoInsets): InsetList changes
7308 (ChangeInsets): ditto
7310 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7312 * paragraph_pimpl.h (empty): new function
7314 * paragraph.[Ch] (empty): new function
7316 * other files: use the new Paragraph::empty function
7318 2002-08-09 John Levon <levon@movementarian.org>
7320 * lyxtext.h: remove unused refresh_height
7322 2002-08-09 John Levon <levon@movementarian.org>
7329 * paragraph.C: move sgml char escaping out of paragraph
7332 * paragraph.C: remove id setter
7336 * paragraph_pimpl.C: remove dead tex_code_break_column
7338 * bufferview_funcs.C: small cleanup
7340 * lyxfunc.C: remove dead proto
7342 * lyxtext.h: make some stuff private. Remove some dead stuff.
7344 * lyxgluelength.C: make as[LyX]String() readable
7346 2002-08-08 John Levon <levon@movementarian.org>
7351 * ToolbarDefaults.C:
7354 * toc.C: lyxaction cleanup
7356 2002-08-08 John Levon <levon@movementarian.org>
7358 * BufferView2.C: small cleanup
7361 * lyxfind.C: move unnecessary header into the .C
7363 2002-08-08 John Levon <levon@movementarian.org>
7365 * funcrequest.h: just tedious nonsense
7368 * lyx_main.C: cleanups
7371 * vspace.C: remove dead header lyx_main.h
7373 2002-08-07 Angus Leeming <leeming@lyx.org>
7376 * paragraph_pimpl.h:
7377 Forward declare class Counters in paragraph.h by moving the ctrs member
7378 variable into Paragraph::Pimpl.
7379 (counters): new method, returning a reference to pimpl_->ctrs.
7381 * text2.C: ensuing changes.
7383 2002-08-07 John Levon <levon@movementarian.org>
7385 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7387 * BufferView_pimpl.C: announce X selection on double/triple
7390 * lyx_main.C: use correct bool in batch dispatch
7392 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7394 2002-08-07 André Pönitz <poenitz@gmx.net>
7396 * funcrequest.h: new class to wrap a kb_action and its argument
7399 * BufferView_pimpl[Ch]:
7403 * lyxrc.C: subsequent changes
7406 2002-08-07 John Levon <levon@movementarian.org>
7408 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7409 document options change.
7411 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7416 * makefile.am: move counters functionality over from
7417 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7419 2002-08-06 John Levon <levon@movementarian.org>
7421 * WordLangTuple.h: new file for word + language code tuple
7432 * BufferView2.C: use WordLangTuple
7435 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7437 2002-08-06 John Levon <levon@movementarian.org>
7439 * lyx_main.C: fix cmdline batch handling
7441 2002-08-06 André Pönitz <poenitz@gmx.net>
7443 * lyxrc.C: set default for show_banner to true
7445 2002-08-06 John Levon <levon@movementarian.org>
7447 * pspell.C: fix a crash, and allow new aspell to work
7449 2002-08-06 John Levon <levon@movementarian.org>
7452 * kbmap.C: small cleanup
7455 * vspace.C: add const
7457 2002-08-05 John Levon <levon@movementarian.org>
7459 * LyXAction.C: back to tabular-insert
7461 2002-08-04 John Levon <levon@movementarian.org>
7464 * BufferView.C: cosmetic change
7466 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7476 * BufferView2.C: purge all "Lyx" not "LyX" strings
7479 * lyxcursor.C: attempt to add some documentation
7484 * ToolbarDefaults.C:
7485 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7486 merge with LFUN_TABULAR_INSERT
7493 * pspell.C: split up i/pspell implementations into separate
7494 files, many cleanups
7496 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7498 * text2.C: some cleanup
7500 * lyxfunc.C: don't check for isp_command == "none" any more, it
7501 didn't make any sense
7503 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7508 * makefile.am: move counters functionality over
7509 from text2.C/paragraph.[Ch] to counters.[Ch], and
7511 2002-08-02 John Levon <levon@movementarian.org>
7513 * buffer.C: s/lyxconvert/lyx2lyx/
7515 2002-08-02 Angus Leeming <leeming@lyx.org>
7517 * lyxlex.C: revert John's change as it breaks reading of the user
7520 2002-08-02 Angus Leeming <leeming@lyx.org>
7522 * importer.C (Import):
7523 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7524 changes due to LyXView::view() now returning a boost::shared_ptr.
7526 2002-08-02 John Levon <levon@movementarian.org>
7528 * lyxlex.C: small cleanup
7530 2002-08-02 John Levon <levon@movementarian.org>
7532 * text2.C (status): small cleanup, no logic change
7534 2002-08-01 John Levon <levon@movementarian.org>
7537 * buffer.C (writeFile): don't output alerts, caller
7541 * lyx_cb.C: from above
7543 * lyxfunc.C: allow to open non-existent files
7545 2002-07-31 John Levon <levon@movementarian.org>
7547 * lyxserver.C: don't let incidental errors get
7550 2002-07-30 John Levon <levon@movementarian.org>
7552 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7554 2002-07-30 John Levon <levon@movementarian.org>
7557 * lyxserver.C: remove I/O callback too
7559 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7561 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7564 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7566 * many files: strip,frontStrip -> trim,ltrim,rtrim
7568 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7570 * PrinterParams.h: remove extern containsOnly, and include
7571 support/lstrings.h instead.
7573 * LaTeX.C (scanAuxFile): modify because of strip changes
7575 * buffer.C (makeLaTeXFile): ditto
7576 * bufferparams.C (writeFile): ditt
7577 * lyxfont.C (stateText): ditto
7578 * lyxserver.C (read_ready): ditto
7579 * vc-backend.C (scanMaster): ditto
7581 * BufferView_pimpl.h: ws changes
7583 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7585 2002-07-26 André Pönitz <poenitz@gmx.net>
7587 * kb_sequence.C: remove unnedred usings
7589 2002-07-26 Juergen Vigna <jug@sad.it>
7591 * lyxfind.C (LyXReplace): we have to check better if the returned
7592 text is not of theLockingInset()->getLockingInset().
7594 2002-07-25 Juergen Vigna <jug@sad.it>
7596 * lyxfind.C (LyXReplace): don't replace if we don't get the
7599 * undo_funcs.C (createUndo): remove debugging code.
7601 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7603 * buffer.C (parseSingleLyXformat2Token): Use default placement
7604 when reading old floats.
7606 * FloatList.C (FloatList): Change the default placement of figure
7607 and tables to "tbp".
7609 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7611 * MenuBackend.C: using std::max
7613 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7615 * MenuBackend.C (expandToc):
7616 (expandToc2): code moved from xforms menu frontend. It is now
7617 generic and TOCs are transparent to menu frontends.
7619 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7621 * toc.C (getTocList): protect against buf=0
7623 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7624 Menu as first parameter. Now, this calls itself recursively to
7625 expand a whole tree (this will be useful for TOC handling)
7626 (expandFloatInsert): remove 'wide' version of floats
7628 * MenuBackend.h (submenuname): returns the name of the submenu.
7629 (submenu): returns the submenu itself, provided it has been
7630 created by MenuBackend::expand
7632 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7634 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7635 insets which have noFontChange == true. (bug #172)
7637 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7639 * BufferView_pimpl.C: add connection objects and use them...
7642 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7644 * MenuBackend.C (expandLastfiles):
7647 (expandFloatListInsert):
7648 (expandFloatInsert):
7649 (expand): split expand in parts
7651 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7653 * lyx_gui.C: use lyx_gui::exit()
7655 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7657 * LyXAction.C: show the failing pseudo action
7659 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7661 * buffer.C (readFile): Run the lyxconvert script in order to read
7664 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7668 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7670 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7674 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7676 2002-07-22 Herbert Voss <voss@lyx.org>
7679 * lyxlength.[Ch]: add support for the vertical lengths
7681 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7683 * toc.[Ch]: std:: fixes
7685 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7687 * lyxrc.C: do not include lyx_main.h
7689 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7695 * BufferView2.C: include "lyxlex.h"
7698 * bufferparams.h: do not #include "lyxlex.h"
7700 * lyxtextclasslist.C (Add): remove method
7701 (classlist): renamed to classlist_
7703 * paragraph_pimpl.C:
7707 * bufferview_funcs.C:
7712 * toc.C (getTocList): use BufferParams::getLyXTextClass
7714 * toc.C (getTocList): use InsetFloat::addToToc
7716 * toc.[Ch]: new files, containing helper functions to handle table
7719 * lyxfunc.C (dispatch): no need to remove spaces around command
7721 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7722 first command of the sequence; it is not very clever, but I do not
7723 have a better idea, actually
7725 * LyXAction.C (LookupFunc): make sure to remove space at the
7726 beginning and end of the command
7728 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7730 * MenuBackend.C (getMenubar): new method: return the menubar of
7732 (read): treat differently reading of menu and menubar (in
7733 particular, the menubar has no name now)
7734 (Menu::menubar): remove
7736 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7739 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7741 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7742 a bibitem inset in a RTL paragraph.
7744 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7746 * paragraph_pimpl.C: constify
7748 * BufferView_pimpl.C:
7750 * lyxfunc.C: fix dispatch in a nicer way
7752 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7754 * lyxfunc.C (dispatch):
7755 * BufferView_pimpl.C:
7756 * BufferView_pimpl.h:
7758 * BufferView.h: rename Dispatch() to dispatch()
7760 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7762 * lyxlayout.C (Read): honor DependsOn tag
7764 * lyxlayout.[Ch] (depends_on): new method
7766 * version.C.in: update lyx_docversion
7768 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7770 * paragraph.C (validate): remove from here...
7771 * paragraph_pimpl.C (validate): ... and move here
7772 (isTextAt): make it const
7774 * buffer.C (getLists): ws cleanup
7776 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7778 * language.C (read): Use iso8859-1 encoding in latex_lang
7779 (this prevents LyX from crashing when using iso10646-1 encoding).
7781 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7783 * text2.C (toggleInset): if cursor is inside an inset, close the
7784 inset and leave cursor _after_ it
7786 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7788 * lyxfunc.C: move minibuffer completion handling out of here
7790 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7792 * BufferView_pimpl.C:
7793 * LaTeX.C: fix dispatch calls
7795 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7797 * text.C (drawChars): Fix Arabic text rendering.
7799 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7803 * lyxfunc.C: remove message-push/pop
7807 * lyxfunc.C: rationalise some code by removing verboseDispatch
7808 in favour of a bool argument to dispatch()
7810 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7812 * lyx_main.C (init): make sure to read symlinks as absolute paths
7814 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7817 * lyxfunc.C: no need for commandshortcut to be a member
7819 2002-07-15 André Pönitz <poenitz@gmx.net>
7821 * converter.C: add support for $$s (scripts from lib/scripts dir)
7822 * lyx_main.C: white space
7824 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7828 * lyxrc.C: remove second exit confirmation
7830 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7835 * BufferView_pimpl.h:
7836 * BufferView_pimpl.C:
7837 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7839 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7841 * MenuBackend.C (expand): add numeric shortcuts to document menu
7843 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7845 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7847 * lyxfont.C (setLyXFamily):
7854 * buffer.C (asciiParagraph): use ascii_lowercase
7856 2002-07-15 Mike Fabian <mfabian@suse.de>
7858 * lyxlex_pimpl.C (search_kw):
7859 * lyxlex.C (getLongString):
7860 * converter.h (operator<):
7861 * converter.C (operator<):
7862 * buffer.C (parseSingleLyXformat2Token):
7864 * ToolbarDefaults.C (read):
7865 * MenuBackend.C (checkShortcuts):
7867 * LColor.C (getFromGUIName):
7868 (getFromLyXName): use the compare_ascii_no_case instead of
7869 compare_no_case, because in turkish, 'i' is not the lowercase
7870 version of 'I', and thus turkish locale breaks parsing of tags.
7872 2002-07-16 Angus Leeming <leeming@lyx.org>
7874 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7875 now takes a Buffer const & argument.
7877 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7879 * BufferView.C (resize): check there's a buffer to resize
7881 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7883 * lyxfunc.C: remove dead code
7886 * lyxserver.C: use lyx_guii::set_read_callback
7888 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7890 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7891 an inset in a RTL paragraph.
7893 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7895 * lyxfunc.C: repaint after a font size update
7897 2002-07-15 André Pönitz <poenitz@gmx.net>
7899 * lyxlength.C: inBP should be able to return negative values
7901 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7903 * lyxfunc.C: use lyx_gui::update_fonts()
7905 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7907 * lyxfunc.C: use lyx_gui::update_color()
7909 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7915 * lyxrc.C: remove file->new asks for name option, and let
7916 buffer-new take an argument
7918 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7920 * BufferView_pimpl.C: remove unneeded extra repaint()
7922 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7924 * LyXAction.C: allow command-sequence with NoBuffer
7926 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7928 2002-07-10 Angus Leeming <leeming@lyx.org>
7930 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7932 2002-07-09 Angus Leeming <leeming@lyx.org>
7934 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7936 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7938 * lengthcommon.h: whitespace
7940 * lyxfunc.C: update scrollbar after goto paragraph
7942 * lyxtext.h: factor out page break drawing, and fix it so
7943 page break/added space paints as selected nicely
7945 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7947 * BufferView_pimpl.C: add FIXMEs, clean up a little
7949 2002-07-09 André Pönitz <poenitz@gmx.net>
7951 * lyxfont.[Ch]: support for wasy symbols
7953 2002-07-08 André Pönitz <poenitz@gmx.net>
7955 * BufferView_pimpl.C: apply John's patch for #93.
7957 2002-07-05 Angus Leeming <leeming@lyx.org>
7959 * BufferView_pimpl.C (buffer): generate previews if desired.
7961 * LColor.h: add "preview" to the color enum.
7963 * LColor.C (LColor): add a corresponding entry to the items array.
7965 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7968 2002-07-05 Angus Leeming <leeming@lyx.org>
7970 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7971 The body of the code is now in the method that is passed an ostream &
7972 rather than a file name.
7973 Pass an additional only_preamble parameter, useful for the forthcoming
7976 2002-07-03 André Pönitz <poenitz@gmx.net>
7978 * lyxfunc.C: simplify getStatus() a bit for math stuff
7980 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7982 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7984 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7986 * text.C (changeRegionCase): do not change case of all the
7987 document when region ends at paragraph end (bug #461)
7989 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7991 * paragraph.C (startTeXParParams):
7992 (endTeXParParams): add \protect when necessary
7994 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7996 * BufferView_pimpl.C (workAreaExpose): remove warning
7998 2002-06-27 Angus Leeming <leeming@lyx.org>
8000 * Makefile.am: add lyxlayout_ptr_fwd.h.
8002 2002-06-26 André Pönitz <poenitz@gmx.net>
8004 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8006 2002-06-25 Angus Leeming <leeming@lyx.org>
8008 * lyxfunc.C (dispatch): Comment out the call to
8009 grfx::GCache::changeDisplay. The method no longer exists now that the
8010 pixmap generation part of the graphics loader has been moved into
8013 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8015 * text2.C: layout as layout
8017 * text.C: layout as layout
8019 * tabular.C (OldFormatRead): layout as layout
8021 * paragraph_pimpl.C (TeXDeeper): layout as layout
8022 (realizeFont): layout as layout
8024 * paragraph.C (writeFile): layout as layout
8025 (validate): layout as layout
8026 (getFont): layout as layout
8027 (getLabelFont): layout as layout
8028 (getLayoutFont): layout as layout
8029 (breakParagraph): layout as layout
8030 (stripLeadingSpaces): layout as layout
8031 (getEndLabel): layout as layout
8032 (getMaxDepthAfter): layout as layout
8033 (applyLayout): layout as layout
8034 (TeXOnePar): layout as layout
8035 (simpleTeXOnePar): layout as layout
8036 (TeXEnvironment): layout as layout
8037 (layout): layout as layout
8038 (layout): layout as layout
8040 * lyxtextclass.C (compare_name): new functor to work with
8041 shared_ptr, layout as layout
8042 (Read): layout as layout
8043 (hasLayout): layout as layout
8044 (operator): layout as layout
8045 (delete_layout): layout as layout
8046 (defaultLayout): layout as layout
8048 * lyxlayout_ptr_fwd.h: new file
8050 * lyxlayout.C (Read): layout as layout
8052 * lyx_cb.C (MenuInsertLabel): layout as layout
8054 * bufferlist.C (newFile): layout as layout
8056 * buffer.C (readLyXformat2): layout as layout
8057 (parseSingleLyXformat2Token): layout as layout
8058 (insertStringAsLines): layout as layout
8059 (asciiParagraph): layout as layout
8060 (latexParagraphs): layout as layout
8061 (makeLinuxDocFile): layout as layout
8062 (simpleLinuxDocOnePar): layout as layout
8063 (makeDocBookFile): layout as layout
8064 (simpleDocBookOnePar): layout as layout
8065 (getLists): layout as layout
8067 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8069 * CutAndPaste.C (cutSelection): layout as layout
8070 (pasteSelection): layout as layout
8071 (SwitchLayoutsBetweenClasses): layout as layout
8073 * BufferView_pimpl.C (Dispatch): layout as layout
8074 (smartQuote): layout as layout
8076 * BufferView2.C (unlockInset): layout as layout
8078 2002-06-24 André Pönitz <poenitz@gmx.net>
8080 * lyxfunc.C: fix #487
8082 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8086 * lyxfunc.C: remove display_shortcuts, show_banner
8088 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8090 * Buffer_pimpl.C: oops, update on resize
8092 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8099 * BufferView.C: use repaint()
8101 * BufferView_pimpl.h:
8102 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8103 as it's a clearer description. Remove superfluous
8106 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8108 * text.C: fix bug 488. Not ideal, but getting
8109 getWord() to work properly for the insets that
8110 matter is more difficult ...
8112 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8114 * BufferView_pimpl.C:
8117 * lyxfunc.C: remove the six million index lyxfuncs to just
8118 one, and DTRT (bug 458)
8120 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8124 * BufferView_pimpl.h:
8125 * BufferView_pimpl.C: clean up resize() stuff,
8126 and unnecessary updateScreen()s
8128 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8132 * BufferView_pimpl.h:
8133 * BufferView_pimpl.C:
8136 * minibuffer.C: remove focus management of workarea,
8137 not needed. Use screen's greyOut()
8139 2002-06-17 Herbert Voss <voss@lyx.org>
8141 * converter.C: (convert) do not post a message, when converting
8142 fails, let the calling function decide what to do in this case
8144 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8146 * lyxfunc.C: tidy up a little
8148 2002-06-16 <alstrup@diku.dk>
8150 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8151 Got rid of FORMS_H_LOCATION include. Now we are
8154 2002-06-15 LyX Development team <lyx@rilke>
8156 * buffer.[Ch] (sgmlOpenTag):
8157 (sgmlCloseTag): Added support for avoiding pernicious mixed
8158 content. Return number of lines written.
8161 (makeDocBookFile): Fixed calls to sgml*Tag.
8162 Simple white space clean.
8164 (simpleDocBookOnePar): Simple white space clean.
8166 * tabular.[Ch] (docBook): Renamed to docbook and got another
8167 argument to related with the pernicious mixed content.
8169 (docbookRow): Fixed calls for docbook inset method.
8171 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8173 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8174 so it's X11 independent.
8178 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8180 2002-06-15 Lyx Development team <lyx@electronia>
8182 * intl.h: Renamed getTrans to getTransManager.
8184 2002-06-14 Angus Leeming <leeming@lyx.org>
8186 * Makefile.am: nuke forgotten stl_string_fwd.h.
8188 2002-06-12 Angus Leeming <leeming@lyx.org>
8190 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8192 2002-06-13 Angus Leeming <leeming@lyx.org>
8195 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8197 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8199 * kbmap.C (getiso): add support for cyrillic and greek
8201 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8205 * BufferView_pimpl.h:
8206 * BufferView_pimpl.C: move bogus scrolling logic
8209 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8212 * BufferView_pimpl.C: view->resize() change
8214 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8216 * BufferView_pimpl.C: topCursorVisible
8219 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8223 * lyx_gui.C: move to frontends/
8227 * lyx_main.C: changes from above
8229 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8236 * lyx_main.C: minor tidy
8238 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8240 * BufferView_pimpl.h:
8241 * BufferView_pimpl.C:
8243 * BufferView.C: make painter() const,
8246 * BufferView2.C: use screen() accessor
8249 * lyx_main.C: some minor cleanup
8251 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8253 * BufferView_pimpl.h:
8254 * BufferView_pimpl.C: remove enter/leaveView,
8257 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8262 * BufferView_pimpl.h:
8263 * BufferView_pimpl.C: only construct screen once,
8266 * lyxrc.C: remove pointless comment
8268 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8271 * BufferView.C: remove active() and belowMouse()
8273 * BufferView_pimpl.h:
8274 * BufferView_pimpl.C: use workarea() not workarea_,
8275 and make it use a scoped_ptr instead
8277 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8279 * lyx_gui.C: add debug message on BadWindow
8281 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8283 * sp_spell.C: fdopen is not part of the C++ standard.
8285 * paragraph.C (InsetIterator): use >= instead of ==
8287 2002-06-07 Angus Leeming <leeming@lyx.org>
8289 Fixes needed to compile with Compaq cxx 6.5.
8290 * BufferView_pimpl.C:
8297 * lyxtextclasslist.C:
8302 all c-library variables have been moved into namespace std. Wrap
8303 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8308 Add a using std::abs declaration.
8310 * kbmap.h (modifier_pair):
8311 * paragraph.h (InsetTable, InsetList):
8312 * lyxfont.h (FontBits):
8313 type definition made public.
8315 * bufferlist.C (emergencyWriteAll): the compiler complains that
8316 there is more than one possible lyx::class_fun template to choose from.
8317 I re-named the void specialisation as lyx::void_class_fun.
8319 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8321 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8322 the compiler is is unable to find tostr in write_attribute.
8324 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8326 * buffer.C (sgmlError): hide #warning
8328 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8330 * xtl/*: get rid of xtl, which is not in use anyway
8332 * LyXAction.C (init):
8333 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8334 were unimplemented xtl experimentation
8336 2002-06-04 André Pönitz <poenitz@gmx.net>
8338 * lyxfunc.C: disable array operation on simple formulae
8340 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8342 * converter.C: constify a bit
8344 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8346 * lyx_gui.C: check xforms version correctly
8348 2002-04-30 Herbert Voss <voss@lyx.org>
8350 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8353 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8355 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8356 attempt to register it with a VCS)
8358 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8360 * lyx_main.C (init): honor variables LYX_DIR_13x and
8363 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8367 * lyx_main.C: fix a crash on bad command line,
8368 and give a useful exit status on error
8370 * lyxfunc.C (doImport): allow -i lyx to work
8372 2002-03-30 André Pönitz <poenitz@gmx.net>
8374 * lyxfunc.C: mathed font changes
8376 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8391 * trans_mgr.h: srcdocs, and some minor cleanups
8393 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8395 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8396 call getFont all the time)
8398 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8400 * switch from SigC signals to boost::signals
8402 2002-05-29 André Pönitz <poenitz@gmx.net>
8404 * paragraph_pimpl.C (getChar): don't call size() too often...
8406 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8408 * paragraph_pimpl.C (insertChar): do not try to update tables when
8409 appending (pos == size())
8411 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8412 in order to reduce drastically the number of comparisons needed to
8413 parse a large document
8415 2002-05-29 André Pönitz <poenitz@gmx.net>
8421 * textclasslist.[Ch]:
8422 * sp_ispell.h: whitespace change
8424 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8426 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8427 lyxaction directly now.
8429 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8433 * lyxvc.C: remove unused headers
8435 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8442 * undo_funcs.C: some cleanups. Use shared_ptr
8443 and a template for the undo stacks.
8445 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8447 * BufferView_pimpl.h:
8448 * BufferView_pimpl.C:
8455 * text2.C: use key_state/mouse_state
8457 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8459 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8462 * chset.C: change include order
8463 (loadFile): use boost regex and get rid of LRegex and LSubstring
8465 * Makefile.am (BOOST_LIBS): new variable
8468 * LaTeX.C: change include order.
8469 (scanAuxFile): use boost regex and get rid of LRegex and
8473 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8478 * FontInfo.C: moved to frontends/xforms/
8481 * FontLoader.C: moved into frontends for GUIIzation
8486 * lyxfunc.C: changes from above
8488 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8490 * LColor.C: remove spurious X include
8492 * BufferView_pimpl.C:
8497 * text2.C: move font metrics to frontends/
8499 2002-05-24 Juergen Vigna <jug@sad.it>
8501 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8502 setting the undo_cursor.
8504 * ParagraphParameters.h: include local includes first.
8506 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8508 * BufferView_pimpl.C:
8509 * BufferView_pimpl.h:
8513 * screen.C: move WorkArea into frontends/
8519 * BufferView2.C: move LyXScreen into frontends/
8523 * lyx_gui.C: move lyxlookup into frontends/xforms/
8525 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8528 * BufferView_pimpl.C:
8538 * bufferview_funcs.C:
8551 * vc-backend.C: move LyX/XFormsView into frontends/
8553 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8565 * text2.C: move Painter to frontends/
8567 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8569 * buffer.C: comment out some some code that depend upon lyx_format
8572 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8573 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8575 * buffer.h (NO_COMPABILITY): turn off compability
8577 * ColorHandler.C: include scoped_array.hpp
8579 * font.C: Use more specific smart_ptr header.
8582 * ShareContainer.h: ditto
8586 * BufferView_pimpl.h: ditto
8587 * ColorHandler.h: ditto
8589 * kbmap.C (defkey): change call to shared_ptr::reset
8591 2002-05-21 Juergen Vigna <jug@sad.it>
8593 * buffer.C (insertErtContents): fix to insert ert asis if it is
8594 non empty. Skip it completely if it contains only whitespaces.
8596 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8598 * BufferView_pimpl.C:
8599 * BufferView2.C: clear selection on paste (bug 393)
8601 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8603 * DepTable.C: include ctime
8605 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8607 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8609 2002-05-14 Juergen Vigna <jug@sad.it>
8611 * text.C (breakParagraph): fixed function to honor the keepempty
8612 layout in the right maner and also to permit the right breaking
8613 algorithm on empty or non empyt keepempty paragraphs.
8615 * paragraph.C (breakParagraph): we have to check also if the par
8616 is really empty (!size()) for isempty otherwise we do the wrong
8619 2002-05-10 Juergen Vigna <jug@sad.it>
8621 * buffer.[Ch] : The following are only changes to the ert
8622 compatibility read reading old LaTeX layout and font stuff and
8623 convert it to ERTInsets.
8625 * buffer.h: added isErtInset().
8627 * buffer.C (struct ErtComp): add a fromlayout bool to check
8628 if we're inside a LaTeX layout.
8629 (isErtInset): new helper function.
8630 (insertErtContents): look for other ert insets before this one
8631 and insert the contents there, so that we don't have subsequent
8632 ERT insets with nothing between them. This way we create only one
8633 inset with multiple paragraphs. Also check if we don't insert only
8634 spaces ' ' as they are ignored anyway afterwards in the .tex file
8635 so if we have only spaces we will ignore this latex part in the
8637 (parseSingleLyXformat2Token \\layout): better compatibility when
8638 reading layout-latex stuff.
8639 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8641 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8642 stuff after reading the inset only get the information back from
8645 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8647 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8649 * LaTeXFeatures.C (getBabelOptions): New method.
8651 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8653 * BufferView_pimpl.C (Dispatch): work around missing argument for
8656 2002-05-08 Juergen Vigna <jug@sad.it>
8658 * text.C (leftMargin): handle paragraph leftindent.
8660 * paragraph.C (writeFile): write the new \\leftindent tag.
8661 (validate): handle leftindent code.
8662 (TeXEnvironment): handle paragraphleftindent code again.
8664 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8666 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8667 for paragrap_extra indent code and new token \\leftindent.
8668 (latexParagraphs): handle the leftindent as environment.
8670 * ParameterStruct.h: added leftindent support.
8672 * ParagraphParameters.C (leftIndent): added support functions for
8673 the paragraph left indent.
8675 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8678 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8680 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8683 * text.C (computeBidiTables): No bidi in insetERT.
8685 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8688 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8690 * version.C.in: pre 5
8692 2002-05-02 José Matos <jamatos@fep.up.pt>
8693 * buffer.C (makeDocBookFile): white space changes, add newline to
8695 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8697 * tabular.C (docBook): fix typo.
8699 2002-05-03 Juergen Vigna <jug@sad.it>
8701 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8702 change in LyXText as we can not be sure it was not freed.
8703 (drawOneRow): remove unused code.
8705 * text.C (drawInset): redo the calculation of the need_break_row as
8706 it could have a row which was already freed.
8707 (draw): look at the return value of drawInset and return false if
8708 it also returned false.
8709 (paintRowText): look at the return value of draw and return false if
8710 it also returned false.
8712 * lyxtext.h: added bool return type to drawInset() and draw() so that
8713 if we have a change in the row so that the rowbreak has to be redone
8714 we abort drawing as it will be called again.
8716 2002-05-02 Juergen Vigna <jug@sad.it>
8718 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8719 a change in the maintext also if we're inside an inset.
8720 (Dispatch): set the cursor again after a break line and after the
8721 screen has been updated as it could be we're in a different row.
8723 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8724 to set the cursor behind the pargraph with > size().
8725 (setCursor): check also for the same paragraph when checking where
8726 to put the cursor if we have a NFR inset.
8728 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8729 parts of layout read further up as it still was in the wrong
8732 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8734 * screen.C (drawFromTo): change sine fullRebreak always return
8737 * buffer.C (parseSingleLyXformat2Token): reindent some
8739 * BufferView_pimpl.C (update): change since fullRebreak always
8741 (Dispatch): git rid of the last hardcoded "Standard"s.
8743 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8745 * text2.[Ch] (fullRebreak): make it return void now that we always
8748 2002-04-30 Juergen Vigna <jug@sad.it>
8750 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8751 ert compatibility check for "latex" layout.
8753 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8755 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8756 minipages: use col% instead of p%, and also use the current font.
8757 (makeLaTeXFile): Fix use babel condition.
8758 (parseSingleLyXformat2Token): Correct font when reading old floats.
8760 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8762 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8763 inserting list of floats.
8765 2002-04-25 Herbert Voss <voss@lyx.org>
8767 * MenuBackend.C (expand): don't add the graphics extensions to the
8770 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8772 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8773 non-existing layout, do not complain if it was the default layout
8774 of the original class (bug #342)
8776 2002-04-24 Juergen Vigna <jug@sad.it>
8778 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8779 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8781 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8783 * buffer.C (getBibkeyList): If using \bibliography, return the
8784 option field with the reference itself. Enables us to provide natbib
8785 support when using \bibliography.
8787 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8789 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8791 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8792 natbib is provided by the LaTeX class.
8794 2002-04-23 Juergen Vigna <jug@sad.it>
8796 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8799 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8801 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8803 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8805 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8806 ensuremath around textordmasculine, textordfeminine and
8809 2002-04-19 Juergen Vigna <jug@sad.it>
8811 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8812 reinitializing the buffer otherwise row-dimensions may be wrong.
8813 (update): reset also the selection cursors if they do exits otherwise
8814 their x/y positions may be wrong.
8816 * text2.C (cursorDown): don't enter the inset if we came from a row
8817 above and are one row over the inset.
8819 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8820 really leaving an inset.
8822 2002-04-18 Juergen Vigna <jug@sad.it>
8824 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8825 of the selected paragraph does not have the selected layout also if
8828 * text2.C (setLayout): fixed bug which did not change last selected
8831 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8832 changed the read and substituted \\end_float with \\end_inset!
8834 * BufferView_pimpl.C (cursorPrevious):
8835 (cursorNext): fixed to make it work with rows heigher than the work
8836 area without moving the cursor only the draw of the row.
8837 (workAreaMotionNotify): fix jumping over high rows.
8839 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8841 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8844 2002-04-16 Juergen Vigna <jug@sad.it>
8846 * text2.C (setCursor): set also the irow().
8847 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8849 (cursorDown): support for locking an inset if the x_fix value goes
8850 inside it. That way I can transverse insets too with cursor up/down.
8852 * lyxrow.h: added irow helper function same as other (i) functions.
8854 * BufferView_pimpl.C (cursorPrevious):
8855 (cursorNext): fixed for insets!
8857 2002-04-15 Juergen Vigna <jug@sad.it>
8859 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8860 position otherwise it is wrong in some cases.
8862 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8863 inside the inset before the call.
8865 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8867 * buffer.[Ch] (getBibkeyList): make it const.
8869 2002-04-12 Juergen Vigna <jug@sad.it>
8871 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8873 * text2.C (getCursorX): new helper function
8874 (setCursor): compute also ix_
8875 (setCursorFromCoordinates): set also ix.
8877 * lyxcursor.h: added ix_ and helper functions.
8879 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8881 * buffer.C (insertStringAsLines): dont break paragraph if the this
8882 paragraph is inside an inset which does not permit it!
8884 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8885 also with no chars on this paragraph.
8886 (paintRowText): only paint stuff if it's inside the workarea!
8888 * paragraph.C (breakParagraph): honor keepempty flag and break the
8889 paragraph always below not above.
8891 * BufferView2.C (unlockInset): update the paragraph layout on inset
8892 unlock as we changed paragraph in such a case.
8894 * lyxfind.C (LyXFind): clear the former selection if not found!
8896 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8897 again called in insertChar().
8899 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8900 an inset which uses the whole row!
8901 (rightMargin): ditto.
8902 (insertChar): force a rebreak if we inserted an inset!
8904 2002-03-28 Herbert Voss <voss@lyx.org>
8906 * lyxlength.[Ch]: add inBP() to get the right PS-point
8907 units (BigPoint). With inPixels we have rounding errors
8909 2002-04-11 Juergen Vigna <jug@sad.it>
8911 * text2.C (setCursorFromCoordinates): set iy to the right value.
8912 (setCursor): add check if row->previous exists!
8914 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8915 an old float_type as this was the case in the old code!
8917 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8919 * BufferView2.C (showLockedInsetCursor): use iy
8920 (fitLockedInsetCursor): ditto
8922 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8923 locked insets as there we have the right value now.
8925 * lyxcursor.C: added iy_ variable and iy functions to set to the
8926 baseline of cursor-y of the locked inset.
8928 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8929 (setCursor): fixed for insets which need a full row.
8931 * text.C (rowLastPrintable): don't ignore the last space when before
8932 an inset which needs a full row.
8933 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8934 as last character of a row when before a inset which needs a full row.
8936 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8938 * version.C.in: update date
8940 * text2.C (fullRebreak): try to always return true and see what
8943 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8945 * MenuBackend.C (expand): use Floating::listName
8947 * FloatList.C (FloatList): add listName argument to the built-in
8950 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8951 text associated with the float.
8953 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8955 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8957 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8959 * ShareContainer.h: add a couple of missing typenames.
8961 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8963 * lyxrc.C (getDescription): use _() correctly rather than N_().
8965 2002-03-28 Herbert Voss <voss@lyx.org>
8967 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8968 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8970 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8972 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8973 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8975 2002-03-29 Juergen Vigna <jug@sad.it>
8977 * lyxfunc.C (dispatch): add a missing fitCursor call.
8979 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8980 it was scrolled by a cursor move, so return the bool status.
8982 * BufferView.C (fitCursor): return the bool flag also to the outside
8983 world as this is needed.
8985 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8987 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8988 call the edit() as it is not needed (and wrong) IMO.
8989 (workAreaButtonPress): set the screen_first variable before evt.
8990 unlock the inset as this may change screen_first and then we have
8991 a wrong y position for the click!
8993 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8995 * MenuBackend.C (expand): another translation that I missed
8997 2002-03-28 Juergen Vigna <jug@sad.it>
8999 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9001 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9003 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9005 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9007 * MenuBackend.C (expand): fix export/view/update when there is no
9010 2002-03-27 Herbert Voss <voss@lyx.org>
9012 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9015 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9017 * bufferview_funcs.C (currentState): only show paragraph number
9018 for is DEVEL_VERSION is set.
9020 * lyxfunc.C (dispatch): put warning in INFO channel
9022 * MenuBackend.C (expand): translate the name of floats
9024 * FloatList.C (FloatList): mark the float names for translation
9026 * converter.C (convert): use LibScriptSearch
9028 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9030 * MenuBackend.C (defaults): fix default menu (we might as well get
9033 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9035 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9038 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9040 * lyxvc.C: reorder includes.
9042 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9044 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9047 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9049 * CutAndPaste.C: change layouts earlier on paste
9050 to avoid crashing when calling getFont()
9052 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9054 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9057 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9059 * WorkArea.C: remove 'Pending' debug message.
9061 * most files: ws cleanup
9063 * buffer.[Ch]: ws changes
9065 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9067 2002-03-21 Juergen Vigna <jug@sad.it>
9069 * tabular.C (SetMultiColumn): collapse also the contents of the
9070 cells and set the last border right. Added a Buffer const * param.
9072 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9074 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9077 2002-03-19 Juergen Vigna <jug@sad.it>
9079 * text2.C (clearSelection): reset also xsel_cache.
9081 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9082 where it needs to be called (John tells us to do so too :)
9083 (selectionLost): reset sel_cache.
9085 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9087 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9089 * text2.C (setCursorIntern): put debuging code in INSETS channel
9091 2002-03-19 André Pönitz <poenitz@gmx.net>
9093 * lyxfunc.C: tiny whitespace change
9095 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9097 * ToolbarDefaults.C (init):
9098 * LyXAction.C (init):
9100 * BufferView_pimpl.C (Dispatch):
9101 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9103 2002-03-19 Allan Rae <rae@lyx.org>
9105 * exporter.C (Export): removeAutoInsets before doing anything else.
9106 While I've just introduced a dependency on BufferView this really is
9107 the best place to clean the buffer otherwise you need to cleanup in
9108 a dozen places before calling export or cleanup in a dozen functions
9111 * converter.C (runLaTeX):
9112 (scanLog): Better handling of removeAutoInsets and screen updates.
9114 * lyxfunc.C (dispatch): small whitespace changes
9116 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9118 * WorkArea.C (C_WorkAreaEvent): return a value.
9119 (event_cb): return 1 if we handled the event, 0 otherwise.
9121 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9123 2002-03-18 Juergen Vigna <jug@sad.it>
9125 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9126 (GetAdditionalWidth): ditto.
9130 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9131 inset if we're there actually (probably not used right now but this
9132 is the direction to go for unifying code).
9133 (paste): disable code to clear the selection.
9135 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9136 inside an InsetText and move the check further up as it is in the
9139 * text2.C (pasteSelection): set a selection over the pasted text.
9141 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9143 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9144 and libgraphics to build on Cygwin.
9146 2002-03-15 Juergen Vigna <jug@sad.it>
9148 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9149 inserting an Inset into the paragraph. I know this is not the best
9150 fix but we already use current_view in CutAndPaste so we will remove
9151 all of it's using at the same time.
9153 * buffer.C (sgmlError): deactivated function till it is rewritten in
9154 the right mode, now it can create problems.
9156 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9157 before accessing it.
9159 2002-03-14 Juergen Vigna <jug@sad.it>
9161 * undo_funcs.C (textHandleUndo): do the right thing when updating
9162 the inset after the undo/redo.
9164 * text2.C (setCursor): just some testcode for #44 not ready yet.
9166 * undo_funcs.C (textHandleUndo): set the next() and previous()
9167 pointers of the paragraph to 0 before deleting otherwise we have
9168 problems with the Paragraph::[destructor].
9170 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9171 on a paragraph insertion.
9173 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9175 * buffer.C (asciiParagraph): use += operator for char append to
9178 * paragraph.C (getFontSettings): compare >= not just >
9179 (highestFontInRange): ditto
9182 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9184 * paragraph.C: change several algorithm to be more appripriate for
9185 the problem domain. This is lookip in FontList and in the InsetList.
9187 2002-03-13 André Pönitz <poenitz@gmx.net>
9190 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9192 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9197 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9199 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9201 * Painter.C (display): anon helper function, adjust code for this
9203 (pixmap): remove function.
9205 * Painter.h: remove private display variable.
9207 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9209 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9211 * WorkArea.[Ch]: remove figinset_canvas cruft.
9213 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9215 * lyxtextclass.C (operator): add one item cache optimization.
9217 * bufferlist.h: doxy changes
9219 * bufferlist.C: ws changes
9221 * DepTable.[Ch] (ext_exist): place const in the right spot.
9223 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9225 (workAreaExpose): call resizeInsets when the with BufferView changes.
9226 (Dispatch): adjust for protectedBlank removal
9227 (specialChar): call updateInset if the insert went ok.
9229 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9230 specialChar instead.
9232 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9234 * BufferView.h: doxy change
9236 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9238 * lyxtextclass.C (operator[]): remove non-const version
9239 (defaultLayout): remove non-const version
9241 2002-03-12 Juergen Vigna <jug@sad.it>
9243 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9244 did resize the LyXText too.
9246 * buffer.C (readLyXformat2): set layout information on newly allocated
9249 * tabular.C (OldFormatRead): set layout information on the paragraph.
9251 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9253 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9255 2002-03-11 Juergen Vigna <jug@sad.it>
9257 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9259 (resizeCurrentBuffer): force also the insets to resize themselfes.
9260 (moveCursorUpdate): fixed up for InsetText.
9262 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9265 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9266 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9267 value of Dialogs::tooltipsEnabled().
9268 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9270 2002-03-08 Juergen Vigna <jug@sad.it>
9272 * BufferView_pimpl.C (updateInset): update inset inside inset also
9273 if it isn't inside theLockingInset().
9275 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9277 * buffer.C (asciiParagraph): redo some of the word and line length
9279 (getLists): look for Caption instead of caption.
9281 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9283 * buffer.C (Buffer): initialize niceFile to true
9286 (makeDocBookFile): make sure niceFile is true on exit
9288 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9290 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9292 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9294 * LyXSendto.C: remove.
9295 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9296 * lyx_gui.C: remove now-redundant comment.
9297 * ColorHandler.h: remove forward declaration of class WorkArea.
9298 * lyxfunc.C: remove #include "WorkArea.h".
9300 2002-03-07 Juergen Vigna <jug@sad.it>
9302 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9303 got moved away with the DEPM and also set the inset_owner always
9304 right which before could have been omitted.
9306 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9308 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9309 wanted layout is not found.
9311 2002-03-07 Juergen Vigna <jug@sad.it>
9313 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9315 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9317 * paragraph.C (breakParagraph): use default layout not layout of
9319 (Paragraph): clear ParagraphParameters.
9321 2002-03-06 Juergen Vigna <jug@sad.it>
9323 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9324 otherwise it would not be a valid lenght. Fixed a special case in
9325 the minipage compatibility read where we end the document with a
9328 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9329 was set as it could be 0 for InsetTexts first entry.
9331 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9333 * paragraph.C (writeFile): if layout is empty write out
9334 defaultLayoutName().
9336 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9337 file without named layout we set layout to defaultLayoutName().
9339 2002-03-06 Juergen Vigna <jug@sad.it>
9341 * CutAndPaste.C (copySelection): set layout for new paragraph.
9343 * text.C (prepareToPrint): leave ERT inset left aligned
9344 (leftMargin): don't indent paragraphs inside ERT insets
9346 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9348 * paragraph.C (breakParagraph): dont call clear do the work manually
9350 * paragraph.[Ch] (clear): remove function
9352 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9354 * paragraph.C (Paragraph): dont call clear, the work has already
9357 * lyxtextclass.C (operator): assert if n is empty
9359 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9360 work manually instead.
9362 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9364 * BufferView_pimpl.C: protect selectionLost against text == 0
9366 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9368 * text.C (breakParagraph): fix a setting layout to '0' problem.
9370 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9372 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9373 final location of file, for the included files, and graphics.
9375 2002-03-05 Juergen Vigna <jug@sad.it>
9377 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9379 2002-03-04 Juergen Vigna <jug@sad.it>
9381 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9383 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9384 last column of multicolumn cells.
9385 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9387 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9389 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9390 file if it doesn't go to a temporary file.
9392 * buffer.C (sgmlOpenTag):
9393 (sgmlCloseTag): remove extra newline insertion.
9395 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9397 * text.C (getRowNearY): comment out debug msg
9399 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9401 * text2.C: first -> first_y
9403 * text.C (getRowNearY): add some attemts at a possible
9404 optimization, not working.
9406 * tabular.[Ch]: add BufferParams to several function so that newly
9407 created paragraph can be initialized to he default layotu for the
9410 * tabular-old.C (ReadOld): add buf->params to call of Init
9412 * screen.C: rename text->first to text->first_y
9414 * paragraph.C (breakParagraph): always set layout in the broken
9417 * lyxtextclass.C (Read): remove lowercase
9420 (delete_layout): ditto
9422 * lyxtext.h: rename first -> first_y
9424 * lyxlayout.C (Read): remove lowercase
9427 (obsoleted_by): ditto
9429 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9431 * buffer.C (insertErtContents): add params are to InsetERT
9432 (parseSingleLyXformat2Token): add code to check if a paragraphs
9433 layout really exist.
9434 (parseSingleLyXformat2Token): add params to several inset
9436 (asciiParagraph): remove lowercase, do the layout comparisons with
9439 * BufferView_pimpl.C (cursorNext): first -> first_y
9440 (resizeCurrentBuffer): first -> first_y
9441 (updateScrollbar): first -> first_y
9442 (scrollCB): first -> first_y
9443 (workAreaMotionNotify): first -> first_y
9444 (workAreaButtonPress): first -> first_y
9445 (checkInsetHit): first -> first_y
9446 (cursorPrevious): first -> first_y
9447 (cursorNext): first -> first_y
9448 (Dispatch): add buffer_->params to severl inset contructors
9450 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9452 * lyxlayout.C (Read): remove some debug info that I forgot.
9454 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9455 clean up the code slightly.
9456 (makeLinuxDocFile): ditto
9457 (makeDocBookFile): ditto
9459 * text2.C: layout as string
9461 * text.C: layout as string
9463 * paragraph_pimpl.C: layout as string
9465 * paragraph.[Ch]: layout as string
9467 * lyxtextclasslist.[Ch]: layout as string
9469 * lyxtextclass.[Ch]: layout as string
9471 * lyxtext.h: layout as string
9473 * lyxlayout.[Ch]: layout as string
9475 * lyx_cb.C: layout as string
9477 * bufferview_funcs.C: layout as string
9479 * bufferparams.C: layout as string
9481 * buffer.C: layout as string
9483 * LyXView.[Ch]: layout as string
9485 * LaTeXFeatures.[Ch]: layout as string
9487 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9489 * BufferView_pimpl.C: change current_layout to string, remove
9494 (workAreaButtonRelease): layout as string
9496 * BufferView2.C (unlockInset): adjust
9498 * vspace.C (asLatexCommand): use an explict temp variable.
9500 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9502 * Makefile.am: use FRONTEND_*
9504 2002-03-01 Juergen Vigna <jug@sad.it>
9506 * tabular.C (SetWidthOfMulticolCell): changed to something better
9507 I hope but still work in progress.
9508 (recalculateMulticolumnsOfColumn): renamed function from
9509 recalculateMulticolCells as it is more appropriate now.
9510 (SetWidthOfCell): calculate multicols better.
9512 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9514 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9516 * lyxfunc.C (processKeySym): print sequence also if it is
9517 `deleted' (complete)
9519 * kbsequence.C (print): print sequence even if it is deleted
9520 (complete would be a better word, actually).
9522 * lyxfunc.C (dispatch): print complete options after a prefix key
9524 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9526 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9528 * text2.C (setCharFont): eliminate setCharFont code duplication.
9530 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9532 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9533 LFUN_TABULAR_FEATURE (bug #177)
9535 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9537 * Makefile.am: remove figure.h
9539 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9541 * Bufferview_pimpl.C:
9553 * text2.C: remove #include "lyx_gui_misc.h".
9555 * LaTeX.C: added #include <cstdio>
9557 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9559 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9560 that the paragraph following this one can have.
9562 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9564 * vspace.C (asLatexCommand): fix bogus gcc warning
9566 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9568 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9570 * text2.C (setLayout): get rid of redundant code
9572 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9574 * text2.C (incDepth): make sure depth cannot be increased beyond
9577 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9579 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9580 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9582 * PainterBase.h (image):
9583 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9586 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9590 * BufferView_pimpl.C:
9591 * BufferView_pimpl.h:
9611 * sp_spell.C: remove fig inset, and the crap house of
9612 cards that follows it
9614 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9620 * nt_defines.h: move .h into support/
9622 * vms_defines.h: remove
9624 * WorkArea.C: add space in debug output
9628 * buffer.C: add WITH_WARNINGS
9632 * bufferlist.C: s/retrive/retrieve/, add docs
9643 * lyxgui.C: add ID to X error handler
9645 * lyxtestclass.c: fix typo
9647 2002-02-26 Juergen Vigna <jug@sad.it>
9649 * tabular_funcs.C (write_attribute): changed so that some default
9650 attributes are not written at all.
9651 (getTokenValue): set default values before trying to read the
9652 value so we have the return value always set as default if we don't
9653 find the token we search for.
9655 * tabular.C (Write): write bools as bools not as strings!
9657 2002-02-22 Juergen Vigna <jug@sad.it>
9659 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9660 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9662 * text.C (leftMargin): don't add an indent for paragraphs inside
9663 tabular cells (fix #208).
9665 2002-02-21 José Matos <jamatos@fep.up.pt>
9667 * tabular.C (docBook): fixed support for long tables.
9669 2002-02-20 Juergen Vigna <jug@sad.it>
9671 * text2.C (getFont): get the drawing font of the Inset if this
9672 paragraph is inside an inset (only important for InsetERT for now).
9674 * buffer.C (insertErtContents): use new lanugage params in ERT
9677 * CutAndPaste.C: commenting out seemingly uneeded code.
9679 2002-02-19 Allan Rae <rae@lyx.org>
9681 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9682 Iterators might be simple to use but they also get invalidated.
9683 (removeAutoInsets): renamed saved cursor tracking variables and added
9684 some comments to clarify what everything does.
9686 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9693 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9694 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9697 * vc-backend.h: remove #include "support/syscall.h"
9701 * converter.C: rearrange #includes in Lars' approved fashion.
9703 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9704 forward declare class Timeout in the header file.
9706 * XFormsView.C: changes due to the above.
9708 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9711 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9712 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9714 2002-02-18 José Matos <jamatos@fep.up.pt>
9716 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9719 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9721 * a lot of small ws changes
9722 * add a lot of using std::XXX
9723 * use std construcs some places where approp.
9724 * use some exisint stuff from lyxfunctional where approp.
9725 * Make file changes to use partial linking (lets test this now...)
9727 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9731 remove #include "support/syscontr.h" as it's redundant. Always has been.
9739 change Systemcalls::System to Systemcalls::Wait and
9740 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9741 No change of functionality, just reflects the stripped down Systemcalls
9744 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9746 * debug.[Ch]: add a GRAPHICS type to the enum.
9748 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9750 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9752 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9755 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9757 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9758 match the changes below.
9760 * text2.C (toggleInset): if there is not editable inset at cursor
9761 position, try to see if cursor is _inside_ a collapsable inset
9764 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9766 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9767 document menu has a nice checkbox
9769 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9771 * lyxlength.C (asLatexString): change PW to output as percent of
9774 * lengthcommon.C: change '%' to 't%'
9776 * lyxfunc.C (dispatch): a few comments from Martin
9778 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9782 * BufferView_pimpl.h:
9783 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9786 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9788 * vspace.C (inPixels): fix compiler warning
9790 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9792 * lyxfunc.C (getStatus): fix status message for disabled commands.
9794 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9796 * BufferView_pimpl.C: fix crash on close buffer
9797 during selection (#227)
9799 2002-01-27 Herbert Voss <voss@lyx.org>
9801 * buffer.C: link old Figure to new graphic inset
9803 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9805 * FontLoader.C (getFontinfo): Change the latex font names in order
9806 to match the names of type1inst.
9808 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9810 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9812 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9815 (remove_files_with_extension): ditto
9816 (remove_file): ditto
9819 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9820 document is smaller than the work area height. Do not initialize
9821 static variables to 0.
9823 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9825 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9827 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9828 LFUN_LAYOUT_PARAGRAPHS.
9830 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9831 tabular. It is possible to provide a possible cell, which will
9832 typically be the actcell from the corresponding insettabular
9834 * lyxfunc.C (getStatus): small cleanup; disable
9835 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9838 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9840 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9842 * paragraph.C (startTeXParParams):
9843 (endTeXParParams): new methods. The LaTeX code to
9844 start/end paragraph formatting
9845 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9846 empty (fixes bug #200)
9848 * vspace.C (inPixels): adapt to the change below
9849 (inPixels): [later] more cleanups (remove unused variables)
9851 * lyxlength.C (inPixels): change to use a width and a height as
9854 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9856 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9857 Replaced with \paperwidth
9859 * DepTable.C (insert): add std:: qualifier
9861 2002-01-18 Allan Rae <rae@lyx.org>
9863 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9866 * text.C (drawInset): Turned out I didn't know enough about how
9867 rebreaking worked. This fixes most of the redraw problems. I see
9868 an occasional cursor trail when a line is broken now and the cursor
9869 placement can seem out by a few pixels also after a rebreak.
9871 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9873 * buffer.C (parseSingleLyXformat2Token): update because minipage
9874 width is now a LyXLength
9876 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9878 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9881 2002-01-17 Juergen Vigna <jug@sad.it>
9883 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9885 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9886 is set correctly and the inset is updated correctly.
9888 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9890 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9891 the beginning of the loop.
9893 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9895 * lyxrc.C: improve help for use_scalable_fonts
9897 2002-01-17 Allan Rae <rae@lyx.org>
9899 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9901 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9903 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9904 make sure to set their inset_owner to the right value (bug #171)
9906 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9909 * DepTable.C: Implement mtime checking to reduce time spent doing
9912 2002-01-16 Juergen Vigna <jug@sad.it>
9914 * tabular.C (GetAdditionalHeight): one of error fixed.
9916 * lyxrc.C (output): small fix in writing use_pspell.
9918 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9920 * sp_base.h: #include LString.h
9922 2002-01-16 Allan Rae <rae@lyx.org>
9924 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9925 Can someone check this please?
9927 * text.C (drawInset): It was possible that p.row would be removed by
9928 breakAgainOneRow upsetting a few other settings. There may be another
9929 small tweak possible by setting need_break_row = 0 when p.row has been
9930 removed but I don't know enough about the logic here.
9932 2002-01-15 Allan Rae <rae@lyx.org>
9934 * text.C (insertChar): removed conditional truism.
9936 * BufferView2.C (removeAutoInsets): More tweaks.
9937 cur_par_prev could be a stray pointer. Check for trailing empty line
9938 in case last line was cur_par and only had an error inset on it.
9940 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9942 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9945 * vc-backend.C (most methods):
9946 * exporter.C (Export):
9947 * converter.C (convert):
9949 * LyXSendto.C (SendtoApplyCB):
9950 * lyxfunc.C (dispatch):
9954 * lyx_cb.C (AutoSave):
9956 * BufferView_pimpl.C (MenuInsertLyXFile):
9957 * buffer.C (runChktex): use Buffer::filePath().
9959 * buffer.h: rename filename to filename_; rename filepath to
9960 filepath_ and make it private
9961 (filePath): new method
9963 * buffer.C (writeFile): use fileName()
9966 * lyx_main.C (init): fix starting of LyX when the binary is a
9967 link from so,ewhere else.
9969 * minibuffer.C: include <cctype> for isprint
9971 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9973 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9974 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9975 name clash with InsetCollapsable's width function.
9977 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9979 * lastfiles.C: include <iterator>
9981 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9983 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9986 * buffer.C (makeLaTeXFile): ditto.
9987 Also make loop operation more transparent.
9989 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9991 * ToolbarDefaults.C: remove trailing comma closing namespace.
9993 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9995 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9998 * trans.C (Load): comment out unused variable, allowed.
10000 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10002 * minibuffer.[Ch] (append_char): new method to recieve input from the
10003 drop-down completion browser. If a key was pressed, then recieve this
10004 char and append it to the existing string.
10005 (peek_event): modify the positioning data passed to the completion
10006 browser so that it can be placed above the minibuffer rather than below.
10007 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10009 * LyXAction.C (init): alloe error-next for readonly documents.
10011 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10014 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10016 * bufferlist.C (readFile): create the buffer _after_ checking that
10019 * lyxfunc.C (verboseDispatch): fix handling of arguments
10021 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10023 * lyxrc.C: use string::erase() instead of initializing to "".
10026 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10028 * BufferView_pimpl.h:
10029 * BufferView_pimpl.C:
10032 * text2.C: tell X when we have made a selection for copying
10034 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10036 * BufferView_pimpl.C (MenuInsertLyXFile):
10037 * lyxfunc.C (menuNew):
10039 (doImport): add shortcuts to directory buttons
10041 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10044 * lyxfunc.C (setStatusMessage):
10045 (getStatusMessage): new methods
10046 (getStatus):use setStatusMessage instead of setErrorMessage
10047 (dispatch): when function is disabled, set error message here
10048 [instead of in getStatus previously]
10050 * BufferView_pimpl.C (workAreaButtonRelease): update
10051 toolbar/menubar here too.
10053 2002-01-13 Allan Rae <rae@lyx.org>
10055 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10056 Now seems indestructible. Remaining task is to audit all other
10057 code affected by deleteEmptyParagraphMechanism. One small quirk
10058 left is that an empty document with an error in the preamble can
10059 be made to report an error but no error box appears. I don't know
10061 (removeAutoInsets): Improved comments.
10063 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10066 * Thesaurus.C: update for Aiksaurus 0.14
10068 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10070 * text2.C (firstParagraph): removed member function, all uses
10071 replaces with ownerParagraph
10072 (redoParagraphs): here
10073 (updateInset): here
10074 (toggleAppendix): here
10075 * BufferView2.C (insertErrors): here
10076 (setCursorFromRow): here
10078 2002-01-13 Allan Rae <rae@lyx.org>
10080 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10081 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10082 There is still a way to segfault this although you may have to do this
10083 multiple times: Have an InsetERT with an unknown command in it.
10084 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10085 <down-arrow>, <Enter> again, View->DVI, BANG!
10087 * text2.C (setCursor):
10088 (deleteEmptyParagraphMechanism):
10089 * lyxtext.h (setCursor):
10090 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10091 Making use of the return value may help fix other bugs.
10093 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10095 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10097 * LyXView.C (updateMenubar): call MenuBar::update here
10098 (updateToolbar): but not here
10099 (showState): do not update toolbar/menubar
10101 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10102 should need to care about that.
10104 * lyxfunc.C (verboseDispatch): simplify a bit
10105 (getStatus): have a version which takes a pseudoaction, and
10106 another which requires a (kb_action,string).
10108 * LyXAction.C (retrieveActionArg): make it work also when action
10109 is not a pseudo-action.
10110 (getActionName): simplify a bit
10113 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10115 * lyxfunc.C (verboseDispatch): new families of methods with
10116 several ways to specify a command and a bool to indicate whether
10117 the command name and shortcut should be displayed in minibuffer
10118 (eventually, we could extend that to a finer bitmask like
10119 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10120 (dispatch): the pristine dispatch command which just, well,
10121 dispatchs! Note it still sets its result to minibuffer; I'm not
10124 * lyxfunc.h: remove setHintMessage
10126 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10128 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10130 * BufferView_pimpl.C (specialChar): delete new inset if we have
10131 not been able to insert it.
10133 * kbmap.C: revert to using int instead of kb_action, since all we
10134 are dealing with is pseudo-actions.
10136 * LyXAction.C (searchActionArg): change to return int instead of
10137 kb_action, since the result is a pseudoaction.
10139 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10141 * buffer.C (insertErtContents): Fix (partially) the font bug.
10143 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10145 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10146 as the other one is broken on my machine!
10148 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10151 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10153 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10155 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10156 reflect their actual use. Provide compatibility code for older lyxrc
10159 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10161 change names of popup font variables in line with the changes to lyxrc.C
10163 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10165 * buffer.C (asciiParagraph): avoid outputing a word twice after
10168 * lyxrc.C (getDescription): document that document_path and
10169 template_path can be empty.
10171 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10173 * LaTeXFeatures.C (getMacros):
10174 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10176 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10178 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10180 (getPackages): rename feature "floats" to "float". Use an array to
10181 iterate over 'simple' features (i.e. just a \usepackage). Add
10182 handling of "amsmath" (renamed from "amsstyle").
10184 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10186 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10189 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10191 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10192 FuncStaus::FuncStatus & FuncStaus::some_method().
10194 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10196 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10197 of the func_satus stuff. Edited and massaged in various ways by
10200 * lyxfunc.C (getStatus): use FuncStatus
10202 2002-01-08 Juergen Vigna <jug@sad.it>
10204 * text.C (nextBreakPoint): use function Inset::isChar().
10206 * paragraph.C (TeXOnePar): use function
10207 Inset::forceDefaultParagraphs.
10209 * buffer.C (latexParagraphs): use function
10210 Inset::forceDefaultParagraphs.
10212 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10214 * lyx_gui.C (init): set the style of the menu popups to
10215 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10217 2002-01-07 Juergen Vigna <jug@sad.it>
10219 * text.C (setHeightOfRow): small fix
10220 (prepareToPrint): don't look at alignment if we don't have the place
10223 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10225 * box.C: New file. Move the Box methods and functions out of box.h,
10226 following Lars' suggestion.
10228 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10230 * box.h: #include "support/LOstream.h", needed for inlined function.
10233 * lyxtextclasslist.C: added some using std declarations.
10235 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10237 * box.h: make signed dimensions to allow insets wider than
10238 the screen (bug #162)
10240 * BufferView_pimpl.C: add some insetHit debug
10242 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10244 * vc-backend.C: add FIXME
10246 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10248 * lyxfunc.C (getStatus): enable code for showing math font status
10251 2002-01-07 Juergen Vigna <jug@sad.it>
10253 * text.C (nextBreakPoint): removed debug output not needed anymore.
10255 2002-01-06 Juergen Vigna <jug@sad.it>
10257 * text.C (nextBreakPoint): fixed up this function we had this bug
10258 since ever but now hopefully we break row better.
10259 (insertChar): we have to check if an inset is the next char as it
10260 could now happen that a large inset is causing a break.
10262 2002-01-05 Juergen Vigna <jug@sad.it>
10264 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10265 if it doesn't like to be drawed.
10267 2002-01-04 Juergen Vigna <jug@sad.it>
10269 * BufferView2.C (lockInset): forgot to set a cursor.
10271 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10273 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10275 * FormMathsPanel.C:
10278 * form_maths_panel.C:
10279 * form_maths_panel.h:
10280 * form_maths_panel.fd: implemented sub- and super- buttons in math
10283 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10284 (or ^ space) to be used as in TeX (req'd by André).
10286 * lyxfunc.C: Allow ^ and _ again to be used both as
10287 super/subscript (mathed) and as themselves (in text).
10289 2002-01-03 Allan Rae <rae@lyx.org>
10291 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10292 "LyX" or the filename of the current buffer if it has one. This is a
10293 modified form of John Levon's patch.
10295 * XFormsView.C (setWindowTitle): also set icon title.
10297 * LyXView.h (setWindowTitle): signature changed.
10298 * XFormsView.h (setWindowTitle): ditto.
10300 2002-01-02 Juergen Vigna <jug@sad.it>
10302 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10304 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10306 * screen.C (topCursorVisible): introduce a temp var for
10307 text->cursor.row(), handle the case where this row is null. (kindo
10310 * text2.C (setCursor): add a couple of asserts.
10312 * paragraph.h (inset_iterator): add -> operator
10314 * paragraph.[Ch] (autoDeleteInsets): remove member function
10316 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10317 cursor pos correctly and handle inset deletion by itself.
10318 (insertErrors): move iterator declaration out of for expression
10320 * lyxtextclass.C: add <algorithm>
10322 * Makefile.am: added the new files to sources, removed layout.C
10324 * layout.C: removed file
10326 * layout.h: remove LYX_DUMMY_LAYOUT
10328 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10332 * lyxtextclass.[Ch]:
10333 * lyxtextclasslist.[Ch]: new files
10335 * include order changes to a lot of files, also changes because of
10338 2001-12-27 Juergen Vigna <jug@sad.it>
10340 * buffer.C (asciiParagraph): more fixes.
10342 * tabular.C (ascii): make ascii export support export of only the
10343 data separated by a column-delimiter.
10344 (ascii): better support for ascii export.
10346 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10348 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10350 * tabular_funcs.C: use a "using std::getline" instead of the
10351 previous fix from Angus (necessary for cxx + lyxstring)
10353 2001-12-24 Juergen Vigna <jug@sad.it>
10355 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10357 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10358 problems. First check a minipage also if we have some ert-contents
10359 (not only on par->size(), second set the right depth of the paragraph
10360 on the relink to the root-paragraph-list!
10362 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10363 which then did not anymore update the main paragraphs on undo/redo!
10365 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10367 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10368 code. Support all font-changing funcs (even those which are not in
10369 menu currently). Support for reporting font settings in
10370 mathed (disabled until Andre provides a function on mathed's side).
10372 * func_status.h (toggle): small helper function to set toggle
10375 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10377 * tabular_funcs.C: getline -> std::getline
10379 2001-12-21 Juergen Vigna <jug@sad.it>
10381 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10382 accessed and could be 0 (I couldn't generate this but it seems
10385 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10387 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10388 * tabular_funcs.h: here and include iosfwd
10390 2001-12-20 Juergen Vigna <jug@sad.it>
10392 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10393 inside inset but undo_par was.
10395 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10397 * Thesaurus.C: always include <config.h> in sources.
10401 * box.h: do not include <config.h> in header files
10403 * text.C (paintLastRow): remove unused variable
10405 * text.C (transformChar):
10407 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10409 * Painter.C (text):
10410 * font.C (width): rewrite to use uppercase() instead of
10413 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10415 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10417 * lyxfind.C: clean up of find failure position change
10419 2001-12-20 Juergen Vigna <jug@sad.it>
10421 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10423 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10424 (TeXRow): added to LaTeX a single tabular row.
10425 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10426 (Latex): simplified and finally good LT-h/f support.
10427 (various_functions): just small adaptions for LT-h/f support.
10429 * tabular_funcs.[hC]: added and moved here all not classfunctions
10432 2001-12-19 Juergen Vigna <jug@sad.it>
10434 * tabular.[Ch]: better support for longtabular options (not finished
10437 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10439 * text.C (paintLastRow): use the label font instead of the font of
10440 the last character to compute the size of *_BOX. This makes more
10441 sense and avoids a crash with empty paragraphs.
10442 Use Painter::rectangle to draw EMPTY_BOX.
10444 2001-12-19 Juergen Vigna <jug@sad.it>
10446 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10447 the paragraphs if the replaced paragraph is not the first one!
10448 Tried to delete not used paragraphs but does not work yet so for
10449 now it's inside #ifdef's and by default off!
10451 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10453 * MenuBackend.C: include "lyx_main.h" instead of declaring
10454 lastfiles (actually was declared as LastFiles* instead of a
10457 2001-12-17 Juergen Vigna <jug@sad.it>
10459 * tabular.C (AppendColumn): applied John's fix
10461 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10465 * BufferView_pimpl.h:
10466 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10469 * box.h: new start of class for above
10471 * lyxfunc.C: ignore space-only minibuffer dispatches.
10472 Show the command name when it doesn't exist
10474 * minibuffer.C: don't add empty lines to the history
10476 * minibuffer.C: add a space on dropdown completion
10478 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10480 * text.C: fix line above/below drawing in insets
10482 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10484 * lyxlength.C (LyXLength): Initialize private variables.
10486 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10488 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10489 when inserting error insets.
10491 2001-12-13 Juergen Vigna <jug@sad.it>
10493 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10494 actually sometimes the before-paragraph.
10495 (setUndo): don't clear the redostack if we're not actually undoing!
10497 2001-12-06 Juergen Vigna <jug@sad.it>
10499 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10500 and fixed redoing of main paragraph, so we can use it now ;)
10502 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10504 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10506 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10509 2001-12-13 André Pönitz <poenitz@gmx.net>
10512 * undo_func.C: minor cleanup
10514 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10516 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10517 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10518 font in urw-fonts package which is marked as -urw-fontspecific and
10519 does not work (incidentally, changing the encoding in the
10520 fonts.dir of this package to -adobe-fontspecific fixes the
10523 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10524 is a crash when undoing first paragraph (Juergen, please take a
10525 look). THis does not mean the undo fix is wrong, just that it
10528 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10529 the (Paragraph*) version when needed instead of duplicating the
10532 * text.C (workWidth): use Inset::parOwner to find out where the
10533 inset has been inserted. This is a huge performance gain for large
10534 documents with lots of insets. If Inset::parOwner is not set, fall
10535 back on the brute force method
10537 * paragraph_pimpl.C (insertInset):
10538 * paragraph.C (Paragraph):
10539 (cutIntoMinibuffer): set parOwner of insets when
10540 inserting/removing them
10542 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10544 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10550 * mathed/formulabase.C:
10551 * mathed/math_cursor.[Ch]:
10552 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10555 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10557 * lyxlength.[Ch] (operator!=): new function
10559 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10561 * text.C (workWidth): use Inset::parOwner to find out where the
10562 inset has been inserted. This is a huge performance gain for large
10563 documents with lots of insets. If Inset::parOwner is not set, fall
10564 back on the brute force method
10566 * paragraph_pimpl.C (insertInset):
10567 * paragraph.C (Paragraph):
10568 (cutIntoMinibuffer): set parOwner of insets when
10569 inserting/removing them
10571 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10573 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10575 * tabular-old.C (getTokenValue):
10576 * tabular.C (getTokenValue):
10577 (write_attribute): new versions for LyXLength
10578 (everywhere): adjust the use of widths
10580 * tabular.h: change the type of widths from string to LyXLength
10582 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10584 * paragraph.C: fixed missing line number count when exporting
10585 Environments to LaTeX file
10587 * buffer.C: added informational message for checking line numbers.
10589 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10591 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10592 paragraph, do the 'double space' part, but not the 'empty
10595 * text.C (workWidth): small optimization
10596 (getLengthMarkerHeight): use minimal size for negative lengths.
10598 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10600 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10602 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10604 2001-12-11 André Pönitz <poenitz@gmx.net>
10607 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10609 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10611 * text2.C: keep selection on a setFont()
10613 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10615 * lyx_cb.C: another bv->text misuse, from insert label
10617 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10620 * kbsequence.C: re-instate nmodifier mask
10622 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10624 * lyx_main.h: make lyxGUI private.
10626 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10628 * lyxfind.C: place the cursor correctly on failed search
10630 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10632 * text.C (getLengthMarkerHeight): for small heights, the arrows
10633 are not always on top/bottom of the text
10634 (drawLengthMarker): smaller arrows; take the left margin in
10635 account; draw also vfills.
10637 (paintLastRow): remove special code for vfill and standard spaces,
10638 since everything is handled in drawLengthMarker now.
10640 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10642 * buffer.C (insertErtContents): try to handle font and language
10643 interaction a bit better.g
10645 * ColorHandler.C (updateColor): change the hash to cover the whole
10646 LColor enum, ws cleanup
10647 (getGCLinepars): ditto
10648 (getGCLinepars): only lookup in the linecache once.
10650 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10652 * iterators.C (operator++): Make the iterator more robust
10654 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10656 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10658 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10661 * text.C: better added space drawing
10663 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10666 * BufferView2.C: fix layout combo update on inset unlock
10668 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10670 * Makefile.am: don't compile unused files
10672 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10676 * LyXAction.C: remove old LFUN_LAYOUTNO
10678 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10680 * paragraph_pimpl.h:
10681 * paragraph_pimpl.C: isTextAt() doesn't need font param
10683 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10686 * lyxlex.C: little cleanup
10688 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10690 * BufferView_pimpl.C: fix insertAscii for insets
10692 2001-12-05 Juergen Vigna <jug@sad.it>
10694 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10695 set the right font on the "multi" paragraph paste!
10697 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10703 * lyxlength.C: remove out-commented code.
10705 * BufferView_pimpl:
10719 * vc-backend.C: change "while(" to "while ("
10721 * lyxlength.[Ch]: add zero function to check if length is zero or
10723 * lyxgluelength.C: use it
10725 2001-12-05 Allan Rae <rae@lyx.org>
10727 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10728 Works for 2.95.3, from what I understand of Garst's reports this should
10729 work for other g++ versions. We're screwed if the abs(int) definition
10730 changed between bugfix releases of gcc.
10732 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10734 * text.C: fix chapter label offset !
10736 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10739 * text.C: fix hfill at end of line, clean up
10741 2001-12-04 Juergen Vigna <jug@sad.it>
10743 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10744 that we force an update of the inset and it's owners if neccessary.
10746 2001-12-03 Juergen Vigna <jug@sad.it>
10748 * text.C (rowLast): simplified code
10750 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10752 * lyxfunc.C: fix show options on timeout
10754 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10756 * screen.C (topCursorVisible): scroll half a page when the cursor
10757 reached top of bottom of screen
10759 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10761 * minibuffer.C: deactivate on loss of focus
10763 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10765 * vspace.[Ch] (operator!=): add operator.
10767 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10769 * BufferView_pimpl.C: refuse to open an inset when
10770 there's a selection.
10772 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10774 * BufferView_pimpl.C: allow to click on RHS of full row insets
10776 2001-11-30 Juergen Vigna <jug@sad.it>
10778 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10779 insets for undo reasons.
10781 2001-11-28 André Pönitz <poenitz@gmx.net>
10783 * vspace.[Ch]: cosmetical changes
10785 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10795 * kbsequence.C: part re-write of old kb code
10798 * WorkArea.C: remove Lgb_bug_find_hack
10800 2001-11-30 José Matos <jamatos@fep.up.pt>
10802 * buffer.C (makeDocBookFile): add a comment to point a hack.
10803 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10804 Fixed a double write of labels.
10806 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10809 * LaTeX.h Fixed bug in LaTeX class where it would not
10810 re-run latex if no depfiles were changed, but the .dvi was removed.
10812 2001-11-28 André Pönitz <poenitz@gmx.net>
10814 * all the files from the change on 2001/11/26:
10815 use lyx::layout_type instead of LyXTextClass::size_type
10816 use lyx::textclass_type instead of LyXTextClassList::size_type
10818 2001-11-29 Juergen Vigna <jug@sad.it>
10820 * text.C: added support for paragraph::isFreeSpacing()
10822 * buffer.C: same as above
10824 * paragraph.h: inserted isFreeSpacing() function to enable
10825 FreeSpacing inside InsetERT.
10827 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10828 of the paragraph's in the cut/copy buffer to 0!
10830 * text2.C (removeRow): remove the assert as it can!
10832 * lyxtext.h: added helper function firstRow returning firstrow and
10833 made firstrow private again.
10835 * BufferView2.C (lockInset): don't relock if we're already locked!
10837 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10838 the only paragraph.
10839 (removeRow): added Assert::(firstrow)
10841 * debug.C: forgot to add INSETTEXT here.
10843 2001-11-28 Juergen Vigna <jug@sad.it>
10845 * sp_spell.C (initialize): changed error text to more general
10846 spellchecker command use (not only ispell!)
10848 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10850 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10852 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10854 * vspace.C: initialise lyxgluelength on failure
10856 2001-11-28 Allan Rae <rae@lyx.org>
10858 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10859 declaration & definition that looks like a function declaration.
10861 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10863 * BufferView2.C (copy):
10864 (copyEnvironment): do not clear the selection when doing a copy.
10866 * text.C (paintFirstRow): compilation fix
10868 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10870 * tabular.C (Latex): correct line count when writing latex.
10872 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10874 * paragraph_pimpl.h:
10875 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10878 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10882 * LColor.C: change vfillline->added_space
10884 * text.C: add markers and text for added space
10886 * vspace.C: fix comment
10888 2001-11-28 André Pönitz <poenitz@gmx.net>
10890 * paragraph.C: whitespace changes
10891 * all the other files from the change on 2001/11/26:
10892 change *::pos_type into lyx::pos_type
10894 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10896 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10897 language of the document when inserting error insets.
10899 2001-11-26 André Pönitz <poenitz@gmx.net>
10901 * BufferView_pimpl.[Ch]:
10909 * paragraph_pimpl.[Ch]:
10912 * text2.C: reduce header dependencies, introduce type for positions
10914 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10916 * <various>: change to use Alert.h
10918 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10920 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10921 when encountering an unknown token.
10922 (readLyXformat2): Show an error message if there were unknown tokens.
10924 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10927 * BufferView_pimpl.C:
10931 * text2.C: use par->isInset()
10933 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10935 * paragraph_pimpl.h:
10936 * paragraph_pimpl.C: cleanup
10938 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10940 * text2.C (removeRow):
10941 * text.C (setHeightOfRow): remove useless (and costly) call to
10944 2001-11-20 Allan Rae <rae@lyx.org>
10946 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10947 Now need Inset*::checkInsertChar() to return true for appropriate
10948 cases so that the characters in the minibuffer will actually be
10951 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10953 * text.C: change the order of the includes.
10954 (workWidth): initialize it at once.
10955 (workWidth): make maxw unsigned
10956 (setHeightOfRow): remove unused variable (inset)
10957 (selectSelectedWord): remove unused variable (inset)
10958 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10960 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10962 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10963 server is not running.
10965 (closeConnection): add debug info when server is disabled.
10967 * ColorHandler.C (getGCForeground): send debug message to GUI
10970 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10972 * kbmap.C (bind): modify because return conventions of
10973 kb_sequence::parse have changed.
10975 * kbsequence.C (parse): only ignore spaces and not any stupid
10976 control character. This avoids tests like s[i] <= ' ', which are
10977 guaranteed to fail with 8bit characters and signed chars.
10978 Change return code to string::npos when there have been no error
10979 (0 was a bad idea when error is at first character)
10981 2001-11-14 José Matos <jamatos@fep.up.pt>
10984 * buffer.C (simpleDocBookOnePar): removed unused argument.
10986 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10988 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10989 insets which are part of a word. Paragraph::isLetter takes care of
10990 that now. Use Paragraph::isInset to identify insets.
10991 (selectSelectedWord): do not test for hyphenation break.
10993 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10994 that protected spaces are considered as spaces.
10996 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10999 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11002 * lyxserver.C: fix it. and small cleanup.
11004 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11006 * BufferView_pimpl.C: use inline helpers
11009 * LaTeXFeatures.C: fix typos
11012 * Spacing.C: move spacing_string into class
11014 * ToolbarDefaults.C: move stuff into namespace anon
11016 * layout.h: update enum
11018 * lyxfunc.C: use better debug
11020 * minibuffer.h: fix typo
11024 * WorkArea.C: add and use Debug::WORKAREA
11028 * text2.C: code re-organisation, inline helpers
11030 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11032 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11033 std::vector.empty().
11035 2001-11-09 Allan Rae <rae@lyx.org>
11037 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11038 '\n's after tables. Tabular and ERT inset work now makes this no
11041 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11044 * minibuffer.C: fix crash, improve drop-down completion
11046 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11049 * lyxserver.C: invalidate fd's when doing endPipe()
11051 2001-11-08 José Matos <jamatos@fep.up.pt>
11053 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11054 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11057 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11059 2001-11-07 José Matos <jamatos@fep.up.pt>
11062 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11065 * buffer.C (sgmlOpenTag):
11066 * buffer.C (sgmlCloseTag): removed debug info.
11068 * buffer.h (sgmlOpenTag):
11069 * buffer.h (sgmlCloseTag): made public.
11071 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11073 * buffer.C (saveParamsAsDefaults):
11074 * lyx_cb.C (MenuLayoutSave): remove
11076 * LyXAction.C (init):
11078 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11080 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11082 * buffer.C (setPaperStuff): removed from here...
11084 * bufferparams.C (setPaperStuff): ... and moved there.
11086 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11090 * XFormsView.C: add support for drop-down completion
11092 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11094 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11097 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11099 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11102 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11104 * lyx_main.C: change ref to known bugs
11106 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11108 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11109 to work around older babel problems.
11111 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11113 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11115 2001-10-24 Juergen Vigna <jug@sad.it>
11117 * tabular-old.C (ReadOld): below variable changes reflected.
11119 * tabular.[Ch]: added ltType struct for longtable header/footer
11120 defines and changed all instances where they are used. Added
11121 future support for double top/bottom rows.
11123 2001-10-24 José Matos <jamatos@fep.up.pt>
11125 * buffer.h (docbookHandleCaption):
11126 * buffer.C (docbookHandleCaption): removed unused function.
11127 (makeDocBookFile): moved docbook supported version to v4.1.
11129 2001-10-24 José Matos <jamatos@fep.up.pt>
11132 * tabular.C (docbookRow): new function to export docbook code of a row.
11133 (DocBook): now honors the longtable flags.
11135 2001-10-23 José Matos <jamatos@fep.up.pt>
11138 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11139 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11141 * buffer.C (makeLinuxDocFile):
11142 (makeDocBookFile): reworked the preamble, more clean, and with
11143 support for lyx defined entities. Changed the document declaration
11144 to be more XML friendly.
11146 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11147 if we need to output XML that should be done with a filter.
11149 2001-10-22 Juergen Vigna <jug@sad.it>
11151 * sp_pspell.h (class PSpell): add alive function needed in the
11152 controller to see if the spellchecker could be started.
11154 2001-10-22 Juergen Vigna <jug@sad.it>
11156 * buffer.C (insertStringAsLines): modify the font for inserting
11157 chars in certain conditions by calling checkInsertChar(font).
11159 2001-10-19 Juergen Vigna <jug@sad.it>
11161 * text.C (workWidth): use getRow instead of wrong algorithm.
11162 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11164 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11169 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11171 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11173 * text.C (workWidth): do not search for the exact row when
11174 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11175 optimization for big documents.
11177 2001-10-18 Juergen Vigna <jug@sad.it>
11179 * text.C (workWidth): new function with added Inset * parameter.
11181 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11183 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11185 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11186 change return type of getColumnNearX.
11189 * text.C (changeRegionCase): use uppercase/lowercase instead of
11192 (rightMargin): simplify code by factoring out the uses of
11197 (appendParagraph): use Paragraph::size_type
11199 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11201 * vspace.C (asLatexString): add a missing break
11203 2001-10-15 Herbert Voss <voss@perce.de>
11205 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11207 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11209 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11212 2001-10-10 André Pönitz <poenitz@gmx.net>
11214 * lyxfunc.C: removed greek_kb_flag.
11216 2001-10-10 Herbert Voss <voss@perce.de>
11218 * lyx_main.C: delete global string help_lyxdir.
11220 2001-10-09 Herbert Voss <voss@perce.de>
11222 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11224 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11226 * lyx_main.C: added global string help_lyxdir.
11228 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11230 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11232 * lyxrc.C (set_font_norm_type): support iso8859-4
11234 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11236 * LaTeX.C (deplog): add another regex for MikTeX
11238 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11240 * lyxrc.C (set_font_norm_type): support iso8859-3
11242 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11244 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11246 * LaTeXFeatures.C: remove special case of french and index
11248 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11249 before \begin{document}). This solves several incompatibilities.
11251 2001-10-03 Garst Reese <reese@isn.net>
11253 * lyx_cb.C: change CheckTex error msg.
11255 2001-10-03 José Matos <jamatos@fep.up.pt>
11257 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11259 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11261 * .cvsignore: update
11263 * lyx_main.C (commandLineVersionInfo): use new style version info.
11265 * buffer.C (writeFile):
11267 (makeLinuxDocFile):
11268 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11270 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11272 * version.h: update to use stuff in version.C
11274 * version.C.in: new file. Contains version information determined
11275 at compile time. This is a merging of version.h and
11278 2001-10-03 Juergen Vigna <jug@sad.it>
11280 * BufferView_pimpl.C (update): don't change "dirty" status in
11283 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11285 * WorkArea.C (c-tor): re-position version string slightly.
11287 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11289 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11290 revert to previous code.
11292 WorkArea.[Ch]: (show, destroySplash): methods removed.
11294 WorkArea.C: rework code so that it's an amalgam of the codes before and
11295 after the splash screen was moved to WorkArea.
11297 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11300 * vspace.C (inPixels):
11303 * buffer.C (insertStringAsLines):
11304 (asciiParagraph): fix types to be large enough
11306 * lyxlex_pimpl.h: change member status from short to int
11308 * layout.h: fix type of endlabeltype
11311 * kbsequence.C (parse): change return type to string::size_type
11313 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11316 * Bullet.C (bulletSize):
11317 (bulletEntry): do not use short ints as parameters
11319 * BufferView2.C (insertLyXFile): change a char to an int.
11321 * WorkArea.C (WorkArea): remove unneeded floats in computation
11323 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11325 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11327 * paragraph.C (asString): Do not ignore newline/hfill chars when
11328 copying to the clipboard.
11330 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11332 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11333 after a multi-line inset.
11335 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11337 * paragraph.C (validate): Set NeedLyXFootnoteCode
11339 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11341 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11342 and decrease-error to decrease.
11344 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11346 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11347 it more readable (should be equivalent)
11349 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11351 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11353 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11355 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11356 of a cursor (row, etc.) after a character has been deleted
11357 (deleteEmptyParagraphMechanism): call the method above on _all_
11358 cursors held by the LyXText when a double space has been
11361 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11363 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11365 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11367 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11368 background. Use greyOut() and the new show() methods to toggle between
11369 the foreground and background. Add code to remove the splash after
11370 its initial showing.
11372 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11373 (create_forms): no longer call Dialogs::showSplash.
11375 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11377 * .cvsignore: add version_info.h
11379 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11381 * version_info.h.in: new file
11383 * Makefile.am: add version_info.h.in
11385 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11386 version_info.h instead of VERSION_INFO
11388 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11390 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11391 The ERT inset now returns string().
11393 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11395 * lyxtext.h, text.C (selectNextWord): renamed as
11396 selectNextWordToSpellcheck.
11398 * text.C (selectNextWordToSpellcheck): Modified to not select
11399 words inside an ERT inset.
11401 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11403 * lyx_cb.C (MenuLayoutSave): change a bit the question
11405 * sp_base.h: include <sys/types.h>
11407 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11409 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11411 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11413 * several files: fix typos in user-visible strings
11415 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11417 * text2.C (pasteSelection): do not set the selection, since it
11418 will be cleared later. Actually, the intent was to fix the way the
11419 selection was set, but I figured rmoving the code was just as good.
11421 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11423 * FontLoader.C (available): Check if font is available without
11426 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11428 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11430 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11432 * lyxrc.[Ch]: added display_graphics variable and associated code.
11434 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11436 * bufferparams.C (hasClassDefaults): new method. Returns true if
11437 the buffer parameters correspond to known class defaults
11439 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11441 * XFormsView.C (show): set minimum size to the main window.
11443 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11445 * text2.C (copySelection):
11447 * lyxfind.C (LyXReplace):
11448 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11449 LyXText::selectionAsString.
11451 * paragraph.C (asString): add "label" argument to the second form
11453 * text2.C (selectionAsString): add "label" argument and pass it to
11454 Paragraph::asString.
11456 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11458 * lyx_main.C (commandLineHelp): remove version information
11460 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11462 * lyx_main.C: add -version commandline option
11464 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11466 * paragraph.h: make the optional constructor arg required instead.
11467 some modifications to other files because of this.
11469 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11471 * lyxserver.C (C_LyXComm_callback): make it static
11473 * lyx_main.C (error_handler): make it static
11475 * lyx_gui.C (LyX_XErrHandler): make it static
11477 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11479 * WorkArea.C: make the extern "C" methods static.
11481 * Makefile.am (lyx_LDADD): simplify
11483 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11485 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11486 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11488 * LyXAction.C (init):
11489 * lyxfunc.C (dispatch): associated code removal.
11491 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11493 * lyxfont.h (isSymbolFont): shut off warning
11495 * text.C (setHeightOfRow):
11496 (getVisibleRow): fix crash with empty paragraphs which have a
11499 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11501 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11504 2001-09-04 José Matos <jamatos@fep.up.pt>
11507 * tabular.C (docbook): rename docBook method to docbook.
11509 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11511 * Makefile.am: add dependencies to main.o.
11513 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11515 * FontLoader.C (available): Return false if !lyxrc.use_gui
11517 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11519 * FontInfo.C (query):
11520 * converter.C (view):
11521 * importer.C (Import):
11522 * exporter.C (Export): Can not -> cannot.
11524 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11526 * BufferView_pimpl.C: allow to create index inset even if
11529 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11531 * buffer.C (getLists): replace boost::tie code with an explicit pair
11532 as boost::tie can break some compilers.
11534 * iterators.h: Added a std:: declaration to the return type of
11537 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11539 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11542 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11544 * iterators.[Ch]: New files. Provide paragraph iterators.
11546 * buffer.C (changeLanguage): Use paragraph iterators.
11547 (isMultiLingual): ditto
11549 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11551 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11553 * FontLoader.C: Support for cmr font.
11555 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11557 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11558 (available): New method.
11560 * FontInfo.C (getFontname): Use scalable fonts even when
11561 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11564 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11566 * converter.C (Formats::view): reverted! Incorrect fix.
11568 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11570 * converter.C (Formats::view): only output the -paper option
11571 if the dvi viewer is xdvi, thereby fixing bug #233429.
11573 2001-08-23 Herbert Voss <voss@perce>
11575 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11577 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11579 * Spacing.h (Spacing): Set space to Default on in the default
11582 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11584 * vc-backend.h (RCS::versionString): add RCS to version
11585 (CVS::versionString): add CVS to version
11587 * vc-backend.C (scanMaster): do not add CVS to version.
11588 (scanMaster): do not add RCS to version
11590 * lyxvc.C (versionString): new method
11592 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11594 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11596 * Spacing.C (set): initialize fval
11598 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11600 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11603 2001-08-16 Juergen Vigna <jug@sad.it>
11605 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11607 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11609 * BufferView_pimpl.C:
11612 * text2.C: setParagraph takes linespacing now
11614 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11616 * LyxAction.C: add internal LFUN_CITATION_INSERT
11618 * LyXView.C: actually apply fix
11620 * bufferlist.C: fix open non-existent file
11622 * lyxfind.C: fix indentation
11624 * lyxfunc.C: remove unneeded assert, fix typo
11626 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11628 * MenuBackend.C: use "Floatname List"
11630 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11632 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11633 when converting LaTeX layout to insetERT.
11634 Generate a non-collapsed float when reading old float
11636 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11638 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11641 2001-08-13 Juergen Vigna <jug@sad.it>
11643 * text.C (fill): return 0 instead of 20 as this seems to be the more
11646 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11648 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11651 2001-08-13 Juergen Vigna <jug@sad.it>
11653 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11655 (SearchBackward): comment out the unlocking of the inset_owner this
11656 should not be needed!
11658 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11660 * Many files: Remove inherit_language, and add latex_language
11662 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11663 collapsible insets.
11665 2001-08-10 Juergen Vigna <jug@sad.it>
11667 * text.C (prepareToPrint): fixed hfill-width in draw!
11669 * BufferView2.C (selectLastWord): save the selection cursor as this
11670 now is cleared in the function LyXText::clearSelection!
11672 2001-08-08 Juergen Vigna <jug@sad.it>
11674 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11675 BACKSPACE type functions.
11677 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11678 is only cutted from the document but not put in the cut-buffer, where
11679 still the old stuff should be.
11681 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11683 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11685 * tabular.C (SetWidthOfCell): fixed special case where the width
11687 (LeftLine): handle '|' in align_special.
11689 (LeftAlreadyDrawed): ditto
11690 (SetWidthOfCell): ditto
11692 2001-08-07 Juergen Vigna <jug@sad.it>
11694 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11696 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11698 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11699 * lyxlex.[hC]: ditto
11701 2001-08-06 Juergen Vigna <jug@sad.it>
11703 * text.C (getVisibleRow): fix up row clearing a bit.
11705 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11707 * minibuffer.C: make sure the X server sees the changes in the input.
11709 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11711 * paragraph.C (getFont): split into...
11712 (getLabelFont): this
11713 (getLayoutFont): and this
11714 * paragraph_pimpl.C (realizeFont): calling this
11716 * text2.C (getFont): split into...
11717 (getLayoutFont): this
11718 (getLabelFont): and this
11719 (realizeFont): all three calling this
11721 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11724 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11726 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11728 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11730 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11731 layouts from the Quote inset insertion.
11733 2001-08-03 Juergen Vigna <jug@sad.it>
11735 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11737 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11738 only if status not is already CHANGED_IN_DRAW (second level).
11740 * text.C (draw): don't set the need_break_row when inside an
11743 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11745 * buffer.C (parseSingleLyXformat2Token): handle more latex
11748 * bufferview_funcs.[hC]: change function names to
11749 begin with small char, adjust other files.
11751 2001-08-02 André Pönitz <poenitz@gmx.net>
11754 BufferView_pimpl.C: remove broken special code for math-greek
11756 2001-08-02 Juergen Vigna <jug@sad.it>
11758 * BufferView_pimpl.C (update): redone this function so that we
11759 update the text again if there was a CHANGE_IN_DRAW.
11761 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11762 (drawFromTo): added a new internal bool which is used by draw() and
11764 (general): some cursor drawing problems fixed.
11766 2001-08-01 Juergen Vigna <jug@sad.it>
11768 * lyxfind.C (LyXFind): fixed
11769 (SearchForward): ditto
11770 (SearchBackward): ditto
11772 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11773 spurius drawing of the cursor in the main area.
11775 * text2.C (status): small fix which could lead to a segfault!
11776 (clearSelection): remove unneeded BufferView param.
11778 2001-08-01 André Pönitz <poenitz@gmx.net>
11780 * lyxfunc.C: small change due to changed mathed interface
11782 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11784 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11786 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11788 * lyxfunc.c: fail gracefully if file doesn't exist
11793 * BufferView_pimpl.C: IsDirWriteable() proto changed
11795 * LyXView.C: fix updateWindowTitle() to store the last title
11797 2001-07-31 Juergen Vigna <jug@sad.it>
11799 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11800 the font (wrong since using of Paragraph::highestFontInRange).
11802 * paragraph.C (highestFontInRange): added a default_size parameter.
11804 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11805 (setHeightOfRow): reformat
11807 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11809 * converter.[hC] + affected files: move to (inital-char)lowercase
11812 * ParagraphParameters.C (ParagraphParameters): remove commented code
11814 * PainterBase.[Ch]: remove commented code
11816 * LaTeXFeatures.h: add "bool floats" for float.sty
11818 * LaTeXFeatures.C (LaTeXFeatures): init floats
11819 (require): handle float
11820 (getPackages): do it with floats
11822 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11824 * BufferView_pimpl.C (Dispatch): improve handling of
11825 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11827 * commandtags.h: #include lyxfont.h here temporarily to avoid
11830 * bufferlist.h: include LString.h here.
11832 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11834 * text2.C (getStringToIndex): new method.
11836 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11838 * *: Reduced header file dependencies all over.
11840 2001-07-30 Baruch Even <baruch@lyx.org>
11842 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11844 2001-07-29 Baruch Even <baruch@lyx.org>
11846 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11848 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11850 * ParameterStruct.h (endif): add a default constructor to make
11851 sure that all variables is initialized.
11853 * ParagraphParameters.C (ParagraphParameters): adjust
11855 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11857 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11858 index; also, check that there is something to index, and that it
11859 does not span over several paragraphs.
11860 (doubleClick): use WHOLE_WORD_STRICT for double click.
11862 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11864 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11867 2001-07-26 Baruch Even <baruch@lyx.org>
11869 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11870 an InsetFig figure, backwards compatible reading of old figure code.
11872 2001-07-27 Juergen Vigna <jug@sad.it>
11874 * text2.C: font.realize function adaption.
11876 * text.C (draw): add a warnings lyxerr text if needed.
11878 * layout.C: font.realize function adaption.
11880 * language.C: add inherit_language and implement it's handlings
11882 * bufferview_funcs.C (StyleReset): remove language parameter from
11883 font creation (should be language_inherit now).
11885 * bufferparams.C (writeFile): handle ignore_language.
11887 * paragraph.C (getFontSettings): the language has to be resolved
11888 otherwise we have problems in LyXFont!
11890 * lyxfont.C (lyxWriteChanges): added document_language parameter
11891 (update): removed unneeded language parameter
11893 * paragraph.C (validate): fixed wrong output of color-package when
11894 using interface colors for certain fonts in certain environments,
11895 which should not seen as that on the final output.
11897 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11899 * BufferView_pimpl.C:
11904 * LyXAction.C: add thesaurus support
11907 * lyxfind.C: add "once" parameter, for thesaurus, to not
11908 move to the next match
11910 2001-07-26 Juergen Vigna <jug@sad.it>
11912 * lyxfont.C (realize): honor ignore_language too!
11915 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11917 * text.C (draw): one place more for ignore_language to not draw
11920 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11922 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11924 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11926 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11927 the minipage conversion problem.
11929 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11931 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11934 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11936 * BufferView.h: don't forward declare WorkArea
11938 * BufferView.C: don't include WorkArea.h
11940 2001-07-25 André Pönitz <poenitz@gmx.net>
11944 * lyxfunc.C: new LFUN 'math-space'
11946 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11948 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11950 * text2.C (toggleInset): call open/close
11952 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11954 * lyxfunc.C (dispatch): add debug for the disabled case
11956 * font.C (buttonText): make similar to rectText
11958 * buffer.C (readInset): comment out parsing of insetlist and
11961 * PainterBase.C (rectText): small correction
11963 * BufferView_pimpl.C: comment out insettheorem and insetlist
11964 * LyXAction.C: ditto
11965 * commandtags.h: ditto
11967 2001-07-24 Juergen Vigna <jug@sad.it>
11969 * text.C (draw): honor the ignore_language.
11971 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11973 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11975 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11978 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11980 * lyxtext.h: remove unused (and unimplemented) methods
11982 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11984 * text.C (getVisibleRow): honor background color
11987 * Painter.h: remove default color argument for fillRectangle
11989 * text.C (backgroundColor): new method
11991 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11993 * text.C (getVisibleRow): adjust
11995 * font.[Ch] (rectText): new method, metrics
11996 (buttonText): new method, metrics
11998 * PainterBase.[hC]: make rectText and buttonText always draw and take
12001 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12003 * ToolbarDefaults.C (read):
12004 * MenuBackend.C (read): allow escaping in all strings
12006 * BufferView_pimpl.C (insertAndEditInset): new method.
12007 (Dispatch): use insertAndEditInset whenever appropriate.
12009 * BufferView_pimpl.C (insertNote): removed
12011 * BufferView_pimpl.C (smartQuote): new method, moved from
12012 BufferView; if an insetquote cannot be inserted, insert a '"'
12015 * BufferView2.C: remove insertCorrectQuote();
12017 * lyxfunc.C (getStatus): Add support for all remaingin
12018 inset-insert lfuns.
12020 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12022 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12023 command (necessary to pass " as parameter of self-insert.
12025 * text.C (selectWordWhenUnderCursor):
12026 (selectWord): add word_location parameter
12027 (selectWordWhenUnderCursor): same + remove special code for word
12029 (selectNextWord): use kind() to guess type of insetspecialchar,
12032 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12033 (insertErtContents): create ert insets as collapsed.
12034 (readInset): better compatibility code for Info inset.
12036 2001-07-20 Juergen Vigna <jug@sad.it>
12038 * lyxfunc.C (dispatch): use always LyXFind now!
12040 * text2.C (init): add a reinit flag so that the LyXText can be
12041 reinited instead of deleted and reallocated (used in InsetText).
12043 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12049 2001-07-18 Juergen Vigna <jug@sad.it>
12051 * text.C (selectNextWord): handle insets inside inset by calling
12052 always the bv->text functions so that we can go up the_locking_inset!
12054 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12055 in strange locations when inside an inset!
12057 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12058 handling to include insets.
12060 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12062 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12064 * LyXAction.C (init):
12066 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12067 LIGATURE_BREAK, since the name is so stupid.
12069 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12071 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12074 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12076 * sp_form.[Ch]: remove.
12078 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12080 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12083 * src/buffer.C (readInset): ditto.
12085 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12087 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12088 menuSeparator(), endOfSentenceDot(), ldots() and
12089 hyphenationPoint(), which are therefore removed.
12090 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12092 * LyXAction.C (init):
12093 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12095 * paragraph.C (getWord): removed.
12097 * BufferView_pimpl.C (Dispatch): use last word or selection for
12098 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12100 * lyx_main.C (queryUserLyXDir): do not ask before creating
12101 user_dir, except if it has been named explicitely.
12103 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12105 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12106 a document of zero size.
12108 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12110 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12111 approriately in the c-tor and in require().
12112 (getPackages): output the appropriate LaTeX for natbib support.
12114 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12115 variables "use_natbib" and "use_numerical_citations" when reading the
12117 (readInset): read the various natbib cite commands.
12118 (validate): white-space change.
12120 * bufferparams.[Ch]: new variables "bool use_natbib" and
12121 "bool use_numerical_citations".
12122 (writeFile): output them in the LyX file.
12124 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12126 * lyxfunc.C (getStatus): add support for all the inset insertion
12129 * text2.C (insertInset):
12130 * paragraph.C (insetAllowed):
12131 * BufferView_pimpl.C (insertInset): update to take in account the
12132 renaming of insertInsetAllowed
12134 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12136 * text2.C (getInset): new method. returns inset at cursor position.
12138 * BufferView_pimpl.C (Dispatch): changes because of this.
12140 * LyXAction.C (init): rename open-stuff to inset-toggle.
12142 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12144 * text2.C (toggleInset): renamed from openStuff; use
12147 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12149 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12151 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12153 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12155 * buffer.C (readLyXformat2): Add filename to the error dialog
12157 2001-07-18 Juergen Vigna <jug@sad.it>
12159 * tabular.C (GetCellNumber): put an assert here instead of the check!
12161 2001-07-17 Juergen Vigna <jug@sad.it>
12163 * BufferView_pimpl.C (toggleSelection): adapted too.
12165 * text.C (selectNextWord): adapted for use with insets.
12166 (selectSelectedWord): ditto
12168 2001-07-17 Juergen Vigna <jug@sad.it>
12170 * sp_spell.C (PSpell): fix initialitation order.
12172 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12174 * paragraph.C: spacing
12176 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12178 * sp_spell.C: repair language selection for pspell
12180 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12182 * lyxfunc.h: change more methods to begin with lower char.
12184 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12186 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12187 for unknown layouts.
12189 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12191 * buffer.C (readLyXformat2): Generate an error dialog if there are
12194 2001-07-16 Juergen Vigna <jug@sad.it>
12196 * sp_spell.C: always compile ISpell part.
12198 * lyxrc.C: added use_pspell entry and it's handling.
12200 2001-07-13 Juergen Vigna <jug@sad.it>
12202 * sp_spell.C: removed double includes.
12204 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12206 Consistent use of Lsstream.h:
12207 * Lsstream.h: added using std::stringstream for consistencies sake.
12209 * buffer.C: removed using std::stringstream
12211 * lyxfont.C (stateText):
12212 * paragraph.C (asString):
12213 * text.C (selectNextWord, selectSelectedWord):
12214 * text2.C (setCounter):
12215 * vspace.C (asString, asLatexString):
12216 std::ostringstream -> ostringstream.
12218 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12220 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12221 * commandtags.h: add LFUN_HELP_ABOUTLYX
12222 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12224 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12226 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12228 * lyx_gui_misc.C: remove spellchecker
12229 * lyxfunc.C: showSpellchecker
12231 * sp_ispell.h: added
12232 * sp_pspell.h: added
12233 * sp_spell.C: added
12234 * sp_form.[Ch]: removed
12235 * spellchecker.[Ch]: removed
12237 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12239 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12241 (simpleTeXSpecialChars): Simply print the input character without
12242 any special translation if pass_thru is set.
12244 * layout.h: Added bool pass_thru to layout class for being able to
12245 implement pass through of a paragraph for Literate Programming.
12247 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12248 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12249 * layout.C (Read): add "passthru" to list of layout tags and add
12250 code to set the pass_thru boolean when it is read.
12252 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12254 * trans_decl.h: remove allowed from KmodInfo
12256 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12257 remove allowed code
12260 * paragraph_pimpl.C (erase): use boost::prior
12262 * Painter.C (text): use data() instead of c_str() when length is
12264 * WorkArea.C (putClipboard): ditto
12265 * font.h (width): ditto
12267 * BufferView2.C: use it-> instead of (*it). for iterators
12269 * paragraph_pimpl.C: ditto
12270 * paragraph.C: ditto
12271 * minibuffer.C: ditto
12272 * language.C: ditto
12274 * encoding.C: ditto
12275 * counters.C: ditto
12276 * converter.C: ditto
12278 * Variables.C: ditto
12279 * TextCache.C: ditto
12280 * MenuBackend.C: ditto
12281 * LyXAction.C: ditto
12283 * FloatList.C: ditto
12284 * DepTable.C: ditto
12285 * ColorHandler.C (LyXColorHandler): ditto
12287 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12289 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12291 * text2.C (openStuff): reintroduce this method (which had been
12292 nuked in NEW_INSETS frenzy).
12294 * lyxfunc.C (Dispatch): when an action has not been handled, use
12295 its name in the error message, not its number.
12297 * paragraph.C (inInset): change method name to begin with lowercase.
12300 * text2.C: updates because of this.
12302 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12304 * ToolbarDefaults.C (add): add spaces in error message
12306 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12308 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12309 (readLyXformat2): rename return_par to first_par, use lyxlex's
12310 pushToken and remove the manual push handling.
12311 (parseSingleLyXformat2Token): add another ert comp. variable:
12312 in_tabular, rename return_par to first_par. handle newlines better
12314 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12316 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12318 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12320 * text2.C (getParFromID): removed
12322 * buffer.C (getParFromID): new method moved form lyxtext.
12323 * BufferView2.C (insertErrors): adjust
12324 (setCursorFromRow): adjust
12325 * BufferView_pimpl.C (restorePosition): adjust
12326 * lyxfunc.C (Dispatch): adjust
12327 * undo_funcs.C (textUndo): adjust
12329 (textHandleUndo): adjust
12330 (textHandleUndo): adjust
12332 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12334 * buffer.C: up' the LYX_FORMAT
12336 * lyxfont.h: turn NO_LATEX on as default
12338 * buffer.C (insertErtContents): new methods of tex style compability.
12339 (parseSingleLyXformat2Token): use it several places.
12340 * tabular.C (OldFormatRead): and here
12342 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12344 * text2.C: remove some commented code.
12347 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12348 * trans.C: changes because of the above.
12350 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12352 * text2.C (setCounter): Fix counters bug with bibliography layout.
12354 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12356 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12357 own member functions
12358 (simpleTeXSpecialChars): ditto
12360 2001-07-06 Juergen Vigna <jug@sad.it>
12362 * a lot of files: changed the access to LyXText::status and the
12363 call of undo-functions.
12365 * undo.[Ch]: added a inset_id to the undo informations.
12367 * undo_funcs.[Ch]: added and moved here all undo functions.
12369 * lyxtext.h: give the status enum a weight, made status_ a private
12370 variable and made accessor functions for it, removed the whole bunch
12371 of undo-functions as they are now in their own file, make some
12372 functions publically available. Added function ownerParagraph with
12375 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12376 made InInset() a const function, added getParFromID() function.
12378 * buffer.[Ch]: added const version for inset_iterator functions,
12379 added getInsetFromID() function.
12381 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12382 changed undo functions for new version.
12384 2001-07-05 Juergen Vigna <jug@sad.it>
12386 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12387 unknow mechanism does not call the proper constructor but only this
12388 one also if I request the other!?
12390 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12392 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12394 * text2.C (LyXText): use initialization lists.
12396 * lyxtext.h (Selection): initialize set_ and mark_
12397 (init): remove method
12399 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12401 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12403 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12405 * screen.[Ch]: change method names to begin with lowercase
12407 * BufferView_pimpl.C (updateScrollbar): simplify further and
12408 hopefully make it a bit faster.
12410 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12412 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12413 calling directly xforms functions.
12415 * Painter.C (Painter):
12416 * lyx_cb.C (MenuWrite):
12417 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12420 * lyx_gui.C: remove bogus guiruntime extern declaration.
12422 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12424 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12426 (redoDrawingOfParagraph): ditto
12427 (redoParagraphs): ditto
12428 (cutSelection): don't create a object for CutAndPaste use the
12429 static method directly
12430 (pasteSelection): ditto
12432 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12435 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12437 * modifications to some other files because of this.
12439 * Makefile.am (lyx_SOURCES): add XFormsView
12441 * XFormsView.[Ch]: new files
12443 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12444 the main window. Move the gui dependent stuff to XFormsView
12446 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12448 * tabular.C (GetCellInset): update cur_cell also in the row/col
12449 version of this function.
12451 * lyxfunc.C: no need to include figure_form.h here.
12457 * lyxvc.C: no need to include forms.h here.
12459 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12461 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12463 * lyxfunc.C (Dispatch):
12465 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12466 constructor argument.
12468 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12470 * paragraph.C (Paragraph): dont't clear, and just set layout.
12471 (makeSameLayout): use params's copy contructor.
12473 * ParagraphParameters.[Ch] (makeSame): delete method
12475 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12477 * Variables.[Ch]: fix indentation, rename set to isSet
12479 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12481 * lyxfunc.C (Dispatch): fix typo
12483 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12485 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12488 * bufferlist.C: include assert.h for emergencyWrite().
12490 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12492 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12493 give up at last (bug #425202) !
12495 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12501 * spellchecker.C: strip spellchecker options and bring up
12502 preferences tab instead
12504 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12506 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12507 the istringstream constructor
12509 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12511 * paragraph.C (getLayout): fix return value
12513 * paragraph.h: do not declare getLayout as inline.
12515 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12517 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12519 * lyxcursor.h (operator<): new func
12520 (operator>): new func
12521 (operator>=): new func
12522 (operator<=): new func
12524 * text.C (changeCase): use selection.start and selection.end
12525 (changeRegionCase): require from to be <= to. Require par to be a
12528 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12530 2001-06-27 Juergen Vigna <jug@sad.it>
12532 * text.C (cursorLeftOneWord): changed to return the cursor and added
12533 overlay with BufferView * parameter which calls this one.
12535 (selectWord): use new getWord function.
12536 (changeCase): renamed from changeWordCase as and extended to work
12537 also on selections.
12539 * lyxtext.h: added enum word_location
12541 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12542 changeCase as this operates now also on selections.
12544 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12546 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12548 * many files: send debug output to Debug::INFO instead of
12551 * converter.C (View):
12553 (Move): send debug output to Debug::FILES instead of console.
12555 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12557 * lyxfunc.C (getStatus): use func_status
12559 * func_status.h: new header, describing the results of
12560 LyXFunc::getStatus;
12562 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12565 2001-06-25 The LyX Project <jug@sad.it>
12567 * buffer.C (sgmlOpenTag):
12569 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12571 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12573 * text2.C: remove some dead code
12575 * tabular.C (GetCellInset): store the last cell checked (gotten)
12577 * tabular.h: add the helper for the speedup
12579 * lyxtext.h: remove some dead code
12581 2001-06-26 The LyX Project <Asger>
12583 * paragraph.C: Change export to LaTeX of alignment to
12584 \begin{center} and family for better roundtrip work with reLyX.
12586 * Tune the math drawing a bit.
12588 2001-06-25 The LyX Project <Asger>
12590 * LColor.C (LColor): New color for math background. New color
12593 2001-06-25 The LyX Project <jug@sad.it>
12595 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12597 * lyxfunc.C (Open):
12598 * bufferlist.C (newFile): do not restrict to files ending with
12601 * BufferView_pimpl.C (MenuInsertLyXFile):
12603 2001-06-24 The LyX Project <jug@sad.it>
12605 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12608 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12610 * lyxtext.h: rename most methods to begin with a small char.
12611 Lots of changes because of this.
12613 * paragraph.C (Paragraph): do not call fitToSize
12614 (erase): call Pimpl::erase
12615 (insertChar): call Pimpl::insertChar
12616 (insertInset): call Pipl::insertInset
12617 (breakParagraph): do not call fitToSize
12618 (breakParagraphConservative): do not call fitToSize
12619 (fitToSize): remove method
12621 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12623 2001-06-24 The LyX Project <Asger>
12625 * Fix Qt compilation^2
12627 2001-06-24 The LyX Project <jug@sad.it>
12629 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12630 depthHook(getDepth()-1).
12633 * ParagraphParameters.h:
12634 * ParameterStruct.h: change type of depth to unsigned int ==
12635 depth_type. Many adaptations to other files before of that.
12637 2001-06-24 The LyX Project <Asger>
12639 * Fix Qt compilation.
12641 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12643 * paragraph.h: renamed several methods to begin with small letter.
12644 several changes to many parts of the code because of this.
12646 2001-06-23 The LyX Project <jug@sad.it>
12648 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12649 rewritten to discard all double spaces when KeepEmpty is off
12650 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12651 to only handle newlines but not fiddle with spaces and friends.
12653 * lyxfunc.C (MenuNew): when doing 'new from template', use
12654 template_path as default directory
12656 2001-06-23 The LyX Project <Asger>
12658 * Clean-up of header file includes all over
12659 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12661 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12663 * paragraph.h: renamed from lyxparagraph.h
12665 2001-06-23 Asger <lyx@violet.home.sad.it>
12667 * Buffer.h: Removed Buffer::resize
12668 * BufferList.h: Removed BufferList::resize
12669 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12670 the document lazily when we change the width, or the font settings.
12672 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12674 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12676 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12678 * buffer.h: remove out of date comment
12680 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12683 * screen.C: fix "theoretical" GC leak
12685 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12687 * LaTeX.C (scanAuxFile):
12688 (deplog): remove trailing \r when reading stream (useful under
12691 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12693 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12694 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12695 and BufferView::theLockingInset(Inset*), so should use them and not
12696 access bv_->text->the_locking_inset directly.
12698 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12700 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12703 * tex-defs.h: remove old unused file
12705 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12707 * BufferView_pimpl.C: fix typo, remove minibuffer message
12708 when buffer has loaded
12710 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12712 * lyxfunc.C (Dispatch): use stringstream
12713 (MenuNew): use stringstream
12714 (Open): use stringstream
12716 * importer.C (Import): use stringstream
12718 * bufferview_funcs.C (CurrentState): use stringstream
12720 * LaTeX.C (run): use stringstream
12722 * BufferView_pimpl.C (savePosition): use stringstream
12723 (restorePosition): use stringstream
12724 (MenuInsertLyXFile): use stringstream
12726 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12739 * vspace.C: removed // -*- C++ -*- as first line.
12742 * version.h: added // -*- C++ -*- as first line.
12744 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12746 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12748 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12751 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12753 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12756 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12758 * gettext.C: include LString.h even when --disable-nls is on.
12760 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12762 * converter.h (Get): changed argument type from int to
12763 FormatList::size_type to avoid unnecessary conversion.
12765 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12768 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12770 * gettext.h: include LString.h even when --disable-nls is on.
12772 2001-06-07 Juergen Vigna <jug@sad.it>
12774 * text.C (BreakAgain): subst spaces with tabs.
12776 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12777 (resizeInsetsLyXText): set force on resizeLyXText.
12779 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12781 * gettext.h (gettext_init):
12782 (locale_init): use a real definition instead of a macro
12784 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12786 * Bufferview_pimpl.C:
12788 * LColor.C: further lcolor tidies
12790 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12792 * BufferView_pimpl.C (updateScrollbar): simplify.
12794 * BufferView2.C: don't include insets/insetinfo.h, change
12795 prototype for insertInset and call the Pimpl version. let
12796 updateInset call Pimpl version.
12798 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12799 gotoInset to BufferView::Pimpl
12801 2001-06-01 Juergen Vigna <jug@sad.it>
12803 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12804 inside a LockingInset (is the update needed at all?).
12806 2001-05-31 Juergen Vigna <jug@sad.it>
12808 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12809 here not the old one otherwise how should we compare it afterwards
12812 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12817 * FontInfo.C: bring C functions into global namespace when
12820 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12822 * LString.h: make sure config.h has been loaded before LString.h.
12824 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12825 (one for each char read by EatLine!).
12827 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12830 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12832 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12833 to the same as the par we break from
12835 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12837 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12839 * MenuBackend.C (expand): also create menu entries for wide
12840 versions of the floats.
12842 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12844 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12846 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12847 frontends/Makefile.am
12853 * tabular.C (getTokenValue): add std::
12855 * tabular-old.C (getTokenValue): add std::
12856 (getTokenValue): ditto
12857 (getTokenValue): ditto
12859 * screen.C (ToggleSelection): adjust
12861 * lyxtext.h: put selection cursors inside a Selection struct.
12863 * lyxfunc.C (moveCursorUpdate): adjust
12865 * lyxfont.C (latexWriteStartChanges): add std::
12867 * lyxfind.C: adjust
12869 * font.h: delete with(char const *, LyXFont const &)
12871 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12873 * FontInfo.C (getFontname): add std::
12875 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12876 (workAreaButtonPress): adjust
12877 (tripleClick): adjust
12879 (moveCursorUpdate): adjust
12882 * BufferView2.C (gotoInset): adjust
12884 2001-05-30 Juergen Vigna <jug@sad.it>
12886 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12887 to check pspell I add this as default as I now have new pspell
12888 libraries and they seem to use this.
12890 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12892 * text2.C (CutSelection): make the cursor valid before the call to
12895 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12897 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12898 relied on 0 terminated strings and other horrors. Bug found due to
12899 the new assert in lyxstring!
12901 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12904 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12906 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12909 * lyxfunc.C (processKeySym): change method of getting to the
12912 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12913 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12914 * BufferView_pimpl.[Ch]: here as private methods.
12916 2001-05-28 Juergen Vigna <jug@sad.it>
12918 * text.C (SetHeightOfRow): added the update() call again as it is
12919 needed to initialize inset dimensions!
12921 2001-05-16 Juergen Vigna <jug@sad.it>
12923 * text2.C (SetCharFont): Add new function with BufferView * and
12924 bool toggleall parameters for setting insets internal fonts.
12925 (SetFont): Freeze the undo as we may change fonts in Insets and
12926 all this change should be inside only one Undo!
12928 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12929 setting font's in insets as for them we have the SetFont function!
12931 2001-05-15 Juergen Vigna <jug@sad.it>
12933 * text2.C (ClearSelection): to be sure we REALLY don't have any
12936 * tabular.C (TeXCellPreamble): fixed the left border problem for
12939 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12941 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12944 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12946 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12947 LFUN_BREAKPARAGRAPH.
12949 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12950 help test to "internal only", similar for LFUN_INSERT_URL
12952 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12953 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12954 auto_region_delete and deadkeys.
12956 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12959 * LColor.C: remove some dead entries, tidy a little
12961 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12963 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12965 (Dispatch): implement LFUN_ESCAPE
12967 * commandtags.h: add LFUN_ESCAPE
12969 * LyXAction.C (init): add entry for LFUN_ESCAPE
12971 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12972 Remove commented code.
12973 (insertNote): moved here
12974 (open_new_inset): moved here
12976 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12979 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12981 * kbmap.C (findbinding): clean it up and make it work correctly.
12983 * lyx_main.C (init): do not pass argc and argv as parameters
12985 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12987 * buffer.C: fix path for OS/2 & Win32
12991 * lyx_main.C: Added os:: class.
12993 * os2_defines.h: update
12995 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12997 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12998 better by trying again with reduced state.
13000 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13002 * lyxrc.C (read): print error about invalid key sequence only when
13003 debugging (because not all latinX keysyms are known to some X
13006 * kbsequence.C (getiso): add a few std:: qualifiers
13007 (getiso): comment out extra return statement.
13009 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13011 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13013 (Dispatch): enhance the accent inset a bit. (not perfect)
13015 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13017 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13019 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13021 * bufferlist.C (emergencyWrite): fix assert() call
13023 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13025 * text.C (InsertChar): Added trivial patch to only send the "you
13026 can not do multiple spaces this way" message once during a
13029 2001-05-08 Baruch Even <baruch@lyx.org>
13031 * Makefile.am: Changed order of libraries to get LyX to link properly
13032 with the gnome frontend.
13034 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13036 * LaTeXFeatures.h: add a std:: qualifier
13038 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13040 * paragraph.C (String): use stringstream
13042 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13044 * paragraph.C (writeFile): remove footflag arg
13046 * buffer.C (makeLaTeXFile): use stringstream
13047 (latexParagraphs): remove footnot gurba
13049 * LaTeXFeatures.C (getPackages): use stringstream
13050 (getMacros): likewise
13051 (getTClassPreamble): likewise
13052 (getFloatDefinitions): new method
13054 * paragraph.C (writeFile): reindent
13057 * WorkArea.h: revert the xpos + etc changes.
13059 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13061 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13063 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13064 (pasteSelection): likewise
13065 * text2.C (CreateUndo): likewise
13067 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13069 * minibuffer.C (peek_event): temporarily reduce the functionality
13070 of the minibuffer (to allow args on lfuns)
13072 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13073 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13075 * buffer.C (readInset): add compability reading of old float
13076 lists, add reading of new style float list.
13077 (readInset): avoid reevaluation of inscmd.getCmdName()
13078 (getLists): reindent
13080 * MenuBackend.C (MenuItem): implement parsing of
13081 md_floatlistinsert and md_floatinsert.
13082 (expand::LastFiles): move initalizaton of iterators out of loop,
13083 avoid reevaluation.
13084 (expand::Documents): introduce typdedef vector<string> Strings,
13086 (expand::ExportFormats): introduce typedef vector<Format const *>
13087 Formats, and use it.
13088 (expand): implement FloatListInsert and FloatInsert.
13090 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13091 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13092 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13094 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13096 (Dispatch::LFUN_FLOAT_LIST): implement
13098 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13100 * LaTeX.C (run): Fix problem with --export code.
13102 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13104 * BufferView.[Ch] (workarea): removed.
13105 (getClipboard) new method; wrapper for workarea()->getClipboard()
13107 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13110 * WorkArea.h (width, height, xpos, ypos): These methods all
13111 returned the dimensions of the work_area sub-area of WorkArea,
13112 resulting in a position error if the WorkArea were resized. Now
13113 return the dimensions of the entire WorkArea.
13115 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13117 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13119 * LaTeX.C (deplog): correct the syntax of regex reg1
13121 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13123 * undo.C: remove !NEW_INSETS cruft
13125 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13127 * text2.C: remove !NEW_INSETS cruft
13129 * text.C: remove !NEW_INSETS cruft
13131 * tabular.C: remove !NEW_INSETS cruft
13133 * spellchecker.C: remove !NEW_INSETS cruft
13135 * lyxtext.h: remove !NEW_INSETS cruft
13137 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13139 * lyxfunc.C: remove !NEW_INSETS cruft
13141 * lyxfind.C: remove !NEW_INSETS cruft
13143 * lyx_cb.C: remove !NEW_INSETS cruft
13145 * figureForm.C: remove !NEW_INSETS cruft
13147 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13149 * buffer.[Ch]: remove !NEW_INSETS cruft
13151 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13153 * CutAndPaste.C: remove !NEW_INSETS cruft
13155 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13157 * BufferView2.C: remove !NEW_INSETS cruft
13159 * BufferView.h: remove !NEW_INSETS cruft
13161 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13163 * Lsstream.h: include LString.h before the sstream headers to
13164 fix problem with gcc 2.95.3 and lyxstring
13166 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13168 * lyx_main.C: add using directives when needed for C functions
13169 declared in std:: namespace.
13171 2001-04-27 Juergen Vigna <jug@sad.it>
13173 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13174 (SetHeightOfRow): comment out the update call should not be needed!
13176 2001-04-13 Juergen Vigna <jug@sad.it>
13178 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13179 (LyXTabular): tried to minimize operator= operations (and realized
13180 hopfully Lars wish).
13182 2001-04-27 Juergen Vigna <jug@sad.it>
13184 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13186 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13188 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13190 * buffer.C (readInset): hack to make listof algorithm work
13192 * BufferView_pimpl.C: hack to make listof algorithm work
13194 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13196 * LyXAction.C: removed all !NEW_INSETS cruft
13197 (init): moved lfun_item in method
13199 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13201 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13203 * BufferView2.C (theLockingInset): white space.
13205 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13207 * minibuffer.C: include <iostream>
13209 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13211 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13213 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13215 * text.[Ch] (TransposeChars): new method
13217 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13219 * call message directly through LyXView instead of through LyXFunc
13220 * BufferView2.C: adjust
13221 * BufferView_pimpl.C: adjust
13222 * FontLoader.C: adjust
13224 * bufferview_funcs.C: adjust
13225 * converter.C: adjust
13226 * figureForm.C: adjust
13227 * importer.C: adjust
13229 * lyx_gui_misc.C: adjust
13230 * lyxfunc.C: adjust
13233 + more files in subdirs
13235 * lyxparagraph.h (size): move up int file
13238 * adjust all uses of Assert to lyx::Assert.
13240 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13241 lyxfunctional in namespace lyx
13242 * layout.C (hasLayout): ditto
13245 (delete_layout): ditto
13246 (NumberOfClass): ditto
13247 * converter.C (GetFormat): ditto
13252 * bufferlist.C (getFileNames): ditto
13253 (emergencyWriteAll): ditto
13256 * MenuBackend.C (hasSubmenu): ditto
13259 * BufferView_pimpl.C (getInsetByCode): ditto
13261 2001-04-18 Juergen Vigna <jug@sad.it>
13263 * vspace.C (asLatexString): fixed the 100% problem.
13265 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13267 * lyxfunc.C (Dispatch):
13269 * minibuffer.h: add a few std:: qualifiers
13271 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13273 * minibuffer.[Ch]: reimplement so that commands is initiated and
13274 run from lyxfunc, simplified som handling, and made the completion
13275 and history code for complete. wip.
13277 * lyxfunc.C (processKeySym): call message
13278 (miniDispatch): new temporary method
13279 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13280 (LFUN_MESSAGE): implement
13281 (LFUN_MESSAGE_PUSH): implement
13282 (LFUN_MESSAGE_POP): implement
13283 (initMiniBuffer): the initial/defualt minibuffer message.
13285 * lyxfont.[Ch]: inline some more getters
13287 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13289 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13291 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13292 (AutoSave): use LFUN_MESSAGE
13293 (Reconfigure): ditto
13295 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13297 * figureForm.C: use LFUN_MESSAGE
13299 * converter.C (runLaTeX): use LFUN_MESSAGE
13301 * bufferview_funcs.C: use LFUN_MESSAGE
13303 (changeDepth): ditto
13305 * bufferparams.h: use boost::
13307 * bufferlist.h: inherit privately from noncopyable
13309 * bufferlist.C (loadLyXFile): remove some commented code.
13311 * buffer.C (runChktex): use LFUN_MESSAGE
13313 * ShareContainer.h: inherit privately from noncopyable
13315 * ParagraphParameters.[hC] (depth): inline it.
13317 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13319 (message): new method
13320 (messagePush): ditto
13321 (messagePop): ditto
13322 (show): init minibuffer
13323 (showState): direct call
13325 * LaTeX.[Ch]: inherit privately from noncopyable
13326 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13327 instead of WriteStatus.
13329 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13331 * BufferView_pimpl.C (buffer): don't init minibuffer
13332 (workAreaButtonPress): use LFUN_MESSAGE
13333 (workAreaButtonRelease): ditto
13334 (savePosition): ditto
13335 (restorePosition): ditto
13336 (MenuInsertLyXFile): ditto
13337 (workAreaExpose): don't init minibuffer
13338 (update): remove commented code, simplify
13340 * BufferView2.C (openStuff): use LFUN_MESSAGE
13341 (toggleFloat): ditto
13344 (copyEnvironment): ditto
13345 (pasteEnvironment): ditto
13350 (updateInset): remove some commented code
13352 * lastfiles.h: inherit privately from noncopyable
13355 * lyx_main.h: ditto
13357 * lyxlex_pimpl.h: ditto
13359 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13360 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13361 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13363 * LyXAction.h: inherit privately from noncopyable, add methods
13364 func_begin, func_end, returning iterators to the func map.
13366 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13367 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13368 (func_begin): new method
13369 (func_end): new method
13371 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13373 (copySelection): ditto
13374 (pasteSelection): ditto
13376 * BufferView.C: whitespace change
13377 * BufferView.h: inherit privately from noncopyable
13379 2001-04-16 Allan Rae <rae@lyx.org>
13381 * tabular-old.C (l_getline):
13382 * spellchecker.C (sc_check_word):
13383 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13384 an unrecognised preprocessor directive. So ensure they're wrapped.
13386 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13388 * src/exporter.C (Export): Give an error message when path to file
13391 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13393 * LaTeX.C (deplog): Always check that foundfile exists.
13395 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13398 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13400 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13402 * tabular.[Ch] (getLabelList): implement new method
13404 * minibuffer.h: comment ouf setTiimer
13406 * minibuffer.C (ExecutingCB): constify res
13407 (peek_event): constify s
13408 (Set): constify ntext
13409 (Init): constify nicename
13411 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13413 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13414 (savePosition): use two params to Minibuffer::Set
13415 (restorePosition): ditto
13417 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13419 * lyx_main.C: include language.h
13421 * Makefile.am (lyx_main.o): add language.h
13423 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13429 * CutAndPaste.C: include gettext.h
13431 * lyxfont.h: remove old hack with ON and OFF.
13434 * lyxfont.h: do not include language.h...
13439 * bufferview_funcs.C:
13445 * paragraph.C: ... but do it here instead
13447 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13449 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13451 * tabular.C: small reformat
13453 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13456 (BreakParagraph): ditto
13457 (SetOnlyLayout): ditto
13460 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13463 * lastfiles.C: removed most using decl, add std:: where needed
13465 * buffer.C: ws changes
13467 * MenuBackend.C (class compare_format): put into anon namespace
13468 (expand): constify label, names, action, action2
13471 * text.C (SingleWidth): constify font
13472 (IsBoundary): constify rtl2
13473 (GetVisibleRow): constify ww
13475 * LaTeX.C (deplog): constify logfile
13477 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13479 (workAreaExpose): constify widthChange, heightChange
13481 * lyxrow.C (par): moved
13484 * lyxrow.h: as inlines here
13486 * lyxfont.h (shape): moved from lyxfont.C
13487 (emph): moved from lyxfont.C
13489 * lyxfont.C (LyXFont): use initialization list for all
13491 (shape): move to lyxfont.h as inline
13492 (emph): move to lyxfont.h as inline
13495 2001-04-04 Juergen Vigna <jug@sad.it>
13497 * vspace.C: had to include stdio.h for use of sscanf
13499 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13502 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13503 independent of xforms.
13505 2001-04-02 Juergen Vigna <jug@sad.it>
13507 * spellchecker.C: fixed namespace placing!
13509 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13511 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13512 the LyXParagraph * is 0.
13514 2001-03-29 Juergen Vigna <jug@sad.it>
13516 * vspace.C: added support for %, c%, p%, l%.
13517 (stringFromUnit): added helper function.
13518 (asLatexString): changed to give right results for the %-values.
13520 * buffer.C: convert the widthp in a width%.
13522 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13524 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13527 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13528 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13530 * lyx_cb.[Ch]: see above.
13532 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13536 * lyx.[Ch]: replaced by figure_form.[Ch].
13540 * lyxfunc.C: changed headers associated with above changes.
13542 2001-03-27 Juergen Vigna <jug@sad.it>
13544 * BufferView_pimpl.C: set the temporary cursor right!
13546 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13548 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13550 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13552 * LString.h: removed "using std::getline"!
13554 * BufferView_pimpl.C (Dispatch): changes due to changes in
13555 InsetInclude::Params.
13557 * buffer.C (tag_name): removed redundant break statements as they were
13558 producing lots of warnings with my compiler.
13560 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13562 * LString.h: add "using std::getline" when using the real <string>.
13564 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13566 * buffer.C: removed bitset usage.
13567 PAR_TAG moved to an anonymous name space.
13568 (tag_name): new funtion, also in the anonymous namespace.
13569 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13570 (makeDocBookFile): clean code. Completed transition from string arrays
13572 (SimpleDocBookOnePar): code clean.
13574 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13576 * tabular.C: add some comments.
13578 2001-03-22 Juergen Vigna <jug@sad.it>
13580 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13581 compatibility read a bit and fixed bug with minipage in different
13584 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13586 * buffer.C (pop_tag): removed.
13587 (push_tag): removed.
13588 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13589 array replaced with vector. Added support for CDATA sections.
13590 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13592 (makeDocBookFile): XML conformant declaration of CDATA section,
13593 fixed bug related to <emphasis> in the first paragraph char.
13594 (sgmlOpenTag): exclude empty tags.
13595 (sgmlCloseTag): ditto.
13597 * buffer.h (pop_tag): removed.
13598 (push_tag): removed.
13600 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13602 * language.h (Languages): added size_type and size().
13604 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13606 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13607 response on compability reading of minipages. One probliem is that
13608 the old usage of minipages was «flertydig»
13610 * several files here and in subdirs: don't use static at file
13611 scope use anon namespaces instead.
13613 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13615 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13616 LaTeX output. This is necessary for Literate document
13619 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13621 * buffer.C: insert hfill when needed.
13623 * tabular.C (l_getline): use string::erase, small whitespace change.
13625 * BufferView_pimpl.C: try the anon namespace.
13626 * WorkArea.C: ditto
13628 2001-03-16 Juergen Vigna <jug@sad.it>
13630 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13631 otherwise it won't open options-dialogs.
13633 * buffer.C: honor pextraWidth(p) on converting minipages.
13635 * tabular.C (l_getline): changed the functions to strip trailing \r.
13637 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13639 * BufferView_pimpl.C:
13640 * minibuffer..C: added "using SigC::slot" declaration.
13642 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13644 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13650 * paragraph.C: ditto
13652 * lyxtext.h: NO_PEXTRA
13654 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13656 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13657 * ParameterStruct.h: ditto
13658 * ParagraphParameters.h: ditto
13659 * lyxparagraph.h: ditto
13661 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13663 * buffer.C: add compability for minipage alignment.
13664 (latexParagraphs): remove unwanted pextra check.
13666 * several files: remove CXX_WORKING_NAMESPACES
13668 * buffer.C (pop_tag): tie is in namespace boost
13670 * BufferView.h: noncopyable is in namespace boost
13672 * lyx_main.h: ditto
13675 * lastfiles.h: ditto
13676 * bufferlist.h: ditto
13677 * ShareContainer.h: ditto
13679 * LyXAction.h: ditto
13682 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13684 * Merging changes from BRANCH_MVC back into HEAD.
13686 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13688 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13690 * BufferView_pimpl.C: change from intl.C
13694 * Makefile.am: move combox.*
13700 * intl.C: remove dialog (covered by prefs)
13702 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13704 * lyxfunc.C (Dispatch): removed redundant break statement.
13706 2001-03-14 Juergen Vigna <jug@sad.it>
13708 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13710 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13712 * buffer.C: add hack to fix compability reading of minipages.
13714 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13716 * buffer.C (getLists): Cleanup.
13718 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13720 * lyxfont.C (update): don't honor toggleall on font size.
13722 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13726 * Makefile.am: moved to frontends/xforms/
13730 * BufferView_pimpl.C: changes for moved mathpanel
13732 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13734 * gettext.h: fix gettext_init() in --disable-nls
13736 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13738 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13740 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13743 * lyx.h: strip external form
13745 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13747 * BufferView_pimpl.C: add comment, destroySplash()
13749 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13751 * BufferView_pimpl.C:
13755 * lyxfunc.C: use re-worked insetinclude
13757 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13759 * buffer.C: add using std::stringstream.
13761 * lyx_cb.C: readd using std::ios.
13763 * buffer.C: add using std::map.
13765 * BufferView_pimpl.C: add using std::vector.
13767 * ShareContainer.h: add std:: to swap.
13769 * buffer.h: add some typedefs
13770 * buffer.C (getLists): use them
13771 (getLists): renamed from getTocList.
13772 add a counter for the different float types and use it in the
13774 (getLists): use the same counter for the NEW_INSETS and the "non"
13777 * lyx_cb.h: remove unused items, includes, using etc.
13779 * ShareContainer.h: remove some commented code, add more comments
13780 and "documentation".
13782 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13784 * buffer.C (getTocList): make the list also when NEW_INSETS is
13787 * buffer.h: remove TocType
13789 * buffer.C (getTocList): change to return a map<string,
13790 vector<TocItem> >, implement for dynamic number of list.
13792 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13793 * text2.C (PasteSelection): adjust
13794 * CutAndPaste.C (pasteSelection): adjust
13796 * FloatList.C (FloatList): update from the new_insets branch.
13797 * Floating.[Ch]: ditto
13798 * LaTeXFeatures.C: ditto
13800 * lyxlex_pimpl.C: ditto
13802 * paragraph.C (Last): remove when NEW_INSETS is defined.
13804 * other file: changes because of the above.
13806 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13808 * lyxparagraph.h: rename next to next_, previous to previous_,
13809 make them private for NEW_INSETS. Rename Next() to next(),
13810 Previous() to previous().
13812 * other files: changes because of the above.
13814 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13817 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13820 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13822 * main.C (main): pass lyx_localedir to gettext_init().
13824 * gettext.h: remove locale_init and gettext_init macros
13826 * gettext.C (locale_init): new function
13827 (gettext_init): new function
13829 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13832 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13834 * Moved credits to frontends:
13835 * credits.[Ch]: removed
13836 * credits_form.[Ch]: removed
13837 * lyx_gui_misc.C: remove credits stuff
13840 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13842 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13844 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13845 unneeded destructor.
13847 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13848 a standalone pointer again.
13850 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13852 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13858 * ToolbarDefaults.C:
13867 * BufferView_pimpl.C: use new file dialog in GUII
13870 * lyx_cb.C: remove LayoutsCB to Toolbar
13872 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13874 * ShareContainer.h (get): add std:: qualifier
13876 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13878 * ShareContainer.h: define a proper ShareContainer::value_type
13879 type (and use typename to please compaq cxx)
13881 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13883 * lyxparagraph.h: move serveral local vars to
13884 ParameterStruct/ParagraphParameters., use ShareContainer in
13885 FontTable., make vars in FontTable private and add getter and
13888 * paragraph.C: changes because of the above.
13890 * lyxfont.h: remove copy constructor and copy assignment. (the
13891 default ones is ok), move number inside FontBits. move inlines to
13894 * lyxfont.C: add number to initializaton of statics, move several
13895 inlines here. constify several local vars. some whitespace
13896 cleanup. Dont hide outerscope variables.
13898 * Spacing.h: add two new constructors to match the set methods.
13900 * ShareContainer.h: new file, will perhaps be moved to support
13902 * ParameterStruct.h: new file
13904 * ParagraphParameters.h: new file
13906 * ParagraphParameters.C: new file
13908 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13909 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13911 * BufferView_pimpl.C: ParagraphParameter changes.
13912 * buffer.C: Likewise.
13913 * bufferview_funcs.C: Likewise.
13914 * text.C: Likewise.
13915 * text2.C: Likewise.
13917 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13919 * lyxfind.C (LyXReplace): do not redefine default argument in
13921 (IsStringInText): ditto
13922 (SearchForward): ditto
13923 (SearchBackward): ditto
13925 2001-03-06 Juergen Vigna <jug@sad.it>
13927 * lyxfind.C (IsStringInText): put parentes around expressions.
13929 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13931 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13933 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13935 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13937 * stl_string_fwd.h: add comment
13939 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13942 * tabular.C: remove unused DocBook methods
13948 killed DO_USE_DEFAULT_LANGUAGE
13950 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13952 * lyx_gui.C: do not include language.h.
13954 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13955 arguments in function implementation.
13957 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13959 * BufferView_pimpl.C: add <ctime>
13961 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13963 * BufferView_pimpl.C: add using std::find_if
13965 2001-02-27 José Matos <jamatos@fep.up.pt>
13967 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13970 2001-02-11 José Matos <jamatos@fep.up.pt>
13972 * buffer.C (makeDocBookFile): command styles now have a parameter as
13973 "title" by default.
13975 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13977 * layout_forms.[Ch]: removed
13978 * lyx_cb.[Ch]: out character
13979 * lyx_gui.C: out character
13980 * lyx_gui_misc.C: out character
13981 * bufferview_funcs.C: : out character,
13982 added toggleall as parameter in ToggleAndShow
13984 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13986 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13988 * text2.C (SetCurrentFont): Disable number property at boundary.
13990 2001-02-26 Juergen Vigna <jug@sad.it>
13992 * lyxfunc.C (getStatus): added a string argument override function so
13993 that this is correctly called from LyXFunc::Dispatch if it contains a
13994 do_not_use_argument which is used!
13995 (Dispatch): added check for "custom" export and call appropriate func.
13997 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13999 * lyxrc.C: Add language_command_local, language_use_babel and
14000 language_global_options.
14002 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14004 * buffer.C (makeLaTeXFile): Use language_use_babel and
14005 language_global_options.
14007 2001-02-23 Juergen Vigna <jug@sad.it>
14009 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14010 which works with LyXText and putted it inside BufferView. Here now we
14011 only call for that part the BufferView::Dispatch() function.
14013 * BufferView.C (Dispatch): added.
14015 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14016 functions which needs to use a LyXText over from LyXFunc.
14017 (MenuInsertLyXFile): added
14018 (getInsetByCode): added
14019 (moveCursorUpdate): added
14020 (static TEXT): added
14022 2001-02-22 Juergen Vigna <jug@sad.it>
14024 * BufferView_pimpl.C (update): call a status update to see if LyXText
14027 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14029 * vc-backend.C (revert): implement for CVS
14030 (getLog): implement for CVS
14032 2001-02-20 Juergen Vigna <jug@sad.it>
14034 * text2.C (ClearSelection): added BufferView param for inset_owner call
14036 * lyxfunc.C (TEXT): added this function and use it instead of
14037 directly owner->view()-text of getLyXText().
14039 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14041 * src/layout_forms.C: out preamble
14042 * src/layout_forms.h: out preamble
14043 * src/lyx_cb.C: out preamble
14044 * src/lyx_cb.h: out preamble
14045 * src/lyx_gui.C: out preamble
14046 * src/lyx_gui_misc.C: out preamble
14047 * src/lyxfunc.C: connect with guii preamble
14049 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14051 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14053 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14055 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14056 whether to run bibtex.
14058 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14060 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14062 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14064 * Makefile.am (lyx_SOURCES): removed bibforms.h
14066 * vspace.h: doxygen
14068 * text.C (GetVisibleRow): make several local vars const
14070 * tabular.C: small cleanup.
14072 * lyxserver.C (callback): use compare instead of strncmp
14074 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14075 inlines to after class or to paragraph.C
14077 * lyxfont.h: remove friend operator!=
14079 * converter.h: move friend bool operator< to non friend and after
14082 * combox.h: small cleanup
14084 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14085 to inlines after class def.
14087 * buffer.C (pop_tag): use string operations instead of strcmp
14089 * bmtable.c: doxygen, small cleanup
14091 * LaTeX.h: remove friend operator==
14093 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14105 * BufferView_pimpl.C:
14106 * BufferView.[Ch]: remove cruft
14108 2001-02-14 Juergen Vigna <jug@sad.it>
14110 * lyxfunc.C: removed #if 0 unused code
14112 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14114 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14116 * text2.C (SetSelection): added a BufferView * parameter
14118 2001-02-13 Juergen Vigna <jug@sad.it>
14120 * lyxfunc.C (Dispatch): fixed protected blank problem.
14121 * BufferView2.C (protectedBlank): added LyxText * parameter.
14123 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14124 (AppendColumn): same as above for column_info.
14126 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14127 (moveCursorUpdate): use a LyXText param for support of InsetText.
14129 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14130 (tripleClick): ditto
14132 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14134 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14136 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14138 * text2.C (SetSelection): set correct update status if inset_owner
14139 (ToggleFree): ditto
14141 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14143 * tabular.C: remove some commented code.
14145 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14147 * BufferView_pimpl.C: call hideSplash()
14149 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14152 * bibforms.h: remove
14155 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14156 add LFUN_CHILD_CREATE
14158 * counters.h: fix tiny typo
14163 * lyx.C: move splash to frontends/xforms/
14165 * lyx_gui_misc.C: move Include and Bibform to frontends
14167 * lyxvc.h: clarify comment
14169 * vspace.C: tiny housekeeping
14171 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14173 * text.C (PrepareToPrint): RTL Fix.
14175 * paragraph.C (GetUChar): New method.
14176 (String): Use GetUChar.
14178 * buffer.C (asciiParagraph): Use GetUChar.
14180 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14182 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14184 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14187 * buffer.C: rename to getLogName(), handle
14188 build log / latex log nicely
14190 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14193 * MenuBackend.h: remove support for reference menuitem type.
14195 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14197 * BufferView_pimpl.C: housekeeping
14198 * BufferView_pimpl.h:
14203 * minibuffer.h: move Timeout GUI-I
14205 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14207 * lyxrc.C (read): Update converters data-structures.
14209 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14211 * LaTeX.h (operator!=): add operator != for Aux_Info
14213 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14215 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14217 * LaTeXLog.C: deleted, useful code moved to Buffer
14220 * buffer.C: new function getLatexLogName()
14226 * lyxfunc.C: use frontends for LaTeX and VC logs
14228 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14230 * LaTeX.h: yet another std:: that Allan forgot.
14232 * Variables.C (set): renamed from isset(), because this clashes
14233 with some HP-UX macros (grr).
14235 2001-02-06 Allan Rae <rae@lyx.org>
14237 * LaTeX.h: Another bug fix. Missing std:: this time.
14239 2001-02-04 Allan Rae <rae@lyx.org>
14241 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14242 floats problem. I've left it commented out because it's not quite
14243 correct. It should also test that the current object is a table or
14244 figure inset. But I haven't gotten around to figuring out how to do
14245 that. I *think* it'll be something like: "table" == inset.type()
14247 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14250 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14252 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14253 all the citation/databases/styles in the auxilary file.
14254 (run): Rerun latex if there was a babel language error.
14256 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14258 * text.C (Backspace): Preserve the font when changing newline char
14260 (BreakParagraph): If the cursor is before a space, delete the space.
14262 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14264 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14266 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14267 new argument (code).
14268 (ChangeCitationsIfUnique): New method.
14270 * paragraph.C (GetPositionOfInset): Handle bibkey.
14272 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14274 * BufferView_pimpl.h: change type of Position::par_pos to
14275 LyXParagraph::size_type.
14277 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14279 * BufferView_pimpl.C (savePosition, restorePosition): Write
14280 messages to minibuffer.
14282 2001-01-28 José Matos <jamatos@fep.up.pt>
14284 * buffer.C (makeDocBookFile): adds support for document language.
14285 A silly restriction on the name of LatexCommand types where removed.
14286 Added support for CDATA sections, allows to chars unescaped, used
14287 among others in code, to avoid escape < and >.
14289 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14291 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14292 saved positions instrad of a stack. Furthermore, a position is
14293 stored using paragraph id/paragraph position.
14295 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14296 Remove LFUN_REF_BACK.
14298 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14300 * converter.C (dvipdfm_options): New method.
14302 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14304 * vspace.C (isValidLength): Fix for empty input string.
14306 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14308 * LyXAction.C (init): change description of LFUN_FIGURE to
14311 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14313 * LaTeX.C: add using directive
14315 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14317 * MenuBackend.C (expand): Fix the sorting of the formats.
14319 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14321 * lyx_main.C: tiny error message fix
14323 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14325 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14326 calling fl_initialize(). This fixes the problem with ',' as
14327 decimal separator in text files.
14329 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14331 * trans.C (process): Fix the keymap bug.
14333 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14335 * LaTeX.C (scanAuxFiles): New method. Provides support for
14336 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14337 (scanLogFile) Scan for "run BibTeX" messages.
14339 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14340 OT1 font encoding. Also, load the aecompl package if the ae
14343 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14345 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14347 * texrow.C (increasePos): turn two error messages into debug
14350 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14352 * LaTeX.C (scanAux): Handle the \@input macro.
14353 (runBibTeX): Use scanAux().
14355 * language.C (latex_options_): New field.
14357 * LaTeXFeatures.C (getMacros): Add language macros.
14359 * buffer.C (makeLaTeXFile): Small fix.
14361 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14363 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14365 * text2.C: add a using directive.
14367 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14372 * lyxfunc.C: kill LyXBell.
14374 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14376 * text.C (IsBoundary): Remove the error message
14378 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14380 * lyxrc.C (setDefaults): Correct initialization value for
14383 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14385 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14388 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14389 and GotoNextNote().
14391 * src/LyXAction.C: Added reference-next.
14393 * text.C (InsertChar): Use contains instead of strchr.
14395 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14397 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14399 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14400 alignment commands (when needed).
14402 * text.C (InsertChar): Add ':' to number separator chars.