1 2003-12-12 Alfredo Braunstein <abraunst@libero.it>
3 * BufferView_pimpl.C: small coord. correction
5 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
7 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
8 dragging over the splash screen.
10 2003-12-11 Angus Leeming <leeming@lyx.org>
12 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
13 as it is now handled in LyXText::dispatch.
15 * text3.C (doInsertInset): remove a level of nesting.
17 2003-12-11 Angus Leeming <leeming@lyx.org>
19 * factory.C (createInset): changes due to the changed interface to
20 InsetCommandMailer::string2params.
22 2003-12-10 Angus Leeming <leeming@lyx.org>
24 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
25 'dialog-show-new-inset <inset name>'
27 2003-12-10 Angus Leeming <leeming@lyx.org>
29 * buffer.C: up the format to 227.
31 * factory.C: the box inset is now identified simply by 'Box'.
33 2003-12-10 Angus Leeming <leeming@lyx.org>
35 * buffer.C: up the format to 226.
37 * factory.C: the note inset is now identified simply by 'Note'.
39 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
41 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
42 when a pit is enough. Standarize a couple of loops.
44 2003-12-05 Angus Leeming <leeming@lyx.org>
46 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
47 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
48 data to the re-worked "log" dialog.
50 2003-12-03 André Pönitz <poenitz@gmx.net>
58 * text2.C: use Inset::getText instead of Inset::getParagraph
60 2003-12-03 André Pönitz <poenitz@gmx.net>
64 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
65 InsetText::read() as LyXText::read()
67 2003-12-02 Angus Leeming <leeming@lyx.org>
69 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
70 type. Add a comment in the implementation that the function uses
71 the stream's bad() function rather than fail() as the std::streams
74 2003-12-02 André Pönitz <poenitz@gmx.net>
76 * lyxlex.[Ch]: make interface more similar to std::stream
78 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
80 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
82 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
84 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
86 * vspace.[Ch]: remove VSpace::NONE
88 2003-12-01 André Pönitz <poenitz@gmx.net>
91 * lyxtext.h: move ParagraphList member to LyXText
92 rename LyXText::ownerParagraphs to LyXText::paragraph
105 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
107 * undo.C: fix cursor positioning
109 2003-12-01 John Levon <levon@movementarian.org>
111 * BufferView_pimpl.C: fix a crash on exit with
114 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
116 * BranchList.C: fix setSelected() method.
118 2003-11-28 André Pönitz <poenitz@gmx.net>
120 * ParagraphParameters.[Ch]:
121 * ParameterStruct.h: remove space above/below from Paragraph to
124 * BufferView_pimpl.C:
136 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
138 * factory.C: Syntax change for CharStyles
140 2003-11-28 André Pönitz <poenitz@gmx.net>
145 * buffer.[Ch]: move LyXText member
147 2003-11-28 André Pönitz <poenitz@gmx.net>
149 * BufferView.[Ch]: make LyXText * text a private member
151 * BufferView_pimpl.C:
162 * output_plaintext.C: cleanup
164 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
167 * lyxtextclass.[Ch]: parametrize SGML document header
169 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
172 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
175 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
177 * text2.C (setFont): rework using PosIterator (no more recursive)
178 (setCharFont): no more needed
179 (setLayout): no more selection cursors fiddling (done by redoCursor)
180 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
181 destroy remaining ones)
183 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
185 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
187 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
190 * text3.C: adjust + re-allow multi par depth changes
191 * textcursor.C: simplify a bit
193 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
199 * src/output_docbook.C:
200 * src/output_latex.C:
205 * src/text2.C: Introducing a number of tags parametrizing various
206 XML formats that we may want to support
208 2003-11-25 André Pönitz <poenitz@gmx.net>
210 * InsetList.[Ch] (begein, end): inline as suggested by profiler
212 * lyxtext.h (leftMargin/rightMargin): simplify interface
219 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
221 * lyxfunc.C (dispatch): propogate the bibtex databases from the
222 master file to any child files. Fixes bug 546.
224 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
226 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
228 2003-11-24 André Pönitz <poenitz@gmx.net>
230 * rowpainter.C: simplification
232 * text2.C (updateCounters): remove call to redoParagraph on
233 changed labels as this is far too expensive.
235 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
237 * converter.C (convert): fix a crash: this function gets
238 called with buffer == 0 from importer code.
240 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
242 * text3.C (cursorPrevious): make sure that we do not compare
243 iterators form different containers.
246 * rowpainter.C (paintSelection): make sure that we do not compare
247 iterators from different containers.
249 * text3.C (dispatch): [PRIOR] make sure that we do not compare
250 iterators from different ParagraphList containers.
253 * text2.C (LyXText): change order of initialization slightly
254 (operator=): new function. copy all variables except cache_par_
255 (moveUp): make sure that we do not compare iterators from
256 different ParagraphList constainers.
259 * text.C (firstPar): new function
260 (lastPar): new function
261 (endPar): new function
263 * lyxtext.h: move things around and group public functions, public
264 variables, private functions, private variables
266 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
268 * factory.C: change call to InsetERT constructor to avoid
269 additional invocation of method status
270 * text2.C (toggleInset): remove redundant update() call
271 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
272 instead of a Bufferview pointer
274 2003-11-21 André Pönitz <poenitz@gmx.net>
276 * rowpainter.C: simplification
278 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
280 * text3.C (dispatch): make possible to extend a word/row selection
283 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
285 * lyxtext.h: x0_,y0_ -> xo_,yo_
286 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
287 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
288 * rowpainter.C (paintRows): paint full paragraphs
290 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
292 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
295 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
297 * lyxtext.h: add x0_, y0_
298 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
299 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
301 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
303 * text2.C (setCursorIntern): move the x_target update here *
304 * text3.C: change some bv() to true/false in calls to
305 cursorUp/Down/Right/Left
306 * cursor.C: use helper function.
308 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
310 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
311 * paragraph_funcs.[Ch]: correct comment
312 * rowpainter.C: do not paint selections away from bv->cursor()
313 Fix a long standing selection painting bug.
314 * text3.C: generalize mouse-selection code to LyXTexts other that
316 * textcursor.C: do not use y coords if we can use par offsets
318 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
320 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
321 cursor position after e.g. inset insert)
323 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
325 * lyxfind.C (replace): adjust to locking removal + some
328 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
330 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
333 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
336 * output_docbook.C: XML sanitation: new layout
337 parameters InnerTag and CommandDepth
339 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
341 * BufferView_pimpl.C:
343 * text3.C: Fix the insertion and modification of button-style
346 2003-11-13 André Pönitz <poenitz@gmx.net>
348 * InsetList.[Ch]: remove deleteLyXText
350 * paragraph.[Ch]: cache beginOfBody position
355 * text3.C: remove superfluous update() calls
359 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
361 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
362 * BufferView.C (fitLockedInsetCursor): remove
363 * cursor.[Ch] (getDim): add
364 * text.C (getRowNearY): add faster version
365 * text3.C: remove some update calls
367 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
379 * text3.C: The Character Style /XML short element patch.
381 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
384 * factory.C: Small step to solving 'unable to insert some insets'
387 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
389 * cursor.[Ch] (updatePos): new function for updating the y
390 position of the tip inset
391 * bufferview_funcs.C (put_selection_at):
392 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
394 2003-11-11 André Pönitz <poenitz@gmx.net>
396 * text.C: remove big comment on invalid Paragraph pointers as it is
399 2003-11-11 André Pönitz <poenitz@gmx.net>
401 * text_funcs.[Ch]: merge with ...
409 * Makefile.am: remove text_funcs.[Ch]
411 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
413 * cursor.C (getPos): return absolute cached y coord
415 * BufferView_pimpl.C (fitCursor): new simplistic code
416 (workAreaDispatch): add a fitCursor call
418 2003-11-10 André Pönitz <poenitz@gmx.net>
421 * BufferView_pimpl.[Ch]: merge update() and updateInset()
423 2003-11-10 André Pönitz <poenitz@gmx.net>
425 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
426 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
427 indicate that the cursor needs to leave an inset
429 * lyxtext.h: remove inset locking
431 * cursor.[Ch]: re-implement functionality provided by inset locking
434 * BufferView_pimpl.[Ch]:
436 * bufferview_funcs.[Ch]:
448 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
450 * PosIterator.[Ch]: replace the stack with a vector, add inset
452 * iterators.[C]: adjust
454 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
456 * lyxfind.C (replaceAll): mark the buffer dirty if something was
458 * paragraph_funcs.C (readParToken): put the correct id in the
459 error item, not the id of the top paragraph
461 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
463 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
464 * bufferview_funcs.C (put_selection_at): use the above
466 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
468 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
470 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
473 * output_plaintext.h:
475 * output_docbook.h: add #include statements
477 2003-11-05 José Matos <jamatos@lyx.org>
479 * output_docbook.[Ch]:
481 * output_linuxdoc.[Ch]:
482 * output_plaintext.[Ch]: New files for output formats.
483 * output.[Ch]: New file for helper functions.
486 * paragraph_funcs.[Ch]: output functions moved to new files.
488 * outputparams.h: rename of latexrunparams.h
496 * paragraph_funcs.[Ch]:
497 * paragraph_pimpl.[Ch]:
498 * tabular.[Ch]: rename ascii to plaintext
499 and LatexRunParams to OutputParams.
501 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
503 * iterators.[Ch] (text): require bv argument
504 * undo.C (recordUndo):
505 * lyxfunc.C (dispatch):
506 * bufferview_funcs.C (put_selection_at): adjust
508 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
510 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
512 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
514 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
517 2003-11-04 André Pönitz <poenitz@gmx.net>
519 * cursor.[Ch]: restructure
522 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
524 * iterators.[Ch] (asCursor): remove
526 * lfuns.h: remove LFUN_INSET_EDIT
532 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
534 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
536 * lyxfind.[Ch]: complete overhaul
537 * BufferView_pimpl.C:
539 * paragraph.[Ch] (insert): add
541 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
545 * text.C: remove dead spellcheck code
547 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
549 * dispatchresult.h: add a val setter
551 * cursor.C (dispatch): use a tempvar for data_[i]
553 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
555 * PosIterator.[Ch]: compile fix
557 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
559 * text.C (cursorPar): deactivate the cursor cache
561 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
563 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
565 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
567 * text3.C (dispatch): adjust for new DisptchResult semantics.
569 * lyxfunc.C (dispatch): handle update when return from
570 Cursor::dispatch, adjust for new DispatchResult semantics.
572 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
573 DispatchResult(true) mean to not update. Add class functions for
574 setting dispatched and update, as well as reading.
576 * cursor.C (dispatch): don't handle update here
578 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
580 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
581 * trans_mgr.C: adjust
583 * paragraph_funcs.C (readParToken): exception safety
585 * lyxvc.h: store the vcs pointer in a scoped_ptr
588 * lyxsocket.C (serverCallback): exception safety
590 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
592 * ispell.C (clone): make it return a auto_ptr
594 * factory.C (createInset): exception safety
595 (readInset): exception safety
597 * bufferlist.C (newBuffer): exception safety
599 * Thesaurus.C (Thesaurus): use initialization for aik_
601 * MenuBackend.C (expandToc): exception safety.
603 2003-11-03 André Pönitz <poenitz@gmx.net>
607 * bufferview_funcs.C: remove getInsetFromId()
610 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
616 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
618 * PosIterator.C (distance, advance): new
619 * bufferview_funcs.[Ch] (put_selection_at): new
620 * iterators.[Ch] (lockPath): new
622 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
624 * iterators.[Ch] (asPosIterator): added
625 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
626 * PosIterator.[Ch]: added
628 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
632 * cursor.C (dispatch):
633 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
635 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
636 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
637 contructor, add a class function dispatched. Remove operator>=
639 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
641 * debug.C: only use the default constructor for debugstream
644 * main.C (main): include debug.h and setup the lyxerr streambuf
647 2003-10-31 José Matos <jamatos@lyx.org>
649 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
651 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
652 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
653 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
654 * paragraph_pimpl.C (simpleTeXSpecialC):
655 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
656 add LatexRunParams argument.
658 * exporter.C (Export): change call accordingly.
660 * latexrunparams.h: add new member to take care of the other backends.
661 2003-10-30 José Matos <jamatos@lyx.org>
663 * buffer.C (makeLinuxDocFile, makeDocBookFile):
664 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
665 factorise code for paragraph output.
667 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
670 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
672 * text3.C (dispatch):
673 * lyxfunc.C (dispatch):
674 * cursor.C (dispatch):
675 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
677 * dispatchresult.h: make the dispatch_result_t ctor explicit
679 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
682 * buffer.C: small refactoring of docbook stuff
684 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
686 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
689 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
691 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
692 operator dispatch_result_t, and operators for == != and >=
694 * cursor.C (dispatch): adjust for operator dispatch_result_t
695 removal. comment out call to update
697 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
699 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
707 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
710 * dispatchresult.h: new file, DispatchResult broken out of
713 * Makefile.am (lyx_SOURCES): add dispatchresult.h
715 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
717 * text.C (rowBreakPoint): put a hack inside #if 0
719 2003-10-28 André Pönitz <poenitz@gmx.net>
726 * text2.C: general cleanup (lots of small stuff)
728 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
730 * text2.C (cursorEnd): simple fix to the "end key goes to one
731 before the end on last row" bug
733 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
735 * text.C (backspace): fix the "zombie characters"
737 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
739 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
741 2003-10-27 André Pönitz <poenitz@gmx.net>
743 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
745 * factory.C: handle new InsetPagebreak, InsetLine
747 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
748 and move handling into new InsetPagebreak, InsetLine
750 * BufferView_pimpl.C:
752 * ParagraphParameters.C:
765 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
774 * text3.C: remove lastPos uses in favour of Row::endpos
776 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
778 * undo.C (performUndoOrRedo): fix two crashes by setting a
779 cursor by hand and reordering some calls. Use bv->lockInset instead
780 of inset->edit because the latter loses cursor information
782 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
784 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
786 (rowBreakPoint): fix width. change point to point + 1.
789 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
792 * lyxfunc.C: fix (at least partly) the problems
793 with the Nav menu and headers inside branch insets
796 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
798 * paragraph.C (getChar): add strong asserts
800 * lyxrow_funcs.C (lastPos): remove hideous hack
802 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
803 (fill): adjust to that (avoid an infinite loop)
805 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
807 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
809 2003-10-23 André Pönitz <poenitz@gmx.net>
811 * RowList_fwd.h: change list<> to vector<> to gain speed
812 after suggestion from Alfredo
814 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
816 * lyxtext.h: move the bidi stuff from here...
819 * Bidi.[Ch]: ... to here
821 2003-10-23 André Pönitz <poenitz@gmx.net>
824 * text.C (isLastRow, isFirstRow): new functions
826 * paragraph.h: new width cache member
828 * rowpainter.C: replace RowList::iterator with Row & where possible
830 * lyxfunc.C: replace several view()->text with a single call
832 * toc.C: fix 'unused' warning
834 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
836 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
837 when woring with stream::pos_type
838 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
840 2003-10-22 André Pönitz <poenitz@gmx.net>
843 * text.C: use Row & instead of RowList::iterator
845 * lyxrow.h: rename end() to endpos()
851 2003-10-22 Angus Leeming <leeming@lyx.org>
853 * buffer.[Ch] (fully_loaded): new member function, returning true
854 only when the file has been loaded fully.
855 Used to prevent the premature generation of previews and by the
856 citation inset to prevent computation of the natbib-style label.
858 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
859 templates are all set up.
861 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
863 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
865 * text.C: fixed an "oops" in the "is a bit silly"
868 2003-10-21 André Pönitz <poenitz@gmx.net>
870 * FuncStatus.[Ch]: small stuff, whitespace
872 * lyxfont.[Ch]: operator<<() for debug reasons
876 * lyxtext.h: whitespace, spelling
878 * paragraph.C: naming of variables
881 * text2.C: small stuff
884 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
886 * text.C: (1) finish off the inset display() work;
887 (2) fix the "is a bit silly" bug (accessing char
890 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
892 * text.C: re-introduce display() for insets, fixing the
893 various bugs (stretch of line above, math inset
896 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
898 * text.C (rightMargin): remove spurious semicolon
900 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
903 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
905 * text3.C: fix one crash due to wrong cursor def
907 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
909 * vc-backend.C (scanMaster): make the regex static
911 * LaTeX.C (scanAuxFile): make the regexs static
913 * text3.C (doInsertInset, dispatch, dispatch):
914 * text2.C (cursorUp, cursorDown):
915 * text.C (selectNextWordToSpellcheck):
916 * BufferView_pimpl.C (dispatch):
917 * lyxfunc.C (dispatch): localDispatch -> dispatch
919 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
921 * lyxsocket.C: include <cerrno>
923 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
925 * lyxfunc.C (dispatch): remove textcache stuff
927 * bufferlist.C (release): remove textcache stuff
930 * TextCache.C: delete file
931 * TextCache.h: delete file
933 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
935 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
936 delete of the bv_->text.
937 (resizeCurrentBuffer): remove texcache stuff
938 (workAreaResize): ditto
940 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
942 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
945 2003-10-16 André Pönitz <poenitz@gmx.net>
952 * text3.C: speed up by storing y positions per paragraph plus per-row
953 offset instead of having a 'full' y position in the row.
955 2003-10-15 André Pönitz <poenitz@gmx.net>
959 * undo.[Ch]: make undo aware of inner insets
961 2003-10-14 Angus Leeming <leeming@lyx.org>
963 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
964 static member functions LyX::ref() and LyX::cref.
965 (lastfiles): new accessor functions for the new lastfiles_ member var.
966 (addLyXView, views_): add a new LyXView to the list of views_.
967 (updateInset): loop over all LyXViews to call their own updateInset
968 member function, returning a pointer to the Buffer owning the inset.
970 * BufferView_pimpl.C (loadLyXFile):
971 * MenuBackend.C (expandLastfiles):
972 * bufferlist.C (MenuWrite, QuitLyX):
973 lastfiles is no longer a global variable.
974 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
976 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
977 static function. Access through LyX::cref().emergencyCleanup().
979 2003-10-14 André Pönitz <poenitz@gmx.net>
981 * iterators.[Ch]: new direct access to innermost LyXText and Inset
983 * undo.[Ch]: restoring part of 'undo in insets'
986 * undo_funcs.[Ch]: merge with undo.[Ch]
988 * tabular.C: small cleansing stuff
990 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
992 * paragraph_funcs.C (readParToken): report unknown insets as error
993 boxes. Use the outer paragraph as location (also for unknown
996 * factory.C (readInset): do not abort on reading an unknown inset.
999 2003-10-13 Angus Leeming <leeming@lyx.org>
1001 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1003 * lyxrc.C: displayTranslator is now a function,
1004 declared in GraphicsTypes.h.
1006 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1008 * format.C: new placeholder $$a to pass the socket address.
1010 * bufferlist.[Ch]: new function getBufferFromTmp.
1012 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1013 files in the temporary dir.
1015 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1017 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1019 * Makefile.am: add lyxsocket.[Ch].
1021 * lyx_main.C (error_handler): handle SIGPIPE.
1023 2003-10-13 André Pönitz <poenitz@gmx.net>
1025 * BufferView_pimpl.C:
1030 * undo_funcs.[Ch]: use paroffset_type instead of
1031 ParagraphList::iterators to prevent multiple conversion
1032 (and get a more robust interface)
1034 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1036 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1038 * text3.C (dispatch): ditto
1040 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1042 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1043 move the onlyfile, use onlyfile instead of foundfile in a couple
1046 * DepTable.C (update): flush the error stream a bit more
1048 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1050 * lyxserver.C (callback): adjust
1052 * lyxfunc.C (getStatus): add a missing brace in commented code
1053 (ensureBufferClean): reindent
1054 (dispatch): delete version taking a string
1056 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1058 * LaTeX.C (deplog): move found file handlig from here...
1059 (handleFoundFile): .. to new function here.
1060 (deplog): make sure to discover several files mentioned on the
1063 2003-10-10 André Pönitz <poenitz@gmx.net>
1070 * text3.C: fix some of the tabular crashes
1072 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1074 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1076 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1078 2003-10-09 André Pönitz <poenitz@gmx.net>
1080 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1083 * BufferView_pimpl.C:
1084 * bufferview_funcs.C:
1095 * undo_funcs.C: adjust
1097 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1099 * text2.C (incrementItemDepth): new function, use a backtracking
1100 algorithm to discover the correct item depth.
1101 (resetEnumCounterIfNeeded): new function, use a backtracking
1102 algorithm to discover if counter reset is needed.
1103 (setCounter): use them. Simplify a bit. Add different labels for
1104 different item depths for itemize.
1106 * paragraph.C (Paragraph): remove initialization of enumdepth
1109 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1110 enumerate and itemize. Change the type of itemdepth to signed char.
1112 2003-10-08 André Pönitz <poenitz@gmx.net>
1114 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1119 * tabular.[Ch]: fix crash after 'row-insert'
1121 2003-10-08 Angus Leeming <leeming@lyx.org>
1123 Fix doxygen warnings.
1125 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1126 Remove CutAndPaste:: prefix from header file declaration.
1128 * LColor.h (fill): remove LColor:: prefix from declaration.
1130 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1131 use lyx::depth_type rather than Paragraph::depth_type so that
1132 header file and .C file match.
1134 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1136 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1137 * aspell.C: \file aspell_local.C -> \file aspell.C
1138 * gettext.C: \file gettext.C -> \file src/gettext.C
1139 * gettext.h: \file gettext.h -> \file src/gettext.h
1140 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1141 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1142 * text.C: \file text.C -> \file src/text.C
1144 * toc.C: move comment so that doxygen is not confused.
1146 2003-10-07 Angus Leeming <leeming@lyx.org>
1148 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1150 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1153 * aspell_local.h: add forgotten std::string's.
1155 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1162 * text3.C: The Box patch. Fancybox support, minipage, parbox
1164 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1170 * ParagraphParameters.h:
1180 * lyxtextclasslist.h:
1183 * paragraph_pimpl.C:
1184 * textcursor.h: add <string> and other small fixes to make Lars'
1185 std::string patch compile with STLport.
1187 2003-10-06 Angus Leeming <leeming@lyx.org>
1189 * LColor.h: Add missing #include <string>.
1191 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1193 * All most all file in all subdirs: Make <string> be the prefered
1194 way of getting to std::string, add using declarations.
1196 2003-10-06 André Pönitz <poenitz@gmx.net>
1198 * metricsinfo.C: initialize LyXFont before changing attribute.
1199 (fixes the 'math in \emph is upright' bug)
1201 2003-10-06 André Pönitz <poenitz@gmx.net>
1203 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1205 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1208 * paragraph_pimpl.C: Small fixes to build using STLport
1210 2003-10-02 André Pönitz <poenitz@gmx.net>
1213 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1215 2003-10-01 André Pönitz <poenitz@gmx.net>
1217 * factory.C: assert early
1219 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1221 * lyx_main.C: remove the global debug object
1223 * debug.h: adjust for new debugstream
1225 * debug.C: adjust for new debugstream and keep the global debug
1228 2003-09-22 Angus Leeming <leeming@lyx.org>
1230 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1231 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1232 an incomplete class LyXFont.
1234 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1236 * factory.C: bug fix in branches
1238 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1240 * lyxfunc.C (processKeySym): adjust
1242 (dispatch): change arg name from ev to func, adjust
1243 (sendDispatchMessage): ditto
1245 * lyx_main.C (defaultKeyBindings): adjust keybindings
1246 (deadKeyBindings): ditto
1248 * kbsequence.C (addkey): return a FuncRequest
1250 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1252 * kbmap.C (bind): take a FuncRequest as arg, adjust
1255 (defkey): change to take a FuncRequest as arg, adjust
1256 (findbinding): take a FuncRequest as arg, adjust.
1258 * funcrequest.h (operator=): added
1260 * funcrequest.C (FuncRequest): default kb_action changed from
1261 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1263 * buffer.C (dispatch): simplify
1264 (dispatch): adjust to take a FuncRequest as arg, adjust
1266 * boost.C (assertion_failed): change assertion message slightly
1268 * ToolbarBackend.C (read): simplify
1270 * MenuBackend.C (binding): adjust call to findbinding, add a
1271 message if no binding is found.
1273 (expandToc): correct by adding a empty FuncRequest
1275 * LyXAction.C: include <boost/assert.hpp>
1276 (isPseudoAction): delete function
1277 (LookupFunc): change name to...
1278 (lookupFunc): this. change return type to FuncRequest.
1279 (getActionName): take kb_action as arg, simplify
1280 (funcHasFlag): add an assert, simplify.
1282 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1284 * toc.C (action): return a FuncRequest, simplify
1286 * lyxfunc.C (processKeySym): adjust
1287 (getStatus): delete version that takes an int.
1289 (dispatch): delete version that takes action as int
1291 (sendDispatchMessage): simplify and adjust
1293 * funcrequest.C (getArg): take unsigned int as arg
1295 * ToolbarBackend.C (read): adjust
1296 (add): delete version that takes func as a string.
1297 (getIton): take a FuncRequest as arg
1299 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1302 * MenuBackend.C (MenuItem): add a new construct that only takes a
1303 Kind, simplify the constructor use for submenus.
1305 (expandLastfiles): adjust
1306 (expandDocuments): adjust
1307 (expandFormats): adjust
1308 (expandFloatListInsert): adjust
1309 (expandFloatInsert): adjust
1310 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1312 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1313 Remove class variables lyx_pseudo_map and lyx_arg_map
1315 * LyXAction.C (searchActionArg): delete function
1316 (getPseudoAction): delete function
1317 (retrieveActionArg): delete function
1318 (LookupFunc): make it return kb_action, simplify.
1319 (getActionName): simplify
1321 * factory.C (createInset): fix new bug
1323 2003-09-19 Angus Leeming <leeming@lyx.org>
1325 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1326 masterFilename_ parameter in the include inset.
1328 * factory.C (createInset): changes due to the changes to InsetInclude.
1330 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1332 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1334 2003-09-18 Angus Leeming <leeming@lyx.org>
1337 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1338 Inset::fillWithBibKeys.
1339 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1341 2003-09-18 Angus Leeming <leeming@lyx.org>
1343 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1345 (ctor): pass and store a 'Buffer const &'
1346 (buffer): new member function.
1348 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1349 '*this' to the LaTeXFeatures ctor.
1351 2003-09-18 Angus Leeming <leeming@lyx.org>
1357 * text.C: rename EnumLColor as LColor_color.
1359 2003-09-18 Angus Leeming <leeming@lyx.org>
1361 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1362 remove #include "insets/insetbase.h" from cursor.h.
1364 2003-09-18 Angus Leeming <leeming@lyx.org>
1366 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1367 InsetOld_code to remove #include "inset.h".
1369 * iterators.C: add #include "insets/inset.h"
1371 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1373 * BufferView.C: remove more locking stuff that apparently doesn't
1374 do anything sensible.
1376 2003-09-16 André Pönitz <poenitz@gmx.net>
1379 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1382 2003-09-16 Angus Leeming <leeming@lyx.org>
1384 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1386 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1389 * paragraph.h: remove #include "lyxfont.h". Forward declare
1392 2003-09-16 Angus Leeming <leeming@lyx.org>
1394 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1395 of support/textutils.h.
1396 (isWord): move the contents of support/textutils.h's IsWordChar here.
1402 * text2.C: add #include "paragraph.h".
1405 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1407 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1413 * LaTeX.C: use namespace alias for lyx::support::os
1415 2003-09-16 Angus Leeming <leeming@lyx.org>
1418 * bufferview_funcs.C:
1421 * paragraph_pimpl.C:
1423 * text.C: add #include "LColor.h".
1425 2003-09-16 Angus Leeming <leeming@lyx.org>
1427 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1428 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1430 Store the FontBits::color variable as an int rather than as an
1431 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1434 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1435 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1436 string calls together.
1438 * lyxrc.C: add #include "LColor.h".
1440 2003-09-15 Angus Leeming <leeming@lyx.org>
1442 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1445 2003-09-15 Angus Leeming <leeming@lyx.org>
1447 * LColor.h: add an EnumLColor wrapper for LColor::color.
1449 * lyxfont.[Ch] (color, setColor, realColor):
1450 * lyxtext.h, text.C (backgroundColor):
1451 pass EnumLColor args to/from the functions, rather than LColor::color
1455 * lyxtext.h: forward declare EnumLColor.
1457 * lyx_main.C: add #include "LColor.h".
1459 2003-09-15 Angus Leeming <leeming@lyx.org>
1461 * .cvsignore: add lyx-gtk.
1463 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1468 * ParagraphParameters.C
1472 * bufferview_funcs.C
1482 * vc-backend.C: remove usage of STRCONV
1484 2003-09-15 Angus Leeming <leeming@lyx.org>
1486 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1487 explicitly define the color passed to the painter.
1489 2003-09-15 Angus Leeming <leeming@lyx.org>
1491 * bufferparams.C (BufferParams): reorder member initializers to avoid
1494 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1496 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1497 * text.C (updateRowPositions): remove an unusual nop
1499 2003-09-12 André Pönitz <poenitz@gmx.net>
1501 * BufferView_pimpl.C:
1510 * Counters.[Ch]: finish the 'automatic counters' job
1512 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1514 * aspell.C: include <boost/assert.cpp> (compile fix)
1516 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1518 * boost.C (assertion_failed): use lyx::support::abort instead of
1521 2003-09-10 Angus Leeming <leeming@lyx.org>
1523 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1524 with their _fwd progeny.
1526 2003-09-09 Angus Leeming <leeming@lyx.org>
1528 134 files throughtout the source tree: replace 'using namespace abc;'
1529 directives with the appropriate 'using abc::xyz;' declarations.
1531 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1533 * boost.C (emergencyCleanup): moved here from LAssert.c
1534 (assertion_failed): new function, called by BOOST_ASSERT
1536 * several files: change Assert to BOOST_ASSERT
1538 2003-09-09 Angus Leeming <leeming@lyx.org>
1540 * buffer.[Ch]: Add an Impl class and move Buffer's member
1541 variables into it. As a result move several header files out of
1544 Add header files to lots of .C files all over the tree as a result.
1546 2003-09-09 Angus Leeming <leeming@lyx.org>
1548 * buffer.[Ch]: make Buffer's member variables private. Add
1551 Lots of changes all over the tree as a result.
1553 2003-09-08 Angus Leeming <leeming@lyx.org>
1555 * graph.C: #include <config.h>.
1557 2003-09-08 Angus Leeming <leeming@lyx.org>
1561 * BufferView_pimpl.C:
1590 * toc.C: remove redundant using directives.
1592 2003-09-07 Angus Leeming <leeming@lyx.org>
1594 * LaTeXFeatures.h: remove #include "support/types.h".
1595 * ToolbarBackend.h: remove #include <algorithm>.
1596 * changes.h: remove #include <ctime>.
1597 * debug.h: remove #include <iosfwd>.
1598 * graph.h: remove #include "support/std_string.h".
1599 * lyx_main.h: remove #include <csignal>.
1600 * lyxlex_pimpl.h: remove #include <fstream>.
1601 * sgml.h: remove #include <algorithm>, <utility>.
1602 * toc.h: remove #include "support/std_ostream.h".
1603 Add #include <iosfwd>.
1605 2003-09-07 Angus Leeming <leeming@lyx.org>
1607 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1609 * converter.h: forward declare LatexRunParams.
1610 * encoding.h: remove #include "lyxrc.h".
1611 * lyxtext.h: remove #include "LColor.h".
1612 * lyxtextclass.h: remove #include "support/types.h".
1613 * trans.h: remove #include "tex-accent.h".
1614 * trans_mgr.h: remove #include "tex-accent.h".
1615 * insets/inset.h: remove #include "support/types.h", <vector>.
1616 * insets/insetcollapsable.h: remove #include "LColor.h".
1617 * insets/insetinclude.h: remove #include "dimension.h".
1618 * insets/insetlatexaccent.h: remove #include "dimension.h".
1619 * insets/insetoptarg.h:: remove #include "insettext.h".
1620 * insets/insettext.h: remove #include "dimension.h",
1621 <boost/shared_ptr.hpp>
1623 * insets/renderers.h: add #include "dimension.h".
1624 * insets/updatableinset.h: add #include "support/types.h".
1626 * many .C files: Associated changes.
1628 2003-09-06 Angus Leeming <leeming@lyx.org>
1630 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1631 one, inside testInvariant.
1633 * PrinterParams.C: new file.
1634 * PrinterParams.[Ch]: move the function bodies out of line.
1636 2003-09-06 Angus Leeming <leeming@lyx.org>
1638 * ParagraphParameters.h: forward declare ParameterStruct rather than
1639 including its header file.
1640 (depth): moved out-of-line.
1642 2003-09-06 Angus Leeming <leeming@lyx.org>
1644 * BufferView_pimpl.h:
1647 * lyxfunc.h: forward declare LyXKeySym rather than
1648 #include "frontends/LyXKeySym.h".
1650 * BufferView_pimpl.C:
1653 * lyxfunc.C: associated changes.
1655 2003-09-06 Angus Leeming <leeming@lyx.org>
1657 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1658 As a result, can remove the #include "insets/inset.h" from BufferView.h
1660 2003-09-06 Angus Leeming <leeming@lyx.org>
1662 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1663 As a result, can remove the #include "insets/inset.h" from BufferView.h
1665 2003-09-06 Angus Leeming <leeming@lyx.org>
1671 * bufferview_funcs.C:
1672 * BufferView_pimpl.C:
1677 * ParagraphParameters.C:
1682 * frontends/controllers/ControlDocument.C:
1683 * insets/insetcaption.C: rearrange the #includes into some sort of
1686 * buffer.h: remove #includes ErrorList.h, undo.h
1688 2003-09-06 Angus Leeming <leeming@lyx.org>
1690 * support/types.h: add a 'depth_type' typedef, used to store the
1691 nesting depth of a paragraph.
1694 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1695 defining explicitly.
1698 * paragraph_funcs.h:
1699 * ParagraphParameters.h:
1700 * sgml.h: use lyx::depth_type rather than Paragraph or
1701 ParameterStruct's depth_type.
1704 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1707 * BufferView_pimpl.C:
1709 * ParagraphParameters.C:
1712 * bufferview_funcs.C:
1719 * frontends/LyXView.C:
1720 * frontends/controllers/ControlDocument.C:
1721 * frontends/controllers/ControlErrorList.C:
1722 * insets/insetbibitem.C:
1723 * insets/insetbranch.C:
1724 * insets/insetcaption.C:
1725 * insets/insetcollapsable.C:
1726 * insets/insetenv.C:
1727 * insets/insetert.C:
1728 * insets/insetfloat.C:
1729 * insets/insetfoot.C:
1730 * insets/insetfootlike.C:
1731 * insets/insetnewline.C:
1732 * insets/insetquotes.C:
1733 * insets/insettabular.C:
1734 * insets/insettext.C:
1735 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1737 * frontends/controllers/ControlChanges.C: #include "changes.h".
1739 2003-09-06 Angus Leeming <leeming@lyx.org>
1741 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1742 than #including paragraph.h.
1745 * RowList.h: deleted. Superfluous.
1755 * insets/insettext.h: use ParagraphList_fwd.h rather than
1758 * paragraph.h: don't forward declare ParagraphList.
1761 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1762 rather than ParagraphList.h. paragraph.h is still needed for the
1763 Paragraph::depth_type parameters.
1765 * textcursor.h: enable it to compile stand-alone in light of the
1768 * bufferview_funcs.C:
1780 * frontends/controllers/ControlParagraph.C:
1781 * frontends/controllers/ControlTabular.C:
1782 * insets/insetmarginal.C:
1783 * insets/insetminipage.C:
1784 * insets/insetnote.C:
1785 * insets/insetoptarg.C: add header files needed to compile again.
1787 2003-09-06 Angus Leeming <leeming@lyx.org>
1789 * RowList_fwd.h: new file, forward-declaring Row rather than
1790 #including lyxrow.h.
1795 * insets/insettext.h: use it instead of RowList.h
1797 * bufferview_funcs.C:
1804 * text3.C: #include "RowList.h".
1806 2003-09-05 Angus Leeming <leeming@lyx.org>
1808 * factory.C (createInset):
1809 * vspace.C (c-tor): replace sscanf call with an istringstream.
1810 * ispell.C: re-add missing HP/UX headers.
1811 * lyxserver.C: re-add missing os2 headers.
1813 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1822 * text3.C: re-add missing system headers, needed for 2.95.2.
1824 2003-09-05 Angus Leeming <leeming@lyx.org>
1826 Changes most place everywhere due to the removal of using directives
1827 from support/std_sstream.h.
1829 2003-09-05 Angus Leeming <leeming@lyx.org>
1831 Replace LString.h with support/std_string.h,
1832 Lsstream.h with support/std_sstream.h,
1833 support/LIstream.h with support/std_istream.h,
1834 support/LOstream.h with support/std_ostream.h.
1836 Changes resulting throughout the tree.
1838 2003-09-05 Angus Leeming <leeming@lyx.org>
1840 * sgml.h: ensure that the header file can be compiled stand-alone.
1841 * *.C: strip out redundant #includes. (320 in total.)
1843 2003-09-04 Angus Leeming <leeming@lyx.org>
1845 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1846 here (from getPackages).
1848 * debug.[Ch]: add a new EXTERNAL tag.
1850 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1852 * text2.C (cursorEnd): simplify
1854 (getColumnNearX): adjust
1856 * text.C (computeBidiTables): adjust
1859 * rowpainter.C (paintChars): adjust
1860 (paintSelection): adjust
1861 (paintChangeBar): adjust
1864 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1866 (numberOfSeparators): adjust
1868 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1874 * text3.C: Restricts the mouse click functionality
1875 of insets like bibtex, include, toc and floatlist to the visible
1876 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1877 up the dialogs. Cursor has to be in front of the inset (i.e.
1878 start of row) for this to function.
1880 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1882 * bufferview_funcs.C (currentState): output row information
1884 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1886 * bufferview_funcs.C (currentState): output paragraph position
1888 2003-09-04 Angus Leeming <leeming@lyx.org>
1890 * FloatList.h: move out #include "Floating.h".
1891 * LaTeX.h: move out #include "DepTable.h".
1892 * LyXAction.h: move out #include "funcrequest.h".
1893 * buffer.h: move out #include "author.h", "iterators.h".
1894 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1895 * lyx_main.h: move out #include "errorlist.h".
1896 * lyxfunc.h: move out #include "FuncStatus.h".
1897 * lyxtext: move out #include "lyxcursor.h".
1898 * paragraph_pimpl.h: move out #include "counters.h".
1900 2003-09-03 Angus Leeming <leeming@lyx.org>
1902 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1903 preamble_snippets list, enabling us to add snippets to the preamble
1904 only if the snippet was not there already.
1906 2003-09-04 Angus Leeming <leeming@lyx.org>
1908 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1910 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1912 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1915 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1917 * BranchList.C: point fix, earlier forgotten
1919 2003-09-02 Angus Leeming <leeming@lyx.org>
1921 * box.C (contains): renamed from 'contained' after a fantastic
1924 2003-09-02 John Levon <levon@movementarian.org>
1930 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1932 2003-09-02 John Levon <levon@movementarian.org>
1934 * text2.C: simplification of cursorEnd(), including partial
1937 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1939 * buffer.C (readFile): add a space
1941 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1943 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1945 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1947 * buffer.C (readFile): new function, take a filename and a
1948 ParagraphList::iterator
1950 (readFile): adjust, make it private. don't use setStream, make
1951 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1952 always contain the filename.
1954 * BufferView.C (insertLyXFile): simplify and make it work for
1957 2003-08-30 John Levon <levon@movementarian.org>
1959 * Makefile.am: fix dist (from Kayvan)
1961 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1963 * most files: change to use const Buffer refs
1965 2003-08-27 André Pönitz <poenitz@gmx.net>
1967 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1968 on top of ownerPar().
1970 2003-08-27 John Levon <levon@movementarian.org>
1972 * funcrequest.C: properly initialise POD members
1974 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1976 * lyxtext.h (top_y): move top_y from here
1981 * BufferView_pimpl.[Ch]: to here
1982 * frontends/screen.C:
1983 * insets/insettabular.C:
1984 * insets/insettext.C: adjust
1985 * rowpainter.[Ch] (paintRows): remove LyXText & argument
1987 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1990 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1992 2003-08-26 André Pönitz <poenitz@gmx.net>
1994 * paragraph_func.[Ch] (outerPar): new function
1997 * paragraph_funcs.C:
1998 * paragraph_funcs.h:
1999 * paragraph_pimpl.C:
2000 * text2.C: remove Inset::par_owner
2002 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2007 * text2.C: eliminates the needFullRow/display() stuff
2008 altogether, putting the logic in metrics/draw in the insets.
2010 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2012 * text2.C (redoParagraphInternal, redoParagraphs):
2013 * text.C (redoParagraph): add a call to updateRowPositions at the
2014 end of each 'metrics-like' call. Remove all others.
2015 (getRow): remove the 'y-computing' version.
2016 (getRowNearY): do not compute nor return the real y. Solve the
2017 'y < 0' problem and simplify.
2019 2003-08-22 Angus Leeming <leeming@lyx.org>
2021 * *.[Ch]: clean-up of licence and author blurbs.
2022 Also move config.h out of a few .h files and into a few .C files.
2024 2003-08-22 André Pönitz <poenitz@gmx.net>
2026 * lyxrow.[Ch]: add x_ and *fill_ members
2031 * text2.C: adjust/remove prepareToPrint() calls
2033 2003-08-22 André Pönitz <poenitz@gmx.net>
2035 * lyxrow.[Ch]: add end_ member
2037 * lyxrow_funcs.C: use LyXRow::end_
2039 * lyxtext.h (singleWidth): add LyXFont parameter
2042 * text2.C: adjust LyXText::singleWidth() calls
2044 * text.C (redoParagraph): simplify row breaking logic
2047 2003-08-19 André Pönitz <poenitz@gmx.net>
2049 * funcrequest.C: initialize button_ member
2052 * rowpainter.[Ch]: interface consolidation
2054 2003-08-18 André Pönitz <poenitz@gmx.net>
2057 * BufferView_pimpl.C:
2059 * paragraph_funcs.C:
2061 * text3.C: remove LyXScreen::draw() and fitCursor calls
2063 * BranchList.h: remove spurious semicolons
2065 * MenuBackend.C: fix branchlist related crash
2067 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2075 * bufferparams.[Ch]:
2079 * text3.C: implements the 'branch inset'
2080 idea. This allows the output of various versions of a document
2081 from a single source version, selectively outputing or suppressing
2082 output of parts of the text.
2083 This implementation contains a 'branch list editor' in a separate
2084 tab of the document settings dialog. Branches are user definable
2085 and have a "display colour" to distinguish them on-screen.
2087 ColorHandler was somewhat cleaned up.
2088 (1) make possible a dynamically growing LColor list by allowing
2089 the graphic context cache to grow along (vector);
2090 (2) eliminate an IMHO unnecessary step in colour allocation.
2092 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2094 * BufferView_pimpl.C: compile fix
2096 2003-08-15 André Pönitz <poenitz@gmx.net>
2098 * rowpainter.C: remove extra metrics calls
2100 * lyxtext.h: merge the two constructors into a single one,
2101 pass reference to owner's par list
2103 * BufferView_pimpl.C:
2107 2003-08-15 André Pönitz <poenitz@gmx.net>
2109 * lyxrow_funcs.[Ch]:
2112 * paragraph_funcs.C:
2117 * text_funcs.C: split LyXText::rowlist_ into individual
2118 Paragraph::rows_ chunks
2121 * BufferView_pimpl.[Ch]:
2124 * text3.C: remove toggleSelection()
2126 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2128 * bufferlist.C: beautify two alerts (shorter text of buttons)
2129 * buffer.C: Remove redundant ' ' from message
2131 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2132 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2133 rename VALIGN_CENTER to VALIGN_MIDDLE
2135 2003-08-11 André Pönitz <poenitz@gmx.net>
2137 * lyxtext.h (getPar):
2138 * text.C: new function
2140 2003-08-11 André Pönitz <poenitz@gmx.net>
2143 * tracer.[Ch]: remove unneeded files
2145 * InsetList.[Ch]: remove resizeInsetsLyXText()
2150 * text3.C: merge insertParagraphs() and appendParagraph()
2151 remove breakAgain(), update()
2153 * BufferView_pimpl.[Ch]:
2154 * bufferview_funcs.[Ch]:
2158 * tabular.C: adjust after text & InsetList changes.
2160 2003-08-08 André Pönitz <poenitz@gmx.net>
2162 * text.C (insertChar, backspace): replace rowlist fiddling
2163 with rebreak of full par
2166 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2167 checkParagraph, updateInset): removed
2169 2003-08-07 André Pönitz <poenitz@gmx.net>
2172 * text3.C: merge some LFUN handlers, remove dead code
2174 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2176 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2178 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2180 * text2.C (DEPM): fix part of bug 1255 and 1256
2182 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2184 * BufferView_pimpl.C (workAreaDispatch): change to use
2185 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2186 that are no mouse related.
2188 2003-08-05 André Pönitz <poenitz@gmx.net>
2191 * BufferView_pimpl.[Ch]:
2192 * bufferview_funcs.C:
2194 * text3.C: rip out "deep update"
2196 * textcursor.[Ch] (last_sel_cursor): remove unused member
2198 2003-08-04 André Pönitz <poenitz@gmx.net>
2201 * BufferView_pimpl.[Ch]:
2202 * ParagraphParameters.C:
2203 * bufferview_funcs.C:
2209 * text3.C: replace "complicated" BufferView::update(...) calls with
2212 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2214 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2216 * Makefile.am (lyx_SOURCES): add paper.h
2218 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2220 * Makefile.am: move things around so that both lyx-qt and
2221 lyx-xforms can be built (according to --with-frontend). Then lyx
2222 is a symbolic link to lyx-[firstfrontend]
2224 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2226 * Always use std::endl with lyxerr
2228 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2230 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2232 2003-08-01 André Pönitz <poenitz@gmx.net>
2235 * BufferView_pimpl.[Ch]:
2237 * text3.C: merge BufferView::repaint() and BufferView::update()
2239 2003-08-01 José Matos <jamatos@lyx.org>
2241 * buffer.[Ch]: file_format is no longer a buffer data element.
2243 2003-08-01 André Pönitz <poenitz@gmx.net>
2248 * text2.C: make redoParagraph more independent of current cursor
2250 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2252 * text2.C: remove unneeded members
2254 2003-07-30 André Pönitz <poenitz@gmx.net>
2256 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2258 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2259 create a single function...
2261 * paragraph_funcs.C (moveItem): ... here.
2264 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2266 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2268 * LColor.[Ch]: Add comment and greyedout logical colors.
2270 2003-07-30 André Pönitz <poenitz@gmx.net>
2272 * tabular.C: don't use Assert too heavily. This crashes where it
2275 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2277 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2278 is disabled (bug 1232)
2280 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2282 * factory.C: limited 'arg' scope
2284 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2286 * factory.C: fixed Note submenu issues
2288 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2290 * factory.C: submenu for Note/Comment/Greyedout
2292 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2295 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2297 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2300 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2301 greyedout. Patch provided by Jürgen Spitzmüller.
2303 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2305 * kbmap.C (read): fix error message when reading bind files
2307 2003-07-29 Angus Leeming <leeming@lyx.org>
2309 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2310 certainly does not do what it purports to do. I am doing it, and
2311 us, a favour by killing it.
2313 2003-07-28 José Matos <jamatos@lyx.org>
2315 * buffer.C (readBody, do_writeFile):
2316 * paragraph.C(readParagraph): \end_document replaces \the_end.
2318 2003-07-29 André Pönitz <poenitz@gmx.net>
2321 * BufferView_pimpl.[Ch]:
2325 * textcursor.[Ch]: remove toggleToggle & Co
2327 2003-07-28 José Matos <jamatos@fep.up.pt>
2329 * buffer.C (readParagraph):
2330 * params_func (readParToken, readParagraph):
2331 * paragraph.C (write): \layout -> \begin_layout.
2333 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2335 * lyxlex_pimpl.C (setFile): clean up slightly.
2337 * bufferparams.h: add compressed var
2339 * buffer_funcs.C (readFile): adjust for LyXLex change
2340 (newFile): ditto + simplify
2342 * buffer.C (writeFile): handle writing of compressed files
2344 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2345 Check if the file is compressed and set a bufferparm if so.
2347 * Makefile.am (lyx_LDADD): remove explicit -lz
2349 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2351 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2352 makeDocBookFile): put the real LyX version in the first line of
2356 * version.C.in: remove lyx_docversion
2358 * tabular.C (write_attribute): add a template-based version to
2359 write enums properly
2361 2003-07-28 André Pönitz <poenitz@gmx.net>
2366 * text3.C: use doubles again for x-coordinates. They are needed.
2368 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2370 * messages.C (getLocaleDir): use lyx_localedir()
2372 * lyxlex_pimpl.C (setFile): compress stuff
2374 * buffer.C (writeFile): add some compression stuff
2375 (do_writeFile): new func, dont call expliti close... will this
2378 * Makefile.am (lyx_LDADD): add -lz
2380 2003-07-28 José Matos <jamatos@fep.up.pt>
2382 * buffer.C: increment file format.
2383 * paragraph_funcs (readParagraph, readParToken):
2384 * paragraph.C (readParagraph): add \end_layout.
2386 2003-07-27 Angus Leeming <leeming@lyx.org>
2388 * Makefile.am: remove special casing for configure-time setting of
2389 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2391 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2392 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2394 2003-07-26 André Pönitz <poenitz@gmx.net>
2396 * paragraph_func.[Ch]:
2397 * paragraph.C (realizeFont): inline it whereever it is used
2402 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2405 2003-07-26 André Pönitz <poenitz@gmx.net>
2409 * text2.C: get rid of LyXText::need_break_row
2411 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2413 * toc.[Ch]: put namespace toc inside namespace lyx
2415 * MenuBackend.C (expandToc2): adjust for lyx::toc
2418 * lyxfunc.C (dispatch): adjust for lyx::find
2420 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2421 lyx::find instead. Reorganize a bit.
2422 (LyXReplace): rename to replace
2423 (LyXFind): rename to find
2425 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2428 2003-07-26 André Pönitz <poenitz@gmx.net>
2430 * text.C (setHeightOfRow): restrict scope of temporary variable
2432 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2433 code (never has been used?)
2435 2003-07-27 Asger Alstrup <alstrup@local>
2437 * text.C (fill): Optimise algorithm to exploit that we can reuse
2438 the LyXFont for many characters.
2439 (setHeightOfRow): Same thing.
2440 (rowBreakPoint): Same thing.
2442 2003-07-26 Asger Alstrup <alstrup@local>
2444 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2446 * text.C (singleWidth): Spurious font copying in hot-spot
2447 singleWidth avoided. Reorder tests for arabic for efficiency.
2449 * text.C (fill): handle empty paragraphs better.
2451 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2454 * encoding.h: add includes
2456 * lyxrc.C: remove reading of bind files
2458 * lyx_main.C (init): setup bindings and menus only if we have a
2461 * kbmap.C (read): new method. Do the actual reading of bind
2464 * converter.C (dvipdfm_options):
2467 (output): adapt PAPER_* enums.
2469 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2471 * bufferparams.h: remove paper-related enums from there
2473 * paper.h: New file. A trivial header file to hold paper-related
2474 enums. It should later expand to contain many paper-related
2477 * lyxrc.C: declare extern displayTranslator
2479 2003-07-27 José Matos <jamatos@fep.up.pt>
2481 * tabular.[Ch] (linuxdoc): add support for tables and figures
2484 2003-07-27 José Matos <jamatos@fep.up.pt>
2486 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2487 consistency in both functions.
2488 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2490 2003-07-26 Asger Alstrup <alstrup@local>
2492 * rowpainter.C (paintRows): Change algorithm to work directly on
2493 the insets rather than asking every character in the document
2494 whether its an inset.
2496 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2498 * buffer.C (openFileWrite): factorize some code
2500 2003-07-26 Angus Leeming <leeming@lyx.org>
2503 * lyx_main.[Ch]: replace occurances of system_tempdir with
2506 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2508 * rename Inset to InsetOld
2510 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2512 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2513 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2514 which I think is a bit clearer. EDIT is gone, since it was
2515 premature optimisation, and broken for mathed anyway.
2516 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2517 with cursor positioning in insets as well (math insets still do not
2518 work, but that's a different story anyway.) It mysteriously
2519 crashes sometimes with undo in the first paragraph, but I'm fairly
2520 confident that this is a compiler bug.
2522 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2524 * paragraph.C (Paragraph): adjust for new clone return type
2526 (copyIntoMinibuffer): ditto
2528 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2530 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2531 by not having a special case, and always doing a full rebreak of
2532 the document after undo.
2534 2003-07-23 Angus Leeming <leeming@lyx.org>
2536 * factory.C (createInset): InsetExternal::setParams now takes a
2539 2003-07-23 Angus Leeming <leeming@lyx.org>
2541 * factory.C (createInset): changed interface to the external and
2542 graphics mailers' string2params functions.
2544 2003-07-23 Angus Leeming <leeming@lyx.org>
2546 * factory.C (createInset): pass a
2547 Buffer const * parameter to InsetExternalMailer's string2params.
2549 2003-07-22 John Levon <levon@movementarian.org>
2551 * Thesaurus.h: include the right aiksaurus header
2553 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2555 * MenuBackend.C (expand): check menu shortcuts unconditionally
2557 2003-07-21 Angus Leeming <leeming@lyx.org>
2559 * factory.C (createInset): pass a
2560 buffer_path parameter to InsetGraphicsMailer's string2params.
2562 2003-07-21 Angus Leeming <leeming@lyx.org>
2564 * BufferView_pimpl.C (buffer):
2567 * lyxfunc.C (dispatch):
2568 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2569 rather than the grfx shortcut.
2571 2003-07-21 André Pönitz <poenitz@gmx.net>
2573 * rowpainter.C: remove unused variables
2576 * tabular_funcs.h: move to tabular.C
2577 * Makefile.am: adjust
2579 * tabular.[Ch]: basic optical cleaning
2581 * author.h: pass references, not values
2583 2003-07-18 André Pönitz <poenitz@gmx.net>
2591 * text3.C: two-phase drawing for InsetText and InsetTabular
2592 some float -> int changes.
2594 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2596 * lyx_main.C: fix the fix
2598 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2600 * lyx_main.C: fix a crash in batch mode if no files specified
2603 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2605 * format.[Ch] (papersize): moved to BufferParams
2606 * converter.[Ch] (dvips_options): moved to BufferParams
2607 (dvipdfm_options): moved to anon namespace
2608 * bufferparams.[Ch]: added above functions.
2610 2003-07-17 André Pönitz <poenitz@gmx.net>
2614 * text2.C: don't call inset->update() anymore
2616 * metricsinfo.[Ch]: add convenience constructor
2618 2003-07-16 André Pönitz <poenitz@gmx.net>
2623 * text2.C: replace the LyXCursor::irow_ member with
2624 on-demand computation of the value
2626 2003-07-16 John Levon <levon@movementarian.org>
2628 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2630 2003-07-15 André Pönitz <poenitz@gmx.net>
2633 * text2.C: remove no more needed refresh_row
2635 2003-07-15 André Pönitz <poenitz@gmx.net>
2640 * text3.C: refresh_status tristate -> need_update bool
2642 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2644 * lyxtext.h (init): remove reinit argument (act as if always true)
2645 * text2.C: adjust to that
2647 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2649 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2650 * text3.C: use it to delete selections in some cases
2651 (bugs 441, 673, 702, 954).
2653 2003-07-14 André Pönitz <poenitz@gmx.net>
2655 * rowpainter.[Ch]: reduce interface
2657 2003-07-14 André Pönitz <poenitz@gmx.net>
2659 * BufferView_pimpl.C:
2660 * text2.C: adjust after removing unused BufferView * argument
2662 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2664 * text2.C (init): fix a crash fired on resize
2666 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2668 * buffer.[Ch]: added new closing signal
2669 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2670 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2671 BufferView::Pimpl via the closing the signal
2673 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2675 * buffer.[Ch]: take out all bv-related from buffer
2677 * BufferView_pimpl.[Ch]: connect to new signals
2678 * CutAndPaste.C: removed useless asserts
2679 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2682 * lyxfunc.C: moved view-related funciontality from vc here
2683 * paragraph.C: removed outdated comments
2686 2003-07-10 André Pönitz <poenitz@gmx.net>
2688 * BufferView_pimpl.C:
2692 * text2.C: remove InsetText::InnerCache, clean up consequences
2694 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2696 * ispell.C: fix two typos in error messages
2698 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2700 * Extend Note inset to other forms of annotation like Comment
2701 and Greyedout. Right button click gives dialog.
2703 Files modified or added (+):
2707 * ControlNote.[Ch] +
2709 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2710 frontends/controllers
2714 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2716 * aspell.C: add missing namespace lyx::support
2718 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2720 * BufferView.[Ch] (newFile): Add
2721 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2722 * LaTeX.[Ch] (message): added this signal and use it
2723 * buffer.[Ch] (busy, message): added these signals and use them
2724 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2728 * importer.C: use buffer signals instead of direct bv calling
2729 * lyx_cb.[Ch] (ShowMessage): removed
2732 * paragraph_funcs.C:
2733 * text2.C: use buffer signals
2735 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2737 * introduce namespace lyx::graphics
2739 2003-07-02 André Pönitz <poenitz@gmx.net>
2741 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2743 2003-07-01 André Pönitz <poenitz@gmx.net>
2750 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2751 text*.C to text_func.C
2753 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2755 * introduce namespace lyx::support
2757 2003-06-30 André Pönitz <poenitz@gmx.net>
2762 * text.C: re-enable --with-included-string
2764 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2766 * textcursor.C: add <config.h>
2768 * text.C (getWord): remove const from word_location arg
2770 * lyxvc.C (getLogFile): fix const type order
2772 * lyxtext.h: remove const from word_location arg, add arg name
2774 * lyxlayout.h: currect type on labeltype.
2776 * importer.C: correct \file
2778 * converter.C (intToFormat): use std:: on ret val, ws changes
2780 * bufferlist.h: correct \file
2782 * buffer.C (makeLinuxDocFile): fix const type order
2783 (makeDocBookFile): ditto
2784 (fillWithBibKeys): use std:: on stdlib args.
2786 * CutAndPaste.C: fix authors.
2787 (availableSelections): use std:: on return vector
2789 2003-06-27 André Pönitz <poenitz@gmx.net>
2791 * BufferView_pimpl.C:
2792 * bufferview_funcs.C:
2800 * text3.C: remove LyXCursor::row_ member
2803 * text.C: rename fullRebreak() to partialRebreak() and implement
2804 a fullRebreak() that really bereks fully
2806 * textcursor.h: new struct for cursor-related data
2808 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2810 * lyx_main.C (LyX): get full path of document loaded on the
2813 2003-06-26 André Pönitz <poenitz@gmx.net>
2815 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2816 remove unused/broken operator>,<,>=.
2818 * text.C: remove only use of broken operator<= in an Assert().
2820 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2822 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2823 moved errorlist_.clear to showErrorList
2825 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2827 * converter.C (scanLog, runLaTeX):
2828 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2829 move the bv->showErrorList call to the callers
2830 * lyxfunc.C: i.e. here...
2832 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2833 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2834 namespace, the second to...
2835 * buffer_funcs (BufferFormat, parseErrors): added
2836 * errorlist.C (ErrorList(TeXErrors const &)): removed
2838 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2840 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2842 2003-06-24 "Garst R. Reese" <reese@isn.net>
2846 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2848 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2850 * version.C.in: change docversion to 1.4
2852 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2854 * buffer.C: fix a bug just introduced
2856 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2858 * buffer.[Ch]: added the parseError signal and use it, removed
2860 * BufferView.[Ch] (addError): moved to ...
2861 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2862 to the Buffer::parseError signal to catch (guess what) parse errors
2863 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2865 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2867 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2868 ability to create a buffer and to return an existing one from
2869 the list. Moved these functions to...
2870 * buffer_funcs.[Ch]: added
2871 * BufferView.[Ch] (loadLyXFile): added
2872 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2873 job removed from bufferlist::loadLyXFile.
2874 * buffer.C (setReadOnly): make it work without view
2875 (i.e added an if (users))
2877 2003-06-19 Angus Leeming <leeming@lyx.org>
2880 * LyXAction.C (init):
2881 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2882 with LFUN_DIALOG_SHOW <name> <data>.
2884 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2886 * CutAndPaste.C (availableSelections): small compilation fix for
2887 ancient (gcc 2.9x) compilers
2889 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2891 * text3.C (cursorNext): add tmp var
2893 * text2.C (updateCounters): for function calling out of for clause
2894 (replaceSelectionWithString): ditto
2895 (insertStringAsParagraphs): ditto
2896 (getColumnNearX): add tmp var
2897 (setCursorFromCoordinates): add tmp var
2898 (cursorDownParagraph): add tmp var
2899 (deleteEmptyParagraphMechanism): add tmp var
2901 * text.C (insertChar): add tmp var
2903 * rowpainter.C (paintDepthBar): add tmp var
2905 * CutAndPaste.C (availableSelections): potentially check all
2906 paragraphs in a cut to fill the shown strings.
2908 2003-06-18 André Pönitz <poenitz@gmx.net>
2910 * kbmap.[Ch]: use vector<> instead of list<>
2912 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2914 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2915 pasteSelection with index
2917 * text2.C (pasteSelection): modify, call pasteSelection with index
2919 * paragraph.C (asString): reimplement version with no interval to
2920 call the one with interval.
2922 * lyxtext.h: add index arg to pasteSelection
2924 * MenuBackend.C (MenuItem): handle PasteRecent
2925 (Menu::read::Menutags): add md_pasterecent
2927 (expandPasteRecent): new function
2930 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2932 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2934 (availableSelections): new function
2936 2003-06-17 Angus Leeming <leeming@lyx.org>
2938 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2940 2003-06-17 Angus Leeming <leeming@lyx.org>
2943 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2945 * lyxfunc.C (dispatch): invoke it.
2947 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2949 * iterators.C (operator++, ParPosition): reintroduce some
2950 const_cast for the benefit of older compilers.
2952 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2954 * text3.C (dispatch): do not modify clipboard when doing
2955 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2956 LFUN_DELETE_SKIP on a selection selection
2958 2003-06-16 André Pönitz <poenitz@gmx.net>
2964 * tabular.[Ch]: IU of clone() and getLabelList();
2966 2003-06-13 André Pönitz <poenitz@gmx.net>
2968 * tabular.h: compactification
2970 2003-06-12 André Pönitz <poenitz@gmx.net>
2974 * tabular_funcs.h: some renaming plus whitespace
2976 2003-06-12 André Pönitz <poenitz@gmx.net>
2979 * BufferView_pimpl.C:
2985 * toc.C: Return a Paragraph & for ParIterator::operator*()
2987 2003-06-11 John Levon <levon@movementarian.org>
2991 * ToolbarBackend.C: add "Toolbars" section and
2994 2003-06-10 Angus Leeming <leeming@lyx.org>
2997 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2999 * lyxfunc.C (dispatch): invoke it.
3001 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3003 * main.C: protect <ios> with HAVE_IOS
3004 (main): protect sync_with_stdio with HAVE_IOS
3006 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3008 * text2.C (cutSelection): adjust
3009 (pasteSelection): adjust
3011 * messages.C: handle get of empty string
3013 * main.C (main): use sync_with_stdio(false)
3015 * lyxfunc.C (dispatch): adjust
3017 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3018 (WriteAs): remove unneeded BufferView arg.
3020 * bufferparams.h: use correct types on papersize, papersize2 and
3023 * bufferparams.C (readToken): adjust for type
3024 (writeLaTeX): add missing cases to switch.
3026 * bufferlist.C (quitWriteBuffer): adjust
3029 * buffer.C (asciiParagraph): remove some commented code.
3031 * CutAndPaste.C: remove current_view extern variable.
3032 (cutSelection): add BufferParams arg.
3033 (eraseSelection): add BufferParams arg.
3034 (pasteSelection): add Buffer const & arg
3036 2003-06-07 John Levon <levon@movementarian.org>
3039 * paragraph_funcs.C:
3040 * paragraph_pimpl.C:
3044 * paragraph.C: allow InsetERT to freely space lines,
3045 and some consolidation of code
3047 2003-06-06 José Matos <jamatos@fep.up.pt>
3049 * buffer.C (makeDocBookFile): fix bug #821
3051 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3053 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3055 2003-06-04 Angus Leeming <leeming@lyx.org>
3057 * buffer.C: bump format to 224.
3059 2003-06-05 André Pönitz <poenitz@gmx.net>
3061 * text2.C (redoParagraphs): remove two const_cast<>
3063 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3065 * ParagraphList.h: remove last remnants of NO_STD_LIST
3067 2003-06-03 Angus Leeming <leeming@lyx.org>
3069 * factory.C (createInset): small change to the way InsetExternal's params
3072 2003-06-04 André Pönitz <poenitz@gmx.net>
3074 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3076 * paragraph_pimpl.h:
3077 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3079 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3081 * undo_funcs.C: make some simple cases of undo work again
3083 2003-06-03 John Levon <levon@movementarian.org>
3085 * ispell.C: HPUX doesn't have sys/select.h
3088 2003-06-03 John Levon <levon@movementarian.org>
3090 * CutAndPaste.C: update tabular and include inset
3095 * paragraph.C: remove owningBuffer(), don't pass Buffer
3098 * factory.C: insetGraphicsParams changed
3100 2003-06-02 John Levon <levon@movementarian.org>
3106 * text3.C: remove insetparent
3108 2003-06-02 John Levon <levon@movementarian.org>
3111 * buffer.C: fix inset_iterator.end(), move out of line
3114 2003-06-01 John Levon <levon@movementarian.org>
3116 * text3.C: use a proper cut/paste when doing inset
3117 insert (from Jürgen Spitzmüller)
3119 2003-06-01 John Levon <levon@movementarian.org>
3121 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3123 2003-05-30 André Pönitz <poenitz@gmx.net>
3125 * rowpainter.C: unify second drawing phase
3127 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3129 * trans_mgr.C: remove one case of current_view
3131 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3133 * paragraph_funcs.h: remove paragraph.h include
3135 * paragraph.h: delete NO_STD_LIST stuff
3137 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3139 * buffer.h: remove paragraph.h include
3141 * ParagraphList.C: delete file
3143 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3145 * toc.C (getTocList): adjust
3147 * paragraph_pimpl.C (validate): adjust
3149 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3151 * paragraph.C (Paragraph): adjust
3152 (getPositionOfInset): use const_iterator, adjust
3153 (bibitem): use const_iterator, adjust
3154 (setInsetOwner): adjust
3156 * iterators.C (operator++): adjust
3158 * InsetList.[Ch]: Replace selfmade iterator with standard
3159 vector::iterator also introduce const_iterator. Remove getPos,
3160 getInset and setInset from InsetTable. Adjust accordingly.
3162 * BufferView.C (lockInset): adjust
3163 (ChangeInsets): adjust
3165 * tabular.[Ch]: delete commented same_id functions
3167 2003-05-28 John Levon <levon@movementarian.org>
3169 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3171 2003-05-28 André Pönitz <poenitz@gmx.net>
3173 * metricsinfo.[Ch]: remove 'fullredraw' member
3175 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3177 * lyxtextclass.C (operator): remove caching.
3179 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3183 * text2.C (cursorBottom): adjust
3184 (setCounter): use ParagraphList::find, adjust
3186 * text.C (workWidth): use ParagraphList::find, adjust
3188 * lyxcursor.C (LyXCursor): adjust
3190 * buffer.C (inset_iterator): adjust
3192 * ParagraphList.h: make iterator(value_type) private, make
3193 ParagraphList a friend of iterator.
3195 * ParagraphList.C (find): new function
3197 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3199 2003-05-27 André Pönitz <poenitz@gmx.net>
3201 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3203 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3205 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3207 2003-05-26 John Levon <levon@movementarian.org>
3209 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3211 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3213 * remove same_id from function signatures, adjust.
3215 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3217 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3219 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3221 * paragraph.C (Paragraph): get rid of same_ids parameter
3223 * ParagraphList.C (insert): adjust
3226 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3228 * paragraph_funcs.C (breakParagraph): adjust
3229 (breakParagraphConservative): adjust
3231 * buffer.C (readParagraph): adjust
3233 * ParagraphList.C (insert): take a reference instead of a pointer
3236 * paragraph.[Ch] (id): new function
3238 * bufferlist.C (newFile): adjust
3240 * ParagraphList.C (ParagraphList): adjust
3242 (push_back): take a reference instead of a pointer.
3244 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3246 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3249 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3250 set else use old code.
3252 * ParagraphList.C: remove all NO_NEXT code and only compile this
3253 code of NO_STD_LIST is set.
3255 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3257 * BufferView_pimpl.C:
3267 * graphics/GraphicsConverter.C:
3268 * graphics/PreviewLoader.C: header adjustment
3270 2003-05-23 Angus Leeming <leeming@lyx.org>
3272 * LaTeXFeatures.[Ch] (useBabel): new method.
3273 * bufferparams.C (writeLaTeX): use it.
3275 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3277 * ParagraphList.h (set): remove unused function.
3279 2003-05-23 André Pönitz <poenitz@gmx.net>
3282 * BufferView_pimpl.C:
3286 * undo_funcs.C: setUndo reworked
3288 * iterators.[Ch]: add access to topmost ParagraphList
3290 * lyxtext.[Ch] (workWidth): add a const
3292 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3294 * texrow.[Ch] (increasePos): remove function
3295 * exporter.C (export): removed unused var and outdated comment
3297 2003-05-23 Angus Leeming <leeming@lyx.org>
3299 * latexrunparams.h: rename fragile as moving_arg.
3300 * paragraph.C (simpleTeXOnePar): ditto.
3301 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3303 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3305 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3307 (textUndoOrRedo): comment out a currently unused var.
3309 * paragraph.h (NO_NEXT): enable NO_NEXT
3311 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3313 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3315 * exporter.C (Export): adjust for removeAutoInsets removal.
3317 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3319 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3321 * BufferView.[Ch] (removeAutoInsets): delete function
3323 2003-05-22 Angus Leeming <leeming@lyx.org>
3325 * latexrunparams.h: add a free_spacing variable.
3327 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3328 to pass moving_arg, as the data is stored in runparams.fragile.
3330 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3331 to Inset::latexOptional or to simpleTeXOnePar.
3333 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3334 free_spacing arg to Inset::latexOptional.
3336 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3339 2003-05-22 Angus Leeming <leeming@lyx.org>
3341 * latexrunparams.h: add fragile and use_babel variables.
3343 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3344 * buffer.C (makeLaTeXFile): store this returned value in
3345 runparams.use_babel, thus passing it to the inset::latex methods.
3347 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3348 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3350 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3351 longer has a fragile arg, as it is stored in runparams.fragile.
3353 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3354 moving_arg parameter as the data is stored in runparams.fragile.
3356 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3357 a fragile parameter as the data is stored in runparams.fragile.
3359 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3361 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3363 2003-05-22 Angus Leeming <leeming@lyx.org>
3365 * latexrunparams.h: add a 'bool nice' which defaults to false.
3367 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3368 now encapsulated within runparams.
3370 * bufferlist.C (updateIncludedTeXfiles):
3371 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3373 2003-05-22 Angus Leeming <leeming@lyx.org>
3375 * latexrunparams.h: new file containing struct LatexRunParams.
3376 * Makefile.am: add new file.
3378 * LaTeX.[Ch] (c-tor, run):
3379 * buffer.[Ch] (makeLaTeXFile):
3380 * bufferlist.[Ch] (updateIncludedTeXfiles):
3381 * converter.C (convert, scanLog):
3382 * converter.[Ch] (runLaTeX):
3383 * exporter.C (Export):
3384 * paragraph.[Ch] (simpleTeXOnePar):
3385 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3386 * paragraph_funcs.[Ch] (latexParagraphs):
3387 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3388 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3389 pass around a LatexRunParams parameter.
3391 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3393 * paragraph.[Ch]: remove unused constructor
3395 * ParagraphList.C (erase): new function, taking two iterators
3397 2003-05-22 André Pönitz <poenitz@gmx.net>
3399 * undo_funcs.C: remove duplicated code
3401 * iterator.[Ch]: operator=
3403 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3405 * tabular.C (SetMultiColumn): ws changes
3407 * rowpainter.C (paintFirst): get rid of a ->previous
3409 * lyx_cb.C (getPossibleLabel): parlist simplification
3411 * BufferView.C (ChangeInsets): simplify slightly.
3413 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3415 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3416 * lfuns.h: new LFUN_SPACE
3417 * lyxfunc.C: protected space has a new lfun
3418 * paragraph_funcs.C: read new space insets
3420 * factory.C: handle new space insets
3422 2003-05-22 André Pönitz <poenitz@gmx.net>
3425 * BufferView_pimpl.C:
3428 * undo_funcs.C: return a ParIterator from getParFromID.
3430 * iterators.[Ch]: add two const's
3432 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3434 * toc.C (getTocList): adjust
3436 * iterators.[Ch]: rework for parlist
3438 * buffer.C (par_iterator_begin): adjust
3439 (par_iterator_end): adjust
3441 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3443 * BufferView.C (removeAutoInsets): adjust
3444 (ChangeInsets): adjust
3446 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3448 * text.C (top_y): fix bug 1110
3450 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3452 * errorlist.[Ch]: added
3455 * BufferView_pimpl.C:
3456 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3459 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3461 * Makefile.am: ensure that lyx is relinked upon changes to the
3462 various "convenience" libs.
3464 2003-05-20 Angus Leeming <leeming@lyx.org>
3466 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3467 files are compiled in alphabetical order again.
3469 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3471 2003-05-19 Angus Leeming <leeming@lyx.org>
3473 * gettext.[Ch]: remove "char const * _(char const *)".
3475 2003-05-19 André Pönitz <poenitz@gmx.net>
3477 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3486 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3488 2003-05-19 André Pönitz <poenitz@gmx.net>
3492 * lyxtextclass.[Ch]:
3494 * paragraph_funcs.[Ch]:
3496 * text3.C: more insetenv work
3498 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3500 * ParagraphParameters.C (params2string): small bug fixed
3502 2003-05-16 André Pönitz <poenitz@gmx.net>
3505 * bufferview_funcs.C: patch from Kornel Benko to prevent
3506 crash when _(...) is called twice in a statement
3508 2003-05-16 André Pönitz <poenitz@gmx.net>
3515 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3517 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3519 * lyx_main.C (init): remove spurious static_cast
3521 2003-05-14 André Pönitz <poenitz@gmx.net>
3523 * BufferView.C: fix format string
3525 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3527 * BufferView.[Ch] (insertErrors): removed
3528 * BufferView.[Ch] (showErrorList): added
3529 * buffer.C (runChkTeX):
3530 * converter.C (scanLog): call showErrorList instead of inserterrors
3532 2003-05-13 André Pönitz <poenitz@gmx.net>
3534 * BufferView_pimpl.C:
3536 * bufferview_func.C:
3543 * tabular_funcs.h: tostr() from its own header
3545 * ParagraphParameters.C:
3550 * text3.C: STRCONV()
3552 2003-05-12 André Pönitz <poenitz@gmx.net>
3555 * BufferView_pimpl.C:
3559 * ParagraphParameters.C:
3563 * bufferview_funcs.C:
3576 * paragraph_funcs.C:
3580 * text3.C: boost::format -> bformat all over the place
3583 2003-05-09 André Pönitz <poenitz@gmx.net>
3585 * LColor.[Ch]: Pimpl the #include <map> away
3587 2003-05-09 John Levon <levon@movementarian.org>
3589 * bufferlist.C: never remove emergency saves
3591 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3593 * Makefile.am: better lib building
3595 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3597 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3599 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3600 (simpleTeXSpecialChars): adjust
3601 (simpleTeXSpecialChars): adjust
3602 * paragraph.C (simpleTeXOnePar): adjust
3603 * buffer.C (makeLaTeXFile): adjust
3605 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3607 * text2.C (changeDepth): parlist cleanup
3608 (getColumnNearX): ditto
3610 * rowpainter.C (getLabelFont): parlist cleanup
3612 * bufferlist.C (newFile): parlist cleanup
3614 * CutAndPaste.C (eraseSelection): parlist cleanup
3616 * BufferView_pimpl.C (trackChanges): parlist cleanup
3619 * BufferView.C (lockInset): parlist cleanup.
3620 (ChangeInsets): ditto
3622 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3624 * CutAndPaste.h: Update file header.
3626 * CutAndPaste.C: Update file header.
3627 Store the parts cut out of the Document in a limited_stack.
3628 (copySelection): adjust
3629 (pasteSelection): new function, takes the index in the limited stack.
3630 (nrOfParagraphs): adjust
3631 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3632 simplify error inset insertion.
3633 (checkPastePossible): adjust
3635 2003-05-06 John Levon <levon@movementarian.org>
3637 * text2.C: don't cast wrap inset to float
3639 2003-05-05 André Pönitz <poenitz@gmx.net>
3642 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3644 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3645 few naked Paragraph *.
3647 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3649 * bufferparams.C: Output warning if a document with missing
3650 TeX document class is loaded
3651 * exporter.C: Disable TeX exports if the document class is missing
3654 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3655 isTeXClassAvailable()
3657 2003-05-03 John Levon <levon@movementarian.org>
3660 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3661 explicit cursor show/hide
3663 * BufferView_pimpl.h:
3664 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3665 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3667 * lyxfunc.C: hide cursor before dispatching.
3672 * text3.C: remove explicit cursor hides
3674 2003-05-02 André Pönitz <poenitz@gmx.net>
3676 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3679 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3682 * text2.C: tiny whitespace
3684 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3686 * undo_funcs.C: almost only ws changes.
3688 * ParagraphList.C (splice): just return if pl is empty.
3690 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3692 * ParagraphList.C (splice): new function.
3694 * CutAndPaste.C (pasteSelection): use it
3696 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3698 * CutAndPaste.C (pasteSelection): remove the last next and
3699 previous from this file.
3701 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3703 * CutAndPaste.C (pasteSelection): more clean up, user proper
3704 ParagraphList functions for pasteing.
3706 * ParagraphList.C (insert): new function, three arg insert
3708 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3710 * ParagraphList.C (insert): new function, three arg insert
3712 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3715 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3717 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3719 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3721 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3723 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3725 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3726 (copySelection): clean up a bit.
3727 (pasteSelection): use make_pair
3729 * ParagraphList.C (ParagraphList): implement copy constructor
3730 (operator=): implement, base on copy constructor.
3733 * paragraph.C (erase): return a bool
3735 * paragraph_pimpl.C (erasePos): remove function, move contents...
3736 (erase): ... here. Return a bool.
3737 (erase): call erase instead of erasePos.
3739 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3741 * ParagraphList.h: define PitPosPair
3742 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3743 ParagraphList, fix a bug on pasting multiple pars
3744 * text2.C: change interface to C&P
3746 2003-04-30 André Pönitz <poenitz@gmx.net>
3748 * undo_func.C: revert part of yesterday's patch 2
3750 2003-04-30 John Levon <levon@movementarian.org>
3752 * LColor.C: s/tabular/table/
3754 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3756 * text3.C (dispatch): do not convert iterator -> pointer
3757 * undo_funcs.C (setCursorParUndo): ditto
3758 * text_funcs.C (transposeChars): ditto
3760 * text2.C (setLayout): ws changes only
3762 * text.C (breakParagraph): do not convert iterator -> pointer
3764 (acceptChange): ditto
3765 (rejectChange): ditto
3770 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3773 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3775 * text3.C (gotoInset): YABG (yet another bad getChar)
3777 2003-04-29 André Pönitz <poenitz@gmx.net>
3779 * paragraph.h: make operator= private unimplemented as long as
3782 * ParagraphList.C: whitespace
3785 * paragraph_pimpl.[Ch]:
3786 * paragraph_funcs.C:
3788 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3791 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3793 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3795 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3796 * paragraph.[Ch] (erase):
3797 * paragraph_pimpl.[Ch] (erase): change return type and value
3798 * text2.C (cutSelection): some rework
3800 2003-04-28 John Levon <levon@movementarian.org>
3802 * bufferlist.C: changes for unsaved changes dialog
3804 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3806 * bufferlist.C (newFile): set language (messages_) for new
3809 * buffer.C (readFile): ws changes only.
3811 2003-04-28 André Pönitz <poenitz@gmx.net>
3816 * BufferView_pimpl.C:
3817 * BufferView.C: getParFromID related ParagraphList::iterator changes
3819 2003-04-28 André Pönitz <poenitz@gmx.net>
3821 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3824 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3826 * messages.C: remove one more localedir class variable.
3828 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3830 * messages.C (getLocaleDir): singleton generation function
3832 (Messages): add a default constructor.
3834 * main.C (main): do not setup localedir here, do not call
3837 * gettext.C (_): use it.
3838 (gettext_init): delete funciton
3840 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3842 * gettext.C (getLyXMessages): new singleton generating function.
3844 * buffer.C (updateDocLang): adjust
3846 * Makefile.am (messages.o): add target
3847 (main.o): remove target
3849 2003-04-27 John Levon <levon@movementarian.org>
3854 * lyxvc.C: specify cancel button in Alert::prompt
3856 2003-04-26 John Levon <levon@movementarian.org>
3861 * LyXAction.C: add LFUN_INSET_SETTINGS
3863 * lyxfunc.C: don't enable tabular-feature when there's
3864 just any locking inset
3866 2003-04-26 John Levon <levon@movementarian.org>
3868 * bufferlist.C: re-add Cancel to buffer close question
3870 * lyxfunc.C: fix import UI a bit
3872 2003-04-25 John Levon <levon@movementarian.org>
3874 * gettext.C: remove the broken asserts for now
3876 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3878 * messages.C: make case where setlocale cannot comply work better.
3880 * buffer.C (updateDocLang): new function
3881 (changeLanguage): use it
3884 * text2.C (setCounter): use B_ a bit.
3886 * lyxlayout.C (Read): be sure to trim the label strings.
3888 * messages.C (Messages): fix typo in comment
3890 * buffer.C (readFile): set message_ after file is loaded.
3891 (makeDocBookFile): remove double return
3892 (changeLanguage): reset message_ upon language change.
3893 (B_): new func, use this to get translated buffer strings.
3895 * main.C: add myself and Jean Marc as authors.
3897 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3899 * messages.[hC]: pimplify Messages, and three different pimpls to be
3900 used in different circumstances.
3902 * gettext.[Ch]: change for use with new message code.
3904 2003-04-24 André Pönitz <poenitz@gmx.net>
3906 * factory.C: support for eqref
3908 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3910 * messages.[Ch]: add missing char
3912 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3914 * messages.[Ch]: New files
3916 2003-04-18 John Levon <levon@movementarian.org>
3920 * BufferView_pimpl.C:
3924 * text2.C: remove layout-copy/paste (bug 778)
3926 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3928 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3930 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3932 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3933 if they succeed. Act accordingly.
3935 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3937 * text2.C (setCharFont): adjust
3938 (setCounter): adjust
3939 (insertStringAsLines): adjust
3941 * text.C (leftMargin): adjust
3942 (setHeightOfRow): adjust
3944 * rowpainter.C (paintFirst): adjust
3947 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3949 (isFirstInSequence): ditto
3950 (getEndLabel): ditto
3953 * paragraph.C (getParLanguage): comment out some hard stuff.
3955 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3957 (simpleDocBookOnePar): ditto
3958 (makeDocBookFile): use ParagraphList::iterator
3960 * CutAndPaste.C (pasteSelection): adjust
3962 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3964 * text2.C (getFont): adjust
3965 (getLayoutFont): adjust
3966 (getLabelFont): adjust
3968 * paragraph_funcs.C (TeXOnePar): adjust
3970 * buffer.C (simpleLinuxDocOnePar): adjust
3971 (simpleDocBookOnePar): adjust
3973 * CutAndPaste.C (pasteSelection): adjust
3975 * BufferView.C (getEncoding): adjust
3977 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3979 2003-04-16 John Levon <levon@movementarian.org>
3981 * lyxfind.C: use parlist stuff for search/changes
3983 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3985 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3987 * text2.C (deleteEmptyParagraphMechanism): adjust
3989 * text2.[Ch] (ownerParagraph): delete func (both of them
3991 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3993 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3995 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3997 * ParagraphList.C: prepare for NO_NEXT
3999 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4001 * text2.C (getFont): adjust
4002 (getLayoutFont): adjust
4003 (getLabelFont): adjust
4005 * paragraph.C (getFont): adjust
4006 (getLabelFont): adjust
4007 (getLayoutFont): adjust
4009 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4011 2003-04-15 John Levon <levon@movementarian.org>
4015 * lyx_main.C: handle Include in .ui files
4017 2003-04-15 John Levon <levon@movementarian.org>
4019 * MenuBackend.C: make the doc files length shorter
4022 * ToolbarBackend.C: handle toolbar placement flags,
4025 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4027 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4030 * paragraph_funcs.C (TeXOnePar): adjust
4032 * paragraph.C (getLabelFont): add outerfont arg, adjust
4033 (getLayoutFont): ditto
4034 (simpleTeXOnePar): adjust
4036 * paragraph_pimpl.C (realizeFont): delete func
4038 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4040 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4041 row argument, constify cur argument.
4043 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4045 * text2.C (getFont): adjust
4046 (getLayoutFont): adjust
4047 (getLabelFont): adjust
4049 * paragraph_funcs.C (TeXOnePar): adjust
4050 (outerFont): new func...
4051 (realizeFont): ...moved out from here, changed this to facilitate
4054 * paragraph.C (getFont): take outerfont as arg, adjust
4055 (simpleTeXOnePar): add outerfont arg, adjust
4057 * buffer.C (simpleLinuxDocOnePar): adjust
4058 (simpleDocBookOnePar): adjust
4060 * CutAndPaste.C (pasteSelection): adjust
4062 * BufferView.C (getEncoding): adjust
4064 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4066 * text2.C (setCharFont): adjust
4067 (setCounter): adjust
4069 * text.C (leftMargin): adjust
4070 (setHeightOfRow): adjust
4072 * rowpainter.C (paintFirst): adjust
4075 * paragraph_pimpl.C (realizeFont): adjust
4077 * paragraph.C (isFirstInSequence): move from here...
4078 * paragraph_funcs.C (isFirstInSequence): ...to here
4080 * paragraph.C (outerHook): move from here...
4081 * paragraph_funcs.C (outerHook): ...to here
4083 * paragraph.C (depthHook): move from here...
4084 * paragraph_funcs.C (depthHook): ...to here
4086 * paragraph.C (getEndLabel): move from here...
4087 * paragraph_funcs.C (getEndLabel): ...to here
4089 * text2.C (realizeFont): move from here...
4090 * paragraph_funcs.C (realizeFont): ...to here
4092 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4094 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4096 2003-04-14 Angus Leeming <leeming@lyx.org>
4098 * LColor.[Ch]: scrap LColor mathcursor.
4100 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4102 * lyxlex.[Ch] (text): delete function
4103 * trans.C (Load): adjust
4104 * paragraph_funcs.C (readParToken): adjust
4106 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4108 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4109 vector<char> instead of a char[].
4111 * lyxlex_pimpl.C (getString): adjust
4113 (lex): use getString
4117 * lyxlex.C (text): use pimpl_->getString()
4121 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4123 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4124 (makeFontEntriesLayoutSpecific): temp var for par.size()
4125 (setLayout): temp var for ownerParagraphs().end()
4126 (fullRebreak): temp var for rows().end()
4127 (selectionAsString): temp var for boost::next(startpit), realize
4128 that the while really is a regular for loop.
4129 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4130 setCursor in one place.
4131 (setParagraph): temp vr for ownerParagraphs().end()
4132 (updateCounters): make the while loop a for loop
4133 (cutSelection): temp var for ownerParagraphs().end()
4134 (updateInset): make the do {} while() a regular for loop
4135 (getCursorX): use temp vars
4136 (setCurrentFont): use temp vars
4137 (getColumnNearX): use temp vars
4139 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4141 * text.C (transformChar): use temp var for getChar
4142 (computeBidiTables): use temp var for row->par()
4143 (fill): move temp vars for row->par() and pit->layout() earlier in
4145 (labelFill): use temp var for row->par()
4146 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4147 asc and desc, realize that pit never changes and that firstpit is
4148 just a duplicate and not needed. Exchange rit->par() with pit in a
4150 (breakAgain): use a temp var for boost::next(rit)
4151 (breakAgainOneRow): ditto
4152 (breakParagraph): use a temp var for rows().begin()
4153 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4154 (cursorRightOneWord): use temp var for cursor.par() and
4155 cursor.pos(), remove usage of tmpcursor.
4156 (cursorLeftOneWord): use temp var for cursor.par() and
4157 cursor.pos() only set cur at end of function.
4159 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4161 * text.C, text2.C: exchange all usage of Paragraph::next with
4162 boost::next(ParagraphList::iterator)
4164 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4166 * text2.C (cursorTop): simplify implementation
4167 (cursorBottom): ditto
4168 (setParagraph): use ParagraphList::iterator
4169 (setCurrentFont): adjust
4170 (getColumnNearX): adjust
4171 (cursorRight): adjust
4172 (cursorLeft): remove usage of Paragraph::previous
4173 (cursorUpParagraph): ditto
4174 (deleteEmptyParagraphMechanism): slight cleanup
4176 * text.C (isBoundary): take a Paragraph const & instead of a
4178 (addressBreakPoint): ditto
4179 (leftMargin): remove usage of Paragraph::previous.
4180 (setHeightOfRow): ditto
4181 (cursorLeftOneWord): ditto
4182 (selectNextWordToSpellcheck): ditto
4185 (breakParagraph): remove one usage of Paragraph::next
4186 (redoParagraph): ditto
4187 (acceptChange): ditto
4188 (insertChar): adjust
4189 (rowBreakPoint): adjust
4191 * bufferview_funcs.C (toggleAndShow): adjust
4193 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4195 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4196 methods to access it.
4198 * text.C: Added updateRowPositions to compute all row positions.
4199 Make top_y and getRowNearY() to use the cached y position
4201 2003-04-11 John Levon <levon@movementarian.org>
4203 * text.C (rowBreakPoint): reintroduce the labelEnd
4204 checks, code copied from the row fill stuff. Deep voodoo.
4206 * text.C (fill): add a comment and debugging for the
4209 2003-04-11 John Levon <levon@movementarian.org>
4211 * text.C: make sure fullrow insets get wrapped to the next line,
4212 even when they're in a manual label
4214 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4216 * text2.C (insertParagraph): make it take ParagraphList::iterator
4218 (setLayout): make it return ParagraphList::iterator
4219 (redoParagraphs): ditto
4221 (checkParagraph): ditto
4223 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4225 * text2.C: adjust several funcs.
4226 (realizeFont): take a ParagraphList::iterator as arg.
4227 (getLayoutFont): ditto
4228 (getLabelFont): ditto
4229 (setCharFont): ditto
4231 * text.C: adjust several funcs.
4233 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4235 * text.C (selectNextWordToSpellcheck): don't accidentally
4238 2003-04-10 John Levon <levon@movementarian.org>
4240 * ToolbarBackend.C (getIcon): special handling for
4243 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4245 * text2.C (cursorRight): a getChar assert fixed
4247 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4249 * text2.C (getFont): change to take a ParagraphList::iterator
4250 instead of Paragraph*
4251 Adjust several functions.
4253 * text.C (transformChar): change to take a ParagraphList::iterator
4254 instead of Paragraph*
4255 (singleWidth): ditto
4256 Adjust several functions.
4258 * rowpainter.C: adjust several functions
4259 * rowpainter.h:store a ParagraphList::iterator and not a
4263 2003-04-09 John Levon <levon@movementarian.org>
4268 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4269 and the "help" bits as well
4271 2003-04-09 John Levon <levon@movementarian.org>
4274 * ToolbarBackend.C: allow multiple toolbars
4276 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4278 * undo_funcs.C (setCursorParUndo): adjust
4280 * text_funcs.C (transposeChars): adjust
4282 * text3.C (gotoNextInset): adjust
4285 * text2.C (setLayout): adjust
4286 (changeDepth): adjust
4288 (redoParagraphs): adjust
4289 (selectionAsString): adjust
4290 (setParagraph): adjust
4291 (insertInset): adjust
4292 (cutSelection): adjust
4293 (copySelection): adjust
4294 (pasteSelection): adjust
4295 (insertStringAsLines): adjust
4296 (updateInset): adjust
4297 (setCursor): change to take a ParagraphList::iterator parameter
4298 (setCursorIntern): change to take a ParagraphList::iterator parameter
4299 (setCurrentFont): adjust
4300 (cursorLeft): adjust
4301 (cursorRight): adjust
4302 (deleteEmptyParagraphMechanism): adjust
4304 * text.C (breakParagraph): adjust
4305 (insertChar): adjust
4306 (acceptChange): adjust
4307 (rejectChange): adjust
4308 (selectNextWordToSpellcheck): adjust
4309 (changeCase): adjust
4313 * lyxfind.C (SearchForward): adjust
4314 (SearchBackward): adjust
4315 (nextChange): adjust
4317 * lyxcursor.C (par): adjust
4319 * lyxcursor.h: store a ParagraphList::iterator instead of a
4322 * lyx_cb.C (getPossibleLabel): adjust
4324 * bufferview_funcs.C (toggleAndShow): adjust
4326 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4329 * BufferView.C (removeAutoInsets): adjust
4330 (lockedInsetStoreUndo): adjust
4332 2003-04-09 John Levon <levon@movementarian.org>
4334 * ToolbarBackend.C: try icon without argument
4335 if with argument fails
4337 2003-04-08 John Levon <levon@movementarian.org>
4340 * ToolbarBackend.C: add getIcon(), handle tooltip,
4341 and change from "Icon" to "Item".
4343 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4345 * BufferView.C (lockInset): another bad getchar crunched
4347 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4349 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4352 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4354 * lyxfind.C (searchForward, searchBackwards): bug 782
4356 2003-04-07 John Levon <levon@movementarian.org>
4358 * paragraph.C: remove dead comment
4360 * text.C: remove troublesome depth-fiddling code
4361 in leftMargin() and rightMargin() (bug 1017)
4363 * text.C: fix breaking of rows in nested lists
4366 * text2.C (updateCounters): fix up depth values
4369 2003-04-07 John Levon <levon@movementarian.org>
4371 * BufferView_pimpl.C: clear message when doc finishes resizing,
4372 and after a mouse event
4374 * lyxfunc.C: clear message after exiting inset
4376 2003-04-07 John Levon <levon@movementarian.org>
4378 * bufferview_funcs.C: show math status not outside
4379 status in the statusbar
4381 2003-04-07 John Levon <levon@movementarian.org>
4383 * lyxfunc.C: note status changed after a depth change
4385 2003-04-04 Angus Leeming <leeming@lyx.org>
4387 * LaTeX.h: move AuxInfo operator==, != out of line.
4388 Remove LaTeX virtual destructor; nothing derives from it.
4389 Move operator()() out of public area and rename it startscript().
4390 Change protected for private.
4392 2003-04-04 Angus Leeming <leeming@lyx.org>
4395 * text2.C: remove unneeded #includes.
4397 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4399 * text2.C (dEPM): fix the heigth of the next row
4401 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4403 * text.C: squashed an invalid getChar requester + some ws changes
4405 2003-04-03 John Levon <levon@movementarian.org>
4407 * bufferview_funcs.h:
4408 * bufferview_funcs.C:
4411 * text2.C: make getStatus work for the env depth lfuns
4413 2003-04-03 John Levon <levon@movementarian.org>
4415 * bufferview_funcs.h:
4416 * bufferview_funcs.C:
4419 * text2.C: parlistize decDepth(), by merging it with incDepth()
4421 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4423 * lyxrow.h: store a ParagraphList::iterator instead of a
4424 Paragraph* and adjust other class functions to suit.
4426 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4429 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4431 * text2.C (setCursor): do not anchor to cursor row for the time being
4433 2003-04-02 John Levon <levon@movementarian.org>
4440 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4442 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4444 * paragraph.h: make ParagraphList and ParagraphList::iterator
4445 friends of Paragraph.
4447 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4449 * ParagraphList.C: Use the private next_ and previous_ from
4452 2003-04-01 John Levon <levon@movementarian.org>
4456 * Makefile.am: rename, remove defaults gunk
4459 * MenuBackend.C: remove defaults gunk
4462 * Languages.C: remove defaults gunk
4465 * lyx_main.C: error out if files couldn't be found.
4467 2003-04-02 John Levon <levon@movementarian.org>
4469 * text2.C: make incDepth() use parlist
4471 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4473 * undo_funcs.C (firstUndoParagraph): adjust
4475 * text3.C (gotoInset): adjust
4476 (dispatch): adjust, and rewrite loop.
4478 * text2.C (init): adjust, and rewrite loop.
4479 (redoParagraphs): adjust
4480 (updateInset): adjust, and rewrite loop.
4481 (deleteEmptyParagraphMechanism): adjust
4483 * tabular.C (LyXTabular): adjust
4484 (SetMultiColumn): adjust
4487 * lyxtext.[Ch] (ownerParagraph): delete function
4488 (ownerParagraphs): new function returns a ParagraphList.
4490 * BufferView.C (removeAutoInsets): adjust
4491 (insertErrors): adjust
4492 (setCursorFromRow): adjust
4494 2003-04-01 Angus Leeming <leeming@lyx.org>
4496 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4499 2003-04-02 John Levon <levon@movementarian.org>
4505 * text_funcs.C: make transposeChars a free function
4507 * lyxrow_funcs.C: remove wrong comment
4509 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4512 * rowpainter.C: adjust
4517 * lyxrow_funcs. [Ch]: new files
4519 * lyxrow.[Ch]: remove next and previous pointers
4520 (next,previous): remove accessor functions
4521 (isParEnd): move to lyxrow_funcs
4522 (lastPos): move to lyxrow_funcs
4523 (nextRowIsAllInset): move to lyxrow_funcs
4524 (lastPrintablePos): move to lyxrow_funcs
4525 (numberOfSeparators): move to lyxrow_funcs
4526 (numberOfHfills): move to lyxrow_funcs
4527 (numberOfLabelHfills): move to lyxrow_funcs
4528 (hfillExpansion): move to lyxrow_funcs
4532 * bufferview_funcs.C (toggleAndShow): adjust
4534 * RowList.h: Remove class RowList from file leave just a
4537 * RowList.C: delete file
4539 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4542 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4544 * text3.C (cursorPrevious): adjust
4545 (cursorNext): adjust
4548 * text2.C (redoHeightOfParagraph): adjust
4549 (redoDrawingOfParagraph): adjust
4552 * text.C (breakParagraph): adjust
4553 (insertChar): adjust
4556 * rowpainter.C (RowPainter): adjust
4557 (leftMargin): simplify and adjust
4558 (most rowpainter functions): adjust.
4560 * rowpainter.h: store the row as RowList::iterator not as Row*
4562 * lyxcursor.C (row): taka RowList::iterator as arg
4565 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4568 2003-04-01 Angus Leeming <leeming@lyx.org>
4570 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4571 stuff like bool Bool.
4573 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4575 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4578 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4580 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4583 * lyxtext.h (rows): drop one version and leve a const variant that
4584 returns a RowList::iterator.
4586 2003-03-31 Angus Leeming <leeming@lyx.org>
4588 * text.C (fill): ensure that the signature is the same as that in the
4591 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4593 * text2.C (redoParagraphs): adjust
4594 (updateCounters): adjust
4595 (checkParagraph): adjust
4596 (getColumnNearX): adjust and reformat a bit.
4598 * text.C (top_y): adjust
4600 (leftMargin): adjust
4601 (prepareToPrint): adjust
4603 (getRowNearY): adjust
4605 * lyxtext.h: make rowlist_ mutable.
4607 * RowList.h: add const_iterator
4608 * RowList.C: adjust for RowList::const_iterator.
4610 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4613 2003-03-31 John Levon <levon@movementarian.org>
4616 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4618 * lyx_main.C: set default fonts from using lyx_gui funcs
4620 * exporter.C: pdf_mode moved from lyxrc
4623 * lyxfunc.C: changes from above
4625 2003-03-31 John Levon <levon@movementarian.org>
4627 * lyx_main.C: fix to the last fix
4629 2003-03-31 John Levon <levon@movementarian.org>
4631 * bufferlist.C: "Load original" -> "Load Original"
4637 * format.C: more Alert cleanups
4639 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4641 * text2.C (removeParagraph): make it take a RowList::iterator as
4643 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4644 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4646 * text.C (anchor_row): make it take a RowList::iterator as arg,
4648 (computeBidiTables): make it take a const reference to Row instead
4649 of Row pointer, adjust.
4650 (leftMargin): make it take a RowList::iterator as arg, adjust.
4651 (rowBreakPoint): adjust
4652 (breakAgainOneRow): make it take a RowList::iterator as arg,
4654 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4656 * bufferview_funcs.C (toggleAndShow): adjust
4658 2003-03-30 John Levon <levon@movementarian.org>
4662 * boost-inst.C: moved to support
4664 * several files: changes as a result
4666 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4668 * text2.C (LyXText): adjust.
4670 (removeRow): make it take a RowList::iterator as arg, adjust.
4671 (fullRebreak): adjust
4672 (deleteEmptyParagraphMechanism): adjust
4673 (clearPaint): adjust
4676 * text.C (top_y): adjust
4677 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4678 (breakAgain): make it take a RowList::iterator as arg, adjust.
4679 (breakParagraph): adjust
4680 (insertChar): adjust
4683 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4684 need_break_row, and refresh_row.
4686 * text3.C (dispatch): adjust
4688 * text2.C (checkParagraph): adjust
4690 (setCursorFromCoordinates): adjust
4692 * text.C (top_y): adjust
4694 (getRow): make it return a RowList::iterator, adjust
4695 (getRowNearY): make it return a RowList::iterator, adjust
4697 * text2.C (init): adjust
4698 (insertRow): remove function
4699 (insertParagraph): adjust
4700 (redoParagraphs): adjust
4701 (fullRebreak): adjust
4702 (updateCounters): adjust
4704 * text.C (top_y): rewrite to use RowList iterators.
4706 (setHeightOfRow): rewrite to sue RowList iterators.
4707 (appendParagraph): adjust
4708 (breakAgain): adjust
4709 (breakAgainOneRow): adjust
4710 (breakParagraph): adjust
4712 (getRowNearY): adjust, and remove commented code.
4714 * lyxtext.h (firstRow): delete function
4715 (lastRow): delete function
4716 (rows): new function (const and non-const versions.)
4717 (insertRow): delete function
4719 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4721 2003-03-29 John Levon <levon@movementarian.org>
4723 * BufferView_pimpl.C: always update scrollbar top
4724 because pasting text when we're anchored could mean we
4725 miss an update altogether
4727 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4729 * text2.C (init): use rowlist_.end() and not 0.
4730 (insertRow): change to take a RowList::iterator as arg, adjust
4732 (insertParagraph): change to take a RowList::iterator as arg,
4734 (redoParagraphs): remove some debug msgs.
4736 * text.C (appendParagraph): change to take a RowList::iterator
4737 arg, adjust for this.
4738 (breakAgain): add an assert
4739 (breakAgainOneRow): ditto
4741 2003-03-29 John Levon <levon@movementarian.org>
4743 * text2.C: do not clear selection after inc/decDepth
4746 2003-03-29 John Levon <levon@movementarian.org>
4749 * buffer.C: fix broken strerrors according to Lars
4751 2003-03-29 John Levon <levon@movementarian.org>
4753 * converters.C: more Alert cleanups
4755 2003-03-29 John Levon <levon@movementarian.org>
4757 * bufferview_funcs.C: remove pointless Alert
4759 * buffer.C: fix confusing error message when
4760 a template is chmoded 000
4762 2003-03-29 John Levon <levon@movementarian.org>
4766 * BufferView_pimpl.C: Alert fixes
4770 * tabular-old.C: remove unused table compat reading
4772 2003-03-29 John Levon <levon@movementarian.org>
4777 * lyx_cb.C: more Alert cleanups
4779 * lyxfunc.C: don't allow chktex if not latex document
4781 2003-03-29 John Levon <levon@movementarian.org>
4785 * buffer.C: warnings pushed down from support/,
4788 2003-03-29 John Levon <levon@movementarian.org>
4790 * lyxfunc.C: safety check for C-r (revert)
4792 2003-03-29 John Levon <levon@movementarian.org>
4795 * bufferlist.C: several UI fixes using Alert::prompt.
4796 Fix the pointless looping quit code. Fix stupid revert
4801 * lyx_cb.C: use Alert::prompt
4803 * lyx_main.C: remove a silly question
4805 * lyxfunc.C: remove a couple of silly questions,
4808 2003-03-28 John Levon <levon@movementarian.org>
4810 * text2.C: fix bug 974 (End on empty par)
4812 2003-03-28 John Levon <levon@movementarian.org>
4814 * BufferView_pimpl.C:
4816 * lfuns.h: remove do-nothing math greek lfuns
4818 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4820 * lyxgluelength.h (isValidGlueLength): add default arg on
4821 parameter 2. Remove default arg from friend in class.
4823 * lyxlength.h (isValidLength): add default arg on parameter 2.
4824 Remove default arg from friend in class.
4826 * text2.C (LyXText): adjust, initialize refresh_row.
4830 (insertParagraph): adjst
4831 (redoParagraphs): adjust
4832 (fullRebreak): adjust
4833 (updateCounters): adjust
4834 (deleteEmptyParagraphMechanism): first attempt at fixing a
4837 * text.C (top_y): adjust
4838 (setHeightOfRow): adjust
4840 (getRowNearY): adjust
4842 * lyxtext.h: include RowList.h
4843 (~LyXText): not needed anymore, deleted.
4844 (firstRow): modify for RowList
4845 (lastRow): new function
4846 Delete firstrow and lastrow class variables, add a Rowlist
4847 rowlist_ class variable.
4849 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4852 * RowList.C (insert): fix case where it == begin().
4854 2003-03-26 Angus Leeming <leeming@lyx.org>
4856 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4857 the thesaurus dialog.
4859 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4861 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4863 * RowList.[Ch]: new files
4865 * ParagraphList.C (erase): handle the case where it == begin
4868 2003-03-25 John Levon <levon@movementarian.org>
4872 * aspell.C: add new aspell support
4875 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4878 2003-03-25 Angus Leeming <leeming@lyx.org>
4881 * LyXAction.C (init): new LFUN_INSET_INSERT.
4883 * BufferView_pimpl.C (dispatch): split out part of the
4884 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4886 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4889 2003-03-25 Angus Leeming <leeming@lyx.org>
4891 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4893 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4896 * text3.C: remove useless row->height(0)
4898 2003-03-25 John Levon <levon@movementarian.org>
4902 * text3.C: rename the refreshing stuff to better names
4904 2003-03-24 John Levon <levon@movementarian.org>
4906 * BufferView_pimpl.h:
4907 * BufferView_pimpl.C: update layout choice on a mouse
4910 2003-03-23 John Levon <levon@movementarian.org>
4912 * Makefile.am: fix commandtags.h reference
4914 2003-03-22 John Levon <levon@movementarian.org>
4916 * BufferView_pimpl.C:
4921 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4923 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4926 * text.C: take the rtl methods out of line
4928 2003-03-21 André Pönitz <poenitz@gmx.net>
4930 * metricsinfo.[Ch]: new files containing structures to be passed around
4931 during the two-phase-drawing...
4933 2003-03-21 André Pönitz <poenitz@gmx.net>
4935 * lyxtextclass.C: read 'environment' tag.
4937 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4939 * text2.C (removeRow): fix bug 964
4941 2003-03-20 John Levon <levon@movementarian.org>
4945 * text2.C: paint cleanups. Inset::update() dropped font
4948 2003-03-19 John Levon <levon@movementarian.org>
4950 * lyxfunc.C: only fitcursor/markDirty if available()
4952 2003-03-19 John Levon <levon@movementarian.org>
4954 * commandtags.h: rename to ...
4956 * lfuns.h: ... this, and renumber / cleanup
4958 2003-03-19 John Levon <levon@movementarian.org>
4960 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4961 fit the cursor after an lfun
4965 * BufferView_pimpl.h:
4966 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4968 * LyXAction.C: layout-character should have ReadOnly
4970 * ParagraphParameters.C:
4972 * bufferview_funcs.C:
4979 * undo_funcs.C: changes from above
4981 2003-03-18 John Levon <levon@movementarian.org>
4983 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4984 remove it from update()
4986 * lyxfunc.C: update layout choice after an lfun
4988 * text3.C: remove extra updateLayoutChoice()s
4990 2003-03-18 John Levon <levon@movementarian.org>
4992 * text.C: top_y change means full repaint, fix
4993 a drawing bug with cursor movement
4995 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
4999 * text2.C: anchor row on setCursor
5001 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5003 * lyxtext.h: remove almost all mutable keywords
5006 * text3.C: remove const keywords accordingly
5008 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5010 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5012 (TeXEnvironment): ditto
5015 2003-03-17 John Levon <levon@movementarian.org>
5017 * text.C (rowBreakPoint): remove attempt to fix displayed
5018 math insets inside a manual label
5020 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5022 * lyxtext.h: remove BufferView* as first arg from almost all class
5024 * other files: adjust.
5026 2003-03-17 John Levon <levon@movementarian.org>
5030 * text2.C: more paint cleanups
5032 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5035 * rowpainter.C: remove "smart" background painting code
5037 2003-03-16 John Levon <levon@movementarian.org>
5042 * text3.C: add helper functions for setting refresh_row/y
5044 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5046 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5047 newline inset which *can* get inserted in the pass_thru layouts.
5048 This is primarily for literate documents.
5050 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5052 * buffer.C: increment LYX_FORMAT to 223
5054 2003-03-14 André Pönitz <poenitz@gmx.net>
5056 * textclass.h: prepare for environment handling, ws changes
5057 * lyxlayout.C: read latexheader and latexfooter tags
5059 2003-03-14 John Levon <levon@movementarian.org>
5061 * text2.C: rewrite ::status() a bit
5063 2003-03-13 John Levon <levon@movementarian.org>
5065 * lyxtext.h: add some docs
5067 2003-03-13 John Levon <levon@movementarian.org>
5072 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5074 2003-03-13 John Levon <levon@movementarian.org>
5076 * text3.C: fix appendix redrawing
5078 2003-03-13 John Levon <levon@movementarian.org>
5080 * text.C (setHeightOfRow):
5082 * rowpainter.C: make appendix mark have the text
5083 "Appendix" so the user knows what it is
5086 * LColor.C: s/appendixline/appendix/ from above
5088 2003-03-13 John Levon <levon@movementarian.org>
5090 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5092 * text.C: fix a getChar(pos) bug properly
5094 2003-03-13 Angus Leeming <leeming@lyx.org>
5097 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5098 Probably only temporary. Let's see how things pan out.
5100 * BufferView.C (unlockInset):
5101 * BufferView_pimpl.C (fitCursor):
5102 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5104 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5105 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5107 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5108 new functions that convert ParagraphParameters to and from a string.
5110 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5111 BufferView::Pimpl's dispatch.
5112 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5114 2003-03-13 André Pönitz <poenitz@gmx.net>
5118 * factory.C: make it aware of InsetEnv
5120 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5122 * text2.C (setCursor): never ask for one past last
5123 (setCursor): add some debugging messages.
5125 * text.C (singleWidth): never ask for one past last
5126 (singleWidth): ditto
5128 (rightMargin): ditto
5129 (rowBreakPoint): ditto
5130 (setHeightOfRow): ditto
5131 (prepareToPrint): ditto
5133 * rowpainter.C (paintBackground): never ask for one past last
5134 (paintText): never ask for one past last
5136 * paragraph_pimpl.C (getChar): make the assert stricter, never
5137 allow the one past last pos to be taken
5139 * paragraph.C (getChar): ws changes only
5141 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5142 (numberOfSeparators): ditto
5143 (numberOfHfills): ditto
5145 2003-03-12 John Levon <levon@movementarian.org>
5151 * paragraph_funcs.C: fix per-buffer authorlists
5153 2003-03-12 John Levon <levon@movementarian.org>
5155 * text.C: fix newline in right address
5157 2003-03-12 Angus Leeming <leeming@lyx.org>
5159 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5160 duplicate those in LyXFunc::dispatch.
5164 * ToolbarDefaults.C:
5165 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5166 Add LFUN_FONTFREE_UPDATE.
5168 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5169 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5171 * bufferview_func.[Ch]: several new functions to facilliate
5172 transfer of data to and from the character dialog.
5174 2003-03-12 John Levon <levon@movementarian.org>
5179 * paragraph_funcs.C:
5180 * paragraph_pimpl.C:
5184 * text3.C: remove META_NEWLINE in favour of an inset
5187 * rowpainter.C: remove paintNewline (done by inset)
5189 2003-03-12 John Levon <levon@movementarian.org>
5191 * paragraph_pimpl.C: complain about bad getChar()s
5192 for a while at least
5194 2003-03-12 John Levon <levon@movementarian.org>
5197 * buffer.C: move paragraph read into a separate function,
5198 a little renaming to reflect that.
5201 * bufferparams.C: remove the author_ids map, not necessary now
5204 * factory.C: moved Buffer::readInset to here
5206 * paragraph_funcs.h:
5207 * paragraph_funcs.C: readParagraph free function moved from
5210 * tabular.C: name change
5212 2003-03-12 John Levon <levon@movementarian.org>
5215 * ParagraphParameters.C: move par params input to
5218 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5219 behave like a normal read from the stream wrt reading
5220 a line vs. a \\token
5222 2003-03-12 John Levon <levon@movementarian.org>
5225 * ParagraphParameters.h:
5226 * ParagraphParameters.C: move output code to a
5229 2003-03-12 John Levon <levon@movementarian.org>
5231 * BufferView.C (insertLyXFile):
5234 * tabular.C: use a parlist iterator for creating the
5237 2003-03-12 John Levon <levon@movementarian.org>
5239 * buffer.C: make current_change static local not
5242 2003-03-12 John Levon <levon@movementarian.org>
5244 * buffer.C: fix insertStringAsLines for change tracking
5246 2003-03-12 John Levon <levon@movementarian.org>
5253 * bufferparams.C: move author list into params. Rename some
5254 functions. Move the header reading into a separate token
5255 loop. Move the header token reading into BufferParams.
5257 2003-03-12 John Levon <levon@movementarian.org>
5259 * changes.C: put debug inside lyxerr.debugging() checks
5261 2003-03-11 André Pönitz <poenitz@gmx.net>
5263 * factory.C: make it aware of InsetHFill
5265 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5267 * buffer.C (latexParagraphs): move function from here...
5268 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5271 2003-03-10 Angus Leeming <leeming@lyx.org>
5273 * LyXAction.C (init): fix bug in poplating array with multiple entries
5274 with the same LFUN (spotted by JMarc).
5276 2003-03-10 John Levon <levon@movementarian.org>
5279 * text2.C: move getColumnNearX() near its
5282 2003-03-10 John Levon <levon@movementarian.org>
5284 * text.C: fix break before a minipage
5286 2003-03-10 John Levon <levon@movementarian.org>
5288 * text.C: fix the last commit
5290 2003-03-09 John Levon <levon@movementarian.org>
5294 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5295 bug 365 (don't break before insets unless needed). Don't
5296 return a value > last under any circumstances.
5298 2003-03-09 Angus Leeming <leeming@lyx.org>
5300 * BufferView_pimpl.C (trackChanges, dispatch): call
5301 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5303 2003-03-09 Angus Leeming <leeming@lyx.org>
5305 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5306 than Dialogs::showAboutlyx().
5308 2003-03-09 Angus Leeming <leeming@lyx.org>
5310 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5311 than Dialogs::showTabularCreate().
5313 2003-03-09 John Levon <levon@movementarian.org>
5317 * text2.C: 3rd arg to nextBreakPoint was always the same.
5320 2003-03-08 John Levon <levon@movementarian.org>
5327 * text2.C: Remove the "main" bit from the "main body"
5330 2003-03-08 John Levon <levon@movementarian.org>
5332 * text.C (leftMargin): The left margin of an empty
5333 manual label paragraph should not include the label width
5336 * text.C (prepareToPrint): don't attempt to measure hfills
5337 for empty manual label paragraphs - the answer should be 0
5339 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5341 * CutAndPaste.C: remove commented code and reindent.
5343 2003-03-08 John Levon <levon@movementarian.org>
5346 * lyxfunc.C: move reloadBuffer()
5349 * BufferView.C: to here
5351 * lyxvc.C: add comment
5354 * vc-backend.C: call bv->reload() to avoid
5355 getStatus() check on MENURELOAD
5357 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5359 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5360 to an old format .dep file.
5362 2003-03-07 Angus Leeming <leeming@lyx.org>
5364 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5365 when the LFUN_MOUSE_RELEASE should have been handled by
5366 inset->localDispatch.
5368 2003-03-07 Angus Leeming <leeming@lyx.org>
5370 * BufferView_pimpl.C (dispatch):
5371 * LyXAction.C (init):
5372 * ToolbarDefaults.C (init):
5374 * lyxfunc.C (getStatus):
5375 remove LFUN_INSET_GRAPHICS.
5377 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5379 2003-03-07 Angus Leeming <leeming@lyx.org>
5382 * LyXAction.C (init):
5383 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5385 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5388 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5390 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5391 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5393 2003-03-07 Angus Leeming <leeming@lyx.org>
5395 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5398 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5400 * ParagraphList.C (front): new function
5403 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5405 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5406 and top_row_offset_. removed var first_y.
5408 * text2.C (LyXText, removeRow):
5410 * BufferView_pimpl.C:
5411 use these methods instead of using first_y
5413 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5415 * text2.C (pasteSelection): adjust for checkPastePossible
5417 * CutAndPaste.C: remove Paragraph * buf and replace with
5418 ParagraphList paragraphs.
5419 (DeleteBuffer): delete
5420 (cutSelection): change the tc type to textclass_type
5421 (copySelection): change the tc type to textclass_type
5422 (copySelection): adjust for ParagraphList
5423 (pasteSelection): change the tc type to textclass_type
5424 (pasteSelection): adjust for Paragraphlist
5425 (nrOfParagraphs): simplify for ParagraphList
5426 (checkPastePossible): simplify for ParagraphList
5427 (checkPastePossible): remove unused arg
5429 * ParagraphList.C (insert): handle the case where there are no
5432 * CutAndPaste.h: make CutAndPaste a namespace.
5434 * text3.C (dispatch): adjust
5436 * text.C (breakParagraph): add a ParagraphList as arg
5438 * paragraph_funcs.C (breakParagraph): change to take a
5439 BufferParams and a ParagraphList as args.
5440 (breakParagraphConservative): ditto
5441 (mergeParagraph): ditto
5442 (TeXDeeper): add a ParagraphList arg
5443 (TeXEnvironment): ditto
5446 * buffer.C (readLyXformat2): adjust
5447 (insertStringAsLines): adjust
5448 (latexParagraphs): adjust
5450 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5451 (cutSelection): adjust
5452 (pasteSelection): adjust
5454 * BufferView_pimpl.C (insertInset): adjust
5456 2003-03-05 Angus Leeming <leeming@lyx.org>
5459 * LyXAction.C (init):
5460 * BufferView_pimpl.C (dispatch):
5461 * lyxfunc.C (getStatus):
5462 remove LFUN_CHILD_INSERT.
5464 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5466 2003-03-05 Angus Leeming <leeming@lyx.org>
5469 * LyXAction.C (init):
5470 * src/factory.C (createInset):
5471 * lyxfunc.C (getStatus):
5472 * text3.C (dispatch):
5473 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5475 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5477 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5479 * ParagraphList.C (insert): handle insert right before end()
5480 (erase): fix cases where it can be first or last paragraph.
5482 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5484 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5485 Paragraph::next and Paragraph::previous
5488 * text.C (breakParagraph): adjust
5490 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5491 BufferParams& as arg.
5492 (breakParagraph): use ParagraphList::insert
5493 (breakParagraphConservative): take a Buffer* instead of a
5494 BufferParams& as arg.
5495 (breakParagraphConservative): use ParagraphList::insert.
5497 * buffer.C (insertStringAsLines): un-const it
5498 (insertStringAsLines): adjust
5500 * ParagraphList.C (insert): new function
5502 * CutAndPaste.C (pasteSelection): adjust
5504 * text.C (backspace): adjust
5506 * tabular.C (SetMultiColumn): adjust
5508 * CutAndPaste.C (cutSelection): adjust
5509 (pasteSelection): adjust
5511 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5512 Buffer const * as arg
5514 * ParagraphList.C (erase): new function
5515 * paragraph_funcs.C (mergeParagraph): use it
5516 (mergeParagraph): make it take a Buffer* instead of a
5517 BufferParams* as arg
5519 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5521 (breakParagraphConservative): ditto
5523 * paragraph.h: remove the breakParagraph friend
5525 * paragraph.C (eraseIntern): new function
5526 (setChange): new function
5528 * paragraph_funcs.C (mergeParagraph): make it take a
5529 ParagraphList::iterator instead of a Paragraph *, adjust
5532 * paragraph.h: move an #endif so that the change tracking stuff
5533 also works in the NO_NEXT case.
5535 2003-03-04 Angus Leeming <leeming@lyx.org>
5538 * LyXAction.C: new LFUN_INSET_MODIFY.
5540 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5541 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5543 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5545 * several files: ws changes only
5547 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5548 (TeXEnvironment): ditto
5551 * buffer.C (makeLaTeXFile): adjust
5552 (latexParagraphs): make it take ParagraphList::iterator as args
5554 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5556 * buffer.C (latexParagraphs): adjust
5558 * paragraph.C (TeXOnePar): move function...
5559 (optArgInset): move function...
5560 (TeXEnvironment): move function...
5561 * paragraph_pimpl.C (TeXDeeper): move function...
5562 * paragraph_funcs.C: ...here
5564 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5566 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5568 * buffer.C (readInset): remove compability code for old Figure and
5571 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5573 * buffer.C: ws changes
5576 * BufferView_pimpl.C: ditto
5579 * bufferlist.h: ditto
5583 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5585 * converter.[Ch]: split into itself +
5588 * Makefile.am: += graph.[Ch] + format.[Ch]
5595 * lyxrc.C: added #include "format.h"
5597 2003-02-27 Angus Leeming <leeming@lyx.org>
5599 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5602 * factory.C (createInset): add "label" to the factory.
5604 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5605 string and do no more.
5607 2003-02-27 Angus Leeming <leeming@lyx.org>
5610 * LyXAction.C (init):
5611 * factory.C (createInset):
5612 * BufferView_pimpl.C (dispatch):
5613 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5615 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5617 * lyxfunc.C (dispatch):
5618 * text3.C (dispatch): pass name to params2string.
5620 2003-02-26 Angus Leeming <leeming@lyx.org>
5622 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5624 Rearrange the ~includes. Strip out the unnecessary ones.
5626 * factory.C (createInset): reformat.
5627 create new insets for the various LFUN_XYZ_APPLY lfuns.
5629 2003-02-26 John Levon <levon@movementarian.org>
5632 * lyxrow.C: add isParStart,isParEnd helpers
5634 * paragraph.h: make isInserted/DeletedText take refs
5636 * paragraph_funcs.h:
5637 * paragraph_funcs.C: remove #if 0'd code
5642 * text.C: use lyxrow helpers above.
5643 Move draw and paint routines to RowPainter.
5644 Make several methods use refs not pointers.
5645 Make backgroundColor() const.
5646 Add markChangeInDraw(), isInInset().
5647 Merge changeRegionCase into changeCase.
5648 Make workWidth() shouldn't-happen code into an Assert.
5651 * rowpainter.C: new class for painting a row.
5654 * vspace.C: make inPixels take a ref
5656 2003-02-26 Angus Leeming <leeming@lyx.org>
5658 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5661 2003-02-25 John Levon <levon@movementarian.org>
5663 * ispell.C: give the forked command a more accurate name
5665 2003-02-22 John Levon <levon@movementarian.org>
5668 * toc.C: make TocItem store an id not a Paragraph *
5671 2003-02-21 Angus Leeming <leeming@lyx.org>
5673 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5674 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5675 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5676 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5677 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5678 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5680 * BufferView_pimpl.C (dispatch):
5681 * LyXAction.C (init):
5682 * factory.C (createInset):
5683 * lyxfunc.C (getStatus, dispatch):
5684 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5686 2003-02-21 Angus Leeming <leeming@lyx.org>
5688 * BufferView_pimpl.C (MenuInsertLyXFile):
5689 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5690 * lyxfunc.C (menuNew, open, doImport):
5691 no longer pass a LyXView & to fileDlg.
5693 2003-02-21 Angus Leeming <leeming@lyx.org>
5695 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5696 * LyXAction.C: change, BIBKEY to BIBITEM.
5697 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5698 Change InsetBibKey to InsetBibitem.
5699 Change BIBKEY_CODE to BIBITEM_CODE.
5700 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5701 * factory.C: replace insetbib.h with insetbibitem.h.
5702 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5703 * paragraph.C: replace insetbib.h with insetbibitem.h.
5704 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5705 Change bibkey() to bibitem().
5706 * text.C: remove insetbib.h.
5707 * text2.C: replace insetbib.h with insetbibitem.h.
5708 change bibkey() to bibitem().
5709 * text3.C: remove insetbib.h.
5710 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5712 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5714 * lyxrc.C (output): enclose user email in quotes (in case there are
5717 2003-02-18 John Levon <levon@movementarian.org>
5719 * buffer.h: add std::
5721 2003-02-17 John Levon <levon@movementarian.org>
5727 * pspell.C: reworking. Especially in ispell, a large
5728 number of clean ups and bug fixes.
5730 * lyxfunc.C: fix revert to behave sensibly
5732 2003-02-17 André Pönitz <poenitz@gmx.net>
5735 * commandtags.h: new LFUN_INSERT_BIBKEY
5745 * paragraph_func.C: remove special bibkey handling
5747 2003-02-17 John Levon <levon@movementarian.org>
5749 * text.C (Delete): fix case where delete at the end of
5750 the very first paragraph would not merge the pars
5752 2003-02-17 John Levon <levon@movementarian.org>
5754 * lyxrow.C: fix lastPrintablePos()
5756 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5758 * bufferparams.C (writeLaTeX): add a std:here
5760 * buffer.C: and remove a using directive there
5762 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5764 * buffer.C (makeLaTeXFile): move the code that generates the
5767 * bufferparams.C (writeLaTeX): ... in this new method
5769 * LaTeXFeatures.C (getEncodingSet): make const
5770 (getLanguages): make const
5772 * MenuBackend.C (binding): returns the binding associated to this
5774 (add): sets the status of each item by calling getStatus. Adds
5776 (read): add support for OptSubMenu
5777 (expand): remove extra separator at the end of expanded menu
5779 2003-02-15 John Levon <levon@movementarian.org>
5782 * BufferView_pimpl.C:
5784 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5785 inset code that had no actual effect. Remove unneeded status
5788 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5790 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5793 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5795 * text.C (drawLengthMarker): also draw an arrow marker for
5796 symbolic lengths (medskip...)
5798 2003-02-14 John Levon <levon@movementarian.org>
5801 * tabular.C: better method names
5803 2003-02-14 John Levon <levon@movementarian.org>
5805 * BufferView_pimpl.C:
5810 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5811 it's a more accurate name. Remove some pointless uses.
5813 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5815 * text2.C (LyXText): change order of initilizers to shut off
5818 2003-02-14 John Levon <levon@movementarian.org>
5820 * buffer.C: use ParIterator for getParFromID()
5824 * paragraph_pimpl.h:
5825 * paragraph_pimpl.C: remove unused getParFromID()
5827 2003-02-14 John Levon <levon@movementarian.org>
5829 * buffer.C: remove some very old #if 0'd parse code
5831 2003-02-13 John Levon <levon@movementarian.org>
5835 * text2.C: move hfillExpansion(), numberOfSeparators(),
5836 rowLast(), rowLastPrintable(), numberofHfills(),
5837 numberOfLabelHfills() ...
5840 * lyxrow.C: ... to member functions here.
5845 * text.C: remove LyXText::beginningOfMainBody(), and call
5846 p->beginningOfMainBody() directly. Move the check for
5847 LABEL_MANUAL into the latter.
5854 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5860 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5861 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5863 2003-02-13 John Levon <levon@movementarian.org>
5865 * CutAndPaste.C: remove debug
5867 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5869 * paragraph.C (asString): remove two unused variables
5871 * lyxtextclass.C (readTitleType):
5873 (LyXTextClass): handle new members titletype_ and titlename_
5875 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5877 2003-02-09 John Levon <levon@movementarian.org>
5880 * buffer.C: replace hand-coded list with a map for the dep clean
5882 2003-02-08 John Levon <levon@movementarian.org>
5884 * LaTeX.C: consolidate code into showRunMessage() helper
5886 2003-02-08 John Levon <levon@movementarian.org>
5891 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5892 and pass the size in explicitly
5894 * BufferView_pimpl.h:
5895 * BufferView_pimpl.C:
5897 * BufferView.C: add getCurrentChange()
5899 * BufferView_pimpl.h:
5900 * BufferView_pimpl.C: handle change lfuns
5902 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5903 for changes. Mark pasted paragraphs as new.
5905 * support/lyxtime.h:
5906 * support/lyxtime.C:
5907 * DepTable.C: abstract time_t as lyx::time_type
5910 * LColor.C: add colours for new text, deleted text, changebars
5912 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5913 package use "usenames" option.
5917 * LyXAction.C: add change lfuns
5921 * author.C: author handling
5924 * buffer.C: add a per-buffer author list, with first entry as
5925 current author. Handle new .lyx tokens for change tracking. Output
5926 author list to .lyx file. Output dvipost stuff to .tex preamble.
5927 Bump lyx format to 222.
5930 * bufferlist.C: add setCurrentAuthor() to reset current author details
5934 * bufferparams.C: add param for tracking
5936 * bufferview_funcs.C: output change info in minibuffer
5940 * changes.C: add change-tracking structure
5943 * debug.C: add CHANGES debug flag
5946 * lyxfind.C: add code for finding the next change piece
5949 * lyxrc.C: add user_name and user_email
5952 * lyxrow.C: add a metric for the top of the text line
5955 * text.C: implement accept/rejectChange()
5958 * text.C: paint changebars. Paint new/deleted text in the chosen
5959 colours. Strike through deleted text.
5963 * paragraph_pimpl.h:
5964 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5965 in the current change to the insert functions. Rework erase to
5966 mark text as deleted, adding an eraseIntern() and a range-based
5967 erase(). Implement per-paragraph change lookup and
5970 * paragraph_funcs.C: Fixup paste for change tracking.
5972 * tabular.C: mark added row/columns as new.
5974 * text.C: fix rowLast() to never return -1. Don't allow
5975 spellchecking of deleted text. Track transpose changes. Don't
5976 allow paragraph break or merge where appropriate.
5978 * text2.C: leave cursor at end of selection after a cut.
5980 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5982 * text.C (getLengthMarkerHeight):
5983 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5984 visible on screen too.
5986 2003-02-07 John Levon <levon@movementarian.org>
5988 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5990 2003-02-05 Angus Leeming <leeming@lyx.org>
5992 * lyxserver.C (read_ready): revert my patch of 11 September last year
5993 as it sends PC cpu through the roof. Presumably this means that
5994 the lyxserver will no longer run on an Alpha...
5996 2003-01-30 Angus Leeming <leeming@lyx.org>
5998 * factory.C (createInset): create an InsetCommandParam of type "index"
5999 and use it to 'do the right thing'.
6001 * text2.C (getStringToIndex): ensure that cursor position is always
6002 reset to the reset_cursor position.
6004 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6006 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6009 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6013 * lyxfunc.C: Output messages with identical spelling, punctuation,
6016 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6018 * MenuBackend.C (expandFormats): List only viewable export formats
6021 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6024 * lyxfunc.C (getStatus): Make sure that formats other than
6025 "fax" can also be disabled
6027 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6029 * text3.C (dispatch): put the lfuns that insert insets in 3
6030 groups, and call doInsertInset with appropriate arguments.
6031 (doInsertInset): new function, that creates an inset and inserts
6032 it according to some boolean parameters.
6034 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6036 * buffer.C (readFile): remember to pass on 'par' when calling
6037 readFile recursively.
6039 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6041 * MenuBackend.C (expandFormats): add "..." to import formats.
6043 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6045 * paragraph.C (asString): Remove XForms RTL hacks.
6047 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6048 * buffer.C: fix typo
6050 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6052 * Makefile.am (LIBS): delete var
6053 (lyx_LDADD): add @LIBS@ here instead.
6055 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6057 * Clarify the meaning of "wheel mouse jump"
6059 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6061 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6064 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6066 * importer.C (Loaders): do not preallocate 3 elements in the
6067 vector, since one ends up with 6 elements otherwise
6069 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6071 * DepTable.C (write): write the file name as last element of the
6072 .dep file (because it may contain spaces)
6073 (read): read info in the right order
6075 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6077 * paragraph_pimpl.C (simpleTeXBlanks):
6078 (simpleTeXSpecialChars):
6079 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6081 * tabular.C (latex): add some missing case statements. Reindent.
6083 * MenuBackend.C (expandToc): remove unused variable.
6085 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6094 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6097 2003-01-05 John Levon <levon@movementarian.org>
6100 * BufferView.C: add getEncoding()
6103 * kbsequence.C: do not store last keypress
6106 * lyxfunc.C: store last keypress here instead. Pass encoding
6109 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6111 * lyx_main.C (init): remove annoying error message when following
6112 symbolic links (bug #780)
6114 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6116 * text.C (insertChar):
6117 * lyxrc.C (getDescription): remove extra spaces
6119 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6121 * lyxrc.C (getDescription): remove extra spaces
6123 2002-12-20 John Levon <levon@movementarian.org>
6125 * text3.C: hack fix for page up/down across tall rows
6127 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6129 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6132 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6134 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6135 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6136 thesaurus is not compiled in
6138 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6140 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6142 2002-12-16 Angus Leeming <leeming@lyx.org>
6145 * lyx_main.C (init): remove override_x_deadkeys stuff.
6147 2002-12-12 John Levon <levon@movementarian.org>
6149 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6150 insert. Only remove shift modifier under strict
6153 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6155 * MenuBackend.C (expandToc): fix crash.
6157 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6159 * MenuBackend.C (expandToc): gettext on float names.
6161 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6163 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6164 implement bool empty() [bug 490]
6166 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6168 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6170 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6172 * several files: ws changes
6174 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6176 * text2.C (setCounter): clean up a bit, use boost.format.
6177 (updateCounters): initialize par upon declaration.
6179 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6180 if the layout exists. We do not just store the layout any more.
6181 (SwitchLayoutsBetweenClasses): use boost.format
6183 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6185 * converter.C (convert): if from and to files are the same, use a
6186 temporary files as intermediary
6188 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6191 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6193 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6195 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6197 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6199 * tabular.C (asciiPrintCell): use string(size, char) instead of
6202 * sgml.C (openTag): fix order of arguments to string constructor
6205 * lyxfunc.C (dispatch): use boost.format
6207 * lots of files: change "c" -> 'c'
6209 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6211 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6213 2002-11-25 Angus Leeming <leeming@lyx.org>
6215 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6217 * lyx_main.C (init): compile fix.
6219 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6221 * lyx_cb.C (start): boost.formatify
6222 do not include <iostream>
6224 * lengthcommon.C: ws only
6226 * boost-inst.C,BoostFormat.h: add more explict instantations
6228 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6230 * lots of files: handle USE_BOOST_FORMAT
6232 2002-11-21 John Levon <levon@movementarian.org>
6234 * pspell.C: fix compile
6236 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6238 * lyxfunc.C (dispatch): use boost::format
6242 * lyxfont.C (stateText): use boost::format
6244 * lyx_main.C (LyX): use boost::format
6246 (queryUserLyXDir): ditto
6249 (typedef boost::function): use the recommened syntax.
6251 * importer.C (Import): use boost::format
6253 * debug.C (showLevel): use boost::format
6255 * converter.C (view): use boost::format
6260 * bufferview_funcs.C (currentState): use boost::format
6262 * bufferlist.C (emergencyWrite): use boost::format
6264 * buffer.C (readLyXformat2): use boost::format
6265 (parseSingleLyXformat2Token): ditto
6267 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6269 * LaTeX.C (run): use boost::format
6271 * Chktex.C (scanLogFile): use boost::format
6273 * BufferView_pimpl.C (savePosition): use boost::format
6274 (restorePosition): ditto
6275 (MenuInsertLyXFile): ditto
6277 * BoostFormat.h: help file for explicit instation.
6279 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6281 * tabular.C (latex): Support for block alignment in fixed width
6284 2002-11-17 John Levon <levon@movementarian.org>
6286 * BufferView_pimpl.C:
6288 * lyxfunc.C: split filedialog into open/save
6290 2002-11-08 Juergen Vigna <jug@sad.it>
6292 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6293 by my last patch (hopefully).
6295 2002-11-08 John Levon <levon@movementarian.org>
6304 * toc.C: ParConstIterator, and use it (from Lars)
6306 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6308 * lyxtextclass.[Ch]: revise and add doxygen comments
6310 2002-11-07 John Levon <levon@movementarian.org>
6312 * text.C: fix progress value for spellchecker
6314 * toc.C: fix navigate menu for insetwrap inside minipage
6316 * paragraph_funcs.C: added FIXME for suspect code
6318 2002-11-07 John Levon <levon@movementarian.org>
6320 * BufferView_pimpl.C: fix redrawing of insets
6323 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6325 * text2.C (updateCounters): fix bug 668
6327 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6329 * text3.C (dispatch): Do not make the buffer dirty when moving the
6332 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6334 * vc-backend.C: STRCONV
6337 * text2.C (setCounter): STRCONV
6339 * paragraph.C (asString): STRCONV
6341 * lyxlength.C (asString): STRCONV
6342 (asLatexString): ditto
6344 * lyxgluelength.C (asString): STRCONV
6345 (asLatexString): ditto
6347 * lyxfunc.C (dispatch): STRCONV
6350 * lyxfont.C (stateText): STRCONV
6352 * importer.C (Import): STRCONV
6354 * counters.C (labelItem): STRCONV
6355 (numberLabel): ditto
6356 (numberLabel): remove unused ostringstream o
6361 * bufferview_funcs.C (currentState): STRCONV
6363 * buffer.C (readFile): STRCONV
6364 (asciiParagraph): ditto
6365 (makeLaTeXFile): ditto
6367 * Spacing.C (writeEnvirBegin): STRCONV
6369 * LaTeXFeatures.C (getLanguages): STRCONV
6370 (getPackages): ditto
6372 (getBabelOptions): ditto
6373 (getTClassPreamble): ditto
6374 (getLyXSGMLEntities): ditto
6375 (getIncludedFiles): ditto
6379 (scanAuxFile): ditto
6382 * LString.h: add the STRCONV macros
6384 * BufferView_pimpl.C (savePosition): STRCONV
6385 (restorePosition): ditto
6386 (MenuInsertLyXFile): ditto
6388 * vc-backend.C (scanMaster): change from submatch[...] to
6391 * funcrequest.C: include config.h
6393 * factory.C: include config.h
6395 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6397 * box.C: include config.h
6399 * LaTeX.C (scanAuxFile): change from submatch[...] to
6403 2002-10-25 Angus Leeming <leeming@lyx.org>
6405 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6407 * ispell.[Ch] (setError): new method.
6408 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6409 Use setError() insetead of goto END.
6411 * lyx_cb.C (AutoSave): move out child process into new class
6414 2002-10-30 John Levon <levon@movementarian.org>
6416 * text3.C: make start appendix undoable
6418 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6420 * lyxlength.C (inPixels): Fix returned value.
6422 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6425 2002-10-24 Angus Leeming <leeming@lyx.org>
6427 * lyxgluelength.h: no need to forward declare BufferParams
6428 or BufferView, so don't.
6430 2002-10-21 John Levon <levon@movementarian.org>
6432 * BufferView.C: menuUndo ->undo, redo
6434 * BufferView.h: document, remove dead, make some methods private
6436 * paragraph_funcs.h:
6437 * paragraph_funcs.C:
6438 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6443 * sgml.C: move sgml open/close tag into sgml.C
6445 * bufferview_funcs.h: unused prototype
6448 * lyxfunc.C: remove unused
6451 * text.C: remove unused
6453 2002-10-21 John Levon <levon@movementarian.org>
6457 * BufferView_pimpl.h:
6458 * BufferView_pimpl.C: fix mouse wheel handling based on
6459 patch from Darren Freeman
6461 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6463 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6465 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6467 * lyxlength.C (inPixels): Fix hanfling of negative length.
6468 Fix LyXLength::MU case.
6470 2002-10-16 John Levon <levon@movementarian.org>
6472 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6474 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6476 * converter.C (view): add support for $$i (file name) and $$p
6477 (file path) for the viewer command. If $$i is not specified, then
6478 it is appended to the command (for compatibility with old syntax)
6480 2002-10-14 Juergen Vigna <jug@sad.it>
6482 * undo_funcs.C (textHandleUndo): alter the order in which the
6483 new undopar is added to the LyXText, as we have to set first
6484 the right prev/next and then add it as otherwise the rebuild of
6485 LyXText is not correct. Also reset the cursor to the right paragraph,
6486 with this IMO we could remove the hack in "redoParagraphs()".
6488 2002-10-09 Angus Leeming <leeming@lyx.org>
6490 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6491 to turn off an optimisation if a new inset is to be inserted.
6493 2002-10-11 André Pönitz <poenitz@gmx.net>
6495 * lyxtext.h: make some functions public to allow access
6496 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6498 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6500 * text3.C (dispatch): when changing layout, avoid an infinite loop
6503 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6505 * lyxrc.C (read): treat a viewer or converter command of "none" as
6508 * MenuBackend.C (expandFormats): for an update, also allow the
6509 formats that are not viewable
6511 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6512 script if it is newer than the lyxrc.defaults in user directory
6514 2002-10-07 André Pönitz <poenitz@gmx.net>
6516 * text.C: Vitaly Lipatov's small i18n fix
6518 2002-09-25 Angus Leeming <leeming@lyx.org>
6520 * ispell.h: doxygen fix.
6522 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6524 * buffer.h (readFile): Add a new argument to the method, to allow
6525 reading of old-format templates.
6527 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6529 * toc.C (getTocList): Get TOC from InsetWrap.
6531 2002-09-16 John Levon <levon@movementarian.org>
6533 * lyxfunc.C: check tabular for cut/copy too
6535 2002-09-12 John Levon <levon@movementarian.org>
6540 * factory.C: add header
6542 * paragraph_funcs.h:
6543 * paragraph_funcs.C: cleanup
6545 2002-09-11 John Levon <levon@movementarian.org>
6547 * PrinterParams.h: odd/even default to true
6549 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6551 * PrinterParams.h: update printer parameters for new xforms dialog
6553 2002-09-11 Angus Leeming <leeming@lyx.org>
6555 * lyxserver.C (read_ready): re-write to make it more transparent
6556 and to make it work in coherent fashion under Tru64 Unix.
6558 2002-09-11 André Pönitz <poenitz@gmx.net>
6562 * text3.C: implement LFUN_WORDSEL
6564 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6566 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6567 make floatlist_ a boost::shared_ptr<FloatList>
6569 * lyxtextclass.C: include FloatList.h
6570 (LyXTextClass): initialize floatlist_
6571 (TextClassTags): add TC_NOFLOAT
6572 (Read): match "nofloat" to TC_NOFLOAT and use it.
6573 (readFloat): modify call to floatlist_
6577 * FloatList.[Ch] (FloatList): remove commented out float
6579 (erase): new function
6581 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6583 * MenuBackend.C (expandToc): fix crash when there is no document
6586 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6588 * many files: Add insetwrap.
6590 2002-09-09 John Levon <levon@movementarian.org>
6592 * text2.C: remove confusing and awkward depth wraparound
6594 2002-09-09 John Levon <levon@movementarian.org>
6596 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6599 * buffer.C: remove getIncludeonlyList()
6602 * lyxfunc.C: remove headers
6604 2002-09-09 Juergen Vigna <jug@sad.it>
6606 * text.C (getColumnNearX): fix form Michael this is most
6607 probably a cut&paste bug.
6609 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6611 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6613 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6614 references, ws changes.
6616 * text2.C (init): update counters after init
6617 (insertParagraph): no need to set counter on idividual paragraphs.
6618 (setCounter): access the counters object in the textclass object
6619 on in the buffer object.
6620 (updateCounters): ditto
6622 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6623 shared_ptr<Counters> to avoid loading counters.h in all
6625 (LyXTextClass): initialize ctrs_
6626 (TextClassTags): add TC_COUNTER, and ...
6627 (Read): use it here.
6628 (CounterTags): new tags
6629 (readCounter): new function
6630 (counters): new funtion
6631 (defaultLayoutName): return a const reference
6633 * counters.C (Counters): remove contructor
6634 (newCounter): remove a couple of unneeded statements.
6635 (newCounter): simplify a bit.
6636 (numberLabel): some small formatting changes.
6638 * buffer.[Ch]: remove all traces of counters, move the Counters
6639 object to the LyXTextClass.
6641 2002-09-06 Alain Castera <castera@in2p3.fr>
6643 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6644 package to set the horizontal alignment on fixed width columns.
6647 * lyx_sty.h: added tabularnewline macro def.
6649 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6651 2002-09-06 John Levon <levon@movementarian.org>
6653 * LyXAction.C: tooltips for sub/superscript
6655 * MenuBackend.C: a bit more verbose
6657 * lyxfunc.C: tiny clean
6659 * undo_funcs.C: document undo_frozen
6661 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6663 * counters.C (Counters): add missing algorithm counter.
6665 * text2.C (setCounter): lookup the counter with layouts latexname
6666 instead of by section number.
6667 (setCounter): use a hackish way to lookup the correct enum
6669 a float name->type change
6670 reset enum couners with counter name directly instead of depth value.
6672 * counters.C (Counters): remove the push_backs, change to use the
6673 float type not the float name.
6674 (labelItem): remove unused string, float name->type change
6676 * counters.h: don't include vector, loose the enums and sects vectors
6678 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6680 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6681 (Read): add float->TC_FLOAT to textclassTags
6682 (Read): and handle it in the switch
6683 (readFloat): new function
6685 * FloatList.C (FloatList): comment out the hardcoded float
6688 * lyxlayout.h: ws change.
6690 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6692 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6694 2002-09-03 Angus Leeming <leeming@lyx.org>
6696 * BufferView_pimpl.h: qualified name is not allowed in member
6697 declaration: WorkArea & Pimpl::workarea() const;
6699 * factory.C: added using std::endl directive.
6701 * text3.C: added using std::find and std::vector directives.
6703 2002-08-29 André Pönitz <poenitz@gmx.net>
6706 * text2.C: remove unused member number_of_rows
6709 * BufferView2.C: remove file, move contents to...
6710 * BufferView.C: ... here
6712 * BufferView_pimpl.C:
6713 * factory.C: move more inset creation to factory
6715 * vspace.C: avoid direct usage of LyXText, ws changes
6718 don't provide direct access to WorkArea, use two simple
6719 acessors haveSelction() and workHeight() instead
6722 2002-08-29 John Levon <levon@movementarian.org>
6724 * BufferView_pimpl.C (dispatch): do not continue when
6727 2002-08-28 André Pönitz <poenitz@gmx.net>
6729 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6732 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6734 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6736 * buffer.C: increment LYX_FORMAT to 221
6738 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6739 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6741 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6743 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6745 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6747 * factory.C (createInset): use LyXTextClass::floats
6749 * MenuBackend.C (expandFloatListInsert):
6750 (expandFloatInsert):
6753 * text2.C (setCounter):
6755 * LaTeXFeatures.C (useFloat):
6756 (getFloatDefinitions):
6758 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6760 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6761 floatlist_, with accessor floats().
6763 * FloatList.h: remove global FloatList
6765 2002-08-26 André Pönitz <poenitz@gmx.net>
6767 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6771 * BufferView_pimpl.C:
6772 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6774 2002-08-25 John Levon <levon@movementarian.org>
6776 * LyXAction.C: fix margin note description
6778 2002-08-24 John Levon <levon@movementarian.org>
6782 * bufferview_funcs.C:
6784 * undo_funcs.C: cleanups
6786 * lyxfunc.C: disable CUT/COPY when no selection
6788 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6790 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6791 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6793 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6794 Add backward compatibility to "mono", "gray" and "no".
6796 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6798 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6799 (and file_format >= 200).
6801 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6803 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6805 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6807 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6809 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6811 * BufferView_pimpl.C:
6818 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6819 inset and code to make it work with the paragraph code. The inset
6820 can be anywhere in the paragraph, but will only do the expected
6821 thing in LaTeX if the layout file contains the parameter line
6823 (or more generally, a nonzero value) for that layout.
6825 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6827 * paragraph.h: remove the declaration of undefined counters class
6830 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6832 * text2.C (setCounter): fixed enumeration mis-count as reported by
6833 Dr. Richard Hawkins.
6835 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6837 * paragraph_funcs.h: remove some unneeded includes
6839 * text.C (backspace): pasteParagraph now in global scipe
6841 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6842 (pasteSelection): ditto
6844 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6845 * paragraph_funcs.C (pasteParagraph): ... here
6847 2002-08-20 André Pönitz <poenitz@gmx.net>
6849 * commandtags.h: new LFUNs for swapping/copying table row/colums
6852 * lyxfunc.C: support for new lfuns
6854 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6857 * buffer.[Ch]: remove NO_COMPABILITY stuff
6859 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6861 * boost.C (throw_exception): new file, with helper function for
6862 boost compiled without exceptions.
6867 * ParameterStruct.h:
6868 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6870 * bufferlist.C (emergencyWriteAll): use boost bind
6872 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6874 * text.C: include paragraph_funcs.h
6875 (breakParagraph): breakParagraph is now in global scope
6877 * paragraph_funcs.[Ch]: new files
6879 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6882 * buffer.C: include paragraph_funcs.h
6883 (insertStringAsLines): breakParagraph is now in global scope
6885 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6888 * CutAndPaste.C: include paragraph_funcs.h
6889 (cutSelection): breakParagraphConservative is now in global scope
6890 (pasteSelection): ditto
6892 * buffer.h: declare oprator== and operator!= for
6893 Buffer::inset_iterator
6895 * bufferlist.C (emergencyWrite): don't use fmt(...)
6897 * text3.C: add using std::endl
6899 * BufferView.C (moveCursorUpdate): remove default arg
6901 2002-08-20 André Pönitz <poenitz@gmx.net>
6903 * buffer.[Ch]: move inline functions to .C
6906 * BufferView_pimpl.C:
6908 * buffer.[Ch]: use improved inset_iterator
6911 * paragraph.[Ch]: write one paragraph at a time
6913 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6915 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6916 style if style is not specified.
6918 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6920 * text2.C (setCounter): when searching for right label for a
6921 caption, make sure to recurse to parent insets (so that a caption
6922 in a minipage in a figure float works) (bug #568)
6924 2002-08-20 André Pönitz <poenitz@gmx.net>
6926 * text3.C: new file for LyXText::dispatch() and helpers
6928 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6930 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6932 2002-08-19 André Pönitz <poenitz@gmx.net>
6935 * text.C: new LyXText::dispatch()
6937 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6939 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6941 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6943 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6946 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6948 * Makefile.am: use $(variables) instead of @substitutions@
6950 2002-08-15 André Pönitz <poenitz@gmx.net>
6953 * BufferView_pimpl.C: streamlining mathed <-> outer world
6957 * LyXAction.C: remove unused LFUN_MATH
6959 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6961 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6963 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6965 * paragraph.C (Paragraph): reformat a bit
6966 (cutIntoMinibuffer): use builtin InsetList function instad of
6970 * buffer.C: include boost/bind.hpp, add using std::for_each
6971 (writeFileAscii): use ParagraphList iterators
6972 (validate): use for_each for validate traversal of paragraphs
6973 (getBibkeyList): use ParagraphList iterators
6974 (resizeInsets): use for_each to resizeInsetsLyXText for all
6976 (getParFromID): use ParagraphList iterators
6978 * BufferView2.C (lockInset): use paragraph list and iterators
6980 2002-08-14 John Levon <levon@movementarian.org>
6982 * lyxserver.C: remove spurious xforms include
6984 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6986 * lyxfunc.C (getStatus): disable math-extern outside of math mode
6988 2002-08-13 André Pönitz <poenitz@gmx.net>
6991 * lyxfunc.C: further cleaning
6993 2002-08-13 André Pönitz <poenitz@gmx.net>
6995 * funcrequest.h: new constructor
6997 * funcrequest.C: move stuff here from .h
7000 * BufferView_pimpl.C:
7003 * lyxfunc.C: subsequent changes
7005 * lyxfunc.h: new view() member function
7007 * lyxfunc.C: subsequent changes
7009 2002-08-13 Angus Leeming <leeming@lyx.org>
7012 * BufferView_pimpl.C:
7020 changes due to the changed LyXView interface that now returns references
7021 to member variables not pointers.
7023 2002-08-13 Angus Leeming <leeming@lyx.org>
7025 * WordLangTuple (word, lang_code): return references to strings,
7030 * lyxtext.h: forward-declare WordLangTuple.
7035 * text.C: #include "WordLangTuple.h".
7038 * text.C: (selectNextWordToSpellcheck): constify return type.
7040 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7046 * paragraph_pimpl.h:
7049 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7051 Made updateCounter always count from start of buffer, and removed
7052 second argument (par).
7053 Reverted floats number display to '#'. Perhaps I'll try again when the
7054 code base is sanitized a bit.
7056 2002-08-12 Angus Leeming <leeming@lyx.org>
7058 * buffer.[Ch] (getLabelList): constify.
7060 2002-08-07 André Pönitz <poenitz@gmx.net>
7062 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7064 * funcrequest.h: extension to keep mouse (x,y) position
7066 2002-08-12 Juergen Vigna <jug@sad.it>
7068 * BufferView2.C (insertErrors): forbid undo when inserting error
7071 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7073 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7075 * ParagraphList.[Ch]: new files
7077 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7079 * BufferView2.C (lockInset): ParagraphList changes
7082 * bufferlist.C: ditto
7086 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7088 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7089 unused class variable counter_,
7091 * paragraph.[Ch] (getFirstCounter): delete unused function
7093 * counters.C: include LAssert.h
7094 (reset): add a new function with no arg, change other version to
7095 not have def. arg and to not allow empty arg.
7097 * text2.C (setCounter): remove empty arg from call to Counters::reset
7099 2002-08-11 John Levon <levon@movementarian.org>
7101 * Makefile.am: add WordLangTuple.h
7103 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7105 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7106 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7108 * insets/insettext.C: InsetList changes
7110 * graphics/GraphicsSupport.C (operator()): InsetList changes
7112 * toc.C (getTocList): InsetList changes
7114 * paragraph_pimpl.[Ch]: InsetList changes
7116 * paragraph.[Ch]: InsetList changes
7118 * buffer.C (inset_iterator): InsetList changes
7119 (setParagraph): ditto
7120 * buffer.h (inset_iterator): ditto
7121 * iterators.C (operator++): ditto
7122 * iterators.h: ditto
7124 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7126 * InsetList.[Ch]: new files, most InsetList handling moved out of
7129 * BufferView2.C (removeAutoInsets): InsetList changes
7131 (ChangeInsets): ditto
7133 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7135 * paragraph_pimpl.h (empty): new function
7137 * paragraph.[Ch] (empty): new function
7139 * other files: use the new Paragraph::empty function
7141 2002-08-09 John Levon <levon@movementarian.org>
7143 * lyxtext.h: remove unused refresh_height
7145 2002-08-09 John Levon <levon@movementarian.org>
7152 * paragraph.C: move sgml char escaping out of paragraph
7155 * paragraph.C: remove id setter
7159 * paragraph_pimpl.C: remove dead tex_code_break_column
7161 * bufferview_funcs.C: small cleanup
7163 * lyxfunc.C: remove dead proto
7165 * lyxtext.h: make some stuff private. Remove some dead stuff.
7167 * lyxgluelength.C: make as[LyX]String() readable
7169 2002-08-08 John Levon <levon@movementarian.org>
7174 * ToolbarDefaults.C:
7177 * toc.C: lyxaction cleanup
7179 2002-08-08 John Levon <levon@movementarian.org>
7181 * BufferView2.C: small cleanup
7184 * lyxfind.C: move unnecessary header into the .C
7186 2002-08-08 John Levon <levon@movementarian.org>
7188 * funcrequest.h: just tedious nonsense
7191 * lyx_main.C: cleanups
7194 * vspace.C: remove dead header lyx_main.h
7196 2002-08-07 Angus Leeming <leeming@lyx.org>
7199 * paragraph_pimpl.h:
7200 Forward declare class Counters in paragraph.h by moving the ctrs member
7201 variable into Paragraph::Pimpl.
7202 (counters): new method, returning a reference to pimpl_->ctrs.
7204 * text2.C: ensuing changes.
7206 2002-08-07 John Levon <levon@movementarian.org>
7208 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7210 * BufferView_pimpl.C: announce X selection on double/triple
7213 * lyx_main.C: use correct bool in batch dispatch
7215 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7217 2002-08-07 André Pönitz <poenitz@gmx.net>
7219 * funcrequest.h: new class to wrap a kb_action and its argument
7222 * BufferView_pimpl[Ch]:
7226 * lyxrc.C: subsequent changes
7229 2002-08-07 John Levon <levon@movementarian.org>
7231 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7232 document options change.
7234 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7239 * makefile.am: move counters functionality over from
7240 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7242 2002-08-06 John Levon <levon@movementarian.org>
7244 * WordLangTuple.h: new file for word + language code tuple
7255 * BufferView2.C: use WordLangTuple
7258 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7260 2002-08-06 John Levon <levon@movementarian.org>
7262 * lyx_main.C: fix cmdline batch handling
7264 2002-08-06 André Pönitz <poenitz@gmx.net>
7266 * lyxrc.C: set default for show_banner to true
7268 2002-08-06 John Levon <levon@movementarian.org>
7270 * pspell.C: fix a crash, and allow new aspell to work
7272 2002-08-06 John Levon <levon@movementarian.org>
7275 * kbmap.C: small cleanup
7278 * vspace.C: add const
7280 2002-08-05 John Levon <levon@movementarian.org>
7282 * LyXAction.C: back to tabular-insert
7284 2002-08-04 John Levon <levon@movementarian.org>
7287 * BufferView.C: cosmetic change
7289 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7299 * BufferView2.C: purge all "Lyx" not "LyX" strings
7302 * lyxcursor.C: attempt to add some documentation
7307 * ToolbarDefaults.C:
7308 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7309 merge with LFUN_TABULAR_INSERT
7316 * pspell.C: split up i/pspell implementations into separate
7317 files, many cleanups
7319 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7321 * text2.C: some cleanup
7323 * lyxfunc.C: don't check for isp_command == "none" any more, it
7324 didn't make any sense
7326 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7331 * makefile.am: move counters functionality over
7332 from text2.C/paragraph.[Ch] to counters.[Ch], and
7334 2002-08-02 John Levon <levon@movementarian.org>
7336 * buffer.C: s/lyxconvert/lyx2lyx/
7338 2002-08-02 Angus Leeming <leeming@lyx.org>
7340 * lyxlex.C: revert John's change as it breaks reading of the user
7343 2002-08-02 Angus Leeming <leeming@lyx.org>
7345 * importer.C (Import):
7346 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7347 changes due to LyXView::view() now returning a boost::shared_ptr.
7349 2002-08-02 John Levon <levon@movementarian.org>
7351 * lyxlex.C: small cleanup
7353 2002-08-02 John Levon <levon@movementarian.org>
7355 * text2.C (status): small cleanup, no logic change
7357 2002-08-01 John Levon <levon@movementarian.org>
7360 * buffer.C (writeFile): don't output alerts, caller
7364 * lyx_cb.C: from above
7366 * lyxfunc.C: allow to open non-existent files
7368 2002-07-31 John Levon <levon@movementarian.org>
7370 * lyxserver.C: don't let incidental errors get
7373 2002-07-30 John Levon <levon@movementarian.org>
7375 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7377 2002-07-30 John Levon <levon@movementarian.org>
7380 * lyxserver.C: remove I/O callback too
7382 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7384 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7387 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7389 * many files: strip,frontStrip -> trim,ltrim,rtrim
7391 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7393 * PrinterParams.h: remove extern containsOnly, and include
7394 support/lstrings.h instead.
7396 * LaTeX.C (scanAuxFile): modify because of strip changes
7398 * buffer.C (makeLaTeXFile): ditto
7399 * bufferparams.C (writeFile): ditt
7400 * lyxfont.C (stateText): ditto
7401 * lyxserver.C (read_ready): ditto
7402 * vc-backend.C (scanMaster): ditto
7404 * BufferView_pimpl.h: ws changes
7406 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7408 2002-07-26 André Pönitz <poenitz@gmx.net>
7410 * kb_sequence.C: remove unnedred usings
7412 2002-07-26 Juergen Vigna <jug@sad.it>
7414 * lyxfind.C (LyXReplace): we have to check better if the returned
7415 text is not of theLockingInset()->getLockingInset().
7417 2002-07-25 Juergen Vigna <jug@sad.it>
7419 * lyxfind.C (LyXReplace): don't replace if we don't get the
7422 * undo_funcs.C (createUndo): remove debugging code.
7424 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7426 * buffer.C (parseSingleLyXformat2Token): Use default placement
7427 when reading old floats.
7429 * FloatList.C (FloatList): Change the default placement of figure
7430 and tables to "tbp".
7432 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7434 * MenuBackend.C: using std::max
7436 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7438 * MenuBackend.C (expandToc):
7439 (expandToc2): code moved from xforms menu frontend. It is now
7440 generic and TOCs are transparent to menu frontends.
7442 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7444 * toc.C (getTocList): protect against buf=0
7446 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7447 Menu as first parameter. Now, this calls itself recursively to
7448 expand a whole tree (this will be useful for TOC handling)
7449 (expandFloatInsert): remove 'wide' version of floats
7451 * MenuBackend.h (submenuname): returns the name of the submenu.
7452 (submenu): returns the submenu itself, provided it has been
7453 created by MenuBackend::expand
7455 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7457 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7458 insets which have noFontChange == true. (bug #172)
7460 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7462 * BufferView_pimpl.C: add connection objects and use them...
7465 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7467 * MenuBackend.C (expandLastfiles):
7470 (expandFloatListInsert):
7471 (expandFloatInsert):
7472 (expand): split expand in parts
7474 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7476 * lyx_gui.C: use lyx_gui::exit()
7478 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7480 * LyXAction.C: show the failing pseudo action
7482 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7484 * buffer.C (readFile): Run the lyxconvert script in order to read
7487 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7491 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7493 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7497 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7499 2002-07-22 Herbert Voss <voss@lyx.org>
7502 * lyxlength.[Ch]: add support for the vertical lengths
7504 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7506 * toc.[Ch]: std:: fixes
7508 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7510 * lyxrc.C: do not include lyx_main.h
7512 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7518 * BufferView2.C: include "lyxlex.h"
7521 * bufferparams.h: do not #include "lyxlex.h"
7523 * lyxtextclasslist.C (Add): remove method
7524 (classlist): renamed to classlist_
7526 * paragraph_pimpl.C:
7530 * bufferview_funcs.C:
7535 * toc.C (getTocList): use BufferParams::getLyXTextClass
7537 * toc.C (getTocList): use InsetFloat::addToToc
7539 * toc.[Ch]: new files, containing helper functions to handle table
7542 * lyxfunc.C (dispatch): no need to remove spaces around command
7544 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7545 first command of the sequence; it is not very clever, but I do not
7546 have a better idea, actually
7548 * LyXAction.C (LookupFunc): make sure to remove space at the
7549 beginning and end of the command
7551 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7553 * MenuBackend.C (getMenubar): new method: return the menubar of
7555 (read): treat differently reading of menu and menubar (in
7556 particular, the menubar has no name now)
7557 (Menu::menubar): remove
7559 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7562 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7564 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7565 a bibitem inset in a RTL paragraph.
7567 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7569 * paragraph_pimpl.C: constify
7571 * BufferView_pimpl.C:
7573 * lyxfunc.C: fix dispatch in a nicer way
7575 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7577 * lyxfunc.C (dispatch):
7578 * BufferView_pimpl.C:
7579 * BufferView_pimpl.h:
7581 * BufferView.h: rename Dispatch() to dispatch()
7583 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7585 * lyxlayout.C (Read): honor DependsOn tag
7587 * lyxlayout.[Ch] (depends_on): new method
7589 * version.C.in: update lyx_docversion
7591 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7593 * paragraph.C (validate): remove from here...
7594 * paragraph_pimpl.C (validate): ... and move here
7595 (isTextAt): make it const
7597 * buffer.C (getLists): ws cleanup
7599 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7601 * language.C (read): Use iso8859-1 encoding in latex_lang
7602 (this prevents LyX from crashing when using iso10646-1 encoding).
7604 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7606 * text2.C (toggleInset): if cursor is inside an inset, close the
7607 inset and leave cursor _after_ it
7609 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7611 * lyxfunc.C: move minibuffer completion handling out of here
7613 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7615 * BufferView_pimpl.C:
7616 * LaTeX.C: fix dispatch calls
7618 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7620 * text.C (drawChars): Fix Arabic text rendering.
7622 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7626 * lyxfunc.C: remove message-push/pop
7630 * lyxfunc.C: rationalise some code by removing verboseDispatch
7631 in favour of a bool argument to dispatch()
7633 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7635 * lyx_main.C (init): make sure to read symlinks as absolute paths
7637 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7640 * lyxfunc.C: no need for commandshortcut to be a member
7642 2002-07-15 André Pönitz <poenitz@gmx.net>
7644 * converter.C: add support for $$s (scripts from lib/scripts dir)
7645 * lyx_main.C: white space
7647 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7651 * lyxrc.C: remove second exit confirmation
7653 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7658 * BufferView_pimpl.h:
7659 * BufferView_pimpl.C:
7660 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7662 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7664 * MenuBackend.C (expand): add numeric shortcuts to document menu
7666 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7668 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7670 * lyxfont.C (setLyXFamily):
7677 * buffer.C (asciiParagraph): use ascii_lowercase
7679 2002-07-15 Mike Fabian <mfabian@suse.de>
7681 * lyxlex_pimpl.C (search_kw):
7682 * lyxlex.C (getLongString):
7683 * converter.h (operator<):
7684 * converter.C (operator<):
7685 * buffer.C (parseSingleLyXformat2Token):
7687 * ToolbarDefaults.C (read):
7688 * MenuBackend.C (checkShortcuts):
7690 * LColor.C (getFromGUIName):
7691 (getFromLyXName): use the compare_ascii_no_case instead of
7692 compare_no_case, because in turkish, 'i' is not the lowercase
7693 version of 'I', and thus turkish locale breaks parsing of tags.
7695 2002-07-16 Angus Leeming <leeming@lyx.org>
7697 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7698 now takes a Buffer const & argument.
7700 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7702 * BufferView.C (resize): check there's a buffer to resize
7704 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7706 * lyxfunc.C: remove dead code
7709 * lyxserver.C: use lyx_guii::set_read_callback
7711 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7713 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7714 an inset in a RTL paragraph.
7716 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7718 * lyxfunc.C: repaint after a font size update
7720 2002-07-15 André Pönitz <poenitz@gmx.net>
7722 * lyxlength.C: inBP should be able to return negative values
7724 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7726 * lyxfunc.C: use lyx_gui::update_fonts()
7728 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7730 * lyxfunc.C: use lyx_gui::update_color()
7732 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7738 * lyxrc.C: remove file->new asks for name option, and let
7739 buffer-new take an argument
7741 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7743 * BufferView_pimpl.C: remove unneeded extra repaint()
7745 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7747 * LyXAction.C: allow command-sequence with NoBuffer
7749 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7751 2002-07-10 Angus Leeming <leeming@lyx.org>
7753 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7755 2002-07-09 Angus Leeming <leeming@lyx.org>
7757 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7759 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7761 * lengthcommon.h: whitespace
7763 * lyxfunc.C: update scrollbar after goto paragraph
7765 * lyxtext.h: factor out page break drawing, and fix it so
7766 page break/added space paints as selected nicely
7768 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7770 * BufferView_pimpl.C: add FIXMEs, clean up a little
7772 2002-07-09 André Pönitz <poenitz@gmx.net>
7774 * lyxfont.[Ch]: support for wasy symbols
7776 2002-07-08 André Pönitz <poenitz@gmx.net>
7778 * BufferView_pimpl.C: apply John's patch for #93.
7780 2002-07-05 Angus Leeming <leeming@lyx.org>
7782 * BufferView_pimpl.C (buffer): generate previews if desired.
7784 * LColor.h: add "preview" to the color enum.
7786 * LColor.C (LColor): add a corresponding entry to the items array.
7788 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7791 2002-07-05 Angus Leeming <leeming@lyx.org>
7793 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7794 The body of the code is now in the method that is passed an ostream &
7795 rather than a file name.
7796 Pass an additional only_preamble parameter, useful for the forthcoming
7799 2002-07-03 André Pönitz <poenitz@gmx.net>
7801 * lyxfunc.C: simplify getStatus() a bit for math stuff
7803 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7805 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7807 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7809 * text.C (changeRegionCase): do not change case of all the
7810 document when region ends at paragraph end (bug #461)
7812 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7814 * paragraph.C (startTeXParParams):
7815 (endTeXParParams): add \protect when necessary
7817 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7819 * BufferView_pimpl.C (workAreaExpose): remove warning
7821 2002-06-27 Angus Leeming <leeming@lyx.org>
7823 * Makefile.am: add lyxlayout_ptr_fwd.h.
7825 2002-06-26 André Pönitz <poenitz@gmx.net>
7827 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7829 2002-06-25 Angus Leeming <leeming@lyx.org>
7831 * lyxfunc.C (dispatch): Comment out the call to
7832 grfx::GCache::changeDisplay. The method no longer exists now that the
7833 pixmap generation part of the graphics loader has been moved into
7836 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7838 * text2.C: layout as layout
7840 * text.C: layout as layout
7842 * tabular.C (OldFormatRead): layout as layout
7844 * paragraph_pimpl.C (TeXDeeper): layout as layout
7845 (realizeFont): layout as layout
7847 * paragraph.C (writeFile): layout as layout
7848 (validate): layout as layout
7849 (getFont): layout as layout
7850 (getLabelFont): layout as layout
7851 (getLayoutFont): layout as layout
7852 (breakParagraph): layout as layout
7853 (stripLeadingSpaces): layout as layout
7854 (getEndLabel): layout as layout
7855 (getMaxDepthAfter): layout as layout
7856 (applyLayout): layout as layout
7857 (TeXOnePar): layout as layout
7858 (simpleTeXOnePar): layout as layout
7859 (TeXEnvironment): layout as layout
7860 (layout): layout as layout
7861 (layout): layout as layout
7863 * lyxtextclass.C (compare_name): new functor to work with
7864 shared_ptr, layout as layout
7865 (Read): layout as layout
7866 (hasLayout): layout as layout
7867 (operator): layout as layout
7868 (delete_layout): layout as layout
7869 (defaultLayout): layout as layout
7871 * lyxlayout_ptr_fwd.h: new file
7873 * lyxlayout.C (Read): layout as layout
7875 * lyx_cb.C (MenuInsertLabel): layout as layout
7877 * bufferlist.C (newFile): layout as layout
7879 * buffer.C (readLyXformat2): layout as layout
7880 (parseSingleLyXformat2Token): layout as layout
7881 (insertStringAsLines): layout as layout
7882 (asciiParagraph): layout as layout
7883 (latexParagraphs): layout as layout
7884 (makeLinuxDocFile): layout as layout
7885 (simpleLinuxDocOnePar): layout as layout
7886 (makeDocBookFile): layout as layout
7887 (simpleDocBookOnePar): layout as layout
7888 (getLists): layout as layout
7890 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7892 * CutAndPaste.C (cutSelection): layout as layout
7893 (pasteSelection): layout as layout
7894 (SwitchLayoutsBetweenClasses): layout as layout
7896 * BufferView_pimpl.C (Dispatch): layout as layout
7897 (smartQuote): layout as layout
7899 * BufferView2.C (unlockInset): layout as layout
7901 2002-06-24 André Pönitz <poenitz@gmx.net>
7903 * lyxfunc.C: fix #487
7905 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7909 * lyxfunc.C: remove display_shortcuts, show_banner
7911 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7913 * Buffer_pimpl.C: oops, update on resize
7915 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7922 * BufferView.C: use repaint()
7924 * BufferView_pimpl.h:
7925 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7926 as it's a clearer description. Remove superfluous
7929 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7931 * text.C: fix bug 488. Not ideal, but getting
7932 getWord() to work properly for the insets that
7933 matter is more difficult ...
7935 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7937 * BufferView_pimpl.C:
7940 * lyxfunc.C: remove the six million index lyxfuncs to just
7941 one, and DTRT (bug 458)
7943 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7947 * BufferView_pimpl.h:
7948 * BufferView_pimpl.C: clean up resize() stuff,
7949 and unnecessary updateScreen()s
7951 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7955 * BufferView_pimpl.h:
7956 * BufferView_pimpl.C:
7959 * minibuffer.C: remove focus management of workarea,
7960 not needed. Use screen's greyOut()
7962 2002-06-17 Herbert Voss <voss@lyx.org>
7964 * converter.C: (convert) do not post a message, when converting
7965 fails, let the calling function decide what to do in this case
7967 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7969 * lyxfunc.C: tidy up a little
7971 2002-06-16 <alstrup@diku.dk>
7973 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7974 Got rid of FORMS_H_LOCATION include. Now we are
7977 2002-06-15 LyX Development team <lyx@rilke>
7979 * buffer.[Ch] (sgmlOpenTag):
7980 (sgmlCloseTag): Added support for avoiding pernicious mixed
7981 content. Return number of lines written.
7984 (makeDocBookFile): Fixed calls to sgml*Tag.
7985 Simple white space clean.
7987 (simpleDocBookOnePar): Simple white space clean.
7989 * tabular.[Ch] (docBook): Renamed to docbook and got another
7990 argument to related with the pernicious mixed content.
7992 (docbookRow): Fixed calls for docbook inset method.
7994 2002-06-15 Lyx Development team <larsbj@birdstep.com>
7996 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7997 so it's X11 independent.
8001 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8003 2002-06-15 Lyx Development team <lyx@electronia>
8005 * intl.h: Renamed getTrans to getTransManager.
8007 2002-06-14 Angus Leeming <leeming@lyx.org>
8009 * Makefile.am: nuke forgotten stl_string_fwd.h.
8011 2002-06-12 Angus Leeming <leeming@lyx.org>
8013 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8015 2002-06-13 Angus Leeming <leeming@lyx.org>
8018 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8020 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8022 * kbmap.C (getiso): add support for cyrillic and greek
8024 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8028 * BufferView_pimpl.h:
8029 * BufferView_pimpl.C: move bogus scrolling logic
8032 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8035 * BufferView_pimpl.C: view->resize() change
8037 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8039 * BufferView_pimpl.C: topCursorVisible
8042 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8046 * lyx_gui.C: move to frontends/
8050 * lyx_main.C: changes from above
8052 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8059 * lyx_main.C: minor tidy
8061 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8063 * BufferView_pimpl.h:
8064 * BufferView_pimpl.C:
8066 * BufferView.C: make painter() const,
8069 * BufferView2.C: use screen() accessor
8072 * lyx_main.C: some minor cleanup
8074 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8076 * BufferView_pimpl.h:
8077 * BufferView_pimpl.C: remove enter/leaveView,
8080 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8085 * BufferView_pimpl.h:
8086 * BufferView_pimpl.C: only construct screen once,
8089 * lyxrc.C: remove pointless comment
8091 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8094 * BufferView.C: remove active() and belowMouse()
8096 * BufferView_pimpl.h:
8097 * BufferView_pimpl.C: use workarea() not workarea_,
8098 and make it use a scoped_ptr instead
8100 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8102 * lyx_gui.C: add debug message on BadWindow
8104 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8106 * sp_spell.C: fdopen is not part of the C++ standard.
8108 * paragraph.C (InsetIterator): use >= instead of ==
8110 2002-06-07 Angus Leeming <leeming@lyx.org>
8112 Fixes needed to compile with Compaq cxx 6.5.
8113 * BufferView_pimpl.C:
8120 * lyxtextclasslist.C:
8125 all c-library variables have been moved into namespace std. Wrap
8126 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8131 Add a using std::abs declaration.
8133 * kbmap.h (modifier_pair):
8134 * paragraph.h (InsetTable, InsetList):
8135 * lyxfont.h (FontBits):
8136 type definition made public.
8138 * bufferlist.C (emergencyWriteAll): the compiler complains that
8139 there is more than one possible lyx::class_fun template to choose from.
8140 I re-named the void specialisation as lyx::void_class_fun.
8142 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8144 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8145 the compiler is is unable to find tostr in write_attribute.
8147 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8149 * buffer.C (sgmlError): hide #warning
8151 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8153 * xtl/*: get rid of xtl, which is not in use anyway
8155 * LyXAction.C (init):
8156 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8157 were unimplemented xtl experimentation
8159 2002-06-04 André Pönitz <poenitz@gmx.net>
8161 * lyxfunc.C: disable array operation on simple formulae
8163 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8165 * converter.C: constify a bit
8167 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8169 * lyx_gui.C: check xforms version correctly
8171 2002-04-30 Herbert Voss <voss@lyx.org>
8173 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8176 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8178 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8179 attempt to register it with a VCS)
8181 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8183 * lyx_main.C (init): honor variables LYX_DIR_13x and
8186 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8190 * lyx_main.C: fix a crash on bad command line,
8191 and give a useful exit status on error
8193 * lyxfunc.C (doImport): allow -i lyx to work
8195 2002-03-30 André Pönitz <poenitz@gmx.net>
8197 * lyxfunc.C: mathed font changes
8199 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8214 * trans_mgr.h: srcdocs, and some minor cleanups
8216 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8218 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8219 call getFont all the time)
8221 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8223 * switch from SigC signals to boost::signals
8225 2002-05-29 André Pönitz <poenitz@gmx.net>
8227 * paragraph_pimpl.C (getChar): don't call size() too often...
8229 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8231 * paragraph_pimpl.C (insertChar): do not try to update tables when
8232 appending (pos == size())
8234 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8235 in order to reduce drastically the number of comparisons needed to
8236 parse a large document
8238 2002-05-29 André Pönitz <poenitz@gmx.net>
8244 * textclasslist.[Ch]:
8245 * sp_ispell.h: whitespace change
8247 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8249 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8250 lyxaction directly now.
8252 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8256 * lyxvc.C: remove unused headers
8258 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8265 * undo_funcs.C: some cleanups. Use shared_ptr
8266 and a template for the undo stacks.
8268 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8270 * BufferView_pimpl.h:
8271 * BufferView_pimpl.C:
8278 * text2.C: use key_state/mouse_state
8280 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8282 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8285 * chset.C: change include order
8286 (loadFile): use boost regex and get rid of LRegex and LSubstring
8288 * Makefile.am (BOOST_LIBS): new variable
8291 * LaTeX.C: change include order.
8292 (scanAuxFile): use boost regex and get rid of LRegex and
8296 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8301 * FontInfo.C: moved to frontends/xforms/
8304 * FontLoader.C: moved into frontends for GUIIzation
8309 * lyxfunc.C: changes from above
8311 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8313 * LColor.C: remove spurious X include
8315 * BufferView_pimpl.C:
8320 * text2.C: move font metrics to frontends/
8322 2002-05-24 Juergen Vigna <jug@sad.it>
8324 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8325 setting the undo_cursor.
8327 * ParagraphParameters.h: include local includes first.
8329 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8331 * BufferView_pimpl.C:
8332 * BufferView_pimpl.h:
8336 * screen.C: move WorkArea into frontends/
8342 * BufferView2.C: move LyXScreen into frontends/
8346 * lyx_gui.C: move lyxlookup into frontends/xforms/
8348 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8351 * BufferView_pimpl.C:
8361 * bufferview_funcs.C:
8374 * vc-backend.C: move LyX/XFormsView into frontends/
8376 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8388 * text2.C: move Painter to frontends/
8390 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8392 * buffer.C: comment out some some code that depend upon lyx_format
8395 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8396 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8398 * buffer.h (NO_COMPABILITY): turn off compability
8400 * ColorHandler.C: include scoped_array.hpp
8402 * font.C: Use more specific smart_ptr header.
8405 * ShareContainer.h: ditto
8409 * BufferView_pimpl.h: ditto
8410 * ColorHandler.h: ditto
8412 * kbmap.C (defkey): change call to shared_ptr::reset
8414 2002-05-21 Juergen Vigna <jug@sad.it>
8416 * buffer.C (insertErtContents): fix to insert ert asis if it is
8417 non empty. Skip it completely if it contains only whitespaces.
8419 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8421 * BufferView_pimpl.C:
8422 * BufferView2.C: clear selection on paste (bug 393)
8424 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8426 * DepTable.C: include ctime
8428 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8430 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8432 2002-05-14 Juergen Vigna <jug@sad.it>
8434 * text.C (breakParagraph): fixed function to honor the keepempty
8435 layout in the right maner and also to permit the right breaking
8436 algorithm on empty or non empyt keepempty paragraphs.
8438 * paragraph.C (breakParagraph): we have to check also if the par
8439 is really empty (!size()) for isempty otherwise we do the wrong
8442 2002-05-10 Juergen Vigna <jug@sad.it>
8444 * buffer.[Ch] : The following are only changes to the ert
8445 compatibility read reading old LaTeX layout and font stuff and
8446 convert it to ERTInsets.
8448 * buffer.h: added isErtInset().
8450 * buffer.C (struct ErtComp): add a fromlayout bool to check
8451 if we're inside a LaTeX layout.
8452 (isErtInset): new helper function.
8453 (insertErtContents): look for other ert insets before this one
8454 and insert the contents there, so that we don't have subsequent
8455 ERT insets with nothing between them. This way we create only one
8456 inset with multiple paragraphs. Also check if we don't insert only
8457 spaces ' ' as they are ignored anyway afterwards in the .tex file
8458 so if we have only spaces we will ignore this latex part in the
8460 (parseSingleLyXformat2Token \\layout): better compatibility when
8461 reading layout-latex stuff.
8462 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8464 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8465 stuff after reading the inset only get the information back from
8468 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8470 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8472 * LaTeXFeatures.C (getBabelOptions): New method.
8474 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8476 * BufferView_pimpl.C (Dispatch): work around missing argument for
8479 2002-05-08 Juergen Vigna <jug@sad.it>
8481 * text.C (leftMargin): handle paragraph leftindent.
8483 * paragraph.C (writeFile): write the new \\leftindent tag.
8484 (validate): handle leftindent code.
8485 (TeXEnvironment): handle paragraphleftindent code again.
8487 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8489 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8490 for paragrap_extra indent code and new token \\leftindent.
8491 (latexParagraphs): handle the leftindent as environment.
8493 * ParameterStruct.h: added leftindent support.
8495 * ParagraphParameters.C (leftIndent): added support functions for
8496 the paragraph left indent.
8498 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8501 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8503 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8506 * text.C (computeBidiTables): No bidi in insetERT.
8508 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8511 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8513 * version.C.in: pre 5
8515 2002-05-02 José Matos <jamatos@fep.up.pt>
8516 * buffer.C (makeDocBookFile): white space changes, add newline to
8518 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8520 * tabular.C (docBook): fix typo.
8522 2002-05-03 Juergen Vigna <jug@sad.it>
8524 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8525 change in LyXText as we can not be sure it was not freed.
8526 (drawOneRow): remove unused code.
8528 * text.C (drawInset): redo the calculation of the need_break_row as
8529 it could have a row which was already freed.
8530 (draw): look at the return value of drawInset and return false if
8531 it also returned false.
8532 (paintRowText): look at the return value of draw and return false if
8533 it also returned false.
8535 * lyxtext.h: added bool return type to drawInset() and draw() so that
8536 if we have a change in the row so that the rowbreak has to be redone
8537 we abort drawing as it will be called again.
8539 2002-05-02 Juergen Vigna <jug@sad.it>
8541 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8542 a change in the maintext also if we're inside an inset.
8543 (Dispatch): set the cursor again after a break line and after the
8544 screen has been updated as it could be we're in a different row.
8546 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8547 to set the cursor behind the pargraph with > size().
8548 (setCursor): check also for the same paragraph when checking where
8549 to put the cursor if we have a NFR inset.
8551 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8552 parts of layout read further up as it still was in the wrong
8555 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8557 * screen.C (drawFromTo): change sine fullRebreak always return
8560 * buffer.C (parseSingleLyXformat2Token): reindent some
8562 * BufferView_pimpl.C (update): change since fullRebreak always
8564 (Dispatch): git rid of the last hardcoded "Standard"s.
8566 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8568 * text2.[Ch] (fullRebreak): make it return void now that we always
8571 2002-04-30 Juergen Vigna <jug@sad.it>
8573 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8574 ert compatibility check for "latex" layout.
8576 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8578 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8579 minipages: use col% instead of p%, and also use the current font.
8580 (makeLaTeXFile): Fix use babel condition.
8581 (parseSingleLyXformat2Token): Correct font when reading old floats.
8583 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8585 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8586 inserting list of floats.
8588 2002-04-25 Herbert Voss <voss@lyx.org>
8590 * MenuBackend.C (expand): don't add the graphics extensions to the
8593 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8595 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8596 non-existing layout, do not complain if it was the default layout
8597 of the original class (bug #342)
8599 2002-04-24 Juergen Vigna <jug@sad.it>
8601 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8602 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8604 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8606 * buffer.C (getBibkeyList): If using \bibliography, return the
8607 option field with the reference itself. Enables us to provide natbib
8608 support when using \bibliography.
8610 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8612 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8614 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8615 natbib is provided by the LaTeX class.
8617 2002-04-23 Juergen Vigna <jug@sad.it>
8619 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8622 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8624 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8626 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8628 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8629 ensuremath around textordmasculine, textordfeminine and
8632 2002-04-19 Juergen Vigna <jug@sad.it>
8634 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8635 reinitializing the buffer otherwise row-dimensions may be wrong.
8636 (update): reset also the selection cursors if they do exits otherwise
8637 their x/y positions may be wrong.
8639 * text2.C (cursorDown): don't enter the inset if we came from a row
8640 above and are one row over the inset.
8642 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8643 really leaving an inset.
8645 2002-04-18 Juergen Vigna <jug@sad.it>
8647 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8648 of the selected paragraph does not have the selected layout also if
8651 * text2.C (setLayout): fixed bug which did not change last selected
8654 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8655 changed the read and substituted \\end_float with \\end_inset!
8657 * BufferView_pimpl.C (cursorPrevious):
8658 (cursorNext): fixed to make it work with rows heigher than the work
8659 area without moving the cursor only the draw of the row.
8660 (workAreaMotionNotify): fix jumping over high rows.
8662 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8664 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8667 2002-04-16 Juergen Vigna <jug@sad.it>
8669 * text2.C (setCursor): set also the irow().
8670 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8672 (cursorDown): support for locking an inset if the x_fix value goes
8673 inside it. That way I can transverse insets too with cursor up/down.
8675 * lyxrow.h: added irow helper function same as other (i) functions.
8677 * BufferView_pimpl.C (cursorPrevious):
8678 (cursorNext): fixed for insets!
8680 2002-04-15 Juergen Vigna <jug@sad.it>
8682 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8683 position otherwise it is wrong in some cases.
8685 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8686 inside the inset before the call.
8688 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8690 * buffer.[Ch] (getBibkeyList): make it const.
8692 2002-04-12 Juergen Vigna <jug@sad.it>
8694 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8696 * text2.C (getCursorX): new helper function
8697 (setCursor): compute also ix_
8698 (setCursorFromCoordinates): set also ix.
8700 * lyxcursor.h: added ix_ and helper functions.
8702 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8704 * buffer.C (insertStringAsLines): dont break paragraph if the this
8705 paragraph is inside an inset which does not permit it!
8707 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8708 also with no chars on this paragraph.
8709 (paintRowText): only paint stuff if it's inside the workarea!
8711 * paragraph.C (breakParagraph): honor keepempty flag and break the
8712 paragraph always below not above.
8714 * BufferView2.C (unlockInset): update the paragraph layout on inset
8715 unlock as we changed paragraph in such a case.
8717 * lyxfind.C (LyXFind): clear the former selection if not found!
8719 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8720 again called in insertChar().
8722 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8723 an inset which uses the whole row!
8724 (rightMargin): ditto.
8725 (insertChar): force a rebreak if we inserted an inset!
8727 2002-03-28 Herbert Voss <voss@lyx.org>
8729 * lyxlength.[Ch]: add inBP() to get the right PS-point
8730 units (BigPoint). With inPixels we have rounding errors
8732 2002-04-11 Juergen Vigna <jug@sad.it>
8734 * text2.C (setCursorFromCoordinates): set iy to the right value.
8735 (setCursor): add check if row->previous exists!
8737 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8738 an old float_type as this was the case in the old code!
8740 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8742 * BufferView2.C (showLockedInsetCursor): use iy
8743 (fitLockedInsetCursor): ditto
8745 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8746 locked insets as there we have the right value now.
8748 * lyxcursor.C: added iy_ variable and iy functions to set to the
8749 baseline of cursor-y of the locked inset.
8751 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8752 (setCursor): fixed for insets which need a full row.
8754 * text.C (rowLastPrintable): don't ignore the last space when before
8755 an inset which needs a full row.
8756 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8757 as last character of a row when before a inset which needs a full row.
8759 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8761 * version.C.in: update date
8763 * text2.C (fullRebreak): try to always return true and see what
8766 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8768 * MenuBackend.C (expand): use Floating::listName
8770 * FloatList.C (FloatList): add listName argument to the built-in
8773 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8774 text associated with the float.
8776 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8778 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8780 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8782 * ShareContainer.h: add a couple of missing typenames.
8784 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8786 * lyxrc.C (getDescription): use _() correctly rather than N_().
8788 2002-03-28 Herbert Voss <voss@lyx.org>
8790 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8791 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8793 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8795 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8796 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8798 2002-03-29 Juergen Vigna <jug@sad.it>
8800 * lyxfunc.C (dispatch): add a missing fitCursor call.
8802 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8803 it was scrolled by a cursor move, so return the bool status.
8805 * BufferView.C (fitCursor): return the bool flag also to the outside
8806 world as this is needed.
8808 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8810 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8811 call the edit() as it is not needed (and wrong) IMO.
8812 (workAreaButtonPress): set the screen_first variable before evt.
8813 unlock the inset as this may change screen_first and then we have
8814 a wrong y position for the click!
8816 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8818 * MenuBackend.C (expand): another translation that I missed
8820 2002-03-28 Juergen Vigna <jug@sad.it>
8822 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8824 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8826 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8828 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8830 * MenuBackend.C (expand): fix export/view/update when there is no
8833 2002-03-27 Herbert Voss <voss@lyx.org>
8835 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8838 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8840 * bufferview_funcs.C (currentState): only show paragraph number
8841 for is DEVEL_VERSION is set.
8843 * lyxfunc.C (dispatch): put warning in INFO channel
8845 * MenuBackend.C (expand): translate the name of floats
8847 * FloatList.C (FloatList): mark the float names for translation
8849 * converter.C (convert): use LibScriptSearch
8851 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8853 * MenuBackend.C (defaults): fix default menu (we might as well get
8856 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8858 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8861 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8863 * lyxvc.C: reorder includes.
8865 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8867 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8870 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8872 * CutAndPaste.C: change layouts earlier on paste
8873 to avoid crashing when calling getFont()
8875 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8877 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8880 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8882 * WorkArea.C: remove 'Pending' debug message.
8884 * most files: ws cleanup
8886 * buffer.[Ch]: ws changes
8888 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8890 2002-03-21 Juergen Vigna <jug@sad.it>
8892 * tabular.C (SetMultiColumn): collapse also the contents of the
8893 cells and set the last border right. Added a Buffer const * param.
8895 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8897 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8900 2002-03-19 Juergen Vigna <jug@sad.it>
8902 * text2.C (clearSelection): reset also xsel_cache.
8904 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8905 where it needs to be called (John tells us to do so too :)
8906 (selectionLost): reset sel_cache.
8908 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8910 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8912 * text2.C (setCursorIntern): put debuging code in INSETS channel
8914 2002-03-19 André Pönitz <poenitz@gmx.net>
8916 * lyxfunc.C: tiny whitespace change
8918 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8920 * ToolbarDefaults.C (init):
8921 * LyXAction.C (init):
8923 * BufferView_pimpl.C (Dispatch):
8924 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8926 2002-03-19 Allan Rae <rae@lyx.org>
8928 * exporter.C (Export): removeAutoInsets before doing anything else.
8929 While I've just introduced a dependency on BufferView this really is
8930 the best place to clean the buffer otherwise you need to cleanup in
8931 a dozen places before calling export or cleanup in a dozen functions
8934 * converter.C (runLaTeX):
8935 (scanLog): Better handling of removeAutoInsets and screen updates.
8937 * lyxfunc.C (dispatch): small whitespace changes
8939 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8941 * WorkArea.C (C_WorkAreaEvent): return a value.
8942 (event_cb): return 1 if we handled the event, 0 otherwise.
8944 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8946 2002-03-18 Juergen Vigna <jug@sad.it>
8948 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8949 (GetAdditionalWidth): ditto.
8953 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8954 inset if we're there actually (probably not used right now but this
8955 is the direction to go for unifying code).
8956 (paste): disable code to clear the selection.
8958 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8959 inside an InsetText and move the check further up as it is in the
8962 * text2.C (pasteSelection): set a selection over the pasted text.
8964 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8966 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8967 and libgraphics to build on Cygwin.
8969 2002-03-15 Juergen Vigna <jug@sad.it>
8971 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8972 inserting an Inset into the paragraph. I know this is not the best
8973 fix but we already use current_view in CutAndPaste so we will remove
8974 all of it's using at the same time.
8976 * buffer.C (sgmlError): deactivated function till it is rewritten in
8977 the right mode, now it can create problems.
8979 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8980 before accessing it.
8982 2002-03-14 Juergen Vigna <jug@sad.it>
8984 * undo_funcs.C (textHandleUndo): do the right thing when updating
8985 the inset after the undo/redo.
8987 * text2.C (setCursor): just some testcode for #44 not ready yet.
8989 * undo_funcs.C (textHandleUndo): set the next() and previous()
8990 pointers of the paragraph to 0 before deleting otherwise we have
8991 problems with the Paragraph::[destructor].
8993 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8994 on a paragraph insertion.
8996 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8998 * buffer.C (asciiParagraph): use += operator for char append to
9001 * paragraph.C (getFontSettings): compare >= not just >
9002 (highestFontInRange): ditto
9005 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9007 * paragraph.C: change several algorithm to be more appripriate for
9008 the problem domain. This is lookip in FontList and in the InsetList.
9010 2002-03-13 André Pönitz <poenitz@gmx.net>
9013 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9015 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9020 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9022 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9024 * Painter.C (display): anon helper function, adjust code for this
9026 (pixmap): remove function.
9028 * Painter.h: remove private display variable.
9030 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9032 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9034 * WorkArea.[Ch]: remove figinset_canvas cruft.
9036 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9038 * lyxtextclass.C (operator): add one item cache optimization.
9040 * bufferlist.h: doxy changes
9042 * bufferlist.C: ws changes
9044 * DepTable.[Ch] (ext_exist): place const in the right spot.
9046 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9048 (workAreaExpose): call resizeInsets when the with BufferView changes.
9049 (Dispatch): adjust for protectedBlank removal
9050 (specialChar): call updateInset if the insert went ok.
9052 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9053 specialChar instead.
9055 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9057 * BufferView.h: doxy change
9059 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9061 * lyxtextclass.C (operator[]): remove non-const version
9062 (defaultLayout): remove non-const version
9064 2002-03-12 Juergen Vigna <jug@sad.it>
9066 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9067 did resize the LyXText too.
9069 * buffer.C (readLyXformat2): set layout information on newly allocated
9072 * tabular.C (OldFormatRead): set layout information on the paragraph.
9074 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9076 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9078 2002-03-11 Juergen Vigna <jug@sad.it>
9080 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9082 (resizeCurrentBuffer): force also the insets to resize themselfes.
9083 (moveCursorUpdate): fixed up for InsetText.
9085 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9088 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9089 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9090 value of Dialogs::tooltipsEnabled().
9091 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9093 2002-03-08 Juergen Vigna <jug@sad.it>
9095 * BufferView_pimpl.C (updateInset): update inset inside inset also
9096 if it isn't inside theLockingInset().
9098 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9100 * buffer.C (asciiParagraph): redo some of the word and line length
9102 (getLists): look for Caption instead of caption.
9104 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9106 * buffer.C (Buffer): initialize niceFile to true
9109 (makeDocBookFile): make sure niceFile is true on exit
9111 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9113 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9115 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9117 * LyXSendto.C: remove.
9118 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9119 * lyx_gui.C: remove now-redundant comment.
9120 * ColorHandler.h: remove forward declaration of class WorkArea.
9121 * lyxfunc.C: remove #include "WorkArea.h".
9123 2002-03-07 Juergen Vigna <jug@sad.it>
9125 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9126 got moved away with the DEPM and also set the inset_owner always
9127 right which before could have been omitted.
9129 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9131 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9132 wanted layout is not found.
9134 2002-03-07 Juergen Vigna <jug@sad.it>
9136 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9138 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9140 * paragraph.C (breakParagraph): use default layout not layout of
9142 (Paragraph): clear ParagraphParameters.
9144 2002-03-06 Juergen Vigna <jug@sad.it>
9146 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9147 otherwise it would not be a valid lenght. Fixed a special case in
9148 the minipage compatibility read where we end the document with a
9151 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9152 was set as it could be 0 for InsetTexts first entry.
9154 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9156 * paragraph.C (writeFile): if layout is empty write out
9157 defaultLayoutName().
9159 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9160 file without named layout we set layout to defaultLayoutName().
9162 2002-03-06 Juergen Vigna <jug@sad.it>
9164 * CutAndPaste.C (copySelection): set layout for new paragraph.
9166 * text.C (prepareToPrint): leave ERT inset left aligned
9167 (leftMargin): don't indent paragraphs inside ERT insets
9169 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9171 * paragraph.C (breakParagraph): dont call clear do the work manually
9173 * paragraph.[Ch] (clear): remove function
9175 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9177 * paragraph.C (Paragraph): dont call clear, the work has already
9180 * lyxtextclass.C (operator): assert if n is empty
9182 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9183 work manually instead.
9185 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9187 * BufferView_pimpl.C: protect selectionLost against text == 0
9189 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9191 * text.C (breakParagraph): fix a setting layout to '0' problem.
9193 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9195 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9196 final location of file, for the included files, and graphics.
9198 2002-03-05 Juergen Vigna <jug@sad.it>
9200 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9202 2002-03-04 Juergen Vigna <jug@sad.it>
9204 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9206 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9207 last column of multicolumn cells.
9208 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9210 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9212 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9213 file if it doesn't go to a temporary file.
9215 * buffer.C (sgmlOpenTag):
9216 (sgmlCloseTag): remove extra newline insertion.
9218 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9220 * text.C (getRowNearY): comment out debug msg
9222 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9224 * text2.C: first -> first_y
9226 * text.C (getRowNearY): add some attemts at a possible
9227 optimization, not working.
9229 * tabular.[Ch]: add BufferParams to several function so that newly
9230 created paragraph can be initialized to he default layotu for the
9233 * tabular-old.C (ReadOld): add buf->params to call of Init
9235 * screen.C: rename text->first to text->first_y
9237 * paragraph.C (breakParagraph): always set layout in the broken
9240 * lyxtextclass.C (Read): remove lowercase
9243 (delete_layout): ditto
9245 * lyxtext.h: rename first -> first_y
9247 * lyxlayout.C (Read): remove lowercase
9250 (obsoleted_by): ditto
9252 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9254 * buffer.C (insertErtContents): add params are to InsetERT
9255 (parseSingleLyXformat2Token): add code to check if a paragraphs
9256 layout really exist.
9257 (parseSingleLyXformat2Token): add params to several inset
9259 (asciiParagraph): remove lowercase, do the layout comparisons with
9262 * BufferView_pimpl.C (cursorNext): first -> first_y
9263 (resizeCurrentBuffer): first -> first_y
9264 (updateScrollbar): first -> first_y
9265 (scrollCB): first -> first_y
9266 (workAreaMotionNotify): first -> first_y
9267 (workAreaButtonPress): first -> first_y
9268 (checkInsetHit): first -> first_y
9269 (cursorPrevious): first -> first_y
9270 (cursorNext): first -> first_y
9271 (Dispatch): add buffer_->params to severl inset contructors
9273 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9275 * lyxlayout.C (Read): remove some debug info that I forgot.
9277 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9278 clean up the code slightly.
9279 (makeLinuxDocFile): ditto
9280 (makeDocBookFile): ditto
9282 * text2.C: layout as string
9284 * text.C: layout as string
9286 * paragraph_pimpl.C: layout as string
9288 * paragraph.[Ch]: layout as string
9290 * lyxtextclasslist.[Ch]: layout as string
9292 * lyxtextclass.[Ch]: layout as string
9294 * lyxtext.h: layout as string
9296 * lyxlayout.[Ch]: layout as string
9298 * lyx_cb.C: layout as string
9300 * bufferview_funcs.C: layout as string
9302 * bufferparams.C: layout as string
9304 * buffer.C: layout as string
9306 * LyXView.[Ch]: layout as string
9308 * LaTeXFeatures.[Ch]: layout as string
9310 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9312 * BufferView_pimpl.C: change current_layout to string, remove
9317 (workAreaButtonRelease): layout as string
9319 * BufferView2.C (unlockInset): adjust
9321 * vspace.C (asLatexCommand): use an explict temp variable.
9323 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9325 * Makefile.am: use FRONTEND_*
9327 2002-03-01 Juergen Vigna <jug@sad.it>
9329 * tabular.C (SetWidthOfMulticolCell): changed to something better
9330 I hope but still work in progress.
9331 (recalculateMulticolumnsOfColumn): renamed function from
9332 recalculateMulticolCells as it is more appropriate now.
9333 (SetWidthOfCell): calculate multicols better.
9335 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9337 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9339 * lyxfunc.C (processKeySym): print sequence also if it is
9340 `deleted' (complete)
9342 * kbsequence.C (print): print sequence even if it is deleted
9343 (complete would be a better word, actually).
9345 * lyxfunc.C (dispatch): print complete options after a prefix key
9347 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9349 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9351 * text2.C (setCharFont): eliminate setCharFont code duplication.
9353 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9355 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9356 LFUN_TABULAR_FEATURE (bug #177)
9358 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9360 * Makefile.am: remove figure.h
9362 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9364 * Bufferview_pimpl.C:
9376 * text2.C: remove #include "lyx_gui_misc.h".
9378 * LaTeX.C: added #include <cstdio>
9380 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9382 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9383 that the paragraph following this one can have.
9385 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9387 * vspace.C (asLatexCommand): fix bogus gcc warning
9389 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9391 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9393 * text2.C (setLayout): get rid of redundant code
9395 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9397 * text2.C (incDepth): make sure depth cannot be increased beyond
9400 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9402 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9403 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9405 * PainterBase.h (image):
9406 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9409 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9413 * BufferView_pimpl.C:
9414 * BufferView_pimpl.h:
9434 * sp_spell.C: remove fig inset, and the crap house of
9435 cards that follows it
9437 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9443 * nt_defines.h: move .h into support/
9445 * vms_defines.h: remove
9447 * WorkArea.C: add space in debug output
9451 * buffer.C: add WITH_WARNINGS
9455 * bufferlist.C: s/retrive/retrieve/, add docs
9466 * lyxgui.C: add ID to X error handler
9468 * lyxtestclass.c: fix typo
9470 2002-02-26 Juergen Vigna <jug@sad.it>
9472 * tabular_funcs.C (write_attribute): changed so that some default
9473 attributes are not written at all.
9474 (getTokenValue): set default values before trying to read the
9475 value so we have the return value always set as default if we don't
9476 find the token we search for.
9478 * tabular.C (Write): write bools as bools not as strings!
9480 2002-02-22 Juergen Vigna <jug@sad.it>
9482 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9483 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9485 * text.C (leftMargin): don't add an indent for paragraphs inside
9486 tabular cells (fix #208).
9488 2002-02-21 José Matos <jamatos@fep.up.pt>
9490 * tabular.C (docBook): fixed support for long tables.
9492 2002-02-20 Juergen Vigna <jug@sad.it>
9494 * text2.C (getFont): get the drawing font of the Inset if this
9495 paragraph is inside an inset (only important for InsetERT for now).
9497 * buffer.C (insertErtContents): use new lanugage params in ERT
9500 * CutAndPaste.C: commenting out seemingly uneeded code.
9502 2002-02-19 Allan Rae <rae@lyx.org>
9504 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9505 Iterators might be simple to use but they also get invalidated.
9506 (removeAutoInsets): renamed saved cursor tracking variables and added
9507 some comments to clarify what everything does.
9509 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9516 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9517 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9520 * vc-backend.h: remove #include "support/syscall.h"
9524 * converter.C: rearrange #includes in Lars' approved fashion.
9526 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9527 forward declare class Timeout in the header file.
9529 * XFormsView.C: changes due to the above.
9531 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9534 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9535 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9537 2002-02-18 José Matos <jamatos@fep.up.pt>
9539 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9542 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9544 * a lot of small ws changes
9545 * add a lot of using std::XXX
9546 * use std construcs some places where approp.
9547 * use some exisint stuff from lyxfunctional where approp.
9548 * Make file changes to use partial linking (lets test this now...)
9550 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9554 remove #include "support/syscontr.h" as it's redundant. Always has been.
9562 change Systemcalls::System to Systemcalls::Wait and
9563 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9564 No change of functionality, just reflects the stripped down Systemcalls
9567 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9569 * debug.[Ch]: add a GRAPHICS type to the enum.
9571 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9573 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9575 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9578 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9580 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9581 match the changes below.
9583 * text2.C (toggleInset): if there is not editable inset at cursor
9584 position, try to see if cursor is _inside_ a collapsable inset
9587 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9589 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9590 document menu has a nice checkbox
9592 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9594 * lyxlength.C (asLatexString): change PW to output as percent of
9597 * lengthcommon.C: change '%' to 't%'
9599 * lyxfunc.C (dispatch): a few comments from Martin
9601 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9605 * BufferView_pimpl.h:
9606 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9609 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9611 * vspace.C (inPixels): fix compiler warning
9613 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9615 * lyxfunc.C (getStatus): fix status message for disabled commands.
9617 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9619 * BufferView_pimpl.C: fix crash on close buffer
9620 during selection (#227)
9622 2002-01-27 Herbert Voss <voss@lyx.org>
9624 * buffer.C: link old Figure to new graphic inset
9626 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9628 * FontLoader.C (getFontinfo): Change the latex font names in order
9629 to match the names of type1inst.
9631 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9633 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9635 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9638 (remove_files_with_extension): ditto
9639 (remove_file): ditto
9642 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9643 document is smaller than the work area height. Do not initialize
9644 static variables to 0.
9646 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9648 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9650 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9651 LFUN_LAYOUT_PARAGRAPHS.
9653 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9654 tabular. It is possible to provide a possible cell, which will
9655 typically be the actcell from the corresponding insettabular
9657 * lyxfunc.C (getStatus): small cleanup; disable
9658 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9661 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9663 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9665 * paragraph.C (startTeXParParams):
9666 (endTeXParParams): new methods. The LaTeX code to
9667 start/end paragraph formatting
9668 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9669 empty (fixes bug #200)
9671 * vspace.C (inPixels): adapt to the change below
9672 (inPixels): [later] more cleanups (remove unused variables)
9674 * lyxlength.C (inPixels): change to use a width and a height as
9677 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9679 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9680 Replaced with \paperwidth
9682 * DepTable.C (insert): add std:: qualifier
9684 2002-01-18 Allan Rae <rae@lyx.org>
9686 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9689 * text.C (drawInset): Turned out I didn't know enough about how
9690 rebreaking worked. This fixes most of the redraw problems. I see
9691 an occasional cursor trail when a line is broken now and the cursor
9692 placement can seem out by a few pixels also after a rebreak.
9694 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9696 * buffer.C (parseSingleLyXformat2Token): update because minipage
9697 width is now a LyXLength
9699 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9701 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9704 2002-01-17 Juergen Vigna <jug@sad.it>
9706 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9708 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9709 is set correctly and the inset is updated correctly.
9711 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9713 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9714 the beginning of the loop.
9716 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9718 * lyxrc.C: improve help for use_scalable_fonts
9720 2002-01-17 Allan Rae <rae@lyx.org>
9722 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9724 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9726 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9727 make sure to set their inset_owner to the right value (bug #171)
9729 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9732 * DepTable.C: Implement mtime checking to reduce time spent doing
9735 2002-01-16 Juergen Vigna <jug@sad.it>
9737 * tabular.C (GetAdditionalHeight): one of error fixed.
9739 * lyxrc.C (output): small fix in writing use_pspell.
9741 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9743 * sp_base.h: #include LString.h
9745 2002-01-16 Allan Rae <rae@lyx.org>
9747 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9748 Can someone check this please?
9750 * text.C (drawInset): It was possible that p.row would be removed by
9751 breakAgainOneRow upsetting a few other settings. There may be another
9752 small tweak possible by setting need_break_row = 0 when p.row has been
9753 removed but I don't know enough about the logic here.
9755 2002-01-15 Allan Rae <rae@lyx.org>
9757 * text.C (insertChar): removed conditional truism.
9759 * BufferView2.C (removeAutoInsets): More tweaks.
9760 cur_par_prev could be a stray pointer. Check for trailing empty line
9761 in case last line was cur_par and only had an error inset on it.
9763 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9765 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9768 * vc-backend.C (most methods):
9769 * exporter.C (Export):
9770 * converter.C (convert):
9772 * LyXSendto.C (SendtoApplyCB):
9773 * lyxfunc.C (dispatch):
9777 * lyx_cb.C (AutoSave):
9779 * BufferView_pimpl.C (MenuInsertLyXFile):
9780 * buffer.C (runChktex): use Buffer::filePath().
9782 * buffer.h: rename filename to filename_; rename filepath to
9783 filepath_ and make it private
9784 (filePath): new method
9786 * buffer.C (writeFile): use fileName()
9789 * lyx_main.C (init): fix starting of LyX when the binary is a
9790 link from so,ewhere else.
9792 * minibuffer.C: include <cctype> for isprint
9794 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9796 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9797 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9798 name clash with InsetCollapsable's width function.
9800 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9802 * lastfiles.C: include <iterator>
9804 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9806 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9809 * buffer.C (makeLaTeXFile): ditto.
9810 Also make loop operation more transparent.
9812 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9814 * ToolbarDefaults.C: remove trailing comma closing namespace.
9816 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9818 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9821 * trans.C (Load): comment out unused variable, allowed.
9823 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9825 * minibuffer.[Ch] (append_char): new method to recieve input from the
9826 drop-down completion browser. If a key was pressed, then recieve this
9827 char and append it to the existing string.
9828 (peek_event): modify the positioning data passed to the completion
9829 browser so that it can be placed above the minibuffer rather than below.
9830 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9832 * LyXAction.C (init): alloe error-next for readonly documents.
9834 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9837 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9839 * bufferlist.C (readFile): create the buffer _after_ checking that
9842 * lyxfunc.C (verboseDispatch): fix handling of arguments
9844 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9846 * lyxrc.C: use string::erase() instead of initializing to "".
9849 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9851 * BufferView_pimpl.h:
9852 * BufferView_pimpl.C:
9855 * text2.C: tell X when we have made a selection for copying
9857 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9859 * BufferView_pimpl.C (MenuInsertLyXFile):
9860 * lyxfunc.C (menuNew):
9862 (doImport): add shortcuts to directory buttons
9864 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9867 * lyxfunc.C (setStatusMessage):
9868 (getStatusMessage): new methods
9869 (getStatus):use setStatusMessage instead of setErrorMessage
9870 (dispatch): when function is disabled, set error message here
9871 [instead of in getStatus previously]
9873 * BufferView_pimpl.C (workAreaButtonRelease): update
9874 toolbar/menubar here too.
9876 2002-01-13 Allan Rae <rae@lyx.org>
9878 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9879 Now seems indestructible. Remaining task is to audit all other
9880 code affected by deleteEmptyParagraphMechanism. One small quirk
9881 left is that an empty document with an error in the preamble can
9882 be made to report an error but no error box appears. I don't know
9884 (removeAutoInsets): Improved comments.
9886 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9889 * Thesaurus.C: update for Aiksaurus 0.14
9891 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9893 * text2.C (firstParagraph): removed member function, all uses
9894 replaces with ownerParagraph
9895 (redoParagraphs): here
9897 (toggleAppendix): here
9898 * BufferView2.C (insertErrors): here
9899 (setCursorFromRow): here
9901 2002-01-13 Allan Rae <rae@lyx.org>
9903 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9904 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9905 There is still a way to segfault this although you may have to do this
9906 multiple times: Have an InsetERT with an unknown command in it.
9907 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9908 <down-arrow>, <Enter> again, View->DVI, BANG!
9910 * text2.C (setCursor):
9911 (deleteEmptyParagraphMechanism):
9912 * lyxtext.h (setCursor):
9913 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9914 Making use of the return value may help fix other bugs.
9916 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9918 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9920 * LyXView.C (updateMenubar): call MenuBar::update here
9921 (updateToolbar): but not here
9922 (showState): do not update toolbar/menubar
9924 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9925 should need to care about that.
9927 * lyxfunc.C (verboseDispatch): simplify a bit
9928 (getStatus): have a version which takes a pseudoaction, and
9929 another which requires a (kb_action,string).
9931 * LyXAction.C (retrieveActionArg): make it work also when action
9932 is not a pseudo-action.
9933 (getActionName): simplify a bit
9936 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9938 * lyxfunc.C (verboseDispatch): new families of methods with
9939 several ways to specify a command and a bool to indicate whether
9940 the command name and shortcut should be displayed in minibuffer
9941 (eventually, we could extend that to a finer bitmask like
9942 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9943 (dispatch): the pristine dispatch command which just, well,
9944 dispatchs! Note it still sets its result to minibuffer; I'm not
9947 * lyxfunc.h: remove setHintMessage
9949 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9951 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9953 * BufferView_pimpl.C (specialChar): delete new inset if we have
9954 not been able to insert it.
9956 * kbmap.C: revert to using int instead of kb_action, since all we
9957 are dealing with is pseudo-actions.
9959 * LyXAction.C (searchActionArg): change to return int instead of
9960 kb_action, since the result is a pseudoaction.
9962 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9964 * buffer.C (insertErtContents): Fix (partially) the font bug.
9966 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9968 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9969 as the other one is broken on my machine!
9971 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9974 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9976 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9978 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9979 reflect their actual use. Provide compatibility code for older lyxrc
9982 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9984 change names of popup font variables in line with the changes to lyxrc.C
9986 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9988 * buffer.C (asciiParagraph): avoid outputing a word twice after
9991 * lyxrc.C (getDescription): document that document_path and
9992 template_path can be empty.
9994 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9996 * LaTeXFeatures.C (getMacros):
9997 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9999 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10001 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10003 (getPackages): rename feature "floats" to "float". Use an array to
10004 iterate over 'simple' features (i.e. just a \usepackage). Add
10005 handling of "amsmath" (renamed from "amsstyle").
10007 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10009 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10012 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10014 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10015 FuncStaus::FuncStatus & FuncStaus::some_method().
10017 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10019 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10020 of the func_satus stuff. Edited and massaged in various ways by
10023 * lyxfunc.C (getStatus): use FuncStatus
10025 2002-01-08 Juergen Vigna <jug@sad.it>
10027 * text.C (nextBreakPoint): use function Inset::isChar().
10029 * paragraph.C (TeXOnePar): use function
10030 Inset::forceDefaultParagraphs.
10032 * buffer.C (latexParagraphs): use function
10033 Inset::forceDefaultParagraphs.
10035 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10037 * lyx_gui.C (init): set the style of the menu popups to
10038 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10040 2002-01-07 Juergen Vigna <jug@sad.it>
10042 * text.C (setHeightOfRow): small fix
10043 (prepareToPrint): don't look at alignment if we don't have the place
10046 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10048 * box.C: New file. Move the Box methods and functions out of box.h,
10049 following Lars' suggestion.
10051 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10053 * box.h: #include "support/LOstream.h", needed for inlined function.
10056 * lyxtextclasslist.C: added some using std declarations.
10058 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10060 * box.h: make signed dimensions to allow insets wider than
10061 the screen (bug #162)
10063 * BufferView_pimpl.C: add some insetHit debug
10065 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10067 * vc-backend.C: add FIXME
10069 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10071 * lyxfunc.C (getStatus): enable code for showing math font status
10074 2002-01-07 Juergen Vigna <jug@sad.it>
10076 * text.C (nextBreakPoint): removed debug output not needed anymore.
10078 2002-01-06 Juergen Vigna <jug@sad.it>
10080 * text.C (nextBreakPoint): fixed up this function we had this bug
10081 since ever but now hopefully we break row better.
10082 (insertChar): we have to check if an inset is the next char as it
10083 could now happen that a large inset is causing a break.
10085 2002-01-05 Juergen Vigna <jug@sad.it>
10087 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10088 if it doesn't like to be drawed.
10090 2002-01-04 Juergen Vigna <jug@sad.it>
10092 * BufferView2.C (lockInset): forgot to set a cursor.
10094 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10096 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10098 * FormMathsPanel.C:
10101 * form_maths_panel.C:
10102 * form_maths_panel.h:
10103 * form_maths_panel.fd: implemented sub- and super- buttons in math
10106 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10107 (or ^ space) to be used as in TeX (req'd by André).
10109 * lyxfunc.C: Allow ^ and _ again to be used both as
10110 super/subscript (mathed) and as themselves (in text).
10112 2002-01-03 Allan Rae <rae@lyx.org>
10114 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10115 "LyX" or the filename of the current buffer if it has one. This is a
10116 modified form of John Levon's patch.
10118 * XFormsView.C (setWindowTitle): also set icon title.
10120 * LyXView.h (setWindowTitle): signature changed.
10121 * XFormsView.h (setWindowTitle): ditto.
10123 2002-01-02 Juergen Vigna <jug@sad.it>
10125 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10127 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10129 * screen.C (topCursorVisible): introduce a temp var for
10130 text->cursor.row(), handle the case where this row is null. (kindo
10133 * text2.C (setCursor): add a couple of asserts.
10135 * paragraph.h (inset_iterator): add -> operator
10137 * paragraph.[Ch] (autoDeleteInsets): remove member function
10139 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10140 cursor pos correctly and handle inset deletion by itself.
10141 (insertErrors): move iterator declaration out of for expression
10143 * lyxtextclass.C: add <algorithm>
10145 * Makefile.am: added the new files to sources, removed layout.C
10147 * layout.C: removed file
10149 * layout.h: remove LYX_DUMMY_LAYOUT
10151 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10155 * lyxtextclass.[Ch]:
10156 * lyxtextclasslist.[Ch]: new files
10158 * include order changes to a lot of files, also changes because of
10161 2001-12-27 Juergen Vigna <jug@sad.it>
10163 * buffer.C (asciiParagraph): more fixes.
10165 * tabular.C (ascii): make ascii export support export of only the
10166 data separated by a column-delimiter.
10167 (ascii): better support for ascii export.
10169 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10171 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10173 * tabular_funcs.C: use a "using std::getline" instead of the
10174 previous fix from Angus (necessary for cxx + lyxstring)
10176 2001-12-24 Juergen Vigna <jug@sad.it>
10178 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10180 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10181 problems. First check a minipage also if we have some ert-contents
10182 (not only on par->size(), second set the right depth of the paragraph
10183 on the relink to the root-paragraph-list!
10185 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10186 which then did not anymore update the main paragraphs on undo/redo!
10188 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10190 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10191 code. Support all font-changing funcs (even those which are not in
10192 menu currently). Support for reporting font settings in
10193 mathed (disabled until Andre provides a function on mathed's side).
10195 * func_status.h (toggle): small helper function to set toggle
10198 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10200 * tabular_funcs.C: getline -> std::getline
10202 2001-12-21 Juergen Vigna <jug@sad.it>
10204 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10205 accessed and could be 0 (I couldn't generate this but it seems
10208 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10210 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10211 * tabular_funcs.h: here and include iosfwd
10213 2001-12-20 Juergen Vigna <jug@sad.it>
10215 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10216 inside inset but undo_par was.
10218 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10220 * Thesaurus.C: always include <config.h> in sources.
10224 * box.h: do not include <config.h> in header files
10226 * text.C (paintLastRow): remove unused variable
10228 * text.C (transformChar):
10230 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10232 * Painter.C (text):
10233 * font.C (width): rewrite to use uppercase() instead of
10236 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10238 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10240 * lyxfind.C: clean up of find failure position change
10242 2001-12-20 Juergen Vigna <jug@sad.it>
10244 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10246 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10247 (TeXRow): added to LaTeX a single tabular row.
10248 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10249 (Latex): simplified and finally good LT-h/f support.
10250 (various_functions): just small adaptions for LT-h/f support.
10252 * tabular_funcs.[hC]: added and moved here all not classfunctions
10255 2001-12-19 Juergen Vigna <jug@sad.it>
10257 * tabular.[Ch]: better support for longtabular options (not finished
10260 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10262 * text.C (paintLastRow): use the label font instead of the font of
10263 the last character to compute the size of *_BOX. This makes more
10264 sense and avoids a crash with empty paragraphs.
10265 Use Painter::rectangle to draw EMPTY_BOX.
10267 2001-12-19 Juergen Vigna <jug@sad.it>
10269 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10270 the paragraphs if the replaced paragraph is not the first one!
10271 Tried to delete not used paragraphs but does not work yet so for
10272 now it's inside #ifdef's and by default off!
10274 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10276 * MenuBackend.C: include "lyx_main.h" instead of declaring
10277 lastfiles (actually was declared as LastFiles* instead of a
10280 2001-12-17 Juergen Vigna <jug@sad.it>
10282 * tabular.C (AppendColumn): applied John's fix
10284 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10288 * BufferView_pimpl.h:
10289 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10292 * box.h: new start of class for above
10294 * lyxfunc.C: ignore space-only minibuffer dispatches.
10295 Show the command name when it doesn't exist
10297 * minibuffer.C: don't add empty lines to the history
10299 * minibuffer.C: add a space on dropdown completion
10301 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10303 * text.C: fix line above/below drawing in insets
10305 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10307 * lyxlength.C (LyXLength): Initialize private variables.
10309 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10311 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10312 when inserting error insets.
10314 2001-12-13 Juergen Vigna <jug@sad.it>
10316 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10317 actually sometimes the before-paragraph.
10318 (setUndo): don't clear the redostack if we're not actually undoing!
10320 2001-12-06 Juergen Vigna <jug@sad.it>
10322 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10323 and fixed redoing of main paragraph, so we can use it now ;)
10325 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10327 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10329 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10332 2001-12-13 André Pönitz <poenitz@gmx.net>
10335 * undo_func.C: minor cleanup
10337 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10339 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10340 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10341 font in urw-fonts package which is marked as -urw-fontspecific and
10342 does not work (incidentally, changing the encoding in the
10343 fonts.dir of this package to -adobe-fontspecific fixes the
10346 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10347 is a crash when undoing first paragraph (Juergen, please take a
10348 look). THis does not mean the undo fix is wrong, just that it
10351 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10352 the (Paragraph*) version when needed instead of duplicating the
10355 * text.C (workWidth): use Inset::parOwner to find out where the
10356 inset has been inserted. This is a huge performance gain for large
10357 documents with lots of insets. If Inset::parOwner is not set, fall
10358 back on the brute force method
10360 * paragraph_pimpl.C (insertInset):
10361 * paragraph.C (Paragraph):
10362 (cutIntoMinibuffer): set parOwner of insets when
10363 inserting/removing them
10365 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10367 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10373 * mathed/formulabase.C:
10374 * mathed/math_cursor.[Ch]:
10375 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10378 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10380 * lyxlength.[Ch] (operator!=): new function
10382 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10384 * text.C (workWidth): use Inset::parOwner to find out where the
10385 inset has been inserted. This is a huge performance gain for large
10386 documents with lots of insets. If Inset::parOwner is not set, fall
10387 back on the brute force method
10389 * paragraph_pimpl.C (insertInset):
10390 * paragraph.C (Paragraph):
10391 (cutIntoMinibuffer): set parOwner of insets when
10392 inserting/removing them
10394 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10396 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10398 * tabular-old.C (getTokenValue):
10399 * tabular.C (getTokenValue):
10400 (write_attribute): new versions for LyXLength
10401 (everywhere): adjust the use of widths
10403 * tabular.h: change the type of widths from string to LyXLength
10405 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10407 * paragraph.C: fixed missing line number count when exporting
10408 Environments to LaTeX file
10410 * buffer.C: added informational message for checking line numbers.
10412 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10414 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10415 paragraph, do the 'double space' part, but not the 'empty
10418 * text.C (workWidth): small optimization
10419 (getLengthMarkerHeight): use minimal size for negative lengths.
10421 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10423 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10425 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10427 2001-12-11 André Pönitz <poenitz@gmx.net>
10430 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10432 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10434 * text2.C: keep selection on a setFont()
10436 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10438 * lyx_cb.C: another bv->text misuse, from insert label
10440 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10443 * kbsequence.C: re-instate nmodifier mask
10445 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10447 * lyx_main.h: make lyxGUI private.
10449 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10451 * lyxfind.C: place the cursor correctly on failed search
10453 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10455 * text.C (getLengthMarkerHeight): for small heights, the arrows
10456 are not always on top/bottom of the text
10457 (drawLengthMarker): smaller arrows; take the left margin in
10458 account; draw also vfills.
10460 (paintLastRow): remove special code for vfill and standard spaces,
10461 since everything is handled in drawLengthMarker now.
10463 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10465 * buffer.C (insertErtContents): try to handle font and language
10466 interaction a bit better.g
10468 * ColorHandler.C (updateColor): change the hash to cover the whole
10469 LColor enum, ws cleanup
10470 (getGCLinepars): ditto
10471 (getGCLinepars): only lookup in the linecache once.
10473 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10475 * iterators.C (operator++): Make the iterator more robust
10477 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10479 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10481 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10484 * text.C: better added space drawing
10486 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10489 * BufferView2.C: fix layout combo update on inset unlock
10491 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10493 * Makefile.am: don't compile unused files
10495 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10499 * LyXAction.C: remove old LFUN_LAYOUTNO
10501 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10503 * paragraph_pimpl.h:
10504 * paragraph_pimpl.C: isTextAt() doesn't need font param
10506 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10509 * lyxlex.C: little cleanup
10511 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10513 * BufferView_pimpl.C: fix insertAscii for insets
10515 2001-12-05 Juergen Vigna <jug@sad.it>
10517 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10518 set the right font on the "multi" paragraph paste!
10520 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10526 * lyxlength.C: remove out-commented code.
10528 * BufferView_pimpl:
10542 * vc-backend.C: change "while(" to "while ("
10544 * lyxlength.[Ch]: add zero function to check if length is zero or
10546 * lyxgluelength.C: use it
10548 2001-12-05 Allan Rae <rae@lyx.org>
10550 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10551 Works for 2.95.3, from what I understand of Garst's reports this should
10552 work for other g++ versions. We're screwed if the abs(int) definition
10553 changed between bugfix releases of gcc.
10555 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10557 * text.C: fix chapter label offset !
10559 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10562 * text.C: fix hfill at end of line, clean up
10564 2001-12-04 Juergen Vigna <jug@sad.it>
10566 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10567 that we force an update of the inset and it's owners if neccessary.
10569 2001-12-03 Juergen Vigna <jug@sad.it>
10571 * text.C (rowLast): simplified code
10573 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10575 * lyxfunc.C: fix show options on timeout
10577 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10579 * screen.C (topCursorVisible): scroll half a page when the cursor
10580 reached top of bottom of screen
10582 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10584 * minibuffer.C: deactivate on loss of focus
10586 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10588 * vspace.[Ch] (operator!=): add operator.
10590 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10592 * BufferView_pimpl.C: refuse to open an inset when
10593 there's a selection.
10595 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10597 * BufferView_pimpl.C: allow to click on RHS of full row insets
10599 2001-11-30 Juergen Vigna <jug@sad.it>
10601 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10602 insets for undo reasons.
10604 2001-11-28 André Pönitz <poenitz@gmx.net>
10606 * vspace.[Ch]: cosmetical changes
10608 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10618 * kbsequence.C: part re-write of old kb code
10621 * WorkArea.C: remove Lgb_bug_find_hack
10623 2001-11-30 José Matos <jamatos@fep.up.pt>
10625 * buffer.C (makeDocBookFile): add a comment to point a hack.
10626 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10627 Fixed a double write of labels.
10629 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10632 * LaTeX.h Fixed bug in LaTeX class where it would not
10633 re-run latex if no depfiles were changed, but the .dvi was removed.
10635 2001-11-28 André Pönitz <poenitz@gmx.net>
10637 * all the files from the change on 2001/11/26:
10638 use lyx::layout_type instead of LyXTextClass::size_type
10639 use lyx::textclass_type instead of LyXTextClassList::size_type
10641 2001-11-29 Juergen Vigna <jug@sad.it>
10643 * text.C: added support for paragraph::isFreeSpacing()
10645 * buffer.C: same as above
10647 * paragraph.h: inserted isFreeSpacing() function to enable
10648 FreeSpacing inside InsetERT.
10650 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10651 of the paragraph's in the cut/copy buffer to 0!
10653 * text2.C (removeRow): remove the assert as it can!
10655 * lyxtext.h: added helper function firstRow returning firstrow and
10656 made firstrow private again.
10658 * BufferView2.C (lockInset): don't relock if we're already locked!
10660 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10661 the only paragraph.
10662 (removeRow): added Assert::(firstrow)
10664 * debug.C: forgot to add INSETTEXT here.
10666 2001-11-28 Juergen Vigna <jug@sad.it>
10668 * sp_spell.C (initialize): changed error text to more general
10669 spellchecker command use (not only ispell!)
10671 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10673 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10675 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10677 * vspace.C: initialise lyxgluelength on failure
10679 2001-11-28 Allan Rae <rae@lyx.org>
10681 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10682 declaration & definition that looks like a function declaration.
10684 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10686 * BufferView2.C (copy):
10687 (copyEnvironment): do not clear the selection when doing a copy.
10689 * text.C (paintFirstRow): compilation fix
10691 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10693 * tabular.C (Latex): correct line count when writing latex.
10695 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10697 * paragraph_pimpl.h:
10698 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10701 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10705 * LColor.C: change vfillline->added_space
10707 * text.C: add markers and text for added space
10709 * vspace.C: fix comment
10711 2001-11-28 André Pönitz <poenitz@gmx.net>
10713 * paragraph.C: whitespace changes
10714 * all the other files from the change on 2001/11/26:
10715 change *::pos_type into lyx::pos_type
10717 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10719 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10720 language of the document when inserting error insets.
10722 2001-11-26 André Pönitz <poenitz@gmx.net>
10724 * BufferView_pimpl.[Ch]:
10732 * paragraph_pimpl.[Ch]:
10735 * text2.C: reduce header dependencies, introduce type for positions
10737 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10739 * <various>: change to use Alert.h
10741 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10743 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10744 when encountering an unknown token.
10745 (readLyXformat2): Show an error message if there were unknown tokens.
10747 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10750 * BufferView_pimpl.C:
10754 * text2.C: use par->isInset()
10756 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10758 * paragraph_pimpl.h:
10759 * paragraph_pimpl.C: cleanup
10761 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10763 * text2.C (removeRow):
10764 * text.C (setHeightOfRow): remove useless (and costly) call to
10767 2001-11-20 Allan Rae <rae@lyx.org>
10769 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10770 Now need Inset*::checkInsertChar() to return true for appropriate
10771 cases so that the characters in the minibuffer will actually be
10774 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10776 * text.C: change the order of the includes.
10777 (workWidth): initialize it at once.
10778 (workWidth): make maxw unsigned
10779 (setHeightOfRow): remove unused variable (inset)
10780 (selectSelectedWord): remove unused variable (inset)
10781 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10783 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10785 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10786 server is not running.
10788 (closeConnection): add debug info when server is disabled.
10790 * ColorHandler.C (getGCForeground): send debug message to GUI
10793 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10795 * kbmap.C (bind): modify because return conventions of
10796 kb_sequence::parse have changed.
10798 * kbsequence.C (parse): only ignore spaces and not any stupid
10799 control character. This avoids tests like s[i] <= ' ', which are
10800 guaranteed to fail with 8bit characters and signed chars.
10801 Change return code to string::npos when there have been no error
10802 (0 was a bad idea when error is at first character)
10804 2001-11-14 José Matos <jamatos@fep.up.pt>
10807 * buffer.C (simpleDocBookOnePar): removed unused argument.
10809 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10811 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10812 insets which are part of a word. Paragraph::isLetter takes care of
10813 that now. Use Paragraph::isInset to identify insets.
10814 (selectSelectedWord): do not test for hyphenation break.
10816 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10817 that protected spaces are considered as spaces.
10819 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10822 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10825 * lyxserver.C: fix it. and small cleanup.
10827 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10829 * BufferView_pimpl.C: use inline helpers
10832 * LaTeXFeatures.C: fix typos
10835 * Spacing.C: move spacing_string into class
10837 * ToolbarDefaults.C: move stuff into namespace anon
10839 * layout.h: update enum
10841 * lyxfunc.C: use better debug
10843 * minibuffer.h: fix typo
10847 * WorkArea.C: add and use Debug::WORKAREA
10851 * text2.C: code re-organisation, inline helpers
10853 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10855 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10856 std::vector.empty().
10858 2001-11-09 Allan Rae <rae@lyx.org>
10860 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10861 '\n's after tables. Tabular and ERT inset work now makes this no
10864 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10867 * minibuffer.C: fix crash, improve drop-down completion
10869 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10872 * lyxserver.C: invalidate fd's when doing endPipe()
10874 2001-11-08 José Matos <jamatos@fep.up.pt>
10876 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10877 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10880 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10882 2001-11-07 José Matos <jamatos@fep.up.pt>
10885 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10888 * buffer.C (sgmlOpenTag):
10889 * buffer.C (sgmlCloseTag): removed debug info.
10891 * buffer.h (sgmlOpenTag):
10892 * buffer.h (sgmlCloseTag): made public.
10894 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10896 * buffer.C (saveParamsAsDefaults):
10897 * lyx_cb.C (MenuLayoutSave): remove
10899 * LyXAction.C (init):
10901 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10903 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10905 * buffer.C (setPaperStuff): removed from here...
10907 * bufferparams.C (setPaperStuff): ... and moved there.
10909 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10913 * XFormsView.C: add support for drop-down completion
10915 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10917 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10920 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10922 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10925 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10927 * lyx_main.C: change ref to known bugs
10929 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10931 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10932 to work around older babel problems.
10934 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10936 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10938 2001-10-24 Juergen Vigna <jug@sad.it>
10940 * tabular-old.C (ReadOld): below variable changes reflected.
10942 * tabular.[Ch]: added ltType struct for longtable header/footer
10943 defines and changed all instances where they are used. Added
10944 future support for double top/bottom rows.
10946 2001-10-24 José Matos <jamatos@fep.up.pt>
10948 * buffer.h (docbookHandleCaption):
10949 * buffer.C (docbookHandleCaption): removed unused function.
10950 (makeDocBookFile): moved docbook supported version to v4.1.
10952 2001-10-24 José Matos <jamatos@fep.up.pt>
10955 * tabular.C (docbookRow): new function to export docbook code of a row.
10956 (DocBook): now honors the longtable flags.
10958 2001-10-23 José Matos <jamatos@fep.up.pt>
10961 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10962 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10964 * buffer.C (makeLinuxDocFile):
10965 (makeDocBookFile): reworked the preamble, more clean, and with
10966 support for lyx defined entities. Changed the document declaration
10967 to be more XML friendly.
10969 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10970 if we need to output XML that should be done with a filter.
10972 2001-10-22 Juergen Vigna <jug@sad.it>
10974 * sp_pspell.h (class PSpell): add alive function needed in the
10975 controller to see if the spellchecker could be started.
10977 2001-10-22 Juergen Vigna <jug@sad.it>
10979 * buffer.C (insertStringAsLines): modify the font for inserting
10980 chars in certain conditions by calling checkInsertChar(font).
10982 2001-10-19 Juergen Vigna <jug@sad.it>
10984 * text.C (workWidth): use getRow instead of wrong algorithm.
10985 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10987 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
10992 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10994 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10996 * text.C (workWidth): do not search for the exact row when
10997 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10998 optimization for big documents.
11000 2001-10-18 Juergen Vigna <jug@sad.it>
11002 * text.C (workWidth): new function with added Inset * parameter.
11004 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11006 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11008 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11009 change return type of getColumnNearX.
11012 * text.C (changeRegionCase): use uppercase/lowercase instead of
11015 (rightMargin): simplify code by factoring out the uses of
11020 (appendParagraph): use Paragraph::size_type
11022 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11024 * vspace.C (asLatexString): add a missing break
11026 2001-10-15 Herbert Voss <voss@perce.de>
11028 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11030 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11032 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11035 2001-10-10 André Pönitz <poenitz@gmx.net>
11037 * lyxfunc.C: removed greek_kb_flag.
11039 2001-10-10 Herbert Voss <voss@perce.de>
11041 * lyx_main.C: delete global string help_lyxdir.
11043 2001-10-09 Herbert Voss <voss@perce.de>
11045 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11047 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11049 * lyx_main.C: added global string help_lyxdir.
11051 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11053 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11055 * lyxrc.C (set_font_norm_type): support iso8859-4
11057 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11059 * LaTeX.C (deplog): add another regex for MikTeX
11061 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11063 * lyxrc.C (set_font_norm_type): support iso8859-3
11065 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11067 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11069 * LaTeXFeatures.C: remove special case of french and index
11071 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11072 before \begin{document}). This solves several incompatibilities.
11074 2001-10-03 Garst Reese <reese@isn.net>
11076 * lyx_cb.C: change CheckTex error msg.
11078 2001-10-03 José Matos <jamatos@fep.up.pt>
11080 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11082 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11084 * .cvsignore: update
11086 * lyx_main.C (commandLineVersionInfo): use new style version info.
11088 * buffer.C (writeFile):
11090 (makeLinuxDocFile):
11091 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11093 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11095 * version.h: update to use stuff in version.C
11097 * version.C.in: new file. Contains version information determined
11098 at compile time. This is a merging of version.h and
11101 2001-10-03 Juergen Vigna <jug@sad.it>
11103 * BufferView_pimpl.C (update): don't change "dirty" status in
11106 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11108 * WorkArea.C (c-tor): re-position version string slightly.
11110 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11112 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11113 revert to previous code.
11115 WorkArea.[Ch]: (show, destroySplash): methods removed.
11117 WorkArea.C: rework code so that it's an amalgam of the codes before and
11118 after the splash screen was moved to WorkArea.
11120 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11123 * vspace.C (inPixels):
11126 * buffer.C (insertStringAsLines):
11127 (asciiParagraph): fix types to be large enough
11129 * lyxlex_pimpl.h: change member status from short to int
11131 * layout.h: fix type of endlabeltype
11134 * kbsequence.C (parse): change return type to string::size_type
11136 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11139 * Bullet.C (bulletSize):
11140 (bulletEntry): do not use short ints as parameters
11142 * BufferView2.C (insertLyXFile): change a char to an int.
11144 * WorkArea.C (WorkArea): remove unneeded floats in computation
11146 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11148 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11150 * paragraph.C (asString): Do not ignore newline/hfill chars when
11151 copying to the clipboard.
11153 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11155 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11156 after a multi-line inset.
11158 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11160 * paragraph.C (validate): Set NeedLyXFootnoteCode
11162 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11164 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11165 and decrease-error to decrease.
11167 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11169 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11170 it more readable (should be equivalent)
11172 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11174 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11176 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11178 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11179 of a cursor (row, etc.) after a character has been deleted
11180 (deleteEmptyParagraphMechanism): call the method above on _all_
11181 cursors held by the LyXText when a double space has been
11184 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11186 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11188 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11190 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11191 background. Use greyOut() and the new show() methods to toggle between
11192 the foreground and background. Add code to remove the splash after
11193 its initial showing.
11195 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11196 (create_forms): no longer call Dialogs::showSplash.
11198 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11200 * .cvsignore: add version_info.h
11202 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11204 * version_info.h.in: new file
11206 * Makefile.am: add version_info.h.in
11208 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11209 version_info.h instead of VERSION_INFO
11211 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11213 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11214 The ERT inset now returns string().
11216 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11218 * lyxtext.h, text.C (selectNextWord): renamed as
11219 selectNextWordToSpellcheck.
11221 * text.C (selectNextWordToSpellcheck): Modified to not select
11222 words inside an ERT inset.
11224 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11226 * lyx_cb.C (MenuLayoutSave): change a bit the question
11228 * sp_base.h: include <sys/types.h>
11230 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11232 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11234 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11236 * several files: fix typos in user-visible strings
11238 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11240 * text2.C (pasteSelection): do not set the selection, since it
11241 will be cleared later. Actually, the intent was to fix the way the
11242 selection was set, but I figured rmoving the code was just as good.
11244 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11246 * FontLoader.C (available): Check if font is available without
11249 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11251 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11253 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11255 * lyxrc.[Ch]: added display_graphics variable and associated code.
11257 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11259 * bufferparams.C (hasClassDefaults): new method. Returns true if
11260 the buffer parameters correspond to known class defaults
11262 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11264 * XFormsView.C (show): set minimum size to the main window.
11266 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11268 * text2.C (copySelection):
11270 * lyxfind.C (LyXReplace):
11271 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11272 LyXText::selectionAsString.
11274 * paragraph.C (asString): add "label" argument to the second form
11276 * text2.C (selectionAsString): add "label" argument and pass it to
11277 Paragraph::asString.
11279 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11281 * lyx_main.C (commandLineHelp): remove version information
11283 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11285 * lyx_main.C: add -version commandline option
11287 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11289 * paragraph.h: make the optional constructor arg required instead.
11290 some modifications to other files because of this.
11292 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11294 * lyxserver.C (C_LyXComm_callback): make it static
11296 * lyx_main.C (error_handler): make it static
11298 * lyx_gui.C (LyX_XErrHandler): make it static
11300 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11302 * WorkArea.C: make the extern "C" methods static.
11304 * Makefile.am (lyx_LDADD): simplify
11306 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11308 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11309 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11311 * LyXAction.C (init):
11312 * lyxfunc.C (dispatch): associated code removal.
11314 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11316 * lyxfont.h (isSymbolFont): shut off warning
11318 * text.C (setHeightOfRow):
11319 (getVisibleRow): fix crash with empty paragraphs which have a
11322 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11324 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11327 2001-09-04 José Matos <jamatos@fep.up.pt>
11330 * tabular.C (docbook): rename docBook method to docbook.
11332 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11334 * Makefile.am: add dependencies to main.o.
11336 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11338 * FontLoader.C (available): Return false if !lyxrc.use_gui
11340 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11342 * FontInfo.C (query):
11343 * converter.C (view):
11344 * importer.C (Import):
11345 * exporter.C (Export): Can not -> cannot.
11347 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11349 * BufferView_pimpl.C: allow to create index inset even if
11352 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11354 * buffer.C (getLists): replace boost::tie code with an explicit pair
11355 as boost::tie can break some compilers.
11357 * iterators.h: Added a std:: declaration to the return type of
11360 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11362 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11365 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11367 * iterators.[Ch]: New files. Provide paragraph iterators.
11369 * buffer.C (changeLanguage): Use paragraph iterators.
11370 (isMultiLingual): ditto
11372 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11374 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11376 * FontLoader.C: Support for cmr font.
11378 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11380 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11381 (available): New method.
11383 * FontInfo.C (getFontname): Use scalable fonts even when
11384 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11387 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11389 * converter.C (Formats::view): reverted! Incorrect fix.
11391 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11393 * converter.C (Formats::view): only output the -paper option
11394 if the dvi viewer is xdvi, thereby fixing bug #233429.
11396 2001-08-23 Herbert Voss <voss@perce>
11398 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11400 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11402 * Spacing.h (Spacing): Set space to Default on in the default
11405 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11407 * vc-backend.h (RCS::versionString): add RCS to version
11408 (CVS::versionString): add CVS to version
11410 * vc-backend.C (scanMaster): do not add CVS to version.
11411 (scanMaster): do not add RCS to version
11413 * lyxvc.C (versionString): new method
11415 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11417 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11419 * Spacing.C (set): initialize fval
11421 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11423 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11426 2001-08-16 Juergen Vigna <jug@sad.it>
11428 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11430 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11432 * BufferView_pimpl.C:
11435 * text2.C: setParagraph takes linespacing now
11437 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11439 * LyxAction.C: add internal LFUN_CITATION_INSERT
11441 * LyXView.C: actually apply fix
11443 * bufferlist.C: fix open non-existent file
11445 * lyxfind.C: fix indentation
11447 * lyxfunc.C: remove unneeded assert, fix typo
11449 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11451 * MenuBackend.C: use "Floatname List"
11453 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11455 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11456 when converting LaTeX layout to insetERT.
11457 Generate a non-collapsed float when reading old float
11459 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11461 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11464 2001-08-13 Juergen Vigna <jug@sad.it>
11466 * text.C (fill): return 0 instead of 20 as this seems to be the more
11469 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11471 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11474 2001-08-13 Juergen Vigna <jug@sad.it>
11476 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11478 (SearchBackward): comment out the unlocking of the inset_owner this
11479 should not be needed!
11481 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11483 * Many files: Remove inherit_language, and add latex_language
11485 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11486 collapsible insets.
11488 2001-08-10 Juergen Vigna <jug@sad.it>
11490 * text.C (prepareToPrint): fixed hfill-width in draw!
11492 * BufferView2.C (selectLastWord): save the selection cursor as this
11493 now is cleared in the function LyXText::clearSelection!
11495 2001-08-08 Juergen Vigna <jug@sad.it>
11497 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11498 BACKSPACE type functions.
11500 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11501 is only cutted from the document but not put in the cut-buffer, where
11502 still the old stuff should be.
11504 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11506 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11508 * tabular.C (SetWidthOfCell): fixed special case where the width
11510 (LeftLine): handle '|' in align_special.
11512 (LeftAlreadyDrawed): ditto
11513 (SetWidthOfCell): ditto
11515 2001-08-07 Juergen Vigna <jug@sad.it>
11517 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11519 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11521 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11522 * lyxlex.[hC]: ditto
11524 2001-08-06 Juergen Vigna <jug@sad.it>
11526 * text.C (getVisibleRow): fix up row clearing a bit.
11528 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11530 * minibuffer.C: make sure the X server sees the changes in the input.
11532 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11534 * paragraph.C (getFont): split into...
11535 (getLabelFont): this
11536 (getLayoutFont): and this
11537 * paragraph_pimpl.C (realizeFont): calling this
11539 * text2.C (getFont): split into...
11540 (getLayoutFont): this
11541 (getLabelFont): and this
11542 (realizeFont): all three calling this
11544 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11547 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11549 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11551 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11553 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11554 layouts from the Quote inset insertion.
11556 2001-08-03 Juergen Vigna <jug@sad.it>
11558 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11560 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11561 only if status not is already CHANGED_IN_DRAW (second level).
11563 * text.C (draw): don't set the need_break_row when inside an
11566 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11568 * buffer.C (parseSingleLyXformat2Token): handle more latex
11571 * bufferview_funcs.[hC]: change function names to
11572 begin with small char, adjust other files.
11574 2001-08-02 André Pönitz <poenitz@gmx.net>
11577 BufferView_pimpl.C: remove broken special code for math-greek
11579 2001-08-02 Juergen Vigna <jug@sad.it>
11581 * BufferView_pimpl.C (update): redone this function so that we
11582 update the text again if there was a CHANGE_IN_DRAW.
11584 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11585 (drawFromTo): added a new internal bool which is used by draw() and
11587 (general): some cursor drawing problems fixed.
11589 2001-08-01 Juergen Vigna <jug@sad.it>
11591 * lyxfind.C (LyXFind): fixed
11592 (SearchForward): ditto
11593 (SearchBackward): ditto
11595 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11596 spurius drawing of the cursor in the main area.
11598 * text2.C (status): small fix which could lead to a segfault!
11599 (clearSelection): remove unneeded BufferView param.
11601 2001-08-01 André Pönitz <poenitz@gmx.net>
11603 * lyxfunc.C: small change due to changed mathed interface
11605 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11607 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11609 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11611 * lyxfunc.c: fail gracefully if file doesn't exist
11616 * BufferView_pimpl.C: IsDirWriteable() proto changed
11618 * LyXView.C: fix updateWindowTitle() to store the last title
11620 2001-07-31 Juergen Vigna <jug@sad.it>
11622 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11623 the font (wrong since using of Paragraph::highestFontInRange).
11625 * paragraph.C (highestFontInRange): added a default_size parameter.
11627 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11628 (setHeightOfRow): reformat
11630 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11632 * converter.[hC] + affected files: move to (inital-char)lowercase
11635 * ParagraphParameters.C (ParagraphParameters): remove commented code
11637 * PainterBase.[Ch]: remove commented code
11639 * LaTeXFeatures.h: add "bool floats" for float.sty
11641 * LaTeXFeatures.C (LaTeXFeatures): init floats
11642 (require): handle float
11643 (getPackages): do it with floats
11645 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11647 * BufferView_pimpl.C (Dispatch): improve handling of
11648 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11650 * commandtags.h: #include lyxfont.h here temporarily to avoid
11653 * bufferlist.h: include LString.h here.
11655 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11657 * text2.C (getStringToIndex): new method.
11659 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11661 * *: Reduced header file dependencies all over.
11663 2001-07-30 Baruch Even <baruch@lyx.org>
11665 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11667 2001-07-29 Baruch Even <baruch@lyx.org>
11669 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11671 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11673 * ParameterStruct.h (endif): add a default constructor to make
11674 sure that all variables is initialized.
11676 * ParagraphParameters.C (ParagraphParameters): adjust
11678 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11680 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11681 index; also, check that there is something to index, and that it
11682 does not span over several paragraphs.
11683 (doubleClick): use WHOLE_WORD_STRICT for double click.
11685 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11687 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11690 2001-07-26 Baruch Even <baruch@lyx.org>
11692 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11693 an InsetFig figure, backwards compatible reading of old figure code.
11695 2001-07-27 Juergen Vigna <jug@sad.it>
11697 * text2.C: font.realize function adaption.
11699 * text.C (draw): add a warnings lyxerr text if needed.
11701 * layout.C: font.realize function adaption.
11703 * language.C: add inherit_language and implement it's handlings
11705 * bufferview_funcs.C (StyleReset): remove language parameter from
11706 font creation (should be language_inherit now).
11708 * bufferparams.C (writeFile): handle ignore_language.
11710 * paragraph.C (getFontSettings): the language has to be resolved
11711 otherwise we have problems in LyXFont!
11713 * lyxfont.C (lyxWriteChanges): added document_language parameter
11714 (update): removed unneeded language parameter
11716 * paragraph.C (validate): fixed wrong output of color-package when
11717 using interface colors for certain fonts in certain environments,
11718 which should not seen as that on the final output.
11720 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11722 * BufferView_pimpl.C:
11727 * LyXAction.C: add thesaurus support
11730 * lyxfind.C: add "once" parameter, for thesaurus, to not
11731 move to the next match
11733 2001-07-26 Juergen Vigna <jug@sad.it>
11735 * lyxfont.C (realize): honor ignore_language too!
11738 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11740 * text.C (draw): one place more for ignore_language to not draw
11743 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11745 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11747 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11749 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11750 the minipage conversion problem.
11752 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11754 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11757 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11759 * BufferView.h: don't forward declare WorkArea
11761 * BufferView.C: don't include WorkArea.h
11763 2001-07-25 André Pönitz <poenitz@gmx.net>
11767 * lyxfunc.C: new LFUN 'math-space'
11769 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11771 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11773 * text2.C (toggleInset): call open/close
11775 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11777 * lyxfunc.C (dispatch): add debug for the disabled case
11779 * font.C (buttonText): make similar to rectText
11781 * buffer.C (readInset): comment out parsing of insetlist and
11784 * PainterBase.C (rectText): small correction
11786 * BufferView_pimpl.C: comment out insettheorem and insetlist
11787 * LyXAction.C: ditto
11788 * commandtags.h: ditto
11790 2001-07-24 Juergen Vigna <jug@sad.it>
11792 * text.C (draw): honor the ignore_language.
11794 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11796 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11798 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11801 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11803 * lyxtext.h: remove unused (and unimplemented) methods
11805 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11807 * text.C (getVisibleRow): honor background color
11810 * Painter.h: remove default color argument for fillRectangle
11812 * text.C (backgroundColor): new method
11814 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11816 * text.C (getVisibleRow): adjust
11818 * font.[Ch] (rectText): new method, metrics
11819 (buttonText): new method, metrics
11821 * PainterBase.[hC]: make rectText and buttonText always draw and take
11824 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11826 * ToolbarDefaults.C (read):
11827 * MenuBackend.C (read): allow escaping in all strings
11829 * BufferView_pimpl.C (insertAndEditInset): new method.
11830 (Dispatch): use insertAndEditInset whenever appropriate.
11832 * BufferView_pimpl.C (insertNote): removed
11834 * BufferView_pimpl.C (smartQuote): new method, moved from
11835 BufferView; if an insetquote cannot be inserted, insert a '"'
11838 * BufferView2.C: remove insertCorrectQuote();
11840 * lyxfunc.C (getStatus): Add support for all remaingin
11841 inset-insert lfuns.
11843 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11845 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11846 command (necessary to pass " as parameter of self-insert.
11848 * text.C (selectWordWhenUnderCursor):
11849 (selectWord): add word_location parameter
11850 (selectWordWhenUnderCursor): same + remove special code for word
11852 (selectNextWord): use kind() to guess type of insetspecialchar,
11855 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11856 (insertErtContents): create ert insets as collapsed.
11857 (readInset): better compatibility code for Info inset.
11859 2001-07-20 Juergen Vigna <jug@sad.it>
11861 * lyxfunc.C (dispatch): use always LyXFind now!
11863 * text2.C (init): add a reinit flag so that the LyXText can be
11864 reinited instead of deleted and reallocated (used in InsetText).
11866 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11872 2001-07-18 Juergen Vigna <jug@sad.it>
11874 * text.C (selectNextWord): handle insets inside inset by calling
11875 always the bv->text functions so that we can go up the_locking_inset!
11877 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11878 in strange locations when inside an inset!
11880 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11881 handling to include insets.
11883 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11885 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11887 * LyXAction.C (init):
11889 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11890 LIGATURE_BREAK, since the name is so stupid.
11892 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11894 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11897 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11899 * sp_form.[Ch]: remove.
11901 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11903 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11906 * src/buffer.C (readInset): ditto.
11908 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11910 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11911 menuSeparator(), endOfSentenceDot(), ldots() and
11912 hyphenationPoint(), which are therefore removed.
11913 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11915 * LyXAction.C (init):
11916 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11918 * paragraph.C (getWord): removed.
11920 * BufferView_pimpl.C (Dispatch): use last word or selection for
11921 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11923 * lyx_main.C (queryUserLyXDir): do not ask before creating
11924 user_dir, except if it has been named explicitely.
11926 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11928 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11929 a document of zero size.
11931 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11933 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11934 approriately in the c-tor and in require().
11935 (getPackages): output the appropriate LaTeX for natbib support.
11937 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11938 variables "use_natbib" and "use_numerical_citations" when reading the
11940 (readInset): read the various natbib cite commands.
11941 (validate): white-space change.
11943 * bufferparams.[Ch]: new variables "bool use_natbib" and
11944 "bool use_numerical_citations".
11945 (writeFile): output them in the LyX file.
11947 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11949 * lyxfunc.C (getStatus): add support for all the inset insertion
11952 * text2.C (insertInset):
11953 * paragraph.C (insetAllowed):
11954 * BufferView_pimpl.C (insertInset): update to take in account the
11955 renaming of insertInsetAllowed
11957 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11959 * text2.C (getInset): new method. returns inset at cursor position.
11961 * BufferView_pimpl.C (Dispatch): changes because of this.
11963 * LyXAction.C (init): rename open-stuff to inset-toggle.
11965 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11967 * text2.C (toggleInset): renamed from openStuff; use
11970 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11972 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11974 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11976 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11978 * buffer.C (readLyXformat2): Add filename to the error dialog
11980 2001-07-18 Juergen Vigna <jug@sad.it>
11982 * tabular.C (GetCellNumber): put an assert here instead of the check!
11984 2001-07-17 Juergen Vigna <jug@sad.it>
11986 * BufferView_pimpl.C (toggleSelection): adapted too.
11988 * text.C (selectNextWord): adapted for use with insets.
11989 (selectSelectedWord): ditto
11991 2001-07-17 Juergen Vigna <jug@sad.it>
11993 * sp_spell.C (PSpell): fix initialitation order.
11995 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11997 * paragraph.C: spacing
11999 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12001 * sp_spell.C: repair language selection for pspell
12003 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12005 * lyxfunc.h: change more methods to begin with lower char.
12007 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12009 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12010 for unknown layouts.
12012 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12014 * buffer.C (readLyXformat2): Generate an error dialog if there are
12017 2001-07-16 Juergen Vigna <jug@sad.it>
12019 * sp_spell.C: always compile ISpell part.
12021 * lyxrc.C: added use_pspell entry and it's handling.
12023 2001-07-13 Juergen Vigna <jug@sad.it>
12025 * sp_spell.C: removed double includes.
12027 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12029 Consistent use of Lsstream.h:
12030 * Lsstream.h: added using std::stringstream for consistencies sake.
12032 * buffer.C: removed using std::stringstream
12034 * lyxfont.C (stateText):
12035 * paragraph.C (asString):
12036 * text.C (selectNextWord, selectSelectedWord):
12037 * text2.C (setCounter):
12038 * vspace.C (asString, asLatexString):
12039 std::ostringstream -> ostringstream.
12041 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12043 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12044 * commandtags.h: add LFUN_HELP_ABOUTLYX
12045 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12047 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12049 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12051 * lyx_gui_misc.C: remove spellchecker
12052 * lyxfunc.C: showSpellchecker
12054 * sp_ispell.h: added
12055 * sp_pspell.h: added
12056 * sp_spell.C: added
12057 * sp_form.[Ch]: removed
12058 * spellchecker.[Ch]: removed
12060 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12062 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12064 (simpleTeXSpecialChars): Simply print the input character without
12065 any special translation if pass_thru is set.
12067 * layout.h: Added bool pass_thru to layout class for being able to
12068 implement pass through of a paragraph for Literate Programming.
12070 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12071 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12072 * layout.C (Read): add "passthru" to list of layout tags and add
12073 code to set the pass_thru boolean when it is read.
12075 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12077 * trans_decl.h: remove allowed from KmodInfo
12079 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12080 remove allowed code
12083 * paragraph_pimpl.C (erase): use boost::prior
12085 * Painter.C (text): use data() instead of c_str() when length is
12087 * WorkArea.C (putClipboard): ditto
12088 * font.h (width): ditto
12090 * BufferView2.C: use it-> instead of (*it). for iterators
12092 * paragraph_pimpl.C: ditto
12093 * paragraph.C: ditto
12094 * minibuffer.C: ditto
12095 * language.C: ditto
12097 * encoding.C: ditto
12098 * counters.C: ditto
12099 * converter.C: ditto
12101 * Variables.C: ditto
12102 * TextCache.C: ditto
12103 * MenuBackend.C: ditto
12104 * LyXAction.C: ditto
12106 * FloatList.C: ditto
12107 * DepTable.C: ditto
12108 * ColorHandler.C (LyXColorHandler): ditto
12110 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12112 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12114 * text2.C (openStuff): reintroduce this method (which had been
12115 nuked in NEW_INSETS frenzy).
12117 * lyxfunc.C (Dispatch): when an action has not been handled, use
12118 its name in the error message, not its number.
12120 * paragraph.C (inInset): change method name to begin with lowercase.
12123 * text2.C: updates because of this.
12125 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12127 * ToolbarDefaults.C (add): add spaces in error message
12129 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12131 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12132 (readLyXformat2): rename return_par to first_par, use lyxlex's
12133 pushToken and remove the manual push handling.
12134 (parseSingleLyXformat2Token): add another ert comp. variable:
12135 in_tabular, rename return_par to first_par. handle newlines better
12137 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12139 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12141 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12143 * text2.C (getParFromID): removed
12145 * buffer.C (getParFromID): new method moved form lyxtext.
12146 * BufferView2.C (insertErrors): adjust
12147 (setCursorFromRow): adjust
12148 * BufferView_pimpl.C (restorePosition): adjust
12149 * lyxfunc.C (Dispatch): adjust
12150 * undo_funcs.C (textUndo): adjust
12152 (textHandleUndo): adjust
12153 (textHandleUndo): adjust
12155 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12157 * buffer.C: up' the LYX_FORMAT
12159 * lyxfont.h: turn NO_LATEX on as default
12161 * buffer.C (insertErtContents): new methods of tex style compability.
12162 (parseSingleLyXformat2Token): use it several places.
12163 * tabular.C (OldFormatRead): and here
12165 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12167 * text2.C: remove some commented code.
12170 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12171 * trans.C: changes because of the above.
12173 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12175 * text2.C (setCounter): Fix counters bug with bibliography layout.
12177 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12179 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12180 own member functions
12181 (simpleTeXSpecialChars): ditto
12183 2001-07-06 Juergen Vigna <jug@sad.it>
12185 * a lot of files: changed the access to LyXText::status and the
12186 call of undo-functions.
12188 * undo.[Ch]: added a inset_id to the undo informations.
12190 * undo_funcs.[Ch]: added and moved here all undo functions.
12192 * lyxtext.h: give the status enum a weight, made status_ a private
12193 variable and made accessor functions for it, removed the whole bunch
12194 of undo-functions as they are now in their own file, make some
12195 functions publically available. Added function ownerParagraph with
12198 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12199 made InInset() a const function, added getParFromID() function.
12201 * buffer.[Ch]: added const version for inset_iterator functions,
12202 added getInsetFromID() function.
12204 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12205 changed undo functions for new version.
12207 2001-07-05 Juergen Vigna <jug@sad.it>
12209 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12210 unknow mechanism does not call the proper constructor but only this
12211 one also if I request the other!?
12213 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12215 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12217 * text2.C (LyXText): use initialization lists.
12219 * lyxtext.h (Selection): initialize set_ and mark_
12220 (init): remove method
12222 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12224 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12226 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12228 * screen.[Ch]: change method names to begin with lowercase
12230 * BufferView_pimpl.C (updateScrollbar): simplify further and
12231 hopefully make it a bit faster.
12233 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12235 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12236 calling directly xforms functions.
12238 * Painter.C (Painter):
12239 * lyx_cb.C (MenuWrite):
12240 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12243 * lyx_gui.C: remove bogus guiruntime extern declaration.
12245 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12247 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12249 (redoDrawingOfParagraph): ditto
12250 (redoParagraphs): ditto
12251 (cutSelection): don't create a object for CutAndPaste use the
12252 static method directly
12253 (pasteSelection): ditto
12255 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12258 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12260 * modifications to some other files because of this.
12262 * Makefile.am (lyx_SOURCES): add XFormsView
12264 * XFormsView.[Ch]: new files
12266 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12267 the main window. Move the gui dependent stuff to XFormsView
12269 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12271 * tabular.C (GetCellInset): update cur_cell also in the row/col
12272 version of this function.
12274 * lyxfunc.C: no need to include figure_form.h here.
12280 * lyxvc.C: no need to include forms.h here.
12282 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12284 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12286 * lyxfunc.C (Dispatch):
12288 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12289 constructor argument.
12291 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12293 * paragraph.C (Paragraph): dont't clear, and just set layout.
12294 (makeSameLayout): use params's copy contructor.
12296 * ParagraphParameters.[Ch] (makeSame): delete method
12298 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12300 * Variables.[Ch]: fix indentation, rename set to isSet
12302 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12304 * lyxfunc.C (Dispatch): fix typo
12306 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12308 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12311 * bufferlist.C: include assert.h for emergencyWrite().
12313 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12315 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12316 give up at last (bug #425202) !
12318 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12324 * spellchecker.C: strip spellchecker options and bring up
12325 preferences tab instead
12327 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12329 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12330 the istringstream constructor
12332 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12334 * paragraph.C (getLayout): fix return value
12336 * paragraph.h: do not declare getLayout as inline.
12338 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12340 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12342 * lyxcursor.h (operator<): new func
12343 (operator>): new func
12344 (operator>=): new func
12345 (operator<=): new func
12347 * text.C (changeCase): use selection.start and selection.end
12348 (changeRegionCase): require from to be <= to. Require par to be a
12351 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12353 2001-06-27 Juergen Vigna <jug@sad.it>
12355 * text.C (cursorLeftOneWord): changed to return the cursor and added
12356 overlay with BufferView * parameter which calls this one.
12358 (selectWord): use new getWord function.
12359 (changeCase): renamed from changeWordCase as and extended to work
12360 also on selections.
12362 * lyxtext.h: added enum word_location
12364 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12365 changeCase as this operates now also on selections.
12367 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12369 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12371 * many files: send debug output to Debug::INFO instead of
12374 * converter.C (View):
12376 (Move): send debug output to Debug::FILES instead of console.
12378 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12380 * lyxfunc.C (getStatus): use func_status
12382 * func_status.h: new header, describing the results of
12383 LyXFunc::getStatus;
12385 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12388 2001-06-25 The LyX Project <jug@sad.it>
12390 * buffer.C (sgmlOpenTag):
12392 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12394 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12396 * text2.C: remove some dead code
12398 * tabular.C (GetCellInset): store the last cell checked (gotten)
12400 * tabular.h: add the helper for the speedup
12402 * lyxtext.h: remove some dead code
12404 2001-06-26 The LyX Project <Asger>
12406 * paragraph.C: Change export to LaTeX of alignment to
12407 \begin{center} and family for better roundtrip work with reLyX.
12409 * Tune the math drawing a bit.
12411 2001-06-25 The LyX Project <Asger>
12413 * LColor.C (LColor): New color for math background. New color
12416 2001-06-25 The LyX Project <jug@sad.it>
12418 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12420 * lyxfunc.C (Open):
12421 * bufferlist.C (newFile): do not restrict to files ending with
12424 * BufferView_pimpl.C (MenuInsertLyXFile):
12426 2001-06-24 The LyX Project <jug@sad.it>
12428 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12431 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12433 * lyxtext.h: rename most methods to begin with a small char.
12434 Lots of changes because of this.
12436 * paragraph.C (Paragraph): do not call fitToSize
12437 (erase): call Pimpl::erase
12438 (insertChar): call Pimpl::insertChar
12439 (insertInset): call Pipl::insertInset
12440 (breakParagraph): do not call fitToSize
12441 (breakParagraphConservative): do not call fitToSize
12442 (fitToSize): remove method
12444 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12446 2001-06-24 The LyX Project <Asger>
12448 * Fix Qt compilation^2
12450 2001-06-24 The LyX Project <jug@sad.it>
12452 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12453 depthHook(getDepth()-1).
12456 * ParagraphParameters.h:
12457 * ParameterStruct.h: change type of depth to unsigned int ==
12458 depth_type. Many adaptations to other files before of that.
12460 2001-06-24 The LyX Project <Asger>
12462 * Fix Qt compilation.
12464 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12466 * paragraph.h: renamed several methods to begin with small letter.
12467 several changes to many parts of the code because of this.
12469 2001-06-23 The LyX Project <jug@sad.it>
12471 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12472 rewritten to discard all double spaces when KeepEmpty is off
12473 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12474 to only handle newlines but not fiddle with spaces and friends.
12476 * lyxfunc.C (MenuNew): when doing 'new from template', use
12477 template_path as default directory
12479 2001-06-23 The LyX Project <Asger>
12481 * Clean-up of header file includes all over
12482 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12484 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12486 * paragraph.h: renamed from lyxparagraph.h
12488 2001-06-23 Asger <lyx@violet.home.sad.it>
12490 * Buffer.h: Removed Buffer::resize
12491 * BufferList.h: Removed BufferList::resize
12492 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12493 the document lazily when we change the width, or the font settings.
12495 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12497 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12499 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12501 * buffer.h: remove out of date comment
12503 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12506 * screen.C: fix "theoretical" GC leak
12508 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12510 * LaTeX.C (scanAuxFile):
12511 (deplog): remove trailing \r when reading stream (useful under
12514 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12516 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12517 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12518 and BufferView::theLockingInset(Inset*), so should use them and not
12519 access bv_->text->the_locking_inset directly.
12521 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12523 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12526 * tex-defs.h: remove old unused file
12528 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12530 * BufferView_pimpl.C: fix typo, remove minibuffer message
12531 when buffer has loaded
12533 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12535 * lyxfunc.C (Dispatch): use stringstream
12536 (MenuNew): use stringstream
12537 (Open): use stringstream
12539 * importer.C (Import): use stringstream
12541 * bufferview_funcs.C (CurrentState): use stringstream
12543 * LaTeX.C (run): use stringstream
12545 * BufferView_pimpl.C (savePosition): use stringstream
12546 (restorePosition): use stringstream
12547 (MenuInsertLyXFile): use stringstream
12549 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12562 * vspace.C: removed // -*- C++ -*- as first line.
12565 * version.h: added // -*- C++ -*- as first line.
12567 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12569 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12571 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12574 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12576 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12579 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12581 * gettext.C: include LString.h even when --disable-nls is on.
12583 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12585 * converter.h (Get): changed argument type from int to
12586 FormatList::size_type to avoid unnecessary conversion.
12588 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12591 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12593 * gettext.h: include LString.h even when --disable-nls is on.
12595 2001-06-07 Juergen Vigna <jug@sad.it>
12597 * text.C (BreakAgain): subst spaces with tabs.
12599 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12600 (resizeInsetsLyXText): set force on resizeLyXText.
12602 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12604 * gettext.h (gettext_init):
12605 (locale_init): use a real definition instead of a macro
12607 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12609 * Bufferview_pimpl.C:
12611 * LColor.C: further lcolor tidies
12613 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12615 * BufferView_pimpl.C (updateScrollbar): simplify.
12617 * BufferView2.C: don't include insets/insetinfo.h, change
12618 prototype for insertInset and call the Pimpl version. let
12619 updateInset call Pimpl version.
12621 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12622 gotoInset to BufferView::Pimpl
12624 2001-06-01 Juergen Vigna <jug@sad.it>
12626 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12627 inside a LockingInset (is the update needed at all?).
12629 2001-05-31 Juergen Vigna <jug@sad.it>
12631 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12632 here not the old one otherwise how should we compare it afterwards
12635 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12640 * FontInfo.C: bring C functions into global namespace when
12643 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12645 * LString.h: make sure config.h has been loaded before LString.h.
12647 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12648 (one for each char read by EatLine!).
12650 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12653 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12655 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12656 to the same as the par we break from
12658 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12660 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12662 * MenuBackend.C (expand): also create menu entries for wide
12663 versions of the floats.
12665 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12667 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12669 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12670 frontends/Makefile.am
12676 * tabular.C (getTokenValue): add std::
12678 * tabular-old.C (getTokenValue): add std::
12679 (getTokenValue): ditto
12680 (getTokenValue): ditto
12682 * screen.C (ToggleSelection): adjust
12684 * lyxtext.h: put selection cursors inside a Selection struct.
12686 * lyxfunc.C (moveCursorUpdate): adjust
12688 * lyxfont.C (latexWriteStartChanges): add std::
12690 * lyxfind.C: adjust
12692 * font.h: delete with(char const *, LyXFont const &)
12694 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12696 * FontInfo.C (getFontname): add std::
12698 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12699 (workAreaButtonPress): adjust
12700 (tripleClick): adjust
12702 (moveCursorUpdate): adjust
12705 * BufferView2.C (gotoInset): adjust
12707 2001-05-30 Juergen Vigna <jug@sad.it>
12709 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12710 to check pspell I add this as default as I now have new pspell
12711 libraries and they seem to use this.
12713 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12715 * text2.C (CutSelection): make the cursor valid before the call to
12718 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12720 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12721 relied on 0 terminated strings and other horrors. Bug found due to
12722 the new assert in lyxstring!
12724 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12727 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12729 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12732 * lyxfunc.C (processKeySym): change method of getting to the
12735 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12736 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12737 * BufferView_pimpl.[Ch]: here as private methods.
12739 2001-05-28 Juergen Vigna <jug@sad.it>
12741 * text.C (SetHeightOfRow): added the update() call again as it is
12742 needed to initialize inset dimensions!
12744 2001-05-16 Juergen Vigna <jug@sad.it>
12746 * text2.C (SetCharFont): Add new function with BufferView * and
12747 bool toggleall parameters for setting insets internal fonts.
12748 (SetFont): Freeze the undo as we may change fonts in Insets and
12749 all this change should be inside only one Undo!
12751 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12752 setting font's in insets as for them we have the SetFont function!
12754 2001-05-15 Juergen Vigna <jug@sad.it>
12756 * text2.C (ClearSelection): to be sure we REALLY don't have any
12759 * tabular.C (TeXCellPreamble): fixed the left border problem for
12762 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12764 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12767 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12769 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12770 LFUN_BREAKPARAGRAPH.
12772 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12773 help test to "internal only", similar for LFUN_INSERT_URL
12775 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12776 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12777 auto_region_delete and deadkeys.
12779 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12782 * LColor.C: remove some dead entries, tidy a little
12784 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12786 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12788 (Dispatch): implement LFUN_ESCAPE
12790 * commandtags.h: add LFUN_ESCAPE
12792 * LyXAction.C (init): add entry for LFUN_ESCAPE
12794 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12795 Remove commented code.
12796 (insertNote): moved here
12797 (open_new_inset): moved here
12799 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12802 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12804 * kbmap.C (findbinding): clean it up and make it work correctly.
12806 * lyx_main.C (init): do not pass argc and argv as parameters
12808 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12810 * buffer.C: fix path for OS/2 & Win32
12814 * lyx_main.C: Added os:: class.
12816 * os2_defines.h: update
12818 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12820 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12821 better by trying again with reduced state.
12823 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12825 * lyxrc.C (read): print error about invalid key sequence only when
12826 debugging (because not all latinX keysyms are known to some X
12829 * kbsequence.C (getiso): add a few std:: qualifiers
12830 (getiso): comment out extra return statement.
12832 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12834 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12836 (Dispatch): enhance the accent inset a bit. (not perfect)
12838 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12840 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12842 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12844 * bufferlist.C (emergencyWrite): fix assert() call
12846 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12848 * text.C (InsertChar): Added trivial patch to only send the "you
12849 can not do multiple spaces this way" message once during a
12852 2001-05-08 Baruch Even <baruch@lyx.org>
12854 * Makefile.am: Changed order of libraries to get LyX to link properly
12855 with the gnome frontend.
12857 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12859 * LaTeXFeatures.h: add a std:: qualifier
12861 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12863 * paragraph.C (String): use stringstream
12865 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12867 * paragraph.C (writeFile): remove footflag arg
12869 * buffer.C (makeLaTeXFile): use stringstream
12870 (latexParagraphs): remove footnot gurba
12872 * LaTeXFeatures.C (getPackages): use stringstream
12873 (getMacros): likewise
12874 (getTClassPreamble): likewise
12875 (getFloatDefinitions): new method
12877 * paragraph.C (writeFile): reindent
12880 * WorkArea.h: revert the xpos + etc changes.
12882 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12884 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12886 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12887 (pasteSelection): likewise
12888 * text2.C (CreateUndo): likewise
12890 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12892 * minibuffer.C (peek_event): temporarily reduce the functionality
12893 of the minibuffer (to allow args on lfuns)
12895 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12896 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12898 * buffer.C (readInset): add compability reading of old float
12899 lists, add reading of new style float list.
12900 (readInset): avoid reevaluation of inscmd.getCmdName()
12901 (getLists): reindent
12903 * MenuBackend.C (MenuItem): implement parsing of
12904 md_floatlistinsert and md_floatinsert.
12905 (expand::LastFiles): move initalizaton of iterators out of loop,
12906 avoid reevaluation.
12907 (expand::Documents): introduce typdedef vector<string> Strings,
12909 (expand::ExportFormats): introduce typedef vector<Format const *>
12910 Formats, and use it.
12911 (expand): implement FloatListInsert and FloatInsert.
12913 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12914 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12915 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12917 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12919 (Dispatch::LFUN_FLOAT_LIST): implement
12921 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12923 * LaTeX.C (run): Fix problem with --export code.
12925 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12927 * BufferView.[Ch] (workarea): removed.
12928 (getClipboard) new method; wrapper for workarea()->getClipboard()
12930 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12933 * WorkArea.h (width, height, xpos, ypos): These methods all
12934 returned the dimensions of the work_area sub-area of WorkArea,
12935 resulting in a position error if the WorkArea were resized. Now
12936 return the dimensions of the entire WorkArea.
12938 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12940 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12942 * LaTeX.C (deplog): correct the syntax of regex reg1
12944 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12946 * undo.C: remove !NEW_INSETS cruft
12948 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12950 * text2.C: remove !NEW_INSETS cruft
12952 * text.C: remove !NEW_INSETS cruft
12954 * tabular.C: remove !NEW_INSETS cruft
12956 * spellchecker.C: remove !NEW_INSETS cruft
12958 * lyxtext.h: remove !NEW_INSETS cruft
12960 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12962 * lyxfunc.C: remove !NEW_INSETS cruft
12964 * lyxfind.C: remove !NEW_INSETS cruft
12966 * lyx_cb.C: remove !NEW_INSETS cruft
12968 * figureForm.C: remove !NEW_INSETS cruft
12970 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12972 * buffer.[Ch]: remove !NEW_INSETS cruft
12974 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12976 * CutAndPaste.C: remove !NEW_INSETS cruft
12978 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12980 * BufferView2.C: remove !NEW_INSETS cruft
12982 * BufferView.h: remove !NEW_INSETS cruft
12984 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12986 * Lsstream.h: include LString.h before the sstream headers to
12987 fix problem with gcc 2.95.3 and lyxstring
12989 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12991 * lyx_main.C: add using directives when needed for C functions
12992 declared in std:: namespace.
12994 2001-04-27 Juergen Vigna <jug@sad.it>
12996 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12997 (SetHeightOfRow): comment out the update call should not be needed!
12999 2001-04-13 Juergen Vigna <jug@sad.it>
13001 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13002 (LyXTabular): tried to minimize operator= operations (and realized
13003 hopfully Lars wish).
13005 2001-04-27 Juergen Vigna <jug@sad.it>
13007 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13009 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13011 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13013 * buffer.C (readInset): hack to make listof algorithm work
13015 * BufferView_pimpl.C: hack to make listof algorithm work
13017 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13019 * LyXAction.C: removed all !NEW_INSETS cruft
13020 (init): moved lfun_item in method
13022 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13024 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13026 * BufferView2.C (theLockingInset): white space.
13028 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13030 * minibuffer.C: include <iostream>
13032 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13034 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13036 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13038 * text.[Ch] (TransposeChars): new method
13040 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13042 * call message directly through LyXView instead of through LyXFunc
13043 * BufferView2.C: adjust
13044 * BufferView_pimpl.C: adjust
13045 * FontLoader.C: adjust
13047 * bufferview_funcs.C: adjust
13048 * converter.C: adjust
13049 * figureForm.C: adjust
13050 * importer.C: adjust
13052 * lyx_gui_misc.C: adjust
13053 * lyxfunc.C: adjust
13056 + more files in subdirs
13058 * lyxparagraph.h (size): move up int file
13061 * adjust all uses of Assert to lyx::Assert.
13063 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13064 lyxfunctional in namespace lyx
13065 * layout.C (hasLayout): ditto
13068 (delete_layout): ditto
13069 (NumberOfClass): ditto
13070 * converter.C (GetFormat): ditto
13075 * bufferlist.C (getFileNames): ditto
13076 (emergencyWriteAll): ditto
13079 * MenuBackend.C (hasSubmenu): ditto
13082 * BufferView_pimpl.C (getInsetByCode): ditto
13084 2001-04-18 Juergen Vigna <jug@sad.it>
13086 * vspace.C (asLatexString): fixed the 100% problem.
13088 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13090 * lyxfunc.C (Dispatch):
13092 * minibuffer.h: add a few std:: qualifiers
13094 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13096 * minibuffer.[Ch]: reimplement so that commands is initiated and
13097 run from lyxfunc, simplified som handling, and made the completion
13098 and history code for complete. wip.
13100 * lyxfunc.C (processKeySym): call message
13101 (miniDispatch): new temporary method
13102 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13103 (LFUN_MESSAGE): implement
13104 (LFUN_MESSAGE_PUSH): implement
13105 (LFUN_MESSAGE_POP): implement
13106 (initMiniBuffer): the initial/defualt minibuffer message.
13108 * lyxfont.[Ch]: inline some more getters
13110 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13112 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13114 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13115 (AutoSave): use LFUN_MESSAGE
13116 (Reconfigure): ditto
13118 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13120 * figureForm.C: use LFUN_MESSAGE
13122 * converter.C (runLaTeX): use LFUN_MESSAGE
13124 * bufferview_funcs.C: use LFUN_MESSAGE
13126 (changeDepth): ditto
13128 * bufferparams.h: use boost::
13130 * bufferlist.h: inherit privately from noncopyable
13132 * bufferlist.C (loadLyXFile): remove some commented code.
13134 * buffer.C (runChktex): use LFUN_MESSAGE
13136 * ShareContainer.h: inherit privately from noncopyable
13138 * ParagraphParameters.[hC] (depth): inline it.
13140 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13142 (message): new method
13143 (messagePush): ditto
13144 (messagePop): ditto
13145 (show): init minibuffer
13146 (showState): direct call
13148 * LaTeX.[Ch]: inherit privately from noncopyable
13149 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13150 instead of WriteStatus.
13152 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13154 * BufferView_pimpl.C (buffer): don't init minibuffer
13155 (workAreaButtonPress): use LFUN_MESSAGE
13156 (workAreaButtonRelease): ditto
13157 (savePosition): ditto
13158 (restorePosition): ditto
13159 (MenuInsertLyXFile): ditto
13160 (workAreaExpose): don't init minibuffer
13161 (update): remove commented code, simplify
13163 * BufferView2.C (openStuff): use LFUN_MESSAGE
13164 (toggleFloat): ditto
13167 (copyEnvironment): ditto
13168 (pasteEnvironment): ditto
13173 (updateInset): remove some commented code
13175 * lastfiles.h: inherit privately from noncopyable
13178 * lyx_main.h: ditto
13180 * lyxlex_pimpl.h: ditto
13182 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13183 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13184 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13186 * LyXAction.h: inherit privately from noncopyable, add methods
13187 func_begin, func_end, returning iterators to the func map.
13189 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13190 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13191 (func_begin): new method
13192 (func_end): new method
13194 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13196 (copySelection): ditto
13197 (pasteSelection): ditto
13199 * BufferView.C: whitespace change
13200 * BufferView.h: inherit privately from noncopyable
13202 2001-04-16 Allan Rae <rae@lyx.org>
13204 * tabular-old.C (l_getline):
13205 * spellchecker.C (sc_check_word):
13206 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13207 an unrecognised preprocessor directive. So ensure they're wrapped.
13209 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13211 * src/exporter.C (Export): Give an error message when path to file
13214 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13216 * LaTeX.C (deplog): Always check that foundfile exists.
13218 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13221 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13223 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13225 * tabular.[Ch] (getLabelList): implement new method
13227 * minibuffer.h: comment ouf setTiimer
13229 * minibuffer.C (ExecutingCB): constify res
13230 (peek_event): constify s
13231 (Set): constify ntext
13232 (Init): constify nicename
13234 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13236 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13237 (savePosition): use two params to Minibuffer::Set
13238 (restorePosition): ditto
13240 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13242 * lyx_main.C: include language.h
13244 * Makefile.am (lyx_main.o): add language.h
13246 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13252 * CutAndPaste.C: include gettext.h
13254 * lyxfont.h: remove old hack with ON and OFF.
13257 * lyxfont.h: do not include language.h...
13262 * bufferview_funcs.C:
13268 * paragraph.C: ... but do it here instead
13270 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13272 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13274 * tabular.C: small reformat
13276 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13279 (BreakParagraph): ditto
13280 (SetOnlyLayout): ditto
13283 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13286 * lastfiles.C: removed most using decl, add std:: where needed
13288 * buffer.C: ws changes
13290 * MenuBackend.C (class compare_format): put into anon namespace
13291 (expand): constify label, names, action, action2
13294 * text.C (SingleWidth): constify font
13295 (IsBoundary): constify rtl2
13296 (GetVisibleRow): constify ww
13298 * LaTeX.C (deplog): constify logfile
13300 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13302 (workAreaExpose): constify widthChange, heightChange
13304 * lyxrow.C (par): moved
13307 * lyxrow.h: as inlines here
13309 * lyxfont.h (shape): moved from lyxfont.C
13310 (emph): moved from lyxfont.C
13312 * lyxfont.C (LyXFont): use initialization list for all
13314 (shape): move to lyxfont.h as inline
13315 (emph): move to lyxfont.h as inline
13318 2001-04-04 Juergen Vigna <jug@sad.it>
13320 * vspace.C: had to include stdio.h for use of sscanf
13322 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13325 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13326 independent of xforms.
13328 2001-04-02 Juergen Vigna <jug@sad.it>
13330 * spellchecker.C: fixed namespace placing!
13332 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13334 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13335 the LyXParagraph * is 0.
13337 2001-03-29 Juergen Vigna <jug@sad.it>
13339 * vspace.C: added support for %, c%, p%, l%.
13340 (stringFromUnit): added helper function.
13341 (asLatexString): changed to give right results for the %-values.
13343 * buffer.C: convert the widthp in a width%.
13345 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13347 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13350 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13351 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13353 * lyx_cb.[Ch]: see above.
13355 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13359 * lyx.[Ch]: replaced by figure_form.[Ch].
13363 * lyxfunc.C: changed headers associated with above changes.
13365 2001-03-27 Juergen Vigna <jug@sad.it>
13367 * BufferView_pimpl.C: set the temporary cursor right!
13369 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13371 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13373 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13375 * LString.h: removed "using std::getline"!
13377 * BufferView_pimpl.C (Dispatch): changes due to changes in
13378 InsetInclude::Params.
13380 * buffer.C (tag_name): removed redundant break statements as they were
13381 producing lots of warnings with my compiler.
13383 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13385 * LString.h: add "using std::getline" when using the real <string>.
13387 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13389 * buffer.C: removed bitset usage.
13390 PAR_TAG moved to an anonymous name space.
13391 (tag_name): new funtion, also in the anonymous namespace.
13392 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13393 (makeDocBookFile): clean code. Completed transition from string arrays
13395 (SimpleDocBookOnePar): code clean.
13397 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13399 * tabular.C: add some comments.
13401 2001-03-22 Juergen Vigna <jug@sad.it>
13403 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13404 compatibility read a bit and fixed bug with minipage in different
13407 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13409 * buffer.C (pop_tag): removed.
13410 (push_tag): removed.
13411 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13412 array replaced with vector. Added support for CDATA sections.
13413 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13415 (makeDocBookFile): XML conformant declaration of CDATA section,
13416 fixed bug related to <emphasis> in the first paragraph char.
13417 (sgmlOpenTag): exclude empty tags.
13418 (sgmlCloseTag): ditto.
13420 * buffer.h (pop_tag): removed.
13421 (push_tag): removed.
13423 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13425 * language.h (Languages): added size_type and size().
13427 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13429 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13430 response on compability reading of minipages. One probliem is that
13431 the old usage of minipages was «flertydig»
13433 * several files here and in subdirs: don't use static at file
13434 scope use anon namespaces instead.
13436 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13438 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13439 LaTeX output. This is necessary for Literate document
13442 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13444 * buffer.C: insert hfill when needed.
13446 * tabular.C (l_getline): use string::erase, small whitespace change.
13448 * BufferView_pimpl.C: try the anon namespace.
13449 * WorkArea.C: ditto
13451 2001-03-16 Juergen Vigna <jug@sad.it>
13453 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13454 otherwise it won't open options-dialogs.
13456 * buffer.C: honor pextraWidth(p) on converting minipages.
13458 * tabular.C (l_getline): changed the functions to strip trailing \r.
13460 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13462 * BufferView_pimpl.C:
13463 * minibuffer..C: added "using SigC::slot" declaration.
13465 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13467 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13473 * paragraph.C: ditto
13475 * lyxtext.h: NO_PEXTRA
13477 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13479 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13480 * ParameterStruct.h: ditto
13481 * ParagraphParameters.h: ditto
13482 * lyxparagraph.h: ditto
13484 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13486 * buffer.C: add compability for minipage alignment.
13487 (latexParagraphs): remove unwanted pextra check.
13489 * several files: remove CXX_WORKING_NAMESPACES
13491 * buffer.C (pop_tag): tie is in namespace boost
13493 * BufferView.h: noncopyable is in namespace boost
13495 * lyx_main.h: ditto
13498 * lastfiles.h: ditto
13499 * bufferlist.h: ditto
13500 * ShareContainer.h: ditto
13502 * LyXAction.h: ditto
13505 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13507 * Merging changes from BRANCH_MVC back into HEAD.
13509 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13511 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13513 * BufferView_pimpl.C: change from intl.C
13517 * Makefile.am: move combox.*
13523 * intl.C: remove dialog (covered by prefs)
13525 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13527 * lyxfunc.C (Dispatch): removed redundant break statement.
13529 2001-03-14 Juergen Vigna <jug@sad.it>
13531 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13533 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13535 * buffer.C: add hack to fix compability reading of minipages.
13537 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13539 * buffer.C (getLists): Cleanup.
13541 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13543 * lyxfont.C (update): don't honor toggleall on font size.
13545 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13549 * Makefile.am: moved to frontends/xforms/
13553 * BufferView_pimpl.C: changes for moved mathpanel
13555 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13557 * gettext.h: fix gettext_init() in --disable-nls
13559 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13561 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13563 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13566 * lyx.h: strip external form
13568 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13570 * BufferView_pimpl.C: add comment, destroySplash()
13572 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13574 * BufferView_pimpl.C:
13578 * lyxfunc.C: use re-worked insetinclude
13580 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13582 * buffer.C: add using std::stringstream.
13584 * lyx_cb.C: readd using std::ios.
13586 * buffer.C: add using std::map.
13588 * BufferView_pimpl.C: add using std::vector.
13590 * ShareContainer.h: add std:: to swap.
13592 * buffer.h: add some typedefs
13593 * buffer.C (getLists): use them
13594 (getLists): renamed from getTocList.
13595 add a counter for the different float types and use it in the
13597 (getLists): use the same counter for the NEW_INSETS and the "non"
13600 * lyx_cb.h: remove unused items, includes, using etc.
13602 * ShareContainer.h: remove some commented code, add more comments
13603 and "documentation".
13605 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13607 * buffer.C (getTocList): make the list also when NEW_INSETS is
13610 * buffer.h: remove TocType
13612 * buffer.C (getTocList): change to return a map<string,
13613 vector<TocItem> >, implement for dynamic number of list.
13615 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13616 * text2.C (PasteSelection): adjust
13617 * CutAndPaste.C (pasteSelection): adjust
13619 * FloatList.C (FloatList): update from the new_insets branch.
13620 * Floating.[Ch]: ditto
13621 * LaTeXFeatures.C: ditto
13623 * lyxlex_pimpl.C: ditto
13625 * paragraph.C (Last): remove when NEW_INSETS is defined.
13627 * other file: changes because of the above.
13629 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13631 * lyxparagraph.h: rename next to next_, previous to previous_,
13632 make them private for NEW_INSETS. Rename Next() to next(),
13633 Previous() to previous().
13635 * other files: changes because of the above.
13637 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13640 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13643 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13645 * main.C (main): pass lyx_localedir to gettext_init().
13647 * gettext.h: remove locale_init and gettext_init macros
13649 * gettext.C (locale_init): new function
13650 (gettext_init): new function
13652 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13655 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13657 * Moved credits to frontends:
13658 * credits.[Ch]: removed
13659 * credits_form.[Ch]: removed
13660 * lyx_gui_misc.C: remove credits stuff
13663 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13665 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13667 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13668 unneeded destructor.
13670 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13671 a standalone pointer again.
13673 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13675 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13681 * ToolbarDefaults.C:
13690 * BufferView_pimpl.C: use new file dialog in GUII
13693 * lyx_cb.C: remove LayoutsCB to Toolbar
13695 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13697 * ShareContainer.h (get): add std:: qualifier
13699 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13701 * ShareContainer.h: define a proper ShareContainer::value_type
13702 type (and use typename to please compaq cxx)
13704 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13706 * lyxparagraph.h: move serveral local vars to
13707 ParameterStruct/ParagraphParameters., use ShareContainer in
13708 FontTable., make vars in FontTable private and add getter and
13711 * paragraph.C: changes because of the above.
13713 * lyxfont.h: remove copy constructor and copy assignment. (the
13714 default ones is ok), move number inside FontBits. move inlines to
13717 * lyxfont.C: add number to initializaton of statics, move several
13718 inlines here. constify several local vars. some whitespace
13719 cleanup. Dont hide outerscope variables.
13721 * Spacing.h: add two new constructors to match the set methods.
13723 * ShareContainer.h: new file, will perhaps be moved to support
13725 * ParameterStruct.h: new file
13727 * ParagraphParameters.h: new file
13729 * ParagraphParameters.C: new file
13731 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13732 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13734 * BufferView_pimpl.C: ParagraphParameter changes.
13735 * buffer.C: Likewise.
13736 * bufferview_funcs.C: Likewise.
13737 * text.C: Likewise.
13738 * text2.C: Likewise.
13740 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13742 * lyxfind.C (LyXReplace): do not redefine default argument in
13744 (IsStringInText): ditto
13745 (SearchForward): ditto
13746 (SearchBackward): ditto
13748 2001-03-06 Juergen Vigna <jug@sad.it>
13750 * lyxfind.C (IsStringInText): put parentes around expressions.
13752 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13754 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13756 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13758 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13760 * stl_string_fwd.h: add comment
13762 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13765 * tabular.C: remove unused DocBook methods
13771 killed DO_USE_DEFAULT_LANGUAGE
13773 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13775 * lyx_gui.C: do not include language.h.
13777 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13778 arguments in function implementation.
13780 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13782 * BufferView_pimpl.C: add <ctime>
13784 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13786 * BufferView_pimpl.C: add using std::find_if
13788 2001-02-27 José Matos <jamatos@fep.up.pt>
13790 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13793 2001-02-11 José Matos <jamatos@fep.up.pt>
13795 * buffer.C (makeDocBookFile): command styles now have a parameter as
13796 "title" by default.
13798 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13800 * layout_forms.[Ch]: removed
13801 * lyx_cb.[Ch]: out character
13802 * lyx_gui.C: out character
13803 * lyx_gui_misc.C: out character
13804 * bufferview_funcs.C: : out character,
13805 added toggleall as parameter in ToggleAndShow
13807 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13809 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13811 * text2.C (SetCurrentFont): Disable number property at boundary.
13813 2001-02-26 Juergen Vigna <jug@sad.it>
13815 * lyxfunc.C (getStatus): added a string argument override function so
13816 that this is correctly called from LyXFunc::Dispatch if it contains a
13817 do_not_use_argument which is used!
13818 (Dispatch): added check for "custom" export and call appropriate func.
13820 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13822 * lyxrc.C: Add language_command_local, language_use_babel and
13823 language_global_options.
13825 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13827 * buffer.C (makeLaTeXFile): Use language_use_babel and
13828 language_global_options.
13830 2001-02-23 Juergen Vigna <jug@sad.it>
13832 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13833 which works with LyXText and putted it inside BufferView. Here now we
13834 only call for that part the BufferView::Dispatch() function.
13836 * BufferView.C (Dispatch): added.
13838 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13839 functions which needs to use a LyXText over from LyXFunc.
13840 (MenuInsertLyXFile): added
13841 (getInsetByCode): added
13842 (moveCursorUpdate): added
13843 (static TEXT): added
13845 2001-02-22 Juergen Vigna <jug@sad.it>
13847 * BufferView_pimpl.C (update): call a status update to see if LyXText
13850 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13852 * vc-backend.C (revert): implement for CVS
13853 (getLog): implement for CVS
13855 2001-02-20 Juergen Vigna <jug@sad.it>
13857 * text2.C (ClearSelection): added BufferView param for inset_owner call
13859 * lyxfunc.C (TEXT): added this function and use it instead of
13860 directly owner->view()-text of getLyXText().
13862 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13864 * src/layout_forms.C: out preamble
13865 * src/layout_forms.h: out preamble
13866 * src/lyx_cb.C: out preamble
13867 * src/lyx_cb.h: out preamble
13868 * src/lyx_gui.C: out preamble
13869 * src/lyx_gui_misc.C: out preamble
13870 * src/lyxfunc.C: connect with guii preamble
13872 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13874 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13876 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13878 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13879 whether to run bibtex.
13881 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13883 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13885 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13887 * Makefile.am (lyx_SOURCES): removed bibforms.h
13889 * vspace.h: doxygen
13891 * text.C (GetVisibleRow): make several local vars const
13893 * tabular.C: small cleanup.
13895 * lyxserver.C (callback): use compare instead of strncmp
13897 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13898 inlines to after class or to paragraph.C
13900 * lyxfont.h: remove friend operator!=
13902 * converter.h: move friend bool operator< to non friend and after
13905 * combox.h: small cleanup
13907 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13908 to inlines after class def.
13910 * buffer.C (pop_tag): use string operations instead of strcmp
13912 * bmtable.c: doxygen, small cleanup
13914 * LaTeX.h: remove friend operator==
13916 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13928 * BufferView_pimpl.C:
13929 * BufferView.[Ch]: remove cruft
13931 2001-02-14 Juergen Vigna <jug@sad.it>
13933 * lyxfunc.C: removed #if 0 unused code
13935 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13937 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13939 * text2.C (SetSelection): added a BufferView * parameter
13941 2001-02-13 Juergen Vigna <jug@sad.it>
13943 * lyxfunc.C (Dispatch): fixed protected blank problem.
13944 * BufferView2.C (protectedBlank): added LyxText * parameter.
13946 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13947 (AppendColumn): same as above for column_info.
13949 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13950 (moveCursorUpdate): use a LyXText param for support of InsetText.
13952 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13953 (tripleClick): ditto
13955 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13957 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13959 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13961 * text2.C (SetSelection): set correct update status if inset_owner
13962 (ToggleFree): ditto
13964 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13966 * tabular.C: remove some commented code.
13968 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13970 * BufferView_pimpl.C: call hideSplash()
13972 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13975 * bibforms.h: remove
13978 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13979 add LFUN_CHILD_CREATE
13981 * counters.h: fix tiny typo
13986 * lyx.C: move splash to frontends/xforms/
13988 * lyx_gui_misc.C: move Include and Bibform to frontends
13990 * lyxvc.h: clarify comment
13992 * vspace.C: tiny housekeeping
13994 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
13996 * text.C (PrepareToPrint): RTL Fix.
13998 * paragraph.C (GetUChar): New method.
13999 (String): Use GetUChar.
14001 * buffer.C (asciiParagraph): Use GetUChar.
14003 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14005 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14007 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14010 * buffer.C: rename to getLogName(), handle
14011 build log / latex log nicely
14013 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14016 * MenuBackend.h: remove support for reference menuitem type.
14018 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14020 * BufferView_pimpl.C: housekeeping
14021 * BufferView_pimpl.h:
14026 * minibuffer.h: move Timeout GUI-I
14028 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14030 * lyxrc.C (read): Update converters data-structures.
14032 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14034 * LaTeX.h (operator!=): add operator != for Aux_Info
14036 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14038 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14040 * LaTeXLog.C: deleted, useful code moved to Buffer
14043 * buffer.C: new function getLatexLogName()
14049 * lyxfunc.C: use frontends for LaTeX and VC logs
14051 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14053 * LaTeX.h: yet another std:: that Allan forgot.
14055 * Variables.C (set): renamed from isset(), because this clashes
14056 with some HP-UX macros (grr).
14058 2001-02-06 Allan Rae <rae@lyx.org>
14060 * LaTeX.h: Another bug fix. Missing std:: this time.
14062 2001-02-04 Allan Rae <rae@lyx.org>
14064 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14065 floats problem. I've left it commented out because it's not quite
14066 correct. It should also test that the current object is a table or
14067 figure inset. But I haven't gotten around to figuring out how to do
14068 that. I *think* it'll be something like: "table" == inset.type()
14070 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14073 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14075 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14076 all the citation/databases/styles in the auxilary file.
14077 (run): Rerun latex if there was a babel language error.
14079 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14081 * text.C (Backspace): Preserve the font when changing newline char
14083 (BreakParagraph): If the cursor is before a space, delete the space.
14085 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14087 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14089 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14090 new argument (code).
14091 (ChangeCitationsIfUnique): New method.
14093 * paragraph.C (GetPositionOfInset): Handle bibkey.
14095 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14097 * BufferView_pimpl.h: change type of Position::par_pos to
14098 LyXParagraph::size_type.
14100 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14102 * BufferView_pimpl.C (savePosition, restorePosition): Write
14103 messages to minibuffer.
14105 2001-01-28 José Matos <jamatos@fep.up.pt>
14107 * buffer.C (makeDocBookFile): adds support for document language.
14108 A silly restriction on the name of LatexCommand types where removed.
14109 Added support for CDATA sections, allows to chars unescaped, used
14110 among others in code, to avoid escape < and >.
14112 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14114 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14115 saved positions instrad of a stack. Furthermore, a position is
14116 stored using paragraph id/paragraph position.
14118 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14119 Remove LFUN_REF_BACK.
14121 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14123 * converter.C (dvipdfm_options): New method.
14125 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14127 * vspace.C (isValidLength): Fix for empty input string.
14129 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14131 * LyXAction.C (init): change description of LFUN_FIGURE to
14134 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14136 * LaTeX.C: add using directive
14138 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14140 * MenuBackend.C (expand): Fix the sorting of the formats.
14142 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14144 * lyx_main.C: tiny error message fix
14146 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14148 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14149 calling fl_initialize(). This fixes the problem with ',' as
14150 decimal separator in text files.
14152 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14154 * trans.C (process): Fix the keymap bug.
14156 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14158 * LaTeX.C (scanAuxFiles): New method. Provides support for
14159 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14160 (scanLogFile) Scan for "run BibTeX" messages.
14162 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14163 OT1 font encoding. Also, load the aecompl package if the ae
14166 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14168 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14170 * texrow.C (increasePos): turn two error messages into debug
14173 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14175 * LaTeX.C (scanAux): Handle the \@input macro.
14176 (runBibTeX): Use scanAux().
14178 * language.C (latex_options_): New field.
14180 * LaTeXFeatures.C (getMacros): Add language macros.
14182 * buffer.C (makeLaTeXFile): Small fix.
14184 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14186 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14188 * text2.C: add a using directive.
14190 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14195 * lyxfunc.C: kill LyXBell.
14197 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14199 * text.C (IsBoundary): Remove the error message
14201 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14203 * lyxrc.C (setDefaults): Correct initialization value for
14206 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14208 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14211 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14212 and GotoNextNote().
14214 * src/LyXAction.C: Added reference-next.
14216 * text.C (InsertChar): Use contains instead of strchr.
14218 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14220 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14222 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14223 alignment commands (when needed).
14225 * text.C (InsertChar): Add ':' to number separator chars.