1 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * BranchList.C: new BranchListEqual fuctor, use it. Remove
5 (add): replace a finding loop with std::find_if.
7 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
9 * output_docbook.C: moving LatexParam functionality into
12 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14 * buffer.C: increment format to 229.
16 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
19 * lyx_sty.[Ch]: remove minipageindent_def
25 * text3.C: remove LFUN_INSET_MINIPAGE
27 2003-12-28 Angus Leeming <leeming@lyx.org>
29 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
31 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
33 * text2.C (setParagraph): fix off-by-one crash
35 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
37 * output_docbook.C: header stuff for AGU
39 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
41 * text2.C (redoCursor): remove
44 * BufferView_pimpl.C: remove calls to redoCursor and
45 setCursor(cursor.par(), cursor.pos()) all around
47 2003-12-15 Angus Leeming <leeming@lyx.org>
49 * buffer.C: up the format to 228.
51 2003-12-15 André Pönitz <poenitz@gmx.net>
53 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
67 2003-12-15 Angus Leeming <leeming@lyx.org>
69 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
70 than getFromGUIName to manipulate the color.
72 2003-12-14 Angus Leeming <leeming@lyx.org>
74 * BranchList.[Ch]: minimize the API.
75 (Branch::getBranch, getColor): now return a 'const &'.
76 (Branch::setSelected) now returns a bool set to true if the
77 selection status changes.
78 (BranchList::clear, size, getColor, setColor, setSelected,
79 allBranches, allSelected, separator): removed.
80 (BranchList::find): new functions, returning the Branch with
82 (BranchList::add, remove): return a bool indicating that
83 the operation was successful.
85 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
86 new InsetBranch::isBranchSlected member function.
88 * LColor.[Ch]: mimimize the API.
89 (fill): renamed as addColor and made private.
90 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
91 versions of these functions taking a string arg have been removed.
93 * bufferparams.C (readToken):
94 * lyxfunc.C (dispatch):
95 * lyxrc.C (read): changes due to the altered BranchList and
98 * factory.C (createInset, readInset): changes due to altered
101 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
104 * lyxfunc.C: remove insetminipage. "minipage-insert"
105 now produces a frameless minipage box inset.
107 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
109 * textcursor.[Ch] (selStart,selEnd): add new methods
110 remove selection::start, end, use LyXCursor::operator<
111 * lyxcursor.[Ch] (operator<): add
112 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
113 * BufferView.[Ch] (unsetXSel): add
114 * text2.C (clearSelection): use unsetXSel,adjust
117 * rowpainter.C: adjust
118 * bufferview_funcs.C (put_selection_at): adjust
120 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
122 * BufferView_pimpl.C: small coord. correction
124 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
126 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
127 dragging over the splash screen.
129 2003-12-11 Angus Leeming <leeming@lyx.org>
131 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
132 as it is now handled in LyXText::dispatch.
134 * text3.C (doInsertInset): remove a level of nesting.
136 2003-12-11 Angus Leeming <leeming@lyx.org>
138 * factory.C (createInset): changes due to the changed interface to
139 InsetCommandMailer::string2params.
141 2003-12-10 Angus Leeming <leeming@lyx.org>
143 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
144 'dialog-show-new-inset <inset name>'
146 2003-12-10 Angus Leeming <leeming@lyx.org>
148 * buffer.C: up the format to 227.
150 * factory.C: the box inset is now identified simply by 'Box'.
152 2003-12-10 Angus Leeming <leeming@lyx.org>
154 * buffer.C: up the format to 226.
156 * factory.C: the note inset is now identified simply by 'Note'.
158 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
160 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
161 when a pit is enough. Standarize a couple of loops.
163 2003-12-05 Angus Leeming <leeming@lyx.org>
165 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
166 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
167 data to the re-worked "log" dialog.
169 2003-12-03 André Pönitz <poenitz@gmx.net>
177 * text2.C: use Inset::getText instead of Inset::getParagraph
179 2003-12-03 André Pönitz <poenitz@gmx.net>
183 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
184 InsetText::read() as LyXText::read()
186 2003-12-02 Angus Leeming <leeming@lyx.org>
188 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
189 type. Add a comment in the implementation that the function uses
190 the stream's bad() function rather than fail() as the std::streams
193 2003-12-02 André Pönitz <poenitz@gmx.net>
195 * lyxlex.[Ch]: make interface more similar to std::stream
197 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
199 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
201 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
203 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
205 * vspace.[Ch]: remove VSpace::NONE
207 2003-12-01 André Pönitz <poenitz@gmx.net>
210 * lyxtext.h: move ParagraphList member to LyXText
211 rename LyXText::ownerParagraphs to LyXText::paragraph
214 * bufferview_funcs.C:
224 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
226 * undo.C: fix cursor positioning
228 2003-12-01 John Levon <levon@movementarian.org>
230 * BufferView_pimpl.C: fix a crash on exit with
233 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
235 * BranchList.C: fix setSelected() method.
237 2003-11-28 André Pönitz <poenitz@gmx.net>
239 * ParagraphParameters.[Ch]:
240 * ParameterStruct.h: remove space above/below from Paragraph to
243 * BufferView_pimpl.C:
255 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
257 * factory.C: Syntax change for CharStyles
259 2003-11-28 André Pönitz <poenitz@gmx.net>
264 * buffer.[Ch]: move LyXText member
266 2003-11-28 André Pönitz <poenitz@gmx.net>
268 * BufferView.[Ch]: make LyXText * text a private member
270 * BufferView_pimpl.C:
281 * output_plaintext.C: cleanup
283 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
286 * lyxtextclass.[Ch]: parametrize SGML document header
288 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
291 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
294 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
296 * text2.C (setFont): rework using PosIterator (no more recursive)
297 (setCharFont): no more needed
298 (setLayout): no more selection cursors fiddling (done by redoCursor)
299 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
300 destroy remaining ones)
302 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
304 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
306 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
309 * text3.C: adjust + re-allow multi par depth changes
310 * textcursor.C: simplify a bit
312 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
318 * src/output_docbook.C:
319 * src/output_latex.C:
324 * src/text2.C: Introducing a number of tags parametrizing various
325 XML formats that we may want to support
327 2003-11-25 André Pönitz <poenitz@gmx.net>
329 * InsetList.[Ch] (begein, end): inline as suggested by profiler
331 * lyxtext.h (leftMargin/rightMargin): simplify interface
338 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
340 * lyxfunc.C (dispatch): propogate the bibtex databases from the
341 master file to any child files. Fixes bug 546.
343 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
345 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
347 2003-11-24 André Pönitz <poenitz@gmx.net>
349 * rowpainter.C: simplification
351 * text2.C (updateCounters): remove call to redoParagraph on
352 changed labels as this is far too expensive.
354 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
356 * converter.C (convert): fix a crash: this function gets
357 called with buffer == 0 from importer code.
359 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
361 * text3.C (cursorPrevious): make sure that we do not compare
362 iterators form different containers.
365 * rowpainter.C (paintSelection): make sure that we do not compare
366 iterators from different containers.
368 * text3.C (dispatch): [PRIOR] make sure that we do not compare
369 iterators from different ParagraphList containers.
372 * text2.C (LyXText): change order of initialization slightly
373 (operator=): new function. copy all variables except cache_par_
374 (moveUp): make sure that we do not compare iterators from
375 different ParagraphList constainers.
378 * text.C (firstPar): new function
379 (lastPar): new function
380 (endPar): new function
382 * lyxtext.h: move things around and group public functions, public
383 variables, private functions, private variables
385 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
387 * factory.C: change call to InsetERT constructor to avoid
388 additional invocation of method status
389 * text2.C (toggleInset): remove redundant update() call
390 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
391 instead of a Bufferview pointer
393 2003-11-21 André Pönitz <poenitz@gmx.net>
395 * rowpainter.C: simplification
397 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
399 * text3.C (dispatch): make possible to extend a word/row selection
402 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
404 * lyxtext.h: x0_,y0_ -> xo_,yo_
405 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
406 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
407 * rowpainter.C (paintRows): paint full paragraphs
409 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
411 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
414 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
416 * lyxtext.h: add x0_, y0_
417 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
418 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
420 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
422 * text2.C (setCursorIntern): move the x_target update here *
423 * text3.C: change some bv() to true/false in calls to
424 cursorUp/Down/Right/Left
425 * cursor.C: use helper function.
427 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
429 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
430 * paragraph_funcs.[Ch]: correct comment
431 * rowpainter.C: do not paint selections away from bv->cursor()
432 Fix a long standing selection painting bug.
433 * text3.C: generalize mouse-selection code to LyXTexts other that
435 * textcursor.C: do not use y coords if we can use par offsets
437 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
439 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
440 cursor position after e.g. inset insert)
442 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
444 * lyxfind.C (replace): adjust to locking removal + some
447 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
449 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
452 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
455 * output_docbook.C: XML sanitation: new layout
456 parameters InnerTag and CommandDepth
458 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
460 * BufferView_pimpl.C:
462 * text3.C: Fix the insertion and modification of button-style
465 2003-11-13 André Pönitz <poenitz@gmx.net>
467 * InsetList.[Ch]: remove deleteLyXText
469 * paragraph.[Ch]: cache beginOfBody position
474 * text3.C: remove superfluous update() calls
478 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
480 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
481 * BufferView.C (fitLockedInsetCursor): remove
482 * cursor.[Ch] (getDim): add
483 * text.C (getRowNearY): add faster version
484 * text3.C: remove some update calls
486 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
498 * text3.C: The Character Style /XML short element patch.
500 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
503 * factory.C: Small step to solving 'unable to insert some insets'
506 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
508 * cursor.[Ch] (updatePos): new function for updating the y
509 position of the tip inset
510 * bufferview_funcs.C (put_selection_at):
511 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
513 2003-11-11 André Pönitz <poenitz@gmx.net>
515 * text.C: remove big comment on invalid Paragraph pointers as it is
518 2003-11-11 André Pönitz <poenitz@gmx.net>
520 * text_funcs.[Ch]: merge with ...
528 * Makefile.am: remove text_funcs.[Ch]
530 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
532 * cursor.C (getPos): return absolute cached y coord
534 * BufferView_pimpl.C (fitCursor): new simplistic code
535 (workAreaDispatch): add a fitCursor call
537 2003-11-10 André Pönitz <poenitz@gmx.net>
540 * BufferView_pimpl.[Ch]: merge update() and updateInset()
542 2003-11-10 André Pönitz <poenitz@gmx.net>
544 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
545 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
546 indicate that the cursor needs to leave an inset
548 * lyxtext.h: remove inset locking
550 * cursor.[Ch]: re-implement functionality provided by inset locking
553 * BufferView_pimpl.[Ch]:
555 * bufferview_funcs.[Ch]:
567 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
569 * PosIterator.[Ch]: replace the stack with a vector, add inset
571 * iterators.[C]: adjust
573 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
575 * lyxfind.C (replaceAll): mark the buffer dirty if something was
577 * paragraph_funcs.C (readParToken): put the correct id in the
578 error item, not the id of the top paragraph
580 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
582 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
583 * bufferview_funcs.C (put_selection_at): use the above
585 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
587 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
589 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
592 * output_plaintext.h:
594 * output_docbook.h: add #include statements
596 2003-11-05 José Matos <jamatos@lyx.org>
598 * output_docbook.[Ch]:
600 * output_linuxdoc.[Ch]:
601 * output_plaintext.[Ch]: New files for output formats.
602 * output.[Ch]: New file for helper functions.
605 * paragraph_funcs.[Ch]: output functions moved to new files.
607 * outputparams.h: rename of latexrunparams.h
615 * paragraph_funcs.[Ch]:
616 * paragraph_pimpl.[Ch]:
617 * tabular.[Ch]: rename ascii to plaintext
618 and LatexRunParams to OutputParams.
620 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
622 * iterators.[Ch] (text): require bv argument
623 * undo.C (recordUndo):
624 * lyxfunc.C (dispatch):
625 * bufferview_funcs.C (put_selection_at): adjust
627 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
629 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
631 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
633 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
636 2003-11-04 André Pönitz <poenitz@gmx.net>
638 * cursor.[Ch]: restructure
641 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
643 * iterators.[Ch] (asCursor): remove
645 * lfuns.h: remove LFUN_INSET_EDIT
651 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
653 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
655 * lyxfind.[Ch]: complete overhaul
656 * BufferView_pimpl.C:
658 * paragraph.[Ch] (insert): add
660 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
664 * text.C: remove dead spellcheck code
666 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
668 * dispatchresult.h: add a val setter
670 * cursor.C (dispatch): use a tempvar for data_[i]
672 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
674 * PosIterator.[Ch]: compile fix
676 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
678 * text.C (cursorPar): deactivate the cursor cache
680 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
682 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
684 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
686 * text3.C (dispatch): adjust for new DisptchResult semantics.
688 * lyxfunc.C (dispatch): handle update when return from
689 Cursor::dispatch, adjust for new DispatchResult semantics.
691 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
692 DispatchResult(true) mean to not update. Add class functions for
693 setting dispatched and update, as well as reading.
695 * cursor.C (dispatch): don't handle update here
697 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
699 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
700 * trans_mgr.C: adjust
702 * paragraph_funcs.C (readParToken): exception safety
704 * lyxvc.h: store the vcs pointer in a scoped_ptr
707 * lyxsocket.C (serverCallback): exception safety
709 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
711 * ispell.C (clone): make it return a auto_ptr
713 * factory.C (createInset): exception safety
714 (readInset): exception safety
716 * bufferlist.C (newBuffer): exception safety
718 * Thesaurus.C (Thesaurus): use initialization for aik_
720 * MenuBackend.C (expandToc): exception safety.
722 2003-11-03 André Pönitz <poenitz@gmx.net>
726 * bufferview_funcs.C: remove getInsetFromId()
729 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
735 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
737 * PosIterator.C (distance, advance): new
738 * bufferview_funcs.[Ch] (put_selection_at): new
739 * iterators.[Ch] (lockPath): new
741 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
743 * iterators.[Ch] (asPosIterator): added
744 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
745 * PosIterator.[Ch]: added
747 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
751 * cursor.C (dispatch):
752 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
754 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
755 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
756 contructor, add a class function dispatched. Remove operator>=
758 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
760 * debug.C: only use the default constructor for debugstream
763 * main.C (main): include debug.h and setup the lyxerr streambuf
766 2003-10-31 José Matos <jamatos@lyx.org>
768 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
770 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
771 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
772 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
773 * paragraph_pimpl.C (simpleTeXSpecialC):
774 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
775 add LatexRunParams argument.
777 * exporter.C (Export): change call accordingly.
779 * latexrunparams.h: add new member to take care of the other backends.
780 2003-10-30 José Matos <jamatos@lyx.org>
782 * buffer.C (makeLinuxDocFile, makeDocBookFile):
783 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
784 factorise code for paragraph output.
786 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
789 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
791 * text3.C (dispatch):
792 * lyxfunc.C (dispatch):
793 * cursor.C (dispatch):
794 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
796 * dispatchresult.h: make the dispatch_result_t ctor explicit
798 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
801 * buffer.C: small refactoring of docbook stuff
803 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
805 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
808 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
810 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
811 operator dispatch_result_t, and operators for == != and >=
813 * cursor.C (dispatch): adjust for operator dispatch_result_t
814 removal. comment out call to update
816 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
818 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
826 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
829 * dispatchresult.h: new file, DispatchResult broken out of
832 * Makefile.am (lyx_SOURCES): add dispatchresult.h
834 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
836 * text.C (rowBreakPoint): put a hack inside #if 0
838 2003-10-28 André Pönitz <poenitz@gmx.net>
845 * text2.C: general cleanup (lots of small stuff)
847 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
849 * text2.C (cursorEnd): simple fix to the "end key goes to one
850 before the end on last row" bug
852 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
854 * text.C (backspace): fix the "zombie characters"
856 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
858 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
860 2003-10-27 André Pönitz <poenitz@gmx.net>
862 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
864 * factory.C: handle new InsetPagebreak, InsetLine
866 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
867 and move handling into new InsetPagebreak, InsetLine
869 * BufferView_pimpl.C:
871 * ParagraphParameters.C:
884 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
893 * text3.C: remove lastPos uses in favour of Row::endpos
895 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
897 * undo.C (performUndoOrRedo): fix two crashes by setting a
898 cursor by hand and reordering some calls. Use bv->lockInset instead
899 of inset->edit because the latter loses cursor information
901 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
903 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
905 (rowBreakPoint): fix width. change point to point + 1.
908 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
911 * lyxfunc.C: fix (at least partly) the problems
912 with the Nav menu and headers inside branch insets
915 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
917 * paragraph.C (getChar): add strong asserts
919 * lyxrow_funcs.C (lastPos): remove hideous hack
921 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
922 (fill): adjust to that (avoid an infinite loop)
924 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
926 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
928 2003-10-23 André Pönitz <poenitz@gmx.net>
930 * RowList_fwd.h: change list<> to vector<> to gain speed
931 after suggestion from Alfredo
933 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
935 * lyxtext.h: move the bidi stuff from here...
938 * Bidi.[Ch]: ... to here
940 2003-10-23 André Pönitz <poenitz@gmx.net>
943 * text.C (isLastRow, isFirstRow): new functions
945 * paragraph.h: new width cache member
947 * rowpainter.C: replace RowList::iterator with Row & where possible
949 * lyxfunc.C: replace several view()->text with a single call
951 * toc.C: fix 'unused' warning
953 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
955 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
956 when woring with stream::pos_type
957 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
959 2003-10-22 André Pönitz <poenitz@gmx.net>
962 * text.C: use Row & instead of RowList::iterator
964 * lyxrow.h: rename end() to endpos()
970 2003-10-22 Angus Leeming <leeming@lyx.org>
972 * buffer.[Ch] (fully_loaded): new member function, returning true
973 only when the file has been loaded fully.
974 Used to prevent the premature generation of previews and by the
975 citation inset to prevent computation of the natbib-style label.
977 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
978 templates are all set up.
980 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
982 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
984 * text.C: fixed an "oops" in the "is a bit silly"
987 2003-10-21 André Pönitz <poenitz@gmx.net>
989 * FuncStatus.[Ch]: small stuff, whitespace
991 * lyxfont.[Ch]: operator<<() for debug reasons
995 * lyxtext.h: whitespace, spelling
997 * paragraph.C: naming of variables
1000 * text2.C: small stuff
1003 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1005 * text.C: (1) finish off the inset display() work;
1006 (2) fix the "is a bit silly" bug (accessing char
1009 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1011 * text.C: re-introduce display() for insets, fixing the
1012 various bugs (stretch of line above, math inset
1015 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1017 * text.C (rightMargin): remove spurious semicolon
1019 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1022 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1024 * text3.C: fix one crash due to wrong cursor def
1026 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1028 * vc-backend.C (scanMaster): make the regex static
1030 * LaTeX.C (scanAuxFile): make the regexs static
1032 * text3.C (doInsertInset, dispatch, dispatch):
1033 * text2.C (cursorUp, cursorDown):
1034 * text.C (selectNextWordToSpellcheck):
1035 * BufferView_pimpl.C (dispatch):
1036 * lyxfunc.C (dispatch): localDispatch -> dispatch
1038 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1040 * lyxsocket.C: include <cerrno>
1042 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1044 * lyxfunc.C (dispatch): remove textcache stuff
1046 * bufferlist.C (release): remove textcache stuff
1049 * TextCache.C: delete file
1050 * TextCache.h: delete file
1052 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1054 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1055 delete of the bv_->text.
1056 (resizeCurrentBuffer): remove texcache stuff
1057 (workAreaResize): ditto
1059 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1061 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1064 2003-10-16 André Pönitz <poenitz@gmx.net>
1071 * text3.C: speed up by storing y positions per paragraph plus per-row
1072 offset instead of having a 'full' y position in the row.
1074 2003-10-15 André Pönitz <poenitz@gmx.net>
1078 * undo.[Ch]: make undo aware of inner insets
1080 2003-10-14 Angus Leeming <leeming@lyx.org>
1082 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1083 static member functions LyX::ref() and LyX::cref.
1084 (lastfiles): new accessor functions for the new lastfiles_ member var.
1085 (addLyXView, views_): add a new LyXView to the list of views_.
1086 (updateInset): loop over all LyXViews to call their own updateInset
1087 member function, returning a pointer to the Buffer owning the inset.
1089 * BufferView_pimpl.C (loadLyXFile):
1090 * MenuBackend.C (expandLastfiles):
1091 * bufferlist.C (MenuWrite, QuitLyX):
1092 lastfiles is no longer a global variable.
1093 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1095 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1096 static function. Access through LyX::cref().emergencyCleanup().
1098 2003-10-14 André Pönitz <poenitz@gmx.net>
1100 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1102 * undo.[Ch]: restoring part of 'undo in insets'
1105 * undo_funcs.[Ch]: merge with undo.[Ch]
1107 * tabular.C: small cleansing stuff
1109 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1111 * paragraph_funcs.C (readParToken): report unknown insets as error
1112 boxes. Use the outer paragraph as location (also for unknown
1115 * factory.C (readInset): do not abort on reading an unknown inset.
1116 Eat it and return 0.
1118 2003-10-13 Angus Leeming <leeming@lyx.org>
1120 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1122 * lyxrc.C: displayTranslator is now a function,
1123 declared in GraphicsTypes.h.
1125 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1127 * format.C: new placeholder $$a to pass the socket address.
1129 * bufferlist.[Ch]: new function getBufferFromTmp.
1131 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1132 files in the temporary dir.
1134 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1136 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1138 * Makefile.am: add lyxsocket.[Ch].
1140 * lyx_main.C (error_handler): handle SIGPIPE.
1142 2003-10-13 André Pönitz <poenitz@gmx.net>
1144 * BufferView_pimpl.C:
1149 * undo_funcs.[Ch]: use paroffset_type instead of
1150 ParagraphList::iterators to prevent multiple conversion
1151 (and get a more robust interface)
1153 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1155 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1157 * text3.C (dispatch): ditto
1159 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1161 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1162 move the onlyfile, use onlyfile instead of foundfile in a couple
1165 * DepTable.C (update): flush the error stream a bit more
1167 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1169 * lyxserver.C (callback): adjust
1171 * lyxfunc.C (getStatus): add a missing brace in commented code
1172 (ensureBufferClean): reindent
1173 (dispatch): delete version taking a string
1175 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1177 * LaTeX.C (deplog): move found file handlig from here...
1178 (handleFoundFile): .. to new function here.
1179 (deplog): make sure to discover several files mentioned on the
1182 2003-10-10 André Pönitz <poenitz@gmx.net>
1189 * text3.C: fix some of the tabular crashes
1191 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1193 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1195 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1197 2003-10-09 André Pönitz <poenitz@gmx.net>
1199 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1202 * BufferView_pimpl.C:
1203 * bufferview_funcs.C:
1214 * undo_funcs.C: adjust
1216 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1218 * text2.C (incrementItemDepth): new function, use a backtracking
1219 algorithm to discover the correct item depth.
1220 (resetEnumCounterIfNeeded): new function, use a backtracking
1221 algorithm to discover if counter reset is needed.
1222 (setCounter): use them. Simplify a bit. Add different labels for
1223 different item depths for itemize.
1225 * paragraph.C (Paragraph): remove initialization of enumdepth
1228 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1229 enumerate and itemize. Change the type of itemdepth to signed char.
1231 2003-10-08 André Pönitz <poenitz@gmx.net>
1233 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1238 * tabular.[Ch]: fix crash after 'row-insert'
1240 2003-10-08 Angus Leeming <leeming@lyx.org>
1242 Fix doxygen warnings.
1244 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1245 Remove CutAndPaste:: prefix from header file declaration.
1247 * LColor.h (fill): remove LColor:: prefix from declaration.
1249 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1250 use lyx::depth_type rather than Paragraph::depth_type so that
1251 header file and .C file match.
1253 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1255 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1256 * aspell.C: \file aspell_local.C -> \file aspell.C
1257 * gettext.C: \file gettext.C -> \file src/gettext.C
1258 * gettext.h: \file gettext.h -> \file src/gettext.h
1259 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1260 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1261 * text.C: \file text.C -> \file src/text.C
1263 * toc.C: move comment so that doxygen is not confused.
1265 2003-10-07 Angus Leeming <leeming@lyx.org>
1267 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1269 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1272 * aspell_local.h: add forgotten std::string's.
1274 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1281 * text3.C: The Box patch. Fancybox support, minipage, parbox
1283 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1289 * ParagraphParameters.h:
1299 * lyxtextclasslist.h:
1302 * paragraph_pimpl.C:
1303 * textcursor.h: add <string> and other small fixes to make Lars'
1304 std::string patch compile with STLport.
1306 2003-10-06 Angus Leeming <leeming@lyx.org>
1308 * LColor.h: Add missing #include <string>.
1310 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1312 * All most all file in all subdirs: Make <string> be the prefered
1313 way of getting to std::string, add using declarations.
1315 2003-10-06 André Pönitz <poenitz@gmx.net>
1317 * metricsinfo.C: initialize LyXFont before changing attribute.
1318 (fixes the 'math in \emph is upright' bug)
1320 2003-10-06 André Pönitz <poenitz@gmx.net>
1322 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1324 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1327 * paragraph_pimpl.C: Small fixes to build using STLport
1329 2003-10-02 André Pönitz <poenitz@gmx.net>
1332 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1334 2003-10-01 André Pönitz <poenitz@gmx.net>
1336 * factory.C: assert early
1338 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1340 * lyx_main.C: remove the global debug object
1342 * debug.h: adjust for new debugstream
1344 * debug.C: adjust for new debugstream and keep the global debug
1347 2003-09-22 Angus Leeming <leeming@lyx.org>
1349 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1350 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1351 an incomplete class LyXFont.
1353 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1355 * factory.C: bug fix in branches
1357 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1359 * lyxfunc.C (processKeySym): adjust
1361 (dispatch): change arg name from ev to func, adjust
1362 (sendDispatchMessage): ditto
1364 * lyx_main.C (defaultKeyBindings): adjust keybindings
1365 (deadKeyBindings): ditto
1367 * kbsequence.C (addkey): return a FuncRequest
1369 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1371 * kbmap.C (bind): take a FuncRequest as arg, adjust
1374 (defkey): change to take a FuncRequest as arg, adjust
1375 (findbinding): take a FuncRequest as arg, adjust.
1377 * funcrequest.h (operator=): added
1379 * funcrequest.C (FuncRequest): default kb_action changed from
1380 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1382 * buffer.C (dispatch): simplify
1383 (dispatch): adjust to take a FuncRequest as arg, adjust
1385 * boost.C (assertion_failed): change assertion message slightly
1387 * ToolbarBackend.C (read): simplify
1389 * MenuBackend.C (binding): adjust call to findbinding, add a
1390 message if no binding is found.
1392 (expandToc): correct by adding a empty FuncRequest
1394 * LyXAction.C: include <boost/assert.hpp>
1395 (isPseudoAction): delete function
1396 (LookupFunc): change name to...
1397 (lookupFunc): this. change return type to FuncRequest.
1398 (getActionName): take kb_action as arg, simplify
1399 (funcHasFlag): add an assert, simplify.
1401 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1403 * toc.C (action): return a FuncRequest, simplify
1405 * lyxfunc.C (processKeySym): adjust
1406 (getStatus): delete version that takes an int.
1408 (dispatch): delete version that takes action as int
1410 (sendDispatchMessage): simplify and adjust
1412 * funcrequest.C (getArg): take unsigned int as arg
1414 * ToolbarBackend.C (read): adjust
1415 (add): delete version that takes func as a string.
1416 (getIton): take a FuncRequest as arg
1418 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1421 * MenuBackend.C (MenuItem): add a new construct that only takes a
1422 Kind, simplify the constructor use for submenus.
1424 (expandLastfiles): adjust
1425 (expandDocuments): adjust
1426 (expandFormats): adjust
1427 (expandFloatListInsert): adjust
1428 (expandFloatInsert): adjust
1429 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1431 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1432 Remove class variables lyx_pseudo_map and lyx_arg_map
1434 * LyXAction.C (searchActionArg): delete function
1435 (getPseudoAction): delete function
1436 (retrieveActionArg): delete function
1437 (LookupFunc): make it return kb_action, simplify.
1438 (getActionName): simplify
1440 * factory.C (createInset): fix new bug
1442 2003-09-19 Angus Leeming <leeming@lyx.org>
1444 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1445 masterFilename_ parameter in the include inset.
1447 * factory.C (createInset): changes due to the changes to InsetInclude.
1449 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1451 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1453 2003-09-18 Angus Leeming <leeming@lyx.org>
1456 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1457 Inset::fillWithBibKeys.
1458 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1460 2003-09-18 Angus Leeming <leeming@lyx.org>
1462 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1464 (ctor): pass and store a 'Buffer const &'
1465 (buffer): new member function.
1467 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1468 '*this' to the LaTeXFeatures ctor.
1470 2003-09-18 Angus Leeming <leeming@lyx.org>
1476 * text.C: rename EnumLColor as LColor_color.
1478 2003-09-18 Angus Leeming <leeming@lyx.org>
1480 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1481 remove #include "insets/insetbase.h" from cursor.h.
1483 2003-09-18 Angus Leeming <leeming@lyx.org>
1485 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1486 InsetOld_code to remove #include "inset.h".
1488 * iterators.C: add #include "insets/inset.h"
1490 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1492 * BufferView.C: remove more locking stuff that apparently doesn't
1493 do anything sensible.
1495 2003-09-16 André Pönitz <poenitz@gmx.net>
1498 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1501 2003-09-16 Angus Leeming <leeming@lyx.org>
1503 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1505 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1508 * paragraph.h: remove #include "lyxfont.h". Forward declare
1511 2003-09-16 Angus Leeming <leeming@lyx.org>
1513 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1514 of support/textutils.h.
1515 (isWord): move the contents of support/textutils.h's IsWordChar here.
1521 * text2.C: add #include "paragraph.h".
1524 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1526 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1532 * LaTeX.C: use namespace alias for lyx::support::os
1534 2003-09-16 Angus Leeming <leeming@lyx.org>
1537 * bufferview_funcs.C:
1540 * paragraph_pimpl.C:
1542 * text.C: add #include "LColor.h".
1544 2003-09-16 Angus Leeming <leeming@lyx.org>
1546 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1547 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1549 Store the FontBits::color variable as an int rather than as an
1550 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1553 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1554 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1555 string calls together.
1557 * lyxrc.C: add #include "LColor.h".
1559 2003-09-15 Angus Leeming <leeming@lyx.org>
1561 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1564 2003-09-15 Angus Leeming <leeming@lyx.org>
1566 * LColor.h: add an EnumLColor wrapper for LColor::color.
1568 * lyxfont.[Ch] (color, setColor, realColor):
1569 * lyxtext.h, text.C (backgroundColor):
1570 pass EnumLColor args to/from the functions, rather than LColor::color
1574 * lyxtext.h: forward declare EnumLColor.
1576 * lyx_main.C: add #include "LColor.h".
1578 2003-09-15 Angus Leeming <leeming@lyx.org>
1580 * .cvsignore: add lyx-gtk.
1582 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1587 * ParagraphParameters.C
1591 * bufferview_funcs.C
1601 * vc-backend.C: remove usage of STRCONV
1603 2003-09-15 Angus Leeming <leeming@lyx.org>
1605 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1606 explicitly define the color passed to the painter.
1608 2003-09-15 Angus Leeming <leeming@lyx.org>
1610 * bufferparams.C (BufferParams): reorder member initializers to avoid
1613 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1615 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1616 * text.C (updateRowPositions): remove an unusual nop
1618 2003-09-12 André Pönitz <poenitz@gmx.net>
1620 * BufferView_pimpl.C:
1629 * Counters.[Ch]: finish the 'automatic counters' job
1631 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1633 * aspell.C: include <boost/assert.cpp> (compile fix)
1635 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1637 * boost.C (assertion_failed): use lyx::support::abort instead of
1640 2003-09-10 Angus Leeming <leeming@lyx.org>
1642 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1643 with their _fwd progeny.
1645 2003-09-09 Angus Leeming <leeming@lyx.org>
1647 134 files throughtout the source tree: replace 'using namespace abc;'
1648 directives with the appropriate 'using abc::xyz;' declarations.
1650 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1652 * boost.C (emergencyCleanup): moved here from LAssert.c
1653 (assertion_failed): new function, called by BOOST_ASSERT
1655 * several files: change Assert to BOOST_ASSERT
1657 2003-09-09 Angus Leeming <leeming@lyx.org>
1659 * buffer.[Ch]: Add an Impl class and move Buffer's member
1660 variables into it. As a result move several header files out of
1663 Add header files to lots of .C files all over the tree as a result.
1665 2003-09-09 Angus Leeming <leeming@lyx.org>
1667 * buffer.[Ch]: make Buffer's member variables private. Add
1670 Lots of changes all over the tree as a result.
1672 2003-09-08 Angus Leeming <leeming@lyx.org>
1674 * graph.C: #include <config.h>.
1676 2003-09-08 Angus Leeming <leeming@lyx.org>
1680 * BufferView_pimpl.C:
1709 * toc.C: remove redundant using directives.
1711 2003-09-07 Angus Leeming <leeming@lyx.org>
1713 * LaTeXFeatures.h: remove #include "support/types.h".
1714 * ToolbarBackend.h: remove #include <algorithm>.
1715 * changes.h: remove #include <ctime>.
1716 * debug.h: remove #include <iosfwd>.
1717 * graph.h: remove #include "support/std_string.h".
1718 * lyx_main.h: remove #include <csignal>.
1719 * lyxlex_pimpl.h: remove #include <fstream>.
1720 * sgml.h: remove #include <algorithm>, <utility>.
1721 * toc.h: remove #include "support/std_ostream.h".
1722 Add #include <iosfwd>.
1724 2003-09-07 Angus Leeming <leeming@lyx.org>
1726 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1728 * converter.h: forward declare LatexRunParams.
1729 * encoding.h: remove #include "lyxrc.h".
1730 * lyxtext.h: remove #include "LColor.h".
1731 * lyxtextclass.h: remove #include "support/types.h".
1732 * trans.h: remove #include "tex-accent.h".
1733 * trans_mgr.h: remove #include "tex-accent.h".
1734 * insets/inset.h: remove #include "support/types.h", <vector>.
1735 * insets/insetcollapsable.h: remove #include "LColor.h".
1736 * insets/insetinclude.h: remove #include "dimension.h".
1737 * insets/insetlatexaccent.h: remove #include "dimension.h".
1738 * insets/insetoptarg.h:: remove #include "insettext.h".
1739 * insets/insettext.h: remove #include "dimension.h",
1740 <boost/shared_ptr.hpp>
1742 * insets/renderers.h: add #include "dimension.h".
1743 * insets/updatableinset.h: add #include "support/types.h".
1745 * many .C files: Associated changes.
1747 2003-09-06 Angus Leeming <leeming@lyx.org>
1749 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1750 one, inside testInvariant.
1752 * PrinterParams.C: new file.
1753 * PrinterParams.[Ch]: move the function bodies out of line.
1755 2003-09-06 Angus Leeming <leeming@lyx.org>
1757 * ParagraphParameters.h: forward declare ParameterStruct rather than
1758 including its header file.
1759 (depth): moved out-of-line.
1761 2003-09-06 Angus Leeming <leeming@lyx.org>
1763 * BufferView_pimpl.h:
1766 * lyxfunc.h: forward declare LyXKeySym rather than
1767 #include "frontends/LyXKeySym.h".
1769 * BufferView_pimpl.C:
1772 * lyxfunc.C: associated changes.
1774 2003-09-06 Angus Leeming <leeming@lyx.org>
1776 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1777 As a result, can remove the #include "insets/inset.h" from BufferView.h
1779 2003-09-06 Angus Leeming <leeming@lyx.org>
1781 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1782 As a result, can remove the #include "insets/inset.h" from BufferView.h
1784 2003-09-06 Angus Leeming <leeming@lyx.org>
1790 * bufferview_funcs.C:
1791 * BufferView_pimpl.C:
1796 * ParagraphParameters.C:
1801 * frontends/controllers/ControlDocument.C:
1802 * insets/insetcaption.C: rearrange the #includes into some sort of
1805 * buffer.h: remove #includes ErrorList.h, undo.h
1807 2003-09-06 Angus Leeming <leeming@lyx.org>
1809 * support/types.h: add a 'depth_type' typedef, used to store the
1810 nesting depth of a paragraph.
1813 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1814 defining explicitly.
1817 * paragraph_funcs.h:
1818 * ParagraphParameters.h:
1819 * sgml.h: use lyx::depth_type rather than Paragraph or
1820 ParameterStruct's depth_type.
1823 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1826 * BufferView_pimpl.C:
1828 * ParagraphParameters.C:
1831 * bufferview_funcs.C:
1838 * frontends/LyXView.C:
1839 * frontends/controllers/ControlDocument.C:
1840 * frontends/controllers/ControlErrorList.C:
1841 * insets/insetbibitem.C:
1842 * insets/insetbranch.C:
1843 * insets/insetcaption.C:
1844 * insets/insetcollapsable.C:
1845 * insets/insetenv.C:
1846 * insets/insetert.C:
1847 * insets/insetfloat.C:
1848 * insets/insetfoot.C:
1849 * insets/insetfootlike.C:
1850 * insets/insetnewline.C:
1851 * insets/insetquotes.C:
1852 * insets/insettabular.C:
1853 * insets/insettext.C:
1854 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1856 * frontends/controllers/ControlChanges.C: #include "changes.h".
1858 2003-09-06 Angus Leeming <leeming@lyx.org>
1860 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1861 than #including paragraph.h.
1864 * RowList.h: deleted. Superfluous.
1874 * insets/insettext.h: use ParagraphList_fwd.h rather than
1877 * paragraph.h: don't forward declare ParagraphList.
1880 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1881 rather than ParagraphList.h. paragraph.h is still needed for the
1882 Paragraph::depth_type parameters.
1884 * textcursor.h: enable it to compile stand-alone in light of the
1887 * bufferview_funcs.C:
1899 * frontends/controllers/ControlParagraph.C:
1900 * frontends/controllers/ControlTabular.C:
1901 * insets/insetmarginal.C:
1902 * insets/insetminipage.C:
1903 * insets/insetnote.C:
1904 * insets/insetoptarg.C: add header files needed to compile again.
1906 2003-09-06 Angus Leeming <leeming@lyx.org>
1908 * RowList_fwd.h: new file, forward-declaring Row rather than
1909 #including lyxrow.h.
1914 * insets/insettext.h: use it instead of RowList.h
1916 * bufferview_funcs.C:
1923 * text3.C: #include "RowList.h".
1925 2003-09-05 Angus Leeming <leeming@lyx.org>
1927 * factory.C (createInset):
1928 * vspace.C (c-tor): replace sscanf call with an istringstream.
1929 * ispell.C: re-add missing HP/UX headers.
1930 * lyxserver.C: re-add missing os2 headers.
1932 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1941 * text3.C: re-add missing system headers, needed for 2.95.2.
1943 2003-09-05 Angus Leeming <leeming@lyx.org>
1945 Changes most place everywhere due to the removal of using directives
1946 from support/std_sstream.h.
1948 2003-09-05 Angus Leeming <leeming@lyx.org>
1950 Replace LString.h with support/std_string.h,
1951 Lsstream.h with support/std_sstream.h,
1952 support/LIstream.h with support/std_istream.h,
1953 support/LOstream.h with support/std_ostream.h.
1955 Changes resulting throughout the tree.
1957 2003-09-05 Angus Leeming <leeming@lyx.org>
1959 * sgml.h: ensure that the header file can be compiled stand-alone.
1960 * *.C: strip out redundant #includes. (320 in total.)
1962 2003-09-04 Angus Leeming <leeming@lyx.org>
1964 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1965 here (from getPackages).
1967 * debug.[Ch]: add a new EXTERNAL tag.
1969 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1971 * text2.C (cursorEnd): simplify
1973 (getColumnNearX): adjust
1975 * text.C (computeBidiTables): adjust
1978 * rowpainter.C (paintChars): adjust
1979 (paintSelection): adjust
1980 (paintChangeBar): adjust
1983 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1985 (numberOfSeparators): adjust
1987 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1993 * text3.C: Restricts the mouse click functionality
1994 of insets like bibtex, include, toc and floatlist to the visible
1995 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1996 up the dialogs. Cursor has to be in front of the inset (i.e.
1997 start of row) for this to function.
1999 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2001 * bufferview_funcs.C (currentState): output row information
2003 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2005 * bufferview_funcs.C (currentState): output paragraph position
2007 2003-09-04 Angus Leeming <leeming@lyx.org>
2009 * FloatList.h: move out #include "Floating.h".
2010 * LaTeX.h: move out #include "DepTable.h".
2011 * LyXAction.h: move out #include "funcrequest.h".
2012 * buffer.h: move out #include "author.h", "iterators.h".
2013 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2014 * lyx_main.h: move out #include "errorlist.h".
2015 * lyxfunc.h: move out #include "FuncStatus.h".
2016 * lyxtext: move out #include "lyxcursor.h".
2017 * paragraph_pimpl.h: move out #include "counters.h".
2019 2003-09-03 Angus Leeming <leeming@lyx.org>
2021 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2022 preamble_snippets list, enabling us to add snippets to the preamble
2023 only if the snippet was not there already.
2025 2003-09-04 Angus Leeming <leeming@lyx.org>
2027 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2029 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2031 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2034 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2036 * BranchList.C: point fix, earlier forgotten
2038 2003-09-02 Angus Leeming <leeming@lyx.org>
2040 * box.C (contains): renamed from 'contained' after a fantastic
2043 2003-09-02 John Levon <levon@movementarian.org>
2049 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2051 2003-09-02 John Levon <levon@movementarian.org>
2053 * text2.C: simplification of cursorEnd(), including partial
2056 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2058 * buffer.C (readFile): add a space
2060 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2062 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2064 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2066 * buffer.C (readFile): new function, take a filename and a
2067 ParagraphList::iterator
2069 (readFile): adjust, make it private. don't use setStream, make
2070 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2071 always contain the filename.
2073 * BufferView.C (insertLyXFile): simplify and make it work for
2076 2003-08-30 John Levon <levon@movementarian.org>
2078 * Makefile.am: fix dist (from Kayvan)
2080 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2082 * most files: change to use const Buffer refs
2084 2003-08-27 André Pönitz <poenitz@gmx.net>
2086 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2087 on top of ownerPar().
2089 2003-08-27 John Levon <levon@movementarian.org>
2091 * funcrequest.C: properly initialise POD members
2093 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2095 * lyxtext.h (top_y): move top_y from here
2100 * BufferView_pimpl.[Ch]: to here
2101 * frontends/screen.C:
2102 * insets/insettabular.C:
2103 * insets/insettext.C: adjust
2104 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2106 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2109 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2111 2003-08-26 André Pönitz <poenitz@gmx.net>
2113 * paragraph_func.[Ch] (outerPar): new function
2116 * paragraph_funcs.C:
2117 * paragraph_funcs.h:
2118 * paragraph_pimpl.C:
2119 * text2.C: remove Inset::par_owner
2121 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2126 * text2.C: eliminates the needFullRow/display() stuff
2127 altogether, putting the logic in metrics/draw in the insets.
2129 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2131 * text2.C (redoParagraphInternal, redoParagraphs):
2132 * text.C (redoParagraph): add a call to updateRowPositions at the
2133 end of each 'metrics-like' call. Remove all others.
2134 (getRow): remove the 'y-computing' version.
2135 (getRowNearY): do not compute nor return the real y. Solve the
2136 'y < 0' problem and simplify.
2138 2003-08-22 Angus Leeming <leeming@lyx.org>
2140 * *.[Ch]: clean-up of licence and author blurbs.
2141 Also move config.h out of a few .h files and into a few .C files.
2143 2003-08-22 André Pönitz <poenitz@gmx.net>
2145 * lyxrow.[Ch]: add x_ and *fill_ members
2150 * text2.C: adjust/remove prepareToPrint() calls
2152 2003-08-22 André Pönitz <poenitz@gmx.net>
2154 * lyxrow.[Ch]: add end_ member
2156 * lyxrow_funcs.C: use LyXRow::end_
2158 * lyxtext.h (singleWidth): add LyXFont parameter
2161 * text2.C: adjust LyXText::singleWidth() calls
2163 * text.C (redoParagraph): simplify row breaking logic
2166 2003-08-19 André Pönitz <poenitz@gmx.net>
2168 * funcrequest.C: initialize button_ member
2171 * rowpainter.[Ch]: interface consolidation
2173 2003-08-18 André Pönitz <poenitz@gmx.net>
2176 * BufferView_pimpl.C:
2178 * paragraph_funcs.C:
2180 * text3.C: remove LyXScreen::draw() and fitCursor calls
2182 * BranchList.h: remove spurious semicolons
2184 * MenuBackend.C: fix branchlist related crash
2186 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2194 * bufferparams.[Ch]:
2198 * text3.C: implements the 'branch inset'
2199 idea. This allows the output of various versions of a document
2200 from a single source version, selectively outputing or suppressing
2201 output of parts of the text.
2202 This implementation contains a 'branch list editor' in a separate
2203 tab of the document settings dialog. Branches are user definable
2204 and have a "display colour" to distinguish them on-screen.
2206 ColorHandler was somewhat cleaned up.
2207 (1) make possible a dynamically growing LColor list by allowing
2208 the graphic context cache to grow along (vector);
2209 (2) eliminate an IMHO unnecessary step in colour allocation.
2211 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2213 * BufferView_pimpl.C: compile fix
2215 2003-08-15 André Pönitz <poenitz@gmx.net>
2217 * rowpainter.C: remove extra metrics calls
2219 * lyxtext.h: merge the two constructors into a single one,
2220 pass reference to owner's par list
2222 * BufferView_pimpl.C:
2226 2003-08-15 André Pönitz <poenitz@gmx.net>
2228 * lyxrow_funcs.[Ch]:
2231 * paragraph_funcs.C:
2236 * text_funcs.C: split LyXText::rowlist_ into individual
2237 Paragraph::rows_ chunks
2240 * BufferView_pimpl.[Ch]:
2243 * text3.C: remove toggleSelection()
2245 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2247 * bufferlist.C: beautify two alerts (shorter text of buttons)
2248 * buffer.C: Remove redundant ' ' from message
2250 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2251 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2252 rename VALIGN_CENTER to VALIGN_MIDDLE
2254 2003-08-11 André Pönitz <poenitz@gmx.net>
2256 * lyxtext.h (getPar):
2257 * text.C: new function
2259 2003-08-11 André Pönitz <poenitz@gmx.net>
2262 * tracer.[Ch]: remove unneeded files
2264 * InsetList.[Ch]: remove resizeInsetsLyXText()
2269 * text3.C: merge insertParagraphs() and appendParagraph()
2270 remove breakAgain(), update()
2272 * BufferView_pimpl.[Ch]:
2273 * bufferview_funcs.[Ch]:
2277 * tabular.C: adjust after text & InsetList changes.
2279 2003-08-08 André Pönitz <poenitz@gmx.net>
2281 * text.C (insertChar, backspace): replace rowlist fiddling
2282 with rebreak of full par
2285 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2286 checkParagraph, updateInset): removed
2288 2003-08-07 André Pönitz <poenitz@gmx.net>
2291 * text3.C: merge some LFUN handlers, remove dead code
2293 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2295 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2297 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2299 * text2.C (DEPM): fix part of bug 1255 and 1256
2301 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2303 * BufferView_pimpl.C (workAreaDispatch): change to use
2304 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2305 that are no mouse related.
2307 2003-08-05 André Pönitz <poenitz@gmx.net>
2310 * BufferView_pimpl.[Ch]:
2311 * bufferview_funcs.C:
2313 * text3.C: rip out "deep update"
2315 * textcursor.[Ch] (last_sel_cursor): remove unused member
2317 2003-08-04 André Pönitz <poenitz@gmx.net>
2320 * BufferView_pimpl.[Ch]:
2321 * ParagraphParameters.C:
2322 * bufferview_funcs.C:
2328 * text3.C: replace "complicated" BufferView::update(...) calls with
2331 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2333 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2335 * Makefile.am (lyx_SOURCES): add paper.h
2337 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2339 * Makefile.am: move things around so that both lyx-qt and
2340 lyx-xforms can be built (according to --with-frontend). Then lyx
2341 is a symbolic link to lyx-[firstfrontend]
2343 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2345 * Always use std::endl with lyxerr
2347 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2349 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2351 2003-08-01 André Pönitz <poenitz@gmx.net>
2354 * BufferView_pimpl.[Ch]:
2356 * text3.C: merge BufferView::repaint() and BufferView::update()
2358 2003-08-01 José Matos <jamatos@lyx.org>
2360 * buffer.[Ch]: file_format is no longer a buffer data element.
2362 2003-08-01 André Pönitz <poenitz@gmx.net>
2367 * text2.C: make redoParagraph more independent of current cursor
2369 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2371 * text2.C: remove unneeded members
2373 2003-07-30 André Pönitz <poenitz@gmx.net>
2375 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2377 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2378 create a single function...
2380 * paragraph_funcs.C (moveItem): ... here.
2383 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2385 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2387 * LColor.[Ch]: Add comment and greyedout logical colors.
2389 2003-07-30 André Pönitz <poenitz@gmx.net>
2391 * tabular.C: don't use Assert too heavily. This crashes where it
2394 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2396 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2397 is disabled (bug 1232)
2399 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2401 * factory.C: limited 'arg' scope
2403 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2405 * factory.C: fixed Note submenu issues
2407 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2409 * factory.C: submenu for Note/Comment/Greyedout
2411 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2414 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2416 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2419 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2420 greyedout. Patch provided by Jürgen Spitzmüller.
2422 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2424 * kbmap.C (read): fix error message when reading bind files
2426 2003-07-29 Angus Leeming <leeming@lyx.org>
2428 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2429 certainly does not do what it purports to do. I am doing it, and
2430 us, a favour by killing it.
2432 2003-07-28 José Matos <jamatos@lyx.org>
2434 * buffer.C (readBody, do_writeFile):
2435 * paragraph.C(readParagraph): \end_document replaces \the_end.
2437 2003-07-29 André Pönitz <poenitz@gmx.net>
2440 * BufferView_pimpl.[Ch]:
2444 * textcursor.[Ch]: remove toggleToggle & Co
2446 2003-07-28 José Matos <jamatos@fep.up.pt>
2448 * buffer.C (readParagraph):
2449 * params_func (readParToken, readParagraph):
2450 * paragraph.C (write): \layout -> \begin_layout.
2452 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2454 * lyxlex_pimpl.C (setFile): clean up slightly.
2456 * bufferparams.h: add compressed var
2458 * buffer_funcs.C (readFile): adjust for LyXLex change
2459 (newFile): ditto + simplify
2461 * buffer.C (writeFile): handle writing of compressed files
2463 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2464 Check if the file is compressed and set a bufferparm if so.
2466 * Makefile.am (lyx_LDADD): remove explicit -lz
2468 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2470 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2471 makeDocBookFile): put the real LyX version in the first line of
2475 * version.C.in: remove lyx_docversion
2477 * tabular.C (write_attribute): add a template-based version to
2478 write enums properly
2480 2003-07-28 André Pönitz <poenitz@gmx.net>
2485 * text3.C: use doubles again for x-coordinates. They are needed.
2487 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2489 * messages.C (getLocaleDir): use lyx_localedir()
2491 * lyxlex_pimpl.C (setFile): compress stuff
2493 * buffer.C (writeFile): add some compression stuff
2494 (do_writeFile): new func, dont call expliti close... will this
2497 * Makefile.am (lyx_LDADD): add -lz
2499 2003-07-28 José Matos <jamatos@fep.up.pt>
2501 * buffer.C: increment file format.
2502 * paragraph_funcs (readParagraph, readParToken):
2503 * paragraph.C (readParagraph): add \end_layout.
2505 2003-07-27 Angus Leeming <leeming@lyx.org>
2507 * Makefile.am: remove special casing for configure-time setting of
2508 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2510 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2511 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2513 2003-07-26 André Pönitz <poenitz@gmx.net>
2515 * paragraph_func.[Ch]:
2516 * paragraph.C (realizeFont): inline it whereever it is used
2521 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2524 2003-07-26 André Pönitz <poenitz@gmx.net>
2528 * text2.C: get rid of LyXText::need_break_row
2530 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2532 * toc.[Ch]: put namespace toc inside namespace lyx
2534 * MenuBackend.C (expandToc2): adjust for lyx::toc
2537 * lyxfunc.C (dispatch): adjust for lyx::find
2539 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2540 lyx::find instead. Reorganize a bit.
2541 (LyXReplace): rename to replace
2542 (LyXFind): rename to find
2544 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2547 2003-07-26 André Pönitz <poenitz@gmx.net>
2549 * text.C (setHeightOfRow): restrict scope of temporary variable
2551 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2552 code (never has been used?)
2554 2003-07-27 Asger Alstrup <alstrup@local>
2556 * text.C (fill): Optimise algorithm to exploit that we can reuse
2557 the LyXFont for many characters.
2558 (setHeightOfRow): Same thing.
2559 (rowBreakPoint): Same thing.
2561 2003-07-26 Asger Alstrup <alstrup@local>
2563 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2565 * text.C (singleWidth): Spurious font copying in hot-spot
2566 singleWidth avoided. Reorder tests for arabic for efficiency.
2568 * text.C (fill): handle empty paragraphs better.
2570 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2573 * encoding.h: add includes
2575 * lyxrc.C: remove reading of bind files
2577 * lyx_main.C (init): setup bindings and menus only if we have a
2580 * kbmap.C (read): new method. Do the actual reading of bind
2583 * converter.C (dvipdfm_options):
2586 (output): adapt PAPER_* enums.
2588 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2590 * bufferparams.h: remove paper-related enums from there
2592 * paper.h: New file. A trivial header file to hold paper-related
2593 enums. It should later expand to contain many paper-related
2596 * lyxrc.C: declare extern displayTranslator
2598 2003-07-27 José Matos <jamatos@fep.up.pt>
2600 * tabular.[Ch] (linuxdoc): add support for tables and figures
2603 2003-07-27 José Matos <jamatos@fep.up.pt>
2605 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2606 consistency in both functions.
2607 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2609 2003-07-26 Asger Alstrup <alstrup@local>
2611 * rowpainter.C (paintRows): Change algorithm to work directly on
2612 the insets rather than asking every character in the document
2613 whether its an inset.
2615 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2617 * buffer.C (openFileWrite): factorize some code
2619 2003-07-26 Angus Leeming <leeming@lyx.org>
2622 * lyx_main.[Ch]: replace occurances of system_tempdir with
2625 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2627 * rename Inset to InsetOld
2629 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2631 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2632 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2633 which I think is a bit clearer. EDIT is gone, since it was
2634 premature optimisation, and broken for mathed anyway.
2635 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2636 with cursor positioning in insets as well (math insets still do not
2637 work, but that's a different story anyway.) It mysteriously
2638 crashes sometimes with undo in the first paragraph, but I'm fairly
2639 confident that this is a compiler bug.
2641 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2643 * paragraph.C (Paragraph): adjust for new clone return type
2645 (copyIntoMinibuffer): ditto
2647 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2649 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2650 by not having a special case, and always doing a full rebreak of
2651 the document after undo.
2653 2003-07-23 Angus Leeming <leeming@lyx.org>
2655 * factory.C (createInset): InsetExternal::setParams now takes a
2658 2003-07-23 Angus Leeming <leeming@lyx.org>
2660 * factory.C (createInset): changed interface to the external and
2661 graphics mailers' string2params functions.
2663 2003-07-23 Angus Leeming <leeming@lyx.org>
2665 * factory.C (createInset): pass a
2666 Buffer const * parameter to InsetExternalMailer's string2params.
2668 2003-07-22 John Levon <levon@movementarian.org>
2670 * Thesaurus.h: include the right aiksaurus header
2672 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2674 * MenuBackend.C (expand): check menu shortcuts unconditionally
2676 2003-07-21 Angus Leeming <leeming@lyx.org>
2678 * factory.C (createInset): pass a
2679 buffer_path parameter to InsetGraphicsMailer's string2params.
2681 2003-07-21 Angus Leeming <leeming@lyx.org>
2683 * BufferView_pimpl.C (buffer):
2686 * lyxfunc.C (dispatch):
2687 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2688 rather than the grfx shortcut.
2690 2003-07-21 André Pönitz <poenitz@gmx.net>
2692 * rowpainter.C: remove unused variables
2695 * tabular_funcs.h: move to tabular.C
2696 * Makefile.am: adjust
2698 * tabular.[Ch]: basic optical cleaning
2700 * author.h: pass references, not values
2702 2003-07-18 André Pönitz <poenitz@gmx.net>
2710 * text3.C: two-phase drawing for InsetText and InsetTabular
2711 some float -> int changes.
2713 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2715 * lyx_main.C: fix the fix
2717 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2719 * lyx_main.C: fix a crash in batch mode if no files specified
2722 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2724 * format.[Ch] (papersize): moved to BufferParams
2725 * converter.[Ch] (dvips_options): moved to BufferParams
2726 (dvipdfm_options): moved to anon namespace
2727 * bufferparams.[Ch]: added above functions.
2729 2003-07-17 André Pönitz <poenitz@gmx.net>
2733 * text2.C: don't call inset->update() anymore
2735 * metricsinfo.[Ch]: add convenience constructor
2737 2003-07-16 André Pönitz <poenitz@gmx.net>
2742 * text2.C: replace the LyXCursor::irow_ member with
2743 on-demand computation of the value
2745 2003-07-16 John Levon <levon@movementarian.org>
2747 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2749 2003-07-15 André Pönitz <poenitz@gmx.net>
2752 * text2.C: remove no more needed refresh_row
2754 2003-07-15 André Pönitz <poenitz@gmx.net>
2759 * text3.C: refresh_status tristate -> need_update bool
2761 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2763 * lyxtext.h (init): remove reinit argument (act as if always true)
2764 * text2.C: adjust to that
2766 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2768 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2769 * text3.C: use it to delete selections in some cases
2770 (bugs 441, 673, 702, 954).
2772 2003-07-14 André Pönitz <poenitz@gmx.net>
2774 * rowpainter.[Ch]: reduce interface
2776 2003-07-14 André Pönitz <poenitz@gmx.net>
2778 * BufferView_pimpl.C:
2779 * text2.C: adjust after removing unused BufferView * argument
2781 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2783 * text2.C (init): fix a crash fired on resize
2785 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2787 * buffer.[Ch]: added new closing signal
2788 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2789 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2790 BufferView::Pimpl via the closing the signal
2792 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2794 * buffer.[Ch]: take out all bv-related from buffer
2796 * BufferView_pimpl.[Ch]: connect to new signals
2797 * CutAndPaste.C: removed useless asserts
2798 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2801 * lyxfunc.C: moved view-related funciontality from vc here
2802 * paragraph.C: removed outdated comments
2805 2003-07-10 André Pönitz <poenitz@gmx.net>
2807 * BufferView_pimpl.C:
2811 * text2.C: remove InsetText::InnerCache, clean up consequences
2813 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2815 * ispell.C: fix two typos in error messages
2817 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2819 * Extend Note inset to other forms of annotation like Comment
2820 and Greyedout. Right button click gives dialog.
2822 Files modified or added (+):
2826 * ControlNote.[Ch] +
2828 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2829 frontends/controllers
2833 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2835 * aspell.C: add missing namespace lyx::support
2837 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2839 * BufferView.[Ch] (newFile): Add
2840 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2841 * LaTeX.[Ch] (message): added this signal and use it
2842 * buffer.[Ch] (busy, message): added these signals and use them
2843 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2847 * importer.C: use buffer signals instead of direct bv calling
2848 * lyx_cb.[Ch] (ShowMessage): removed
2851 * paragraph_funcs.C:
2852 * text2.C: use buffer signals
2854 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2856 * introduce namespace lyx::graphics
2858 2003-07-02 André Pönitz <poenitz@gmx.net>
2860 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2862 2003-07-01 André Pönitz <poenitz@gmx.net>
2869 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2870 text*.C to text_func.C
2872 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2874 * introduce namespace lyx::support
2876 2003-06-30 André Pönitz <poenitz@gmx.net>
2881 * text.C: re-enable --with-included-string
2883 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2885 * textcursor.C: add <config.h>
2887 * text.C (getWord): remove const from word_location arg
2889 * lyxvc.C (getLogFile): fix const type order
2891 * lyxtext.h: remove const from word_location arg, add arg name
2893 * lyxlayout.h: currect type on labeltype.
2895 * importer.C: correct \file
2897 * converter.C (intToFormat): use std:: on ret val, ws changes
2899 * bufferlist.h: correct \file
2901 * buffer.C (makeLinuxDocFile): fix const type order
2902 (makeDocBookFile): ditto
2903 (fillWithBibKeys): use std:: on stdlib args.
2905 * CutAndPaste.C: fix authors.
2906 (availableSelections): use std:: on return vector
2908 2003-06-27 André Pönitz <poenitz@gmx.net>
2910 * BufferView_pimpl.C:
2911 * bufferview_funcs.C:
2919 * text3.C: remove LyXCursor::row_ member
2922 * text.C: rename fullRebreak() to partialRebreak() and implement
2923 a fullRebreak() that really bereks fully
2925 * textcursor.h: new struct for cursor-related data
2927 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2929 * lyx_main.C (LyX): get full path of document loaded on the
2932 2003-06-26 André Pönitz <poenitz@gmx.net>
2934 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2935 remove unused/broken operator>,<,>=.
2937 * text.C: remove only use of broken operator<= in an Assert().
2939 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2941 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2942 moved errorlist_.clear to showErrorList
2944 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2946 * converter.C (scanLog, runLaTeX):
2947 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2948 move the bv->showErrorList call to the callers
2949 * lyxfunc.C: i.e. here...
2951 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2952 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2953 namespace, the second to...
2954 * buffer_funcs (BufferFormat, parseErrors): added
2955 * errorlist.C (ErrorList(TeXErrors const &)): removed
2957 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2959 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2961 2003-06-24 "Garst R. Reese" <reese@isn.net>
2965 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2967 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2969 * version.C.in: change docversion to 1.4
2971 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2973 * buffer.C: fix a bug just introduced
2975 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2977 * buffer.[Ch]: added the parseError signal and use it, removed
2979 * BufferView.[Ch] (addError): moved to ...
2980 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2981 to the Buffer::parseError signal to catch (guess what) parse errors
2982 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2984 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2986 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2987 ability to create a buffer and to return an existing one from
2988 the list. Moved these functions to...
2989 * buffer_funcs.[Ch]: added
2990 * BufferView.[Ch] (loadLyXFile): added
2991 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2992 job removed from bufferlist::loadLyXFile.
2993 * buffer.C (setReadOnly): make it work without view
2994 (i.e added an if (users))
2996 2003-06-19 Angus Leeming <leeming@lyx.org>
2999 * LyXAction.C (init):
3000 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3001 with LFUN_DIALOG_SHOW <name> <data>.
3003 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3005 * CutAndPaste.C (availableSelections): small compilation fix for
3006 ancient (gcc 2.9x) compilers
3008 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3010 * text3.C (cursorNext): add tmp var
3012 * text2.C (updateCounters): for function calling out of for clause
3013 (replaceSelectionWithString): ditto
3014 (insertStringAsParagraphs): ditto
3015 (getColumnNearX): add tmp var
3016 (setCursorFromCoordinates): add tmp var
3017 (cursorDownParagraph): add tmp var
3018 (deleteEmptyParagraphMechanism): add tmp var
3020 * text.C (insertChar): add tmp var
3022 * rowpainter.C (paintDepthBar): add tmp var
3024 * CutAndPaste.C (availableSelections): potentially check all
3025 paragraphs in a cut to fill the shown strings.
3027 2003-06-18 André Pönitz <poenitz@gmx.net>
3029 * kbmap.[Ch]: use vector<> instead of list<>
3031 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3033 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3034 pasteSelection with index
3036 * text2.C (pasteSelection): modify, call pasteSelection with index
3038 * paragraph.C (asString): reimplement version with no interval to
3039 call the one with interval.
3041 * lyxtext.h: add index arg to pasteSelection
3043 * MenuBackend.C (MenuItem): handle PasteRecent
3044 (Menu::read::Menutags): add md_pasterecent
3046 (expandPasteRecent): new function
3049 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3051 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3053 (availableSelections): new function
3055 2003-06-17 Angus Leeming <leeming@lyx.org>
3057 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3059 2003-06-17 Angus Leeming <leeming@lyx.org>
3062 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3064 * lyxfunc.C (dispatch): invoke it.
3066 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3068 * iterators.C (operator++, ParPosition): reintroduce some
3069 const_cast for the benefit of older compilers.
3071 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3073 * text3.C (dispatch): do not modify clipboard when doing
3074 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3075 LFUN_DELETE_SKIP on a selection selection
3077 2003-06-16 André Pönitz <poenitz@gmx.net>
3083 * tabular.[Ch]: IU of clone() and getLabelList();
3085 2003-06-13 André Pönitz <poenitz@gmx.net>
3087 * tabular.h: compactification
3089 2003-06-12 André Pönitz <poenitz@gmx.net>
3093 * tabular_funcs.h: some renaming plus whitespace
3095 2003-06-12 André Pönitz <poenitz@gmx.net>
3098 * BufferView_pimpl.C:
3104 * toc.C: Return a Paragraph & for ParIterator::operator*()
3106 2003-06-11 John Levon <levon@movementarian.org>
3110 * ToolbarBackend.C: add "Toolbars" section and
3113 2003-06-10 Angus Leeming <leeming@lyx.org>
3116 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3118 * lyxfunc.C (dispatch): invoke it.
3120 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3122 * main.C: protect <ios> with HAVE_IOS
3123 (main): protect sync_with_stdio with HAVE_IOS
3125 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3127 * text2.C (cutSelection): adjust
3128 (pasteSelection): adjust
3130 * messages.C: handle get of empty string
3132 * main.C (main): use sync_with_stdio(false)
3134 * lyxfunc.C (dispatch): adjust
3136 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3137 (WriteAs): remove unneeded BufferView arg.
3139 * bufferparams.h: use correct types on papersize, papersize2 and
3142 * bufferparams.C (readToken): adjust for type
3143 (writeLaTeX): add missing cases to switch.
3145 * bufferlist.C (quitWriteBuffer): adjust
3148 * buffer.C (asciiParagraph): remove some commented code.
3150 * CutAndPaste.C: remove current_view extern variable.
3151 (cutSelection): add BufferParams arg.
3152 (eraseSelection): add BufferParams arg.
3153 (pasteSelection): add Buffer const & arg
3155 2003-06-07 John Levon <levon@movementarian.org>
3158 * paragraph_funcs.C:
3159 * paragraph_pimpl.C:
3163 * paragraph.C: allow InsetERT to freely space lines,
3164 and some consolidation of code
3166 2003-06-06 José Matos <jamatos@fep.up.pt>
3168 * buffer.C (makeDocBookFile): fix bug #821
3170 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3172 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3174 2003-06-04 Angus Leeming <leeming@lyx.org>
3176 * buffer.C: bump format to 224.
3178 2003-06-05 André Pönitz <poenitz@gmx.net>
3180 * text2.C (redoParagraphs): remove two const_cast<>
3182 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3184 * ParagraphList.h: remove last remnants of NO_STD_LIST
3186 2003-06-03 Angus Leeming <leeming@lyx.org>
3188 * factory.C (createInset): small change to the way InsetExternal's params
3191 2003-06-04 André Pönitz <poenitz@gmx.net>
3193 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3195 * paragraph_pimpl.h:
3196 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3198 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3200 * undo_funcs.C: make some simple cases of undo work again
3202 2003-06-03 John Levon <levon@movementarian.org>
3204 * ispell.C: HPUX doesn't have sys/select.h
3207 2003-06-03 John Levon <levon@movementarian.org>
3209 * CutAndPaste.C: update tabular and include inset
3214 * paragraph.C: remove owningBuffer(), don't pass Buffer
3217 * factory.C: insetGraphicsParams changed
3219 2003-06-02 John Levon <levon@movementarian.org>
3225 * text3.C: remove insetparent
3227 2003-06-02 John Levon <levon@movementarian.org>
3230 * buffer.C: fix inset_iterator.end(), move out of line
3233 2003-06-01 John Levon <levon@movementarian.org>
3235 * text3.C: use a proper cut/paste when doing inset
3236 insert (from Jürgen Spitzmüller)
3238 2003-06-01 John Levon <levon@movementarian.org>
3240 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3242 2003-05-30 André Pönitz <poenitz@gmx.net>
3244 * rowpainter.C: unify second drawing phase
3246 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3248 * trans_mgr.C: remove one case of current_view
3250 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3252 * paragraph_funcs.h: remove paragraph.h include
3254 * paragraph.h: delete NO_STD_LIST stuff
3256 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3258 * buffer.h: remove paragraph.h include
3260 * ParagraphList.C: delete file
3262 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3264 * toc.C (getTocList): adjust
3266 * paragraph_pimpl.C (validate): adjust
3268 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3270 * paragraph.C (Paragraph): adjust
3271 (getPositionOfInset): use const_iterator, adjust
3272 (bibitem): use const_iterator, adjust
3273 (setInsetOwner): adjust
3275 * iterators.C (operator++): adjust
3277 * InsetList.[Ch]: Replace selfmade iterator with standard
3278 vector::iterator also introduce const_iterator. Remove getPos,
3279 getInset and setInset from InsetTable. Adjust accordingly.
3281 * BufferView.C (lockInset): adjust
3282 (ChangeInsets): adjust
3284 * tabular.[Ch]: delete commented same_id functions
3286 2003-05-28 John Levon <levon@movementarian.org>
3288 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3290 2003-05-28 André Pönitz <poenitz@gmx.net>
3292 * metricsinfo.[Ch]: remove 'fullredraw' member
3294 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3296 * lyxtextclass.C (operator): remove caching.
3298 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3302 * text2.C (cursorBottom): adjust
3303 (setCounter): use ParagraphList::find, adjust
3305 * text.C (workWidth): use ParagraphList::find, adjust
3307 * lyxcursor.C (LyXCursor): adjust
3309 * buffer.C (inset_iterator): adjust
3311 * ParagraphList.h: make iterator(value_type) private, make
3312 ParagraphList a friend of iterator.
3314 * ParagraphList.C (find): new function
3316 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3318 2003-05-27 André Pönitz <poenitz@gmx.net>
3320 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3322 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3324 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3326 2003-05-26 John Levon <levon@movementarian.org>
3328 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3330 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3332 * remove same_id from function signatures, adjust.
3334 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3336 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3338 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3340 * paragraph.C (Paragraph): get rid of same_ids parameter
3342 * ParagraphList.C (insert): adjust
3345 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3347 * paragraph_funcs.C (breakParagraph): adjust
3348 (breakParagraphConservative): adjust
3350 * buffer.C (readParagraph): adjust
3352 * ParagraphList.C (insert): take a reference instead of a pointer
3355 * paragraph.[Ch] (id): new function
3357 * bufferlist.C (newFile): adjust
3359 * ParagraphList.C (ParagraphList): adjust
3361 (push_back): take a reference instead of a pointer.
3363 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3365 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3368 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3369 set else use old code.
3371 * ParagraphList.C: remove all NO_NEXT code and only compile this
3372 code of NO_STD_LIST is set.
3374 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3376 * BufferView_pimpl.C:
3386 * graphics/GraphicsConverter.C:
3387 * graphics/PreviewLoader.C: header adjustment
3389 2003-05-23 Angus Leeming <leeming@lyx.org>
3391 * LaTeXFeatures.[Ch] (useBabel): new method.
3392 * bufferparams.C (writeLaTeX): use it.
3394 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3396 * ParagraphList.h (set): remove unused function.
3398 2003-05-23 André Pönitz <poenitz@gmx.net>
3401 * BufferView_pimpl.C:
3405 * undo_funcs.C: setUndo reworked
3407 * iterators.[Ch]: add access to topmost ParagraphList
3409 * lyxtext.[Ch] (workWidth): add a const
3411 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3413 * texrow.[Ch] (increasePos): remove function
3414 * exporter.C (export): removed unused var and outdated comment
3416 2003-05-23 Angus Leeming <leeming@lyx.org>
3418 * latexrunparams.h: rename fragile as moving_arg.
3419 * paragraph.C (simpleTeXOnePar): ditto.
3420 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3422 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3424 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3426 (textUndoOrRedo): comment out a currently unused var.
3428 * paragraph.h (NO_NEXT): enable NO_NEXT
3430 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3432 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3434 * exporter.C (Export): adjust for removeAutoInsets removal.
3436 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3438 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3440 * BufferView.[Ch] (removeAutoInsets): delete function
3442 2003-05-22 Angus Leeming <leeming@lyx.org>
3444 * latexrunparams.h: add a free_spacing variable.
3446 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3447 to pass moving_arg, as the data is stored in runparams.fragile.
3449 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3450 to Inset::latexOptional or to simpleTeXOnePar.
3452 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3453 free_spacing arg to Inset::latexOptional.
3455 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3458 2003-05-22 Angus Leeming <leeming@lyx.org>
3460 * latexrunparams.h: add fragile and use_babel variables.
3462 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3463 * buffer.C (makeLaTeXFile): store this returned value in
3464 runparams.use_babel, thus passing it to the inset::latex methods.
3466 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3467 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3469 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3470 longer has a fragile arg, as it is stored in runparams.fragile.
3472 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3473 moving_arg parameter as the data is stored in runparams.fragile.
3475 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3476 a fragile parameter as the data is stored in runparams.fragile.
3478 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3480 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3482 2003-05-22 Angus Leeming <leeming@lyx.org>
3484 * latexrunparams.h: add a 'bool nice' which defaults to false.
3486 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3487 now encapsulated within runparams.
3489 * bufferlist.C (updateIncludedTeXfiles):
3490 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3492 2003-05-22 Angus Leeming <leeming@lyx.org>
3494 * latexrunparams.h: new file containing struct LatexRunParams.
3495 * Makefile.am: add new file.
3497 * LaTeX.[Ch] (c-tor, run):
3498 * buffer.[Ch] (makeLaTeXFile):
3499 * bufferlist.[Ch] (updateIncludedTeXfiles):
3500 * converter.C (convert, scanLog):
3501 * converter.[Ch] (runLaTeX):
3502 * exporter.C (Export):
3503 * paragraph.[Ch] (simpleTeXOnePar):
3504 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3505 * paragraph_funcs.[Ch] (latexParagraphs):
3506 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3507 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3508 pass around a LatexRunParams parameter.
3510 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3512 * paragraph.[Ch]: remove unused constructor
3514 * ParagraphList.C (erase): new function, taking two iterators
3516 2003-05-22 André Pönitz <poenitz@gmx.net>
3518 * undo_funcs.C: remove duplicated code
3520 * iterator.[Ch]: operator=
3522 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3524 * tabular.C (SetMultiColumn): ws changes
3526 * rowpainter.C (paintFirst): get rid of a ->previous
3528 * lyx_cb.C (getPossibleLabel): parlist simplification
3530 * BufferView.C (ChangeInsets): simplify slightly.
3532 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3534 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3535 * lfuns.h: new LFUN_SPACE
3536 * lyxfunc.C: protected space has a new lfun
3537 * paragraph_funcs.C: read new space insets
3539 * factory.C: handle new space insets
3541 2003-05-22 André Pönitz <poenitz@gmx.net>
3544 * BufferView_pimpl.C:
3547 * undo_funcs.C: return a ParIterator from getParFromID.
3549 * iterators.[Ch]: add two const's
3551 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3553 * toc.C (getTocList): adjust
3555 * iterators.[Ch]: rework for parlist
3557 * buffer.C (par_iterator_begin): adjust
3558 (par_iterator_end): adjust
3560 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3562 * BufferView.C (removeAutoInsets): adjust
3563 (ChangeInsets): adjust
3565 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3567 * text.C (top_y): fix bug 1110
3569 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3571 * errorlist.[Ch]: added
3574 * BufferView_pimpl.C:
3575 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3578 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3580 * Makefile.am: ensure that lyx is relinked upon changes to the
3581 various "convenience" libs.
3583 2003-05-20 Angus Leeming <leeming@lyx.org>
3585 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3586 files are compiled in alphabetical order again.
3588 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3590 2003-05-19 Angus Leeming <leeming@lyx.org>
3592 * gettext.[Ch]: remove "char const * _(char const *)".
3594 2003-05-19 André Pönitz <poenitz@gmx.net>
3596 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3605 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3607 2003-05-19 André Pönitz <poenitz@gmx.net>
3611 * lyxtextclass.[Ch]:
3613 * paragraph_funcs.[Ch]:
3615 * text3.C: more insetenv work
3617 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3619 * ParagraphParameters.C (params2string): small bug fixed
3621 2003-05-16 André Pönitz <poenitz@gmx.net>
3624 * bufferview_funcs.C: patch from Kornel Benko to prevent
3625 crash when _(...) is called twice in a statement
3627 2003-05-16 André Pönitz <poenitz@gmx.net>
3634 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3636 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3638 * lyx_main.C (init): remove spurious static_cast
3640 2003-05-14 André Pönitz <poenitz@gmx.net>
3642 * BufferView.C: fix format string
3644 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3646 * BufferView.[Ch] (insertErrors): removed
3647 * BufferView.[Ch] (showErrorList): added
3648 * buffer.C (runChkTeX):
3649 * converter.C (scanLog): call showErrorList instead of inserterrors
3651 2003-05-13 André Pönitz <poenitz@gmx.net>
3653 * BufferView_pimpl.C:
3655 * bufferview_func.C:
3662 * tabular_funcs.h: tostr() from its own header
3664 * ParagraphParameters.C:
3669 * text3.C: STRCONV()
3671 2003-05-12 André Pönitz <poenitz@gmx.net>
3674 * BufferView_pimpl.C:
3678 * ParagraphParameters.C:
3682 * bufferview_funcs.C:
3695 * paragraph_funcs.C:
3699 * text3.C: boost::format -> bformat all over the place
3702 2003-05-09 André Pönitz <poenitz@gmx.net>
3704 * LColor.[Ch]: Pimpl the #include <map> away
3706 2003-05-09 John Levon <levon@movementarian.org>
3708 * bufferlist.C: never remove emergency saves
3710 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3712 * Makefile.am: better lib building
3714 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3716 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3718 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3719 (simpleTeXSpecialChars): adjust
3720 (simpleTeXSpecialChars): adjust
3721 * paragraph.C (simpleTeXOnePar): adjust
3722 * buffer.C (makeLaTeXFile): adjust
3724 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3726 * text2.C (changeDepth): parlist cleanup
3727 (getColumnNearX): ditto
3729 * rowpainter.C (getLabelFont): parlist cleanup
3731 * bufferlist.C (newFile): parlist cleanup
3733 * CutAndPaste.C (eraseSelection): parlist cleanup
3735 * BufferView_pimpl.C (trackChanges): parlist cleanup
3738 * BufferView.C (lockInset): parlist cleanup.
3739 (ChangeInsets): ditto
3741 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3743 * CutAndPaste.h: Update file header.
3745 * CutAndPaste.C: Update file header.
3746 Store the parts cut out of the Document in a limited_stack.
3747 (copySelection): adjust
3748 (pasteSelection): new function, takes the index in the limited stack.
3749 (nrOfParagraphs): adjust
3750 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3751 simplify error inset insertion.
3752 (checkPastePossible): adjust
3754 2003-05-06 John Levon <levon@movementarian.org>
3756 * text2.C: don't cast wrap inset to float
3758 2003-05-05 André Pönitz <poenitz@gmx.net>
3761 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3763 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3764 few naked Paragraph *.
3766 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3768 * bufferparams.C: Output warning if a document with missing
3769 TeX document class is loaded
3770 * exporter.C: Disable TeX exports if the document class is missing
3773 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3774 isTeXClassAvailable()
3776 2003-05-03 John Levon <levon@movementarian.org>
3779 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3780 explicit cursor show/hide
3782 * BufferView_pimpl.h:
3783 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3784 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3786 * lyxfunc.C: hide cursor before dispatching.
3791 * text3.C: remove explicit cursor hides
3793 2003-05-02 André Pönitz <poenitz@gmx.net>
3795 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3798 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3801 * text2.C: tiny whitespace
3803 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3805 * undo_funcs.C: almost only ws changes.
3807 * ParagraphList.C (splice): just return if pl is empty.
3809 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3811 * ParagraphList.C (splice): new function.
3813 * CutAndPaste.C (pasteSelection): use it
3815 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3817 * CutAndPaste.C (pasteSelection): remove the last next and
3818 previous from this file.
3820 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3822 * CutAndPaste.C (pasteSelection): more clean up, user proper
3823 ParagraphList functions for pasteing.
3825 * ParagraphList.C (insert): new function, three arg insert
3827 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3829 * ParagraphList.C (insert): new function, three arg insert
3831 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3834 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3836 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3838 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3840 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3842 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3844 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3845 (copySelection): clean up a bit.
3846 (pasteSelection): use make_pair
3848 * ParagraphList.C (ParagraphList): implement copy constructor
3849 (operator=): implement, base on copy constructor.
3852 * paragraph.C (erase): return a bool
3854 * paragraph_pimpl.C (erasePos): remove function, move contents...
3855 (erase): ... here. Return a bool.
3856 (erase): call erase instead of erasePos.
3858 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3860 * ParagraphList.h: define PitPosPair
3861 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3862 ParagraphList, fix a bug on pasting multiple pars
3863 * text2.C: change interface to C&P
3865 2003-04-30 André Pönitz <poenitz@gmx.net>
3867 * undo_func.C: revert part of yesterday's patch 2
3869 2003-04-30 John Levon <levon@movementarian.org>
3871 * LColor.C: s/tabular/table/
3873 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3875 * text3.C (dispatch): do not convert iterator -> pointer
3876 * undo_funcs.C (setCursorParUndo): ditto
3877 * text_funcs.C (transposeChars): ditto
3879 * text2.C (setLayout): ws changes only
3881 * text.C (breakParagraph): do not convert iterator -> pointer
3883 (acceptChange): ditto
3884 (rejectChange): ditto
3889 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3892 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3894 * text3.C (gotoInset): YABG (yet another bad getChar)
3896 2003-04-29 André Pönitz <poenitz@gmx.net>
3898 * paragraph.h: make operator= private unimplemented as long as
3901 * ParagraphList.C: whitespace
3904 * paragraph_pimpl.[Ch]:
3905 * paragraph_funcs.C:
3907 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3910 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3912 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3914 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3915 * paragraph.[Ch] (erase):
3916 * paragraph_pimpl.[Ch] (erase): change return type and value
3917 * text2.C (cutSelection): some rework
3919 2003-04-28 John Levon <levon@movementarian.org>
3921 * bufferlist.C: changes for unsaved changes dialog
3923 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3925 * bufferlist.C (newFile): set language (messages_) for new
3928 * buffer.C (readFile): ws changes only.
3930 2003-04-28 André Pönitz <poenitz@gmx.net>
3935 * BufferView_pimpl.C:
3936 * BufferView.C: getParFromID related ParagraphList::iterator changes
3938 2003-04-28 André Pönitz <poenitz@gmx.net>
3940 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3943 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3945 * messages.C: remove one more localedir class variable.
3947 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3949 * messages.C (getLocaleDir): singleton generation function
3951 (Messages): add a default constructor.
3953 * main.C (main): do not setup localedir here, do not call
3956 * gettext.C (_): use it.
3957 (gettext_init): delete funciton
3959 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3961 * gettext.C (getLyXMessages): new singleton generating function.
3963 * buffer.C (updateDocLang): adjust
3965 * Makefile.am (messages.o): add target
3966 (main.o): remove target
3968 2003-04-27 John Levon <levon@movementarian.org>
3973 * lyxvc.C: specify cancel button in Alert::prompt
3975 2003-04-26 John Levon <levon@movementarian.org>
3980 * LyXAction.C: add LFUN_INSET_SETTINGS
3982 * lyxfunc.C: don't enable tabular-feature when there's
3983 just any locking inset
3985 2003-04-26 John Levon <levon@movementarian.org>
3987 * bufferlist.C: re-add Cancel to buffer close question
3989 * lyxfunc.C: fix import UI a bit
3991 2003-04-25 John Levon <levon@movementarian.org>
3993 * gettext.C: remove the broken asserts for now
3995 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3997 * messages.C: make case where setlocale cannot comply work better.
3999 * buffer.C (updateDocLang): new function
4000 (changeLanguage): use it
4003 * text2.C (setCounter): use B_ a bit.
4005 * lyxlayout.C (Read): be sure to trim the label strings.
4007 * messages.C (Messages): fix typo in comment
4009 * buffer.C (readFile): set message_ after file is loaded.
4010 (makeDocBookFile): remove double return
4011 (changeLanguage): reset message_ upon language change.
4012 (B_): new func, use this to get translated buffer strings.
4014 * main.C: add myself and Jean Marc as authors.
4016 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4018 * messages.[hC]: pimplify Messages, and three different pimpls to be
4019 used in different circumstances.
4021 * gettext.[Ch]: change for use with new message code.
4023 2003-04-24 André Pönitz <poenitz@gmx.net>
4025 * factory.C: support for eqref
4027 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4029 * messages.[Ch]: add missing char
4031 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4033 * messages.[Ch]: New files
4035 2003-04-18 John Levon <levon@movementarian.org>
4039 * BufferView_pimpl.C:
4043 * text2.C: remove layout-copy/paste (bug 778)
4045 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4047 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4049 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4051 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4052 if they succeed. Act accordingly.
4054 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4056 * text2.C (setCharFont): adjust
4057 (setCounter): adjust
4058 (insertStringAsLines): adjust
4060 * text.C (leftMargin): adjust
4061 (setHeightOfRow): adjust
4063 * rowpainter.C (paintFirst): adjust
4066 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4068 (isFirstInSequence): ditto
4069 (getEndLabel): ditto
4072 * paragraph.C (getParLanguage): comment out some hard stuff.
4074 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4076 (simpleDocBookOnePar): ditto
4077 (makeDocBookFile): use ParagraphList::iterator
4079 * CutAndPaste.C (pasteSelection): adjust
4081 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4083 * text2.C (getFont): adjust
4084 (getLayoutFont): adjust
4085 (getLabelFont): adjust
4087 * paragraph_funcs.C (TeXOnePar): adjust
4089 * buffer.C (simpleLinuxDocOnePar): adjust
4090 (simpleDocBookOnePar): adjust
4092 * CutAndPaste.C (pasteSelection): adjust
4094 * BufferView.C (getEncoding): adjust
4096 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4098 2003-04-16 John Levon <levon@movementarian.org>
4100 * lyxfind.C: use parlist stuff for search/changes
4102 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4104 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4106 * text2.C (deleteEmptyParagraphMechanism): adjust
4108 * text2.[Ch] (ownerParagraph): delete func (both of them
4110 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4112 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4114 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4116 * ParagraphList.C: prepare for NO_NEXT
4118 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4120 * text2.C (getFont): adjust
4121 (getLayoutFont): adjust
4122 (getLabelFont): adjust
4124 * paragraph.C (getFont): adjust
4125 (getLabelFont): adjust
4126 (getLayoutFont): adjust
4128 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4130 2003-04-15 John Levon <levon@movementarian.org>
4134 * lyx_main.C: handle Include in .ui files
4136 2003-04-15 John Levon <levon@movementarian.org>
4138 * MenuBackend.C: make the doc files length shorter
4141 * ToolbarBackend.C: handle toolbar placement flags,
4144 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4146 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4149 * paragraph_funcs.C (TeXOnePar): adjust
4151 * paragraph.C (getLabelFont): add outerfont arg, adjust
4152 (getLayoutFont): ditto
4153 (simpleTeXOnePar): adjust
4155 * paragraph_pimpl.C (realizeFont): delete func
4157 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4159 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4160 row argument, constify cur argument.
4162 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4164 * text2.C (getFont): adjust
4165 (getLayoutFont): adjust
4166 (getLabelFont): adjust
4168 * paragraph_funcs.C (TeXOnePar): adjust
4169 (outerFont): new func...
4170 (realizeFont): ...moved out from here, changed this to facilitate
4173 * paragraph.C (getFont): take outerfont as arg, adjust
4174 (simpleTeXOnePar): add outerfont arg, adjust
4176 * buffer.C (simpleLinuxDocOnePar): adjust
4177 (simpleDocBookOnePar): adjust
4179 * CutAndPaste.C (pasteSelection): adjust
4181 * BufferView.C (getEncoding): adjust
4183 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4185 * text2.C (setCharFont): adjust
4186 (setCounter): adjust
4188 * text.C (leftMargin): adjust
4189 (setHeightOfRow): adjust
4191 * rowpainter.C (paintFirst): adjust
4194 * paragraph_pimpl.C (realizeFont): adjust
4196 * paragraph.C (isFirstInSequence): move from here...
4197 * paragraph_funcs.C (isFirstInSequence): ...to here
4199 * paragraph.C (outerHook): move from here...
4200 * paragraph_funcs.C (outerHook): ...to here
4202 * paragraph.C (depthHook): move from here...
4203 * paragraph_funcs.C (depthHook): ...to here
4205 * paragraph.C (getEndLabel): move from here...
4206 * paragraph_funcs.C (getEndLabel): ...to here
4208 * text2.C (realizeFont): move from here...
4209 * paragraph_funcs.C (realizeFont): ...to here
4211 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4213 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4215 2003-04-14 Angus Leeming <leeming@lyx.org>
4217 * LColor.[Ch]: scrap LColor mathcursor.
4219 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4221 * lyxlex.[Ch] (text): delete function
4222 * trans.C (Load): adjust
4223 * paragraph_funcs.C (readParToken): adjust
4225 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4227 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4228 vector<char> instead of a char[].
4230 * lyxlex_pimpl.C (getString): adjust
4232 (lex): use getString
4236 * lyxlex.C (text): use pimpl_->getString()
4240 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4242 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4243 (makeFontEntriesLayoutSpecific): temp var for par.size()
4244 (setLayout): temp var for ownerParagraphs().end()
4245 (fullRebreak): temp var for rows().end()
4246 (selectionAsString): temp var for boost::next(startpit), realize
4247 that the while really is a regular for loop.
4248 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4249 setCursor in one place.
4250 (setParagraph): temp vr for ownerParagraphs().end()
4251 (updateCounters): make the while loop a for loop
4252 (cutSelection): temp var for ownerParagraphs().end()
4253 (updateInset): make the do {} while() a regular for loop
4254 (getCursorX): use temp vars
4255 (setCurrentFont): use temp vars
4256 (getColumnNearX): use temp vars
4258 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4260 * text.C (transformChar): use temp var for getChar
4261 (computeBidiTables): use temp var for row->par()
4262 (fill): move temp vars for row->par() and pit->layout() earlier in
4264 (labelFill): use temp var for row->par()
4265 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4266 asc and desc, realize that pit never changes and that firstpit is
4267 just a duplicate and not needed. Exchange rit->par() with pit in a
4269 (breakAgain): use a temp var for boost::next(rit)
4270 (breakAgainOneRow): ditto
4271 (breakParagraph): use a temp var for rows().begin()
4272 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4273 (cursorRightOneWord): use temp var for cursor.par() and
4274 cursor.pos(), remove usage of tmpcursor.
4275 (cursorLeftOneWord): use temp var for cursor.par() and
4276 cursor.pos() only set cur at end of function.
4278 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4280 * text.C, text2.C: exchange all usage of Paragraph::next with
4281 boost::next(ParagraphList::iterator)
4283 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4285 * text2.C (cursorTop): simplify implementation
4286 (cursorBottom): ditto
4287 (setParagraph): use ParagraphList::iterator
4288 (setCurrentFont): adjust
4289 (getColumnNearX): adjust
4290 (cursorRight): adjust
4291 (cursorLeft): remove usage of Paragraph::previous
4292 (cursorUpParagraph): ditto
4293 (deleteEmptyParagraphMechanism): slight cleanup
4295 * text.C (isBoundary): take a Paragraph const & instead of a
4297 (addressBreakPoint): ditto
4298 (leftMargin): remove usage of Paragraph::previous.
4299 (setHeightOfRow): ditto
4300 (cursorLeftOneWord): ditto
4301 (selectNextWordToSpellcheck): ditto
4304 (breakParagraph): remove one usage of Paragraph::next
4305 (redoParagraph): ditto
4306 (acceptChange): ditto
4307 (insertChar): adjust
4308 (rowBreakPoint): adjust
4310 * bufferview_funcs.C (toggleAndShow): adjust
4312 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4314 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4315 methods to access it.
4317 * text.C: Added updateRowPositions to compute all row positions.
4318 Make top_y and getRowNearY() to use the cached y position
4320 2003-04-11 John Levon <levon@movementarian.org>
4322 * text.C (rowBreakPoint): reintroduce the labelEnd
4323 checks, code copied from the row fill stuff. Deep voodoo.
4325 * text.C (fill): add a comment and debugging for the
4328 2003-04-11 John Levon <levon@movementarian.org>
4330 * text.C: make sure fullrow insets get wrapped to the next line,
4331 even when they're in a manual label
4333 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4335 * text2.C (insertParagraph): make it take ParagraphList::iterator
4337 (setLayout): make it return ParagraphList::iterator
4338 (redoParagraphs): ditto
4340 (checkParagraph): ditto
4342 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4344 * text2.C: adjust several funcs.
4345 (realizeFont): take a ParagraphList::iterator as arg.
4346 (getLayoutFont): ditto
4347 (getLabelFont): ditto
4348 (setCharFont): ditto
4350 * text.C: adjust several funcs.
4352 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4354 * text.C (selectNextWordToSpellcheck): don't accidentally
4357 2003-04-10 John Levon <levon@movementarian.org>
4359 * ToolbarBackend.C (getIcon): special handling for
4362 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4364 * text2.C (cursorRight): a getChar assert fixed
4366 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4368 * text2.C (getFont): change to take a ParagraphList::iterator
4369 instead of Paragraph*
4370 Adjust several functions.
4372 * text.C (transformChar): change to take a ParagraphList::iterator
4373 instead of Paragraph*
4374 (singleWidth): ditto
4375 Adjust several functions.
4377 * rowpainter.C: adjust several functions
4378 * rowpainter.h:store a ParagraphList::iterator and not a
4382 2003-04-09 John Levon <levon@movementarian.org>
4387 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4388 and the "help" bits as well
4390 2003-04-09 John Levon <levon@movementarian.org>
4393 * ToolbarBackend.C: allow multiple toolbars
4395 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4397 * undo_funcs.C (setCursorParUndo): adjust
4399 * text_funcs.C (transposeChars): adjust
4401 * text3.C (gotoNextInset): adjust
4404 * text2.C (setLayout): adjust
4405 (changeDepth): adjust
4407 (redoParagraphs): adjust
4408 (selectionAsString): adjust
4409 (setParagraph): adjust
4410 (insertInset): adjust
4411 (cutSelection): adjust
4412 (copySelection): adjust
4413 (pasteSelection): adjust
4414 (insertStringAsLines): adjust
4415 (updateInset): adjust
4416 (setCursor): change to take a ParagraphList::iterator parameter
4417 (setCursorIntern): change to take a ParagraphList::iterator parameter
4418 (setCurrentFont): adjust
4419 (cursorLeft): adjust
4420 (cursorRight): adjust
4421 (deleteEmptyParagraphMechanism): adjust
4423 * text.C (breakParagraph): adjust
4424 (insertChar): adjust
4425 (acceptChange): adjust
4426 (rejectChange): adjust
4427 (selectNextWordToSpellcheck): adjust
4428 (changeCase): adjust
4432 * lyxfind.C (SearchForward): adjust
4433 (SearchBackward): adjust
4434 (nextChange): adjust
4436 * lyxcursor.C (par): adjust
4438 * lyxcursor.h: store a ParagraphList::iterator instead of a
4441 * lyx_cb.C (getPossibleLabel): adjust
4443 * bufferview_funcs.C (toggleAndShow): adjust
4445 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4448 * BufferView.C (removeAutoInsets): adjust
4449 (lockedInsetStoreUndo): adjust
4451 2003-04-09 John Levon <levon@movementarian.org>
4453 * ToolbarBackend.C: try icon without argument
4454 if with argument fails
4456 2003-04-08 John Levon <levon@movementarian.org>
4459 * ToolbarBackend.C: add getIcon(), handle tooltip,
4460 and change from "Icon" to "Item".
4462 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4464 * BufferView.C (lockInset): another bad getchar crunched
4466 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4468 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4471 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4473 * lyxfind.C (searchForward, searchBackwards): bug 782
4475 2003-04-07 John Levon <levon@movementarian.org>
4477 * paragraph.C: remove dead comment
4479 * text.C: remove troublesome depth-fiddling code
4480 in leftMargin() and rightMargin() (bug 1017)
4482 * text.C: fix breaking of rows in nested lists
4485 * text2.C (updateCounters): fix up depth values
4488 2003-04-07 John Levon <levon@movementarian.org>
4490 * BufferView_pimpl.C: clear message when doc finishes resizing,
4491 and after a mouse event
4493 * lyxfunc.C: clear message after exiting inset
4495 2003-04-07 John Levon <levon@movementarian.org>
4497 * bufferview_funcs.C: show math status not outside
4498 status in the statusbar
4500 2003-04-07 John Levon <levon@movementarian.org>
4502 * lyxfunc.C: note status changed after a depth change
4504 2003-04-04 Angus Leeming <leeming@lyx.org>
4506 * LaTeX.h: move AuxInfo operator==, != out of line.
4507 Remove LaTeX virtual destructor; nothing derives from it.
4508 Move operator()() out of public area and rename it startscript().
4509 Change protected for private.
4511 2003-04-04 Angus Leeming <leeming@lyx.org>
4514 * text2.C: remove unneeded #includes.
4516 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4518 * text2.C (dEPM): fix the heigth of the next row
4520 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4522 * text.C: squashed an invalid getChar requester + some ws changes
4524 2003-04-03 John Levon <levon@movementarian.org>
4526 * bufferview_funcs.h:
4527 * bufferview_funcs.C:
4530 * text2.C: make getStatus work for the env depth lfuns
4532 2003-04-03 John Levon <levon@movementarian.org>
4534 * bufferview_funcs.h:
4535 * bufferview_funcs.C:
4538 * text2.C: parlistize decDepth(), by merging it with incDepth()
4540 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4542 * lyxrow.h: store a ParagraphList::iterator instead of a
4543 Paragraph* and adjust other class functions to suit.
4545 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4548 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4550 * text2.C (setCursor): do not anchor to cursor row for the time being
4552 2003-04-02 John Levon <levon@movementarian.org>
4559 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4561 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4563 * paragraph.h: make ParagraphList and ParagraphList::iterator
4564 friends of Paragraph.
4566 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4568 * ParagraphList.C: Use the private next_ and previous_ from
4571 2003-04-01 John Levon <levon@movementarian.org>
4575 * Makefile.am: rename, remove defaults gunk
4578 * MenuBackend.C: remove defaults gunk
4581 * Languages.C: remove defaults gunk
4584 * lyx_main.C: error out if files couldn't be found.
4586 2003-04-02 John Levon <levon@movementarian.org>
4588 * text2.C: make incDepth() use parlist
4590 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4592 * undo_funcs.C (firstUndoParagraph): adjust
4594 * text3.C (gotoInset): adjust
4595 (dispatch): adjust, and rewrite loop.
4597 * text2.C (init): adjust, and rewrite loop.
4598 (redoParagraphs): adjust
4599 (updateInset): adjust, and rewrite loop.
4600 (deleteEmptyParagraphMechanism): adjust
4602 * tabular.C (LyXTabular): adjust
4603 (SetMultiColumn): adjust
4606 * lyxtext.[Ch] (ownerParagraph): delete function
4607 (ownerParagraphs): new function returns a ParagraphList.
4609 * BufferView.C (removeAutoInsets): adjust
4610 (insertErrors): adjust
4611 (setCursorFromRow): adjust
4613 2003-04-01 Angus Leeming <leeming@lyx.org>
4615 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4618 2003-04-02 John Levon <levon@movementarian.org>
4624 * text_funcs.C: make transposeChars a free function
4626 * lyxrow_funcs.C: remove wrong comment
4628 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4631 * rowpainter.C: adjust
4636 * lyxrow_funcs. [Ch]: new files
4638 * lyxrow.[Ch]: remove next and previous pointers
4639 (next,previous): remove accessor functions
4640 (isParEnd): move to lyxrow_funcs
4641 (lastPos): move to lyxrow_funcs
4642 (nextRowIsAllInset): move to lyxrow_funcs
4643 (lastPrintablePos): move to lyxrow_funcs
4644 (numberOfSeparators): move to lyxrow_funcs
4645 (numberOfHfills): move to lyxrow_funcs
4646 (numberOfLabelHfills): move to lyxrow_funcs
4647 (hfillExpansion): move to lyxrow_funcs
4651 * bufferview_funcs.C (toggleAndShow): adjust
4653 * RowList.h: Remove class RowList from file leave just a
4656 * RowList.C: delete file
4658 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4661 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4663 * text3.C (cursorPrevious): adjust
4664 (cursorNext): adjust
4667 * text2.C (redoHeightOfParagraph): adjust
4668 (redoDrawingOfParagraph): adjust
4671 * text.C (breakParagraph): adjust
4672 (insertChar): adjust
4675 * rowpainter.C (RowPainter): adjust
4676 (leftMargin): simplify and adjust
4677 (most rowpainter functions): adjust.
4679 * rowpainter.h: store the row as RowList::iterator not as Row*
4681 * lyxcursor.C (row): taka RowList::iterator as arg
4684 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4687 2003-04-01 Angus Leeming <leeming@lyx.org>
4689 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4690 stuff like bool Bool.
4692 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4694 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4697 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4699 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4702 * lyxtext.h (rows): drop one version and leve a const variant that
4703 returns a RowList::iterator.
4705 2003-03-31 Angus Leeming <leeming@lyx.org>
4707 * text.C (fill): ensure that the signature is the same as that in the
4710 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4712 * text2.C (redoParagraphs): adjust
4713 (updateCounters): adjust
4714 (checkParagraph): adjust
4715 (getColumnNearX): adjust and reformat a bit.
4717 * text.C (top_y): adjust
4719 (leftMargin): adjust
4720 (prepareToPrint): adjust
4722 (getRowNearY): adjust
4724 * lyxtext.h: make rowlist_ mutable.
4726 * RowList.h: add const_iterator
4727 * RowList.C: adjust for RowList::const_iterator.
4729 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4732 2003-03-31 John Levon <levon@movementarian.org>
4735 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4737 * lyx_main.C: set default fonts from using lyx_gui funcs
4739 * exporter.C: pdf_mode moved from lyxrc
4742 * lyxfunc.C: changes from above
4744 2003-03-31 John Levon <levon@movementarian.org>
4746 * lyx_main.C: fix to the last fix
4748 2003-03-31 John Levon <levon@movementarian.org>
4750 * bufferlist.C: "Load original" -> "Load Original"
4756 * format.C: more Alert cleanups
4758 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4760 * text2.C (removeParagraph): make it take a RowList::iterator as
4762 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4763 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4765 * text.C (anchor_row): make it take a RowList::iterator as arg,
4767 (computeBidiTables): make it take a const reference to Row instead
4768 of Row pointer, adjust.
4769 (leftMargin): make it take a RowList::iterator as arg, adjust.
4770 (rowBreakPoint): adjust
4771 (breakAgainOneRow): make it take a RowList::iterator as arg,
4773 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4775 * bufferview_funcs.C (toggleAndShow): adjust
4777 2003-03-30 John Levon <levon@movementarian.org>
4781 * boost-inst.C: moved to support
4783 * several files: changes as a result
4785 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4787 * text2.C (LyXText): adjust.
4789 (removeRow): make it take a RowList::iterator as arg, adjust.
4790 (fullRebreak): adjust
4791 (deleteEmptyParagraphMechanism): adjust
4792 (clearPaint): adjust
4795 * text.C (top_y): adjust
4796 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4797 (breakAgain): make it take a RowList::iterator as arg, adjust.
4798 (breakParagraph): adjust
4799 (insertChar): adjust
4802 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4803 need_break_row, and refresh_row.
4805 * text3.C (dispatch): adjust
4807 * text2.C (checkParagraph): adjust
4809 (setCursorFromCoordinates): adjust
4811 * text.C (top_y): adjust
4813 (getRow): make it return a RowList::iterator, adjust
4814 (getRowNearY): make it return a RowList::iterator, adjust
4816 * text2.C (init): adjust
4817 (insertRow): remove function
4818 (insertParagraph): adjust
4819 (redoParagraphs): adjust
4820 (fullRebreak): adjust
4821 (updateCounters): adjust
4823 * text.C (top_y): rewrite to use RowList iterators.
4825 (setHeightOfRow): rewrite to sue RowList iterators.
4826 (appendParagraph): adjust
4827 (breakAgain): adjust
4828 (breakAgainOneRow): adjust
4829 (breakParagraph): adjust
4831 (getRowNearY): adjust, and remove commented code.
4833 * lyxtext.h (firstRow): delete function
4834 (lastRow): delete function
4835 (rows): new function (const and non-const versions.)
4836 (insertRow): delete function
4838 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4840 2003-03-29 John Levon <levon@movementarian.org>
4842 * BufferView_pimpl.C: always update scrollbar top
4843 because pasting text when we're anchored could mean we
4844 miss an update altogether
4846 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4848 * text2.C (init): use rowlist_.end() and not 0.
4849 (insertRow): change to take a RowList::iterator as arg, adjust
4851 (insertParagraph): change to take a RowList::iterator as arg,
4853 (redoParagraphs): remove some debug msgs.
4855 * text.C (appendParagraph): change to take a RowList::iterator
4856 arg, adjust for this.
4857 (breakAgain): add an assert
4858 (breakAgainOneRow): ditto
4860 2003-03-29 John Levon <levon@movementarian.org>
4862 * text2.C: do not clear selection after inc/decDepth
4865 2003-03-29 John Levon <levon@movementarian.org>
4868 * buffer.C: fix broken strerrors according to Lars
4870 2003-03-29 John Levon <levon@movementarian.org>
4872 * converters.C: more Alert cleanups
4874 2003-03-29 John Levon <levon@movementarian.org>
4876 * bufferview_funcs.C: remove pointless Alert
4878 * buffer.C: fix confusing error message when
4879 a template is chmoded 000
4881 2003-03-29 John Levon <levon@movementarian.org>
4885 * BufferView_pimpl.C: Alert fixes
4889 * tabular-old.C: remove unused table compat reading
4891 2003-03-29 John Levon <levon@movementarian.org>
4896 * lyx_cb.C: more Alert cleanups
4898 * lyxfunc.C: don't allow chktex if not latex document
4900 2003-03-29 John Levon <levon@movementarian.org>
4904 * buffer.C: warnings pushed down from support/,
4907 2003-03-29 John Levon <levon@movementarian.org>
4909 * lyxfunc.C: safety check for C-r (revert)
4911 2003-03-29 John Levon <levon@movementarian.org>
4914 * bufferlist.C: several UI fixes using Alert::prompt.
4915 Fix the pointless looping quit code. Fix stupid revert
4920 * lyx_cb.C: use Alert::prompt
4922 * lyx_main.C: remove a silly question
4924 * lyxfunc.C: remove a couple of silly questions,
4927 2003-03-28 John Levon <levon@movementarian.org>
4929 * text2.C: fix bug 974 (End on empty par)
4931 2003-03-28 John Levon <levon@movementarian.org>
4933 * BufferView_pimpl.C:
4935 * lfuns.h: remove do-nothing math greek lfuns
4937 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4939 * lyxgluelength.h (isValidGlueLength): add default arg on
4940 parameter 2. Remove default arg from friend in class.
4942 * lyxlength.h (isValidLength): add default arg on parameter 2.
4943 Remove default arg from friend in class.
4945 * text2.C (LyXText): adjust, initialize refresh_row.
4949 (insertParagraph): adjst
4950 (redoParagraphs): adjust
4951 (fullRebreak): adjust
4952 (updateCounters): adjust
4953 (deleteEmptyParagraphMechanism): first attempt at fixing a
4956 * text.C (top_y): adjust
4957 (setHeightOfRow): adjust
4959 (getRowNearY): adjust
4961 * lyxtext.h: include RowList.h
4962 (~LyXText): not needed anymore, deleted.
4963 (firstRow): modify for RowList
4964 (lastRow): new function
4965 Delete firstrow and lastrow class variables, add a Rowlist
4966 rowlist_ class variable.
4968 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4971 * RowList.C (insert): fix case where it == begin().
4973 2003-03-26 Angus Leeming <leeming@lyx.org>
4975 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4976 the thesaurus dialog.
4978 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4980 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4982 * RowList.[Ch]: new files
4984 * ParagraphList.C (erase): handle the case where it == begin
4987 2003-03-25 John Levon <levon@movementarian.org>
4991 * aspell.C: add new aspell support
4994 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4997 2003-03-25 Angus Leeming <leeming@lyx.org>
5000 * LyXAction.C (init): new LFUN_INSET_INSERT.
5002 * BufferView_pimpl.C (dispatch): split out part of the
5003 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5005 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5008 2003-03-25 Angus Leeming <leeming@lyx.org>
5010 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5012 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5015 * text3.C: remove useless row->height(0)
5017 2003-03-25 John Levon <levon@movementarian.org>
5021 * text3.C: rename the refreshing stuff to better names
5023 2003-03-24 John Levon <levon@movementarian.org>
5025 * BufferView_pimpl.h:
5026 * BufferView_pimpl.C: update layout choice on a mouse
5029 2003-03-23 John Levon <levon@movementarian.org>
5031 * Makefile.am: fix commandtags.h reference
5033 2003-03-22 John Levon <levon@movementarian.org>
5035 * BufferView_pimpl.C:
5040 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5042 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5045 * text.C: take the rtl methods out of line
5047 2003-03-21 André Pönitz <poenitz@gmx.net>
5049 * metricsinfo.[Ch]: new files containing structures to be passed around
5050 during the two-phase-drawing...
5052 2003-03-21 André Pönitz <poenitz@gmx.net>
5054 * lyxtextclass.C: read 'environment' tag.
5056 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5058 * text2.C (removeRow): fix bug 964
5060 2003-03-20 John Levon <levon@movementarian.org>
5064 * text2.C: paint cleanups. Inset::update() dropped font
5067 2003-03-19 John Levon <levon@movementarian.org>
5069 * lyxfunc.C: only fitcursor/markDirty if available()
5071 2003-03-19 John Levon <levon@movementarian.org>
5073 * commandtags.h: rename to ...
5075 * lfuns.h: ... this, and renumber / cleanup
5077 2003-03-19 John Levon <levon@movementarian.org>
5079 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5080 fit the cursor after an lfun
5084 * BufferView_pimpl.h:
5085 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5087 * LyXAction.C: layout-character should have ReadOnly
5089 * ParagraphParameters.C:
5091 * bufferview_funcs.C:
5098 * undo_funcs.C: changes from above
5100 2003-03-18 John Levon <levon@movementarian.org>
5102 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5103 remove it from update()
5105 * lyxfunc.C: update layout choice after an lfun
5107 * text3.C: remove extra updateLayoutChoice()s
5109 2003-03-18 John Levon <levon@movementarian.org>
5111 * text.C: top_y change means full repaint, fix
5112 a drawing bug with cursor movement
5114 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5118 * text2.C: anchor row on setCursor
5120 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5122 * lyxtext.h: remove almost all mutable keywords
5125 * text3.C: remove const keywords accordingly
5127 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5129 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5131 (TeXEnvironment): ditto
5134 2003-03-17 John Levon <levon@movementarian.org>
5136 * text.C (rowBreakPoint): remove attempt to fix displayed
5137 math insets inside a manual label
5139 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5141 * lyxtext.h: remove BufferView* as first arg from almost all class
5143 * other files: adjust.
5145 2003-03-17 John Levon <levon@movementarian.org>
5149 * text2.C: more paint cleanups
5151 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5154 * rowpainter.C: remove "smart" background painting code
5156 2003-03-16 John Levon <levon@movementarian.org>
5161 * text3.C: add helper functions for setting refresh_row/y
5163 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5165 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5166 newline inset which *can* get inserted in the pass_thru layouts.
5167 This is primarily for literate documents.
5169 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5171 * buffer.C: increment LYX_FORMAT to 223
5173 2003-03-14 André Pönitz <poenitz@gmx.net>
5175 * textclass.h: prepare for environment handling, ws changes
5176 * lyxlayout.C: read latexheader and latexfooter tags
5178 2003-03-14 John Levon <levon@movementarian.org>
5180 * text2.C: rewrite ::status() a bit
5182 2003-03-13 John Levon <levon@movementarian.org>
5184 * lyxtext.h: add some docs
5186 2003-03-13 John Levon <levon@movementarian.org>
5191 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5193 2003-03-13 John Levon <levon@movementarian.org>
5195 * text3.C: fix appendix redrawing
5197 2003-03-13 John Levon <levon@movementarian.org>
5199 * text.C (setHeightOfRow):
5201 * rowpainter.C: make appendix mark have the text
5202 "Appendix" so the user knows what it is
5205 * LColor.C: s/appendixline/appendix/ from above
5207 2003-03-13 John Levon <levon@movementarian.org>
5209 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5211 * text.C: fix a getChar(pos) bug properly
5213 2003-03-13 Angus Leeming <leeming@lyx.org>
5216 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5217 Probably only temporary. Let's see how things pan out.
5219 * BufferView.C (unlockInset):
5220 * BufferView_pimpl.C (fitCursor):
5221 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5223 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5224 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5226 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5227 new functions that convert ParagraphParameters to and from a string.
5229 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5230 BufferView::Pimpl's dispatch.
5231 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5233 2003-03-13 André Pönitz <poenitz@gmx.net>
5237 * factory.C: make it aware of InsetEnv
5239 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5241 * text2.C (setCursor): never ask for one past last
5242 (setCursor): add some debugging messages.
5244 * text.C (singleWidth): never ask for one past last
5245 (singleWidth): ditto
5247 (rightMargin): ditto
5248 (rowBreakPoint): ditto
5249 (setHeightOfRow): ditto
5250 (prepareToPrint): ditto
5252 * rowpainter.C (paintBackground): never ask for one past last
5253 (paintText): never ask for one past last
5255 * paragraph_pimpl.C (getChar): make the assert stricter, never
5256 allow the one past last pos to be taken
5258 * paragraph.C (getChar): ws changes only
5260 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5261 (numberOfSeparators): ditto
5262 (numberOfHfills): ditto
5264 2003-03-12 John Levon <levon@movementarian.org>
5270 * paragraph_funcs.C: fix per-buffer authorlists
5272 2003-03-12 John Levon <levon@movementarian.org>
5274 * text.C: fix newline in right address
5276 2003-03-12 Angus Leeming <leeming@lyx.org>
5278 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5279 duplicate those in LyXFunc::dispatch.
5283 * ToolbarDefaults.C:
5284 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5285 Add LFUN_FONTFREE_UPDATE.
5287 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5288 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5290 * bufferview_func.[Ch]: several new functions to facilliate
5291 transfer of data to and from the character dialog.
5293 2003-03-12 John Levon <levon@movementarian.org>
5298 * paragraph_funcs.C:
5299 * paragraph_pimpl.C:
5303 * text3.C: remove META_NEWLINE in favour of an inset
5306 * rowpainter.C: remove paintNewline (done by inset)
5308 2003-03-12 John Levon <levon@movementarian.org>
5310 * paragraph_pimpl.C: complain about bad getChar()s
5311 for a while at least
5313 2003-03-12 John Levon <levon@movementarian.org>
5316 * buffer.C: move paragraph read into a separate function,
5317 a little renaming to reflect that.
5320 * bufferparams.C: remove the author_ids map, not necessary now
5323 * factory.C: moved Buffer::readInset to here
5325 * paragraph_funcs.h:
5326 * paragraph_funcs.C: readParagraph free function moved from
5329 * tabular.C: name change
5331 2003-03-12 John Levon <levon@movementarian.org>
5334 * ParagraphParameters.C: move par params input to
5337 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5338 behave like a normal read from the stream wrt reading
5339 a line vs. a \\token
5341 2003-03-12 John Levon <levon@movementarian.org>
5344 * ParagraphParameters.h:
5345 * ParagraphParameters.C: move output code to a
5348 2003-03-12 John Levon <levon@movementarian.org>
5350 * BufferView.C (insertLyXFile):
5353 * tabular.C: use a parlist iterator for creating the
5356 2003-03-12 John Levon <levon@movementarian.org>
5358 * buffer.C: make current_change static local not
5361 2003-03-12 John Levon <levon@movementarian.org>
5363 * buffer.C: fix insertStringAsLines for change tracking
5365 2003-03-12 John Levon <levon@movementarian.org>
5372 * bufferparams.C: move author list into params. Rename some
5373 functions. Move the header reading into a separate token
5374 loop. Move the header token reading into BufferParams.
5376 2003-03-12 John Levon <levon@movementarian.org>
5378 * changes.C: put debug inside lyxerr.debugging() checks
5380 2003-03-11 André Pönitz <poenitz@gmx.net>
5382 * factory.C: make it aware of InsetHFill
5384 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5386 * buffer.C (latexParagraphs): move function from here...
5387 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5390 2003-03-10 Angus Leeming <leeming@lyx.org>
5392 * LyXAction.C (init): fix bug in poplating array with multiple entries
5393 with the same LFUN (spotted by JMarc).
5395 2003-03-10 John Levon <levon@movementarian.org>
5398 * text2.C: move getColumnNearX() near its
5401 2003-03-10 John Levon <levon@movementarian.org>
5403 * text.C: fix break before a minipage
5405 2003-03-10 John Levon <levon@movementarian.org>
5407 * text.C: fix the last commit
5409 2003-03-09 John Levon <levon@movementarian.org>
5413 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5414 bug 365 (don't break before insets unless needed). Don't
5415 return a value > last under any circumstances.
5417 2003-03-09 Angus Leeming <leeming@lyx.org>
5419 * BufferView_pimpl.C (trackChanges, dispatch): call
5420 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5422 2003-03-09 Angus Leeming <leeming@lyx.org>
5424 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5425 than Dialogs::showAboutlyx().
5427 2003-03-09 Angus Leeming <leeming@lyx.org>
5429 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5430 than Dialogs::showTabularCreate().
5432 2003-03-09 John Levon <levon@movementarian.org>
5436 * text2.C: 3rd arg to nextBreakPoint was always the same.
5439 2003-03-08 John Levon <levon@movementarian.org>
5446 * text2.C: Remove the "main" bit from the "main body"
5449 2003-03-08 John Levon <levon@movementarian.org>
5451 * text.C (leftMargin): The left margin of an empty
5452 manual label paragraph should not include the label width
5455 * text.C (prepareToPrint): don't attempt to measure hfills
5456 for empty manual label paragraphs - the answer should be 0
5458 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5460 * CutAndPaste.C: remove commented code and reindent.
5462 2003-03-08 John Levon <levon@movementarian.org>
5465 * lyxfunc.C: move reloadBuffer()
5468 * BufferView.C: to here
5470 * lyxvc.C: add comment
5473 * vc-backend.C: call bv->reload() to avoid
5474 getStatus() check on MENURELOAD
5476 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5478 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5479 to an old format .dep file.
5481 2003-03-07 Angus Leeming <leeming@lyx.org>
5483 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5484 when the LFUN_MOUSE_RELEASE should have been handled by
5485 inset->localDispatch.
5487 2003-03-07 Angus Leeming <leeming@lyx.org>
5489 * BufferView_pimpl.C (dispatch):
5490 * LyXAction.C (init):
5491 * ToolbarDefaults.C (init):
5493 * lyxfunc.C (getStatus):
5494 remove LFUN_INSET_GRAPHICS.
5496 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5498 2003-03-07 Angus Leeming <leeming@lyx.org>
5501 * LyXAction.C (init):
5502 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5504 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5507 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5509 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5510 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5512 2003-03-07 Angus Leeming <leeming@lyx.org>
5514 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5517 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5519 * ParagraphList.C (front): new function
5522 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5524 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5525 and top_row_offset_. removed var first_y.
5527 * text2.C (LyXText, removeRow):
5529 * BufferView_pimpl.C:
5530 use these methods instead of using first_y
5532 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5534 * text2.C (pasteSelection): adjust for checkPastePossible
5536 * CutAndPaste.C: remove Paragraph * buf and replace with
5537 ParagraphList paragraphs.
5538 (DeleteBuffer): delete
5539 (cutSelection): change the tc type to textclass_type
5540 (copySelection): change the tc type to textclass_type
5541 (copySelection): adjust for ParagraphList
5542 (pasteSelection): change the tc type to textclass_type
5543 (pasteSelection): adjust for Paragraphlist
5544 (nrOfParagraphs): simplify for ParagraphList
5545 (checkPastePossible): simplify for ParagraphList
5546 (checkPastePossible): remove unused arg
5548 * ParagraphList.C (insert): handle the case where there are no
5551 * CutAndPaste.h: make CutAndPaste a namespace.
5553 * text3.C (dispatch): adjust
5555 * text.C (breakParagraph): add a ParagraphList as arg
5557 * paragraph_funcs.C (breakParagraph): change to take a
5558 BufferParams and a ParagraphList as args.
5559 (breakParagraphConservative): ditto
5560 (mergeParagraph): ditto
5561 (TeXDeeper): add a ParagraphList arg
5562 (TeXEnvironment): ditto
5565 * buffer.C (readLyXformat2): adjust
5566 (insertStringAsLines): adjust
5567 (latexParagraphs): adjust
5569 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5570 (cutSelection): adjust
5571 (pasteSelection): adjust
5573 * BufferView_pimpl.C (insertInset): adjust
5575 2003-03-05 Angus Leeming <leeming@lyx.org>
5578 * LyXAction.C (init):
5579 * BufferView_pimpl.C (dispatch):
5580 * lyxfunc.C (getStatus):
5581 remove LFUN_CHILD_INSERT.
5583 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5585 2003-03-05 Angus Leeming <leeming@lyx.org>
5588 * LyXAction.C (init):
5589 * src/factory.C (createInset):
5590 * lyxfunc.C (getStatus):
5591 * text3.C (dispatch):
5592 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5594 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5596 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5598 * ParagraphList.C (insert): handle insert right before end()
5599 (erase): fix cases where it can be first or last paragraph.
5601 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5603 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5604 Paragraph::next and Paragraph::previous
5607 * text.C (breakParagraph): adjust
5609 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5610 BufferParams& as arg.
5611 (breakParagraph): use ParagraphList::insert
5612 (breakParagraphConservative): take a Buffer* instead of a
5613 BufferParams& as arg.
5614 (breakParagraphConservative): use ParagraphList::insert.
5616 * buffer.C (insertStringAsLines): un-const it
5617 (insertStringAsLines): adjust
5619 * ParagraphList.C (insert): new function
5621 * CutAndPaste.C (pasteSelection): adjust
5623 * text.C (backspace): adjust
5625 * tabular.C (SetMultiColumn): adjust
5627 * CutAndPaste.C (cutSelection): adjust
5628 (pasteSelection): adjust
5630 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5631 Buffer const * as arg
5633 * ParagraphList.C (erase): new function
5634 * paragraph_funcs.C (mergeParagraph): use it
5635 (mergeParagraph): make it take a Buffer* instead of a
5636 BufferParams* as arg
5638 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5640 (breakParagraphConservative): ditto
5642 * paragraph.h: remove the breakParagraph friend
5644 * paragraph.C (eraseIntern): new function
5645 (setChange): new function
5647 * paragraph_funcs.C (mergeParagraph): make it take a
5648 ParagraphList::iterator instead of a Paragraph *, adjust
5651 * paragraph.h: move an #endif so that the change tracking stuff
5652 also works in the NO_NEXT case.
5654 2003-03-04 Angus Leeming <leeming@lyx.org>
5657 * LyXAction.C: new LFUN_INSET_MODIFY.
5659 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5660 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5662 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5664 * several files: ws changes only
5666 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5667 (TeXEnvironment): ditto
5670 * buffer.C (makeLaTeXFile): adjust
5671 (latexParagraphs): make it take ParagraphList::iterator as args
5673 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5675 * buffer.C (latexParagraphs): adjust
5677 * paragraph.C (TeXOnePar): move function...
5678 (optArgInset): move function...
5679 (TeXEnvironment): move function...
5680 * paragraph_pimpl.C (TeXDeeper): move function...
5681 * paragraph_funcs.C: ...here
5683 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5685 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5687 * buffer.C (readInset): remove compability code for old Figure and
5690 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5692 * buffer.C: ws changes
5695 * BufferView_pimpl.C: ditto
5698 * bufferlist.h: ditto
5702 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5704 * converter.[Ch]: split into itself +
5707 * Makefile.am: += graph.[Ch] + format.[Ch]
5714 * lyxrc.C: added #include "format.h"
5716 2003-02-27 Angus Leeming <leeming@lyx.org>
5718 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5721 * factory.C (createInset): add "label" to the factory.
5723 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5724 string and do no more.
5726 2003-02-27 Angus Leeming <leeming@lyx.org>
5729 * LyXAction.C (init):
5730 * factory.C (createInset):
5731 * BufferView_pimpl.C (dispatch):
5732 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5734 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5736 * lyxfunc.C (dispatch):
5737 * text3.C (dispatch): pass name to params2string.
5739 2003-02-26 Angus Leeming <leeming@lyx.org>
5741 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5743 Rearrange the ~includes. Strip out the unnecessary ones.
5745 * factory.C (createInset): reformat.
5746 create new insets for the various LFUN_XYZ_APPLY lfuns.
5748 2003-02-26 John Levon <levon@movementarian.org>
5751 * lyxrow.C: add isParStart,isParEnd helpers
5753 * paragraph.h: make isInserted/DeletedText take refs
5755 * paragraph_funcs.h:
5756 * paragraph_funcs.C: remove #if 0'd code
5761 * text.C: use lyxrow helpers above.
5762 Move draw and paint routines to RowPainter.
5763 Make several methods use refs not pointers.
5764 Make backgroundColor() const.
5765 Add markChangeInDraw(), isInInset().
5766 Merge changeRegionCase into changeCase.
5767 Make workWidth() shouldn't-happen code into an Assert.
5770 * rowpainter.C: new class for painting a row.
5773 * vspace.C: make inPixels take a ref
5775 2003-02-26 Angus Leeming <leeming@lyx.org>
5777 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5780 2003-02-25 John Levon <levon@movementarian.org>
5782 * ispell.C: give the forked command a more accurate name
5784 2003-02-22 John Levon <levon@movementarian.org>
5787 * toc.C: make TocItem store an id not a Paragraph *
5790 2003-02-21 Angus Leeming <leeming@lyx.org>
5792 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5793 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5794 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5795 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5796 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5797 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5799 * BufferView_pimpl.C (dispatch):
5800 * LyXAction.C (init):
5801 * factory.C (createInset):
5802 * lyxfunc.C (getStatus, dispatch):
5803 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5805 2003-02-21 Angus Leeming <leeming@lyx.org>
5807 * BufferView_pimpl.C (MenuInsertLyXFile):
5808 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5809 * lyxfunc.C (menuNew, open, doImport):
5810 no longer pass a LyXView & to fileDlg.
5812 2003-02-21 Angus Leeming <leeming@lyx.org>
5814 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5815 * LyXAction.C: change, BIBKEY to BIBITEM.
5816 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5817 Change InsetBibKey to InsetBibitem.
5818 Change BIBKEY_CODE to BIBITEM_CODE.
5819 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5820 * factory.C: replace insetbib.h with insetbibitem.h.
5821 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5822 * paragraph.C: replace insetbib.h with insetbibitem.h.
5823 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5824 Change bibkey() to bibitem().
5825 * text.C: remove insetbib.h.
5826 * text2.C: replace insetbib.h with insetbibitem.h.
5827 change bibkey() to bibitem().
5828 * text3.C: remove insetbib.h.
5829 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5831 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5833 * lyxrc.C (output): enclose user email in quotes (in case there are
5836 2003-02-18 John Levon <levon@movementarian.org>
5838 * buffer.h: add std::
5840 2003-02-17 John Levon <levon@movementarian.org>
5846 * pspell.C: reworking. Especially in ispell, a large
5847 number of clean ups and bug fixes.
5849 * lyxfunc.C: fix revert to behave sensibly
5851 2003-02-17 André Pönitz <poenitz@gmx.net>
5854 * commandtags.h: new LFUN_INSERT_BIBKEY
5864 * paragraph_func.C: remove special bibkey handling
5866 2003-02-17 John Levon <levon@movementarian.org>
5868 * text.C (Delete): fix case where delete at the end of
5869 the very first paragraph would not merge the pars
5871 2003-02-17 John Levon <levon@movementarian.org>
5873 * lyxrow.C: fix lastPrintablePos()
5875 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5877 * bufferparams.C (writeLaTeX): add a std:here
5879 * buffer.C: and remove a using directive there
5881 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5883 * buffer.C (makeLaTeXFile): move the code that generates the
5886 * bufferparams.C (writeLaTeX): ... in this new method
5888 * LaTeXFeatures.C (getEncodingSet): make const
5889 (getLanguages): make const
5891 * MenuBackend.C (binding): returns the binding associated to this
5893 (add): sets the status of each item by calling getStatus. Adds
5895 (read): add support for OptSubMenu
5896 (expand): remove extra separator at the end of expanded menu
5898 2003-02-15 John Levon <levon@movementarian.org>
5901 * BufferView_pimpl.C:
5903 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5904 inset code that had no actual effect. Remove unneeded status
5907 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5909 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5912 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5914 * text.C (drawLengthMarker): also draw an arrow marker for
5915 symbolic lengths (medskip...)
5917 2003-02-14 John Levon <levon@movementarian.org>
5920 * tabular.C: better method names
5922 2003-02-14 John Levon <levon@movementarian.org>
5924 * BufferView_pimpl.C:
5929 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5930 it's a more accurate name. Remove some pointless uses.
5932 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5934 * text2.C (LyXText): change order of initilizers to shut off
5937 2003-02-14 John Levon <levon@movementarian.org>
5939 * buffer.C: use ParIterator for getParFromID()
5943 * paragraph_pimpl.h:
5944 * paragraph_pimpl.C: remove unused getParFromID()
5946 2003-02-14 John Levon <levon@movementarian.org>
5948 * buffer.C: remove some very old #if 0'd parse code
5950 2003-02-13 John Levon <levon@movementarian.org>
5954 * text2.C: move hfillExpansion(), numberOfSeparators(),
5955 rowLast(), rowLastPrintable(), numberofHfills(),
5956 numberOfLabelHfills() ...
5959 * lyxrow.C: ... to member functions here.
5964 * text.C: remove LyXText::beginningOfMainBody(), and call
5965 p->beginningOfMainBody() directly. Move the check for
5966 LABEL_MANUAL into the latter.
5973 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5979 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5980 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5982 2003-02-13 John Levon <levon@movementarian.org>
5984 * CutAndPaste.C: remove debug
5986 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5988 * paragraph.C (asString): remove two unused variables
5990 * lyxtextclass.C (readTitleType):
5992 (LyXTextClass): handle new members titletype_ and titlename_
5994 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5996 2003-02-09 John Levon <levon@movementarian.org>
5999 * buffer.C: replace hand-coded list with a map for the dep clean
6001 2003-02-08 John Levon <levon@movementarian.org>
6003 * LaTeX.C: consolidate code into showRunMessage() helper
6005 2003-02-08 John Levon <levon@movementarian.org>
6010 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6011 and pass the size in explicitly
6013 * BufferView_pimpl.h:
6014 * BufferView_pimpl.C:
6016 * BufferView.C: add getCurrentChange()
6018 * BufferView_pimpl.h:
6019 * BufferView_pimpl.C: handle change lfuns
6021 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6022 for changes. Mark pasted paragraphs as new.
6024 * support/lyxtime.h:
6025 * support/lyxtime.C:
6026 * DepTable.C: abstract time_t as lyx::time_type
6029 * LColor.C: add colours for new text, deleted text, changebars
6031 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6032 package use "usenames" option.
6036 * LyXAction.C: add change lfuns
6040 * author.C: author handling
6043 * buffer.C: add a per-buffer author list, with first entry as
6044 current author. Handle new .lyx tokens for change tracking. Output
6045 author list to .lyx file. Output dvipost stuff to .tex preamble.
6046 Bump lyx format to 222.
6049 * bufferlist.C: add setCurrentAuthor() to reset current author details
6053 * bufferparams.C: add param for tracking
6055 * bufferview_funcs.C: output change info in minibuffer
6059 * changes.C: add change-tracking structure
6062 * debug.C: add CHANGES debug flag
6065 * lyxfind.C: add code for finding the next change piece
6068 * lyxrc.C: add user_name and user_email
6071 * lyxrow.C: add a metric for the top of the text line
6074 * text.C: implement accept/rejectChange()
6077 * text.C: paint changebars. Paint new/deleted text in the chosen
6078 colours. Strike through deleted text.
6082 * paragraph_pimpl.h:
6083 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6084 in the current change to the insert functions. Rework erase to
6085 mark text as deleted, adding an eraseIntern() and a range-based
6086 erase(). Implement per-paragraph change lookup and
6089 * paragraph_funcs.C: Fixup paste for change tracking.
6091 * tabular.C: mark added row/columns as new.
6093 * text.C: fix rowLast() to never return -1. Don't allow
6094 spellchecking of deleted text. Track transpose changes. Don't
6095 allow paragraph break or merge where appropriate.
6097 * text2.C: leave cursor at end of selection after a cut.
6099 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6101 * text.C (getLengthMarkerHeight):
6102 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6103 visible on screen too.
6105 2003-02-07 John Levon <levon@movementarian.org>
6107 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6109 2003-02-05 Angus Leeming <leeming@lyx.org>
6111 * lyxserver.C (read_ready): revert my patch of 11 September last year
6112 as it sends PC cpu through the roof. Presumably this means that
6113 the lyxserver will no longer run on an Alpha...
6115 2003-01-30 Angus Leeming <leeming@lyx.org>
6117 * factory.C (createInset): create an InsetCommandParam of type "index"
6118 and use it to 'do the right thing'.
6120 * text2.C (getStringToIndex): ensure that cursor position is always
6121 reset to the reset_cursor position.
6123 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6125 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6128 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6132 * lyxfunc.C: Output messages with identical spelling, punctuation,
6135 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6137 * MenuBackend.C (expandFormats): List only viewable export formats
6140 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6143 * lyxfunc.C (getStatus): Make sure that formats other than
6144 "fax" can also be disabled
6146 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6148 * text3.C (dispatch): put the lfuns that insert insets in 3
6149 groups, and call doInsertInset with appropriate arguments.
6150 (doInsertInset): new function, that creates an inset and inserts
6151 it according to some boolean parameters.
6153 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6155 * buffer.C (readFile): remember to pass on 'par' when calling
6156 readFile recursively.
6158 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6160 * MenuBackend.C (expandFormats): add "..." to import formats.
6162 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6164 * paragraph.C (asString): Remove XForms RTL hacks.
6166 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6167 * buffer.C: fix typo
6169 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6171 * Makefile.am (LIBS): delete var
6172 (lyx_LDADD): add @LIBS@ here instead.
6174 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6176 * Clarify the meaning of "wheel mouse jump"
6178 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6180 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6183 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6185 * importer.C (Loaders): do not preallocate 3 elements in the
6186 vector, since one ends up with 6 elements otherwise
6188 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6190 * DepTable.C (write): write the file name as last element of the
6191 .dep file (because it may contain spaces)
6192 (read): read info in the right order
6194 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6196 * paragraph_pimpl.C (simpleTeXBlanks):
6197 (simpleTeXSpecialChars):
6198 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6200 * tabular.C (latex): add some missing case statements. Reindent.
6202 * MenuBackend.C (expandToc): remove unused variable.
6204 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6213 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6216 2003-01-05 John Levon <levon@movementarian.org>
6219 * BufferView.C: add getEncoding()
6222 * kbsequence.C: do not store last keypress
6225 * lyxfunc.C: store last keypress here instead. Pass encoding
6228 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6230 * lyx_main.C (init): remove annoying error message when following
6231 symbolic links (bug #780)
6233 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6235 * text.C (insertChar):
6236 * lyxrc.C (getDescription): remove extra spaces
6238 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6240 * lyxrc.C (getDescription): remove extra spaces
6242 2002-12-20 John Levon <levon@movementarian.org>
6244 * text3.C: hack fix for page up/down across tall rows
6246 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6248 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6251 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6253 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6254 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6255 thesaurus is not compiled in
6257 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6259 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6261 2002-12-16 Angus Leeming <leeming@lyx.org>
6264 * lyx_main.C (init): remove override_x_deadkeys stuff.
6266 2002-12-12 John Levon <levon@movementarian.org>
6268 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6269 insert. Only remove shift modifier under strict
6272 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6274 * MenuBackend.C (expandToc): fix crash.
6276 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6278 * MenuBackend.C (expandToc): gettext on float names.
6280 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6282 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6283 implement bool empty() [bug 490]
6285 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6287 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6289 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6291 * several files: ws changes
6293 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6295 * text2.C (setCounter): clean up a bit, use boost.format.
6296 (updateCounters): initialize par upon declaration.
6298 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6299 if the layout exists. We do not just store the layout any more.
6300 (SwitchLayoutsBetweenClasses): use boost.format
6302 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6304 * converter.C (convert): if from and to files are the same, use a
6305 temporary files as intermediary
6307 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6310 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6312 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6314 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6316 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6318 * tabular.C (asciiPrintCell): use string(size, char) instead of
6321 * sgml.C (openTag): fix order of arguments to string constructor
6324 * lyxfunc.C (dispatch): use boost.format
6326 * lots of files: change "c" -> 'c'
6328 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6330 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6332 2002-11-25 Angus Leeming <leeming@lyx.org>
6334 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6336 * lyx_main.C (init): compile fix.
6338 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6340 * lyx_cb.C (start): boost.formatify
6341 do not include <iostream>
6343 * lengthcommon.C: ws only
6345 * boost-inst.C,BoostFormat.h: add more explict instantations
6347 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6349 * lots of files: handle USE_BOOST_FORMAT
6351 2002-11-21 John Levon <levon@movementarian.org>
6353 * pspell.C: fix compile
6355 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6357 * lyxfunc.C (dispatch): use boost::format
6361 * lyxfont.C (stateText): use boost::format
6363 * lyx_main.C (LyX): use boost::format
6365 (queryUserLyXDir): ditto
6368 (typedef boost::function): use the recommened syntax.
6370 * importer.C (Import): use boost::format
6372 * debug.C (showLevel): use boost::format
6374 * converter.C (view): use boost::format
6379 * bufferview_funcs.C (currentState): use boost::format
6381 * bufferlist.C (emergencyWrite): use boost::format
6383 * buffer.C (readLyXformat2): use boost::format
6384 (parseSingleLyXformat2Token): ditto
6386 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6388 * LaTeX.C (run): use boost::format
6390 * Chktex.C (scanLogFile): use boost::format
6392 * BufferView_pimpl.C (savePosition): use boost::format
6393 (restorePosition): ditto
6394 (MenuInsertLyXFile): ditto
6396 * BoostFormat.h: help file for explicit instation.
6398 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6400 * tabular.C (latex): Support for block alignment in fixed width
6403 2002-11-17 John Levon <levon@movementarian.org>
6405 * BufferView_pimpl.C:
6407 * lyxfunc.C: split filedialog into open/save
6409 2002-11-08 Juergen Vigna <jug@sad.it>
6411 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6412 by my last patch (hopefully).
6414 2002-11-08 John Levon <levon@movementarian.org>
6423 * toc.C: ParConstIterator, and use it (from Lars)
6425 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6427 * lyxtextclass.[Ch]: revise and add doxygen comments
6429 2002-11-07 John Levon <levon@movementarian.org>
6431 * text.C: fix progress value for spellchecker
6433 * toc.C: fix navigate menu for insetwrap inside minipage
6435 * paragraph_funcs.C: added FIXME for suspect code
6437 2002-11-07 John Levon <levon@movementarian.org>
6439 * BufferView_pimpl.C: fix redrawing of insets
6442 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6444 * text2.C (updateCounters): fix bug 668
6446 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6448 * text3.C (dispatch): Do not make the buffer dirty when moving the
6451 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6453 * vc-backend.C: STRCONV
6456 * text2.C (setCounter): STRCONV
6458 * paragraph.C (asString): STRCONV
6460 * lyxlength.C (asString): STRCONV
6461 (asLatexString): ditto
6463 * lyxgluelength.C (asString): STRCONV
6464 (asLatexString): ditto
6466 * lyxfunc.C (dispatch): STRCONV
6469 * lyxfont.C (stateText): STRCONV
6471 * importer.C (Import): STRCONV
6473 * counters.C (labelItem): STRCONV
6474 (numberLabel): ditto
6475 (numberLabel): remove unused ostringstream o
6480 * bufferview_funcs.C (currentState): STRCONV
6482 * buffer.C (readFile): STRCONV
6483 (asciiParagraph): ditto
6484 (makeLaTeXFile): ditto
6486 * Spacing.C (writeEnvirBegin): STRCONV
6488 * LaTeXFeatures.C (getLanguages): STRCONV
6489 (getPackages): ditto
6491 (getBabelOptions): ditto
6492 (getTClassPreamble): ditto
6493 (getLyXSGMLEntities): ditto
6494 (getIncludedFiles): ditto
6498 (scanAuxFile): ditto
6501 * LString.h: add the STRCONV macros
6503 * BufferView_pimpl.C (savePosition): STRCONV
6504 (restorePosition): ditto
6505 (MenuInsertLyXFile): ditto
6507 * vc-backend.C (scanMaster): change from submatch[...] to
6510 * funcrequest.C: include config.h
6512 * factory.C: include config.h
6514 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6516 * box.C: include config.h
6518 * LaTeX.C (scanAuxFile): change from submatch[...] to
6522 2002-10-25 Angus Leeming <leeming@lyx.org>
6524 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6526 * ispell.[Ch] (setError): new method.
6527 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6528 Use setError() insetead of goto END.
6530 * lyx_cb.C (AutoSave): move out child process into new class
6533 2002-10-30 John Levon <levon@movementarian.org>
6535 * text3.C: make start appendix undoable
6537 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6539 * lyxlength.C (inPixels): Fix returned value.
6541 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6544 2002-10-24 Angus Leeming <leeming@lyx.org>
6546 * lyxgluelength.h: no need to forward declare BufferParams
6547 or BufferView, so don't.
6549 2002-10-21 John Levon <levon@movementarian.org>
6551 * BufferView.C: menuUndo ->undo, redo
6553 * BufferView.h: document, remove dead, make some methods private
6555 * paragraph_funcs.h:
6556 * paragraph_funcs.C:
6557 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6562 * sgml.C: move sgml open/close tag into sgml.C
6564 * bufferview_funcs.h: unused prototype
6567 * lyxfunc.C: remove unused
6570 * text.C: remove unused
6572 2002-10-21 John Levon <levon@movementarian.org>
6576 * BufferView_pimpl.h:
6577 * BufferView_pimpl.C: fix mouse wheel handling based on
6578 patch from Darren Freeman
6580 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6582 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6584 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6586 * lyxlength.C (inPixels): Fix hanfling of negative length.
6587 Fix LyXLength::MU case.
6589 2002-10-16 John Levon <levon@movementarian.org>
6591 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6593 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6595 * converter.C (view): add support for $$i (file name) and $$p
6596 (file path) for the viewer command. If $$i is not specified, then
6597 it is appended to the command (for compatibility with old syntax)
6599 2002-10-14 Juergen Vigna <jug@sad.it>
6601 * undo_funcs.C (textHandleUndo): alter the order in which the
6602 new undopar is added to the LyXText, as we have to set first
6603 the right prev/next and then add it as otherwise the rebuild of
6604 LyXText is not correct. Also reset the cursor to the right paragraph,
6605 with this IMO we could remove the hack in "redoParagraphs()".
6607 2002-10-09 Angus Leeming <leeming@lyx.org>
6609 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6610 to turn off an optimisation if a new inset is to be inserted.
6612 2002-10-11 André Pönitz <poenitz@gmx.net>
6614 * lyxtext.h: make some functions public to allow access
6615 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6617 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6619 * text3.C (dispatch): when changing layout, avoid an infinite loop
6622 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6624 * lyxrc.C (read): treat a viewer or converter command of "none" as
6627 * MenuBackend.C (expandFormats): for an update, also allow the
6628 formats that are not viewable
6630 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6631 script if it is newer than the lyxrc.defaults in user directory
6633 2002-10-07 André Pönitz <poenitz@gmx.net>
6635 * text.C: Vitaly Lipatov's small i18n fix
6637 2002-09-25 Angus Leeming <leeming@lyx.org>
6639 * ispell.h: doxygen fix.
6641 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6643 * buffer.h (readFile): Add a new argument to the method, to allow
6644 reading of old-format templates.
6646 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6648 * toc.C (getTocList): Get TOC from InsetWrap.
6650 2002-09-16 John Levon <levon@movementarian.org>
6652 * lyxfunc.C: check tabular for cut/copy too
6654 2002-09-12 John Levon <levon@movementarian.org>
6659 * factory.C: add header
6661 * paragraph_funcs.h:
6662 * paragraph_funcs.C: cleanup
6664 2002-09-11 John Levon <levon@movementarian.org>
6666 * PrinterParams.h: odd/even default to true
6668 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6670 * PrinterParams.h: update printer parameters for new xforms dialog
6672 2002-09-11 Angus Leeming <leeming@lyx.org>
6674 * lyxserver.C (read_ready): re-write to make it more transparent
6675 and to make it work in coherent fashion under Tru64 Unix.
6677 2002-09-11 André Pönitz <poenitz@gmx.net>
6681 * text3.C: implement LFUN_WORDSEL
6683 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6685 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6686 make floatlist_ a boost::shared_ptr<FloatList>
6688 * lyxtextclass.C: include FloatList.h
6689 (LyXTextClass): initialize floatlist_
6690 (TextClassTags): add TC_NOFLOAT
6691 (Read): match "nofloat" to TC_NOFLOAT and use it.
6692 (readFloat): modify call to floatlist_
6696 * FloatList.[Ch] (FloatList): remove commented out float
6698 (erase): new function
6700 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6702 * MenuBackend.C (expandToc): fix crash when there is no document
6705 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6707 * many files: Add insetwrap.
6709 2002-09-09 John Levon <levon@movementarian.org>
6711 * text2.C: remove confusing and awkward depth wraparound
6713 2002-09-09 John Levon <levon@movementarian.org>
6715 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6718 * buffer.C: remove getIncludeonlyList()
6721 * lyxfunc.C: remove headers
6723 2002-09-09 Juergen Vigna <jug@sad.it>
6725 * text.C (getColumnNearX): fix form Michael this is most
6726 probably a cut&paste bug.
6728 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6730 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6732 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6733 references, ws changes.
6735 * text2.C (init): update counters after init
6736 (insertParagraph): no need to set counter on idividual paragraphs.
6737 (setCounter): access the counters object in the textclass object
6738 on in the buffer object.
6739 (updateCounters): ditto
6741 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6742 shared_ptr<Counters> to avoid loading counters.h in all
6744 (LyXTextClass): initialize ctrs_
6745 (TextClassTags): add TC_COUNTER, and ...
6746 (Read): use it here.
6747 (CounterTags): new tags
6748 (readCounter): new function
6749 (counters): new funtion
6750 (defaultLayoutName): return a const reference
6752 * counters.C (Counters): remove contructor
6753 (newCounter): remove a couple of unneeded statements.
6754 (newCounter): simplify a bit.
6755 (numberLabel): some small formatting changes.
6757 * buffer.[Ch]: remove all traces of counters, move the Counters
6758 object to the LyXTextClass.
6760 2002-09-06 Alain Castera <castera@in2p3.fr>
6762 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6763 package to set the horizontal alignment on fixed width columns.
6766 * lyx_sty.h: added tabularnewline macro def.
6768 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6770 2002-09-06 John Levon <levon@movementarian.org>
6772 * LyXAction.C: tooltips for sub/superscript
6774 * MenuBackend.C: a bit more verbose
6776 * lyxfunc.C: tiny clean
6778 * undo_funcs.C: document undo_frozen
6780 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6782 * counters.C (Counters): add missing algorithm counter.
6784 * text2.C (setCounter): lookup the counter with layouts latexname
6785 instead of by section number.
6786 (setCounter): use a hackish way to lookup the correct enum
6788 a float name->type change
6789 reset enum couners with counter name directly instead of depth value.
6791 * counters.C (Counters): remove the push_backs, change to use the
6792 float type not the float name.
6793 (labelItem): remove unused string, float name->type change
6795 * counters.h: don't include vector, loose the enums and sects vectors
6797 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6799 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6800 (Read): add float->TC_FLOAT to textclassTags
6801 (Read): and handle it in the switch
6802 (readFloat): new function
6804 * FloatList.C (FloatList): comment out the hardcoded float
6807 * lyxlayout.h: ws change.
6809 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6811 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6813 2002-09-03 Angus Leeming <leeming@lyx.org>
6815 * BufferView_pimpl.h: qualified name is not allowed in member
6816 declaration: WorkArea & Pimpl::workarea() const;
6818 * factory.C: added using std::endl directive.
6820 * text3.C: added using std::find and std::vector directives.
6822 2002-08-29 André Pönitz <poenitz@gmx.net>
6825 * text2.C: remove unused member number_of_rows
6828 * BufferView2.C: remove file, move contents to...
6829 * BufferView.C: ... here
6831 * BufferView_pimpl.C:
6832 * factory.C: move more inset creation to factory
6834 * vspace.C: avoid direct usage of LyXText, ws changes
6837 don't provide direct access to WorkArea, use two simple
6838 acessors haveSelction() and workHeight() instead
6841 2002-08-29 John Levon <levon@movementarian.org>
6843 * BufferView_pimpl.C (dispatch): do not continue when
6846 2002-08-28 André Pönitz <poenitz@gmx.net>
6848 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6851 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6853 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6855 * buffer.C: increment LYX_FORMAT to 221
6857 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6858 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6860 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6862 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6864 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6866 * factory.C (createInset): use LyXTextClass::floats
6868 * MenuBackend.C (expandFloatListInsert):
6869 (expandFloatInsert):
6872 * text2.C (setCounter):
6874 * LaTeXFeatures.C (useFloat):
6875 (getFloatDefinitions):
6877 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6879 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6880 floatlist_, with accessor floats().
6882 * FloatList.h: remove global FloatList
6884 2002-08-26 André Pönitz <poenitz@gmx.net>
6886 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6890 * BufferView_pimpl.C:
6891 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6893 2002-08-25 John Levon <levon@movementarian.org>
6895 * LyXAction.C: fix margin note description
6897 2002-08-24 John Levon <levon@movementarian.org>
6901 * bufferview_funcs.C:
6903 * undo_funcs.C: cleanups
6905 * lyxfunc.C: disable CUT/COPY when no selection
6907 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6909 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6910 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6912 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6913 Add backward compatibility to "mono", "gray" and "no".
6915 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6917 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6918 (and file_format >= 200).
6920 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6922 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6924 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6926 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6928 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6930 * BufferView_pimpl.C:
6937 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6938 inset and code to make it work with the paragraph code. The inset
6939 can be anywhere in the paragraph, but will only do the expected
6940 thing in LaTeX if the layout file contains the parameter line
6942 (or more generally, a nonzero value) for that layout.
6944 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6946 * paragraph.h: remove the declaration of undefined counters class
6949 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6951 * text2.C (setCounter): fixed enumeration mis-count as reported by
6952 Dr. Richard Hawkins.
6954 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6956 * paragraph_funcs.h: remove some unneeded includes
6958 * text.C (backspace): pasteParagraph now in global scipe
6960 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6961 (pasteSelection): ditto
6963 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6964 * paragraph_funcs.C (pasteParagraph): ... here
6966 2002-08-20 André Pönitz <poenitz@gmx.net>
6968 * commandtags.h: new LFUNs for swapping/copying table row/colums
6971 * lyxfunc.C: support for new lfuns
6973 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6976 * buffer.[Ch]: remove NO_COMPABILITY stuff
6978 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6980 * boost.C (throw_exception): new file, with helper function for
6981 boost compiled without exceptions.
6986 * ParameterStruct.h:
6987 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6989 * bufferlist.C (emergencyWriteAll): use boost bind
6991 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6993 * text.C: include paragraph_funcs.h
6994 (breakParagraph): breakParagraph is now in global scope
6996 * paragraph_funcs.[Ch]: new files
6998 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7001 * buffer.C: include paragraph_funcs.h
7002 (insertStringAsLines): breakParagraph is now in global scope
7004 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7007 * CutAndPaste.C: include paragraph_funcs.h
7008 (cutSelection): breakParagraphConservative is now in global scope
7009 (pasteSelection): ditto
7011 * buffer.h: declare oprator== and operator!= for
7012 Buffer::inset_iterator
7014 * bufferlist.C (emergencyWrite): don't use fmt(...)
7016 * text3.C: add using std::endl
7018 * BufferView.C (moveCursorUpdate): remove default arg
7020 2002-08-20 André Pönitz <poenitz@gmx.net>
7022 * buffer.[Ch]: move inline functions to .C
7025 * BufferView_pimpl.C:
7027 * buffer.[Ch]: use improved inset_iterator
7030 * paragraph.[Ch]: write one paragraph at a time
7032 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7034 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7035 style if style is not specified.
7037 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7039 * text2.C (setCounter): when searching for right label for a
7040 caption, make sure to recurse to parent insets (so that a caption
7041 in a minipage in a figure float works) (bug #568)
7043 2002-08-20 André Pönitz <poenitz@gmx.net>
7045 * text3.C: new file for LyXText::dispatch() and helpers
7047 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7049 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7051 2002-08-19 André Pönitz <poenitz@gmx.net>
7054 * text.C: new LyXText::dispatch()
7056 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7058 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7060 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7062 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7065 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7067 * Makefile.am: use $(variables) instead of @substitutions@
7069 2002-08-15 André Pönitz <poenitz@gmx.net>
7072 * BufferView_pimpl.C: streamlining mathed <-> outer world
7076 * LyXAction.C: remove unused LFUN_MATH
7078 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7080 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7082 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7084 * paragraph.C (Paragraph): reformat a bit
7085 (cutIntoMinibuffer): use builtin InsetList function instad of
7089 * buffer.C: include boost/bind.hpp, add using std::for_each
7090 (writeFileAscii): use ParagraphList iterators
7091 (validate): use for_each for validate traversal of paragraphs
7092 (getBibkeyList): use ParagraphList iterators
7093 (resizeInsets): use for_each to resizeInsetsLyXText for all
7095 (getParFromID): use ParagraphList iterators
7097 * BufferView2.C (lockInset): use paragraph list and iterators
7099 2002-08-14 John Levon <levon@movementarian.org>
7101 * lyxserver.C: remove spurious xforms include
7103 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7105 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7107 2002-08-13 André Pönitz <poenitz@gmx.net>
7110 * lyxfunc.C: further cleaning
7112 2002-08-13 André Pönitz <poenitz@gmx.net>
7114 * funcrequest.h: new constructor
7116 * funcrequest.C: move stuff here from .h
7119 * BufferView_pimpl.C:
7122 * lyxfunc.C: subsequent changes
7124 * lyxfunc.h: new view() member function
7126 * lyxfunc.C: subsequent changes
7128 2002-08-13 Angus Leeming <leeming@lyx.org>
7131 * BufferView_pimpl.C:
7139 changes due to the changed LyXView interface that now returns references
7140 to member variables not pointers.
7142 2002-08-13 Angus Leeming <leeming@lyx.org>
7144 * WordLangTuple (word, lang_code): return references to strings,
7149 * lyxtext.h: forward-declare WordLangTuple.
7154 * text.C: #include "WordLangTuple.h".
7157 * text.C: (selectNextWordToSpellcheck): constify return type.
7159 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7165 * paragraph_pimpl.h:
7168 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7170 Made updateCounter always count from start of buffer, and removed
7171 second argument (par).
7172 Reverted floats number display to '#'. Perhaps I'll try again when the
7173 code base is sanitized a bit.
7175 2002-08-12 Angus Leeming <leeming@lyx.org>
7177 * buffer.[Ch] (getLabelList): constify.
7179 2002-08-07 André Pönitz <poenitz@gmx.net>
7181 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7183 * funcrequest.h: extension to keep mouse (x,y) position
7185 2002-08-12 Juergen Vigna <jug@sad.it>
7187 * BufferView2.C (insertErrors): forbid undo when inserting error
7190 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7192 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7194 * ParagraphList.[Ch]: new files
7196 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7198 * BufferView2.C (lockInset): ParagraphList changes
7201 * bufferlist.C: ditto
7205 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7207 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7208 unused class variable counter_,
7210 * paragraph.[Ch] (getFirstCounter): delete unused function
7212 * counters.C: include LAssert.h
7213 (reset): add a new function with no arg, change other version to
7214 not have def. arg and to not allow empty arg.
7216 * text2.C (setCounter): remove empty arg from call to Counters::reset
7218 2002-08-11 John Levon <levon@movementarian.org>
7220 * Makefile.am: add WordLangTuple.h
7222 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7224 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7225 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7227 * insets/insettext.C: InsetList changes
7229 * graphics/GraphicsSupport.C (operator()): InsetList changes
7231 * toc.C (getTocList): InsetList changes
7233 * paragraph_pimpl.[Ch]: InsetList changes
7235 * paragraph.[Ch]: InsetList changes
7237 * buffer.C (inset_iterator): InsetList changes
7238 (setParagraph): ditto
7239 * buffer.h (inset_iterator): ditto
7240 * iterators.C (operator++): ditto
7241 * iterators.h: ditto
7243 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7245 * InsetList.[Ch]: new files, most InsetList handling moved out of
7248 * BufferView2.C (removeAutoInsets): InsetList changes
7250 (ChangeInsets): ditto
7252 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7254 * paragraph_pimpl.h (empty): new function
7256 * paragraph.[Ch] (empty): new function
7258 * other files: use the new Paragraph::empty function
7260 2002-08-09 John Levon <levon@movementarian.org>
7262 * lyxtext.h: remove unused refresh_height
7264 2002-08-09 John Levon <levon@movementarian.org>
7271 * paragraph.C: move sgml char escaping out of paragraph
7274 * paragraph.C: remove id setter
7278 * paragraph_pimpl.C: remove dead tex_code_break_column
7280 * bufferview_funcs.C: small cleanup
7282 * lyxfunc.C: remove dead proto
7284 * lyxtext.h: make some stuff private. Remove some dead stuff.
7286 * lyxgluelength.C: make as[LyX]String() readable
7288 2002-08-08 John Levon <levon@movementarian.org>
7293 * ToolbarDefaults.C:
7296 * toc.C: lyxaction cleanup
7298 2002-08-08 John Levon <levon@movementarian.org>
7300 * BufferView2.C: small cleanup
7303 * lyxfind.C: move unnecessary header into the .C
7305 2002-08-08 John Levon <levon@movementarian.org>
7307 * funcrequest.h: just tedious nonsense
7310 * lyx_main.C: cleanups
7313 * vspace.C: remove dead header lyx_main.h
7315 2002-08-07 Angus Leeming <leeming@lyx.org>
7318 * paragraph_pimpl.h:
7319 Forward declare class Counters in paragraph.h by moving the ctrs member
7320 variable into Paragraph::Pimpl.
7321 (counters): new method, returning a reference to pimpl_->ctrs.
7323 * text2.C: ensuing changes.
7325 2002-08-07 John Levon <levon@movementarian.org>
7327 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7329 * BufferView_pimpl.C: announce X selection on double/triple
7332 * lyx_main.C: use correct bool in batch dispatch
7334 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7336 2002-08-07 André Pönitz <poenitz@gmx.net>
7338 * funcrequest.h: new class to wrap a kb_action and its argument
7341 * BufferView_pimpl[Ch]:
7345 * lyxrc.C: subsequent changes
7348 2002-08-07 John Levon <levon@movementarian.org>
7350 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7351 document options change.
7353 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7358 * makefile.am: move counters functionality over from
7359 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7361 2002-08-06 John Levon <levon@movementarian.org>
7363 * WordLangTuple.h: new file for word + language code tuple
7374 * BufferView2.C: use WordLangTuple
7377 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7379 2002-08-06 John Levon <levon@movementarian.org>
7381 * lyx_main.C: fix cmdline batch handling
7383 2002-08-06 André Pönitz <poenitz@gmx.net>
7385 * lyxrc.C: set default for show_banner to true
7387 2002-08-06 John Levon <levon@movementarian.org>
7389 * pspell.C: fix a crash, and allow new aspell to work
7391 2002-08-06 John Levon <levon@movementarian.org>
7394 * kbmap.C: small cleanup
7397 * vspace.C: add const
7399 2002-08-05 John Levon <levon@movementarian.org>
7401 * LyXAction.C: back to tabular-insert
7403 2002-08-04 John Levon <levon@movementarian.org>
7406 * BufferView.C: cosmetic change
7408 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7418 * BufferView2.C: purge all "Lyx" not "LyX" strings
7421 * lyxcursor.C: attempt to add some documentation
7426 * ToolbarDefaults.C:
7427 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7428 merge with LFUN_TABULAR_INSERT
7435 * pspell.C: split up i/pspell implementations into separate
7436 files, many cleanups
7438 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7440 * text2.C: some cleanup
7442 * lyxfunc.C: don't check for isp_command == "none" any more, it
7443 didn't make any sense
7445 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7450 * makefile.am: move counters functionality over
7451 from text2.C/paragraph.[Ch] to counters.[Ch], and
7453 2002-08-02 John Levon <levon@movementarian.org>
7455 * buffer.C: s/lyxconvert/lyx2lyx/
7457 2002-08-02 Angus Leeming <leeming@lyx.org>
7459 * lyxlex.C: revert John's change as it breaks reading of the user
7462 2002-08-02 Angus Leeming <leeming@lyx.org>
7464 * importer.C (Import):
7465 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7466 changes due to LyXView::view() now returning a boost::shared_ptr.
7468 2002-08-02 John Levon <levon@movementarian.org>
7470 * lyxlex.C: small cleanup
7472 2002-08-02 John Levon <levon@movementarian.org>
7474 * text2.C (status): small cleanup, no logic change
7476 2002-08-01 John Levon <levon@movementarian.org>
7479 * buffer.C (writeFile): don't output alerts, caller
7483 * lyx_cb.C: from above
7485 * lyxfunc.C: allow to open non-existent files
7487 2002-07-31 John Levon <levon@movementarian.org>
7489 * lyxserver.C: don't let incidental errors get
7492 2002-07-30 John Levon <levon@movementarian.org>
7494 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7496 2002-07-30 John Levon <levon@movementarian.org>
7499 * lyxserver.C: remove I/O callback too
7501 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7503 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7506 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7508 * many files: strip,frontStrip -> trim,ltrim,rtrim
7510 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7512 * PrinterParams.h: remove extern containsOnly, and include
7513 support/lstrings.h instead.
7515 * LaTeX.C (scanAuxFile): modify because of strip changes
7517 * buffer.C (makeLaTeXFile): ditto
7518 * bufferparams.C (writeFile): ditt
7519 * lyxfont.C (stateText): ditto
7520 * lyxserver.C (read_ready): ditto
7521 * vc-backend.C (scanMaster): ditto
7523 * BufferView_pimpl.h: ws changes
7525 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7527 2002-07-26 André Pönitz <poenitz@gmx.net>
7529 * kb_sequence.C: remove unnedred usings
7531 2002-07-26 Juergen Vigna <jug@sad.it>
7533 * lyxfind.C (LyXReplace): we have to check better if the returned
7534 text is not of theLockingInset()->getLockingInset().
7536 2002-07-25 Juergen Vigna <jug@sad.it>
7538 * lyxfind.C (LyXReplace): don't replace if we don't get the
7541 * undo_funcs.C (createUndo): remove debugging code.
7543 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7545 * buffer.C (parseSingleLyXformat2Token): Use default placement
7546 when reading old floats.
7548 * FloatList.C (FloatList): Change the default placement of figure
7549 and tables to "tbp".
7551 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7553 * MenuBackend.C: using std::max
7555 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7557 * MenuBackend.C (expandToc):
7558 (expandToc2): code moved from xforms menu frontend. It is now
7559 generic and TOCs are transparent to menu frontends.
7561 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7563 * toc.C (getTocList): protect against buf=0
7565 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7566 Menu as first parameter. Now, this calls itself recursively to
7567 expand a whole tree (this will be useful for TOC handling)
7568 (expandFloatInsert): remove 'wide' version of floats
7570 * MenuBackend.h (submenuname): returns the name of the submenu.
7571 (submenu): returns the submenu itself, provided it has been
7572 created by MenuBackend::expand
7574 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7576 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7577 insets which have noFontChange == true. (bug #172)
7579 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7581 * BufferView_pimpl.C: add connection objects and use them...
7584 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7586 * MenuBackend.C (expandLastfiles):
7589 (expandFloatListInsert):
7590 (expandFloatInsert):
7591 (expand): split expand in parts
7593 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7595 * lyx_gui.C: use lyx_gui::exit()
7597 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7599 * LyXAction.C: show the failing pseudo action
7601 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7603 * buffer.C (readFile): Run the lyxconvert script in order to read
7606 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7610 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7612 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7616 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7618 2002-07-22 Herbert Voss <voss@lyx.org>
7621 * lyxlength.[Ch]: add support for the vertical lengths
7623 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7625 * toc.[Ch]: std:: fixes
7627 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7629 * lyxrc.C: do not include lyx_main.h
7631 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7637 * BufferView2.C: include "lyxlex.h"
7640 * bufferparams.h: do not #include "lyxlex.h"
7642 * lyxtextclasslist.C (Add): remove method
7643 (classlist): renamed to classlist_
7645 * paragraph_pimpl.C:
7649 * bufferview_funcs.C:
7654 * toc.C (getTocList): use BufferParams::getLyXTextClass
7656 * toc.C (getTocList): use InsetFloat::addToToc
7658 * toc.[Ch]: new files, containing helper functions to handle table
7661 * lyxfunc.C (dispatch): no need to remove spaces around command
7663 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7664 first command of the sequence; it is not very clever, but I do not
7665 have a better idea, actually
7667 * LyXAction.C (LookupFunc): make sure to remove space at the
7668 beginning and end of the command
7670 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7672 * MenuBackend.C (getMenubar): new method: return the menubar of
7674 (read): treat differently reading of menu and menubar (in
7675 particular, the menubar has no name now)
7676 (Menu::menubar): remove
7678 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7681 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7683 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7684 a bibitem inset in a RTL paragraph.
7686 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7688 * paragraph_pimpl.C: constify
7690 * BufferView_pimpl.C:
7692 * lyxfunc.C: fix dispatch in a nicer way
7694 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7696 * lyxfunc.C (dispatch):
7697 * BufferView_pimpl.C:
7698 * BufferView_pimpl.h:
7700 * BufferView.h: rename Dispatch() to dispatch()
7702 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7704 * lyxlayout.C (Read): honor DependsOn tag
7706 * lyxlayout.[Ch] (depends_on): new method
7708 * version.C.in: update lyx_docversion
7710 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7712 * paragraph.C (validate): remove from here...
7713 * paragraph_pimpl.C (validate): ... and move here
7714 (isTextAt): make it const
7716 * buffer.C (getLists): ws cleanup
7718 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7720 * language.C (read): Use iso8859-1 encoding in latex_lang
7721 (this prevents LyX from crashing when using iso10646-1 encoding).
7723 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7725 * text2.C (toggleInset): if cursor is inside an inset, close the
7726 inset and leave cursor _after_ it
7728 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7730 * lyxfunc.C: move minibuffer completion handling out of here
7732 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7734 * BufferView_pimpl.C:
7735 * LaTeX.C: fix dispatch calls
7737 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7739 * text.C (drawChars): Fix Arabic text rendering.
7741 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7745 * lyxfunc.C: remove message-push/pop
7749 * lyxfunc.C: rationalise some code by removing verboseDispatch
7750 in favour of a bool argument to dispatch()
7752 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7754 * lyx_main.C (init): make sure to read symlinks as absolute paths
7756 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7759 * lyxfunc.C: no need for commandshortcut to be a member
7761 2002-07-15 André Pönitz <poenitz@gmx.net>
7763 * converter.C: add support for $$s (scripts from lib/scripts dir)
7764 * lyx_main.C: white space
7766 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7770 * lyxrc.C: remove second exit confirmation
7772 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7777 * BufferView_pimpl.h:
7778 * BufferView_pimpl.C:
7779 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7781 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7783 * MenuBackend.C (expand): add numeric shortcuts to document menu
7785 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7787 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7789 * lyxfont.C (setLyXFamily):
7796 * buffer.C (asciiParagraph): use ascii_lowercase
7798 2002-07-15 Mike Fabian <mfabian@suse.de>
7800 * lyxlex_pimpl.C (search_kw):
7801 * lyxlex.C (getLongString):
7802 * converter.h (operator<):
7803 * converter.C (operator<):
7804 * buffer.C (parseSingleLyXformat2Token):
7806 * ToolbarDefaults.C (read):
7807 * MenuBackend.C (checkShortcuts):
7809 * LColor.C (getFromGUIName):
7810 (getFromLyXName): use the compare_ascii_no_case instead of
7811 compare_no_case, because in turkish, 'i' is not the lowercase
7812 version of 'I', and thus turkish locale breaks parsing of tags.
7814 2002-07-16 Angus Leeming <leeming@lyx.org>
7816 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7817 now takes a Buffer const & argument.
7819 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7821 * BufferView.C (resize): check there's a buffer to resize
7823 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7825 * lyxfunc.C: remove dead code
7828 * lyxserver.C: use lyx_guii::set_read_callback
7830 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7832 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7833 an inset in a RTL paragraph.
7835 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7837 * lyxfunc.C: repaint after a font size update
7839 2002-07-15 André Pönitz <poenitz@gmx.net>
7841 * lyxlength.C: inBP should be able to return negative values
7843 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7845 * lyxfunc.C: use lyx_gui::update_fonts()
7847 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7849 * lyxfunc.C: use lyx_gui::update_color()
7851 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7857 * lyxrc.C: remove file->new asks for name option, and let
7858 buffer-new take an argument
7860 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7862 * BufferView_pimpl.C: remove unneeded extra repaint()
7864 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7866 * LyXAction.C: allow command-sequence with NoBuffer
7868 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7870 2002-07-10 Angus Leeming <leeming@lyx.org>
7872 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7874 2002-07-09 Angus Leeming <leeming@lyx.org>
7876 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7878 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7880 * lengthcommon.h: whitespace
7882 * lyxfunc.C: update scrollbar after goto paragraph
7884 * lyxtext.h: factor out page break drawing, and fix it so
7885 page break/added space paints as selected nicely
7887 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7889 * BufferView_pimpl.C: add FIXMEs, clean up a little
7891 2002-07-09 André Pönitz <poenitz@gmx.net>
7893 * lyxfont.[Ch]: support for wasy symbols
7895 2002-07-08 André Pönitz <poenitz@gmx.net>
7897 * BufferView_pimpl.C: apply John's patch for #93.
7899 2002-07-05 Angus Leeming <leeming@lyx.org>
7901 * BufferView_pimpl.C (buffer): generate previews if desired.
7903 * LColor.h: add "preview" to the color enum.
7905 * LColor.C (LColor): add a corresponding entry to the items array.
7907 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7910 2002-07-05 Angus Leeming <leeming@lyx.org>
7912 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7913 The body of the code is now in the method that is passed an ostream &
7914 rather than a file name.
7915 Pass an additional only_preamble parameter, useful for the forthcoming
7918 2002-07-03 André Pönitz <poenitz@gmx.net>
7920 * lyxfunc.C: simplify getStatus() a bit for math stuff
7922 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7924 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7926 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7928 * text.C (changeRegionCase): do not change case of all the
7929 document when region ends at paragraph end (bug #461)
7931 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7933 * paragraph.C (startTeXParParams):
7934 (endTeXParParams): add \protect when necessary
7936 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7938 * BufferView_pimpl.C (workAreaExpose): remove warning
7940 2002-06-27 Angus Leeming <leeming@lyx.org>
7942 * Makefile.am: add lyxlayout_ptr_fwd.h.
7944 2002-06-26 André Pönitz <poenitz@gmx.net>
7946 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7948 2002-06-25 Angus Leeming <leeming@lyx.org>
7950 * lyxfunc.C (dispatch): Comment out the call to
7951 grfx::GCache::changeDisplay. The method no longer exists now that the
7952 pixmap generation part of the graphics loader has been moved into
7955 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7957 * text2.C: layout as layout
7959 * text.C: layout as layout
7961 * tabular.C (OldFormatRead): layout as layout
7963 * paragraph_pimpl.C (TeXDeeper): layout as layout
7964 (realizeFont): layout as layout
7966 * paragraph.C (writeFile): layout as layout
7967 (validate): layout as layout
7968 (getFont): layout as layout
7969 (getLabelFont): layout as layout
7970 (getLayoutFont): layout as layout
7971 (breakParagraph): layout as layout
7972 (stripLeadingSpaces): layout as layout
7973 (getEndLabel): layout as layout
7974 (getMaxDepthAfter): layout as layout
7975 (applyLayout): layout as layout
7976 (TeXOnePar): layout as layout
7977 (simpleTeXOnePar): layout as layout
7978 (TeXEnvironment): layout as layout
7979 (layout): layout as layout
7980 (layout): layout as layout
7982 * lyxtextclass.C (compare_name): new functor to work with
7983 shared_ptr, layout as layout
7984 (Read): layout as layout
7985 (hasLayout): layout as layout
7986 (operator): layout as layout
7987 (delete_layout): layout as layout
7988 (defaultLayout): layout as layout
7990 * lyxlayout_ptr_fwd.h: new file
7992 * lyxlayout.C (Read): layout as layout
7994 * lyx_cb.C (MenuInsertLabel): layout as layout
7996 * bufferlist.C (newFile): layout as layout
7998 * buffer.C (readLyXformat2): layout as layout
7999 (parseSingleLyXformat2Token): layout as layout
8000 (insertStringAsLines): layout as layout
8001 (asciiParagraph): layout as layout
8002 (latexParagraphs): layout as layout
8003 (makeLinuxDocFile): layout as layout
8004 (simpleLinuxDocOnePar): layout as layout
8005 (makeDocBookFile): layout as layout
8006 (simpleDocBookOnePar): layout as layout
8007 (getLists): layout as layout
8009 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8011 * CutAndPaste.C (cutSelection): layout as layout
8012 (pasteSelection): layout as layout
8013 (SwitchLayoutsBetweenClasses): layout as layout
8015 * BufferView_pimpl.C (Dispatch): layout as layout
8016 (smartQuote): layout as layout
8018 * BufferView2.C (unlockInset): layout as layout
8020 2002-06-24 André Pönitz <poenitz@gmx.net>
8022 * lyxfunc.C: fix #487
8024 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8028 * lyxfunc.C: remove display_shortcuts, show_banner
8030 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8032 * Buffer_pimpl.C: oops, update on resize
8034 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8041 * BufferView.C: use repaint()
8043 * BufferView_pimpl.h:
8044 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8045 as it's a clearer description. Remove superfluous
8048 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8050 * text.C: fix bug 488. Not ideal, but getting
8051 getWord() to work properly for the insets that
8052 matter is more difficult ...
8054 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8056 * BufferView_pimpl.C:
8059 * lyxfunc.C: remove the six million index lyxfuncs to just
8060 one, and DTRT (bug 458)
8062 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8066 * BufferView_pimpl.h:
8067 * BufferView_pimpl.C: clean up resize() stuff,
8068 and unnecessary updateScreen()s
8070 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8074 * BufferView_pimpl.h:
8075 * BufferView_pimpl.C:
8078 * minibuffer.C: remove focus management of workarea,
8079 not needed. Use screen's greyOut()
8081 2002-06-17 Herbert Voss <voss@lyx.org>
8083 * converter.C: (convert) do not post a message, when converting
8084 fails, let the calling function decide what to do in this case
8086 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8088 * lyxfunc.C: tidy up a little
8090 2002-06-16 <alstrup@diku.dk>
8092 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8093 Got rid of FORMS_H_LOCATION include. Now we are
8096 2002-06-15 LyX Development team <lyx@rilke>
8098 * buffer.[Ch] (sgmlOpenTag):
8099 (sgmlCloseTag): Added support for avoiding pernicious mixed
8100 content. Return number of lines written.
8103 (makeDocBookFile): Fixed calls to sgml*Tag.
8104 Simple white space clean.
8106 (simpleDocBookOnePar): Simple white space clean.
8108 * tabular.[Ch] (docBook): Renamed to docbook and got another
8109 argument to related with the pernicious mixed content.
8111 (docbookRow): Fixed calls for docbook inset method.
8113 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8115 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8116 so it's X11 independent.
8120 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8122 2002-06-15 Lyx Development team <lyx@electronia>
8124 * intl.h: Renamed getTrans to getTransManager.
8126 2002-06-14 Angus Leeming <leeming@lyx.org>
8128 * Makefile.am: nuke forgotten stl_string_fwd.h.
8130 2002-06-12 Angus Leeming <leeming@lyx.org>
8132 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8134 2002-06-13 Angus Leeming <leeming@lyx.org>
8137 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8139 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8141 * kbmap.C (getiso): add support for cyrillic and greek
8143 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8147 * BufferView_pimpl.h:
8148 * BufferView_pimpl.C: move bogus scrolling logic
8151 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8154 * BufferView_pimpl.C: view->resize() change
8156 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8158 * BufferView_pimpl.C: topCursorVisible
8161 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8165 * lyx_gui.C: move to frontends/
8169 * lyx_main.C: changes from above
8171 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8178 * lyx_main.C: minor tidy
8180 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8182 * BufferView_pimpl.h:
8183 * BufferView_pimpl.C:
8185 * BufferView.C: make painter() const,
8188 * BufferView2.C: use screen() accessor
8191 * lyx_main.C: some minor cleanup
8193 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8195 * BufferView_pimpl.h:
8196 * BufferView_pimpl.C: remove enter/leaveView,
8199 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8204 * BufferView_pimpl.h:
8205 * BufferView_pimpl.C: only construct screen once,
8208 * lyxrc.C: remove pointless comment
8210 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8213 * BufferView.C: remove active() and belowMouse()
8215 * BufferView_pimpl.h:
8216 * BufferView_pimpl.C: use workarea() not workarea_,
8217 and make it use a scoped_ptr instead
8219 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8221 * lyx_gui.C: add debug message on BadWindow
8223 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8225 * sp_spell.C: fdopen is not part of the C++ standard.
8227 * paragraph.C (InsetIterator): use >= instead of ==
8229 2002-06-07 Angus Leeming <leeming@lyx.org>
8231 Fixes needed to compile with Compaq cxx 6.5.
8232 * BufferView_pimpl.C:
8239 * lyxtextclasslist.C:
8244 all c-library variables have been moved into namespace std. Wrap
8245 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8250 Add a using std::abs declaration.
8252 * kbmap.h (modifier_pair):
8253 * paragraph.h (InsetTable, InsetList):
8254 * lyxfont.h (FontBits):
8255 type definition made public.
8257 * bufferlist.C (emergencyWriteAll): the compiler complains that
8258 there is more than one possible lyx::class_fun template to choose from.
8259 I re-named the void specialisation as lyx::void_class_fun.
8261 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8263 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8264 the compiler is is unable to find tostr in write_attribute.
8266 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8268 * buffer.C (sgmlError): hide #warning
8270 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8272 * xtl/*: get rid of xtl, which is not in use anyway
8274 * LyXAction.C (init):
8275 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8276 were unimplemented xtl experimentation
8278 2002-06-04 André Pönitz <poenitz@gmx.net>
8280 * lyxfunc.C: disable array operation on simple formulae
8282 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8284 * converter.C: constify a bit
8286 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8288 * lyx_gui.C: check xforms version correctly
8290 2002-04-30 Herbert Voss <voss@lyx.org>
8292 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8295 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8297 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8298 attempt to register it with a VCS)
8300 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8302 * lyx_main.C (init): honor variables LYX_DIR_13x and
8305 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8309 * lyx_main.C: fix a crash on bad command line,
8310 and give a useful exit status on error
8312 * lyxfunc.C (doImport): allow -i lyx to work
8314 2002-03-30 André Pönitz <poenitz@gmx.net>
8316 * lyxfunc.C: mathed font changes
8318 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8333 * trans_mgr.h: srcdocs, and some minor cleanups
8335 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8337 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8338 call getFont all the time)
8340 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8342 * switch from SigC signals to boost::signals
8344 2002-05-29 André Pönitz <poenitz@gmx.net>
8346 * paragraph_pimpl.C (getChar): don't call size() too often...
8348 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8350 * paragraph_pimpl.C (insertChar): do not try to update tables when
8351 appending (pos == size())
8353 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8354 in order to reduce drastically the number of comparisons needed to
8355 parse a large document
8357 2002-05-29 André Pönitz <poenitz@gmx.net>
8363 * textclasslist.[Ch]:
8364 * sp_ispell.h: whitespace change
8366 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8368 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8369 lyxaction directly now.
8371 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8375 * lyxvc.C: remove unused headers
8377 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8384 * undo_funcs.C: some cleanups. Use shared_ptr
8385 and a template for the undo stacks.
8387 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8389 * BufferView_pimpl.h:
8390 * BufferView_pimpl.C:
8397 * text2.C: use key_state/mouse_state
8399 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8401 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8404 * chset.C: change include order
8405 (loadFile): use boost regex and get rid of LRegex and LSubstring
8407 * Makefile.am (BOOST_LIBS): new variable
8410 * LaTeX.C: change include order.
8411 (scanAuxFile): use boost regex and get rid of LRegex and
8415 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8420 * FontInfo.C: moved to frontends/xforms/
8423 * FontLoader.C: moved into frontends for GUIIzation
8428 * lyxfunc.C: changes from above
8430 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8432 * LColor.C: remove spurious X include
8434 * BufferView_pimpl.C:
8439 * text2.C: move font metrics to frontends/
8441 2002-05-24 Juergen Vigna <jug@sad.it>
8443 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8444 setting the undo_cursor.
8446 * ParagraphParameters.h: include local includes first.
8448 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8450 * BufferView_pimpl.C:
8451 * BufferView_pimpl.h:
8455 * screen.C: move WorkArea into frontends/
8461 * BufferView2.C: move LyXScreen into frontends/
8465 * lyx_gui.C: move lyxlookup into frontends/xforms/
8467 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8470 * BufferView_pimpl.C:
8480 * bufferview_funcs.C:
8493 * vc-backend.C: move LyX/XFormsView into frontends/
8495 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8507 * text2.C: move Painter to frontends/
8509 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8511 * buffer.C: comment out some some code that depend upon lyx_format
8514 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8515 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8517 * buffer.h (NO_COMPABILITY): turn off compability
8519 * ColorHandler.C: include scoped_array.hpp
8521 * font.C: Use more specific smart_ptr header.
8524 * ShareContainer.h: ditto
8528 * BufferView_pimpl.h: ditto
8529 * ColorHandler.h: ditto
8531 * kbmap.C (defkey): change call to shared_ptr::reset
8533 2002-05-21 Juergen Vigna <jug@sad.it>
8535 * buffer.C (insertErtContents): fix to insert ert asis if it is
8536 non empty. Skip it completely if it contains only whitespaces.
8538 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8540 * BufferView_pimpl.C:
8541 * BufferView2.C: clear selection on paste (bug 393)
8543 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8545 * DepTable.C: include ctime
8547 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8549 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8551 2002-05-14 Juergen Vigna <jug@sad.it>
8553 * text.C (breakParagraph): fixed function to honor the keepempty
8554 layout in the right maner and also to permit the right breaking
8555 algorithm on empty or non empyt keepempty paragraphs.
8557 * paragraph.C (breakParagraph): we have to check also if the par
8558 is really empty (!size()) for isempty otherwise we do the wrong
8561 2002-05-10 Juergen Vigna <jug@sad.it>
8563 * buffer.[Ch] : The following are only changes to the ert
8564 compatibility read reading old LaTeX layout and font stuff and
8565 convert it to ERTInsets.
8567 * buffer.h: added isErtInset().
8569 * buffer.C (struct ErtComp): add a fromlayout bool to check
8570 if we're inside a LaTeX layout.
8571 (isErtInset): new helper function.
8572 (insertErtContents): look for other ert insets before this one
8573 and insert the contents there, so that we don't have subsequent
8574 ERT insets with nothing between them. This way we create only one
8575 inset with multiple paragraphs. Also check if we don't insert only
8576 spaces ' ' as they are ignored anyway afterwards in the .tex file
8577 so if we have only spaces we will ignore this latex part in the
8579 (parseSingleLyXformat2Token \\layout): better compatibility when
8580 reading layout-latex stuff.
8581 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8583 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8584 stuff after reading the inset only get the information back from
8587 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8589 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8591 * LaTeXFeatures.C (getBabelOptions): New method.
8593 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8595 * BufferView_pimpl.C (Dispatch): work around missing argument for
8598 2002-05-08 Juergen Vigna <jug@sad.it>
8600 * text.C (leftMargin): handle paragraph leftindent.
8602 * paragraph.C (writeFile): write the new \\leftindent tag.
8603 (validate): handle leftindent code.
8604 (TeXEnvironment): handle paragraphleftindent code again.
8606 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8608 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8609 for paragrap_extra indent code and new token \\leftindent.
8610 (latexParagraphs): handle the leftindent as environment.
8612 * ParameterStruct.h: added leftindent support.
8614 * ParagraphParameters.C (leftIndent): added support functions for
8615 the paragraph left indent.
8617 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8620 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8622 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8625 * text.C (computeBidiTables): No bidi in insetERT.
8627 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8630 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8632 * version.C.in: pre 5
8634 2002-05-02 José Matos <jamatos@fep.up.pt>
8635 * buffer.C (makeDocBookFile): white space changes, add newline to
8637 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8639 * tabular.C (docBook): fix typo.
8641 2002-05-03 Juergen Vigna <jug@sad.it>
8643 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8644 change in LyXText as we can not be sure it was not freed.
8645 (drawOneRow): remove unused code.
8647 * text.C (drawInset): redo the calculation of the need_break_row as
8648 it could have a row which was already freed.
8649 (draw): look at the return value of drawInset and return false if
8650 it also returned false.
8651 (paintRowText): look at the return value of draw and return false if
8652 it also returned false.
8654 * lyxtext.h: added bool return type to drawInset() and draw() so that
8655 if we have a change in the row so that the rowbreak has to be redone
8656 we abort drawing as it will be called again.
8658 2002-05-02 Juergen Vigna <jug@sad.it>
8660 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8661 a change in the maintext also if we're inside an inset.
8662 (Dispatch): set the cursor again after a break line and after the
8663 screen has been updated as it could be we're in a different row.
8665 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8666 to set the cursor behind the pargraph with > size().
8667 (setCursor): check also for the same paragraph when checking where
8668 to put the cursor if we have a NFR inset.
8670 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8671 parts of layout read further up as it still was in the wrong
8674 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8676 * screen.C (drawFromTo): change sine fullRebreak always return
8679 * buffer.C (parseSingleLyXformat2Token): reindent some
8681 * BufferView_pimpl.C (update): change since fullRebreak always
8683 (Dispatch): git rid of the last hardcoded "Standard"s.
8685 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8687 * text2.[Ch] (fullRebreak): make it return void now that we always
8690 2002-04-30 Juergen Vigna <jug@sad.it>
8692 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8693 ert compatibility check for "latex" layout.
8695 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8697 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8698 minipages: use col% instead of p%, and also use the current font.
8699 (makeLaTeXFile): Fix use babel condition.
8700 (parseSingleLyXformat2Token): Correct font when reading old floats.
8702 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8704 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8705 inserting list of floats.
8707 2002-04-25 Herbert Voss <voss@lyx.org>
8709 * MenuBackend.C (expand): don't add the graphics extensions to the
8712 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8714 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8715 non-existing layout, do not complain if it was the default layout
8716 of the original class (bug #342)
8718 2002-04-24 Juergen Vigna <jug@sad.it>
8720 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8721 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8723 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8725 * buffer.C (getBibkeyList): If using \bibliography, return the
8726 option field with the reference itself. Enables us to provide natbib
8727 support when using \bibliography.
8729 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8731 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8733 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8734 natbib is provided by the LaTeX class.
8736 2002-04-23 Juergen Vigna <jug@sad.it>
8738 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8741 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8743 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8745 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8747 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8748 ensuremath around textordmasculine, textordfeminine and
8751 2002-04-19 Juergen Vigna <jug@sad.it>
8753 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8754 reinitializing the buffer otherwise row-dimensions may be wrong.
8755 (update): reset also the selection cursors if they do exits otherwise
8756 their x/y positions may be wrong.
8758 * text2.C (cursorDown): don't enter the inset if we came from a row
8759 above and are one row over the inset.
8761 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8762 really leaving an inset.
8764 2002-04-18 Juergen Vigna <jug@sad.it>
8766 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8767 of the selected paragraph does not have the selected layout also if
8770 * text2.C (setLayout): fixed bug which did not change last selected
8773 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8774 changed the read and substituted \\end_float with \\end_inset!
8776 * BufferView_pimpl.C (cursorPrevious):
8777 (cursorNext): fixed to make it work with rows heigher than the work
8778 area without moving the cursor only the draw of the row.
8779 (workAreaMotionNotify): fix jumping over high rows.
8781 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8783 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8786 2002-04-16 Juergen Vigna <jug@sad.it>
8788 * text2.C (setCursor): set also the irow().
8789 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8791 (cursorDown): support for locking an inset if the x_fix value goes
8792 inside it. That way I can transverse insets too with cursor up/down.
8794 * lyxrow.h: added irow helper function same as other (i) functions.
8796 * BufferView_pimpl.C (cursorPrevious):
8797 (cursorNext): fixed for insets!
8799 2002-04-15 Juergen Vigna <jug@sad.it>
8801 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8802 position otherwise it is wrong in some cases.
8804 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8805 inside the inset before the call.
8807 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8809 * buffer.[Ch] (getBibkeyList): make it const.
8811 2002-04-12 Juergen Vigna <jug@sad.it>
8813 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8815 * text2.C (getCursorX): new helper function
8816 (setCursor): compute also ix_
8817 (setCursorFromCoordinates): set also ix.
8819 * lyxcursor.h: added ix_ and helper functions.
8821 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8823 * buffer.C (insertStringAsLines): dont break paragraph if the this
8824 paragraph is inside an inset which does not permit it!
8826 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8827 also with no chars on this paragraph.
8828 (paintRowText): only paint stuff if it's inside the workarea!
8830 * paragraph.C (breakParagraph): honor keepempty flag and break the
8831 paragraph always below not above.
8833 * BufferView2.C (unlockInset): update the paragraph layout on inset
8834 unlock as we changed paragraph in such a case.
8836 * lyxfind.C (LyXFind): clear the former selection if not found!
8838 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8839 again called in insertChar().
8841 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8842 an inset which uses the whole row!
8843 (rightMargin): ditto.
8844 (insertChar): force a rebreak if we inserted an inset!
8846 2002-03-28 Herbert Voss <voss@lyx.org>
8848 * lyxlength.[Ch]: add inBP() to get the right PS-point
8849 units (BigPoint). With inPixels we have rounding errors
8851 2002-04-11 Juergen Vigna <jug@sad.it>
8853 * text2.C (setCursorFromCoordinates): set iy to the right value.
8854 (setCursor): add check if row->previous exists!
8856 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8857 an old float_type as this was the case in the old code!
8859 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8861 * BufferView2.C (showLockedInsetCursor): use iy
8862 (fitLockedInsetCursor): ditto
8864 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8865 locked insets as there we have the right value now.
8867 * lyxcursor.C: added iy_ variable and iy functions to set to the
8868 baseline of cursor-y of the locked inset.
8870 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8871 (setCursor): fixed for insets which need a full row.
8873 * text.C (rowLastPrintable): don't ignore the last space when before
8874 an inset which needs a full row.
8875 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8876 as last character of a row when before a inset which needs a full row.
8878 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8880 * version.C.in: update date
8882 * text2.C (fullRebreak): try to always return true and see what
8885 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8887 * MenuBackend.C (expand): use Floating::listName
8889 * FloatList.C (FloatList): add listName argument to the built-in
8892 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8893 text associated with the float.
8895 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8897 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8899 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8901 * ShareContainer.h: add a couple of missing typenames.
8903 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8905 * lyxrc.C (getDescription): use _() correctly rather than N_().
8907 2002-03-28 Herbert Voss <voss@lyx.org>
8909 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8910 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8912 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8914 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8915 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8917 2002-03-29 Juergen Vigna <jug@sad.it>
8919 * lyxfunc.C (dispatch): add a missing fitCursor call.
8921 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8922 it was scrolled by a cursor move, so return the bool status.
8924 * BufferView.C (fitCursor): return the bool flag also to the outside
8925 world as this is needed.
8927 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8929 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8930 call the edit() as it is not needed (and wrong) IMO.
8931 (workAreaButtonPress): set the screen_first variable before evt.
8932 unlock the inset as this may change screen_first and then we have
8933 a wrong y position for the click!
8935 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8937 * MenuBackend.C (expand): another translation that I missed
8939 2002-03-28 Juergen Vigna <jug@sad.it>
8941 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8943 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8945 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8947 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8949 * MenuBackend.C (expand): fix export/view/update when there is no
8952 2002-03-27 Herbert Voss <voss@lyx.org>
8954 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8957 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8959 * bufferview_funcs.C (currentState): only show paragraph number
8960 for is DEVEL_VERSION is set.
8962 * lyxfunc.C (dispatch): put warning in INFO channel
8964 * MenuBackend.C (expand): translate the name of floats
8966 * FloatList.C (FloatList): mark the float names for translation
8968 * converter.C (convert): use LibScriptSearch
8970 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8972 * MenuBackend.C (defaults): fix default menu (we might as well get
8975 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8977 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8980 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8982 * lyxvc.C: reorder includes.
8984 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8986 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8989 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8991 * CutAndPaste.C: change layouts earlier on paste
8992 to avoid crashing when calling getFont()
8994 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8996 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8999 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9001 * WorkArea.C: remove 'Pending' debug message.
9003 * most files: ws cleanup
9005 * buffer.[Ch]: ws changes
9007 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9009 2002-03-21 Juergen Vigna <jug@sad.it>
9011 * tabular.C (SetMultiColumn): collapse also the contents of the
9012 cells and set the last border right. Added a Buffer const * param.
9014 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9016 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9019 2002-03-19 Juergen Vigna <jug@sad.it>
9021 * text2.C (clearSelection): reset also xsel_cache.
9023 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9024 where it needs to be called (John tells us to do so too :)
9025 (selectionLost): reset sel_cache.
9027 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9029 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9031 * text2.C (setCursorIntern): put debuging code in INSETS channel
9033 2002-03-19 André Pönitz <poenitz@gmx.net>
9035 * lyxfunc.C: tiny whitespace change
9037 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9039 * ToolbarDefaults.C (init):
9040 * LyXAction.C (init):
9042 * BufferView_pimpl.C (Dispatch):
9043 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9045 2002-03-19 Allan Rae <rae@lyx.org>
9047 * exporter.C (Export): removeAutoInsets before doing anything else.
9048 While I've just introduced a dependency on BufferView this really is
9049 the best place to clean the buffer otherwise you need to cleanup in
9050 a dozen places before calling export or cleanup in a dozen functions
9053 * converter.C (runLaTeX):
9054 (scanLog): Better handling of removeAutoInsets and screen updates.
9056 * lyxfunc.C (dispatch): small whitespace changes
9058 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9060 * WorkArea.C (C_WorkAreaEvent): return a value.
9061 (event_cb): return 1 if we handled the event, 0 otherwise.
9063 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9065 2002-03-18 Juergen Vigna <jug@sad.it>
9067 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9068 (GetAdditionalWidth): ditto.
9072 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9073 inset if we're there actually (probably not used right now but this
9074 is the direction to go for unifying code).
9075 (paste): disable code to clear the selection.
9077 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9078 inside an InsetText and move the check further up as it is in the
9081 * text2.C (pasteSelection): set a selection over the pasted text.
9083 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9085 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9086 and libgraphics to build on Cygwin.
9088 2002-03-15 Juergen Vigna <jug@sad.it>
9090 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9091 inserting an Inset into the paragraph. I know this is not the best
9092 fix but we already use current_view in CutAndPaste so we will remove
9093 all of it's using at the same time.
9095 * buffer.C (sgmlError): deactivated function till it is rewritten in
9096 the right mode, now it can create problems.
9098 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9099 before accessing it.
9101 2002-03-14 Juergen Vigna <jug@sad.it>
9103 * undo_funcs.C (textHandleUndo): do the right thing when updating
9104 the inset after the undo/redo.
9106 * text2.C (setCursor): just some testcode for #44 not ready yet.
9108 * undo_funcs.C (textHandleUndo): set the next() and previous()
9109 pointers of the paragraph to 0 before deleting otherwise we have
9110 problems with the Paragraph::[destructor].
9112 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9113 on a paragraph insertion.
9115 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9117 * buffer.C (asciiParagraph): use += operator for char append to
9120 * paragraph.C (getFontSettings): compare >= not just >
9121 (highestFontInRange): ditto
9124 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9126 * paragraph.C: change several algorithm to be more appripriate for
9127 the problem domain. This is lookip in FontList and in the InsetList.
9129 2002-03-13 André Pönitz <poenitz@gmx.net>
9132 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9134 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9139 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9141 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9143 * Painter.C (display): anon helper function, adjust code for this
9145 (pixmap): remove function.
9147 * Painter.h: remove private display variable.
9149 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9151 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9153 * WorkArea.[Ch]: remove figinset_canvas cruft.
9155 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9157 * lyxtextclass.C (operator): add one item cache optimization.
9159 * bufferlist.h: doxy changes
9161 * bufferlist.C: ws changes
9163 * DepTable.[Ch] (ext_exist): place const in the right spot.
9165 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9167 (workAreaExpose): call resizeInsets when the with BufferView changes.
9168 (Dispatch): adjust for protectedBlank removal
9169 (specialChar): call updateInset if the insert went ok.
9171 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9172 specialChar instead.
9174 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9176 * BufferView.h: doxy change
9178 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9180 * lyxtextclass.C (operator[]): remove non-const version
9181 (defaultLayout): remove non-const version
9183 2002-03-12 Juergen Vigna <jug@sad.it>
9185 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9186 did resize the LyXText too.
9188 * buffer.C (readLyXformat2): set layout information on newly allocated
9191 * tabular.C (OldFormatRead): set layout information on the paragraph.
9193 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9195 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9197 2002-03-11 Juergen Vigna <jug@sad.it>
9199 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9201 (resizeCurrentBuffer): force also the insets to resize themselfes.
9202 (moveCursorUpdate): fixed up for InsetText.
9204 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9207 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9208 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9209 value of Dialogs::tooltipsEnabled().
9210 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9212 2002-03-08 Juergen Vigna <jug@sad.it>
9214 * BufferView_pimpl.C (updateInset): update inset inside inset also
9215 if it isn't inside theLockingInset().
9217 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9219 * buffer.C (asciiParagraph): redo some of the word and line length
9221 (getLists): look for Caption instead of caption.
9223 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9225 * buffer.C (Buffer): initialize niceFile to true
9228 (makeDocBookFile): make sure niceFile is true on exit
9230 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9232 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9234 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9236 * LyXSendto.C: remove.
9237 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9238 * lyx_gui.C: remove now-redundant comment.
9239 * ColorHandler.h: remove forward declaration of class WorkArea.
9240 * lyxfunc.C: remove #include "WorkArea.h".
9242 2002-03-07 Juergen Vigna <jug@sad.it>
9244 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9245 got moved away with the DEPM and also set the inset_owner always
9246 right which before could have been omitted.
9248 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9250 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9251 wanted layout is not found.
9253 2002-03-07 Juergen Vigna <jug@sad.it>
9255 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9257 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9259 * paragraph.C (breakParagraph): use default layout not layout of
9261 (Paragraph): clear ParagraphParameters.
9263 2002-03-06 Juergen Vigna <jug@sad.it>
9265 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9266 otherwise it would not be a valid lenght. Fixed a special case in
9267 the minipage compatibility read where we end the document with a
9270 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9271 was set as it could be 0 for InsetTexts first entry.
9273 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9275 * paragraph.C (writeFile): if layout is empty write out
9276 defaultLayoutName().
9278 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9279 file without named layout we set layout to defaultLayoutName().
9281 2002-03-06 Juergen Vigna <jug@sad.it>
9283 * CutAndPaste.C (copySelection): set layout for new paragraph.
9285 * text.C (prepareToPrint): leave ERT inset left aligned
9286 (leftMargin): don't indent paragraphs inside ERT insets
9288 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9290 * paragraph.C (breakParagraph): dont call clear do the work manually
9292 * paragraph.[Ch] (clear): remove function
9294 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9296 * paragraph.C (Paragraph): dont call clear, the work has already
9299 * lyxtextclass.C (operator): assert if n is empty
9301 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9302 work manually instead.
9304 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9306 * BufferView_pimpl.C: protect selectionLost against text == 0
9308 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9310 * text.C (breakParagraph): fix a setting layout to '0' problem.
9312 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9314 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9315 final location of file, for the included files, and graphics.
9317 2002-03-05 Juergen Vigna <jug@sad.it>
9319 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9321 2002-03-04 Juergen Vigna <jug@sad.it>
9323 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9325 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9326 last column of multicolumn cells.
9327 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9329 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9331 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9332 file if it doesn't go to a temporary file.
9334 * buffer.C (sgmlOpenTag):
9335 (sgmlCloseTag): remove extra newline insertion.
9337 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9339 * text.C (getRowNearY): comment out debug msg
9341 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9343 * text2.C: first -> first_y
9345 * text.C (getRowNearY): add some attemts at a possible
9346 optimization, not working.
9348 * tabular.[Ch]: add BufferParams to several function so that newly
9349 created paragraph can be initialized to he default layotu for the
9352 * tabular-old.C (ReadOld): add buf->params to call of Init
9354 * screen.C: rename text->first to text->first_y
9356 * paragraph.C (breakParagraph): always set layout in the broken
9359 * lyxtextclass.C (Read): remove lowercase
9362 (delete_layout): ditto
9364 * lyxtext.h: rename first -> first_y
9366 * lyxlayout.C (Read): remove lowercase
9369 (obsoleted_by): ditto
9371 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9373 * buffer.C (insertErtContents): add params are to InsetERT
9374 (parseSingleLyXformat2Token): add code to check if a paragraphs
9375 layout really exist.
9376 (parseSingleLyXformat2Token): add params to several inset
9378 (asciiParagraph): remove lowercase, do the layout comparisons with
9381 * BufferView_pimpl.C (cursorNext): first -> first_y
9382 (resizeCurrentBuffer): first -> first_y
9383 (updateScrollbar): first -> first_y
9384 (scrollCB): first -> first_y
9385 (workAreaMotionNotify): first -> first_y
9386 (workAreaButtonPress): first -> first_y
9387 (checkInsetHit): first -> first_y
9388 (cursorPrevious): first -> first_y
9389 (cursorNext): first -> first_y
9390 (Dispatch): add buffer_->params to severl inset contructors
9392 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9394 * lyxlayout.C (Read): remove some debug info that I forgot.
9396 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9397 clean up the code slightly.
9398 (makeLinuxDocFile): ditto
9399 (makeDocBookFile): ditto
9401 * text2.C: layout as string
9403 * text.C: layout as string
9405 * paragraph_pimpl.C: layout as string
9407 * paragraph.[Ch]: layout as string
9409 * lyxtextclasslist.[Ch]: layout as string
9411 * lyxtextclass.[Ch]: layout as string
9413 * lyxtext.h: layout as string
9415 * lyxlayout.[Ch]: layout as string
9417 * lyx_cb.C: layout as string
9419 * bufferview_funcs.C: layout as string
9421 * bufferparams.C: layout as string
9423 * buffer.C: layout as string
9425 * LyXView.[Ch]: layout as string
9427 * LaTeXFeatures.[Ch]: layout as string
9429 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9431 * BufferView_pimpl.C: change current_layout to string, remove
9436 (workAreaButtonRelease): layout as string
9438 * BufferView2.C (unlockInset): adjust
9440 * vspace.C (asLatexCommand): use an explict temp variable.
9442 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9444 * Makefile.am: use FRONTEND_*
9446 2002-03-01 Juergen Vigna <jug@sad.it>
9448 * tabular.C (SetWidthOfMulticolCell): changed to something better
9449 I hope but still work in progress.
9450 (recalculateMulticolumnsOfColumn): renamed function from
9451 recalculateMulticolCells as it is more appropriate now.
9452 (SetWidthOfCell): calculate multicols better.
9454 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9456 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9458 * lyxfunc.C (processKeySym): print sequence also if it is
9459 `deleted' (complete)
9461 * kbsequence.C (print): print sequence even if it is deleted
9462 (complete would be a better word, actually).
9464 * lyxfunc.C (dispatch): print complete options after a prefix key
9466 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9468 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9470 * text2.C (setCharFont): eliminate setCharFont code duplication.
9472 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9474 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9475 LFUN_TABULAR_FEATURE (bug #177)
9477 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9479 * Makefile.am: remove figure.h
9481 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9483 * Bufferview_pimpl.C:
9495 * text2.C: remove #include "lyx_gui_misc.h".
9497 * LaTeX.C: added #include <cstdio>
9499 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9501 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9502 that the paragraph following this one can have.
9504 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9506 * vspace.C (asLatexCommand): fix bogus gcc warning
9508 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9510 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9512 * text2.C (setLayout): get rid of redundant code
9514 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9516 * text2.C (incDepth): make sure depth cannot be increased beyond
9519 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9521 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9522 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9524 * PainterBase.h (image):
9525 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9528 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9532 * BufferView_pimpl.C:
9533 * BufferView_pimpl.h:
9553 * sp_spell.C: remove fig inset, and the crap house of
9554 cards that follows it
9556 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9562 * nt_defines.h: move .h into support/
9564 * vms_defines.h: remove
9566 * WorkArea.C: add space in debug output
9570 * buffer.C: add WITH_WARNINGS
9574 * bufferlist.C: s/retrive/retrieve/, add docs
9585 * lyxgui.C: add ID to X error handler
9587 * lyxtestclass.c: fix typo
9589 2002-02-26 Juergen Vigna <jug@sad.it>
9591 * tabular_funcs.C (write_attribute): changed so that some default
9592 attributes are not written at all.
9593 (getTokenValue): set default values before trying to read the
9594 value so we have the return value always set as default if we don't
9595 find the token we search for.
9597 * tabular.C (Write): write bools as bools not as strings!
9599 2002-02-22 Juergen Vigna <jug@sad.it>
9601 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9602 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9604 * text.C (leftMargin): don't add an indent for paragraphs inside
9605 tabular cells (fix #208).
9607 2002-02-21 José Matos <jamatos@fep.up.pt>
9609 * tabular.C (docBook): fixed support for long tables.
9611 2002-02-20 Juergen Vigna <jug@sad.it>
9613 * text2.C (getFont): get the drawing font of the Inset if this
9614 paragraph is inside an inset (only important for InsetERT for now).
9616 * buffer.C (insertErtContents): use new lanugage params in ERT
9619 * CutAndPaste.C: commenting out seemingly uneeded code.
9621 2002-02-19 Allan Rae <rae@lyx.org>
9623 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9624 Iterators might be simple to use but they also get invalidated.
9625 (removeAutoInsets): renamed saved cursor tracking variables and added
9626 some comments to clarify what everything does.
9628 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9635 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9636 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9639 * vc-backend.h: remove #include "support/syscall.h"
9643 * converter.C: rearrange #includes in Lars' approved fashion.
9645 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9646 forward declare class Timeout in the header file.
9648 * XFormsView.C: changes due to the above.
9650 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9653 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9654 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9656 2002-02-18 José Matos <jamatos@fep.up.pt>
9658 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9661 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9663 * a lot of small ws changes
9664 * add a lot of using std::XXX
9665 * use std construcs some places where approp.
9666 * use some exisint stuff from lyxfunctional where approp.
9667 * Make file changes to use partial linking (lets test this now...)
9669 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9673 remove #include "support/syscontr.h" as it's redundant. Always has been.
9681 change Systemcalls::System to Systemcalls::Wait and
9682 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9683 No change of functionality, just reflects the stripped down Systemcalls
9686 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9688 * debug.[Ch]: add a GRAPHICS type to the enum.
9690 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9692 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9694 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9697 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9699 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9700 match the changes below.
9702 * text2.C (toggleInset): if there is not editable inset at cursor
9703 position, try to see if cursor is _inside_ a collapsable inset
9706 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9708 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9709 document menu has a nice checkbox
9711 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9713 * lyxlength.C (asLatexString): change PW to output as percent of
9716 * lengthcommon.C: change '%' to 't%'
9718 * lyxfunc.C (dispatch): a few comments from Martin
9720 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9724 * BufferView_pimpl.h:
9725 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9728 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9730 * vspace.C (inPixels): fix compiler warning
9732 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9734 * lyxfunc.C (getStatus): fix status message for disabled commands.
9736 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9738 * BufferView_pimpl.C: fix crash on close buffer
9739 during selection (#227)
9741 2002-01-27 Herbert Voss <voss@lyx.org>
9743 * buffer.C: link old Figure to new graphic inset
9745 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9747 * FontLoader.C (getFontinfo): Change the latex font names in order
9748 to match the names of type1inst.
9750 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9752 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9754 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9757 (remove_files_with_extension): ditto
9758 (remove_file): ditto
9761 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9762 document is smaller than the work area height. Do not initialize
9763 static variables to 0.
9765 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9767 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9769 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9770 LFUN_LAYOUT_PARAGRAPHS.
9772 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9773 tabular. It is possible to provide a possible cell, which will
9774 typically be the actcell from the corresponding insettabular
9776 * lyxfunc.C (getStatus): small cleanup; disable
9777 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9780 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9782 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9784 * paragraph.C (startTeXParParams):
9785 (endTeXParParams): new methods. The LaTeX code to
9786 start/end paragraph formatting
9787 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9788 empty (fixes bug #200)
9790 * vspace.C (inPixels): adapt to the change below
9791 (inPixels): [later] more cleanups (remove unused variables)
9793 * lyxlength.C (inPixels): change to use a width and a height as
9796 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9798 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9799 Replaced with \paperwidth
9801 * DepTable.C (insert): add std:: qualifier
9803 2002-01-18 Allan Rae <rae@lyx.org>
9805 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9808 * text.C (drawInset): Turned out I didn't know enough about how
9809 rebreaking worked. This fixes most of the redraw problems. I see
9810 an occasional cursor trail when a line is broken now and the cursor
9811 placement can seem out by a few pixels also after a rebreak.
9813 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9815 * buffer.C (parseSingleLyXformat2Token): update because minipage
9816 width is now a LyXLength
9818 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9820 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9823 2002-01-17 Juergen Vigna <jug@sad.it>
9825 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9827 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9828 is set correctly and the inset is updated correctly.
9830 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9832 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9833 the beginning of the loop.
9835 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9837 * lyxrc.C: improve help for use_scalable_fonts
9839 2002-01-17 Allan Rae <rae@lyx.org>
9841 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9843 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9845 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9846 make sure to set their inset_owner to the right value (bug #171)
9848 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9851 * DepTable.C: Implement mtime checking to reduce time spent doing
9854 2002-01-16 Juergen Vigna <jug@sad.it>
9856 * tabular.C (GetAdditionalHeight): one of error fixed.
9858 * lyxrc.C (output): small fix in writing use_pspell.
9860 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9862 * sp_base.h: #include LString.h
9864 2002-01-16 Allan Rae <rae@lyx.org>
9866 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9867 Can someone check this please?
9869 * text.C (drawInset): It was possible that p.row would be removed by
9870 breakAgainOneRow upsetting a few other settings. There may be another
9871 small tweak possible by setting need_break_row = 0 when p.row has been
9872 removed but I don't know enough about the logic here.
9874 2002-01-15 Allan Rae <rae@lyx.org>
9876 * text.C (insertChar): removed conditional truism.
9878 * BufferView2.C (removeAutoInsets): More tweaks.
9879 cur_par_prev could be a stray pointer. Check for trailing empty line
9880 in case last line was cur_par and only had an error inset on it.
9882 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9884 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9887 * vc-backend.C (most methods):
9888 * exporter.C (Export):
9889 * converter.C (convert):
9891 * LyXSendto.C (SendtoApplyCB):
9892 * lyxfunc.C (dispatch):
9896 * lyx_cb.C (AutoSave):
9898 * BufferView_pimpl.C (MenuInsertLyXFile):
9899 * buffer.C (runChktex): use Buffer::filePath().
9901 * buffer.h: rename filename to filename_; rename filepath to
9902 filepath_ and make it private
9903 (filePath): new method
9905 * buffer.C (writeFile): use fileName()
9908 * lyx_main.C (init): fix starting of LyX when the binary is a
9909 link from so,ewhere else.
9911 * minibuffer.C: include <cctype> for isprint
9913 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9915 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9916 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9917 name clash with InsetCollapsable's width function.
9919 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9921 * lastfiles.C: include <iterator>
9923 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9925 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9928 * buffer.C (makeLaTeXFile): ditto.
9929 Also make loop operation more transparent.
9931 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9933 * ToolbarDefaults.C: remove trailing comma closing namespace.
9935 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9937 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9940 * trans.C (Load): comment out unused variable, allowed.
9942 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9944 * minibuffer.[Ch] (append_char): new method to recieve input from the
9945 drop-down completion browser. If a key was pressed, then recieve this
9946 char and append it to the existing string.
9947 (peek_event): modify the positioning data passed to the completion
9948 browser so that it can be placed above the minibuffer rather than below.
9949 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9951 * LyXAction.C (init): alloe error-next for readonly documents.
9953 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9956 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9958 * bufferlist.C (readFile): create the buffer _after_ checking that
9961 * lyxfunc.C (verboseDispatch): fix handling of arguments
9963 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9965 * lyxrc.C: use string::erase() instead of initializing to "".
9968 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9970 * BufferView_pimpl.h:
9971 * BufferView_pimpl.C:
9974 * text2.C: tell X when we have made a selection for copying
9976 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9978 * BufferView_pimpl.C (MenuInsertLyXFile):
9979 * lyxfunc.C (menuNew):
9981 (doImport): add shortcuts to directory buttons
9983 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9986 * lyxfunc.C (setStatusMessage):
9987 (getStatusMessage): new methods
9988 (getStatus):use setStatusMessage instead of setErrorMessage
9989 (dispatch): when function is disabled, set error message here
9990 [instead of in getStatus previously]
9992 * BufferView_pimpl.C (workAreaButtonRelease): update
9993 toolbar/menubar here too.
9995 2002-01-13 Allan Rae <rae@lyx.org>
9997 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9998 Now seems indestructible. Remaining task is to audit all other
9999 code affected by deleteEmptyParagraphMechanism. One small quirk
10000 left is that an empty document with an error in the preamble can
10001 be made to report an error but no error box appears. I don't know
10003 (removeAutoInsets): Improved comments.
10005 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10008 * Thesaurus.C: update for Aiksaurus 0.14
10010 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10012 * text2.C (firstParagraph): removed member function, all uses
10013 replaces with ownerParagraph
10014 (redoParagraphs): here
10015 (updateInset): here
10016 (toggleAppendix): here
10017 * BufferView2.C (insertErrors): here
10018 (setCursorFromRow): here
10020 2002-01-13 Allan Rae <rae@lyx.org>
10022 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10023 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10024 There is still a way to segfault this although you may have to do this
10025 multiple times: Have an InsetERT with an unknown command in it.
10026 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10027 <down-arrow>, <Enter> again, View->DVI, BANG!
10029 * text2.C (setCursor):
10030 (deleteEmptyParagraphMechanism):
10031 * lyxtext.h (setCursor):
10032 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10033 Making use of the return value may help fix other bugs.
10035 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10037 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10039 * LyXView.C (updateMenubar): call MenuBar::update here
10040 (updateToolbar): but not here
10041 (showState): do not update toolbar/menubar
10043 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10044 should need to care about that.
10046 * lyxfunc.C (verboseDispatch): simplify a bit
10047 (getStatus): have a version which takes a pseudoaction, and
10048 another which requires a (kb_action,string).
10050 * LyXAction.C (retrieveActionArg): make it work also when action
10051 is not a pseudo-action.
10052 (getActionName): simplify a bit
10055 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10057 * lyxfunc.C (verboseDispatch): new families of methods with
10058 several ways to specify a command and a bool to indicate whether
10059 the command name and shortcut should be displayed in minibuffer
10060 (eventually, we could extend that to a finer bitmask like
10061 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10062 (dispatch): the pristine dispatch command which just, well,
10063 dispatchs! Note it still sets its result to minibuffer; I'm not
10066 * lyxfunc.h: remove setHintMessage
10068 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10070 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10072 * BufferView_pimpl.C (specialChar): delete new inset if we have
10073 not been able to insert it.
10075 * kbmap.C: revert to using int instead of kb_action, since all we
10076 are dealing with is pseudo-actions.
10078 * LyXAction.C (searchActionArg): change to return int instead of
10079 kb_action, since the result is a pseudoaction.
10081 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10083 * buffer.C (insertErtContents): Fix (partially) the font bug.
10085 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10087 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10088 as the other one is broken on my machine!
10090 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10093 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10095 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10097 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10098 reflect their actual use. Provide compatibility code for older lyxrc
10101 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10103 change names of popup font variables in line with the changes to lyxrc.C
10105 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10107 * buffer.C (asciiParagraph): avoid outputing a word twice after
10110 * lyxrc.C (getDescription): document that document_path and
10111 template_path can be empty.
10113 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10115 * LaTeXFeatures.C (getMacros):
10116 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10118 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10120 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10122 (getPackages): rename feature "floats" to "float". Use an array to
10123 iterate over 'simple' features (i.e. just a \usepackage). Add
10124 handling of "amsmath" (renamed from "amsstyle").
10126 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10128 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10131 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10133 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10134 FuncStaus::FuncStatus & FuncStaus::some_method().
10136 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10138 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10139 of the func_satus stuff. Edited and massaged in various ways by
10142 * lyxfunc.C (getStatus): use FuncStatus
10144 2002-01-08 Juergen Vigna <jug@sad.it>
10146 * text.C (nextBreakPoint): use function Inset::isChar().
10148 * paragraph.C (TeXOnePar): use function
10149 Inset::forceDefaultParagraphs.
10151 * buffer.C (latexParagraphs): use function
10152 Inset::forceDefaultParagraphs.
10154 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10156 * lyx_gui.C (init): set the style of the menu popups to
10157 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10159 2002-01-07 Juergen Vigna <jug@sad.it>
10161 * text.C (setHeightOfRow): small fix
10162 (prepareToPrint): don't look at alignment if we don't have the place
10165 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10167 * box.C: New file. Move the Box methods and functions out of box.h,
10168 following Lars' suggestion.
10170 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10172 * box.h: #include "support/LOstream.h", needed for inlined function.
10175 * lyxtextclasslist.C: added some using std declarations.
10177 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10179 * box.h: make signed dimensions to allow insets wider than
10180 the screen (bug #162)
10182 * BufferView_pimpl.C: add some insetHit debug
10184 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10186 * vc-backend.C: add FIXME
10188 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10190 * lyxfunc.C (getStatus): enable code for showing math font status
10193 2002-01-07 Juergen Vigna <jug@sad.it>
10195 * text.C (nextBreakPoint): removed debug output not needed anymore.
10197 2002-01-06 Juergen Vigna <jug@sad.it>
10199 * text.C (nextBreakPoint): fixed up this function we had this bug
10200 since ever but now hopefully we break row better.
10201 (insertChar): we have to check if an inset is the next char as it
10202 could now happen that a large inset is causing a break.
10204 2002-01-05 Juergen Vigna <jug@sad.it>
10206 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10207 if it doesn't like to be drawed.
10209 2002-01-04 Juergen Vigna <jug@sad.it>
10211 * BufferView2.C (lockInset): forgot to set a cursor.
10213 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10215 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10217 * FormMathsPanel.C:
10220 * form_maths_panel.C:
10221 * form_maths_panel.h:
10222 * form_maths_panel.fd: implemented sub- and super- buttons in math
10225 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10226 (or ^ space) to be used as in TeX (req'd by André).
10228 * lyxfunc.C: Allow ^ and _ again to be used both as
10229 super/subscript (mathed) and as themselves (in text).
10231 2002-01-03 Allan Rae <rae@lyx.org>
10233 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10234 "LyX" or the filename of the current buffer if it has one. This is a
10235 modified form of John Levon's patch.
10237 * XFormsView.C (setWindowTitle): also set icon title.
10239 * LyXView.h (setWindowTitle): signature changed.
10240 * XFormsView.h (setWindowTitle): ditto.
10242 2002-01-02 Juergen Vigna <jug@sad.it>
10244 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10246 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10248 * screen.C (topCursorVisible): introduce a temp var for
10249 text->cursor.row(), handle the case where this row is null. (kindo
10252 * text2.C (setCursor): add a couple of asserts.
10254 * paragraph.h (inset_iterator): add -> operator
10256 * paragraph.[Ch] (autoDeleteInsets): remove member function
10258 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10259 cursor pos correctly and handle inset deletion by itself.
10260 (insertErrors): move iterator declaration out of for expression
10262 * lyxtextclass.C: add <algorithm>
10264 * Makefile.am: added the new files to sources, removed layout.C
10266 * layout.C: removed file
10268 * layout.h: remove LYX_DUMMY_LAYOUT
10270 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10274 * lyxtextclass.[Ch]:
10275 * lyxtextclasslist.[Ch]: new files
10277 * include order changes to a lot of files, also changes because of
10280 2001-12-27 Juergen Vigna <jug@sad.it>
10282 * buffer.C (asciiParagraph): more fixes.
10284 * tabular.C (ascii): make ascii export support export of only the
10285 data separated by a column-delimiter.
10286 (ascii): better support for ascii export.
10288 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10290 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10292 * tabular_funcs.C: use a "using std::getline" instead of the
10293 previous fix from Angus (necessary for cxx + lyxstring)
10295 2001-12-24 Juergen Vigna <jug@sad.it>
10297 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10299 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10300 problems. First check a minipage also if we have some ert-contents
10301 (not only on par->size(), second set the right depth of the paragraph
10302 on the relink to the root-paragraph-list!
10304 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10305 which then did not anymore update the main paragraphs on undo/redo!
10307 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10309 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10310 code. Support all font-changing funcs (even those which are not in
10311 menu currently). Support for reporting font settings in
10312 mathed (disabled until Andre provides a function on mathed's side).
10314 * func_status.h (toggle): small helper function to set toggle
10317 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10319 * tabular_funcs.C: getline -> std::getline
10321 2001-12-21 Juergen Vigna <jug@sad.it>
10323 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10324 accessed and could be 0 (I couldn't generate this but it seems
10327 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10329 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10330 * tabular_funcs.h: here and include iosfwd
10332 2001-12-20 Juergen Vigna <jug@sad.it>
10334 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10335 inside inset but undo_par was.
10337 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10339 * Thesaurus.C: always include <config.h> in sources.
10343 * box.h: do not include <config.h> in header files
10345 * text.C (paintLastRow): remove unused variable
10347 * text.C (transformChar):
10349 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10351 * Painter.C (text):
10352 * font.C (width): rewrite to use uppercase() instead of
10355 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10357 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10359 * lyxfind.C: clean up of find failure position change
10361 2001-12-20 Juergen Vigna <jug@sad.it>
10363 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10365 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10366 (TeXRow): added to LaTeX a single tabular row.
10367 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10368 (Latex): simplified and finally good LT-h/f support.
10369 (various_functions): just small adaptions for LT-h/f support.
10371 * tabular_funcs.[hC]: added and moved here all not classfunctions
10374 2001-12-19 Juergen Vigna <jug@sad.it>
10376 * tabular.[Ch]: better support for longtabular options (not finished
10379 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10381 * text.C (paintLastRow): use the label font instead of the font of
10382 the last character to compute the size of *_BOX. This makes more
10383 sense and avoids a crash with empty paragraphs.
10384 Use Painter::rectangle to draw EMPTY_BOX.
10386 2001-12-19 Juergen Vigna <jug@sad.it>
10388 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10389 the paragraphs if the replaced paragraph is not the first one!
10390 Tried to delete not used paragraphs but does not work yet so for
10391 now it's inside #ifdef's and by default off!
10393 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10395 * MenuBackend.C: include "lyx_main.h" instead of declaring
10396 lastfiles (actually was declared as LastFiles* instead of a
10399 2001-12-17 Juergen Vigna <jug@sad.it>
10401 * tabular.C (AppendColumn): applied John's fix
10403 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10407 * BufferView_pimpl.h:
10408 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10411 * box.h: new start of class for above
10413 * lyxfunc.C: ignore space-only minibuffer dispatches.
10414 Show the command name when it doesn't exist
10416 * minibuffer.C: don't add empty lines to the history
10418 * minibuffer.C: add a space on dropdown completion
10420 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10422 * text.C: fix line above/below drawing in insets
10424 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10426 * lyxlength.C (LyXLength): Initialize private variables.
10428 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10430 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10431 when inserting error insets.
10433 2001-12-13 Juergen Vigna <jug@sad.it>
10435 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10436 actually sometimes the before-paragraph.
10437 (setUndo): don't clear the redostack if we're not actually undoing!
10439 2001-12-06 Juergen Vigna <jug@sad.it>
10441 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10442 and fixed redoing of main paragraph, so we can use it now ;)
10444 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10446 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10448 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10451 2001-12-13 André Pönitz <poenitz@gmx.net>
10454 * undo_func.C: minor cleanup
10456 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10458 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10459 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10460 font in urw-fonts package which is marked as -urw-fontspecific and
10461 does not work (incidentally, changing the encoding in the
10462 fonts.dir of this package to -adobe-fontspecific fixes the
10465 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10466 is a crash when undoing first paragraph (Juergen, please take a
10467 look). THis does not mean the undo fix is wrong, just that it
10470 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10471 the (Paragraph*) version when needed instead of duplicating the
10474 * text.C (workWidth): use Inset::parOwner to find out where the
10475 inset has been inserted. This is a huge performance gain for large
10476 documents with lots of insets. If Inset::parOwner is not set, fall
10477 back on the brute force method
10479 * paragraph_pimpl.C (insertInset):
10480 * paragraph.C (Paragraph):
10481 (cutIntoMinibuffer): set parOwner of insets when
10482 inserting/removing them
10484 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10486 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10492 * mathed/formulabase.C:
10493 * mathed/math_cursor.[Ch]:
10494 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10497 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10499 * lyxlength.[Ch] (operator!=): new function
10501 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10503 * text.C (workWidth): use Inset::parOwner to find out where the
10504 inset has been inserted. This is a huge performance gain for large
10505 documents with lots of insets. If Inset::parOwner is not set, fall
10506 back on the brute force method
10508 * paragraph_pimpl.C (insertInset):
10509 * paragraph.C (Paragraph):
10510 (cutIntoMinibuffer): set parOwner of insets when
10511 inserting/removing them
10513 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10515 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10517 * tabular-old.C (getTokenValue):
10518 * tabular.C (getTokenValue):
10519 (write_attribute): new versions for LyXLength
10520 (everywhere): adjust the use of widths
10522 * tabular.h: change the type of widths from string to LyXLength
10524 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10526 * paragraph.C: fixed missing line number count when exporting
10527 Environments to LaTeX file
10529 * buffer.C: added informational message for checking line numbers.
10531 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10533 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10534 paragraph, do the 'double space' part, but not the 'empty
10537 * text.C (workWidth): small optimization
10538 (getLengthMarkerHeight): use minimal size for negative lengths.
10540 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10542 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10544 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10546 2001-12-11 André Pönitz <poenitz@gmx.net>
10549 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10551 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10553 * text2.C: keep selection on a setFont()
10555 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10557 * lyx_cb.C: another bv->text misuse, from insert label
10559 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10562 * kbsequence.C: re-instate nmodifier mask
10564 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10566 * lyx_main.h: make lyxGUI private.
10568 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10570 * lyxfind.C: place the cursor correctly on failed search
10572 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10574 * text.C (getLengthMarkerHeight): for small heights, the arrows
10575 are not always on top/bottom of the text
10576 (drawLengthMarker): smaller arrows; take the left margin in
10577 account; draw also vfills.
10579 (paintLastRow): remove special code for vfill and standard spaces,
10580 since everything is handled in drawLengthMarker now.
10582 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10584 * buffer.C (insertErtContents): try to handle font and language
10585 interaction a bit better.g
10587 * ColorHandler.C (updateColor): change the hash to cover the whole
10588 LColor enum, ws cleanup
10589 (getGCLinepars): ditto
10590 (getGCLinepars): only lookup in the linecache once.
10592 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10594 * iterators.C (operator++): Make the iterator more robust
10596 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10598 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10600 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10603 * text.C: better added space drawing
10605 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10608 * BufferView2.C: fix layout combo update on inset unlock
10610 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10612 * Makefile.am: don't compile unused files
10614 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10618 * LyXAction.C: remove old LFUN_LAYOUTNO
10620 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10622 * paragraph_pimpl.h:
10623 * paragraph_pimpl.C: isTextAt() doesn't need font param
10625 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10628 * lyxlex.C: little cleanup
10630 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10632 * BufferView_pimpl.C: fix insertAscii for insets
10634 2001-12-05 Juergen Vigna <jug@sad.it>
10636 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10637 set the right font on the "multi" paragraph paste!
10639 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10645 * lyxlength.C: remove out-commented code.
10647 * BufferView_pimpl:
10661 * vc-backend.C: change "while(" to "while ("
10663 * lyxlength.[Ch]: add zero function to check if length is zero or
10665 * lyxgluelength.C: use it
10667 2001-12-05 Allan Rae <rae@lyx.org>
10669 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10670 Works for 2.95.3, from what I understand of Garst's reports this should
10671 work for other g++ versions. We're screwed if the abs(int) definition
10672 changed between bugfix releases of gcc.
10674 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10676 * text.C: fix chapter label offset !
10678 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10681 * text.C: fix hfill at end of line, clean up
10683 2001-12-04 Juergen Vigna <jug@sad.it>
10685 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10686 that we force an update of the inset and it's owners if neccessary.
10688 2001-12-03 Juergen Vigna <jug@sad.it>
10690 * text.C (rowLast): simplified code
10692 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10694 * lyxfunc.C: fix show options on timeout
10696 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10698 * screen.C (topCursorVisible): scroll half a page when the cursor
10699 reached top of bottom of screen
10701 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10703 * minibuffer.C: deactivate on loss of focus
10705 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10707 * vspace.[Ch] (operator!=): add operator.
10709 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10711 * BufferView_pimpl.C: refuse to open an inset when
10712 there's a selection.
10714 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10716 * BufferView_pimpl.C: allow to click on RHS of full row insets
10718 2001-11-30 Juergen Vigna <jug@sad.it>
10720 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10721 insets for undo reasons.
10723 2001-11-28 André Pönitz <poenitz@gmx.net>
10725 * vspace.[Ch]: cosmetical changes
10727 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10737 * kbsequence.C: part re-write of old kb code
10740 * WorkArea.C: remove Lgb_bug_find_hack
10742 2001-11-30 José Matos <jamatos@fep.up.pt>
10744 * buffer.C (makeDocBookFile): add a comment to point a hack.
10745 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10746 Fixed a double write of labels.
10748 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10751 * LaTeX.h Fixed bug in LaTeX class where it would not
10752 re-run latex if no depfiles were changed, but the .dvi was removed.
10754 2001-11-28 André Pönitz <poenitz@gmx.net>
10756 * all the files from the change on 2001/11/26:
10757 use lyx::layout_type instead of LyXTextClass::size_type
10758 use lyx::textclass_type instead of LyXTextClassList::size_type
10760 2001-11-29 Juergen Vigna <jug@sad.it>
10762 * text.C: added support for paragraph::isFreeSpacing()
10764 * buffer.C: same as above
10766 * paragraph.h: inserted isFreeSpacing() function to enable
10767 FreeSpacing inside InsetERT.
10769 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10770 of the paragraph's in the cut/copy buffer to 0!
10772 * text2.C (removeRow): remove the assert as it can!
10774 * lyxtext.h: added helper function firstRow returning firstrow and
10775 made firstrow private again.
10777 * BufferView2.C (lockInset): don't relock if we're already locked!
10779 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10780 the only paragraph.
10781 (removeRow): added Assert::(firstrow)
10783 * debug.C: forgot to add INSETTEXT here.
10785 2001-11-28 Juergen Vigna <jug@sad.it>
10787 * sp_spell.C (initialize): changed error text to more general
10788 spellchecker command use (not only ispell!)
10790 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10792 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10794 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10796 * vspace.C: initialise lyxgluelength on failure
10798 2001-11-28 Allan Rae <rae@lyx.org>
10800 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10801 declaration & definition that looks like a function declaration.
10803 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10805 * BufferView2.C (copy):
10806 (copyEnvironment): do not clear the selection when doing a copy.
10808 * text.C (paintFirstRow): compilation fix
10810 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10812 * tabular.C (Latex): correct line count when writing latex.
10814 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10816 * paragraph_pimpl.h:
10817 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10820 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10824 * LColor.C: change vfillline->added_space
10826 * text.C: add markers and text for added space
10828 * vspace.C: fix comment
10830 2001-11-28 André Pönitz <poenitz@gmx.net>
10832 * paragraph.C: whitespace changes
10833 * all the other files from the change on 2001/11/26:
10834 change *::pos_type into lyx::pos_type
10836 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10838 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10839 language of the document when inserting error insets.
10841 2001-11-26 André Pönitz <poenitz@gmx.net>
10843 * BufferView_pimpl.[Ch]:
10851 * paragraph_pimpl.[Ch]:
10854 * text2.C: reduce header dependencies, introduce type for positions
10856 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10858 * <various>: change to use Alert.h
10860 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10862 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10863 when encountering an unknown token.
10864 (readLyXformat2): Show an error message if there were unknown tokens.
10866 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10869 * BufferView_pimpl.C:
10873 * text2.C: use par->isInset()
10875 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10877 * paragraph_pimpl.h:
10878 * paragraph_pimpl.C: cleanup
10880 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10882 * text2.C (removeRow):
10883 * text.C (setHeightOfRow): remove useless (and costly) call to
10886 2001-11-20 Allan Rae <rae@lyx.org>
10888 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10889 Now need Inset*::checkInsertChar() to return true for appropriate
10890 cases so that the characters in the minibuffer will actually be
10893 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10895 * text.C: change the order of the includes.
10896 (workWidth): initialize it at once.
10897 (workWidth): make maxw unsigned
10898 (setHeightOfRow): remove unused variable (inset)
10899 (selectSelectedWord): remove unused variable (inset)
10900 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10902 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10904 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10905 server is not running.
10907 (closeConnection): add debug info when server is disabled.
10909 * ColorHandler.C (getGCForeground): send debug message to GUI
10912 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10914 * kbmap.C (bind): modify because return conventions of
10915 kb_sequence::parse have changed.
10917 * kbsequence.C (parse): only ignore spaces and not any stupid
10918 control character. This avoids tests like s[i] <= ' ', which are
10919 guaranteed to fail with 8bit characters and signed chars.
10920 Change return code to string::npos when there have been no error
10921 (0 was a bad idea when error is at first character)
10923 2001-11-14 José Matos <jamatos@fep.up.pt>
10926 * buffer.C (simpleDocBookOnePar): removed unused argument.
10928 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10930 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10931 insets which are part of a word. Paragraph::isLetter takes care of
10932 that now. Use Paragraph::isInset to identify insets.
10933 (selectSelectedWord): do not test for hyphenation break.
10935 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10936 that protected spaces are considered as spaces.
10938 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10941 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10944 * lyxserver.C: fix it. and small cleanup.
10946 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10948 * BufferView_pimpl.C: use inline helpers
10951 * LaTeXFeatures.C: fix typos
10954 * Spacing.C: move spacing_string into class
10956 * ToolbarDefaults.C: move stuff into namespace anon
10958 * layout.h: update enum
10960 * lyxfunc.C: use better debug
10962 * minibuffer.h: fix typo
10966 * WorkArea.C: add and use Debug::WORKAREA
10970 * text2.C: code re-organisation, inline helpers
10972 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10974 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10975 std::vector.empty().
10977 2001-11-09 Allan Rae <rae@lyx.org>
10979 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10980 '\n's after tables. Tabular and ERT inset work now makes this no
10983 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10986 * minibuffer.C: fix crash, improve drop-down completion
10988 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10991 * lyxserver.C: invalidate fd's when doing endPipe()
10993 2001-11-08 José Matos <jamatos@fep.up.pt>
10995 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10996 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10999 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11001 2001-11-07 José Matos <jamatos@fep.up.pt>
11004 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11007 * buffer.C (sgmlOpenTag):
11008 * buffer.C (sgmlCloseTag): removed debug info.
11010 * buffer.h (sgmlOpenTag):
11011 * buffer.h (sgmlCloseTag): made public.
11013 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11015 * buffer.C (saveParamsAsDefaults):
11016 * lyx_cb.C (MenuLayoutSave): remove
11018 * LyXAction.C (init):
11020 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11022 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11024 * buffer.C (setPaperStuff): removed from here...
11026 * bufferparams.C (setPaperStuff): ... and moved there.
11028 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11032 * XFormsView.C: add support for drop-down completion
11034 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11036 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11039 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11041 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11044 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11046 * lyx_main.C: change ref to known bugs
11048 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11050 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11051 to work around older babel problems.
11053 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11055 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11057 2001-10-24 Juergen Vigna <jug@sad.it>
11059 * tabular-old.C (ReadOld): below variable changes reflected.
11061 * tabular.[Ch]: added ltType struct for longtable header/footer
11062 defines and changed all instances where they are used. Added
11063 future support for double top/bottom rows.
11065 2001-10-24 José Matos <jamatos@fep.up.pt>
11067 * buffer.h (docbookHandleCaption):
11068 * buffer.C (docbookHandleCaption): removed unused function.
11069 (makeDocBookFile): moved docbook supported version to v4.1.
11071 2001-10-24 José Matos <jamatos@fep.up.pt>
11074 * tabular.C (docbookRow): new function to export docbook code of a row.
11075 (DocBook): now honors the longtable flags.
11077 2001-10-23 José Matos <jamatos@fep.up.pt>
11080 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11081 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11083 * buffer.C (makeLinuxDocFile):
11084 (makeDocBookFile): reworked the preamble, more clean, and with
11085 support for lyx defined entities. Changed the document declaration
11086 to be more XML friendly.
11088 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11089 if we need to output XML that should be done with a filter.
11091 2001-10-22 Juergen Vigna <jug@sad.it>
11093 * sp_pspell.h (class PSpell): add alive function needed in the
11094 controller to see if the spellchecker could be started.
11096 2001-10-22 Juergen Vigna <jug@sad.it>
11098 * buffer.C (insertStringAsLines): modify the font for inserting
11099 chars in certain conditions by calling checkInsertChar(font).
11101 2001-10-19 Juergen Vigna <jug@sad.it>
11103 * text.C (workWidth): use getRow instead of wrong algorithm.
11104 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11106 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11111 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11113 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11115 * text.C (workWidth): do not search for the exact row when
11116 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11117 optimization for big documents.
11119 2001-10-18 Juergen Vigna <jug@sad.it>
11121 * text.C (workWidth): new function with added Inset * parameter.
11123 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11125 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11127 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11128 change return type of getColumnNearX.
11131 * text.C (changeRegionCase): use uppercase/lowercase instead of
11134 (rightMargin): simplify code by factoring out the uses of
11139 (appendParagraph): use Paragraph::size_type
11141 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11143 * vspace.C (asLatexString): add a missing break
11145 2001-10-15 Herbert Voss <voss@perce.de>
11147 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11149 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11151 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11154 2001-10-10 André Pönitz <poenitz@gmx.net>
11156 * lyxfunc.C: removed greek_kb_flag.
11158 2001-10-10 Herbert Voss <voss@perce.de>
11160 * lyx_main.C: delete global string help_lyxdir.
11162 2001-10-09 Herbert Voss <voss@perce.de>
11164 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11166 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11168 * lyx_main.C: added global string help_lyxdir.
11170 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11172 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11174 * lyxrc.C (set_font_norm_type): support iso8859-4
11176 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11178 * LaTeX.C (deplog): add another regex for MikTeX
11180 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11182 * lyxrc.C (set_font_norm_type): support iso8859-3
11184 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11186 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11188 * LaTeXFeatures.C: remove special case of french and index
11190 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11191 before \begin{document}). This solves several incompatibilities.
11193 2001-10-03 Garst Reese <reese@isn.net>
11195 * lyx_cb.C: change CheckTex error msg.
11197 2001-10-03 José Matos <jamatos@fep.up.pt>
11199 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11201 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11203 * .cvsignore: update
11205 * lyx_main.C (commandLineVersionInfo): use new style version info.
11207 * buffer.C (writeFile):
11209 (makeLinuxDocFile):
11210 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11212 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11214 * version.h: update to use stuff in version.C
11216 * version.C.in: new file. Contains version information determined
11217 at compile time. This is a merging of version.h and
11220 2001-10-03 Juergen Vigna <jug@sad.it>
11222 * BufferView_pimpl.C (update): don't change "dirty" status in
11225 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11227 * WorkArea.C (c-tor): re-position version string slightly.
11229 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11231 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11232 revert to previous code.
11234 WorkArea.[Ch]: (show, destroySplash): methods removed.
11236 WorkArea.C: rework code so that it's an amalgam of the codes before and
11237 after the splash screen was moved to WorkArea.
11239 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11242 * vspace.C (inPixels):
11245 * buffer.C (insertStringAsLines):
11246 (asciiParagraph): fix types to be large enough
11248 * lyxlex_pimpl.h: change member status from short to int
11250 * layout.h: fix type of endlabeltype
11253 * kbsequence.C (parse): change return type to string::size_type
11255 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11258 * Bullet.C (bulletSize):
11259 (bulletEntry): do not use short ints as parameters
11261 * BufferView2.C (insertLyXFile): change a char to an int.
11263 * WorkArea.C (WorkArea): remove unneeded floats in computation
11265 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11267 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11269 * paragraph.C (asString): Do not ignore newline/hfill chars when
11270 copying to the clipboard.
11272 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11274 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11275 after a multi-line inset.
11277 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11279 * paragraph.C (validate): Set NeedLyXFootnoteCode
11281 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11283 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11284 and decrease-error to decrease.
11286 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11288 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11289 it more readable (should be equivalent)
11291 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11293 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11295 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11297 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11298 of a cursor (row, etc.) after a character has been deleted
11299 (deleteEmptyParagraphMechanism): call the method above on _all_
11300 cursors held by the LyXText when a double space has been
11303 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11305 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11307 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11309 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11310 background. Use greyOut() and the new show() methods to toggle between
11311 the foreground and background. Add code to remove the splash after
11312 its initial showing.
11314 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11315 (create_forms): no longer call Dialogs::showSplash.
11317 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11319 * .cvsignore: add version_info.h
11321 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11323 * version_info.h.in: new file
11325 * Makefile.am: add version_info.h.in
11327 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11328 version_info.h instead of VERSION_INFO
11330 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11332 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11333 The ERT inset now returns string().
11335 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11337 * lyxtext.h, text.C (selectNextWord): renamed as
11338 selectNextWordToSpellcheck.
11340 * text.C (selectNextWordToSpellcheck): Modified to not select
11341 words inside an ERT inset.
11343 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11345 * lyx_cb.C (MenuLayoutSave): change a bit the question
11347 * sp_base.h: include <sys/types.h>
11349 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11351 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11353 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11355 * several files: fix typos in user-visible strings
11357 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11359 * text2.C (pasteSelection): do not set the selection, since it
11360 will be cleared later. Actually, the intent was to fix the way the
11361 selection was set, but I figured rmoving the code was just as good.
11363 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11365 * FontLoader.C (available): Check if font is available without
11368 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11370 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11372 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11374 * lyxrc.[Ch]: added display_graphics variable and associated code.
11376 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11378 * bufferparams.C (hasClassDefaults): new method. Returns true if
11379 the buffer parameters correspond to known class defaults
11381 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11383 * XFormsView.C (show): set minimum size to the main window.
11385 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11387 * text2.C (copySelection):
11389 * lyxfind.C (LyXReplace):
11390 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11391 LyXText::selectionAsString.
11393 * paragraph.C (asString): add "label" argument to the second form
11395 * text2.C (selectionAsString): add "label" argument and pass it to
11396 Paragraph::asString.
11398 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11400 * lyx_main.C (commandLineHelp): remove version information
11402 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11404 * lyx_main.C: add -version commandline option
11406 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11408 * paragraph.h: make the optional constructor arg required instead.
11409 some modifications to other files because of this.
11411 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11413 * lyxserver.C (C_LyXComm_callback): make it static
11415 * lyx_main.C (error_handler): make it static
11417 * lyx_gui.C (LyX_XErrHandler): make it static
11419 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11421 * WorkArea.C: make the extern "C" methods static.
11423 * Makefile.am (lyx_LDADD): simplify
11425 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11427 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11428 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11430 * LyXAction.C (init):
11431 * lyxfunc.C (dispatch): associated code removal.
11433 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11435 * lyxfont.h (isSymbolFont): shut off warning
11437 * text.C (setHeightOfRow):
11438 (getVisibleRow): fix crash with empty paragraphs which have a
11441 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11443 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11446 2001-09-04 José Matos <jamatos@fep.up.pt>
11449 * tabular.C (docbook): rename docBook method to docbook.
11451 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11453 * Makefile.am: add dependencies to main.o.
11455 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11457 * FontLoader.C (available): Return false if !lyxrc.use_gui
11459 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11461 * FontInfo.C (query):
11462 * converter.C (view):
11463 * importer.C (Import):
11464 * exporter.C (Export): Can not -> cannot.
11466 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11468 * BufferView_pimpl.C: allow to create index inset even if
11471 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11473 * buffer.C (getLists): replace boost::tie code with an explicit pair
11474 as boost::tie can break some compilers.
11476 * iterators.h: Added a std:: declaration to the return type of
11479 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11481 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11484 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11486 * iterators.[Ch]: New files. Provide paragraph iterators.
11488 * buffer.C (changeLanguage): Use paragraph iterators.
11489 (isMultiLingual): ditto
11491 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11493 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11495 * FontLoader.C: Support for cmr font.
11497 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11499 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11500 (available): New method.
11502 * FontInfo.C (getFontname): Use scalable fonts even when
11503 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11506 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11508 * converter.C (Formats::view): reverted! Incorrect fix.
11510 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11512 * converter.C (Formats::view): only output the -paper option
11513 if the dvi viewer is xdvi, thereby fixing bug #233429.
11515 2001-08-23 Herbert Voss <voss@perce>
11517 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11519 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11521 * Spacing.h (Spacing): Set space to Default on in the default
11524 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11526 * vc-backend.h (RCS::versionString): add RCS to version
11527 (CVS::versionString): add CVS to version
11529 * vc-backend.C (scanMaster): do not add CVS to version.
11530 (scanMaster): do not add RCS to version
11532 * lyxvc.C (versionString): new method
11534 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11536 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11538 * Spacing.C (set): initialize fval
11540 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11542 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11545 2001-08-16 Juergen Vigna <jug@sad.it>
11547 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11549 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11551 * BufferView_pimpl.C:
11554 * text2.C: setParagraph takes linespacing now
11556 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11558 * LyxAction.C: add internal LFUN_CITATION_INSERT
11560 * LyXView.C: actually apply fix
11562 * bufferlist.C: fix open non-existent file
11564 * lyxfind.C: fix indentation
11566 * lyxfunc.C: remove unneeded assert, fix typo
11568 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11570 * MenuBackend.C: use "Floatname List"
11572 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11574 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11575 when converting LaTeX layout to insetERT.
11576 Generate a non-collapsed float when reading old float
11578 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11580 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11583 2001-08-13 Juergen Vigna <jug@sad.it>
11585 * text.C (fill): return 0 instead of 20 as this seems to be the more
11588 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11590 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11593 2001-08-13 Juergen Vigna <jug@sad.it>
11595 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11597 (SearchBackward): comment out the unlocking of the inset_owner this
11598 should not be needed!
11600 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11602 * Many files: Remove inherit_language, and add latex_language
11604 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11605 collapsible insets.
11607 2001-08-10 Juergen Vigna <jug@sad.it>
11609 * text.C (prepareToPrint): fixed hfill-width in draw!
11611 * BufferView2.C (selectLastWord): save the selection cursor as this
11612 now is cleared in the function LyXText::clearSelection!
11614 2001-08-08 Juergen Vigna <jug@sad.it>
11616 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11617 BACKSPACE type functions.
11619 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11620 is only cutted from the document but not put in the cut-buffer, where
11621 still the old stuff should be.
11623 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11625 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11627 * tabular.C (SetWidthOfCell): fixed special case where the width
11629 (LeftLine): handle '|' in align_special.
11631 (LeftAlreadyDrawed): ditto
11632 (SetWidthOfCell): ditto
11634 2001-08-07 Juergen Vigna <jug@sad.it>
11636 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11638 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11640 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11641 * lyxlex.[hC]: ditto
11643 2001-08-06 Juergen Vigna <jug@sad.it>
11645 * text.C (getVisibleRow): fix up row clearing a bit.
11647 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11649 * minibuffer.C: make sure the X server sees the changes in the input.
11651 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11653 * paragraph.C (getFont): split into...
11654 (getLabelFont): this
11655 (getLayoutFont): and this
11656 * paragraph_pimpl.C (realizeFont): calling this
11658 * text2.C (getFont): split into...
11659 (getLayoutFont): this
11660 (getLabelFont): and this
11661 (realizeFont): all three calling this
11663 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11666 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11668 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11670 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11672 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11673 layouts from the Quote inset insertion.
11675 2001-08-03 Juergen Vigna <jug@sad.it>
11677 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11679 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11680 only if status not is already CHANGED_IN_DRAW (second level).
11682 * text.C (draw): don't set the need_break_row when inside an
11685 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11687 * buffer.C (parseSingleLyXformat2Token): handle more latex
11690 * bufferview_funcs.[hC]: change function names to
11691 begin with small char, adjust other files.
11693 2001-08-02 André Pönitz <poenitz@gmx.net>
11696 BufferView_pimpl.C: remove broken special code for math-greek
11698 2001-08-02 Juergen Vigna <jug@sad.it>
11700 * BufferView_pimpl.C (update): redone this function so that we
11701 update the text again if there was a CHANGE_IN_DRAW.
11703 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11704 (drawFromTo): added a new internal bool which is used by draw() and
11706 (general): some cursor drawing problems fixed.
11708 2001-08-01 Juergen Vigna <jug@sad.it>
11710 * lyxfind.C (LyXFind): fixed
11711 (SearchForward): ditto
11712 (SearchBackward): ditto
11714 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11715 spurius drawing of the cursor in the main area.
11717 * text2.C (status): small fix which could lead to a segfault!
11718 (clearSelection): remove unneeded BufferView param.
11720 2001-08-01 André Pönitz <poenitz@gmx.net>
11722 * lyxfunc.C: small change due to changed mathed interface
11724 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11726 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11728 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11730 * lyxfunc.c: fail gracefully if file doesn't exist
11735 * BufferView_pimpl.C: IsDirWriteable() proto changed
11737 * LyXView.C: fix updateWindowTitle() to store the last title
11739 2001-07-31 Juergen Vigna <jug@sad.it>
11741 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11742 the font (wrong since using of Paragraph::highestFontInRange).
11744 * paragraph.C (highestFontInRange): added a default_size parameter.
11746 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11747 (setHeightOfRow): reformat
11749 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11751 * converter.[hC] + affected files: move to (inital-char)lowercase
11754 * ParagraphParameters.C (ParagraphParameters): remove commented code
11756 * PainterBase.[Ch]: remove commented code
11758 * LaTeXFeatures.h: add "bool floats" for float.sty
11760 * LaTeXFeatures.C (LaTeXFeatures): init floats
11761 (require): handle float
11762 (getPackages): do it with floats
11764 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11766 * BufferView_pimpl.C (Dispatch): improve handling of
11767 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11769 * commandtags.h: #include lyxfont.h here temporarily to avoid
11772 * bufferlist.h: include LString.h here.
11774 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11776 * text2.C (getStringToIndex): new method.
11778 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11780 * *: Reduced header file dependencies all over.
11782 2001-07-30 Baruch Even <baruch@lyx.org>
11784 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11786 2001-07-29 Baruch Even <baruch@lyx.org>
11788 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11790 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11792 * ParameterStruct.h (endif): add a default constructor to make
11793 sure that all variables is initialized.
11795 * ParagraphParameters.C (ParagraphParameters): adjust
11797 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11799 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11800 index; also, check that there is something to index, and that it
11801 does not span over several paragraphs.
11802 (doubleClick): use WHOLE_WORD_STRICT for double click.
11804 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11806 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11809 2001-07-26 Baruch Even <baruch@lyx.org>
11811 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11812 an InsetFig figure, backwards compatible reading of old figure code.
11814 2001-07-27 Juergen Vigna <jug@sad.it>
11816 * text2.C: font.realize function adaption.
11818 * text.C (draw): add a warnings lyxerr text if needed.
11820 * layout.C: font.realize function adaption.
11822 * language.C: add inherit_language and implement it's handlings
11824 * bufferview_funcs.C (StyleReset): remove language parameter from
11825 font creation (should be language_inherit now).
11827 * bufferparams.C (writeFile): handle ignore_language.
11829 * paragraph.C (getFontSettings): the language has to be resolved
11830 otherwise we have problems in LyXFont!
11832 * lyxfont.C (lyxWriteChanges): added document_language parameter
11833 (update): removed unneeded language parameter
11835 * paragraph.C (validate): fixed wrong output of color-package when
11836 using interface colors for certain fonts in certain environments,
11837 which should not seen as that on the final output.
11839 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11841 * BufferView_pimpl.C:
11846 * LyXAction.C: add thesaurus support
11849 * lyxfind.C: add "once" parameter, for thesaurus, to not
11850 move to the next match
11852 2001-07-26 Juergen Vigna <jug@sad.it>
11854 * lyxfont.C (realize): honor ignore_language too!
11857 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11859 * text.C (draw): one place more for ignore_language to not draw
11862 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11864 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11866 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11868 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11869 the minipage conversion problem.
11871 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11873 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11876 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11878 * BufferView.h: don't forward declare WorkArea
11880 * BufferView.C: don't include WorkArea.h
11882 2001-07-25 André Pönitz <poenitz@gmx.net>
11886 * lyxfunc.C: new LFUN 'math-space'
11888 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11890 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11892 * text2.C (toggleInset): call open/close
11894 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11896 * lyxfunc.C (dispatch): add debug for the disabled case
11898 * font.C (buttonText): make similar to rectText
11900 * buffer.C (readInset): comment out parsing of insetlist and
11903 * PainterBase.C (rectText): small correction
11905 * BufferView_pimpl.C: comment out insettheorem and insetlist
11906 * LyXAction.C: ditto
11907 * commandtags.h: ditto
11909 2001-07-24 Juergen Vigna <jug@sad.it>
11911 * text.C (draw): honor the ignore_language.
11913 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11915 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11917 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11920 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11922 * lyxtext.h: remove unused (and unimplemented) methods
11924 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11926 * text.C (getVisibleRow): honor background color
11929 * Painter.h: remove default color argument for fillRectangle
11931 * text.C (backgroundColor): new method
11933 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11935 * text.C (getVisibleRow): adjust
11937 * font.[Ch] (rectText): new method, metrics
11938 (buttonText): new method, metrics
11940 * PainterBase.[hC]: make rectText and buttonText always draw and take
11943 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11945 * ToolbarDefaults.C (read):
11946 * MenuBackend.C (read): allow escaping in all strings
11948 * BufferView_pimpl.C (insertAndEditInset): new method.
11949 (Dispatch): use insertAndEditInset whenever appropriate.
11951 * BufferView_pimpl.C (insertNote): removed
11953 * BufferView_pimpl.C (smartQuote): new method, moved from
11954 BufferView; if an insetquote cannot be inserted, insert a '"'
11957 * BufferView2.C: remove insertCorrectQuote();
11959 * lyxfunc.C (getStatus): Add support for all remaingin
11960 inset-insert lfuns.
11962 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11964 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11965 command (necessary to pass " as parameter of self-insert.
11967 * text.C (selectWordWhenUnderCursor):
11968 (selectWord): add word_location parameter
11969 (selectWordWhenUnderCursor): same + remove special code for word
11971 (selectNextWord): use kind() to guess type of insetspecialchar,
11974 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11975 (insertErtContents): create ert insets as collapsed.
11976 (readInset): better compatibility code for Info inset.
11978 2001-07-20 Juergen Vigna <jug@sad.it>
11980 * lyxfunc.C (dispatch): use always LyXFind now!
11982 * text2.C (init): add a reinit flag so that the LyXText can be
11983 reinited instead of deleted and reallocated (used in InsetText).
11985 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11991 2001-07-18 Juergen Vigna <jug@sad.it>
11993 * text.C (selectNextWord): handle insets inside inset by calling
11994 always the bv->text functions so that we can go up the_locking_inset!
11996 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11997 in strange locations when inside an inset!
11999 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12000 handling to include insets.
12002 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12004 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12006 * LyXAction.C (init):
12008 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12009 LIGATURE_BREAK, since the name is so stupid.
12011 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12013 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12016 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12018 * sp_form.[Ch]: remove.
12020 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12022 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12025 * src/buffer.C (readInset): ditto.
12027 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12029 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12030 menuSeparator(), endOfSentenceDot(), ldots() and
12031 hyphenationPoint(), which are therefore removed.
12032 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12034 * LyXAction.C (init):
12035 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12037 * paragraph.C (getWord): removed.
12039 * BufferView_pimpl.C (Dispatch): use last word or selection for
12040 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12042 * lyx_main.C (queryUserLyXDir): do not ask before creating
12043 user_dir, except if it has been named explicitely.
12045 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12047 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12048 a document of zero size.
12050 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12052 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12053 approriately in the c-tor and in require().
12054 (getPackages): output the appropriate LaTeX for natbib support.
12056 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12057 variables "use_natbib" and "use_numerical_citations" when reading the
12059 (readInset): read the various natbib cite commands.
12060 (validate): white-space change.
12062 * bufferparams.[Ch]: new variables "bool use_natbib" and
12063 "bool use_numerical_citations".
12064 (writeFile): output them in the LyX file.
12066 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12068 * lyxfunc.C (getStatus): add support for all the inset insertion
12071 * text2.C (insertInset):
12072 * paragraph.C (insetAllowed):
12073 * BufferView_pimpl.C (insertInset): update to take in account the
12074 renaming of insertInsetAllowed
12076 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12078 * text2.C (getInset): new method. returns inset at cursor position.
12080 * BufferView_pimpl.C (Dispatch): changes because of this.
12082 * LyXAction.C (init): rename open-stuff to inset-toggle.
12084 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12086 * text2.C (toggleInset): renamed from openStuff; use
12089 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12091 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12093 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12095 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12097 * buffer.C (readLyXformat2): Add filename to the error dialog
12099 2001-07-18 Juergen Vigna <jug@sad.it>
12101 * tabular.C (GetCellNumber): put an assert here instead of the check!
12103 2001-07-17 Juergen Vigna <jug@sad.it>
12105 * BufferView_pimpl.C (toggleSelection): adapted too.
12107 * text.C (selectNextWord): adapted for use with insets.
12108 (selectSelectedWord): ditto
12110 2001-07-17 Juergen Vigna <jug@sad.it>
12112 * sp_spell.C (PSpell): fix initialitation order.
12114 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12116 * paragraph.C: spacing
12118 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12120 * sp_spell.C: repair language selection for pspell
12122 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12124 * lyxfunc.h: change more methods to begin with lower char.
12126 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12128 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12129 for unknown layouts.
12131 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12133 * buffer.C (readLyXformat2): Generate an error dialog if there are
12136 2001-07-16 Juergen Vigna <jug@sad.it>
12138 * sp_spell.C: always compile ISpell part.
12140 * lyxrc.C: added use_pspell entry and it's handling.
12142 2001-07-13 Juergen Vigna <jug@sad.it>
12144 * sp_spell.C: removed double includes.
12146 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12148 Consistent use of Lsstream.h:
12149 * Lsstream.h: added using std::stringstream for consistencies sake.
12151 * buffer.C: removed using std::stringstream
12153 * lyxfont.C (stateText):
12154 * paragraph.C (asString):
12155 * text.C (selectNextWord, selectSelectedWord):
12156 * text2.C (setCounter):
12157 * vspace.C (asString, asLatexString):
12158 std::ostringstream -> ostringstream.
12160 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12162 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12163 * commandtags.h: add LFUN_HELP_ABOUTLYX
12164 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12166 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12168 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12170 * lyx_gui_misc.C: remove spellchecker
12171 * lyxfunc.C: showSpellchecker
12173 * sp_ispell.h: added
12174 * sp_pspell.h: added
12175 * sp_spell.C: added
12176 * sp_form.[Ch]: removed
12177 * spellchecker.[Ch]: removed
12179 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12181 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12183 (simpleTeXSpecialChars): Simply print the input character without
12184 any special translation if pass_thru is set.
12186 * layout.h: Added bool pass_thru to layout class for being able to
12187 implement pass through of a paragraph for Literate Programming.
12189 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12190 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12191 * layout.C (Read): add "passthru" to list of layout tags and add
12192 code to set the pass_thru boolean when it is read.
12194 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12196 * trans_decl.h: remove allowed from KmodInfo
12198 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12199 remove allowed code
12202 * paragraph_pimpl.C (erase): use boost::prior
12204 * Painter.C (text): use data() instead of c_str() when length is
12206 * WorkArea.C (putClipboard): ditto
12207 * font.h (width): ditto
12209 * BufferView2.C: use it-> instead of (*it). for iterators
12211 * paragraph_pimpl.C: ditto
12212 * paragraph.C: ditto
12213 * minibuffer.C: ditto
12214 * language.C: ditto
12216 * encoding.C: ditto
12217 * counters.C: ditto
12218 * converter.C: ditto
12220 * Variables.C: ditto
12221 * TextCache.C: ditto
12222 * MenuBackend.C: ditto
12223 * LyXAction.C: ditto
12225 * FloatList.C: ditto
12226 * DepTable.C: ditto
12227 * ColorHandler.C (LyXColorHandler): ditto
12229 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12231 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12233 * text2.C (openStuff): reintroduce this method (which had been
12234 nuked in NEW_INSETS frenzy).
12236 * lyxfunc.C (Dispatch): when an action has not been handled, use
12237 its name in the error message, not its number.
12239 * paragraph.C (inInset): change method name to begin with lowercase.
12242 * text2.C: updates because of this.
12244 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12246 * ToolbarDefaults.C (add): add spaces in error message
12248 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12250 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12251 (readLyXformat2): rename return_par to first_par, use lyxlex's
12252 pushToken and remove the manual push handling.
12253 (parseSingleLyXformat2Token): add another ert comp. variable:
12254 in_tabular, rename return_par to first_par. handle newlines better
12256 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12258 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12260 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12262 * text2.C (getParFromID): removed
12264 * buffer.C (getParFromID): new method moved form lyxtext.
12265 * BufferView2.C (insertErrors): adjust
12266 (setCursorFromRow): adjust
12267 * BufferView_pimpl.C (restorePosition): adjust
12268 * lyxfunc.C (Dispatch): adjust
12269 * undo_funcs.C (textUndo): adjust
12271 (textHandleUndo): adjust
12272 (textHandleUndo): adjust
12274 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12276 * buffer.C: up' the LYX_FORMAT
12278 * lyxfont.h: turn NO_LATEX on as default
12280 * buffer.C (insertErtContents): new methods of tex style compability.
12281 (parseSingleLyXformat2Token): use it several places.
12282 * tabular.C (OldFormatRead): and here
12284 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12286 * text2.C: remove some commented code.
12289 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12290 * trans.C: changes because of the above.
12292 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12294 * text2.C (setCounter): Fix counters bug with bibliography layout.
12296 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12298 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12299 own member functions
12300 (simpleTeXSpecialChars): ditto
12302 2001-07-06 Juergen Vigna <jug@sad.it>
12304 * a lot of files: changed the access to LyXText::status and the
12305 call of undo-functions.
12307 * undo.[Ch]: added a inset_id to the undo informations.
12309 * undo_funcs.[Ch]: added and moved here all undo functions.
12311 * lyxtext.h: give the status enum a weight, made status_ a private
12312 variable and made accessor functions for it, removed the whole bunch
12313 of undo-functions as they are now in their own file, make some
12314 functions publically available. Added function ownerParagraph with
12317 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12318 made InInset() a const function, added getParFromID() function.
12320 * buffer.[Ch]: added const version for inset_iterator functions,
12321 added getInsetFromID() function.
12323 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12324 changed undo functions for new version.
12326 2001-07-05 Juergen Vigna <jug@sad.it>
12328 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12329 unknow mechanism does not call the proper constructor but only this
12330 one also if I request the other!?
12332 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12334 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12336 * text2.C (LyXText): use initialization lists.
12338 * lyxtext.h (Selection): initialize set_ and mark_
12339 (init): remove method
12341 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12343 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12345 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12347 * screen.[Ch]: change method names to begin with lowercase
12349 * BufferView_pimpl.C (updateScrollbar): simplify further and
12350 hopefully make it a bit faster.
12352 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12354 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12355 calling directly xforms functions.
12357 * Painter.C (Painter):
12358 * lyx_cb.C (MenuWrite):
12359 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12362 * lyx_gui.C: remove bogus guiruntime extern declaration.
12364 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12366 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12368 (redoDrawingOfParagraph): ditto
12369 (redoParagraphs): ditto
12370 (cutSelection): don't create a object for CutAndPaste use the
12371 static method directly
12372 (pasteSelection): ditto
12374 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12377 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12379 * modifications to some other files because of this.
12381 * Makefile.am (lyx_SOURCES): add XFormsView
12383 * XFormsView.[Ch]: new files
12385 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12386 the main window. Move the gui dependent stuff to XFormsView
12388 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12390 * tabular.C (GetCellInset): update cur_cell also in the row/col
12391 version of this function.
12393 * lyxfunc.C: no need to include figure_form.h here.
12399 * lyxvc.C: no need to include forms.h here.
12401 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12403 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12405 * lyxfunc.C (Dispatch):
12407 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12408 constructor argument.
12410 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12412 * paragraph.C (Paragraph): dont't clear, and just set layout.
12413 (makeSameLayout): use params's copy contructor.
12415 * ParagraphParameters.[Ch] (makeSame): delete method
12417 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12419 * Variables.[Ch]: fix indentation, rename set to isSet
12421 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12423 * lyxfunc.C (Dispatch): fix typo
12425 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12427 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12430 * bufferlist.C: include assert.h for emergencyWrite().
12432 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12434 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12435 give up at last (bug #425202) !
12437 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12443 * spellchecker.C: strip spellchecker options and bring up
12444 preferences tab instead
12446 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12448 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12449 the istringstream constructor
12451 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12453 * paragraph.C (getLayout): fix return value
12455 * paragraph.h: do not declare getLayout as inline.
12457 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12459 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12461 * lyxcursor.h (operator<): new func
12462 (operator>): new func
12463 (operator>=): new func
12464 (operator<=): new func
12466 * text.C (changeCase): use selection.start and selection.end
12467 (changeRegionCase): require from to be <= to. Require par to be a
12470 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12472 2001-06-27 Juergen Vigna <jug@sad.it>
12474 * text.C (cursorLeftOneWord): changed to return the cursor and added
12475 overlay with BufferView * parameter which calls this one.
12477 (selectWord): use new getWord function.
12478 (changeCase): renamed from changeWordCase as and extended to work
12479 also on selections.
12481 * lyxtext.h: added enum word_location
12483 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12484 changeCase as this operates now also on selections.
12486 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12488 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12490 * many files: send debug output to Debug::INFO instead of
12493 * converter.C (View):
12495 (Move): send debug output to Debug::FILES instead of console.
12497 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12499 * lyxfunc.C (getStatus): use func_status
12501 * func_status.h: new header, describing the results of
12502 LyXFunc::getStatus;
12504 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12507 2001-06-25 The LyX Project <jug@sad.it>
12509 * buffer.C (sgmlOpenTag):
12511 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12513 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12515 * text2.C: remove some dead code
12517 * tabular.C (GetCellInset): store the last cell checked (gotten)
12519 * tabular.h: add the helper for the speedup
12521 * lyxtext.h: remove some dead code
12523 2001-06-26 The LyX Project <Asger>
12525 * paragraph.C: Change export to LaTeX of alignment to
12526 \begin{center} and family for better roundtrip work with reLyX.
12528 * Tune the math drawing a bit.
12530 2001-06-25 The LyX Project <Asger>
12532 * LColor.C (LColor): New color for math background. New color
12535 2001-06-25 The LyX Project <jug@sad.it>
12537 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12539 * lyxfunc.C (Open):
12540 * bufferlist.C (newFile): do not restrict to files ending with
12543 * BufferView_pimpl.C (MenuInsertLyXFile):
12545 2001-06-24 The LyX Project <jug@sad.it>
12547 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12550 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12552 * lyxtext.h: rename most methods to begin with a small char.
12553 Lots of changes because of this.
12555 * paragraph.C (Paragraph): do not call fitToSize
12556 (erase): call Pimpl::erase
12557 (insertChar): call Pimpl::insertChar
12558 (insertInset): call Pipl::insertInset
12559 (breakParagraph): do not call fitToSize
12560 (breakParagraphConservative): do not call fitToSize
12561 (fitToSize): remove method
12563 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12565 2001-06-24 The LyX Project <Asger>
12567 * Fix Qt compilation^2
12569 2001-06-24 The LyX Project <jug@sad.it>
12571 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12572 depthHook(getDepth()-1).
12575 * ParagraphParameters.h:
12576 * ParameterStruct.h: change type of depth to unsigned int ==
12577 depth_type. Many adaptations to other files before of that.
12579 2001-06-24 The LyX Project <Asger>
12581 * Fix Qt compilation.
12583 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12585 * paragraph.h: renamed several methods to begin with small letter.
12586 several changes to many parts of the code because of this.
12588 2001-06-23 The LyX Project <jug@sad.it>
12590 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12591 rewritten to discard all double spaces when KeepEmpty is off
12592 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12593 to only handle newlines but not fiddle with spaces and friends.
12595 * lyxfunc.C (MenuNew): when doing 'new from template', use
12596 template_path as default directory
12598 2001-06-23 The LyX Project <Asger>
12600 * Clean-up of header file includes all over
12601 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12603 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12605 * paragraph.h: renamed from lyxparagraph.h
12607 2001-06-23 Asger <lyx@violet.home.sad.it>
12609 * Buffer.h: Removed Buffer::resize
12610 * BufferList.h: Removed BufferList::resize
12611 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12612 the document lazily when we change the width, or the font settings.
12614 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12616 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12618 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12620 * buffer.h: remove out of date comment
12622 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12625 * screen.C: fix "theoretical" GC leak
12627 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12629 * LaTeX.C (scanAuxFile):
12630 (deplog): remove trailing \r when reading stream (useful under
12633 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12635 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12636 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12637 and BufferView::theLockingInset(Inset*), so should use them and not
12638 access bv_->text->the_locking_inset directly.
12640 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12642 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12645 * tex-defs.h: remove old unused file
12647 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12649 * BufferView_pimpl.C: fix typo, remove minibuffer message
12650 when buffer has loaded
12652 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12654 * lyxfunc.C (Dispatch): use stringstream
12655 (MenuNew): use stringstream
12656 (Open): use stringstream
12658 * importer.C (Import): use stringstream
12660 * bufferview_funcs.C (CurrentState): use stringstream
12662 * LaTeX.C (run): use stringstream
12664 * BufferView_pimpl.C (savePosition): use stringstream
12665 (restorePosition): use stringstream
12666 (MenuInsertLyXFile): use stringstream
12668 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12681 * vspace.C: removed // -*- C++ -*- as first line.
12684 * version.h: added // -*- C++ -*- as first line.
12686 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12688 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12690 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12693 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12695 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12698 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12700 * gettext.C: include LString.h even when --disable-nls is on.
12702 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12704 * converter.h (Get): changed argument type from int to
12705 FormatList::size_type to avoid unnecessary conversion.
12707 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12710 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12712 * gettext.h: include LString.h even when --disable-nls is on.
12714 2001-06-07 Juergen Vigna <jug@sad.it>
12716 * text.C (BreakAgain): subst spaces with tabs.
12718 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12719 (resizeInsetsLyXText): set force on resizeLyXText.
12721 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12723 * gettext.h (gettext_init):
12724 (locale_init): use a real definition instead of a macro
12726 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12728 * Bufferview_pimpl.C:
12730 * LColor.C: further lcolor tidies
12732 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12734 * BufferView_pimpl.C (updateScrollbar): simplify.
12736 * BufferView2.C: don't include insets/insetinfo.h, change
12737 prototype for insertInset and call the Pimpl version. let
12738 updateInset call Pimpl version.
12740 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12741 gotoInset to BufferView::Pimpl
12743 2001-06-01 Juergen Vigna <jug@sad.it>
12745 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12746 inside a LockingInset (is the update needed at all?).
12748 2001-05-31 Juergen Vigna <jug@sad.it>
12750 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12751 here not the old one otherwise how should we compare it afterwards
12754 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12759 * FontInfo.C: bring C functions into global namespace when
12762 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12764 * LString.h: make sure config.h has been loaded before LString.h.
12766 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12767 (one for each char read by EatLine!).
12769 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12772 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12774 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12775 to the same as the par we break from
12777 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12779 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12781 * MenuBackend.C (expand): also create menu entries for wide
12782 versions of the floats.
12784 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12786 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12788 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12789 frontends/Makefile.am
12795 * tabular.C (getTokenValue): add std::
12797 * tabular-old.C (getTokenValue): add std::
12798 (getTokenValue): ditto
12799 (getTokenValue): ditto
12801 * screen.C (ToggleSelection): adjust
12803 * lyxtext.h: put selection cursors inside a Selection struct.
12805 * lyxfunc.C (moveCursorUpdate): adjust
12807 * lyxfont.C (latexWriteStartChanges): add std::
12809 * lyxfind.C: adjust
12811 * font.h: delete with(char const *, LyXFont const &)
12813 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12815 * FontInfo.C (getFontname): add std::
12817 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12818 (workAreaButtonPress): adjust
12819 (tripleClick): adjust
12821 (moveCursorUpdate): adjust
12824 * BufferView2.C (gotoInset): adjust
12826 2001-05-30 Juergen Vigna <jug@sad.it>
12828 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12829 to check pspell I add this as default as I now have new pspell
12830 libraries and they seem to use this.
12832 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12834 * text2.C (CutSelection): make the cursor valid before the call to
12837 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12839 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12840 relied on 0 terminated strings and other horrors. Bug found due to
12841 the new assert in lyxstring!
12843 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12846 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12848 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12851 * lyxfunc.C (processKeySym): change method of getting to the
12854 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12855 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12856 * BufferView_pimpl.[Ch]: here as private methods.
12858 2001-05-28 Juergen Vigna <jug@sad.it>
12860 * text.C (SetHeightOfRow): added the update() call again as it is
12861 needed to initialize inset dimensions!
12863 2001-05-16 Juergen Vigna <jug@sad.it>
12865 * text2.C (SetCharFont): Add new function with BufferView * and
12866 bool toggleall parameters for setting insets internal fonts.
12867 (SetFont): Freeze the undo as we may change fonts in Insets and
12868 all this change should be inside only one Undo!
12870 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12871 setting font's in insets as for them we have the SetFont function!
12873 2001-05-15 Juergen Vigna <jug@sad.it>
12875 * text2.C (ClearSelection): to be sure we REALLY don't have any
12878 * tabular.C (TeXCellPreamble): fixed the left border problem for
12881 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12883 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12886 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12888 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12889 LFUN_BREAKPARAGRAPH.
12891 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12892 help test to "internal only", similar for LFUN_INSERT_URL
12894 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12895 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12896 auto_region_delete and deadkeys.
12898 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12901 * LColor.C: remove some dead entries, tidy a little
12903 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12905 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12907 (Dispatch): implement LFUN_ESCAPE
12909 * commandtags.h: add LFUN_ESCAPE
12911 * LyXAction.C (init): add entry for LFUN_ESCAPE
12913 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12914 Remove commented code.
12915 (insertNote): moved here
12916 (open_new_inset): moved here
12918 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12921 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12923 * kbmap.C (findbinding): clean it up and make it work correctly.
12925 * lyx_main.C (init): do not pass argc and argv as parameters
12927 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12929 * buffer.C: fix path for OS/2 & Win32
12933 * lyx_main.C: Added os:: class.
12935 * os2_defines.h: update
12937 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12939 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12940 better by trying again with reduced state.
12942 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12944 * lyxrc.C (read): print error about invalid key sequence only when
12945 debugging (because not all latinX keysyms are known to some X
12948 * kbsequence.C (getiso): add a few std:: qualifiers
12949 (getiso): comment out extra return statement.
12951 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12953 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12955 (Dispatch): enhance the accent inset a bit. (not perfect)
12957 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12959 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12961 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12963 * bufferlist.C (emergencyWrite): fix assert() call
12965 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12967 * text.C (InsertChar): Added trivial patch to only send the "you
12968 can not do multiple spaces this way" message once during a
12971 2001-05-08 Baruch Even <baruch@lyx.org>
12973 * Makefile.am: Changed order of libraries to get LyX to link properly
12974 with the gnome frontend.
12976 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12978 * LaTeXFeatures.h: add a std:: qualifier
12980 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12982 * paragraph.C (String): use stringstream
12984 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12986 * paragraph.C (writeFile): remove footflag arg
12988 * buffer.C (makeLaTeXFile): use stringstream
12989 (latexParagraphs): remove footnot gurba
12991 * LaTeXFeatures.C (getPackages): use stringstream
12992 (getMacros): likewise
12993 (getTClassPreamble): likewise
12994 (getFloatDefinitions): new method
12996 * paragraph.C (writeFile): reindent
12999 * WorkArea.h: revert the xpos + etc changes.
13001 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13003 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13005 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13006 (pasteSelection): likewise
13007 * text2.C (CreateUndo): likewise
13009 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13011 * minibuffer.C (peek_event): temporarily reduce the functionality
13012 of the minibuffer (to allow args on lfuns)
13014 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13015 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13017 * buffer.C (readInset): add compability reading of old float
13018 lists, add reading of new style float list.
13019 (readInset): avoid reevaluation of inscmd.getCmdName()
13020 (getLists): reindent
13022 * MenuBackend.C (MenuItem): implement parsing of
13023 md_floatlistinsert and md_floatinsert.
13024 (expand::LastFiles): move initalizaton of iterators out of loop,
13025 avoid reevaluation.
13026 (expand::Documents): introduce typdedef vector<string> Strings,
13028 (expand::ExportFormats): introduce typedef vector<Format const *>
13029 Formats, and use it.
13030 (expand): implement FloatListInsert and FloatInsert.
13032 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13033 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13034 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13036 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13038 (Dispatch::LFUN_FLOAT_LIST): implement
13040 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13042 * LaTeX.C (run): Fix problem with --export code.
13044 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13046 * BufferView.[Ch] (workarea): removed.
13047 (getClipboard) new method; wrapper for workarea()->getClipboard()
13049 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13052 * WorkArea.h (width, height, xpos, ypos): These methods all
13053 returned the dimensions of the work_area sub-area of WorkArea,
13054 resulting in a position error if the WorkArea were resized. Now
13055 return the dimensions of the entire WorkArea.
13057 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13059 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13061 * LaTeX.C (deplog): correct the syntax of regex reg1
13063 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13065 * undo.C: remove !NEW_INSETS cruft
13067 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13069 * text2.C: remove !NEW_INSETS cruft
13071 * text.C: remove !NEW_INSETS cruft
13073 * tabular.C: remove !NEW_INSETS cruft
13075 * spellchecker.C: remove !NEW_INSETS cruft
13077 * lyxtext.h: remove !NEW_INSETS cruft
13079 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13081 * lyxfunc.C: remove !NEW_INSETS cruft
13083 * lyxfind.C: remove !NEW_INSETS cruft
13085 * lyx_cb.C: remove !NEW_INSETS cruft
13087 * figureForm.C: remove !NEW_INSETS cruft
13089 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13091 * buffer.[Ch]: remove !NEW_INSETS cruft
13093 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13095 * CutAndPaste.C: remove !NEW_INSETS cruft
13097 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13099 * BufferView2.C: remove !NEW_INSETS cruft
13101 * BufferView.h: remove !NEW_INSETS cruft
13103 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13105 * Lsstream.h: include LString.h before the sstream headers to
13106 fix problem with gcc 2.95.3 and lyxstring
13108 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13110 * lyx_main.C: add using directives when needed for C functions
13111 declared in std:: namespace.
13113 2001-04-27 Juergen Vigna <jug@sad.it>
13115 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13116 (SetHeightOfRow): comment out the update call should not be needed!
13118 2001-04-13 Juergen Vigna <jug@sad.it>
13120 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13121 (LyXTabular): tried to minimize operator= operations (and realized
13122 hopfully Lars wish).
13124 2001-04-27 Juergen Vigna <jug@sad.it>
13126 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13128 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13130 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13132 * buffer.C (readInset): hack to make listof algorithm work
13134 * BufferView_pimpl.C: hack to make listof algorithm work
13136 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13138 * LyXAction.C: removed all !NEW_INSETS cruft
13139 (init): moved lfun_item in method
13141 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13143 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13145 * BufferView2.C (theLockingInset): white space.
13147 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13149 * minibuffer.C: include <iostream>
13151 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13153 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13155 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13157 * text.[Ch] (TransposeChars): new method
13159 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13161 * call message directly through LyXView instead of through LyXFunc
13162 * BufferView2.C: adjust
13163 * BufferView_pimpl.C: adjust
13164 * FontLoader.C: adjust
13166 * bufferview_funcs.C: adjust
13167 * converter.C: adjust
13168 * figureForm.C: adjust
13169 * importer.C: adjust
13171 * lyx_gui_misc.C: adjust
13172 * lyxfunc.C: adjust
13175 + more files in subdirs
13177 * lyxparagraph.h (size): move up int file
13180 * adjust all uses of Assert to lyx::Assert.
13182 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13183 lyxfunctional in namespace lyx
13184 * layout.C (hasLayout): ditto
13187 (delete_layout): ditto
13188 (NumberOfClass): ditto
13189 * converter.C (GetFormat): ditto
13194 * bufferlist.C (getFileNames): ditto
13195 (emergencyWriteAll): ditto
13198 * MenuBackend.C (hasSubmenu): ditto
13201 * BufferView_pimpl.C (getInsetByCode): ditto
13203 2001-04-18 Juergen Vigna <jug@sad.it>
13205 * vspace.C (asLatexString): fixed the 100% problem.
13207 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13209 * lyxfunc.C (Dispatch):
13211 * minibuffer.h: add a few std:: qualifiers
13213 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13215 * minibuffer.[Ch]: reimplement so that commands is initiated and
13216 run from lyxfunc, simplified som handling, and made the completion
13217 and history code for complete. wip.
13219 * lyxfunc.C (processKeySym): call message
13220 (miniDispatch): new temporary method
13221 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13222 (LFUN_MESSAGE): implement
13223 (LFUN_MESSAGE_PUSH): implement
13224 (LFUN_MESSAGE_POP): implement
13225 (initMiniBuffer): the initial/defualt minibuffer message.
13227 * lyxfont.[Ch]: inline some more getters
13229 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13231 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13233 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13234 (AutoSave): use LFUN_MESSAGE
13235 (Reconfigure): ditto
13237 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13239 * figureForm.C: use LFUN_MESSAGE
13241 * converter.C (runLaTeX): use LFUN_MESSAGE
13243 * bufferview_funcs.C: use LFUN_MESSAGE
13245 (changeDepth): ditto
13247 * bufferparams.h: use boost::
13249 * bufferlist.h: inherit privately from noncopyable
13251 * bufferlist.C (loadLyXFile): remove some commented code.
13253 * buffer.C (runChktex): use LFUN_MESSAGE
13255 * ShareContainer.h: inherit privately from noncopyable
13257 * ParagraphParameters.[hC] (depth): inline it.
13259 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13261 (message): new method
13262 (messagePush): ditto
13263 (messagePop): ditto
13264 (show): init minibuffer
13265 (showState): direct call
13267 * LaTeX.[Ch]: inherit privately from noncopyable
13268 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13269 instead of WriteStatus.
13271 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13273 * BufferView_pimpl.C (buffer): don't init minibuffer
13274 (workAreaButtonPress): use LFUN_MESSAGE
13275 (workAreaButtonRelease): ditto
13276 (savePosition): ditto
13277 (restorePosition): ditto
13278 (MenuInsertLyXFile): ditto
13279 (workAreaExpose): don't init minibuffer
13280 (update): remove commented code, simplify
13282 * BufferView2.C (openStuff): use LFUN_MESSAGE
13283 (toggleFloat): ditto
13286 (copyEnvironment): ditto
13287 (pasteEnvironment): ditto
13292 (updateInset): remove some commented code
13294 * lastfiles.h: inherit privately from noncopyable
13297 * lyx_main.h: ditto
13299 * lyxlex_pimpl.h: ditto
13301 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13302 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13303 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13305 * LyXAction.h: inherit privately from noncopyable, add methods
13306 func_begin, func_end, returning iterators to the func map.
13308 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13309 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13310 (func_begin): new method
13311 (func_end): new method
13313 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13315 (copySelection): ditto
13316 (pasteSelection): ditto
13318 * BufferView.C: whitespace change
13319 * BufferView.h: inherit privately from noncopyable
13321 2001-04-16 Allan Rae <rae@lyx.org>
13323 * tabular-old.C (l_getline):
13324 * spellchecker.C (sc_check_word):
13325 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13326 an unrecognised preprocessor directive. So ensure they're wrapped.
13328 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13330 * src/exporter.C (Export): Give an error message when path to file
13333 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13335 * LaTeX.C (deplog): Always check that foundfile exists.
13337 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13340 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13342 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13344 * tabular.[Ch] (getLabelList): implement new method
13346 * minibuffer.h: comment ouf setTiimer
13348 * minibuffer.C (ExecutingCB): constify res
13349 (peek_event): constify s
13350 (Set): constify ntext
13351 (Init): constify nicename
13353 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13355 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13356 (savePosition): use two params to Minibuffer::Set
13357 (restorePosition): ditto
13359 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13361 * lyx_main.C: include language.h
13363 * Makefile.am (lyx_main.o): add language.h
13365 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13371 * CutAndPaste.C: include gettext.h
13373 * lyxfont.h: remove old hack with ON and OFF.
13376 * lyxfont.h: do not include language.h...
13381 * bufferview_funcs.C:
13387 * paragraph.C: ... but do it here instead
13389 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13391 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13393 * tabular.C: small reformat
13395 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13398 (BreakParagraph): ditto
13399 (SetOnlyLayout): ditto
13402 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13405 * lastfiles.C: removed most using decl, add std:: where needed
13407 * buffer.C: ws changes
13409 * MenuBackend.C (class compare_format): put into anon namespace
13410 (expand): constify label, names, action, action2
13413 * text.C (SingleWidth): constify font
13414 (IsBoundary): constify rtl2
13415 (GetVisibleRow): constify ww
13417 * LaTeX.C (deplog): constify logfile
13419 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13421 (workAreaExpose): constify widthChange, heightChange
13423 * lyxrow.C (par): moved
13426 * lyxrow.h: as inlines here
13428 * lyxfont.h (shape): moved from lyxfont.C
13429 (emph): moved from lyxfont.C
13431 * lyxfont.C (LyXFont): use initialization list for all
13433 (shape): move to lyxfont.h as inline
13434 (emph): move to lyxfont.h as inline
13437 2001-04-04 Juergen Vigna <jug@sad.it>
13439 * vspace.C: had to include stdio.h for use of sscanf
13441 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13444 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13445 independent of xforms.
13447 2001-04-02 Juergen Vigna <jug@sad.it>
13449 * spellchecker.C: fixed namespace placing!
13451 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13453 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13454 the LyXParagraph * is 0.
13456 2001-03-29 Juergen Vigna <jug@sad.it>
13458 * vspace.C: added support for %, c%, p%, l%.
13459 (stringFromUnit): added helper function.
13460 (asLatexString): changed to give right results for the %-values.
13462 * buffer.C: convert the widthp in a width%.
13464 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13466 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13469 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13470 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13472 * lyx_cb.[Ch]: see above.
13474 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13478 * lyx.[Ch]: replaced by figure_form.[Ch].
13482 * lyxfunc.C: changed headers associated with above changes.
13484 2001-03-27 Juergen Vigna <jug@sad.it>
13486 * BufferView_pimpl.C: set the temporary cursor right!
13488 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13490 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13492 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13494 * LString.h: removed "using std::getline"!
13496 * BufferView_pimpl.C (Dispatch): changes due to changes in
13497 InsetInclude::Params.
13499 * buffer.C (tag_name): removed redundant break statements as they were
13500 producing lots of warnings with my compiler.
13502 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13504 * LString.h: add "using std::getline" when using the real <string>.
13506 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13508 * buffer.C: removed bitset usage.
13509 PAR_TAG moved to an anonymous name space.
13510 (tag_name): new funtion, also in the anonymous namespace.
13511 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13512 (makeDocBookFile): clean code. Completed transition from string arrays
13514 (SimpleDocBookOnePar): code clean.
13516 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13518 * tabular.C: add some comments.
13520 2001-03-22 Juergen Vigna <jug@sad.it>
13522 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13523 compatibility read a bit and fixed bug with minipage in different
13526 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13528 * buffer.C (pop_tag): removed.
13529 (push_tag): removed.
13530 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13531 array replaced with vector. Added support for CDATA sections.
13532 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13534 (makeDocBookFile): XML conformant declaration of CDATA section,
13535 fixed bug related to <emphasis> in the first paragraph char.
13536 (sgmlOpenTag): exclude empty tags.
13537 (sgmlCloseTag): ditto.
13539 * buffer.h (pop_tag): removed.
13540 (push_tag): removed.
13542 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13544 * language.h (Languages): added size_type and size().
13546 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13548 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13549 response on compability reading of minipages. One probliem is that
13550 the old usage of minipages was «flertydig»
13552 * several files here and in subdirs: don't use static at file
13553 scope use anon namespaces instead.
13555 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13557 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13558 LaTeX output. This is necessary for Literate document
13561 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13563 * buffer.C: insert hfill when needed.
13565 * tabular.C (l_getline): use string::erase, small whitespace change.
13567 * BufferView_pimpl.C: try the anon namespace.
13568 * WorkArea.C: ditto
13570 2001-03-16 Juergen Vigna <jug@sad.it>
13572 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13573 otherwise it won't open options-dialogs.
13575 * buffer.C: honor pextraWidth(p) on converting minipages.
13577 * tabular.C (l_getline): changed the functions to strip trailing \r.
13579 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13581 * BufferView_pimpl.C:
13582 * minibuffer..C: added "using SigC::slot" declaration.
13584 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13586 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13592 * paragraph.C: ditto
13594 * lyxtext.h: NO_PEXTRA
13596 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13598 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13599 * ParameterStruct.h: ditto
13600 * ParagraphParameters.h: ditto
13601 * lyxparagraph.h: ditto
13603 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13605 * buffer.C: add compability for minipage alignment.
13606 (latexParagraphs): remove unwanted pextra check.
13608 * several files: remove CXX_WORKING_NAMESPACES
13610 * buffer.C (pop_tag): tie is in namespace boost
13612 * BufferView.h: noncopyable is in namespace boost
13614 * lyx_main.h: ditto
13617 * lastfiles.h: ditto
13618 * bufferlist.h: ditto
13619 * ShareContainer.h: ditto
13621 * LyXAction.h: ditto
13624 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13626 * Merging changes from BRANCH_MVC back into HEAD.
13628 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13630 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13632 * BufferView_pimpl.C: change from intl.C
13636 * Makefile.am: move combox.*
13642 * intl.C: remove dialog (covered by prefs)
13644 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13646 * lyxfunc.C (Dispatch): removed redundant break statement.
13648 2001-03-14 Juergen Vigna <jug@sad.it>
13650 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13652 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13654 * buffer.C: add hack to fix compability reading of minipages.
13656 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13658 * buffer.C (getLists): Cleanup.
13660 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13662 * lyxfont.C (update): don't honor toggleall on font size.
13664 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13668 * Makefile.am: moved to frontends/xforms/
13672 * BufferView_pimpl.C: changes for moved mathpanel
13674 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13676 * gettext.h: fix gettext_init() in --disable-nls
13678 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13680 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13682 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13685 * lyx.h: strip external form
13687 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13689 * BufferView_pimpl.C: add comment, destroySplash()
13691 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13693 * BufferView_pimpl.C:
13697 * lyxfunc.C: use re-worked insetinclude
13699 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13701 * buffer.C: add using std::stringstream.
13703 * lyx_cb.C: readd using std::ios.
13705 * buffer.C: add using std::map.
13707 * BufferView_pimpl.C: add using std::vector.
13709 * ShareContainer.h: add std:: to swap.
13711 * buffer.h: add some typedefs
13712 * buffer.C (getLists): use them
13713 (getLists): renamed from getTocList.
13714 add a counter for the different float types and use it in the
13716 (getLists): use the same counter for the NEW_INSETS and the "non"
13719 * lyx_cb.h: remove unused items, includes, using etc.
13721 * ShareContainer.h: remove some commented code, add more comments
13722 and "documentation".
13724 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13726 * buffer.C (getTocList): make the list also when NEW_INSETS is
13729 * buffer.h: remove TocType
13731 * buffer.C (getTocList): change to return a map<string,
13732 vector<TocItem> >, implement for dynamic number of list.
13734 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13735 * text2.C (PasteSelection): adjust
13736 * CutAndPaste.C (pasteSelection): adjust
13738 * FloatList.C (FloatList): update from the new_insets branch.
13739 * Floating.[Ch]: ditto
13740 * LaTeXFeatures.C: ditto
13742 * lyxlex_pimpl.C: ditto
13744 * paragraph.C (Last): remove when NEW_INSETS is defined.
13746 * other file: changes because of the above.
13748 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13750 * lyxparagraph.h: rename next to next_, previous to previous_,
13751 make them private for NEW_INSETS. Rename Next() to next(),
13752 Previous() to previous().
13754 * other files: changes because of the above.
13756 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13759 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13762 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13764 * main.C (main): pass lyx_localedir to gettext_init().
13766 * gettext.h: remove locale_init and gettext_init macros
13768 * gettext.C (locale_init): new function
13769 (gettext_init): new function
13771 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13774 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13776 * Moved credits to frontends:
13777 * credits.[Ch]: removed
13778 * credits_form.[Ch]: removed
13779 * lyx_gui_misc.C: remove credits stuff
13782 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13784 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13786 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13787 unneeded destructor.
13789 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13790 a standalone pointer again.
13792 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13794 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13800 * ToolbarDefaults.C:
13809 * BufferView_pimpl.C: use new file dialog in GUII
13812 * lyx_cb.C: remove LayoutsCB to Toolbar
13814 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13816 * ShareContainer.h (get): add std:: qualifier
13818 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13820 * ShareContainer.h: define a proper ShareContainer::value_type
13821 type (and use typename to please compaq cxx)
13823 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13825 * lyxparagraph.h: move serveral local vars to
13826 ParameterStruct/ParagraphParameters., use ShareContainer in
13827 FontTable., make vars in FontTable private and add getter and
13830 * paragraph.C: changes because of the above.
13832 * lyxfont.h: remove copy constructor and copy assignment. (the
13833 default ones is ok), move number inside FontBits. move inlines to
13836 * lyxfont.C: add number to initializaton of statics, move several
13837 inlines here. constify several local vars. some whitespace
13838 cleanup. Dont hide outerscope variables.
13840 * Spacing.h: add two new constructors to match the set methods.
13842 * ShareContainer.h: new file, will perhaps be moved to support
13844 * ParameterStruct.h: new file
13846 * ParagraphParameters.h: new file
13848 * ParagraphParameters.C: new file
13850 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13851 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13853 * BufferView_pimpl.C: ParagraphParameter changes.
13854 * buffer.C: Likewise.
13855 * bufferview_funcs.C: Likewise.
13856 * text.C: Likewise.
13857 * text2.C: Likewise.
13859 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13861 * lyxfind.C (LyXReplace): do not redefine default argument in
13863 (IsStringInText): ditto
13864 (SearchForward): ditto
13865 (SearchBackward): ditto
13867 2001-03-06 Juergen Vigna <jug@sad.it>
13869 * lyxfind.C (IsStringInText): put parentes around expressions.
13871 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13873 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13875 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13877 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13879 * stl_string_fwd.h: add comment
13881 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13884 * tabular.C: remove unused DocBook methods
13890 killed DO_USE_DEFAULT_LANGUAGE
13892 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13894 * lyx_gui.C: do not include language.h.
13896 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13897 arguments in function implementation.
13899 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13901 * BufferView_pimpl.C: add <ctime>
13903 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13905 * BufferView_pimpl.C: add using std::find_if
13907 2001-02-27 José Matos <jamatos@fep.up.pt>
13909 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13912 2001-02-11 José Matos <jamatos@fep.up.pt>
13914 * buffer.C (makeDocBookFile): command styles now have a parameter as
13915 "title" by default.
13917 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13919 * layout_forms.[Ch]: removed
13920 * lyx_cb.[Ch]: out character
13921 * lyx_gui.C: out character
13922 * lyx_gui_misc.C: out character
13923 * bufferview_funcs.C: : out character,
13924 added toggleall as parameter in ToggleAndShow
13926 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13928 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13930 * text2.C (SetCurrentFont): Disable number property at boundary.
13932 2001-02-26 Juergen Vigna <jug@sad.it>
13934 * lyxfunc.C (getStatus): added a string argument override function so
13935 that this is correctly called from LyXFunc::Dispatch if it contains a
13936 do_not_use_argument which is used!
13937 (Dispatch): added check for "custom" export and call appropriate func.
13939 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13941 * lyxrc.C: Add language_command_local, language_use_babel and
13942 language_global_options.
13944 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13946 * buffer.C (makeLaTeXFile): Use language_use_babel and
13947 language_global_options.
13949 2001-02-23 Juergen Vigna <jug@sad.it>
13951 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13952 which works with LyXText and putted it inside BufferView. Here now we
13953 only call for that part the BufferView::Dispatch() function.
13955 * BufferView.C (Dispatch): added.
13957 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13958 functions which needs to use a LyXText over from LyXFunc.
13959 (MenuInsertLyXFile): added
13960 (getInsetByCode): added
13961 (moveCursorUpdate): added
13962 (static TEXT): added
13964 2001-02-22 Juergen Vigna <jug@sad.it>
13966 * BufferView_pimpl.C (update): call a status update to see if LyXText
13969 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13971 * vc-backend.C (revert): implement for CVS
13972 (getLog): implement for CVS
13974 2001-02-20 Juergen Vigna <jug@sad.it>
13976 * text2.C (ClearSelection): added BufferView param for inset_owner call
13978 * lyxfunc.C (TEXT): added this function and use it instead of
13979 directly owner->view()-text of getLyXText().
13981 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13983 * src/layout_forms.C: out preamble
13984 * src/layout_forms.h: out preamble
13985 * src/lyx_cb.C: out preamble
13986 * src/lyx_cb.h: out preamble
13987 * src/lyx_gui.C: out preamble
13988 * src/lyx_gui_misc.C: out preamble
13989 * src/lyxfunc.C: connect with guii preamble
13991 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13993 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13995 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13997 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13998 whether to run bibtex.
14000 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14002 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14004 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14006 * Makefile.am (lyx_SOURCES): removed bibforms.h
14008 * vspace.h: doxygen
14010 * text.C (GetVisibleRow): make several local vars const
14012 * tabular.C: small cleanup.
14014 * lyxserver.C (callback): use compare instead of strncmp
14016 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14017 inlines to after class or to paragraph.C
14019 * lyxfont.h: remove friend operator!=
14021 * converter.h: move friend bool operator< to non friend and after
14024 * combox.h: small cleanup
14026 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14027 to inlines after class def.
14029 * buffer.C (pop_tag): use string operations instead of strcmp
14031 * bmtable.c: doxygen, small cleanup
14033 * LaTeX.h: remove friend operator==
14035 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14047 * BufferView_pimpl.C:
14048 * BufferView.[Ch]: remove cruft
14050 2001-02-14 Juergen Vigna <jug@sad.it>
14052 * lyxfunc.C: removed #if 0 unused code
14054 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14056 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14058 * text2.C (SetSelection): added a BufferView * parameter
14060 2001-02-13 Juergen Vigna <jug@sad.it>
14062 * lyxfunc.C (Dispatch): fixed protected blank problem.
14063 * BufferView2.C (protectedBlank): added LyxText * parameter.
14065 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14066 (AppendColumn): same as above for column_info.
14068 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14069 (moveCursorUpdate): use a LyXText param for support of InsetText.
14071 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14072 (tripleClick): ditto
14074 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14076 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14078 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14080 * text2.C (SetSelection): set correct update status if inset_owner
14081 (ToggleFree): ditto
14083 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14085 * tabular.C: remove some commented code.
14087 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14089 * BufferView_pimpl.C: call hideSplash()
14091 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14094 * bibforms.h: remove
14097 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14098 add LFUN_CHILD_CREATE
14100 * counters.h: fix tiny typo
14105 * lyx.C: move splash to frontends/xforms/
14107 * lyx_gui_misc.C: move Include and Bibform to frontends
14109 * lyxvc.h: clarify comment
14111 * vspace.C: tiny housekeeping
14113 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14115 * text.C (PrepareToPrint): RTL Fix.
14117 * paragraph.C (GetUChar): New method.
14118 (String): Use GetUChar.
14120 * buffer.C (asciiParagraph): Use GetUChar.
14122 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14124 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14126 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14129 * buffer.C: rename to getLogName(), handle
14130 build log / latex log nicely
14132 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14135 * MenuBackend.h: remove support for reference menuitem type.
14137 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14139 * BufferView_pimpl.C: housekeeping
14140 * BufferView_pimpl.h:
14145 * minibuffer.h: move Timeout GUI-I
14147 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14149 * lyxrc.C (read): Update converters data-structures.
14151 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14153 * LaTeX.h (operator!=): add operator != for Aux_Info
14155 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14157 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14159 * LaTeXLog.C: deleted, useful code moved to Buffer
14162 * buffer.C: new function getLatexLogName()
14168 * lyxfunc.C: use frontends for LaTeX and VC logs
14170 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14172 * LaTeX.h: yet another std:: that Allan forgot.
14174 * Variables.C (set): renamed from isset(), because this clashes
14175 with some HP-UX macros (grr).
14177 2001-02-06 Allan Rae <rae@lyx.org>
14179 * LaTeX.h: Another bug fix. Missing std:: this time.
14181 2001-02-04 Allan Rae <rae@lyx.org>
14183 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14184 floats problem. I've left it commented out because it's not quite
14185 correct. It should also test that the current object is a table or
14186 figure inset. But I haven't gotten around to figuring out how to do
14187 that. I *think* it'll be something like: "table" == inset.type()
14189 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14192 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14194 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14195 all the citation/databases/styles in the auxilary file.
14196 (run): Rerun latex if there was a babel language error.
14198 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14200 * text.C (Backspace): Preserve the font when changing newline char
14202 (BreakParagraph): If the cursor is before a space, delete the space.
14204 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14206 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14208 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14209 new argument (code).
14210 (ChangeCitationsIfUnique): New method.
14212 * paragraph.C (GetPositionOfInset): Handle bibkey.
14214 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14216 * BufferView_pimpl.h: change type of Position::par_pos to
14217 LyXParagraph::size_type.
14219 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14221 * BufferView_pimpl.C (savePosition, restorePosition): Write
14222 messages to minibuffer.
14224 2001-01-28 José Matos <jamatos@fep.up.pt>
14226 * buffer.C (makeDocBookFile): adds support for document language.
14227 A silly restriction on the name of LatexCommand types where removed.
14228 Added support for CDATA sections, allows to chars unescaped, used
14229 among others in code, to avoid escape < and >.
14231 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14233 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14234 saved positions instrad of a stack. Furthermore, a position is
14235 stored using paragraph id/paragraph position.
14237 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14238 Remove LFUN_REF_BACK.
14240 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14242 * converter.C (dvipdfm_options): New method.
14244 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14246 * vspace.C (isValidLength): Fix for empty input string.
14248 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14250 * LyXAction.C (init): change description of LFUN_FIGURE to
14253 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14255 * LaTeX.C: add using directive
14257 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14259 * MenuBackend.C (expand): Fix the sorting of the formats.
14261 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14263 * lyx_main.C: tiny error message fix
14265 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14267 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14268 calling fl_initialize(). This fixes the problem with ',' as
14269 decimal separator in text files.
14271 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14273 * trans.C (process): Fix the keymap bug.
14275 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14277 * LaTeX.C (scanAuxFiles): New method. Provides support for
14278 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14279 (scanLogFile) Scan for "run BibTeX" messages.
14281 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14282 OT1 font encoding. Also, load the aecompl package if the ae
14285 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14287 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14289 * texrow.C (increasePos): turn two error messages into debug
14292 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14294 * LaTeX.C (scanAux): Handle the \@input macro.
14295 (runBibTeX): Use scanAux().
14297 * language.C (latex_options_): New field.
14299 * LaTeXFeatures.C (getMacros): Add language macros.
14301 * buffer.C (makeLaTeXFile): Small fix.
14303 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14305 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14307 * text2.C: add a using directive.
14309 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14314 * lyxfunc.C: kill LyXBell.
14316 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14318 * text.C (IsBoundary): Remove the error message
14320 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14322 * lyxrc.C (setDefaults): Correct initialization value for
14325 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14327 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14330 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14331 and GotoNextNote().
14333 * src/LyXAction.C: Added reference-next.
14335 * text.C (InsertChar): Use contains instead of strchr.
14337 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14339 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14341 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14342 alignment commands (when needed).
14344 * text.C (InsertChar): Add ':' to number separator chars.