3 2004-01-26 André Pönitz <poenitz@gmx.net>
6 * BufferView_pimpl.[Ch]:
23 * paragraph_funcs.[Ch]:
24 * paragraph_pimpl.[Ch]:
30 * text3.C: more IU: dumps most of the rest of the mathcursor
31 implementation into cursor.[Ch]; "globalize" a bit of it.
33 2004-01-25 Angus Leeming <leeming@lyx.org>
35 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
37 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
39 * LaTeXFeatures.h: add nice_ and nice() const
40 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
42 2004-01-20 André Pönitz <poenitz@gmx.net>
60 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
61 LCursor and mathcursor parts to LCursor and InsetBase.
63 2004-01-15 André Pönitz <poenitz@gmx.net>
65 * cursor_slice.[Ch]: add a few covienience functions
67 * funcrequest.[Ch]: remove BufferView * member
76 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
78 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
80 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
81 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
83 2004-01-13 André Pönitz <poenitz@gmx.net>
86 * lyxtext.h: hide cursor and selection anchor behind accessor function
89 * BufferView_pimpl.[Ch]:
101 * cursor_slice.[Ch]: some integer type changes for inset unification
103 * lyxcursor.[hC]: remove, it's CursorSlice now.
106 * BufferView_pimpl.[Ch]:
107 * bufferview_funcs.C:
113 * textcursor.[Ch]: adjust
115 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
117 * text2.C (undoSpan): add and use
118 * text.C (breakParagraph): use undoSpan (fix bug 578)
121 2004-01-08 Angus Leeming <leeming@lyx.org>
123 * BufferView_pimpl.C (MenuInsertLyXFile):
124 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
125 * lyxfunc.C (menuNew, open, doImport):
126 FileFilterList change to the FileDialog open and save functions.
128 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
130 * ShareContainer.h: make isEqual and isUnique adaptable
132 * CutAndPaste.C: make resetOwnerAndChanges adaptable
134 2004-01-07 Angus Leeming <leeming@lyx.org>
137 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
139 * BufferView_pimpl.C (dispatch): act on these LFUNs.
141 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
142 functions replacing find, replace and replaceAll.
144 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
145 LFUN_WORDFIND(FORWARD|BACKWARD).
147 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
149 * text.C (breakParagraph): remove an outdated #warning
151 2004-01-07 André Pönitz <poenitz@gmx.net>
153 * lyxfind.C: somewhat clearer logic
155 * text.C: prevent crash in cursorX on unitialized row cache
157 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
159 * lyxcursor.[Ch] (operator>): add
160 * textcursor.C (selStart, selEnd): use std::min and std::max
162 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
164 * Chktex.C: include boost/format.hpp
166 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
168 * InsetList.C: replace functor MathcIt with adaptable functor
170 (insetIterator): modify accordingly
172 * BranchList.h: move the BranchNamesEqual functor here from...
173 * BranchList.C: ... to here
175 * BranchList.C: new BranchListEqual fuctor, use it. Remove
177 (add): replace a finding loop with std::find_if.
179 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
181 * output_docbook.C: moving LatexParam functionality into
184 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
186 * buffer.C: increment format to 229.
188 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
191 * lyx_sty.[Ch]: remove minipageindent_def
197 * text3.C: remove LFUN_INSET_MINIPAGE
199 2003-12-28 Angus Leeming <leeming@lyx.org>
201 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
203 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
205 * text2.C (setParagraph): fix off-by-one crash
207 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
209 * output_docbook.C: header stuff for AGU
211 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
213 * text2.C (redoCursor): remove
216 * BufferView_pimpl.C: remove calls to redoCursor and
217 setCursor(cursor.par(), cursor.pos()) all around
219 2003-12-15 Angus Leeming <leeming@lyx.org>
221 * buffer.C: up the format to 228.
223 2003-12-15 André Pönitz <poenitz@gmx.net>
225 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
230 * BufferView_pimpl.C:
239 2003-12-15 Angus Leeming <leeming@lyx.org>
241 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
242 than getFromGUIName to manipulate the color.
244 2003-12-14 Angus Leeming <leeming@lyx.org>
246 * BranchList.[Ch]: minimize the API.
247 (Branch::getBranch, getColor): now return a 'const &'.
248 (Branch::setSelected) now returns a bool set to true if the
249 selection status changes.
250 (BranchList::clear, size, getColor, setColor, setSelected,
251 allBranches, allSelected, separator): removed.
252 (BranchList::find): new functions, returning the Branch with
254 (BranchList::add, remove): return a bool indicating that
255 the operation was successful.
257 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
258 new InsetBranch::isBranchSlected member function.
260 * LColor.[Ch]: mimimize the API.
261 (fill): renamed as addColor and made private.
262 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
263 versions of these functions taking a string arg have been removed.
265 * bufferparams.C (readToken):
266 * lyxfunc.C (dispatch):
267 * lyxrc.C (read): changes due to the altered BranchList and
270 * factory.C (createInset, readInset): changes due to altered
273 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
276 * lyxfunc.C: remove insetminipage. "minipage-insert"
277 now produces a frameless minipage box inset.
279 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
281 * textcursor.[Ch] (selStart,selEnd): add new methods
282 remove selection::start, end, use LyXCursor::operator<
283 * lyxcursor.[Ch] (operator<): add
284 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
285 * BufferView.[Ch] (unsetXSel): add
286 * text2.C (clearSelection): use unsetXSel,adjust
289 * rowpainter.C: adjust
290 * bufferview_funcs.C (put_selection_at): adjust
292 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
294 * BufferView_pimpl.C: small coord. correction
296 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
298 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
299 dragging over the splash screen.
301 2003-12-11 Angus Leeming <leeming@lyx.org>
303 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
304 as it is now handled in LyXText::dispatch.
306 * text3.C (doInsertInset): remove a level of nesting.
308 2003-12-11 Angus Leeming <leeming@lyx.org>
310 * factory.C (createInset): changes due to the changed interface to
311 InsetCommandMailer::string2params.
313 2003-12-10 Angus Leeming <leeming@lyx.org>
315 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
316 'dialog-show-new-inset <inset name>'
318 2003-12-10 Angus Leeming <leeming@lyx.org>
320 * buffer.C: up the format to 227.
322 * factory.C: the box inset is now identified simply by 'Box'.
324 2003-12-10 Angus Leeming <leeming@lyx.org>
326 * buffer.C: up the format to 226.
328 * factory.C: the note inset is now identified simply by 'Note'.
330 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
332 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
333 when a pit is enough. Standarize a couple of loops.
335 2003-12-05 Angus Leeming <leeming@lyx.org>
337 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
338 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
339 data to the re-worked "log" dialog.
341 2003-12-03 André Pönitz <poenitz@gmx.net>
349 * text2.C: use Inset::getText instead of Inset::getParagraph
351 2003-12-03 André Pönitz <poenitz@gmx.net>
355 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
356 InsetText::read() as LyXText::read()
358 2003-12-02 Angus Leeming <leeming@lyx.org>
360 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
361 type. Add a comment in the implementation that the function uses
362 the stream's bad() function rather than fail() as the std::streams
365 2003-12-02 André Pönitz <poenitz@gmx.net>
367 * lyxlex.[Ch]: make interface more similar to std::stream
369 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
371 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
373 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
375 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
377 * vspace.[Ch]: remove VSpace::NONE
379 2003-12-01 André Pönitz <poenitz@gmx.net>
382 * lyxtext.h: move ParagraphList member to LyXText
383 rename LyXText::ownerParagraphs to LyXText::paragraph
386 * bufferview_funcs.C:
396 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
398 * undo.C: fix cursor positioning
400 2003-12-01 John Levon <levon@movementarian.org>
402 * BufferView_pimpl.C: fix a crash on exit with
405 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
407 * BranchList.C: fix setSelected() method.
409 2003-11-28 André Pönitz <poenitz@gmx.net>
411 * ParagraphParameters.[Ch]:
412 * ParameterStruct.h: remove space above/below from Paragraph to
415 * BufferView_pimpl.C:
427 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
429 * factory.C: Syntax change for CharStyles
431 2003-11-28 André Pönitz <poenitz@gmx.net>
436 * buffer.[Ch]: move LyXText member
438 2003-11-28 André Pönitz <poenitz@gmx.net>
440 * BufferView.[Ch]: make LyXText * text a private member
442 * BufferView_pimpl.C:
453 * output_plaintext.C: cleanup
455 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
458 * lyxtextclass.[Ch]: parametrize SGML document header
460 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
463 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
466 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
468 * text2.C (setFont): rework using PosIterator (no more recursive)
469 (setCharFont): no more needed
470 (setLayout): no more selection cursors fiddling (done by redoCursor)
471 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
472 destroy remaining ones)
474 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
476 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
478 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
481 * text3.C: adjust + re-allow multi par depth changes
482 * textcursor.C: simplify a bit
484 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
490 * src/output_docbook.C:
491 * src/output_latex.C:
496 * src/text2.C: Introducing a number of tags parametrizing various
497 XML formats that we may want to support
499 2003-11-25 André Pönitz <poenitz@gmx.net>
501 * InsetList.[Ch] (begein, end): inline as suggested by profiler
503 * lyxtext.h (leftMargin/rightMargin): simplify interface
510 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
512 * lyxfunc.C (dispatch): propogate the bibtex databases from the
513 master file to any child files. Fixes bug 546.
515 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
517 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
519 2003-11-24 André Pönitz <poenitz@gmx.net>
521 * rowpainter.C: simplification
523 * text2.C (updateCounters): remove call to redoParagraph on
524 changed labels as this is far too expensive.
526 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
528 * converter.C (convert): fix a crash: this function gets
529 called with buffer == 0 from importer code.
531 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
533 * text3.C (cursorPrevious): make sure that we do not compare
534 iterators form different containers.
537 * rowpainter.C (paintSelection): make sure that we do not compare
538 iterators from different containers.
540 * text3.C (dispatch): [PRIOR] make sure that we do not compare
541 iterators from different ParagraphList containers.
544 * text2.C (LyXText): change order of initialization slightly
545 (operator=): new function. copy all variables except cache_par_
546 (moveUp): make sure that we do not compare iterators from
547 different ParagraphList constainers.
550 * text.C (firstPar): new function
551 (lastPar): new function
552 (endPar): new function
554 * lyxtext.h: move things around and group public functions, public
555 variables, private functions, private variables
557 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
559 * factory.C: change call to InsetERT constructor to avoid
560 additional invocation of method status
561 * text2.C (toggleInset): remove redundant update() call
562 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
563 instead of a Bufferview pointer
565 2003-11-21 André Pönitz <poenitz@gmx.net>
567 * rowpainter.C: simplification
569 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
571 * text3.C (dispatch): make possible to extend a word/row selection
574 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
576 * lyxtext.h: x0_,y0_ -> xo_,yo_
577 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
578 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
579 * rowpainter.C (paintRows): paint full paragraphs
581 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
583 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
586 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
588 * lyxtext.h: add x0_, y0_
589 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
590 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
592 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
594 * text2.C (setCursorIntern): move the x_target update here *
595 * text3.C: change some bv() to true/false in calls to
596 cursorUp/Down/Right/Left
597 * cursor.C: use helper function.
599 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
601 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
602 * paragraph_funcs.[Ch]: correct comment
603 * rowpainter.C: do not paint selections away from bv->cursor()
604 Fix a long standing selection painting bug.
605 * text3.C: generalize mouse-selection code to LyXTexts other that
607 * textcursor.C: do not use y coords if we can use par offsets
609 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
611 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
612 cursor position after e.g. inset insert)
614 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
616 * lyxfind.C (replace): adjust to locking removal + some
619 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
621 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
624 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
627 * output_docbook.C: XML sanitation: new layout
628 parameters InnerTag and CommandDepth
630 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
632 * BufferView_pimpl.C:
634 * text3.C: Fix the insertion and modification of button-style
637 2003-11-13 André Pönitz <poenitz@gmx.net>
639 * InsetList.[Ch]: remove deleteLyXText
641 * paragraph.[Ch]: cache beginOfBody position
646 * text3.C: remove superfluous update() calls
650 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
652 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
653 * BufferView.C (fitLockedInsetCursor): remove
654 * cursor.[Ch] (getDim): add
655 * text.C (getRowNearY): add faster version
656 * text3.C: remove some update calls
658 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
670 * text3.C: The Character Style /XML short element patch.
672 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
675 * factory.C: Small step to solving 'unable to insert some insets'
678 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
680 * cursor.[Ch] (updatePos): new function for updating the y
681 position of the tip inset
682 * bufferview_funcs.C (put_selection_at):
683 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
685 2003-11-11 André Pönitz <poenitz@gmx.net>
687 * text.C: remove big comment on invalid Paragraph pointers as it is
690 2003-11-11 André Pönitz <poenitz@gmx.net>
692 * text_funcs.[Ch]: merge with ...
700 * Makefile.am: remove text_funcs.[Ch]
702 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
704 * cursor.C (getPos): return absolute cached y coord
706 * BufferView_pimpl.C (fitCursor): new simplistic code
707 (workAreaDispatch): add a fitCursor call
709 2003-11-10 André Pönitz <poenitz@gmx.net>
712 * BufferView_pimpl.[Ch]: merge update() and updateInset()
714 2003-11-10 André Pönitz <poenitz@gmx.net>
716 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
717 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
718 indicate that the cursor needs to leave an inset
720 * lyxtext.h: remove inset locking
722 * cursor.[Ch]: re-implement functionality provided by inset locking
725 * BufferView_pimpl.[Ch]:
727 * bufferview_funcs.[Ch]:
739 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
741 * PosIterator.[Ch]: replace the stack with a vector, add inset
743 * iterators.[C]: adjust
745 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
747 * lyxfind.C (replaceAll): mark the buffer dirty if something was
749 * paragraph_funcs.C (readParToken): put the correct id in the
750 error item, not the id of the top paragraph
752 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
754 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
755 * bufferview_funcs.C (put_selection_at): use the above
757 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
759 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
761 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
764 * output_plaintext.h:
766 * output_docbook.h: add #include statements
768 2003-11-05 José Matos <jamatos@lyx.org>
770 * output_docbook.[Ch]:
772 * output_linuxdoc.[Ch]:
773 * output_plaintext.[Ch]: New files for output formats.
774 * output.[Ch]: New file for helper functions.
777 * paragraph_funcs.[Ch]: output functions moved to new files.
779 * outputparams.h: rename of latexrunparams.h
787 * paragraph_funcs.[Ch]:
788 * paragraph_pimpl.[Ch]:
789 * tabular.[Ch]: rename ascii to plaintext
790 and LatexRunParams to OutputParams.
792 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
794 * iterators.[Ch] (text): require bv argument
795 * undo.C (recordUndo):
796 * lyxfunc.C (dispatch):
797 * bufferview_funcs.C (put_selection_at): adjust
799 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
801 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
803 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
805 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
808 2003-11-04 André Pönitz <poenitz@gmx.net>
810 * cursor.[Ch]: restructure
813 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
815 * iterators.[Ch] (asCursor): remove
817 * lfuns.h: remove LFUN_INSET_EDIT
823 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
825 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
827 * lyxfind.[Ch]: complete overhaul
828 * BufferView_pimpl.C:
830 * paragraph.[Ch] (insert): add
832 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
836 * text.C: remove dead spellcheck code
838 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
840 * dispatchresult.h: add a val setter
842 * cursor.C (dispatch): use a tempvar for data_[i]
844 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
846 * PosIterator.[Ch]: compile fix
848 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
850 * text.C (cursorPar): deactivate the cursor cache
852 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
854 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
856 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
858 * text3.C (dispatch): adjust for new DisptchResult semantics.
860 * lyxfunc.C (dispatch): handle update when return from
861 Cursor::dispatch, adjust for new DispatchResult semantics.
863 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
864 DispatchResult(true) mean to not update. Add class functions for
865 setting dispatched and update, as well as reading.
867 * cursor.C (dispatch): don't handle update here
869 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
871 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
872 * trans_mgr.C: adjust
874 * paragraph_funcs.C (readParToken): exception safety
876 * lyxvc.h: store the vcs pointer in a scoped_ptr
879 * lyxsocket.C (serverCallback): exception safety
881 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
883 * ispell.C (clone): make it return a auto_ptr
885 * factory.C (createInset): exception safety
886 (readInset): exception safety
888 * bufferlist.C (newBuffer): exception safety
890 * Thesaurus.C (Thesaurus): use initialization for aik_
892 * MenuBackend.C (expandToc): exception safety.
894 2003-11-03 André Pönitz <poenitz@gmx.net>
898 * bufferview_funcs.C: remove getInsetFromId()
901 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
907 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
909 * PosIterator.C (distance, advance): new
910 * bufferview_funcs.[Ch] (put_selection_at): new
911 * iterators.[Ch] (lockPath): new
913 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
915 * iterators.[Ch] (asPosIterator): added
916 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
917 * PosIterator.[Ch]: added
919 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
923 * cursor.C (dispatch):
924 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
926 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
927 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
928 contructor, add a class function dispatched. Remove operator>=
930 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
932 * debug.C: only use the default constructor for debugstream
935 * main.C (main): include debug.h and setup the lyxerr streambuf
938 2003-10-31 José Matos <jamatos@lyx.org>
940 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
942 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
943 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
944 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
945 * paragraph_pimpl.C (simpleTeXSpecialC):
946 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
947 add LatexRunParams argument.
949 * exporter.C (Export): change call accordingly.
951 * latexrunparams.h: add new member to take care of the other backends.
952 2003-10-30 José Matos <jamatos@lyx.org>
954 * buffer.C (makeLinuxDocFile, makeDocBookFile):
955 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
956 factorise code for paragraph output.
958 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
961 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
963 * text3.C (dispatch):
964 * lyxfunc.C (dispatch):
965 * cursor.C (dispatch):
966 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
968 * dispatchresult.h: make the dispatch_result_t ctor explicit
970 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
973 * buffer.C: small refactoring of docbook stuff
975 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
977 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
980 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
982 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
983 operator dispatch_result_t, and operators for == != and >=
985 * cursor.C (dispatch): adjust for operator dispatch_result_t
986 removal. comment out call to update
988 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
990 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
998 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1001 * dispatchresult.h: new file, DispatchResult broken out of
1004 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1006 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1008 * text.C (rowBreakPoint): put a hack inside #if 0
1010 2003-10-28 André Pönitz <poenitz@gmx.net>
1014 * paragraph_funcs.C:
1017 * text2.C: general cleanup (lots of small stuff)
1019 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1021 * text2.C (cursorEnd): simple fix to the "end key goes to one
1022 before the end on last row" bug
1024 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1026 * text.C (backspace): fix the "zombie characters"
1028 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1030 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1032 2003-10-27 André Pönitz <poenitz@gmx.net>
1034 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1036 * factory.C: handle new InsetPagebreak, InsetLine
1038 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1039 and move handling into new InsetPagebreak, InsetLine
1041 * BufferView_pimpl.C:
1043 * ParagraphParameters.C:
1044 * ParameterStruct.h:
1049 * paragraph_funcs.C:
1050 * paragraph_pimpl.C:
1056 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1059 * lyxrow_funcs.[Ch]:
1065 * text3.C: remove lastPos uses in favour of Row::endpos
1067 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1069 * undo.C (performUndoOrRedo): fix two crashes by setting a
1070 cursor by hand and reordering some calls. Use bv->lockInset instead
1071 of inset->edit because the latter loses cursor information
1073 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1075 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1077 (rowBreakPoint): fix width. change point to point + 1.
1078 Add a missing check.
1080 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1083 * lyxfunc.C: fix (at least partly) the problems
1084 with the Nav menu and headers inside branch insets
1087 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1089 * paragraph.C (getChar): add strong asserts
1091 * lyxrow_funcs.C (lastPos): remove hideous hack
1093 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1094 (fill): adjust to that (avoid an infinite loop)
1096 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1098 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1100 2003-10-23 André Pönitz <poenitz@gmx.net>
1102 * RowList_fwd.h: change list<> to vector<> to gain speed
1103 after suggestion from Alfredo
1105 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1107 * lyxtext.h: move the bidi stuff from here...
1110 * Bidi.[Ch]: ... to here
1112 2003-10-23 André Pönitz <poenitz@gmx.net>
1115 * text.C (isLastRow, isFirstRow): new functions
1117 * paragraph.h: new width cache member
1119 * rowpainter.C: replace RowList::iterator with Row & where possible
1121 * lyxfunc.C: replace several view()->text with a single call
1123 * toc.C: fix 'unused' warning
1125 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1127 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1128 when woring with stream::pos_type
1129 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1131 2003-10-22 André Pönitz <poenitz@gmx.net>
1134 * text.C: use Row & instead of RowList::iterator
1136 * lyxrow.h: rename end() to endpos()
1142 2003-10-22 Angus Leeming <leeming@lyx.org>
1144 * buffer.[Ch] (fully_loaded): new member function, returning true
1145 only when the file has been loaded fully.
1146 Used to prevent the premature generation of previews and by the
1147 citation inset to prevent computation of the natbib-style label.
1149 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1150 templates are all set up.
1152 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1154 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1156 * text.C: fixed an "oops" in the "is a bit silly"
1159 2003-10-21 André Pönitz <poenitz@gmx.net>
1161 * FuncStatus.[Ch]: small stuff, whitespace
1163 * lyxfont.[Ch]: operator<<() for debug reasons
1167 * lyxtext.h: whitespace, spelling
1169 * paragraph.C: naming of variables
1172 * text2.C: small stuff
1175 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1177 * text.C: (1) finish off the inset display() work;
1178 (2) fix the "is a bit silly" bug (accessing char
1181 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1183 * text.C: re-introduce display() for insets, fixing the
1184 various bugs (stretch of line above, math inset
1187 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1189 * text.C (rightMargin): remove spurious semicolon
1191 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1194 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1196 * text3.C: fix one crash due to wrong cursor def
1198 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1200 * vc-backend.C (scanMaster): make the regex static
1202 * LaTeX.C (scanAuxFile): make the regexs static
1204 * text3.C (doInsertInset, dispatch, dispatch):
1205 * text2.C (cursorUp, cursorDown):
1206 * text.C (selectNextWordToSpellcheck):
1207 * BufferView_pimpl.C (dispatch):
1208 * lyxfunc.C (dispatch): localDispatch -> dispatch
1210 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1212 * lyxsocket.C: include <cerrno>
1214 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1216 * lyxfunc.C (dispatch): remove textcache stuff
1218 * bufferlist.C (release): remove textcache stuff
1221 * TextCache.C: delete file
1222 * TextCache.h: delete file
1224 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1226 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1227 delete of the bv_->text.
1228 (resizeCurrentBuffer): remove texcache stuff
1229 (workAreaResize): ditto
1231 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1233 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1236 2003-10-16 André Pönitz <poenitz@gmx.net>
1243 * text3.C: speed up by storing y positions per paragraph plus per-row
1244 offset instead of having a 'full' y position in the row.
1246 2003-10-15 André Pönitz <poenitz@gmx.net>
1250 * undo.[Ch]: make undo aware of inner insets
1252 2003-10-14 Angus Leeming <leeming@lyx.org>
1254 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1255 static member functions LyX::ref() and LyX::cref.
1256 (lastfiles): new accessor functions for the new lastfiles_ member var.
1257 (addLyXView, views_): add a new LyXView to the list of views_.
1258 (updateInset): loop over all LyXViews to call their own updateInset
1259 member function, returning a pointer to the Buffer owning the inset.
1261 * BufferView_pimpl.C (loadLyXFile):
1262 * MenuBackend.C (expandLastfiles):
1263 * bufferlist.C (MenuWrite, QuitLyX):
1264 lastfiles is no longer a global variable.
1265 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1267 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1268 static function. Access through LyX::cref().emergencyCleanup().
1270 2003-10-14 André Pönitz <poenitz@gmx.net>
1272 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1274 * undo.[Ch]: restoring part of 'undo in insets'
1277 * undo_funcs.[Ch]: merge with undo.[Ch]
1279 * tabular.C: small cleansing stuff
1281 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1283 * paragraph_funcs.C (readParToken): report unknown insets as error
1284 boxes. Use the outer paragraph as location (also for unknown
1287 * factory.C (readInset): do not abort on reading an unknown inset.
1288 Eat it and return 0.
1290 2003-10-13 Angus Leeming <leeming@lyx.org>
1292 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1294 * lyxrc.C: displayTranslator is now a function,
1295 declared in GraphicsTypes.h.
1297 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1299 * format.C: new placeholder $$a to pass the socket address.
1301 * bufferlist.[Ch]: new function getBufferFromTmp.
1303 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1304 files in the temporary dir.
1306 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1308 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1310 * Makefile.am: add lyxsocket.[Ch].
1312 * lyx_main.C (error_handler): handle SIGPIPE.
1314 2003-10-13 André Pönitz <poenitz@gmx.net>
1316 * BufferView_pimpl.C:
1321 * undo_funcs.[Ch]: use paroffset_type instead of
1322 ParagraphList::iterators to prevent multiple conversion
1323 (and get a more robust interface)
1325 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1327 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1329 * text3.C (dispatch): ditto
1331 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1333 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1334 move the onlyfile, use onlyfile instead of foundfile in a couple
1337 * DepTable.C (update): flush the error stream a bit more
1339 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1341 * lyxserver.C (callback): adjust
1343 * lyxfunc.C (getStatus): add a missing brace in commented code
1344 (ensureBufferClean): reindent
1345 (dispatch): delete version taking a string
1347 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1349 * LaTeX.C (deplog): move found file handlig from here...
1350 (handleFoundFile): .. to new function here.
1351 (deplog): make sure to discover several files mentioned on the
1354 2003-10-10 André Pönitz <poenitz@gmx.net>
1361 * text3.C: fix some of the tabular crashes
1363 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1365 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1367 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1369 2003-10-09 André Pönitz <poenitz@gmx.net>
1371 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1374 * BufferView_pimpl.C:
1375 * bufferview_funcs.C:
1386 * undo_funcs.C: adjust
1388 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1390 * text2.C (incrementItemDepth): new function, use a backtracking
1391 algorithm to discover the correct item depth.
1392 (resetEnumCounterIfNeeded): new function, use a backtracking
1393 algorithm to discover if counter reset is needed.
1394 (setCounter): use them. Simplify a bit. Add different labels for
1395 different item depths for itemize.
1397 * paragraph.C (Paragraph): remove initialization of enumdepth
1400 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1401 enumerate and itemize. Change the type of itemdepth to signed char.
1403 2003-10-08 André Pönitz <poenitz@gmx.net>
1405 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1410 * tabular.[Ch]: fix crash after 'row-insert'
1412 2003-10-08 Angus Leeming <leeming@lyx.org>
1414 Fix doxygen warnings.
1416 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1417 Remove CutAndPaste:: prefix from header file declaration.
1419 * LColor.h (fill): remove LColor:: prefix from declaration.
1421 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1422 use lyx::depth_type rather than Paragraph::depth_type so that
1423 header file and .C file match.
1425 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1427 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1428 * aspell.C: \file aspell_local.C -> \file aspell.C
1429 * gettext.C: \file gettext.C -> \file src/gettext.C
1430 * gettext.h: \file gettext.h -> \file src/gettext.h
1431 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1432 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1433 * text.C: \file text.C -> \file src/text.C
1435 * toc.C: move comment so that doxygen is not confused.
1437 2003-10-07 Angus Leeming <leeming@lyx.org>
1439 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1441 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1444 * aspell_local.h: add forgotten std::string's.
1446 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1453 * text3.C: The Box patch. Fancybox support, minipage, parbox
1455 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1461 * ParagraphParameters.h:
1471 * lyxtextclasslist.h:
1474 * paragraph_pimpl.C:
1475 * textcursor.h: add <string> and other small fixes to make Lars'
1476 std::string patch compile with STLport.
1478 2003-10-06 Angus Leeming <leeming@lyx.org>
1480 * LColor.h: Add missing #include <string>.
1482 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1484 * All most all file in all subdirs: Make <string> be the prefered
1485 way of getting to std::string, add using declarations.
1487 2003-10-06 André Pönitz <poenitz@gmx.net>
1489 * metricsinfo.C: initialize LyXFont before changing attribute.
1490 (fixes the 'math in \emph is upright' bug)
1492 2003-10-06 André Pönitz <poenitz@gmx.net>
1494 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1496 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1499 * paragraph_pimpl.C: Small fixes to build using STLport
1501 2003-10-02 André Pönitz <poenitz@gmx.net>
1504 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1506 2003-10-01 André Pönitz <poenitz@gmx.net>
1508 * factory.C: assert early
1510 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1512 * lyx_main.C: remove the global debug object
1514 * debug.h: adjust for new debugstream
1516 * debug.C: adjust for new debugstream and keep the global debug
1519 2003-09-22 Angus Leeming <leeming@lyx.org>
1521 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1522 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1523 an incomplete class LyXFont.
1525 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1527 * factory.C: bug fix in branches
1529 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1531 * lyxfunc.C (processKeySym): adjust
1533 (dispatch): change arg name from ev to func, adjust
1534 (sendDispatchMessage): ditto
1536 * lyx_main.C (defaultKeyBindings): adjust keybindings
1537 (deadKeyBindings): ditto
1539 * kbsequence.C (addkey): return a FuncRequest
1541 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1543 * kbmap.C (bind): take a FuncRequest as arg, adjust
1546 (defkey): change to take a FuncRequest as arg, adjust
1547 (findbinding): take a FuncRequest as arg, adjust.
1549 * funcrequest.h (operator=): added
1551 * funcrequest.C (FuncRequest): default kb_action changed from
1552 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1554 * buffer.C (dispatch): simplify
1555 (dispatch): adjust to take a FuncRequest as arg, adjust
1557 * boost.C (assertion_failed): change assertion message slightly
1559 * ToolbarBackend.C (read): simplify
1561 * MenuBackend.C (binding): adjust call to findbinding, add a
1562 message if no binding is found.
1564 (expandToc): correct by adding a empty FuncRequest
1566 * LyXAction.C: include <boost/assert.hpp>
1567 (isPseudoAction): delete function
1568 (LookupFunc): change name to...
1569 (lookupFunc): this. change return type to FuncRequest.
1570 (getActionName): take kb_action as arg, simplify
1571 (funcHasFlag): add an assert, simplify.
1573 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1575 * toc.C (action): return a FuncRequest, simplify
1577 * lyxfunc.C (processKeySym): adjust
1578 (getStatus): delete version that takes an int.
1580 (dispatch): delete version that takes action as int
1582 (sendDispatchMessage): simplify and adjust
1584 * funcrequest.C (getArg): take unsigned int as arg
1586 * ToolbarBackend.C (read): adjust
1587 (add): delete version that takes func as a string.
1588 (getIton): take a FuncRequest as arg
1590 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1593 * MenuBackend.C (MenuItem): add a new construct that only takes a
1594 Kind, simplify the constructor use for submenus.
1596 (expandLastfiles): adjust
1597 (expandDocuments): adjust
1598 (expandFormats): adjust
1599 (expandFloatListInsert): adjust
1600 (expandFloatInsert): adjust
1601 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1603 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1604 Remove class variables lyx_pseudo_map and lyx_arg_map
1606 * LyXAction.C (searchActionArg): delete function
1607 (getPseudoAction): delete function
1608 (retrieveActionArg): delete function
1609 (LookupFunc): make it return kb_action, simplify.
1610 (getActionName): simplify
1612 * factory.C (createInset): fix new bug
1614 2003-09-19 Angus Leeming <leeming@lyx.org>
1616 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1617 masterFilename_ parameter in the include inset.
1619 * factory.C (createInset): changes due to the changes to InsetInclude.
1621 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1623 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1625 2003-09-18 Angus Leeming <leeming@lyx.org>
1628 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1629 Inset::fillWithBibKeys.
1630 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1632 2003-09-18 Angus Leeming <leeming@lyx.org>
1634 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1636 (ctor): pass and store a 'Buffer const &'
1637 (buffer): new member function.
1639 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1640 '*this' to the LaTeXFeatures ctor.
1642 2003-09-18 Angus Leeming <leeming@lyx.org>
1648 * text.C: rename EnumLColor as LColor_color.
1650 2003-09-18 Angus Leeming <leeming@lyx.org>
1652 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1653 remove #include "insets/insetbase.h" from cursor.h.
1655 2003-09-18 Angus Leeming <leeming@lyx.org>
1657 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1658 InsetOld_code to remove #include "inset.h".
1660 * iterators.C: add #include "insets/inset.h"
1662 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1664 * BufferView.C: remove more locking stuff that apparently doesn't
1665 do anything sensible.
1667 2003-09-16 André Pönitz <poenitz@gmx.net>
1670 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1673 2003-09-16 Angus Leeming <leeming@lyx.org>
1675 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1677 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1680 * paragraph.h: remove #include "lyxfont.h". Forward declare
1683 2003-09-16 Angus Leeming <leeming@lyx.org>
1685 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1686 of support/textutils.h.
1687 (isWord): move the contents of support/textutils.h's IsWordChar here.
1693 * text2.C: add #include "paragraph.h".
1696 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1698 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1704 * LaTeX.C: use namespace alias for lyx::support::os
1706 2003-09-16 Angus Leeming <leeming@lyx.org>
1709 * bufferview_funcs.C:
1712 * paragraph_pimpl.C:
1714 * text.C: add #include "LColor.h".
1716 2003-09-16 Angus Leeming <leeming@lyx.org>
1718 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1719 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1721 Store the FontBits::color variable as an int rather than as an
1722 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1725 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1726 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1727 string calls together.
1729 * lyxrc.C: add #include "LColor.h".
1731 2003-09-15 Angus Leeming <leeming@lyx.org>
1733 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1736 2003-09-15 Angus Leeming <leeming@lyx.org>
1738 * LColor.h: add an EnumLColor wrapper for LColor::color.
1740 * lyxfont.[Ch] (color, setColor, realColor):
1741 * lyxtext.h, text.C (backgroundColor):
1742 pass EnumLColor args to/from the functions, rather than LColor::color
1746 * lyxtext.h: forward declare EnumLColor.
1748 * lyx_main.C: add #include "LColor.h".
1750 2003-09-15 Angus Leeming <leeming@lyx.org>
1752 * .cvsignore: add lyx-gtk.
1754 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1759 * ParagraphParameters.C
1763 * bufferview_funcs.C
1773 * vc-backend.C: remove usage of STRCONV
1775 2003-09-15 Angus Leeming <leeming@lyx.org>
1777 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1778 explicitly define the color passed to the painter.
1780 2003-09-15 Angus Leeming <leeming@lyx.org>
1782 * bufferparams.C (BufferParams): reorder member initializers to avoid
1785 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1787 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1788 * text.C (updateRowPositions): remove an unusual nop
1790 2003-09-12 André Pönitz <poenitz@gmx.net>
1792 * BufferView_pimpl.C:
1801 * Counters.[Ch]: finish the 'automatic counters' job
1803 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1805 * aspell.C: include <boost/assert.cpp> (compile fix)
1807 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1809 * boost.C (assertion_failed): use lyx::support::abort instead of
1812 2003-09-10 Angus Leeming <leeming@lyx.org>
1814 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1815 with their _fwd progeny.
1817 2003-09-09 Angus Leeming <leeming@lyx.org>
1819 134 files throughtout the source tree: replace 'using namespace abc;'
1820 directives with the appropriate 'using abc::xyz;' declarations.
1822 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1824 * boost.C (emergencyCleanup): moved here from LAssert.c
1825 (assertion_failed): new function, called by BOOST_ASSERT
1827 * several files: change Assert to BOOST_ASSERT
1829 2003-09-09 Angus Leeming <leeming@lyx.org>
1831 * buffer.[Ch]: Add an Impl class and move Buffer's member
1832 variables into it. As a result move several header files out of
1835 Add header files to lots of .C files all over the tree as a result.
1837 2003-09-09 Angus Leeming <leeming@lyx.org>
1839 * buffer.[Ch]: make Buffer's member variables private. Add
1842 Lots of changes all over the tree as a result.
1844 2003-09-08 Angus Leeming <leeming@lyx.org>
1846 * graph.C: #include <config.h>.
1848 2003-09-08 Angus Leeming <leeming@lyx.org>
1852 * BufferView_pimpl.C:
1881 * toc.C: remove redundant using directives.
1883 2003-09-07 Angus Leeming <leeming@lyx.org>
1885 * LaTeXFeatures.h: remove #include "support/types.h".
1886 * ToolbarBackend.h: remove #include <algorithm>.
1887 * changes.h: remove #include <ctime>.
1888 * debug.h: remove #include <iosfwd>.
1889 * graph.h: remove #include "support/std_string.h".
1890 * lyx_main.h: remove #include <csignal>.
1891 * lyxlex_pimpl.h: remove #include <fstream>.
1892 * sgml.h: remove #include <algorithm>, <utility>.
1893 * toc.h: remove #include "support/std_ostream.h".
1894 Add #include <iosfwd>.
1896 2003-09-07 Angus Leeming <leeming@lyx.org>
1898 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1900 * converter.h: forward declare LatexRunParams.
1901 * encoding.h: remove #include "lyxrc.h".
1902 * lyxtext.h: remove #include "LColor.h".
1903 * lyxtextclass.h: remove #include "support/types.h".
1904 * trans.h: remove #include "tex-accent.h".
1905 * trans_mgr.h: remove #include "tex-accent.h".
1906 * insets/inset.h: remove #include "support/types.h", <vector>.
1907 * insets/insetcollapsable.h: remove #include "LColor.h".
1908 * insets/insetinclude.h: remove #include "dimension.h".
1909 * insets/insetlatexaccent.h: remove #include "dimension.h".
1910 * insets/insetoptarg.h:: remove #include "insettext.h".
1911 * insets/insettext.h: remove #include "dimension.h",
1912 <boost/shared_ptr.hpp>
1914 * insets/renderers.h: add #include "dimension.h".
1915 * insets/updatableinset.h: add #include "support/types.h".
1917 * many .C files: Associated changes.
1919 2003-09-06 Angus Leeming <leeming@lyx.org>
1921 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1922 one, inside testInvariant.
1924 * PrinterParams.C: new file.
1925 * PrinterParams.[Ch]: move the function bodies out of line.
1927 2003-09-06 Angus Leeming <leeming@lyx.org>
1929 * ParagraphParameters.h: forward declare ParameterStruct rather than
1930 including its header file.
1931 (depth): moved out-of-line.
1933 2003-09-06 Angus Leeming <leeming@lyx.org>
1935 * BufferView_pimpl.h:
1938 * lyxfunc.h: forward declare LyXKeySym rather than
1939 #include "frontends/LyXKeySym.h".
1941 * BufferView_pimpl.C:
1944 * lyxfunc.C: associated changes.
1946 2003-09-06 Angus Leeming <leeming@lyx.org>
1948 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1949 As a result, can remove the #include "insets/inset.h" from BufferView.h
1951 2003-09-06 Angus Leeming <leeming@lyx.org>
1953 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1954 As a result, can remove the #include "insets/inset.h" from BufferView.h
1956 2003-09-06 Angus Leeming <leeming@lyx.org>
1962 * bufferview_funcs.C:
1963 * BufferView_pimpl.C:
1968 * ParagraphParameters.C:
1973 * frontends/controllers/ControlDocument.C:
1974 * insets/insetcaption.C: rearrange the #includes into some sort of
1977 * buffer.h: remove #includes ErrorList.h, undo.h
1979 2003-09-06 Angus Leeming <leeming@lyx.org>
1981 * support/types.h: add a 'depth_type' typedef, used to store the
1982 nesting depth of a paragraph.
1985 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1986 defining explicitly.
1989 * paragraph_funcs.h:
1990 * ParagraphParameters.h:
1991 * sgml.h: use lyx::depth_type rather than Paragraph or
1992 ParameterStruct's depth_type.
1995 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1998 * BufferView_pimpl.C:
2000 * ParagraphParameters.C:
2003 * bufferview_funcs.C:
2010 * frontends/LyXView.C:
2011 * frontends/controllers/ControlDocument.C:
2012 * frontends/controllers/ControlErrorList.C:
2013 * insets/insetbibitem.C:
2014 * insets/insetbranch.C:
2015 * insets/insetcaption.C:
2016 * insets/insetcollapsable.C:
2017 * insets/insetenv.C:
2018 * insets/insetert.C:
2019 * insets/insetfloat.C:
2020 * insets/insetfoot.C:
2021 * insets/insetfootlike.C:
2022 * insets/insetnewline.C:
2023 * insets/insetquotes.C:
2024 * insets/insettabular.C:
2025 * insets/insettext.C:
2026 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2028 * frontends/controllers/ControlChanges.C: #include "changes.h".
2030 2003-09-06 Angus Leeming <leeming@lyx.org>
2032 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2033 than #including paragraph.h.
2036 * RowList.h: deleted. Superfluous.
2046 * insets/insettext.h: use ParagraphList_fwd.h rather than
2049 * paragraph.h: don't forward declare ParagraphList.
2052 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2053 rather than ParagraphList.h. paragraph.h is still needed for the
2054 Paragraph::depth_type parameters.
2056 * textcursor.h: enable it to compile stand-alone in light of the
2059 * bufferview_funcs.C:
2071 * frontends/controllers/ControlParagraph.C:
2072 * frontends/controllers/ControlTabular.C:
2073 * insets/insetmarginal.C:
2074 * insets/insetminipage.C:
2075 * insets/insetnote.C:
2076 * insets/insetoptarg.C: add header files needed to compile again.
2078 2003-09-06 Angus Leeming <leeming@lyx.org>
2080 * RowList_fwd.h: new file, forward-declaring Row rather than
2081 #including lyxrow.h.
2086 * insets/insettext.h: use it instead of RowList.h
2088 * bufferview_funcs.C:
2095 * text3.C: #include "RowList.h".
2097 2003-09-05 Angus Leeming <leeming@lyx.org>
2099 * factory.C (createInset):
2100 * vspace.C (c-tor): replace sscanf call with an istringstream.
2101 * ispell.C: re-add missing HP/UX headers.
2102 * lyxserver.C: re-add missing os2 headers.
2104 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2113 * text3.C: re-add missing system headers, needed for 2.95.2.
2115 2003-09-05 Angus Leeming <leeming@lyx.org>
2117 Changes most place everywhere due to the removal of using directives
2118 from support/std_sstream.h.
2120 2003-09-05 Angus Leeming <leeming@lyx.org>
2122 Replace LString.h with support/std_string.h,
2123 Lsstream.h with support/std_sstream.h,
2124 support/LIstream.h with support/std_istream.h,
2125 support/LOstream.h with support/std_ostream.h.
2127 Changes resulting throughout the tree.
2129 2003-09-05 Angus Leeming <leeming@lyx.org>
2131 * sgml.h: ensure that the header file can be compiled stand-alone.
2132 * *.C: strip out redundant #includes. (320 in total.)
2134 2003-09-04 Angus Leeming <leeming@lyx.org>
2136 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2137 here (from getPackages).
2139 * debug.[Ch]: add a new EXTERNAL tag.
2141 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2143 * text2.C (cursorEnd): simplify
2145 (getColumnNearX): adjust
2147 * text.C (computeBidiTables): adjust
2150 * rowpainter.C (paintChars): adjust
2151 (paintSelection): adjust
2152 (paintChangeBar): adjust
2155 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2157 (numberOfSeparators): adjust
2159 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2165 * text3.C: Restricts the mouse click functionality
2166 of insets like bibtex, include, toc and floatlist to the visible
2167 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2168 up the dialogs. Cursor has to be in front of the inset (i.e.
2169 start of row) for this to function.
2171 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2173 * bufferview_funcs.C (currentState): output row information
2175 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2177 * bufferview_funcs.C (currentState): output paragraph position
2179 2003-09-04 Angus Leeming <leeming@lyx.org>
2181 * FloatList.h: move out #include "Floating.h".
2182 * LaTeX.h: move out #include "DepTable.h".
2183 * LyXAction.h: move out #include "funcrequest.h".
2184 * buffer.h: move out #include "author.h", "iterators.h".
2185 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2186 * lyx_main.h: move out #include "errorlist.h".
2187 * lyxfunc.h: move out #include "FuncStatus.h".
2188 * lyxtext: move out #include "lyxcursor.h".
2189 * paragraph_pimpl.h: move out #include "counters.h".
2191 2003-09-03 Angus Leeming <leeming@lyx.org>
2193 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2194 preamble_snippets list, enabling us to add snippets to the preamble
2195 only if the snippet was not there already.
2197 2003-09-04 Angus Leeming <leeming@lyx.org>
2199 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2201 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2203 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2206 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2208 * BranchList.C: point fix, earlier forgotten
2210 2003-09-02 Angus Leeming <leeming@lyx.org>
2212 * box.C (contains): renamed from 'contained' after a fantastic
2215 2003-09-02 John Levon <levon@movementarian.org>
2221 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2223 2003-09-02 John Levon <levon@movementarian.org>
2225 * text2.C: simplification of cursorEnd(), including partial
2228 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2230 * buffer.C (readFile): add a space
2232 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2234 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2236 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2238 * buffer.C (readFile): new function, take a filename and a
2239 ParagraphList::iterator
2241 (readFile): adjust, make it private. don't use setStream, make
2242 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2243 always contain the filename.
2245 * BufferView.C (insertLyXFile): simplify and make it work for
2248 2003-08-30 John Levon <levon@movementarian.org>
2250 * Makefile.am: fix dist (from Kayvan)
2252 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2254 * most files: change to use const Buffer refs
2256 2003-08-27 André Pönitz <poenitz@gmx.net>
2258 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2259 on top of ownerPar().
2261 2003-08-27 John Levon <levon@movementarian.org>
2263 * funcrequest.C: properly initialise POD members
2265 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2267 * lyxtext.h (top_y): move top_y from here
2272 * BufferView_pimpl.[Ch]: to here
2273 * frontends/screen.C:
2274 * insets/insettabular.C:
2275 * insets/insettext.C: adjust
2276 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2278 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2281 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2283 2003-08-26 André Pönitz <poenitz@gmx.net>
2285 * paragraph_func.[Ch] (outerPar): new function
2288 * paragraph_funcs.C:
2289 * paragraph_funcs.h:
2290 * paragraph_pimpl.C:
2291 * text2.C: remove Inset::par_owner
2293 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2298 * text2.C: eliminates the needFullRow/display() stuff
2299 altogether, putting the logic in metrics/draw in the insets.
2301 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2303 * text2.C (redoParagraphInternal, redoParagraphs):
2304 * text.C (redoParagraph): add a call to updateRowPositions at the
2305 end of each 'metrics-like' call. Remove all others.
2306 (getRow): remove the 'y-computing' version.
2307 (getRowNearY): do not compute nor return the real y. Solve the
2308 'y < 0' problem and simplify.
2310 2003-08-22 Angus Leeming <leeming@lyx.org>
2312 * *.[Ch]: clean-up of licence and author blurbs.
2313 Also move config.h out of a few .h files and into a few .C files.
2315 2003-08-22 André Pönitz <poenitz@gmx.net>
2317 * lyxrow.[Ch]: add x_ and *fill_ members
2322 * text2.C: adjust/remove prepareToPrint() calls
2324 2003-08-22 André Pönitz <poenitz@gmx.net>
2326 * lyxrow.[Ch]: add end_ member
2328 * lyxrow_funcs.C: use LyXRow::end_
2330 * lyxtext.h (singleWidth): add LyXFont parameter
2333 * text2.C: adjust LyXText::singleWidth() calls
2335 * text.C (redoParagraph): simplify row breaking logic
2338 2003-08-19 André Pönitz <poenitz@gmx.net>
2340 * funcrequest.C: initialize button_ member
2343 * rowpainter.[Ch]: interface consolidation
2345 2003-08-18 André Pönitz <poenitz@gmx.net>
2348 * BufferView_pimpl.C:
2350 * paragraph_funcs.C:
2352 * text3.C: remove LyXScreen::draw() and fitCursor calls
2354 * BranchList.h: remove spurious semicolons
2356 * MenuBackend.C: fix branchlist related crash
2358 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2366 * bufferparams.[Ch]:
2370 * text3.C: implements the 'branch inset'
2371 idea. This allows the output of various versions of a document
2372 from a single source version, selectively outputing or suppressing
2373 output of parts of the text.
2374 This implementation contains a 'branch list editor' in a separate
2375 tab of the document settings dialog. Branches are user definable
2376 and have a "display colour" to distinguish them on-screen.
2378 ColorHandler was somewhat cleaned up.
2379 (1) make possible a dynamically growing LColor list by allowing
2380 the graphic context cache to grow along (vector);
2381 (2) eliminate an IMHO unnecessary step in colour allocation.
2383 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2385 * BufferView_pimpl.C: compile fix
2387 2003-08-15 André Pönitz <poenitz@gmx.net>
2389 * rowpainter.C: remove extra metrics calls
2391 * lyxtext.h: merge the two constructors into a single one,
2392 pass reference to owner's par list
2394 * BufferView_pimpl.C:
2398 2003-08-15 André Pönitz <poenitz@gmx.net>
2400 * lyxrow_funcs.[Ch]:
2403 * paragraph_funcs.C:
2408 * text_funcs.C: split LyXText::rowlist_ into individual
2409 Paragraph::rows_ chunks
2412 * BufferView_pimpl.[Ch]:
2415 * text3.C: remove toggleSelection()
2417 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2419 * bufferlist.C: beautify two alerts (shorter text of buttons)
2420 * buffer.C: Remove redundant ' ' from message
2422 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2423 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2424 rename VALIGN_CENTER to VALIGN_MIDDLE
2426 2003-08-11 André Pönitz <poenitz@gmx.net>
2428 * lyxtext.h (getPar):
2429 * text.C: new function
2431 2003-08-11 André Pönitz <poenitz@gmx.net>
2434 * tracer.[Ch]: remove unneeded files
2436 * InsetList.[Ch]: remove resizeInsetsLyXText()
2441 * text3.C: merge insertParagraphs() and appendParagraph()
2442 remove breakAgain(), update()
2444 * BufferView_pimpl.[Ch]:
2445 * bufferview_funcs.[Ch]:
2449 * tabular.C: adjust after text & InsetList changes.
2451 2003-08-08 André Pönitz <poenitz@gmx.net>
2453 * text.C (insertChar, backspace): replace rowlist fiddling
2454 with rebreak of full par
2457 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2458 checkParagraph, updateInset): removed
2460 2003-08-07 André Pönitz <poenitz@gmx.net>
2463 * text3.C: merge some LFUN handlers, remove dead code
2465 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2467 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2469 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2471 * text2.C (DEPM): fix part of bug 1255 and 1256
2473 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2475 * BufferView_pimpl.C (workAreaDispatch): change to use
2476 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2477 that are no mouse related.
2479 2003-08-05 André Pönitz <poenitz@gmx.net>
2482 * BufferView_pimpl.[Ch]:
2483 * bufferview_funcs.C:
2485 * text3.C: rip out "deep update"
2487 * textcursor.[Ch] (last_sel_cursor): remove unused member
2489 2003-08-04 André Pönitz <poenitz@gmx.net>
2492 * BufferView_pimpl.[Ch]:
2493 * ParagraphParameters.C:
2494 * bufferview_funcs.C:
2500 * text3.C: replace "complicated" BufferView::update(...) calls with
2503 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2505 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2507 * Makefile.am (lyx_SOURCES): add paper.h
2509 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2511 * Makefile.am: move things around so that both lyx-qt and
2512 lyx-xforms can be built (according to --with-frontend). Then lyx
2513 is a symbolic link to lyx-[firstfrontend]
2515 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2517 * Always use std::endl with lyxerr
2519 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2521 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2523 2003-08-01 André Pönitz <poenitz@gmx.net>
2526 * BufferView_pimpl.[Ch]:
2528 * text3.C: merge BufferView::repaint() and BufferView::update()
2530 2003-08-01 José Matos <jamatos@lyx.org>
2532 * buffer.[Ch]: file_format is no longer a buffer data element.
2534 2003-08-01 André Pönitz <poenitz@gmx.net>
2539 * text2.C: make redoParagraph more independent of current cursor
2541 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2543 * text2.C: remove unneeded members
2545 2003-07-30 André Pönitz <poenitz@gmx.net>
2547 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2549 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2550 create a single function...
2552 * paragraph_funcs.C (moveItem): ... here.
2555 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2557 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2559 * LColor.[Ch]: Add comment and greyedout logical colors.
2561 2003-07-30 André Pönitz <poenitz@gmx.net>
2563 * tabular.C: don't use Assert too heavily. This crashes where it
2566 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2568 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2569 is disabled (bug 1232)
2571 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2573 * factory.C: limited 'arg' scope
2575 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2577 * factory.C: fixed Note submenu issues
2579 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2581 * factory.C: submenu for Note/Comment/Greyedout
2583 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2586 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2588 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2591 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2592 greyedout. Patch provided by Jürgen Spitzmüller.
2594 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2596 * kbmap.C (read): fix error message when reading bind files
2598 2003-07-29 Angus Leeming <leeming@lyx.org>
2600 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2601 certainly does not do what it purports to do. I am doing it, and
2602 us, a favour by killing it.
2604 2003-07-28 José Matos <jamatos@lyx.org>
2606 * buffer.C (readBody, do_writeFile):
2607 * paragraph.C(readParagraph): \end_document replaces \the_end.
2609 2003-07-29 André Pönitz <poenitz@gmx.net>
2612 * BufferView_pimpl.[Ch]:
2616 * textcursor.[Ch]: remove toggleToggle & Co
2618 2003-07-28 José Matos <jamatos@fep.up.pt>
2620 * buffer.C (readParagraph):
2621 * params_func (readParToken, readParagraph):
2622 * paragraph.C (write): \layout -> \begin_layout.
2624 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2626 * lyxlex_pimpl.C (setFile): clean up slightly.
2628 * bufferparams.h: add compressed var
2630 * buffer_funcs.C (readFile): adjust for LyXLex change
2631 (newFile): ditto + simplify
2633 * buffer.C (writeFile): handle writing of compressed files
2635 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2636 Check if the file is compressed and set a bufferparm if so.
2638 * Makefile.am (lyx_LDADD): remove explicit -lz
2640 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2642 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2643 makeDocBookFile): put the real LyX version in the first line of
2647 * version.C.in: remove lyx_docversion
2649 * tabular.C (write_attribute): add a template-based version to
2650 write enums properly
2652 2003-07-28 André Pönitz <poenitz@gmx.net>
2657 * text3.C: use doubles again for x-coordinates. They are needed.
2659 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2661 * messages.C (getLocaleDir): use lyx_localedir()
2663 * lyxlex_pimpl.C (setFile): compress stuff
2665 * buffer.C (writeFile): add some compression stuff
2666 (do_writeFile): new func, dont call expliti close... will this
2669 * Makefile.am (lyx_LDADD): add -lz
2671 2003-07-28 José Matos <jamatos@fep.up.pt>
2673 * buffer.C: increment file format.
2674 * paragraph_funcs (readParagraph, readParToken):
2675 * paragraph.C (readParagraph): add \end_layout.
2677 2003-07-27 Angus Leeming <leeming@lyx.org>
2679 * Makefile.am: remove special casing for configure-time setting of
2680 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2682 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2683 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2685 2003-07-26 André Pönitz <poenitz@gmx.net>
2687 * paragraph_func.[Ch]:
2688 * paragraph.C (realizeFont): inline it whereever it is used
2693 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2696 2003-07-26 André Pönitz <poenitz@gmx.net>
2700 * text2.C: get rid of LyXText::need_break_row
2702 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2704 * toc.[Ch]: put namespace toc inside namespace lyx
2706 * MenuBackend.C (expandToc2): adjust for lyx::toc
2709 * lyxfunc.C (dispatch): adjust for lyx::find
2711 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2712 lyx::find instead. Reorganize a bit.
2713 (LyXReplace): rename to replace
2714 (LyXFind): rename to find
2716 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2719 2003-07-26 André Pönitz <poenitz@gmx.net>
2721 * text.C (setHeightOfRow): restrict scope of temporary variable
2723 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2724 code (never has been used?)
2726 2003-07-27 Asger Alstrup <alstrup@local>
2728 * text.C (fill): Optimise algorithm to exploit that we can reuse
2729 the LyXFont for many characters.
2730 (setHeightOfRow): Same thing.
2731 (rowBreakPoint): Same thing.
2733 2003-07-26 Asger Alstrup <alstrup@local>
2735 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2737 * text.C (singleWidth): Spurious font copying in hot-spot
2738 singleWidth avoided. Reorder tests for arabic for efficiency.
2740 * text.C (fill): handle empty paragraphs better.
2742 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2745 * encoding.h: add includes
2747 * lyxrc.C: remove reading of bind files
2749 * lyx_main.C (init): setup bindings and menus only if we have a
2752 * kbmap.C (read): new method. Do the actual reading of bind
2755 * converter.C (dvipdfm_options):
2758 (output): adapt PAPER_* enums.
2760 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2762 * bufferparams.h: remove paper-related enums from there
2764 * paper.h: New file. A trivial header file to hold paper-related
2765 enums. It should later expand to contain many paper-related
2768 * lyxrc.C: declare extern displayTranslator
2770 2003-07-27 José Matos <jamatos@fep.up.pt>
2772 * tabular.[Ch] (linuxdoc): add support for tables and figures
2775 2003-07-27 José Matos <jamatos@fep.up.pt>
2777 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2778 consistency in both functions.
2779 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2781 2003-07-26 Asger Alstrup <alstrup@local>
2783 * rowpainter.C (paintRows): Change algorithm to work directly on
2784 the insets rather than asking every character in the document
2785 whether its an inset.
2787 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2789 * buffer.C (openFileWrite): factorize some code
2791 2003-07-26 Angus Leeming <leeming@lyx.org>
2794 * lyx_main.[Ch]: replace occurances of system_tempdir with
2797 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2799 * rename Inset to InsetOld
2801 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2803 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2804 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2805 which I think is a bit clearer. EDIT is gone, since it was
2806 premature optimisation, and broken for mathed anyway.
2807 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2808 with cursor positioning in insets as well (math insets still do not
2809 work, but that's a different story anyway.) It mysteriously
2810 crashes sometimes with undo in the first paragraph, but I'm fairly
2811 confident that this is a compiler bug.
2813 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2815 * paragraph.C (Paragraph): adjust for new clone return type
2817 (copyIntoMinibuffer): ditto
2819 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2821 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2822 by not having a special case, and always doing a full rebreak of
2823 the document after undo.
2825 2003-07-23 Angus Leeming <leeming@lyx.org>
2827 * factory.C (createInset): InsetExternal::setParams now takes a
2830 2003-07-23 Angus Leeming <leeming@lyx.org>
2832 * factory.C (createInset): changed interface to the external and
2833 graphics mailers' string2params functions.
2835 2003-07-23 Angus Leeming <leeming@lyx.org>
2837 * factory.C (createInset): pass a
2838 Buffer const * parameter to InsetExternalMailer's string2params.
2840 2003-07-22 John Levon <levon@movementarian.org>
2842 * Thesaurus.h: include the right aiksaurus header
2844 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2846 * MenuBackend.C (expand): check menu shortcuts unconditionally
2848 2003-07-21 Angus Leeming <leeming@lyx.org>
2850 * factory.C (createInset): pass a
2851 buffer_path parameter to InsetGraphicsMailer's string2params.
2853 2003-07-21 Angus Leeming <leeming@lyx.org>
2855 * BufferView_pimpl.C (buffer):
2858 * lyxfunc.C (dispatch):
2859 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2860 rather than the grfx shortcut.
2862 2003-07-21 André Pönitz <poenitz@gmx.net>
2864 * rowpainter.C: remove unused variables
2867 * tabular_funcs.h: move to tabular.C
2868 * Makefile.am: adjust
2870 * tabular.[Ch]: basic optical cleaning
2872 * author.h: pass references, not values
2874 2003-07-18 André Pönitz <poenitz@gmx.net>
2882 * text3.C: two-phase drawing for InsetText and InsetTabular
2883 some float -> int changes.
2885 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2887 * lyx_main.C: fix the fix
2889 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2891 * lyx_main.C: fix a crash in batch mode if no files specified
2894 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2896 * format.[Ch] (papersize): moved to BufferParams
2897 * converter.[Ch] (dvips_options): moved to BufferParams
2898 (dvipdfm_options): moved to anon namespace
2899 * bufferparams.[Ch]: added above functions.
2901 2003-07-17 André Pönitz <poenitz@gmx.net>
2905 * text2.C: don't call inset->update() anymore
2907 * metricsinfo.[Ch]: add convenience constructor
2909 2003-07-16 André Pönitz <poenitz@gmx.net>
2914 * text2.C: replace the LyXCursor::irow_ member with
2915 on-demand computation of the value
2917 2003-07-16 John Levon <levon@movementarian.org>
2919 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2921 2003-07-15 André Pönitz <poenitz@gmx.net>
2924 * text2.C: remove no more needed refresh_row
2926 2003-07-15 André Pönitz <poenitz@gmx.net>
2931 * text3.C: refresh_status tristate -> need_update bool
2933 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2935 * lyxtext.h (init): remove reinit argument (act as if always true)
2936 * text2.C: adjust to that
2938 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2940 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2941 * text3.C: use it to delete selections in some cases
2942 (bugs 441, 673, 702, 954).
2944 2003-07-14 André Pönitz <poenitz@gmx.net>
2946 * rowpainter.[Ch]: reduce interface
2948 2003-07-14 André Pönitz <poenitz@gmx.net>
2950 * BufferView_pimpl.C:
2951 * text2.C: adjust after removing unused BufferView * argument
2953 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2955 * text2.C (init): fix a crash fired on resize
2957 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2959 * buffer.[Ch]: added new closing signal
2960 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2961 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2962 BufferView::Pimpl via the closing the signal
2964 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2966 * buffer.[Ch]: take out all bv-related from buffer
2968 * BufferView_pimpl.[Ch]: connect to new signals
2969 * CutAndPaste.C: removed useless asserts
2970 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2973 * lyxfunc.C: moved view-related funciontality from vc here
2974 * paragraph.C: removed outdated comments
2977 2003-07-10 André Pönitz <poenitz@gmx.net>
2979 * BufferView_pimpl.C:
2983 * text2.C: remove InsetText::InnerCache, clean up consequences
2985 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2987 * ispell.C: fix two typos in error messages
2989 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2991 * Extend Note inset to other forms of annotation like Comment
2992 and Greyedout. Right button click gives dialog.
2994 Files modified or added (+):
2998 * ControlNote.[Ch] +
3000 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3001 frontends/controllers
3005 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3007 * aspell.C: add missing namespace lyx::support
3009 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3011 * BufferView.[Ch] (newFile): Add
3012 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3013 * LaTeX.[Ch] (message): added this signal and use it
3014 * buffer.[Ch] (busy, message): added these signals and use them
3015 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3019 * importer.C: use buffer signals instead of direct bv calling
3020 * lyx_cb.[Ch] (ShowMessage): removed
3023 * paragraph_funcs.C:
3024 * text2.C: use buffer signals
3026 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3028 * introduce namespace lyx::graphics
3030 2003-07-02 André Pönitz <poenitz@gmx.net>
3032 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3034 2003-07-01 André Pönitz <poenitz@gmx.net>
3041 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3042 text*.C to text_func.C
3044 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3046 * introduce namespace lyx::support
3048 2003-06-30 André Pönitz <poenitz@gmx.net>
3053 * text.C: re-enable --with-included-string
3055 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3057 * textcursor.C: add <config.h>
3059 * text.C (getWord): remove const from word_location arg
3061 * lyxvc.C (getLogFile): fix const type order
3063 * lyxtext.h: remove const from word_location arg, add arg name
3065 * lyxlayout.h: currect type on labeltype.
3067 * importer.C: correct \file
3069 * converter.C (intToFormat): use std:: on ret val, ws changes
3071 * bufferlist.h: correct \file
3073 * buffer.C (makeLinuxDocFile): fix const type order
3074 (makeDocBookFile): ditto
3075 (fillWithBibKeys): use std:: on stdlib args.
3077 * CutAndPaste.C: fix authors.
3078 (availableSelections): use std:: on return vector
3080 2003-06-27 André Pönitz <poenitz@gmx.net>
3082 * BufferView_pimpl.C:
3083 * bufferview_funcs.C:
3091 * text3.C: remove LyXCursor::row_ member
3094 * text.C: rename fullRebreak() to partialRebreak() and implement
3095 a fullRebreak() that really bereks fully
3097 * textcursor.h: new struct for cursor-related data
3099 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3101 * lyx_main.C (LyX): get full path of document loaded on the
3104 2003-06-26 André Pönitz <poenitz@gmx.net>
3106 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3107 remove unused/broken operator>,<,>=.
3109 * text.C: remove only use of broken operator<= in an Assert().
3111 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3113 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3114 moved errorlist_.clear to showErrorList
3116 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3118 * converter.C (scanLog, runLaTeX):
3119 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3120 move the bv->showErrorList call to the callers
3121 * lyxfunc.C: i.e. here...
3123 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3124 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3125 namespace, the second to...
3126 * buffer_funcs (BufferFormat, parseErrors): added
3127 * errorlist.C (ErrorList(TeXErrors const &)): removed
3129 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3131 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3133 2003-06-24 "Garst R. Reese" <reese@isn.net>
3137 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3139 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3141 * version.C.in: change docversion to 1.4
3143 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3145 * buffer.C: fix a bug just introduced
3147 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3149 * buffer.[Ch]: added the parseError signal and use it, removed
3151 * BufferView.[Ch] (addError): moved to ...
3152 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3153 to the Buffer::parseError signal to catch (guess what) parse errors
3154 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3156 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3158 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3159 ability to create a buffer and to return an existing one from
3160 the list. Moved these functions to...
3161 * buffer_funcs.[Ch]: added
3162 * BufferView.[Ch] (loadLyXFile): added
3163 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3164 job removed from bufferlist::loadLyXFile.
3165 * buffer.C (setReadOnly): make it work without view
3166 (i.e added an if (users))
3168 2003-06-19 Angus Leeming <leeming@lyx.org>
3171 * LyXAction.C (init):
3172 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3173 with LFUN_DIALOG_SHOW <name> <data>.
3175 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3177 * CutAndPaste.C (availableSelections): small compilation fix for
3178 ancient (gcc 2.9x) compilers
3180 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3182 * text3.C (cursorNext): add tmp var
3184 * text2.C (updateCounters): for function calling out of for clause
3185 (replaceSelectionWithString): ditto
3186 (insertStringAsParagraphs): ditto
3187 (getColumnNearX): add tmp var
3188 (setCursorFromCoordinates): add tmp var
3189 (cursorDownParagraph): add tmp var
3190 (deleteEmptyParagraphMechanism): add tmp var
3192 * text.C (insertChar): add tmp var
3194 * rowpainter.C (paintDepthBar): add tmp var
3196 * CutAndPaste.C (availableSelections): potentially check all
3197 paragraphs in a cut to fill the shown strings.
3199 2003-06-18 André Pönitz <poenitz@gmx.net>
3201 * kbmap.[Ch]: use vector<> instead of list<>
3203 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3205 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3206 pasteSelection with index
3208 * text2.C (pasteSelection): modify, call pasteSelection with index
3210 * paragraph.C (asString): reimplement version with no interval to
3211 call the one with interval.
3213 * lyxtext.h: add index arg to pasteSelection
3215 * MenuBackend.C (MenuItem): handle PasteRecent
3216 (Menu::read::Menutags): add md_pasterecent
3218 (expandPasteRecent): new function
3221 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3223 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3225 (availableSelections): new function
3227 2003-06-17 Angus Leeming <leeming@lyx.org>
3229 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3231 2003-06-17 Angus Leeming <leeming@lyx.org>
3234 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3236 * lyxfunc.C (dispatch): invoke it.
3238 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3240 * iterators.C (operator++, ParPosition): reintroduce some
3241 const_cast for the benefit of older compilers.
3243 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3245 * text3.C (dispatch): do not modify clipboard when doing
3246 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3247 LFUN_DELETE_SKIP on a selection selection
3249 2003-06-16 André Pönitz <poenitz@gmx.net>
3255 * tabular.[Ch]: IU of clone() and getLabelList();
3257 2003-06-13 André Pönitz <poenitz@gmx.net>
3259 * tabular.h: compactification
3261 2003-06-12 André Pönitz <poenitz@gmx.net>
3265 * tabular_funcs.h: some renaming plus whitespace
3267 2003-06-12 André Pönitz <poenitz@gmx.net>
3270 * BufferView_pimpl.C:
3276 * toc.C: Return a Paragraph & for ParIterator::operator*()
3278 2003-06-11 John Levon <levon@movementarian.org>
3282 * ToolbarBackend.C: add "Toolbars" section and
3285 2003-06-10 Angus Leeming <leeming@lyx.org>
3288 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3290 * lyxfunc.C (dispatch): invoke it.
3292 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3294 * main.C: protect <ios> with HAVE_IOS
3295 (main): protect sync_with_stdio with HAVE_IOS
3297 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3299 * text2.C (cutSelection): adjust
3300 (pasteSelection): adjust
3302 * messages.C: handle get of empty string
3304 * main.C (main): use sync_with_stdio(false)
3306 * lyxfunc.C (dispatch): adjust
3308 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3309 (WriteAs): remove unneeded BufferView arg.
3311 * bufferparams.h: use correct types on papersize, papersize2 and
3314 * bufferparams.C (readToken): adjust for type
3315 (writeLaTeX): add missing cases to switch.
3317 * bufferlist.C (quitWriteBuffer): adjust
3320 * buffer.C (asciiParagraph): remove some commented code.
3322 * CutAndPaste.C: remove current_view extern variable.
3323 (cutSelection): add BufferParams arg.
3324 (eraseSelection): add BufferParams arg.
3325 (pasteSelection): add Buffer const & arg
3327 2003-06-07 John Levon <levon@movementarian.org>
3330 * paragraph_funcs.C:
3331 * paragraph_pimpl.C:
3335 * paragraph.C: allow InsetERT to freely space lines,
3336 and some consolidation of code
3338 2003-06-06 José Matos <jamatos@fep.up.pt>
3340 * buffer.C (makeDocBookFile): fix bug #821
3342 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3344 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3346 2003-06-04 Angus Leeming <leeming@lyx.org>
3348 * buffer.C: bump format to 224.
3350 2003-06-05 André Pönitz <poenitz@gmx.net>
3352 * text2.C (redoParagraphs): remove two const_cast<>
3354 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3356 * ParagraphList.h: remove last remnants of NO_STD_LIST
3358 2003-06-03 Angus Leeming <leeming@lyx.org>
3360 * factory.C (createInset): small change to the way InsetExternal's params
3363 2003-06-04 André Pönitz <poenitz@gmx.net>
3365 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3367 * paragraph_pimpl.h:
3368 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3370 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3372 * undo_funcs.C: make some simple cases of undo work again
3374 2003-06-03 John Levon <levon@movementarian.org>
3376 * ispell.C: HPUX doesn't have sys/select.h
3379 2003-06-03 John Levon <levon@movementarian.org>
3381 * CutAndPaste.C: update tabular and include inset
3386 * paragraph.C: remove owningBuffer(), don't pass Buffer
3389 * factory.C: insetGraphicsParams changed
3391 2003-06-02 John Levon <levon@movementarian.org>
3397 * text3.C: remove insetparent
3399 2003-06-02 John Levon <levon@movementarian.org>
3402 * buffer.C: fix inset_iterator.end(), move out of line
3405 2003-06-01 John Levon <levon@movementarian.org>
3407 * text3.C: use a proper cut/paste when doing inset
3408 insert (from Jürgen Spitzmüller)
3410 2003-06-01 John Levon <levon@movementarian.org>
3412 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3414 2003-05-30 André Pönitz <poenitz@gmx.net>
3416 * rowpainter.C: unify second drawing phase
3418 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3420 * trans_mgr.C: remove one case of current_view
3422 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3424 * paragraph_funcs.h: remove paragraph.h include
3426 * paragraph.h: delete NO_STD_LIST stuff
3428 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3430 * buffer.h: remove paragraph.h include
3432 * ParagraphList.C: delete file
3434 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3436 * toc.C (getTocList): adjust
3438 * paragraph_pimpl.C (validate): adjust
3440 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3442 * paragraph.C (Paragraph): adjust
3443 (getPositionOfInset): use const_iterator, adjust
3444 (bibitem): use const_iterator, adjust
3445 (setInsetOwner): adjust
3447 * iterators.C (operator++): adjust
3449 * InsetList.[Ch]: Replace selfmade iterator with standard
3450 vector::iterator also introduce const_iterator. Remove getPos,
3451 getInset and setInset from InsetTable. Adjust accordingly.
3453 * BufferView.C (lockInset): adjust
3454 (ChangeInsets): adjust
3456 * tabular.[Ch]: delete commented same_id functions
3458 2003-05-28 John Levon <levon@movementarian.org>
3460 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3462 2003-05-28 André Pönitz <poenitz@gmx.net>
3464 * metricsinfo.[Ch]: remove 'fullredraw' member
3466 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3468 * lyxtextclass.C (operator): remove caching.
3470 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3474 * text2.C (cursorBottom): adjust
3475 (setCounter): use ParagraphList::find, adjust
3477 * text.C (workWidth): use ParagraphList::find, adjust
3479 * lyxcursor.C (LyXCursor): adjust
3481 * buffer.C (inset_iterator): adjust
3483 * ParagraphList.h: make iterator(value_type) private, make
3484 ParagraphList a friend of iterator.
3486 * ParagraphList.C (find): new function
3488 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3490 2003-05-27 André Pönitz <poenitz@gmx.net>
3492 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3494 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3496 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3498 2003-05-26 John Levon <levon@movementarian.org>
3500 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3502 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3504 * remove same_id from function signatures, adjust.
3506 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3508 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3510 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3512 * paragraph.C (Paragraph): get rid of same_ids parameter
3514 * ParagraphList.C (insert): adjust
3517 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3519 * paragraph_funcs.C (breakParagraph): adjust
3520 (breakParagraphConservative): adjust
3522 * buffer.C (readParagraph): adjust
3524 * ParagraphList.C (insert): take a reference instead of a pointer
3527 * paragraph.[Ch] (id): new function
3529 * bufferlist.C (newFile): adjust
3531 * ParagraphList.C (ParagraphList): adjust
3533 (push_back): take a reference instead of a pointer.
3535 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3537 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3540 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3541 set else use old code.
3543 * ParagraphList.C: remove all NO_NEXT code and only compile this
3544 code of NO_STD_LIST is set.
3546 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3548 * BufferView_pimpl.C:
3558 * graphics/GraphicsConverter.C:
3559 * graphics/PreviewLoader.C: header adjustment
3561 2003-05-23 Angus Leeming <leeming@lyx.org>
3563 * LaTeXFeatures.[Ch] (useBabel): new method.
3564 * bufferparams.C (writeLaTeX): use it.
3566 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3568 * ParagraphList.h (set): remove unused function.
3570 2003-05-23 André Pönitz <poenitz@gmx.net>
3573 * BufferView_pimpl.C:
3577 * undo_funcs.C: setUndo reworked
3579 * iterators.[Ch]: add access to topmost ParagraphList
3581 * lyxtext.[Ch] (workWidth): add a const
3583 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3585 * texrow.[Ch] (increasePos): remove function
3586 * exporter.C (export): removed unused var and outdated comment
3588 2003-05-23 Angus Leeming <leeming@lyx.org>
3590 * latexrunparams.h: rename fragile as moving_arg.
3591 * paragraph.C (simpleTeXOnePar): ditto.
3592 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3594 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3596 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3598 (textUndoOrRedo): comment out a currently unused var.
3600 * paragraph.h (NO_NEXT): enable NO_NEXT
3602 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3604 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3606 * exporter.C (Export): adjust for removeAutoInsets removal.
3608 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3610 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3612 * BufferView.[Ch] (removeAutoInsets): delete function
3614 2003-05-22 Angus Leeming <leeming@lyx.org>
3616 * latexrunparams.h: add a free_spacing variable.
3618 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3619 to pass moving_arg, as the data is stored in runparams.fragile.
3621 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3622 to Inset::latexOptional or to simpleTeXOnePar.
3624 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3625 free_spacing arg to Inset::latexOptional.
3627 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3630 2003-05-22 Angus Leeming <leeming@lyx.org>
3632 * latexrunparams.h: add fragile and use_babel variables.
3634 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3635 * buffer.C (makeLaTeXFile): store this returned value in
3636 runparams.use_babel, thus passing it to the inset::latex methods.
3638 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3639 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3641 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3642 longer has a fragile arg, as it is stored in runparams.fragile.
3644 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3645 moving_arg parameter as the data is stored in runparams.fragile.
3647 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3648 a fragile parameter as the data is stored in runparams.fragile.
3650 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3652 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3654 2003-05-22 Angus Leeming <leeming@lyx.org>
3656 * latexrunparams.h: add a 'bool nice' which defaults to false.
3658 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3659 now encapsulated within runparams.
3661 * bufferlist.C (updateIncludedTeXfiles):
3662 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3664 2003-05-22 Angus Leeming <leeming@lyx.org>
3666 * latexrunparams.h: new file containing struct LatexRunParams.
3667 * Makefile.am: add new file.
3669 * LaTeX.[Ch] (c-tor, run):
3670 * buffer.[Ch] (makeLaTeXFile):
3671 * bufferlist.[Ch] (updateIncludedTeXfiles):
3672 * converter.C (convert, scanLog):
3673 * converter.[Ch] (runLaTeX):
3674 * exporter.C (Export):
3675 * paragraph.[Ch] (simpleTeXOnePar):
3676 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3677 * paragraph_funcs.[Ch] (latexParagraphs):
3678 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3679 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3680 pass around a LatexRunParams parameter.
3682 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3684 * paragraph.[Ch]: remove unused constructor
3686 * ParagraphList.C (erase): new function, taking two iterators
3688 2003-05-22 André Pönitz <poenitz@gmx.net>
3690 * undo_funcs.C: remove duplicated code
3692 * iterator.[Ch]: operator=
3694 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3696 * tabular.C (SetMultiColumn): ws changes
3698 * rowpainter.C (paintFirst): get rid of a ->previous
3700 * lyx_cb.C (getPossibleLabel): parlist simplification
3702 * BufferView.C (ChangeInsets): simplify slightly.
3704 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3706 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3707 * lfuns.h: new LFUN_SPACE
3708 * lyxfunc.C: protected space has a new lfun
3709 * paragraph_funcs.C: read new space insets
3711 * factory.C: handle new space insets
3713 2003-05-22 André Pönitz <poenitz@gmx.net>
3716 * BufferView_pimpl.C:
3719 * undo_funcs.C: return a ParIterator from getParFromID.
3721 * iterators.[Ch]: add two const's
3723 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3725 * toc.C (getTocList): adjust
3727 * iterators.[Ch]: rework for parlist
3729 * buffer.C (par_iterator_begin): adjust
3730 (par_iterator_end): adjust
3732 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3734 * BufferView.C (removeAutoInsets): adjust
3735 (ChangeInsets): adjust
3737 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3739 * text.C (top_y): fix bug 1110
3741 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3743 * errorlist.[Ch]: added
3746 * BufferView_pimpl.C:
3747 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3750 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3752 * Makefile.am: ensure that lyx is relinked upon changes to the
3753 various "convenience" libs.
3755 2003-05-20 Angus Leeming <leeming@lyx.org>
3757 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3758 files are compiled in alphabetical order again.
3760 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3762 2003-05-19 Angus Leeming <leeming@lyx.org>
3764 * gettext.[Ch]: remove "char const * _(char const *)".
3766 2003-05-19 André Pönitz <poenitz@gmx.net>
3768 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3777 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3779 2003-05-19 André Pönitz <poenitz@gmx.net>
3783 * lyxtextclass.[Ch]:
3785 * paragraph_funcs.[Ch]:
3787 * text3.C: more insetenv work
3789 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3791 * ParagraphParameters.C (params2string): small bug fixed
3793 2003-05-16 André Pönitz <poenitz@gmx.net>
3796 * bufferview_funcs.C: patch from Kornel Benko to prevent
3797 crash when _(...) is called twice in a statement
3799 2003-05-16 André Pönitz <poenitz@gmx.net>
3806 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3808 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3810 * lyx_main.C (init): remove spurious static_cast
3812 2003-05-14 André Pönitz <poenitz@gmx.net>
3814 * BufferView.C: fix format string
3816 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3818 * BufferView.[Ch] (insertErrors): removed
3819 * BufferView.[Ch] (showErrorList): added
3820 * buffer.C (runChkTeX):
3821 * converter.C (scanLog): call showErrorList instead of inserterrors
3823 2003-05-13 André Pönitz <poenitz@gmx.net>
3825 * BufferView_pimpl.C:
3827 * bufferview_func.C:
3834 * tabular_funcs.h: tostr() from its own header
3836 * ParagraphParameters.C:
3841 * text3.C: STRCONV()
3843 2003-05-12 André Pönitz <poenitz@gmx.net>
3846 * BufferView_pimpl.C:
3850 * ParagraphParameters.C:
3854 * bufferview_funcs.C:
3867 * paragraph_funcs.C:
3871 * text3.C: boost::format -> bformat all over the place
3874 2003-05-09 André Pönitz <poenitz@gmx.net>
3876 * LColor.[Ch]: Pimpl the #include <map> away
3878 2003-05-09 John Levon <levon@movementarian.org>
3880 * bufferlist.C: never remove emergency saves
3882 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3884 * Makefile.am: better lib building
3886 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3888 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3890 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3891 (simpleTeXSpecialChars): adjust
3892 (simpleTeXSpecialChars): adjust
3893 * paragraph.C (simpleTeXOnePar): adjust
3894 * buffer.C (makeLaTeXFile): adjust
3896 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3898 * text2.C (changeDepth): parlist cleanup
3899 (getColumnNearX): ditto
3901 * rowpainter.C (getLabelFont): parlist cleanup
3903 * bufferlist.C (newFile): parlist cleanup
3905 * CutAndPaste.C (eraseSelection): parlist cleanup
3907 * BufferView_pimpl.C (trackChanges): parlist cleanup
3910 * BufferView.C (lockInset): parlist cleanup.
3911 (ChangeInsets): ditto
3913 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3915 * CutAndPaste.h: Update file header.
3917 * CutAndPaste.C: Update file header.
3918 Store the parts cut out of the Document in a limited_stack.
3919 (copySelection): adjust
3920 (pasteSelection): new function, takes the index in the limited stack.
3921 (nrOfParagraphs): adjust
3922 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3923 simplify error inset insertion.
3924 (checkPastePossible): adjust
3926 2003-05-06 John Levon <levon@movementarian.org>
3928 * text2.C: don't cast wrap inset to float
3930 2003-05-05 André Pönitz <poenitz@gmx.net>
3933 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3935 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3936 few naked Paragraph *.
3938 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3940 * bufferparams.C: Output warning if a document with missing
3941 TeX document class is loaded
3942 * exporter.C: Disable TeX exports if the document class is missing
3945 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3946 isTeXClassAvailable()
3948 2003-05-03 John Levon <levon@movementarian.org>
3951 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3952 explicit cursor show/hide
3954 * BufferView_pimpl.h:
3955 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3956 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3958 * lyxfunc.C: hide cursor before dispatching.
3963 * text3.C: remove explicit cursor hides
3965 2003-05-02 André Pönitz <poenitz@gmx.net>
3967 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3970 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3973 * text2.C: tiny whitespace
3975 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3977 * undo_funcs.C: almost only ws changes.
3979 * ParagraphList.C (splice): just return if pl is empty.
3981 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3983 * ParagraphList.C (splice): new function.
3985 * CutAndPaste.C (pasteSelection): use it
3987 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3989 * CutAndPaste.C (pasteSelection): remove the last next and
3990 previous from this file.
3992 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3994 * CutAndPaste.C (pasteSelection): more clean up, user proper
3995 ParagraphList functions for pasteing.
3997 * ParagraphList.C (insert): new function, three arg insert
3999 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4001 * ParagraphList.C (insert): new function, three arg insert
4003 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4006 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4008 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4010 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4012 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4014 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4016 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4017 (copySelection): clean up a bit.
4018 (pasteSelection): use make_pair
4020 * ParagraphList.C (ParagraphList): implement copy constructor
4021 (operator=): implement, base on copy constructor.
4024 * paragraph.C (erase): return a bool
4026 * paragraph_pimpl.C (erasePos): remove function, move contents...
4027 (erase): ... here. Return a bool.
4028 (erase): call erase instead of erasePos.
4030 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4032 * ParagraphList.h: define PitPosPair
4033 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4034 ParagraphList, fix a bug on pasting multiple pars
4035 * text2.C: change interface to C&P
4037 2003-04-30 André Pönitz <poenitz@gmx.net>
4039 * undo_func.C: revert part of yesterday's patch 2
4041 2003-04-30 John Levon <levon@movementarian.org>
4043 * LColor.C: s/tabular/table/
4045 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4047 * text3.C (dispatch): do not convert iterator -> pointer
4048 * undo_funcs.C (setCursorParUndo): ditto
4049 * text_funcs.C (transposeChars): ditto
4051 * text2.C (setLayout): ws changes only
4053 * text.C (breakParagraph): do not convert iterator -> pointer
4055 (acceptChange): ditto
4056 (rejectChange): ditto
4061 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4064 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4066 * text3.C (gotoInset): YABG (yet another bad getChar)
4068 2003-04-29 André Pönitz <poenitz@gmx.net>
4070 * paragraph.h: make operator= private unimplemented as long as
4073 * ParagraphList.C: whitespace
4076 * paragraph_pimpl.[Ch]:
4077 * paragraph_funcs.C:
4079 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4082 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4084 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4086 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4087 * paragraph.[Ch] (erase):
4088 * paragraph_pimpl.[Ch] (erase): change return type and value
4089 * text2.C (cutSelection): some rework
4091 2003-04-28 John Levon <levon@movementarian.org>
4093 * bufferlist.C: changes for unsaved changes dialog
4095 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4097 * bufferlist.C (newFile): set language (messages_) for new
4100 * buffer.C (readFile): ws changes only.
4102 2003-04-28 André Pönitz <poenitz@gmx.net>
4107 * BufferView_pimpl.C:
4108 * BufferView.C: getParFromID related ParagraphList::iterator changes
4110 2003-04-28 André Pönitz <poenitz@gmx.net>
4112 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4115 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4117 * messages.C: remove one more localedir class variable.
4119 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4121 * messages.C (getLocaleDir): singleton generation function
4123 (Messages): add a default constructor.
4125 * main.C (main): do not setup localedir here, do not call
4128 * gettext.C (_): use it.
4129 (gettext_init): delete funciton
4131 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4133 * gettext.C (getLyXMessages): new singleton generating function.
4135 * buffer.C (updateDocLang): adjust
4137 * Makefile.am (messages.o): add target
4138 (main.o): remove target
4140 2003-04-27 John Levon <levon@movementarian.org>
4145 * lyxvc.C: specify cancel button in Alert::prompt
4147 2003-04-26 John Levon <levon@movementarian.org>
4152 * LyXAction.C: add LFUN_INSET_SETTINGS
4154 * lyxfunc.C: don't enable tabular-feature when there's
4155 just any locking inset
4157 2003-04-26 John Levon <levon@movementarian.org>
4159 * bufferlist.C: re-add Cancel to buffer close question
4161 * lyxfunc.C: fix import UI a bit
4163 2003-04-25 John Levon <levon@movementarian.org>
4165 * gettext.C: remove the broken asserts for now
4167 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4169 * messages.C: make case where setlocale cannot comply work better.
4171 * buffer.C (updateDocLang): new function
4172 (changeLanguage): use it
4175 * text2.C (setCounter): use B_ a bit.
4177 * lyxlayout.C (Read): be sure to trim the label strings.
4179 * messages.C (Messages): fix typo in comment
4181 * buffer.C (readFile): set message_ after file is loaded.
4182 (makeDocBookFile): remove double return
4183 (changeLanguage): reset message_ upon language change.
4184 (B_): new func, use this to get translated buffer strings.
4186 * main.C: add myself and Jean Marc as authors.
4188 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4190 * messages.[hC]: pimplify Messages, and three different pimpls to be
4191 used in different circumstances.
4193 * gettext.[Ch]: change for use with new message code.
4195 2003-04-24 André Pönitz <poenitz@gmx.net>
4197 * factory.C: support for eqref
4199 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4201 * messages.[Ch]: add missing char
4203 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4205 * messages.[Ch]: New files
4207 2003-04-18 John Levon <levon@movementarian.org>
4211 * BufferView_pimpl.C:
4215 * text2.C: remove layout-copy/paste (bug 778)
4217 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4219 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4221 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4223 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4224 if they succeed. Act accordingly.
4226 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4228 * text2.C (setCharFont): adjust
4229 (setCounter): adjust
4230 (insertStringAsLines): adjust
4232 * text.C (leftMargin): adjust
4233 (setHeightOfRow): adjust
4235 * rowpainter.C (paintFirst): adjust
4238 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4240 (isFirstInSequence): ditto
4241 (getEndLabel): ditto
4244 * paragraph.C (getParLanguage): comment out some hard stuff.
4246 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4248 (simpleDocBookOnePar): ditto
4249 (makeDocBookFile): use ParagraphList::iterator
4251 * CutAndPaste.C (pasteSelection): adjust
4253 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4255 * text2.C (getFont): adjust
4256 (getLayoutFont): adjust
4257 (getLabelFont): adjust
4259 * paragraph_funcs.C (TeXOnePar): adjust
4261 * buffer.C (simpleLinuxDocOnePar): adjust
4262 (simpleDocBookOnePar): adjust
4264 * CutAndPaste.C (pasteSelection): adjust
4266 * BufferView.C (getEncoding): adjust
4268 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4270 2003-04-16 John Levon <levon@movementarian.org>
4272 * lyxfind.C: use parlist stuff for search/changes
4274 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4276 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4278 * text2.C (deleteEmptyParagraphMechanism): adjust
4280 * text2.[Ch] (ownerParagraph): delete func (both of them
4282 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4284 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4286 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4288 * ParagraphList.C: prepare for NO_NEXT
4290 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4292 * text2.C (getFont): adjust
4293 (getLayoutFont): adjust
4294 (getLabelFont): adjust
4296 * paragraph.C (getFont): adjust
4297 (getLabelFont): adjust
4298 (getLayoutFont): adjust
4300 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4302 2003-04-15 John Levon <levon@movementarian.org>
4306 * lyx_main.C: handle Include in .ui files
4308 2003-04-15 John Levon <levon@movementarian.org>
4310 * MenuBackend.C: make the doc files length shorter
4313 * ToolbarBackend.C: handle toolbar placement flags,
4316 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4318 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4321 * paragraph_funcs.C (TeXOnePar): adjust
4323 * paragraph.C (getLabelFont): add outerfont arg, adjust
4324 (getLayoutFont): ditto
4325 (simpleTeXOnePar): adjust
4327 * paragraph_pimpl.C (realizeFont): delete func
4329 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4331 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4332 row argument, constify cur argument.
4334 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4336 * text2.C (getFont): adjust
4337 (getLayoutFont): adjust
4338 (getLabelFont): adjust
4340 * paragraph_funcs.C (TeXOnePar): adjust
4341 (outerFont): new func...
4342 (realizeFont): ...moved out from here, changed this to facilitate
4345 * paragraph.C (getFont): take outerfont as arg, adjust
4346 (simpleTeXOnePar): add outerfont arg, adjust
4348 * buffer.C (simpleLinuxDocOnePar): adjust
4349 (simpleDocBookOnePar): adjust
4351 * CutAndPaste.C (pasteSelection): adjust
4353 * BufferView.C (getEncoding): adjust
4355 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4357 * text2.C (setCharFont): adjust
4358 (setCounter): adjust
4360 * text.C (leftMargin): adjust
4361 (setHeightOfRow): adjust
4363 * rowpainter.C (paintFirst): adjust
4366 * paragraph_pimpl.C (realizeFont): adjust
4368 * paragraph.C (isFirstInSequence): move from here...
4369 * paragraph_funcs.C (isFirstInSequence): ...to here
4371 * paragraph.C (outerHook): move from here...
4372 * paragraph_funcs.C (outerHook): ...to here
4374 * paragraph.C (depthHook): move from here...
4375 * paragraph_funcs.C (depthHook): ...to here
4377 * paragraph.C (getEndLabel): move from here...
4378 * paragraph_funcs.C (getEndLabel): ...to here
4380 * text2.C (realizeFont): move from here...
4381 * paragraph_funcs.C (realizeFont): ...to here
4383 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4385 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4387 2003-04-14 Angus Leeming <leeming@lyx.org>
4389 * LColor.[Ch]: scrap LColor mathcursor.
4391 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4393 * lyxlex.[Ch] (text): delete function
4394 * trans.C (Load): adjust
4395 * paragraph_funcs.C (readParToken): adjust
4397 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4399 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4400 vector<char> instead of a char[].
4402 * lyxlex_pimpl.C (getString): adjust
4404 (lex): use getString
4408 * lyxlex.C (text): use pimpl_->getString()
4412 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4414 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4415 (makeFontEntriesLayoutSpecific): temp var for par.size()
4416 (setLayout): temp var for ownerParagraphs().end()
4417 (fullRebreak): temp var for rows().end()
4418 (selectionAsString): temp var for boost::next(startpit), realize
4419 that the while really is a regular for loop.
4420 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4421 setCursor in one place.
4422 (setParagraph): temp vr for ownerParagraphs().end()
4423 (updateCounters): make the while loop a for loop
4424 (cutSelection): temp var for ownerParagraphs().end()
4425 (updateInset): make the do {} while() a regular for loop
4426 (getCursorX): use temp vars
4427 (setCurrentFont): use temp vars
4428 (getColumnNearX): use temp vars
4430 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4432 * text.C (transformChar): use temp var for getChar
4433 (computeBidiTables): use temp var for row->par()
4434 (fill): move temp vars for row->par() and pit->layout() earlier in
4436 (labelFill): use temp var for row->par()
4437 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4438 asc and desc, realize that pit never changes and that firstpit is
4439 just a duplicate and not needed. Exchange rit->par() with pit in a
4441 (breakAgain): use a temp var for boost::next(rit)
4442 (breakAgainOneRow): ditto
4443 (breakParagraph): use a temp var for rows().begin()
4444 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4445 (cursorRightOneWord): use temp var for cursor.par() and
4446 cursor.pos(), remove usage of tmpcursor.
4447 (cursorLeftOneWord): use temp var for cursor.par() and
4448 cursor.pos() only set cur at end of function.
4450 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4452 * text.C, text2.C: exchange all usage of Paragraph::next with
4453 boost::next(ParagraphList::iterator)
4455 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4457 * text2.C (cursorTop): simplify implementation
4458 (cursorBottom): ditto
4459 (setParagraph): use ParagraphList::iterator
4460 (setCurrentFont): adjust
4461 (getColumnNearX): adjust
4462 (cursorRight): adjust
4463 (cursorLeft): remove usage of Paragraph::previous
4464 (cursorUpParagraph): ditto
4465 (deleteEmptyParagraphMechanism): slight cleanup
4467 * text.C (isBoundary): take a Paragraph const & instead of a
4469 (addressBreakPoint): ditto
4470 (leftMargin): remove usage of Paragraph::previous.
4471 (setHeightOfRow): ditto
4472 (cursorLeftOneWord): ditto
4473 (selectNextWordToSpellcheck): ditto
4476 (breakParagraph): remove one usage of Paragraph::next
4477 (redoParagraph): ditto
4478 (acceptChange): ditto
4479 (insertChar): adjust
4480 (rowBreakPoint): adjust
4482 * bufferview_funcs.C (toggleAndShow): adjust
4484 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4486 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4487 methods to access it.
4489 * text.C: Added updateRowPositions to compute all row positions.
4490 Make top_y and getRowNearY() to use the cached y position
4492 2003-04-11 John Levon <levon@movementarian.org>
4494 * text.C (rowBreakPoint): reintroduce the labelEnd
4495 checks, code copied from the row fill stuff. Deep voodoo.
4497 * text.C (fill): add a comment and debugging for the
4500 2003-04-11 John Levon <levon@movementarian.org>
4502 * text.C: make sure fullrow insets get wrapped to the next line,
4503 even when they're in a manual label
4505 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4507 * text2.C (insertParagraph): make it take ParagraphList::iterator
4509 (setLayout): make it return ParagraphList::iterator
4510 (redoParagraphs): ditto
4512 (checkParagraph): ditto
4514 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4516 * text2.C: adjust several funcs.
4517 (realizeFont): take a ParagraphList::iterator as arg.
4518 (getLayoutFont): ditto
4519 (getLabelFont): ditto
4520 (setCharFont): ditto
4522 * text.C: adjust several funcs.
4524 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4526 * text.C (selectNextWordToSpellcheck): don't accidentally
4529 2003-04-10 John Levon <levon@movementarian.org>
4531 * ToolbarBackend.C (getIcon): special handling for
4534 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4536 * text2.C (cursorRight): a getChar assert fixed
4538 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4540 * text2.C (getFont): change to take a ParagraphList::iterator
4541 instead of Paragraph*
4542 Adjust several functions.
4544 * text.C (transformChar): change to take a ParagraphList::iterator
4545 instead of Paragraph*
4546 (singleWidth): ditto
4547 Adjust several functions.
4549 * rowpainter.C: adjust several functions
4550 * rowpainter.h:store a ParagraphList::iterator and not a
4554 2003-04-09 John Levon <levon@movementarian.org>
4559 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4560 and the "help" bits as well
4562 2003-04-09 John Levon <levon@movementarian.org>
4565 * ToolbarBackend.C: allow multiple toolbars
4567 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4569 * undo_funcs.C (setCursorParUndo): adjust
4571 * text_funcs.C (transposeChars): adjust
4573 * text3.C (gotoNextInset): adjust
4576 * text2.C (setLayout): adjust
4577 (changeDepth): adjust
4579 (redoParagraphs): adjust
4580 (selectionAsString): adjust
4581 (setParagraph): adjust
4582 (insertInset): adjust
4583 (cutSelection): adjust
4584 (copySelection): adjust
4585 (pasteSelection): adjust
4586 (insertStringAsLines): adjust
4587 (updateInset): adjust
4588 (setCursor): change to take a ParagraphList::iterator parameter
4589 (setCursorIntern): change to take a ParagraphList::iterator parameter
4590 (setCurrentFont): adjust
4591 (cursorLeft): adjust
4592 (cursorRight): adjust
4593 (deleteEmptyParagraphMechanism): adjust
4595 * text.C (breakParagraph): adjust
4596 (insertChar): adjust
4597 (acceptChange): adjust
4598 (rejectChange): adjust
4599 (selectNextWordToSpellcheck): adjust
4600 (changeCase): adjust
4604 * lyxfind.C (SearchForward): adjust
4605 (SearchBackward): adjust
4606 (nextChange): adjust
4608 * lyxcursor.C (par): adjust
4610 * lyxcursor.h: store a ParagraphList::iterator instead of a
4613 * lyx_cb.C (getPossibleLabel): adjust
4615 * bufferview_funcs.C (toggleAndShow): adjust
4617 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4620 * BufferView.C (removeAutoInsets): adjust
4621 (lockedInsetStoreUndo): adjust
4623 2003-04-09 John Levon <levon@movementarian.org>
4625 * ToolbarBackend.C: try icon without argument
4626 if with argument fails
4628 2003-04-08 John Levon <levon@movementarian.org>
4631 * ToolbarBackend.C: add getIcon(), handle tooltip,
4632 and change from "Icon" to "Item".
4634 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4636 * BufferView.C (lockInset): another bad getchar crunched
4638 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4640 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4643 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4645 * lyxfind.C (searchForward, searchBackwards): bug 782
4647 2003-04-07 John Levon <levon@movementarian.org>
4649 * paragraph.C: remove dead comment
4651 * text.C: remove troublesome depth-fiddling code
4652 in leftMargin() and rightMargin() (bug 1017)
4654 * text.C: fix breaking of rows in nested lists
4657 * text2.C (updateCounters): fix up depth values
4660 2003-04-07 John Levon <levon@movementarian.org>
4662 * BufferView_pimpl.C: clear message when doc finishes resizing,
4663 and after a mouse event
4665 * lyxfunc.C: clear message after exiting inset
4667 2003-04-07 John Levon <levon@movementarian.org>
4669 * bufferview_funcs.C: show math status not outside
4670 status in the statusbar
4672 2003-04-07 John Levon <levon@movementarian.org>
4674 * lyxfunc.C: note status changed after a depth change
4676 2003-04-04 Angus Leeming <leeming@lyx.org>
4678 * LaTeX.h: move AuxInfo operator==, != out of line.
4679 Remove LaTeX virtual destructor; nothing derives from it.
4680 Move operator()() out of public area and rename it startscript().
4681 Change protected for private.
4683 2003-04-04 Angus Leeming <leeming@lyx.org>
4686 * text2.C: remove unneeded #includes.
4688 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4690 * text2.C (dEPM): fix the heigth of the next row
4692 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4694 * text.C: squashed an invalid getChar requester + some ws changes
4696 2003-04-03 John Levon <levon@movementarian.org>
4698 * bufferview_funcs.h:
4699 * bufferview_funcs.C:
4702 * text2.C: make getStatus work for the env depth lfuns
4704 2003-04-03 John Levon <levon@movementarian.org>
4706 * bufferview_funcs.h:
4707 * bufferview_funcs.C:
4710 * text2.C: parlistize decDepth(), by merging it with incDepth()
4712 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4714 * lyxrow.h: store a ParagraphList::iterator instead of a
4715 Paragraph* and adjust other class functions to suit.
4717 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4720 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4722 * text2.C (setCursor): do not anchor to cursor row for the time being
4724 2003-04-02 John Levon <levon@movementarian.org>
4731 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4733 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4735 * paragraph.h: make ParagraphList and ParagraphList::iterator
4736 friends of Paragraph.
4738 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4740 * ParagraphList.C: Use the private next_ and previous_ from
4743 2003-04-01 John Levon <levon@movementarian.org>
4747 * Makefile.am: rename, remove defaults gunk
4750 * MenuBackend.C: remove defaults gunk
4753 * Languages.C: remove defaults gunk
4756 * lyx_main.C: error out if files couldn't be found.
4758 2003-04-02 John Levon <levon@movementarian.org>
4760 * text2.C: make incDepth() use parlist
4762 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4764 * undo_funcs.C (firstUndoParagraph): adjust
4766 * text3.C (gotoInset): adjust
4767 (dispatch): adjust, and rewrite loop.
4769 * text2.C (init): adjust, and rewrite loop.
4770 (redoParagraphs): adjust
4771 (updateInset): adjust, and rewrite loop.
4772 (deleteEmptyParagraphMechanism): adjust
4774 * tabular.C (LyXTabular): adjust
4775 (SetMultiColumn): adjust
4778 * lyxtext.[Ch] (ownerParagraph): delete function
4779 (ownerParagraphs): new function returns a ParagraphList.
4781 * BufferView.C (removeAutoInsets): adjust
4782 (insertErrors): adjust
4783 (setCursorFromRow): adjust
4785 2003-04-01 Angus Leeming <leeming@lyx.org>
4787 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4790 2003-04-02 John Levon <levon@movementarian.org>
4796 * text_funcs.C: make transposeChars a free function
4798 * lyxrow_funcs.C: remove wrong comment
4800 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4803 * rowpainter.C: adjust
4808 * lyxrow_funcs. [Ch]: new files
4810 * lyxrow.[Ch]: remove next and previous pointers
4811 (next,previous): remove accessor functions
4812 (isParEnd): move to lyxrow_funcs
4813 (lastPos): move to lyxrow_funcs
4814 (nextRowIsAllInset): move to lyxrow_funcs
4815 (lastPrintablePos): move to lyxrow_funcs
4816 (numberOfSeparators): move to lyxrow_funcs
4817 (numberOfHfills): move to lyxrow_funcs
4818 (numberOfLabelHfills): move to lyxrow_funcs
4819 (hfillExpansion): move to lyxrow_funcs
4823 * bufferview_funcs.C (toggleAndShow): adjust
4825 * RowList.h: Remove class RowList from file leave just a
4828 * RowList.C: delete file
4830 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4833 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4835 * text3.C (cursorPrevious): adjust
4836 (cursorNext): adjust
4839 * text2.C (redoHeightOfParagraph): adjust
4840 (redoDrawingOfParagraph): adjust
4843 * text.C (breakParagraph): adjust
4844 (insertChar): adjust
4847 * rowpainter.C (RowPainter): adjust
4848 (leftMargin): simplify and adjust
4849 (most rowpainter functions): adjust.
4851 * rowpainter.h: store the row as RowList::iterator not as Row*
4853 * lyxcursor.C (row): taka RowList::iterator as arg
4856 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4859 2003-04-01 Angus Leeming <leeming@lyx.org>
4861 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4862 stuff like bool Bool.
4864 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4866 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4869 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4871 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4874 * lyxtext.h (rows): drop one version and leve a const variant that
4875 returns a RowList::iterator.
4877 2003-03-31 Angus Leeming <leeming@lyx.org>
4879 * text.C (fill): ensure that the signature is the same as that in the
4882 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4884 * text2.C (redoParagraphs): adjust
4885 (updateCounters): adjust
4886 (checkParagraph): adjust
4887 (getColumnNearX): adjust and reformat a bit.
4889 * text.C (top_y): adjust
4891 (leftMargin): adjust
4892 (prepareToPrint): adjust
4894 (getRowNearY): adjust
4896 * lyxtext.h: make rowlist_ mutable.
4898 * RowList.h: add const_iterator
4899 * RowList.C: adjust for RowList::const_iterator.
4901 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4904 2003-03-31 John Levon <levon@movementarian.org>
4907 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4909 * lyx_main.C: set default fonts from using lyx_gui funcs
4911 * exporter.C: pdf_mode moved from lyxrc
4914 * lyxfunc.C: changes from above
4916 2003-03-31 John Levon <levon@movementarian.org>
4918 * lyx_main.C: fix to the last fix
4920 2003-03-31 John Levon <levon@movementarian.org>
4922 * bufferlist.C: "Load original" -> "Load Original"
4928 * format.C: more Alert cleanups
4930 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4932 * text2.C (removeParagraph): make it take a RowList::iterator as
4934 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4935 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4937 * text.C (anchor_row): make it take a RowList::iterator as arg,
4939 (computeBidiTables): make it take a const reference to Row instead
4940 of Row pointer, adjust.
4941 (leftMargin): make it take a RowList::iterator as arg, adjust.
4942 (rowBreakPoint): adjust
4943 (breakAgainOneRow): make it take a RowList::iterator as arg,
4945 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4947 * bufferview_funcs.C (toggleAndShow): adjust
4949 2003-03-30 John Levon <levon@movementarian.org>
4953 * boost-inst.C: moved to support
4955 * several files: changes as a result
4957 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4959 * text2.C (LyXText): adjust.
4961 (removeRow): make it take a RowList::iterator as arg, adjust.
4962 (fullRebreak): adjust
4963 (deleteEmptyParagraphMechanism): adjust
4964 (clearPaint): adjust
4967 * text.C (top_y): adjust
4968 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4969 (breakAgain): make it take a RowList::iterator as arg, adjust.
4970 (breakParagraph): adjust
4971 (insertChar): adjust
4974 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4975 need_break_row, and refresh_row.
4977 * text3.C (dispatch): adjust
4979 * text2.C (checkParagraph): adjust
4981 (setCursorFromCoordinates): adjust
4983 * text.C (top_y): adjust
4985 (getRow): make it return a RowList::iterator, adjust
4986 (getRowNearY): make it return a RowList::iterator, adjust
4988 * text2.C (init): adjust
4989 (insertRow): remove function
4990 (insertParagraph): adjust
4991 (redoParagraphs): adjust
4992 (fullRebreak): adjust
4993 (updateCounters): adjust
4995 * text.C (top_y): rewrite to use RowList iterators.
4997 (setHeightOfRow): rewrite to sue RowList iterators.
4998 (appendParagraph): adjust
4999 (breakAgain): adjust
5000 (breakAgainOneRow): adjust
5001 (breakParagraph): adjust
5003 (getRowNearY): adjust, and remove commented code.
5005 * lyxtext.h (firstRow): delete function
5006 (lastRow): delete function
5007 (rows): new function (const and non-const versions.)
5008 (insertRow): delete function
5010 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5012 2003-03-29 John Levon <levon@movementarian.org>
5014 * BufferView_pimpl.C: always update scrollbar top
5015 because pasting text when we're anchored could mean we
5016 miss an update altogether
5018 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5020 * text2.C (init): use rowlist_.end() and not 0.
5021 (insertRow): change to take a RowList::iterator as arg, adjust
5023 (insertParagraph): change to take a RowList::iterator as arg,
5025 (redoParagraphs): remove some debug msgs.
5027 * text.C (appendParagraph): change to take a RowList::iterator
5028 arg, adjust for this.
5029 (breakAgain): add an assert
5030 (breakAgainOneRow): ditto
5032 2003-03-29 John Levon <levon@movementarian.org>
5034 * text2.C: do not clear selection after inc/decDepth
5037 2003-03-29 John Levon <levon@movementarian.org>
5040 * buffer.C: fix broken strerrors according to Lars
5042 2003-03-29 John Levon <levon@movementarian.org>
5044 * converters.C: more Alert cleanups
5046 2003-03-29 John Levon <levon@movementarian.org>
5048 * bufferview_funcs.C: remove pointless Alert
5050 * buffer.C: fix confusing error message when
5051 a template is chmoded 000
5053 2003-03-29 John Levon <levon@movementarian.org>
5057 * BufferView_pimpl.C: Alert fixes
5061 * tabular-old.C: remove unused table compat reading
5063 2003-03-29 John Levon <levon@movementarian.org>
5068 * lyx_cb.C: more Alert cleanups
5070 * lyxfunc.C: don't allow chktex if not latex document
5072 2003-03-29 John Levon <levon@movementarian.org>
5076 * buffer.C: warnings pushed down from support/,
5079 2003-03-29 John Levon <levon@movementarian.org>
5081 * lyxfunc.C: safety check for C-r (revert)
5083 2003-03-29 John Levon <levon@movementarian.org>
5086 * bufferlist.C: several UI fixes using Alert::prompt.
5087 Fix the pointless looping quit code. Fix stupid revert
5092 * lyx_cb.C: use Alert::prompt
5094 * lyx_main.C: remove a silly question
5096 * lyxfunc.C: remove a couple of silly questions,
5099 2003-03-28 John Levon <levon@movementarian.org>
5101 * text2.C: fix bug 974 (End on empty par)
5103 2003-03-28 John Levon <levon@movementarian.org>
5105 * BufferView_pimpl.C:
5107 * lfuns.h: remove do-nothing math greek lfuns
5109 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5111 * lyxgluelength.h (isValidGlueLength): add default arg on
5112 parameter 2. Remove default arg from friend in class.
5114 * lyxlength.h (isValidLength): add default arg on parameter 2.
5115 Remove default arg from friend in class.
5117 * text2.C (LyXText): adjust, initialize refresh_row.
5121 (insertParagraph): adjst
5122 (redoParagraphs): adjust
5123 (fullRebreak): adjust
5124 (updateCounters): adjust
5125 (deleteEmptyParagraphMechanism): first attempt at fixing a
5128 * text.C (top_y): adjust
5129 (setHeightOfRow): adjust
5131 (getRowNearY): adjust
5133 * lyxtext.h: include RowList.h
5134 (~LyXText): not needed anymore, deleted.
5135 (firstRow): modify for RowList
5136 (lastRow): new function
5137 Delete firstrow and lastrow class variables, add a Rowlist
5138 rowlist_ class variable.
5140 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5143 * RowList.C (insert): fix case where it == begin().
5145 2003-03-26 Angus Leeming <leeming@lyx.org>
5147 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5148 the thesaurus dialog.
5150 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5152 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5154 * RowList.[Ch]: new files
5156 * ParagraphList.C (erase): handle the case where it == begin
5159 2003-03-25 John Levon <levon@movementarian.org>
5163 * aspell.C: add new aspell support
5166 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5169 2003-03-25 Angus Leeming <leeming@lyx.org>
5172 * LyXAction.C (init): new LFUN_INSET_INSERT.
5174 * BufferView_pimpl.C (dispatch): split out part of the
5175 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5177 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5180 2003-03-25 Angus Leeming <leeming@lyx.org>
5182 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5184 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5187 * text3.C: remove useless row->height(0)
5189 2003-03-25 John Levon <levon@movementarian.org>
5193 * text3.C: rename the refreshing stuff to better names
5195 2003-03-24 John Levon <levon@movementarian.org>
5197 * BufferView_pimpl.h:
5198 * BufferView_pimpl.C: update layout choice on a mouse
5201 2003-03-23 John Levon <levon@movementarian.org>
5203 * Makefile.am: fix commandtags.h reference
5205 2003-03-22 John Levon <levon@movementarian.org>
5207 * BufferView_pimpl.C:
5212 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5214 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5217 * text.C: take the rtl methods out of line
5219 2003-03-21 André Pönitz <poenitz@gmx.net>
5221 * metricsinfo.[Ch]: new files containing structures to be passed around
5222 during the two-phase-drawing...
5224 2003-03-21 André Pönitz <poenitz@gmx.net>
5226 * lyxtextclass.C: read 'environment' tag.
5228 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5230 * text2.C (removeRow): fix bug 964
5232 2003-03-20 John Levon <levon@movementarian.org>
5236 * text2.C: paint cleanups. Inset::update() dropped font
5239 2003-03-19 John Levon <levon@movementarian.org>
5241 * lyxfunc.C: only fitcursor/markDirty if available()
5243 2003-03-19 John Levon <levon@movementarian.org>
5245 * commandtags.h: rename to ...
5247 * lfuns.h: ... this, and renumber / cleanup
5249 2003-03-19 John Levon <levon@movementarian.org>
5251 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5252 fit the cursor after an lfun
5256 * BufferView_pimpl.h:
5257 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5259 * LyXAction.C: layout-character should have ReadOnly
5261 * ParagraphParameters.C:
5263 * bufferview_funcs.C:
5270 * undo_funcs.C: changes from above
5272 2003-03-18 John Levon <levon@movementarian.org>
5274 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5275 remove it from update()
5277 * lyxfunc.C: update layout choice after an lfun
5279 * text3.C: remove extra updateLayoutChoice()s
5281 2003-03-18 John Levon <levon@movementarian.org>
5283 * text.C: top_y change means full repaint, fix
5284 a drawing bug with cursor movement
5286 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5290 * text2.C: anchor row on setCursor
5292 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5294 * lyxtext.h: remove almost all mutable keywords
5297 * text3.C: remove const keywords accordingly
5299 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5301 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5303 (TeXEnvironment): ditto
5306 2003-03-17 John Levon <levon@movementarian.org>
5308 * text.C (rowBreakPoint): remove attempt to fix displayed
5309 math insets inside a manual label
5311 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5313 * lyxtext.h: remove BufferView* as first arg from almost all class
5315 * other files: adjust.
5317 2003-03-17 John Levon <levon@movementarian.org>
5321 * text2.C: more paint cleanups
5323 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5326 * rowpainter.C: remove "smart" background painting code
5328 2003-03-16 John Levon <levon@movementarian.org>
5333 * text3.C: add helper functions for setting refresh_row/y
5335 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5337 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5338 newline inset which *can* get inserted in the pass_thru layouts.
5339 This is primarily for literate documents.
5341 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5343 * buffer.C: increment LYX_FORMAT to 223
5345 2003-03-14 André Pönitz <poenitz@gmx.net>
5347 * textclass.h: prepare for environment handling, ws changes
5348 * lyxlayout.C: read latexheader and latexfooter tags
5350 2003-03-14 John Levon <levon@movementarian.org>
5352 * text2.C: rewrite ::status() a bit
5354 2003-03-13 John Levon <levon@movementarian.org>
5356 * lyxtext.h: add some docs
5358 2003-03-13 John Levon <levon@movementarian.org>
5363 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5365 2003-03-13 John Levon <levon@movementarian.org>
5367 * text3.C: fix appendix redrawing
5369 2003-03-13 John Levon <levon@movementarian.org>
5371 * text.C (setHeightOfRow):
5373 * rowpainter.C: make appendix mark have the text
5374 "Appendix" so the user knows what it is
5377 * LColor.C: s/appendixline/appendix/ from above
5379 2003-03-13 John Levon <levon@movementarian.org>
5381 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5383 * text.C: fix a getChar(pos) bug properly
5385 2003-03-13 Angus Leeming <leeming@lyx.org>
5388 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5389 Probably only temporary. Let's see how things pan out.
5391 * BufferView.C (unlockInset):
5392 * BufferView_pimpl.C (fitCursor):
5393 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5395 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5396 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5398 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5399 new functions that convert ParagraphParameters to and from a string.
5401 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5402 BufferView::Pimpl's dispatch.
5403 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5405 2003-03-13 André Pönitz <poenitz@gmx.net>
5409 * factory.C: make it aware of InsetEnv
5411 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5413 * text2.C (setCursor): never ask for one past last
5414 (setCursor): add some debugging messages.
5416 * text.C (singleWidth): never ask for one past last
5417 (singleWidth): ditto
5419 (rightMargin): ditto
5420 (rowBreakPoint): ditto
5421 (setHeightOfRow): ditto
5422 (prepareToPrint): ditto
5424 * rowpainter.C (paintBackground): never ask for one past last
5425 (paintText): never ask for one past last
5427 * paragraph_pimpl.C (getChar): make the assert stricter, never
5428 allow the one past last pos to be taken
5430 * paragraph.C (getChar): ws changes only
5432 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5433 (numberOfSeparators): ditto
5434 (numberOfHfills): ditto
5436 2003-03-12 John Levon <levon@movementarian.org>
5442 * paragraph_funcs.C: fix per-buffer authorlists
5444 2003-03-12 John Levon <levon@movementarian.org>
5446 * text.C: fix newline in right address
5448 2003-03-12 Angus Leeming <leeming@lyx.org>
5450 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5451 duplicate those in LyXFunc::dispatch.
5455 * ToolbarDefaults.C:
5456 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5457 Add LFUN_FONTFREE_UPDATE.
5459 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5460 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5462 * bufferview_func.[Ch]: several new functions to facilliate
5463 transfer of data to and from the character dialog.
5465 2003-03-12 John Levon <levon@movementarian.org>
5470 * paragraph_funcs.C:
5471 * paragraph_pimpl.C:
5475 * text3.C: remove META_NEWLINE in favour of an inset
5478 * rowpainter.C: remove paintNewline (done by inset)
5480 2003-03-12 John Levon <levon@movementarian.org>
5482 * paragraph_pimpl.C: complain about bad getChar()s
5483 for a while at least
5485 2003-03-12 John Levon <levon@movementarian.org>
5488 * buffer.C: move paragraph read into a separate function,
5489 a little renaming to reflect that.
5492 * bufferparams.C: remove the author_ids map, not necessary now
5495 * factory.C: moved Buffer::readInset to here
5497 * paragraph_funcs.h:
5498 * paragraph_funcs.C: readParagraph free function moved from
5501 * tabular.C: name change
5503 2003-03-12 John Levon <levon@movementarian.org>
5506 * ParagraphParameters.C: move par params input to
5509 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5510 behave like a normal read from the stream wrt reading
5511 a line vs. a \\token
5513 2003-03-12 John Levon <levon@movementarian.org>
5516 * ParagraphParameters.h:
5517 * ParagraphParameters.C: move output code to a
5520 2003-03-12 John Levon <levon@movementarian.org>
5522 * BufferView.C (insertLyXFile):
5525 * tabular.C: use a parlist iterator for creating the
5528 2003-03-12 John Levon <levon@movementarian.org>
5530 * buffer.C: make current_change static local not
5533 2003-03-12 John Levon <levon@movementarian.org>
5535 * buffer.C: fix insertStringAsLines for change tracking
5537 2003-03-12 John Levon <levon@movementarian.org>
5544 * bufferparams.C: move author list into params. Rename some
5545 functions. Move the header reading into a separate token
5546 loop. Move the header token reading into BufferParams.
5548 2003-03-12 John Levon <levon@movementarian.org>
5550 * changes.C: put debug inside lyxerr.debugging() checks
5552 2003-03-11 André Pönitz <poenitz@gmx.net>
5554 * factory.C: make it aware of InsetHFill
5556 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5558 * buffer.C (latexParagraphs): move function from here...
5559 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5562 2003-03-10 Angus Leeming <leeming@lyx.org>
5564 * LyXAction.C (init): fix bug in poplating array with multiple entries
5565 with the same LFUN (spotted by JMarc).
5567 2003-03-10 John Levon <levon@movementarian.org>
5570 * text2.C: move getColumnNearX() near its
5573 2003-03-10 John Levon <levon@movementarian.org>
5575 * text.C: fix break before a minipage
5577 2003-03-10 John Levon <levon@movementarian.org>
5579 * text.C: fix the last commit
5581 2003-03-09 John Levon <levon@movementarian.org>
5585 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5586 bug 365 (don't break before insets unless needed). Don't
5587 return a value > last under any circumstances.
5589 2003-03-09 Angus Leeming <leeming@lyx.org>
5591 * BufferView_pimpl.C (trackChanges, dispatch): call
5592 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5594 2003-03-09 Angus Leeming <leeming@lyx.org>
5596 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5597 than Dialogs::showAboutlyx().
5599 2003-03-09 Angus Leeming <leeming@lyx.org>
5601 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5602 than Dialogs::showTabularCreate().
5604 2003-03-09 John Levon <levon@movementarian.org>
5608 * text2.C: 3rd arg to nextBreakPoint was always the same.
5611 2003-03-08 John Levon <levon@movementarian.org>
5618 * text2.C: Remove the "main" bit from the "main body"
5621 2003-03-08 John Levon <levon@movementarian.org>
5623 * text.C (leftMargin): The left margin of an empty
5624 manual label paragraph should not include the label width
5627 * text.C (prepareToPrint): don't attempt to measure hfills
5628 for empty manual label paragraphs - the answer should be 0
5630 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5632 * CutAndPaste.C: remove commented code and reindent.
5634 2003-03-08 John Levon <levon@movementarian.org>
5637 * lyxfunc.C: move reloadBuffer()
5640 * BufferView.C: to here
5642 * lyxvc.C: add comment
5645 * vc-backend.C: call bv->reload() to avoid
5646 getStatus() check on MENURELOAD
5648 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5650 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5651 to an old format .dep file.
5653 2003-03-07 Angus Leeming <leeming@lyx.org>
5655 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5656 when the LFUN_MOUSE_RELEASE should have been handled by
5657 inset->localDispatch.
5659 2003-03-07 Angus Leeming <leeming@lyx.org>
5661 * BufferView_pimpl.C (dispatch):
5662 * LyXAction.C (init):
5663 * ToolbarDefaults.C (init):
5665 * lyxfunc.C (getStatus):
5666 remove LFUN_INSET_GRAPHICS.
5668 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5670 2003-03-07 Angus Leeming <leeming@lyx.org>
5673 * LyXAction.C (init):
5674 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5676 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5679 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5681 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5682 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5684 2003-03-07 Angus Leeming <leeming@lyx.org>
5686 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5689 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5691 * ParagraphList.C (front): new function
5694 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5696 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5697 and top_row_offset_. removed var first_y.
5699 * text2.C (LyXText, removeRow):
5701 * BufferView_pimpl.C:
5702 use these methods instead of using first_y
5704 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5706 * text2.C (pasteSelection): adjust for checkPastePossible
5708 * CutAndPaste.C: remove Paragraph * buf and replace with
5709 ParagraphList paragraphs.
5710 (DeleteBuffer): delete
5711 (cutSelection): change the tc type to textclass_type
5712 (copySelection): change the tc type to textclass_type
5713 (copySelection): adjust for ParagraphList
5714 (pasteSelection): change the tc type to textclass_type
5715 (pasteSelection): adjust for Paragraphlist
5716 (nrOfParagraphs): simplify for ParagraphList
5717 (checkPastePossible): simplify for ParagraphList
5718 (checkPastePossible): remove unused arg
5720 * ParagraphList.C (insert): handle the case where there are no
5723 * CutAndPaste.h: make CutAndPaste a namespace.
5725 * text3.C (dispatch): adjust
5727 * text.C (breakParagraph): add a ParagraphList as arg
5729 * paragraph_funcs.C (breakParagraph): change to take a
5730 BufferParams and a ParagraphList as args.
5731 (breakParagraphConservative): ditto
5732 (mergeParagraph): ditto
5733 (TeXDeeper): add a ParagraphList arg
5734 (TeXEnvironment): ditto
5737 * buffer.C (readLyXformat2): adjust
5738 (insertStringAsLines): adjust
5739 (latexParagraphs): adjust
5741 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5742 (cutSelection): adjust
5743 (pasteSelection): adjust
5745 * BufferView_pimpl.C (insertInset): adjust
5747 2003-03-05 Angus Leeming <leeming@lyx.org>
5750 * LyXAction.C (init):
5751 * BufferView_pimpl.C (dispatch):
5752 * lyxfunc.C (getStatus):
5753 remove LFUN_CHILD_INSERT.
5755 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5757 2003-03-05 Angus Leeming <leeming@lyx.org>
5760 * LyXAction.C (init):
5761 * src/factory.C (createInset):
5762 * lyxfunc.C (getStatus):
5763 * text3.C (dispatch):
5764 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5766 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5768 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5770 * ParagraphList.C (insert): handle insert right before end()
5771 (erase): fix cases where it can be first or last paragraph.
5773 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5775 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5776 Paragraph::next and Paragraph::previous
5779 * text.C (breakParagraph): adjust
5781 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5782 BufferParams& as arg.
5783 (breakParagraph): use ParagraphList::insert
5784 (breakParagraphConservative): take a Buffer* instead of a
5785 BufferParams& as arg.
5786 (breakParagraphConservative): use ParagraphList::insert.
5788 * buffer.C (insertStringAsLines): un-const it
5789 (insertStringAsLines): adjust
5791 * ParagraphList.C (insert): new function
5793 * CutAndPaste.C (pasteSelection): adjust
5795 * text.C (backspace): adjust
5797 * tabular.C (SetMultiColumn): adjust
5799 * CutAndPaste.C (cutSelection): adjust
5800 (pasteSelection): adjust
5802 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5803 Buffer const * as arg
5805 * ParagraphList.C (erase): new function
5806 * paragraph_funcs.C (mergeParagraph): use it
5807 (mergeParagraph): make it take a Buffer* instead of a
5808 BufferParams* as arg
5810 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5812 (breakParagraphConservative): ditto
5814 * paragraph.h: remove the breakParagraph friend
5816 * paragraph.C (eraseIntern): new function
5817 (setChange): new function
5819 * paragraph_funcs.C (mergeParagraph): make it take a
5820 ParagraphList::iterator instead of a Paragraph *, adjust
5823 * paragraph.h: move an #endif so that the change tracking stuff
5824 also works in the NO_NEXT case.
5826 2003-03-04 Angus Leeming <leeming@lyx.org>
5829 * LyXAction.C: new LFUN_INSET_MODIFY.
5831 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5832 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5834 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5836 * several files: ws changes only
5838 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5839 (TeXEnvironment): ditto
5842 * buffer.C (makeLaTeXFile): adjust
5843 (latexParagraphs): make it take ParagraphList::iterator as args
5845 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5847 * buffer.C (latexParagraphs): adjust
5849 * paragraph.C (TeXOnePar): move function...
5850 (optArgInset): move function...
5851 (TeXEnvironment): move function...
5852 * paragraph_pimpl.C (TeXDeeper): move function...
5853 * paragraph_funcs.C: ...here
5855 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5857 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5859 * buffer.C (readInset): remove compability code for old Figure and
5862 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5864 * buffer.C: ws changes
5867 * BufferView_pimpl.C: ditto
5870 * bufferlist.h: ditto
5874 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5876 * converter.[Ch]: split into itself +
5879 * Makefile.am: += graph.[Ch] + format.[Ch]
5886 * lyxrc.C: added #include "format.h"
5888 2003-02-27 Angus Leeming <leeming@lyx.org>
5890 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5893 * factory.C (createInset): add "label" to the factory.
5895 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5896 string and do no more.
5898 2003-02-27 Angus Leeming <leeming@lyx.org>
5901 * LyXAction.C (init):
5902 * factory.C (createInset):
5903 * BufferView_pimpl.C (dispatch):
5904 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5906 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5908 * lyxfunc.C (dispatch):
5909 * text3.C (dispatch): pass name to params2string.
5911 2003-02-26 Angus Leeming <leeming@lyx.org>
5913 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5915 Rearrange the ~includes. Strip out the unnecessary ones.
5917 * factory.C (createInset): reformat.
5918 create new insets for the various LFUN_XYZ_APPLY lfuns.
5920 2003-02-26 John Levon <levon@movementarian.org>
5923 * lyxrow.C: add isParStart,isParEnd helpers
5925 * paragraph.h: make isInserted/DeletedText take refs
5927 * paragraph_funcs.h:
5928 * paragraph_funcs.C: remove #if 0'd code
5933 * text.C: use lyxrow helpers above.
5934 Move draw and paint routines to RowPainter.
5935 Make several methods use refs not pointers.
5936 Make backgroundColor() const.
5937 Add markChangeInDraw(), isInInset().
5938 Merge changeRegionCase into changeCase.
5939 Make workWidth() shouldn't-happen code into an Assert.
5942 * rowpainter.C: new class for painting a row.
5945 * vspace.C: make inPixels take a ref
5947 2003-02-26 Angus Leeming <leeming@lyx.org>
5949 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5952 2003-02-25 John Levon <levon@movementarian.org>
5954 * ispell.C: give the forked command a more accurate name
5956 2003-02-22 John Levon <levon@movementarian.org>
5959 * toc.C: make TocItem store an id not a Paragraph *
5962 2003-02-21 Angus Leeming <leeming@lyx.org>
5964 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5965 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5966 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5967 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5968 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5969 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5971 * BufferView_pimpl.C (dispatch):
5972 * LyXAction.C (init):
5973 * factory.C (createInset):
5974 * lyxfunc.C (getStatus, dispatch):
5975 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5977 2003-02-21 Angus Leeming <leeming@lyx.org>
5979 * BufferView_pimpl.C (MenuInsertLyXFile):
5980 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5981 * lyxfunc.C (menuNew, open, doImport):
5982 no longer pass a LyXView & to fileDlg.
5984 2003-02-21 Angus Leeming <leeming@lyx.org>
5986 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5987 * LyXAction.C: change, BIBKEY to BIBITEM.
5988 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5989 Change InsetBibKey to InsetBibitem.
5990 Change BIBKEY_CODE to BIBITEM_CODE.
5991 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5992 * factory.C: replace insetbib.h with insetbibitem.h.
5993 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5994 * paragraph.C: replace insetbib.h with insetbibitem.h.
5995 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5996 Change bibkey() to bibitem().
5997 * text.C: remove insetbib.h.
5998 * text2.C: replace insetbib.h with insetbibitem.h.
5999 change bibkey() to bibitem().
6000 * text3.C: remove insetbib.h.
6001 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6003 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6005 * lyxrc.C (output): enclose user email in quotes (in case there are
6008 2003-02-18 John Levon <levon@movementarian.org>
6010 * buffer.h: add std::
6012 2003-02-17 John Levon <levon@movementarian.org>
6018 * pspell.C: reworking. Especially in ispell, a large
6019 number of clean ups and bug fixes.
6021 * lyxfunc.C: fix revert to behave sensibly
6023 2003-02-17 André Pönitz <poenitz@gmx.net>
6026 * commandtags.h: new LFUN_INSERT_BIBKEY
6036 * paragraph_func.C: remove special bibkey handling
6038 2003-02-17 John Levon <levon@movementarian.org>
6040 * text.C (Delete): fix case where delete at the end of
6041 the very first paragraph would not merge the pars
6043 2003-02-17 John Levon <levon@movementarian.org>
6045 * lyxrow.C: fix lastPrintablePos()
6047 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6049 * bufferparams.C (writeLaTeX): add a std:here
6051 * buffer.C: and remove a using directive there
6053 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6055 * buffer.C (makeLaTeXFile): move the code that generates the
6058 * bufferparams.C (writeLaTeX): ... in this new method
6060 * LaTeXFeatures.C (getEncodingSet): make const
6061 (getLanguages): make const
6063 * MenuBackend.C (binding): returns the binding associated to this
6065 (add): sets the status of each item by calling getStatus. Adds
6067 (read): add support for OptSubMenu
6068 (expand): remove extra separator at the end of expanded menu
6070 2003-02-15 John Levon <levon@movementarian.org>
6073 * BufferView_pimpl.C:
6075 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6076 inset code that had no actual effect. Remove unneeded status
6079 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6081 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6084 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6086 * text.C (drawLengthMarker): also draw an arrow marker for
6087 symbolic lengths (medskip...)
6089 2003-02-14 John Levon <levon@movementarian.org>
6092 * tabular.C: better method names
6094 2003-02-14 John Levon <levon@movementarian.org>
6096 * BufferView_pimpl.C:
6101 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6102 it's a more accurate name. Remove some pointless uses.
6104 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6106 * text2.C (LyXText): change order of initilizers to shut off
6109 2003-02-14 John Levon <levon@movementarian.org>
6111 * buffer.C: use ParIterator for getParFromID()
6115 * paragraph_pimpl.h:
6116 * paragraph_pimpl.C: remove unused getParFromID()
6118 2003-02-14 John Levon <levon@movementarian.org>
6120 * buffer.C: remove some very old #if 0'd parse code
6122 2003-02-13 John Levon <levon@movementarian.org>
6126 * text2.C: move hfillExpansion(), numberOfSeparators(),
6127 rowLast(), rowLastPrintable(), numberofHfills(),
6128 numberOfLabelHfills() ...
6131 * lyxrow.C: ... to member functions here.
6136 * text.C: remove LyXText::beginningOfMainBody(), and call
6137 p->beginningOfMainBody() directly. Move the check for
6138 LABEL_MANUAL into the latter.
6145 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6151 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6152 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6154 2003-02-13 John Levon <levon@movementarian.org>
6156 * CutAndPaste.C: remove debug
6158 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6160 * paragraph.C (asString): remove two unused variables
6162 * lyxtextclass.C (readTitleType):
6164 (LyXTextClass): handle new members titletype_ and titlename_
6166 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6168 2003-02-09 John Levon <levon@movementarian.org>
6171 * buffer.C: replace hand-coded list with a map for the dep clean
6173 2003-02-08 John Levon <levon@movementarian.org>
6175 * LaTeX.C: consolidate code into showRunMessage() helper
6177 2003-02-08 John Levon <levon@movementarian.org>
6182 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6183 and pass the size in explicitly
6185 * BufferView_pimpl.h:
6186 * BufferView_pimpl.C:
6188 * BufferView.C: add getCurrentChange()
6190 * BufferView_pimpl.h:
6191 * BufferView_pimpl.C: handle change lfuns
6193 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6194 for changes. Mark pasted paragraphs as new.
6196 * support/lyxtime.h:
6197 * support/lyxtime.C:
6198 * DepTable.C: abstract time_t as lyx::time_type
6201 * LColor.C: add colours for new text, deleted text, changebars
6203 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6204 package use "usenames" option.
6208 * LyXAction.C: add change lfuns
6212 * author.C: author handling
6215 * buffer.C: add a per-buffer author list, with first entry as
6216 current author. Handle new .lyx tokens for change tracking. Output
6217 author list to .lyx file. Output dvipost stuff to .tex preamble.
6218 Bump lyx format to 222.
6221 * bufferlist.C: add setCurrentAuthor() to reset current author details
6225 * bufferparams.C: add param for tracking
6227 * bufferview_funcs.C: output change info in minibuffer
6231 * changes.C: add change-tracking structure
6234 * debug.C: add CHANGES debug flag
6237 * lyxfind.C: add code for finding the next change piece
6240 * lyxrc.C: add user_name and user_email
6243 * lyxrow.C: add a metric for the top of the text line
6246 * text.C: implement accept/rejectChange()
6249 * text.C: paint changebars. Paint new/deleted text in the chosen
6250 colours. Strike through deleted text.
6254 * paragraph_pimpl.h:
6255 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6256 in the current change to the insert functions. Rework erase to
6257 mark text as deleted, adding an eraseIntern() and a range-based
6258 erase(). Implement per-paragraph change lookup and
6261 * paragraph_funcs.C: Fixup paste for change tracking.
6263 * tabular.C: mark added row/columns as new.
6265 * text.C: fix rowLast() to never return -1. Don't allow
6266 spellchecking of deleted text. Track transpose changes. Don't
6267 allow paragraph break or merge where appropriate.
6269 * text2.C: leave cursor at end of selection after a cut.
6271 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6273 * text.C (getLengthMarkerHeight):
6274 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6275 visible on screen too.
6277 2003-02-07 John Levon <levon@movementarian.org>
6279 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6281 2003-02-05 Angus Leeming <leeming@lyx.org>
6283 * lyxserver.C (read_ready): revert my patch of 11 September last year
6284 as it sends PC cpu through the roof. Presumably this means that
6285 the lyxserver will no longer run on an Alpha...
6287 2003-01-30 Angus Leeming <leeming@lyx.org>
6289 * factory.C (createInset): create an InsetCommandParam of type "index"
6290 and use it to 'do the right thing'.
6292 * text2.C (getStringToIndex): ensure that cursor position is always
6293 reset to the reset_cursor position.
6295 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6297 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6300 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6304 * lyxfunc.C: Output messages with identical spelling, punctuation,
6307 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6309 * MenuBackend.C (expandFormats): List only viewable export formats
6312 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6315 * lyxfunc.C (getStatus): Make sure that formats other than
6316 "fax" can also be disabled
6318 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6320 * text3.C (dispatch): put the lfuns that insert insets in 3
6321 groups, and call doInsertInset with appropriate arguments.
6322 (doInsertInset): new function, that creates an inset and inserts
6323 it according to some boolean parameters.
6325 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6327 * buffer.C (readFile): remember to pass on 'par' when calling
6328 readFile recursively.
6330 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6332 * MenuBackend.C (expandFormats): add "..." to import formats.
6334 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6336 * paragraph.C (asString): Remove XForms RTL hacks.
6338 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6339 * buffer.C: fix typo
6341 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6343 * Makefile.am (LIBS): delete var
6344 (lyx_LDADD): add @LIBS@ here instead.
6346 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6348 * Clarify the meaning of "wheel mouse jump"
6350 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6352 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6355 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6357 * importer.C (Loaders): do not preallocate 3 elements in the
6358 vector, since one ends up with 6 elements otherwise
6360 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6362 * DepTable.C (write): write the file name as last element of the
6363 .dep file (because it may contain spaces)
6364 (read): read info in the right order
6366 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6368 * paragraph_pimpl.C (simpleTeXBlanks):
6369 (simpleTeXSpecialChars):
6370 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6372 * tabular.C (latex): add some missing case statements. Reindent.
6374 * MenuBackend.C (expandToc): remove unused variable.
6376 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6385 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6388 2003-01-05 John Levon <levon@movementarian.org>
6391 * BufferView.C: add getEncoding()
6394 * kbsequence.C: do not store last keypress
6397 * lyxfunc.C: store last keypress here instead. Pass encoding
6400 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6402 * lyx_main.C (init): remove annoying error message when following
6403 symbolic links (bug #780)
6405 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6407 * text.C (insertChar):
6408 * lyxrc.C (getDescription): remove extra spaces
6410 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6412 * lyxrc.C (getDescription): remove extra spaces
6414 2002-12-20 John Levon <levon@movementarian.org>
6416 * text3.C: hack fix for page up/down across tall rows
6418 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6420 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6423 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6425 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6426 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6427 thesaurus is not compiled in
6429 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6431 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6433 2002-12-16 Angus Leeming <leeming@lyx.org>
6436 * lyx_main.C (init): remove override_x_deadkeys stuff.
6438 2002-12-12 John Levon <levon@movementarian.org>
6440 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6441 insert. Only remove shift modifier under strict
6444 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6446 * MenuBackend.C (expandToc): fix crash.
6448 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6450 * MenuBackend.C (expandToc): gettext on float names.
6452 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6454 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6455 implement bool empty() [bug 490]
6457 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6459 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6461 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6463 * several files: ws changes
6465 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6467 * text2.C (setCounter): clean up a bit, use boost.format.
6468 (updateCounters): initialize par upon declaration.
6470 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6471 if the layout exists. We do not just store the layout any more.
6472 (SwitchLayoutsBetweenClasses): use boost.format
6474 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6476 * converter.C (convert): if from and to files are the same, use a
6477 temporary files as intermediary
6479 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6482 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6484 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6486 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6488 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6490 * tabular.C (asciiPrintCell): use string(size, char) instead of
6493 * sgml.C (openTag): fix order of arguments to string constructor
6496 * lyxfunc.C (dispatch): use boost.format
6498 * lots of files: change "c" -> 'c'
6500 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6502 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6504 2002-11-25 Angus Leeming <leeming@lyx.org>
6506 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6508 * lyx_main.C (init): compile fix.
6510 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6512 * lyx_cb.C (start): boost.formatify
6513 do not include <iostream>
6515 * lengthcommon.C: ws only
6517 * boost-inst.C,BoostFormat.h: add more explict instantations
6519 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6521 * lots of files: handle USE_BOOST_FORMAT
6523 2002-11-21 John Levon <levon@movementarian.org>
6525 * pspell.C: fix compile
6527 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6529 * lyxfunc.C (dispatch): use boost::format
6533 * lyxfont.C (stateText): use boost::format
6535 * lyx_main.C (LyX): use boost::format
6537 (queryUserLyXDir): ditto
6540 (typedef boost::function): use the recommened syntax.
6542 * importer.C (Import): use boost::format
6544 * debug.C (showLevel): use boost::format
6546 * converter.C (view): use boost::format
6551 * bufferview_funcs.C (currentState): use boost::format
6553 * bufferlist.C (emergencyWrite): use boost::format
6555 * buffer.C (readLyXformat2): use boost::format
6556 (parseSingleLyXformat2Token): ditto
6558 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6560 * LaTeX.C (run): use boost::format
6562 * Chktex.C (scanLogFile): use boost::format
6564 * BufferView_pimpl.C (savePosition): use boost::format
6565 (restorePosition): ditto
6566 (MenuInsertLyXFile): ditto
6568 * BoostFormat.h: help file for explicit instation.
6570 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6572 * tabular.C (latex): Support for block alignment in fixed width
6575 2002-11-17 John Levon <levon@movementarian.org>
6577 * BufferView_pimpl.C:
6579 * lyxfunc.C: split filedialog into open/save
6581 2002-11-08 Juergen Vigna <jug@sad.it>
6583 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6584 by my last patch (hopefully).
6586 2002-11-08 John Levon <levon@movementarian.org>
6595 * toc.C: ParConstIterator, and use it (from Lars)
6597 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6599 * lyxtextclass.[Ch]: revise and add doxygen comments
6601 2002-11-07 John Levon <levon@movementarian.org>
6603 * text.C: fix progress value for spellchecker
6605 * toc.C: fix navigate menu for insetwrap inside minipage
6607 * paragraph_funcs.C: added FIXME for suspect code
6609 2002-11-07 John Levon <levon@movementarian.org>
6611 * BufferView_pimpl.C: fix redrawing of insets
6614 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6616 * text2.C (updateCounters): fix bug 668
6618 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6620 * text3.C (dispatch): Do not make the buffer dirty when moving the
6623 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6625 * vc-backend.C: STRCONV
6628 * text2.C (setCounter): STRCONV
6630 * paragraph.C (asString): STRCONV
6632 * lyxlength.C (asString): STRCONV
6633 (asLatexString): ditto
6635 * lyxgluelength.C (asString): STRCONV
6636 (asLatexString): ditto
6638 * lyxfunc.C (dispatch): STRCONV
6641 * lyxfont.C (stateText): STRCONV
6643 * importer.C (Import): STRCONV
6645 * counters.C (labelItem): STRCONV
6646 (numberLabel): ditto
6647 (numberLabel): remove unused ostringstream o
6652 * bufferview_funcs.C (currentState): STRCONV
6654 * buffer.C (readFile): STRCONV
6655 (asciiParagraph): ditto
6656 (makeLaTeXFile): ditto
6658 * Spacing.C (writeEnvirBegin): STRCONV
6660 * LaTeXFeatures.C (getLanguages): STRCONV
6661 (getPackages): ditto
6663 (getBabelOptions): ditto
6664 (getTClassPreamble): ditto
6665 (getLyXSGMLEntities): ditto
6666 (getIncludedFiles): ditto
6670 (scanAuxFile): ditto
6673 * LString.h: add the STRCONV macros
6675 * BufferView_pimpl.C (savePosition): STRCONV
6676 (restorePosition): ditto
6677 (MenuInsertLyXFile): ditto
6679 * vc-backend.C (scanMaster): change from submatch[...] to
6682 * funcrequest.C: include config.h
6684 * factory.C: include config.h
6686 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6688 * box.C: include config.h
6690 * LaTeX.C (scanAuxFile): change from submatch[...] to
6694 2002-10-25 Angus Leeming <leeming@lyx.org>
6696 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6698 * ispell.[Ch] (setError): new method.
6699 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6700 Use setError() insetead of goto END.
6702 * lyx_cb.C (AutoSave): move out child process into new class
6705 2002-10-30 John Levon <levon@movementarian.org>
6707 * text3.C: make start appendix undoable
6709 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6711 * lyxlength.C (inPixels): Fix returned value.
6713 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6716 2002-10-24 Angus Leeming <leeming@lyx.org>
6718 * lyxgluelength.h: no need to forward declare BufferParams
6719 or BufferView, so don't.
6721 2002-10-21 John Levon <levon@movementarian.org>
6723 * BufferView.C: menuUndo ->undo, redo
6725 * BufferView.h: document, remove dead, make some methods private
6727 * paragraph_funcs.h:
6728 * paragraph_funcs.C:
6729 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6734 * sgml.C: move sgml open/close tag into sgml.C
6736 * bufferview_funcs.h: unused prototype
6739 * lyxfunc.C: remove unused
6742 * text.C: remove unused
6744 2002-10-21 John Levon <levon@movementarian.org>
6748 * BufferView_pimpl.h:
6749 * BufferView_pimpl.C: fix mouse wheel handling based on
6750 patch from Darren Freeman
6752 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6754 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6756 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6758 * lyxlength.C (inPixels): Fix hanfling of negative length.
6759 Fix LyXLength::MU case.
6761 2002-10-16 John Levon <levon@movementarian.org>
6763 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6765 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6767 * converter.C (view): add support for $$i (file name) and $$p
6768 (file path) for the viewer command. If $$i is not specified, then
6769 it is appended to the command (for compatibility with old syntax)
6771 2002-10-14 Juergen Vigna <jug@sad.it>
6773 * undo_funcs.C (textHandleUndo): alter the order in which the
6774 new undopar is added to the LyXText, as we have to set first
6775 the right prev/next and then add it as otherwise the rebuild of
6776 LyXText is not correct. Also reset the cursor to the right paragraph,
6777 with this IMO we could remove the hack in "redoParagraphs()".
6779 2002-10-09 Angus Leeming <leeming@lyx.org>
6781 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6782 to turn off an optimisation if a new inset is to be inserted.
6784 2002-10-11 André Pönitz <poenitz@gmx.net>
6786 * lyxtext.h: make some functions public to allow access
6787 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6789 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6791 * text3.C (dispatch): when changing layout, avoid an infinite loop
6794 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6796 * lyxrc.C (read): treat a viewer or converter command of "none" as
6799 * MenuBackend.C (expandFormats): for an update, also allow the
6800 formats that are not viewable
6802 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6803 script if it is newer than the lyxrc.defaults in user directory
6805 2002-10-07 André Pönitz <poenitz@gmx.net>
6807 * text.C: Vitaly Lipatov's small i18n fix
6809 2002-09-25 Angus Leeming <leeming@lyx.org>
6811 * ispell.h: doxygen fix.
6813 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6815 * buffer.h (readFile): Add a new argument to the method, to allow
6816 reading of old-format templates.
6818 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6820 * toc.C (getTocList): Get TOC from InsetWrap.
6822 2002-09-16 John Levon <levon@movementarian.org>
6824 * lyxfunc.C: check tabular for cut/copy too
6826 2002-09-12 John Levon <levon@movementarian.org>
6831 * factory.C: add header
6833 * paragraph_funcs.h:
6834 * paragraph_funcs.C: cleanup
6836 2002-09-11 John Levon <levon@movementarian.org>
6838 * PrinterParams.h: odd/even default to true
6840 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6842 * PrinterParams.h: update printer parameters for new xforms dialog
6844 2002-09-11 Angus Leeming <leeming@lyx.org>
6846 * lyxserver.C (read_ready): re-write to make it more transparent
6847 and to make it work in coherent fashion under Tru64 Unix.
6849 2002-09-11 André Pönitz <poenitz@gmx.net>
6853 * text3.C: implement LFUN_WORDSEL
6855 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6857 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6858 make floatlist_ a boost::shared_ptr<FloatList>
6860 * lyxtextclass.C: include FloatList.h
6861 (LyXTextClass): initialize floatlist_
6862 (TextClassTags): add TC_NOFLOAT
6863 (Read): match "nofloat" to TC_NOFLOAT and use it.
6864 (readFloat): modify call to floatlist_
6868 * FloatList.[Ch] (FloatList): remove commented out float
6870 (erase): new function
6872 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6874 * MenuBackend.C (expandToc): fix crash when there is no document
6877 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6879 * many files: Add insetwrap.
6881 2002-09-09 John Levon <levon@movementarian.org>
6883 * text2.C: remove confusing and awkward depth wraparound
6885 2002-09-09 John Levon <levon@movementarian.org>
6887 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6890 * buffer.C: remove getIncludeonlyList()
6893 * lyxfunc.C: remove headers
6895 2002-09-09 Juergen Vigna <jug@sad.it>
6897 * text.C (getColumnNearX): fix form Michael this is most
6898 probably a cut&paste bug.
6900 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6902 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6904 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6905 references, ws changes.
6907 * text2.C (init): update counters after init
6908 (insertParagraph): no need to set counter on idividual paragraphs.
6909 (setCounter): access the counters object in the textclass object
6910 on in the buffer object.
6911 (updateCounters): ditto
6913 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6914 shared_ptr<Counters> to avoid loading counters.h in all
6916 (LyXTextClass): initialize ctrs_
6917 (TextClassTags): add TC_COUNTER, and ...
6918 (Read): use it here.
6919 (CounterTags): new tags
6920 (readCounter): new function
6921 (counters): new funtion
6922 (defaultLayoutName): return a const reference
6924 * counters.C (Counters): remove contructor
6925 (newCounter): remove a couple of unneeded statements.
6926 (newCounter): simplify a bit.
6927 (numberLabel): some small formatting changes.
6929 * buffer.[Ch]: remove all traces of counters, move the Counters
6930 object to the LyXTextClass.
6932 2002-09-06 Alain Castera <castera@in2p3.fr>
6934 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6935 package to set the horizontal alignment on fixed width columns.
6938 * lyx_sty.h: added tabularnewline macro def.
6940 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6942 2002-09-06 John Levon <levon@movementarian.org>
6944 * LyXAction.C: tooltips for sub/superscript
6946 * MenuBackend.C: a bit more verbose
6948 * lyxfunc.C: tiny clean
6950 * undo_funcs.C: document undo_frozen
6952 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6954 * counters.C (Counters): add missing algorithm counter.
6956 * text2.C (setCounter): lookup the counter with layouts latexname
6957 instead of by section number.
6958 (setCounter): use a hackish way to lookup the correct enum
6960 a float name->type change
6961 reset enum couners with counter name directly instead of depth value.
6963 * counters.C (Counters): remove the push_backs, change to use the
6964 float type not the float name.
6965 (labelItem): remove unused string, float name->type change
6967 * counters.h: don't include vector, loose the enums and sects vectors
6969 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6971 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6972 (Read): add float->TC_FLOAT to textclassTags
6973 (Read): and handle it in the switch
6974 (readFloat): new function
6976 * FloatList.C (FloatList): comment out the hardcoded float
6979 * lyxlayout.h: ws change.
6981 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6983 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6985 2002-09-03 Angus Leeming <leeming@lyx.org>
6987 * BufferView_pimpl.h: qualified name is not allowed in member
6988 declaration: WorkArea & Pimpl::workarea() const;
6990 * factory.C: added using std::endl directive.
6992 * text3.C: added using std::find and std::vector directives.
6994 2002-08-29 André Pönitz <poenitz@gmx.net>
6997 * text2.C: remove unused member number_of_rows
7000 * BufferView2.C: remove file, move contents to...
7001 * BufferView.C: ... here
7003 * BufferView_pimpl.C:
7004 * factory.C: move more inset creation to factory
7006 * vspace.C: avoid direct usage of LyXText, ws changes
7009 don't provide direct access to WorkArea, use two simple
7010 acessors haveSelction() and workHeight() instead
7013 2002-08-29 John Levon <levon@movementarian.org>
7015 * BufferView_pimpl.C (dispatch): do not continue when
7018 2002-08-28 André Pönitz <poenitz@gmx.net>
7020 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7023 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7025 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7027 * buffer.C: increment LYX_FORMAT to 221
7029 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7030 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7032 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7034 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7036 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7038 * factory.C (createInset): use LyXTextClass::floats
7040 * MenuBackend.C (expandFloatListInsert):
7041 (expandFloatInsert):
7044 * text2.C (setCounter):
7046 * LaTeXFeatures.C (useFloat):
7047 (getFloatDefinitions):
7049 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7051 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7052 floatlist_, with accessor floats().
7054 * FloatList.h: remove global FloatList
7056 2002-08-26 André Pönitz <poenitz@gmx.net>
7058 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7062 * BufferView_pimpl.C:
7063 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7065 2002-08-25 John Levon <levon@movementarian.org>
7067 * LyXAction.C: fix margin note description
7069 2002-08-24 John Levon <levon@movementarian.org>
7073 * bufferview_funcs.C:
7075 * undo_funcs.C: cleanups
7077 * lyxfunc.C: disable CUT/COPY when no selection
7079 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7081 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7082 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7084 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7085 Add backward compatibility to "mono", "gray" and "no".
7087 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7089 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7090 (and file_format >= 200).
7092 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7094 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7096 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7098 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7100 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7102 * BufferView_pimpl.C:
7109 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7110 inset and code to make it work with the paragraph code. The inset
7111 can be anywhere in the paragraph, but will only do the expected
7112 thing in LaTeX if the layout file contains the parameter line
7114 (or more generally, a nonzero value) for that layout.
7116 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7118 * paragraph.h: remove the declaration of undefined counters class
7121 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7123 * text2.C (setCounter): fixed enumeration mis-count as reported by
7124 Dr. Richard Hawkins.
7126 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7128 * paragraph_funcs.h: remove some unneeded includes
7130 * text.C (backspace): pasteParagraph now in global scipe
7132 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7133 (pasteSelection): ditto
7135 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7136 * paragraph_funcs.C (pasteParagraph): ... here
7138 2002-08-20 André Pönitz <poenitz@gmx.net>
7140 * commandtags.h: new LFUNs for swapping/copying table row/colums
7143 * lyxfunc.C: support for new lfuns
7145 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7148 * buffer.[Ch]: remove NO_COMPABILITY stuff
7150 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7152 * boost.C (throw_exception): new file, with helper function for
7153 boost compiled without exceptions.
7158 * ParameterStruct.h:
7159 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7161 * bufferlist.C (emergencyWriteAll): use boost bind
7163 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7165 * text.C: include paragraph_funcs.h
7166 (breakParagraph): breakParagraph is now in global scope
7168 * paragraph_funcs.[Ch]: new files
7170 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7173 * buffer.C: include paragraph_funcs.h
7174 (insertStringAsLines): breakParagraph is now in global scope
7176 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7179 * CutAndPaste.C: include paragraph_funcs.h
7180 (cutSelection): breakParagraphConservative is now in global scope
7181 (pasteSelection): ditto
7183 * buffer.h: declare oprator== and operator!= for
7184 Buffer::inset_iterator
7186 * bufferlist.C (emergencyWrite): don't use fmt(...)
7188 * text3.C: add using std::endl
7190 * BufferView.C (moveCursorUpdate): remove default arg
7192 2002-08-20 André Pönitz <poenitz@gmx.net>
7194 * buffer.[Ch]: move inline functions to .C
7197 * BufferView_pimpl.C:
7199 * buffer.[Ch]: use improved inset_iterator
7202 * paragraph.[Ch]: write one paragraph at a time
7204 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7206 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7207 style if style is not specified.
7209 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7211 * text2.C (setCounter): when searching for right label for a
7212 caption, make sure to recurse to parent insets (so that a caption
7213 in a minipage in a figure float works) (bug #568)
7215 2002-08-20 André Pönitz <poenitz@gmx.net>
7217 * text3.C: new file for LyXText::dispatch() and helpers
7219 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7221 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7223 2002-08-19 André Pönitz <poenitz@gmx.net>
7226 * text.C: new LyXText::dispatch()
7228 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7230 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7232 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7234 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7237 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7239 * Makefile.am: use $(variables) instead of @substitutions@
7241 2002-08-15 André Pönitz <poenitz@gmx.net>
7244 * BufferView_pimpl.C: streamlining mathed <-> outer world
7248 * LyXAction.C: remove unused LFUN_MATH
7250 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7252 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7254 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7256 * paragraph.C (Paragraph): reformat a bit
7257 (cutIntoMinibuffer): use builtin InsetList function instad of
7261 * buffer.C: include boost/bind.hpp, add using std::for_each
7262 (writeFileAscii): use ParagraphList iterators
7263 (validate): use for_each for validate traversal of paragraphs
7264 (getBibkeyList): use ParagraphList iterators
7265 (resizeInsets): use for_each to resizeInsetsLyXText for all
7267 (getParFromID): use ParagraphList iterators
7269 * BufferView2.C (lockInset): use paragraph list and iterators
7271 2002-08-14 John Levon <levon@movementarian.org>
7273 * lyxserver.C: remove spurious xforms include
7275 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7277 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7279 2002-08-13 André Pönitz <poenitz@gmx.net>
7282 * lyxfunc.C: further cleaning
7284 2002-08-13 André Pönitz <poenitz@gmx.net>
7286 * funcrequest.h: new constructor
7288 * funcrequest.C: move stuff here from .h
7291 * BufferView_pimpl.C:
7294 * lyxfunc.C: subsequent changes
7296 * lyxfunc.h: new view() member function
7298 * lyxfunc.C: subsequent changes
7300 2002-08-13 Angus Leeming <leeming@lyx.org>
7303 * BufferView_pimpl.C:
7311 changes due to the changed LyXView interface that now returns references
7312 to member variables not pointers.
7314 2002-08-13 Angus Leeming <leeming@lyx.org>
7316 * WordLangTuple (word, lang_code): return references to strings,
7321 * lyxtext.h: forward-declare WordLangTuple.
7326 * text.C: #include "WordLangTuple.h".
7329 * text.C: (selectNextWordToSpellcheck): constify return type.
7331 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7337 * paragraph_pimpl.h:
7340 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7342 Made updateCounter always count from start of buffer, and removed
7343 second argument (par).
7344 Reverted floats number display to '#'. Perhaps I'll try again when the
7345 code base is sanitized a bit.
7347 2002-08-12 Angus Leeming <leeming@lyx.org>
7349 * buffer.[Ch] (getLabelList): constify.
7351 2002-08-07 André Pönitz <poenitz@gmx.net>
7353 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7355 * funcrequest.h: extension to keep mouse (x,y) position
7357 2002-08-12 Juergen Vigna <jug@sad.it>
7359 * BufferView2.C (insertErrors): forbid undo when inserting error
7362 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7364 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7366 * ParagraphList.[Ch]: new files
7368 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7370 * BufferView2.C (lockInset): ParagraphList changes
7373 * bufferlist.C: ditto
7377 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7379 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7380 unused class variable counter_,
7382 * paragraph.[Ch] (getFirstCounter): delete unused function
7384 * counters.C: include LAssert.h
7385 (reset): add a new function with no arg, change other version to
7386 not have def. arg and to not allow empty arg.
7388 * text2.C (setCounter): remove empty arg from call to Counters::reset
7390 2002-08-11 John Levon <levon@movementarian.org>
7392 * Makefile.am: add WordLangTuple.h
7394 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7396 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7397 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7399 * insets/insettext.C: InsetList changes
7401 * graphics/GraphicsSupport.C (operator()): InsetList changes
7403 * toc.C (getTocList): InsetList changes
7405 * paragraph_pimpl.[Ch]: InsetList changes
7407 * paragraph.[Ch]: InsetList changes
7409 * buffer.C (inset_iterator): InsetList changes
7410 (setParagraph): ditto
7411 * buffer.h (inset_iterator): ditto
7412 * iterators.C (operator++): ditto
7413 * iterators.h: ditto
7415 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7417 * InsetList.[Ch]: new files, most InsetList handling moved out of
7420 * BufferView2.C (removeAutoInsets): InsetList changes
7422 (ChangeInsets): ditto
7424 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7426 * paragraph_pimpl.h (empty): new function
7428 * paragraph.[Ch] (empty): new function
7430 * other files: use the new Paragraph::empty function
7432 2002-08-09 John Levon <levon@movementarian.org>
7434 * lyxtext.h: remove unused refresh_height
7436 2002-08-09 John Levon <levon@movementarian.org>
7443 * paragraph.C: move sgml char escaping out of paragraph
7446 * paragraph.C: remove id setter
7450 * paragraph_pimpl.C: remove dead tex_code_break_column
7452 * bufferview_funcs.C: small cleanup
7454 * lyxfunc.C: remove dead proto
7456 * lyxtext.h: make some stuff private. Remove some dead stuff.
7458 * lyxgluelength.C: make as[LyX]String() readable
7460 2002-08-08 John Levon <levon@movementarian.org>
7465 * ToolbarDefaults.C:
7468 * toc.C: lyxaction cleanup
7470 2002-08-08 John Levon <levon@movementarian.org>
7472 * BufferView2.C: small cleanup
7475 * lyxfind.C: move unnecessary header into the .C
7477 2002-08-08 John Levon <levon@movementarian.org>
7479 * funcrequest.h: just tedious nonsense
7482 * lyx_main.C: cleanups
7485 * vspace.C: remove dead header lyx_main.h
7487 2002-08-07 Angus Leeming <leeming@lyx.org>
7490 * paragraph_pimpl.h:
7491 Forward declare class Counters in paragraph.h by moving the ctrs member
7492 variable into Paragraph::Pimpl.
7493 (counters): new method, returning a reference to pimpl_->ctrs.
7495 * text2.C: ensuing changes.
7497 2002-08-07 John Levon <levon@movementarian.org>
7499 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7501 * BufferView_pimpl.C: announce X selection on double/triple
7504 * lyx_main.C: use correct bool in batch dispatch
7506 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7508 2002-08-07 André Pönitz <poenitz@gmx.net>
7510 * funcrequest.h: new class to wrap a kb_action and its argument
7513 * BufferView_pimpl[Ch]:
7517 * lyxrc.C: subsequent changes
7520 2002-08-07 John Levon <levon@movementarian.org>
7522 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7523 document options change.
7525 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7530 * makefile.am: move counters functionality over from
7531 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7533 2002-08-06 John Levon <levon@movementarian.org>
7535 * WordLangTuple.h: new file for word + language code tuple
7546 * BufferView2.C: use WordLangTuple
7549 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7551 2002-08-06 John Levon <levon@movementarian.org>
7553 * lyx_main.C: fix cmdline batch handling
7555 2002-08-06 André Pönitz <poenitz@gmx.net>
7557 * lyxrc.C: set default for show_banner to true
7559 2002-08-06 John Levon <levon@movementarian.org>
7561 * pspell.C: fix a crash, and allow new aspell to work
7563 2002-08-06 John Levon <levon@movementarian.org>
7566 * kbmap.C: small cleanup
7569 * vspace.C: add const
7571 2002-08-05 John Levon <levon@movementarian.org>
7573 * LyXAction.C: back to tabular-insert
7575 2002-08-04 John Levon <levon@movementarian.org>
7578 * BufferView.C: cosmetic change
7580 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7590 * BufferView2.C: purge all "Lyx" not "LyX" strings
7593 * lyxcursor.C: attempt to add some documentation
7598 * ToolbarDefaults.C:
7599 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7600 merge with LFUN_TABULAR_INSERT
7607 * pspell.C: split up i/pspell implementations into separate
7608 files, many cleanups
7610 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7612 * text2.C: some cleanup
7614 * lyxfunc.C: don't check for isp_command == "none" any more, it
7615 didn't make any sense
7617 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7622 * makefile.am: move counters functionality over
7623 from text2.C/paragraph.[Ch] to counters.[Ch], and
7625 2002-08-02 John Levon <levon@movementarian.org>
7627 * buffer.C: s/lyxconvert/lyx2lyx/
7629 2002-08-02 Angus Leeming <leeming@lyx.org>
7631 * lyxlex.C: revert John's change as it breaks reading of the user
7634 2002-08-02 Angus Leeming <leeming@lyx.org>
7636 * importer.C (Import):
7637 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7638 changes due to LyXView::view() now returning a boost::shared_ptr.
7640 2002-08-02 John Levon <levon@movementarian.org>
7642 * lyxlex.C: small cleanup
7644 2002-08-02 John Levon <levon@movementarian.org>
7646 * text2.C (status): small cleanup, no logic change
7648 2002-08-01 John Levon <levon@movementarian.org>
7651 * buffer.C (writeFile): don't output alerts, caller
7655 * lyx_cb.C: from above
7657 * lyxfunc.C: allow to open non-existent files
7659 2002-07-31 John Levon <levon@movementarian.org>
7661 * lyxserver.C: don't let incidental errors get
7664 2002-07-30 John Levon <levon@movementarian.org>
7666 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7668 2002-07-30 John Levon <levon@movementarian.org>
7671 * lyxserver.C: remove I/O callback too
7673 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7675 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7678 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7680 * many files: strip,frontStrip -> trim,ltrim,rtrim
7682 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7684 * PrinterParams.h: remove extern containsOnly, and include
7685 support/lstrings.h instead.
7687 * LaTeX.C (scanAuxFile): modify because of strip changes
7689 * buffer.C (makeLaTeXFile): ditto
7690 * bufferparams.C (writeFile): ditt
7691 * lyxfont.C (stateText): ditto
7692 * lyxserver.C (read_ready): ditto
7693 * vc-backend.C (scanMaster): ditto
7695 * BufferView_pimpl.h: ws changes
7697 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7699 2002-07-26 André Pönitz <poenitz@gmx.net>
7701 * kb_sequence.C: remove unnedred usings
7703 2002-07-26 Juergen Vigna <jug@sad.it>
7705 * lyxfind.C (LyXReplace): we have to check better if the returned
7706 text is not of theLockingInset()->getLockingInset().
7708 2002-07-25 Juergen Vigna <jug@sad.it>
7710 * lyxfind.C (LyXReplace): don't replace if we don't get the
7713 * undo_funcs.C (createUndo): remove debugging code.
7715 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7717 * buffer.C (parseSingleLyXformat2Token): Use default placement
7718 when reading old floats.
7720 * FloatList.C (FloatList): Change the default placement of figure
7721 and tables to "tbp".
7723 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7725 * MenuBackend.C: using std::max
7727 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7729 * MenuBackend.C (expandToc):
7730 (expandToc2): code moved from xforms menu frontend. It is now
7731 generic and TOCs are transparent to menu frontends.
7733 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7735 * toc.C (getTocList): protect against buf=0
7737 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7738 Menu as first parameter. Now, this calls itself recursively to
7739 expand a whole tree (this will be useful for TOC handling)
7740 (expandFloatInsert): remove 'wide' version of floats
7742 * MenuBackend.h (submenuname): returns the name of the submenu.
7743 (submenu): returns the submenu itself, provided it has been
7744 created by MenuBackend::expand
7746 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7748 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7749 insets which have noFontChange == true. (bug #172)
7751 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7753 * BufferView_pimpl.C: add connection objects and use them...
7756 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7758 * MenuBackend.C (expandLastfiles):
7761 (expandFloatListInsert):
7762 (expandFloatInsert):
7763 (expand): split expand in parts
7765 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7767 * lyx_gui.C: use lyx_gui::exit()
7769 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7771 * LyXAction.C: show the failing pseudo action
7773 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7775 * buffer.C (readFile): Run the lyxconvert script in order to read
7778 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7782 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7784 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7788 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7790 2002-07-22 Herbert Voss <voss@lyx.org>
7793 * lyxlength.[Ch]: add support for the vertical lengths
7795 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7797 * toc.[Ch]: std:: fixes
7799 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7801 * lyxrc.C: do not include lyx_main.h
7803 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7809 * BufferView2.C: include "lyxlex.h"
7812 * bufferparams.h: do not #include "lyxlex.h"
7814 * lyxtextclasslist.C (Add): remove method
7815 (classlist): renamed to classlist_
7817 * paragraph_pimpl.C:
7821 * bufferview_funcs.C:
7826 * toc.C (getTocList): use BufferParams::getLyXTextClass
7828 * toc.C (getTocList): use InsetFloat::addToToc
7830 * toc.[Ch]: new files, containing helper functions to handle table
7833 * lyxfunc.C (dispatch): no need to remove spaces around command
7835 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7836 first command of the sequence; it is not very clever, but I do not
7837 have a better idea, actually
7839 * LyXAction.C (LookupFunc): make sure to remove space at the
7840 beginning and end of the command
7842 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7844 * MenuBackend.C (getMenubar): new method: return the menubar of
7846 (read): treat differently reading of menu and menubar (in
7847 particular, the menubar has no name now)
7848 (Menu::menubar): remove
7850 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7853 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7855 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7856 a bibitem inset in a RTL paragraph.
7858 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7860 * paragraph_pimpl.C: constify
7862 * BufferView_pimpl.C:
7864 * lyxfunc.C: fix dispatch in a nicer way
7866 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7868 * lyxfunc.C (dispatch):
7869 * BufferView_pimpl.C:
7870 * BufferView_pimpl.h:
7872 * BufferView.h: rename Dispatch() to dispatch()
7874 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7876 * lyxlayout.C (Read): honor DependsOn tag
7878 * lyxlayout.[Ch] (depends_on): new method
7880 * version.C.in: update lyx_docversion
7882 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7884 * paragraph.C (validate): remove from here...
7885 * paragraph_pimpl.C (validate): ... and move here
7886 (isTextAt): make it const
7888 * buffer.C (getLists): ws cleanup
7890 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7892 * language.C (read): Use iso8859-1 encoding in latex_lang
7893 (this prevents LyX from crashing when using iso10646-1 encoding).
7895 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7897 * text2.C (toggleInset): if cursor is inside an inset, close the
7898 inset and leave cursor _after_ it
7900 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7902 * lyxfunc.C: move minibuffer completion handling out of here
7904 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7906 * BufferView_pimpl.C:
7907 * LaTeX.C: fix dispatch calls
7909 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7911 * text.C (drawChars): Fix Arabic text rendering.
7913 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7917 * lyxfunc.C: remove message-push/pop
7921 * lyxfunc.C: rationalise some code by removing verboseDispatch
7922 in favour of a bool argument to dispatch()
7924 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7926 * lyx_main.C (init): make sure to read symlinks as absolute paths
7928 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7931 * lyxfunc.C: no need for commandshortcut to be a member
7933 2002-07-15 André Pönitz <poenitz@gmx.net>
7935 * converter.C: add support for $$s (scripts from lib/scripts dir)
7936 * lyx_main.C: white space
7938 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7942 * lyxrc.C: remove second exit confirmation
7944 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7949 * BufferView_pimpl.h:
7950 * BufferView_pimpl.C:
7951 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7953 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7955 * MenuBackend.C (expand): add numeric shortcuts to document menu
7957 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7959 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7961 * lyxfont.C (setLyXFamily):
7968 * buffer.C (asciiParagraph): use ascii_lowercase
7970 2002-07-15 Mike Fabian <mfabian@suse.de>
7972 * lyxlex_pimpl.C (search_kw):
7973 * lyxlex.C (getLongString):
7974 * converter.h (operator<):
7975 * converter.C (operator<):
7976 * buffer.C (parseSingleLyXformat2Token):
7978 * ToolbarDefaults.C (read):
7979 * MenuBackend.C (checkShortcuts):
7981 * LColor.C (getFromGUIName):
7982 (getFromLyXName): use the compare_ascii_no_case instead of
7983 compare_no_case, because in turkish, 'i' is not the lowercase
7984 version of 'I', and thus turkish locale breaks parsing of tags.
7986 2002-07-16 Angus Leeming <leeming@lyx.org>
7988 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7989 now takes a Buffer const & argument.
7991 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7993 * BufferView.C (resize): check there's a buffer to resize
7995 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7997 * lyxfunc.C: remove dead code
8000 * lyxserver.C: use lyx_guii::set_read_callback
8002 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8004 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8005 an inset in a RTL paragraph.
8007 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8009 * lyxfunc.C: repaint after a font size update
8011 2002-07-15 André Pönitz <poenitz@gmx.net>
8013 * lyxlength.C: inBP should be able to return negative values
8015 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8017 * lyxfunc.C: use lyx_gui::update_fonts()
8019 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8021 * lyxfunc.C: use lyx_gui::update_color()
8023 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8029 * lyxrc.C: remove file->new asks for name option, and let
8030 buffer-new take an argument
8032 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8034 * BufferView_pimpl.C: remove unneeded extra repaint()
8036 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8038 * LyXAction.C: allow command-sequence with NoBuffer
8040 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8042 2002-07-10 Angus Leeming <leeming@lyx.org>
8044 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8046 2002-07-09 Angus Leeming <leeming@lyx.org>
8048 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8050 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8052 * lengthcommon.h: whitespace
8054 * lyxfunc.C: update scrollbar after goto paragraph
8056 * lyxtext.h: factor out page break drawing, and fix it so
8057 page break/added space paints as selected nicely
8059 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8061 * BufferView_pimpl.C: add FIXMEs, clean up a little
8063 2002-07-09 André Pönitz <poenitz@gmx.net>
8065 * lyxfont.[Ch]: support for wasy symbols
8067 2002-07-08 André Pönitz <poenitz@gmx.net>
8069 * BufferView_pimpl.C: apply John's patch for #93.
8071 2002-07-05 Angus Leeming <leeming@lyx.org>
8073 * BufferView_pimpl.C (buffer): generate previews if desired.
8075 * LColor.h: add "preview" to the color enum.
8077 * LColor.C (LColor): add a corresponding entry to the items array.
8079 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8082 2002-07-05 Angus Leeming <leeming@lyx.org>
8084 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8085 The body of the code is now in the method that is passed an ostream &
8086 rather than a file name.
8087 Pass an additional only_preamble parameter, useful for the forthcoming
8090 2002-07-03 André Pönitz <poenitz@gmx.net>
8092 * lyxfunc.C: simplify getStatus() a bit for math stuff
8094 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8096 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8098 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8100 * text.C (changeRegionCase): do not change case of all the
8101 document when region ends at paragraph end (bug #461)
8103 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8105 * paragraph.C (startTeXParParams):
8106 (endTeXParParams): add \protect when necessary
8108 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8110 * BufferView_pimpl.C (workAreaExpose): remove warning
8112 2002-06-27 Angus Leeming <leeming@lyx.org>
8114 * Makefile.am: add lyxlayout_ptr_fwd.h.
8116 2002-06-26 André Pönitz <poenitz@gmx.net>
8118 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8120 2002-06-25 Angus Leeming <leeming@lyx.org>
8122 * lyxfunc.C (dispatch): Comment out the call to
8123 grfx::GCache::changeDisplay. The method no longer exists now that the
8124 pixmap generation part of the graphics loader has been moved into
8127 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8129 * text2.C: layout as layout
8131 * text.C: layout as layout
8133 * tabular.C (OldFormatRead): layout as layout
8135 * paragraph_pimpl.C (TeXDeeper): layout as layout
8136 (realizeFont): layout as layout
8138 * paragraph.C (writeFile): layout as layout
8139 (validate): layout as layout
8140 (getFont): layout as layout
8141 (getLabelFont): layout as layout
8142 (getLayoutFont): layout as layout
8143 (breakParagraph): layout as layout
8144 (stripLeadingSpaces): layout as layout
8145 (getEndLabel): layout as layout
8146 (getMaxDepthAfter): layout as layout
8147 (applyLayout): layout as layout
8148 (TeXOnePar): layout as layout
8149 (simpleTeXOnePar): layout as layout
8150 (TeXEnvironment): layout as layout
8151 (layout): layout as layout
8152 (layout): layout as layout
8154 * lyxtextclass.C (compare_name): new functor to work with
8155 shared_ptr, layout as layout
8156 (Read): layout as layout
8157 (hasLayout): layout as layout
8158 (operator): layout as layout
8159 (delete_layout): layout as layout
8160 (defaultLayout): layout as layout
8162 * lyxlayout_ptr_fwd.h: new file
8164 * lyxlayout.C (Read): layout as layout
8166 * lyx_cb.C (MenuInsertLabel): layout as layout
8168 * bufferlist.C (newFile): layout as layout
8170 * buffer.C (readLyXformat2): layout as layout
8171 (parseSingleLyXformat2Token): layout as layout
8172 (insertStringAsLines): layout as layout
8173 (asciiParagraph): layout as layout
8174 (latexParagraphs): layout as layout
8175 (makeLinuxDocFile): layout as layout
8176 (simpleLinuxDocOnePar): layout as layout
8177 (makeDocBookFile): layout as layout
8178 (simpleDocBookOnePar): layout as layout
8179 (getLists): layout as layout
8181 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8183 * CutAndPaste.C (cutSelection): layout as layout
8184 (pasteSelection): layout as layout
8185 (SwitchLayoutsBetweenClasses): layout as layout
8187 * BufferView_pimpl.C (Dispatch): layout as layout
8188 (smartQuote): layout as layout
8190 * BufferView2.C (unlockInset): layout as layout
8192 2002-06-24 André Pönitz <poenitz@gmx.net>
8194 * lyxfunc.C: fix #487
8196 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8200 * lyxfunc.C: remove display_shortcuts, show_banner
8202 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8204 * Buffer_pimpl.C: oops, update on resize
8206 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8213 * BufferView.C: use repaint()
8215 * BufferView_pimpl.h:
8216 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8217 as it's a clearer description. Remove superfluous
8220 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8222 * text.C: fix bug 488. Not ideal, but getting
8223 getWord() to work properly for the insets that
8224 matter is more difficult ...
8226 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8228 * BufferView_pimpl.C:
8231 * lyxfunc.C: remove the six million index lyxfuncs to just
8232 one, and DTRT (bug 458)
8234 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8238 * BufferView_pimpl.h:
8239 * BufferView_pimpl.C: clean up resize() stuff,
8240 and unnecessary updateScreen()s
8242 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8246 * BufferView_pimpl.h:
8247 * BufferView_pimpl.C:
8250 * minibuffer.C: remove focus management of workarea,
8251 not needed. Use screen's greyOut()
8253 2002-06-17 Herbert Voss <voss@lyx.org>
8255 * converter.C: (convert) do not post a message, when converting
8256 fails, let the calling function decide what to do in this case
8258 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8260 * lyxfunc.C: tidy up a little
8262 2002-06-16 <alstrup@diku.dk>
8264 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8265 Got rid of FORMS_H_LOCATION include. Now we are
8268 2002-06-15 LyX Development team <lyx@rilke>
8270 * buffer.[Ch] (sgmlOpenTag):
8271 (sgmlCloseTag): Added support for avoiding pernicious mixed
8272 content. Return number of lines written.
8275 (makeDocBookFile): Fixed calls to sgml*Tag.
8276 Simple white space clean.
8278 (simpleDocBookOnePar): Simple white space clean.
8280 * tabular.[Ch] (docBook): Renamed to docbook and got another
8281 argument to related with the pernicious mixed content.
8283 (docbookRow): Fixed calls for docbook inset method.
8285 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8287 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8288 so it's X11 independent.
8292 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8294 2002-06-15 Lyx Development team <lyx@electronia>
8296 * intl.h: Renamed getTrans to getTransManager.
8298 2002-06-14 Angus Leeming <leeming@lyx.org>
8300 * Makefile.am: nuke forgotten stl_string_fwd.h.
8302 2002-06-12 Angus Leeming <leeming@lyx.org>
8304 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8306 2002-06-13 Angus Leeming <leeming@lyx.org>
8309 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8311 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8313 * kbmap.C (getiso): add support for cyrillic and greek
8315 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8319 * BufferView_pimpl.h:
8320 * BufferView_pimpl.C: move bogus scrolling logic
8323 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8326 * BufferView_pimpl.C: view->resize() change
8328 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8330 * BufferView_pimpl.C: topCursorVisible
8333 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8337 * lyx_gui.C: move to frontends/
8341 * lyx_main.C: changes from above
8343 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8350 * lyx_main.C: minor tidy
8352 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8354 * BufferView_pimpl.h:
8355 * BufferView_pimpl.C:
8357 * BufferView.C: make painter() const,
8360 * BufferView2.C: use screen() accessor
8363 * lyx_main.C: some minor cleanup
8365 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8367 * BufferView_pimpl.h:
8368 * BufferView_pimpl.C: remove enter/leaveView,
8371 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8376 * BufferView_pimpl.h:
8377 * BufferView_pimpl.C: only construct screen once,
8380 * lyxrc.C: remove pointless comment
8382 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8385 * BufferView.C: remove active() and belowMouse()
8387 * BufferView_pimpl.h:
8388 * BufferView_pimpl.C: use workarea() not workarea_,
8389 and make it use a scoped_ptr instead
8391 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8393 * lyx_gui.C: add debug message on BadWindow
8395 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8397 * sp_spell.C: fdopen is not part of the C++ standard.
8399 * paragraph.C (InsetIterator): use >= instead of ==
8401 2002-06-07 Angus Leeming <leeming@lyx.org>
8403 Fixes needed to compile with Compaq cxx 6.5.
8404 * BufferView_pimpl.C:
8411 * lyxtextclasslist.C:
8416 all c-library variables have been moved into namespace std. Wrap
8417 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8422 Add a using std::abs declaration.
8424 * kbmap.h (modifier_pair):
8425 * paragraph.h (InsetTable, InsetList):
8426 * lyxfont.h (FontBits):
8427 type definition made public.
8429 * bufferlist.C (emergencyWriteAll): the compiler complains that
8430 there is more than one possible lyx::class_fun template to choose from.
8431 I re-named the void specialisation as lyx::void_class_fun.
8433 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8435 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8436 the compiler is is unable to find tostr in write_attribute.
8438 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8440 * buffer.C (sgmlError): hide #warning
8442 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8444 * xtl/*: get rid of xtl, which is not in use anyway
8446 * LyXAction.C (init):
8447 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8448 were unimplemented xtl experimentation
8450 2002-06-04 André Pönitz <poenitz@gmx.net>
8452 * lyxfunc.C: disable array operation on simple formulae
8454 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8456 * converter.C: constify a bit
8458 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8460 * lyx_gui.C: check xforms version correctly
8462 2002-04-30 Herbert Voss <voss@lyx.org>
8464 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8467 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8469 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8470 attempt to register it with a VCS)
8472 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8474 * lyx_main.C (init): honor variables LYX_DIR_13x and
8477 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8481 * lyx_main.C: fix a crash on bad command line,
8482 and give a useful exit status on error
8484 * lyxfunc.C (doImport): allow -i lyx to work
8486 2002-03-30 André Pönitz <poenitz@gmx.net>
8488 * lyxfunc.C: mathed font changes
8490 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8505 * trans_mgr.h: srcdocs, and some minor cleanups
8507 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8509 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8510 call getFont all the time)
8512 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8514 * switch from SigC signals to boost::signals
8516 2002-05-29 André Pönitz <poenitz@gmx.net>
8518 * paragraph_pimpl.C (getChar): don't call size() too often...
8520 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8522 * paragraph_pimpl.C (insertChar): do not try to update tables when
8523 appending (pos == size())
8525 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8526 in order to reduce drastically the number of comparisons needed to
8527 parse a large document
8529 2002-05-29 André Pönitz <poenitz@gmx.net>
8535 * textclasslist.[Ch]:
8536 * sp_ispell.h: whitespace change
8538 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8540 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8541 lyxaction directly now.
8543 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8547 * lyxvc.C: remove unused headers
8549 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8556 * undo_funcs.C: some cleanups. Use shared_ptr
8557 and a template for the undo stacks.
8559 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8561 * BufferView_pimpl.h:
8562 * BufferView_pimpl.C:
8569 * text2.C: use key_state/mouse_state
8571 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8573 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8576 * chset.C: change include order
8577 (loadFile): use boost regex and get rid of LRegex and LSubstring
8579 * Makefile.am (BOOST_LIBS): new variable
8582 * LaTeX.C: change include order.
8583 (scanAuxFile): use boost regex and get rid of LRegex and
8587 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8592 * FontInfo.C: moved to frontends/xforms/
8595 * FontLoader.C: moved into frontends for GUIIzation
8600 * lyxfunc.C: changes from above
8602 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8604 * LColor.C: remove spurious X include
8606 * BufferView_pimpl.C:
8611 * text2.C: move font metrics to frontends/
8613 2002-05-24 Juergen Vigna <jug@sad.it>
8615 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8616 setting the undo_cursor.
8618 * ParagraphParameters.h: include local includes first.
8620 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8622 * BufferView_pimpl.C:
8623 * BufferView_pimpl.h:
8627 * screen.C: move WorkArea into frontends/
8633 * BufferView2.C: move LyXScreen into frontends/
8637 * lyx_gui.C: move lyxlookup into frontends/xforms/
8639 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8642 * BufferView_pimpl.C:
8652 * bufferview_funcs.C:
8665 * vc-backend.C: move LyX/XFormsView into frontends/
8667 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8679 * text2.C: move Painter to frontends/
8681 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8683 * buffer.C: comment out some some code that depend upon lyx_format
8686 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8687 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8689 * buffer.h (NO_COMPABILITY): turn off compability
8691 * ColorHandler.C: include scoped_array.hpp
8693 * font.C: Use more specific smart_ptr header.
8696 * ShareContainer.h: ditto
8700 * BufferView_pimpl.h: ditto
8701 * ColorHandler.h: ditto
8703 * kbmap.C (defkey): change call to shared_ptr::reset
8705 2002-05-21 Juergen Vigna <jug@sad.it>
8707 * buffer.C (insertErtContents): fix to insert ert asis if it is
8708 non empty. Skip it completely if it contains only whitespaces.
8710 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8712 * BufferView_pimpl.C:
8713 * BufferView2.C: clear selection on paste (bug 393)
8715 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8717 * DepTable.C: include ctime
8719 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8721 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8723 2002-05-14 Juergen Vigna <jug@sad.it>
8725 * text.C (breakParagraph): fixed function to honor the keepempty
8726 layout in the right maner and also to permit the right breaking
8727 algorithm on empty or non empyt keepempty paragraphs.
8729 * paragraph.C (breakParagraph): we have to check also if the par
8730 is really empty (!size()) for isempty otherwise we do the wrong
8733 2002-05-10 Juergen Vigna <jug@sad.it>
8735 * buffer.[Ch] : The following are only changes to the ert
8736 compatibility read reading old LaTeX layout and font stuff and
8737 convert it to ERTInsets.
8739 * buffer.h: added isErtInset().
8741 * buffer.C (struct ErtComp): add a fromlayout bool to check
8742 if we're inside a LaTeX layout.
8743 (isErtInset): new helper function.
8744 (insertErtContents): look for other ert insets before this one
8745 and insert the contents there, so that we don't have subsequent
8746 ERT insets with nothing between them. This way we create only one
8747 inset with multiple paragraphs. Also check if we don't insert only
8748 spaces ' ' as they are ignored anyway afterwards in the .tex file
8749 so if we have only spaces we will ignore this latex part in the
8751 (parseSingleLyXformat2Token \\layout): better compatibility when
8752 reading layout-latex stuff.
8753 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8755 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8756 stuff after reading the inset only get the information back from
8759 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8761 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8763 * LaTeXFeatures.C (getBabelOptions): New method.
8765 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8767 * BufferView_pimpl.C (Dispatch): work around missing argument for
8770 2002-05-08 Juergen Vigna <jug@sad.it>
8772 * text.C (leftMargin): handle paragraph leftindent.
8774 * paragraph.C (writeFile): write the new \\leftindent tag.
8775 (validate): handle leftindent code.
8776 (TeXEnvironment): handle paragraphleftindent code again.
8778 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8780 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8781 for paragrap_extra indent code and new token \\leftindent.
8782 (latexParagraphs): handle the leftindent as environment.
8784 * ParameterStruct.h: added leftindent support.
8786 * ParagraphParameters.C (leftIndent): added support functions for
8787 the paragraph left indent.
8789 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8792 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8794 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8797 * text.C (computeBidiTables): No bidi in insetERT.
8799 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8802 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8804 * version.C.in: pre 5
8806 2002-05-02 José Matos <jamatos@fep.up.pt>
8807 * buffer.C (makeDocBookFile): white space changes, add newline to
8809 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8811 * tabular.C (docBook): fix typo.
8813 2002-05-03 Juergen Vigna <jug@sad.it>
8815 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8816 change in LyXText as we can not be sure it was not freed.
8817 (drawOneRow): remove unused code.
8819 * text.C (drawInset): redo the calculation of the need_break_row as
8820 it could have a row which was already freed.
8821 (draw): look at the return value of drawInset and return false if
8822 it also returned false.
8823 (paintRowText): look at the return value of draw and return false if
8824 it also returned false.
8826 * lyxtext.h: added bool return type to drawInset() and draw() so that
8827 if we have a change in the row so that the rowbreak has to be redone
8828 we abort drawing as it will be called again.
8830 2002-05-02 Juergen Vigna <jug@sad.it>
8832 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8833 a change in the maintext also if we're inside an inset.
8834 (Dispatch): set the cursor again after a break line and after the
8835 screen has been updated as it could be we're in a different row.
8837 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8838 to set the cursor behind the pargraph with > size().
8839 (setCursor): check also for the same paragraph when checking where
8840 to put the cursor if we have a NFR inset.
8842 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8843 parts of layout read further up as it still was in the wrong
8846 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8848 * screen.C (drawFromTo): change sine fullRebreak always return
8851 * buffer.C (parseSingleLyXformat2Token): reindent some
8853 * BufferView_pimpl.C (update): change since fullRebreak always
8855 (Dispatch): git rid of the last hardcoded "Standard"s.
8857 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8859 * text2.[Ch] (fullRebreak): make it return void now that we always
8862 2002-04-30 Juergen Vigna <jug@sad.it>
8864 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8865 ert compatibility check for "latex" layout.
8867 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8869 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8870 minipages: use col% instead of p%, and also use the current font.
8871 (makeLaTeXFile): Fix use babel condition.
8872 (parseSingleLyXformat2Token): Correct font when reading old floats.
8874 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8876 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8877 inserting list of floats.
8879 2002-04-25 Herbert Voss <voss@lyx.org>
8881 * MenuBackend.C (expand): don't add the graphics extensions to the
8884 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8886 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8887 non-existing layout, do not complain if it was the default layout
8888 of the original class (bug #342)
8890 2002-04-24 Juergen Vigna <jug@sad.it>
8892 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8893 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8895 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8897 * buffer.C (getBibkeyList): If using \bibliography, return the
8898 option field with the reference itself. Enables us to provide natbib
8899 support when using \bibliography.
8901 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8903 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8905 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8906 natbib is provided by the LaTeX class.
8908 2002-04-23 Juergen Vigna <jug@sad.it>
8910 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8913 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8915 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8917 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8919 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8920 ensuremath around textordmasculine, textordfeminine and
8923 2002-04-19 Juergen Vigna <jug@sad.it>
8925 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8926 reinitializing the buffer otherwise row-dimensions may be wrong.
8927 (update): reset also the selection cursors if they do exits otherwise
8928 their x/y positions may be wrong.
8930 * text2.C (cursorDown): don't enter the inset if we came from a row
8931 above and are one row over the inset.
8933 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8934 really leaving an inset.
8936 2002-04-18 Juergen Vigna <jug@sad.it>
8938 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8939 of the selected paragraph does not have the selected layout also if
8942 * text2.C (setLayout): fixed bug which did not change last selected
8945 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8946 changed the read and substituted \\end_float with \\end_inset!
8948 * BufferView_pimpl.C (cursorPrevious):
8949 (cursorNext): fixed to make it work with rows heigher than the work
8950 area without moving the cursor only the draw of the row.
8951 (workAreaMotionNotify): fix jumping over high rows.
8953 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8955 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8958 2002-04-16 Juergen Vigna <jug@sad.it>
8960 * text2.C (setCursor): set also the irow().
8961 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8963 (cursorDown): support for locking an inset if the x_fix value goes
8964 inside it. That way I can transverse insets too with cursor up/down.
8966 * lyxrow.h: added irow helper function same as other (i) functions.
8968 * BufferView_pimpl.C (cursorPrevious):
8969 (cursorNext): fixed for insets!
8971 2002-04-15 Juergen Vigna <jug@sad.it>
8973 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8974 position otherwise it is wrong in some cases.
8976 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8977 inside the inset before the call.
8979 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8981 * buffer.[Ch] (getBibkeyList): make it const.
8983 2002-04-12 Juergen Vigna <jug@sad.it>
8985 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8987 * text2.C (getCursorX): new helper function
8988 (setCursor): compute also ix_
8989 (setCursorFromCoordinates): set also ix.
8991 * lyxcursor.h: added ix_ and helper functions.
8993 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8995 * buffer.C (insertStringAsLines): dont break paragraph if the this
8996 paragraph is inside an inset which does not permit it!
8998 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8999 also with no chars on this paragraph.
9000 (paintRowText): only paint stuff if it's inside the workarea!
9002 * paragraph.C (breakParagraph): honor keepempty flag and break the
9003 paragraph always below not above.
9005 * BufferView2.C (unlockInset): update the paragraph layout on inset
9006 unlock as we changed paragraph in such a case.
9008 * lyxfind.C (LyXFind): clear the former selection if not found!
9010 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9011 again called in insertChar().
9013 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9014 an inset which uses the whole row!
9015 (rightMargin): ditto.
9016 (insertChar): force a rebreak if we inserted an inset!
9018 2002-03-28 Herbert Voss <voss@lyx.org>
9020 * lyxlength.[Ch]: add inBP() to get the right PS-point
9021 units (BigPoint). With inPixels we have rounding errors
9023 2002-04-11 Juergen Vigna <jug@sad.it>
9025 * text2.C (setCursorFromCoordinates): set iy to the right value.
9026 (setCursor): add check if row->previous exists!
9028 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9029 an old float_type as this was the case in the old code!
9031 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9033 * BufferView2.C (showLockedInsetCursor): use iy
9034 (fitLockedInsetCursor): ditto
9036 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9037 locked insets as there we have the right value now.
9039 * lyxcursor.C: added iy_ variable and iy functions to set to the
9040 baseline of cursor-y of the locked inset.
9042 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9043 (setCursor): fixed for insets which need a full row.
9045 * text.C (rowLastPrintable): don't ignore the last space when before
9046 an inset which needs a full row.
9047 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9048 as last character of a row when before a inset which needs a full row.
9050 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9052 * version.C.in: update date
9054 * text2.C (fullRebreak): try to always return true and see what
9057 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9059 * MenuBackend.C (expand): use Floating::listName
9061 * FloatList.C (FloatList): add listName argument to the built-in
9064 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9065 text associated with the float.
9067 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9069 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9071 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9073 * ShareContainer.h: add a couple of missing typenames.
9075 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9077 * lyxrc.C (getDescription): use _() correctly rather than N_().
9079 2002-03-28 Herbert Voss <voss@lyx.org>
9081 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9082 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9084 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9086 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9087 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9089 2002-03-29 Juergen Vigna <jug@sad.it>
9091 * lyxfunc.C (dispatch): add a missing fitCursor call.
9093 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9094 it was scrolled by a cursor move, so return the bool status.
9096 * BufferView.C (fitCursor): return the bool flag also to the outside
9097 world as this is needed.
9099 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9101 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9102 call the edit() as it is not needed (and wrong) IMO.
9103 (workAreaButtonPress): set the screen_first variable before evt.
9104 unlock the inset as this may change screen_first and then we have
9105 a wrong y position for the click!
9107 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9109 * MenuBackend.C (expand): another translation that I missed
9111 2002-03-28 Juergen Vigna <jug@sad.it>
9113 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9115 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9117 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9119 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9121 * MenuBackend.C (expand): fix export/view/update when there is no
9124 2002-03-27 Herbert Voss <voss@lyx.org>
9126 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9129 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9131 * bufferview_funcs.C (currentState): only show paragraph number
9132 for is DEVEL_VERSION is set.
9134 * lyxfunc.C (dispatch): put warning in INFO channel
9136 * MenuBackend.C (expand): translate the name of floats
9138 * FloatList.C (FloatList): mark the float names for translation
9140 * converter.C (convert): use LibScriptSearch
9142 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9144 * MenuBackend.C (defaults): fix default menu (we might as well get
9147 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9149 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9152 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9154 * lyxvc.C: reorder includes.
9156 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9158 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9161 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9163 * CutAndPaste.C: change layouts earlier on paste
9164 to avoid crashing when calling getFont()
9166 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9168 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9171 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9173 * WorkArea.C: remove 'Pending' debug message.
9175 * most files: ws cleanup
9177 * buffer.[Ch]: ws changes
9179 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9181 2002-03-21 Juergen Vigna <jug@sad.it>
9183 * tabular.C (SetMultiColumn): collapse also the contents of the
9184 cells and set the last border right. Added a Buffer const * param.
9186 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9188 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9191 2002-03-19 Juergen Vigna <jug@sad.it>
9193 * text2.C (clearSelection): reset also xsel_cache.
9195 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9196 where it needs to be called (John tells us to do so too :)
9197 (selectionLost): reset sel_cache.
9199 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9201 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9203 * text2.C (setCursorIntern): put debuging code in INSETS channel
9205 2002-03-19 André Pönitz <poenitz@gmx.net>
9207 * lyxfunc.C: tiny whitespace change
9209 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9211 * ToolbarDefaults.C (init):
9212 * LyXAction.C (init):
9214 * BufferView_pimpl.C (Dispatch):
9215 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9217 2002-03-19 Allan Rae <rae@lyx.org>
9219 * exporter.C (Export): removeAutoInsets before doing anything else.
9220 While I've just introduced a dependency on BufferView this really is
9221 the best place to clean the buffer otherwise you need to cleanup in
9222 a dozen places before calling export or cleanup in a dozen functions
9225 * converter.C (runLaTeX):
9226 (scanLog): Better handling of removeAutoInsets and screen updates.
9228 * lyxfunc.C (dispatch): small whitespace changes
9230 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9232 * WorkArea.C (C_WorkAreaEvent): return a value.
9233 (event_cb): return 1 if we handled the event, 0 otherwise.
9235 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9237 2002-03-18 Juergen Vigna <jug@sad.it>
9239 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9240 (GetAdditionalWidth): ditto.
9244 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9245 inset if we're there actually (probably not used right now but this
9246 is the direction to go for unifying code).
9247 (paste): disable code to clear the selection.
9249 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9250 inside an InsetText and move the check further up as it is in the
9253 * text2.C (pasteSelection): set a selection over the pasted text.
9255 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9257 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9258 and libgraphics to build on Cygwin.
9260 2002-03-15 Juergen Vigna <jug@sad.it>
9262 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9263 inserting an Inset into the paragraph. I know this is not the best
9264 fix but we already use current_view in CutAndPaste so we will remove
9265 all of it's using at the same time.
9267 * buffer.C (sgmlError): deactivated function till it is rewritten in
9268 the right mode, now it can create problems.
9270 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9271 before accessing it.
9273 2002-03-14 Juergen Vigna <jug@sad.it>
9275 * undo_funcs.C (textHandleUndo): do the right thing when updating
9276 the inset after the undo/redo.
9278 * text2.C (setCursor): just some testcode for #44 not ready yet.
9280 * undo_funcs.C (textHandleUndo): set the next() and previous()
9281 pointers of the paragraph to 0 before deleting otherwise we have
9282 problems with the Paragraph::[destructor].
9284 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9285 on a paragraph insertion.
9287 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9289 * buffer.C (asciiParagraph): use += operator for char append to
9292 * paragraph.C (getFontSettings): compare >= not just >
9293 (highestFontInRange): ditto
9296 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9298 * paragraph.C: change several algorithm to be more appripriate for
9299 the problem domain. This is lookip in FontList and in the InsetList.
9301 2002-03-13 André Pönitz <poenitz@gmx.net>
9304 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9306 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9311 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9313 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9315 * Painter.C (display): anon helper function, adjust code for this
9317 (pixmap): remove function.
9319 * Painter.h: remove private display variable.
9321 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9323 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9325 * WorkArea.[Ch]: remove figinset_canvas cruft.
9327 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9329 * lyxtextclass.C (operator): add one item cache optimization.
9331 * bufferlist.h: doxy changes
9333 * bufferlist.C: ws changes
9335 * DepTable.[Ch] (ext_exist): place const in the right spot.
9337 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9339 (workAreaExpose): call resizeInsets when the with BufferView changes.
9340 (Dispatch): adjust for protectedBlank removal
9341 (specialChar): call updateInset if the insert went ok.
9343 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9344 specialChar instead.
9346 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9348 * BufferView.h: doxy change
9350 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9352 * lyxtextclass.C (operator[]): remove non-const version
9353 (defaultLayout): remove non-const version
9355 2002-03-12 Juergen Vigna <jug@sad.it>
9357 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9358 did resize the LyXText too.
9360 * buffer.C (readLyXformat2): set layout information on newly allocated
9363 * tabular.C (OldFormatRead): set layout information on the paragraph.
9365 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9367 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9369 2002-03-11 Juergen Vigna <jug@sad.it>
9371 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9373 (resizeCurrentBuffer): force also the insets to resize themselfes.
9374 (moveCursorUpdate): fixed up for InsetText.
9376 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9379 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9380 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9381 value of Dialogs::tooltipsEnabled().
9382 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9384 2002-03-08 Juergen Vigna <jug@sad.it>
9386 * BufferView_pimpl.C (updateInset): update inset inside inset also
9387 if it isn't inside theLockingInset().
9389 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9391 * buffer.C (asciiParagraph): redo some of the word and line length
9393 (getLists): look for Caption instead of caption.
9395 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9397 * buffer.C (Buffer): initialize niceFile to true
9400 (makeDocBookFile): make sure niceFile is true on exit
9402 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9404 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9406 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9408 * LyXSendto.C: remove.
9409 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9410 * lyx_gui.C: remove now-redundant comment.
9411 * ColorHandler.h: remove forward declaration of class WorkArea.
9412 * lyxfunc.C: remove #include "WorkArea.h".
9414 2002-03-07 Juergen Vigna <jug@sad.it>
9416 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9417 got moved away with the DEPM and also set the inset_owner always
9418 right which before could have been omitted.
9420 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9422 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9423 wanted layout is not found.
9425 2002-03-07 Juergen Vigna <jug@sad.it>
9427 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9429 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9431 * paragraph.C (breakParagraph): use default layout not layout of
9433 (Paragraph): clear ParagraphParameters.
9435 2002-03-06 Juergen Vigna <jug@sad.it>
9437 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9438 otherwise it would not be a valid lenght. Fixed a special case in
9439 the minipage compatibility read where we end the document with a
9442 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9443 was set as it could be 0 for InsetTexts first entry.
9445 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9447 * paragraph.C (writeFile): if layout is empty write out
9448 defaultLayoutName().
9450 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9451 file without named layout we set layout to defaultLayoutName().
9453 2002-03-06 Juergen Vigna <jug@sad.it>
9455 * CutAndPaste.C (copySelection): set layout for new paragraph.
9457 * text.C (prepareToPrint): leave ERT inset left aligned
9458 (leftMargin): don't indent paragraphs inside ERT insets
9460 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9462 * paragraph.C (breakParagraph): dont call clear do the work manually
9464 * paragraph.[Ch] (clear): remove function
9466 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9468 * paragraph.C (Paragraph): dont call clear, the work has already
9471 * lyxtextclass.C (operator): assert if n is empty
9473 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9474 work manually instead.
9476 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9478 * BufferView_pimpl.C: protect selectionLost against text == 0
9480 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9482 * text.C (breakParagraph): fix a setting layout to '0' problem.
9484 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9486 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9487 final location of file, for the included files, and graphics.
9489 2002-03-05 Juergen Vigna <jug@sad.it>
9491 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9493 2002-03-04 Juergen Vigna <jug@sad.it>
9495 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9497 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9498 last column of multicolumn cells.
9499 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9501 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9503 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9504 file if it doesn't go to a temporary file.
9506 * buffer.C (sgmlOpenTag):
9507 (sgmlCloseTag): remove extra newline insertion.
9509 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9511 * text.C (getRowNearY): comment out debug msg
9513 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9515 * text2.C: first -> first_y
9517 * text.C (getRowNearY): add some attemts at a possible
9518 optimization, not working.
9520 * tabular.[Ch]: add BufferParams to several function so that newly
9521 created paragraph can be initialized to he default layotu for the
9524 * tabular-old.C (ReadOld): add buf->params to call of Init
9526 * screen.C: rename text->first to text->first_y
9528 * paragraph.C (breakParagraph): always set layout in the broken
9531 * lyxtextclass.C (Read): remove lowercase
9534 (delete_layout): ditto
9536 * lyxtext.h: rename first -> first_y
9538 * lyxlayout.C (Read): remove lowercase
9541 (obsoleted_by): ditto
9543 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9545 * buffer.C (insertErtContents): add params are to InsetERT
9546 (parseSingleLyXformat2Token): add code to check if a paragraphs
9547 layout really exist.
9548 (parseSingleLyXformat2Token): add params to several inset
9550 (asciiParagraph): remove lowercase, do the layout comparisons with
9553 * BufferView_pimpl.C (cursorNext): first -> first_y
9554 (resizeCurrentBuffer): first -> first_y
9555 (updateScrollbar): first -> first_y
9556 (scrollCB): first -> first_y
9557 (workAreaMotionNotify): first -> first_y
9558 (workAreaButtonPress): first -> first_y
9559 (checkInsetHit): first -> first_y
9560 (cursorPrevious): first -> first_y
9561 (cursorNext): first -> first_y
9562 (Dispatch): add buffer_->params to severl inset contructors
9564 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9566 * lyxlayout.C (Read): remove some debug info that I forgot.
9568 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9569 clean up the code slightly.
9570 (makeLinuxDocFile): ditto
9571 (makeDocBookFile): ditto
9573 * text2.C: layout as string
9575 * text.C: layout as string
9577 * paragraph_pimpl.C: layout as string
9579 * paragraph.[Ch]: layout as string
9581 * lyxtextclasslist.[Ch]: layout as string
9583 * lyxtextclass.[Ch]: layout as string
9585 * lyxtext.h: layout as string
9587 * lyxlayout.[Ch]: layout as string
9589 * lyx_cb.C: layout as string
9591 * bufferview_funcs.C: layout as string
9593 * bufferparams.C: layout as string
9595 * buffer.C: layout as string
9597 * LyXView.[Ch]: layout as string
9599 * LaTeXFeatures.[Ch]: layout as string
9601 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9603 * BufferView_pimpl.C: change current_layout to string, remove
9608 (workAreaButtonRelease): layout as string
9610 * BufferView2.C (unlockInset): adjust
9612 * vspace.C (asLatexCommand): use an explict temp variable.
9614 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9616 * Makefile.am: use FRONTEND_*
9618 2002-03-01 Juergen Vigna <jug@sad.it>
9620 * tabular.C (SetWidthOfMulticolCell): changed to something better
9621 I hope but still work in progress.
9622 (recalculateMulticolumnsOfColumn): renamed function from
9623 recalculateMulticolCells as it is more appropriate now.
9624 (SetWidthOfCell): calculate multicols better.
9626 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9628 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9630 * lyxfunc.C (processKeySym): print sequence also if it is
9631 `deleted' (complete)
9633 * kbsequence.C (print): print sequence even if it is deleted
9634 (complete would be a better word, actually).
9636 * lyxfunc.C (dispatch): print complete options after a prefix key
9638 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9640 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9642 * text2.C (setCharFont): eliminate setCharFont code duplication.
9644 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9646 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9647 LFUN_TABULAR_FEATURE (bug #177)
9649 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9651 * Makefile.am: remove figure.h
9653 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9655 * Bufferview_pimpl.C:
9667 * text2.C: remove #include "lyx_gui_misc.h".
9669 * LaTeX.C: added #include <cstdio>
9671 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9673 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9674 that the paragraph following this one can have.
9676 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9678 * vspace.C (asLatexCommand): fix bogus gcc warning
9680 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9682 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9684 * text2.C (setLayout): get rid of redundant code
9686 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9688 * text2.C (incDepth): make sure depth cannot be increased beyond
9691 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9693 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9694 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9696 * PainterBase.h (image):
9697 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9700 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9704 * BufferView_pimpl.C:
9705 * BufferView_pimpl.h:
9725 * sp_spell.C: remove fig inset, and the crap house of
9726 cards that follows it
9728 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9734 * nt_defines.h: move .h into support/
9736 * vms_defines.h: remove
9738 * WorkArea.C: add space in debug output
9742 * buffer.C: add WITH_WARNINGS
9746 * bufferlist.C: s/retrive/retrieve/, add docs
9757 * lyxgui.C: add ID to X error handler
9759 * lyxtestclass.c: fix typo
9761 2002-02-26 Juergen Vigna <jug@sad.it>
9763 * tabular_funcs.C (write_attribute): changed so that some default
9764 attributes are not written at all.
9765 (getTokenValue): set default values before trying to read the
9766 value so we have the return value always set as default if we don't
9767 find the token we search for.
9769 * tabular.C (Write): write bools as bools not as strings!
9771 2002-02-22 Juergen Vigna <jug@sad.it>
9773 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9774 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9776 * text.C (leftMargin): don't add an indent for paragraphs inside
9777 tabular cells (fix #208).
9779 2002-02-21 José Matos <jamatos@fep.up.pt>
9781 * tabular.C (docBook): fixed support for long tables.
9783 2002-02-20 Juergen Vigna <jug@sad.it>
9785 * text2.C (getFont): get the drawing font of the Inset if this
9786 paragraph is inside an inset (only important for InsetERT for now).
9788 * buffer.C (insertErtContents): use new lanugage params in ERT
9791 * CutAndPaste.C: commenting out seemingly uneeded code.
9793 2002-02-19 Allan Rae <rae@lyx.org>
9795 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9796 Iterators might be simple to use but they also get invalidated.
9797 (removeAutoInsets): renamed saved cursor tracking variables and added
9798 some comments to clarify what everything does.
9800 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9807 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9808 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9811 * vc-backend.h: remove #include "support/syscall.h"
9815 * converter.C: rearrange #includes in Lars' approved fashion.
9817 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9818 forward declare class Timeout in the header file.
9820 * XFormsView.C: changes due to the above.
9822 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9825 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9826 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9828 2002-02-18 José Matos <jamatos@fep.up.pt>
9830 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9833 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9835 * a lot of small ws changes
9836 * add a lot of using std::XXX
9837 * use std construcs some places where approp.
9838 * use some exisint stuff from lyxfunctional where approp.
9839 * Make file changes to use partial linking (lets test this now...)
9841 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9845 remove #include "support/syscontr.h" as it's redundant. Always has been.
9853 change Systemcalls::System to Systemcalls::Wait and
9854 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9855 No change of functionality, just reflects the stripped down Systemcalls
9858 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9860 * debug.[Ch]: add a GRAPHICS type to the enum.
9862 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9864 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9866 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9869 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9871 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9872 match the changes below.
9874 * text2.C (toggleInset): if there is not editable inset at cursor
9875 position, try to see if cursor is _inside_ a collapsable inset
9878 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9880 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9881 document menu has a nice checkbox
9883 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9885 * lyxlength.C (asLatexString): change PW to output as percent of
9888 * lengthcommon.C: change '%' to 't%'
9890 * lyxfunc.C (dispatch): a few comments from Martin
9892 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9896 * BufferView_pimpl.h:
9897 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9900 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9902 * vspace.C (inPixels): fix compiler warning
9904 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9906 * lyxfunc.C (getStatus): fix status message for disabled commands.
9908 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9910 * BufferView_pimpl.C: fix crash on close buffer
9911 during selection (#227)
9913 2002-01-27 Herbert Voss <voss@lyx.org>
9915 * buffer.C: link old Figure to new graphic inset
9917 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9919 * FontLoader.C (getFontinfo): Change the latex font names in order
9920 to match the names of type1inst.
9922 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9924 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9926 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9929 (remove_files_with_extension): ditto
9930 (remove_file): ditto
9933 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9934 document is smaller than the work area height. Do not initialize
9935 static variables to 0.
9937 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9939 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9941 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9942 LFUN_LAYOUT_PARAGRAPHS.
9944 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9945 tabular. It is possible to provide a possible cell, which will
9946 typically be the actcell from the corresponding insettabular
9948 * lyxfunc.C (getStatus): small cleanup; disable
9949 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9952 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9954 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9956 * paragraph.C (startTeXParParams):
9957 (endTeXParParams): new methods. The LaTeX code to
9958 start/end paragraph formatting
9959 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9960 empty (fixes bug #200)
9962 * vspace.C (inPixels): adapt to the change below
9963 (inPixels): [later] more cleanups (remove unused variables)
9965 * lyxlength.C (inPixels): change to use a width and a height as
9968 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9970 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9971 Replaced with \paperwidth
9973 * DepTable.C (insert): add std:: qualifier
9975 2002-01-18 Allan Rae <rae@lyx.org>
9977 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9980 * text.C (drawInset): Turned out I didn't know enough about how
9981 rebreaking worked. This fixes most of the redraw problems. I see
9982 an occasional cursor trail when a line is broken now and the cursor
9983 placement can seem out by a few pixels also after a rebreak.
9985 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9987 * buffer.C (parseSingleLyXformat2Token): update because minipage
9988 width is now a LyXLength
9990 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9992 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9995 2002-01-17 Juergen Vigna <jug@sad.it>
9997 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9999 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10000 is set correctly and the inset is updated correctly.
10002 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10004 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10005 the beginning of the loop.
10007 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10009 * lyxrc.C: improve help for use_scalable_fonts
10011 2002-01-17 Allan Rae <rae@lyx.org>
10013 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10015 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10017 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10018 make sure to set their inset_owner to the right value (bug #171)
10020 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10023 * DepTable.C: Implement mtime checking to reduce time spent doing
10026 2002-01-16 Juergen Vigna <jug@sad.it>
10028 * tabular.C (GetAdditionalHeight): one of error fixed.
10030 * lyxrc.C (output): small fix in writing use_pspell.
10032 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10034 * sp_base.h: #include LString.h
10036 2002-01-16 Allan Rae <rae@lyx.org>
10038 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10039 Can someone check this please?
10041 * text.C (drawInset): It was possible that p.row would be removed by
10042 breakAgainOneRow upsetting a few other settings. There may be another
10043 small tweak possible by setting need_break_row = 0 when p.row has been
10044 removed but I don't know enough about the logic here.
10046 2002-01-15 Allan Rae <rae@lyx.org>
10048 * text.C (insertChar): removed conditional truism.
10050 * BufferView2.C (removeAutoInsets): More tweaks.
10051 cur_par_prev could be a stray pointer. Check for trailing empty line
10052 in case last line was cur_par and only had an error inset on it.
10054 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10056 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10059 * vc-backend.C (most methods):
10060 * exporter.C (Export):
10061 * converter.C (convert):
10063 * LyXSendto.C (SendtoApplyCB):
10064 * lyxfunc.C (dispatch):
10068 * lyx_cb.C (AutoSave):
10070 * BufferView_pimpl.C (MenuInsertLyXFile):
10071 * buffer.C (runChktex): use Buffer::filePath().
10073 * buffer.h: rename filename to filename_; rename filepath to
10074 filepath_ and make it private
10075 (filePath): new method
10077 * buffer.C (writeFile): use fileName()
10080 * lyx_main.C (init): fix starting of LyX when the binary is a
10081 link from so,ewhere else.
10083 * minibuffer.C: include <cctype> for isprint
10085 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10087 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10088 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10089 name clash with InsetCollapsable's width function.
10091 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10093 * lastfiles.C: include <iterator>
10095 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10097 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10100 * buffer.C (makeLaTeXFile): ditto.
10101 Also make loop operation more transparent.
10103 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10105 * ToolbarDefaults.C: remove trailing comma closing namespace.
10107 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10109 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10112 * trans.C (Load): comment out unused variable, allowed.
10114 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10116 * minibuffer.[Ch] (append_char): new method to recieve input from the
10117 drop-down completion browser. If a key was pressed, then recieve this
10118 char and append it to the existing string.
10119 (peek_event): modify the positioning data passed to the completion
10120 browser so that it can be placed above the minibuffer rather than below.
10121 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10123 * LyXAction.C (init): alloe error-next for readonly documents.
10125 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10128 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10130 * bufferlist.C (readFile): create the buffer _after_ checking that
10133 * lyxfunc.C (verboseDispatch): fix handling of arguments
10135 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10137 * lyxrc.C: use string::erase() instead of initializing to "".
10140 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10142 * BufferView_pimpl.h:
10143 * BufferView_pimpl.C:
10146 * text2.C: tell X when we have made a selection for copying
10148 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10150 * BufferView_pimpl.C (MenuInsertLyXFile):
10151 * lyxfunc.C (menuNew):
10153 (doImport): add shortcuts to directory buttons
10155 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10158 * lyxfunc.C (setStatusMessage):
10159 (getStatusMessage): new methods
10160 (getStatus):use setStatusMessage instead of setErrorMessage
10161 (dispatch): when function is disabled, set error message here
10162 [instead of in getStatus previously]
10164 * BufferView_pimpl.C (workAreaButtonRelease): update
10165 toolbar/menubar here too.
10167 2002-01-13 Allan Rae <rae@lyx.org>
10169 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10170 Now seems indestructible. Remaining task is to audit all other
10171 code affected by deleteEmptyParagraphMechanism. One small quirk
10172 left is that an empty document with an error in the preamble can
10173 be made to report an error but no error box appears. I don't know
10175 (removeAutoInsets): Improved comments.
10177 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10180 * Thesaurus.C: update for Aiksaurus 0.14
10182 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10184 * text2.C (firstParagraph): removed member function, all uses
10185 replaces with ownerParagraph
10186 (redoParagraphs): here
10187 (updateInset): here
10188 (toggleAppendix): here
10189 * BufferView2.C (insertErrors): here
10190 (setCursorFromRow): here
10192 2002-01-13 Allan Rae <rae@lyx.org>
10194 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10195 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10196 There is still a way to segfault this although you may have to do this
10197 multiple times: Have an InsetERT with an unknown command in it.
10198 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10199 <down-arrow>, <Enter> again, View->DVI, BANG!
10201 * text2.C (setCursor):
10202 (deleteEmptyParagraphMechanism):
10203 * lyxtext.h (setCursor):
10204 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10205 Making use of the return value may help fix other bugs.
10207 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10209 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10211 * LyXView.C (updateMenubar): call MenuBar::update here
10212 (updateToolbar): but not here
10213 (showState): do not update toolbar/menubar
10215 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10216 should need to care about that.
10218 * lyxfunc.C (verboseDispatch): simplify a bit
10219 (getStatus): have a version which takes a pseudoaction, and
10220 another which requires a (kb_action,string).
10222 * LyXAction.C (retrieveActionArg): make it work also when action
10223 is not a pseudo-action.
10224 (getActionName): simplify a bit
10227 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10229 * lyxfunc.C (verboseDispatch): new families of methods with
10230 several ways to specify a command and a bool to indicate whether
10231 the command name and shortcut should be displayed in minibuffer
10232 (eventually, we could extend that to a finer bitmask like
10233 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10234 (dispatch): the pristine dispatch command which just, well,
10235 dispatchs! Note it still sets its result to minibuffer; I'm not
10238 * lyxfunc.h: remove setHintMessage
10240 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10242 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10244 * BufferView_pimpl.C (specialChar): delete new inset if we have
10245 not been able to insert it.
10247 * kbmap.C: revert to using int instead of kb_action, since all we
10248 are dealing with is pseudo-actions.
10250 * LyXAction.C (searchActionArg): change to return int instead of
10251 kb_action, since the result is a pseudoaction.
10253 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10255 * buffer.C (insertErtContents): Fix (partially) the font bug.
10257 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10259 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10260 as the other one is broken on my machine!
10262 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10265 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10267 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10269 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10270 reflect their actual use. Provide compatibility code for older lyxrc
10273 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10275 change names of popup font variables in line with the changes to lyxrc.C
10277 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10279 * buffer.C (asciiParagraph): avoid outputing a word twice after
10282 * lyxrc.C (getDescription): document that document_path and
10283 template_path can be empty.
10285 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10287 * LaTeXFeatures.C (getMacros):
10288 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10290 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10292 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10294 (getPackages): rename feature "floats" to "float". Use an array to
10295 iterate over 'simple' features (i.e. just a \usepackage). Add
10296 handling of "amsmath" (renamed from "amsstyle").
10298 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10300 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10303 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10305 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10306 FuncStaus::FuncStatus & FuncStaus::some_method().
10308 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10310 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10311 of the func_satus stuff. Edited and massaged in various ways by
10314 * lyxfunc.C (getStatus): use FuncStatus
10316 2002-01-08 Juergen Vigna <jug@sad.it>
10318 * text.C (nextBreakPoint): use function Inset::isChar().
10320 * paragraph.C (TeXOnePar): use function
10321 Inset::forceDefaultParagraphs.
10323 * buffer.C (latexParagraphs): use function
10324 Inset::forceDefaultParagraphs.
10326 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10328 * lyx_gui.C (init): set the style of the menu popups to
10329 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10331 2002-01-07 Juergen Vigna <jug@sad.it>
10333 * text.C (setHeightOfRow): small fix
10334 (prepareToPrint): don't look at alignment if we don't have the place
10337 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10339 * box.C: New file. Move the Box methods and functions out of box.h,
10340 following Lars' suggestion.
10342 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10344 * box.h: #include "support/LOstream.h", needed for inlined function.
10347 * lyxtextclasslist.C: added some using std declarations.
10349 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10351 * box.h: make signed dimensions to allow insets wider than
10352 the screen (bug #162)
10354 * BufferView_pimpl.C: add some insetHit debug
10356 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10358 * vc-backend.C: add FIXME
10360 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10362 * lyxfunc.C (getStatus): enable code for showing math font status
10365 2002-01-07 Juergen Vigna <jug@sad.it>
10367 * text.C (nextBreakPoint): removed debug output not needed anymore.
10369 2002-01-06 Juergen Vigna <jug@sad.it>
10371 * text.C (nextBreakPoint): fixed up this function we had this bug
10372 since ever but now hopefully we break row better.
10373 (insertChar): we have to check if an inset is the next char as it
10374 could now happen that a large inset is causing a break.
10376 2002-01-05 Juergen Vigna <jug@sad.it>
10378 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10379 if it doesn't like to be drawed.
10381 2002-01-04 Juergen Vigna <jug@sad.it>
10383 * BufferView2.C (lockInset): forgot to set a cursor.
10385 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10387 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10389 * FormMathsPanel.C:
10392 * form_maths_panel.C:
10393 * form_maths_panel.h:
10394 * form_maths_panel.fd: implemented sub- and super- buttons in math
10397 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10398 (or ^ space) to be used as in TeX (req'd by André).
10400 * lyxfunc.C: Allow ^ and _ again to be used both as
10401 super/subscript (mathed) and as themselves (in text).
10403 2002-01-03 Allan Rae <rae@lyx.org>
10405 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10406 "LyX" or the filename of the current buffer if it has one. This is a
10407 modified form of John Levon's patch.
10409 * XFormsView.C (setWindowTitle): also set icon title.
10411 * LyXView.h (setWindowTitle): signature changed.
10412 * XFormsView.h (setWindowTitle): ditto.
10414 2002-01-02 Juergen Vigna <jug@sad.it>
10416 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10418 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10420 * screen.C (topCursorVisible): introduce a temp var for
10421 text->cursor.row(), handle the case where this row is null. (kindo
10424 * text2.C (setCursor): add a couple of asserts.
10426 * paragraph.h (inset_iterator): add -> operator
10428 * paragraph.[Ch] (autoDeleteInsets): remove member function
10430 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10431 cursor pos correctly and handle inset deletion by itself.
10432 (insertErrors): move iterator declaration out of for expression
10434 * lyxtextclass.C: add <algorithm>
10436 * Makefile.am: added the new files to sources, removed layout.C
10438 * layout.C: removed file
10440 * layout.h: remove LYX_DUMMY_LAYOUT
10442 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10446 * lyxtextclass.[Ch]:
10447 * lyxtextclasslist.[Ch]: new files
10449 * include order changes to a lot of files, also changes because of
10452 2001-12-27 Juergen Vigna <jug@sad.it>
10454 * buffer.C (asciiParagraph): more fixes.
10456 * tabular.C (ascii): make ascii export support export of only the
10457 data separated by a column-delimiter.
10458 (ascii): better support for ascii export.
10460 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10462 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10464 * tabular_funcs.C: use a "using std::getline" instead of the
10465 previous fix from Angus (necessary for cxx + lyxstring)
10467 2001-12-24 Juergen Vigna <jug@sad.it>
10469 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10471 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10472 problems. First check a minipage also if we have some ert-contents
10473 (not only on par->size(), second set the right depth of the paragraph
10474 on the relink to the root-paragraph-list!
10476 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10477 which then did not anymore update the main paragraphs on undo/redo!
10479 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10481 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10482 code. Support all font-changing funcs (even those which are not in
10483 menu currently). Support for reporting font settings in
10484 mathed (disabled until Andre provides a function on mathed's side).
10486 * func_status.h (toggle): small helper function to set toggle
10489 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10491 * tabular_funcs.C: getline -> std::getline
10493 2001-12-21 Juergen Vigna <jug@sad.it>
10495 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10496 accessed and could be 0 (I couldn't generate this but it seems
10499 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10501 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10502 * tabular_funcs.h: here and include iosfwd
10504 2001-12-20 Juergen Vigna <jug@sad.it>
10506 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10507 inside inset but undo_par was.
10509 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10511 * Thesaurus.C: always include <config.h> in sources.
10515 * box.h: do not include <config.h> in header files
10517 * text.C (paintLastRow): remove unused variable
10519 * text.C (transformChar):
10521 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10523 * Painter.C (text):
10524 * font.C (width): rewrite to use uppercase() instead of
10527 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10529 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10531 * lyxfind.C: clean up of find failure position change
10533 2001-12-20 Juergen Vigna <jug@sad.it>
10535 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10537 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10538 (TeXRow): added to LaTeX a single tabular row.
10539 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10540 (Latex): simplified and finally good LT-h/f support.
10541 (various_functions): just small adaptions for LT-h/f support.
10543 * tabular_funcs.[hC]: added and moved here all not classfunctions
10546 2001-12-19 Juergen Vigna <jug@sad.it>
10548 * tabular.[Ch]: better support for longtabular options (not finished
10551 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10553 * text.C (paintLastRow): use the label font instead of the font of
10554 the last character to compute the size of *_BOX. This makes more
10555 sense and avoids a crash with empty paragraphs.
10556 Use Painter::rectangle to draw EMPTY_BOX.
10558 2001-12-19 Juergen Vigna <jug@sad.it>
10560 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10561 the paragraphs if the replaced paragraph is not the first one!
10562 Tried to delete not used paragraphs but does not work yet so for
10563 now it's inside #ifdef's and by default off!
10565 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10567 * MenuBackend.C: include "lyx_main.h" instead of declaring
10568 lastfiles (actually was declared as LastFiles* instead of a
10571 2001-12-17 Juergen Vigna <jug@sad.it>
10573 * tabular.C (AppendColumn): applied John's fix
10575 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10579 * BufferView_pimpl.h:
10580 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10583 * box.h: new start of class for above
10585 * lyxfunc.C: ignore space-only minibuffer dispatches.
10586 Show the command name when it doesn't exist
10588 * minibuffer.C: don't add empty lines to the history
10590 * minibuffer.C: add a space on dropdown completion
10592 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10594 * text.C: fix line above/below drawing in insets
10596 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10598 * lyxlength.C (LyXLength): Initialize private variables.
10600 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10602 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10603 when inserting error insets.
10605 2001-12-13 Juergen Vigna <jug@sad.it>
10607 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10608 actually sometimes the before-paragraph.
10609 (setUndo): don't clear the redostack if we're not actually undoing!
10611 2001-12-06 Juergen Vigna <jug@sad.it>
10613 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10614 and fixed redoing of main paragraph, so we can use it now ;)
10616 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10618 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10620 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10623 2001-12-13 André Pönitz <poenitz@gmx.net>
10626 * undo_func.C: minor cleanup
10628 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10630 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10631 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10632 font in urw-fonts package which is marked as -urw-fontspecific and
10633 does not work (incidentally, changing the encoding in the
10634 fonts.dir of this package to -adobe-fontspecific fixes the
10637 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10638 is a crash when undoing first paragraph (Juergen, please take a
10639 look). THis does not mean the undo fix is wrong, just that it
10642 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10643 the (Paragraph*) version when needed instead of duplicating the
10646 * text.C (workWidth): use Inset::parOwner to find out where the
10647 inset has been inserted. This is a huge performance gain for large
10648 documents with lots of insets. If Inset::parOwner is not set, fall
10649 back on the brute force method
10651 * paragraph_pimpl.C (insertInset):
10652 * paragraph.C (Paragraph):
10653 (cutIntoMinibuffer): set parOwner of insets when
10654 inserting/removing them
10656 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10658 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10664 * mathed/formulabase.C:
10665 * mathed/math_cursor.[Ch]:
10666 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10669 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10671 * lyxlength.[Ch] (operator!=): new function
10673 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10675 * text.C (workWidth): use Inset::parOwner to find out where the
10676 inset has been inserted. This is a huge performance gain for large
10677 documents with lots of insets. If Inset::parOwner is not set, fall
10678 back on the brute force method
10680 * paragraph_pimpl.C (insertInset):
10681 * paragraph.C (Paragraph):
10682 (cutIntoMinibuffer): set parOwner of insets when
10683 inserting/removing them
10685 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10687 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10689 * tabular-old.C (getTokenValue):
10690 * tabular.C (getTokenValue):
10691 (write_attribute): new versions for LyXLength
10692 (everywhere): adjust the use of widths
10694 * tabular.h: change the type of widths from string to LyXLength
10696 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10698 * paragraph.C: fixed missing line number count when exporting
10699 Environments to LaTeX file
10701 * buffer.C: added informational message for checking line numbers.
10703 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10705 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10706 paragraph, do the 'double space' part, but not the 'empty
10709 * text.C (workWidth): small optimization
10710 (getLengthMarkerHeight): use minimal size for negative lengths.
10712 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10714 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10716 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10718 2001-12-11 André Pönitz <poenitz@gmx.net>
10721 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10723 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10725 * text2.C: keep selection on a setFont()
10727 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10729 * lyx_cb.C: another bv->text misuse, from insert label
10731 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10734 * kbsequence.C: re-instate nmodifier mask
10736 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10738 * lyx_main.h: make lyxGUI private.
10740 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10742 * lyxfind.C: place the cursor correctly on failed search
10744 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10746 * text.C (getLengthMarkerHeight): for small heights, the arrows
10747 are not always on top/bottom of the text
10748 (drawLengthMarker): smaller arrows; take the left margin in
10749 account; draw also vfills.
10751 (paintLastRow): remove special code for vfill and standard spaces,
10752 since everything is handled in drawLengthMarker now.
10754 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10756 * buffer.C (insertErtContents): try to handle font and language
10757 interaction a bit better.g
10759 * ColorHandler.C (updateColor): change the hash to cover the whole
10760 LColor enum, ws cleanup
10761 (getGCLinepars): ditto
10762 (getGCLinepars): only lookup in the linecache once.
10764 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10766 * iterators.C (operator++): Make the iterator more robust
10768 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10770 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10772 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10775 * text.C: better added space drawing
10777 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10780 * BufferView2.C: fix layout combo update on inset unlock
10782 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10784 * Makefile.am: don't compile unused files
10786 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10790 * LyXAction.C: remove old LFUN_LAYOUTNO
10792 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10794 * paragraph_pimpl.h:
10795 * paragraph_pimpl.C: isTextAt() doesn't need font param
10797 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10800 * lyxlex.C: little cleanup
10802 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10804 * BufferView_pimpl.C: fix insertAscii for insets
10806 2001-12-05 Juergen Vigna <jug@sad.it>
10808 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10809 set the right font on the "multi" paragraph paste!
10811 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10817 * lyxlength.C: remove out-commented code.
10819 * BufferView_pimpl:
10833 * vc-backend.C: change "while(" to "while ("
10835 * lyxlength.[Ch]: add zero function to check if length is zero or
10837 * lyxgluelength.C: use it
10839 2001-12-05 Allan Rae <rae@lyx.org>
10841 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10842 Works for 2.95.3, from what I understand of Garst's reports this should
10843 work for other g++ versions. We're screwed if the abs(int) definition
10844 changed between bugfix releases of gcc.
10846 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10848 * text.C: fix chapter label offset !
10850 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10853 * text.C: fix hfill at end of line, clean up
10855 2001-12-04 Juergen Vigna <jug@sad.it>
10857 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10858 that we force an update of the inset and it's owners if neccessary.
10860 2001-12-03 Juergen Vigna <jug@sad.it>
10862 * text.C (rowLast): simplified code
10864 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10866 * lyxfunc.C: fix show options on timeout
10868 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10870 * screen.C (topCursorVisible): scroll half a page when the cursor
10871 reached top of bottom of screen
10873 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10875 * minibuffer.C: deactivate on loss of focus
10877 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10879 * vspace.[Ch] (operator!=): add operator.
10881 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10883 * BufferView_pimpl.C: refuse to open an inset when
10884 there's a selection.
10886 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10888 * BufferView_pimpl.C: allow to click on RHS of full row insets
10890 2001-11-30 Juergen Vigna <jug@sad.it>
10892 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10893 insets for undo reasons.
10895 2001-11-28 André Pönitz <poenitz@gmx.net>
10897 * vspace.[Ch]: cosmetical changes
10899 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10909 * kbsequence.C: part re-write of old kb code
10912 * WorkArea.C: remove Lgb_bug_find_hack
10914 2001-11-30 José Matos <jamatos@fep.up.pt>
10916 * buffer.C (makeDocBookFile): add a comment to point a hack.
10917 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10918 Fixed a double write of labels.
10920 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10923 * LaTeX.h Fixed bug in LaTeX class where it would not
10924 re-run latex if no depfiles were changed, but the .dvi was removed.
10926 2001-11-28 André Pönitz <poenitz@gmx.net>
10928 * all the files from the change on 2001/11/26:
10929 use lyx::layout_type instead of LyXTextClass::size_type
10930 use lyx::textclass_type instead of LyXTextClassList::size_type
10932 2001-11-29 Juergen Vigna <jug@sad.it>
10934 * text.C: added support for paragraph::isFreeSpacing()
10936 * buffer.C: same as above
10938 * paragraph.h: inserted isFreeSpacing() function to enable
10939 FreeSpacing inside InsetERT.
10941 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10942 of the paragraph's in the cut/copy buffer to 0!
10944 * text2.C (removeRow): remove the assert as it can!
10946 * lyxtext.h: added helper function firstRow returning firstrow and
10947 made firstrow private again.
10949 * BufferView2.C (lockInset): don't relock if we're already locked!
10951 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10952 the only paragraph.
10953 (removeRow): added Assert::(firstrow)
10955 * debug.C: forgot to add INSETTEXT here.
10957 2001-11-28 Juergen Vigna <jug@sad.it>
10959 * sp_spell.C (initialize): changed error text to more general
10960 spellchecker command use (not only ispell!)
10962 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10964 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10966 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10968 * vspace.C: initialise lyxgluelength on failure
10970 2001-11-28 Allan Rae <rae@lyx.org>
10972 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10973 declaration & definition that looks like a function declaration.
10975 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10977 * BufferView2.C (copy):
10978 (copyEnvironment): do not clear the selection when doing a copy.
10980 * text.C (paintFirstRow): compilation fix
10982 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10984 * tabular.C (Latex): correct line count when writing latex.
10986 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10988 * paragraph_pimpl.h:
10989 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10992 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10996 * LColor.C: change vfillline->added_space
10998 * text.C: add markers and text for added space
11000 * vspace.C: fix comment
11002 2001-11-28 André Pönitz <poenitz@gmx.net>
11004 * paragraph.C: whitespace changes
11005 * all the other files from the change on 2001/11/26:
11006 change *::pos_type into lyx::pos_type
11008 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11010 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11011 language of the document when inserting error insets.
11013 2001-11-26 André Pönitz <poenitz@gmx.net>
11015 * BufferView_pimpl.[Ch]:
11023 * paragraph_pimpl.[Ch]:
11026 * text2.C: reduce header dependencies, introduce type for positions
11028 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11030 * <various>: change to use Alert.h
11032 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11034 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11035 when encountering an unknown token.
11036 (readLyXformat2): Show an error message if there were unknown tokens.
11038 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11041 * BufferView_pimpl.C:
11045 * text2.C: use par->isInset()
11047 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11049 * paragraph_pimpl.h:
11050 * paragraph_pimpl.C: cleanup
11052 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11054 * text2.C (removeRow):
11055 * text.C (setHeightOfRow): remove useless (and costly) call to
11058 2001-11-20 Allan Rae <rae@lyx.org>
11060 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11061 Now need Inset*::checkInsertChar() to return true for appropriate
11062 cases so that the characters in the minibuffer will actually be
11065 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11067 * text.C: change the order of the includes.
11068 (workWidth): initialize it at once.
11069 (workWidth): make maxw unsigned
11070 (setHeightOfRow): remove unused variable (inset)
11071 (selectSelectedWord): remove unused variable (inset)
11072 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11074 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11076 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11077 server is not running.
11079 (closeConnection): add debug info when server is disabled.
11081 * ColorHandler.C (getGCForeground): send debug message to GUI
11084 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11086 * kbmap.C (bind): modify because return conventions of
11087 kb_sequence::parse have changed.
11089 * kbsequence.C (parse): only ignore spaces and not any stupid
11090 control character. This avoids tests like s[i] <= ' ', which are
11091 guaranteed to fail with 8bit characters and signed chars.
11092 Change return code to string::npos when there have been no error
11093 (0 was a bad idea when error is at first character)
11095 2001-11-14 José Matos <jamatos@fep.up.pt>
11098 * buffer.C (simpleDocBookOnePar): removed unused argument.
11100 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11102 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11103 insets which are part of a word. Paragraph::isLetter takes care of
11104 that now. Use Paragraph::isInset to identify insets.
11105 (selectSelectedWord): do not test for hyphenation break.
11107 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11108 that protected spaces are considered as spaces.
11110 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11113 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11116 * lyxserver.C: fix it. and small cleanup.
11118 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11120 * BufferView_pimpl.C: use inline helpers
11123 * LaTeXFeatures.C: fix typos
11126 * Spacing.C: move spacing_string into class
11128 * ToolbarDefaults.C: move stuff into namespace anon
11130 * layout.h: update enum
11132 * lyxfunc.C: use better debug
11134 * minibuffer.h: fix typo
11138 * WorkArea.C: add and use Debug::WORKAREA
11142 * text2.C: code re-organisation, inline helpers
11144 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11146 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11147 std::vector.empty().
11149 2001-11-09 Allan Rae <rae@lyx.org>
11151 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11152 '\n's after tables. Tabular and ERT inset work now makes this no
11155 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11158 * minibuffer.C: fix crash, improve drop-down completion
11160 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11163 * lyxserver.C: invalidate fd's when doing endPipe()
11165 2001-11-08 José Matos <jamatos@fep.up.pt>
11167 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11168 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11171 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11173 2001-11-07 José Matos <jamatos@fep.up.pt>
11176 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11179 * buffer.C (sgmlOpenTag):
11180 * buffer.C (sgmlCloseTag): removed debug info.
11182 * buffer.h (sgmlOpenTag):
11183 * buffer.h (sgmlCloseTag): made public.
11185 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11187 * buffer.C (saveParamsAsDefaults):
11188 * lyx_cb.C (MenuLayoutSave): remove
11190 * LyXAction.C (init):
11192 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11194 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11196 * buffer.C (setPaperStuff): removed from here...
11198 * bufferparams.C (setPaperStuff): ... and moved there.
11200 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11204 * XFormsView.C: add support for drop-down completion
11206 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11208 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11211 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11213 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11216 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11218 * lyx_main.C: change ref to known bugs
11220 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11222 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11223 to work around older babel problems.
11225 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11227 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11229 2001-10-24 Juergen Vigna <jug@sad.it>
11231 * tabular-old.C (ReadOld): below variable changes reflected.
11233 * tabular.[Ch]: added ltType struct for longtable header/footer
11234 defines and changed all instances where they are used. Added
11235 future support for double top/bottom rows.
11237 2001-10-24 José Matos <jamatos@fep.up.pt>
11239 * buffer.h (docbookHandleCaption):
11240 * buffer.C (docbookHandleCaption): removed unused function.
11241 (makeDocBookFile): moved docbook supported version to v4.1.
11243 2001-10-24 José Matos <jamatos@fep.up.pt>
11246 * tabular.C (docbookRow): new function to export docbook code of a row.
11247 (DocBook): now honors the longtable flags.
11249 2001-10-23 José Matos <jamatos@fep.up.pt>
11252 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11253 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11255 * buffer.C (makeLinuxDocFile):
11256 (makeDocBookFile): reworked the preamble, more clean, and with
11257 support for lyx defined entities. Changed the document declaration
11258 to be more XML friendly.
11260 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11261 if we need to output XML that should be done with a filter.
11263 2001-10-22 Juergen Vigna <jug@sad.it>
11265 * sp_pspell.h (class PSpell): add alive function needed in the
11266 controller to see if the spellchecker could be started.
11268 2001-10-22 Juergen Vigna <jug@sad.it>
11270 * buffer.C (insertStringAsLines): modify the font for inserting
11271 chars in certain conditions by calling checkInsertChar(font).
11273 2001-10-19 Juergen Vigna <jug@sad.it>
11275 * text.C (workWidth): use getRow instead of wrong algorithm.
11276 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11278 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11283 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11285 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11287 * text.C (workWidth): do not search for the exact row when
11288 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11289 optimization for big documents.
11291 2001-10-18 Juergen Vigna <jug@sad.it>
11293 * text.C (workWidth): new function with added Inset * parameter.
11295 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11297 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11299 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11300 change return type of getColumnNearX.
11303 * text.C (changeRegionCase): use uppercase/lowercase instead of
11306 (rightMargin): simplify code by factoring out the uses of
11311 (appendParagraph): use Paragraph::size_type
11313 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11315 * vspace.C (asLatexString): add a missing break
11317 2001-10-15 Herbert Voss <voss@perce.de>
11319 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11321 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11323 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11326 2001-10-10 André Pönitz <poenitz@gmx.net>
11328 * lyxfunc.C: removed greek_kb_flag.
11330 2001-10-10 Herbert Voss <voss@perce.de>
11332 * lyx_main.C: delete global string help_lyxdir.
11334 2001-10-09 Herbert Voss <voss@perce.de>
11336 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11338 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11340 * lyx_main.C: added global string help_lyxdir.
11342 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11344 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11346 * lyxrc.C (set_font_norm_type): support iso8859-4
11348 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11350 * LaTeX.C (deplog): add another regex for MikTeX
11352 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11354 * lyxrc.C (set_font_norm_type): support iso8859-3
11356 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11358 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11360 * LaTeXFeatures.C: remove special case of french and index
11362 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11363 before \begin{document}). This solves several incompatibilities.
11365 2001-10-03 Garst Reese <reese@isn.net>
11367 * lyx_cb.C: change CheckTex error msg.
11369 2001-10-03 José Matos <jamatos@fep.up.pt>
11371 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11373 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11375 * .cvsignore: update
11377 * lyx_main.C (commandLineVersionInfo): use new style version info.
11379 * buffer.C (writeFile):
11381 (makeLinuxDocFile):
11382 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11384 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11386 * version.h: update to use stuff in version.C
11388 * version.C.in: new file. Contains version information determined
11389 at compile time. This is a merging of version.h and
11392 2001-10-03 Juergen Vigna <jug@sad.it>
11394 * BufferView_pimpl.C (update): don't change "dirty" status in
11397 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11399 * WorkArea.C (c-tor): re-position version string slightly.
11401 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11403 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11404 revert to previous code.
11406 WorkArea.[Ch]: (show, destroySplash): methods removed.
11408 WorkArea.C: rework code so that it's an amalgam of the codes before and
11409 after the splash screen was moved to WorkArea.
11411 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11414 * vspace.C (inPixels):
11417 * buffer.C (insertStringAsLines):
11418 (asciiParagraph): fix types to be large enough
11420 * lyxlex_pimpl.h: change member status from short to int
11422 * layout.h: fix type of endlabeltype
11425 * kbsequence.C (parse): change return type to string::size_type
11427 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11430 * Bullet.C (bulletSize):
11431 (bulletEntry): do not use short ints as parameters
11433 * BufferView2.C (insertLyXFile): change a char to an int.
11435 * WorkArea.C (WorkArea): remove unneeded floats in computation
11437 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11439 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11441 * paragraph.C (asString): Do not ignore newline/hfill chars when
11442 copying to the clipboard.
11444 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11446 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11447 after a multi-line inset.
11449 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11451 * paragraph.C (validate): Set NeedLyXFootnoteCode
11453 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11455 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11456 and decrease-error to decrease.
11458 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11460 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11461 it more readable (should be equivalent)
11463 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11465 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11467 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11469 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11470 of a cursor (row, etc.) after a character has been deleted
11471 (deleteEmptyParagraphMechanism): call the method above on _all_
11472 cursors held by the LyXText when a double space has been
11475 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11477 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11479 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11481 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11482 background. Use greyOut() and the new show() methods to toggle between
11483 the foreground and background. Add code to remove the splash after
11484 its initial showing.
11486 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11487 (create_forms): no longer call Dialogs::showSplash.
11489 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11491 * .cvsignore: add version_info.h
11493 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11495 * version_info.h.in: new file
11497 * Makefile.am: add version_info.h.in
11499 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11500 version_info.h instead of VERSION_INFO
11502 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11504 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11505 The ERT inset now returns string().
11507 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11509 * lyxtext.h, text.C (selectNextWord): renamed as
11510 selectNextWordToSpellcheck.
11512 * text.C (selectNextWordToSpellcheck): Modified to not select
11513 words inside an ERT inset.
11515 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11517 * lyx_cb.C (MenuLayoutSave): change a bit the question
11519 * sp_base.h: include <sys/types.h>
11521 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11523 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11525 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11527 * several files: fix typos in user-visible strings
11529 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11531 * text2.C (pasteSelection): do not set the selection, since it
11532 will be cleared later. Actually, the intent was to fix the way the
11533 selection was set, but I figured rmoving the code was just as good.
11535 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11537 * FontLoader.C (available): Check if font is available without
11540 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11542 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11544 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11546 * lyxrc.[Ch]: added display_graphics variable and associated code.
11548 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11550 * bufferparams.C (hasClassDefaults): new method. Returns true if
11551 the buffer parameters correspond to known class defaults
11553 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11555 * XFormsView.C (show): set minimum size to the main window.
11557 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11559 * text2.C (copySelection):
11561 * lyxfind.C (LyXReplace):
11562 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11563 LyXText::selectionAsString.
11565 * paragraph.C (asString): add "label" argument to the second form
11567 * text2.C (selectionAsString): add "label" argument and pass it to
11568 Paragraph::asString.
11570 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11572 * lyx_main.C (commandLineHelp): remove version information
11574 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11576 * lyx_main.C: add -version commandline option
11578 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11580 * paragraph.h: make the optional constructor arg required instead.
11581 some modifications to other files because of this.
11583 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11585 * lyxserver.C (C_LyXComm_callback): make it static
11587 * lyx_main.C (error_handler): make it static
11589 * lyx_gui.C (LyX_XErrHandler): make it static
11591 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11593 * WorkArea.C: make the extern "C" methods static.
11595 * Makefile.am (lyx_LDADD): simplify
11597 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11599 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11600 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11602 * LyXAction.C (init):
11603 * lyxfunc.C (dispatch): associated code removal.
11605 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11607 * lyxfont.h (isSymbolFont): shut off warning
11609 * text.C (setHeightOfRow):
11610 (getVisibleRow): fix crash with empty paragraphs which have a
11613 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11615 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11618 2001-09-04 José Matos <jamatos@fep.up.pt>
11621 * tabular.C (docbook): rename docBook method to docbook.
11623 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11625 * Makefile.am: add dependencies to main.o.
11627 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11629 * FontLoader.C (available): Return false if !lyxrc.use_gui
11631 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11633 * FontInfo.C (query):
11634 * converter.C (view):
11635 * importer.C (Import):
11636 * exporter.C (Export): Can not -> cannot.
11638 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11640 * BufferView_pimpl.C: allow to create index inset even if
11643 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11645 * buffer.C (getLists): replace boost::tie code with an explicit pair
11646 as boost::tie can break some compilers.
11648 * iterators.h: Added a std:: declaration to the return type of
11651 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11653 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11656 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11658 * iterators.[Ch]: New files. Provide paragraph iterators.
11660 * buffer.C (changeLanguage): Use paragraph iterators.
11661 (isMultiLingual): ditto
11663 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11665 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11667 * FontLoader.C: Support for cmr font.
11669 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11671 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11672 (available): New method.
11674 * FontInfo.C (getFontname): Use scalable fonts even when
11675 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11678 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11680 * converter.C (Formats::view): reverted! Incorrect fix.
11682 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11684 * converter.C (Formats::view): only output the -paper option
11685 if the dvi viewer is xdvi, thereby fixing bug #233429.
11687 2001-08-23 Herbert Voss <voss@perce>
11689 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11691 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11693 * Spacing.h (Spacing): Set space to Default on in the default
11696 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11698 * vc-backend.h (RCS::versionString): add RCS to version
11699 (CVS::versionString): add CVS to version
11701 * vc-backend.C (scanMaster): do not add CVS to version.
11702 (scanMaster): do not add RCS to version
11704 * lyxvc.C (versionString): new method
11706 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11708 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11710 * Spacing.C (set): initialize fval
11712 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11714 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11717 2001-08-16 Juergen Vigna <jug@sad.it>
11719 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11721 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11723 * BufferView_pimpl.C:
11726 * text2.C: setParagraph takes linespacing now
11728 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11730 * LyxAction.C: add internal LFUN_CITATION_INSERT
11732 * LyXView.C: actually apply fix
11734 * bufferlist.C: fix open non-existent file
11736 * lyxfind.C: fix indentation
11738 * lyxfunc.C: remove unneeded assert, fix typo
11740 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11742 * MenuBackend.C: use "Floatname List"
11744 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11746 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11747 when converting LaTeX layout to insetERT.
11748 Generate a non-collapsed float when reading old float
11750 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11752 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11755 2001-08-13 Juergen Vigna <jug@sad.it>
11757 * text.C (fill): return 0 instead of 20 as this seems to be the more
11760 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11762 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11765 2001-08-13 Juergen Vigna <jug@sad.it>
11767 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11769 (SearchBackward): comment out the unlocking of the inset_owner this
11770 should not be needed!
11772 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11774 * Many files: Remove inherit_language, and add latex_language
11776 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11777 collapsible insets.
11779 2001-08-10 Juergen Vigna <jug@sad.it>
11781 * text.C (prepareToPrint): fixed hfill-width in draw!
11783 * BufferView2.C (selectLastWord): save the selection cursor as this
11784 now is cleared in the function LyXText::clearSelection!
11786 2001-08-08 Juergen Vigna <jug@sad.it>
11788 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11789 BACKSPACE type functions.
11791 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11792 is only cutted from the document but not put in the cut-buffer, where
11793 still the old stuff should be.
11795 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11797 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11799 * tabular.C (SetWidthOfCell): fixed special case where the width
11801 (LeftLine): handle '|' in align_special.
11803 (LeftAlreadyDrawed): ditto
11804 (SetWidthOfCell): ditto
11806 2001-08-07 Juergen Vigna <jug@sad.it>
11808 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11810 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11812 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11813 * lyxlex.[hC]: ditto
11815 2001-08-06 Juergen Vigna <jug@sad.it>
11817 * text.C (getVisibleRow): fix up row clearing a bit.
11819 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11821 * minibuffer.C: make sure the X server sees the changes in the input.
11823 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11825 * paragraph.C (getFont): split into...
11826 (getLabelFont): this
11827 (getLayoutFont): and this
11828 * paragraph_pimpl.C (realizeFont): calling this
11830 * text2.C (getFont): split into...
11831 (getLayoutFont): this
11832 (getLabelFont): and this
11833 (realizeFont): all three calling this
11835 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11838 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11840 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11842 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11844 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11845 layouts from the Quote inset insertion.
11847 2001-08-03 Juergen Vigna <jug@sad.it>
11849 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11851 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11852 only if status not is already CHANGED_IN_DRAW (second level).
11854 * text.C (draw): don't set the need_break_row when inside an
11857 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11859 * buffer.C (parseSingleLyXformat2Token): handle more latex
11862 * bufferview_funcs.[hC]: change function names to
11863 begin with small char, adjust other files.
11865 2001-08-02 André Pönitz <poenitz@gmx.net>
11868 BufferView_pimpl.C: remove broken special code for math-greek
11870 2001-08-02 Juergen Vigna <jug@sad.it>
11872 * BufferView_pimpl.C (update): redone this function so that we
11873 update the text again if there was a CHANGE_IN_DRAW.
11875 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11876 (drawFromTo): added a new internal bool which is used by draw() and
11878 (general): some cursor drawing problems fixed.
11880 2001-08-01 Juergen Vigna <jug@sad.it>
11882 * lyxfind.C (LyXFind): fixed
11883 (SearchForward): ditto
11884 (SearchBackward): ditto
11886 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11887 spurius drawing of the cursor in the main area.
11889 * text2.C (status): small fix which could lead to a segfault!
11890 (clearSelection): remove unneeded BufferView param.
11892 2001-08-01 André Pönitz <poenitz@gmx.net>
11894 * lyxfunc.C: small change due to changed mathed interface
11896 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11898 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11900 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11902 * lyxfunc.c: fail gracefully if file doesn't exist
11907 * BufferView_pimpl.C: IsDirWriteable() proto changed
11909 * LyXView.C: fix updateWindowTitle() to store the last title
11911 2001-07-31 Juergen Vigna <jug@sad.it>
11913 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11914 the font (wrong since using of Paragraph::highestFontInRange).
11916 * paragraph.C (highestFontInRange): added a default_size parameter.
11918 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11919 (setHeightOfRow): reformat
11921 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11923 * converter.[hC] + affected files: move to (inital-char)lowercase
11926 * ParagraphParameters.C (ParagraphParameters): remove commented code
11928 * PainterBase.[Ch]: remove commented code
11930 * LaTeXFeatures.h: add "bool floats" for float.sty
11932 * LaTeXFeatures.C (LaTeXFeatures): init floats
11933 (require): handle float
11934 (getPackages): do it with floats
11936 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11938 * BufferView_pimpl.C (Dispatch): improve handling of
11939 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11941 * commandtags.h: #include lyxfont.h here temporarily to avoid
11944 * bufferlist.h: include LString.h here.
11946 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11948 * text2.C (getStringToIndex): new method.
11950 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11952 * *: Reduced header file dependencies all over.
11954 2001-07-30 Baruch Even <baruch@lyx.org>
11956 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11958 2001-07-29 Baruch Even <baruch@lyx.org>
11960 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11962 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11964 * ParameterStruct.h (endif): add a default constructor to make
11965 sure that all variables is initialized.
11967 * ParagraphParameters.C (ParagraphParameters): adjust
11969 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11971 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11972 index; also, check that there is something to index, and that it
11973 does not span over several paragraphs.
11974 (doubleClick): use WHOLE_WORD_STRICT for double click.
11976 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11978 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11981 2001-07-26 Baruch Even <baruch@lyx.org>
11983 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11984 an InsetFig figure, backwards compatible reading of old figure code.
11986 2001-07-27 Juergen Vigna <jug@sad.it>
11988 * text2.C: font.realize function adaption.
11990 * text.C (draw): add a warnings lyxerr text if needed.
11992 * layout.C: font.realize function adaption.
11994 * language.C: add inherit_language and implement it's handlings
11996 * bufferview_funcs.C (StyleReset): remove language parameter from
11997 font creation (should be language_inherit now).
11999 * bufferparams.C (writeFile): handle ignore_language.
12001 * paragraph.C (getFontSettings): the language has to be resolved
12002 otherwise we have problems in LyXFont!
12004 * lyxfont.C (lyxWriteChanges): added document_language parameter
12005 (update): removed unneeded language parameter
12007 * paragraph.C (validate): fixed wrong output of color-package when
12008 using interface colors for certain fonts in certain environments,
12009 which should not seen as that on the final output.
12011 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12013 * BufferView_pimpl.C:
12018 * LyXAction.C: add thesaurus support
12021 * lyxfind.C: add "once" parameter, for thesaurus, to not
12022 move to the next match
12024 2001-07-26 Juergen Vigna <jug@sad.it>
12026 * lyxfont.C (realize): honor ignore_language too!
12029 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12031 * text.C (draw): one place more for ignore_language to not draw
12034 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12036 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12038 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12040 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12041 the minipage conversion problem.
12043 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12045 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12048 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12050 * BufferView.h: don't forward declare WorkArea
12052 * BufferView.C: don't include WorkArea.h
12054 2001-07-25 André Pönitz <poenitz@gmx.net>
12058 * lyxfunc.C: new LFUN 'math-space'
12060 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12062 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12064 * text2.C (toggleInset): call open/close
12066 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12068 * lyxfunc.C (dispatch): add debug for the disabled case
12070 * font.C (buttonText): make similar to rectText
12072 * buffer.C (readInset): comment out parsing of insetlist and
12075 * PainterBase.C (rectText): small correction
12077 * BufferView_pimpl.C: comment out insettheorem and insetlist
12078 * LyXAction.C: ditto
12079 * commandtags.h: ditto
12081 2001-07-24 Juergen Vigna <jug@sad.it>
12083 * text.C (draw): honor the ignore_language.
12085 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12087 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12089 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12092 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12094 * lyxtext.h: remove unused (and unimplemented) methods
12096 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12098 * text.C (getVisibleRow): honor background color
12101 * Painter.h: remove default color argument for fillRectangle
12103 * text.C (backgroundColor): new method
12105 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12107 * text.C (getVisibleRow): adjust
12109 * font.[Ch] (rectText): new method, metrics
12110 (buttonText): new method, metrics
12112 * PainterBase.[hC]: make rectText and buttonText always draw and take
12115 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12117 * ToolbarDefaults.C (read):
12118 * MenuBackend.C (read): allow escaping in all strings
12120 * BufferView_pimpl.C (insertAndEditInset): new method.
12121 (Dispatch): use insertAndEditInset whenever appropriate.
12123 * BufferView_pimpl.C (insertNote): removed
12125 * BufferView_pimpl.C (smartQuote): new method, moved from
12126 BufferView; if an insetquote cannot be inserted, insert a '"'
12129 * BufferView2.C: remove insertCorrectQuote();
12131 * lyxfunc.C (getStatus): Add support for all remaingin
12132 inset-insert lfuns.
12134 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12136 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12137 command (necessary to pass " as parameter of self-insert.
12139 * text.C (selectWordWhenUnderCursor):
12140 (selectWord): add word_location parameter
12141 (selectWordWhenUnderCursor): same + remove special code for word
12143 (selectNextWord): use kind() to guess type of insetspecialchar,
12146 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12147 (insertErtContents): create ert insets as collapsed.
12148 (readInset): better compatibility code for Info inset.
12150 2001-07-20 Juergen Vigna <jug@sad.it>
12152 * lyxfunc.C (dispatch): use always LyXFind now!
12154 * text2.C (init): add a reinit flag so that the LyXText can be
12155 reinited instead of deleted and reallocated (used in InsetText).
12157 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12163 2001-07-18 Juergen Vigna <jug@sad.it>
12165 * text.C (selectNextWord): handle insets inside inset by calling
12166 always the bv->text functions so that we can go up the_locking_inset!
12168 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12169 in strange locations when inside an inset!
12171 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12172 handling to include insets.
12174 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12176 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12178 * LyXAction.C (init):
12180 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12181 LIGATURE_BREAK, since the name is so stupid.
12183 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12185 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12188 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12190 * sp_form.[Ch]: remove.
12192 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12194 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12197 * src/buffer.C (readInset): ditto.
12199 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12201 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12202 menuSeparator(), endOfSentenceDot(), ldots() and
12203 hyphenationPoint(), which are therefore removed.
12204 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12206 * LyXAction.C (init):
12207 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12209 * paragraph.C (getWord): removed.
12211 * BufferView_pimpl.C (Dispatch): use last word or selection for
12212 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12214 * lyx_main.C (queryUserLyXDir): do not ask before creating
12215 user_dir, except if it has been named explicitely.
12217 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12219 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12220 a document of zero size.
12222 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12224 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12225 approriately in the c-tor and in require().
12226 (getPackages): output the appropriate LaTeX for natbib support.
12228 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12229 variables "use_natbib" and "use_numerical_citations" when reading the
12231 (readInset): read the various natbib cite commands.
12232 (validate): white-space change.
12234 * bufferparams.[Ch]: new variables "bool use_natbib" and
12235 "bool use_numerical_citations".
12236 (writeFile): output them in the LyX file.
12238 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12240 * lyxfunc.C (getStatus): add support for all the inset insertion
12243 * text2.C (insertInset):
12244 * paragraph.C (insetAllowed):
12245 * BufferView_pimpl.C (insertInset): update to take in account the
12246 renaming of insertInsetAllowed
12248 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12250 * text2.C (getInset): new method. returns inset at cursor position.
12252 * BufferView_pimpl.C (Dispatch): changes because of this.
12254 * LyXAction.C (init): rename open-stuff to inset-toggle.
12256 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12258 * text2.C (toggleInset): renamed from openStuff; use
12261 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12263 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12265 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12267 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12269 * buffer.C (readLyXformat2): Add filename to the error dialog
12271 2001-07-18 Juergen Vigna <jug@sad.it>
12273 * tabular.C (GetCellNumber): put an assert here instead of the check!
12275 2001-07-17 Juergen Vigna <jug@sad.it>
12277 * BufferView_pimpl.C (toggleSelection): adapted too.
12279 * text.C (selectNextWord): adapted for use with insets.
12280 (selectSelectedWord): ditto
12282 2001-07-17 Juergen Vigna <jug@sad.it>
12284 * sp_spell.C (PSpell): fix initialitation order.
12286 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12288 * paragraph.C: spacing
12290 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12292 * sp_spell.C: repair language selection for pspell
12294 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12296 * lyxfunc.h: change more methods to begin with lower char.
12298 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12300 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12301 for unknown layouts.
12303 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12305 * buffer.C (readLyXformat2): Generate an error dialog if there are
12308 2001-07-16 Juergen Vigna <jug@sad.it>
12310 * sp_spell.C: always compile ISpell part.
12312 * lyxrc.C: added use_pspell entry and it's handling.
12314 2001-07-13 Juergen Vigna <jug@sad.it>
12316 * sp_spell.C: removed double includes.
12318 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12320 Consistent use of Lsstream.h:
12321 * Lsstream.h: added using std::stringstream for consistencies sake.
12323 * buffer.C: removed using std::stringstream
12325 * lyxfont.C (stateText):
12326 * paragraph.C (asString):
12327 * text.C (selectNextWord, selectSelectedWord):
12328 * text2.C (setCounter):
12329 * vspace.C (asString, asLatexString):
12330 std::ostringstream -> ostringstream.
12332 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12334 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12335 * commandtags.h: add LFUN_HELP_ABOUTLYX
12336 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12338 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12340 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12342 * lyx_gui_misc.C: remove spellchecker
12343 * lyxfunc.C: showSpellchecker
12345 * sp_ispell.h: added
12346 * sp_pspell.h: added
12347 * sp_spell.C: added
12348 * sp_form.[Ch]: removed
12349 * spellchecker.[Ch]: removed
12351 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12353 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12355 (simpleTeXSpecialChars): Simply print the input character without
12356 any special translation if pass_thru is set.
12358 * layout.h: Added bool pass_thru to layout class for being able to
12359 implement pass through of a paragraph for Literate Programming.
12361 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12362 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12363 * layout.C (Read): add "passthru" to list of layout tags and add
12364 code to set the pass_thru boolean when it is read.
12366 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12368 * trans_decl.h: remove allowed from KmodInfo
12370 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12371 remove allowed code
12374 * paragraph_pimpl.C (erase): use boost::prior
12376 * Painter.C (text): use data() instead of c_str() when length is
12378 * WorkArea.C (putClipboard): ditto
12379 * font.h (width): ditto
12381 * BufferView2.C: use it-> instead of (*it). for iterators
12383 * paragraph_pimpl.C: ditto
12384 * paragraph.C: ditto
12385 * minibuffer.C: ditto
12386 * language.C: ditto
12388 * encoding.C: ditto
12389 * counters.C: ditto
12390 * converter.C: ditto
12392 * Variables.C: ditto
12393 * TextCache.C: ditto
12394 * MenuBackend.C: ditto
12395 * LyXAction.C: ditto
12397 * FloatList.C: ditto
12398 * DepTable.C: ditto
12399 * ColorHandler.C (LyXColorHandler): ditto
12401 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12403 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12405 * text2.C (openStuff): reintroduce this method (which had been
12406 nuked in NEW_INSETS frenzy).
12408 * lyxfunc.C (Dispatch): when an action has not been handled, use
12409 its name in the error message, not its number.
12411 * paragraph.C (inInset): change method name to begin with lowercase.
12414 * text2.C: updates because of this.
12416 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12418 * ToolbarDefaults.C (add): add spaces in error message
12420 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12422 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12423 (readLyXformat2): rename return_par to first_par, use lyxlex's
12424 pushToken and remove the manual push handling.
12425 (parseSingleLyXformat2Token): add another ert comp. variable:
12426 in_tabular, rename return_par to first_par. handle newlines better
12428 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12430 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12432 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12434 * text2.C (getParFromID): removed
12436 * buffer.C (getParFromID): new method moved form lyxtext.
12437 * BufferView2.C (insertErrors): adjust
12438 (setCursorFromRow): adjust
12439 * BufferView_pimpl.C (restorePosition): adjust
12440 * lyxfunc.C (Dispatch): adjust
12441 * undo_funcs.C (textUndo): adjust
12443 (textHandleUndo): adjust
12444 (textHandleUndo): adjust
12446 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12448 * buffer.C: up' the LYX_FORMAT
12450 * lyxfont.h: turn NO_LATEX on as default
12452 * buffer.C (insertErtContents): new methods of tex style compability.
12453 (parseSingleLyXformat2Token): use it several places.
12454 * tabular.C (OldFormatRead): and here
12456 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12458 * text2.C: remove some commented code.
12461 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12462 * trans.C: changes because of the above.
12464 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12466 * text2.C (setCounter): Fix counters bug with bibliography layout.
12468 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12470 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12471 own member functions
12472 (simpleTeXSpecialChars): ditto
12474 2001-07-06 Juergen Vigna <jug@sad.it>
12476 * a lot of files: changed the access to LyXText::status and the
12477 call of undo-functions.
12479 * undo.[Ch]: added a inset_id to the undo informations.
12481 * undo_funcs.[Ch]: added and moved here all undo functions.
12483 * lyxtext.h: give the status enum a weight, made status_ a private
12484 variable and made accessor functions for it, removed the whole bunch
12485 of undo-functions as they are now in their own file, make some
12486 functions publically available. Added function ownerParagraph with
12489 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12490 made InInset() a const function, added getParFromID() function.
12492 * buffer.[Ch]: added const version for inset_iterator functions,
12493 added getInsetFromID() function.
12495 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12496 changed undo functions for new version.
12498 2001-07-05 Juergen Vigna <jug@sad.it>
12500 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12501 unknow mechanism does not call the proper constructor but only this
12502 one also if I request the other!?
12504 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12506 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12508 * text2.C (LyXText): use initialization lists.
12510 * lyxtext.h (Selection): initialize set_ and mark_
12511 (init): remove method
12513 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12515 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12517 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12519 * screen.[Ch]: change method names to begin with lowercase
12521 * BufferView_pimpl.C (updateScrollbar): simplify further and
12522 hopefully make it a bit faster.
12524 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12526 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12527 calling directly xforms functions.
12529 * Painter.C (Painter):
12530 * lyx_cb.C (MenuWrite):
12531 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12534 * lyx_gui.C: remove bogus guiruntime extern declaration.
12536 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12538 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12540 (redoDrawingOfParagraph): ditto
12541 (redoParagraphs): ditto
12542 (cutSelection): don't create a object for CutAndPaste use the
12543 static method directly
12544 (pasteSelection): ditto
12546 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12549 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12551 * modifications to some other files because of this.
12553 * Makefile.am (lyx_SOURCES): add XFormsView
12555 * XFormsView.[Ch]: new files
12557 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12558 the main window. Move the gui dependent stuff to XFormsView
12560 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12562 * tabular.C (GetCellInset): update cur_cell also in the row/col
12563 version of this function.
12565 * lyxfunc.C: no need to include figure_form.h here.
12571 * lyxvc.C: no need to include forms.h here.
12573 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12575 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12577 * lyxfunc.C (Dispatch):
12579 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12580 constructor argument.
12582 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12584 * paragraph.C (Paragraph): dont't clear, and just set layout.
12585 (makeSameLayout): use params's copy contructor.
12587 * ParagraphParameters.[Ch] (makeSame): delete method
12589 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12591 * Variables.[Ch]: fix indentation, rename set to isSet
12593 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12595 * lyxfunc.C (Dispatch): fix typo
12597 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12599 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12602 * bufferlist.C: include assert.h for emergencyWrite().
12604 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12606 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12607 give up at last (bug #425202) !
12609 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12615 * spellchecker.C: strip spellchecker options and bring up
12616 preferences tab instead
12618 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12620 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12621 the istringstream constructor
12623 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12625 * paragraph.C (getLayout): fix return value
12627 * paragraph.h: do not declare getLayout as inline.
12629 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12631 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12633 * lyxcursor.h (operator<): new func
12634 (operator>): new func
12635 (operator>=): new func
12636 (operator<=): new func
12638 * text.C (changeCase): use selection.start and selection.end
12639 (changeRegionCase): require from to be <= to. Require par to be a
12642 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12644 2001-06-27 Juergen Vigna <jug@sad.it>
12646 * text.C (cursorLeftOneWord): changed to return the cursor and added
12647 overlay with BufferView * parameter which calls this one.
12649 (selectWord): use new getWord function.
12650 (changeCase): renamed from changeWordCase as and extended to work
12651 also on selections.
12653 * lyxtext.h: added enum word_location
12655 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12656 changeCase as this operates now also on selections.
12658 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12660 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12662 * many files: send debug output to Debug::INFO instead of
12665 * converter.C (View):
12667 (Move): send debug output to Debug::FILES instead of console.
12669 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12671 * lyxfunc.C (getStatus): use func_status
12673 * func_status.h: new header, describing the results of
12674 LyXFunc::getStatus;
12676 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12679 2001-06-25 The LyX Project <jug@sad.it>
12681 * buffer.C (sgmlOpenTag):
12683 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12685 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12687 * text2.C: remove some dead code
12689 * tabular.C (GetCellInset): store the last cell checked (gotten)
12691 * tabular.h: add the helper for the speedup
12693 * lyxtext.h: remove some dead code
12695 2001-06-26 The LyX Project <Asger>
12697 * paragraph.C: Change export to LaTeX of alignment to
12698 \begin{center} and family for better roundtrip work with reLyX.
12700 * Tune the math drawing a bit.
12702 2001-06-25 The LyX Project <Asger>
12704 * LColor.C (LColor): New color for math background. New color
12707 2001-06-25 The LyX Project <jug@sad.it>
12709 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12711 * lyxfunc.C (Open):
12712 * bufferlist.C (newFile): do not restrict to files ending with
12715 * BufferView_pimpl.C (MenuInsertLyXFile):
12717 2001-06-24 The LyX Project <jug@sad.it>
12719 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12722 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12724 * lyxtext.h: rename most methods to begin with a small char.
12725 Lots of changes because of this.
12727 * paragraph.C (Paragraph): do not call fitToSize
12728 (erase): call Pimpl::erase
12729 (insertChar): call Pimpl::insertChar
12730 (insertInset): call Pipl::insertInset
12731 (breakParagraph): do not call fitToSize
12732 (breakParagraphConservative): do not call fitToSize
12733 (fitToSize): remove method
12735 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12737 2001-06-24 The LyX Project <Asger>
12739 * Fix Qt compilation^2
12741 2001-06-24 The LyX Project <jug@sad.it>
12743 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12744 depthHook(getDepth()-1).
12747 * ParagraphParameters.h:
12748 * ParameterStruct.h: change type of depth to unsigned int ==
12749 depth_type. Many adaptations to other files before of that.
12751 2001-06-24 The LyX Project <Asger>
12753 * Fix Qt compilation.
12755 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12757 * paragraph.h: renamed several methods to begin with small letter.
12758 several changes to many parts of the code because of this.
12760 2001-06-23 The LyX Project <jug@sad.it>
12762 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12763 rewritten to discard all double spaces when KeepEmpty is off
12764 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12765 to only handle newlines but not fiddle with spaces and friends.
12767 * lyxfunc.C (MenuNew): when doing 'new from template', use
12768 template_path as default directory
12770 2001-06-23 The LyX Project <Asger>
12772 * Clean-up of header file includes all over
12773 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12775 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12777 * paragraph.h: renamed from lyxparagraph.h
12779 2001-06-23 Asger <lyx@violet.home.sad.it>
12781 * Buffer.h: Removed Buffer::resize
12782 * BufferList.h: Removed BufferList::resize
12783 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12784 the document lazily when we change the width, or the font settings.
12786 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12788 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12790 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12792 * buffer.h: remove out of date comment
12794 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12797 * screen.C: fix "theoretical" GC leak
12799 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12801 * LaTeX.C (scanAuxFile):
12802 (deplog): remove trailing \r when reading stream (useful under
12805 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12807 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12808 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12809 and BufferView::theLockingInset(Inset*), so should use them and not
12810 access bv_->text->the_locking_inset directly.
12812 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12814 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12817 * tex-defs.h: remove old unused file
12819 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12821 * BufferView_pimpl.C: fix typo, remove minibuffer message
12822 when buffer has loaded
12824 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12826 * lyxfunc.C (Dispatch): use stringstream
12827 (MenuNew): use stringstream
12828 (Open): use stringstream
12830 * importer.C (Import): use stringstream
12832 * bufferview_funcs.C (CurrentState): use stringstream
12834 * LaTeX.C (run): use stringstream
12836 * BufferView_pimpl.C (savePosition): use stringstream
12837 (restorePosition): use stringstream
12838 (MenuInsertLyXFile): use stringstream
12840 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12853 * vspace.C: removed // -*- C++ -*- as first line.
12856 * version.h: added // -*- C++ -*- as first line.
12858 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12860 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12862 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12865 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12867 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12870 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12872 * gettext.C: include LString.h even when --disable-nls is on.
12874 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12876 * converter.h (Get): changed argument type from int to
12877 FormatList::size_type to avoid unnecessary conversion.
12879 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12882 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12884 * gettext.h: include LString.h even when --disable-nls is on.
12886 2001-06-07 Juergen Vigna <jug@sad.it>
12888 * text.C (BreakAgain): subst spaces with tabs.
12890 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12891 (resizeInsetsLyXText): set force on resizeLyXText.
12893 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12895 * gettext.h (gettext_init):
12896 (locale_init): use a real definition instead of a macro
12898 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12900 * Bufferview_pimpl.C:
12902 * LColor.C: further lcolor tidies
12904 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12906 * BufferView_pimpl.C (updateScrollbar): simplify.
12908 * BufferView2.C: don't include insets/insetinfo.h, change
12909 prototype for insertInset and call the Pimpl version. let
12910 updateInset call Pimpl version.
12912 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12913 gotoInset to BufferView::Pimpl
12915 2001-06-01 Juergen Vigna <jug@sad.it>
12917 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12918 inside a LockingInset (is the update needed at all?).
12920 2001-05-31 Juergen Vigna <jug@sad.it>
12922 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12923 here not the old one otherwise how should we compare it afterwards
12926 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12931 * FontInfo.C: bring C functions into global namespace when
12934 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12936 * LString.h: make sure config.h has been loaded before LString.h.
12938 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12939 (one for each char read by EatLine!).
12941 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12944 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12946 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12947 to the same as the par we break from
12949 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12951 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12953 * MenuBackend.C (expand): also create menu entries for wide
12954 versions of the floats.
12956 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12958 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12960 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12961 frontends/Makefile.am
12967 * tabular.C (getTokenValue): add std::
12969 * tabular-old.C (getTokenValue): add std::
12970 (getTokenValue): ditto
12971 (getTokenValue): ditto
12973 * screen.C (ToggleSelection): adjust
12975 * lyxtext.h: put selection cursors inside a Selection struct.
12977 * lyxfunc.C (moveCursorUpdate): adjust
12979 * lyxfont.C (latexWriteStartChanges): add std::
12981 * lyxfind.C: adjust
12983 * font.h: delete with(char const *, LyXFont const &)
12985 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12987 * FontInfo.C (getFontname): add std::
12989 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12990 (workAreaButtonPress): adjust
12991 (tripleClick): adjust
12993 (moveCursorUpdate): adjust
12996 * BufferView2.C (gotoInset): adjust
12998 2001-05-30 Juergen Vigna <jug@sad.it>
13000 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13001 to check pspell I add this as default as I now have new pspell
13002 libraries and they seem to use this.
13004 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13006 * text2.C (CutSelection): make the cursor valid before the call to
13009 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13011 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13012 relied on 0 terminated strings and other horrors. Bug found due to
13013 the new assert in lyxstring!
13015 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13018 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13020 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13023 * lyxfunc.C (processKeySym): change method of getting to the
13026 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13027 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13028 * BufferView_pimpl.[Ch]: here as private methods.
13030 2001-05-28 Juergen Vigna <jug@sad.it>
13032 * text.C (SetHeightOfRow): added the update() call again as it is
13033 needed to initialize inset dimensions!
13035 2001-05-16 Juergen Vigna <jug@sad.it>
13037 * text2.C (SetCharFont): Add new function with BufferView * and
13038 bool toggleall parameters for setting insets internal fonts.
13039 (SetFont): Freeze the undo as we may change fonts in Insets and
13040 all this change should be inside only one Undo!
13042 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13043 setting font's in insets as for them we have the SetFont function!
13045 2001-05-15 Juergen Vigna <jug@sad.it>
13047 * text2.C (ClearSelection): to be sure we REALLY don't have any
13050 * tabular.C (TeXCellPreamble): fixed the left border problem for
13053 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13055 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13058 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13060 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13061 LFUN_BREAKPARAGRAPH.
13063 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13064 help test to "internal only", similar for LFUN_INSERT_URL
13066 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13067 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13068 auto_region_delete and deadkeys.
13070 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13073 * LColor.C: remove some dead entries, tidy a little
13075 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13077 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13079 (Dispatch): implement LFUN_ESCAPE
13081 * commandtags.h: add LFUN_ESCAPE
13083 * LyXAction.C (init): add entry for LFUN_ESCAPE
13085 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13086 Remove commented code.
13087 (insertNote): moved here
13088 (open_new_inset): moved here
13090 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13093 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13095 * kbmap.C (findbinding): clean it up and make it work correctly.
13097 * lyx_main.C (init): do not pass argc and argv as parameters
13099 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13101 * buffer.C: fix path for OS/2 & Win32
13105 * lyx_main.C: Added os:: class.
13107 * os2_defines.h: update
13109 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13111 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13112 better by trying again with reduced state.
13114 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13116 * lyxrc.C (read): print error about invalid key sequence only when
13117 debugging (because not all latinX keysyms are known to some X
13120 * kbsequence.C (getiso): add a few std:: qualifiers
13121 (getiso): comment out extra return statement.
13123 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13125 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13127 (Dispatch): enhance the accent inset a bit. (not perfect)
13129 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13131 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13133 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13135 * bufferlist.C (emergencyWrite): fix assert() call
13137 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13139 * text.C (InsertChar): Added trivial patch to only send the "you
13140 can not do multiple spaces this way" message once during a
13143 2001-05-08 Baruch Even <baruch@lyx.org>
13145 * Makefile.am: Changed order of libraries to get LyX to link properly
13146 with the gnome frontend.
13148 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13150 * LaTeXFeatures.h: add a std:: qualifier
13152 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13154 * paragraph.C (String): use stringstream
13156 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13158 * paragraph.C (writeFile): remove footflag arg
13160 * buffer.C (makeLaTeXFile): use stringstream
13161 (latexParagraphs): remove footnot gurba
13163 * LaTeXFeatures.C (getPackages): use stringstream
13164 (getMacros): likewise
13165 (getTClassPreamble): likewise
13166 (getFloatDefinitions): new method
13168 * paragraph.C (writeFile): reindent
13171 * WorkArea.h: revert the xpos + etc changes.
13173 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13175 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13177 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13178 (pasteSelection): likewise
13179 * text2.C (CreateUndo): likewise
13181 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13183 * minibuffer.C (peek_event): temporarily reduce the functionality
13184 of the minibuffer (to allow args on lfuns)
13186 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13187 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13189 * buffer.C (readInset): add compability reading of old float
13190 lists, add reading of new style float list.
13191 (readInset): avoid reevaluation of inscmd.getCmdName()
13192 (getLists): reindent
13194 * MenuBackend.C (MenuItem): implement parsing of
13195 md_floatlistinsert and md_floatinsert.
13196 (expand::LastFiles): move initalizaton of iterators out of loop,
13197 avoid reevaluation.
13198 (expand::Documents): introduce typdedef vector<string> Strings,
13200 (expand::ExportFormats): introduce typedef vector<Format const *>
13201 Formats, and use it.
13202 (expand): implement FloatListInsert and FloatInsert.
13204 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13205 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13206 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13208 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13210 (Dispatch::LFUN_FLOAT_LIST): implement
13212 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13214 * LaTeX.C (run): Fix problem with --export code.
13216 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13218 * BufferView.[Ch] (workarea): removed.
13219 (getClipboard) new method; wrapper for workarea()->getClipboard()
13221 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13224 * WorkArea.h (width, height, xpos, ypos): These methods all
13225 returned the dimensions of the work_area sub-area of WorkArea,
13226 resulting in a position error if the WorkArea were resized. Now
13227 return the dimensions of the entire WorkArea.
13229 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13231 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13233 * LaTeX.C (deplog): correct the syntax of regex reg1
13235 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13237 * undo.C: remove !NEW_INSETS cruft
13239 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13241 * text2.C: remove !NEW_INSETS cruft
13243 * text.C: remove !NEW_INSETS cruft
13245 * tabular.C: remove !NEW_INSETS cruft
13247 * spellchecker.C: remove !NEW_INSETS cruft
13249 * lyxtext.h: remove !NEW_INSETS cruft
13251 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13253 * lyxfunc.C: remove !NEW_INSETS cruft
13255 * lyxfind.C: remove !NEW_INSETS cruft
13257 * lyx_cb.C: remove !NEW_INSETS cruft
13259 * figureForm.C: remove !NEW_INSETS cruft
13261 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13263 * buffer.[Ch]: remove !NEW_INSETS cruft
13265 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13267 * CutAndPaste.C: remove !NEW_INSETS cruft
13269 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13271 * BufferView2.C: remove !NEW_INSETS cruft
13273 * BufferView.h: remove !NEW_INSETS cruft
13275 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13277 * Lsstream.h: include LString.h before the sstream headers to
13278 fix problem with gcc 2.95.3 and lyxstring
13280 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13282 * lyx_main.C: add using directives when needed for C functions
13283 declared in std:: namespace.
13285 2001-04-27 Juergen Vigna <jug@sad.it>
13287 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13288 (SetHeightOfRow): comment out the update call should not be needed!
13290 2001-04-13 Juergen Vigna <jug@sad.it>
13292 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13293 (LyXTabular): tried to minimize operator= operations (and realized
13294 hopfully Lars wish).
13296 2001-04-27 Juergen Vigna <jug@sad.it>
13298 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13300 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13302 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13304 * buffer.C (readInset): hack to make listof algorithm work
13306 * BufferView_pimpl.C: hack to make listof algorithm work
13308 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13310 * LyXAction.C: removed all !NEW_INSETS cruft
13311 (init): moved lfun_item in method
13313 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13315 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13317 * BufferView2.C (theLockingInset): white space.
13319 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13321 * minibuffer.C: include <iostream>
13323 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13325 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13327 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13329 * text.[Ch] (TransposeChars): new method
13331 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13333 * call message directly through LyXView instead of through LyXFunc
13334 * BufferView2.C: adjust
13335 * BufferView_pimpl.C: adjust
13336 * FontLoader.C: adjust
13338 * bufferview_funcs.C: adjust
13339 * converter.C: adjust
13340 * figureForm.C: adjust
13341 * importer.C: adjust
13343 * lyx_gui_misc.C: adjust
13344 * lyxfunc.C: adjust
13347 + more files in subdirs
13349 * lyxparagraph.h (size): move up int file
13352 * adjust all uses of Assert to lyx::Assert.
13354 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13355 lyxfunctional in namespace lyx
13356 * layout.C (hasLayout): ditto
13359 (delete_layout): ditto
13360 (NumberOfClass): ditto
13361 * converter.C (GetFormat): ditto
13366 * bufferlist.C (getFileNames): ditto
13367 (emergencyWriteAll): ditto
13370 * MenuBackend.C (hasSubmenu): ditto
13373 * BufferView_pimpl.C (getInsetByCode): ditto
13375 2001-04-18 Juergen Vigna <jug@sad.it>
13377 * vspace.C (asLatexString): fixed the 100% problem.
13379 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13381 * lyxfunc.C (Dispatch):
13383 * minibuffer.h: add a few std:: qualifiers
13385 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13387 * minibuffer.[Ch]: reimplement so that commands is initiated and
13388 run from lyxfunc, simplified som handling, and made the completion
13389 and history code for complete. wip.
13391 * lyxfunc.C (processKeySym): call message
13392 (miniDispatch): new temporary method
13393 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13394 (LFUN_MESSAGE): implement
13395 (LFUN_MESSAGE_PUSH): implement
13396 (LFUN_MESSAGE_POP): implement
13397 (initMiniBuffer): the initial/defualt minibuffer message.
13399 * lyxfont.[Ch]: inline some more getters
13401 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13403 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13405 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13406 (AutoSave): use LFUN_MESSAGE
13407 (Reconfigure): ditto
13409 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13411 * figureForm.C: use LFUN_MESSAGE
13413 * converter.C (runLaTeX): use LFUN_MESSAGE
13415 * bufferview_funcs.C: use LFUN_MESSAGE
13417 (changeDepth): ditto
13419 * bufferparams.h: use boost::
13421 * bufferlist.h: inherit privately from noncopyable
13423 * bufferlist.C (loadLyXFile): remove some commented code.
13425 * buffer.C (runChktex): use LFUN_MESSAGE
13427 * ShareContainer.h: inherit privately from noncopyable
13429 * ParagraphParameters.[hC] (depth): inline it.
13431 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13433 (message): new method
13434 (messagePush): ditto
13435 (messagePop): ditto
13436 (show): init minibuffer
13437 (showState): direct call
13439 * LaTeX.[Ch]: inherit privately from noncopyable
13440 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13441 instead of WriteStatus.
13443 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13445 * BufferView_pimpl.C (buffer): don't init minibuffer
13446 (workAreaButtonPress): use LFUN_MESSAGE
13447 (workAreaButtonRelease): ditto
13448 (savePosition): ditto
13449 (restorePosition): ditto
13450 (MenuInsertLyXFile): ditto
13451 (workAreaExpose): don't init minibuffer
13452 (update): remove commented code, simplify
13454 * BufferView2.C (openStuff): use LFUN_MESSAGE
13455 (toggleFloat): ditto
13458 (copyEnvironment): ditto
13459 (pasteEnvironment): ditto
13464 (updateInset): remove some commented code
13466 * lastfiles.h: inherit privately from noncopyable
13469 * lyx_main.h: ditto
13471 * lyxlex_pimpl.h: ditto
13473 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13474 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13475 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13477 * LyXAction.h: inherit privately from noncopyable, add methods
13478 func_begin, func_end, returning iterators to the func map.
13480 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13481 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13482 (func_begin): new method
13483 (func_end): new method
13485 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13487 (copySelection): ditto
13488 (pasteSelection): ditto
13490 * BufferView.C: whitespace change
13491 * BufferView.h: inherit privately from noncopyable
13493 2001-04-16 Allan Rae <rae@lyx.org>
13495 * tabular-old.C (l_getline):
13496 * spellchecker.C (sc_check_word):
13497 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13498 an unrecognised preprocessor directive. So ensure they're wrapped.
13500 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13502 * src/exporter.C (Export): Give an error message when path to file
13505 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13507 * LaTeX.C (deplog): Always check that foundfile exists.
13509 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13512 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13514 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13516 * tabular.[Ch] (getLabelList): implement new method
13518 * minibuffer.h: comment ouf setTiimer
13520 * minibuffer.C (ExecutingCB): constify res
13521 (peek_event): constify s
13522 (Set): constify ntext
13523 (Init): constify nicename
13525 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13527 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13528 (savePosition): use two params to Minibuffer::Set
13529 (restorePosition): ditto
13531 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13533 * lyx_main.C: include language.h
13535 * Makefile.am (lyx_main.o): add language.h
13537 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13543 * CutAndPaste.C: include gettext.h
13545 * lyxfont.h: remove old hack with ON and OFF.
13548 * lyxfont.h: do not include language.h...
13553 * bufferview_funcs.C:
13559 * paragraph.C: ... but do it here instead
13561 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13563 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13565 * tabular.C: small reformat
13567 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13570 (BreakParagraph): ditto
13571 (SetOnlyLayout): ditto
13574 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13577 * lastfiles.C: removed most using decl, add std:: where needed
13579 * buffer.C: ws changes
13581 * MenuBackend.C (class compare_format): put into anon namespace
13582 (expand): constify label, names, action, action2
13585 * text.C (SingleWidth): constify font
13586 (IsBoundary): constify rtl2
13587 (GetVisibleRow): constify ww
13589 * LaTeX.C (deplog): constify logfile
13591 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13593 (workAreaExpose): constify widthChange, heightChange
13595 * lyxrow.C (par): moved
13598 * lyxrow.h: as inlines here
13600 * lyxfont.h (shape): moved from lyxfont.C
13601 (emph): moved from lyxfont.C
13603 * lyxfont.C (LyXFont): use initialization list for all
13605 (shape): move to lyxfont.h as inline
13606 (emph): move to lyxfont.h as inline
13609 2001-04-04 Juergen Vigna <jug@sad.it>
13611 * vspace.C: had to include stdio.h for use of sscanf
13613 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13616 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13617 independent of xforms.
13619 2001-04-02 Juergen Vigna <jug@sad.it>
13621 * spellchecker.C: fixed namespace placing!
13623 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13625 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13626 the LyXParagraph * is 0.
13628 2001-03-29 Juergen Vigna <jug@sad.it>
13630 * vspace.C: added support for %, c%, p%, l%.
13631 (stringFromUnit): added helper function.
13632 (asLatexString): changed to give right results for the %-values.
13634 * buffer.C: convert the widthp in a width%.
13636 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13638 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13641 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13642 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13644 * lyx_cb.[Ch]: see above.
13646 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13650 * lyx.[Ch]: replaced by figure_form.[Ch].
13654 * lyxfunc.C: changed headers associated with above changes.
13656 2001-03-27 Juergen Vigna <jug@sad.it>
13658 * BufferView_pimpl.C: set the temporary cursor right!
13660 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13662 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13664 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13666 * LString.h: removed "using std::getline"!
13668 * BufferView_pimpl.C (Dispatch): changes due to changes in
13669 InsetInclude::Params.
13671 * buffer.C (tag_name): removed redundant break statements as they were
13672 producing lots of warnings with my compiler.
13674 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13676 * LString.h: add "using std::getline" when using the real <string>.
13678 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13680 * buffer.C: removed bitset usage.
13681 PAR_TAG moved to an anonymous name space.
13682 (tag_name): new funtion, also in the anonymous namespace.
13683 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13684 (makeDocBookFile): clean code. Completed transition from string arrays
13686 (SimpleDocBookOnePar): code clean.
13688 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13690 * tabular.C: add some comments.
13692 2001-03-22 Juergen Vigna <jug@sad.it>
13694 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13695 compatibility read a bit and fixed bug with minipage in different
13698 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13700 * buffer.C (pop_tag): removed.
13701 (push_tag): removed.
13702 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13703 array replaced with vector. Added support for CDATA sections.
13704 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13706 (makeDocBookFile): XML conformant declaration of CDATA section,
13707 fixed bug related to <emphasis> in the first paragraph char.
13708 (sgmlOpenTag): exclude empty tags.
13709 (sgmlCloseTag): ditto.
13711 * buffer.h (pop_tag): removed.
13712 (push_tag): removed.
13714 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13716 * language.h (Languages): added size_type and size().
13718 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13720 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13721 response on compability reading of minipages. One probliem is that
13722 the old usage of minipages was «flertydig»
13724 * several files here and in subdirs: don't use static at file
13725 scope use anon namespaces instead.
13727 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13729 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13730 LaTeX output. This is necessary for Literate document
13733 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13735 * buffer.C: insert hfill when needed.
13737 * tabular.C (l_getline): use string::erase, small whitespace change.
13739 * BufferView_pimpl.C: try the anon namespace.
13740 * WorkArea.C: ditto
13742 2001-03-16 Juergen Vigna <jug@sad.it>
13744 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13745 otherwise it won't open options-dialogs.
13747 * buffer.C: honor pextraWidth(p) on converting minipages.
13749 * tabular.C (l_getline): changed the functions to strip trailing \r.
13751 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13753 * BufferView_pimpl.C:
13754 * minibuffer..C: added "using SigC::slot" declaration.
13756 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13758 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13764 * paragraph.C: ditto
13766 * lyxtext.h: NO_PEXTRA
13768 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13770 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13771 * ParameterStruct.h: ditto
13772 * ParagraphParameters.h: ditto
13773 * lyxparagraph.h: ditto
13775 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13777 * buffer.C: add compability for minipage alignment.
13778 (latexParagraphs): remove unwanted pextra check.
13780 * several files: remove CXX_WORKING_NAMESPACES
13782 * buffer.C (pop_tag): tie is in namespace boost
13784 * BufferView.h: noncopyable is in namespace boost
13786 * lyx_main.h: ditto
13789 * lastfiles.h: ditto
13790 * bufferlist.h: ditto
13791 * ShareContainer.h: ditto
13793 * LyXAction.h: ditto
13796 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13798 * Merging changes from BRANCH_MVC back into HEAD.
13800 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13802 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13804 * BufferView_pimpl.C: change from intl.C
13808 * Makefile.am: move combox.*
13814 * intl.C: remove dialog (covered by prefs)
13816 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13818 * lyxfunc.C (Dispatch): removed redundant break statement.
13820 2001-03-14 Juergen Vigna <jug@sad.it>
13822 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13824 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13826 * buffer.C: add hack to fix compability reading of minipages.
13828 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13830 * buffer.C (getLists): Cleanup.
13832 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13834 * lyxfont.C (update): don't honor toggleall on font size.
13836 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13840 * Makefile.am: moved to frontends/xforms/
13844 * BufferView_pimpl.C: changes for moved mathpanel
13846 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13848 * gettext.h: fix gettext_init() in --disable-nls
13850 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13852 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13854 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13857 * lyx.h: strip external form
13859 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13861 * BufferView_pimpl.C: add comment, destroySplash()
13863 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13865 * BufferView_pimpl.C:
13869 * lyxfunc.C: use re-worked insetinclude
13871 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13873 * buffer.C: add using std::stringstream.
13875 * lyx_cb.C: readd using std::ios.
13877 * buffer.C: add using std::map.
13879 * BufferView_pimpl.C: add using std::vector.
13881 * ShareContainer.h: add std:: to swap.
13883 * buffer.h: add some typedefs
13884 * buffer.C (getLists): use them
13885 (getLists): renamed from getTocList.
13886 add a counter for the different float types and use it in the
13888 (getLists): use the same counter for the NEW_INSETS and the "non"
13891 * lyx_cb.h: remove unused items, includes, using etc.
13893 * ShareContainer.h: remove some commented code, add more comments
13894 and "documentation".
13896 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13898 * buffer.C (getTocList): make the list also when NEW_INSETS is
13901 * buffer.h: remove TocType
13903 * buffer.C (getTocList): change to return a map<string,
13904 vector<TocItem> >, implement for dynamic number of list.
13906 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13907 * text2.C (PasteSelection): adjust
13908 * CutAndPaste.C (pasteSelection): adjust
13910 * FloatList.C (FloatList): update from the new_insets branch.
13911 * Floating.[Ch]: ditto
13912 * LaTeXFeatures.C: ditto
13914 * lyxlex_pimpl.C: ditto
13916 * paragraph.C (Last): remove when NEW_INSETS is defined.
13918 * other file: changes because of the above.
13920 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13922 * lyxparagraph.h: rename next to next_, previous to previous_,
13923 make them private for NEW_INSETS. Rename Next() to next(),
13924 Previous() to previous().
13926 * other files: changes because of the above.
13928 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13931 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13934 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13936 * main.C (main): pass lyx_localedir to gettext_init().
13938 * gettext.h: remove locale_init and gettext_init macros
13940 * gettext.C (locale_init): new function
13941 (gettext_init): new function
13943 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13946 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13948 * Moved credits to frontends:
13949 * credits.[Ch]: removed
13950 * credits_form.[Ch]: removed
13951 * lyx_gui_misc.C: remove credits stuff
13954 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13956 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13958 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13959 unneeded destructor.
13961 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13962 a standalone pointer again.
13964 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13966 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13972 * ToolbarDefaults.C:
13981 * BufferView_pimpl.C: use new file dialog in GUII
13984 * lyx_cb.C: remove LayoutsCB to Toolbar
13986 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13988 * ShareContainer.h (get): add std:: qualifier
13990 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13992 * ShareContainer.h: define a proper ShareContainer::value_type
13993 type (and use typename to please compaq cxx)
13995 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13997 * lyxparagraph.h: move serveral local vars to
13998 ParameterStruct/ParagraphParameters., use ShareContainer in
13999 FontTable., make vars in FontTable private and add getter and
14002 * paragraph.C: changes because of the above.
14004 * lyxfont.h: remove copy constructor and copy assignment. (the
14005 default ones is ok), move number inside FontBits. move inlines to
14008 * lyxfont.C: add number to initializaton of statics, move several
14009 inlines here. constify several local vars. some whitespace
14010 cleanup. Dont hide outerscope variables.
14012 * Spacing.h: add two new constructors to match the set methods.
14014 * ShareContainer.h: new file, will perhaps be moved to support
14016 * ParameterStruct.h: new file
14018 * ParagraphParameters.h: new file
14020 * ParagraphParameters.C: new file
14022 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14023 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14025 * BufferView_pimpl.C: ParagraphParameter changes.
14026 * buffer.C: Likewise.
14027 * bufferview_funcs.C: Likewise.
14028 * text.C: Likewise.
14029 * text2.C: Likewise.
14031 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14033 * lyxfind.C (LyXReplace): do not redefine default argument in
14035 (IsStringInText): ditto
14036 (SearchForward): ditto
14037 (SearchBackward): ditto
14039 2001-03-06 Juergen Vigna <jug@sad.it>
14041 * lyxfind.C (IsStringInText): put parentes around expressions.
14043 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14045 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14047 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14049 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14051 * stl_string_fwd.h: add comment
14053 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14056 * tabular.C: remove unused DocBook methods
14062 killed DO_USE_DEFAULT_LANGUAGE
14064 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14066 * lyx_gui.C: do not include language.h.
14068 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14069 arguments in function implementation.
14071 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14073 * BufferView_pimpl.C: add <ctime>
14075 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14077 * BufferView_pimpl.C: add using std::find_if
14079 2001-02-27 José Matos <jamatos@fep.up.pt>
14081 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14084 2001-02-11 José Matos <jamatos@fep.up.pt>
14086 * buffer.C (makeDocBookFile): command styles now have a parameter as
14087 "title" by default.
14089 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14091 * layout_forms.[Ch]: removed
14092 * lyx_cb.[Ch]: out character
14093 * lyx_gui.C: out character
14094 * lyx_gui_misc.C: out character
14095 * bufferview_funcs.C: : out character,
14096 added toggleall as parameter in ToggleAndShow
14098 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14100 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14102 * text2.C (SetCurrentFont): Disable number property at boundary.
14104 2001-02-26 Juergen Vigna <jug@sad.it>
14106 * lyxfunc.C (getStatus): added a string argument override function so
14107 that this is correctly called from LyXFunc::Dispatch if it contains a
14108 do_not_use_argument which is used!
14109 (Dispatch): added check for "custom" export and call appropriate func.
14111 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14113 * lyxrc.C: Add language_command_local, language_use_babel and
14114 language_global_options.
14116 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14118 * buffer.C (makeLaTeXFile): Use language_use_babel and
14119 language_global_options.
14121 2001-02-23 Juergen Vigna <jug@sad.it>
14123 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14124 which works with LyXText and putted it inside BufferView. Here now we
14125 only call for that part the BufferView::Dispatch() function.
14127 * BufferView.C (Dispatch): added.
14129 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14130 functions which needs to use a LyXText over from LyXFunc.
14131 (MenuInsertLyXFile): added
14132 (getInsetByCode): added
14133 (moveCursorUpdate): added
14134 (static TEXT): added
14136 2001-02-22 Juergen Vigna <jug@sad.it>
14138 * BufferView_pimpl.C (update): call a status update to see if LyXText
14141 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14143 * vc-backend.C (revert): implement for CVS
14144 (getLog): implement for CVS
14146 2001-02-20 Juergen Vigna <jug@sad.it>
14148 * text2.C (ClearSelection): added BufferView param for inset_owner call
14150 * lyxfunc.C (TEXT): added this function and use it instead of
14151 directly owner->view()-text of getLyXText().
14153 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14155 * src/layout_forms.C: out preamble
14156 * src/layout_forms.h: out preamble
14157 * src/lyx_cb.C: out preamble
14158 * src/lyx_cb.h: out preamble
14159 * src/lyx_gui.C: out preamble
14160 * src/lyx_gui_misc.C: out preamble
14161 * src/lyxfunc.C: connect with guii preamble
14163 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14165 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14167 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14169 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14170 whether to run bibtex.
14172 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14174 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14176 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14178 * Makefile.am (lyx_SOURCES): removed bibforms.h
14180 * vspace.h: doxygen
14182 * text.C (GetVisibleRow): make several local vars const
14184 * tabular.C: small cleanup.
14186 * lyxserver.C (callback): use compare instead of strncmp
14188 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14189 inlines to after class or to paragraph.C
14191 * lyxfont.h: remove friend operator!=
14193 * converter.h: move friend bool operator< to non friend and after
14196 * combox.h: small cleanup
14198 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14199 to inlines after class def.
14201 * buffer.C (pop_tag): use string operations instead of strcmp
14203 * bmtable.c: doxygen, small cleanup
14205 * LaTeX.h: remove friend operator==
14207 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14219 * BufferView_pimpl.C:
14220 * BufferView.[Ch]: remove cruft
14222 2001-02-14 Juergen Vigna <jug@sad.it>
14224 * lyxfunc.C: removed #if 0 unused code
14226 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14228 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14230 * text2.C (SetSelection): added a BufferView * parameter
14232 2001-02-13 Juergen Vigna <jug@sad.it>
14234 * lyxfunc.C (Dispatch): fixed protected blank problem.
14235 * BufferView2.C (protectedBlank): added LyxText * parameter.
14237 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14238 (AppendColumn): same as above for column_info.
14240 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14241 (moveCursorUpdate): use a LyXText param for support of InsetText.
14243 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14244 (tripleClick): ditto
14246 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14248 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14250 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14252 * text2.C (SetSelection): set correct update status if inset_owner
14253 (ToggleFree): ditto
14255 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14257 * tabular.C: remove some commented code.
14259 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14261 * BufferView_pimpl.C: call hideSplash()
14263 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14266 * bibforms.h: remove
14269 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14270 add LFUN_CHILD_CREATE
14272 * counters.h: fix tiny typo
14277 * lyx.C: move splash to frontends/xforms/
14279 * lyx_gui_misc.C: move Include and Bibform to frontends
14281 * lyxvc.h: clarify comment
14283 * vspace.C: tiny housekeeping
14285 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14287 * text.C (PrepareToPrint): RTL Fix.
14289 * paragraph.C (GetUChar): New method.
14290 (String): Use GetUChar.
14292 * buffer.C (asciiParagraph): Use GetUChar.
14294 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14296 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14298 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14301 * buffer.C: rename to getLogName(), handle
14302 build log / latex log nicely
14304 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14307 * MenuBackend.h: remove support for reference menuitem type.
14309 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14311 * BufferView_pimpl.C: housekeeping
14312 * BufferView_pimpl.h:
14317 * minibuffer.h: move Timeout GUI-I
14319 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14321 * lyxrc.C (read): Update converters data-structures.
14323 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14325 * LaTeX.h (operator!=): add operator != for Aux_Info
14327 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14329 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14331 * LaTeXLog.C: deleted, useful code moved to Buffer
14334 * buffer.C: new function getLatexLogName()
14340 * lyxfunc.C: use frontends for LaTeX and VC logs
14342 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14344 * LaTeX.h: yet another std:: that Allan forgot.
14346 * Variables.C (set): renamed from isset(), because this clashes
14347 with some HP-UX macros (grr).
14349 2001-02-06 Allan Rae <rae@lyx.org>
14351 * LaTeX.h: Another bug fix. Missing std:: this time.
14353 2001-02-04 Allan Rae <rae@lyx.org>
14355 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14356 floats problem. I've left it commented out because it's not quite
14357 correct. It should also test that the current object is a table or
14358 figure inset. But I haven't gotten around to figuring out how to do
14359 that. I *think* it'll be something like: "table" == inset.type()
14361 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14364 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14366 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14367 all the citation/databases/styles in the auxilary file.
14368 (run): Rerun latex if there was a babel language error.
14370 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14372 * text.C (Backspace): Preserve the font when changing newline char
14374 (BreakParagraph): If the cursor is before a space, delete the space.
14376 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14378 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14380 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14381 new argument (code).
14382 (ChangeCitationsIfUnique): New method.
14384 * paragraph.C (GetPositionOfInset): Handle bibkey.
14386 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14388 * BufferView_pimpl.h: change type of Position::par_pos to
14389 LyXParagraph::size_type.
14391 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14393 * BufferView_pimpl.C (savePosition, restorePosition): Write
14394 messages to minibuffer.
14396 2001-01-28 José Matos <jamatos@fep.up.pt>
14398 * buffer.C (makeDocBookFile): adds support for document language.
14399 A silly restriction on the name of LatexCommand types where removed.
14400 Added support for CDATA sections, allows to chars unescaped, used
14401 among others in code, to avoid escape < and >.
14403 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14405 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14406 saved positions instrad of a stack. Furthermore, a position is
14407 stored using paragraph id/paragraph position.
14409 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14410 Remove LFUN_REF_BACK.
14412 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14414 * converter.C (dvipdfm_options): New method.
14416 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14418 * vspace.C (isValidLength): Fix for empty input string.
14420 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14422 * LyXAction.C (init): change description of LFUN_FIGURE to
14425 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14427 * LaTeX.C: add using directive
14429 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14431 * MenuBackend.C (expand): Fix the sorting of the formats.
14433 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14435 * lyx_main.C: tiny error message fix
14437 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14439 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14440 calling fl_initialize(). This fixes the problem with ',' as
14441 decimal separator in text files.
14443 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14445 * trans.C (process): Fix the keymap bug.
14447 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14449 * LaTeX.C (scanAuxFiles): New method. Provides support for
14450 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14451 (scanLogFile) Scan for "run BibTeX" messages.
14453 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14454 OT1 font encoding. Also, load the aecompl package if the ae
14457 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14459 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14461 * texrow.C (increasePos): turn two error messages into debug
14464 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14466 * LaTeX.C (scanAux): Handle the \@input macro.
14467 (runBibTeX): Use scanAux().
14469 * language.C (latex_options_): New field.
14471 * LaTeXFeatures.C (getMacros): Add language macros.
14473 * buffer.C (makeLaTeXFile): Small fix.
14475 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14477 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14479 * text2.C: add a using directive.
14481 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14486 * lyxfunc.C: kill LyXBell.
14488 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14490 * text.C (IsBoundary): Remove the error message
14492 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14494 * lyxrc.C (setDefaults): Correct initialization value for
14497 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14499 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14502 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14503 and GotoNextNote().
14505 * src/LyXAction.C: Added reference-next.
14507 * text.C (InsertChar): Use contains instead of strchr.
14509 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14511 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14513 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14514 alignment commands (when needed).
14516 * text.C (InsertChar): Add ':' to number separator chars.