1 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
6 2004-01-13 André Pönitz <poenitz@gmx.net>
9 * lyxtext.h: hide cursor and selection anchor behind accessor function
12 * BufferView_pimpl.[Ch]:
24 * cursor_slice.[Ch]: some integer type changes for inset unification
26 * lyxcursor.[hC]: remove, it's CursorSlice now.
29 * BufferView_pimpl.[Ch]:
36 * textcursor.[Ch]: adjust
38 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
40 * text2.C (undoSpan): add and use
41 * text.C (breakParagraph): use undoSpan (fix bug 578)
44 2004-01-08 Angus Leeming <leeming@lyx.org>
46 * BufferView_pimpl.C (MenuInsertLyXFile):
47 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
48 * lyxfunc.C (menuNew, open, doImport):
49 FileFilterList change to the FileDialog open and save functions.
51 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
53 * ShareContainer.h: make isEqual and isUnique adaptable
55 * CutAndPaste.C: make resetOwnerAndChanges adaptable
57 2004-01-07 Angus Leeming <leeming@lyx.org>
60 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
62 * BufferView_pimpl.C (dispatch): act on these LFUNs.
64 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
65 functions replacing find, replace and replaceAll.
67 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
68 LFUN_WORDFIND(FORWARD|BACKWARD).
70 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
72 * text.C (breakParagraph): remove an outdated #warning
74 2004-01-07 André Pönitz <poenitz@gmx.net>
76 * lyxfind.C: somewhat clearer logic
78 * text.C: prevent crash in cursorX on unitialized row cache
80 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
82 * lyxcursor.[Ch] (operator>): add
83 * textcursor.C (selStart, selEnd): use std::min and std::max
85 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
87 * Chktex.C: include boost/format.hpp
89 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
91 * InsetList.C: replace functor MathcIt with adaptable functor
93 (insetIterator): modify accordingly
95 * BranchList.h: move the BranchNamesEqual functor here from...
96 * BranchList.C: ... to here
98 * BranchList.C: new BranchListEqual fuctor, use it. Remove
100 (add): replace a finding loop with std::find_if.
102 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
104 * output_docbook.C: moving LatexParam functionality into
107 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
109 * buffer.C: increment format to 229.
111 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
114 * lyx_sty.[Ch]: remove minipageindent_def
120 * text3.C: remove LFUN_INSET_MINIPAGE
122 2003-12-28 Angus Leeming <leeming@lyx.org>
124 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
126 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
128 * text2.C (setParagraph): fix off-by-one crash
130 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
132 * output_docbook.C: header stuff for AGU
134 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
136 * text2.C (redoCursor): remove
139 * BufferView_pimpl.C: remove calls to redoCursor and
140 setCursor(cursor.par(), cursor.pos()) all around
142 2003-12-15 Angus Leeming <leeming@lyx.org>
144 * buffer.C: up the format to 228.
146 2003-12-15 André Pönitz <poenitz@gmx.net>
148 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
153 * BufferView_pimpl.C:
162 2003-12-15 Angus Leeming <leeming@lyx.org>
164 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
165 than getFromGUIName to manipulate the color.
167 2003-12-14 Angus Leeming <leeming@lyx.org>
169 * BranchList.[Ch]: minimize the API.
170 (Branch::getBranch, getColor): now return a 'const &'.
171 (Branch::setSelected) now returns a bool set to true if the
172 selection status changes.
173 (BranchList::clear, size, getColor, setColor, setSelected,
174 allBranches, allSelected, separator): removed.
175 (BranchList::find): new functions, returning the Branch with
177 (BranchList::add, remove): return a bool indicating that
178 the operation was successful.
180 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
181 new InsetBranch::isBranchSlected member function.
183 * LColor.[Ch]: mimimize the API.
184 (fill): renamed as addColor and made private.
185 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
186 versions of these functions taking a string arg have been removed.
188 * bufferparams.C (readToken):
189 * lyxfunc.C (dispatch):
190 * lyxrc.C (read): changes due to the altered BranchList and
193 * factory.C (createInset, readInset): changes due to altered
196 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
199 * lyxfunc.C: remove insetminipage. "minipage-insert"
200 now produces a frameless minipage box inset.
202 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
204 * textcursor.[Ch] (selStart,selEnd): add new methods
205 remove selection::start, end, use LyXCursor::operator<
206 * lyxcursor.[Ch] (operator<): add
207 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
208 * BufferView.[Ch] (unsetXSel): add
209 * text2.C (clearSelection): use unsetXSel,adjust
212 * rowpainter.C: adjust
213 * bufferview_funcs.C (put_selection_at): adjust
215 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
217 * BufferView_pimpl.C: small coord. correction
219 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
221 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
222 dragging over the splash screen.
224 2003-12-11 Angus Leeming <leeming@lyx.org>
226 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
227 as it is now handled in LyXText::dispatch.
229 * text3.C (doInsertInset): remove a level of nesting.
231 2003-12-11 Angus Leeming <leeming@lyx.org>
233 * factory.C (createInset): changes due to the changed interface to
234 InsetCommandMailer::string2params.
236 2003-12-10 Angus Leeming <leeming@lyx.org>
238 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
239 'dialog-show-new-inset <inset name>'
241 2003-12-10 Angus Leeming <leeming@lyx.org>
243 * buffer.C: up the format to 227.
245 * factory.C: the box inset is now identified simply by 'Box'.
247 2003-12-10 Angus Leeming <leeming@lyx.org>
249 * buffer.C: up the format to 226.
251 * factory.C: the note inset is now identified simply by 'Note'.
253 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
255 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
256 when a pit is enough. Standarize a couple of loops.
258 2003-12-05 Angus Leeming <leeming@lyx.org>
260 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
261 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
262 data to the re-worked "log" dialog.
264 2003-12-03 André Pönitz <poenitz@gmx.net>
272 * text2.C: use Inset::getText instead of Inset::getParagraph
274 2003-12-03 André Pönitz <poenitz@gmx.net>
278 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
279 InsetText::read() as LyXText::read()
281 2003-12-02 Angus Leeming <leeming@lyx.org>
283 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
284 type. Add a comment in the implementation that the function uses
285 the stream's bad() function rather than fail() as the std::streams
288 2003-12-02 André Pönitz <poenitz@gmx.net>
290 * lyxlex.[Ch]: make interface more similar to std::stream
292 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
294 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
296 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
298 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
300 * vspace.[Ch]: remove VSpace::NONE
302 2003-12-01 André Pönitz <poenitz@gmx.net>
305 * lyxtext.h: move ParagraphList member to LyXText
306 rename LyXText::ownerParagraphs to LyXText::paragraph
309 * bufferview_funcs.C:
319 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
321 * undo.C: fix cursor positioning
323 2003-12-01 John Levon <levon@movementarian.org>
325 * BufferView_pimpl.C: fix a crash on exit with
328 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
330 * BranchList.C: fix setSelected() method.
332 2003-11-28 André Pönitz <poenitz@gmx.net>
334 * ParagraphParameters.[Ch]:
335 * ParameterStruct.h: remove space above/below from Paragraph to
338 * BufferView_pimpl.C:
350 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
352 * factory.C: Syntax change for CharStyles
354 2003-11-28 André Pönitz <poenitz@gmx.net>
359 * buffer.[Ch]: move LyXText member
361 2003-11-28 André Pönitz <poenitz@gmx.net>
363 * BufferView.[Ch]: make LyXText * text a private member
365 * BufferView_pimpl.C:
376 * output_plaintext.C: cleanup
378 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
381 * lyxtextclass.[Ch]: parametrize SGML document header
383 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
386 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
389 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
391 * text2.C (setFont): rework using PosIterator (no more recursive)
392 (setCharFont): no more needed
393 (setLayout): no more selection cursors fiddling (done by redoCursor)
394 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
395 destroy remaining ones)
397 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
399 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
401 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
404 * text3.C: adjust + re-allow multi par depth changes
405 * textcursor.C: simplify a bit
407 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
413 * src/output_docbook.C:
414 * src/output_latex.C:
419 * src/text2.C: Introducing a number of tags parametrizing various
420 XML formats that we may want to support
422 2003-11-25 André Pönitz <poenitz@gmx.net>
424 * InsetList.[Ch] (begein, end): inline as suggested by profiler
426 * lyxtext.h (leftMargin/rightMargin): simplify interface
433 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
435 * lyxfunc.C (dispatch): propogate the bibtex databases from the
436 master file to any child files. Fixes bug 546.
438 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
440 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
442 2003-11-24 André Pönitz <poenitz@gmx.net>
444 * rowpainter.C: simplification
446 * text2.C (updateCounters): remove call to redoParagraph on
447 changed labels as this is far too expensive.
449 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
451 * converter.C (convert): fix a crash: this function gets
452 called with buffer == 0 from importer code.
454 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
456 * text3.C (cursorPrevious): make sure that we do not compare
457 iterators form different containers.
460 * rowpainter.C (paintSelection): make sure that we do not compare
461 iterators from different containers.
463 * text3.C (dispatch): [PRIOR] make sure that we do not compare
464 iterators from different ParagraphList containers.
467 * text2.C (LyXText): change order of initialization slightly
468 (operator=): new function. copy all variables except cache_par_
469 (moveUp): make sure that we do not compare iterators from
470 different ParagraphList constainers.
473 * text.C (firstPar): new function
474 (lastPar): new function
475 (endPar): new function
477 * lyxtext.h: move things around and group public functions, public
478 variables, private functions, private variables
480 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
482 * factory.C: change call to InsetERT constructor to avoid
483 additional invocation of method status
484 * text2.C (toggleInset): remove redundant update() call
485 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
486 instead of a Bufferview pointer
488 2003-11-21 André Pönitz <poenitz@gmx.net>
490 * rowpainter.C: simplification
492 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
494 * text3.C (dispatch): make possible to extend a word/row selection
497 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
499 * lyxtext.h: x0_,y0_ -> xo_,yo_
500 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
501 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
502 * rowpainter.C (paintRows): paint full paragraphs
504 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
506 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
509 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
511 * lyxtext.h: add x0_, y0_
512 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
513 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
515 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
517 * text2.C (setCursorIntern): move the x_target update here *
518 * text3.C: change some bv() to true/false in calls to
519 cursorUp/Down/Right/Left
520 * cursor.C: use helper function.
522 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
524 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
525 * paragraph_funcs.[Ch]: correct comment
526 * rowpainter.C: do not paint selections away from bv->cursor()
527 Fix a long standing selection painting bug.
528 * text3.C: generalize mouse-selection code to LyXTexts other that
530 * textcursor.C: do not use y coords if we can use par offsets
532 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
534 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
535 cursor position after e.g. inset insert)
537 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
539 * lyxfind.C (replace): adjust to locking removal + some
542 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
544 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
547 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
550 * output_docbook.C: XML sanitation: new layout
551 parameters InnerTag and CommandDepth
553 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
555 * BufferView_pimpl.C:
557 * text3.C: Fix the insertion and modification of button-style
560 2003-11-13 André Pönitz <poenitz@gmx.net>
562 * InsetList.[Ch]: remove deleteLyXText
564 * paragraph.[Ch]: cache beginOfBody position
569 * text3.C: remove superfluous update() calls
573 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
575 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
576 * BufferView.C (fitLockedInsetCursor): remove
577 * cursor.[Ch] (getDim): add
578 * text.C (getRowNearY): add faster version
579 * text3.C: remove some update calls
581 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
593 * text3.C: The Character Style /XML short element patch.
595 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
598 * factory.C: Small step to solving 'unable to insert some insets'
601 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
603 * cursor.[Ch] (updatePos): new function for updating the y
604 position of the tip inset
605 * bufferview_funcs.C (put_selection_at):
606 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
608 2003-11-11 André Pönitz <poenitz@gmx.net>
610 * text.C: remove big comment on invalid Paragraph pointers as it is
613 2003-11-11 André Pönitz <poenitz@gmx.net>
615 * text_funcs.[Ch]: merge with ...
623 * Makefile.am: remove text_funcs.[Ch]
625 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
627 * cursor.C (getPos): return absolute cached y coord
629 * BufferView_pimpl.C (fitCursor): new simplistic code
630 (workAreaDispatch): add a fitCursor call
632 2003-11-10 André Pönitz <poenitz@gmx.net>
635 * BufferView_pimpl.[Ch]: merge update() and updateInset()
637 2003-11-10 André Pönitz <poenitz@gmx.net>
639 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
640 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
641 indicate that the cursor needs to leave an inset
643 * lyxtext.h: remove inset locking
645 * cursor.[Ch]: re-implement functionality provided by inset locking
648 * BufferView_pimpl.[Ch]:
650 * bufferview_funcs.[Ch]:
662 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
664 * PosIterator.[Ch]: replace the stack with a vector, add inset
666 * iterators.[C]: adjust
668 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
670 * lyxfind.C (replaceAll): mark the buffer dirty if something was
672 * paragraph_funcs.C (readParToken): put the correct id in the
673 error item, not the id of the top paragraph
675 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
677 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
678 * bufferview_funcs.C (put_selection_at): use the above
680 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
682 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
684 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
687 * output_plaintext.h:
689 * output_docbook.h: add #include statements
691 2003-11-05 José Matos <jamatos@lyx.org>
693 * output_docbook.[Ch]:
695 * output_linuxdoc.[Ch]:
696 * output_plaintext.[Ch]: New files for output formats.
697 * output.[Ch]: New file for helper functions.
700 * paragraph_funcs.[Ch]: output functions moved to new files.
702 * outputparams.h: rename of latexrunparams.h
710 * paragraph_funcs.[Ch]:
711 * paragraph_pimpl.[Ch]:
712 * tabular.[Ch]: rename ascii to plaintext
713 and LatexRunParams to OutputParams.
715 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
717 * iterators.[Ch] (text): require bv argument
718 * undo.C (recordUndo):
719 * lyxfunc.C (dispatch):
720 * bufferview_funcs.C (put_selection_at): adjust
722 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
724 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
726 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
728 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
731 2003-11-04 André Pönitz <poenitz@gmx.net>
733 * cursor.[Ch]: restructure
736 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
738 * iterators.[Ch] (asCursor): remove
740 * lfuns.h: remove LFUN_INSET_EDIT
746 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
748 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
750 * lyxfind.[Ch]: complete overhaul
751 * BufferView_pimpl.C:
753 * paragraph.[Ch] (insert): add
755 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
759 * text.C: remove dead spellcheck code
761 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
763 * dispatchresult.h: add a val setter
765 * cursor.C (dispatch): use a tempvar for data_[i]
767 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
769 * PosIterator.[Ch]: compile fix
771 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
773 * text.C (cursorPar): deactivate the cursor cache
775 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
777 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
779 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
781 * text3.C (dispatch): adjust for new DisptchResult semantics.
783 * lyxfunc.C (dispatch): handle update when return from
784 Cursor::dispatch, adjust for new DispatchResult semantics.
786 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
787 DispatchResult(true) mean to not update. Add class functions for
788 setting dispatched and update, as well as reading.
790 * cursor.C (dispatch): don't handle update here
792 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
794 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
795 * trans_mgr.C: adjust
797 * paragraph_funcs.C (readParToken): exception safety
799 * lyxvc.h: store the vcs pointer in a scoped_ptr
802 * lyxsocket.C (serverCallback): exception safety
804 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
806 * ispell.C (clone): make it return a auto_ptr
808 * factory.C (createInset): exception safety
809 (readInset): exception safety
811 * bufferlist.C (newBuffer): exception safety
813 * Thesaurus.C (Thesaurus): use initialization for aik_
815 * MenuBackend.C (expandToc): exception safety.
817 2003-11-03 André Pönitz <poenitz@gmx.net>
821 * bufferview_funcs.C: remove getInsetFromId()
824 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
830 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
832 * PosIterator.C (distance, advance): new
833 * bufferview_funcs.[Ch] (put_selection_at): new
834 * iterators.[Ch] (lockPath): new
836 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
838 * iterators.[Ch] (asPosIterator): added
839 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
840 * PosIterator.[Ch]: added
842 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
846 * cursor.C (dispatch):
847 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
849 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
850 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
851 contructor, add a class function dispatched. Remove operator>=
853 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
855 * debug.C: only use the default constructor for debugstream
858 * main.C (main): include debug.h and setup the lyxerr streambuf
861 2003-10-31 José Matos <jamatos@lyx.org>
863 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
865 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
866 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
867 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
868 * paragraph_pimpl.C (simpleTeXSpecialC):
869 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
870 add LatexRunParams argument.
872 * exporter.C (Export): change call accordingly.
874 * latexrunparams.h: add new member to take care of the other backends.
875 2003-10-30 José Matos <jamatos@lyx.org>
877 * buffer.C (makeLinuxDocFile, makeDocBookFile):
878 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
879 factorise code for paragraph output.
881 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
884 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
886 * text3.C (dispatch):
887 * lyxfunc.C (dispatch):
888 * cursor.C (dispatch):
889 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
891 * dispatchresult.h: make the dispatch_result_t ctor explicit
893 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
896 * buffer.C: small refactoring of docbook stuff
898 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
900 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
903 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
905 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
906 operator dispatch_result_t, and operators for == != and >=
908 * cursor.C (dispatch): adjust for operator dispatch_result_t
909 removal. comment out call to update
911 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
913 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
921 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
924 * dispatchresult.h: new file, DispatchResult broken out of
927 * Makefile.am (lyx_SOURCES): add dispatchresult.h
929 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
931 * text.C (rowBreakPoint): put a hack inside #if 0
933 2003-10-28 André Pönitz <poenitz@gmx.net>
940 * text2.C: general cleanup (lots of small stuff)
942 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
944 * text2.C (cursorEnd): simple fix to the "end key goes to one
945 before the end on last row" bug
947 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
949 * text.C (backspace): fix the "zombie characters"
951 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
953 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
955 2003-10-27 André Pönitz <poenitz@gmx.net>
957 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
959 * factory.C: handle new InsetPagebreak, InsetLine
961 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
962 and move handling into new InsetPagebreak, InsetLine
964 * BufferView_pimpl.C:
966 * ParagraphParameters.C:
979 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
988 * text3.C: remove lastPos uses in favour of Row::endpos
990 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
992 * undo.C (performUndoOrRedo): fix two crashes by setting a
993 cursor by hand and reordering some calls. Use bv->lockInset instead
994 of inset->edit because the latter loses cursor information
996 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
998 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1000 (rowBreakPoint): fix width. change point to point + 1.
1001 Add a missing check.
1003 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1006 * lyxfunc.C: fix (at least partly) the problems
1007 with the Nav menu and headers inside branch insets
1010 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1012 * paragraph.C (getChar): add strong asserts
1014 * lyxrow_funcs.C (lastPos): remove hideous hack
1016 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1017 (fill): adjust to that (avoid an infinite loop)
1019 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1021 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1023 2003-10-23 André Pönitz <poenitz@gmx.net>
1025 * RowList_fwd.h: change list<> to vector<> to gain speed
1026 after suggestion from Alfredo
1028 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1030 * lyxtext.h: move the bidi stuff from here...
1033 * Bidi.[Ch]: ... to here
1035 2003-10-23 André Pönitz <poenitz@gmx.net>
1038 * text.C (isLastRow, isFirstRow): new functions
1040 * paragraph.h: new width cache member
1042 * rowpainter.C: replace RowList::iterator with Row & where possible
1044 * lyxfunc.C: replace several view()->text with a single call
1046 * toc.C: fix 'unused' warning
1048 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1050 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1051 when woring with stream::pos_type
1052 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1054 2003-10-22 André Pönitz <poenitz@gmx.net>
1057 * text.C: use Row & instead of RowList::iterator
1059 * lyxrow.h: rename end() to endpos()
1065 2003-10-22 Angus Leeming <leeming@lyx.org>
1067 * buffer.[Ch] (fully_loaded): new member function, returning true
1068 only when the file has been loaded fully.
1069 Used to prevent the premature generation of previews and by the
1070 citation inset to prevent computation of the natbib-style label.
1072 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1073 templates are all set up.
1075 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1077 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1079 * text.C: fixed an "oops" in the "is a bit silly"
1082 2003-10-21 André Pönitz <poenitz@gmx.net>
1084 * FuncStatus.[Ch]: small stuff, whitespace
1086 * lyxfont.[Ch]: operator<<() for debug reasons
1090 * lyxtext.h: whitespace, spelling
1092 * paragraph.C: naming of variables
1095 * text2.C: small stuff
1098 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1100 * text.C: (1) finish off the inset display() work;
1101 (2) fix the "is a bit silly" bug (accessing char
1104 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1106 * text.C: re-introduce display() for insets, fixing the
1107 various bugs (stretch of line above, math inset
1110 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1112 * text.C (rightMargin): remove spurious semicolon
1114 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1117 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1119 * text3.C: fix one crash due to wrong cursor def
1121 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1123 * vc-backend.C (scanMaster): make the regex static
1125 * LaTeX.C (scanAuxFile): make the regexs static
1127 * text3.C (doInsertInset, dispatch, dispatch):
1128 * text2.C (cursorUp, cursorDown):
1129 * text.C (selectNextWordToSpellcheck):
1130 * BufferView_pimpl.C (dispatch):
1131 * lyxfunc.C (dispatch): localDispatch -> dispatch
1133 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1135 * lyxsocket.C: include <cerrno>
1137 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1139 * lyxfunc.C (dispatch): remove textcache stuff
1141 * bufferlist.C (release): remove textcache stuff
1144 * TextCache.C: delete file
1145 * TextCache.h: delete file
1147 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1149 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1150 delete of the bv_->text.
1151 (resizeCurrentBuffer): remove texcache stuff
1152 (workAreaResize): ditto
1154 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1156 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1159 2003-10-16 André Pönitz <poenitz@gmx.net>
1166 * text3.C: speed up by storing y positions per paragraph plus per-row
1167 offset instead of having a 'full' y position in the row.
1169 2003-10-15 André Pönitz <poenitz@gmx.net>
1173 * undo.[Ch]: make undo aware of inner insets
1175 2003-10-14 Angus Leeming <leeming@lyx.org>
1177 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1178 static member functions LyX::ref() and LyX::cref.
1179 (lastfiles): new accessor functions for the new lastfiles_ member var.
1180 (addLyXView, views_): add a new LyXView to the list of views_.
1181 (updateInset): loop over all LyXViews to call their own updateInset
1182 member function, returning a pointer to the Buffer owning the inset.
1184 * BufferView_pimpl.C (loadLyXFile):
1185 * MenuBackend.C (expandLastfiles):
1186 * bufferlist.C (MenuWrite, QuitLyX):
1187 lastfiles is no longer a global variable.
1188 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1190 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1191 static function. Access through LyX::cref().emergencyCleanup().
1193 2003-10-14 André Pönitz <poenitz@gmx.net>
1195 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1197 * undo.[Ch]: restoring part of 'undo in insets'
1200 * undo_funcs.[Ch]: merge with undo.[Ch]
1202 * tabular.C: small cleansing stuff
1204 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1206 * paragraph_funcs.C (readParToken): report unknown insets as error
1207 boxes. Use the outer paragraph as location (also for unknown
1210 * factory.C (readInset): do not abort on reading an unknown inset.
1211 Eat it and return 0.
1213 2003-10-13 Angus Leeming <leeming@lyx.org>
1215 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1217 * lyxrc.C: displayTranslator is now a function,
1218 declared in GraphicsTypes.h.
1220 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1222 * format.C: new placeholder $$a to pass the socket address.
1224 * bufferlist.[Ch]: new function getBufferFromTmp.
1226 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1227 files in the temporary dir.
1229 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1231 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1233 * Makefile.am: add lyxsocket.[Ch].
1235 * lyx_main.C (error_handler): handle SIGPIPE.
1237 2003-10-13 André Pönitz <poenitz@gmx.net>
1239 * BufferView_pimpl.C:
1244 * undo_funcs.[Ch]: use paroffset_type instead of
1245 ParagraphList::iterators to prevent multiple conversion
1246 (and get a more robust interface)
1248 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1250 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1252 * text3.C (dispatch): ditto
1254 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1256 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1257 move the onlyfile, use onlyfile instead of foundfile in a couple
1260 * DepTable.C (update): flush the error stream a bit more
1262 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1264 * lyxserver.C (callback): adjust
1266 * lyxfunc.C (getStatus): add a missing brace in commented code
1267 (ensureBufferClean): reindent
1268 (dispatch): delete version taking a string
1270 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1272 * LaTeX.C (deplog): move found file handlig from here...
1273 (handleFoundFile): .. to new function here.
1274 (deplog): make sure to discover several files mentioned on the
1277 2003-10-10 André Pönitz <poenitz@gmx.net>
1284 * text3.C: fix some of the tabular crashes
1286 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1288 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1290 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1292 2003-10-09 André Pönitz <poenitz@gmx.net>
1294 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1297 * BufferView_pimpl.C:
1298 * bufferview_funcs.C:
1309 * undo_funcs.C: adjust
1311 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1313 * text2.C (incrementItemDepth): new function, use a backtracking
1314 algorithm to discover the correct item depth.
1315 (resetEnumCounterIfNeeded): new function, use a backtracking
1316 algorithm to discover if counter reset is needed.
1317 (setCounter): use them. Simplify a bit. Add different labels for
1318 different item depths for itemize.
1320 * paragraph.C (Paragraph): remove initialization of enumdepth
1323 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1324 enumerate and itemize. Change the type of itemdepth to signed char.
1326 2003-10-08 André Pönitz <poenitz@gmx.net>
1328 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1333 * tabular.[Ch]: fix crash after 'row-insert'
1335 2003-10-08 Angus Leeming <leeming@lyx.org>
1337 Fix doxygen warnings.
1339 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1340 Remove CutAndPaste:: prefix from header file declaration.
1342 * LColor.h (fill): remove LColor:: prefix from declaration.
1344 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1345 use lyx::depth_type rather than Paragraph::depth_type so that
1346 header file and .C file match.
1348 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1350 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1351 * aspell.C: \file aspell_local.C -> \file aspell.C
1352 * gettext.C: \file gettext.C -> \file src/gettext.C
1353 * gettext.h: \file gettext.h -> \file src/gettext.h
1354 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1355 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1356 * text.C: \file text.C -> \file src/text.C
1358 * toc.C: move comment so that doxygen is not confused.
1360 2003-10-07 Angus Leeming <leeming@lyx.org>
1362 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1364 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1367 * aspell_local.h: add forgotten std::string's.
1369 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1376 * text3.C: The Box patch. Fancybox support, minipage, parbox
1378 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1384 * ParagraphParameters.h:
1394 * lyxtextclasslist.h:
1397 * paragraph_pimpl.C:
1398 * textcursor.h: add <string> and other small fixes to make Lars'
1399 std::string patch compile with STLport.
1401 2003-10-06 Angus Leeming <leeming@lyx.org>
1403 * LColor.h: Add missing #include <string>.
1405 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1407 * All most all file in all subdirs: Make <string> be the prefered
1408 way of getting to std::string, add using declarations.
1410 2003-10-06 André Pönitz <poenitz@gmx.net>
1412 * metricsinfo.C: initialize LyXFont before changing attribute.
1413 (fixes the 'math in \emph is upright' bug)
1415 2003-10-06 André Pönitz <poenitz@gmx.net>
1417 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1419 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1422 * paragraph_pimpl.C: Small fixes to build using STLport
1424 2003-10-02 André Pönitz <poenitz@gmx.net>
1427 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1429 2003-10-01 André Pönitz <poenitz@gmx.net>
1431 * factory.C: assert early
1433 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1435 * lyx_main.C: remove the global debug object
1437 * debug.h: adjust for new debugstream
1439 * debug.C: adjust for new debugstream and keep the global debug
1442 2003-09-22 Angus Leeming <leeming@lyx.org>
1444 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1445 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1446 an incomplete class LyXFont.
1448 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1450 * factory.C: bug fix in branches
1452 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1454 * lyxfunc.C (processKeySym): adjust
1456 (dispatch): change arg name from ev to func, adjust
1457 (sendDispatchMessage): ditto
1459 * lyx_main.C (defaultKeyBindings): adjust keybindings
1460 (deadKeyBindings): ditto
1462 * kbsequence.C (addkey): return a FuncRequest
1464 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1466 * kbmap.C (bind): take a FuncRequest as arg, adjust
1469 (defkey): change to take a FuncRequest as arg, adjust
1470 (findbinding): take a FuncRequest as arg, adjust.
1472 * funcrequest.h (operator=): added
1474 * funcrequest.C (FuncRequest): default kb_action changed from
1475 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1477 * buffer.C (dispatch): simplify
1478 (dispatch): adjust to take a FuncRequest as arg, adjust
1480 * boost.C (assertion_failed): change assertion message slightly
1482 * ToolbarBackend.C (read): simplify
1484 * MenuBackend.C (binding): adjust call to findbinding, add a
1485 message if no binding is found.
1487 (expandToc): correct by adding a empty FuncRequest
1489 * LyXAction.C: include <boost/assert.hpp>
1490 (isPseudoAction): delete function
1491 (LookupFunc): change name to...
1492 (lookupFunc): this. change return type to FuncRequest.
1493 (getActionName): take kb_action as arg, simplify
1494 (funcHasFlag): add an assert, simplify.
1496 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1498 * toc.C (action): return a FuncRequest, simplify
1500 * lyxfunc.C (processKeySym): adjust
1501 (getStatus): delete version that takes an int.
1503 (dispatch): delete version that takes action as int
1505 (sendDispatchMessage): simplify and adjust
1507 * funcrequest.C (getArg): take unsigned int as arg
1509 * ToolbarBackend.C (read): adjust
1510 (add): delete version that takes func as a string.
1511 (getIton): take a FuncRequest as arg
1513 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1516 * MenuBackend.C (MenuItem): add a new construct that only takes a
1517 Kind, simplify the constructor use for submenus.
1519 (expandLastfiles): adjust
1520 (expandDocuments): adjust
1521 (expandFormats): adjust
1522 (expandFloatListInsert): adjust
1523 (expandFloatInsert): adjust
1524 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1526 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1527 Remove class variables lyx_pseudo_map and lyx_arg_map
1529 * LyXAction.C (searchActionArg): delete function
1530 (getPseudoAction): delete function
1531 (retrieveActionArg): delete function
1532 (LookupFunc): make it return kb_action, simplify.
1533 (getActionName): simplify
1535 * factory.C (createInset): fix new bug
1537 2003-09-19 Angus Leeming <leeming@lyx.org>
1539 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1540 masterFilename_ parameter in the include inset.
1542 * factory.C (createInset): changes due to the changes to InsetInclude.
1544 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1546 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1548 2003-09-18 Angus Leeming <leeming@lyx.org>
1551 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1552 Inset::fillWithBibKeys.
1553 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1555 2003-09-18 Angus Leeming <leeming@lyx.org>
1557 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1559 (ctor): pass and store a 'Buffer const &'
1560 (buffer): new member function.
1562 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1563 '*this' to the LaTeXFeatures ctor.
1565 2003-09-18 Angus Leeming <leeming@lyx.org>
1571 * text.C: rename EnumLColor as LColor_color.
1573 2003-09-18 Angus Leeming <leeming@lyx.org>
1575 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1576 remove #include "insets/insetbase.h" from cursor.h.
1578 2003-09-18 Angus Leeming <leeming@lyx.org>
1580 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1581 InsetOld_code to remove #include "inset.h".
1583 * iterators.C: add #include "insets/inset.h"
1585 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1587 * BufferView.C: remove more locking stuff that apparently doesn't
1588 do anything sensible.
1590 2003-09-16 André Pönitz <poenitz@gmx.net>
1593 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1596 2003-09-16 Angus Leeming <leeming@lyx.org>
1598 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1600 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1603 * paragraph.h: remove #include "lyxfont.h". Forward declare
1606 2003-09-16 Angus Leeming <leeming@lyx.org>
1608 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1609 of support/textutils.h.
1610 (isWord): move the contents of support/textutils.h's IsWordChar here.
1616 * text2.C: add #include "paragraph.h".
1619 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1621 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1627 * LaTeX.C: use namespace alias for lyx::support::os
1629 2003-09-16 Angus Leeming <leeming@lyx.org>
1632 * bufferview_funcs.C:
1635 * paragraph_pimpl.C:
1637 * text.C: add #include "LColor.h".
1639 2003-09-16 Angus Leeming <leeming@lyx.org>
1641 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1642 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1644 Store the FontBits::color variable as an int rather than as an
1645 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1648 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1649 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1650 string calls together.
1652 * lyxrc.C: add #include "LColor.h".
1654 2003-09-15 Angus Leeming <leeming@lyx.org>
1656 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1659 2003-09-15 Angus Leeming <leeming@lyx.org>
1661 * LColor.h: add an EnumLColor wrapper for LColor::color.
1663 * lyxfont.[Ch] (color, setColor, realColor):
1664 * lyxtext.h, text.C (backgroundColor):
1665 pass EnumLColor args to/from the functions, rather than LColor::color
1669 * lyxtext.h: forward declare EnumLColor.
1671 * lyx_main.C: add #include "LColor.h".
1673 2003-09-15 Angus Leeming <leeming@lyx.org>
1675 * .cvsignore: add lyx-gtk.
1677 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1682 * ParagraphParameters.C
1686 * bufferview_funcs.C
1696 * vc-backend.C: remove usage of STRCONV
1698 2003-09-15 Angus Leeming <leeming@lyx.org>
1700 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1701 explicitly define the color passed to the painter.
1703 2003-09-15 Angus Leeming <leeming@lyx.org>
1705 * bufferparams.C (BufferParams): reorder member initializers to avoid
1708 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1710 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1711 * text.C (updateRowPositions): remove an unusual nop
1713 2003-09-12 André Pönitz <poenitz@gmx.net>
1715 * BufferView_pimpl.C:
1724 * Counters.[Ch]: finish the 'automatic counters' job
1726 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1728 * aspell.C: include <boost/assert.cpp> (compile fix)
1730 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1732 * boost.C (assertion_failed): use lyx::support::abort instead of
1735 2003-09-10 Angus Leeming <leeming@lyx.org>
1737 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1738 with their _fwd progeny.
1740 2003-09-09 Angus Leeming <leeming@lyx.org>
1742 134 files throughtout the source tree: replace 'using namespace abc;'
1743 directives with the appropriate 'using abc::xyz;' declarations.
1745 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1747 * boost.C (emergencyCleanup): moved here from LAssert.c
1748 (assertion_failed): new function, called by BOOST_ASSERT
1750 * several files: change Assert to BOOST_ASSERT
1752 2003-09-09 Angus Leeming <leeming@lyx.org>
1754 * buffer.[Ch]: Add an Impl class and move Buffer's member
1755 variables into it. As a result move several header files out of
1758 Add header files to lots of .C files all over the tree as a result.
1760 2003-09-09 Angus Leeming <leeming@lyx.org>
1762 * buffer.[Ch]: make Buffer's member variables private. Add
1765 Lots of changes all over the tree as a result.
1767 2003-09-08 Angus Leeming <leeming@lyx.org>
1769 * graph.C: #include <config.h>.
1771 2003-09-08 Angus Leeming <leeming@lyx.org>
1775 * BufferView_pimpl.C:
1804 * toc.C: remove redundant using directives.
1806 2003-09-07 Angus Leeming <leeming@lyx.org>
1808 * LaTeXFeatures.h: remove #include "support/types.h".
1809 * ToolbarBackend.h: remove #include <algorithm>.
1810 * changes.h: remove #include <ctime>.
1811 * debug.h: remove #include <iosfwd>.
1812 * graph.h: remove #include "support/std_string.h".
1813 * lyx_main.h: remove #include <csignal>.
1814 * lyxlex_pimpl.h: remove #include <fstream>.
1815 * sgml.h: remove #include <algorithm>, <utility>.
1816 * toc.h: remove #include "support/std_ostream.h".
1817 Add #include <iosfwd>.
1819 2003-09-07 Angus Leeming <leeming@lyx.org>
1821 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1823 * converter.h: forward declare LatexRunParams.
1824 * encoding.h: remove #include "lyxrc.h".
1825 * lyxtext.h: remove #include "LColor.h".
1826 * lyxtextclass.h: remove #include "support/types.h".
1827 * trans.h: remove #include "tex-accent.h".
1828 * trans_mgr.h: remove #include "tex-accent.h".
1829 * insets/inset.h: remove #include "support/types.h", <vector>.
1830 * insets/insetcollapsable.h: remove #include "LColor.h".
1831 * insets/insetinclude.h: remove #include "dimension.h".
1832 * insets/insetlatexaccent.h: remove #include "dimension.h".
1833 * insets/insetoptarg.h:: remove #include "insettext.h".
1834 * insets/insettext.h: remove #include "dimension.h",
1835 <boost/shared_ptr.hpp>
1837 * insets/renderers.h: add #include "dimension.h".
1838 * insets/updatableinset.h: add #include "support/types.h".
1840 * many .C files: Associated changes.
1842 2003-09-06 Angus Leeming <leeming@lyx.org>
1844 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1845 one, inside testInvariant.
1847 * PrinterParams.C: new file.
1848 * PrinterParams.[Ch]: move the function bodies out of line.
1850 2003-09-06 Angus Leeming <leeming@lyx.org>
1852 * ParagraphParameters.h: forward declare ParameterStruct rather than
1853 including its header file.
1854 (depth): moved out-of-line.
1856 2003-09-06 Angus Leeming <leeming@lyx.org>
1858 * BufferView_pimpl.h:
1861 * lyxfunc.h: forward declare LyXKeySym rather than
1862 #include "frontends/LyXKeySym.h".
1864 * BufferView_pimpl.C:
1867 * lyxfunc.C: associated changes.
1869 2003-09-06 Angus Leeming <leeming@lyx.org>
1871 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1872 As a result, can remove the #include "insets/inset.h" from BufferView.h
1874 2003-09-06 Angus Leeming <leeming@lyx.org>
1876 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1877 As a result, can remove the #include "insets/inset.h" from BufferView.h
1879 2003-09-06 Angus Leeming <leeming@lyx.org>
1885 * bufferview_funcs.C:
1886 * BufferView_pimpl.C:
1891 * ParagraphParameters.C:
1896 * frontends/controllers/ControlDocument.C:
1897 * insets/insetcaption.C: rearrange the #includes into some sort of
1900 * buffer.h: remove #includes ErrorList.h, undo.h
1902 2003-09-06 Angus Leeming <leeming@lyx.org>
1904 * support/types.h: add a 'depth_type' typedef, used to store the
1905 nesting depth of a paragraph.
1908 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1909 defining explicitly.
1912 * paragraph_funcs.h:
1913 * ParagraphParameters.h:
1914 * sgml.h: use lyx::depth_type rather than Paragraph or
1915 ParameterStruct's depth_type.
1918 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1921 * BufferView_pimpl.C:
1923 * ParagraphParameters.C:
1926 * bufferview_funcs.C:
1933 * frontends/LyXView.C:
1934 * frontends/controllers/ControlDocument.C:
1935 * frontends/controllers/ControlErrorList.C:
1936 * insets/insetbibitem.C:
1937 * insets/insetbranch.C:
1938 * insets/insetcaption.C:
1939 * insets/insetcollapsable.C:
1940 * insets/insetenv.C:
1941 * insets/insetert.C:
1942 * insets/insetfloat.C:
1943 * insets/insetfoot.C:
1944 * insets/insetfootlike.C:
1945 * insets/insetnewline.C:
1946 * insets/insetquotes.C:
1947 * insets/insettabular.C:
1948 * insets/insettext.C:
1949 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1951 * frontends/controllers/ControlChanges.C: #include "changes.h".
1953 2003-09-06 Angus Leeming <leeming@lyx.org>
1955 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1956 than #including paragraph.h.
1959 * RowList.h: deleted. Superfluous.
1969 * insets/insettext.h: use ParagraphList_fwd.h rather than
1972 * paragraph.h: don't forward declare ParagraphList.
1975 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1976 rather than ParagraphList.h. paragraph.h is still needed for the
1977 Paragraph::depth_type parameters.
1979 * textcursor.h: enable it to compile stand-alone in light of the
1982 * bufferview_funcs.C:
1994 * frontends/controllers/ControlParagraph.C:
1995 * frontends/controllers/ControlTabular.C:
1996 * insets/insetmarginal.C:
1997 * insets/insetminipage.C:
1998 * insets/insetnote.C:
1999 * insets/insetoptarg.C: add header files needed to compile again.
2001 2003-09-06 Angus Leeming <leeming@lyx.org>
2003 * RowList_fwd.h: new file, forward-declaring Row rather than
2004 #including lyxrow.h.
2009 * insets/insettext.h: use it instead of RowList.h
2011 * bufferview_funcs.C:
2018 * text3.C: #include "RowList.h".
2020 2003-09-05 Angus Leeming <leeming@lyx.org>
2022 * factory.C (createInset):
2023 * vspace.C (c-tor): replace sscanf call with an istringstream.
2024 * ispell.C: re-add missing HP/UX headers.
2025 * lyxserver.C: re-add missing os2 headers.
2027 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2036 * text3.C: re-add missing system headers, needed for 2.95.2.
2038 2003-09-05 Angus Leeming <leeming@lyx.org>
2040 Changes most place everywhere due to the removal of using directives
2041 from support/std_sstream.h.
2043 2003-09-05 Angus Leeming <leeming@lyx.org>
2045 Replace LString.h with support/std_string.h,
2046 Lsstream.h with support/std_sstream.h,
2047 support/LIstream.h with support/std_istream.h,
2048 support/LOstream.h with support/std_ostream.h.
2050 Changes resulting throughout the tree.
2052 2003-09-05 Angus Leeming <leeming@lyx.org>
2054 * sgml.h: ensure that the header file can be compiled stand-alone.
2055 * *.C: strip out redundant #includes. (320 in total.)
2057 2003-09-04 Angus Leeming <leeming@lyx.org>
2059 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2060 here (from getPackages).
2062 * debug.[Ch]: add a new EXTERNAL tag.
2064 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2066 * text2.C (cursorEnd): simplify
2068 (getColumnNearX): adjust
2070 * text.C (computeBidiTables): adjust
2073 * rowpainter.C (paintChars): adjust
2074 (paintSelection): adjust
2075 (paintChangeBar): adjust
2078 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2080 (numberOfSeparators): adjust
2082 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2088 * text3.C: Restricts the mouse click functionality
2089 of insets like bibtex, include, toc and floatlist to the visible
2090 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2091 up the dialogs. Cursor has to be in front of the inset (i.e.
2092 start of row) for this to function.
2094 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2096 * bufferview_funcs.C (currentState): output row information
2098 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2100 * bufferview_funcs.C (currentState): output paragraph position
2102 2003-09-04 Angus Leeming <leeming@lyx.org>
2104 * FloatList.h: move out #include "Floating.h".
2105 * LaTeX.h: move out #include "DepTable.h".
2106 * LyXAction.h: move out #include "funcrequest.h".
2107 * buffer.h: move out #include "author.h", "iterators.h".
2108 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2109 * lyx_main.h: move out #include "errorlist.h".
2110 * lyxfunc.h: move out #include "FuncStatus.h".
2111 * lyxtext: move out #include "lyxcursor.h".
2112 * paragraph_pimpl.h: move out #include "counters.h".
2114 2003-09-03 Angus Leeming <leeming@lyx.org>
2116 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2117 preamble_snippets list, enabling us to add snippets to the preamble
2118 only if the snippet was not there already.
2120 2003-09-04 Angus Leeming <leeming@lyx.org>
2122 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2124 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2126 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2129 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2131 * BranchList.C: point fix, earlier forgotten
2133 2003-09-02 Angus Leeming <leeming@lyx.org>
2135 * box.C (contains): renamed from 'contained' after a fantastic
2138 2003-09-02 John Levon <levon@movementarian.org>
2144 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2146 2003-09-02 John Levon <levon@movementarian.org>
2148 * text2.C: simplification of cursorEnd(), including partial
2151 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2153 * buffer.C (readFile): add a space
2155 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2157 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2159 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2161 * buffer.C (readFile): new function, take a filename and a
2162 ParagraphList::iterator
2164 (readFile): adjust, make it private. don't use setStream, make
2165 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2166 always contain the filename.
2168 * BufferView.C (insertLyXFile): simplify and make it work for
2171 2003-08-30 John Levon <levon@movementarian.org>
2173 * Makefile.am: fix dist (from Kayvan)
2175 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2177 * most files: change to use const Buffer refs
2179 2003-08-27 André Pönitz <poenitz@gmx.net>
2181 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2182 on top of ownerPar().
2184 2003-08-27 John Levon <levon@movementarian.org>
2186 * funcrequest.C: properly initialise POD members
2188 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2190 * lyxtext.h (top_y): move top_y from here
2195 * BufferView_pimpl.[Ch]: to here
2196 * frontends/screen.C:
2197 * insets/insettabular.C:
2198 * insets/insettext.C: adjust
2199 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2201 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2204 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2206 2003-08-26 André Pönitz <poenitz@gmx.net>
2208 * paragraph_func.[Ch] (outerPar): new function
2211 * paragraph_funcs.C:
2212 * paragraph_funcs.h:
2213 * paragraph_pimpl.C:
2214 * text2.C: remove Inset::par_owner
2216 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2221 * text2.C: eliminates the needFullRow/display() stuff
2222 altogether, putting the logic in metrics/draw in the insets.
2224 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2226 * text2.C (redoParagraphInternal, redoParagraphs):
2227 * text.C (redoParagraph): add a call to updateRowPositions at the
2228 end of each 'metrics-like' call. Remove all others.
2229 (getRow): remove the 'y-computing' version.
2230 (getRowNearY): do not compute nor return the real y. Solve the
2231 'y < 0' problem and simplify.
2233 2003-08-22 Angus Leeming <leeming@lyx.org>
2235 * *.[Ch]: clean-up of licence and author blurbs.
2236 Also move config.h out of a few .h files and into a few .C files.
2238 2003-08-22 André Pönitz <poenitz@gmx.net>
2240 * lyxrow.[Ch]: add x_ and *fill_ members
2245 * text2.C: adjust/remove prepareToPrint() calls
2247 2003-08-22 André Pönitz <poenitz@gmx.net>
2249 * lyxrow.[Ch]: add end_ member
2251 * lyxrow_funcs.C: use LyXRow::end_
2253 * lyxtext.h (singleWidth): add LyXFont parameter
2256 * text2.C: adjust LyXText::singleWidth() calls
2258 * text.C (redoParagraph): simplify row breaking logic
2261 2003-08-19 André Pönitz <poenitz@gmx.net>
2263 * funcrequest.C: initialize button_ member
2266 * rowpainter.[Ch]: interface consolidation
2268 2003-08-18 André Pönitz <poenitz@gmx.net>
2271 * BufferView_pimpl.C:
2273 * paragraph_funcs.C:
2275 * text3.C: remove LyXScreen::draw() and fitCursor calls
2277 * BranchList.h: remove spurious semicolons
2279 * MenuBackend.C: fix branchlist related crash
2281 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2289 * bufferparams.[Ch]:
2293 * text3.C: implements the 'branch inset'
2294 idea. This allows the output of various versions of a document
2295 from a single source version, selectively outputing or suppressing
2296 output of parts of the text.
2297 This implementation contains a 'branch list editor' in a separate
2298 tab of the document settings dialog. Branches are user definable
2299 and have a "display colour" to distinguish them on-screen.
2301 ColorHandler was somewhat cleaned up.
2302 (1) make possible a dynamically growing LColor list by allowing
2303 the graphic context cache to grow along (vector);
2304 (2) eliminate an IMHO unnecessary step in colour allocation.
2306 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2308 * BufferView_pimpl.C: compile fix
2310 2003-08-15 André Pönitz <poenitz@gmx.net>
2312 * rowpainter.C: remove extra metrics calls
2314 * lyxtext.h: merge the two constructors into a single one,
2315 pass reference to owner's par list
2317 * BufferView_pimpl.C:
2321 2003-08-15 André Pönitz <poenitz@gmx.net>
2323 * lyxrow_funcs.[Ch]:
2326 * paragraph_funcs.C:
2331 * text_funcs.C: split LyXText::rowlist_ into individual
2332 Paragraph::rows_ chunks
2335 * BufferView_pimpl.[Ch]:
2338 * text3.C: remove toggleSelection()
2340 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2342 * bufferlist.C: beautify two alerts (shorter text of buttons)
2343 * buffer.C: Remove redundant ' ' from message
2345 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2346 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2347 rename VALIGN_CENTER to VALIGN_MIDDLE
2349 2003-08-11 André Pönitz <poenitz@gmx.net>
2351 * lyxtext.h (getPar):
2352 * text.C: new function
2354 2003-08-11 André Pönitz <poenitz@gmx.net>
2357 * tracer.[Ch]: remove unneeded files
2359 * InsetList.[Ch]: remove resizeInsetsLyXText()
2364 * text3.C: merge insertParagraphs() and appendParagraph()
2365 remove breakAgain(), update()
2367 * BufferView_pimpl.[Ch]:
2368 * bufferview_funcs.[Ch]:
2372 * tabular.C: adjust after text & InsetList changes.
2374 2003-08-08 André Pönitz <poenitz@gmx.net>
2376 * text.C (insertChar, backspace): replace rowlist fiddling
2377 with rebreak of full par
2380 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2381 checkParagraph, updateInset): removed
2383 2003-08-07 André Pönitz <poenitz@gmx.net>
2386 * text3.C: merge some LFUN handlers, remove dead code
2388 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2390 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2392 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2394 * text2.C (DEPM): fix part of bug 1255 and 1256
2396 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2398 * BufferView_pimpl.C (workAreaDispatch): change to use
2399 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2400 that are no mouse related.
2402 2003-08-05 André Pönitz <poenitz@gmx.net>
2405 * BufferView_pimpl.[Ch]:
2406 * bufferview_funcs.C:
2408 * text3.C: rip out "deep update"
2410 * textcursor.[Ch] (last_sel_cursor): remove unused member
2412 2003-08-04 André Pönitz <poenitz@gmx.net>
2415 * BufferView_pimpl.[Ch]:
2416 * ParagraphParameters.C:
2417 * bufferview_funcs.C:
2423 * text3.C: replace "complicated" BufferView::update(...) calls with
2426 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2428 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2430 * Makefile.am (lyx_SOURCES): add paper.h
2432 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2434 * Makefile.am: move things around so that both lyx-qt and
2435 lyx-xforms can be built (according to --with-frontend). Then lyx
2436 is a symbolic link to lyx-[firstfrontend]
2438 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2440 * Always use std::endl with lyxerr
2442 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2444 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2446 2003-08-01 André Pönitz <poenitz@gmx.net>
2449 * BufferView_pimpl.[Ch]:
2451 * text3.C: merge BufferView::repaint() and BufferView::update()
2453 2003-08-01 José Matos <jamatos@lyx.org>
2455 * buffer.[Ch]: file_format is no longer a buffer data element.
2457 2003-08-01 André Pönitz <poenitz@gmx.net>
2462 * text2.C: make redoParagraph more independent of current cursor
2464 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2466 * text2.C: remove unneeded members
2468 2003-07-30 André Pönitz <poenitz@gmx.net>
2470 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2472 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2473 create a single function...
2475 * paragraph_funcs.C (moveItem): ... here.
2478 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2480 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2482 * LColor.[Ch]: Add comment and greyedout logical colors.
2484 2003-07-30 André Pönitz <poenitz@gmx.net>
2486 * tabular.C: don't use Assert too heavily. This crashes where it
2489 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2491 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2492 is disabled (bug 1232)
2494 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2496 * factory.C: limited 'arg' scope
2498 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2500 * factory.C: fixed Note submenu issues
2502 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2504 * factory.C: submenu for Note/Comment/Greyedout
2506 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2509 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2511 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2514 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2515 greyedout. Patch provided by Jürgen Spitzmüller.
2517 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2519 * kbmap.C (read): fix error message when reading bind files
2521 2003-07-29 Angus Leeming <leeming@lyx.org>
2523 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2524 certainly does not do what it purports to do. I am doing it, and
2525 us, a favour by killing it.
2527 2003-07-28 José Matos <jamatos@lyx.org>
2529 * buffer.C (readBody, do_writeFile):
2530 * paragraph.C(readParagraph): \end_document replaces \the_end.
2532 2003-07-29 André Pönitz <poenitz@gmx.net>
2535 * BufferView_pimpl.[Ch]:
2539 * textcursor.[Ch]: remove toggleToggle & Co
2541 2003-07-28 José Matos <jamatos@fep.up.pt>
2543 * buffer.C (readParagraph):
2544 * params_func (readParToken, readParagraph):
2545 * paragraph.C (write): \layout -> \begin_layout.
2547 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2549 * lyxlex_pimpl.C (setFile): clean up slightly.
2551 * bufferparams.h: add compressed var
2553 * buffer_funcs.C (readFile): adjust for LyXLex change
2554 (newFile): ditto + simplify
2556 * buffer.C (writeFile): handle writing of compressed files
2558 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2559 Check if the file is compressed and set a bufferparm if so.
2561 * Makefile.am (lyx_LDADD): remove explicit -lz
2563 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2565 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2566 makeDocBookFile): put the real LyX version in the first line of
2570 * version.C.in: remove lyx_docversion
2572 * tabular.C (write_attribute): add a template-based version to
2573 write enums properly
2575 2003-07-28 André Pönitz <poenitz@gmx.net>
2580 * text3.C: use doubles again for x-coordinates. They are needed.
2582 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2584 * messages.C (getLocaleDir): use lyx_localedir()
2586 * lyxlex_pimpl.C (setFile): compress stuff
2588 * buffer.C (writeFile): add some compression stuff
2589 (do_writeFile): new func, dont call expliti close... will this
2592 * Makefile.am (lyx_LDADD): add -lz
2594 2003-07-28 José Matos <jamatos@fep.up.pt>
2596 * buffer.C: increment file format.
2597 * paragraph_funcs (readParagraph, readParToken):
2598 * paragraph.C (readParagraph): add \end_layout.
2600 2003-07-27 Angus Leeming <leeming@lyx.org>
2602 * Makefile.am: remove special casing for configure-time setting of
2603 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2605 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2606 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2608 2003-07-26 André Pönitz <poenitz@gmx.net>
2610 * paragraph_func.[Ch]:
2611 * paragraph.C (realizeFont): inline it whereever it is used
2616 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2619 2003-07-26 André Pönitz <poenitz@gmx.net>
2623 * text2.C: get rid of LyXText::need_break_row
2625 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2627 * toc.[Ch]: put namespace toc inside namespace lyx
2629 * MenuBackend.C (expandToc2): adjust for lyx::toc
2632 * lyxfunc.C (dispatch): adjust for lyx::find
2634 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2635 lyx::find instead. Reorganize a bit.
2636 (LyXReplace): rename to replace
2637 (LyXFind): rename to find
2639 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2642 2003-07-26 André Pönitz <poenitz@gmx.net>
2644 * text.C (setHeightOfRow): restrict scope of temporary variable
2646 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2647 code (never has been used?)
2649 2003-07-27 Asger Alstrup <alstrup@local>
2651 * text.C (fill): Optimise algorithm to exploit that we can reuse
2652 the LyXFont for many characters.
2653 (setHeightOfRow): Same thing.
2654 (rowBreakPoint): Same thing.
2656 2003-07-26 Asger Alstrup <alstrup@local>
2658 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2660 * text.C (singleWidth): Spurious font copying in hot-spot
2661 singleWidth avoided. Reorder tests for arabic for efficiency.
2663 * text.C (fill): handle empty paragraphs better.
2665 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2668 * encoding.h: add includes
2670 * lyxrc.C: remove reading of bind files
2672 * lyx_main.C (init): setup bindings and menus only if we have a
2675 * kbmap.C (read): new method. Do the actual reading of bind
2678 * converter.C (dvipdfm_options):
2681 (output): adapt PAPER_* enums.
2683 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2685 * bufferparams.h: remove paper-related enums from there
2687 * paper.h: New file. A trivial header file to hold paper-related
2688 enums. It should later expand to contain many paper-related
2691 * lyxrc.C: declare extern displayTranslator
2693 2003-07-27 José Matos <jamatos@fep.up.pt>
2695 * tabular.[Ch] (linuxdoc): add support for tables and figures
2698 2003-07-27 José Matos <jamatos@fep.up.pt>
2700 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2701 consistency in both functions.
2702 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2704 2003-07-26 Asger Alstrup <alstrup@local>
2706 * rowpainter.C (paintRows): Change algorithm to work directly on
2707 the insets rather than asking every character in the document
2708 whether its an inset.
2710 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2712 * buffer.C (openFileWrite): factorize some code
2714 2003-07-26 Angus Leeming <leeming@lyx.org>
2717 * lyx_main.[Ch]: replace occurances of system_tempdir with
2720 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2722 * rename Inset to InsetOld
2724 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2726 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2727 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2728 which I think is a bit clearer. EDIT is gone, since it was
2729 premature optimisation, and broken for mathed anyway.
2730 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2731 with cursor positioning in insets as well (math insets still do not
2732 work, but that's a different story anyway.) It mysteriously
2733 crashes sometimes with undo in the first paragraph, but I'm fairly
2734 confident that this is a compiler bug.
2736 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2738 * paragraph.C (Paragraph): adjust for new clone return type
2740 (copyIntoMinibuffer): ditto
2742 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2744 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2745 by not having a special case, and always doing a full rebreak of
2746 the document after undo.
2748 2003-07-23 Angus Leeming <leeming@lyx.org>
2750 * factory.C (createInset): InsetExternal::setParams now takes a
2753 2003-07-23 Angus Leeming <leeming@lyx.org>
2755 * factory.C (createInset): changed interface to the external and
2756 graphics mailers' string2params functions.
2758 2003-07-23 Angus Leeming <leeming@lyx.org>
2760 * factory.C (createInset): pass a
2761 Buffer const * parameter to InsetExternalMailer's string2params.
2763 2003-07-22 John Levon <levon@movementarian.org>
2765 * Thesaurus.h: include the right aiksaurus header
2767 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2769 * MenuBackend.C (expand): check menu shortcuts unconditionally
2771 2003-07-21 Angus Leeming <leeming@lyx.org>
2773 * factory.C (createInset): pass a
2774 buffer_path parameter to InsetGraphicsMailer's string2params.
2776 2003-07-21 Angus Leeming <leeming@lyx.org>
2778 * BufferView_pimpl.C (buffer):
2781 * lyxfunc.C (dispatch):
2782 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2783 rather than the grfx shortcut.
2785 2003-07-21 André Pönitz <poenitz@gmx.net>
2787 * rowpainter.C: remove unused variables
2790 * tabular_funcs.h: move to tabular.C
2791 * Makefile.am: adjust
2793 * tabular.[Ch]: basic optical cleaning
2795 * author.h: pass references, not values
2797 2003-07-18 André Pönitz <poenitz@gmx.net>
2805 * text3.C: two-phase drawing for InsetText and InsetTabular
2806 some float -> int changes.
2808 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2810 * lyx_main.C: fix the fix
2812 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2814 * lyx_main.C: fix a crash in batch mode if no files specified
2817 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2819 * format.[Ch] (papersize): moved to BufferParams
2820 * converter.[Ch] (dvips_options): moved to BufferParams
2821 (dvipdfm_options): moved to anon namespace
2822 * bufferparams.[Ch]: added above functions.
2824 2003-07-17 André Pönitz <poenitz@gmx.net>
2828 * text2.C: don't call inset->update() anymore
2830 * metricsinfo.[Ch]: add convenience constructor
2832 2003-07-16 André Pönitz <poenitz@gmx.net>
2837 * text2.C: replace the LyXCursor::irow_ member with
2838 on-demand computation of the value
2840 2003-07-16 John Levon <levon@movementarian.org>
2842 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2844 2003-07-15 André Pönitz <poenitz@gmx.net>
2847 * text2.C: remove no more needed refresh_row
2849 2003-07-15 André Pönitz <poenitz@gmx.net>
2854 * text3.C: refresh_status tristate -> need_update bool
2856 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2858 * lyxtext.h (init): remove reinit argument (act as if always true)
2859 * text2.C: adjust to that
2861 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2863 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2864 * text3.C: use it to delete selections in some cases
2865 (bugs 441, 673, 702, 954).
2867 2003-07-14 André Pönitz <poenitz@gmx.net>
2869 * rowpainter.[Ch]: reduce interface
2871 2003-07-14 André Pönitz <poenitz@gmx.net>
2873 * BufferView_pimpl.C:
2874 * text2.C: adjust after removing unused BufferView * argument
2876 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2878 * text2.C (init): fix a crash fired on resize
2880 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2882 * buffer.[Ch]: added new closing signal
2883 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2884 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2885 BufferView::Pimpl via the closing the signal
2887 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2889 * buffer.[Ch]: take out all bv-related from buffer
2891 * BufferView_pimpl.[Ch]: connect to new signals
2892 * CutAndPaste.C: removed useless asserts
2893 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2896 * lyxfunc.C: moved view-related funciontality from vc here
2897 * paragraph.C: removed outdated comments
2900 2003-07-10 André Pönitz <poenitz@gmx.net>
2902 * BufferView_pimpl.C:
2906 * text2.C: remove InsetText::InnerCache, clean up consequences
2908 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2910 * ispell.C: fix two typos in error messages
2912 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2914 * Extend Note inset to other forms of annotation like Comment
2915 and Greyedout. Right button click gives dialog.
2917 Files modified or added (+):
2921 * ControlNote.[Ch] +
2923 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2924 frontends/controllers
2928 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2930 * aspell.C: add missing namespace lyx::support
2932 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2934 * BufferView.[Ch] (newFile): Add
2935 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2936 * LaTeX.[Ch] (message): added this signal and use it
2937 * buffer.[Ch] (busy, message): added these signals and use them
2938 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2942 * importer.C: use buffer signals instead of direct bv calling
2943 * lyx_cb.[Ch] (ShowMessage): removed
2946 * paragraph_funcs.C:
2947 * text2.C: use buffer signals
2949 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2951 * introduce namespace lyx::graphics
2953 2003-07-02 André Pönitz <poenitz@gmx.net>
2955 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2957 2003-07-01 André Pönitz <poenitz@gmx.net>
2964 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2965 text*.C to text_func.C
2967 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2969 * introduce namespace lyx::support
2971 2003-06-30 André Pönitz <poenitz@gmx.net>
2976 * text.C: re-enable --with-included-string
2978 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2980 * textcursor.C: add <config.h>
2982 * text.C (getWord): remove const from word_location arg
2984 * lyxvc.C (getLogFile): fix const type order
2986 * lyxtext.h: remove const from word_location arg, add arg name
2988 * lyxlayout.h: currect type on labeltype.
2990 * importer.C: correct \file
2992 * converter.C (intToFormat): use std:: on ret val, ws changes
2994 * bufferlist.h: correct \file
2996 * buffer.C (makeLinuxDocFile): fix const type order
2997 (makeDocBookFile): ditto
2998 (fillWithBibKeys): use std:: on stdlib args.
3000 * CutAndPaste.C: fix authors.
3001 (availableSelections): use std:: on return vector
3003 2003-06-27 André Pönitz <poenitz@gmx.net>
3005 * BufferView_pimpl.C:
3006 * bufferview_funcs.C:
3014 * text3.C: remove LyXCursor::row_ member
3017 * text.C: rename fullRebreak() to partialRebreak() and implement
3018 a fullRebreak() that really bereks fully
3020 * textcursor.h: new struct for cursor-related data
3022 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3024 * lyx_main.C (LyX): get full path of document loaded on the
3027 2003-06-26 André Pönitz <poenitz@gmx.net>
3029 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3030 remove unused/broken operator>,<,>=.
3032 * text.C: remove only use of broken operator<= in an Assert().
3034 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3036 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3037 moved errorlist_.clear to showErrorList
3039 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3041 * converter.C (scanLog, runLaTeX):
3042 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3043 move the bv->showErrorList call to the callers
3044 * lyxfunc.C: i.e. here...
3046 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3047 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3048 namespace, the second to...
3049 * buffer_funcs (BufferFormat, parseErrors): added
3050 * errorlist.C (ErrorList(TeXErrors const &)): removed
3052 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3054 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3056 2003-06-24 "Garst R. Reese" <reese@isn.net>
3060 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3062 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3064 * version.C.in: change docversion to 1.4
3066 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3068 * buffer.C: fix a bug just introduced
3070 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3072 * buffer.[Ch]: added the parseError signal and use it, removed
3074 * BufferView.[Ch] (addError): moved to ...
3075 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3076 to the Buffer::parseError signal to catch (guess what) parse errors
3077 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3079 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3081 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3082 ability to create a buffer and to return an existing one from
3083 the list. Moved these functions to...
3084 * buffer_funcs.[Ch]: added
3085 * BufferView.[Ch] (loadLyXFile): added
3086 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3087 job removed from bufferlist::loadLyXFile.
3088 * buffer.C (setReadOnly): make it work without view
3089 (i.e added an if (users))
3091 2003-06-19 Angus Leeming <leeming@lyx.org>
3094 * LyXAction.C (init):
3095 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3096 with LFUN_DIALOG_SHOW <name> <data>.
3098 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3100 * CutAndPaste.C (availableSelections): small compilation fix for
3101 ancient (gcc 2.9x) compilers
3103 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3105 * text3.C (cursorNext): add tmp var
3107 * text2.C (updateCounters): for function calling out of for clause
3108 (replaceSelectionWithString): ditto
3109 (insertStringAsParagraphs): ditto
3110 (getColumnNearX): add tmp var
3111 (setCursorFromCoordinates): add tmp var
3112 (cursorDownParagraph): add tmp var
3113 (deleteEmptyParagraphMechanism): add tmp var
3115 * text.C (insertChar): add tmp var
3117 * rowpainter.C (paintDepthBar): add tmp var
3119 * CutAndPaste.C (availableSelections): potentially check all
3120 paragraphs in a cut to fill the shown strings.
3122 2003-06-18 André Pönitz <poenitz@gmx.net>
3124 * kbmap.[Ch]: use vector<> instead of list<>
3126 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3128 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3129 pasteSelection with index
3131 * text2.C (pasteSelection): modify, call pasteSelection with index
3133 * paragraph.C (asString): reimplement version with no interval to
3134 call the one with interval.
3136 * lyxtext.h: add index arg to pasteSelection
3138 * MenuBackend.C (MenuItem): handle PasteRecent
3139 (Menu::read::Menutags): add md_pasterecent
3141 (expandPasteRecent): new function
3144 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3146 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3148 (availableSelections): new function
3150 2003-06-17 Angus Leeming <leeming@lyx.org>
3152 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3154 2003-06-17 Angus Leeming <leeming@lyx.org>
3157 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3159 * lyxfunc.C (dispatch): invoke it.
3161 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3163 * iterators.C (operator++, ParPosition): reintroduce some
3164 const_cast for the benefit of older compilers.
3166 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3168 * text3.C (dispatch): do not modify clipboard when doing
3169 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3170 LFUN_DELETE_SKIP on a selection selection
3172 2003-06-16 André Pönitz <poenitz@gmx.net>
3178 * tabular.[Ch]: IU of clone() and getLabelList();
3180 2003-06-13 André Pönitz <poenitz@gmx.net>
3182 * tabular.h: compactification
3184 2003-06-12 André Pönitz <poenitz@gmx.net>
3188 * tabular_funcs.h: some renaming plus whitespace
3190 2003-06-12 André Pönitz <poenitz@gmx.net>
3193 * BufferView_pimpl.C:
3199 * toc.C: Return a Paragraph & for ParIterator::operator*()
3201 2003-06-11 John Levon <levon@movementarian.org>
3205 * ToolbarBackend.C: add "Toolbars" section and
3208 2003-06-10 Angus Leeming <leeming@lyx.org>
3211 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3213 * lyxfunc.C (dispatch): invoke it.
3215 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3217 * main.C: protect <ios> with HAVE_IOS
3218 (main): protect sync_with_stdio with HAVE_IOS
3220 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3222 * text2.C (cutSelection): adjust
3223 (pasteSelection): adjust
3225 * messages.C: handle get of empty string
3227 * main.C (main): use sync_with_stdio(false)
3229 * lyxfunc.C (dispatch): adjust
3231 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3232 (WriteAs): remove unneeded BufferView arg.
3234 * bufferparams.h: use correct types on papersize, papersize2 and
3237 * bufferparams.C (readToken): adjust for type
3238 (writeLaTeX): add missing cases to switch.
3240 * bufferlist.C (quitWriteBuffer): adjust
3243 * buffer.C (asciiParagraph): remove some commented code.
3245 * CutAndPaste.C: remove current_view extern variable.
3246 (cutSelection): add BufferParams arg.
3247 (eraseSelection): add BufferParams arg.
3248 (pasteSelection): add Buffer const & arg
3250 2003-06-07 John Levon <levon@movementarian.org>
3253 * paragraph_funcs.C:
3254 * paragraph_pimpl.C:
3258 * paragraph.C: allow InsetERT to freely space lines,
3259 and some consolidation of code
3261 2003-06-06 José Matos <jamatos@fep.up.pt>
3263 * buffer.C (makeDocBookFile): fix bug #821
3265 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3267 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3269 2003-06-04 Angus Leeming <leeming@lyx.org>
3271 * buffer.C: bump format to 224.
3273 2003-06-05 André Pönitz <poenitz@gmx.net>
3275 * text2.C (redoParagraphs): remove two const_cast<>
3277 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3279 * ParagraphList.h: remove last remnants of NO_STD_LIST
3281 2003-06-03 Angus Leeming <leeming@lyx.org>
3283 * factory.C (createInset): small change to the way InsetExternal's params
3286 2003-06-04 André Pönitz <poenitz@gmx.net>
3288 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3290 * paragraph_pimpl.h:
3291 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3293 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3295 * undo_funcs.C: make some simple cases of undo work again
3297 2003-06-03 John Levon <levon@movementarian.org>
3299 * ispell.C: HPUX doesn't have sys/select.h
3302 2003-06-03 John Levon <levon@movementarian.org>
3304 * CutAndPaste.C: update tabular and include inset
3309 * paragraph.C: remove owningBuffer(), don't pass Buffer
3312 * factory.C: insetGraphicsParams changed
3314 2003-06-02 John Levon <levon@movementarian.org>
3320 * text3.C: remove insetparent
3322 2003-06-02 John Levon <levon@movementarian.org>
3325 * buffer.C: fix inset_iterator.end(), move out of line
3328 2003-06-01 John Levon <levon@movementarian.org>
3330 * text3.C: use a proper cut/paste when doing inset
3331 insert (from Jürgen Spitzmüller)
3333 2003-06-01 John Levon <levon@movementarian.org>
3335 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3337 2003-05-30 André Pönitz <poenitz@gmx.net>
3339 * rowpainter.C: unify second drawing phase
3341 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3343 * trans_mgr.C: remove one case of current_view
3345 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3347 * paragraph_funcs.h: remove paragraph.h include
3349 * paragraph.h: delete NO_STD_LIST stuff
3351 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3353 * buffer.h: remove paragraph.h include
3355 * ParagraphList.C: delete file
3357 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3359 * toc.C (getTocList): adjust
3361 * paragraph_pimpl.C (validate): adjust
3363 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3365 * paragraph.C (Paragraph): adjust
3366 (getPositionOfInset): use const_iterator, adjust
3367 (bibitem): use const_iterator, adjust
3368 (setInsetOwner): adjust
3370 * iterators.C (operator++): adjust
3372 * InsetList.[Ch]: Replace selfmade iterator with standard
3373 vector::iterator also introduce const_iterator. Remove getPos,
3374 getInset and setInset from InsetTable. Adjust accordingly.
3376 * BufferView.C (lockInset): adjust
3377 (ChangeInsets): adjust
3379 * tabular.[Ch]: delete commented same_id functions
3381 2003-05-28 John Levon <levon@movementarian.org>
3383 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3385 2003-05-28 André Pönitz <poenitz@gmx.net>
3387 * metricsinfo.[Ch]: remove 'fullredraw' member
3389 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3391 * lyxtextclass.C (operator): remove caching.
3393 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3397 * text2.C (cursorBottom): adjust
3398 (setCounter): use ParagraphList::find, adjust
3400 * text.C (workWidth): use ParagraphList::find, adjust
3402 * lyxcursor.C (LyXCursor): adjust
3404 * buffer.C (inset_iterator): adjust
3406 * ParagraphList.h: make iterator(value_type) private, make
3407 ParagraphList a friend of iterator.
3409 * ParagraphList.C (find): new function
3411 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3413 2003-05-27 André Pönitz <poenitz@gmx.net>
3415 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3417 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3419 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3421 2003-05-26 John Levon <levon@movementarian.org>
3423 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3425 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3427 * remove same_id from function signatures, adjust.
3429 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3431 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3433 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3435 * paragraph.C (Paragraph): get rid of same_ids parameter
3437 * ParagraphList.C (insert): adjust
3440 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3442 * paragraph_funcs.C (breakParagraph): adjust
3443 (breakParagraphConservative): adjust
3445 * buffer.C (readParagraph): adjust
3447 * ParagraphList.C (insert): take a reference instead of a pointer
3450 * paragraph.[Ch] (id): new function
3452 * bufferlist.C (newFile): adjust
3454 * ParagraphList.C (ParagraphList): adjust
3456 (push_back): take a reference instead of a pointer.
3458 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3460 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3463 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3464 set else use old code.
3466 * ParagraphList.C: remove all NO_NEXT code and only compile this
3467 code of NO_STD_LIST is set.
3469 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3471 * BufferView_pimpl.C:
3481 * graphics/GraphicsConverter.C:
3482 * graphics/PreviewLoader.C: header adjustment
3484 2003-05-23 Angus Leeming <leeming@lyx.org>
3486 * LaTeXFeatures.[Ch] (useBabel): new method.
3487 * bufferparams.C (writeLaTeX): use it.
3489 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3491 * ParagraphList.h (set): remove unused function.
3493 2003-05-23 André Pönitz <poenitz@gmx.net>
3496 * BufferView_pimpl.C:
3500 * undo_funcs.C: setUndo reworked
3502 * iterators.[Ch]: add access to topmost ParagraphList
3504 * lyxtext.[Ch] (workWidth): add a const
3506 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3508 * texrow.[Ch] (increasePos): remove function
3509 * exporter.C (export): removed unused var and outdated comment
3511 2003-05-23 Angus Leeming <leeming@lyx.org>
3513 * latexrunparams.h: rename fragile as moving_arg.
3514 * paragraph.C (simpleTeXOnePar): ditto.
3515 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3517 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3519 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3521 (textUndoOrRedo): comment out a currently unused var.
3523 * paragraph.h (NO_NEXT): enable NO_NEXT
3525 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3527 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3529 * exporter.C (Export): adjust for removeAutoInsets removal.
3531 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3533 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3535 * BufferView.[Ch] (removeAutoInsets): delete function
3537 2003-05-22 Angus Leeming <leeming@lyx.org>
3539 * latexrunparams.h: add a free_spacing variable.
3541 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3542 to pass moving_arg, as the data is stored in runparams.fragile.
3544 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3545 to Inset::latexOptional or to simpleTeXOnePar.
3547 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3548 free_spacing arg to Inset::latexOptional.
3550 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3553 2003-05-22 Angus Leeming <leeming@lyx.org>
3555 * latexrunparams.h: add fragile and use_babel variables.
3557 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3558 * buffer.C (makeLaTeXFile): store this returned value in
3559 runparams.use_babel, thus passing it to the inset::latex methods.
3561 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3562 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3564 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3565 longer has a fragile arg, as it is stored in runparams.fragile.
3567 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3568 moving_arg parameter as the data is stored in runparams.fragile.
3570 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3571 a fragile parameter as the data is stored in runparams.fragile.
3573 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3575 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3577 2003-05-22 Angus Leeming <leeming@lyx.org>
3579 * latexrunparams.h: add a 'bool nice' which defaults to false.
3581 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3582 now encapsulated within runparams.
3584 * bufferlist.C (updateIncludedTeXfiles):
3585 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3587 2003-05-22 Angus Leeming <leeming@lyx.org>
3589 * latexrunparams.h: new file containing struct LatexRunParams.
3590 * Makefile.am: add new file.
3592 * LaTeX.[Ch] (c-tor, run):
3593 * buffer.[Ch] (makeLaTeXFile):
3594 * bufferlist.[Ch] (updateIncludedTeXfiles):
3595 * converter.C (convert, scanLog):
3596 * converter.[Ch] (runLaTeX):
3597 * exporter.C (Export):
3598 * paragraph.[Ch] (simpleTeXOnePar):
3599 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3600 * paragraph_funcs.[Ch] (latexParagraphs):
3601 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3602 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3603 pass around a LatexRunParams parameter.
3605 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3607 * paragraph.[Ch]: remove unused constructor
3609 * ParagraphList.C (erase): new function, taking two iterators
3611 2003-05-22 André Pönitz <poenitz@gmx.net>
3613 * undo_funcs.C: remove duplicated code
3615 * iterator.[Ch]: operator=
3617 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3619 * tabular.C (SetMultiColumn): ws changes
3621 * rowpainter.C (paintFirst): get rid of a ->previous
3623 * lyx_cb.C (getPossibleLabel): parlist simplification
3625 * BufferView.C (ChangeInsets): simplify slightly.
3627 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3629 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3630 * lfuns.h: new LFUN_SPACE
3631 * lyxfunc.C: protected space has a new lfun
3632 * paragraph_funcs.C: read new space insets
3634 * factory.C: handle new space insets
3636 2003-05-22 André Pönitz <poenitz@gmx.net>
3639 * BufferView_pimpl.C:
3642 * undo_funcs.C: return a ParIterator from getParFromID.
3644 * iterators.[Ch]: add two const's
3646 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3648 * toc.C (getTocList): adjust
3650 * iterators.[Ch]: rework for parlist
3652 * buffer.C (par_iterator_begin): adjust
3653 (par_iterator_end): adjust
3655 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3657 * BufferView.C (removeAutoInsets): adjust
3658 (ChangeInsets): adjust
3660 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3662 * text.C (top_y): fix bug 1110
3664 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3666 * errorlist.[Ch]: added
3669 * BufferView_pimpl.C:
3670 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3673 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3675 * Makefile.am: ensure that lyx is relinked upon changes to the
3676 various "convenience" libs.
3678 2003-05-20 Angus Leeming <leeming@lyx.org>
3680 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3681 files are compiled in alphabetical order again.
3683 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3685 2003-05-19 Angus Leeming <leeming@lyx.org>
3687 * gettext.[Ch]: remove "char const * _(char const *)".
3689 2003-05-19 André Pönitz <poenitz@gmx.net>
3691 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3700 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3702 2003-05-19 André Pönitz <poenitz@gmx.net>
3706 * lyxtextclass.[Ch]:
3708 * paragraph_funcs.[Ch]:
3710 * text3.C: more insetenv work
3712 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3714 * ParagraphParameters.C (params2string): small bug fixed
3716 2003-05-16 André Pönitz <poenitz@gmx.net>
3719 * bufferview_funcs.C: patch from Kornel Benko to prevent
3720 crash when _(...) is called twice in a statement
3722 2003-05-16 André Pönitz <poenitz@gmx.net>
3729 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3731 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3733 * lyx_main.C (init): remove spurious static_cast
3735 2003-05-14 André Pönitz <poenitz@gmx.net>
3737 * BufferView.C: fix format string
3739 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3741 * BufferView.[Ch] (insertErrors): removed
3742 * BufferView.[Ch] (showErrorList): added
3743 * buffer.C (runChkTeX):
3744 * converter.C (scanLog): call showErrorList instead of inserterrors
3746 2003-05-13 André Pönitz <poenitz@gmx.net>
3748 * BufferView_pimpl.C:
3750 * bufferview_func.C:
3757 * tabular_funcs.h: tostr() from its own header
3759 * ParagraphParameters.C:
3764 * text3.C: STRCONV()
3766 2003-05-12 André Pönitz <poenitz@gmx.net>
3769 * BufferView_pimpl.C:
3773 * ParagraphParameters.C:
3777 * bufferview_funcs.C:
3790 * paragraph_funcs.C:
3794 * text3.C: boost::format -> bformat all over the place
3797 2003-05-09 André Pönitz <poenitz@gmx.net>
3799 * LColor.[Ch]: Pimpl the #include <map> away
3801 2003-05-09 John Levon <levon@movementarian.org>
3803 * bufferlist.C: never remove emergency saves
3805 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3807 * Makefile.am: better lib building
3809 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3811 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3813 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3814 (simpleTeXSpecialChars): adjust
3815 (simpleTeXSpecialChars): adjust
3816 * paragraph.C (simpleTeXOnePar): adjust
3817 * buffer.C (makeLaTeXFile): adjust
3819 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3821 * text2.C (changeDepth): parlist cleanup
3822 (getColumnNearX): ditto
3824 * rowpainter.C (getLabelFont): parlist cleanup
3826 * bufferlist.C (newFile): parlist cleanup
3828 * CutAndPaste.C (eraseSelection): parlist cleanup
3830 * BufferView_pimpl.C (trackChanges): parlist cleanup
3833 * BufferView.C (lockInset): parlist cleanup.
3834 (ChangeInsets): ditto
3836 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3838 * CutAndPaste.h: Update file header.
3840 * CutAndPaste.C: Update file header.
3841 Store the parts cut out of the Document in a limited_stack.
3842 (copySelection): adjust
3843 (pasteSelection): new function, takes the index in the limited stack.
3844 (nrOfParagraphs): adjust
3845 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3846 simplify error inset insertion.
3847 (checkPastePossible): adjust
3849 2003-05-06 John Levon <levon@movementarian.org>
3851 * text2.C: don't cast wrap inset to float
3853 2003-05-05 André Pönitz <poenitz@gmx.net>
3856 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3858 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3859 few naked Paragraph *.
3861 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3863 * bufferparams.C: Output warning if a document with missing
3864 TeX document class is loaded
3865 * exporter.C: Disable TeX exports if the document class is missing
3868 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3869 isTeXClassAvailable()
3871 2003-05-03 John Levon <levon@movementarian.org>
3874 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3875 explicit cursor show/hide
3877 * BufferView_pimpl.h:
3878 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3879 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3881 * lyxfunc.C: hide cursor before dispatching.
3886 * text3.C: remove explicit cursor hides
3888 2003-05-02 André Pönitz <poenitz@gmx.net>
3890 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3893 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3896 * text2.C: tiny whitespace
3898 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3900 * undo_funcs.C: almost only ws changes.
3902 * ParagraphList.C (splice): just return if pl is empty.
3904 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3906 * ParagraphList.C (splice): new function.
3908 * CutAndPaste.C (pasteSelection): use it
3910 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3912 * CutAndPaste.C (pasteSelection): remove the last next and
3913 previous from this file.
3915 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3917 * CutAndPaste.C (pasteSelection): more clean up, user proper
3918 ParagraphList functions for pasteing.
3920 * ParagraphList.C (insert): new function, three arg insert
3922 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3924 * ParagraphList.C (insert): new function, three arg insert
3926 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3929 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3931 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3933 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3935 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3937 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3939 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3940 (copySelection): clean up a bit.
3941 (pasteSelection): use make_pair
3943 * ParagraphList.C (ParagraphList): implement copy constructor
3944 (operator=): implement, base on copy constructor.
3947 * paragraph.C (erase): return a bool
3949 * paragraph_pimpl.C (erasePos): remove function, move contents...
3950 (erase): ... here. Return a bool.
3951 (erase): call erase instead of erasePos.
3953 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3955 * ParagraphList.h: define PitPosPair
3956 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3957 ParagraphList, fix a bug on pasting multiple pars
3958 * text2.C: change interface to C&P
3960 2003-04-30 André Pönitz <poenitz@gmx.net>
3962 * undo_func.C: revert part of yesterday's patch 2
3964 2003-04-30 John Levon <levon@movementarian.org>
3966 * LColor.C: s/tabular/table/
3968 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3970 * text3.C (dispatch): do not convert iterator -> pointer
3971 * undo_funcs.C (setCursorParUndo): ditto
3972 * text_funcs.C (transposeChars): ditto
3974 * text2.C (setLayout): ws changes only
3976 * text.C (breakParagraph): do not convert iterator -> pointer
3978 (acceptChange): ditto
3979 (rejectChange): ditto
3984 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3987 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3989 * text3.C (gotoInset): YABG (yet another bad getChar)
3991 2003-04-29 André Pönitz <poenitz@gmx.net>
3993 * paragraph.h: make operator= private unimplemented as long as
3996 * ParagraphList.C: whitespace
3999 * paragraph_pimpl.[Ch]:
4000 * paragraph_funcs.C:
4002 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4005 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4007 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4009 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4010 * paragraph.[Ch] (erase):
4011 * paragraph_pimpl.[Ch] (erase): change return type and value
4012 * text2.C (cutSelection): some rework
4014 2003-04-28 John Levon <levon@movementarian.org>
4016 * bufferlist.C: changes for unsaved changes dialog
4018 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4020 * bufferlist.C (newFile): set language (messages_) for new
4023 * buffer.C (readFile): ws changes only.
4025 2003-04-28 André Pönitz <poenitz@gmx.net>
4030 * BufferView_pimpl.C:
4031 * BufferView.C: getParFromID related ParagraphList::iterator changes
4033 2003-04-28 André Pönitz <poenitz@gmx.net>
4035 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4038 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4040 * messages.C: remove one more localedir class variable.
4042 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4044 * messages.C (getLocaleDir): singleton generation function
4046 (Messages): add a default constructor.
4048 * main.C (main): do not setup localedir here, do not call
4051 * gettext.C (_): use it.
4052 (gettext_init): delete funciton
4054 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4056 * gettext.C (getLyXMessages): new singleton generating function.
4058 * buffer.C (updateDocLang): adjust
4060 * Makefile.am (messages.o): add target
4061 (main.o): remove target
4063 2003-04-27 John Levon <levon@movementarian.org>
4068 * lyxvc.C: specify cancel button in Alert::prompt
4070 2003-04-26 John Levon <levon@movementarian.org>
4075 * LyXAction.C: add LFUN_INSET_SETTINGS
4077 * lyxfunc.C: don't enable tabular-feature when there's
4078 just any locking inset
4080 2003-04-26 John Levon <levon@movementarian.org>
4082 * bufferlist.C: re-add Cancel to buffer close question
4084 * lyxfunc.C: fix import UI a bit
4086 2003-04-25 John Levon <levon@movementarian.org>
4088 * gettext.C: remove the broken asserts for now
4090 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4092 * messages.C: make case where setlocale cannot comply work better.
4094 * buffer.C (updateDocLang): new function
4095 (changeLanguage): use it
4098 * text2.C (setCounter): use B_ a bit.
4100 * lyxlayout.C (Read): be sure to trim the label strings.
4102 * messages.C (Messages): fix typo in comment
4104 * buffer.C (readFile): set message_ after file is loaded.
4105 (makeDocBookFile): remove double return
4106 (changeLanguage): reset message_ upon language change.
4107 (B_): new func, use this to get translated buffer strings.
4109 * main.C: add myself and Jean Marc as authors.
4111 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4113 * messages.[hC]: pimplify Messages, and three different pimpls to be
4114 used in different circumstances.
4116 * gettext.[Ch]: change for use with new message code.
4118 2003-04-24 André Pönitz <poenitz@gmx.net>
4120 * factory.C: support for eqref
4122 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4124 * messages.[Ch]: add missing char
4126 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4128 * messages.[Ch]: New files
4130 2003-04-18 John Levon <levon@movementarian.org>
4134 * BufferView_pimpl.C:
4138 * text2.C: remove layout-copy/paste (bug 778)
4140 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4142 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4144 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4146 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4147 if they succeed. Act accordingly.
4149 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4151 * text2.C (setCharFont): adjust
4152 (setCounter): adjust
4153 (insertStringAsLines): adjust
4155 * text.C (leftMargin): adjust
4156 (setHeightOfRow): adjust
4158 * rowpainter.C (paintFirst): adjust
4161 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4163 (isFirstInSequence): ditto
4164 (getEndLabel): ditto
4167 * paragraph.C (getParLanguage): comment out some hard stuff.
4169 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4171 (simpleDocBookOnePar): ditto
4172 (makeDocBookFile): use ParagraphList::iterator
4174 * CutAndPaste.C (pasteSelection): adjust
4176 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4178 * text2.C (getFont): adjust
4179 (getLayoutFont): adjust
4180 (getLabelFont): adjust
4182 * paragraph_funcs.C (TeXOnePar): adjust
4184 * buffer.C (simpleLinuxDocOnePar): adjust
4185 (simpleDocBookOnePar): adjust
4187 * CutAndPaste.C (pasteSelection): adjust
4189 * BufferView.C (getEncoding): adjust
4191 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4193 2003-04-16 John Levon <levon@movementarian.org>
4195 * lyxfind.C: use parlist stuff for search/changes
4197 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4199 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4201 * text2.C (deleteEmptyParagraphMechanism): adjust
4203 * text2.[Ch] (ownerParagraph): delete func (both of them
4205 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4207 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4209 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4211 * ParagraphList.C: prepare for NO_NEXT
4213 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4215 * text2.C (getFont): adjust
4216 (getLayoutFont): adjust
4217 (getLabelFont): adjust
4219 * paragraph.C (getFont): adjust
4220 (getLabelFont): adjust
4221 (getLayoutFont): adjust
4223 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4225 2003-04-15 John Levon <levon@movementarian.org>
4229 * lyx_main.C: handle Include in .ui files
4231 2003-04-15 John Levon <levon@movementarian.org>
4233 * MenuBackend.C: make the doc files length shorter
4236 * ToolbarBackend.C: handle toolbar placement flags,
4239 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4241 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4244 * paragraph_funcs.C (TeXOnePar): adjust
4246 * paragraph.C (getLabelFont): add outerfont arg, adjust
4247 (getLayoutFont): ditto
4248 (simpleTeXOnePar): adjust
4250 * paragraph_pimpl.C (realizeFont): delete func
4252 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4254 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4255 row argument, constify cur argument.
4257 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4259 * text2.C (getFont): adjust
4260 (getLayoutFont): adjust
4261 (getLabelFont): adjust
4263 * paragraph_funcs.C (TeXOnePar): adjust
4264 (outerFont): new func...
4265 (realizeFont): ...moved out from here, changed this to facilitate
4268 * paragraph.C (getFont): take outerfont as arg, adjust
4269 (simpleTeXOnePar): add outerfont arg, adjust
4271 * buffer.C (simpleLinuxDocOnePar): adjust
4272 (simpleDocBookOnePar): adjust
4274 * CutAndPaste.C (pasteSelection): adjust
4276 * BufferView.C (getEncoding): adjust
4278 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4280 * text2.C (setCharFont): adjust
4281 (setCounter): adjust
4283 * text.C (leftMargin): adjust
4284 (setHeightOfRow): adjust
4286 * rowpainter.C (paintFirst): adjust
4289 * paragraph_pimpl.C (realizeFont): adjust
4291 * paragraph.C (isFirstInSequence): move from here...
4292 * paragraph_funcs.C (isFirstInSequence): ...to here
4294 * paragraph.C (outerHook): move from here...
4295 * paragraph_funcs.C (outerHook): ...to here
4297 * paragraph.C (depthHook): move from here...
4298 * paragraph_funcs.C (depthHook): ...to here
4300 * paragraph.C (getEndLabel): move from here...
4301 * paragraph_funcs.C (getEndLabel): ...to here
4303 * text2.C (realizeFont): move from here...
4304 * paragraph_funcs.C (realizeFont): ...to here
4306 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4308 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4310 2003-04-14 Angus Leeming <leeming@lyx.org>
4312 * LColor.[Ch]: scrap LColor mathcursor.
4314 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4316 * lyxlex.[Ch] (text): delete function
4317 * trans.C (Load): adjust
4318 * paragraph_funcs.C (readParToken): adjust
4320 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4322 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4323 vector<char> instead of a char[].
4325 * lyxlex_pimpl.C (getString): adjust
4327 (lex): use getString
4331 * lyxlex.C (text): use pimpl_->getString()
4335 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4337 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4338 (makeFontEntriesLayoutSpecific): temp var for par.size()
4339 (setLayout): temp var for ownerParagraphs().end()
4340 (fullRebreak): temp var for rows().end()
4341 (selectionAsString): temp var for boost::next(startpit), realize
4342 that the while really is a regular for loop.
4343 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4344 setCursor in one place.
4345 (setParagraph): temp vr for ownerParagraphs().end()
4346 (updateCounters): make the while loop a for loop
4347 (cutSelection): temp var for ownerParagraphs().end()
4348 (updateInset): make the do {} while() a regular for loop
4349 (getCursorX): use temp vars
4350 (setCurrentFont): use temp vars
4351 (getColumnNearX): use temp vars
4353 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4355 * text.C (transformChar): use temp var for getChar
4356 (computeBidiTables): use temp var for row->par()
4357 (fill): move temp vars for row->par() and pit->layout() earlier in
4359 (labelFill): use temp var for row->par()
4360 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4361 asc and desc, realize that pit never changes and that firstpit is
4362 just a duplicate and not needed. Exchange rit->par() with pit in a
4364 (breakAgain): use a temp var for boost::next(rit)
4365 (breakAgainOneRow): ditto
4366 (breakParagraph): use a temp var for rows().begin()
4367 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4368 (cursorRightOneWord): use temp var for cursor.par() and
4369 cursor.pos(), remove usage of tmpcursor.
4370 (cursorLeftOneWord): use temp var for cursor.par() and
4371 cursor.pos() only set cur at end of function.
4373 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4375 * text.C, text2.C: exchange all usage of Paragraph::next with
4376 boost::next(ParagraphList::iterator)
4378 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4380 * text2.C (cursorTop): simplify implementation
4381 (cursorBottom): ditto
4382 (setParagraph): use ParagraphList::iterator
4383 (setCurrentFont): adjust
4384 (getColumnNearX): adjust
4385 (cursorRight): adjust
4386 (cursorLeft): remove usage of Paragraph::previous
4387 (cursorUpParagraph): ditto
4388 (deleteEmptyParagraphMechanism): slight cleanup
4390 * text.C (isBoundary): take a Paragraph const & instead of a
4392 (addressBreakPoint): ditto
4393 (leftMargin): remove usage of Paragraph::previous.
4394 (setHeightOfRow): ditto
4395 (cursorLeftOneWord): ditto
4396 (selectNextWordToSpellcheck): ditto
4399 (breakParagraph): remove one usage of Paragraph::next
4400 (redoParagraph): ditto
4401 (acceptChange): ditto
4402 (insertChar): adjust
4403 (rowBreakPoint): adjust
4405 * bufferview_funcs.C (toggleAndShow): adjust
4407 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4409 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4410 methods to access it.
4412 * text.C: Added updateRowPositions to compute all row positions.
4413 Make top_y and getRowNearY() to use the cached y position
4415 2003-04-11 John Levon <levon@movementarian.org>
4417 * text.C (rowBreakPoint): reintroduce the labelEnd
4418 checks, code copied from the row fill stuff. Deep voodoo.
4420 * text.C (fill): add a comment and debugging for the
4423 2003-04-11 John Levon <levon@movementarian.org>
4425 * text.C: make sure fullrow insets get wrapped to the next line,
4426 even when they're in a manual label
4428 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4430 * text2.C (insertParagraph): make it take ParagraphList::iterator
4432 (setLayout): make it return ParagraphList::iterator
4433 (redoParagraphs): ditto
4435 (checkParagraph): ditto
4437 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4439 * text2.C: adjust several funcs.
4440 (realizeFont): take a ParagraphList::iterator as arg.
4441 (getLayoutFont): ditto
4442 (getLabelFont): ditto
4443 (setCharFont): ditto
4445 * text.C: adjust several funcs.
4447 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4449 * text.C (selectNextWordToSpellcheck): don't accidentally
4452 2003-04-10 John Levon <levon@movementarian.org>
4454 * ToolbarBackend.C (getIcon): special handling for
4457 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4459 * text2.C (cursorRight): a getChar assert fixed
4461 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4463 * text2.C (getFont): change to take a ParagraphList::iterator
4464 instead of Paragraph*
4465 Adjust several functions.
4467 * text.C (transformChar): change to take a ParagraphList::iterator
4468 instead of Paragraph*
4469 (singleWidth): ditto
4470 Adjust several functions.
4472 * rowpainter.C: adjust several functions
4473 * rowpainter.h:store a ParagraphList::iterator and not a
4477 2003-04-09 John Levon <levon@movementarian.org>
4482 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4483 and the "help" bits as well
4485 2003-04-09 John Levon <levon@movementarian.org>
4488 * ToolbarBackend.C: allow multiple toolbars
4490 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4492 * undo_funcs.C (setCursorParUndo): adjust
4494 * text_funcs.C (transposeChars): adjust
4496 * text3.C (gotoNextInset): adjust
4499 * text2.C (setLayout): adjust
4500 (changeDepth): adjust
4502 (redoParagraphs): adjust
4503 (selectionAsString): adjust
4504 (setParagraph): adjust
4505 (insertInset): adjust
4506 (cutSelection): adjust
4507 (copySelection): adjust
4508 (pasteSelection): adjust
4509 (insertStringAsLines): adjust
4510 (updateInset): adjust
4511 (setCursor): change to take a ParagraphList::iterator parameter
4512 (setCursorIntern): change to take a ParagraphList::iterator parameter
4513 (setCurrentFont): adjust
4514 (cursorLeft): adjust
4515 (cursorRight): adjust
4516 (deleteEmptyParagraphMechanism): adjust
4518 * text.C (breakParagraph): adjust
4519 (insertChar): adjust
4520 (acceptChange): adjust
4521 (rejectChange): adjust
4522 (selectNextWordToSpellcheck): adjust
4523 (changeCase): adjust
4527 * lyxfind.C (SearchForward): adjust
4528 (SearchBackward): adjust
4529 (nextChange): adjust
4531 * lyxcursor.C (par): adjust
4533 * lyxcursor.h: store a ParagraphList::iterator instead of a
4536 * lyx_cb.C (getPossibleLabel): adjust
4538 * bufferview_funcs.C (toggleAndShow): adjust
4540 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4543 * BufferView.C (removeAutoInsets): adjust
4544 (lockedInsetStoreUndo): adjust
4546 2003-04-09 John Levon <levon@movementarian.org>
4548 * ToolbarBackend.C: try icon without argument
4549 if with argument fails
4551 2003-04-08 John Levon <levon@movementarian.org>
4554 * ToolbarBackend.C: add getIcon(), handle tooltip,
4555 and change from "Icon" to "Item".
4557 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4559 * BufferView.C (lockInset): another bad getchar crunched
4561 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4563 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4566 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4568 * lyxfind.C (searchForward, searchBackwards): bug 782
4570 2003-04-07 John Levon <levon@movementarian.org>
4572 * paragraph.C: remove dead comment
4574 * text.C: remove troublesome depth-fiddling code
4575 in leftMargin() and rightMargin() (bug 1017)
4577 * text.C: fix breaking of rows in nested lists
4580 * text2.C (updateCounters): fix up depth values
4583 2003-04-07 John Levon <levon@movementarian.org>
4585 * BufferView_pimpl.C: clear message when doc finishes resizing,
4586 and after a mouse event
4588 * lyxfunc.C: clear message after exiting inset
4590 2003-04-07 John Levon <levon@movementarian.org>
4592 * bufferview_funcs.C: show math status not outside
4593 status in the statusbar
4595 2003-04-07 John Levon <levon@movementarian.org>
4597 * lyxfunc.C: note status changed after a depth change
4599 2003-04-04 Angus Leeming <leeming@lyx.org>
4601 * LaTeX.h: move AuxInfo operator==, != out of line.
4602 Remove LaTeX virtual destructor; nothing derives from it.
4603 Move operator()() out of public area and rename it startscript().
4604 Change protected for private.
4606 2003-04-04 Angus Leeming <leeming@lyx.org>
4609 * text2.C: remove unneeded #includes.
4611 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4613 * text2.C (dEPM): fix the heigth of the next row
4615 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4617 * text.C: squashed an invalid getChar requester + some ws changes
4619 2003-04-03 John Levon <levon@movementarian.org>
4621 * bufferview_funcs.h:
4622 * bufferview_funcs.C:
4625 * text2.C: make getStatus work for the env depth lfuns
4627 2003-04-03 John Levon <levon@movementarian.org>
4629 * bufferview_funcs.h:
4630 * bufferview_funcs.C:
4633 * text2.C: parlistize decDepth(), by merging it with incDepth()
4635 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4637 * lyxrow.h: store a ParagraphList::iterator instead of a
4638 Paragraph* and adjust other class functions to suit.
4640 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4643 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4645 * text2.C (setCursor): do not anchor to cursor row for the time being
4647 2003-04-02 John Levon <levon@movementarian.org>
4654 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4656 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4658 * paragraph.h: make ParagraphList and ParagraphList::iterator
4659 friends of Paragraph.
4661 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4663 * ParagraphList.C: Use the private next_ and previous_ from
4666 2003-04-01 John Levon <levon@movementarian.org>
4670 * Makefile.am: rename, remove defaults gunk
4673 * MenuBackend.C: remove defaults gunk
4676 * Languages.C: remove defaults gunk
4679 * lyx_main.C: error out if files couldn't be found.
4681 2003-04-02 John Levon <levon@movementarian.org>
4683 * text2.C: make incDepth() use parlist
4685 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4687 * undo_funcs.C (firstUndoParagraph): adjust
4689 * text3.C (gotoInset): adjust
4690 (dispatch): adjust, and rewrite loop.
4692 * text2.C (init): adjust, and rewrite loop.
4693 (redoParagraphs): adjust
4694 (updateInset): adjust, and rewrite loop.
4695 (deleteEmptyParagraphMechanism): adjust
4697 * tabular.C (LyXTabular): adjust
4698 (SetMultiColumn): adjust
4701 * lyxtext.[Ch] (ownerParagraph): delete function
4702 (ownerParagraphs): new function returns a ParagraphList.
4704 * BufferView.C (removeAutoInsets): adjust
4705 (insertErrors): adjust
4706 (setCursorFromRow): adjust
4708 2003-04-01 Angus Leeming <leeming@lyx.org>
4710 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4713 2003-04-02 John Levon <levon@movementarian.org>
4719 * text_funcs.C: make transposeChars a free function
4721 * lyxrow_funcs.C: remove wrong comment
4723 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4726 * rowpainter.C: adjust
4731 * lyxrow_funcs. [Ch]: new files
4733 * lyxrow.[Ch]: remove next and previous pointers
4734 (next,previous): remove accessor functions
4735 (isParEnd): move to lyxrow_funcs
4736 (lastPos): move to lyxrow_funcs
4737 (nextRowIsAllInset): move to lyxrow_funcs
4738 (lastPrintablePos): move to lyxrow_funcs
4739 (numberOfSeparators): move to lyxrow_funcs
4740 (numberOfHfills): move to lyxrow_funcs
4741 (numberOfLabelHfills): move to lyxrow_funcs
4742 (hfillExpansion): move to lyxrow_funcs
4746 * bufferview_funcs.C (toggleAndShow): adjust
4748 * RowList.h: Remove class RowList from file leave just a
4751 * RowList.C: delete file
4753 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4756 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4758 * text3.C (cursorPrevious): adjust
4759 (cursorNext): adjust
4762 * text2.C (redoHeightOfParagraph): adjust
4763 (redoDrawingOfParagraph): adjust
4766 * text.C (breakParagraph): adjust
4767 (insertChar): adjust
4770 * rowpainter.C (RowPainter): adjust
4771 (leftMargin): simplify and adjust
4772 (most rowpainter functions): adjust.
4774 * rowpainter.h: store the row as RowList::iterator not as Row*
4776 * lyxcursor.C (row): taka RowList::iterator as arg
4779 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4782 2003-04-01 Angus Leeming <leeming@lyx.org>
4784 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4785 stuff like bool Bool.
4787 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4789 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4792 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4794 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4797 * lyxtext.h (rows): drop one version and leve a const variant that
4798 returns a RowList::iterator.
4800 2003-03-31 Angus Leeming <leeming@lyx.org>
4802 * text.C (fill): ensure that the signature is the same as that in the
4805 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4807 * text2.C (redoParagraphs): adjust
4808 (updateCounters): adjust
4809 (checkParagraph): adjust
4810 (getColumnNearX): adjust and reformat a bit.
4812 * text.C (top_y): adjust
4814 (leftMargin): adjust
4815 (prepareToPrint): adjust
4817 (getRowNearY): adjust
4819 * lyxtext.h: make rowlist_ mutable.
4821 * RowList.h: add const_iterator
4822 * RowList.C: adjust for RowList::const_iterator.
4824 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4827 2003-03-31 John Levon <levon@movementarian.org>
4830 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4832 * lyx_main.C: set default fonts from using lyx_gui funcs
4834 * exporter.C: pdf_mode moved from lyxrc
4837 * lyxfunc.C: changes from above
4839 2003-03-31 John Levon <levon@movementarian.org>
4841 * lyx_main.C: fix to the last fix
4843 2003-03-31 John Levon <levon@movementarian.org>
4845 * bufferlist.C: "Load original" -> "Load Original"
4851 * format.C: more Alert cleanups
4853 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4855 * text2.C (removeParagraph): make it take a RowList::iterator as
4857 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4858 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4860 * text.C (anchor_row): make it take a RowList::iterator as arg,
4862 (computeBidiTables): make it take a const reference to Row instead
4863 of Row pointer, adjust.
4864 (leftMargin): make it take a RowList::iterator as arg, adjust.
4865 (rowBreakPoint): adjust
4866 (breakAgainOneRow): make it take a RowList::iterator as arg,
4868 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4870 * bufferview_funcs.C (toggleAndShow): adjust
4872 2003-03-30 John Levon <levon@movementarian.org>
4876 * boost-inst.C: moved to support
4878 * several files: changes as a result
4880 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4882 * text2.C (LyXText): adjust.
4884 (removeRow): make it take a RowList::iterator as arg, adjust.
4885 (fullRebreak): adjust
4886 (deleteEmptyParagraphMechanism): adjust
4887 (clearPaint): adjust
4890 * text.C (top_y): adjust
4891 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4892 (breakAgain): make it take a RowList::iterator as arg, adjust.
4893 (breakParagraph): adjust
4894 (insertChar): adjust
4897 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4898 need_break_row, and refresh_row.
4900 * text3.C (dispatch): adjust
4902 * text2.C (checkParagraph): adjust
4904 (setCursorFromCoordinates): adjust
4906 * text.C (top_y): adjust
4908 (getRow): make it return a RowList::iterator, adjust
4909 (getRowNearY): make it return a RowList::iterator, adjust
4911 * text2.C (init): adjust
4912 (insertRow): remove function
4913 (insertParagraph): adjust
4914 (redoParagraphs): adjust
4915 (fullRebreak): adjust
4916 (updateCounters): adjust
4918 * text.C (top_y): rewrite to use RowList iterators.
4920 (setHeightOfRow): rewrite to sue RowList iterators.
4921 (appendParagraph): adjust
4922 (breakAgain): adjust
4923 (breakAgainOneRow): adjust
4924 (breakParagraph): adjust
4926 (getRowNearY): adjust, and remove commented code.
4928 * lyxtext.h (firstRow): delete function
4929 (lastRow): delete function
4930 (rows): new function (const and non-const versions.)
4931 (insertRow): delete function
4933 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4935 2003-03-29 John Levon <levon@movementarian.org>
4937 * BufferView_pimpl.C: always update scrollbar top
4938 because pasting text when we're anchored could mean we
4939 miss an update altogether
4941 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4943 * text2.C (init): use rowlist_.end() and not 0.
4944 (insertRow): change to take a RowList::iterator as arg, adjust
4946 (insertParagraph): change to take a RowList::iterator as arg,
4948 (redoParagraphs): remove some debug msgs.
4950 * text.C (appendParagraph): change to take a RowList::iterator
4951 arg, adjust for this.
4952 (breakAgain): add an assert
4953 (breakAgainOneRow): ditto
4955 2003-03-29 John Levon <levon@movementarian.org>
4957 * text2.C: do not clear selection after inc/decDepth
4960 2003-03-29 John Levon <levon@movementarian.org>
4963 * buffer.C: fix broken strerrors according to Lars
4965 2003-03-29 John Levon <levon@movementarian.org>
4967 * converters.C: more Alert cleanups
4969 2003-03-29 John Levon <levon@movementarian.org>
4971 * bufferview_funcs.C: remove pointless Alert
4973 * buffer.C: fix confusing error message when
4974 a template is chmoded 000
4976 2003-03-29 John Levon <levon@movementarian.org>
4980 * BufferView_pimpl.C: Alert fixes
4984 * tabular-old.C: remove unused table compat reading
4986 2003-03-29 John Levon <levon@movementarian.org>
4991 * lyx_cb.C: more Alert cleanups
4993 * lyxfunc.C: don't allow chktex if not latex document
4995 2003-03-29 John Levon <levon@movementarian.org>
4999 * buffer.C: warnings pushed down from support/,
5002 2003-03-29 John Levon <levon@movementarian.org>
5004 * lyxfunc.C: safety check for C-r (revert)
5006 2003-03-29 John Levon <levon@movementarian.org>
5009 * bufferlist.C: several UI fixes using Alert::prompt.
5010 Fix the pointless looping quit code. Fix stupid revert
5015 * lyx_cb.C: use Alert::prompt
5017 * lyx_main.C: remove a silly question
5019 * lyxfunc.C: remove a couple of silly questions,
5022 2003-03-28 John Levon <levon@movementarian.org>
5024 * text2.C: fix bug 974 (End on empty par)
5026 2003-03-28 John Levon <levon@movementarian.org>
5028 * BufferView_pimpl.C:
5030 * lfuns.h: remove do-nothing math greek lfuns
5032 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5034 * lyxgluelength.h (isValidGlueLength): add default arg on
5035 parameter 2. Remove default arg from friend in class.
5037 * lyxlength.h (isValidLength): add default arg on parameter 2.
5038 Remove default arg from friend in class.
5040 * text2.C (LyXText): adjust, initialize refresh_row.
5044 (insertParagraph): adjst
5045 (redoParagraphs): adjust
5046 (fullRebreak): adjust
5047 (updateCounters): adjust
5048 (deleteEmptyParagraphMechanism): first attempt at fixing a
5051 * text.C (top_y): adjust
5052 (setHeightOfRow): adjust
5054 (getRowNearY): adjust
5056 * lyxtext.h: include RowList.h
5057 (~LyXText): not needed anymore, deleted.
5058 (firstRow): modify for RowList
5059 (lastRow): new function
5060 Delete firstrow and lastrow class variables, add a Rowlist
5061 rowlist_ class variable.
5063 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5066 * RowList.C (insert): fix case where it == begin().
5068 2003-03-26 Angus Leeming <leeming@lyx.org>
5070 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5071 the thesaurus dialog.
5073 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5075 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5077 * RowList.[Ch]: new files
5079 * ParagraphList.C (erase): handle the case where it == begin
5082 2003-03-25 John Levon <levon@movementarian.org>
5086 * aspell.C: add new aspell support
5089 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5092 2003-03-25 Angus Leeming <leeming@lyx.org>
5095 * LyXAction.C (init): new LFUN_INSET_INSERT.
5097 * BufferView_pimpl.C (dispatch): split out part of the
5098 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5100 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5103 2003-03-25 Angus Leeming <leeming@lyx.org>
5105 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5107 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5110 * text3.C: remove useless row->height(0)
5112 2003-03-25 John Levon <levon@movementarian.org>
5116 * text3.C: rename the refreshing stuff to better names
5118 2003-03-24 John Levon <levon@movementarian.org>
5120 * BufferView_pimpl.h:
5121 * BufferView_pimpl.C: update layout choice on a mouse
5124 2003-03-23 John Levon <levon@movementarian.org>
5126 * Makefile.am: fix commandtags.h reference
5128 2003-03-22 John Levon <levon@movementarian.org>
5130 * BufferView_pimpl.C:
5135 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5137 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5140 * text.C: take the rtl methods out of line
5142 2003-03-21 André Pönitz <poenitz@gmx.net>
5144 * metricsinfo.[Ch]: new files containing structures to be passed around
5145 during the two-phase-drawing...
5147 2003-03-21 André Pönitz <poenitz@gmx.net>
5149 * lyxtextclass.C: read 'environment' tag.
5151 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5153 * text2.C (removeRow): fix bug 964
5155 2003-03-20 John Levon <levon@movementarian.org>
5159 * text2.C: paint cleanups. Inset::update() dropped font
5162 2003-03-19 John Levon <levon@movementarian.org>
5164 * lyxfunc.C: only fitcursor/markDirty if available()
5166 2003-03-19 John Levon <levon@movementarian.org>
5168 * commandtags.h: rename to ...
5170 * lfuns.h: ... this, and renumber / cleanup
5172 2003-03-19 John Levon <levon@movementarian.org>
5174 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5175 fit the cursor after an lfun
5179 * BufferView_pimpl.h:
5180 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5182 * LyXAction.C: layout-character should have ReadOnly
5184 * ParagraphParameters.C:
5186 * bufferview_funcs.C:
5193 * undo_funcs.C: changes from above
5195 2003-03-18 John Levon <levon@movementarian.org>
5197 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5198 remove it from update()
5200 * lyxfunc.C: update layout choice after an lfun
5202 * text3.C: remove extra updateLayoutChoice()s
5204 2003-03-18 John Levon <levon@movementarian.org>
5206 * text.C: top_y change means full repaint, fix
5207 a drawing bug with cursor movement
5209 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5213 * text2.C: anchor row on setCursor
5215 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5217 * lyxtext.h: remove almost all mutable keywords
5220 * text3.C: remove const keywords accordingly
5222 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5224 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5226 (TeXEnvironment): ditto
5229 2003-03-17 John Levon <levon@movementarian.org>
5231 * text.C (rowBreakPoint): remove attempt to fix displayed
5232 math insets inside a manual label
5234 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5236 * lyxtext.h: remove BufferView* as first arg from almost all class
5238 * other files: adjust.
5240 2003-03-17 John Levon <levon@movementarian.org>
5244 * text2.C: more paint cleanups
5246 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5249 * rowpainter.C: remove "smart" background painting code
5251 2003-03-16 John Levon <levon@movementarian.org>
5256 * text3.C: add helper functions for setting refresh_row/y
5258 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5260 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5261 newline inset which *can* get inserted in the pass_thru layouts.
5262 This is primarily for literate documents.
5264 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5266 * buffer.C: increment LYX_FORMAT to 223
5268 2003-03-14 André Pönitz <poenitz@gmx.net>
5270 * textclass.h: prepare for environment handling, ws changes
5271 * lyxlayout.C: read latexheader and latexfooter tags
5273 2003-03-14 John Levon <levon@movementarian.org>
5275 * text2.C: rewrite ::status() a bit
5277 2003-03-13 John Levon <levon@movementarian.org>
5279 * lyxtext.h: add some docs
5281 2003-03-13 John Levon <levon@movementarian.org>
5286 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5288 2003-03-13 John Levon <levon@movementarian.org>
5290 * text3.C: fix appendix redrawing
5292 2003-03-13 John Levon <levon@movementarian.org>
5294 * text.C (setHeightOfRow):
5296 * rowpainter.C: make appendix mark have the text
5297 "Appendix" so the user knows what it is
5300 * LColor.C: s/appendixline/appendix/ from above
5302 2003-03-13 John Levon <levon@movementarian.org>
5304 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5306 * text.C: fix a getChar(pos) bug properly
5308 2003-03-13 Angus Leeming <leeming@lyx.org>
5311 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5312 Probably only temporary. Let's see how things pan out.
5314 * BufferView.C (unlockInset):
5315 * BufferView_pimpl.C (fitCursor):
5316 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5318 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5319 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5321 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5322 new functions that convert ParagraphParameters to and from a string.
5324 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5325 BufferView::Pimpl's dispatch.
5326 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5328 2003-03-13 André Pönitz <poenitz@gmx.net>
5332 * factory.C: make it aware of InsetEnv
5334 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5336 * text2.C (setCursor): never ask for one past last
5337 (setCursor): add some debugging messages.
5339 * text.C (singleWidth): never ask for one past last
5340 (singleWidth): ditto
5342 (rightMargin): ditto
5343 (rowBreakPoint): ditto
5344 (setHeightOfRow): ditto
5345 (prepareToPrint): ditto
5347 * rowpainter.C (paintBackground): never ask for one past last
5348 (paintText): never ask for one past last
5350 * paragraph_pimpl.C (getChar): make the assert stricter, never
5351 allow the one past last pos to be taken
5353 * paragraph.C (getChar): ws changes only
5355 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5356 (numberOfSeparators): ditto
5357 (numberOfHfills): ditto
5359 2003-03-12 John Levon <levon@movementarian.org>
5365 * paragraph_funcs.C: fix per-buffer authorlists
5367 2003-03-12 John Levon <levon@movementarian.org>
5369 * text.C: fix newline in right address
5371 2003-03-12 Angus Leeming <leeming@lyx.org>
5373 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5374 duplicate those in LyXFunc::dispatch.
5378 * ToolbarDefaults.C:
5379 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5380 Add LFUN_FONTFREE_UPDATE.
5382 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5383 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5385 * bufferview_func.[Ch]: several new functions to facilliate
5386 transfer of data to and from the character dialog.
5388 2003-03-12 John Levon <levon@movementarian.org>
5393 * paragraph_funcs.C:
5394 * paragraph_pimpl.C:
5398 * text3.C: remove META_NEWLINE in favour of an inset
5401 * rowpainter.C: remove paintNewline (done by inset)
5403 2003-03-12 John Levon <levon@movementarian.org>
5405 * paragraph_pimpl.C: complain about bad getChar()s
5406 for a while at least
5408 2003-03-12 John Levon <levon@movementarian.org>
5411 * buffer.C: move paragraph read into a separate function,
5412 a little renaming to reflect that.
5415 * bufferparams.C: remove the author_ids map, not necessary now
5418 * factory.C: moved Buffer::readInset to here
5420 * paragraph_funcs.h:
5421 * paragraph_funcs.C: readParagraph free function moved from
5424 * tabular.C: name change
5426 2003-03-12 John Levon <levon@movementarian.org>
5429 * ParagraphParameters.C: move par params input to
5432 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5433 behave like a normal read from the stream wrt reading
5434 a line vs. a \\token
5436 2003-03-12 John Levon <levon@movementarian.org>
5439 * ParagraphParameters.h:
5440 * ParagraphParameters.C: move output code to a
5443 2003-03-12 John Levon <levon@movementarian.org>
5445 * BufferView.C (insertLyXFile):
5448 * tabular.C: use a parlist iterator for creating the
5451 2003-03-12 John Levon <levon@movementarian.org>
5453 * buffer.C: make current_change static local not
5456 2003-03-12 John Levon <levon@movementarian.org>
5458 * buffer.C: fix insertStringAsLines for change tracking
5460 2003-03-12 John Levon <levon@movementarian.org>
5467 * bufferparams.C: move author list into params. Rename some
5468 functions. Move the header reading into a separate token
5469 loop. Move the header token reading into BufferParams.
5471 2003-03-12 John Levon <levon@movementarian.org>
5473 * changes.C: put debug inside lyxerr.debugging() checks
5475 2003-03-11 André Pönitz <poenitz@gmx.net>
5477 * factory.C: make it aware of InsetHFill
5479 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5481 * buffer.C (latexParagraphs): move function from here...
5482 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5485 2003-03-10 Angus Leeming <leeming@lyx.org>
5487 * LyXAction.C (init): fix bug in poplating array with multiple entries
5488 with the same LFUN (spotted by JMarc).
5490 2003-03-10 John Levon <levon@movementarian.org>
5493 * text2.C: move getColumnNearX() near its
5496 2003-03-10 John Levon <levon@movementarian.org>
5498 * text.C: fix break before a minipage
5500 2003-03-10 John Levon <levon@movementarian.org>
5502 * text.C: fix the last commit
5504 2003-03-09 John Levon <levon@movementarian.org>
5508 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5509 bug 365 (don't break before insets unless needed). Don't
5510 return a value > last under any circumstances.
5512 2003-03-09 Angus Leeming <leeming@lyx.org>
5514 * BufferView_pimpl.C (trackChanges, dispatch): call
5515 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5517 2003-03-09 Angus Leeming <leeming@lyx.org>
5519 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5520 than Dialogs::showAboutlyx().
5522 2003-03-09 Angus Leeming <leeming@lyx.org>
5524 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5525 than Dialogs::showTabularCreate().
5527 2003-03-09 John Levon <levon@movementarian.org>
5531 * text2.C: 3rd arg to nextBreakPoint was always the same.
5534 2003-03-08 John Levon <levon@movementarian.org>
5541 * text2.C: Remove the "main" bit from the "main body"
5544 2003-03-08 John Levon <levon@movementarian.org>
5546 * text.C (leftMargin): The left margin of an empty
5547 manual label paragraph should not include the label width
5550 * text.C (prepareToPrint): don't attempt to measure hfills
5551 for empty manual label paragraphs - the answer should be 0
5553 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5555 * CutAndPaste.C: remove commented code and reindent.
5557 2003-03-08 John Levon <levon@movementarian.org>
5560 * lyxfunc.C: move reloadBuffer()
5563 * BufferView.C: to here
5565 * lyxvc.C: add comment
5568 * vc-backend.C: call bv->reload() to avoid
5569 getStatus() check on MENURELOAD
5571 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5573 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5574 to an old format .dep file.
5576 2003-03-07 Angus Leeming <leeming@lyx.org>
5578 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5579 when the LFUN_MOUSE_RELEASE should have been handled by
5580 inset->localDispatch.
5582 2003-03-07 Angus Leeming <leeming@lyx.org>
5584 * BufferView_pimpl.C (dispatch):
5585 * LyXAction.C (init):
5586 * ToolbarDefaults.C (init):
5588 * lyxfunc.C (getStatus):
5589 remove LFUN_INSET_GRAPHICS.
5591 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5593 2003-03-07 Angus Leeming <leeming@lyx.org>
5596 * LyXAction.C (init):
5597 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5599 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5602 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5604 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5605 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5607 2003-03-07 Angus Leeming <leeming@lyx.org>
5609 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5612 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5614 * ParagraphList.C (front): new function
5617 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5619 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5620 and top_row_offset_. removed var first_y.
5622 * text2.C (LyXText, removeRow):
5624 * BufferView_pimpl.C:
5625 use these methods instead of using first_y
5627 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5629 * text2.C (pasteSelection): adjust for checkPastePossible
5631 * CutAndPaste.C: remove Paragraph * buf and replace with
5632 ParagraphList paragraphs.
5633 (DeleteBuffer): delete
5634 (cutSelection): change the tc type to textclass_type
5635 (copySelection): change the tc type to textclass_type
5636 (copySelection): adjust for ParagraphList
5637 (pasteSelection): change the tc type to textclass_type
5638 (pasteSelection): adjust for Paragraphlist
5639 (nrOfParagraphs): simplify for ParagraphList
5640 (checkPastePossible): simplify for ParagraphList
5641 (checkPastePossible): remove unused arg
5643 * ParagraphList.C (insert): handle the case where there are no
5646 * CutAndPaste.h: make CutAndPaste a namespace.
5648 * text3.C (dispatch): adjust
5650 * text.C (breakParagraph): add a ParagraphList as arg
5652 * paragraph_funcs.C (breakParagraph): change to take a
5653 BufferParams and a ParagraphList as args.
5654 (breakParagraphConservative): ditto
5655 (mergeParagraph): ditto
5656 (TeXDeeper): add a ParagraphList arg
5657 (TeXEnvironment): ditto
5660 * buffer.C (readLyXformat2): adjust
5661 (insertStringAsLines): adjust
5662 (latexParagraphs): adjust
5664 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5665 (cutSelection): adjust
5666 (pasteSelection): adjust
5668 * BufferView_pimpl.C (insertInset): adjust
5670 2003-03-05 Angus Leeming <leeming@lyx.org>
5673 * LyXAction.C (init):
5674 * BufferView_pimpl.C (dispatch):
5675 * lyxfunc.C (getStatus):
5676 remove LFUN_CHILD_INSERT.
5678 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5680 2003-03-05 Angus Leeming <leeming@lyx.org>
5683 * LyXAction.C (init):
5684 * src/factory.C (createInset):
5685 * lyxfunc.C (getStatus):
5686 * text3.C (dispatch):
5687 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5689 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5691 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5693 * ParagraphList.C (insert): handle insert right before end()
5694 (erase): fix cases where it can be first or last paragraph.
5696 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5698 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5699 Paragraph::next and Paragraph::previous
5702 * text.C (breakParagraph): adjust
5704 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5705 BufferParams& as arg.
5706 (breakParagraph): use ParagraphList::insert
5707 (breakParagraphConservative): take a Buffer* instead of a
5708 BufferParams& as arg.
5709 (breakParagraphConservative): use ParagraphList::insert.
5711 * buffer.C (insertStringAsLines): un-const it
5712 (insertStringAsLines): adjust
5714 * ParagraphList.C (insert): new function
5716 * CutAndPaste.C (pasteSelection): adjust
5718 * text.C (backspace): adjust
5720 * tabular.C (SetMultiColumn): adjust
5722 * CutAndPaste.C (cutSelection): adjust
5723 (pasteSelection): adjust
5725 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5726 Buffer const * as arg
5728 * ParagraphList.C (erase): new function
5729 * paragraph_funcs.C (mergeParagraph): use it
5730 (mergeParagraph): make it take a Buffer* instead of a
5731 BufferParams* as arg
5733 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5735 (breakParagraphConservative): ditto
5737 * paragraph.h: remove the breakParagraph friend
5739 * paragraph.C (eraseIntern): new function
5740 (setChange): new function
5742 * paragraph_funcs.C (mergeParagraph): make it take a
5743 ParagraphList::iterator instead of a Paragraph *, adjust
5746 * paragraph.h: move an #endif so that the change tracking stuff
5747 also works in the NO_NEXT case.
5749 2003-03-04 Angus Leeming <leeming@lyx.org>
5752 * LyXAction.C: new LFUN_INSET_MODIFY.
5754 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5755 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5757 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5759 * several files: ws changes only
5761 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5762 (TeXEnvironment): ditto
5765 * buffer.C (makeLaTeXFile): adjust
5766 (latexParagraphs): make it take ParagraphList::iterator as args
5768 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5770 * buffer.C (latexParagraphs): adjust
5772 * paragraph.C (TeXOnePar): move function...
5773 (optArgInset): move function...
5774 (TeXEnvironment): move function...
5775 * paragraph_pimpl.C (TeXDeeper): move function...
5776 * paragraph_funcs.C: ...here
5778 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5780 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5782 * buffer.C (readInset): remove compability code for old Figure and
5785 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5787 * buffer.C: ws changes
5790 * BufferView_pimpl.C: ditto
5793 * bufferlist.h: ditto
5797 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5799 * converter.[Ch]: split into itself +
5802 * Makefile.am: += graph.[Ch] + format.[Ch]
5809 * lyxrc.C: added #include "format.h"
5811 2003-02-27 Angus Leeming <leeming@lyx.org>
5813 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5816 * factory.C (createInset): add "label" to the factory.
5818 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5819 string and do no more.
5821 2003-02-27 Angus Leeming <leeming@lyx.org>
5824 * LyXAction.C (init):
5825 * factory.C (createInset):
5826 * BufferView_pimpl.C (dispatch):
5827 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5829 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5831 * lyxfunc.C (dispatch):
5832 * text3.C (dispatch): pass name to params2string.
5834 2003-02-26 Angus Leeming <leeming@lyx.org>
5836 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5838 Rearrange the ~includes. Strip out the unnecessary ones.
5840 * factory.C (createInset): reformat.
5841 create new insets for the various LFUN_XYZ_APPLY lfuns.
5843 2003-02-26 John Levon <levon@movementarian.org>
5846 * lyxrow.C: add isParStart,isParEnd helpers
5848 * paragraph.h: make isInserted/DeletedText take refs
5850 * paragraph_funcs.h:
5851 * paragraph_funcs.C: remove #if 0'd code
5856 * text.C: use lyxrow helpers above.
5857 Move draw and paint routines to RowPainter.
5858 Make several methods use refs not pointers.
5859 Make backgroundColor() const.
5860 Add markChangeInDraw(), isInInset().
5861 Merge changeRegionCase into changeCase.
5862 Make workWidth() shouldn't-happen code into an Assert.
5865 * rowpainter.C: new class for painting a row.
5868 * vspace.C: make inPixels take a ref
5870 2003-02-26 Angus Leeming <leeming@lyx.org>
5872 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5875 2003-02-25 John Levon <levon@movementarian.org>
5877 * ispell.C: give the forked command a more accurate name
5879 2003-02-22 John Levon <levon@movementarian.org>
5882 * toc.C: make TocItem store an id not a Paragraph *
5885 2003-02-21 Angus Leeming <leeming@lyx.org>
5887 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5888 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5889 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5890 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5891 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5892 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5894 * BufferView_pimpl.C (dispatch):
5895 * LyXAction.C (init):
5896 * factory.C (createInset):
5897 * lyxfunc.C (getStatus, dispatch):
5898 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5900 2003-02-21 Angus Leeming <leeming@lyx.org>
5902 * BufferView_pimpl.C (MenuInsertLyXFile):
5903 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5904 * lyxfunc.C (menuNew, open, doImport):
5905 no longer pass a LyXView & to fileDlg.
5907 2003-02-21 Angus Leeming <leeming@lyx.org>
5909 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5910 * LyXAction.C: change, BIBKEY to BIBITEM.
5911 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5912 Change InsetBibKey to InsetBibitem.
5913 Change BIBKEY_CODE to BIBITEM_CODE.
5914 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5915 * factory.C: replace insetbib.h with insetbibitem.h.
5916 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5917 * paragraph.C: replace insetbib.h with insetbibitem.h.
5918 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5919 Change bibkey() to bibitem().
5920 * text.C: remove insetbib.h.
5921 * text2.C: replace insetbib.h with insetbibitem.h.
5922 change bibkey() to bibitem().
5923 * text3.C: remove insetbib.h.
5924 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5926 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5928 * lyxrc.C (output): enclose user email in quotes (in case there are
5931 2003-02-18 John Levon <levon@movementarian.org>
5933 * buffer.h: add std::
5935 2003-02-17 John Levon <levon@movementarian.org>
5941 * pspell.C: reworking. Especially in ispell, a large
5942 number of clean ups and bug fixes.
5944 * lyxfunc.C: fix revert to behave sensibly
5946 2003-02-17 André Pönitz <poenitz@gmx.net>
5949 * commandtags.h: new LFUN_INSERT_BIBKEY
5959 * paragraph_func.C: remove special bibkey handling
5961 2003-02-17 John Levon <levon@movementarian.org>
5963 * text.C (Delete): fix case where delete at the end of
5964 the very first paragraph would not merge the pars
5966 2003-02-17 John Levon <levon@movementarian.org>
5968 * lyxrow.C: fix lastPrintablePos()
5970 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5972 * bufferparams.C (writeLaTeX): add a std:here
5974 * buffer.C: and remove a using directive there
5976 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5978 * buffer.C (makeLaTeXFile): move the code that generates the
5981 * bufferparams.C (writeLaTeX): ... in this new method
5983 * LaTeXFeatures.C (getEncodingSet): make const
5984 (getLanguages): make const
5986 * MenuBackend.C (binding): returns the binding associated to this
5988 (add): sets the status of each item by calling getStatus. Adds
5990 (read): add support for OptSubMenu
5991 (expand): remove extra separator at the end of expanded menu
5993 2003-02-15 John Levon <levon@movementarian.org>
5996 * BufferView_pimpl.C:
5998 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5999 inset code that had no actual effect. Remove unneeded status
6002 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6004 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6007 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6009 * text.C (drawLengthMarker): also draw an arrow marker for
6010 symbolic lengths (medskip...)
6012 2003-02-14 John Levon <levon@movementarian.org>
6015 * tabular.C: better method names
6017 2003-02-14 John Levon <levon@movementarian.org>
6019 * BufferView_pimpl.C:
6024 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6025 it's a more accurate name. Remove some pointless uses.
6027 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6029 * text2.C (LyXText): change order of initilizers to shut off
6032 2003-02-14 John Levon <levon@movementarian.org>
6034 * buffer.C: use ParIterator for getParFromID()
6038 * paragraph_pimpl.h:
6039 * paragraph_pimpl.C: remove unused getParFromID()
6041 2003-02-14 John Levon <levon@movementarian.org>
6043 * buffer.C: remove some very old #if 0'd parse code
6045 2003-02-13 John Levon <levon@movementarian.org>
6049 * text2.C: move hfillExpansion(), numberOfSeparators(),
6050 rowLast(), rowLastPrintable(), numberofHfills(),
6051 numberOfLabelHfills() ...
6054 * lyxrow.C: ... to member functions here.
6059 * text.C: remove LyXText::beginningOfMainBody(), and call
6060 p->beginningOfMainBody() directly. Move the check for
6061 LABEL_MANUAL into the latter.
6068 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6074 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6075 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6077 2003-02-13 John Levon <levon@movementarian.org>
6079 * CutAndPaste.C: remove debug
6081 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6083 * paragraph.C (asString): remove two unused variables
6085 * lyxtextclass.C (readTitleType):
6087 (LyXTextClass): handle new members titletype_ and titlename_
6089 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6091 2003-02-09 John Levon <levon@movementarian.org>
6094 * buffer.C: replace hand-coded list with a map for the dep clean
6096 2003-02-08 John Levon <levon@movementarian.org>
6098 * LaTeX.C: consolidate code into showRunMessage() helper
6100 2003-02-08 John Levon <levon@movementarian.org>
6105 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6106 and pass the size in explicitly
6108 * BufferView_pimpl.h:
6109 * BufferView_pimpl.C:
6111 * BufferView.C: add getCurrentChange()
6113 * BufferView_pimpl.h:
6114 * BufferView_pimpl.C: handle change lfuns
6116 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6117 for changes. Mark pasted paragraphs as new.
6119 * support/lyxtime.h:
6120 * support/lyxtime.C:
6121 * DepTable.C: abstract time_t as lyx::time_type
6124 * LColor.C: add colours for new text, deleted text, changebars
6126 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6127 package use "usenames" option.
6131 * LyXAction.C: add change lfuns
6135 * author.C: author handling
6138 * buffer.C: add a per-buffer author list, with first entry as
6139 current author. Handle new .lyx tokens for change tracking. Output
6140 author list to .lyx file. Output dvipost stuff to .tex preamble.
6141 Bump lyx format to 222.
6144 * bufferlist.C: add setCurrentAuthor() to reset current author details
6148 * bufferparams.C: add param for tracking
6150 * bufferview_funcs.C: output change info in minibuffer
6154 * changes.C: add change-tracking structure
6157 * debug.C: add CHANGES debug flag
6160 * lyxfind.C: add code for finding the next change piece
6163 * lyxrc.C: add user_name and user_email
6166 * lyxrow.C: add a metric for the top of the text line
6169 * text.C: implement accept/rejectChange()
6172 * text.C: paint changebars. Paint new/deleted text in the chosen
6173 colours. Strike through deleted text.
6177 * paragraph_pimpl.h:
6178 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6179 in the current change to the insert functions. Rework erase to
6180 mark text as deleted, adding an eraseIntern() and a range-based
6181 erase(). Implement per-paragraph change lookup and
6184 * paragraph_funcs.C: Fixup paste for change tracking.
6186 * tabular.C: mark added row/columns as new.
6188 * text.C: fix rowLast() to never return -1. Don't allow
6189 spellchecking of deleted text. Track transpose changes. Don't
6190 allow paragraph break or merge where appropriate.
6192 * text2.C: leave cursor at end of selection after a cut.
6194 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6196 * text.C (getLengthMarkerHeight):
6197 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6198 visible on screen too.
6200 2003-02-07 John Levon <levon@movementarian.org>
6202 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6204 2003-02-05 Angus Leeming <leeming@lyx.org>
6206 * lyxserver.C (read_ready): revert my patch of 11 September last year
6207 as it sends PC cpu through the roof. Presumably this means that
6208 the lyxserver will no longer run on an Alpha...
6210 2003-01-30 Angus Leeming <leeming@lyx.org>
6212 * factory.C (createInset): create an InsetCommandParam of type "index"
6213 and use it to 'do the right thing'.
6215 * text2.C (getStringToIndex): ensure that cursor position is always
6216 reset to the reset_cursor position.
6218 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6220 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6223 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6227 * lyxfunc.C: Output messages with identical spelling, punctuation,
6230 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6232 * MenuBackend.C (expandFormats): List only viewable export formats
6235 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6238 * lyxfunc.C (getStatus): Make sure that formats other than
6239 "fax" can also be disabled
6241 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6243 * text3.C (dispatch): put the lfuns that insert insets in 3
6244 groups, and call doInsertInset with appropriate arguments.
6245 (doInsertInset): new function, that creates an inset and inserts
6246 it according to some boolean parameters.
6248 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6250 * buffer.C (readFile): remember to pass on 'par' when calling
6251 readFile recursively.
6253 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6255 * MenuBackend.C (expandFormats): add "..." to import formats.
6257 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6259 * paragraph.C (asString): Remove XForms RTL hacks.
6261 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6262 * buffer.C: fix typo
6264 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6266 * Makefile.am (LIBS): delete var
6267 (lyx_LDADD): add @LIBS@ here instead.
6269 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6271 * Clarify the meaning of "wheel mouse jump"
6273 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6275 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6278 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6280 * importer.C (Loaders): do not preallocate 3 elements in the
6281 vector, since one ends up with 6 elements otherwise
6283 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6285 * DepTable.C (write): write the file name as last element of the
6286 .dep file (because it may contain spaces)
6287 (read): read info in the right order
6289 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6291 * paragraph_pimpl.C (simpleTeXBlanks):
6292 (simpleTeXSpecialChars):
6293 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6295 * tabular.C (latex): add some missing case statements. Reindent.
6297 * MenuBackend.C (expandToc): remove unused variable.
6299 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6308 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6311 2003-01-05 John Levon <levon@movementarian.org>
6314 * BufferView.C: add getEncoding()
6317 * kbsequence.C: do not store last keypress
6320 * lyxfunc.C: store last keypress here instead. Pass encoding
6323 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6325 * lyx_main.C (init): remove annoying error message when following
6326 symbolic links (bug #780)
6328 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6330 * text.C (insertChar):
6331 * lyxrc.C (getDescription): remove extra spaces
6333 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6335 * lyxrc.C (getDescription): remove extra spaces
6337 2002-12-20 John Levon <levon@movementarian.org>
6339 * text3.C: hack fix for page up/down across tall rows
6341 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6343 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6346 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6348 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6349 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6350 thesaurus is not compiled in
6352 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6354 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6356 2002-12-16 Angus Leeming <leeming@lyx.org>
6359 * lyx_main.C (init): remove override_x_deadkeys stuff.
6361 2002-12-12 John Levon <levon@movementarian.org>
6363 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6364 insert. Only remove shift modifier under strict
6367 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6369 * MenuBackend.C (expandToc): fix crash.
6371 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6373 * MenuBackend.C (expandToc): gettext on float names.
6375 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6377 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6378 implement bool empty() [bug 490]
6380 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6382 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6384 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6386 * several files: ws changes
6388 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6390 * text2.C (setCounter): clean up a bit, use boost.format.
6391 (updateCounters): initialize par upon declaration.
6393 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6394 if the layout exists. We do not just store the layout any more.
6395 (SwitchLayoutsBetweenClasses): use boost.format
6397 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6399 * converter.C (convert): if from and to files are the same, use a
6400 temporary files as intermediary
6402 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6405 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6407 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6409 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6411 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6413 * tabular.C (asciiPrintCell): use string(size, char) instead of
6416 * sgml.C (openTag): fix order of arguments to string constructor
6419 * lyxfunc.C (dispatch): use boost.format
6421 * lots of files: change "c" -> 'c'
6423 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6425 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6427 2002-11-25 Angus Leeming <leeming@lyx.org>
6429 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6431 * lyx_main.C (init): compile fix.
6433 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6435 * lyx_cb.C (start): boost.formatify
6436 do not include <iostream>
6438 * lengthcommon.C: ws only
6440 * boost-inst.C,BoostFormat.h: add more explict instantations
6442 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6444 * lots of files: handle USE_BOOST_FORMAT
6446 2002-11-21 John Levon <levon@movementarian.org>
6448 * pspell.C: fix compile
6450 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6452 * lyxfunc.C (dispatch): use boost::format
6456 * lyxfont.C (stateText): use boost::format
6458 * lyx_main.C (LyX): use boost::format
6460 (queryUserLyXDir): ditto
6463 (typedef boost::function): use the recommened syntax.
6465 * importer.C (Import): use boost::format
6467 * debug.C (showLevel): use boost::format
6469 * converter.C (view): use boost::format
6474 * bufferview_funcs.C (currentState): use boost::format
6476 * bufferlist.C (emergencyWrite): use boost::format
6478 * buffer.C (readLyXformat2): use boost::format
6479 (parseSingleLyXformat2Token): ditto
6481 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6483 * LaTeX.C (run): use boost::format
6485 * Chktex.C (scanLogFile): use boost::format
6487 * BufferView_pimpl.C (savePosition): use boost::format
6488 (restorePosition): ditto
6489 (MenuInsertLyXFile): ditto
6491 * BoostFormat.h: help file for explicit instation.
6493 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6495 * tabular.C (latex): Support for block alignment in fixed width
6498 2002-11-17 John Levon <levon@movementarian.org>
6500 * BufferView_pimpl.C:
6502 * lyxfunc.C: split filedialog into open/save
6504 2002-11-08 Juergen Vigna <jug@sad.it>
6506 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6507 by my last patch (hopefully).
6509 2002-11-08 John Levon <levon@movementarian.org>
6518 * toc.C: ParConstIterator, and use it (from Lars)
6520 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6522 * lyxtextclass.[Ch]: revise and add doxygen comments
6524 2002-11-07 John Levon <levon@movementarian.org>
6526 * text.C: fix progress value for spellchecker
6528 * toc.C: fix navigate menu for insetwrap inside minipage
6530 * paragraph_funcs.C: added FIXME for suspect code
6532 2002-11-07 John Levon <levon@movementarian.org>
6534 * BufferView_pimpl.C: fix redrawing of insets
6537 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6539 * text2.C (updateCounters): fix bug 668
6541 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6543 * text3.C (dispatch): Do not make the buffer dirty when moving the
6546 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6548 * vc-backend.C: STRCONV
6551 * text2.C (setCounter): STRCONV
6553 * paragraph.C (asString): STRCONV
6555 * lyxlength.C (asString): STRCONV
6556 (asLatexString): ditto
6558 * lyxgluelength.C (asString): STRCONV
6559 (asLatexString): ditto
6561 * lyxfunc.C (dispatch): STRCONV
6564 * lyxfont.C (stateText): STRCONV
6566 * importer.C (Import): STRCONV
6568 * counters.C (labelItem): STRCONV
6569 (numberLabel): ditto
6570 (numberLabel): remove unused ostringstream o
6575 * bufferview_funcs.C (currentState): STRCONV
6577 * buffer.C (readFile): STRCONV
6578 (asciiParagraph): ditto
6579 (makeLaTeXFile): ditto
6581 * Spacing.C (writeEnvirBegin): STRCONV
6583 * LaTeXFeatures.C (getLanguages): STRCONV
6584 (getPackages): ditto
6586 (getBabelOptions): ditto
6587 (getTClassPreamble): ditto
6588 (getLyXSGMLEntities): ditto
6589 (getIncludedFiles): ditto
6593 (scanAuxFile): ditto
6596 * LString.h: add the STRCONV macros
6598 * BufferView_pimpl.C (savePosition): STRCONV
6599 (restorePosition): ditto
6600 (MenuInsertLyXFile): ditto
6602 * vc-backend.C (scanMaster): change from submatch[...] to
6605 * funcrequest.C: include config.h
6607 * factory.C: include config.h
6609 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6611 * box.C: include config.h
6613 * LaTeX.C (scanAuxFile): change from submatch[...] to
6617 2002-10-25 Angus Leeming <leeming@lyx.org>
6619 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6621 * ispell.[Ch] (setError): new method.
6622 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6623 Use setError() insetead of goto END.
6625 * lyx_cb.C (AutoSave): move out child process into new class
6628 2002-10-30 John Levon <levon@movementarian.org>
6630 * text3.C: make start appendix undoable
6632 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6634 * lyxlength.C (inPixels): Fix returned value.
6636 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6639 2002-10-24 Angus Leeming <leeming@lyx.org>
6641 * lyxgluelength.h: no need to forward declare BufferParams
6642 or BufferView, so don't.
6644 2002-10-21 John Levon <levon@movementarian.org>
6646 * BufferView.C: menuUndo ->undo, redo
6648 * BufferView.h: document, remove dead, make some methods private
6650 * paragraph_funcs.h:
6651 * paragraph_funcs.C:
6652 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6657 * sgml.C: move sgml open/close tag into sgml.C
6659 * bufferview_funcs.h: unused prototype
6662 * lyxfunc.C: remove unused
6665 * text.C: remove unused
6667 2002-10-21 John Levon <levon@movementarian.org>
6671 * BufferView_pimpl.h:
6672 * BufferView_pimpl.C: fix mouse wheel handling based on
6673 patch from Darren Freeman
6675 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6677 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6679 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6681 * lyxlength.C (inPixels): Fix hanfling of negative length.
6682 Fix LyXLength::MU case.
6684 2002-10-16 John Levon <levon@movementarian.org>
6686 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6688 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6690 * converter.C (view): add support for $$i (file name) and $$p
6691 (file path) for the viewer command. If $$i is not specified, then
6692 it is appended to the command (for compatibility with old syntax)
6694 2002-10-14 Juergen Vigna <jug@sad.it>
6696 * undo_funcs.C (textHandleUndo): alter the order in which the
6697 new undopar is added to the LyXText, as we have to set first
6698 the right prev/next and then add it as otherwise the rebuild of
6699 LyXText is not correct. Also reset the cursor to the right paragraph,
6700 with this IMO we could remove the hack in "redoParagraphs()".
6702 2002-10-09 Angus Leeming <leeming@lyx.org>
6704 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6705 to turn off an optimisation if a new inset is to be inserted.
6707 2002-10-11 André Pönitz <poenitz@gmx.net>
6709 * lyxtext.h: make some functions public to allow access
6710 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6712 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6714 * text3.C (dispatch): when changing layout, avoid an infinite loop
6717 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6719 * lyxrc.C (read): treat a viewer or converter command of "none" as
6722 * MenuBackend.C (expandFormats): for an update, also allow the
6723 formats that are not viewable
6725 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6726 script if it is newer than the lyxrc.defaults in user directory
6728 2002-10-07 André Pönitz <poenitz@gmx.net>
6730 * text.C: Vitaly Lipatov's small i18n fix
6732 2002-09-25 Angus Leeming <leeming@lyx.org>
6734 * ispell.h: doxygen fix.
6736 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6738 * buffer.h (readFile): Add a new argument to the method, to allow
6739 reading of old-format templates.
6741 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6743 * toc.C (getTocList): Get TOC from InsetWrap.
6745 2002-09-16 John Levon <levon@movementarian.org>
6747 * lyxfunc.C: check tabular for cut/copy too
6749 2002-09-12 John Levon <levon@movementarian.org>
6754 * factory.C: add header
6756 * paragraph_funcs.h:
6757 * paragraph_funcs.C: cleanup
6759 2002-09-11 John Levon <levon@movementarian.org>
6761 * PrinterParams.h: odd/even default to true
6763 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6765 * PrinterParams.h: update printer parameters for new xforms dialog
6767 2002-09-11 Angus Leeming <leeming@lyx.org>
6769 * lyxserver.C (read_ready): re-write to make it more transparent
6770 and to make it work in coherent fashion under Tru64 Unix.
6772 2002-09-11 André Pönitz <poenitz@gmx.net>
6776 * text3.C: implement LFUN_WORDSEL
6778 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6780 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6781 make floatlist_ a boost::shared_ptr<FloatList>
6783 * lyxtextclass.C: include FloatList.h
6784 (LyXTextClass): initialize floatlist_
6785 (TextClassTags): add TC_NOFLOAT
6786 (Read): match "nofloat" to TC_NOFLOAT and use it.
6787 (readFloat): modify call to floatlist_
6791 * FloatList.[Ch] (FloatList): remove commented out float
6793 (erase): new function
6795 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6797 * MenuBackend.C (expandToc): fix crash when there is no document
6800 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6802 * many files: Add insetwrap.
6804 2002-09-09 John Levon <levon@movementarian.org>
6806 * text2.C: remove confusing and awkward depth wraparound
6808 2002-09-09 John Levon <levon@movementarian.org>
6810 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6813 * buffer.C: remove getIncludeonlyList()
6816 * lyxfunc.C: remove headers
6818 2002-09-09 Juergen Vigna <jug@sad.it>
6820 * text.C (getColumnNearX): fix form Michael this is most
6821 probably a cut&paste bug.
6823 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6825 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6827 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6828 references, ws changes.
6830 * text2.C (init): update counters after init
6831 (insertParagraph): no need to set counter on idividual paragraphs.
6832 (setCounter): access the counters object in the textclass object
6833 on in the buffer object.
6834 (updateCounters): ditto
6836 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6837 shared_ptr<Counters> to avoid loading counters.h in all
6839 (LyXTextClass): initialize ctrs_
6840 (TextClassTags): add TC_COUNTER, and ...
6841 (Read): use it here.
6842 (CounterTags): new tags
6843 (readCounter): new function
6844 (counters): new funtion
6845 (defaultLayoutName): return a const reference
6847 * counters.C (Counters): remove contructor
6848 (newCounter): remove a couple of unneeded statements.
6849 (newCounter): simplify a bit.
6850 (numberLabel): some small formatting changes.
6852 * buffer.[Ch]: remove all traces of counters, move the Counters
6853 object to the LyXTextClass.
6855 2002-09-06 Alain Castera <castera@in2p3.fr>
6857 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6858 package to set the horizontal alignment on fixed width columns.
6861 * lyx_sty.h: added tabularnewline macro def.
6863 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6865 2002-09-06 John Levon <levon@movementarian.org>
6867 * LyXAction.C: tooltips for sub/superscript
6869 * MenuBackend.C: a bit more verbose
6871 * lyxfunc.C: tiny clean
6873 * undo_funcs.C: document undo_frozen
6875 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6877 * counters.C (Counters): add missing algorithm counter.
6879 * text2.C (setCounter): lookup the counter with layouts latexname
6880 instead of by section number.
6881 (setCounter): use a hackish way to lookup the correct enum
6883 a float name->type change
6884 reset enum couners with counter name directly instead of depth value.
6886 * counters.C (Counters): remove the push_backs, change to use the
6887 float type not the float name.
6888 (labelItem): remove unused string, float name->type change
6890 * counters.h: don't include vector, loose the enums and sects vectors
6892 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6894 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6895 (Read): add float->TC_FLOAT to textclassTags
6896 (Read): and handle it in the switch
6897 (readFloat): new function
6899 * FloatList.C (FloatList): comment out the hardcoded float
6902 * lyxlayout.h: ws change.
6904 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6906 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6908 2002-09-03 Angus Leeming <leeming@lyx.org>
6910 * BufferView_pimpl.h: qualified name is not allowed in member
6911 declaration: WorkArea & Pimpl::workarea() const;
6913 * factory.C: added using std::endl directive.
6915 * text3.C: added using std::find and std::vector directives.
6917 2002-08-29 André Pönitz <poenitz@gmx.net>
6920 * text2.C: remove unused member number_of_rows
6923 * BufferView2.C: remove file, move contents to...
6924 * BufferView.C: ... here
6926 * BufferView_pimpl.C:
6927 * factory.C: move more inset creation to factory
6929 * vspace.C: avoid direct usage of LyXText, ws changes
6932 don't provide direct access to WorkArea, use two simple
6933 acessors haveSelction() and workHeight() instead
6936 2002-08-29 John Levon <levon@movementarian.org>
6938 * BufferView_pimpl.C (dispatch): do not continue when
6941 2002-08-28 André Pönitz <poenitz@gmx.net>
6943 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6946 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6948 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6950 * buffer.C: increment LYX_FORMAT to 221
6952 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6953 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6955 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6957 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6959 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6961 * factory.C (createInset): use LyXTextClass::floats
6963 * MenuBackend.C (expandFloatListInsert):
6964 (expandFloatInsert):
6967 * text2.C (setCounter):
6969 * LaTeXFeatures.C (useFloat):
6970 (getFloatDefinitions):
6972 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6974 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6975 floatlist_, with accessor floats().
6977 * FloatList.h: remove global FloatList
6979 2002-08-26 André Pönitz <poenitz@gmx.net>
6981 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6985 * BufferView_pimpl.C:
6986 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6988 2002-08-25 John Levon <levon@movementarian.org>
6990 * LyXAction.C: fix margin note description
6992 2002-08-24 John Levon <levon@movementarian.org>
6996 * bufferview_funcs.C:
6998 * undo_funcs.C: cleanups
7000 * lyxfunc.C: disable CUT/COPY when no selection
7002 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7004 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7005 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7007 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7008 Add backward compatibility to "mono", "gray" and "no".
7010 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7012 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7013 (and file_format >= 200).
7015 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7017 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7019 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7021 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7023 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7025 * BufferView_pimpl.C:
7032 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7033 inset and code to make it work with the paragraph code. The inset
7034 can be anywhere in the paragraph, but will only do the expected
7035 thing in LaTeX if the layout file contains the parameter line
7037 (or more generally, a nonzero value) for that layout.
7039 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7041 * paragraph.h: remove the declaration of undefined counters class
7044 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7046 * text2.C (setCounter): fixed enumeration mis-count as reported by
7047 Dr. Richard Hawkins.
7049 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7051 * paragraph_funcs.h: remove some unneeded includes
7053 * text.C (backspace): pasteParagraph now in global scipe
7055 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7056 (pasteSelection): ditto
7058 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7059 * paragraph_funcs.C (pasteParagraph): ... here
7061 2002-08-20 André Pönitz <poenitz@gmx.net>
7063 * commandtags.h: new LFUNs for swapping/copying table row/colums
7066 * lyxfunc.C: support for new lfuns
7068 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7071 * buffer.[Ch]: remove NO_COMPABILITY stuff
7073 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7075 * boost.C (throw_exception): new file, with helper function for
7076 boost compiled without exceptions.
7081 * ParameterStruct.h:
7082 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7084 * bufferlist.C (emergencyWriteAll): use boost bind
7086 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7088 * text.C: include paragraph_funcs.h
7089 (breakParagraph): breakParagraph is now in global scope
7091 * paragraph_funcs.[Ch]: new files
7093 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7096 * buffer.C: include paragraph_funcs.h
7097 (insertStringAsLines): breakParagraph is now in global scope
7099 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7102 * CutAndPaste.C: include paragraph_funcs.h
7103 (cutSelection): breakParagraphConservative is now in global scope
7104 (pasteSelection): ditto
7106 * buffer.h: declare oprator== and operator!= for
7107 Buffer::inset_iterator
7109 * bufferlist.C (emergencyWrite): don't use fmt(...)
7111 * text3.C: add using std::endl
7113 * BufferView.C (moveCursorUpdate): remove default arg
7115 2002-08-20 André Pönitz <poenitz@gmx.net>
7117 * buffer.[Ch]: move inline functions to .C
7120 * BufferView_pimpl.C:
7122 * buffer.[Ch]: use improved inset_iterator
7125 * paragraph.[Ch]: write one paragraph at a time
7127 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7129 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7130 style if style is not specified.
7132 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7134 * text2.C (setCounter): when searching for right label for a
7135 caption, make sure to recurse to parent insets (so that a caption
7136 in a minipage in a figure float works) (bug #568)
7138 2002-08-20 André Pönitz <poenitz@gmx.net>
7140 * text3.C: new file for LyXText::dispatch() and helpers
7142 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7144 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7146 2002-08-19 André Pönitz <poenitz@gmx.net>
7149 * text.C: new LyXText::dispatch()
7151 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7153 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7155 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7157 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7160 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7162 * Makefile.am: use $(variables) instead of @substitutions@
7164 2002-08-15 André Pönitz <poenitz@gmx.net>
7167 * BufferView_pimpl.C: streamlining mathed <-> outer world
7171 * LyXAction.C: remove unused LFUN_MATH
7173 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7175 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7177 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7179 * paragraph.C (Paragraph): reformat a bit
7180 (cutIntoMinibuffer): use builtin InsetList function instad of
7184 * buffer.C: include boost/bind.hpp, add using std::for_each
7185 (writeFileAscii): use ParagraphList iterators
7186 (validate): use for_each for validate traversal of paragraphs
7187 (getBibkeyList): use ParagraphList iterators
7188 (resizeInsets): use for_each to resizeInsetsLyXText for all
7190 (getParFromID): use ParagraphList iterators
7192 * BufferView2.C (lockInset): use paragraph list and iterators
7194 2002-08-14 John Levon <levon@movementarian.org>
7196 * lyxserver.C: remove spurious xforms include
7198 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7200 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7202 2002-08-13 André Pönitz <poenitz@gmx.net>
7205 * lyxfunc.C: further cleaning
7207 2002-08-13 André Pönitz <poenitz@gmx.net>
7209 * funcrequest.h: new constructor
7211 * funcrequest.C: move stuff here from .h
7214 * BufferView_pimpl.C:
7217 * lyxfunc.C: subsequent changes
7219 * lyxfunc.h: new view() member function
7221 * lyxfunc.C: subsequent changes
7223 2002-08-13 Angus Leeming <leeming@lyx.org>
7226 * BufferView_pimpl.C:
7234 changes due to the changed LyXView interface that now returns references
7235 to member variables not pointers.
7237 2002-08-13 Angus Leeming <leeming@lyx.org>
7239 * WordLangTuple (word, lang_code): return references to strings,
7244 * lyxtext.h: forward-declare WordLangTuple.
7249 * text.C: #include "WordLangTuple.h".
7252 * text.C: (selectNextWordToSpellcheck): constify return type.
7254 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7260 * paragraph_pimpl.h:
7263 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7265 Made updateCounter always count from start of buffer, and removed
7266 second argument (par).
7267 Reverted floats number display to '#'. Perhaps I'll try again when the
7268 code base is sanitized a bit.
7270 2002-08-12 Angus Leeming <leeming@lyx.org>
7272 * buffer.[Ch] (getLabelList): constify.
7274 2002-08-07 André Pönitz <poenitz@gmx.net>
7276 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7278 * funcrequest.h: extension to keep mouse (x,y) position
7280 2002-08-12 Juergen Vigna <jug@sad.it>
7282 * BufferView2.C (insertErrors): forbid undo when inserting error
7285 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7287 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7289 * ParagraphList.[Ch]: new files
7291 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7293 * BufferView2.C (lockInset): ParagraphList changes
7296 * bufferlist.C: ditto
7300 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7302 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7303 unused class variable counter_,
7305 * paragraph.[Ch] (getFirstCounter): delete unused function
7307 * counters.C: include LAssert.h
7308 (reset): add a new function with no arg, change other version to
7309 not have def. arg and to not allow empty arg.
7311 * text2.C (setCounter): remove empty arg from call to Counters::reset
7313 2002-08-11 John Levon <levon@movementarian.org>
7315 * Makefile.am: add WordLangTuple.h
7317 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7319 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7320 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7322 * insets/insettext.C: InsetList changes
7324 * graphics/GraphicsSupport.C (operator()): InsetList changes
7326 * toc.C (getTocList): InsetList changes
7328 * paragraph_pimpl.[Ch]: InsetList changes
7330 * paragraph.[Ch]: InsetList changes
7332 * buffer.C (inset_iterator): InsetList changes
7333 (setParagraph): ditto
7334 * buffer.h (inset_iterator): ditto
7335 * iterators.C (operator++): ditto
7336 * iterators.h: ditto
7338 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7340 * InsetList.[Ch]: new files, most InsetList handling moved out of
7343 * BufferView2.C (removeAutoInsets): InsetList changes
7345 (ChangeInsets): ditto
7347 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7349 * paragraph_pimpl.h (empty): new function
7351 * paragraph.[Ch] (empty): new function
7353 * other files: use the new Paragraph::empty function
7355 2002-08-09 John Levon <levon@movementarian.org>
7357 * lyxtext.h: remove unused refresh_height
7359 2002-08-09 John Levon <levon@movementarian.org>
7366 * paragraph.C: move sgml char escaping out of paragraph
7369 * paragraph.C: remove id setter
7373 * paragraph_pimpl.C: remove dead tex_code_break_column
7375 * bufferview_funcs.C: small cleanup
7377 * lyxfunc.C: remove dead proto
7379 * lyxtext.h: make some stuff private. Remove some dead stuff.
7381 * lyxgluelength.C: make as[LyX]String() readable
7383 2002-08-08 John Levon <levon@movementarian.org>
7388 * ToolbarDefaults.C:
7391 * toc.C: lyxaction cleanup
7393 2002-08-08 John Levon <levon@movementarian.org>
7395 * BufferView2.C: small cleanup
7398 * lyxfind.C: move unnecessary header into the .C
7400 2002-08-08 John Levon <levon@movementarian.org>
7402 * funcrequest.h: just tedious nonsense
7405 * lyx_main.C: cleanups
7408 * vspace.C: remove dead header lyx_main.h
7410 2002-08-07 Angus Leeming <leeming@lyx.org>
7413 * paragraph_pimpl.h:
7414 Forward declare class Counters in paragraph.h by moving the ctrs member
7415 variable into Paragraph::Pimpl.
7416 (counters): new method, returning a reference to pimpl_->ctrs.
7418 * text2.C: ensuing changes.
7420 2002-08-07 John Levon <levon@movementarian.org>
7422 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7424 * BufferView_pimpl.C: announce X selection on double/triple
7427 * lyx_main.C: use correct bool in batch dispatch
7429 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7431 2002-08-07 André Pönitz <poenitz@gmx.net>
7433 * funcrequest.h: new class to wrap a kb_action and its argument
7436 * BufferView_pimpl[Ch]:
7440 * lyxrc.C: subsequent changes
7443 2002-08-07 John Levon <levon@movementarian.org>
7445 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7446 document options change.
7448 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7453 * makefile.am: move counters functionality over from
7454 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7456 2002-08-06 John Levon <levon@movementarian.org>
7458 * WordLangTuple.h: new file for word + language code tuple
7469 * BufferView2.C: use WordLangTuple
7472 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7474 2002-08-06 John Levon <levon@movementarian.org>
7476 * lyx_main.C: fix cmdline batch handling
7478 2002-08-06 André Pönitz <poenitz@gmx.net>
7480 * lyxrc.C: set default for show_banner to true
7482 2002-08-06 John Levon <levon@movementarian.org>
7484 * pspell.C: fix a crash, and allow new aspell to work
7486 2002-08-06 John Levon <levon@movementarian.org>
7489 * kbmap.C: small cleanup
7492 * vspace.C: add const
7494 2002-08-05 John Levon <levon@movementarian.org>
7496 * LyXAction.C: back to tabular-insert
7498 2002-08-04 John Levon <levon@movementarian.org>
7501 * BufferView.C: cosmetic change
7503 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7513 * BufferView2.C: purge all "Lyx" not "LyX" strings
7516 * lyxcursor.C: attempt to add some documentation
7521 * ToolbarDefaults.C:
7522 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7523 merge with LFUN_TABULAR_INSERT
7530 * pspell.C: split up i/pspell implementations into separate
7531 files, many cleanups
7533 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7535 * text2.C: some cleanup
7537 * lyxfunc.C: don't check for isp_command == "none" any more, it
7538 didn't make any sense
7540 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7545 * makefile.am: move counters functionality over
7546 from text2.C/paragraph.[Ch] to counters.[Ch], and
7548 2002-08-02 John Levon <levon@movementarian.org>
7550 * buffer.C: s/lyxconvert/lyx2lyx/
7552 2002-08-02 Angus Leeming <leeming@lyx.org>
7554 * lyxlex.C: revert John's change as it breaks reading of the user
7557 2002-08-02 Angus Leeming <leeming@lyx.org>
7559 * importer.C (Import):
7560 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7561 changes due to LyXView::view() now returning a boost::shared_ptr.
7563 2002-08-02 John Levon <levon@movementarian.org>
7565 * lyxlex.C: small cleanup
7567 2002-08-02 John Levon <levon@movementarian.org>
7569 * text2.C (status): small cleanup, no logic change
7571 2002-08-01 John Levon <levon@movementarian.org>
7574 * buffer.C (writeFile): don't output alerts, caller
7578 * lyx_cb.C: from above
7580 * lyxfunc.C: allow to open non-existent files
7582 2002-07-31 John Levon <levon@movementarian.org>
7584 * lyxserver.C: don't let incidental errors get
7587 2002-07-30 John Levon <levon@movementarian.org>
7589 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7591 2002-07-30 John Levon <levon@movementarian.org>
7594 * lyxserver.C: remove I/O callback too
7596 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7598 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7601 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7603 * many files: strip,frontStrip -> trim,ltrim,rtrim
7605 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7607 * PrinterParams.h: remove extern containsOnly, and include
7608 support/lstrings.h instead.
7610 * LaTeX.C (scanAuxFile): modify because of strip changes
7612 * buffer.C (makeLaTeXFile): ditto
7613 * bufferparams.C (writeFile): ditt
7614 * lyxfont.C (stateText): ditto
7615 * lyxserver.C (read_ready): ditto
7616 * vc-backend.C (scanMaster): ditto
7618 * BufferView_pimpl.h: ws changes
7620 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7622 2002-07-26 André Pönitz <poenitz@gmx.net>
7624 * kb_sequence.C: remove unnedred usings
7626 2002-07-26 Juergen Vigna <jug@sad.it>
7628 * lyxfind.C (LyXReplace): we have to check better if the returned
7629 text is not of theLockingInset()->getLockingInset().
7631 2002-07-25 Juergen Vigna <jug@sad.it>
7633 * lyxfind.C (LyXReplace): don't replace if we don't get the
7636 * undo_funcs.C (createUndo): remove debugging code.
7638 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7640 * buffer.C (parseSingleLyXformat2Token): Use default placement
7641 when reading old floats.
7643 * FloatList.C (FloatList): Change the default placement of figure
7644 and tables to "tbp".
7646 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7648 * MenuBackend.C: using std::max
7650 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7652 * MenuBackend.C (expandToc):
7653 (expandToc2): code moved from xforms menu frontend. It is now
7654 generic and TOCs are transparent to menu frontends.
7656 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7658 * toc.C (getTocList): protect against buf=0
7660 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7661 Menu as first parameter. Now, this calls itself recursively to
7662 expand a whole tree (this will be useful for TOC handling)
7663 (expandFloatInsert): remove 'wide' version of floats
7665 * MenuBackend.h (submenuname): returns the name of the submenu.
7666 (submenu): returns the submenu itself, provided it has been
7667 created by MenuBackend::expand
7669 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7671 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7672 insets which have noFontChange == true. (bug #172)
7674 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7676 * BufferView_pimpl.C: add connection objects and use them...
7679 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7681 * MenuBackend.C (expandLastfiles):
7684 (expandFloatListInsert):
7685 (expandFloatInsert):
7686 (expand): split expand in parts
7688 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7690 * lyx_gui.C: use lyx_gui::exit()
7692 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7694 * LyXAction.C: show the failing pseudo action
7696 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7698 * buffer.C (readFile): Run the lyxconvert script in order to read
7701 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7705 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7707 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7711 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7713 2002-07-22 Herbert Voss <voss@lyx.org>
7716 * lyxlength.[Ch]: add support for the vertical lengths
7718 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7720 * toc.[Ch]: std:: fixes
7722 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7724 * lyxrc.C: do not include lyx_main.h
7726 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7732 * BufferView2.C: include "lyxlex.h"
7735 * bufferparams.h: do not #include "lyxlex.h"
7737 * lyxtextclasslist.C (Add): remove method
7738 (classlist): renamed to classlist_
7740 * paragraph_pimpl.C:
7744 * bufferview_funcs.C:
7749 * toc.C (getTocList): use BufferParams::getLyXTextClass
7751 * toc.C (getTocList): use InsetFloat::addToToc
7753 * toc.[Ch]: new files, containing helper functions to handle table
7756 * lyxfunc.C (dispatch): no need to remove spaces around command
7758 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7759 first command of the sequence; it is not very clever, but I do not
7760 have a better idea, actually
7762 * LyXAction.C (LookupFunc): make sure to remove space at the
7763 beginning and end of the command
7765 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7767 * MenuBackend.C (getMenubar): new method: return the menubar of
7769 (read): treat differently reading of menu and menubar (in
7770 particular, the menubar has no name now)
7771 (Menu::menubar): remove
7773 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7776 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7778 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7779 a bibitem inset in a RTL paragraph.
7781 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7783 * paragraph_pimpl.C: constify
7785 * BufferView_pimpl.C:
7787 * lyxfunc.C: fix dispatch in a nicer way
7789 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7791 * lyxfunc.C (dispatch):
7792 * BufferView_pimpl.C:
7793 * BufferView_pimpl.h:
7795 * BufferView.h: rename Dispatch() to dispatch()
7797 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7799 * lyxlayout.C (Read): honor DependsOn tag
7801 * lyxlayout.[Ch] (depends_on): new method
7803 * version.C.in: update lyx_docversion
7805 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7807 * paragraph.C (validate): remove from here...
7808 * paragraph_pimpl.C (validate): ... and move here
7809 (isTextAt): make it const
7811 * buffer.C (getLists): ws cleanup
7813 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7815 * language.C (read): Use iso8859-1 encoding in latex_lang
7816 (this prevents LyX from crashing when using iso10646-1 encoding).
7818 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7820 * text2.C (toggleInset): if cursor is inside an inset, close the
7821 inset and leave cursor _after_ it
7823 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7825 * lyxfunc.C: move minibuffer completion handling out of here
7827 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7829 * BufferView_pimpl.C:
7830 * LaTeX.C: fix dispatch calls
7832 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7834 * text.C (drawChars): Fix Arabic text rendering.
7836 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7840 * lyxfunc.C: remove message-push/pop
7844 * lyxfunc.C: rationalise some code by removing verboseDispatch
7845 in favour of a bool argument to dispatch()
7847 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7849 * lyx_main.C (init): make sure to read symlinks as absolute paths
7851 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7854 * lyxfunc.C: no need for commandshortcut to be a member
7856 2002-07-15 André Pönitz <poenitz@gmx.net>
7858 * converter.C: add support for $$s (scripts from lib/scripts dir)
7859 * lyx_main.C: white space
7861 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7865 * lyxrc.C: remove second exit confirmation
7867 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7872 * BufferView_pimpl.h:
7873 * BufferView_pimpl.C:
7874 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7876 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7878 * MenuBackend.C (expand): add numeric shortcuts to document menu
7880 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7882 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7884 * lyxfont.C (setLyXFamily):
7891 * buffer.C (asciiParagraph): use ascii_lowercase
7893 2002-07-15 Mike Fabian <mfabian@suse.de>
7895 * lyxlex_pimpl.C (search_kw):
7896 * lyxlex.C (getLongString):
7897 * converter.h (operator<):
7898 * converter.C (operator<):
7899 * buffer.C (parseSingleLyXformat2Token):
7901 * ToolbarDefaults.C (read):
7902 * MenuBackend.C (checkShortcuts):
7904 * LColor.C (getFromGUIName):
7905 (getFromLyXName): use the compare_ascii_no_case instead of
7906 compare_no_case, because in turkish, 'i' is not the lowercase
7907 version of 'I', and thus turkish locale breaks parsing of tags.
7909 2002-07-16 Angus Leeming <leeming@lyx.org>
7911 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7912 now takes a Buffer const & argument.
7914 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7916 * BufferView.C (resize): check there's a buffer to resize
7918 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7920 * lyxfunc.C: remove dead code
7923 * lyxserver.C: use lyx_guii::set_read_callback
7925 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7927 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7928 an inset in a RTL paragraph.
7930 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7932 * lyxfunc.C: repaint after a font size update
7934 2002-07-15 André Pönitz <poenitz@gmx.net>
7936 * lyxlength.C: inBP should be able to return negative values
7938 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7940 * lyxfunc.C: use lyx_gui::update_fonts()
7942 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7944 * lyxfunc.C: use lyx_gui::update_color()
7946 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7952 * lyxrc.C: remove file->new asks for name option, and let
7953 buffer-new take an argument
7955 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7957 * BufferView_pimpl.C: remove unneeded extra repaint()
7959 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7961 * LyXAction.C: allow command-sequence with NoBuffer
7963 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7965 2002-07-10 Angus Leeming <leeming@lyx.org>
7967 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7969 2002-07-09 Angus Leeming <leeming@lyx.org>
7971 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7973 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7975 * lengthcommon.h: whitespace
7977 * lyxfunc.C: update scrollbar after goto paragraph
7979 * lyxtext.h: factor out page break drawing, and fix it so
7980 page break/added space paints as selected nicely
7982 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7984 * BufferView_pimpl.C: add FIXMEs, clean up a little
7986 2002-07-09 André Pönitz <poenitz@gmx.net>
7988 * lyxfont.[Ch]: support for wasy symbols
7990 2002-07-08 André Pönitz <poenitz@gmx.net>
7992 * BufferView_pimpl.C: apply John's patch for #93.
7994 2002-07-05 Angus Leeming <leeming@lyx.org>
7996 * BufferView_pimpl.C (buffer): generate previews if desired.
7998 * LColor.h: add "preview" to the color enum.
8000 * LColor.C (LColor): add a corresponding entry to the items array.
8002 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8005 2002-07-05 Angus Leeming <leeming@lyx.org>
8007 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8008 The body of the code is now in the method that is passed an ostream &
8009 rather than a file name.
8010 Pass an additional only_preamble parameter, useful for the forthcoming
8013 2002-07-03 André Pönitz <poenitz@gmx.net>
8015 * lyxfunc.C: simplify getStatus() a bit for math stuff
8017 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8019 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8021 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8023 * text.C (changeRegionCase): do not change case of all the
8024 document when region ends at paragraph end (bug #461)
8026 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8028 * paragraph.C (startTeXParParams):
8029 (endTeXParParams): add \protect when necessary
8031 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8033 * BufferView_pimpl.C (workAreaExpose): remove warning
8035 2002-06-27 Angus Leeming <leeming@lyx.org>
8037 * Makefile.am: add lyxlayout_ptr_fwd.h.
8039 2002-06-26 André Pönitz <poenitz@gmx.net>
8041 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8043 2002-06-25 Angus Leeming <leeming@lyx.org>
8045 * lyxfunc.C (dispatch): Comment out the call to
8046 grfx::GCache::changeDisplay. The method no longer exists now that the
8047 pixmap generation part of the graphics loader has been moved into
8050 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8052 * text2.C: layout as layout
8054 * text.C: layout as layout
8056 * tabular.C (OldFormatRead): layout as layout
8058 * paragraph_pimpl.C (TeXDeeper): layout as layout
8059 (realizeFont): layout as layout
8061 * paragraph.C (writeFile): layout as layout
8062 (validate): layout as layout
8063 (getFont): layout as layout
8064 (getLabelFont): layout as layout
8065 (getLayoutFont): layout as layout
8066 (breakParagraph): layout as layout
8067 (stripLeadingSpaces): layout as layout
8068 (getEndLabel): layout as layout
8069 (getMaxDepthAfter): layout as layout
8070 (applyLayout): layout as layout
8071 (TeXOnePar): layout as layout
8072 (simpleTeXOnePar): layout as layout
8073 (TeXEnvironment): layout as layout
8074 (layout): layout as layout
8075 (layout): layout as layout
8077 * lyxtextclass.C (compare_name): new functor to work with
8078 shared_ptr, layout as layout
8079 (Read): layout as layout
8080 (hasLayout): layout as layout
8081 (operator): layout as layout
8082 (delete_layout): layout as layout
8083 (defaultLayout): layout as layout
8085 * lyxlayout_ptr_fwd.h: new file
8087 * lyxlayout.C (Read): layout as layout
8089 * lyx_cb.C (MenuInsertLabel): layout as layout
8091 * bufferlist.C (newFile): layout as layout
8093 * buffer.C (readLyXformat2): layout as layout
8094 (parseSingleLyXformat2Token): layout as layout
8095 (insertStringAsLines): layout as layout
8096 (asciiParagraph): layout as layout
8097 (latexParagraphs): layout as layout
8098 (makeLinuxDocFile): layout as layout
8099 (simpleLinuxDocOnePar): layout as layout
8100 (makeDocBookFile): layout as layout
8101 (simpleDocBookOnePar): layout as layout
8102 (getLists): layout as layout
8104 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8106 * CutAndPaste.C (cutSelection): layout as layout
8107 (pasteSelection): layout as layout
8108 (SwitchLayoutsBetweenClasses): layout as layout
8110 * BufferView_pimpl.C (Dispatch): layout as layout
8111 (smartQuote): layout as layout
8113 * BufferView2.C (unlockInset): layout as layout
8115 2002-06-24 André Pönitz <poenitz@gmx.net>
8117 * lyxfunc.C: fix #487
8119 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8123 * lyxfunc.C: remove display_shortcuts, show_banner
8125 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8127 * Buffer_pimpl.C: oops, update on resize
8129 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8136 * BufferView.C: use repaint()
8138 * BufferView_pimpl.h:
8139 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8140 as it's a clearer description. Remove superfluous
8143 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8145 * text.C: fix bug 488. Not ideal, but getting
8146 getWord() to work properly for the insets that
8147 matter is more difficult ...
8149 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8151 * BufferView_pimpl.C:
8154 * lyxfunc.C: remove the six million index lyxfuncs to just
8155 one, and DTRT (bug 458)
8157 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8161 * BufferView_pimpl.h:
8162 * BufferView_pimpl.C: clean up resize() stuff,
8163 and unnecessary updateScreen()s
8165 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8169 * BufferView_pimpl.h:
8170 * BufferView_pimpl.C:
8173 * minibuffer.C: remove focus management of workarea,
8174 not needed. Use screen's greyOut()
8176 2002-06-17 Herbert Voss <voss@lyx.org>
8178 * converter.C: (convert) do not post a message, when converting
8179 fails, let the calling function decide what to do in this case
8181 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
8183 * lyxfunc.C: tidy up a little
8185 2002-06-16 <alstrup@diku.dk>
8187 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8188 Got rid of FORMS_H_LOCATION include. Now we are
8191 2002-06-15 LyX Development team <lyx@rilke>
8193 * buffer.[Ch] (sgmlOpenTag):
8194 (sgmlCloseTag): Added support for avoiding pernicious mixed
8195 content. Return number of lines written.
8198 (makeDocBookFile): Fixed calls to sgml*Tag.
8199 Simple white space clean.
8201 (simpleDocBookOnePar): Simple white space clean.
8203 * tabular.[Ch] (docBook): Renamed to docbook and got another
8204 argument to related with the pernicious mixed content.
8206 (docbookRow): Fixed calls for docbook inset method.
8208 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8210 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8211 so it's X11 independent.
8215 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8217 2002-06-15 Lyx Development team <lyx@electronia>
8219 * intl.h: Renamed getTrans to getTransManager.
8221 2002-06-14 Angus Leeming <leeming@lyx.org>
8223 * Makefile.am: nuke forgotten stl_string_fwd.h.
8225 2002-06-12 Angus Leeming <leeming@lyx.org>
8227 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8229 2002-06-13 Angus Leeming <leeming@lyx.org>
8232 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8234 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8236 * kbmap.C (getiso): add support for cyrillic and greek
8238 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8242 * BufferView_pimpl.h:
8243 * BufferView_pimpl.C: move bogus scrolling logic
8246 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8249 * BufferView_pimpl.C: view->resize() change
8251 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8253 * BufferView_pimpl.C: topCursorVisible
8256 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8260 * lyx_gui.C: move to frontends/
8264 * lyx_main.C: changes from above
8266 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8273 * lyx_main.C: minor tidy
8275 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8277 * BufferView_pimpl.h:
8278 * BufferView_pimpl.C:
8280 * BufferView.C: make painter() const,
8283 * BufferView2.C: use screen() accessor
8286 * lyx_main.C: some minor cleanup
8288 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8290 * BufferView_pimpl.h:
8291 * BufferView_pimpl.C: remove enter/leaveView,
8294 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8299 * BufferView_pimpl.h:
8300 * BufferView_pimpl.C: only construct screen once,
8303 * lyxrc.C: remove pointless comment
8305 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8308 * BufferView.C: remove active() and belowMouse()
8310 * BufferView_pimpl.h:
8311 * BufferView_pimpl.C: use workarea() not workarea_,
8312 and make it use a scoped_ptr instead
8314 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8316 * lyx_gui.C: add debug message on BadWindow
8318 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8320 * sp_spell.C: fdopen is not part of the C++ standard.
8322 * paragraph.C (InsetIterator): use >= instead of ==
8324 2002-06-07 Angus Leeming <leeming@lyx.org>
8326 Fixes needed to compile with Compaq cxx 6.5.
8327 * BufferView_pimpl.C:
8334 * lyxtextclasslist.C:
8339 all c-library variables have been moved into namespace std. Wrap
8340 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8345 Add a using std::abs declaration.
8347 * kbmap.h (modifier_pair):
8348 * paragraph.h (InsetTable, InsetList):
8349 * lyxfont.h (FontBits):
8350 type definition made public.
8352 * bufferlist.C (emergencyWriteAll): the compiler complains that
8353 there is more than one possible lyx::class_fun template to choose from.
8354 I re-named the void specialisation as lyx::void_class_fun.
8356 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8358 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8359 the compiler is is unable to find tostr in write_attribute.
8361 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8363 * buffer.C (sgmlError): hide #warning
8365 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8367 * xtl/*: get rid of xtl, which is not in use anyway
8369 * LyXAction.C (init):
8370 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8371 were unimplemented xtl experimentation
8373 2002-06-04 André Pönitz <poenitz@gmx.net>
8375 * lyxfunc.C: disable array operation on simple formulae
8377 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8379 * converter.C: constify a bit
8381 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8383 * lyx_gui.C: check xforms version correctly
8385 2002-04-30 Herbert Voss <voss@lyx.org>
8387 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8390 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8392 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8393 attempt to register it with a VCS)
8395 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8397 * lyx_main.C (init): honor variables LYX_DIR_13x and
8400 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8404 * lyx_main.C: fix a crash on bad command line,
8405 and give a useful exit status on error
8407 * lyxfunc.C (doImport): allow -i lyx to work
8409 2002-03-30 André Pönitz <poenitz@gmx.net>
8411 * lyxfunc.C: mathed font changes
8413 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8428 * trans_mgr.h: srcdocs, and some minor cleanups
8430 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8432 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8433 call getFont all the time)
8435 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8437 * switch from SigC signals to boost::signals
8439 2002-05-29 André Pönitz <poenitz@gmx.net>
8441 * paragraph_pimpl.C (getChar): don't call size() too often...
8443 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8445 * paragraph_pimpl.C (insertChar): do not try to update tables when
8446 appending (pos == size())
8448 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8449 in order to reduce drastically the number of comparisons needed to
8450 parse a large document
8452 2002-05-29 André Pönitz <poenitz@gmx.net>
8458 * textclasslist.[Ch]:
8459 * sp_ispell.h: whitespace change
8461 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8463 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8464 lyxaction directly now.
8466 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8470 * lyxvc.C: remove unused headers
8472 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8479 * undo_funcs.C: some cleanups. Use shared_ptr
8480 and a template for the undo stacks.
8482 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8484 * BufferView_pimpl.h:
8485 * BufferView_pimpl.C:
8492 * text2.C: use key_state/mouse_state
8494 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8496 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8499 * chset.C: change include order
8500 (loadFile): use boost regex and get rid of LRegex and LSubstring
8502 * Makefile.am (BOOST_LIBS): new variable
8505 * LaTeX.C: change include order.
8506 (scanAuxFile): use boost regex and get rid of LRegex and
8510 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8515 * FontInfo.C: moved to frontends/xforms/
8518 * FontLoader.C: moved into frontends for GUIIzation
8523 * lyxfunc.C: changes from above
8525 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8527 * LColor.C: remove spurious X include
8529 * BufferView_pimpl.C:
8534 * text2.C: move font metrics to frontends/
8536 2002-05-24 Juergen Vigna <jug@sad.it>
8538 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8539 setting the undo_cursor.
8541 * ParagraphParameters.h: include local includes first.
8543 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8545 * BufferView_pimpl.C:
8546 * BufferView_pimpl.h:
8550 * screen.C: move WorkArea into frontends/
8556 * BufferView2.C: move LyXScreen into frontends/
8560 * lyx_gui.C: move lyxlookup into frontends/xforms/
8562 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8565 * BufferView_pimpl.C:
8575 * bufferview_funcs.C:
8588 * vc-backend.C: move LyX/XFormsView into frontends/
8590 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8602 * text2.C: move Painter to frontends/
8604 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8606 * buffer.C: comment out some some code that depend upon lyx_format
8609 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8610 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8612 * buffer.h (NO_COMPABILITY): turn off compability
8614 * ColorHandler.C: include scoped_array.hpp
8616 * font.C: Use more specific smart_ptr header.
8619 * ShareContainer.h: ditto
8623 * BufferView_pimpl.h: ditto
8624 * ColorHandler.h: ditto
8626 * kbmap.C (defkey): change call to shared_ptr::reset
8628 2002-05-21 Juergen Vigna <jug@sad.it>
8630 * buffer.C (insertErtContents): fix to insert ert asis if it is
8631 non empty. Skip it completely if it contains only whitespaces.
8633 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8635 * BufferView_pimpl.C:
8636 * BufferView2.C: clear selection on paste (bug 393)
8638 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8640 * DepTable.C: include ctime
8642 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8644 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8646 2002-05-14 Juergen Vigna <jug@sad.it>
8648 * text.C (breakParagraph): fixed function to honor the keepempty
8649 layout in the right maner and also to permit the right breaking
8650 algorithm on empty or non empyt keepempty paragraphs.
8652 * paragraph.C (breakParagraph): we have to check also if the par
8653 is really empty (!size()) for isempty otherwise we do the wrong
8656 2002-05-10 Juergen Vigna <jug@sad.it>
8658 * buffer.[Ch] : The following are only changes to the ert
8659 compatibility read reading old LaTeX layout and font stuff and
8660 convert it to ERTInsets.
8662 * buffer.h: added isErtInset().
8664 * buffer.C (struct ErtComp): add a fromlayout bool to check
8665 if we're inside a LaTeX layout.
8666 (isErtInset): new helper function.
8667 (insertErtContents): look for other ert insets before this one
8668 and insert the contents there, so that we don't have subsequent
8669 ERT insets with nothing between them. This way we create only one
8670 inset with multiple paragraphs. Also check if we don't insert only
8671 spaces ' ' as they are ignored anyway afterwards in the .tex file
8672 so if we have only spaces we will ignore this latex part in the
8674 (parseSingleLyXformat2Token \\layout): better compatibility when
8675 reading layout-latex stuff.
8676 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8678 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8679 stuff after reading the inset only get the information back from
8682 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8684 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8686 * LaTeXFeatures.C (getBabelOptions): New method.
8688 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8690 * BufferView_pimpl.C (Dispatch): work around missing argument for
8693 2002-05-08 Juergen Vigna <jug@sad.it>
8695 * text.C (leftMargin): handle paragraph leftindent.
8697 * paragraph.C (writeFile): write the new \\leftindent tag.
8698 (validate): handle leftindent code.
8699 (TeXEnvironment): handle paragraphleftindent code again.
8701 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8703 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8704 for paragrap_extra indent code and new token \\leftindent.
8705 (latexParagraphs): handle the leftindent as environment.
8707 * ParameterStruct.h: added leftindent support.
8709 * ParagraphParameters.C (leftIndent): added support functions for
8710 the paragraph left indent.
8712 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8715 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8717 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8720 * text.C (computeBidiTables): No bidi in insetERT.
8722 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8725 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8727 * version.C.in: pre 5
8729 2002-05-02 José Matos <jamatos@fep.up.pt>
8730 * buffer.C (makeDocBookFile): white space changes, add newline to
8732 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8734 * tabular.C (docBook): fix typo.
8736 2002-05-03 Juergen Vigna <jug@sad.it>
8738 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8739 change in LyXText as we can not be sure it was not freed.
8740 (drawOneRow): remove unused code.
8742 * text.C (drawInset): redo the calculation of the need_break_row as
8743 it could have a row which was already freed.
8744 (draw): look at the return value of drawInset and return false if
8745 it also returned false.
8746 (paintRowText): look at the return value of draw and return false if
8747 it also returned false.
8749 * lyxtext.h: added bool return type to drawInset() and draw() so that
8750 if we have a change in the row so that the rowbreak has to be redone
8751 we abort drawing as it will be called again.
8753 2002-05-02 Juergen Vigna <jug@sad.it>
8755 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8756 a change in the maintext also if we're inside an inset.
8757 (Dispatch): set the cursor again after a break line and after the
8758 screen has been updated as it could be we're in a different row.
8760 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8761 to set the cursor behind the pargraph with > size().
8762 (setCursor): check also for the same paragraph when checking where
8763 to put the cursor if we have a NFR inset.
8765 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8766 parts of layout read further up as it still was in the wrong
8769 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8771 * screen.C (drawFromTo): change sine fullRebreak always return
8774 * buffer.C (parseSingleLyXformat2Token): reindent some
8776 * BufferView_pimpl.C (update): change since fullRebreak always
8778 (Dispatch): git rid of the last hardcoded "Standard"s.
8780 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8782 * text2.[Ch] (fullRebreak): make it return void now that we always
8785 2002-04-30 Juergen Vigna <jug@sad.it>
8787 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8788 ert compatibility check for "latex" layout.
8790 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8792 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8793 minipages: use col% instead of p%, and also use the current font.
8794 (makeLaTeXFile): Fix use babel condition.
8795 (parseSingleLyXformat2Token): Correct font when reading old floats.
8797 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8799 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8800 inserting list of floats.
8802 2002-04-25 Herbert Voss <voss@lyx.org>
8804 * MenuBackend.C (expand): don't add the graphics extensions to the
8807 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8809 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8810 non-existing layout, do not complain if it was the default layout
8811 of the original class (bug #342)
8813 2002-04-24 Juergen Vigna <jug@sad.it>
8815 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8816 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8818 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8820 * buffer.C (getBibkeyList): If using \bibliography, return the
8821 option field with the reference itself. Enables us to provide natbib
8822 support when using \bibliography.
8824 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8826 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8828 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8829 natbib is provided by the LaTeX class.
8831 2002-04-23 Juergen Vigna <jug@sad.it>
8833 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8836 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8838 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8840 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8842 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8843 ensuremath around textordmasculine, textordfeminine and
8846 2002-04-19 Juergen Vigna <jug@sad.it>
8848 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8849 reinitializing the buffer otherwise row-dimensions may be wrong.
8850 (update): reset also the selection cursors if they do exits otherwise
8851 their x/y positions may be wrong.
8853 * text2.C (cursorDown): don't enter the inset if we came from a row
8854 above and are one row over the inset.
8856 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8857 really leaving an inset.
8859 2002-04-18 Juergen Vigna <jug@sad.it>
8861 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8862 of the selected paragraph does not have the selected layout also if
8865 * text2.C (setLayout): fixed bug which did not change last selected
8868 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8869 changed the read and substituted \\end_float with \\end_inset!
8871 * BufferView_pimpl.C (cursorPrevious):
8872 (cursorNext): fixed to make it work with rows heigher than the work
8873 area without moving the cursor only the draw of the row.
8874 (workAreaMotionNotify): fix jumping over high rows.
8876 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8878 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8881 2002-04-16 Juergen Vigna <jug@sad.it>
8883 * text2.C (setCursor): set also the irow().
8884 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8886 (cursorDown): support for locking an inset if the x_fix value goes
8887 inside it. That way I can transverse insets too with cursor up/down.
8889 * lyxrow.h: added irow helper function same as other (i) functions.
8891 * BufferView_pimpl.C (cursorPrevious):
8892 (cursorNext): fixed for insets!
8894 2002-04-15 Juergen Vigna <jug@sad.it>
8896 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8897 position otherwise it is wrong in some cases.
8899 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8900 inside the inset before the call.
8902 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8904 * buffer.[Ch] (getBibkeyList): make it const.
8906 2002-04-12 Juergen Vigna <jug@sad.it>
8908 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8910 * text2.C (getCursorX): new helper function
8911 (setCursor): compute also ix_
8912 (setCursorFromCoordinates): set also ix.
8914 * lyxcursor.h: added ix_ and helper functions.
8916 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8918 * buffer.C (insertStringAsLines): dont break paragraph if the this
8919 paragraph is inside an inset which does not permit it!
8921 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8922 also with no chars on this paragraph.
8923 (paintRowText): only paint stuff if it's inside the workarea!
8925 * paragraph.C (breakParagraph): honor keepempty flag and break the
8926 paragraph always below not above.
8928 * BufferView2.C (unlockInset): update the paragraph layout on inset
8929 unlock as we changed paragraph in such a case.
8931 * lyxfind.C (LyXFind): clear the former selection if not found!
8933 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8934 again called in insertChar().
8936 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8937 an inset which uses the whole row!
8938 (rightMargin): ditto.
8939 (insertChar): force a rebreak if we inserted an inset!
8941 2002-03-28 Herbert Voss <voss@lyx.org>
8943 * lyxlength.[Ch]: add inBP() to get the right PS-point
8944 units (BigPoint). With inPixels we have rounding errors
8946 2002-04-11 Juergen Vigna <jug@sad.it>
8948 * text2.C (setCursorFromCoordinates): set iy to the right value.
8949 (setCursor): add check if row->previous exists!
8951 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8952 an old float_type as this was the case in the old code!
8954 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8956 * BufferView2.C (showLockedInsetCursor): use iy
8957 (fitLockedInsetCursor): ditto
8959 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8960 locked insets as there we have the right value now.
8962 * lyxcursor.C: added iy_ variable and iy functions to set to the
8963 baseline of cursor-y of the locked inset.
8965 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8966 (setCursor): fixed for insets which need a full row.
8968 * text.C (rowLastPrintable): don't ignore the last space when before
8969 an inset which needs a full row.
8970 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8971 as last character of a row when before a inset which needs a full row.
8973 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8975 * version.C.in: update date
8977 * text2.C (fullRebreak): try to always return true and see what
8980 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8982 * MenuBackend.C (expand): use Floating::listName
8984 * FloatList.C (FloatList): add listName argument to the built-in
8987 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8988 text associated with the float.
8990 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8992 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8994 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8996 * ShareContainer.h: add a couple of missing typenames.
8998 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9000 * lyxrc.C (getDescription): use _() correctly rather than N_().
9002 2002-03-28 Herbert Voss <voss@lyx.org>
9004 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9005 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9007 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9009 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9010 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9012 2002-03-29 Juergen Vigna <jug@sad.it>
9014 * lyxfunc.C (dispatch): add a missing fitCursor call.
9016 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9017 it was scrolled by a cursor move, so return the bool status.
9019 * BufferView.C (fitCursor): return the bool flag also to the outside
9020 world as this is needed.
9022 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9024 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9025 call the edit() as it is not needed (and wrong) IMO.
9026 (workAreaButtonPress): set the screen_first variable before evt.
9027 unlock the inset as this may change screen_first and then we have
9028 a wrong y position for the click!
9030 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9032 * MenuBackend.C (expand): another translation that I missed
9034 2002-03-28 Juergen Vigna <jug@sad.it>
9036 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9038 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9040 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9042 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9044 * MenuBackend.C (expand): fix export/view/update when there is no
9047 2002-03-27 Herbert Voss <voss@lyx.org>
9049 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9052 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9054 * bufferview_funcs.C (currentState): only show paragraph number
9055 for is DEVEL_VERSION is set.
9057 * lyxfunc.C (dispatch): put warning in INFO channel
9059 * MenuBackend.C (expand): translate the name of floats
9061 * FloatList.C (FloatList): mark the float names for translation
9063 * converter.C (convert): use LibScriptSearch
9065 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9067 * MenuBackend.C (defaults): fix default menu (we might as well get
9070 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9072 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9075 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9077 * lyxvc.C: reorder includes.
9079 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9081 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9084 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9086 * CutAndPaste.C: change layouts earlier on paste
9087 to avoid crashing when calling getFont()
9089 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9091 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9094 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9096 * WorkArea.C: remove 'Pending' debug message.
9098 * most files: ws cleanup
9100 * buffer.[Ch]: ws changes
9102 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9104 2002-03-21 Juergen Vigna <jug@sad.it>
9106 * tabular.C (SetMultiColumn): collapse also the contents of the
9107 cells and set the last border right. Added a Buffer const * param.
9109 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9111 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9114 2002-03-19 Juergen Vigna <jug@sad.it>
9116 * text2.C (clearSelection): reset also xsel_cache.
9118 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9119 where it needs to be called (John tells us to do so too :)
9120 (selectionLost): reset sel_cache.
9122 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9124 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9126 * text2.C (setCursorIntern): put debuging code in INSETS channel
9128 2002-03-19 André Pönitz <poenitz@gmx.net>
9130 * lyxfunc.C: tiny whitespace change
9132 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9134 * ToolbarDefaults.C (init):
9135 * LyXAction.C (init):
9137 * BufferView_pimpl.C (Dispatch):
9138 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9140 2002-03-19 Allan Rae <rae@lyx.org>
9142 * exporter.C (Export): removeAutoInsets before doing anything else.
9143 While I've just introduced a dependency on BufferView this really is
9144 the best place to clean the buffer otherwise you need to cleanup in
9145 a dozen places before calling export or cleanup in a dozen functions
9148 * converter.C (runLaTeX):
9149 (scanLog): Better handling of removeAutoInsets and screen updates.
9151 * lyxfunc.C (dispatch): small whitespace changes
9153 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9155 * WorkArea.C (C_WorkAreaEvent): return a value.
9156 (event_cb): return 1 if we handled the event, 0 otherwise.
9158 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9160 2002-03-18 Juergen Vigna <jug@sad.it>
9162 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9163 (GetAdditionalWidth): ditto.
9167 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9168 inset if we're there actually (probably not used right now but this
9169 is the direction to go for unifying code).
9170 (paste): disable code to clear the selection.
9172 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9173 inside an InsetText and move the check further up as it is in the
9176 * text2.C (pasteSelection): set a selection over the pasted text.
9178 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9180 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9181 and libgraphics to build on Cygwin.
9183 2002-03-15 Juergen Vigna <jug@sad.it>
9185 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9186 inserting an Inset into the paragraph. I know this is not the best
9187 fix but we already use current_view in CutAndPaste so we will remove
9188 all of it's using at the same time.
9190 * buffer.C (sgmlError): deactivated function till it is rewritten in
9191 the right mode, now it can create problems.
9193 * paragraph.C (isLineSeparator): check if getInset returns != 0,
9194 before accessing it.
9196 2002-03-14 Juergen Vigna <jug@sad.it>
9198 * undo_funcs.C (textHandleUndo): do the right thing when updating
9199 the inset after the undo/redo.
9201 * text2.C (setCursor): just some testcode for #44 not ready yet.
9203 * undo_funcs.C (textHandleUndo): set the next() and previous()
9204 pointers of the paragraph to 0 before deleting otherwise we have
9205 problems with the Paragraph::[destructor].
9207 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9208 on a paragraph insertion.
9210 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9212 * buffer.C (asciiParagraph): use += operator for char append to
9215 * paragraph.C (getFontSettings): compare >= not just >
9216 (highestFontInRange): ditto
9219 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9221 * paragraph.C: change several algorithm to be more appripriate for
9222 the problem domain. This is lookip in FontList and in the InsetList.
9224 2002-03-13 André Pönitz <poenitz@gmx.net>
9227 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9229 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9234 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9236 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9238 * Painter.C (display): anon helper function, adjust code for this
9240 (pixmap): remove function.
9242 * Painter.h: remove private display variable.
9244 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9246 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9248 * WorkArea.[Ch]: remove figinset_canvas cruft.
9250 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9252 * lyxtextclass.C (operator): add one item cache optimization.
9254 * bufferlist.h: doxy changes
9256 * bufferlist.C: ws changes
9258 * DepTable.[Ch] (ext_exist): place const in the right spot.
9260 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9262 (workAreaExpose): call resizeInsets when the with BufferView changes.
9263 (Dispatch): adjust for protectedBlank removal
9264 (specialChar): call updateInset if the insert went ok.
9266 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9267 specialChar instead.
9269 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9271 * BufferView.h: doxy change
9273 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9275 * lyxtextclass.C (operator[]): remove non-const version
9276 (defaultLayout): remove non-const version
9278 2002-03-12 Juergen Vigna <jug@sad.it>
9280 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9281 did resize the LyXText too.
9283 * buffer.C (readLyXformat2): set layout information on newly allocated
9286 * tabular.C (OldFormatRead): set layout information on the paragraph.
9288 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9290 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9292 2002-03-11 Juergen Vigna <jug@sad.it>
9294 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9296 (resizeCurrentBuffer): force also the insets to resize themselfes.
9297 (moveCursorUpdate): fixed up for InsetText.
9299 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9302 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9303 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9304 value of Dialogs::tooltipsEnabled().
9305 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9307 2002-03-08 Juergen Vigna <jug@sad.it>
9309 * BufferView_pimpl.C (updateInset): update inset inside inset also
9310 if it isn't inside theLockingInset().
9312 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9314 * buffer.C (asciiParagraph): redo some of the word and line length
9316 (getLists): look for Caption instead of caption.
9318 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9320 * buffer.C (Buffer): initialize niceFile to true
9323 (makeDocBookFile): make sure niceFile is true on exit
9325 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9327 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9329 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9331 * LyXSendto.C: remove.
9332 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9333 * lyx_gui.C: remove now-redundant comment.
9334 * ColorHandler.h: remove forward declaration of class WorkArea.
9335 * lyxfunc.C: remove #include "WorkArea.h".
9337 2002-03-07 Juergen Vigna <jug@sad.it>
9339 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9340 got moved away with the DEPM and also set the inset_owner always
9341 right which before could have been omitted.
9343 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9345 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9346 wanted layout is not found.
9348 2002-03-07 Juergen Vigna <jug@sad.it>
9350 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9352 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9354 * paragraph.C (breakParagraph): use default layout not layout of
9356 (Paragraph): clear ParagraphParameters.
9358 2002-03-06 Juergen Vigna <jug@sad.it>
9360 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9361 otherwise it would not be a valid lenght. Fixed a special case in
9362 the minipage compatibility read where we end the document with a
9365 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9366 was set as it could be 0 for InsetTexts first entry.
9368 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9370 * paragraph.C (writeFile): if layout is empty write out
9371 defaultLayoutName().
9373 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9374 file without named layout we set layout to defaultLayoutName().
9376 2002-03-06 Juergen Vigna <jug@sad.it>
9378 * CutAndPaste.C (copySelection): set layout for new paragraph.
9380 * text.C (prepareToPrint): leave ERT inset left aligned
9381 (leftMargin): don't indent paragraphs inside ERT insets
9383 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9385 * paragraph.C (breakParagraph): dont call clear do the work manually
9387 * paragraph.[Ch] (clear): remove function
9389 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9391 * paragraph.C (Paragraph): dont call clear, the work has already
9394 * lyxtextclass.C (operator): assert if n is empty
9396 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9397 work manually instead.
9399 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9401 * BufferView_pimpl.C: protect selectionLost against text == 0
9403 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9405 * text.C (breakParagraph): fix a setting layout to '0' problem.
9407 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9409 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9410 final location of file, for the included files, and graphics.
9412 2002-03-05 Juergen Vigna <jug@sad.it>
9414 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9416 2002-03-04 Juergen Vigna <jug@sad.it>
9418 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9420 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9421 last column of multicolumn cells.
9422 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9424 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9426 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9427 file if it doesn't go to a temporary file.
9429 * buffer.C (sgmlOpenTag):
9430 (sgmlCloseTag): remove extra newline insertion.
9432 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9434 * text.C (getRowNearY): comment out debug msg
9436 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9438 * text2.C: first -> first_y
9440 * text.C (getRowNearY): add some attemts at a possible
9441 optimization, not working.
9443 * tabular.[Ch]: add BufferParams to several function so that newly
9444 created paragraph can be initialized to he default layotu for the
9447 * tabular-old.C (ReadOld): add buf->params to call of Init
9449 * screen.C: rename text->first to text->first_y
9451 * paragraph.C (breakParagraph): always set layout in the broken
9454 * lyxtextclass.C (Read): remove lowercase
9457 (delete_layout): ditto
9459 * lyxtext.h: rename first -> first_y
9461 * lyxlayout.C (Read): remove lowercase
9464 (obsoleted_by): ditto
9466 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9468 * buffer.C (insertErtContents): add params are to InsetERT
9469 (parseSingleLyXformat2Token): add code to check if a paragraphs
9470 layout really exist.
9471 (parseSingleLyXformat2Token): add params to several inset
9473 (asciiParagraph): remove lowercase, do the layout comparisons with
9476 * BufferView_pimpl.C (cursorNext): first -> first_y
9477 (resizeCurrentBuffer): first -> first_y
9478 (updateScrollbar): first -> first_y
9479 (scrollCB): first -> first_y
9480 (workAreaMotionNotify): first -> first_y
9481 (workAreaButtonPress): first -> first_y
9482 (checkInsetHit): first -> first_y
9483 (cursorPrevious): first -> first_y
9484 (cursorNext): first -> first_y
9485 (Dispatch): add buffer_->params to severl inset contructors
9487 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9489 * lyxlayout.C (Read): remove some debug info that I forgot.
9491 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9492 clean up the code slightly.
9493 (makeLinuxDocFile): ditto
9494 (makeDocBookFile): ditto
9496 * text2.C: layout as string
9498 * text.C: layout as string
9500 * paragraph_pimpl.C: layout as string
9502 * paragraph.[Ch]: layout as string
9504 * lyxtextclasslist.[Ch]: layout as string
9506 * lyxtextclass.[Ch]: layout as string
9508 * lyxtext.h: layout as string
9510 * lyxlayout.[Ch]: layout as string
9512 * lyx_cb.C: layout as string
9514 * bufferview_funcs.C: layout as string
9516 * bufferparams.C: layout as string
9518 * buffer.C: layout as string
9520 * LyXView.[Ch]: layout as string
9522 * LaTeXFeatures.[Ch]: layout as string
9524 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9526 * BufferView_pimpl.C: change current_layout to string, remove
9531 (workAreaButtonRelease): layout as string
9533 * BufferView2.C (unlockInset): adjust
9535 * vspace.C (asLatexCommand): use an explict temp variable.
9537 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9539 * Makefile.am: use FRONTEND_*
9541 2002-03-01 Juergen Vigna <jug@sad.it>
9543 * tabular.C (SetWidthOfMulticolCell): changed to something better
9544 I hope but still work in progress.
9545 (recalculateMulticolumnsOfColumn): renamed function from
9546 recalculateMulticolCells as it is more appropriate now.
9547 (SetWidthOfCell): calculate multicols better.
9549 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9551 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9553 * lyxfunc.C (processKeySym): print sequence also if it is
9554 `deleted' (complete)
9556 * kbsequence.C (print): print sequence even if it is deleted
9557 (complete would be a better word, actually).
9559 * lyxfunc.C (dispatch): print complete options after a prefix key
9561 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9563 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9565 * text2.C (setCharFont): eliminate setCharFont code duplication.
9567 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9569 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9570 LFUN_TABULAR_FEATURE (bug #177)
9572 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9574 * Makefile.am: remove figure.h
9576 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9578 * Bufferview_pimpl.C:
9590 * text2.C: remove #include "lyx_gui_misc.h".
9592 * LaTeX.C: added #include <cstdio>
9594 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9596 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9597 that the paragraph following this one can have.
9599 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9601 * vspace.C (asLatexCommand): fix bogus gcc warning
9603 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9605 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9607 * text2.C (setLayout): get rid of redundant code
9609 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9611 * text2.C (incDepth): make sure depth cannot be increased beyond
9614 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9616 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9617 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9619 * PainterBase.h (image):
9620 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9623 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9627 * BufferView_pimpl.C:
9628 * BufferView_pimpl.h:
9648 * sp_spell.C: remove fig inset, and the crap house of
9649 cards that follows it
9651 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9657 * nt_defines.h: move .h into support/
9659 * vms_defines.h: remove
9661 * WorkArea.C: add space in debug output
9665 * buffer.C: add WITH_WARNINGS
9669 * bufferlist.C: s/retrive/retrieve/, add docs
9680 * lyxgui.C: add ID to X error handler
9682 * lyxtestclass.c: fix typo
9684 2002-02-26 Juergen Vigna <jug@sad.it>
9686 * tabular_funcs.C (write_attribute): changed so that some default
9687 attributes are not written at all.
9688 (getTokenValue): set default values before trying to read the
9689 value so we have the return value always set as default if we don't
9690 find the token we search for.
9692 * tabular.C (Write): write bools as bools not as strings!
9694 2002-02-22 Juergen Vigna <jug@sad.it>
9696 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9697 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9699 * text.C (leftMargin): don't add an indent for paragraphs inside
9700 tabular cells (fix #208).
9702 2002-02-21 José Matos <jamatos@fep.up.pt>
9704 * tabular.C (docBook): fixed support for long tables.
9706 2002-02-20 Juergen Vigna <jug@sad.it>
9708 * text2.C (getFont): get the drawing font of the Inset if this
9709 paragraph is inside an inset (only important for InsetERT for now).
9711 * buffer.C (insertErtContents): use new lanugage params in ERT
9714 * CutAndPaste.C: commenting out seemingly uneeded code.
9716 2002-02-19 Allan Rae <rae@lyx.org>
9718 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9719 Iterators might be simple to use but they also get invalidated.
9720 (removeAutoInsets): renamed saved cursor tracking variables and added
9721 some comments to clarify what everything does.
9723 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9730 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9731 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9734 * vc-backend.h: remove #include "support/syscall.h"
9738 * converter.C: rearrange #includes in Lars' approved fashion.
9740 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9741 forward declare class Timeout in the header file.
9743 * XFormsView.C: changes due to the above.
9745 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9748 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9749 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9751 2002-02-18 José Matos <jamatos@fep.up.pt>
9753 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9756 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9758 * a lot of small ws changes
9759 * add a lot of using std::XXX
9760 * use std construcs some places where approp.
9761 * use some exisint stuff from lyxfunctional where approp.
9762 * Make file changes to use partial linking (lets test this now...)
9764 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9768 remove #include "support/syscontr.h" as it's redundant. Always has been.
9776 change Systemcalls::System to Systemcalls::Wait and
9777 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9778 No change of functionality, just reflects the stripped down Systemcalls
9781 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9783 * debug.[Ch]: add a GRAPHICS type to the enum.
9785 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9787 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9789 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9792 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9794 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9795 match the changes below.
9797 * text2.C (toggleInset): if there is not editable inset at cursor
9798 position, try to see if cursor is _inside_ a collapsable inset
9801 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9803 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9804 document menu has a nice checkbox
9806 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9808 * lyxlength.C (asLatexString): change PW to output as percent of
9811 * lengthcommon.C: change '%' to 't%'
9813 * lyxfunc.C (dispatch): a few comments from Martin
9815 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9819 * BufferView_pimpl.h:
9820 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9823 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9825 * vspace.C (inPixels): fix compiler warning
9827 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9829 * lyxfunc.C (getStatus): fix status message for disabled commands.
9831 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9833 * BufferView_pimpl.C: fix crash on close buffer
9834 during selection (#227)
9836 2002-01-27 Herbert Voss <voss@lyx.org>
9838 * buffer.C: link old Figure to new graphic inset
9840 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9842 * FontLoader.C (getFontinfo): Change the latex font names in order
9843 to match the names of type1inst.
9845 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9847 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9849 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9852 (remove_files_with_extension): ditto
9853 (remove_file): ditto
9856 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9857 document is smaller than the work area height. Do not initialize
9858 static variables to 0.
9860 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9862 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9864 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9865 LFUN_LAYOUT_PARAGRAPHS.
9867 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9868 tabular. It is possible to provide a possible cell, which will
9869 typically be the actcell from the corresponding insettabular
9871 * lyxfunc.C (getStatus): small cleanup; disable
9872 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9875 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9877 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9879 * paragraph.C (startTeXParParams):
9880 (endTeXParParams): new methods. The LaTeX code to
9881 start/end paragraph formatting
9882 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9883 empty (fixes bug #200)
9885 * vspace.C (inPixels): adapt to the change below
9886 (inPixels): [later] more cleanups (remove unused variables)
9888 * lyxlength.C (inPixels): change to use a width and a height as
9891 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9893 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9894 Replaced with \paperwidth
9896 * DepTable.C (insert): add std:: qualifier
9898 2002-01-18 Allan Rae <rae@lyx.org>
9900 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9903 * text.C (drawInset): Turned out I didn't know enough about how
9904 rebreaking worked. This fixes most of the redraw problems. I see
9905 an occasional cursor trail when a line is broken now and the cursor
9906 placement can seem out by a few pixels also after a rebreak.
9908 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9910 * buffer.C (parseSingleLyXformat2Token): update because minipage
9911 width is now a LyXLength
9913 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9915 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9918 2002-01-17 Juergen Vigna <jug@sad.it>
9920 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9922 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9923 is set correctly and the inset is updated correctly.
9925 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9927 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9928 the beginning of the loop.
9930 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9932 * lyxrc.C: improve help for use_scalable_fonts
9934 2002-01-17 Allan Rae <rae@lyx.org>
9936 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9938 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9940 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9941 make sure to set their inset_owner to the right value (bug #171)
9943 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9946 * DepTable.C: Implement mtime checking to reduce time spent doing
9949 2002-01-16 Juergen Vigna <jug@sad.it>
9951 * tabular.C (GetAdditionalHeight): one of error fixed.
9953 * lyxrc.C (output): small fix in writing use_pspell.
9955 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9957 * sp_base.h: #include LString.h
9959 2002-01-16 Allan Rae <rae@lyx.org>
9961 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9962 Can someone check this please?
9964 * text.C (drawInset): It was possible that p.row would be removed by
9965 breakAgainOneRow upsetting a few other settings. There may be another
9966 small tweak possible by setting need_break_row = 0 when p.row has been
9967 removed but I don't know enough about the logic here.
9969 2002-01-15 Allan Rae <rae@lyx.org>
9971 * text.C (insertChar): removed conditional truism.
9973 * BufferView2.C (removeAutoInsets): More tweaks.
9974 cur_par_prev could be a stray pointer. Check for trailing empty line
9975 in case last line was cur_par and only had an error inset on it.
9977 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9979 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9982 * vc-backend.C (most methods):
9983 * exporter.C (Export):
9984 * converter.C (convert):
9986 * LyXSendto.C (SendtoApplyCB):
9987 * lyxfunc.C (dispatch):
9991 * lyx_cb.C (AutoSave):
9993 * BufferView_pimpl.C (MenuInsertLyXFile):
9994 * buffer.C (runChktex): use Buffer::filePath().
9996 * buffer.h: rename filename to filename_; rename filepath to
9997 filepath_ and make it private
9998 (filePath): new method
10000 * buffer.C (writeFile): use fileName()
10003 * lyx_main.C (init): fix starting of LyX when the binary is a
10004 link from so,ewhere else.
10006 * minibuffer.C: include <cctype> for isprint
10008 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10010 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10011 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10012 name clash with InsetCollapsable's width function.
10014 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10016 * lastfiles.C: include <iterator>
10018 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10020 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10023 * buffer.C (makeLaTeXFile): ditto.
10024 Also make loop operation more transparent.
10026 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10028 * ToolbarDefaults.C: remove trailing comma closing namespace.
10030 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10032 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10035 * trans.C (Load): comment out unused variable, allowed.
10037 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10039 * minibuffer.[Ch] (append_char): new method to recieve input from the
10040 drop-down completion browser. If a key was pressed, then recieve this
10041 char and append it to the existing string.
10042 (peek_event): modify the positioning data passed to the completion
10043 browser so that it can be placed above the minibuffer rather than below.
10044 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10046 * LyXAction.C (init): alloe error-next for readonly documents.
10048 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10051 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10053 * bufferlist.C (readFile): create the buffer _after_ checking that
10056 * lyxfunc.C (verboseDispatch): fix handling of arguments
10058 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10060 * lyxrc.C: use string::erase() instead of initializing to "".
10063 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10065 * BufferView_pimpl.h:
10066 * BufferView_pimpl.C:
10069 * text2.C: tell X when we have made a selection for copying
10071 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10073 * BufferView_pimpl.C (MenuInsertLyXFile):
10074 * lyxfunc.C (menuNew):
10076 (doImport): add shortcuts to directory buttons
10078 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10081 * lyxfunc.C (setStatusMessage):
10082 (getStatusMessage): new methods
10083 (getStatus):use setStatusMessage instead of setErrorMessage
10084 (dispatch): when function is disabled, set error message here
10085 [instead of in getStatus previously]
10087 * BufferView_pimpl.C (workAreaButtonRelease): update
10088 toolbar/menubar here too.
10090 2002-01-13 Allan Rae <rae@lyx.org>
10092 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10093 Now seems indestructible. Remaining task is to audit all other
10094 code affected by deleteEmptyParagraphMechanism. One small quirk
10095 left is that an empty document with an error in the preamble can
10096 be made to report an error but no error box appears. I don't know
10098 (removeAutoInsets): Improved comments.
10100 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10103 * Thesaurus.C: update for Aiksaurus 0.14
10105 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10107 * text2.C (firstParagraph): removed member function, all uses
10108 replaces with ownerParagraph
10109 (redoParagraphs): here
10110 (updateInset): here
10111 (toggleAppendix): here
10112 * BufferView2.C (insertErrors): here
10113 (setCursorFromRow): here
10115 2002-01-13 Allan Rae <rae@lyx.org>
10117 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10118 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10119 There is still a way to segfault this although you may have to do this
10120 multiple times: Have an InsetERT with an unknown command in it.
10121 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10122 <down-arrow>, <Enter> again, View->DVI, BANG!
10124 * text2.C (setCursor):
10125 (deleteEmptyParagraphMechanism):
10126 * lyxtext.h (setCursor):
10127 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10128 Making use of the return value may help fix other bugs.
10130 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10132 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10134 * LyXView.C (updateMenubar): call MenuBar::update here
10135 (updateToolbar): but not here
10136 (showState): do not update toolbar/menubar
10138 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10139 should need to care about that.
10141 * lyxfunc.C (verboseDispatch): simplify a bit
10142 (getStatus): have a version which takes a pseudoaction, and
10143 another which requires a (kb_action,string).
10145 * LyXAction.C (retrieveActionArg): make it work also when action
10146 is not a pseudo-action.
10147 (getActionName): simplify a bit
10150 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10152 * lyxfunc.C (verboseDispatch): new families of methods with
10153 several ways to specify a command and a bool to indicate whether
10154 the command name and shortcut should be displayed in minibuffer
10155 (eventually, we could extend that to a finer bitmask like
10156 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10157 (dispatch): the pristine dispatch command which just, well,
10158 dispatchs! Note it still sets its result to minibuffer; I'm not
10161 * lyxfunc.h: remove setHintMessage
10163 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10165 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10167 * BufferView_pimpl.C (specialChar): delete new inset if we have
10168 not been able to insert it.
10170 * kbmap.C: revert to using int instead of kb_action, since all we
10171 are dealing with is pseudo-actions.
10173 * LyXAction.C (searchActionArg): change to return int instead of
10174 kb_action, since the result is a pseudoaction.
10176 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10178 * buffer.C (insertErtContents): Fix (partially) the font bug.
10180 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10182 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10183 as the other one is broken on my machine!
10185 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
10188 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10190 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
10192 * lyxrc.[Ch]: change names and descriptions of popup font variables to
10193 reflect their actual use. Provide compatibility code for older lyxrc
10196 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10198 change names of popup font variables in line with the changes to lyxrc.C
10200 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10202 * buffer.C (asciiParagraph): avoid outputing a word twice after
10205 * lyxrc.C (getDescription): document that document_path and
10206 template_path can be empty.
10208 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10210 * LaTeXFeatures.C (getMacros):
10211 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10213 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10215 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10217 (getPackages): rename feature "floats" to "float". Use an array to
10218 iterate over 'simple' features (i.e. just a \usepackage). Add
10219 handling of "amsmath" (renamed from "amsstyle").
10221 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10223 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10226 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10228 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10229 FuncStaus::FuncStatus & FuncStaus::some_method().
10231 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10233 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10234 of the func_satus stuff. Edited and massaged in various ways by
10237 * lyxfunc.C (getStatus): use FuncStatus
10239 2002-01-08 Juergen Vigna <jug@sad.it>
10241 * text.C (nextBreakPoint): use function Inset::isChar().
10243 * paragraph.C (TeXOnePar): use function
10244 Inset::forceDefaultParagraphs.
10246 * buffer.C (latexParagraphs): use function
10247 Inset::forceDefaultParagraphs.
10249 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10251 * lyx_gui.C (init): set the style of the menu popups to
10252 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10254 2002-01-07 Juergen Vigna <jug@sad.it>
10256 * text.C (setHeightOfRow): small fix
10257 (prepareToPrint): don't look at alignment if we don't have the place
10260 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10262 * box.C: New file. Move the Box methods and functions out of box.h,
10263 following Lars' suggestion.
10265 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10267 * box.h: #include "support/LOstream.h", needed for inlined function.
10270 * lyxtextclasslist.C: added some using std declarations.
10272 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10274 * box.h: make signed dimensions to allow insets wider than
10275 the screen (bug #162)
10277 * BufferView_pimpl.C: add some insetHit debug
10279 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10281 * vc-backend.C: add FIXME
10283 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10285 * lyxfunc.C (getStatus): enable code for showing math font status
10288 2002-01-07 Juergen Vigna <jug@sad.it>
10290 * text.C (nextBreakPoint): removed debug output not needed anymore.
10292 2002-01-06 Juergen Vigna <jug@sad.it>
10294 * text.C (nextBreakPoint): fixed up this function we had this bug
10295 since ever but now hopefully we break row better.
10296 (insertChar): we have to check if an inset is the next char as it
10297 could now happen that a large inset is causing a break.
10299 2002-01-05 Juergen Vigna <jug@sad.it>
10301 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10302 if it doesn't like to be drawed.
10304 2002-01-04 Juergen Vigna <jug@sad.it>
10306 * BufferView2.C (lockInset): forgot to set a cursor.
10308 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10310 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10312 * FormMathsPanel.C:
10315 * form_maths_panel.C:
10316 * form_maths_panel.h:
10317 * form_maths_panel.fd: implemented sub- and super- buttons in math
10320 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10321 (or ^ space) to be used as in TeX (req'd by André).
10323 * lyxfunc.C: Allow ^ and _ again to be used both as
10324 super/subscript (mathed) and as themselves (in text).
10326 2002-01-03 Allan Rae <rae@lyx.org>
10328 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10329 "LyX" or the filename of the current buffer if it has one. This is a
10330 modified form of John Levon's patch.
10332 * XFormsView.C (setWindowTitle): also set icon title.
10334 * LyXView.h (setWindowTitle): signature changed.
10335 * XFormsView.h (setWindowTitle): ditto.
10337 2002-01-02 Juergen Vigna <jug@sad.it>
10339 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10341 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10343 * screen.C (topCursorVisible): introduce a temp var for
10344 text->cursor.row(), handle the case where this row is null. (kindo
10347 * text2.C (setCursor): add a couple of asserts.
10349 * paragraph.h (inset_iterator): add -> operator
10351 * paragraph.[Ch] (autoDeleteInsets): remove member function
10353 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10354 cursor pos correctly and handle inset deletion by itself.
10355 (insertErrors): move iterator declaration out of for expression
10357 * lyxtextclass.C: add <algorithm>
10359 * Makefile.am: added the new files to sources, removed layout.C
10361 * layout.C: removed file
10363 * layout.h: remove LYX_DUMMY_LAYOUT
10365 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10369 * lyxtextclass.[Ch]:
10370 * lyxtextclasslist.[Ch]: new files
10372 * include order changes to a lot of files, also changes because of
10375 2001-12-27 Juergen Vigna <jug@sad.it>
10377 * buffer.C (asciiParagraph): more fixes.
10379 * tabular.C (ascii): make ascii export support export of only the
10380 data separated by a column-delimiter.
10381 (ascii): better support for ascii export.
10383 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10385 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10387 * tabular_funcs.C: use a "using std::getline" instead of the
10388 previous fix from Angus (necessary for cxx + lyxstring)
10390 2001-12-24 Juergen Vigna <jug@sad.it>
10392 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10394 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10395 problems. First check a minipage also if we have some ert-contents
10396 (not only on par->size(), second set the right depth of the paragraph
10397 on the relink to the root-paragraph-list!
10399 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10400 which then did not anymore update the main paragraphs on undo/redo!
10402 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10404 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10405 code. Support all font-changing funcs (even those which are not in
10406 menu currently). Support for reporting font settings in
10407 mathed (disabled until Andre provides a function on mathed's side).
10409 * func_status.h (toggle): small helper function to set toggle
10412 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10414 * tabular_funcs.C: getline -> std::getline
10416 2001-12-21 Juergen Vigna <jug@sad.it>
10418 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10419 accessed and could be 0 (I couldn't generate this but it seems
10422 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10424 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10425 * tabular_funcs.h: here and include iosfwd
10427 2001-12-20 Juergen Vigna <jug@sad.it>
10429 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10430 inside inset but undo_par was.
10432 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10434 * Thesaurus.C: always include <config.h> in sources.
10438 * box.h: do not include <config.h> in header files
10440 * text.C (paintLastRow): remove unused variable
10442 * text.C (transformChar):
10444 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10446 * Painter.C (text):
10447 * font.C (width): rewrite to use uppercase() instead of
10450 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10452 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10454 * lyxfind.C: clean up of find failure position change
10456 2001-12-20 Juergen Vigna <jug@sad.it>
10458 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10460 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10461 (TeXRow): added to LaTeX a single tabular row.
10462 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10463 (Latex): simplified and finally good LT-h/f support.
10464 (various_functions): just small adaptions for LT-h/f support.
10466 * tabular_funcs.[hC]: added and moved here all not classfunctions
10469 2001-12-19 Juergen Vigna <jug@sad.it>
10471 * tabular.[Ch]: better support for longtabular options (not finished
10474 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10476 * text.C (paintLastRow): use the label font instead of the font of
10477 the last character to compute the size of *_BOX. This makes more
10478 sense and avoids a crash with empty paragraphs.
10479 Use Painter::rectangle to draw EMPTY_BOX.
10481 2001-12-19 Juergen Vigna <jug@sad.it>
10483 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10484 the paragraphs if the replaced paragraph is not the first one!
10485 Tried to delete not used paragraphs but does not work yet so for
10486 now it's inside #ifdef's and by default off!
10488 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10490 * MenuBackend.C: include "lyx_main.h" instead of declaring
10491 lastfiles (actually was declared as LastFiles* instead of a
10494 2001-12-17 Juergen Vigna <jug@sad.it>
10496 * tabular.C (AppendColumn): applied John's fix
10498 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10502 * BufferView_pimpl.h:
10503 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10506 * box.h: new start of class for above
10508 * lyxfunc.C: ignore space-only minibuffer dispatches.
10509 Show the command name when it doesn't exist
10511 * minibuffer.C: don't add empty lines to the history
10513 * minibuffer.C: add a space on dropdown completion
10515 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10517 * text.C: fix line above/below drawing in insets
10519 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10521 * lyxlength.C (LyXLength): Initialize private variables.
10523 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10525 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10526 when inserting error insets.
10528 2001-12-13 Juergen Vigna <jug@sad.it>
10530 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10531 actually sometimes the before-paragraph.
10532 (setUndo): don't clear the redostack if we're not actually undoing!
10534 2001-12-06 Juergen Vigna <jug@sad.it>
10536 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10537 and fixed redoing of main paragraph, so we can use it now ;)
10539 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10541 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10543 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10546 2001-12-13 André Pönitz <poenitz@gmx.net>
10549 * undo_func.C: minor cleanup
10551 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10553 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10554 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10555 font in urw-fonts package which is marked as -urw-fontspecific and
10556 does not work (incidentally, changing the encoding in the
10557 fonts.dir of this package to -adobe-fontspecific fixes the
10560 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10561 is a crash when undoing first paragraph (Juergen, please take a
10562 look). THis does not mean the undo fix is wrong, just that it
10565 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10566 the (Paragraph*) version when needed instead of duplicating the
10569 * text.C (workWidth): use Inset::parOwner to find out where the
10570 inset has been inserted. This is a huge performance gain for large
10571 documents with lots of insets. If Inset::parOwner is not set, fall
10572 back on the brute force method
10574 * paragraph_pimpl.C (insertInset):
10575 * paragraph.C (Paragraph):
10576 (cutIntoMinibuffer): set parOwner of insets when
10577 inserting/removing them
10579 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10581 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10587 * mathed/formulabase.C:
10588 * mathed/math_cursor.[Ch]:
10589 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10592 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10594 * lyxlength.[Ch] (operator!=): new function
10596 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10598 * text.C (workWidth): use Inset::parOwner to find out where the
10599 inset has been inserted. This is a huge performance gain for large
10600 documents with lots of insets. If Inset::parOwner is not set, fall
10601 back on the brute force method
10603 * paragraph_pimpl.C (insertInset):
10604 * paragraph.C (Paragraph):
10605 (cutIntoMinibuffer): set parOwner of insets when
10606 inserting/removing them
10608 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10610 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10612 * tabular-old.C (getTokenValue):
10613 * tabular.C (getTokenValue):
10614 (write_attribute): new versions for LyXLength
10615 (everywhere): adjust the use of widths
10617 * tabular.h: change the type of widths from string to LyXLength
10619 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10621 * paragraph.C: fixed missing line number count when exporting
10622 Environments to LaTeX file
10624 * buffer.C: added informational message for checking line numbers.
10626 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10628 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10629 paragraph, do the 'double space' part, but not the 'empty
10632 * text.C (workWidth): small optimization
10633 (getLengthMarkerHeight): use minimal size for negative lengths.
10635 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10637 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10639 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10641 2001-12-11 André Pönitz <poenitz@gmx.net>
10644 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10646 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10648 * text2.C: keep selection on a setFont()
10650 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10652 * lyx_cb.C: another bv->text misuse, from insert label
10654 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10657 * kbsequence.C: re-instate nmodifier mask
10659 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10661 * lyx_main.h: make lyxGUI private.
10663 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10665 * lyxfind.C: place the cursor correctly on failed search
10667 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10669 * text.C (getLengthMarkerHeight): for small heights, the arrows
10670 are not always on top/bottom of the text
10671 (drawLengthMarker): smaller arrows; take the left margin in
10672 account; draw also vfills.
10674 (paintLastRow): remove special code for vfill and standard spaces,
10675 since everything is handled in drawLengthMarker now.
10677 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10679 * buffer.C (insertErtContents): try to handle font and language
10680 interaction a bit better.g
10682 * ColorHandler.C (updateColor): change the hash to cover the whole
10683 LColor enum, ws cleanup
10684 (getGCLinepars): ditto
10685 (getGCLinepars): only lookup in the linecache once.
10687 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10689 * iterators.C (operator++): Make the iterator more robust
10691 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10693 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10695 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10698 * text.C: better added space drawing
10700 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10703 * BufferView2.C: fix layout combo update on inset unlock
10705 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10707 * Makefile.am: don't compile unused files
10709 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10713 * LyXAction.C: remove old LFUN_LAYOUTNO
10715 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10717 * paragraph_pimpl.h:
10718 * paragraph_pimpl.C: isTextAt() doesn't need font param
10720 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10723 * lyxlex.C: little cleanup
10725 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10727 * BufferView_pimpl.C: fix insertAscii for insets
10729 2001-12-05 Juergen Vigna <jug@sad.it>
10731 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10732 set the right font on the "multi" paragraph paste!
10734 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10740 * lyxlength.C: remove out-commented code.
10742 * BufferView_pimpl:
10756 * vc-backend.C: change "while(" to "while ("
10758 * lyxlength.[Ch]: add zero function to check if length is zero or
10760 * lyxgluelength.C: use it
10762 2001-12-05 Allan Rae <rae@lyx.org>
10764 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10765 Works for 2.95.3, from what I understand of Garst's reports this should
10766 work for other g++ versions. We're screwed if the abs(int) definition
10767 changed between bugfix releases of gcc.
10769 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10771 * text.C: fix chapter label offset !
10773 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10776 * text.C: fix hfill at end of line, clean up
10778 2001-12-04 Juergen Vigna <jug@sad.it>
10780 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10781 that we force an update of the inset and it's owners if neccessary.
10783 2001-12-03 Juergen Vigna <jug@sad.it>
10785 * text.C (rowLast): simplified code
10787 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10789 * lyxfunc.C: fix show options on timeout
10791 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10793 * screen.C (topCursorVisible): scroll half a page when the cursor
10794 reached top of bottom of screen
10796 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10798 * minibuffer.C: deactivate on loss of focus
10800 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10802 * vspace.[Ch] (operator!=): add operator.
10804 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10806 * BufferView_pimpl.C: refuse to open an inset when
10807 there's a selection.
10809 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10811 * BufferView_pimpl.C: allow to click on RHS of full row insets
10813 2001-11-30 Juergen Vigna <jug@sad.it>
10815 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10816 insets for undo reasons.
10818 2001-11-28 André Pönitz <poenitz@gmx.net>
10820 * vspace.[Ch]: cosmetical changes
10822 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10832 * kbsequence.C: part re-write of old kb code
10835 * WorkArea.C: remove Lgb_bug_find_hack
10837 2001-11-30 José Matos <jamatos@fep.up.pt>
10839 * buffer.C (makeDocBookFile): add a comment to point a hack.
10840 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10841 Fixed a double write of labels.
10843 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10846 * LaTeX.h Fixed bug in LaTeX class where it would not
10847 re-run latex if no depfiles were changed, but the .dvi was removed.
10849 2001-11-28 André Pönitz <poenitz@gmx.net>
10851 * all the files from the change on 2001/11/26:
10852 use lyx::layout_type instead of LyXTextClass::size_type
10853 use lyx::textclass_type instead of LyXTextClassList::size_type
10855 2001-11-29 Juergen Vigna <jug@sad.it>
10857 * text.C: added support for paragraph::isFreeSpacing()
10859 * buffer.C: same as above
10861 * paragraph.h: inserted isFreeSpacing() function to enable
10862 FreeSpacing inside InsetERT.
10864 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10865 of the paragraph's in the cut/copy buffer to 0!
10867 * text2.C (removeRow): remove the assert as it can!
10869 * lyxtext.h: added helper function firstRow returning firstrow and
10870 made firstrow private again.
10872 * BufferView2.C (lockInset): don't relock if we're already locked!
10874 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10875 the only paragraph.
10876 (removeRow): added Assert::(firstrow)
10878 * debug.C: forgot to add INSETTEXT here.
10880 2001-11-28 Juergen Vigna <jug@sad.it>
10882 * sp_spell.C (initialize): changed error text to more general
10883 spellchecker command use (not only ispell!)
10885 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10887 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10889 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10891 * vspace.C: initialise lyxgluelength on failure
10893 2001-11-28 Allan Rae <rae@lyx.org>
10895 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10896 declaration & definition that looks like a function declaration.
10898 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10900 * BufferView2.C (copy):
10901 (copyEnvironment): do not clear the selection when doing a copy.
10903 * text.C (paintFirstRow): compilation fix
10905 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10907 * tabular.C (Latex): correct line count when writing latex.
10909 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10911 * paragraph_pimpl.h:
10912 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10915 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10919 * LColor.C: change vfillline->added_space
10921 * text.C: add markers and text for added space
10923 * vspace.C: fix comment
10925 2001-11-28 André Pönitz <poenitz@gmx.net>
10927 * paragraph.C: whitespace changes
10928 * all the other files from the change on 2001/11/26:
10929 change *::pos_type into lyx::pos_type
10931 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10933 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10934 language of the document when inserting error insets.
10936 2001-11-26 André Pönitz <poenitz@gmx.net>
10938 * BufferView_pimpl.[Ch]:
10946 * paragraph_pimpl.[Ch]:
10949 * text2.C: reduce header dependencies, introduce type for positions
10951 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10953 * <various>: change to use Alert.h
10955 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10957 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10958 when encountering an unknown token.
10959 (readLyXformat2): Show an error message if there were unknown tokens.
10961 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10964 * BufferView_pimpl.C:
10968 * text2.C: use par->isInset()
10970 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10972 * paragraph_pimpl.h:
10973 * paragraph_pimpl.C: cleanup
10975 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10977 * text2.C (removeRow):
10978 * text.C (setHeightOfRow): remove useless (and costly) call to
10981 2001-11-20 Allan Rae <rae@lyx.org>
10983 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10984 Now need Inset*::checkInsertChar() to return true for appropriate
10985 cases so that the characters in the minibuffer will actually be
10988 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10990 * text.C: change the order of the includes.
10991 (workWidth): initialize it at once.
10992 (workWidth): make maxw unsigned
10993 (setHeightOfRow): remove unused variable (inset)
10994 (selectSelectedWord): remove unused variable (inset)
10995 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10997 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10999 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11000 server is not running.
11002 (closeConnection): add debug info when server is disabled.
11004 * ColorHandler.C (getGCForeground): send debug message to GUI
11007 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11009 * kbmap.C (bind): modify because return conventions of
11010 kb_sequence::parse have changed.
11012 * kbsequence.C (parse): only ignore spaces and not any stupid
11013 control character. This avoids tests like s[i] <= ' ', which are
11014 guaranteed to fail with 8bit characters and signed chars.
11015 Change return code to string::npos when there have been no error
11016 (0 was a bad idea when error is at first character)
11018 2001-11-14 José Matos <jamatos@fep.up.pt>
11021 * buffer.C (simpleDocBookOnePar): removed unused argument.
11023 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11025 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11026 insets which are part of a word. Paragraph::isLetter takes care of
11027 that now. Use Paragraph::isInset to identify insets.
11028 (selectSelectedWord): do not test for hyphenation break.
11030 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11031 that protected spaces are considered as spaces.
11033 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11036 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11039 * lyxserver.C: fix it. and small cleanup.
11041 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11043 * BufferView_pimpl.C: use inline helpers
11046 * LaTeXFeatures.C: fix typos
11049 * Spacing.C: move spacing_string into class
11051 * ToolbarDefaults.C: move stuff into namespace anon
11053 * layout.h: update enum
11055 * lyxfunc.C: use better debug
11057 * minibuffer.h: fix typo
11061 * WorkArea.C: add and use Debug::WORKAREA
11065 * text2.C: code re-organisation, inline helpers
11067 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11069 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11070 std::vector.empty().
11072 2001-11-09 Allan Rae <rae@lyx.org>
11074 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11075 '\n's after tables. Tabular and ERT inset work now makes this no
11078 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11081 * minibuffer.C: fix crash, improve drop-down completion
11083 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11086 * lyxserver.C: invalidate fd's when doing endPipe()
11088 2001-11-08 José Matos <jamatos@fep.up.pt>
11090 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11091 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11094 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11096 2001-11-07 José Matos <jamatos@fep.up.pt>
11099 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11102 * buffer.C (sgmlOpenTag):
11103 * buffer.C (sgmlCloseTag): removed debug info.
11105 * buffer.h (sgmlOpenTag):
11106 * buffer.h (sgmlCloseTag): made public.
11108 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11110 * buffer.C (saveParamsAsDefaults):
11111 * lyx_cb.C (MenuLayoutSave): remove
11113 * LyXAction.C (init):
11115 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11117 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11119 * buffer.C (setPaperStuff): removed from here...
11121 * bufferparams.C (setPaperStuff): ... and moved there.
11123 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11127 * XFormsView.C: add support for drop-down completion
11129 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11131 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11134 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11136 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11139 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11141 * lyx_main.C: change ref to known bugs
11143 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11145 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11146 to work around older babel problems.
11148 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11150 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11152 2001-10-24 Juergen Vigna <jug@sad.it>
11154 * tabular-old.C (ReadOld): below variable changes reflected.
11156 * tabular.[Ch]: added ltType struct for longtable header/footer
11157 defines and changed all instances where they are used. Added
11158 future support for double top/bottom rows.
11160 2001-10-24 José Matos <jamatos@fep.up.pt>
11162 * buffer.h (docbookHandleCaption):
11163 * buffer.C (docbookHandleCaption): removed unused function.
11164 (makeDocBookFile): moved docbook supported version to v4.1.
11166 2001-10-24 José Matos <jamatos@fep.up.pt>
11169 * tabular.C (docbookRow): new function to export docbook code of a row.
11170 (DocBook): now honors the longtable flags.
11172 2001-10-23 José Matos <jamatos@fep.up.pt>
11175 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11176 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11178 * buffer.C (makeLinuxDocFile):
11179 (makeDocBookFile): reworked the preamble, more clean, and with
11180 support for lyx defined entities. Changed the document declaration
11181 to be more XML friendly.
11183 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11184 if we need to output XML that should be done with a filter.
11186 2001-10-22 Juergen Vigna <jug@sad.it>
11188 * sp_pspell.h (class PSpell): add alive function needed in the
11189 controller to see if the spellchecker could be started.
11191 2001-10-22 Juergen Vigna <jug@sad.it>
11193 * buffer.C (insertStringAsLines): modify the font for inserting
11194 chars in certain conditions by calling checkInsertChar(font).
11196 2001-10-19 Juergen Vigna <jug@sad.it>
11198 * text.C (workWidth): use getRow instead of wrong algorithm.
11199 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11201 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11206 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11208 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11210 * text.C (workWidth): do not search for the exact row when
11211 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11212 optimization for big documents.
11214 2001-10-18 Juergen Vigna <jug@sad.it>
11216 * text.C (workWidth): new function with added Inset * parameter.
11218 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11220 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11222 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11223 change return type of getColumnNearX.
11226 * text.C (changeRegionCase): use uppercase/lowercase instead of
11229 (rightMargin): simplify code by factoring out the uses of
11234 (appendParagraph): use Paragraph::size_type
11236 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11238 * vspace.C (asLatexString): add a missing break
11240 2001-10-15 Herbert Voss <voss@perce.de>
11242 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11244 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11246 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11249 2001-10-10 André Pönitz <poenitz@gmx.net>
11251 * lyxfunc.C: removed greek_kb_flag.
11253 2001-10-10 Herbert Voss <voss@perce.de>
11255 * lyx_main.C: delete global string help_lyxdir.
11257 2001-10-09 Herbert Voss <voss@perce.de>
11259 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11261 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11263 * lyx_main.C: added global string help_lyxdir.
11265 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11267 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11269 * lyxrc.C (set_font_norm_type): support iso8859-4
11271 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11273 * LaTeX.C (deplog): add another regex for MikTeX
11275 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11277 * lyxrc.C (set_font_norm_type): support iso8859-3
11279 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11281 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11283 * LaTeXFeatures.C: remove special case of french and index
11285 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11286 before \begin{document}). This solves several incompatibilities.
11288 2001-10-03 Garst Reese <reese@isn.net>
11290 * lyx_cb.C: change CheckTex error msg.
11292 2001-10-03 José Matos <jamatos@fep.up.pt>
11294 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11296 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11298 * .cvsignore: update
11300 * lyx_main.C (commandLineVersionInfo): use new style version info.
11302 * buffer.C (writeFile):
11304 (makeLinuxDocFile):
11305 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11307 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11309 * version.h: update to use stuff in version.C
11311 * version.C.in: new file. Contains version information determined
11312 at compile time. This is a merging of version.h and
11315 2001-10-03 Juergen Vigna <jug@sad.it>
11317 * BufferView_pimpl.C (update): don't change "dirty" status in
11320 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11322 * WorkArea.C (c-tor): re-position version string slightly.
11324 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11326 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11327 revert to previous code.
11329 WorkArea.[Ch]: (show, destroySplash): methods removed.
11331 WorkArea.C: rework code so that it's an amalgam of the codes before and
11332 after the splash screen was moved to WorkArea.
11334 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11337 * vspace.C (inPixels):
11340 * buffer.C (insertStringAsLines):
11341 (asciiParagraph): fix types to be large enough
11343 * lyxlex_pimpl.h: change member status from short to int
11345 * layout.h: fix type of endlabeltype
11348 * kbsequence.C (parse): change return type to string::size_type
11350 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11353 * Bullet.C (bulletSize):
11354 (bulletEntry): do not use short ints as parameters
11356 * BufferView2.C (insertLyXFile): change a char to an int.
11358 * WorkArea.C (WorkArea): remove unneeded floats in computation
11360 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11362 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11364 * paragraph.C (asString): Do not ignore newline/hfill chars when
11365 copying to the clipboard.
11367 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11369 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11370 after a multi-line inset.
11372 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11374 * paragraph.C (validate): Set NeedLyXFootnoteCode
11376 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11378 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11379 and decrease-error to decrease.
11381 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11383 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11384 it more readable (should be equivalent)
11386 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11388 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11390 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11392 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11393 of a cursor (row, etc.) after a character has been deleted
11394 (deleteEmptyParagraphMechanism): call the method above on _all_
11395 cursors held by the LyXText when a double space has been
11398 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11400 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11402 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11404 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11405 background. Use greyOut() and the new show() methods to toggle between
11406 the foreground and background. Add code to remove the splash after
11407 its initial showing.
11409 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11410 (create_forms): no longer call Dialogs::showSplash.
11412 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11414 * .cvsignore: add version_info.h
11416 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11418 * version_info.h.in: new file
11420 * Makefile.am: add version_info.h.in
11422 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11423 version_info.h instead of VERSION_INFO
11425 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11427 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11428 The ERT inset now returns string().
11430 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11432 * lyxtext.h, text.C (selectNextWord): renamed as
11433 selectNextWordToSpellcheck.
11435 * text.C (selectNextWordToSpellcheck): Modified to not select
11436 words inside an ERT inset.
11438 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11440 * lyx_cb.C (MenuLayoutSave): change a bit the question
11442 * sp_base.h: include <sys/types.h>
11444 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11446 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11448 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11450 * several files: fix typos in user-visible strings
11452 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11454 * text2.C (pasteSelection): do not set the selection, since it
11455 will be cleared later. Actually, the intent was to fix the way the
11456 selection was set, but I figured rmoving the code was just as good.
11458 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11460 * FontLoader.C (available): Check if font is available without
11463 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11465 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11467 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11469 * lyxrc.[Ch]: added display_graphics variable and associated code.
11471 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11473 * bufferparams.C (hasClassDefaults): new method. Returns true if
11474 the buffer parameters correspond to known class defaults
11476 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11478 * XFormsView.C (show): set minimum size to the main window.
11480 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11482 * text2.C (copySelection):
11484 * lyxfind.C (LyXReplace):
11485 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11486 LyXText::selectionAsString.
11488 * paragraph.C (asString): add "label" argument to the second form
11490 * text2.C (selectionAsString): add "label" argument and pass it to
11491 Paragraph::asString.
11493 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11495 * lyx_main.C (commandLineHelp): remove version information
11497 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11499 * lyx_main.C: add -version commandline option
11501 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11503 * paragraph.h: make the optional constructor arg required instead.
11504 some modifications to other files because of this.
11506 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11508 * lyxserver.C (C_LyXComm_callback): make it static
11510 * lyx_main.C (error_handler): make it static
11512 * lyx_gui.C (LyX_XErrHandler): make it static
11514 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11516 * WorkArea.C: make the extern "C" methods static.
11518 * Makefile.am (lyx_LDADD): simplify
11520 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11522 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11523 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11525 * LyXAction.C (init):
11526 * lyxfunc.C (dispatch): associated code removal.
11528 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11530 * lyxfont.h (isSymbolFont): shut off warning
11532 * text.C (setHeightOfRow):
11533 (getVisibleRow): fix crash with empty paragraphs which have a
11536 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11538 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11541 2001-09-04 José Matos <jamatos@fep.up.pt>
11544 * tabular.C (docbook): rename docBook method to docbook.
11546 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11548 * Makefile.am: add dependencies to main.o.
11550 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11552 * FontLoader.C (available): Return false if !lyxrc.use_gui
11554 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11556 * FontInfo.C (query):
11557 * converter.C (view):
11558 * importer.C (Import):
11559 * exporter.C (Export): Can not -> cannot.
11561 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11563 * BufferView_pimpl.C: allow to create index inset even if
11566 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11568 * buffer.C (getLists): replace boost::tie code with an explicit pair
11569 as boost::tie can break some compilers.
11571 * iterators.h: Added a std:: declaration to the return type of
11574 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11576 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11579 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11581 * iterators.[Ch]: New files. Provide paragraph iterators.
11583 * buffer.C (changeLanguage): Use paragraph iterators.
11584 (isMultiLingual): ditto
11586 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11588 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11590 * FontLoader.C: Support for cmr font.
11592 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11594 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11595 (available): New method.
11597 * FontInfo.C (getFontname): Use scalable fonts even when
11598 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11601 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11603 * converter.C (Formats::view): reverted! Incorrect fix.
11605 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11607 * converter.C (Formats::view): only output the -paper option
11608 if the dvi viewer is xdvi, thereby fixing bug #233429.
11610 2001-08-23 Herbert Voss <voss@perce>
11612 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11614 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11616 * Spacing.h (Spacing): Set space to Default on in the default
11619 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11621 * vc-backend.h (RCS::versionString): add RCS to version
11622 (CVS::versionString): add CVS to version
11624 * vc-backend.C (scanMaster): do not add CVS to version.
11625 (scanMaster): do not add RCS to version
11627 * lyxvc.C (versionString): new method
11629 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11631 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11633 * Spacing.C (set): initialize fval
11635 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11637 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11640 2001-08-16 Juergen Vigna <jug@sad.it>
11642 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11644 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11646 * BufferView_pimpl.C:
11649 * text2.C: setParagraph takes linespacing now
11651 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11653 * LyxAction.C: add internal LFUN_CITATION_INSERT
11655 * LyXView.C: actually apply fix
11657 * bufferlist.C: fix open non-existent file
11659 * lyxfind.C: fix indentation
11661 * lyxfunc.C: remove unneeded assert, fix typo
11663 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11665 * MenuBackend.C: use "Floatname List"
11667 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11669 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11670 when converting LaTeX layout to insetERT.
11671 Generate a non-collapsed float when reading old float
11673 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11675 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11678 2001-08-13 Juergen Vigna <jug@sad.it>
11680 * text.C (fill): return 0 instead of 20 as this seems to be the more
11683 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11685 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11688 2001-08-13 Juergen Vigna <jug@sad.it>
11690 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11692 (SearchBackward): comment out the unlocking of the inset_owner this
11693 should not be needed!
11695 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11697 * Many files: Remove inherit_language, and add latex_language
11699 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11700 collapsible insets.
11702 2001-08-10 Juergen Vigna <jug@sad.it>
11704 * text.C (prepareToPrint): fixed hfill-width in draw!
11706 * BufferView2.C (selectLastWord): save the selection cursor as this
11707 now is cleared in the function LyXText::clearSelection!
11709 2001-08-08 Juergen Vigna <jug@sad.it>
11711 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11712 BACKSPACE type functions.
11714 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11715 is only cutted from the document but not put in the cut-buffer, where
11716 still the old stuff should be.
11718 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11720 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11722 * tabular.C (SetWidthOfCell): fixed special case where the width
11724 (LeftLine): handle '|' in align_special.
11726 (LeftAlreadyDrawed): ditto
11727 (SetWidthOfCell): ditto
11729 2001-08-07 Juergen Vigna <jug@sad.it>
11731 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11733 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11735 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11736 * lyxlex.[hC]: ditto
11738 2001-08-06 Juergen Vigna <jug@sad.it>
11740 * text.C (getVisibleRow): fix up row clearing a bit.
11742 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11744 * minibuffer.C: make sure the X server sees the changes in the input.
11746 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11748 * paragraph.C (getFont): split into...
11749 (getLabelFont): this
11750 (getLayoutFont): and this
11751 * paragraph_pimpl.C (realizeFont): calling this
11753 * text2.C (getFont): split into...
11754 (getLayoutFont): this
11755 (getLabelFont): and this
11756 (realizeFont): all three calling this
11758 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11761 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11763 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11765 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11767 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11768 layouts from the Quote inset insertion.
11770 2001-08-03 Juergen Vigna <jug@sad.it>
11772 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11774 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11775 only if status not is already CHANGED_IN_DRAW (second level).
11777 * text.C (draw): don't set the need_break_row when inside an
11780 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11782 * buffer.C (parseSingleLyXformat2Token): handle more latex
11785 * bufferview_funcs.[hC]: change function names to
11786 begin with small char, adjust other files.
11788 2001-08-02 André Pönitz <poenitz@gmx.net>
11791 BufferView_pimpl.C: remove broken special code for math-greek
11793 2001-08-02 Juergen Vigna <jug@sad.it>
11795 * BufferView_pimpl.C (update): redone this function so that we
11796 update the text again if there was a CHANGE_IN_DRAW.
11798 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11799 (drawFromTo): added a new internal bool which is used by draw() and
11801 (general): some cursor drawing problems fixed.
11803 2001-08-01 Juergen Vigna <jug@sad.it>
11805 * lyxfind.C (LyXFind): fixed
11806 (SearchForward): ditto
11807 (SearchBackward): ditto
11809 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11810 spurius drawing of the cursor in the main area.
11812 * text2.C (status): small fix which could lead to a segfault!
11813 (clearSelection): remove unneeded BufferView param.
11815 2001-08-01 André Pönitz <poenitz@gmx.net>
11817 * lyxfunc.C: small change due to changed mathed interface
11819 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11821 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11823 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11825 * lyxfunc.c: fail gracefully if file doesn't exist
11830 * BufferView_pimpl.C: IsDirWriteable() proto changed
11832 * LyXView.C: fix updateWindowTitle() to store the last title
11834 2001-07-31 Juergen Vigna <jug@sad.it>
11836 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11837 the font (wrong since using of Paragraph::highestFontInRange).
11839 * paragraph.C (highestFontInRange): added a default_size parameter.
11841 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11842 (setHeightOfRow): reformat
11844 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11846 * converter.[hC] + affected files: move to (inital-char)lowercase
11849 * ParagraphParameters.C (ParagraphParameters): remove commented code
11851 * PainterBase.[Ch]: remove commented code
11853 * LaTeXFeatures.h: add "bool floats" for float.sty
11855 * LaTeXFeatures.C (LaTeXFeatures): init floats
11856 (require): handle float
11857 (getPackages): do it with floats
11859 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11861 * BufferView_pimpl.C (Dispatch): improve handling of
11862 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11864 * commandtags.h: #include lyxfont.h here temporarily to avoid
11867 * bufferlist.h: include LString.h here.
11869 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11871 * text2.C (getStringToIndex): new method.
11873 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11875 * *: Reduced header file dependencies all over.
11877 2001-07-30 Baruch Even <baruch@lyx.org>
11879 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11881 2001-07-29 Baruch Even <baruch@lyx.org>
11883 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11885 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11887 * ParameterStruct.h (endif): add a default constructor to make
11888 sure that all variables is initialized.
11890 * ParagraphParameters.C (ParagraphParameters): adjust
11892 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11894 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11895 index; also, check that there is something to index, and that it
11896 does not span over several paragraphs.
11897 (doubleClick): use WHOLE_WORD_STRICT for double click.
11899 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11901 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11904 2001-07-26 Baruch Even <baruch@lyx.org>
11906 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11907 an InsetFig figure, backwards compatible reading of old figure code.
11909 2001-07-27 Juergen Vigna <jug@sad.it>
11911 * text2.C: font.realize function adaption.
11913 * text.C (draw): add a warnings lyxerr text if needed.
11915 * layout.C: font.realize function adaption.
11917 * language.C: add inherit_language and implement it's handlings
11919 * bufferview_funcs.C (StyleReset): remove language parameter from
11920 font creation (should be language_inherit now).
11922 * bufferparams.C (writeFile): handle ignore_language.
11924 * paragraph.C (getFontSettings): the language has to be resolved
11925 otherwise we have problems in LyXFont!
11927 * lyxfont.C (lyxWriteChanges): added document_language parameter
11928 (update): removed unneeded language parameter
11930 * paragraph.C (validate): fixed wrong output of color-package when
11931 using interface colors for certain fonts in certain environments,
11932 which should not seen as that on the final output.
11934 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11936 * BufferView_pimpl.C:
11941 * LyXAction.C: add thesaurus support
11944 * lyxfind.C: add "once" parameter, for thesaurus, to not
11945 move to the next match
11947 2001-07-26 Juergen Vigna <jug@sad.it>
11949 * lyxfont.C (realize): honor ignore_language too!
11952 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11954 * text.C (draw): one place more for ignore_language to not draw
11957 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11959 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11961 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11963 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11964 the minipage conversion problem.
11966 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11968 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11971 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11973 * BufferView.h: don't forward declare WorkArea
11975 * BufferView.C: don't include WorkArea.h
11977 2001-07-25 André Pönitz <poenitz@gmx.net>
11981 * lyxfunc.C: new LFUN 'math-space'
11983 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11985 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11987 * text2.C (toggleInset): call open/close
11989 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11991 * lyxfunc.C (dispatch): add debug for the disabled case
11993 * font.C (buttonText): make similar to rectText
11995 * buffer.C (readInset): comment out parsing of insetlist and
11998 * PainterBase.C (rectText): small correction
12000 * BufferView_pimpl.C: comment out insettheorem and insetlist
12001 * LyXAction.C: ditto
12002 * commandtags.h: ditto
12004 2001-07-24 Juergen Vigna <jug@sad.it>
12006 * text.C (draw): honor the ignore_language.
12008 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12010 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12012 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12015 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12017 * lyxtext.h: remove unused (and unimplemented) methods
12019 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12021 * text.C (getVisibleRow): honor background color
12024 * Painter.h: remove default color argument for fillRectangle
12026 * text.C (backgroundColor): new method
12028 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12030 * text.C (getVisibleRow): adjust
12032 * font.[Ch] (rectText): new method, metrics
12033 (buttonText): new method, metrics
12035 * PainterBase.[hC]: make rectText and buttonText always draw and take
12038 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12040 * ToolbarDefaults.C (read):
12041 * MenuBackend.C (read): allow escaping in all strings
12043 * BufferView_pimpl.C (insertAndEditInset): new method.
12044 (Dispatch): use insertAndEditInset whenever appropriate.
12046 * BufferView_pimpl.C (insertNote): removed
12048 * BufferView_pimpl.C (smartQuote): new method, moved from
12049 BufferView; if an insetquote cannot be inserted, insert a '"'
12052 * BufferView2.C: remove insertCorrectQuote();
12054 * lyxfunc.C (getStatus): Add support for all remaingin
12055 inset-insert lfuns.
12057 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12059 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12060 command (necessary to pass " as parameter of self-insert.
12062 * text.C (selectWordWhenUnderCursor):
12063 (selectWord): add word_location parameter
12064 (selectWordWhenUnderCursor): same + remove special code for word
12066 (selectNextWord): use kind() to guess type of insetspecialchar,
12069 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12070 (insertErtContents): create ert insets as collapsed.
12071 (readInset): better compatibility code for Info inset.
12073 2001-07-20 Juergen Vigna <jug@sad.it>
12075 * lyxfunc.C (dispatch): use always LyXFind now!
12077 * text2.C (init): add a reinit flag so that the LyXText can be
12078 reinited instead of deleted and reallocated (used in InsetText).
12080 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12086 2001-07-18 Juergen Vigna <jug@sad.it>
12088 * text.C (selectNextWord): handle insets inside inset by calling
12089 always the bv->text functions so that we can go up the_locking_inset!
12091 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12092 in strange locations when inside an inset!
12094 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12095 handling to include insets.
12097 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12099 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12101 * LyXAction.C (init):
12103 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12104 LIGATURE_BREAK, since the name is so stupid.
12106 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12108 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12111 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12113 * sp_form.[Ch]: remove.
12115 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12117 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12120 * src/buffer.C (readInset): ditto.
12122 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12124 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12125 menuSeparator(), endOfSentenceDot(), ldots() and
12126 hyphenationPoint(), which are therefore removed.
12127 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12129 * LyXAction.C (init):
12130 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12132 * paragraph.C (getWord): removed.
12134 * BufferView_pimpl.C (Dispatch): use last word or selection for
12135 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12137 * lyx_main.C (queryUserLyXDir): do not ask before creating
12138 user_dir, except if it has been named explicitely.
12140 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12142 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12143 a document of zero size.
12145 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12147 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12148 approriately in the c-tor and in require().
12149 (getPackages): output the appropriate LaTeX for natbib support.
12151 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12152 variables "use_natbib" and "use_numerical_citations" when reading the
12154 (readInset): read the various natbib cite commands.
12155 (validate): white-space change.
12157 * bufferparams.[Ch]: new variables "bool use_natbib" and
12158 "bool use_numerical_citations".
12159 (writeFile): output them in the LyX file.
12161 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12163 * lyxfunc.C (getStatus): add support for all the inset insertion
12166 * text2.C (insertInset):
12167 * paragraph.C (insetAllowed):
12168 * BufferView_pimpl.C (insertInset): update to take in account the
12169 renaming of insertInsetAllowed
12171 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12173 * text2.C (getInset): new method. returns inset at cursor position.
12175 * BufferView_pimpl.C (Dispatch): changes because of this.
12177 * LyXAction.C (init): rename open-stuff to inset-toggle.
12179 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12181 * text2.C (toggleInset): renamed from openStuff; use
12184 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
12186 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12188 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12190 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
12192 * buffer.C (readLyXformat2): Add filename to the error dialog
12194 2001-07-18 Juergen Vigna <jug@sad.it>
12196 * tabular.C (GetCellNumber): put an assert here instead of the check!
12198 2001-07-17 Juergen Vigna <jug@sad.it>
12200 * BufferView_pimpl.C (toggleSelection): adapted too.
12202 * text.C (selectNextWord): adapted for use with insets.
12203 (selectSelectedWord): ditto
12205 2001-07-17 Juergen Vigna <jug@sad.it>
12207 * sp_spell.C (PSpell): fix initialitation order.
12209 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12211 * paragraph.C: spacing
12213 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12215 * sp_spell.C: repair language selection for pspell
12217 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12219 * lyxfunc.h: change more methods to begin with lower char.
12221 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12223 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12224 for unknown layouts.
12226 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12228 * buffer.C (readLyXformat2): Generate an error dialog if there are
12231 2001-07-16 Juergen Vigna <jug@sad.it>
12233 * sp_spell.C: always compile ISpell part.
12235 * lyxrc.C: added use_pspell entry and it's handling.
12237 2001-07-13 Juergen Vigna <jug@sad.it>
12239 * sp_spell.C: removed double includes.
12241 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12243 Consistent use of Lsstream.h:
12244 * Lsstream.h: added using std::stringstream for consistencies sake.
12246 * buffer.C: removed using std::stringstream
12248 * lyxfont.C (stateText):
12249 * paragraph.C (asString):
12250 * text.C (selectNextWord, selectSelectedWord):
12251 * text2.C (setCounter):
12252 * vspace.C (asString, asLatexString):
12253 std::ostringstream -> ostringstream.
12255 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12257 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12258 * commandtags.h: add LFUN_HELP_ABOUTLYX
12259 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12261 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12263 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12265 * lyx_gui_misc.C: remove spellchecker
12266 * lyxfunc.C: showSpellchecker
12268 * sp_ispell.h: added
12269 * sp_pspell.h: added
12270 * sp_spell.C: added
12271 * sp_form.[Ch]: removed
12272 * spellchecker.[Ch]: removed
12274 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12276 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12278 (simpleTeXSpecialChars): Simply print the input character without
12279 any special translation if pass_thru is set.
12281 * layout.h: Added bool pass_thru to layout class for being able to
12282 implement pass through of a paragraph for Literate Programming.
12284 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12285 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12286 * layout.C (Read): add "passthru" to list of layout tags and add
12287 code to set the pass_thru boolean when it is read.
12289 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12291 * trans_decl.h: remove allowed from KmodInfo
12293 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12294 remove allowed code
12297 * paragraph_pimpl.C (erase): use boost::prior
12299 * Painter.C (text): use data() instead of c_str() when length is
12301 * WorkArea.C (putClipboard): ditto
12302 * font.h (width): ditto
12304 * BufferView2.C: use it-> instead of (*it). for iterators
12306 * paragraph_pimpl.C: ditto
12307 * paragraph.C: ditto
12308 * minibuffer.C: ditto
12309 * language.C: ditto
12311 * encoding.C: ditto
12312 * counters.C: ditto
12313 * converter.C: ditto
12315 * Variables.C: ditto
12316 * TextCache.C: ditto
12317 * MenuBackend.C: ditto
12318 * LyXAction.C: ditto
12320 * FloatList.C: ditto
12321 * DepTable.C: ditto
12322 * ColorHandler.C (LyXColorHandler): ditto
12324 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12326 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12328 * text2.C (openStuff): reintroduce this method (which had been
12329 nuked in NEW_INSETS frenzy).
12331 * lyxfunc.C (Dispatch): when an action has not been handled, use
12332 its name in the error message, not its number.
12334 * paragraph.C (inInset): change method name to begin with lowercase.
12337 * text2.C: updates because of this.
12339 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12341 * ToolbarDefaults.C (add): add spaces in error message
12343 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12345 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12346 (readLyXformat2): rename return_par to first_par, use lyxlex's
12347 pushToken and remove the manual push handling.
12348 (parseSingleLyXformat2Token): add another ert comp. variable:
12349 in_tabular, rename return_par to first_par. handle newlines better
12351 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12353 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12355 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12357 * text2.C (getParFromID): removed
12359 * buffer.C (getParFromID): new method moved form lyxtext.
12360 * BufferView2.C (insertErrors): adjust
12361 (setCursorFromRow): adjust
12362 * BufferView_pimpl.C (restorePosition): adjust
12363 * lyxfunc.C (Dispatch): adjust
12364 * undo_funcs.C (textUndo): adjust
12366 (textHandleUndo): adjust
12367 (textHandleUndo): adjust
12369 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12371 * buffer.C: up' the LYX_FORMAT
12373 * lyxfont.h: turn NO_LATEX on as default
12375 * buffer.C (insertErtContents): new methods of tex style compability.
12376 (parseSingleLyXformat2Token): use it several places.
12377 * tabular.C (OldFormatRead): and here
12379 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12381 * text2.C: remove some commented code.
12384 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12385 * trans.C: changes because of the above.
12387 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12389 * text2.C (setCounter): Fix counters bug with bibliography layout.
12391 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12393 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12394 own member functions
12395 (simpleTeXSpecialChars): ditto
12397 2001-07-06 Juergen Vigna <jug@sad.it>
12399 * a lot of files: changed the access to LyXText::status and the
12400 call of undo-functions.
12402 * undo.[Ch]: added a inset_id to the undo informations.
12404 * undo_funcs.[Ch]: added and moved here all undo functions.
12406 * lyxtext.h: give the status enum a weight, made status_ a private
12407 variable and made accessor functions for it, removed the whole bunch
12408 of undo-functions as they are now in their own file, make some
12409 functions publically available. Added function ownerParagraph with
12412 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12413 made InInset() a const function, added getParFromID() function.
12415 * buffer.[Ch]: added const version for inset_iterator functions,
12416 added getInsetFromID() function.
12418 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12419 changed undo functions for new version.
12421 2001-07-05 Juergen Vigna <jug@sad.it>
12423 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12424 unknow mechanism does not call the proper constructor but only this
12425 one also if I request the other!?
12427 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12429 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12431 * text2.C (LyXText): use initialization lists.
12433 * lyxtext.h (Selection): initialize set_ and mark_
12434 (init): remove method
12436 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12438 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12440 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12442 * screen.[Ch]: change method names to begin with lowercase
12444 * BufferView_pimpl.C (updateScrollbar): simplify further and
12445 hopefully make it a bit faster.
12447 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12449 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12450 calling directly xforms functions.
12452 * Painter.C (Painter):
12453 * lyx_cb.C (MenuWrite):
12454 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12457 * lyx_gui.C: remove bogus guiruntime extern declaration.
12459 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12461 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12463 (redoDrawingOfParagraph): ditto
12464 (redoParagraphs): ditto
12465 (cutSelection): don't create a object for CutAndPaste use the
12466 static method directly
12467 (pasteSelection): ditto
12469 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12472 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12474 * modifications to some other files because of this.
12476 * Makefile.am (lyx_SOURCES): add XFormsView
12478 * XFormsView.[Ch]: new files
12480 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12481 the main window. Move the gui dependent stuff to XFormsView
12483 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12485 * tabular.C (GetCellInset): update cur_cell also in the row/col
12486 version of this function.
12488 * lyxfunc.C: no need to include figure_form.h here.
12494 * lyxvc.C: no need to include forms.h here.
12496 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12498 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12500 * lyxfunc.C (Dispatch):
12502 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12503 constructor argument.
12505 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12507 * paragraph.C (Paragraph): dont't clear, and just set layout.
12508 (makeSameLayout): use params's copy contructor.
12510 * ParagraphParameters.[Ch] (makeSame): delete method
12512 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12514 * Variables.[Ch]: fix indentation, rename set to isSet
12516 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12518 * lyxfunc.C (Dispatch): fix typo
12520 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12522 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12525 * bufferlist.C: include assert.h for emergencyWrite().
12527 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12529 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12530 give up at last (bug #425202) !
12532 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12538 * spellchecker.C: strip spellchecker options and bring up
12539 preferences tab instead
12541 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12543 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12544 the istringstream constructor
12546 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12548 * paragraph.C (getLayout): fix return value
12550 * paragraph.h: do not declare getLayout as inline.
12552 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12554 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12556 * lyxcursor.h (operator<): new func
12557 (operator>): new func
12558 (operator>=): new func
12559 (operator<=): new func
12561 * text.C (changeCase): use selection.start and selection.end
12562 (changeRegionCase): require from to be <= to. Require par to be a
12565 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12567 2001-06-27 Juergen Vigna <jug@sad.it>
12569 * text.C (cursorLeftOneWord): changed to return the cursor and added
12570 overlay with BufferView * parameter which calls this one.
12572 (selectWord): use new getWord function.
12573 (changeCase): renamed from changeWordCase as and extended to work
12574 also on selections.
12576 * lyxtext.h: added enum word_location
12578 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12579 changeCase as this operates now also on selections.
12581 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12583 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12585 * many files: send debug output to Debug::INFO instead of
12588 * converter.C (View):
12590 (Move): send debug output to Debug::FILES instead of console.
12592 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12594 * lyxfunc.C (getStatus): use func_status
12596 * func_status.h: new header, describing the results of
12597 LyXFunc::getStatus;
12599 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12602 2001-06-25 The LyX Project <jug@sad.it>
12604 * buffer.C (sgmlOpenTag):
12606 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12608 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12610 * text2.C: remove some dead code
12612 * tabular.C (GetCellInset): store the last cell checked (gotten)
12614 * tabular.h: add the helper for the speedup
12616 * lyxtext.h: remove some dead code
12618 2001-06-26 The LyX Project <Asger>
12620 * paragraph.C: Change export to LaTeX of alignment to
12621 \begin{center} and family for better roundtrip work with reLyX.
12623 * Tune the math drawing a bit.
12625 2001-06-25 The LyX Project <Asger>
12627 * LColor.C (LColor): New color for math background. New color
12630 2001-06-25 The LyX Project <jug@sad.it>
12632 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12634 * lyxfunc.C (Open):
12635 * bufferlist.C (newFile): do not restrict to files ending with
12638 * BufferView_pimpl.C (MenuInsertLyXFile):
12640 2001-06-24 The LyX Project <jug@sad.it>
12642 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12645 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12647 * lyxtext.h: rename most methods to begin with a small char.
12648 Lots of changes because of this.
12650 * paragraph.C (Paragraph): do not call fitToSize
12651 (erase): call Pimpl::erase
12652 (insertChar): call Pimpl::insertChar
12653 (insertInset): call Pipl::insertInset
12654 (breakParagraph): do not call fitToSize
12655 (breakParagraphConservative): do not call fitToSize
12656 (fitToSize): remove method
12658 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12660 2001-06-24 The LyX Project <Asger>
12662 * Fix Qt compilation^2
12664 2001-06-24 The LyX Project <jug@sad.it>
12666 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12667 depthHook(getDepth()-1).
12670 * ParagraphParameters.h:
12671 * ParameterStruct.h: change type of depth to unsigned int ==
12672 depth_type. Many adaptations to other files before of that.
12674 2001-06-24 The LyX Project <Asger>
12676 * Fix Qt compilation.
12678 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12680 * paragraph.h: renamed several methods to begin with small letter.
12681 several changes to many parts of the code because of this.
12683 2001-06-23 The LyX Project <jug@sad.it>
12685 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12686 rewritten to discard all double spaces when KeepEmpty is off
12687 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12688 to only handle newlines but not fiddle with spaces and friends.
12690 * lyxfunc.C (MenuNew): when doing 'new from template', use
12691 template_path as default directory
12693 2001-06-23 The LyX Project <Asger>
12695 * Clean-up of header file includes all over
12696 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12698 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12700 * paragraph.h: renamed from lyxparagraph.h
12702 2001-06-23 Asger <lyx@violet.home.sad.it>
12704 * Buffer.h: Removed Buffer::resize
12705 * BufferList.h: Removed BufferList::resize
12706 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12707 the document lazily when we change the width, or the font settings.
12709 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12711 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12713 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12715 * buffer.h: remove out of date comment
12717 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12720 * screen.C: fix "theoretical" GC leak
12722 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12724 * LaTeX.C (scanAuxFile):
12725 (deplog): remove trailing \r when reading stream (useful under
12728 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12730 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12731 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12732 and BufferView::theLockingInset(Inset*), so should use them and not
12733 access bv_->text->the_locking_inset directly.
12735 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12737 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12740 * tex-defs.h: remove old unused file
12742 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12744 * BufferView_pimpl.C: fix typo, remove minibuffer message
12745 when buffer has loaded
12747 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12749 * lyxfunc.C (Dispatch): use stringstream
12750 (MenuNew): use stringstream
12751 (Open): use stringstream
12753 * importer.C (Import): use stringstream
12755 * bufferview_funcs.C (CurrentState): use stringstream
12757 * LaTeX.C (run): use stringstream
12759 * BufferView_pimpl.C (savePosition): use stringstream
12760 (restorePosition): use stringstream
12761 (MenuInsertLyXFile): use stringstream
12763 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12776 * vspace.C: removed // -*- C++ -*- as first line.
12779 * version.h: added // -*- C++ -*- as first line.
12781 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12783 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12785 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12788 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12790 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12793 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12795 * gettext.C: include LString.h even when --disable-nls is on.
12797 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12799 * converter.h (Get): changed argument type from int to
12800 FormatList::size_type to avoid unnecessary conversion.
12802 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12805 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12807 * gettext.h: include LString.h even when --disable-nls is on.
12809 2001-06-07 Juergen Vigna <jug@sad.it>
12811 * text.C (BreakAgain): subst spaces with tabs.
12813 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12814 (resizeInsetsLyXText): set force on resizeLyXText.
12816 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12818 * gettext.h (gettext_init):
12819 (locale_init): use a real definition instead of a macro
12821 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12823 * Bufferview_pimpl.C:
12825 * LColor.C: further lcolor tidies
12827 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12829 * BufferView_pimpl.C (updateScrollbar): simplify.
12831 * BufferView2.C: don't include insets/insetinfo.h, change
12832 prototype for insertInset and call the Pimpl version. let
12833 updateInset call Pimpl version.
12835 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12836 gotoInset to BufferView::Pimpl
12838 2001-06-01 Juergen Vigna <jug@sad.it>
12840 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12841 inside a LockingInset (is the update needed at all?).
12843 2001-05-31 Juergen Vigna <jug@sad.it>
12845 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12846 here not the old one otherwise how should we compare it afterwards
12849 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12854 * FontInfo.C: bring C functions into global namespace when
12857 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12859 * LString.h: make sure config.h has been loaded before LString.h.
12861 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12862 (one for each char read by EatLine!).
12864 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12867 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12869 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12870 to the same as the par we break from
12872 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12874 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12876 * MenuBackend.C (expand): also create menu entries for wide
12877 versions of the floats.
12879 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12881 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12883 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12884 frontends/Makefile.am
12890 * tabular.C (getTokenValue): add std::
12892 * tabular-old.C (getTokenValue): add std::
12893 (getTokenValue): ditto
12894 (getTokenValue): ditto
12896 * screen.C (ToggleSelection): adjust
12898 * lyxtext.h: put selection cursors inside a Selection struct.
12900 * lyxfunc.C (moveCursorUpdate): adjust
12902 * lyxfont.C (latexWriteStartChanges): add std::
12904 * lyxfind.C: adjust
12906 * font.h: delete with(char const *, LyXFont const &)
12908 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12910 * FontInfo.C (getFontname): add std::
12912 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12913 (workAreaButtonPress): adjust
12914 (tripleClick): adjust
12916 (moveCursorUpdate): adjust
12919 * BufferView2.C (gotoInset): adjust
12921 2001-05-30 Juergen Vigna <jug@sad.it>
12923 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12924 to check pspell I add this as default as I now have new pspell
12925 libraries and they seem to use this.
12927 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12929 * text2.C (CutSelection): make the cursor valid before the call to
12932 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12934 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12935 relied on 0 terminated strings and other horrors. Bug found due to
12936 the new assert in lyxstring!
12938 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12941 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12943 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12946 * lyxfunc.C (processKeySym): change method of getting to the
12949 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12950 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12951 * BufferView_pimpl.[Ch]: here as private methods.
12953 2001-05-28 Juergen Vigna <jug@sad.it>
12955 * text.C (SetHeightOfRow): added the update() call again as it is
12956 needed to initialize inset dimensions!
12958 2001-05-16 Juergen Vigna <jug@sad.it>
12960 * text2.C (SetCharFont): Add new function with BufferView * and
12961 bool toggleall parameters for setting insets internal fonts.
12962 (SetFont): Freeze the undo as we may change fonts in Insets and
12963 all this change should be inside only one Undo!
12965 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12966 setting font's in insets as for them we have the SetFont function!
12968 2001-05-15 Juergen Vigna <jug@sad.it>
12970 * text2.C (ClearSelection): to be sure we REALLY don't have any
12973 * tabular.C (TeXCellPreamble): fixed the left border problem for
12976 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12978 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12981 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12983 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12984 LFUN_BREAKPARAGRAPH.
12986 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12987 help test to "internal only", similar for LFUN_INSERT_URL
12989 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12990 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12991 auto_region_delete and deadkeys.
12993 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12996 * LColor.C: remove some dead entries, tidy a little
12998 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13000 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13002 (Dispatch): implement LFUN_ESCAPE
13004 * commandtags.h: add LFUN_ESCAPE
13006 * LyXAction.C (init): add entry for LFUN_ESCAPE
13008 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13009 Remove commented code.
13010 (insertNote): moved here
13011 (open_new_inset): moved here
13013 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13016 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13018 * kbmap.C (findbinding): clean it up and make it work correctly.
13020 * lyx_main.C (init): do not pass argc and argv as parameters
13022 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13024 * buffer.C: fix path for OS/2 & Win32
13028 * lyx_main.C: Added os:: class.
13030 * os2_defines.h: update
13032 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13034 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13035 better by trying again with reduced state.
13037 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13039 * lyxrc.C (read): print error about invalid key sequence only when
13040 debugging (because not all latinX keysyms are known to some X
13043 * kbsequence.C (getiso): add a few std:: qualifiers
13044 (getiso): comment out extra return statement.
13046 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13048 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13050 (Dispatch): enhance the accent inset a bit. (not perfect)
13052 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13054 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13056 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13058 * bufferlist.C (emergencyWrite): fix assert() call
13060 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13062 * text.C (InsertChar): Added trivial patch to only send the "you
13063 can not do multiple spaces this way" message once during a
13066 2001-05-08 Baruch Even <baruch@lyx.org>
13068 * Makefile.am: Changed order of libraries to get LyX to link properly
13069 with the gnome frontend.
13071 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13073 * LaTeXFeatures.h: add a std:: qualifier
13075 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13077 * paragraph.C (String): use stringstream
13079 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13081 * paragraph.C (writeFile): remove footflag arg
13083 * buffer.C (makeLaTeXFile): use stringstream
13084 (latexParagraphs): remove footnot gurba
13086 * LaTeXFeatures.C (getPackages): use stringstream
13087 (getMacros): likewise
13088 (getTClassPreamble): likewise
13089 (getFloatDefinitions): new method
13091 * paragraph.C (writeFile): reindent
13094 * WorkArea.h: revert the xpos + etc changes.
13096 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13098 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13100 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13101 (pasteSelection): likewise
13102 * text2.C (CreateUndo): likewise
13104 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13106 * minibuffer.C (peek_event): temporarily reduce the functionality
13107 of the minibuffer (to allow args on lfuns)
13109 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13110 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13112 * buffer.C (readInset): add compability reading of old float
13113 lists, add reading of new style float list.
13114 (readInset): avoid reevaluation of inscmd.getCmdName()
13115 (getLists): reindent
13117 * MenuBackend.C (MenuItem): implement parsing of
13118 md_floatlistinsert and md_floatinsert.
13119 (expand::LastFiles): move initalizaton of iterators out of loop,
13120 avoid reevaluation.
13121 (expand::Documents): introduce typdedef vector<string> Strings,
13123 (expand::ExportFormats): introduce typedef vector<Format const *>
13124 Formats, and use it.
13125 (expand): implement FloatListInsert and FloatInsert.
13127 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13128 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13129 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13131 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13133 (Dispatch::LFUN_FLOAT_LIST): implement
13135 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13137 * LaTeX.C (run): Fix problem with --export code.
13139 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13141 * BufferView.[Ch] (workarea): removed.
13142 (getClipboard) new method; wrapper for workarea()->getClipboard()
13144 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13147 * WorkArea.h (width, height, xpos, ypos): These methods all
13148 returned the dimensions of the work_area sub-area of WorkArea,
13149 resulting in a position error if the WorkArea were resized. Now
13150 return the dimensions of the entire WorkArea.
13152 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13154 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13156 * LaTeX.C (deplog): correct the syntax of regex reg1
13158 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13160 * undo.C: remove !NEW_INSETS cruft
13162 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13164 * text2.C: remove !NEW_INSETS cruft
13166 * text.C: remove !NEW_INSETS cruft
13168 * tabular.C: remove !NEW_INSETS cruft
13170 * spellchecker.C: remove !NEW_INSETS cruft
13172 * lyxtext.h: remove !NEW_INSETS cruft
13174 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13176 * lyxfunc.C: remove !NEW_INSETS cruft
13178 * lyxfind.C: remove !NEW_INSETS cruft
13180 * lyx_cb.C: remove !NEW_INSETS cruft
13182 * figureForm.C: remove !NEW_INSETS cruft
13184 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13186 * buffer.[Ch]: remove !NEW_INSETS cruft
13188 * ToolbarDefaults.C: remove !NEW_INSETS cruft
13190 * CutAndPaste.C: remove !NEW_INSETS cruft
13192 * BufferView_pimpl.C: remove !NEW_INSETS cruft
13194 * BufferView2.C: remove !NEW_INSETS cruft
13196 * BufferView.h: remove !NEW_INSETS cruft
13198 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13200 * Lsstream.h: include LString.h before the sstream headers to
13201 fix problem with gcc 2.95.3 and lyxstring
13203 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13205 * lyx_main.C: add using directives when needed for C functions
13206 declared in std:: namespace.
13208 2001-04-27 Juergen Vigna <jug@sad.it>
13210 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13211 (SetHeightOfRow): comment out the update call should not be needed!
13213 2001-04-13 Juergen Vigna <jug@sad.it>
13215 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13216 (LyXTabular): tried to minimize operator= operations (and realized
13217 hopfully Lars wish).
13219 2001-04-27 Juergen Vigna <jug@sad.it>
13221 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13223 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13225 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13227 * buffer.C (readInset): hack to make listof algorithm work
13229 * BufferView_pimpl.C: hack to make listof algorithm work
13231 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13233 * LyXAction.C: removed all !NEW_INSETS cruft
13234 (init): moved lfun_item in method
13236 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13238 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13240 * BufferView2.C (theLockingInset): white space.
13242 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13244 * minibuffer.C: include <iostream>
13246 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13248 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13250 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13252 * text.[Ch] (TransposeChars): new method
13254 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13256 * call message directly through LyXView instead of through LyXFunc
13257 * BufferView2.C: adjust
13258 * BufferView_pimpl.C: adjust
13259 * FontLoader.C: adjust
13261 * bufferview_funcs.C: adjust
13262 * converter.C: adjust
13263 * figureForm.C: adjust
13264 * importer.C: adjust
13266 * lyx_gui_misc.C: adjust
13267 * lyxfunc.C: adjust
13270 + more files in subdirs
13272 * lyxparagraph.h (size): move up int file
13275 * adjust all uses of Assert to lyx::Assert.
13277 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13278 lyxfunctional in namespace lyx
13279 * layout.C (hasLayout): ditto
13282 (delete_layout): ditto
13283 (NumberOfClass): ditto
13284 * converter.C (GetFormat): ditto
13289 * bufferlist.C (getFileNames): ditto
13290 (emergencyWriteAll): ditto
13293 * MenuBackend.C (hasSubmenu): ditto
13296 * BufferView_pimpl.C (getInsetByCode): ditto
13298 2001-04-18 Juergen Vigna <jug@sad.it>
13300 * vspace.C (asLatexString): fixed the 100% problem.
13302 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13304 * lyxfunc.C (Dispatch):
13306 * minibuffer.h: add a few std:: qualifiers
13308 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13310 * minibuffer.[Ch]: reimplement so that commands is initiated and
13311 run from lyxfunc, simplified som handling, and made the completion
13312 and history code for complete. wip.
13314 * lyxfunc.C (processKeySym): call message
13315 (miniDispatch): new temporary method
13316 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13317 (LFUN_MESSAGE): implement
13318 (LFUN_MESSAGE_PUSH): implement
13319 (LFUN_MESSAGE_POP): implement
13320 (initMiniBuffer): the initial/defualt minibuffer message.
13322 * lyxfont.[Ch]: inline some more getters
13324 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13326 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13328 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13329 (AutoSave): use LFUN_MESSAGE
13330 (Reconfigure): ditto
13332 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13334 * figureForm.C: use LFUN_MESSAGE
13336 * converter.C (runLaTeX): use LFUN_MESSAGE
13338 * bufferview_funcs.C: use LFUN_MESSAGE
13340 (changeDepth): ditto
13342 * bufferparams.h: use boost::
13344 * bufferlist.h: inherit privately from noncopyable
13346 * bufferlist.C (loadLyXFile): remove some commented code.
13348 * buffer.C (runChktex): use LFUN_MESSAGE
13350 * ShareContainer.h: inherit privately from noncopyable
13352 * ParagraphParameters.[hC] (depth): inline it.
13354 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13356 (message): new method
13357 (messagePush): ditto
13358 (messagePop): ditto
13359 (show): init minibuffer
13360 (showState): direct call
13362 * LaTeX.[Ch]: inherit privately from noncopyable
13363 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13364 instead of WriteStatus.
13366 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13368 * BufferView_pimpl.C (buffer): don't init minibuffer
13369 (workAreaButtonPress): use LFUN_MESSAGE
13370 (workAreaButtonRelease): ditto
13371 (savePosition): ditto
13372 (restorePosition): ditto
13373 (MenuInsertLyXFile): ditto
13374 (workAreaExpose): don't init minibuffer
13375 (update): remove commented code, simplify
13377 * BufferView2.C (openStuff): use LFUN_MESSAGE
13378 (toggleFloat): ditto
13381 (copyEnvironment): ditto
13382 (pasteEnvironment): ditto
13387 (updateInset): remove some commented code
13389 * lastfiles.h: inherit privately from noncopyable
13392 * lyx_main.h: ditto
13394 * lyxlex_pimpl.h: ditto
13396 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13397 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13398 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13400 * LyXAction.h: inherit privately from noncopyable, add methods
13401 func_begin, func_end, returning iterators to the func map.
13403 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13404 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13405 (func_begin): new method
13406 (func_end): new method
13408 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13410 (copySelection): ditto
13411 (pasteSelection): ditto
13413 * BufferView.C: whitespace change
13414 * BufferView.h: inherit privately from noncopyable
13416 2001-04-16 Allan Rae <rae@lyx.org>
13418 * tabular-old.C (l_getline):
13419 * spellchecker.C (sc_check_word):
13420 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13421 an unrecognised preprocessor directive. So ensure they're wrapped.
13423 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13425 * src/exporter.C (Export): Give an error message when path to file
13428 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13430 * LaTeX.C (deplog): Always check that foundfile exists.
13432 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13435 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13437 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13439 * tabular.[Ch] (getLabelList): implement new method
13441 * minibuffer.h: comment ouf setTiimer
13443 * minibuffer.C (ExecutingCB): constify res
13444 (peek_event): constify s
13445 (Set): constify ntext
13446 (Init): constify nicename
13448 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13450 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13451 (savePosition): use two params to Minibuffer::Set
13452 (restorePosition): ditto
13454 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13456 * lyx_main.C: include language.h
13458 * Makefile.am (lyx_main.o): add language.h
13460 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13466 * CutAndPaste.C: include gettext.h
13468 * lyxfont.h: remove old hack with ON and OFF.
13471 * lyxfont.h: do not include language.h...
13476 * bufferview_funcs.C:
13482 * paragraph.C: ... but do it here instead
13484 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13486 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13488 * tabular.C: small reformat
13490 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13493 (BreakParagraph): ditto
13494 (SetOnlyLayout): ditto
13497 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13500 * lastfiles.C: removed most using decl, add std:: where needed
13502 * buffer.C: ws changes
13504 * MenuBackend.C (class compare_format): put into anon namespace
13505 (expand): constify label, names, action, action2
13508 * text.C (SingleWidth): constify font
13509 (IsBoundary): constify rtl2
13510 (GetVisibleRow): constify ww
13512 * LaTeX.C (deplog): constify logfile
13514 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13516 (workAreaExpose): constify widthChange, heightChange
13518 * lyxrow.C (par): moved
13521 * lyxrow.h: as inlines here
13523 * lyxfont.h (shape): moved from lyxfont.C
13524 (emph): moved from lyxfont.C
13526 * lyxfont.C (LyXFont): use initialization list for all
13528 (shape): move to lyxfont.h as inline
13529 (emph): move to lyxfont.h as inline
13532 2001-04-04 Juergen Vigna <jug@sad.it>
13534 * vspace.C: had to include stdio.h for use of sscanf
13536 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13539 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13540 independent of xforms.
13542 2001-04-02 Juergen Vigna <jug@sad.it>
13544 * spellchecker.C: fixed namespace placing!
13546 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13548 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13549 the LyXParagraph * is 0.
13551 2001-03-29 Juergen Vigna <jug@sad.it>
13553 * vspace.C: added support for %, c%, p%, l%.
13554 (stringFromUnit): added helper function.
13555 (asLatexString): changed to give right results for the %-values.
13557 * buffer.C: convert the widthp in a width%.
13559 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13561 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13564 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13565 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13567 * lyx_cb.[Ch]: see above.
13569 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13573 * lyx.[Ch]: replaced by figure_form.[Ch].
13577 * lyxfunc.C: changed headers associated with above changes.
13579 2001-03-27 Juergen Vigna <jug@sad.it>
13581 * BufferView_pimpl.C: set the temporary cursor right!
13583 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13585 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13587 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13589 * LString.h: removed "using std::getline"!
13591 * BufferView_pimpl.C (Dispatch): changes due to changes in
13592 InsetInclude::Params.
13594 * buffer.C (tag_name): removed redundant break statements as they were
13595 producing lots of warnings with my compiler.
13597 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13599 * LString.h: add "using std::getline" when using the real <string>.
13601 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13603 * buffer.C: removed bitset usage.
13604 PAR_TAG moved to an anonymous name space.
13605 (tag_name): new funtion, also in the anonymous namespace.
13606 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13607 (makeDocBookFile): clean code. Completed transition from string arrays
13609 (SimpleDocBookOnePar): code clean.
13611 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13613 * tabular.C: add some comments.
13615 2001-03-22 Juergen Vigna <jug@sad.it>
13617 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13618 compatibility read a bit and fixed bug with minipage in different
13621 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13623 * buffer.C (pop_tag): removed.
13624 (push_tag): removed.
13625 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13626 array replaced with vector. Added support for CDATA sections.
13627 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13629 (makeDocBookFile): XML conformant declaration of CDATA section,
13630 fixed bug related to <emphasis> in the first paragraph char.
13631 (sgmlOpenTag): exclude empty tags.
13632 (sgmlCloseTag): ditto.
13634 * buffer.h (pop_tag): removed.
13635 (push_tag): removed.
13637 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13639 * language.h (Languages): added size_type and size().
13641 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13643 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13644 response on compability reading of minipages. One probliem is that
13645 the old usage of minipages was «flertydig»
13647 * several files here and in subdirs: don't use static at file
13648 scope use anon namespaces instead.
13650 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13652 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13653 LaTeX output. This is necessary for Literate document
13656 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13658 * buffer.C: insert hfill when needed.
13660 * tabular.C (l_getline): use string::erase, small whitespace change.
13662 * BufferView_pimpl.C: try the anon namespace.
13663 * WorkArea.C: ditto
13665 2001-03-16 Juergen Vigna <jug@sad.it>
13667 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13668 otherwise it won't open options-dialogs.
13670 * buffer.C: honor pextraWidth(p) on converting minipages.
13672 * tabular.C (l_getline): changed the functions to strip trailing \r.
13674 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13676 * BufferView_pimpl.C:
13677 * minibuffer..C: added "using SigC::slot" declaration.
13679 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13681 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13687 * paragraph.C: ditto
13689 * lyxtext.h: NO_PEXTRA
13691 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13693 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13694 * ParameterStruct.h: ditto
13695 * ParagraphParameters.h: ditto
13696 * lyxparagraph.h: ditto
13698 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13700 * buffer.C: add compability for minipage alignment.
13701 (latexParagraphs): remove unwanted pextra check.
13703 * several files: remove CXX_WORKING_NAMESPACES
13705 * buffer.C (pop_tag): tie is in namespace boost
13707 * BufferView.h: noncopyable is in namespace boost
13709 * lyx_main.h: ditto
13712 * lastfiles.h: ditto
13713 * bufferlist.h: ditto
13714 * ShareContainer.h: ditto
13716 * LyXAction.h: ditto
13719 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13721 * Merging changes from BRANCH_MVC back into HEAD.
13723 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13725 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13727 * BufferView_pimpl.C: change from intl.C
13731 * Makefile.am: move combox.*
13737 * intl.C: remove dialog (covered by prefs)
13739 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13741 * lyxfunc.C (Dispatch): removed redundant break statement.
13743 2001-03-14 Juergen Vigna <jug@sad.it>
13745 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13747 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13749 * buffer.C: add hack to fix compability reading of minipages.
13751 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13753 * buffer.C (getLists): Cleanup.
13755 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13757 * lyxfont.C (update): don't honor toggleall on font size.
13759 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13763 * Makefile.am: moved to frontends/xforms/
13767 * BufferView_pimpl.C: changes for moved mathpanel
13769 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13771 * gettext.h: fix gettext_init() in --disable-nls
13773 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13775 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13777 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13780 * lyx.h: strip external form
13782 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13784 * BufferView_pimpl.C: add comment, destroySplash()
13786 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13788 * BufferView_pimpl.C:
13792 * lyxfunc.C: use re-worked insetinclude
13794 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13796 * buffer.C: add using std::stringstream.
13798 * lyx_cb.C: readd using std::ios.
13800 * buffer.C: add using std::map.
13802 * BufferView_pimpl.C: add using std::vector.
13804 * ShareContainer.h: add std:: to swap.
13806 * buffer.h: add some typedefs
13807 * buffer.C (getLists): use them
13808 (getLists): renamed from getTocList.
13809 add a counter for the different float types and use it in the
13811 (getLists): use the same counter for the NEW_INSETS and the "non"
13814 * lyx_cb.h: remove unused items, includes, using etc.
13816 * ShareContainer.h: remove some commented code, add more comments
13817 and "documentation".
13819 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13821 * buffer.C (getTocList): make the list also when NEW_INSETS is
13824 * buffer.h: remove TocType
13826 * buffer.C (getTocList): change to return a map<string,
13827 vector<TocItem> >, implement for dynamic number of list.
13829 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13830 * text2.C (PasteSelection): adjust
13831 * CutAndPaste.C (pasteSelection): adjust
13833 * FloatList.C (FloatList): update from the new_insets branch.
13834 * Floating.[Ch]: ditto
13835 * LaTeXFeatures.C: ditto
13837 * lyxlex_pimpl.C: ditto
13839 * paragraph.C (Last): remove when NEW_INSETS is defined.
13841 * other file: changes because of the above.
13843 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13845 * lyxparagraph.h: rename next to next_, previous to previous_,
13846 make them private for NEW_INSETS. Rename Next() to next(),
13847 Previous() to previous().
13849 * other files: changes because of the above.
13851 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13854 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13857 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13859 * main.C (main): pass lyx_localedir to gettext_init().
13861 * gettext.h: remove locale_init and gettext_init macros
13863 * gettext.C (locale_init): new function
13864 (gettext_init): new function
13866 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13869 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13871 * Moved credits to frontends:
13872 * credits.[Ch]: removed
13873 * credits_form.[Ch]: removed
13874 * lyx_gui_misc.C: remove credits stuff
13877 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13879 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13881 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13882 unneeded destructor.
13884 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13885 a standalone pointer again.
13887 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13889 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13895 * ToolbarDefaults.C:
13904 * BufferView_pimpl.C: use new file dialog in GUII
13907 * lyx_cb.C: remove LayoutsCB to Toolbar
13909 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13911 * ShareContainer.h (get): add std:: qualifier
13913 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13915 * ShareContainer.h: define a proper ShareContainer::value_type
13916 type (and use typename to please compaq cxx)
13918 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13920 * lyxparagraph.h: move serveral local vars to
13921 ParameterStruct/ParagraphParameters., use ShareContainer in
13922 FontTable., make vars in FontTable private and add getter and
13925 * paragraph.C: changes because of the above.
13927 * lyxfont.h: remove copy constructor and copy assignment. (the
13928 default ones is ok), move number inside FontBits. move inlines to
13931 * lyxfont.C: add number to initializaton of statics, move several
13932 inlines here. constify several local vars. some whitespace
13933 cleanup. Dont hide outerscope variables.
13935 * Spacing.h: add two new constructors to match the set methods.
13937 * ShareContainer.h: new file, will perhaps be moved to support
13939 * ParameterStruct.h: new file
13941 * ParagraphParameters.h: new file
13943 * ParagraphParameters.C: new file
13945 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13946 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13948 * BufferView_pimpl.C: ParagraphParameter changes.
13949 * buffer.C: Likewise.
13950 * bufferview_funcs.C: Likewise.
13951 * text.C: Likewise.
13952 * text2.C: Likewise.
13954 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13956 * lyxfind.C (LyXReplace): do not redefine default argument in
13958 (IsStringInText): ditto
13959 (SearchForward): ditto
13960 (SearchBackward): ditto
13962 2001-03-06 Juergen Vigna <jug@sad.it>
13964 * lyxfind.C (IsStringInText): put parentes around expressions.
13966 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13968 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13970 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13972 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13974 * stl_string_fwd.h: add comment
13976 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13979 * tabular.C: remove unused DocBook methods
13985 killed DO_USE_DEFAULT_LANGUAGE
13987 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13989 * lyx_gui.C: do not include language.h.
13991 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13992 arguments in function implementation.
13994 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13996 * BufferView_pimpl.C: add <ctime>
13998 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14000 * BufferView_pimpl.C: add using std::find_if
14002 2001-02-27 José Matos <jamatos@fep.up.pt>
14004 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14007 2001-02-11 José Matos <jamatos@fep.up.pt>
14009 * buffer.C (makeDocBookFile): command styles now have a parameter as
14010 "title" by default.
14012 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14014 * layout_forms.[Ch]: removed
14015 * lyx_cb.[Ch]: out character
14016 * lyx_gui.C: out character
14017 * lyx_gui_misc.C: out character
14018 * bufferview_funcs.C: : out character,
14019 added toggleall as parameter in ToggleAndShow
14021 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14023 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14025 * text2.C (SetCurrentFont): Disable number property at boundary.
14027 2001-02-26 Juergen Vigna <jug@sad.it>
14029 * lyxfunc.C (getStatus): added a string argument override function so
14030 that this is correctly called from LyXFunc::Dispatch if it contains a
14031 do_not_use_argument which is used!
14032 (Dispatch): added check for "custom" export and call appropriate func.
14034 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14036 * lyxrc.C: Add language_command_local, language_use_babel and
14037 language_global_options.
14039 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14041 * buffer.C (makeLaTeXFile): Use language_use_babel and
14042 language_global_options.
14044 2001-02-23 Juergen Vigna <jug@sad.it>
14046 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14047 which works with LyXText and putted it inside BufferView. Here now we
14048 only call for that part the BufferView::Dispatch() function.
14050 * BufferView.C (Dispatch): added.
14052 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14053 functions which needs to use a LyXText over from LyXFunc.
14054 (MenuInsertLyXFile): added
14055 (getInsetByCode): added
14056 (moveCursorUpdate): added
14057 (static TEXT): added
14059 2001-02-22 Juergen Vigna <jug@sad.it>
14061 * BufferView_pimpl.C (update): call a status update to see if LyXText
14064 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14066 * vc-backend.C (revert): implement for CVS
14067 (getLog): implement for CVS
14069 2001-02-20 Juergen Vigna <jug@sad.it>
14071 * text2.C (ClearSelection): added BufferView param for inset_owner call
14073 * lyxfunc.C (TEXT): added this function and use it instead of
14074 directly owner->view()-text of getLyXText().
14076 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14078 * src/layout_forms.C: out preamble
14079 * src/layout_forms.h: out preamble
14080 * src/lyx_cb.C: out preamble
14081 * src/lyx_cb.h: out preamble
14082 * src/lyx_gui.C: out preamble
14083 * src/lyx_gui_misc.C: out preamble
14084 * src/lyxfunc.C: connect with guii preamble
14086 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14088 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14090 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14092 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14093 whether to run bibtex.
14095 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14097 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14099 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14101 * Makefile.am (lyx_SOURCES): removed bibforms.h
14103 * vspace.h: doxygen
14105 * text.C (GetVisibleRow): make several local vars const
14107 * tabular.C: small cleanup.
14109 * lyxserver.C (callback): use compare instead of strncmp
14111 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14112 inlines to after class or to paragraph.C
14114 * lyxfont.h: remove friend operator!=
14116 * converter.h: move friend bool operator< to non friend and after
14119 * combox.h: small cleanup
14121 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14122 to inlines after class def.
14124 * buffer.C (pop_tag): use string operations instead of strcmp
14126 * bmtable.c: doxygen, small cleanup
14128 * LaTeX.h: remove friend operator==
14130 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14142 * BufferView_pimpl.C:
14143 * BufferView.[Ch]: remove cruft
14145 2001-02-14 Juergen Vigna <jug@sad.it>
14147 * lyxfunc.C: removed #if 0 unused code
14149 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14151 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14153 * text2.C (SetSelection): added a BufferView * parameter
14155 2001-02-13 Juergen Vigna <jug@sad.it>
14157 * lyxfunc.C (Dispatch): fixed protected blank problem.
14158 * BufferView2.C (protectedBlank): added LyxText * parameter.
14160 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14161 (AppendColumn): same as above for column_info.
14163 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14164 (moveCursorUpdate): use a LyXText param for support of InsetText.
14166 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14167 (tripleClick): ditto
14169 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14171 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14173 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14175 * text2.C (SetSelection): set correct update status if inset_owner
14176 (ToggleFree): ditto
14178 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14180 * tabular.C: remove some commented code.
14182 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
14184 * BufferView_pimpl.C: call hideSplash()
14186 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14189 * bibforms.h: remove
14192 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14193 add LFUN_CHILD_CREATE
14195 * counters.h: fix tiny typo
14200 * lyx.C: move splash to frontends/xforms/
14202 * lyx_gui_misc.C: move Include and Bibform to frontends
14204 * lyxvc.h: clarify comment
14206 * vspace.C: tiny housekeeping
14208 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14210 * text.C (PrepareToPrint): RTL Fix.
14212 * paragraph.C (GetUChar): New method.
14213 (String): Use GetUChar.
14215 * buffer.C (asciiParagraph): Use GetUChar.
14217 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14219 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14221 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14224 * buffer.C: rename to getLogName(), handle
14225 build log / latex log nicely
14227 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14230 * MenuBackend.h: remove support for reference menuitem type.
14232 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14234 * BufferView_pimpl.C: housekeeping
14235 * BufferView_pimpl.h:
14240 * minibuffer.h: move Timeout GUI-I
14242 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14244 * lyxrc.C (read): Update converters data-structures.
14246 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14248 * LaTeX.h (operator!=): add operator != for Aux_Info
14250 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14252 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14254 * LaTeXLog.C: deleted, useful code moved to Buffer
14257 * buffer.C: new function getLatexLogName()
14263 * lyxfunc.C: use frontends for LaTeX and VC logs
14265 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14267 * LaTeX.h: yet another std:: that Allan forgot.
14269 * Variables.C (set): renamed from isset(), because this clashes
14270 with some HP-UX macros (grr).
14272 2001-02-06 Allan Rae <rae@lyx.org>
14274 * LaTeX.h: Another bug fix. Missing std:: this time.
14276 2001-02-04 Allan Rae <rae@lyx.org>
14278 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14279 floats problem. I've left it commented out because it's not quite
14280 correct. It should also test that the current object is a table or
14281 figure inset. But I haven't gotten around to figuring out how to do
14282 that. I *think* it'll be something like: "table" == inset.type()
14284 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14287 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14289 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14290 all the citation/databases/styles in the auxilary file.
14291 (run): Rerun latex if there was a babel language error.
14293 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14295 * text.C (Backspace): Preserve the font when changing newline char
14297 (BreakParagraph): If the cursor is before a space, delete the space.
14299 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14301 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14303 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14304 new argument (code).
14305 (ChangeCitationsIfUnique): New method.
14307 * paragraph.C (GetPositionOfInset): Handle bibkey.
14309 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14311 * BufferView_pimpl.h: change type of Position::par_pos to
14312 LyXParagraph::size_type.
14314 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14316 * BufferView_pimpl.C (savePosition, restorePosition): Write
14317 messages to minibuffer.
14319 2001-01-28 José Matos <jamatos@fep.up.pt>
14321 * buffer.C (makeDocBookFile): adds support for document language.
14322 A silly restriction on the name of LatexCommand types where removed.
14323 Added support for CDATA sections, allows to chars unescaped, used
14324 among others in code, to avoid escape < and >.
14326 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14328 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14329 saved positions instrad of a stack. Furthermore, a position is
14330 stored using paragraph id/paragraph position.
14332 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14333 Remove LFUN_REF_BACK.
14335 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14337 * converter.C (dvipdfm_options): New method.
14339 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14341 * vspace.C (isValidLength): Fix for empty input string.
14343 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14345 * LyXAction.C (init): change description of LFUN_FIGURE to
14348 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14350 * LaTeX.C: add using directive
14352 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14354 * MenuBackend.C (expand): Fix the sorting of the formats.
14356 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14358 * lyx_main.C: tiny error message fix
14360 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14362 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14363 calling fl_initialize(). This fixes the problem with ',' as
14364 decimal separator in text files.
14366 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14368 * trans.C (process): Fix the keymap bug.
14370 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14372 * LaTeX.C (scanAuxFiles): New method. Provides support for
14373 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14374 (scanLogFile) Scan for "run BibTeX" messages.
14376 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14377 OT1 font encoding. Also, load the aecompl package if the ae
14380 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14382 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14384 * texrow.C (increasePos): turn two error messages into debug
14387 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14389 * LaTeX.C (scanAux): Handle the \@input macro.
14390 (runBibTeX): Use scanAux().
14392 * language.C (latex_options_): New field.
14394 * LaTeXFeatures.C (getMacros): Add language macros.
14396 * buffer.C (makeLaTeXFile): Small fix.
14398 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14400 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14402 * text2.C: add a using directive.
14404 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14409 * lyxfunc.C: kill LyXBell.
14411 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14413 * text.C (IsBoundary): Remove the error message
14415 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14417 * lyxrc.C (setDefaults): Correct initialization value for
14420 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14422 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14425 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14426 and GotoNextNote().
14428 * src/LyXAction.C: Added reference-next.
14430 * text.C (InsertChar): Use contains instead of strchr.
14432 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14434 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14436 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14437 alignment commands (when needed).
14439 * text.C (InsertChar): Add ':' to number separator chars.