1 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4 * lyxfunc.C: remove insetminipage. "minipage-insert"
5 now produces a frameless minipage box inset.
7 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
9 * textcursor.[Ch] (selStart,selEnd): add new methods
10 remove selection::start, end, use LyXCursor::operator<
11 * lyxcursor.[Ch] (operator<): add
12 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
13 * BufferView.[Ch] (unsetXSel): add
14 * text2.C (clearSelection): use unsetXSel,adjust
17 * rowpainter.C: adjust
18 * bufferview_funcs.C (put_selection_at): adjust
20 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
22 * BufferView_pimpl.C: small coord. correction
24 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
26 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
27 dragging over the splash screen.
29 2003-12-11 Angus Leeming <leeming@lyx.org>
31 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
32 as it is now handled in LyXText::dispatch.
34 * text3.C (doInsertInset): remove a level of nesting.
36 2003-12-11 Angus Leeming <leeming@lyx.org>
38 * factory.C (createInset): changes due to the changed interface to
39 InsetCommandMailer::string2params.
41 2003-12-10 Angus Leeming <leeming@lyx.org>
43 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
44 'dialog-show-new-inset <inset name>'
46 2003-12-10 Angus Leeming <leeming@lyx.org>
48 * buffer.C: up the format to 227.
50 * factory.C: the box inset is now identified simply by 'Box'.
52 2003-12-10 Angus Leeming <leeming@lyx.org>
54 * buffer.C: up the format to 226.
56 * factory.C: the note inset is now identified simply by 'Note'.
58 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
60 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
61 when a pit is enough. Standarize a couple of loops.
63 2003-12-05 Angus Leeming <leeming@lyx.org>
65 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
66 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
67 data to the re-worked "log" dialog.
69 2003-12-03 André Pönitz <poenitz@gmx.net>
77 * text2.C: use Inset::getText instead of Inset::getParagraph
79 2003-12-03 André Pönitz <poenitz@gmx.net>
83 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
84 InsetText::read() as LyXText::read()
86 2003-12-02 Angus Leeming <leeming@lyx.org>
88 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
89 type. Add a comment in the implementation that the function uses
90 the stream's bad() function rather than fail() as the std::streams
93 2003-12-02 André Pönitz <poenitz@gmx.net>
95 * lyxlex.[Ch]: make interface more similar to std::stream
97 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
99 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
101 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
103 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
105 * vspace.[Ch]: remove VSpace::NONE
107 2003-12-01 André Pönitz <poenitz@gmx.net>
110 * lyxtext.h: move ParagraphList member to LyXText
111 rename LyXText::ownerParagraphs to LyXText::paragraph
114 * bufferview_funcs.C:
124 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
126 * undo.C: fix cursor positioning
128 2003-12-01 John Levon <levon@movementarian.org>
130 * BufferView_pimpl.C: fix a crash on exit with
133 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
135 * BranchList.C: fix setSelected() method.
137 2003-11-28 André Pönitz <poenitz@gmx.net>
139 * ParagraphParameters.[Ch]:
140 * ParameterStruct.h: remove space above/below from Paragraph to
143 * BufferView_pimpl.C:
155 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
157 * factory.C: Syntax change for CharStyles
159 2003-11-28 André Pönitz <poenitz@gmx.net>
164 * buffer.[Ch]: move LyXText member
166 2003-11-28 André Pönitz <poenitz@gmx.net>
168 * BufferView.[Ch]: make LyXText * text a private member
170 * BufferView_pimpl.C:
181 * output_plaintext.C: cleanup
183 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
186 * lyxtextclass.[Ch]: parametrize SGML document header
188 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
191 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
194 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
196 * text2.C (setFont): rework using PosIterator (no more recursive)
197 (setCharFont): no more needed
198 (setLayout): no more selection cursors fiddling (done by redoCursor)
199 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
200 destroy remaining ones)
202 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
204 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
206 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
209 * text3.C: adjust + re-allow multi par depth changes
210 * textcursor.C: simplify a bit
212 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
218 * src/output_docbook.C:
219 * src/output_latex.C:
224 * src/text2.C: Introducing a number of tags parametrizing various
225 XML formats that we may want to support
227 2003-11-25 André Pönitz <poenitz@gmx.net>
229 * InsetList.[Ch] (begein, end): inline as suggested by profiler
231 * lyxtext.h (leftMargin/rightMargin): simplify interface
238 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
240 * lyxfunc.C (dispatch): propogate the bibtex databases from the
241 master file to any child files. Fixes bug 546.
243 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
245 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
247 2003-11-24 André Pönitz <poenitz@gmx.net>
249 * rowpainter.C: simplification
251 * text2.C (updateCounters): remove call to redoParagraph on
252 changed labels as this is far too expensive.
254 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
256 * converter.C (convert): fix a crash: this function gets
257 called with buffer == 0 from importer code.
259 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
261 * text3.C (cursorPrevious): make sure that we do not compare
262 iterators form different containers.
265 * rowpainter.C (paintSelection): make sure that we do not compare
266 iterators from different containers.
268 * text3.C (dispatch): [PRIOR] make sure that we do not compare
269 iterators from different ParagraphList containers.
272 * text2.C (LyXText): change order of initialization slightly
273 (operator=): new function. copy all variables except cache_par_
274 (moveUp): make sure that we do not compare iterators from
275 different ParagraphList constainers.
278 * text.C (firstPar): new function
279 (lastPar): new function
280 (endPar): new function
282 * lyxtext.h: move things around and group public functions, public
283 variables, private functions, private variables
285 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
287 * factory.C: change call to InsetERT constructor to avoid
288 additional invocation of method status
289 * text2.C (toggleInset): remove redundant update() call
290 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
291 instead of a Bufferview pointer
293 2003-11-21 André Pönitz <poenitz@gmx.net>
295 * rowpainter.C: simplification
297 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
299 * text3.C (dispatch): make possible to extend a word/row selection
302 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
304 * lyxtext.h: x0_,y0_ -> xo_,yo_
305 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
306 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
307 * rowpainter.C (paintRows): paint full paragraphs
309 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
311 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
314 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
316 * lyxtext.h: add x0_, y0_
317 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
318 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
320 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
322 * text2.C (setCursorIntern): move the x_target update here *
323 * text3.C: change some bv() to true/false in calls to
324 cursorUp/Down/Right/Left
325 * cursor.C: use helper function.
327 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
329 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
330 * paragraph_funcs.[Ch]: correct comment
331 * rowpainter.C: do not paint selections away from bv->cursor()
332 Fix a long standing selection painting bug.
333 * text3.C: generalize mouse-selection code to LyXTexts other that
335 * textcursor.C: do not use y coords if we can use par offsets
337 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
339 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
340 cursor position after e.g. inset insert)
342 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
344 * lyxfind.C (replace): adjust to locking removal + some
347 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
349 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
352 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
355 * output_docbook.C: XML sanitation: new layout
356 parameters InnerTag and CommandDepth
358 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
360 * BufferView_pimpl.C:
362 * text3.C: Fix the insertion and modification of button-style
365 2003-11-13 André Pönitz <poenitz@gmx.net>
367 * InsetList.[Ch]: remove deleteLyXText
369 * paragraph.[Ch]: cache beginOfBody position
374 * text3.C: remove superfluous update() calls
378 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
380 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
381 * BufferView.C (fitLockedInsetCursor): remove
382 * cursor.[Ch] (getDim): add
383 * text.C (getRowNearY): add faster version
384 * text3.C: remove some update calls
386 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
398 * text3.C: The Character Style /XML short element patch.
400 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
403 * factory.C: Small step to solving 'unable to insert some insets'
406 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
408 * cursor.[Ch] (updatePos): new function for updating the y
409 position of the tip inset
410 * bufferview_funcs.C (put_selection_at):
411 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
413 2003-11-11 André Pönitz <poenitz@gmx.net>
415 * text.C: remove big comment on invalid Paragraph pointers as it is
418 2003-11-11 André Pönitz <poenitz@gmx.net>
420 * text_funcs.[Ch]: merge with ...
428 * Makefile.am: remove text_funcs.[Ch]
430 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
432 * cursor.C (getPos): return absolute cached y coord
434 * BufferView_pimpl.C (fitCursor): new simplistic code
435 (workAreaDispatch): add a fitCursor call
437 2003-11-10 André Pönitz <poenitz@gmx.net>
440 * BufferView_pimpl.[Ch]: merge update() and updateInset()
442 2003-11-10 André Pönitz <poenitz@gmx.net>
444 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
445 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
446 indicate that the cursor needs to leave an inset
448 * lyxtext.h: remove inset locking
450 * cursor.[Ch]: re-implement functionality provided by inset locking
453 * BufferView_pimpl.[Ch]:
455 * bufferview_funcs.[Ch]:
467 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
469 * PosIterator.[Ch]: replace the stack with a vector, add inset
471 * iterators.[C]: adjust
473 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
475 * lyxfind.C (replaceAll): mark the buffer dirty if something was
477 * paragraph_funcs.C (readParToken): put the correct id in the
478 error item, not the id of the top paragraph
480 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
482 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
483 * bufferview_funcs.C (put_selection_at): use the above
485 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
487 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
489 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
492 * output_plaintext.h:
494 * output_docbook.h: add #include statements
496 2003-11-05 José Matos <jamatos@lyx.org>
498 * output_docbook.[Ch]:
500 * output_linuxdoc.[Ch]:
501 * output_plaintext.[Ch]: New files for output formats.
502 * output.[Ch]: New file for helper functions.
505 * paragraph_funcs.[Ch]: output functions moved to new files.
507 * outputparams.h: rename of latexrunparams.h
515 * paragraph_funcs.[Ch]:
516 * paragraph_pimpl.[Ch]:
517 * tabular.[Ch]: rename ascii to plaintext
518 and LatexRunParams to OutputParams.
520 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
522 * iterators.[Ch] (text): require bv argument
523 * undo.C (recordUndo):
524 * lyxfunc.C (dispatch):
525 * bufferview_funcs.C (put_selection_at): adjust
527 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
529 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
531 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
533 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
536 2003-11-04 André Pönitz <poenitz@gmx.net>
538 * cursor.[Ch]: restructure
541 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
543 * iterators.[Ch] (asCursor): remove
545 * lfuns.h: remove LFUN_INSET_EDIT
551 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
553 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
555 * lyxfind.[Ch]: complete overhaul
556 * BufferView_pimpl.C:
558 * paragraph.[Ch] (insert): add
560 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
564 * text.C: remove dead spellcheck code
566 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
568 * dispatchresult.h: add a val setter
570 * cursor.C (dispatch): use a tempvar for data_[i]
572 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
574 * PosIterator.[Ch]: compile fix
576 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
578 * text.C (cursorPar): deactivate the cursor cache
580 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
582 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
584 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
586 * text3.C (dispatch): adjust for new DisptchResult semantics.
588 * lyxfunc.C (dispatch): handle update when return from
589 Cursor::dispatch, adjust for new DispatchResult semantics.
591 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
592 DispatchResult(true) mean to not update. Add class functions for
593 setting dispatched and update, as well as reading.
595 * cursor.C (dispatch): don't handle update here
597 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
599 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
600 * trans_mgr.C: adjust
602 * paragraph_funcs.C (readParToken): exception safety
604 * lyxvc.h: store the vcs pointer in a scoped_ptr
607 * lyxsocket.C (serverCallback): exception safety
609 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
611 * ispell.C (clone): make it return a auto_ptr
613 * factory.C (createInset): exception safety
614 (readInset): exception safety
616 * bufferlist.C (newBuffer): exception safety
618 * Thesaurus.C (Thesaurus): use initialization for aik_
620 * MenuBackend.C (expandToc): exception safety.
622 2003-11-03 André Pönitz <poenitz@gmx.net>
626 * bufferview_funcs.C: remove getInsetFromId()
629 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
635 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
637 * PosIterator.C (distance, advance): new
638 * bufferview_funcs.[Ch] (put_selection_at): new
639 * iterators.[Ch] (lockPath): new
641 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
643 * iterators.[Ch] (asPosIterator): added
644 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
645 * PosIterator.[Ch]: added
647 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
651 * cursor.C (dispatch):
652 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
654 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
655 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
656 contructor, add a class function dispatched. Remove operator>=
658 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
660 * debug.C: only use the default constructor for debugstream
663 * main.C (main): include debug.h and setup the lyxerr streambuf
666 2003-10-31 José Matos <jamatos@lyx.org>
668 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
670 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
671 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
672 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
673 * paragraph_pimpl.C (simpleTeXSpecialC):
674 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
675 add LatexRunParams argument.
677 * exporter.C (Export): change call accordingly.
679 * latexrunparams.h: add new member to take care of the other backends.
680 2003-10-30 José Matos <jamatos@lyx.org>
682 * buffer.C (makeLinuxDocFile, makeDocBookFile):
683 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
684 factorise code for paragraph output.
686 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
689 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
691 * text3.C (dispatch):
692 * lyxfunc.C (dispatch):
693 * cursor.C (dispatch):
694 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
696 * dispatchresult.h: make the dispatch_result_t ctor explicit
698 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
701 * buffer.C: small refactoring of docbook stuff
703 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
705 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
708 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
710 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
711 operator dispatch_result_t, and operators for == != and >=
713 * cursor.C (dispatch): adjust for operator dispatch_result_t
714 removal. comment out call to update
716 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
718 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
726 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
729 * dispatchresult.h: new file, DispatchResult broken out of
732 * Makefile.am (lyx_SOURCES): add dispatchresult.h
734 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
736 * text.C (rowBreakPoint): put a hack inside #if 0
738 2003-10-28 André Pönitz <poenitz@gmx.net>
745 * text2.C: general cleanup (lots of small stuff)
747 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
749 * text2.C (cursorEnd): simple fix to the "end key goes to one
750 before the end on last row" bug
752 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
754 * text.C (backspace): fix the "zombie characters"
756 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
758 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
760 2003-10-27 André Pönitz <poenitz@gmx.net>
762 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
764 * factory.C: handle new InsetPagebreak, InsetLine
766 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
767 and move handling into new InsetPagebreak, InsetLine
769 * BufferView_pimpl.C:
771 * ParagraphParameters.C:
784 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
793 * text3.C: remove lastPos uses in favour of Row::endpos
795 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
797 * undo.C (performUndoOrRedo): fix two crashes by setting a
798 cursor by hand and reordering some calls. Use bv->lockInset instead
799 of inset->edit because the latter loses cursor information
801 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
803 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
805 (rowBreakPoint): fix width. change point to point + 1.
808 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
811 * lyxfunc.C: fix (at least partly) the problems
812 with the Nav menu and headers inside branch insets
815 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
817 * paragraph.C (getChar): add strong asserts
819 * lyxrow_funcs.C (lastPos): remove hideous hack
821 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
822 (fill): adjust to that (avoid an infinite loop)
824 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
826 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
828 2003-10-23 André Pönitz <poenitz@gmx.net>
830 * RowList_fwd.h: change list<> to vector<> to gain speed
831 after suggestion from Alfredo
833 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
835 * lyxtext.h: move the bidi stuff from here...
838 * Bidi.[Ch]: ... to here
840 2003-10-23 André Pönitz <poenitz@gmx.net>
843 * text.C (isLastRow, isFirstRow): new functions
845 * paragraph.h: new width cache member
847 * rowpainter.C: replace RowList::iterator with Row & where possible
849 * lyxfunc.C: replace several view()->text with a single call
851 * toc.C: fix 'unused' warning
853 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
855 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
856 when woring with stream::pos_type
857 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
859 2003-10-22 André Pönitz <poenitz@gmx.net>
862 * text.C: use Row & instead of RowList::iterator
864 * lyxrow.h: rename end() to endpos()
870 2003-10-22 Angus Leeming <leeming@lyx.org>
872 * buffer.[Ch] (fully_loaded): new member function, returning true
873 only when the file has been loaded fully.
874 Used to prevent the premature generation of previews and by the
875 citation inset to prevent computation of the natbib-style label.
877 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
878 templates are all set up.
880 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
882 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
884 * text.C: fixed an "oops" in the "is a bit silly"
887 2003-10-21 André Pönitz <poenitz@gmx.net>
889 * FuncStatus.[Ch]: small stuff, whitespace
891 * lyxfont.[Ch]: operator<<() for debug reasons
895 * lyxtext.h: whitespace, spelling
897 * paragraph.C: naming of variables
900 * text2.C: small stuff
903 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
905 * text.C: (1) finish off the inset display() work;
906 (2) fix the "is a bit silly" bug (accessing char
909 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
911 * text.C: re-introduce display() for insets, fixing the
912 various bugs (stretch of line above, math inset
915 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
917 * text.C (rightMargin): remove spurious semicolon
919 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
922 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
924 * text3.C: fix one crash due to wrong cursor def
926 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
928 * vc-backend.C (scanMaster): make the regex static
930 * LaTeX.C (scanAuxFile): make the regexs static
932 * text3.C (doInsertInset, dispatch, dispatch):
933 * text2.C (cursorUp, cursorDown):
934 * text.C (selectNextWordToSpellcheck):
935 * BufferView_pimpl.C (dispatch):
936 * lyxfunc.C (dispatch): localDispatch -> dispatch
938 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
940 * lyxsocket.C: include <cerrno>
942 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
944 * lyxfunc.C (dispatch): remove textcache stuff
946 * bufferlist.C (release): remove textcache stuff
949 * TextCache.C: delete file
950 * TextCache.h: delete file
952 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
954 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
955 delete of the bv_->text.
956 (resizeCurrentBuffer): remove texcache stuff
957 (workAreaResize): ditto
959 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
961 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
964 2003-10-16 André Pönitz <poenitz@gmx.net>
971 * text3.C: speed up by storing y positions per paragraph plus per-row
972 offset instead of having a 'full' y position in the row.
974 2003-10-15 André Pönitz <poenitz@gmx.net>
978 * undo.[Ch]: make undo aware of inner insets
980 2003-10-14 Angus Leeming <leeming@lyx.org>
982 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
983 static member functions LyX::ref() and LyX::cref.
984 (lastfiles): new accessor functions for the new lastfiles_ member var.
985 (addLyXView, views_): add a new LyXView to the list of views_.
986 (updateInset): loop over all LyXViews to call their own updateInset
987 member function, returning a pointer to the Buffer owning the inset.
989 * BufferView_pimpl.C (loadLyXFile):
990 * MenuBackend.C (expandLastfiles):
991 * bufferlist.C (MenuWrite, QuitLyX):
992 lastfiles is no longer a global variable.
993 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
995 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
996 static function. Access through LyX::cref().emergencyCleanup().
998 2003-10-14 André Pönitz <poenitz@gmx.net>
1000 * iterators.[Ch]: new direct access to innermost LyXText and Inset
1002 * undo.[Ch]: restoring part of 'undo in insets'
1005 * undo_funcs.[Ch]: merge with undo.[Ch]
1007 * tabular.C: small cleansing stuff
1009 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
1011 * paragraph_funcs.C (readParToken): report unknown insets as error
1012 boxes. Use the outer paragraph as location (also for unknown
1015 * factory.C (readInset): do not abort on reading an unknown inset.
1016 Eat it and return 0.
1018 2003-10-13 Angus Leeming <leeming@lyx.org>
1020 * lyx_main.C (LyX): remove call to setDisplayTranslator().
1022 * lyxrc.C: displayTranslator is now a function,
1023 declared in GraphicsTypes.h.
1025 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1027 * format.C: new placeholder $$a to pass the socket address.
1029 * bufferlist.[Ch]: new function getBufferFromTmp.
1031 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1032 files in the temporary dir.
1034 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1036 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1038 * Makefile.am: add lyxsocket.[Ch].
1040 * lyx_main.C (error_handler): handle SIGPIPE.
1042 2003-10-13 André Pönitz <poenitz@gmx.net>
1044 * BufferView_pimpl.C:
1049 * undo_funcs.[Ch]: use paroffset_type instead of
1050 ParagraphList::iterators to prevent multiple conversion
1051 (and get a more robust interface)
1053 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1055 * lyxfunc.C (dispatch): RESULT -> dispatch_result
1057 * text3.C (dispatch): ditto
1059 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1061 * LaTeX.C (handleFoundFile): move the static to smaller scope,
1062 move the onlyfile, use onlyfile instead of foundfile in a couple
1065 * DepTable.C (update): flush the error stream a bit more
1067 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1069 * lyxserver.C (callback): adjust
1071 * lyxfunc.C (getStatus): add a missing brace in commented code
1072 (ensureBufferClean): reindent
1073 (dispatch): delete version taking a string
1075 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1077 * LaTeX.C (deplog): move found file handlig from here...
1078 (handleFoundFile): .. to new function here.
1079 (deplog): make sure to discover several files mentioned on the
1082 2003-10-10 André Pönitz <poenitz@gmx.net>
1089 * text3.C: fix some of the tabular crashes
1091 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1093 * MenuBackend.C (binding): put debug message into Debug::KBMAP
1095 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1097 2003-10-09 André Pönitz <poenitz@gmx.net>
1099 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1102 * BufferView_pimpl.C:
1103 * bufferview_funcs.C:
1114 * undo_funcs.C: adjust
1116 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1118 * text2.C (incrementItemDepth): new function, use a backtracking
1119 algorithm to discover the correct item depth.
1120 (resetEnumCounterIfNeeded): new function, use a backtracking
1121 algorithm to discover if counter reset is needed.
1122 (setCounter): use them. Simplify a bit. Add different labels for
1123 different item depths for itemize.
1125 * paragraph.C (Paragraph): remove initialization of enumdepth
1128 * paragraph.h: get rid of enumdepth, and use itemdepth both for
1129 enumerate and itemize. Change the type of itemdepth to signed char.
1131 2003-10-08 André Pönitz <poenitz@gmx.net>
1133 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1138 * tabular.[Ch]: fix crash after 'row-insert'
1140 2003-10-08 Angus Leeming <leeming@lyx.org>
1142 Fix doxygen warnings.
1144 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1145 Remove CutAndPaste:: prefix from header file declaration.
1147 * LColor.h (fill): remove LColor:: prefix from declaration.
1149 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1150 use lyx::depth_type rather than Paragraph::depth_type so that
1151 header file and .C file match.
1153 * converter.h (intToFormat): remove Converters:: prefix from declaration.
1155 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1156 * aspell.C: \file aspell_local.C -> \file aspell.C
1157 * gettext.C: \file gettext.C -> \file src/gettext.C
1158 * gettext.h: \file gettext.h -> \file src/gettext.h
1159 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1160 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1161 * text.C: \file text.C -> \file src/text.C
1163 * toc.C: move comment so that doxygen is not confused.
1165 2003-10-07 Angus Leeming <leeming@lyx.org>
1167 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1169 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1172 * aspell_local.h: add forgotten std::string's.
1174 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1181 * text3.C: The Box patch. Fancybox support, minipage, parbox
1183 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1189 * ParagraphParameters.h:
1199 * lyxtextclasslist.h:
1202 * paragraph_pimpl.C:
1203 * textcursor.h: add <string> and other small fixes to make Lars'
1204 std::string patch compile with STLport.
1206 2003-10-06 Angus Leeming <leeming@lyx.org>
1208 * LColor.h: Add missing #include <string>.
1210 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1212 * All most all file in all subdirs: Make <string> be the prefered
1213 way of getting to std::string, add using declarations.
1215 2003-10-06 André Pönitz <poenitz@gmx.net>
1217 * metricsinfo.C: initialize LyXFont before changing attribute.
1218 (fixes the 'math in \emph is upright' bug)
1220 2003-10-06 André Pönitz <poenitz@gmx.net>
1222 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1224 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
1227 * paragraph_pimpl.C: Small fixes to build using STLport
1229 2003-10-02 André Pönitz <poenitz@gmx.net>
1232 * text3.C: move handling of LFUN_DEPTH *; fix #1360
1234 2003-10-01 André Pönitz <poenitz@gmx.net>
1236 * factory.C: assert early
1238 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1240 * lyx_main.C: remove the global debug object
1242 * debug.h: adjust for new debugstream
1244 * debug.C: adjust for new debugstream and keep the global debug
1247 2003-09-22 Angus Leeming <leeming@lyx.org>
1249 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1250 of g++ which otherwise complain that the scoped_ptr destructor can't delete
1251 an incomplete class LyXFont.
1253 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1255 * factory.C: bug fix in branches
1257 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1259 * lyxfunc.C (processKeySym): adjust
1261 (dispatch): change arg name from ev to func, adjust
1262 (sendDispatchMessage): ditto
1264 * lyx_main.C (defaultKeyBindings): adjust keybindings
1265 (deadKeyBindings): ditto
1267 * kbsequence.C (addkey): return a FuncRequest
1269 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1271 * kbmap.C (bind): take a FuncRequest as arg, adjust
1274 (defkey): change to take a FuncRequest as arg, adjust
1275 (findbinding): take a FuncRequest as arg, adjust.
1277 * funcrequest.h (operator=): added
1279 * funcrequest.C (FuncRequest): default kb_action changed from
1280 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1282 * buffer.C (dispatch): simplify
1283 (dispatch): adjust to take a FuncRequest as arg, adjust
1285 * boost.C (assertion_failed): change assertion message slightly
1287 * ToolbarBackend.C (read): simplify
1289 * MenuBackend.C (binding): adjust call to findbinding, add a
1290 message if no binding is found.
1292 (expandToc): correct by adding a empty FuncRequest
1294 * LyXAction.C: include <boost/assert.hpp>
1295 (isPseudoAction): delete function
1296 (LookupFunc): change name to...
1297 (lookupFunc): this. change return type to FuncRequest.
1298 (getActionName): take kb_action as arg, simplify
1299 (funcHasFlag): add an assert, simplify.
1301 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1303 * toc.C (action): return a FuncRequest, simplify
1305 * lyxfunc.C (processKeySym): adjust
1306 (getStatus): delete version that takes an int.
1308 (dispatch): delete version that takes action as int
1310 (sendDispatchMessage): simplify and adjust
1312 * funcrequest.C (getArg): take unsigned int as arg
1314 * ToolbarBackend.C (read): adjust
1315 (add): delete version that takes func as a string.
1316 (getIton): take a FuncRequest as arg
1318 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1321 * MenuBackend.C (MenuItem): add a new construct that only takes a
1322 Kind, simplify the constructor use for submenus.
1324 (expandLastfiles): adjust
1325 (expandDocuments): adjust
1326 (expandFormats): adjust
1327 (expandFloatListInsert): adjust
1328 (expandFloatInsert): adjust
1329 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1331 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1332 Remove class variables lyx_pseudo_map and lyx_arg_map
1334 * LyXAction.C (searchActionArg): delete function
1335 (getPseudoAction): delete function
1336 (retrieveActionArg): delete function
1337 (LookupFunc): make it return kb_action, simplify.
1338 (getActionName): simplify
1340 * factory.C (createInset): fix new bug
1342 2003-09-19 Angus Leeming <leeming@lyx.org>
1344 * CutAndPaste.C (pasteSelection): remove fudge used to set the
1345 masterFilename_ parameter in the include inset.
1347 * factory.C (createInset): changes due to the changes to InsetInclude.
1349 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1351 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1353 2003-09-18 Angus Leeming <leeming@lyx.org>
1356 * BufferView.C: pass the buffer when calling Inset::getLabelList,
1357 Inset::fillWithBibKeys.
1358 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1360 2003-09-18 Angus Leeming <leeming@lyx.org>
1362 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1364 (ctor): pass and store a 'Buffer const &'
1365 (buffer): new member function.
1367 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1368 '*this' to the LaTeXFeatures ctor.
1370 2003-09-18 Angus Leeming <leeming@lyx.org>
1376 * text.C: rename EnumLColor as LColor_color.
1378 2003-09-18 Angus Leeming <leeming@lyx.org>
1380 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1381 remove #include "insets/insetbase.h" from cursor.h.
1383 2003-09-18 Angus Leeming <leeming@lyx.org>
1385 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1386 InsetOld_code to remove #include "inset.h".
1388 * iterators.C: add #include "insets/inset.h"
1390 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
1392 * BufferView.C: remove more locking stuff that apparently doesn't
1393 do anything sensible.
1395 2003-09-16 André Pönitz <poenitz@gmx.net>
1398 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1401 2003-09-16 Angus Leeming <leeming@lyx.org>
1403 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1405 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1408 * paragraph.h: remove #include "lyxfont.h". Forward declare
1411 2003-09-16 Angus Leeming <leeming@lyx.org>
1413 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1414 of support/textutils.h.
1415 (isWord): move the contents of support/textutils.h's IsWordChar here.
1421 * text2.C: add #include "paragraph.h".
1424 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1426 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1432 * LaTeX.C: use namespace alias for lyx::support::os
1434 2003-09-16 Angus Leeming <leeming@lyx.org>
1437 * bufferview_funcs.C:
1440 * paragraph_pimpl.C:
1442 * text.C: add #include "LColor.h".
1444 2003-09-16 Angus Leeming <leeming@lyx.org>
1446 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1447 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1449 Store the FontBits::color variable as an int rather than as an
1450 LColor::colorso that we can move LColor.h out of the lyxfont.h header
1453 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1454 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1455 string calls together.
1457 * lyxrc.C: add #include "LColor.h".
1459 2003-09-15 Angus Leeming <leeming@lyx.org>
1461 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1464 2003-09-15 Angus Leeming <leeming@lyx.org>
1466 * LColor.h: add an EnumLColor wrapper for LColor::color.
1468 * lyxfont.[Ch] (color, setColor, realColor):
1469 * lyxtext.h, text.C (backgroundColor):
1470 pass EnumLColor args to/from the functions, rather than LColor::color
1474 * lyxtext.h: forward declare EnumLColor.
1476 * lyx_main.C: add #include "LColor.h".
1478 2003-09-15 Angus Leeming <leeming@lyx.org>
1480 * .cvsignore: add lyx-gtk.
1482 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1487 * ParagraphParameters.C
1491 * bufferview_funcs.C
1501 * vc-backend.C: remove usage of STRCONV
1503 2003-09-15 Angus Leeming <leeming@lyx.org>
1505 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1506 explicitly define the color passed to the painter.
1508 2003-09-15 Angus Leeming <leeming@lyx.org>
1510 * bufferparams.C (BufferParams): reorder member initializers to avoid
1513 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
1515 * CutAndPaste.C (pasteSelection): remove an outdated #warning
1516 * text.C (updateRowPositions): remove an unusual nop
1518 2003-09-12 André Pönitz <poenitz@gmx.net>
1520 * BufferView_pimpl.C:
1529 * Counters.[Ch]: finish the 'automatic counters' job
1531 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1533 * aspell.C: include <boost/assert.cpp> (compile fix)
1535 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1537 * boost.C (assertion_failed): use lyx::support::abort instead of
1540 2003-09-10 Angus Leeming <leeming@lyx.org>
1542 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1543 with their _fwd progeny.
1545 2003-09-09 Angus Leeming <leeming@lyx.org>
1547 134 files throughtout the source tree: replace 'using namespace abc;'
1548 directives with the appropriate 'using abc::xyz;' declarations.
1550 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1552 * boost.C (emergencyCleanup): moved here from LAssert.c
1553 (assertion_failed): new function, called by BOOST_ASSERT
1555 * several files: change Assert to BOOST_ASSERT
1557 2003-09-09 Angus Leeming <leeming@lyx.org>
1559 * buffer.[Ch]: Add an Impl class and move Buffer's member
1560 variables into it. As a result move several header files out of
1563 Add header files to lots of .C files all over the tree as a result.
1565 2003-09-09 Angus Leeming <leeming@lyx.org>
1567 * buffer.[Ch]: make Buffer's member variables private. Add
1570 Lots of changes all over the tree as a result.
1572 2003-09-08 Angus Leeming <leeming@lyx.org>
1574 * graph.C: #include <config.h>.
1576 2003-09-08 Angus Leeming <leeming@lyx.org>
1580 * BufferView_pimpl.C:
1609 * toc.C: remove redundant using directives.
1611 2003-09-07 Angus Leeming <leeming@lyx.org>
1613 * LaTeXFeatures.h: remove #include "support/types.h".
1614 * ToolbarBackend.h: remove #include <algorithm>.
1615 * changes.h: remove #include <ctime>.
1616 * debug.h: remove #include <iosfwd>.
1617 * graph.h: remove #include "support/std_string.h".
1618 * lyx_main.h: remove #include <csignal>.
1619 * lyxlex_pimpl.h: remove #include <fstream>.
1620 * sgml.h: remove #include <algorithm>, <utility>.
1621 * toc.h: remove #include "support/std_ostream.h".
1622 Add #include <iosfwd>.
1624 2003-09-07 Angus Leeming <leeming@lyx.org>
1626 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1628 * converter.h: forward declare LatexRunParams.
1629 * encoding.h: remove #include "lyxrc.h".
1630 * lyxtext.h: remove #include "LColor.h".
1631 * lyxtextclass.h: remove #include "support/types.h".
1632 * trans.h: remove #include "tex-accent.h".
1633 * trans_mgr.h: remove #include "tex-accent.h".
1634 * insets/inset.h: remove #include "support/types.h", <vector>.
1635 * insets/insetcollapsable.h: remove #include "LColor.h".
1636 * insets/insetinclude.h: remove #include "dimension.h".
1637 * insets/insetlatexaccent.h: remove #include "dimension.h".
1638 * insets/insetoptarg.h:: remove #include "insettext.h".
1639 * insets/insettext.h: remove #include "dimension.h",
1640 <boost/shared_ptr.hpp>
1642 * insets/renderers.h: add #include "dimension.h".
1643 * insets/updatableinset.h: add #include "support/types.h".
1645 * many .C files: Associated changes.
1647 2003-09-06 Angus Leeming <leeming@lyx.org>
1649 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1650 one, inside testInvariant.
1652 * PrinterParams.C: new file.
1653 * PrinterParams.[Ch]: move the function bodies out of line.
1655 2003-09-06 Angus Leeming <leeming@lyx.org>
1657 * ParagraphParameters.h: forward declare ParameterStruct rather than
1658 including its header file.
1659 (depth): moved out-of-line.
1661 2003-09-06 Angus Leeming <leeming@lyx.org>
1663 * BufferView_pimpl.h:
1666 * lyxfunc.h: forward declare LyXKeySym rather than
1667 #include "frontends/LyXKeySym.h".
1669 * BufferView_pimpl.C:
1672 * lyxfunc.C: associated changes.
1674 2003-09-06 Angus Leeming <leeming@lyx.org>
1676 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1677 As a result, can remove the #include "insets/inset.h" from BufferView.h
1679 2003-09-06 Angus Leeming <leeming@lyx.org>
1681 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1682 As a result, can remove the #include "insets/inset.h" from BufferView.h
1684 2003-09-06 Angus Leeming <leeming@lyx.org>
1690 * bufferview_funcs.C:
1691 * BufferView_pimpl.C:
1696 * ParagraphParameters.C:
1701 * frontends/controllers/ControlDocument.C:
1702 * insets/insetcaption.C: rearrange the #includes into some sort of
1705 * buffer.h: remove #includes ErrorList.h, undo.h
1707 2003-09-06 Angus Leeming <leeming@lyx.org>
1709 * support/types.h: add a 'depth_type' typedef, used to store the
1710 nesting depth of a paragraph.
1713 * ParameterStruct.h: use this lyx::depth_type typedef rather than
1714 defining explicitly.
1717 * paragraph_funcs.h:
1718 * ParagraphParameters.h:
1719 * sgml.h: use lyx::depth_type rather than Paragraph or
1720 ParameterStruct's depth_type.
1723 * paragraph_funcs.h: no need to #include paragraph.h anymore.
1726 * BufferView_pimpl.C:
1728 * ParagraphParameters.C:
1731 * bufferview_funcs.C:
1738 * frontends/LyXView.C:
1739 * frontends/controllers/ControlDocument.C:
1740 * frontends/controllers/ControlErrorList.C:
1741 * insets/insetbibitem.C:
1742 * insets/insetbranch.C:
1743 * insets/insetcaption.C:
1744 * insets/insetcollapsable.C:
1745 * insets/insetenv.C:
1746 * insets/insetert.C:
1747 * insets/insetfloat.C:
1748 * insets/insetfoot.C:
1749 * insets/insetfootlike.C:
1750 * insets/insetnewline.C:
1751 * insets/insetquotes.C:
1752 * insets/insettabular.C:
1753 * insets/insettext.C:
1754 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1756 * frontends/controllers/ControlChanges.C: #include "changes.h".
1758 2003-09-06 Angus Leeming <leeming@lyx.org>
1760 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1761 than #including paragraph.h.
1764 * RowList.h: deleted. Superfluous.
1774 * insets/insettext.h: use ParagraphList_fwd.h rather than
1777 * paragraph.h: don't forward declare ParagraphList.
1780 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1781 rather than ParagraphList.h. paragraph.h is still needed for the
1782 Paragraph::depth_type parameters.
1784 * textcursor.h: enable it to compile stand-alone in light of the
1787 * bufferview_funcs.C:
1799 * frontends/controllers/ControlParagraph.C:
1800 * frontends/controllers/ControlTabular.C:
1801 * insets/insetmarginal.C:
1802 * insets/insetminipage.C:
1803 * insets/insetnote.C:
1804 * insets/insetoptarg.C: add header files needed to compile again.
1806 2003-09-06 Angus Leeming <leeming@lyx.org>
1808 * RowList_fwd.h: new file, forward-declaring Row rather than
1809 #including lyxrow.h.
1814 * insets/insettext.h: use it instead of RowList.h
1816 * bufferview_funcs.C:
1823 * text3.C: #include "RowList.h".
1825 2003-09-05 Angus Leeming <leeming@lyx.org>
1827 * factory.C (createInset):
1828 * vspace.C (c-tor): replace sscanf call with an istringstream.
1829 * ispell.C: re-add missing HP/UX headers.
1830 * lyxserver.C: re-add missing os2 headers.
1832 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
1841 * text3.C: re-add missing system headers, needed for 2.95.2.
1843 2003-09-05 Angus Leeming <leeming@lyx.org>
1845 Changes most place everywhere due to the removal of using directives
1846 from support/std_sstream.h.
1848 2003-09-05 Angus Leeming <leeming@lyx.org>
1850 Replace LString.h with support/std_string.h,
1851 Lsstream.h with support/std_sstream.h,
1852 support/LIstream.h with support/std_istream.h,
1853 support/LOstream.h with support/std_ostream.h.
1855 Changes resulting throughout the tree.
1857 2003-09-05 Angus Leeming <leeming@lyx.org>
1859 * sgml.h: ensure that the header file can be compiled stand-alone.
1860 * *.C: strip out redundant #includes. (320 in total.)
1862 2003-09-04 Angus Leeming <leeming@lyx.org>
1864 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1865 here (from getPackages).
1867 * debug.[Ch]: add a new EXTERNAL tag.
1869 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1871 * text2.C (cursorEnd): simplify
1873 (getColumnNearX): adjust
1875 * text.C (computeBidiTables): adjust
1878 * rowpainter.C (paintChars): adjust
1879 (paintSelection): adjust
1880 (paintChangeBar): adjust
1883 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1885 (numberOfSeparators): adjust
1887 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1893 * text3.C: Restricts the mouse click functionality
1894 of insets like bibtex, include, toc and floatlist to the visible
1895 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1896 up the dialogs. Cursor has to be in front of the inset (i.e.
1897 start of row) for this to function.
1899 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1901 * bufferview_funcs.C (currentState): output row information
1903 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1905 * bufferview_funcs.C (currentState): output paragraph position
1907 2003-09-04 Angus Leeming <leeming@lyx.org>
1909 * FloatList.h: move out #include "Floating.h".
1910 * LaTeX.h: move out #include "DepTable.h".
1911 * LyXAction.h: move out #include "funcrequest.h".
1912 * buffer.h: move out #include "author.h", "iterators.h".
1913 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1914 * lyx_main.h: move out #include "errorlist.h".
1915 * lyxfunc.h: move out #include "FuncStatus.h".
1916 * lyxtext: move out #include "lyxcursor.h".
1917 * paragraph_pimpl.h: move out #include "counters.h".
1919 2003-09-03 Angus Leeming <leeming@lyx.org>
1921 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1922 preamble_snippets list, enabling us to add snippets to the preamble
1923 only if the snippet was not there already.
1925 2003-09-04 Angus Leeming <leeming@lyx.org>
1927 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1929 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1931 * lyxfunc.C (dispatch): if fitCursor did something be sure to
1934 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1936 * BranchList.C: point fix, earlier forgotten
1938 2003-09-02 Angus Leeming <leeming@lyx.org>
1940 * box.C (contains): renamed from 'contained' after a fantastic
1943 2003-09-02 John Levon <levon@movementarian.org>
1949 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1951 2003-09-02 John Levon <levon@movementarian.org>
1953 * text2.C: simplification of cursorEnd(), including partial
1956 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1958 * buffer.C (readFile): add a space
1960 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
1962 * BufferView_pimpl.C (update): remove bogus fitCursor() call
1964 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1966 * buffer.C (readFile): new function, take a filename and a
1967 ParagraphList::iterator
1969 (readFile): adjust, make it private. don't use setStream, make
1970 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1971 always contain the filename.
1973 * BufferView.C (insertLyXFile): simplify and make it work for
1976 2003-08-30 John Levon <levon@movementarian.org>
1978 * Makefile.am: fix dist (from Kayvan)
1980 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1982 * most files: change to use const Buffer refs
1984 2003-08-27 André Pönitz <poenitz@gmx.net>
1986 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1987 on top of ownerPar().
1989 2003-08-27 John Levon <levon@movementarian.org>
1991 * funcrequest.C: properly initialise POD members
1993 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
1995 * lyxtext.h (top_y): move top_y from here
2000 * BufferView_pimpl.[Ch]: to here
2001 * frontends/screen.C:
2002 * insets/insettabular.C:
2003 * insets/insettext.C: adjust
2004 * rowpainter.[Ch] (paintRows): remove LyXText & argument
2006 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
2009 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2011 2003-08-26 André Pönitz <poenitz@gmx.net>
2013 * paragraph_func.[Ch] (outerPar): new function
2016 * paragraph_funcs.C:
2017 * paragraph_funcs.h:
2018 * paragraph_pimpl.C:
2019 * text2.C: remove Inset::par_owner
2021 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
2026 * text2.C: eliminates the needFullRow/display() stuff
2027 altogether, putting the logic in metrics/draw in the insets.
2029 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
2031 * text2.C (redoParagraphInternal, redoParagraphs):
2032 * text.C (redoParagraph): add a call to updateRowPositions at the
2033 end of each 'metrics-like' call. Remove all others.
2034 (getRow): remove the 'y-computing' version.
2035 (getRowNearY): do not compute nor return the real y. Solve the
2036 'y < 0' problem and simplify.
2038 2003-08-22 Angus Leeming <leeming@lyx.org>
2040 * *.[Ch]: clean-up of licence and author blurbs.
2041 Also move config.h out of a few .h files and into a few .C files.
2043 2003-08-22 André Pönitz <poenitz@gmx.net>
2045 * lyxrow.[Ch]: add x_ and *fill_ members
2050 * text2.C: adjust/remove prepareToPrint() calls
2052 2003-08-22 André Pönitz <poenitz@gmx.net>
2054 * lyxrow.[Ch]: add end_ member
2056 * lyxrow_funcs.C: use LyXRow::end_
2058 * lyxtext.h (singleWidth): add LyXFont parameter
2061 * text2.C: adjust LyXText::singleWidth() calls
2063 * text.C (redoParagraph): simplify row breaking logic
2066 2003-08-19 André Pönitz <poenitz@gmx.net>
2068 * funcrequest.C: initialize button_ member
2071 * rowpainter.[Ch]: interface consolidation
2073 2003-08-18 André Pönitz <poenitz@gmx.net>
2076 * BufferView_pimpl.C:
2078 * paragraph_funcs.C:
2080 * text3.C: remove LyXScreen::draw() and fitCursor calls
2082 * BranchList.h: remove spurious semicolons
2084 * MenuBackend.C: fix branchlist related crash
2086 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
2094 * bufferparams.[Ch]:
2098 * text3.C: implements the 'branch inset'
2099 idea. This allows the output of various versions of a document
2100 from a single source version, selectively outputing or suppressing
2101 output of parts of the text.
2102 This implementation contains a 'branch list editor' in a separate
2103 tab of the document settings dialog. Branches are user definable
2104 and have a "display colour" to distinguish them on-screen.
2106 ColorHandler was somewhat cleaned up.
2107 (1) make possible a dynamically growing LColor list by allowing
2108 the graphic context cache to grow along (vector);
2109 (2) eliminate an IMHO unnecessary step in colour allocation.
2111 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
2113 * BufferView_pimpl.C: compile fix
2115 2003-08-15 André Pönitz <poenitz@gmx.net>
2117 * rowpainter.C: remove extra metrics calls
2119 * lyxtext.h: merge the two constructors into a single one,
2120 pass reference to owner's par list
2122 * BufferView_pimpl.C:
2126 2003-08-15 André Pönitz <poenitz@gmx.net>
2128 * lyxrow_funcs.[Ch]:
2131 * paragraph_funcs.C:
2136 * text_funcs.C: split LyXText::rowlist_ into individual
2137 Paragraph::rows_ chunks
2140 * BufferView_pimpl.[Ch]:
2143 * text3.C: remove toggleSelection()
2145 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
2147 * bufferlist.C: beautify two alerts (shorter text of buttons)
2148 * buffer.C: Remove redundant ' ' from message
2150 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2151 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2152 rename VALIGN_CENTER to VALIGN_MIDDLE
2154 2003-08-11 André Pönitz <poenitz@gmx.net>
2156 * lyxtext.h (getPar):
2157 * text.C: new function
2159 2003-08-11 André Pönitz <poenitz@gmx.net>
2162 * tracer.[Ch]: remove unneeded files
2164 * InsetList.[Ch]: remove resizeInsetsLyXText()
2169 * text3.C: merge insertParagraphs() and appendParagraph()
2170 remove breakAgain(), update()
2172 * BufferView_pimpl.[Ch]:
2173 * bufferview_funcs.[Ch]:
2177 * tabular.C: adjust after text & InsetList changes.
2179 2003-08-08 André Pönitz <poenitz@gmx.net>
2181 * text.C (insertChar, backspace): replace rowlist fiddling
2182 with rebreak of full par
2185 * text.C (breakAgainOneRow, redoHeightOfParagraph,
2186 checkParagraph, updateInset): removed
2188 2003-08-07 André Pönitz <poenitz@gmx.net>
2191 * text3.C: merge some LFUN handlers, remove dead code
2193 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2195 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2197 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
2199 * text2.C (DEPM): fix part of bug 1255 and 1256
2201 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2203 * BufferView_pimpl.C (workAreaDispatch): change to use
2204 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2205 that are no mouse related.
2207 2003-08-05 André Pönitz <poenitz@gmx.net>
2210 * BufferView_pimpl.[Ch]:
2211 * bufferview_funcs.C:
2213 * text3.C: rip out "deep update"
2215 * textcursor.[Ch] (last_sel_cursor): remove unused member
2217 2003-08-04 André Pönitz <poenitz@gmx.net>
2220 * BufferView_pimpl.[Ch]:
2221 * ParagraphParameters.C:
2222 * bufferview_funcs.C:
2228 * text3.C: replace "complicated" BufferView::update(...) calls with
2231 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2233 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
2235 * Makefile.am (lyx_SOURCES): add paper.h
2237 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2239 * Makefile.am: move things around so that both lyx-qt and
2240 lyx-xforms can be built (according to --with-frontend). Then lyx
2241 is a symbolic link to lyx-[firstfrontend]
2243 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
2245 * Always use std::endl with lyxerr
2247 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
2249 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2251 2003-08-01 André Pönitz <poenitz@gmx.net>
2254 * BufferView_pimpl.[Ch]:
2256 * text3.C: merge BufferView::repaint() and BufferView::update()
2258 2003-08-01 José Matos <jamatos@lyx.org>
2260 * buffer.[Ch]: file_format is no longer a buffer data element.
2262 2003-08-01 André Pönitz <poenitz@gmx.net>
2267 * text2.C: make redoParagraph more independent of current cursor
2269 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2271 * text2.C: remove unneeded members
2273 2003-07-30 André Pönitz <poenitz@gmx.net>
2275 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2277 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2278 create a single function...
2280 * paragraph_funcs.C (moveItem): ... here.
2283 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2285 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2287 * LColor.[Ch]: Add comment and greyedout logical colors.
2289 2003-07-30 André Pönitz <poenitz@gmx.net>
2291 * tabular.C: don't use Assert too heavily. This crashes where it
2294 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
2296 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2297 is disabled (bug 1232)
2299 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2301 * factory.C: limited 'arg' scope
2303 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2305 * factory.C: fixed Note submenu issues
2307 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
2309 * factory.C: submenu for Note/Comment/Greyedout
2311 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
2314 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2316 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
2319 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2320 greyedout. Patch provided by Jürgen Spitzmüller.
2322 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2324 * kbmap.C (read): fix error message when reading bind files
2326 2003-07-29 Angus Leeming <leeming@lyx.org>
2328 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2329 certainly does not do what it purports to do. I am doing it, and
2330 us, a favour by killing it.
2332 2003-07-28 José Matos <jamatos@lyx.org>
2334 * buffer.C (readBody, do_writeFile):
2335 * paragraph.C(readParagraph): \end_document replaces \the_end.
2337 2003-07-29 André Pönitz <poenitz@gmx.net>
2340 * BufferView_pimpl.[Ch]:
2344 * textcursor.[Ch]: remove toggleToggle & Co
2346 2003-07-28 José Matos <jamatos@fep.up.pt>
2348 * buffer.C (readParagraph):
2349 * params_func (readParToken, readParagraph):
2350 * paragraph.C (write): \layout -> \begin_layout.
2352 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2354 * lyxlex_pimpl.C (setFile): clean up slightly.
2356 * bufferparams.h: add compressed var
2358 * buffer_funcs.C (readFile): adjust for LyXLex change
2359 (newFile): ditto + simplify
2361 * buffer.C (writeFile): handle writing of compressed files
2363 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2364 Check if the file is compressed and set a bufferparm if so.
2366 * Makefile.am (lyx_LDADD): remove explicit -lz
2368 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2370 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2371 makeDocBookFile): put the real LyX version in the first line of
2375 * version.C.in: remove lyx_docversion
2377 * tabular.C (write_attribute): add a template-based version to
2378 write enums properly
2380 2003-07-28 André Pönitz <poenitz@gmx.net>
2385 * text3.C: use doubles again for x-coordinates. They are needed.
2387 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2389 * messages.C (getLocaleDir): use lyx_localedir()
2391 * lyxlex_pimpl.C (setFile): compress stuff
2393 * buffer.C (writeFile): add some compression stuff
2394 (do_writeFile): new func, dont call expliti close... will this
2397 * Makefile.am (lyx_LDADD): add -lz
2399 2003-07-28 José Matos <jamatos@fep.up.pt>
2401 * buffer.C: increment file format.
2402 * paragraph_funcs (readParagraph, readParToken):
2403 * paragraph.C (readParagraph): add \end_layout.
2405 2003-07-27 Angus Leeming <leeming@lyx.org>
2407 * Makefile.am: remove special casing for configure-time setting of
2408 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2410 * lyx_main.C (init): remove all Jean-Marc's magic setting of
2411 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2413 2003-07-26 André Pönitz <poenitz@gmx.net>
2415 * paragraph_func.[Ch]:
2416 * paragraph.C (realizeFont): inline it whereever it is used
2421 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2424 2003-07-26 André Pönitz <poenitz@gmx.net>
2428 * text2.C: get rid of LyXText::need_break_row
2430 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2432 * toc.[Ch]: put namespace toc inside namespace lyx
2434 * MenuBackend.C (expandToc2): adjust for lyx::toc
2437 * lyxfunc.C (dispatch): adjust for lyx::find
2439 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2440 lyx::find instead. Reorganize a bit.
2441 (LyXReplace): rename to replace
2442 (LyXFind): rename to find
2444 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2447 2003-07-26 André Pönitz <poenitz@gmx.net>
2449 * text.C (setHeightOfRow): restrict scope of temporary variable
2451 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
2452 code (never has been used?)
2454 2003-07-27 Asger Alstrup <alstrup@local>
2456 * text.C (fill): Optimise algorithm to exploit that we can reuse
2457 the LyXFont for many characters.
2458 (setHeightOfRow): Same thing.
2459 (rowBreakPoint): Same thing.
2461 2003-07-26 Asger Alstrup <alstrup@local>
2463 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2465 * text.C (singleWidth): Spurious font copying in hot-spot
2466 singleWidth avoided. Reorder tests for arabic for efficiency.
2468 * text.C (fill): handle empty paragraphs better.
2470 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2473 * encoding.h: add includes
2475 * lyxrc.C: remove reading of bind files
2477 * lyx_main.C (init): setup bindings and menus only if we have a
2480 * kbmap.C (read): new method. Do the actual reading of bind
2483 * converter.C (dvipdfm_options):
2486 (output): adapt PAPER_* enums.
2488 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2490 * bufferparams.h: remove paper-related enums from there
2492 * paper.h: New file. A trivial header file to hold paper-related
2493 enums. It should later expand to contain many paper-related
2496 * lyxrc.C: declare extern displayTranslator
2498 2003-07-27 José Matos <jamatos@fep.up.pt>
2500 * tabular.[Ch] (linuxdoc): add support for tables and figures
2503 2003-07-27 José Matos <jamatos@fep.up.pt>
2505 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2506 consistency in both functions.
2507 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2509 2003-07-26 Asger Alstrup <alstrup@local>
2511 * rowpainter.C (paintRows): Change algorithm to work directly on
2512 the insets rather than asking every character in the document
2513 whether its an inset.
2515 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
2517 * buffer.C (openFileWrite): factorize some code
2519 2003-07-26 Angus Leeming <leeming@lyx.org>
2522 * lyx_main.[Ch]: replace occurances of system_tempdir with
2525 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2527 * rename Inset to InsetOld
2529 2003-07-25 Asger Alstrup <alstrup@diku.dk>
2531 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2532 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2533 which I think is a bit clearer. EDIT is gone, since it was
2534 premature optimisation, and broken for mathed anyway.
2535 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2536 with cursor positioning in insets as well (math insets still do not
2537 work, but that's a different story anyway.) It mysteriously
2538 crashes sometimes with undo in the first paragraph, but I'm fairly
2539 confident that this is a compiler bug.
2541 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2543 * paragraph.C (Paragraph): adjust for new clone return type
2545 (copyIntoMinibuffer): ditto
2547 2003-07-25 Asger Alstrup <alstrup@lyx.org>
2549 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2550 by not having a special case, and always doing a full rebreak of
2551 the document after undo.
2553 2003-07-23 Angus Leeming <leeming@lyx.org>
2555 * factory.C (createInset): InsetExternal::setParams now takes a
2558 2003-07-23 Angus Leeming <leeming@lyx.org>
2560 * factory.C (createInset): changed interface to the external and
2561 graphics mailers' string2params functions.
2563 2003-07-23 Angus Leeming <leeming@lyx.org>
2565 * factory.C (createInset): pass a
2566 Buffer const * parameter to InsetExternalMailer's string2params.
2568 2003-07-22 John Levon <levon@movementarian.org>
2570 * Thesaurus.h: include the right aiksaurus header
2572 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2574 * MenuBackend.C (expand): check menu shortcuts unconditionally
2576 2003-07-21 Angus Leeming <leeming@lyx.org>
2578 * factory.C (createInset): pass a
2579 buffer_path parameter to InsetGraphicsMailer's string2params.
2581 2003-07-21 Angus Leeming <leeming@lyx.org>
2583 * BufferView_pimpl.C (buffer):
2586 * lyxfunc.C (dispatch):
2587 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2588 rather than the grfx shortcut.
2590 2003-07-21 André Pönitz <poenitz@gmx.net>
2592 * rowpainter.C: remove unused variables
2595 * tabular_funcs.h: move to tabular.C
2596 * Makefile.am: adjust
2598 * tabular.[Ch]: basic optical cleaning
2600 * author.h: pass references, not values
2602 2003-07-18 André Pönitz <poenitz@gmx.net>
2610 * text3.C: two-phase drawing for InsetText and InsetTabular
2611 some float -> int changes.
2613 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2615 * lyx_main.C: fix the fix
2617 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
2619 * lyx_main.C: fix a crash in batch mode if no files specified
2622 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
2624 * format.[Ch] (papersize): moved to BufferParams
2625 * converter.[Ch] (dvips_options): moved to BufferParams
2626 (dvipdfm_options): moved to anon namespace
2627 * bufferparams.[Ch]: added above functions.
2629 2003-07-17 André Pönitz <poenitz@gmx.net>
2633 * text2.C: don't call inset->update() anymore
2635 * metricsinfo.[Ch]: add convenience constructor
2637 2003-07-16 André Pönitz <poenitz@gmx.net>
2642 * text2.C: replace the LyXCursor::irow_ member with
2643 on-demand computation of the value
2645 2003-07-16 John Levon <levon@movementarian.org>
2647 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2649 2003-07-15 André Pönitz <poenitz@gmx.net>
2652 * text2.C: remove no more needed refresh_row
2654 2003-07-15 André Pönitz <poenitz@gmx.net>
2659 * text3.C: refresh_status tristate -> need_update bool
2661 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2663 * lyxtext.h (init): remove reinit argument (act as if always true)
2664 * text2.C: adjust to that
2666 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2668 * bufferview_funcs.[Ch]: introduce function replaceSelection()
2669 * text3.C: use it to delete selections in some cases
2670 (bugs 441, 673, 702, 954).
2672 2003-07-14 André Pönitz <poenitz@gmx.net>
2674 * rowpainter.[Ch]: reduce interface
2676 2003-07-14 André Pönitz <poenitz@gmx.net>
2678 * BufferView_pimpl.C:
2679 * text2.C: adjust after removing unused BufferView * argument
2681 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
2683 * text2.C (init): fix a crash fired on resize
2685 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
2687 * buffer.[Ch]: added new closing signal
2688 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2689 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2690 BufferView::Pimpl via the closing the signal
2692 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
2694 * buffer.[Ch]: take out all bv-related from buffer
2696 * BufferView_pimpl.[Ch]: connect to new signals
2697 * CutAndPaste.C: removed useless asserts
2698 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2701 * lyxfunc.C: moved view-related funciontality from vc here
2702 * paragraph.C: removed outdated comments
2705 2003-07-10 André Pönitz <poenitz@gmx.net>
2707 * BufferView_pimpl.C:
2711 * text2.C: remove InsetText::InnerCache, clean up consequences
2713 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
2715 * ispell.C: fix two typos in error messages
2717 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
2719 * Extend Note inset to other forms of annotation like Comment
2720 and Greyedout. Right button click gives dialog.
2722 Files modified or added (+):
2726 * ControlNote.[Ch] +
2728 * Makefile.am in frontends/xforms, frontends/xforms/forms,
2729 frontends/controllers
2733 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2735 * aspell.C: add missing namespace lyx::support
2737 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
2739 * BufferView.[Ch] (newFile): Add
2740 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2741 * LaTeX.[Ch] (message): added this signal and use it
2742 * buffer.[Ch] (busy, message): added these signals and use them
2743 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2747 * importer.C: use buffer signals instead of direct bv calling
2748 * lyx_cb.[Ch] (ShowMessage): removed
2751 * paragraph_funcs.C:
2752 * text2.C: use buffer signals
2754 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2756 * introduce namespace lyx::graphics
2758 2003-07-02 André Pönitz <poenitz@gmx.net>
2760 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2762 2003-07-01 André Pönitz <poenitz@gmx.net>
2769 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2770 text*.C to text_func.C
2772 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2774 * introduce namespace lyx::support
2776 2003-06-30 André Pönitz <poenitz@gmx.net>
2781 * text.C: re-enable --with-included-string
2783 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2785 * textcursor.C: add <config.h>
2787 * text.C (getWord): remove const from word_location arg
2789 * lyxvc.C (getLogFile): fix const type order
2791 * lyxtext.h: remove const from word_location arg, add arg name
2793 * lyxlayout.h: currect type on labeltype.
2795 * importer.C: correct \file
2797 * converter.C (intToFormat): use std:: on ret val, ws changes
2799 * bufferlist.h: correct \file
2801 * buffer.C (makeLinuxDocFile): fix const type order
2802 (makeDocBookFile): ditto
2803 (fillWithBibKeys): use std:: on stdlib args.
2805 * CutAndPaste.C: fix authors.
2806 (availableSelections): use std:: on return vector
2808 2003-06-27 André Pönitz <poenitz@gmx.net>
2810 * BufferView_pimpl.C:
2811 * bufferview_funcs.C:
2819 * text3.C: remove LyXCursor::row_ member
2822 * text.C: rename fullRebreak() to partialRebreak() and implement
2823 a fullRebreak() that really bereks fully
2825 * textcursor.h: new struct for cursor-related data
2827 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
2829 * lyx_main.C (LyX): get full path of document loaded on the
2832 2003-06-26 André Pönitz <poenitz@gmx.net>
2834 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2835 remove unused/broken operator>,<,>=.
2837 * text.C: remove only use of broken operator<= in an Assert().
2839 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2841 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2842 moved errorlist_.clear to showErrorList
2844 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
2846 * converter.C (scanLog, runLaTeX):
2847 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2848 move the bv->showErrorList call to the callers
2849 * lyxfunc.C: i.e. here...
2851 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2852 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2853 namespace, the second to...
2854 * buffer_funcs (BufferFormat, parseErrors): added
2855 * errorlist.C (ErrorList(TeXErrors const &)): removed
2857 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2859 * ToolbarBackend.C (getIcon): complain when icon cannot be found
2861 2003-06-24 "Garst R. Reese" <reese@isn.net>
2865 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2867 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2869 * version.C.in: change docversion to 1.4
2871 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
2873 * buffer.C: fix a bug just introduced
2875 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2877 * buffer.[Ch]: added the parseError signal and use it, removed
2879 * BufferView.[Ch] (addError): moved to ...
2880 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2881 to the Buffer::parseError signal to catch (guess what) parse errors
2882 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2884 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2886 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2887 ability to create a buffer and to return an existing one from
2888 the list. Moved these functions to...
2889 * buffer_funcs.[Ch]: added
2890 * BufferView.[Ch] (loadLyXFile): added
2891 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2892 job removed from bufferlist::loadLyXFile.
2893 * buffer.C (setReadOnly): make it work without view
2894 (i.e added an if (users))
2896 2003-06-19 Angus Leeming <leeming@lyx.org>
2899 * LyXAction.C (init):
2900 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2901 with LFUN_DIALOG_SHOW <name> <data>.
2903 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2905 * CutAndPaste.C (availableSelections): small compilation fix for
2906 ancient (gcc 2.9x) compilers
2908 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2910 * text3.C (cursorNext): add tmp var
2912 * text2.C (updateCounters): for function calling out of for clause
2913 (replaceSelectionWithString): ditto
2914 (insertStringAsParagraphs): ditto
2915 (getColumnNearX): add tmp var
2916 (setCursorFromCoordinates): add tmp var
2917 (cursorDownParagraph): add tmp var
2918 (deleteEmptyParagraphMechanism): add tmp var
2920 * text.C (insertChar): add tmp var
2922 * rowpainter.C (paintDepthBar): add tmp var
2924 * CutAndPaste.C (availableSelections): potentially check all
2925 paragraphs in a cut to fill the shown strings.
2927 2003-06-18 André Pönitz <poenitz@gmx.net>
2929 * kbmap.[Ch]: use vector<> instead of list<>
2931 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2933 * text3.C (dispatch): handle arg to LFUN_PASTE, call
2934 pasteSelection with index
2936 * text2.C (pasteSelection): modify, call pasteSelection with index
2938 * paragraph.C (asString): reimplement version with no interval to
2939 call the one with interval.
2941 * lyxtext.h: add index arg to pasteSelection
2943 * MenuBackend.C (MenuItem): handle PasteRecent
2944 (Menu::read::Menutags): add md_pasterecent
2946 (expandPasteRecent): new function
2949 * MenuBackend.h: add PasteRecent to MenuItem::Kind
2951 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2953 (availableSelections): new function
2955 2003-06-17 Angus Leeming <leeming@lyx.org>
2957 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2959 2003-06-17 Angus Leeming <leeming@lyx.org>
2962 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2964 * lyxfunc.C (dispatch): invoke it.
2966 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2968 * iterators.C (operator++, ParPosition): reintroduce some
2969 const_cast for the benefit of older compilers.
2971 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2973 * text3.C (dispatch): do not modify clipboard when doing
2974 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2975 LFUN_DELETE_SKIP on a selection selection
2977 2003-06-16 André Pönitz <poenitz@gmx.net>
2983 * tabular.[Ch]: IU of clone() and getLabelList();
2985 2003-06-13 André Pönitz <poenitz@gmx.net>
2987 * tabular.h: compactification
2989 2003-06-12 André Pönitz <poenitz@gmx.net>
2993 * tabular_funcs.h: some renaming plus whitespace
2995 2003-06-12 André Pönitz <poenitz@gmx.net>
2998 * BufferView_pimpl.C:
3004 * toc.C: Return a Paragraph & for ParIterator::operator*()
3006 2003-06-11 John Levon <levon@movementarian.org>
3010 * ToolbarBackend.C: add "Toolbars" section and
3013 2003-06-10 Angus Leeming <leeming@lyx.org>
3016 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3018 * lyxfunc.C (dispatch): invoke it.
3020 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3022 * main.C: protect <ios> with HAVE_IOS
3023 (main): protect sync_with_stdio with HAVE_IOS
3025 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
3027 * text2.C (cutSelection): adjust
3028 (pasteSelection): adjust
3030 * messages.C: handle get of empty string
3032 * main.C (main): use sync_with_stdio(false)
3034 * lyxfunc.C (dispatch): adjust
3036 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3037 (WriteAs): remove unneeded BufferView arg.
3039 * bufferparams.h: use correct types on papersize, papersize2 and
3042 * bufferparams.C (readToken): adjust for type
3043 (writeLaTeX): add missing cases to switch.
3045 * bufferlist.C (quitWriteBuffer): adjust
3048 * buffer.C (asciiParagraph): remove some commented code.
3050 * CutAndPaste.C: remove current_view extern variable.
3051 (cutSelection): add BufferParams arg.
3052 (eraseSelection): add BufferParams arg.
3053 (pasteSelection): add Buffer const & arg
3055 2003-06-07 John Levon <levon@movementarian.org>
3058 * paragraph_funcs.C:
3059 * paragraph_pimpl.C:
3063 * paragraph.C: allow InsetERT to freely space lines,
3064 and some consolidation of code
3066 2003-06-06 José Matos <jamatos@fep.up.pt>
3068 * buffer.C (makeDocBookFile): fix bug #821
3070 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3072 * BufferView_pimpl.C (dispatch): use Dialogs::visible
3074 2003-06-04 Angus Leeming <leeming@lyx.org>
3076 * buffer.C: bump format to 224.
3078 2003-06-05 André Pönitz <poenitz@gmx.net>
3080 * text2.C (redoParagraphs): remove two const_cast<>
3082 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3084 * ParagraphList.h: remove last remnants of NO_STD_LIST
3086 2003-06-03 Angus Leeming <leeming@lyx.org>
3088 * factory.C (createInset): small change to the way InsetExternal's params
3091 2003-06-04 André Pönitz <poenitz@gmx.net>
3093 * buffer.h: use Undo directly instead of shared_ptr<Undo>
3095 * paragraph_pimpl.h:
3096 * paragraph.[Ch]: some Inset -> UpdatableInset changes
3098 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3100 * undo_funcs.C: make some simple cases of undo work again
3102 2003-06-03 John Levon <levon@movementarian.org>
3104 * ispell.C: HPUX doesn't have sys/select.h
3107 2003-06-03 John Levon <levon@movementarian.org>
3109 * CutAndPaste.C: update tabular and include inset
3114 * paragraph.C: remove owningBuffer(), don't pass Buffer
3117 * factory.C: insetGraphicsParams changed
3119 2003-06-02 John Levon <levon@movementarian.org>
3125 * text3.C: remove insetparent
3127 2003-06-02 John Levon <levon@movementarian.org>
3130 * buffer.C: fix inset_iterator.end(), move out of line
3133 2003-06-01 John Levon <levon@movementarian.org>
3135 * text3.C: use a proper cut/paste when doing inset
3136 insert (from Jürgen Spitzmüller)
3138 2003-06-01 John Levon <levon@movementarian.org>
3140 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3142 2003-05-30 André Pönitz <poenitz@gmx.net>
3144 * rowpainter.C: unify second drawing phase
3146 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3148 * trans_mgr.C: remove one case of current_view
3150 * text2.C (cursorBottom): delete NO_STD_LIST stuff
3152 * paragraph_funcs.h: remove paragraph.h include
3154 * paragraph.h: delete NO_STD_LIST stuff
3156 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3158 * buffer.h: remove paragraph.h include
3160 * ParagraphList.C: delete file
3162 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3164 * toc.C (getTocList): adjust
3166 * paragraph_pimpl.C (validate): adjust
3168 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3170 * paragraph.C (Paragraph): adjust
3171 (getPositionOfInset): use const_iterator, adjust
3172 (bibitem): use const_iterator, adjust
3173 (setInsetOwner): adjust
3175 * iterators.C (operator++): adjust
3177 * InsetList.[Ch]: Replace selfmade iterator with standard
3178 vector::iterator also introduce const_iterator. Remove getPos,
3179 getInset and setInset from InsetTable. Adjust accordingly.
3181 * BufferView.C (lockInset): adjust
3182 (ChangeInsets): adjust
3184 * tabular.[Ch]: delete commented same_id functions
3186 2003-05-28 John Levon <levon@movementarian.org>
3188 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3190 2003-05-28 André Pönitz <poenitz@gmx.net>
3192 * metricsinfo.[Ch]: remove 'fullredraw' member
3194 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
3196 * lyxtextclass.C (operator): remove caching.
3198 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3202 * text2.C (cursorBottom): adjust
3203 (setCounter): use ParagraphList::find, adjust
3205 * text.C (workWidth): use ParagraphList::find, adjust
3207 * lyxcursor.C (LyXCursor): adjust
3209 * buffer.C (inset_iterator): adjust
3211 * ParagraphList.h: make iterator(value_type) private, make
3212 ParagraphList a friend of iterator.
3214 * ParagraphList.C (find): new function
3216 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3218 2003-05-27 André Pönitz <poenitz@gmx.net>
3220 * dimension.[Ch]: a -> asc, d -> des, w -> wid
3222 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3224 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3226 2003-05-26 John Levon <levon@movementarian.org>
3228 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3230 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3232 * remove same_id from function signatures, adjust.
3234 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3236 * undo_funcs.C (createUndo): use the id functions directly, adjust.
3238 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3240 * paragraph.C (Paragraph): get rid of same_ids parameter
3242 * ParagraphList.C (insert): adjust
3245 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3247 * paragraph_funcs.C (breakParagraph): adjust
3248 (breakParagraphConservative): adjust
3250 * buffer.C (readParagraph): adjust
3252 * ParagraphList.C (insert): take a reference instead of a pointer
3255 * paragraph.[Ch] (id): new function
3257 * bufferlist.C (newFile): adjust
3259 * ParagraphList.C (ParagraphList): adjust
3261 (push_back): take a reference instead of a pointer.
3263 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3265 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3268 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3269 set else use old code.
3271 * ParagraphList.C: remove all NO_NEXT code and only compile this
3272 code of NO_STD_LIST is set.
3274 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3276 * BufferView_pimpl.C:
3286 * graphics/GraphicsConverter.C:
3287 * graphics/PreviewLoader.C: header adjustment
3289 2003-05-23 Angus Leeming <leeming@lyx.org>
3291 * LaTeXFeatures.[Ch] (useBabel): new method.
3292 * bufferparams.C (writeLaTeX): use it.
3294 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3296 * ParagraphList.h (set): remove unused function.
3298 2003-05-23 André Pönitz <poenitz@gmx.net>
3301 * BufferView_pimpl.C:
3305 * undo_funcs.C: setUndo reworked
3307 * iterators.[Ch]: add access to topmost ParagraphList
3309 * lyxtext.[Ch] (workWidth): add a const
3311 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
3313 * texrow.[Ch] (increasePos): remove function
3314 * exporter.C (export): removed unused var and outdated comment
3316 2003-05-23 Angus Leeming <leeming@lyx.org>
3318 * latexrunparams.h: rename fragile as moving_arg.
3319 * paragraph.C (simpleTeXOnePar): ditto.
3320 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3322 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3324 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3326 (textUndoOrRedo): comment out a currently unused var.
3328 * paragraph.h (NO_NEXT): enable NO_NEXT
3330 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3332 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3334 * exporter.C (Export): adjust for removeAutoInsets removal.
3336 * buffer.C (runChktex): adjust for removeAutoInsets removal.
3338 * LyXAction.C (init): remove LFUN_REMOVEERRORS
3340 * BufferView.[Ch] (removeAutoInsets): delete function
3342 2003-05-22 Angus Leeming <leeming@lyx.org>
3344 * latexrunparams.h: add a free_spacing variable.
3346 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3347 to pass moving_arg, as the data is stored in runparams.fragile.
3349 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3350 to Inset::latexOptional or to simpleTeXOnePar.
3352 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3353 free_spacing arg to Inset::latexOptional.
3355 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3358 2003-05-22 Angus Leeming <leeming@lyx.org>
3360 * latexrunparams.h: add fragile and use_babel variables.
3362 * bufferparams.[Ch] (writeLaTeX): return use_babel.
3363 * buffer.C (makeLaTeXFile): store this returned value in
3364 runparams.use_babel, thus passing it to the inset::latex methods.
3366 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3367 simpleTeXSpecialChars as it is now stored in runparams.fragile.
3369 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3370 longer has a fragile arg, as it is stored in runparams.fragile.
3372 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3373 moving_arg parameter as the data is stored in runparams.fragile.
3375 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3376 a fragile parameter as the data is stored in runparams.fragile.
3378 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3380 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3382 2003-05-22 Angus Leeming <leeming@lyx.org>
3384 * latexrunparams.h: add a 'bool nice' which defaults to false.
3386 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3387 now encapsulated within runparams.
3389 * bufferlist.C (updateIncludedTeXfiles):
3390 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3392 2003-05-22 Angus Leeming <leeming@lyx.org>
3394 * latexrunparams.h: new file containing struct LatexRunParams.
3395 * Makefile.am: add new file.
3397 * LaTeX.[Ch] (c-tor, run):
3398 * buffer.[Ch] (makeLaTeXFile):
3399 * bufferlist.[Ch] (updateIncludedTeXfiles):
3400 * converter.C (convert, scanLog):
3401 * converter.[Ch] (runLaTeX):
3402 * exporter.C (Export):
3403 * paragraph.[Ch] (simpleTeXOnePar):
3404 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3405 * paragraph_funcs.[Ch] (latexParagraphs):
3406 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3407 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3408 pass around a LatexRunParams parameter.
3410 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3412 * paragraph.[Ch]: remove unused constructor
3414 * ParagraphList.C (erase): new function, taking two iterators
3416 2003-05-22 André Pönitz <poenitz@gmx.net>
3418 * undo_funcs.C: remove duplicated code
3420 * iterator.[Ch]: operator=
3422 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3424 * tabular.C (SetMultiColumn): ws changes
3426 * rowpainter.C (paintFirst): get rid of a ->previous
3428 * lyx_cb.C (getPossibleLabel): parlist simplification
3430 * BufferView.C (ChangeInsets): simplify slightly.
3432 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3434 * LyXAction.C: new lfun space-insert, kill protected-space-insert
3435 * lfuns.h: new LFUN_SPACE
3436 * lyxfunc.C: protected space has a new lfun
3437 * paragraph_funcs.C: read new space insets
3439 * factory.C: handle new space insets
3441 2003-05-22 André Pönitz <poenitz@gmx.net>
3444 * BufferView_pimpl.C:
3447 * undo_funcs.C: return a ParIterator from getParFromID.
3449 * iterators.[Ch]: add two const's
3451 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3453 * toc.C (getTocList): adjust
3455 * iterators.[Ch]: rework for parlist
3457 * buffer.C (par_iterator_begin): adjust
3458 (par_iterator_end): adjust
3460 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3462 * BufferView.C (removeAutoInsets): adjust
3463 (ChangeInsets): adjust
3465 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
3467 * text.C (top_y): fix bug 1110
3469 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
3471 * errorlist.[Ch]: added
3474 * BufferView_pimpl.C:
3475 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3478 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3480 * Makefile.am: ensure that lyx is relinked upon changes to the
3481 various "convenience" libs.
3483 2003-05-20 Angus Leeming <leeming@lyx.org>
3485 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3486 files are compiled in alphabetical order again.
3488 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3490 2003-05-19 Angus Leeming <leeming@lyx.org>
3492 * gettext.[Ch]: remove "char const * _(char const *)".
3494 2003-05-19 André Pönitz <poenitz@gmx.net>
3496 * dimension.[Ch]: promote from mathed/dimension.[Ch]
3505 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3507 2003-05-19 André Pönitz <poenitz@gmx.net>
3511 * lyxtextclass.[Ch]:
3513 * paragraph_funcs.[Ch]:
3515 * text3.C: more insetenv work
3517 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
3519 * ParagraphParameters.C (params2string): small bug fixed
3521 2003-05-16 André Pönitz <poenitz@gmx.net>
3524 * bufferview_funcs.C: patch from Kornel Benko to prevent
3525 crash when _(...) is called twice in a statement
3527 2003-05-16 André Pönitz <poenitz@gmx.net>
3534 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3536 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
3538 * lyx_main.C (init): remove spurious static_cast
3540 2003-05-14 André Pönitz <poenitz@gmx.net>
3542 * BufferView.C: fix format string
3544 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
3546 * BufferView.[Ch] (insertErrors): removed
3547 * BufferView.[Ch] (showErrorList): added
3548 * buffer.C (runChkTeX):
3549 * converter.C (scanLog): call showErrorList instead of inserterrors
3551 2003-05-13 André Pönitz <poenitz@gmx.net>
3553 * BufferView_pimpl.C:
3555 * bufferview_func.C:
3562 * tabular_funcs.h: tostr() from its own header
3564 * ParagraphParameters.C:
3569 * text3.C: STRCONV()
3571 2003-05-12 André Pönitz <poenitz@gmx.net>
3574 * BufferView_pimpl.C:
3578 * ParagraphParameters.C:
3582 * bufferview_funcs.C:
3595 * paragraph_funcs.C:
3599 * text3.C: boost::format -> bformat all over the place
3602 2003-05-09 André Pönitz <poenitz@gmx.net>
3604 * LColor.[Ch]: Pimpl the #include <map> away
3606 2003-05-09 John Levon <levon@movementarian.org>
3608 * bufferlist.C: never remove emergency saves
3610 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3612 * Makefile.am: better lib building
3614 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3616 * texrow.[Ch]: remove dependency on Paragraph and just store a id
3618 * paragraph_pimpl.C (simpleTeXBlanks): adjust
3619 (simpleTeXSpecialChars): adjust
3620 (simpleTeXSpecialChars): adjust
3621 * paragraph.C (simpleTeXOnePar): adjust
3622 * buffer.C (makeLaTeXFile): adjust
3624 * Makefile.am (BOOST_LIBS): allow boost as system lib.
3626 * text2.C (changeDepth): parlist cleanup
3627 (getColumnNearX): ditto
3629 * rowpainter.C (getLabelFont): parlist cleanup
3631 * bufferlist.C (newFile): parlist cleanup
3633 * CutAndPaste.C (eraseSelection): parlist cleanup
3635 * BufferView_pimpl.C (trackChanges): parlist cleanup
3638 * BufferView.C (lockInset): parlist cleanup.
3639 (ChangeInsets): ditto
3641 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3643 * CutAndPaste.h: Update file header.
3645 * CutAndPaste.C: Update file header.
3646 Store the parts cut out of the Document in a limited_stack.
3647 (copySelection): adjust
3648 (pasteSelection): new function, takes the index in the limited stack.
3649 (nrOfParagraphs): adjust
3650 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3651 simplify error inset insertion.
3652 (checkPastePossible): adjust
3654 2003-05-06 John Levon <levon@movementarian.org>
3656 * text2.C: don't cast wrap inset to float
3658 2003-05-05 André Pönitz <poenitz@gmx.net>
3661 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3663 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3664 few naked Paragraph *.
3666 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
3668 * bufferparams.C: Output warning if a document with missing
3669 TeX document class is loaded
3670 * exporter.C: Disable TeX exports if the document class is missing
3673 * lyxtextclasslist.C: Handle new textclass.lst format; new method
3674 isTeXClassAvailable()
3676 2003-05-03 John Levon <levon@movementarian.org>
3679 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3680 explicit cursor show/hide
3682 * BufferView_pimpl.h:
3683 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3684 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3686 * lyxfunc.C: hide cursor before dispatching.
3691 * text3.C: remove explicit cursor hides
3693 2003-05-02 André Pönitz <poenitz@gmx.net>
3695 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3698 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3701 * text2.C: tiny whitespace
3703 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3705 * undo_funcs.C: almost only ws changes.
3707 * ParagraphList.C (splice): just return if pl is empty.
3709 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3711 * ParagraphList.C (splice): new function.
3713 * CutAndPaste.C (pasteSelection): use it
3715 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3717 * CutAndPaste.C (pasteSelection): remove the last next and
3718 previous from this file.
3720 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3722 * CutAndPaste.C (pasteSelection): more clean up, user proper
3723 ParagraphList functions for pasteing.
3725 * ParagraphList.C (insert): new function, three arg insert
3727 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3729 * ParagraphList.C (insert): new function, three arg insert
3731 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3734 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3736 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3738 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3740 * CutAndPaste.C (pasteSelection): remove some unneeded code.
3742 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3744 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3745 (copySelection): clean up a bit.
3746 (pasteSelection): use make_pair
3748 * ParagraphList.C (ParagraphList): implement copy constructor
3749 (operator=): implement, base on copy constructor.
3752 * paragraph.C (erase): return a bool
3754 * paragraph_pimpl.C (erasePos): remove function, move contents...
3755 (erase): ... here. Return a bool.
3756 (erase): call erase instead of erasePos.
3758 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
3760 * ParagraphList.h: define PitPosPair
3761 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3762 ParagraphList, fix a bug on pasting multiple pars
3763 * text2.C: change interface to C&P
3765 2003-04-30 André Pönitz <poenitz@gmx.net>
3767 * undo_func.C: revert part of yesterday's patch 2
3769 2003-04-30 John Levon <levon@movementarian.org>
3771 * LColor.C: s/tabular/table/
3773 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3775 * text3.C (dispatch): do not convert iterator -> pointer
3776 * undo_funcs.C (setCursorParUndo): ditto
3777 * text_funcs.C (transposeChars): ditto
3779 * text2.C (setLayout): ws changes only
3781 * text.C (breakParagraph): do not convert iterator -> pointer
3783 (acceptChange): ditto
3784 (rejectChange): ditto
3789 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3792 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3794 * text3.C (gotoInset): YABG (yet another bad getChar)
3796 2003-04-29 André Pönitz <poenitz@gmx.net>
3798 * paragraph.h: make operator= private unimplemented as long as
3801 * ParagraphList.C: whitespace
3804 * paragraph_pimpl.[Ch]:
3805 * paragraph_funcs.C:
3807 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
3810 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3812 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
3814 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3815 * paragraph.[Ch] (erase):
3816 * paragraph_pimpl.[Ch] (erase): change return type and value
3817 * text2.C (cutSelection): some rework
3819 2003-04-28 John Levon <levon@movementarian.org>
3821 * bufferlist.C: changes for unsaved changes dialog
3823 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3825 * bufferlist.C (newFile): set language (messages_) for new
3828 * buffer.C (readFile): ws changes only.
3830 2003-04-28 André Pönitz <poenitz@gmx.net>
3835 * BufferView_pimpl.C:
3836 * BufferView.C: getParFromID related ParagraphList::iterator changes
3838 2003-04-28 André Pönitz <poenitz@gmx.net>
3840 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3843 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3845 * messages.C: remove one more localedir class variable.
3847 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3849 * messages.C (getLocaleDir): singleton generation function
3851 (Messages): add a default constructor.
3853 * main.C (main): do not setup localedir here, do not call
3856 * gettext.C (_): use it.
3857 (gettext_init): delete funciton
3859 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3861 * gettext.C (getLyXMessages): new singleton generating function.
3863 * buffer.C (updateDocLang): adjust
3865 * Makefile.am (messages.o): add target
3866 (main.o): remove target
3868 2003-04-27 John Levon <levon@movementarian.org>
3873 * lyxvc.C: specify cancel button in Alert::prompt
3875 2003-04-26 John Levon <levon@movementarian.org>
3880 * LyXAction.C: add LFUN_INSET_SETTINGS
3882 * lyxfunc.C: don't enable tabular-feature when there's
3883 just any locking inset
3885 2003-04-26 John Levon <levon@movementarian.org>
3887 * bufferlist.C: re-add Cancel to buffer close question
3889 * lyxfunc.C: fix import UI a bit
3891 2003-04-25 John Levon <levon@movementarian.org>
3893 * gettext.C: remove the broken asserts for now
3895 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3897 * messages.C: make case where setlocale cannot comply work better.
3899 * buffer.C (updateDocLang): new function
3900 (changeLanguage): use it
3903 * text2.C (setCounter): use B_ a bit.
3905 * lyxlayout.C (Read): be sure to trim the label strings.
3907 * messages.C (Messages): fix typo in comment
3909 * buffer.C (readFile): set message_ after file is loaded.
3910 (makeDocBookFile): remove double return
3911 (changeLanguage): reset message_ upon language change.
3912 (B_): new func, use this to get translated buffer strings.
3914 * main.C: add myself and Jean Marc as authors.
3916 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3918 * messages.[hC]: pimplify Messages, and three different pimpls to be
3919 used in different circumstances.
3921 * gettext.[Ch]: change for use with new message code.
3923 2003-04-24 André Pönitz <poenitz@gmx.net>
3925 * factory.C: support for eqref
3927 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3929 * messages.[Ch]: add missing char
3931 * Makefile.am (lyx_SOURCES): add messages.[Ch]
3933 * messages.[Ch]: New files
3935 2003-04-18 John Levon <levon@movementarian.org>
3939 * BufferView_pimpl.C:
3943 * text2.C: remove layout-copy/paste (bug 778)
3945 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3947 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3949 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
3951 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3952 if they succeed. Act accordingly.
3954 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3956 * text2.C (setCharFont): adjust
3957 (setCounter): adjust
3958 (insertStringAsLines): adjust
3960 * text.C (leftMargin): adjust
3961 (setHeightOfRow): adjust
3963 * rowpainter.C (paintFirst): adjust
3966 * paragraph_funcs.C (depthHook): ParagraphList::iterators
3968 (isFirstInSequence): ditto
3969 (getEndLabel): ditto
3972 * paragraph.C (getParLanguage): comment out some hard stuff.
3974 * buffer.C (insertStringAsLines): take a ParagraphList as arg
3976 (simpleDocBookOnePar): ditto
3977 (makeDocBookFile): use ParagraphList::iterator
3979 * CutAndPaste.C (pasteSelection): adjust
3981 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3983 * text2.C (getFont): adjust
3984 (getLayoutFont): adjust
3985 (getLabelFont): adjust
3987 * paragraph_funcs.C (TeXOnePar): adjust
3989 * buffer.C (simpleLinuxDocOnePar): adjust
3990 (simpleDocBookOnePar): adjust
3992 * CutAndPaste.C (pasteSelection): adjust
3994 * BufferView.C (getEncoding): adjust
3996 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3998 2003-04-16 John Levon <levon@movementarian.org>
4000 * lyxfind.C: use parlist stuff for search/changes
4002 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4004 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4006 * text2.C (deleteEmptyParagraphMechanism): adjust
4008 * text2.[Ch] (ownerParagraph): delete func (both of them
4010 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4012 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4014 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4016 * ParagraphList.C: prepare for NO_NEXT
4018 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4020 * text2.C (getFont): adjust
4021 (getLayoutFont): adjust
4022 (getLabelFont): adjust
4024 * paragraph.C (getFont): adjust
4025 (getLabelFont): adjust
4026 (getLayoutFont): adjust
4028 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4030 2003-04-15 John Levon <levon@movementarian.org>
4034 * lyx_main.C: handle Include in .ui files
4036 2003-04-15 John Levon <levon@movementarian.org>
4038 * MenuBackend.C: make the doc files length shorter
4041 * ToolbarBackend.C: handle toolbar placement flags,
4044 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4046 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4049 * paragraph_funcs.C (TeXOnePar): adjust
4051 * paragraph.C (getLabelFont): add outerfont arg, adjust
4052 (getLayoutFont): ditto
4053 (simpleTeXOnePar): adjust
4055 * paragraph_pimpl.C (realizeFont): delete func
4057 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
4059 * text2.C (beforeFullRowInset): added a bad getchar check, removed
4060 row argument, constify cur argument.
4062 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4064 * text2.C (getFont): adjust
4065 (getLayoutFont): adjust
4066 (getLabelFont): adjust
4068 * paragraph_funcs.C (TeXOnePar): adjust
4069 (outerFont): new func...
4070 (realizeFont): ...moved out from here, changed this to facilitate
4073 * paragraph.C (getFont): take outerfont as arg, adjust
4074 (simpleTeXOnePar): add outerfont arg, adjust
4076 * buffer.C (simpleLinuxDocOnePar): adjust
4077 (simpleDocBookOnePar): adjust
4079 * CutAndPaste.C (pasteSelection): adjust
4081 * BufferView.C (getEncoding): adjust
4083 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4085 * text2.C (setCharFont): adjust
4086 (setCounter): adjust
4088 * text.C (leftMargin): adjust
4089 (setHeightOfRow): adjust
4091 * rowpainter.C (paintFirst): adjust
4094 * paragraph_pimpl.C (realizeFont): adjust
4096 * paragraph.C (isFirstInSequence): move from here...
4097 * paragraph_funcs.C (isFirstInSequence): ...to here
4099 * paragraph.C (outerHook): move from here...
4100 * paragraph_funcs.C (outerHook): ...to here
4102 * paragraph.C (depthHook): move from here...
4103 * paragraph_funcs.C (depthHook): ...to here
4105 * paragraph.C (getEndLabel): move from here...
4106 * paragraph_funcs.C (getEndLabel): ...to here
4108 * text2.C (realizeFont): move from here...
4109 * paragraph_funcs.C (realizeFont): ...to here
4111 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4113 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4115 2003-04-14 Angus Leeming <leeming@lyx.org>
4117 * LColor.[Ch]: scrap LColor mathcursor.
4119 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4121 * lyxlex.[Ch] (text): delete function
4122 * trans.C (Load): adjust
4123 * paragraph_funcs.C (readParToken): adjust
4125 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4127 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4128 vector<char> instead of a char[].
4130 * lyxlex_pimpl.C (getString): adjust
4132 (lex): use getString
4136 * lyxlex.C (text): use pimpl_->getString()
4140 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
4142 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4143 (makeFontEntriesLayoutSpecific): temp var for par.size()
4144 (setLayout): temp var for ownerParagraphs().end()
4145 (fullRebreak): temp var for rows().end()
4146 (selectionAsString): temp var for boost::next(startpit), realize
4147 that the while really is a regular for loop.
4148 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4149 setCursor in one place.
4150 (setParagraph): temp vr for ownerParagraphs().end()
4151 (updateCounters): make the while loop a for loop
4152 (cutSelection): temp var for ownerParagraphs().end()
4153 (updateInset): make the do {} while() a regular for loop
4154 (getCursorX): use temp vars
4155 (setCurrentFont): use temp vars
4156 (getColumnNearX): use temp vars
4158 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4160 * text.C (transformChar): use temp var for getChar
4161 (computeBidiTables): use temp var for row->par()
4162 (fill): move temp vars for row->par() and pit->layout() earlier in
4164 (labelFill): use temp var for row->par()
4165 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4166 asc and desc, realize that pit never changes and that firstpit is
4167 just a duplicate and not needed. Exchange rit->par() with pit in a
4169 (breakAgain): use a temp var for boost::next(rit)
4170 (breakAgainOneRow): ditto
4171 (breakParagraph): use a temp var for rows().begin()
4172 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4173 (cursorRightOneWord): use temp var for cursor.par() and
4174 cursor.pos(), remove usage of tmpcursor.
4175 (cursorLeftOneWord): use temp var for cursor.par() and
4176 cursor.pos() only set cur at end of function.
4178 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4180 * text.C, text2.C: exchange all usage of Paragraph::next with
4181 boost::next(ParagraphList::iterator)
4183 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4185 * text2.C (cursorTop): simplify implementation
4186 (cursorBottom): ditto
4187 (setParagraph): use ParagraphList::iterator
4188 (setCurrentFont): adjust
4189 (getColumnNearX): adjust
4190 (cursorRight): adjust
4191 (cursorLeft): remove usage of Paragraph::previous
4192 (cursorUpParagraph): ditto
4193 (deleteEmptyParagraphMechanism): slight cleanup
4195 * text.C (isBoundary): take a Paragraph const & instead of a
4197 (addressBreakPoint): ditto
4198 (leftMargin): remove usage of Paragraph::previous.
4199 (setHeightOfRow): ditto
4200 (cursorLeftOneWord): ditto
4201 (selectNextWordToSpellcheck): ditto
4204 (breakParagraph): remove one usage of Paragraph::next
4205 (redoParagraph): ditto
4206 (acceptChange): ditto
4207 (insertChar): adjust
4208 (rowBreakPoint): adjust
4210 * bufferview_funcs.C (toggleAndShow): adjust
4212 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
4214 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4215 methods to access it.
4217 * text.C: Added updateRowPositions to compute all row positions.
4218 Make top_y and getRowNearY() to use the cached y position
4220 2003-04-11 John Levon <levon@movementarian.org>
4222 * text.C (rowBreakPoint): reintroduce the labelEnd
4223 checks, code copied from the row fill stuff. Deep voodoo.
4225 * text.C (fill): add a comment and debugging for the
4228 2003-04-11 John Levon <levon@movementarian.org>
4230 * text.C: make sure fullrow insets get wrapped to the next line,
4231 even when they're in a manual label
4233 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4235 * text2.C (insertParagraph): make it take ParagraphList::iterator
4237 (setLayout): make it return ParagraphList::iterator
4238 (redoParagraphs): ditto
4240 (checkParagraph): ditto
4242 * text.C (getRow): make getrow take ParagraphList::iterator as arg
4244 * text2.C: adjust several funcs.
4245 (realizeFont): take a ParagraphList::iterator as arg.
4246 (getLayoutFont): ditto
4247 (getLabelFont): ditto
4248 (setCharFont): ditto
4250 * text.C: adjust several funcs.
4252 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4254 * text.C (selectNextWordToSpellcheck): don't accidentally
4257 2003-04-10 John Levon <levon@movementarian.org>
4259 * ToolbarBackend.C (getIcon): special handling for
4262 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
4264 * text2.C (cursorRight): a getChar assert fixed
4266 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4268 * text2.C (getFont): change to take a ParagraphList::iterator
4269 instead of Paragraph*
4270 Adjust several functions.
4272 * text.C (transformChar): change to take a ParagraphList::iterator
4273 instead of Paragraph*
4274 (singleWidth): ditto
4275 Adjust several functions.
4277 * rowpainter.C: adjust several functions
4278 * rowpainter.h:store a ParagraphList::iterator and not a
4282 2003-04-09 John Levon <levon@movementarian.org>
4287 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4288 and the "help" bits as well
4290 2003-04-09 John Levon <levon@movementarian.org>
4293 * ToolbarBackend.C: allow multiple toolbars
4295 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4297 * undo_funcs.C (setCursorParUndo): adjust
4299 * text_funcs.C (transposeChars): adjust
4301 * text3.C (gotoNextInset): adjust
4304 * text2.C (setLayout): adjust
4305 (changeDepth): adjust
4307 (redoParagraphs): adjust
4308 (selectionAsString): adjust
4309 (setParagraph): adjust
4310 (insertInset): adjust
4311 (cutSelection): adjust
4312 (copySelection): adjust
4313 (pasteSelection): adjust
4314 (insertStringAsLines): adjust
4315 (updateInset): adjust
4316 (setCursor): change to take a ParagraphList::iterator parameter
4317 (setCursorIntern): change to take a ParagraphList::iterator parameter
4318 (setCurrentFont): adjust
4319 (cursorLeft): adjust
4320 (cursorRight): adjust
4321 (deleteEmptyParagraphMechanism): adjust
4323 * text.C (breakParagraph): adjust
4324 (insertChar): adjust
4325 (acceptChange): adjust
4326 (rejectChange): adjust
4327 (selectNextWordToSpellcheck): adjust
4328 (changeCase): adjust
4332 * lyxfind.C (SearchForward): adjust
4333 (SearchBackward): adjust
4334 (nextChange): adjust
4336 * lyxcursor.C (par): adjust
4338 * lyxcursor.h: store a ParagraphList::iterator instead of a
4341 * lyx_cb.C (getPossibleLabel): adjust
4343 * bufferview_funcs.C (toggleAndShow): adjust
4345 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4348 * BufferView.C (removeAutoInsets): adjust
4349 (lockedInsetStoreUndo): adjust
4351 2003-04-09 John Levon <levon@movementarian.org>
4353 * ToolbarBackend.C: try icon without argument
4354 if with argument fails
4356 2003-04-08 John Levon <levon@movementarian.org>
4359 * ToolbarBackend.C: add getIcon(), handle tooltip,
4360 and change from "Icon" to "Item".
4362 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4364 * BufferView.C (lockInset): another bad getchar crunched
4366 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
4368 * text2.C (changeDepth): do not setUndo on test_only (make undo work
4371 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
4373 * lyxfind.C (searchForward, searchBackwards): bug 782
4375 2003-04-07 John Levon <levon@movementarian.org>
4377 * paragraph.C: remove dead comment
4379 * text.C: remove troublesome depth-fiddling code
4380 in leftMargin() and rightMargin() (bug 1017)
4382 * text.C: fix breaking of rows in nested lists
4385 * text2.C (updateCounters): fix up depth values
4388 2003-04-07 John Levon <levon@movementarian.org>
4390 * BufferView_pimpl.C: clear message when doc finishes resizing,
4391 and after a mouse event
4393 * lyxfunc.C: clear message after exiting inset
4395 2003-04-07 John Levon <levon@movementarian.org>
4397 * bufferview_funcs.C: show math status not outside
4398 status in the statusbar
4400 2003-04-07 John Levon <levon@movementarian.org>
4402 * lyxfunc.C: note status changed after a depth change
4404 2003-04-04 Angus Leeming <leeming@lyx.org>
4406 * LaTeX.h: move AuxInfo operator==, != out of line.
4407 Remove LaTeX virtual destructor; nothing derives from it.
4408 Move operator()() out of public area and rename it startscript().
4409 Change protected for private.
4411 2003-04-04 Angus Leeming <leeming@lyx.org>
4414 * text2.C: remove unneeded #includes.
4416 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4418 * text2.C (dEPM): fix the heigth of the next row
4420 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
4422 * text.C: squashed an invalid getChar requester + some ws changes
4424 2003-04-03 John Levon <levon@movementarian.org>
4426 * bufferview_funcs.h:
4427 * bufferview_funcs.C:
4430 * text2.C: make getStatus work for the env depth lfuns
4432 2003-04-03 John Levon <levon@movementarian.org>
4434 * bufferview_funcs.h:
4435 * bufferview_funcs.C:
4438 * text2.C: parlistize decDepth(), by merging it with incDepth()
4440 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4442 * lyxrow.h: store a ParagraphList::iterator instead of a
4443 Paragraph* and adjust other class functions to suit.
4445 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4448 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4450 * text2.C (setCursor): do not anchor to cursor row for the time being
4452 2003-04-02 John Levon <levon@movementarian.org>
4459 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4461 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4463 * paragraph.h: make ParagraphList and ParagraphList::iterator
4464 friends of Paragraph.
4466 * buffer.C (makeLinuxDocFile): move towards ParagraphList
4468 * ParagraphList.C: Use the private next_ and previous_ from
4471 2003-04-01 John Levon <levon@movementarian.org>
4475 * Makefile.am: rename, remove defaults gunk
4478 * MenuBackend.C: remove defaults gunk
4481 * Languages.C: remove defaults gunk
4484 * lyx_main.C: error out if files couldn't be found.
4486 2003-04-02 John Levon <levon@movementarian.org>
4488 * text2.C: make incDepth() use parlist
4490 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4492 * undo_funcs.C (firstUndoParagraph): adjust
4494 * text3.C (gotoInset): adjust
4495 (dispatch): adjust, and rewrite loop.
4497 * text2.C (init): adjust, and rewrite loop.
4498 (redoParagraphs): adjust
4499 (updateInset): adjust, and rewrite loop.
4500 (deleteEmptyParagraphMechanism): adjust
4502 * tabular.C (LyXTabular): adjust
4503 (SetMultiColumn): adjust
4506 * lyxtext.[Ch] (ownerParagraph): delete function
4507 (ownerParagraphs): new function returns a ParagraphList.
4509 * BufferView.C (removeAutoInsets): adjust
4510 (insertErrors): adjust
4511 (setCursorFromRow): adjust
4513 2003-04-01 Angus Leeming <leeming@lyx.org>
4515 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4518 2003-04-02 John Levon <levon@movementarian.org>
4524 * text_funcs.C: make transposeChars a free function
4526 * lyxrow_funcs.C: remove wrong comment
4528 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4531 * rowpainter.C: adjust
4536 * lyxrow_funcs. [Ch]: new files
4538 * lyxrow.[Ch]: remove next and previous pointers
4539 (next,previous): remove accessor functions
4540 (isParEnd): move to lyxrow_funcs
4541 (lastPos): move to lyxrow_funcs
4542 (nextRowIsAllInset): move to lyxrow_funcs
4543 (lastPrintablePos): move to lyxrow_funcs
4544 (numberOfSeparators): move to lyxrow_funcs
4545 (numberOfHfills): move to lyxrow_funcs
4546 (numberOfLabelHfills): move to lyxrow_funcs
4547 (hfillExpansion): move to lyxrow_funcs
4551 * bufferview_funcs.C (toggleAndShow): adjust
4553 * RowList.h: Remove class RowList from file leave just a
4556 * RowList.C: delete file
4558 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4561 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4563 * text3.C (cursorPrevious): adjust
4564 (cursorNext): adjust
4567 * text2.C (redoHeightOfParagraph): adjust
4568 (redoDrawingOfParagraph): adjust
4571 * text.C (breakParagraph): adjust
4572 (insertChar): adjust
4575 * rowpainter.C (RowPainter): adjust
4576 (leftMargin): simplify and adjust
4577 (most rowpainter functions): adjust.
4579 * rowpainter.h: store the row as RowList::iterator not as Row*
4581 * lyxcursor.C (row): taka RowList::iterator as arg
4584 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4587 2003-04-01 Angus Leeming <leeming@lyx.org>
4589 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4590 stuff like bool Bool.
4592 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
4594 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4597 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4599 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4602 * lyxtext.h (rows): drop one version and leve a const variant that
4603 returns a RowList::iterator.
4605 2003-03-31 Angus Leeming <leeming@lyx.org>
4607 * text.C (fill): ensure that the signature is the same as that in the
4610 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
4612 * text2.C (redoParagraphs): adjust
4613 (updateCounters): adjust
4614 (checkParagraph): adjust
4615 (getColumnNearX): adjust and reformat a bit.
4617 * text.C (top_y): adjust
4619 (leftMargin): adjust
4620 (prepareToPrint): adjust
4622 (getRowNearY): adjust
4624 * lyxtext.h: make rowlist_ mutable.
4626 * RowList.h: add const_iterator
4627 * RowList.C: adjust for RowList::const_iterator.
4629 * text2.C (getCursorX): make it take a RowList::iterator as arg,
4632 2003-03-31 John Levon <levon@movementarian.org>
4635 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4637 * lyx_main.C: set default fonts from using lyx_gui funcs
4639 * exporter.C: pdf_mode moved from lyxrc
4642 * lyxfunc.C: changes from above
4644 2003-03-31 John Levon <levon@movementarian.org>
4646 * lyx_main.C: fix to the last fix
4648 2003-03-31 John Levon <levon@movementarian.org>
4650 * bufferlist.C: "Load original" -> "Load Original"
4656 * format.C: more Alert cleanups
4658 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4660 * text2.C (removeParagraph): make it take a RowList::iterator as
4662 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4663 (postRowPaint): make it take a RowList::iterator as arg, adjust.
4665 * text.C (anchor_row): make it take a RowList::iterator as arg,
4667 (computeBidiTables): make it take a const reference to Row instead
4668 of Row pointer, adjust.
4669 (leftMargin): make it take a RowList::iterator as arg, adjust.
4670 (rowBreakPoint): adjust
4671 (breakAgainOneRow): make it take a RowList::iterator as arg,
4673 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4675 * bufferview_funcs.C (toggleAndShow): adjust
4677 2003-03-30 John Levon <levon@movementarian.org>
4681 * boost-inst.C: moved to support
4683 * several files: changes as a result
4685 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4687 * text2.C (LyXText): adjust.
4689 (removeRow): make it take a RowList::iterator as arg, adjust.
4690 (fullRebreak): adjust
4691 (deleteEmptyParagraphMechanism): adjust
4692 (clearPaint): adjust
4695 * text.C (top_y): adjust
4696 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4697 (breakAgain): make it take a RowList::iterator as arg, adjust.
4698 (breakParagraph): adjust
4699 (insertChar): adjust
4702 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4703 need_break_row, and refresh_row.
4705 * text3.C (dispatch): adjust
4707 * text2.C (checkParagraph): adjust
4709 (setCursorFromCoordinates): adjust
4711 * text.C (top_y): adjust
4713 (getRow): make it return a RowList::iterator, adjust
4714 (getRowNearY): make it return a RowList::iterator, adjust
4716 * text2.C (init): adjust
4717 (insertRow): remove function
4718 (insertParagraph): adjust
4719 (redoParagraphs): adjust
4720 (fullRebreak): adjust
4721 (updateCounters): adjust
4723 * text.C (top_y): rewrite to use RowList iterators.
4725 (setHeightOfRow): rewrite to sue RowList iterators.
4726 (appendParagraph): adjust
4727 (breakAgain): adjust
4728 (breakAgainOneRow): adjust
4729 (breakParagraph): adjust
4731 (getRowNearY): adjust, and remove commented code.
4733 * lyxtext.h (firstRow): delete function
4734 (lastRow): delete function
4735 (rows): new function (const and non-const versions.)
4736 (insertRow): delete function
4738 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4740 2003-03-29 John Levon <levon@movementarian.org>
4742 * BufferView_pimpl.C: always update scrollbar top
4743 because pasting text when we're anchored could mean we
4744 miss an update altogether
4746 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4748 * text2.C (init): use rowlist_.end() and not 0.
4749 (insertRow): change to take a RowList::iterator as arg, adjust
4751 (insertParagraph): change to take a RowList::iterator as arg,
4753 (redoParagraphs): remove some debug msgs.
4755 * text.C (appendParagraph): change to take a RowList::iterator
4756 arg, adjust for this.
4757 (breakAgain): add an assert
4758 (breakAgainOneRow): ditto
4760 2003-03-29 John Levon <levon@movementarian.org>
4762 * text2.C: do not clear selection after inc/decDepth
4765 2003-03-29 John Levon <levon@movementarian.org>
4768 * buffer.C: fix broken strerrors according to Lars
4770 2003-03-29 John Levon <levon@movementarian.org>
4772 * converters.C: more Alert cleanups
4774 2003-03-29 John Levon <levon@movementarian.org>
4776 * bufferview_funcs.C: remove pointless Alert
4778 * buffer.C: fix confusing error message when
4779 a template is chmoded 000
4781 2003-03-29 John Levon <levon@movementarian.org>
4785 * BufferView_pimpl.C: Alert fixes
4789 * tabular-old.C: remove unused table compat reading
4791 2003-03-29 John Levon <levon@movementarian.org>
4796 * lyx_cb.C: more Alert cleanups
4798 * lyxfunc.C: don't allow chktex if not latex document
4800 2003-03-29 John Levon <levon@movementarian.org>
4804 * buffer.C: warnings pushed down from support/,
4807 2003-03-29 John Levon <levon@movementarian.org>
4809 * lyxfunc.C: safety check for C-r (revert)
4811 2003-03-29 John Levon <levon@movementarian.org>
4814 * bufferlist.C: several UI fixes using Alert::prompt.
4815 Fix the pointless looping quit code. Fix stupid revert
4820 * lyx_cb.C: use Alert::prompt
4822 * lyx_main.C: remove a silly question
4824 * lyxfunc.C: remove a couple of silly questions,
4827 2003-03-28 John Levon <levon@movementarian.org>
4829 * text2.C: fix bug 974 (End on empty par)
4831 2003-03-28 John Levon <levon@movementarian.org>
4833 * BufferView_pimpl.C:
4835 * lfuns.h: remove do-nothing math greek lfuns
4837 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4839 * lyxgluelength.h (isValidGlueLength): add default arg on
4840 parameter 2. Remove default arg from friend in class.
4842 * lyxlength.h (isValidLength): add default arg on parameter 2.
4843 Remove default arg from friend in class.
4845 * text2.C (LyXText): adjust, initialize refresh_row.
4849 (insertParagraph): adjst
4850 (redoParagraphs): adjust
4851 (fullRebreak): adjust
4852 (updateCounters): adjust
4853 (deleteEmptyParagraphMechanism): first attempt at fixing a
4856 * text.C (top_y): adjust
4857 (setHeightOfRow): adjust
4859 (getRowNearY): adjust
4861 * lyxtext.h: include RowList.h
4862 (~LyXText): not needed anymore, deleted.
4863 (firstRow): modify for RowList
4864 (lastRow): new function
4865 Delete firstrow and lastrow class variables, add a Rowlist
4866 rowlist_ class variable.
4868 * lyxrow.C (lastPos): use empty() and not !size() to check if a
4871 * RowList.C (insert): fix case where it == begin().
4873 2003-03-26 Angus Leeming <leeming@lyx.org>
4875 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4876 the thesaurus dialog.
4878 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4880 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4882 * RowList.[Ch]: new files
4884 * ParagraphList.C (erase): handle the case where it == begin
4887 2003-03-25 John Levon <levon@movementarian.org>
4891 * aspell.C: add new aspell support
4894 * lyxrc.C: Make use_pspell be use_spell_lib. Always
4897 2003-03-25 Angus Leeming <leeming@lyx.org>
4900 * LyXAction.C (init): new LFUN_INSET_INSERT.
4902 * BufferView_pimpl.C (dispatch): split out part of the
4903 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4905 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4908 2003-03-25 Angus Leeming <leeming@lyx.org>
4910 * lyxfunc.C (dispatch): changes to the Dialogs interface.
4912 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
4915 * text3.C: remove useless row->height(0)
4917 2003-03-25 John Levon <levon@movementarian.org>
4921 * text3.C: rename the refreshing stuff to better names
4923 2003-03-24 John Levon <levon@movementarian.org>
4925 * BufferView_pimpl.h:
4926 * BufferView_pimpl.C: update layout choice on a mouse
4929 2003-03-23 John Levon <levon@movementarian.org>
4931 * Makefile.am: fix commandtags.h reference
4933 2003-03-22 John Levon <levon@movementarian.org>
4935 * BufferView_pimpl.C:
4940 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4942 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
4945 * text.C: take the rtl methods out of line
4947 2003-03-21 André Pönitz <poenitz@gmx.net>
4949 * metricsinfo.[Ch]: new files containing structures to be passed around
4950 during the two-phase-drawing...
4952 2003-03-21 André Pönitz <poenitz@gmx.net>
4954 * lyxtextclass.C: read 'environment' tag.
4956 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
4958 * text2.C (removeRow): fix bug 964
4960 2003-03-20 John Levon <levon@movementarian.org>
4964 * text2.C: paint cleanups. Inset::update() dropped font
4967 2003-03-19 John Levon <levon@movementarian.org>
4969 * lyxfunc.C: only fitcursor/markDirty if available()
4971 2003-03-19 John Levon <levon@movementarian.org>
4973 * commandtags.h: rename to ...
4975 * lfuns.h: ... this, and renumber / cleanup
4977 2003-03-19 John Levon <levon@movementarian.org>
4979 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4980 fit the cursor after an lfun
4984 * BufferView_pimpl.h:
4985 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4987 * LyXAction.C: layout-character should have ReadOnly
4989 * ParagraphParameters.C:
4991 * bufferview_funcs.C:
4998 * undo_funcs.C: changes from above
5000 2003-03-18 John Levon <levon@movementarian.org>
5002 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5003 remove it from update()
5005 * lyxfunc.C: update layout choice after an lfun
5007 * text3.C: remove extra updateLayoutChoice()s
5009 2003-03-18 John Levon <levon@movementarian.org>
5011 * text.C: top_y change means full repaint, fix
5012 a drawing bug with cursor movement
5014 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5018 * text2.C: anchor row on setCursor
5020 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
5022 * lyxtext.h: remove almost all mutable keywords
5025 * text3.C: remove const keywords accordingly
5027 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5029 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5031 (TeXEnvironment): ditto
5034 2003-03-17 John Levon <levon@movementarian.org>
5036 * text.C (rowBreakPoint): remove attempt to fix displayed
5037 math insets inside a manual label
5039 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
5041 * lyxtext.h: remove BufferView* as first arg from almost all class
5043 * other files: adjust.
5045 2003-03-17 John Levon <levon@movementarian.org>
5049 * text2.C: more paint cleanups
5051 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5054 * rowpainter.C: remove "smart" background painting code
5056 2003-03-16 John Levon <levon@movementarian.org>
5061 * text3.C: add helper functions for setting refresh_row/y
5063 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
5065 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5066 newline inset which *can* get inserted in the pass_thru layouts.
5067 This is primarily for literate documents.
5069 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
5071 * buffer.C: increment LYX_FORMAT to 223
5073 2003-03-14 André Pönitz <poenitz@gmx.net>
5075 * textclass.h: prepare for environment handling, ws changes
5076 * lyxlayout.C: read latexheader and latexfooter tags
5078 2003-03-14 John Levon <levon@movementarian.org>
5080 * text2.C: rewrite ::status() a bit
5082 2003-03-13 John Levon <levon@movementarian.org>
5084 * lyxtext.h: add some docs
5086 2003-03-13 John Levon <levon@movementarian.org>
5091 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5093 2003-03-13 John Levon <levon@movementarian.org>
5095 * text3.C: fix appendix redrawing
5097 2003-03-13 John Levon <levon@movementarian.org>
5099 * text.C (setHeightOfRow):
5101 * rowpainter.C: make appendix mark have the text
5102 "Appendix" so the user knows what it is
5105 * LColor.C: s/appendixline/appendix/ from above
5107 2003-03-13 John Levon <levon@movementarian.org>
5109 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5111 * text.C: fix a getChar(pos) bug properly
5113 2003-03-13 Angus Leeming <leeming@lyx.org>
5116 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5117 Probably only temporary. Let's see how things pan out.
5119 * BufferView.C (unlockInset):
5120 * BufferView_pimpl.C (fitCursor):
5121 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5123 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5124 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5126 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5127 new functions that convert ParagraphParameters to and from a string.
5129 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5130 BufferView::Pimpl's dispatch.
5131 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5133 2003-03-13 André Pönitz <poenitz@gmx.net>
5137 * factory.C: make it aware of InsetEnv
5139 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5141 * text2.C (setCursor): never ask for one past last
5142 (setCursor): add some debugging messages.
5144 * text.C (singleWidth): never ask for one past last
5145 (singleWidth): ditto
5147 (rightMargin): ditto
5148 (rowBreakPoint): ditto
5149 (setHeightOfRow): ditto
5150 (prepareToPrint): ditto
5152 * rowpainter.C (paintBackground): never ask for one past last
5153 (paintText): never ask for one past last
5155 * paragraph_pimpl.C (getChar): make the assert stricter, never
5156 allow the one past last pos to be taken
5158 * paragraph.C (getChar): ws changes only
5160 * lyxrow.C (nextRowIsAllInset): never ask for one past last
5161 (numberOfSeparators): ditto
5162 (numberOfHfills): ditto
5164 2003-03-12 John Levon <levon@movementarian.org>
5170 * paragraph_funcs.C: fix per-buffer authorlists
5172 2003-03-12 John Levon <levon@movementarian.org>
5174 * text.C: fix newline in right address
5176 2003-03-12 Angus Leeming <leeming@lyx.org>
5178 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5179 duplicate those in LyXFunc::dispatch.
5183 * ToolbarDefaults.C:
5184 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5185 Add LFUN_FONTFREE_UPDATE.
5187 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5188 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5190 * bufferview_func.[Ch]: several new functions to facilliate
5191 transfer of data to and from the character dialog.
5193 2003-03-12 John Levon <levon@movementarian.org>
5198 * paragraph_funcs.C:
5199 * paragraph_pimpl.C:
5203 * text3.C: remove META_NEWLINE in favour of an inset
5206 * rowpainter.C: remove paintNewline (done by inset)
5208 2003-03-12 John Levon <levon@movementarian.org>
5210 * paragraph_pimpl.C: complain about bad getChar()s
5211 for a while at least
5213 2003-03-12 John Levon <levon@movementarian.org>
5216 * buffer.C: move paragraph read into a separate function,
5217 a little renaming to reflect that.
5220 * bufferparams.C: remove the author_ids map, not necessary now
5223 * factory.C: moved Buffer::readInset to here
5225 * paragraph_funcs.h:
5226 * paragraph_funcs.C: readParagraph free function moved from
5229 * tabular.C: name change
5231 2003-03-12 John Levon <levon@movementarian.org>
5234 * ParagraphParameters.C: move par params input to
5237 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5238 behave like a normal read from the stream wrt reading
5239 a line vs. a \\token
5241 2003-03-12 John Levon <levon@movementarian.org>
5244 * ParagraphParameters.h:
5245 * ParagraphParameters.C: move output code to a
5248 2003-03-12 John Levon <levon@movementarian.org>
5250 * BufferView.C (insertLyXFile):
5253 * tabular.C: use a parlist iterator for creating the
5256 2003-03-12 John Levon <levon@movementarian.org>
5258 * buffer.C: make current_change static local not
5261 2003-03-12 John Levon <levon@movementarian.org>
5263 * buffer.C: fix insertStringAsLines for change tracking
5265 2003-03-12 John Levon <levon@movementarian.org>
5272 * bufferparams.C: move author list into params. Rename some
5273 functions. Move the header reading into a separate token
5274 loop. Move the header token reading into BufferParams.
5276 2003-03-12 John Levon <levon@movementarian.org>
5278 * changes.C: put debug inside lyxerr.debugging() checks
5280 2003-03-11 André Pönitz <poenitz@gmx.net>
5282 * factory.C: make it aware of InsetHFill
5284 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5286 * buffer.C (latexParagraphs): move function from here...
5287 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5290 2003-03-10 Angus Leeming <leeming@lyx.org>
5292 * LyXAction.C (init): fix bug in poplating array with multiple entries
5293 with the same LFUN (spotted by JMarc).
5295 2003-03-10 John Levon <levon@movementarian.org>
5298 * text2.C: move getColumnNearX() near its
5301 2003-03-10 John Levon <levon@movementarian.org>
5303 * text.C: fix break before a minipage
5305 2003-03-10 John Levon <levon@movementarian.org>
5307 * text.C: fix the last commit
5309 2003-03-09 John Levon <levon@movementarian.org>
5313 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5314 bug 365 (don't break before insets unless needed). Don't
5315 return a value > last under any circumstances.
5317 2003-03-09 Angus Leeming <leeming@lyx.org>
5319 * BufferView_pimpl.C (trackChanges, dispatch): call
5320 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5322 2003-03-09 Angus Leeming <leeming@lyx.org>
5324 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5325 than Dialogs::showAboutlyx().
5327 2003-03-09 Angus Leeming <leeming@lyx.org>
5329 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5330 than Dialogs::showTabularCreate().
5332 2003-03-09 John Levon <levon@movementarian.org>
5336 * text2.C: 3rd arg to nextBreakPoint was always the same.
5339 2003-03-08 John Levon <levon@movementarian.org>
5346 * text2.C: Remove the "main" bit from the "main body"
5349 2003-03-08 John Levon <levon@movementarian.org>
5351 * text.C (leftMargin): The left margin of an empty
5352 manual label paragraph should not include the label width
5355 * text.C (prepareToPrint): don't attempt to measure hfills
5356 for empty manual label paragraphs - the answer should be 0
5358 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5360 * CutAndPaste.C: remove commented code and reindent.
5362 2003-03-08 John Levon <levon@movementarian.org>
5365 * lyxfunc.C: move reloadBuffer()
5368 * BufferView.C: to here
5370 * lyxvc.C: add comment
5373 * vc-backend.C: call bv->reload() to avoid
5374 getStatus() check on MENURELOAD
5376 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
5378 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5379 to an old format .dep file.
5381 2003-03-07 Angus Leeming <leeming@lyx.org>
5383 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5384 when the LFUN_MOUSE_RELEASE should have been handled by
5385 inset->localDispatch.
5387 2003-03-07 Angus Leeming <leeming@lyx.org>
5389 * BufferView_pimpl.C (dispatch):
5390 * LyXAction.C (init):
5391 * ToolbarDefaults.C (init):
5393 * lyxfunc.C (getStatus):
5394 remove LFUN_INSET_GRAPHICS.
5396 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5398 2003-03-07 Angus Leeming <leeming@lyx.org>
5401 * LyXAction.C (init):
5402 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5404 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5407 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5409 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5410 localDispatch method LFUN_INSET_DIALOG_UPDATE.
5412 2003-03-07 Angus Leeming <leeming@lyx.org>
5414 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5417 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5419 * ParagraphList.C (front): new function
5422 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
5424 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5425 and top_row_offset_. removed var first_y.
5427 * text2.C (LyXText, removeRow):
5429 * BufferView_pimpl.C:
5430 use these methods instead of using first_y
5432 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5434 * text2.C (pasteSelection): adjust for checkPastePossible
5436 * CutAndPaste.C: remove Paragraph * buf and replace with
5437 ParagraphList paragraphs.
5438 (DeleteBuffer): delete
5439 (cutSelection): change the tc type to textclass_type
5440 (copySelection): change the tc type to textclass_type
5441 (copySelection): adjust for ParagraphList
5442 (pasteSelection): change the tc type to textclass_type
5443 (pasteSelection): adjust for Paragraphlist
5444 (nrOfParagraphs): simplify for ParagraphList
5445 (checkPastePossible): simplify for ParagraphList
5446 (checkPastePossible): remove unused arg
5448 * ParagraphList.C (insert): handle the case where there are no
5451 * CutAndPaste.h: make CutAndPaste a namespace.
5453 * text3.C (dispatch): adjust
5455 * text.C (breakParagraph): add a ParagraphList as arg
5457 * paragraph_funcs.C (breakParagraph): change to take a
5458 BufferParams and a ParagraphList as args.
5459 (breakParagraphConservative): ditto
5460 (mergeParagraph): ditto
5461 (TeXDeeper): add a ParagraphList arg
5462 (TeXEnvironment): ditto
5465 * buffer.C (readLyXformat2): adjust
5466 (insertStringAsLines): adjust
5467 (latexParagraphs): adjust
5469 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5470 (cutSelection): adjust
5471 (pasteSelection): adjust
5473 * BufferView_pimpl.C (insertInset): adjust
5475 2003-03-05 Angus Leeming <leeming@lyx.org>
5478 * LyXAction.C (init):
5479 * BufferView_pimpl.C (dispatch):
5480 * lyxfunc.C (getStatus):
5481 remove LFUN_CHILD_INSERT.
5483 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5485 2003-03-05 Angus Leeming <leeming@lyx.org>
5488 * LyXAction.C (init):
5489 * src/factory.C (createInset):
5490 * lyxfunc.C (getStatus):
5491 * text3.C (dispatch):
5492 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5494 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5496 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5498 * ParagraphList.C (insert): handle insert right before end()
5499 (erase): fix cases where it can be first or last paragraph.
5501 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5503 * paragraph_funcs.C (TeXEnvironment): remove all usage of
5504 Paragraph::next and Paragraph::previous
5507 * text.C (breakParagraph): adjust
5509 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5510 BufferParams& as arg.
5511 (breakParagraph): use ParagraphList::insert
5512 (breakParagraphConservative): take a Buffer* instead of a
5513 BufferParams& as arg.
5514 (breakParagraphConservative): use ParagraphList::insert.
5516 * buffer.C (insertStringAsLines): un-const it
5517 (insertStringAsLines): adjust
5519 * ParagraphList.C (insert): new function
5521 * CutAndPaste.C (pasteSelection): adjust
5523 * text.C (backspace): adjust
5525 * tabular.C (SetMultiColumn): adjust
5527 * CutAndPaste.C (cutSelection): adjust
5528 (pasteSelection): adjust
5530 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5531 Buffer const * as arg
5533 * ParagraphList.C (erase): new function
5534 * paragraph_funcs.C (mergeParagraph): use it
5535 (mergeParagraph): make it take a Buffer* instead of a
5536 BufferParams* as arg
5538 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5540 (breakParagraphConservative): ditto
5542 * paragraph.h: remove the breakParagraph friend
5544 * paragraph.C (eraseIntern): new function
5545 (setChange): new function
5547 * paragraph_funcs.C (mergeParagraph): make it take a
5548 ParagraphList::iterator instead of a Paragraph *, adjust
5551 * paragraph.h: move an #endif so that the change tracking stuff
5552 also works in the NO_NEXT case.
5554 2003-03-04 Angus Leeming <leeming@lyx.org>
5557 * LyXAction.C: new LFUN_INSET_MODIFY.
5559 * BufferView_pimpl.C (dispatch): if an inset is found to be open
5560 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5562 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5564 * several files: ws changes only
5566 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5567 (TeXEnvironment): ditto
5570 * buffer.C (makeLaTeXFile): adjust
5571 (latexParagraphs): make it take ParagraphList::iterator as args
5573 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5575 * buffer.C (latexParagraphs): adjust
5577 * paragraph.C (TeXOnePar): move function...
5578 (optArgInset): move function...
5579 (TeXEnvironment): move function...
5580 * paragraph_pimpl.C (TeXDeeper): move function...
5581 * paragraph_funcs.C: ...here
5583 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5585 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5587 * buffer.C (readInset): remove compability code for old Figure and
5590 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5592 * buffer.C: ws changes
5595 * BufferView_pimpl.C: ditto
5598 * bufferlist.h: ditto
5602 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
5604 * converter.[Ch]: split into itself +
5607 * Makefile.am: += graph.[Ch] + format.[Ch]
5614 * lyxrc.C: added #include "format.h"
5616 2003-02-27 Angus Leeming <leeming@lyx.org>
5618 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5621 * factory.C (createInset): add "label" to the factory.
5623 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5624 string and do no more.
5626 2003-02-27 Angus Leeming <leeming@lyx.org>
5629 * LyXAction.C (init):
5630 * factory.C (createInset):
5631 * BufferView_pimpl.C (dispatch):
5632 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5634 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5636 * lyxfunc.C (dispatch):
5637 * text3.C (dispatch): pass name to params2string.
5639 2003-02-26 Angus Leeming <leeming@lyx.org>
5641 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5643 Rearrange the ~includes. Strip out the unnecessary ones.
5645 * factory.C (createInset): reformat.
5646 create new insets for the various LFUN_XYZ_APPLY lfuns.
5648 2003-02-26 John Levon <levon@movementarian.org>
5651 * lyxrow.C: add isParStart,isParEnd helpers
5653 * paragraph.h: make isInserted/DeletedText take refs
5655 * paragraph_funcs.h:
5656 * paragraph_funcs.C: remove #if 0'd code
5661 * text.C: use lyxrow helpers above.
5662 Move draw and paint routines to RowPainter.
5663 Make several methods use refs not pointers.
5664 Make backgroundColor() const.
5665 Add markChangeInDraw(), isInInset().
5666 Merge changeRegionCase into changeCase.
5667 Make workWidth() shouldn't-happen code into an Assert.
5670 * rowpainter.C: new class for painting a row.
5673 * vspace.C: make inPixels take a ref
5675 2003-02-26 Angus Leeming <leeming@lyx.org>
5677 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5680 2003-02-25 John Levon <levon@movementarian.org>
5682 * ispell.C: give the forked command a more accurate name
5684 2003-02-22 John Levon <levon@movementarian.org>
5687 * toc.C: make TocItem store an id not a Paragraph *
5690 2003-02-21 Angus Leeming <leeming@lyx.org>
5692 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5693 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5694 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5695 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5696 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5697 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5699 * BufferView_pimpl.C (dispatch):
5700 * LyXAction.C (init):
5701 * factory.C (createInset):
5702 * lyxfunc.C (getStatus, dispatch):
5703 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5705 2003-02-21 Angus Leeming <leeming@lyx.org>
5707 * BufferView_pimpl.C (MenuInsertLyXFile):
5708 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5709 * lyxfunc.C (menuNew, open, doImport):
5710 no longer pass a LyXView & to fileDlg.
5712 2003-02-21 Angus Leeming <leeming@lyx.org>
5714 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5715 * LyXAction.C: change, BIBKEY to BIBITEM.
5716 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5717 Change InsetBibKey to InsetBibitem.
5718 Change BIBKEY_CODE to BIBITEM_CODE.
5719 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5720 * factory.C: replace insetbib.h with insetbibitem.h.
5721 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5722 * paragraph.C: replace insetbib.h with insetbibitem.h.
5723 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5724 Change bibkey() to bibitem().
5725 * text.C: remove insetbib.h.
5726 * text2.C: replace insetbib.h with insetbibitem.h.
5727 change bibkey() to bibitem().
5728 * text3.C: remove insetbib.h.
5729 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5731 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5733 * lyxrc.C (output): enclose user email in quotes (in case there are
5736 2003-02-18 John Levon <levon@movementarian.org>
5738 * buffer.h: add std::
5740 2003-02-17 John Levon <levon@movementarian.org>
5746 * pspell.C: reworking. Especially in ispell, a large
5747 number of clean ups and bug fixes.
5749 * lyxfunc.C: fix revert to behave sensibly
5751 2003-02-17 André Pönitz <poenitz@gmx.net>
5754 * commandtags.h: new LFUN_INSERT_BIBKEY
5764 * paragraph_func.C: remove special bibkey handling
5766 2003-02-17 John Levon <levon@movementarian.org>
5768 * text.C (Delete): fix case where delete at the end of
5769 the very first paragraph would not merge the pars
5771 2003-02-17 John Levon <levon@movementarian.org>
5773 * lyxrow.C: fix lastPrintablePos()
5775 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5777 * bufferparams.C (writeLaTeX): add a std:here
5779 * buffer.C: and remove a using directive there
5781 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5783 * buffer.C (makeLaTeXFile): move the code that generates the
5786 * bufferparams.C (writeLaTeX): ... in this new method
5788 * LaTeXFeatures.C (getEncodingSet): make const
5789 (getLanguages): make const
5791 * MenuBackend.C (binding): returns the binding associated to this
5793 (add): sets the status of each item by calling getStatus. Adds
5795 (read): add support for OptSubMenu
5796 (expand): remove extra separator at the end of expanded menu
5798 2003-02-15 John Levon <levon@movementarian.org>
5801 * BufferView_pimpl.C:
5803 * bufferlist.C: remove pointless BufferStorage bloat. Remove
5804 inset code that had no actual effect. Remove unneeded status
5807 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5809 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5812 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
5814 * text.C (drawLengthMarker): also draw an arrow marker for
5815 symbolic lengths (medskip...)
5817 2003-02-14 John Levon <levon@movementarian.org>
5820 * tabular.C: better method names
5822 2003-02-14 John Levon <levon@movementarian.org>
5824 * BufferView_pimpl.C:
5829 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5830 it's a more accurate name. Remove some pointless uses.
5832 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5834 * text2.C (LyXText): change order of initilizers to shut off
5837 2003-02-14 John Levon <levon@movementarian.org>
5839 * buffer.C: use ParIterator for getParFromID()
5843 * paragraph_pimpl.h:
5844 * paragraph_pimpl.C: remove unused getParFromID()
5846 2003-02-14 John Levon <levon@movementarian.org>
5848 * buffer.C: remove some very old #if 0'd parse code
5850 2003-02-13 John Levon <levon@movementarian.org>
5854 * text2.C: move hfillExpansion(), numberOfSeparators(),
5855 rowLast(), rowLastPrintable(), numberofHfills(),
5856 numberOfLabelHfills() ...
5859 * lyxrow.C: ... to member functions here.
5864 * text.C: remove LyXText::beginningOfMainBody(), and call
5865 p->beginningOfMainBody() directly. Move the check for
5866 LABEL_MANUAL into the latter.
5873 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5879 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5880 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5882 2003-02-13 John Levon <levon@movementarian.org>
5884 * CutAndPaste.C: remove debug
5886 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5888 * paragraph.C (asString): remove two unused variables
5890 * lyxtextclass.C (readTitleType):
5892 (LyXTextClass): handle new members titletype_ and titlename_
5894 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5896 2003-02-09 John Levon <levon@movementarian.org>
5899 * buffer.C: replace hand-coded list with a map for the dep clean
5901 2003-02-08 John Levon <levon@movementarian.org>
5903 * LaTeX.C: consolidate code into showRunMessage() helper
5905 2003-02-08 John Levon <levon@movementarian.org>
5910 * BufferView.C: change setSelectionOverString() to setSelectionRange()
5911 and pass the size in explicitly
5913 * BufferView_pimpl.h:
5914 * BufferView_pimpl.C:
5916 * BufferView.C: add getCurrentChange()
5918 * BufferView_pimpl.h:
5919 * BufferView_pimpl.C: handle change lfuns
5921 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5922 for changes. Mark pasted paragraphs as new.
5924 * support/lyxtime.h:
5925 * support/lyxtime.C:
5926 * DepTable.C: abstract time_t as lyx::time_type
5929 * LColor.C: add colours for new text, deleted text, changebars
5931 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5932 package use "usenames" option.
5936 * LyXAction.C: add change lfuns
5940 * author.C: author handling
5943 * buffer.C: add a per-buffer author list, with first entry as
5944 current author. Handle new .lyx tokens for change tracking. Output
5945 author list to .lyx file. Output dvipost stuff to .tex preamble.
5946 Bump lyx format to 222.
5949 * bufferlist.C: add setCurrentAuthor() to reset current author details
5953 * bufferparams.C: add param for tracking
5955 * bufferview_funcs.C: output change info in minibuffer
5959 * changes.C: add change-tracking structure
5962 * debug.C: add CHANGES debug flag
5965 * lyxfind.C: add code for finding the next change piece
5968 * lyxrc.C: add user_name and user_email
5971 * lyxrow.C: add a metric for the top of the text line
5974 * text.C: implement accept/rejectChange()
5977 * text.C: paint changebars. Paint new/deleted text in the chosen
5978 colours. Strike through deleted text.
5982 * paragraph_pimpl.h:
5983 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5984 in the current change to the insert functions. Rework erase to
5985 mark text as deleted, adding an eraseIntern() and a range-based
5986 erase(). Implement per-paragraph change lookup and
5989 * paragraph_funcs.C: Fixup paste for change tracking.
5991 * tabular.C: mark added row/columns as new.
5993 * text.C: fix rowLast() to never return -1. Don't allow
5994 spellchecking of deleted text. Track transpose changes. Don't
5995 allow paragraph break or merge where appropriate.
5997 * text2.C: leave cursor at end of selection after a cut.
5999 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6001 * text.C (getLengthMarkerHeight):
6002 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6003 visible on screen too.
6005 2003-02-07 John Levon <levon@movementarian.org>
6007 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6009 2003-02-05 Angus Leeming <leeming@lyx.org>
6011 * lyxserver.C (read_ready): revert my patch of 11 September last year
6012 as it sends PC cpu through the roof. Presumably this means that
6013 the lyxserver will no longer run on an Alpha...
6015 2003-01-30 Angus Leeming <leeming@lyx.org>
6017 * factory.C (createInset): create an InsetCommandParam of type "index"
6018 and use it to 'do the right thing'.
6020 * text2.C (getStringToIndex): ensure that cursor position is always
6021 reset to the reset_cursor position.
6023 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6025 * lyxfunc.C (getStatus): "buffer-export custom" should never be
6028 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
6032 * lyxfunc.C: Output messages with identical spelling, punctuation,
6035 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
6037 * MenuBackend.C (expandFormats): List only viewable export formats
6040 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6043 * lyxfunc.C (getStatus): Make sure that formats other than
6044 "fax" can also be disabled
6046 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6048 * text3.C (dispatch): put the lfuns that insert insets in 3
6049 groups, and call doInsertInset with appropriate arguments.
6050 (doInsertInset): new function, that creates an inset and inserts
6051 it according to some boolean parameters.
6053 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6055 * buffer.C (readFile): remember to pass on 'par' when calling
6056 readFile recursively.
6058 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6060 * MenuBackend.C (expandFormats): add "..." to import formats.
6062 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
6064 * paragraph.C (asString): Remove XForms RTL hacks.
6066 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
6067 * buffer.C: fix typo
6069 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6071 * Makefile.am (LIBS): delete var
6072 (lyx_LDADD): add @LIBS@ here instead.
6074 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
6076 * Clarify the meaning of "wheel mouse jump"
6078 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6080 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6083 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6085 * importer.C (Loaders): do not preallocate 3 elements in the
6086 vector, since one ends up with 6 elements otherwise
6088 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6090 * DepTable.C (write): write the file name as last element of the
6091 .dep file (because it may contain spaces)
6092 (read): read info in the right order
6094 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6096 * paragraph_pimpl.C (simpleTeXBlanks):
6097 (simpleTeXSpecialChars):
6098 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6100 * tabular.C (latex): add some missing case statements. Reindent.
6102 * MenuBackend.C (expandToc): remove unused variable.
6104 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
6113 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6116 2003-01-05 John Levon <levon@movementarian.org>
6119 * BufferView.C: add getEncoding()
6122 * kbsequence.C: do not store last keypress
6125 * lyxfunc.C: store last keypress here instead. Pass encoding
6128 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6130 * lyx_main.C (init): remove annoying error message when following
6131 symbolic links (bug #780)
6133 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6135 * text.C (insertChar):
6136 * lyxrc.C (getDescription): remove extra spaces
6138 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6140 * lyxrc.C (getDescription): remove extra spaces
6142 2002-12-20 John Levon <levon@movementarian.org>
6144 * text3.C: hack fix for page up/down across tall rows
6146 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6148 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6151 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6153 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6154 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6155 thesaurus is not compiled in
6157 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
6159 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
6161 2002-12-16 Angus Leeming <leeming@lyx.org>
6164 * lyx_main.C (init): remove override_x_deadkeys stuff.
6166 2002-12-12 John Levon <levon@movementarian.org>
6168 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6169 insert. Only remove shift modifier under strict
6172 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6174 * MenuBackend.C (expandToc): fix crash.
6176 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6178 * MenuBackend.C (expandToc): gettext on float names.
6180 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6182 * lyxlength.[Ch]: set default unit to UNIT_NONE,
6183 implement bool empty() [bug 490]
6185 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6187 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6189 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6191 * several files: ws changes
6193 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6195 * text2.C (setCounter): clean up a bit, use boost.format.
6196 (updateCounters): initialize par upon declaration.
6198 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6199 if the layout exists. We do not just store the layout any more.
6200 (SwitchLayoutsBetweenClasses): use boost.format
6202 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6204 * converter.C (convert): if from and to files are the same, use a
6205 temporary files as intermediary
6207 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6210 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6212 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
6214 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6216 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6218 * tabular.C (asciiPrintCell): use string(size, char) instead of
6221 * sgml.C (openTag): fix order of arguments to string constructor
6224 * lyxfunc.C (dispatch): use boost.format
6226 * lots of files: change "c" -> 'c'
6228 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
6230 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6232 2002-11-25 Angus Leeming <leeming@lyx.org>
6234 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6236 * lyx_main.C (init): compile fix.
6238 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6240 * lyx_cb.C (start): boost.formatify
6241 do not include <iostream>
6243 * lengthcommon.C: ws only
6245 * boost-inst.C,BoostFormat.h: add more explict instantations
6247 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6249 * lots of files: handle USE_BOOST_FORMAT
6251 2002-11-21 John Levon <levon@movementarian.org>
6253 * pspell.C: fix compile
6255 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6257 * lyxfunc.C (dispatch): use boost::format
6261 * lyxfont.C (stateText): use boost::format
6263 * lyx_main.C (LyX): use boost::format
6265 (queryUserLyXDir): ditto
6268 (typedef boost::function): use the recommened syntax.
6270 * importer.C (Import): use boost::format
6272 * debug.C (showLevel): use boost::format
6274 * converter.C (view): use boost::format
6279 * bufferview_funcs.C (currentState): use boost::format
6281 * bufferlist.C (emergencyWrite): use boost::format
6283 * buffer.C (readLyXformat2): use boost::format
6284 (parseSingleLyXformat2Token): ditto
6286 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6288 * LaTeX.C (run): use boost::format
6290 * Chktex.C (scanLogFile): use boost::format
6292 * BufferView_pimpl.C (savePosition): use boost::format
6293 (restorePosition): ditto
6294 (MenuInsertLyXFile): ditto
6296 * BoostFormat.h: help file for explicit instation.
6298 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
6300 * tabular.C (latex): Support for block alignment in fixed width
6303 2002-11-17 John Levon <levon@movementarian.org>
6305 * BufferView_pimpl.C:
6307 * lyxfunc.C: split filedialog into open/save
6309 2002-11-08 Juergen Vigna <jug@sad.it>
6311 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6312 by my last patch (hopefully).
6314 2002-11-08 John Levon <levon@movementarian.org>
6323 * toc.C: ParConstIterator, and use it (from Lars)
6325 2002-11-07 Ben Stanley <bds02@uow.edu.au>
6327 * lyxtextclass.[Ch]: revise and add doxygen comments
6329 2002-11-07 John Levon <levon@movementarian.org>
6331 * text.C: fix progress value for spellchecker
6333 * toc.C: fix navigate menu for insetwrap inside minipage
6335 * paragraph_funcs.C: added FIXME for suspect code
6337 2002-11-07 John Levon <levon@movementarian.org>
6339 * BufferView_pimpl.C: fix redrawing of insets
6342 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6344 * text2.C (updateCounters): fix bug 668
6346 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
6348 * text3.C (dispatch): Do not make the buffer dirty when moving the
6351 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6353 * vc-backend.C: STRCONV
6356 * text2.C (setCounter): STRCONV
6358 * paragraph.C (asString): STRCONV
6360 * lyxlength.C (asString): STRCONV
6361 (asLatexString): ditto
6363 * lyxgluelength.C (asString): STRCONV
6364 (asLatexString): ditto
6366 * lyxfunc.C (dispatch): STRCONV
6369 * lyxfont.C (stateText): STRCONV
6371 * importer.C (Import): STRCONV
6373 * counters.C (labelItem): STRCONV
6374 (numberLabel): ditto
6375 (numberLabel): remove unused ostringstream o
6380 * bufferview_funcs.C (currentState): STRCONV
6382 * buffer.C (readFile): STRCONV
6383 (asciiParagraph): ditto
6384 (makeLaTeXFile): ditto
6386 * Spacing.C (writeEnvirBegin): STRCONV
6388 * LaTeXFeatures.C (getLanguages): STRCONV
6389 (getPackages): ditto
6391 (getBabelOptions): ditto
6392 (getTClassPreamble): ditto
6393 (getLyXSGMLEntities): ditto
6394 (getIncludedFiles): ditto
6398 (scanAuxFile): ditto
6401 * LString.h: add the STRCONV macros
6403 * BufferView_pimpl.C (savePosition): STRCONV
6404 (restorePosition): ditto
6405 (MenuInsertLyXFile): ditto
6407 * vc-backend.C (scanMaster): change from submatch[...] to
6410 * funcrequest.C: include config.h
6412 * factory.C: include config.h
6414 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6416 * box.C: include config.h
6418 * LaTeX.C (scanAuxFile): change from submatch[...] to
6422 2002-10-25 Angus Leeming <leeming@lyx.org>
6424 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6426 * ispell.[Ch] (setError): new method.
6427 * ispell.C (c-tor): move out child process into new class LaunchIspell.
6428 Use setError() insetead of goto END.
6430 * lyx_cb.C (AutoSave): move out child process into new class
6433 2002-10-30 John Levon <levon@movementarian.org>
6435 * text3.C: make start appendix undoable
6437 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
6439 * lyxlength.C (inPixels): Fix returned value.
6441 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6444 2002-10-24 Angus Leeming <leeming@lyx.org>
6446 * lyxgluelength.h: no need to forward declare BufferParams
6447 or BufferView, so don't.
6449 2002-10-21 John Levon <levon@movementarian.org>
6451 * BufferView.C: menuUndo ->undo, redo
6453 * BufferView.h: document, remove dead, make some methods private
6455 * paragraph_funcs.h:
6456 * paragraph_funcs.C:
6457 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6462 * sgml.C: move sgml open/close tag into sgml.C
6464 * bufferview_funcs.h: unused prototype
6467 * lyxfunc.C: remove unused
6470 * text.C: remove unused
6472 2002-10-21 John Levon <levon@movementarian.org>
6476 * BufferView_pimpl.h:
6477 * BufferView_pimpl.C: fix mouse wheel handling based on
6478 patch from Darren Freeman
6480 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
6482 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6484 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
6486 * lyxlength.C (inPixels): Fix hanfling of negative length.
6487 Fix LyXLength::MU case.
6489 2002-10-16 John Levon <levon@movementarian.org>
6491 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6493 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6495 * converter.C (view): add support for $$i (file name) and $$p
6496 (file path) for the viewer command. If $$i is not specified, then
6497 it is appended to the command (for compatibility with old syntax)
6499 2002-10-14 Juergen Vigna <jug@sad.it>
6501 * undo_funcs.C (textHandleUndo): alter the order in which the
6502 new undopar is added to the LyXText, as we have to set first
6503 the right prev/next and then add it as otherwise the rebuild of
6504 LyXText is not correct. Also reset the cursor to the right paragraph,
6505 with this IMO we could remove the hack in "redoParagraphs()".
6507 2002-10-09 Angus Leeming <leeming@lyx.org>
6509 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6510 to turn off an optimisation if a new inset is to be inserted.
6512 2002-10-11 André Pönitz <poenitz@gmx.net>
6514 * lyxtext.h: make some functions public to allow access
6515 from inset/lyxtext for handling LFUN_PRIOR/NEXT
6517 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6519 * text3.C (dispatch): when changing layout, avoid an infinite loop
6522 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6524 * lyxrc.C (read): treat a viewer or converter command of "none" as
6527 * MenuBackend.C (expandFormats): for an update, also allow the
6528 formats that are not viewable
6530 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6531 script if it is newer than the lyxrc.defaults in user directory
6533 2002-10-07 André Pönitz <poenitz@gmx.net>
6535 * text.C: Vitaly Lipatov's small i18n fix
6537 2002-09-25 Angus Leeming <leeming@lyx.org>
6539 * ispell.h: doxygen fix.
6541 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
6543 * buffer.h (readFile): Add a new argument to the method, to allow
6544 reading of old-format templates.
6546 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
6548 * toc.C (getTocList): Get TOC from InsetWrap.
6550 2002-09-16 John Levon <levon@movementarian.org>
6552 * lyxfunc.C: check tabular for cut/copy too
6554 2002-09-12 John Levon <levon@movementarian.org>
6559 * factory.C: add header
6561 * paragraph_funcs.h:
6562 * paragraph_funcs.C: cleanup
6564 2002-09-11 John Levon <levon@movementarian.org>
6566 * PrinterParams.h: odd/even default to true
6568 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
6570 * PrinterParams.h: update printer parameters for new xforms dialog
6572 2002-09-11 Angus Leeming <leeming@lyx.org>
6574 * lyxserver.C (read_ready): re-write to make it more transparent
6575 and to make it work in coherent fashion under Tru64 Unix.
6577 2002-09-11 André Pönitz <poenitz@gmx.net>
6581 * text3.C: implement LFUN_WORDSEL
6583 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6585 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6586 make floatlist_ a boost::shared_ptr<FloatList>
6588 * lyxtextclass.C: include FloatList.h
6589 (LyXTextClass): initialize floatlist_
6590 (TextClassTags): add TC_NOFLOAT
6591 (Read): match "nofloat" to TC_NOFLOAT and use it.
6592 (readFloat): modify call to floatlist_
6596 * FloatList.[Ch] (FloatList): remove commented out float
6598 (erase): new function
6600 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6602 * MenuBackend.C (expandToc): fix crash when there is no document
6605 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
6607 * many files: Add insetwrap.
6609 2002-09-09 John Levon <levon@movementarian.org>
6611 * text2.C: remove confusing and awkward depth wraparound
6613 2002-09-09 John Levon <levon@movementarian.org>
6615 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6618 * buffer.C: remove getIncludeonlyList()
6621 * lyxfunc.C: remove headers
6623 2002-09-09 Juergen Vigna <jug@sad.it>
6625 * text.C (getColumnNearX): fix form Michael this is most
6626 probably a cut&paste bug.
6628 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6630 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6632 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6633 references, ws changes.
6635 * text2.C (init): update counters after init
6636 (insertParagraph): no need to set counter on idividual paragraphs.
6637 (setCounter): access the counters object in the textclass object
6638 on in the buffer object.
6639 (updateCounters): ditto
6641 * lyxtextclass.C: include counters.h, add variable ctrs_ as
6642 shared_ptr<Counters> to avoid loading counters.h in all
6644 (LyXTextClass): initialize ctrs_
6645 (TextClassTags): add TC_COUNTER, and ...
6646 (Read): use it here.
6647 (CounterTags): new tags
6648 (readCounter): new function
6649 (counters): new funtion
6650 (defaultLayoutName): return a const reference
6652 * counters.C (Counters): remove contructor
6653 (newCounter): remove a couple of unneeded statements.
6654 (newCounter): simplify a bit.
6655 (numberLabel): some small formatting changes.
6657 * buffer.[Ch]: remove all traces of counters, move the Counters
6658 object to the LyXTextClass.
6660 2002-09-06 Alain Castera <castera@in2p3.fr>
6662 * tabular.C: uses \tabularnewline; uses >{...} construct from array
6663 package to set the horizontal alignment on fixed width columns.
6666 * lyx_sty.h: added tabularnewline macro def.
6668 * LaTeXFeatures.C: added NeedTabularnewline macro feature
6670 2002-09-06 John Levon <levon@movementarian.org>
6672 * LyXAction.C: tooltips for sub/superscript
6674 * MenuBackend.C: a bit more verbose
6676 * lyxfunc.C: tiny clean
6678 * undo_funcs.C: document undo_frozen
6680 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6682 * counters.C (Counters): add missing algorithm counter.
6684 * text2.C (setCounter): lookup the counter with layouts latexname
6685 instead of by section number.
6686 (setCounter): use a hackish way to lookup the correct enum
6688 a float name->type change
6689 reset enum couners with counter name directly instead of depth value.
6691 * counters.C (Counters): remove the push_backs, change to use the
6692 float type not the float name.
6693 (labelItem): remove unused string, float name->type change
6695 * counters.h: don't include vector, loose the enums and sects vectors
6697 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6699 * lyxtextclass.C (TextClassTags): add TC_FLOAT
6700 (Read): add float->TC_FLOAT to textclassTags
6701 (Read): and handle it in the switch
6702 (readFloat): new function
6704 * FloatList.C (FloatList): comment out the hardcoded float
6707 * lyxlayout.h: ws change.
6709 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
6711 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6713 2002-09-03 Angus Leeming <leeming@lyx.org>
6715 * BufferView_pimpl.h: qualified name is not allowed in member
6716 declaration: WorkArea & Pimpl::workarea() const;
6718 * factory.C: added using std::endl directive.
6720 * text3.C: added using std::find and std::vector directives.
6722 2002-08-29 André Pönitz <poenitz@gmx.net>
6725 * text2.C: remove unused member number_of_rows
6728 * BufferView2.C: remove file, move contents to...
6729 * BufferView.C: ... here
6731 * BufferView_pimpl.C:
6732 * factory.C: move more inset creation to factory
6734 * vspace.C: avoid direct usage of LyXText, ws changes
6737 don't provide direct access to WorkArea, use two simple
6738 acessors haveSelction() and workHeight() instead
6741 2002-08-29 John Levon <levon@movementarian.org>
6743 * BufferView_pimpl.C (dispatch): do not continue when
6746 2002-08-28 André Pönitz <poenitz@gmx.net>
6748 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6751 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6753 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
6755 * buffer.C: increment LYX_FORMAT to 221
6757 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6758 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6760 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6762 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6764 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6766 * factory.C (createInset): use LyXTextClass::floats
6768 * MenuBackend.C (expandFloatListInsert):
6769 (expandFloatInsert):
6772 * text2.C (setCounter):
6774 * LaTeXFeatures.C (useFloat):
6775 (getFloatDefinitions):
6777 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6779 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6780 floatlist_, with accessor floats().
6782 * FloatList.h: remove global FloatList
6784 2002-08-26 André Pönitz <poenitz@gmx.net>
6786 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6790 * BufferView_pimpl.C:
6791 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6793 2002-08-25 John Levon <levon@movementarian.org>
6795 * LyXAction.C: fix margin note description
6797 2002-08-24 John Levon <levon@movementarian.org>
6801 * bufferview_funcs.C:
6803 * undo_funcs.C: cleanups
6805 * lyxfunc.C: disable CUT/COPY when no selection
6807 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
6809 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6810 in "enum UNIT"; e.g. PTW for Percent of TextWidth
6812 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6813 Add backward compatibility to "mono", "gray" and "no".
6815 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
6817 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6818 (and file_format >= 200).
6820 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6822 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6824 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6826 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6828 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
6830 * BufferView_pimpl.C:
6837 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6838 inset and code to make it work with the paragraph code. The inset
6839 can be anywhere in the paragraph, but will only do the expected
6840 thing in LaTeX if the layout file contains the parameter line
6842 (or more generally, a nonzero value) for that layout.
6844 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6846 * paragraph.h: remove the declaration of undefined counters class
6849 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
6851 * text2.C (setCounter): fixed enumeration mis-count as reported by
6852 Dr. Richard Hawkins.
6854 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6856 * paragraph_funcs.h: remove some unneeded includes
6858 * text.C (backspace): pasteParagraph now in global scipe
6860 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6861 (pasteSelection): ditto
6863 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6864 * paragraph_funcs.C (pasteParagraph): ... here
6866 2002-08-20 André Pönitz <poenitz@gmx.net>
6868 * commandtags.h: new LFUNs for swapping/copying table row/colums
6871 * lyxfunc.C: support for new lfuns
6873 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6876 * buffer.[Ch]: remove NO_COMPABILITY stuff
6878 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
6880 * boost.C (throw_exception): new file, with helper function for
6881 boost compiled without exceptions.
6886 * ParameterStruct.h:
6887 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6889 * bufferlist.C (emergencyWriteAll): use boost bind
6891 * BufferView_pimpl.C (moveCursorUpdate): remove inline
6893 * text.C: include paragraph_funcs.h
6894 (breakParagraph): breakParagraph is now in global scope
6896 * paragraph_funcs.[Ch]: new files
6898 * paragraph.C (breakParagraph,breakParagraphConservative): move to
6901 * buffer.C: include paragraph_funcs.h
6902 (insertStringAsLines): breakParagraph is now in global scope
6904 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6907 * CutAndPaste.C: include paragraph_funcs.h
6908 (cutSelection): breakParagraphConservative is now in global scope
6909 (pasteSelection): ditto
6911 * buffer.h: declare oprator== and operator!= for
6912 Buffer::inset_iterator
6914 * bufferlist.C (emergencyWrite): don't use fmt(...)
6916 * text3.C: add using std::endl
6918 * BufferView.C (moveCursorUpdate): remove default arg
6920 2002-08-20 André Pönitz <poenitz@gmx.net>
6922 * buffer.[Ch]: move inline functions to .C
6925 * BufferView_pimpl.C:
6927 * buffer.[Ch]: use improved inset_iterator
6930 * paragraph.[Ch]: write one paragraph at a time
6932 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
6934 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6935 style if style is not specified.
6937 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6939 * text2.C (setCounter): when searching for right label for a
6940 caption, make sure to recurse to parent insets (so that a caption
6941 in a minipage in a figure float works) (bug #568)
6943 2002-08-20 André Pönitz <poenitz@gmx.net>
6945 * text3.C: new file for LyXText::dispatch() and helpers
6947 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6949 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6951 2002-08-19 André Pönitz <poenitz@gmx.net>
6954 * text.C: new LyXText::dispatch()
6956 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6958 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
6960 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6962 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6965 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6967 * Makefile.am: use $(variables) instead of @substitutions@
6969 2002-08-15 André Pönitz <poenitz@gmx.net>
6972 * BufferView_pimpl.C: streamlining mathed <-> outer world
6976 * LyXAction.C: remove unused LFUN_MATH
6978 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6980 * paragraph.[Ch]: add some NO_NEXT ifdefs.
6982 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6984 * paragraph.C (Paragraph): reformat a bit
6985 (cutIntoMinibuffer): use builtin InsetList function instad of
6989 * buffer.C: include boost/bind.hpp, add using std::for_each
6990 (writeFileAscii): use ParagraphList iterators
6991 (validate): use for_each for validate traversal of paragraphs
6992 (getBibkeyList): use ParagraphList iterators
6993 (resizeInsets): use for_each to resizeInsetsLyXText for all
6995 (getParFromID): use ParagraphList iterators
6997 * BufferView2.C (lockInset): use paragraph list and iterators
6999 2002-08-14 John Levon <levon@movementarian.org>
7001 * lyxserver.C: remove spurious xforms include
7003 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7005 * lyxfunc.C (getStatus): disable math-extern outside of math mode
7007 2002-08-13 André Pönitz <poenitz@gmx.net>
7010 * lyxfunc.C: further cleaning
7012 2002-08-13 André Pönitz <poenitz@gmx.net>
7014 * funcrequest.h: new constructor
7016 * funcrequest.C: move stuff here from .h
7019 * BufferView_pimpl.C:
7022 * lyxfunc.C: subsequent changes
7024 * lyxfunc.h: new view() member function
7026 * lyxfunc.C: subsequent changes
7028 2002-08-13 Angus Leeming <leeming@lyx.org>
7031 * BufferView_pimpl.C:
7039 changes due to the changed LyXView interface that now returns references
7040 to member variables not pointers.
7042 2002-08-13 Angus Leeming <leeming@lyx.org>
7044 * WordLangTuple (word, lang_code): return references to strings,
7049 * lyxtext.h: forward-declare WordLangTuple.
7054 * text.C: #include "WordLangTuple.h".
7057 * text.C: (selectNextWordToSpellcheck): constify return type.
7059 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
7065 * paragraph_pimpl.h:
7068 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7070 Made updateCounter always count from start of buffer, and removed
7071 second argument (par).
7072 Reverted floats number display to '#'. Perhaps I'll try again when the
7073 code base is sanitized a bit.
7075 2002-08-12 Angus Leeming <leeming@lyx.org>
7077 * buffer.[Ch] (getLabelList): constify.
7079 2002-08-07 André Pönitz <poenitz@gmx.net>
7081 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7083 * funcrequest.h: extension to keep mouse (x,y) position
7085 2002-08-12 Juergen Vigna <jug@sad.it>
7087 * BufferView2.C (insertErrors): forbid undo when inserting error
7090 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7092 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7094 * ParagraphList.[Ch]: new files
7096 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7098 * BufferView2.C (lockInset): ParagraphList changes
7101 * bufferlist.C: ditto
7105 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7107 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7108 unused class variable counter_,
7110 * paragraph.[Ch] (getFirstCounter): delete unused function
7112 * counters.C: include LAssert.h
7113 (reset): add a new function with no arg, change other version to
7114 not have def. arg and to not allow empty arg.
7116 * text2.C (setCounter): remove empty arg from call to Counters::reset
7118 2002-08-11 John Levon <levon@movementarian.org>
7120 * Makefile.am: add WordLangTuple.h
7122 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7124 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7125 lyxfunc.C lyxlex_pimpl.C: ws changes only.
7127 * insets/insettext.C: InsetList changes
7129 * graphics/GraphicsSupport.C (operator()): InsetList changes
7131 * toc.C (getTocList): InsetList changes
7133 * paragraph_pimpl.[Ch]: InsetList changes
7135 * paragraph.[Ch]: InsetList changes
7137 * buffer.C (inset_iterator): InsetList changes
7138 (setParagraph): ditto
7139 * buffer.h (inset_iterator): ditto
7140 * iterators.C (operator++): ditto
7141 * iterators.h: ditto
7143 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7145 * InsetList.[Ch]: new files, most InsetList handling moved out of
7148 * BufferView2.C (removeAutoInsets): InsetList changes
7150 (ChangeInsets): ditto
7152 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7154 * paragraph_pimpl.h (empty): new function
7156 * paragraph.[Ch] (empty): new function
7158 * other files: use the new Paragraph::empty function
7160 2002-08-09 John Levon <levon@movementarian.org>
7162 * lyxtext.h: remove unused refresh_height
7164 2002-08-09 John Levon <levon@movementarian.org>
7171 * paragraph.C: move sgml char escaping out of paragraph
7174 * paragraph.C: remove id setter
7178 * paragraph_pimpl.C: remove dead tex_code_break_column
7180 * bufferview_funcs.C: small cleanup
7182 * lyxfunc.C: remove dead proto
7184 * lyxtext.h: make some stuff private. Remove some dead stuff.
7186 * lyxgluelength.C: make as[LyX]String() readable
7188 2002-08-08 John Levon <levon@movementarian.org>
7193 * ToolbarDefaults.C:
7196 * toc.C: lyxaction cleanup
7198 2002-08-08 John Levon <levon@movementarian.org>
7200 * BufferView2.C: small cleanup
7203 * lyxfind.C: move unnecessary header into the .C
7205 2002-08-08 John Levon <levon@movementarian.org>
7207 * funcrequest.h: just tedious nonsense
7210 * lyx_main.C: cleanups
7213 * vspace.C: remove dead header lyx_main.h
7215 2002-08-07 Angus Leeming <leeming@lyx.org>
7218 * paragraph_pimpl.h:
7219 Forward declare class Counters in paragraph.h by moving the ctrs member
7220 variable into Paragraph::Pimpl.
7221 (counters): new method, returning a reference to pimpl_->ctrs.
7223 * text2.C: ensuing changes.
7225 2002-08-07 John Levon <levon@movementarian.org>
7227 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7229 * BufferView_pimpl.C: announce X selection on double/triple
7232 * lyx_main.C: use correct bool in batch dispatch
7234 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7236 2002-08-07 André Pönitz <poenitz@gmx.net>
7238 * funcrequest.h: new class to wrap a kb_action and its argument
7241 * BufferView_pimpl[Ch]:
7245 * lyxrc.C: subsequent changes
7248 2002-08-07 John Levon <levon@movementarian.org>
7250 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7251 document options change.
7253 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7258 * makefile.am: move counters functionality over from
7259 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7261 2002-08-06 John Levon <levon@movementarian.org>
7263 * WordLangTuple.h: new file for word + language code tuple
7274 * BufferView2.C: use WordLangTuple
7277 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7279 2002-08-06 John Levon <levon@movementarian.org>
7281 * lyx_main.C: fix cmdline batch handling
7283 2002-08-06 André Pönitz <poenitz@gmx.net>
7285 * lyxrc.C: set default for show_banner to true
7287 2002-08-06 John Levon <levon@movementarian.org>
7289 * pspell.C: fix a crash, and allow new aspell to work
7291 2002-08-06 John Levon <levon@movementarian.org>
7294 * kbmap.C: small cleanup
7297 * vspace.C: add const
7299 2002-08-05 John Levon <levon@movementarian.org>
7301 * LyXAction.C: back to tabular-insert
7303 2002-08-04 John Levon <levon@movementarian.org>
7306 * BufferView.C: cosmetic change
7308 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7318 * BufferView2.C: purge all "Lyx" not "LyX" strings
7321 * lyxcursor.C: attempt to add some documentation
7326 * ToolbarDefaults.C:
7327 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7328 merge with LFUN_TABULAR_INSERT
7335 * pspell.C: split up i/pspell implementations into separate
7336 files, many cleanups
7338 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7340 * text2.C: some cleanup
7342 * lyxfunc.C: don't check for isp_command == "none" any more, it
7343 didn't make any sense
7345 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
7350 * makefile.am: move counters functionality over
7351 from text2.C/paragraph.[Ch] to counters.[Ch], and
7353 2002-08-02 John Levon <levon@movementarian.org>
7355 * buffer.C: s/lyxconvert/lyx2lyx/
7357 2002-08-02 Angus Leeming <leeming@lyx.org>
7359 * lyxlex.C: revert John's change as it breaks reading of the user
7362 2002-08-02 Angus Leeming <leeming@lyx.org>
7364 * importer.C (Import):
7365 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7366 changes due to LyXView::view() now returning a boost::shared_ptr.
7368 2002-08-02 John Levon <levon@movementarian.org>
7370 * lyxlex.C: small cleanup
7372 2002-08-02 John Levon <levon@movementarian.org>
7374 * text2.C (status): small cleanup, no logic change
7376 2002-08-01 John Levon <levon@movementarian.org>
7379 * buffer.C (writeFile): don't output alerts, caller
7383 * lyx_cb.C: from above
7385 * lyxfunc.C: allow to open non-existent files
7387 2002-07-31 John Levon <levon@movementarian.org>
7389 * lyxserver.C: don't let incidental errors get
7392 2002-07-30 John Levon <levon@movementarian.org>
7394 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7396 2002-07-30 John Levon <levon@movementarian.org>
7399 * lyxserver.C: remove I/O callback too
7401 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7403 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7406 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7408 * many files: strip,frontStrip -> trim,ltrim,rtrim
7410 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7412 * PrinterParams.h: remove extern containsOnly, and include
7413 support/lstrings.h instead.
7415 * LaTeX.C (scanAuxFile): modify because of strip changes
7417 * buffer.C (makeLaTeXFile): ditto
7418 * bufferparams.C (writeFile): ditt
7419 * lyxfont.C (stateText): ditto
7420 * lyxserver.C (read_ready): ditto
7421 * vc-backend.C (scanMaster): ditto
7423 * BufferView_pimpl.h: ws changes
7425 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7427 2002-07-26 André Pönitz <poenitz@gmx.net>
7429 * kb_sequence.C: remove unnedred usings
7431 2002-07-26 Juergen Vigna <jug@sad.it>
7433 * lyxfind.C (LyXReplace): we have to check better if the returned
7434 text is not of theLockingInset()->getLockingInset().
7436 2002-07-25 Juergen Vigna <jug@sad.it>
7438 * lyxfind.C (LyXReplace): don't replace if we don't get the
7441 * undo_funcs.C (createUndo): remove debugging code.
7443 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
7445 * buffer.C (parseSingleLyXformat2Token): Use default placement
7446 when reading old floats.
7448 * FloatList.C (FloatList): Change the default placement of figure
7449 and tables to "tbp".
7451 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
7453 * MenuBackend.C: using std::max
7455 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7457 * MenuBackend.C (expandToc):
7458 (expandToc2): code moved from xforms menu frontend. It is now
7459 generic and TOCs are transparent to menu frontends.
7461 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7463 * toc.C (getTocList): protect against buf=0
7465 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7466 Menu as first parameter. Now, this calls itself recursively to
7467 expand a whole tree (this will be useful for TOC handling)
7468 (expandFloatInsert): remove 'wide' version of floats
7470 * MenuBackend.h (submenuname): returns the name of the submenu.
7471 (submenu): returns the submenu itself, provided it has been
7472 created by MenuBackend::expand
7474 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7476 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7477 insets which have noFontChange == true. (bug #172)
7479 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7481 * BufferView_pimpl.C: add connection objects and use them...
7484 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7486 * MenuBackend.C (expandLastfiles):
7489 (expandFloatListInsert):
7490 (expandFloatInsert):
7491 (expand): split expand in parts
7493 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7495 * lyx_gui.C: use lyx_gui::exit()
7497 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7499 * LyXAction.C: show the failing pseudo action
7501 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
7503 * buffer.C (readFile): Run the lyxconvert script in order to read
7506 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7510 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7512 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
7516 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7518 2002-07-22 Herbert Voss <voss@lyx.org>
7521 * lyxlength.[Ch]: add support for the vertical lengths
7523 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
7525 * toc.[Ch]: std:: fixes
7527 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7529 * lyxrc.C: do not include lyx_main.h
7531 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7537 * BufferView2.C: include "lyxlex.h"
7540 * bufferparams.h: do not #include "lyxlex.h"
7542 * lyxtextclasslist.C (Add): remove method
7543 (classlist): renamed to classlist_
7545 * paragraph_pimpl.C:
7549 * bufferview_funcs.C:
7554 * toc.C (getTocList): use BufferParams::getLyXTextClass
7556 * toc.C (getTocList): use InsetFloat::addToToc
7558 * toc.[Ch]: new files, containing helper functions to handle table
7561 * lyxfunc.C (dispatch): no need to remove spaces around command
7563 (getStatus): handle LFUN_SEQUENCE by returning the status of the
7564 first command of the sequence; it is not very clever, but I do not
7565 have a better idea, actually
7567 * LyXAction.C (LookupFunc): make sure to remove space at the
7568 beginning and end of the command
7570 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7572 * MenuBackend.C (getMenubar): new method: return the menubar of
7574 (read): treat differently reading of menu and menubar (in
7575 particular, the menubar has no name now)
7576 (Menu::menubar): remove
7578 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7581 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7583 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7584 a bibitem inset in a RTL paragraph.
7586 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
7588 * paragraph_pimpl.C: constify
7590 * BufferView_pimpl.C:
7592 * lyxfunc.C: fix dispatch in a nicer way
7594 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7596 * lyxfunc.C (dispatch):
7597 * BufferView_pimpl.C:
7598 * BufferView_pimpl.h:
7600 * BufferView.h: rename Dispatch() to dispatch()
7602 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7604 * lyxlayout.C (Read): honor DependsOn tag
7606 * lyxlayout.[Ch] (depends_on): new method
7608 * version.C.in: update lyx_docversion
7610 * LaTeXFeatures.C (getMacros): only define \LyX when needed
7612 * paragraph.C (validate): remove from here...
7613 * paragraph_pimpl.C (validate): ... and move here
7614 (isTextAt): make it const
7616 * buffer.C (getLists): ws cleanup
7618 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
7620 * language.C (read): Use iso8859-1 encoding in latex_lang
7621 (this prevents LyX from crashing when using iso10646-1 encoding).
7623 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7625 * text2.C (toggleInset): if cursor is inside an inset, close the
7626 inset and leave cursor _after_ it
7628 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7630 * lyxfunc.C: move minibuffer completion handling out of here
7632 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
7634 * BufferView_pimpl.C:
7635 * LaTeX.C: fix dispatch calls
7637 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
7639 * text.C (drawChars): Fix Arabic text rendering.
7641 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
7645 * lyxfunc.C: remove message-push/pop
7649 * lyxfunc.C: rationalise some code by removing verboseDispatch
7650 in favour of a bool argument to dispatch()
7652 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7654 * lyx_main.C (init): make sure to read symlinks as absolute paths
7656 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7659 * lyxfunc.C: no need for commandshortcut to be a member
7661 2002-07-15 André Pönitz <poenitz@gmx.net>
7663 * converter.C: add support for $$s (scripts from lib/scripts dir)
7664 * lyx_main.C: white space
7666 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7670 * lyxrc.C: remove second exit confirmation
7672 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
7677 * BufferView_pimpl.h:
7678 * BufferView_pimpl.C:
7679 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7681 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7683 * MenuBackend.C (expand): add numeric shortcuts to document menu
7685 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7687 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7689 * lyxfont.C (setLyXFamily):
7696 * buffer.C (asciiParagraph): use ascii_lowercase
7698 2002-07-15 Mike Fabian <mfabian@suse.de>
7700 * lyxlex_pimpl.C (search_kw):
7701 * lyxlex.C (getLongString):
7702 * converter.h (operator<):
7703 * converter.C (operator<):
7704 * buffer.C (parseSingleLyXformat2Token):
7706 * ToolbarDefaults.C (read):
7707 * MenuBackend.C (checkShortcuts):
7709 * LColor.C (getFromGUIName):
7710 (getFromLyXName): use the compare_ascii_no_case instead of
7711 compare_no_case, because in turkish, 'i' is not the lowercase
7712 version of 'I', and thus turkish locale breaks parsing of tags.
7714 2002-07-16 Angus Leeming <leeming@lyx.org>
7716 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7717 now takes a Buffer const & argument.
7719 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
7721 * BufferView.C (resize): check there's a buffer to resize
7723 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
7725 * lyxfunc.C: remove dead code
7728 * lyxserver.C: use lyx_guii::set_read_callback
7730 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
7732 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7733 an inset in a RTL paragraph.
7735 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7737 * lyxfunc.C: repaint after a font size update
7739 2002-07-15 André Pönitz <poenitz@gmx.net>
7741 * lyxlength.C: inBP should be able to return negative values
7743 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7745 * lyxfunc.C: use lyx_gui::update_fonts()
7747 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
7749 * lyxfunc.C: use lyx_gui::update_color()
7751 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7757 * lyxrc.C: remove file->new asks for name option, and let
7758 buffer-new take an argument
7760 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
7762 * BufferView_pimpl.C: remove unneeded extra repaint()
7764 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
7766 * LyXAction.C: allow command-sequence with NoBuffer
7768 * lyxfunc.C: don't insist on trailing ';' for command-sequence
7770 2002-07-10 Angus Leeming <leeming@lyx.org>
7772 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7774 2002-07-09 Angus Leeming <leeming@lyx.org>
7776 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7778 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7780 * lengthcommon.h: whitespace
7782 * lyxfunc.C: update scrollbar after goto paragraph
7784 * lyxtext.h: factor out page break drawing, and fix it so
7785 page break/added space paints as selected nicely
7787 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
7789 * BufferView_pimpl.C: add FIXMEs, clean up a little
7791 2002-07-09 André Pönitz <poenitz@gmx.net>
7793 * lyxfont.[Ch]: support for wasy symbols
7795 2002-07-08 André Pönitz <poenitz@gmx.net>
7797 * BufferView_pimpl.C: apply John's patch for #93.
7799 2002-07-05 Angus Leeming <leeming@lyx.org>
7801 * BufferView_pimpl.C (buffer): generate previews if desired.
7803 * LColor.h: add "preview" to the color enum.
7805 * LColor.C (LColor): add a corresponding entry to the items array.
7807 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7810 2002-07-05 Angus Leeming <leeming@lyx.org>
7812 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7813 The body of the code is now in the method that is passed an ostream &
7814 rather than a file name.
7815 Pass an additional only_preamble parameter, useful for the forthcoming
7818 2002-07-03 André Pönitz <poenitz@gmx.net>
7820 * lyxfunc.C: simplify getStatus() a bit for math stuff
7822 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7824 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7826 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7828 * text.C (changeRegionCase): do not change case of all the
7829 document when region ends at paragraph end (bug #461)
7831 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7833 * paragraph.C (startTeXParParams):
7834 (endTeXParParams): add \protect when necessary
7836 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7838 * BufferView_pimpl.C (workAreaExpose): remove warning
7840 2002-06-27 Angus Leeming <leeming@lyx.org>
7842 * Makefile.am: add lyxlayout_ptr_fwd.h.
7844 2002-06-26 André Pönitz <poenitz@gmx.net>
7846 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7848 2002-06-25 Angus Leeming <leeming@lyx.org>
7850 * lyxfunc.C (dispatch): Comment out the call to
7851 grfx::GCache::changeDisplay. The method no longer exists now that the
7852 pixmap generation part of the graphics loader has been moved into
7855 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7857 * text2.C: layout as layout
7859 * text.C: layout as layout
7861 * tabular.C (OldFormatRead): layout as layout
7863 * paragraph_pimpl.C (TeXDeeper): layout as layout
7864 (realizeFont): layout as layout
7866 * paragraph.C (writeFile): layout as layout
7867 (validate): layout as layout
7868 (getFont): layout as layout
7869 (getLabelFont): layout as layout
7870 (getLayoutFont): layout as layout
7871 (breakParagraph): layout as layout
7872 (stripLeadingSpaces): layout as layout
7873 (getEndLabel): layout as layout
7874 (getMaxDepthAfter): layout as layout
7875 (applyLayout): layout as layout
7876 (TeXOnePar): layout as layout
7877 (simpleTeXOnePar): layout as layout
7878 (TeXEnvironment): layout as layout
7879 (layout): layout as layout
7880 (layout): layout as layout
7882 * lyxtextclass.C (compare_name): new functor to work with
7883 shared_ptr, layout as layout
7884 (Read): layout as layout
7885 (hasLayout): layout as layout
7886 (operator): layout as layout
7887 (delete_layout): layout as layout
7888 (defaultLayout): layout as layout
7890 * lyxlayout_ptr_fwd.h: new file
7892 * lyxlayout.C (Read): layout as layout
7894 * lyx_cb.C (MenuInsertLabel): layout as layout
7896 * bufferlist.C (newFile): layout as layout
7898 * buffer.C (readLyXformat2): layout as layout
7899 (parseSingleLyXformat2Token): layout as layout
7900 (insertStringAsLines): layout as layout
7901 (asciiParagraph): layout as layout
7902 (latexParagraphs): layout as layout
7903 (makeLinuxDocFile): layout as layout
7904 (simpleLinuxDocOnePar): layout as layout
7905 (makeDocBookFile): layout as layout
7906 (simpleDocBookOnePar): layout as layout
7907 (getLists): layout as layout
7909 * LaTeXFeatures.C (getTClassPreamble): layout as layout
7911 * CutAndPaste.C (cutSelection): layout as layout
7912 (pasteSelection): layout as layout
7913 (SwitchLayoutsBetweenClasses): layout as layout
7915 * BufferView_pimpl.C (Dispatch): layout as layout
7916 (smartQuote): layout as layout
7918 * BufferView2.C (unlockInset): layout as layout
7920 2002-06-24 André Pönitz <poenitz@gmx.net>
7922 * lyxfunc.C: fix #487
7924 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7928 * lyxfunc.C: remove display_shortcuts, show_banner
7930 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7932 * Buffer_pimpl.C: oops, update on resize
7934 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7941 * BufferView.C: use repaint()
7943 * BufferView_pimpl.h:
7944 * BufferView_pimpl.C: s/updateScreen()/repaint()/
7945 as it's a clearer description. Remove superfluous
7948 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
7950 * text.C: fix bug 488. Not ideal, but getting
7951 getWord() to work properly for the insets that
7952 matter is more difficult ...
7954 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7956 * BufferView_pimpl.C:
7959 * lyxfunc.C: remove the six million index lyxfuncs to just
7960 one, and DTRT (bug 458)
7962 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7966 * BufferView_pimpl.h:
7967 * BufferView_pimpl.C: clean up resize() stuff,
7968 and unnecessary updateScreen()s
7970 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
7974 * BufferView_pimpl.h:
7975 * BufferView_pimpl.C:
7978 * minibuffer.C: remove focus management of workarea,
7979 not needed. Use screen's greyOut()
7981 2002-06-17 Herbert Voss <voss@lyx.org>
7983 * converter.C: (convert) do not post a message, when converting
7984 fails, let the calling function decide what to do in this case
7986 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
7988 * lyxfunc.C: tidy up a little
7990 2002-06-16 <alstrup@diku.dk>
7992 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7993 Got rid of FORMS_H_LOCATION include. Now we are
7996 2002-06-15 LyX Development team <lyx@rilke>
7998 * buffer.[Ch] (sgmlOpenTag):
7999 (sgmlCloseTag): Added support for avoiding pernicious mixed
8000 content. Return number of lines written.
8003 (makeDocBookFile): Fixed calls to sgml*Tag.
8004 Simple white space clean.
8006 (simpleDocBookOnePar): Simple white space clean.
8008 * tabular.[Ch] (docBook): Renamed to docbook and got another
8009 argument to related with the pernicious mixed content.
8011 (docbookRow): Fixed calls for docbook inset method.
8013 2002-06-15 Lyx Development team <larsbj@birdstep.com>
8015 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8016 so it's X11 independent.
8020 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8022 2002-06-15 Lyx Development team <lyx@electronia>
8024 * intl.h: Renamed getTrans to getTransManager.
8026 2002-06-14 Angus Leeming <leeming@lyx.org>
8028 * Makefile.am: nuke forgotten stl_string_fwd.h.
8030 2002-06-12 Angus Leeming <leeming@lyx.org>
8032 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8034 2002-06-13 Angus Leeming <leeming@lyx.org>
8037 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8039 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
8041 * kbmap.C (getiso): add support for cyrillic and greek
8043 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8047 * BufferView_pimpl.h:
8048 * BufferView_pimpl.C: move bogus scrolling logic
8051 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8054 * BufferView_pimpl.C: view->resize() change
8056 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8058 * BufferView_pimpl.C: topCursorVisible
8061 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8065 * lyx_gui.C: move to frontends/
8069 * lyx_main.C: changes from above
8071 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8078 * lyx_main.C: minor tidy
8080 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8082 * BufferView_pimpl.h:
8083 * BufferView_pimpl.C:
8085 * BufferView.C: make painter() const,
8088 * BufferView2.C: use screen() accessor
8091 * lyx_main.C: some minor cleanup
8093 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8095 * BufferView_pimpl.h:
8096 * BufferView_pimpl.C: remove enter/leaveView,
8099 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
8104 * BufferView_pimpl.h:
8105 * BufferView_pimpl.C: only construct screen once,
8108 * lyxrc.C: remove pointless comment
8110 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8113 * BufferView.C: remove active() and belowMouse()
8115 * BufferView_pimpl.h:
8116 * BufferView_pimpl.C: use workarea() not workarea_,
8117 and make it use a scoped_ptr instead
8119 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
8121 * lyx_gui.C: add debug message on BadWindow
8123 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8125 * sp_spell.C: fdopen is not part of the C++ standard.
8127 * paragraph.C (InsetIterator): use >= instead of ==
8129 2002-06-07 Angus Leeming <leeming@lyx.org>
8131 Fixes needed to compile with Compaq cxx 6.5.
8132 * BufferView_pimpl.C:
8139 * lyxtextclasslist.C:
8144 all c-library variables have been moved into namespace std. Wrap
8145 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8150 Add a using std::abs declaration.
8152 * kbmap.h (modifier_pair):
8153 * paragraph.h (InsetTable, InsetList):
8154 * lyxfont.h (FontBits):
8155 type definition made public.
8157 * bufferlist.C (emergencyWriteAll): the compiler complains that
8158 there is more than one possible lyx::class_fun template to choose from.
8159 I re-named the void specialisation as lyx::void_class_fun.
8161 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8163 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8164 the compiler is is unable to find tostr in write_attribute.
8166 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8168 * buffer.C (sgmlError): hide #warning
8170 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8172 * xtl/*: get rid of xtl, which is not in use anyway
8174 * LyXAction.C (init):
8175 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8176 were unimplemented xtl experimentation
8178 2002-06-04 André Pönitz <poenitz@gmx.net>
8180 * lyxfunc.C: disable array operation on simple formulae
8182 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
8184 * converter.C: constify a bit
8186 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
8188 * lyx_gui.C: check xforms version correctly
8190 2002-04-30 Herbert Voss <voss@lyx.org>
8192 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8195 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
8197 * lyxvc.C: fix bug 416 (make sure buffer is saved before
8198 attempt to register it with a VCS)
8200 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8202 * lyx_main.C (init): honor variables LYX_DIR_13x and
8205 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8209 * lyx_main.C: fix a crash on bad command line,
8210 and give a useful exit status on error
8212 * lyxfunc.C (doImport): allow -i lyx to work
8214 2002-03-30 André Pönitz <poenitz@gmx.net>
8216 * lyxfunc.C: mathed font changes
8218 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
8233 * trans_mgr.h: srcdocs, and some minor cleanups
8235 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8237 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8238 call getFont all the time)
8240 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8242 * switch from SigC signals to boost::signals
8244 2002-05-29 André Pönitz <poenitz@gmx.net>
8246 * paragraph_pimpl.C (getChar): don't call size() too often...
8248 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8250 * paragraph_pimpl.C (insertChar): do not try to update tables when
8251 appending (pos == size())
8253 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8254 in order to reduce drastically the number of comparisons needed to
8255 parse a large document
8257 2002-05-29 André Pönitz <poenitz@gmx.net>
8263 * textclasslist.[Ch]:
8264 * sp_ispell.h: whitespace change
8266 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8268 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8269 lyxaction directly now.
8271 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
8275 * lyxvc.C: remove unused headers
8277 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8284 * undo_funcs.C: some cleanups. Use shared_ptr
8285 and a template for the undo stacks.
8287 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
8289 * BufferView_pimpl.h:
8290 * BufferView_pimpl.C:
8297 * text2.C: use key_state/mouse_state
8299 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8301 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8304 * chset.C: change include order
8305 (loadFile): use boost regex and get rid of LRegex and LSubstring
8307 * Makefile.am (BOOST_LIBS): new variable
8310 * LaTeX.C: change include order.
8311 (scanAuxFile): use boost regex and get rid of LRegex and
8315 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8320 * FontInfo.C: moved to frontends/xforms/
8323 * FontLoader.C: moved into frontends for GUIIzation
8328 * lyxfunc.C: changes from above
8330 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
8332 * LColor.C: remove spurious X include
8334 * BufferView_pimpl.C:
8339 * text2.C: move font metrics to frontends/
8341 2002-05-24 Juergen Vigna <jug@sad.it>
8343 * undo_funcs.C (textHandleUndo): fix the cursor selection after
8344 setting the undo_cursor.
8346 * ParagraphParameters.h: include local includes first.
8348 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8350 * BufferView_pimpl.C:
8351 * BufferView_pimpl.h:
8355 * screen.C: move WorkArea into frontends/
8361 * BufferView2.C: move LyXScreen into frontends/
8365 * lyx_gui.C: move lyxlookup into frontends/xforms/
8367 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8370 * BufferView_pimpl.C:
8380 * bufferview_funcs.C:
8393 * vc-backend.C: move LyX/XFormsView into frontends/
8395 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
8407 * text2.C: move Painter to frontends/
8409 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8411 * buffer.C: comment out some some code that depend upon lyx_format
8414 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8415 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8417 * buffer.h (NO_COMPABILITY): turn off compability
8419 * ColorHandler.C: include scoped_array.hpp
8421 * font.C: Use more specific smart_ptr header.
8424 * ShareContainer.h: ditto
8428 * BufferView_pimpl.h: ditto
8429 * ColorHandler.h: ditto
8431 * kbmap.C (defkey): change call to shared_ptr::reset
8433 2002-05-21 Juergen Vigna <jug@sad.it>
8435 * buffer.C (insertErtContents): fix to insert ert asis if it is
8436 non empty. Skip it completely if it contains only whitespaces.
8438 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
8440 * BufferView_pimpl.C:
8441 * BufferView2.C: clear selection on paste (bug 393)
8443 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8445 * DepTable.C: include ctime
8447 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
8449 * buffer.C (latexParagraphs): Add new argument (moving_arg).
8451 2002-05-14 Juergen Vigna <jug@sad.it>
8453 * text.C (breakParagraph): fixed function to honor the keepempty
8454 layout in the right maner and also to permit the right breaking
8455 algorithm on empty or non empyt keepempty paragraphs.
8457 * paragraph.C (breakParagraph): we have to check also if the par
8458 is really empty (!size()) for isempty otherwise we do the wrong
8461 2002-05-10 Juergen Vigna <jug@sad.it>
8463 * buffer.[Ch] : The following are only changes to the ert
8464 compatibility read reading old LaTeX layout and font stuff and
8465 convert it to ERTInsets.
8467 * buffer.h: added isErtInset().
8469 * buffer.C (struct ErtComp): add a fromlayout bool to check
8470 if we're inside a LaTeX layout.
8471 (isErtInset): new helper function.
8472 (insertErtContents): look for other ert insets before this one
8473 and insert the contents there, so that we don't have subsequent
8474 ERT insets with nothing between them. This way we create only one
8475 inset with multiple paragraphs. Also check if we don't insert only
8476 spaces ' ' as they are ignored anyway afterwards in the .tex file
8477 so if we have only spaces we will ignore this latex part in the
8479 (parseSingleLyXformat2Token \\layout): better compatibility when
8480 reading layout-latex stuff.
8481 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8483 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8484 stuff after reading the inset only get the information back from
8487 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
8489 * buffer.C (makeLaTeXFile): Put language options after loading babel.
8491 * LaTeXFeatures.C (getBabelOptions): New method.
8493 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8495 * BufferView_pimpl.C (Dispatch): work around missing argument for
8498 2002-05-08 Juergen Vigna <jug@sad.it>
8500 * text.C (leftMargin): handle paragraph leftindent.
8502 * paragraph.C (writeFile): write the new \\leftindent tag.
8503 (validate): handle leftindent code.
8504 (TeXEnvironment): handle paragraphleftindent code again.
8506 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8508 * buffer.C (parseSingleLyXformat2Token): added compatibility code
8509 for paragrap_extra indent code and new token \\leftindent.
8510 (latexParagraphs): handle the leftindent as environment.
8512 * ParameterStruct.h: added leftindent support.
8514 * ParagraphParameters.C (leftIndent): added support functions for
8515 the paragraph left indent.
8517 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8520 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
8522 * paragraph.C (isRightToLeftPar): Return false for a paragraph
8525 * text.C (computeBidiTables): No bidi in insetERT.
8527 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8530 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8532 * version.C.in: pre 5
8534 2002-05-02 José Matos <jamatos@fep.up.pt>
8535 * buffer.C (makeDocBookFile): white space changes, add newline to
8537 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8539 * tabular.C (docBook): fix typo.
8541 2002-05-03 Juergen Vigna <jug@sad.it>
8543 * screen.C (drawFromTo): recalculate the rowpointer if we had a
8544 change in LyXText as we can not be sure it was not freed.
8545 (drawOneRow): remove unused code.
8547 * text.C (drawInset): redo the calculation of the need_break_row as
8548 it could have a row which was already freed.
8549 (draw): look at the return value of drawInset and return false if
8550 it also returned false.
8551 (paintRowText): look at the return value of draw and return false if
8552 it also returned false.
8554 * lyxtext.h: added bool return type to drawInset() and draw() so that
8555 if we have a change in the row so that the rowbreak has to be redone
8556 we abort drawing as it will be called again.
8558 2002-05-02 Juergen Vigna <jug@sad.it>
8560 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8561 a change in the maintext also if we're inside an inset.
8562 (Dispatch): set the cursor again after a break line and after the
8563 screen has been updated as it could be we're in a different row.
8565 * text2.C (fixCursorAfterDelete): check to make sure we don't request
8566 to set the cursor behind the pargraph with > size().
8567 (setCursor): check also for the same paragraph when checking where
8568 to put the cursor if we have a NFR inset.
8570 * buffer.C (parseSingleLyXformat2Token): move the compatibility
8571 parts of layout read further up as it still was in the wrong
8574 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8576 * screen.C (drawFromTo): change sine fullRebreak always return
8579 * buffer.C (parseSingleLyXformat2Token): reindent some
8581 * BufferView_pimpl.C (update): change since fullRebreak always
8583 (Dispatch): git rid of the last hardcoded "Standard"s.
8585 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8587 * text2.[Ch] (fullRebreak): make it return void now that we always
8590 2002-04-30 Juergen Vigna <jug@sad.it>
8592 * buffer.C (parseSingleLyXformat2Token): reset the font before the
8593 ert compatibility check for "latex" layout.
8595 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
8597 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8598 minipages: use col% instead of p%, and also use the current font.
8599 (makeLaTeXFile): Fix use babel condition.
8600 (parseSingleLyXformat2Token): Correct font when reading old floats.
8602 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
8604 * BufferView_pimpl.C (Dispatch): Check that float type exists when
8605 inserting list of floats.
8607 2002-04-25 Herbert Voss <voss@lyx.org>
8609 * MenuBackend.C (expand): don't add the graphics extensions to the
8612 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8614 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8615 non-existing layout, do not complain if it was the default layout
8616 of the original class (bug #342)
8618 2002-04-24 Juergen Vigna <jug@sad.it>
8620 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8621 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8623 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
8625 * buffer.C (getBibkeyList): If using \bibliography, return the
8626 option field with the reference itself. Enables us to provide natbib
8627 support when using \bibliography.
8629 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
8631 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8633 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8634 natbib is provided by the LaTeX class.
8636 2002-04-23 Juergen Vigna <jug@sad.it>
8638 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8641 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8643 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8645 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8647 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8648 ensuremath around textordmasculine, textordfeminine and
8651 2002-04-19 Juergen Vigna <jug@sad.it>
8653 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8654 reinitializing the buffer otherwise row-dimensions may be wrong.
8655 (update): reset also the selection cursors if they do exits otherwise
8656 their x/y positions may be wrong.
8658 * text2.C (cursorDown): don't enter the inset if we came from a row
8659 above and are one row over the inset.
8661 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8662 really leaving an inset.
8664 2002-04-18 Juergen Vigna <jug@sad.it>
8666 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8667 of the selected paragraph does not have the selected layout also if
8670 * text2.C (setLayout): fixed bug which did not change last selected
8673 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8674 changed the read and substituted \\end_float with \\end_inset!
8676 * BufferView_pimpl.C (cursorPrevious):
8677 (cursorNext): fixed to make it work with rows heigher than the work
8678 area without moving the cursor only the draw of the row.
8679 (workAreaMotionNotify): fix jumping over high rows.
8681 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8683 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8686 2002-04-16 Juergen Vigna <jug@sad.it>
8688 * text2.C (setCursor): set also the irow().
8689 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8691 (cursorDown): support for locking an inset if the x_fix value goes
8692 inside it. That way I can transverse insets too with cursor up/down.
8694 * lyxrow.h: added irow helper function same as other (i) functions.
8696 * BufferView_pimpl.C (cursorPrevious):
8697 (cursorNext): fixed for insets!
8699 2002-04-15 Juergen Vigna <jug@sad.it>
8701 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8702 position otherwise it is wrong in some cases.
8704 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8705 inside the inset before the call.
8707 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
8709 * buffer.[Ch] (getBibkeyList): make it const.
8711 2002-04-12 Juergen Vigna <jug@sad.it>
8713 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8715 * text2.C (getCursorX): new helper function
8716 (setCursor): compute also ix_
8717 (setCursorFromCoordinates): set also ix.
8719 * lyxcursor.h: added ix_ and helper functions.
8721 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8723 * buffer.C (insertStringAsLines): dont break paragraph if the this
8724 paragraph is inside an inset which does not permit it!
8726 * text.C (breakParagraph): honor keepempty flag and break the paragraph
8727 also with no chars on this paragraph.
8728 (paintRowText): only paint stuff if it's inside the workarea!
8730 * paragraph.C (breakParagraph): honor keepempty flag and break the
8731 paragraph always below not above.
8733 * BufferView2.C (unlockInset): update the paragraph layout on inset
8734 unlock as we changed paragraph in such a case.
8736 * lyxfind.C (LyXFind): clear the former selection if not found!
8738 * text2.C (insertInset): freeze Undo after setUndo so that it is not
8739 again called in insertChar().
8741 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8742 an inset which uses the whole row!
8743 (rightMargin): ditto.
8744 (insertChar): force a rebreak if we inserted an inset!
8746 2002-03-28 Herbert Voss <voss@lyx.org>
8748 * lyxlength.[Ch]: add inBP() to get the right PS-point
8749 units (BigPoint). With inPixels we have rounding errors
8751 2002-04-11 Juergen Vigna <jug@sad.it>
8753 * text2.C (setCursorFromCoordinates): set iy to the right value.
8754 (setCursor): add check if row->previous exists!
8756 * buffer.C (parseSingleLyXformat2Token): reset font after read of
8757 an old float_type as this was the case in the old code!
8759 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8761 * BufferView2.C (showLockedInsetCursor): use iy
8762 (fitLockedInsetCursor): ditto
8764 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8765 locked insets as there we have the right value now.
8767 * lyxcursor.C: added iy_ variable and iy functions to set to the
8768 baseline of cursor-y of the locked inset.
8770 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8771 (setCursor): fixed for insets which need a full row.
8773 * text.C (rowLastPrintable): don't ignore the last space when before
8774 an inset which needs a full row.
8775 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8776 as last character of a row when before a inset which needs a full row.
8778 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8780 * version.C.in: update date
8782 * text2.C (fullRebreak): try to always return true and see what
8785 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8787 * MenuBackend.C (expand): use Floating::listName
8789 * FloatList.C (FloatList): add listName argument to the built-in
8792 * Floating.[Ch]: add listName member, which is the 'List of XXX'
8793 text associated with the float.
8795 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8797 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8799 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8801 * ShareContainer.h: add a couple of missing typenames.
8803 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
8805 * lyxrc.C (getDescription): use _() correctly rather than N_().
8807 2002-03-28 Herbert Voss <voss@lyx.org>
8809 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8810 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8812 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8814 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8815 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8817 2002-03-29 Juergen Vigna <jug@sad.it>
8819 * lyxfunc.C (dispatch): add a missing fitCursor call.
8821 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8822 it was scrolled by a cursor move, so return the bool status.
8824 * BufferView.C (fitCursor): return the bool flag also to the outside
8825 world as this is needed.
8827 * screen.C (toggleToggle): don't subtract the offset if it's positive.
8829 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8830 call the edit() as it is not needed (and wrong) IMO.
8831 (workAreaButtonPress): set the screen_first variable before evt.
8832 unlock the inset as this may change screen_first and then we have
8833 a wrong y position for the click!
8835 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8837 * MenuBackend.C (expand): another translation that I missed
8839 2002-03-28 Juergen Vigna <jug@sad.it>
8841 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8843 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8845 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8847 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8849 * MenuBackend.C (expand): fix export/view/update when there is no
8852 2002-03-27 Herbert Voss <voss@lyx.org>
8854 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8857 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8859 * bufferview_funcs.C (currentState): only show paragraph number
8860 for is DEVEL_VERSION is set.
8862 * lyxfunc.C (dispatch): put warning in INFO channel
8864 * MenuBackend.C (expand): translate the name of floats
8866 * FloatList.C (FloatList): mark the float names for translation
8868 * converter.C (convert): use LibScriptSearch
8870 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8872 * MenuBackend.C (defaults): fix default menu (we might as well get
8875 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8877 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8880 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8882 * lyxvc.C: reorder includes.
8884 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
8886 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8889 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
8891 * CutAndPaste.C: change layouts earlier on paste
8892 to avoid crashing when calling getFont()
8894 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
8896 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8899 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8901 * WorkArea.C: remove 'Pending' debug message.
8903 * most files: ws cleanup
8905 * buffer.[Ch]: ws changes
8907 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8909 2002-03-21 Juergen Vigna <jug@sad.it>
8911 * tabular.C (SetMultiColumn): collapse also the contents of the
8912 cells and set the last border right. Added a Buffer const * param.
8914 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8916 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8919 2002-03-19 Juergen Vigna <jug@sad.it>
8921 * text2.C (clearSelection): reset also xsel_cache.
8923 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8924 where it needs to be called (John tells us to do so too :)
8925 (selectionLost): reset sel_cache.
8927 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8929 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8931 * text2.C (setCursorIntern): put debuging code in INSETS channel
8933 2002-03-19 André Pönitz <poenitz@gmx.net>
8935 * lyxfunc.C: tiny whitespace change
8937 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8939 * ToolbarDefaults.C (init):
8940 * LyXAction.C (init):
8942 * BufferView_pimpl.C (Dispatch):
8943 * lyxfunc.C (dispatch): remove LFUN_DEPTH
8945 2002-03-19 Allan Rae <rae@lyx.org>
8947 * exporter.C (Export): removeAutoInsets before doing anything else.
8948 While I've just introduced a dependency on BufferView this really is
8949 the best place to clean the buffer otherwise you need to cleanup in
8950 a dozen places before calling export or cleanup in a dozen functions
8953 * converter.C (runLaTeX):
8954 (scanLog): Better handling of removeAutoInsets and screen updates.
8956 * lyxfunc.C (dispatch): small whitespace changes
8958 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8960 * WorkArea.C (C_WorkAreaEvent): return a value.
8961 (event_cb): return 1 if we handled the event, 0 otherwise.
8963 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8965 2002-03-18 Juergen Vigna <jug@sad.it>
8967 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8968 (GetAdditionalWidth): ditto.
8972 * BufferView2.C (copy): use getLyXText() so that we do it inside an
8973 inset if we're there actually (probably not used right now but this
8974 is the direction to go for unifying code).
8975 (paste): disable code to clear the selection.
8977 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8978 inside an InsetText and move the check further up as it is in the
8981 * text2.C (pasteSelection): set a selection over the pasted text.
8983 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
8985 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8986 and libgraphics to build on Cygwin.
8988 2002-03-15 Juergen Vigna <jug@sad.it>
8990 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8991 inserting an Inset into the paragraph. I know this is not the best
8992 fix but we already use current_view in CutAndPaste so we will remove
8993 all of it's using at the same time.
8995 * buffer.C (sgmlError): deactivated function till it is rewritten in
8996 the right mode, now it can create problems.
8998 * paragraph.C (isLineSeparator): check if getInset returns != 0,
8999 before accessing it.
9001 2002-03-14 Juergen Vigna <jug@sad.it>
9003 * undo_funcs.C (textHandleUndo): do the right thing when updating
9004 the inset after the undo/redo.
9006 * text2.C (setCursor): just some testcode for #44 not ready yet.
9008 * undo_funcs.C (textHandleUndo): set the next() and previous()
9009 pointers of the paragraph to 0 before deleting otherwise we have
9010 problems with the Paragraph::[destructor].
9012 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9013 on a paragraph insertion.
9015 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9017 * buffer.C (asciiParagraph): use += operator for char append to
9020 * paragraph.C (getFontSettings): compare >= not just >
9021 (highestFontInRange): ditto
9024 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9026 * paragraph.C: change several algorithm to be more appripriate for
9027 the problem domain. This is lookip in FontList and in the InsetList.
9029 2002-03-13 André Pönitz <poenitz@gmx.net>
9032 * LyXAction.C: remove unused LFUN_MATH_MACROARG
9034 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
9039 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9041 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9043 * Painter.C (display): anon helper function, adjust code for this
9045 (pixmap): remove function.
9047 * Painter.h: remove private display variable.
9049 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9051 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
9053 * WorkArea.[Ch]: remove figinset_canvas cruft.
9055 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9057 * lyxtextclass.C (operator): add one item cache optimization.
9059 * bufferlist.h: doxy changes
9061 * bufferlist.C: ws changes
9063 * DepTable.[Ch] (ext_exist): place const in the right spot.
9065 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9067 (workAreaExpose): call resizeInsets when the with BufferView changes.
9068 (Dispatch): adjust for protectedBlank removal
9069 (specialChar): call updateInset if the insert went ok.
9071 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9072 specialChar instead.
9074 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9076 * BufferView.h: doxy change
9078 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9080 * lyxtextclass.C (operator[]): remove non-const version
9081 (defaultLayout): remove non-const version
9083 2002-03-12 Juergen Vigna <jug@sad.it>
9085 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9086 did resize the LyXText too.
9088 * buffer.C (readLyXformat2): set layout information on newly allocated
9091 * tabular.C (OldFormatRead): set layout information on the paragraph.
9093 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9095 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9097 2002-03-11 Juergen Vigna <jug@sad.it>
9099 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9101 (resizeCurrentBuffer): force also the insets to resize themselfes.
9102 (moveCursorUpdate): fixed up for InsetText.
9104 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
9107 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9108 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9109 value of Dialogs::tooltipsEnabled().
9110 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9112 2002-03-08 Juergen Vigna <jug@sad.it>
9114 * BufferView_pimpl.C (updateInset): update inset inside inset also
9115 if it isn't inside theLockingInset().
9117 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9119 * buffer.C (asciiParagraph): redo some of the word and line length
9121 (getLists): look for Caption instead of caption.
9123 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9125 * buffer.C (Buffer): initialize niceFile to true
9128 (makeDocBookFile): make sure niceFile is true on exit
9130 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9132 * buffer.C (makeLaTeXFile): escape ~ in \input@path
9134 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
9136 * LyXSendto.C: remove.
9137 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9138 * lyx_gui.C: remove now-redundant comment.
9139 * ColorHandler.h: remove forward declaration of class WorkArea.
9140 * lyxfunc.C: remove #include "WorkArea.h".
9142 2002-03-07 Juergen Vigna <jug@sad.it>
9144 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9145 got moved away with the DEPM and also set the inset_owner always
9146 right which before could have been omitted.
9148 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9150 * buffer.C (parseSingleLyXformat2Token): use default layout is the
9151 wanted layout is not found.
9153 2002-03-07 Juergen Vigna <jug@sad.it>
9155 * CutAndPaste.C (cutSelection): another layout settings forgotten.
9157 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9159 * paragraph.C (breakParagraph): use default layout not layout of
9161 (Paragraph): clear ParagraphParameters.
9163 2002-03-06 Juergen Vigna <jug@sad.it>
9165 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9166 otherwise it would not be a valid lenght. Fixed a special case in
9167 the minipage compatibility read where we end the document with a
9170 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9171 was set as it could be 0 for InsetTexts first entry.
9173 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9175 * paragraph.C (writeFile): if layout is empty write out
9176 defaultLayoutName().
9178 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9179 file without named layout we set layout to defaultLayoutName().
9181 2002-03-06 Juergen Vigna <jug@sad.it>
9183 * CutAndPaste.C (copySelection): set layout for new paragraph.
9185 * text.C (prepareToPrint): leave ERT inset left aligned
9186 (leftMargin): don't indent paragraphs inside ERT insets
9188 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9190 * paragraph.C (breakParagraph): dont call clear do the work manually
9192 * paragraph.[Ch] (clear): remove function
9194 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9196 * paragraph.C (Paragraph): dont call clear, the work has already
9199 * lyxtextclass.C (operator): assert if n is empty
9201 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9202 work manually instead.
9204 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9206 * BufferView_pimpl.C: protect selectionLost against text == 0
9208 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9210 * text.C (breakParagraph): fix a setting layout to '0' problem.
9212 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
9214 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9215 final location of file, for the included files, and graphics.
9217 2002-03-05 Juergen Vigna <jug@sad.it>
9219 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9221 2002-03-04 Juergen Vigna <jug@sad.it>
9223 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9225 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9226 last column of multicolumn cells.
9227 (SetWidthOfMulticolCell): recalculate NMC and real columns.
9229 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
9231 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9232 file if it doesn't go to a temporary file.
9234 * buffer.C (sgmlOpenTag):
9235 (sgmlCloseTag): remove extra newline insertion.
9237 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9239 * text.C (getRowNearY): comment out debug msg
9241 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9243 * text2.C: first -> first_y
9245 * text.C (getRowNearY): add some attemts at a possible
9246 optimization, not working.
9248 * tabular.[Ch]: add BufferParams to several function so that newly
9249 created paragraph can be initialized to he default layotu for the
9252 * tabular-old.C (ReadOld): add buf->params to call of Init
9254 * screen.C: rename text->first to text->first_y
9256 * paragraph.C (breakParagraph): always set layout in the broken
9259 * lyxtextclass.C (Read): remove lowercase
9262 (delete_layout): ditto
9264 * lyxtext.h: rename first -> first_y
9266 * lyxlayout.C (Read): remove lowercase
9269 (obsoleted_by): ditto
9271 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9273 * buffer.C (insertErtContents): add params are to InsetERT
9274 (parseSingleLyXformat2Token): add code to check if a paragraphs
9275 layout really exist.
9276 (parseSingleLyXformat2Token): add params to several inset
9278 (asciiParagraph): remove lowercase, do the layout comparisons with
9281 * BufferView_pimpl.C (cursorNext): first -> first_y
9282 (resizeCurrentBuffer): first -> first_y
9283 (updateScrollbar): first -> first_y
9284 (scrollCB): first -> first_y
9285 (workAreaMotionNotify): first -> first_y
9286 (workAreaButtonPress): first -> first_y
9287 (checkInsetHit): first -> first_y
9288 (cursorPrevious): first -> first_y
9289 (cursorNext): first -> first_y
9290 (Dispatch): add buffer_->params to severl inset contructors
9292 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9294 * lyxlayout.C (Read): remove some debug info that I forgot.
9296 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9297 clean up the code slightly.
9298 (makeLinuxDocFile): ditto
9299 (makeDocBookFile): ditto
9301 * text2.C: layout as string
9303 * text.C: layout as string
9305 * paragraph_pimpl.C: layout as string
9307 * paragraph.[Ch]: layout as string
9309 * lyxtextclasslist.[Ch]: layout as string
9311 * lyxtextclass.[Ch]: layout as string
9313 * lyxtext.h: layout as string
9315 * lyxlayout.[Ch]: layout as string
9317 * lyx_cb.C: layout as string
9319 * bufferview_funcs.C: layout as string
9321 * bufferparams.C: layout as string
9323 * buffer.C: layout as string
9325 * LyXView.[Ch]: layout as string
9327 * LaTeXFeatures.[Ch]: layout as string
9329 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9331 * BufferView_pimpl.C: change current_layout to string, remove
9336 (workAreaButtonRelease): layout as string
9338 * BufferView2.C (unlockInset): adjust
9340 * vspace.C (asLatexCommand): use an explict temp variable.
9342 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
9344 * Makefile.am: use FRONTEND_*
9346 2002-03-01 Juergen Vigna <jug@sad.it>
9348 * tabular.C (SetWidthOfMulticolCell): changed to something better
9349 I hope but still work in progress.
9350 (recalculateMulticolumnsOfColumn): renamed function from
9351 recalculateMulticolCells as it is more appropriate now.
9352 (SetWidthOfCell): calculate multicols better.
9354 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9356 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9358 * lyxfunc.C (processKeySym): print sequence also if it is
9359 `deleted' (complete)
9361 * kbsequence.C (print): print sequence even if it is deleted
9362 (complete would be a better word, actually).
9364 * lyxfunc.C (dispatch): print complete options after a prefix key
9366 * vspace.C (asLatexCommand): rewrite in a slightly different form.
9368 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
9370 * text2.C (setCharFont): eliminate setCharFont code duplication.
9372 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9374 * BufferView_pimpl.C (Dispatch): remove bogus handling of
9375 LFUN_TABULAR_FEATURE (bug #177)
9377 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
9379 * Makefile.am: remove figure.h
9381 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
9383 * Bufferview_pimpl.C:
9395 * text2.C: remove #include "lyx_gui_misc.h".
9397 * LaTeX.C: added #include <cstdio>
9399 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9401 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9402 that the paragraph following this one can have.
9404 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9406 * vspace.C (asLatexCommand): fix bogus gcc warning
9408 * Makefile.am (lyx_SOURCES): remove vms_defines.h
9410 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
9412 * text2.C (setLayout): get rid of redundant code
9414 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
9416 * text2.C (incDepth): make sure depth cannot be increased beyond
9419 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
9421 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9422 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9424 * PainterBase.h (image):
9425 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9428 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9432 * BufferView_pimpl.C:
9433 * BufferView_pimpl.h:
9453 * sp_spell.C: remove fig inset, and the crap house of
9454 cards that follows it
9456 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
9462 * nt_defines.h: move .h into support/
9464 * vms_defines.h: remove
9466 * WorkArea.C: add space in debug output
9470 * buffer.C: add WITH_WARNINGS
9474 * bufferlist.C: s/retrive/retrieve/, add docs
9485 * lyxgui.C: add ID to X error handler
9487 * lyxtestclass.c: fix typo
9489 2002-02-26 Juergen Vigna <jug@sad.it>
9491 * tabular_funcs.C (write_attribute): changed so that some default
9492 attributes are not written at all.
9493 (getTokenValue): set default values before trying to read the
9494 value so we have the return value always set as default if we don't
9495 find the token we search for.
9497 * tabular.C (Write): write bools as bools not as strings!
9499 2002-02-22 Juergen Vigna <jug@sad.it>
9501 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9502 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9504 * text.C (leftMargin): don't add an indent for paragraphs inside
9505 tabular cells (fix #208).
9507 2002-02-21 José Matos <jamatos@fep.up.pt>
9509 * tabular.C (docBook): fixed support for long tables.
9511 2002-02-20 Juergen Vigna <jug@sad.it>
9513 * text2.C (getFont): get the drawing font of the Inset if this
9514 paragraph is inside an inset (only important for InsetERT for now).
9516 * buffer.C (insertErtContents): use new lanugage params in ERT
9519 * CutAndPaste.C: commenting out seemingly uneeded code.
9521 2002-02-19 Allan Rae <rae@lyx.org>
9523 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9524 Iterators might be simple to use but they also get invalidated.
9525 (removeAutoInsets): renamed saved cursor tracking variables and added
9526 some comments to clarify what everything does.
9528 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
9535 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9536 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9539 * vc-backend.h: remove #include "support/syscall.h"
9543 * converter.C: rearrange #includes in Lars' approved fashion.
9545 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9546 forward declare class Timeout in the header file.
9548 * XFormsView.C: changes due to the above.
9550 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9553 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9554 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9556 2002-02-18 José Matos <jamatos@fep.up.pt>
9558 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9561 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9563 * a lot of small ws changes
9564 * add a lot of using std::XXX
9565 * use std construcs some places where approp.
9566 * use some exisint stuff from lyxfunctional where approp.
9567 * Make file changes to use partial linking (lets test this now...)
9569 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9573 remove #include "support/syscontr.h" as it's redundant. Always has been.
9581 change Systemcalls::System to Systemcalls::Wait and
9582 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9583 No change of functionality, just reflects the stripped down Systemcalls
9586 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
9588 * debug.[Ch]: add a GRAPHICS type to the enum.
9590 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9592 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9594 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9597 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9599 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9600 match the changes below.
9602 * text2.C (toggleInset): if there is not editable inset at cursor
9603 position, try to see if cursor is _inside_ a collapsable inset
9606 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9608 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9609 document menu has a nice checkbox
9611 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9613 * lyxlength.C (asLatexString): change PW to output as percent of
9616 * lengthcommon.C: change '%' to 't%'
9618 * lyxfunc.C (dispatch): a few comments from Martin
9620 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
9624 * BufferView_pimpl.h:
9625 * BufferView_pimpl.C: clear our selection when X tells us we've lost
9628 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9630 * vspace.C (inPixels): fix compiler warning
9632 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9634 * lyxfunc.C (getStatus): fix status message for disabled commands.
9636 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
9638 * BufferView_pimpl.C: fix crash on close buffer
9639 during selection (#227)
9641 2002-01-27 Herbert Voss <voss@lyx.org>
9643 * buffer.C: link old Figure to new graphic inset
9645 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
9647 * FontLoader.C (getFontinfo): Change the latex font names in order
9648 to match the names of type1inst.
9650 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9652 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9654 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9657 (remove_files_with_extension): ditto
9658 (remove_file): ditto
9661 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9662 document is smaller than the work area height. Do not initialize
9663 static variables to 0.
9665 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9667 * lyx_gui.C (init): give the toolbar tooltips a normal font.
9669 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9670 LFUN_LAYOUT_PARAGRAPHS.
9672 * tabular.C (GetCellFromInset): new method. Finds an inset in a
9673 tabular. It is possible to provide a possible cell, which will
9674 typically be the actcell from the corresponding insettabular
9676 * lyxfunc.C (getStatus): small cleanup; disable
9677 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9680 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9682 * tabular.C (Validate): remove broken optimization (fixes bug #201)
9684 * paragraph.C (startTeXParParams):
9685 (endTeXParParams): new methods. The LaTeX code to
9686 start/end paragraph formatting
9687 (simpleTeXOnePar): call startTeXParParams also when paragraph is
9688 empty (fixes bug #200)
9690 * vspace.C (inPixels): adapt to the change below
9691 (inPixels): [later] more cleanups (remove unused variables)
9693 * lyxlength.C (inPixels): change to use a width and a height as
9696 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9698 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9699 Replaced with \paperwidth
9701 * DepTable.C (insert): add std:: qualifier
9703 2002-01-18 Allan Rae <rae@lyx.org>
9705 * text2.C (removeRow): add comment. Should other refresh_?? vars be
9708 * text.C (drawInset): Turned out I didn't know enough about how
9709 rebreaking worked. This fixes most of the redraw problems. I see
9710 an occasional cursor trail when a line is broken now and the cursor
9711 placement can seem out by a few pixels also after a rebreak.
9713 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9715 * buffer.C (parseSingleLyXformat2Token): update because minipage
9716 width is now a LyXLength
9718 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9720 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9723 2002-01-17 Juergen Vigna <jug@sad.it>
9725 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9727 * BufferView2.C (lockInset): call edit() so that theLockingInset()
9728 is set correctly and the inset is updated correctly.
9730 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9732 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9733 the beginning of the loop.
9735 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
9737 * lyxrc.C: improve help for use_scalable_fonts
9739 2002-01-17 Allan Rae <rae@lyx.org>
9741 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9743 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9745 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9746 make sure to set their inset_owner to the right value (bug #171)
9748 2001-12-12 Ben Stanley <bds02@uow.edu.au>
9751 * DepTable.C: Implement mtime checking to reduce time spent doing
9754 2002-01-16 Juergen Vigna <jug@sad.it>
9756 * tabular.C (GetAdditionalHeight): one of error fixed.
9758 * lyxrc.C (output): small fix in writing use_pspell.
9760 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
9762 * sp_base.h: #include LString.h
9764 2002-01-16 Allan Rae <rae@lyx.org>
9766 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
9767 Can someone check this please?
9769 * text.C (drawInset): It was possible that p.row would be removed by
9770 breakAgainOneRow upsetting a few other settings. There may be another
9771 small tweak possible by setting need_break_row = 0 when p.row has been
9772 removed but I don't know enough about the logic here.
9774 2002-01-15 Allan Rae <rae@lyx.org>
9776 * text.C (insertChar): removed conditional truism.
9778 * BufferView2.C (removeAutoInsets): More tweaks.
9779 cur_par_prev could be a stray pointer. Check for trailing empty line
9780 in case last line was cur_par and only had an error inset on it.
9782 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9784 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9787 * vc-backend.C (most methods):
9788 * exporter.C (Export):
9789 * converter.C (convert):
9791 * LyXSendto.C (SendtoApplyCB):
9792 * lyxfunc.C (dispatch):
9796 * lyx_cb.C (AutoSave):
9798 * BufferView_pimpl.C (MenuInsertLyXFile):
9799 * buffer.C (runChktex): use Buffer::filePath().
9801 * buffer.h: rename filename to filename_; rename filepath to
9802 filepath_ and make it private
9803 (filePath): new method
9805 * buffer.C (writeFile): use fileName()
9808 * lyx_main.C (init): fix starting of LyX when the binary is a
9809 link from so,ewhere else.
9811 * minibuffer.C: include <cctype> for isprint
9813 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9815 * buffer.C (parseSingleLyXformat2Token): changes associated with the
9816 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9817 name clash with InsetCollapsable's width function.
9819 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9821 * lastfiles.C: include <iterator>
9823 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9825 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9828 * buffer.C (makeLaTeXFile): ditto.
9829 Also make loop operation more transparent.
9831 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
9833 * ToolbarDefaults.C: remove trailing comma closing namespace.
9835 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9837 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9840 * trans.C (Load): comment out unused variable, allowed.
9842 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9844 * minibuffer.[Ch] (append_char): new method to recieve input from the
9845 drop-down completion browser. If a key was pressed, then recieve this
9846 char and append it to the existing string.
9847 (peek_event): modify the positioning data passed to the completion
9848 browser so that it can be placed above the minibuffer rather than below.
9849 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9851 * LyXAction.C (init): alloe error-next for readonly documents.
9853 * BufferView2.C (ChangeRefsIfUnique): use standard version of
9856 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9858 * bufferlist.C (readFile): create the buffer _after_ checking that
9861 * lyxfunc.C (verboseDispatch): fix handling of arguments
9863 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9865 * lyxrc.C: use string::erase() instead of initializing to "".
9868 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9870 * BufferView_pimpl.h:
9871 * BufferView_pimpl.C:
9874 * text2.C: tell X when we have made a selection for copying
9876 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9878 * BufferView_pimpl.C (MenuInsertLyXFile):
9879 * lyxfunc.C (menuNew):
9881 (doImport): add shortcuts to directory buttons
9883 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9886 * lyxfunc.C (setStatusMessage):
9887 (getStatusMessage): new methods
9888 (getStatus):use setStatusMessage instead of setErrorMessage
9889 (dispatch): when function is disabled, set error message here
9890 [instead of in getStatus previously]
9892 * BufferView_pimpl.C (workAreaButtonRelease): update
9893 toolbar/menubar here too.
9895 2002-01-13 Allan Rae <rae@lyx.org>
9897 * BufferView2.C (removeAutoInsets): finished off earlier fix.
9898 Now seems indestructible. Remaining task is to audit all other
9899 code affected by deleteEmptyParagraphMechanism. One small quirk
9900 left is that an empty document with an error in the preamble can
9901 be made to report an error but no error box appears. I don't know
9903 (removeAutoInsets): Improved comments.
9905 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
9908 * Thesaurus.C: update for Aiksaurus 0.14
9910 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9912 * text2.C (firstParagraph): removed member function, all uses
9913 replaces with ownerParagraph
9914 (redoParagraphs): here
9916 (toggleAppendix): here
9917 * BufferView2.C (insertErrors): here
9918 (setCursorFromRow): here
9920 2002-01-13 Allan Rae <rae@lyx.org>
9922 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9923 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9924 There is still a way to segfault this although you may have to do this
9925 multiple times: Have an InsetERT with an unknown command in it.
9926 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9927 <down-arrow>, <Enter> again, View->DVI, BANG!
9929 * text2.C (setCursor):
9930 (deleteEmptyParagraphMechanism):
9931 * lyxtext.h (setCursor):
9932 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9933 Making use of the return value may help fix other bugs.
9935 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9937 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9939 * LyXView.C (updateMenubar): call MenuBar::update here
9940 (updateToolbar): but not here
9941 (showState): do not update toolbar/menubar
9943 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9944 should need to care about that.
9946 * lyxfunc.C (verboseDispatch): simplify a bit
9947 (getStatus): have a version which takes a pseudoaction, and
9948 another which requires a (kb_action,string).
9950 * LyXAction.C (retrieveActionArg): make it work also when action
9951 is not a pseudo-action.
9952 (getActionName): simplify a bit
9955 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9957 * lyxfunc.C (verboseDispatch): new families of methods with
9958 several ways to specify a command and a bool to indicate whether
9959 the command name and shortcut should be displayed in minibuffer
9960 (eventually, we could extend that to a finer bitmask like
9961 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9962 (dispatch): the pristine dispatch command which just, well,
9963 dispatchs! Note it still sets its result to minibuffer; I'm not
9966 * lyxfunc.h: remove setHintMessage
9968 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9970 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9972 * BufferView_pimpl.C (specialChar): delete new inset if we have
9973 not been able to insert it.
9975 * kbmap.C: revert to using int instead of kb_action, since all we
9976 are dealing with is pseudo-actions.
9978 * LyXAction.C (searchActionArg): change to return int instead of
9979 kb_action, since the result is a pseudoaction.
9981 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
9983 * buffer.C (insertErtContents): Fix (partially) the font bug.
9985 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
9987 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9988 as the other one is broken on my machine!
9990 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
9993 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9995 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
9997 * lyxrc.[Ch]: change names and descriptions of popup font variables to
9998 reflect their actual use. Provide compatibility code for older lyxrc
10001 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10003 change names of popup font variables in line with the changes to lyxrc.C
10005 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10007 * buffer.C (asciiParagraph): avoid outputing a word twice after
10010 * lyxrc.C (getDescription): document that document_path and
10011 template_path can be empty.
10013 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10015 * LaTeXFeatures.C (getMacros):
10016 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10018 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10020 * LaTeXFeatures.C (useFloat): require "float" here instead of in
10022 (getPackages): rename feature "floats" to "float". Use an array to
10023 iterate over 'simple' features (i.e. just a \usepackage). Add
10024 handling of "amsmath" (renamed from "amsstyle").
10026 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
10028 * LaTeXFeatures.C (require): Prevent duplicate entries in the
10031 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
10033 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10034 FuncStaus::FuncStatus & FuncStaus::some_method().
10036 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
10038 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10039 of the func_satus stuff. Edited and massaged in various ways by
10042 * lyxfunc.C (getStatus): use FuncStatus
10044 2002-01-08 Juergen Vigna <jug@sad.it>
10046 * text.C (nextBreakPoint): use function Inset::isChar().
10048 * paragraph.C (TeXOnePar): use function
10049 Inset::forceDefaultParagraphs.
10051 * buffer.C (latexParagraphs): use function
10052 Inset::forceDefaultParagraphs.
10054 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10056 * lyx_gui.C (init): set the style of the menu popups to
10057 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10059 2002-01-07 Juergen Vigna <jug@sad.it>
10061 * text.C (setHeightOfRow): small fix
10062 (prepareToPrint): don't look at alignment if we don't have the place
10065 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10067 * box.C: New file. Move the Box methods and functions out of box.h,
10068 following Lars' suggestion.
10070 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
10072 * box.h: #include "support/LOstream.h", needed for inlined function.
10075 * lyxtextclasslist.C: added some using std declarations.
10077 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
10079 * box.h: make signed dimensions to allow insets wider than
10080 the screen (bug #162)
10082 * BufferView_pimpl.C: add some insetHit debug
10084 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
10086 * vc-backend.C: add FIXME
10088 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10090 * lyxfunc.C (getStatus): enable code for showing math font status
10093 2002-01-07 Juergen Vigna <jug@sad.it>
10095 * text.C (nextBreakPoint): removed debug output not needed anymore.
10097 2002-01-06 Juergen Vigna <jug@sad.it>
10099 * text.C (nextBreakPoint): fixed up this function we had this bug
10100 since ever but now hopefully we break row better.
10101 (insertChar): we have to check if an inset is the next char as it
10102 could now happen that a large inset is causing a break.
10104 2002-01-05 Juergen Vigna <jug@sad.it>
10106 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10107 if it doesn't like to be drawed.
10109 2002-01-04 Juergen Vigna <jug@sad.it>
10111 * BufferView2.C (lockInset): forgot to set a cursor.
10113 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10115 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
10117 * FormMathsPanel.C:
10120 * form_maths_panel.C:
10121 * form_maths_panel.h:
10122 * form_maths_panel.fd: implemented sub- and super- buttons in math
10125 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10126 (or ^ space) to be used as in TeX (req'd by André).
10128 * lyxfunc.C: Allow ^ and _ again to be used both as
10129 super/subscript (mathed) and as themselves (in text).
10131 2002-01-03 Allan Rae <rae@lyx.org>
10133 * LyXView.C (updateWindowTitle): Setup a short icon title of either
10134 "LyX" or the filename of the current buffer if it has one. This is a
10135 modified form of John Levon's patch.
10137 * XFormsView.C (setWindowTitle): also set icon title.
10139 * LyXView.h (setWindowTitle): signature changed.
10140 * XFormsView.h (setWindowTitle): ditto.
10142 2002-01-02 Juergen Vigna <jug@sad.it>
10144 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10146 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10148 * screen.C (topCursorVisible): introduce a temp var for
10149 text->cursor.row(), handle the case where this row is null. (kindo
10152 * text2.C (setCursor): add a couple of asserts.
10154 * paragraph.h (inset_iterator): add -> operator
10156 * paragraph.[Ch] (autoDeleteInsets): remove member function
10158 * BufferView2.C (removeAutoInsets): rewrite to handle the old
10159 cursor pos correctly and handle inset deletion by itself.
10160 (insertErrors): move iterator declaration out of for expression
10162 * lyxtextclass.C: add <algorithm>
10164 * Makefile.am: added the new files to sources, removed layout.C
10166 * layout.C: removed file
10168 * layout.h: remove LYX_DUMMY_LAYOUT
10170 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10174 * lyxtextclass.[Ch]:
10175 * lyxtextclasslist.[Ch]: new files
10177 * include order changes to a lot of files, also changes because of
10180 2001-12-27 Juergen Vigna <jug@sad.it>
10182 * buffer.C (asciiParagraph): more fixes.
10184 * tabular.C (ascii): make ascii export support export of only the
10185 data separated by a column-delimiter.
10186 (ascii): better support for ascii export.
10188 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10190 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10192 * tabular_funcs.C: use a "using std::getline" instead of the
10193 previous fix from Angus (necessary for cxx + lyxstring)
10195 2001-12-24 Juergen Vigna <jug@sad.it>
10197 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10199 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10200 problems. First check a minipage also if we have some ert-contents
10201 (not only on par->size(), second set the right depth of the paragraph
10202 on the relink to the root-paragraph-list!
10204 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10205 which then did not anymore update the main paragraphs on undo/redo!
10207 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10209 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10210 code. Support all font-changing funcs (even those which are not in
10211 menu currently). Support for reporting font settings in
10212 mathed (disabled until Andre provides a function on mathed's side).
10214 * func_status.h (toggle): small helper function to set toggle
10217 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
10219 * tabular_funcs.C: getline -> std::getline
10221 2001-12-21 Juergen Vigna <jug@sad.it>
10223 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10224 accessed and could be 0 (I couldn't generate this but it seems
10227 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10229 * tabular_funcs.C: add LIstream.h, move write_attribute to..
10230 * tabular_funcs.h: here and include iosfwd
10232 2001-12-20 Juergen Vigna <jug@sad.it>
10234 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10235 inside inset but undo_par was.
10237 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10239 * Thesaurus.C: always include <config.h> in sources.
10243 * box.h: do not include <config.h> in header files
10245 * text.C (paintLastRow): remove unused variable
10247 * text.C (transformChar):
10249 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10251 * Painter.C (text):
10252 * font.C (width): rewrite to use uppercase() instead of
10255 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10257 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
10259 * lyxfind.C: clean up of find failure position change
10261 2001-12-20 Juergen Vigna <jug@sad.it>
10263 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10265 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10266 (TeXRow): added to LaTeX a single tabular row.
10267 (TeXLongtableHeaderFooter): added to output LT-h/f data.
10268 (Latex): simplified and finally good LT-h/f support.
10269 (various_functions): just small adaptions for LT-h/f support.
10271 * tabular_funcs.[hC]: added and moved here all not classfunctions
10274 2001-12-19 Juergen Vigna <jug@sad.it>
10276 * tabular.[Ch]: better support for longtabular options (not finished
10279 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10281 * text.C (paintLastRow): use the label font instead of the font of
10282 the last character to compute the size of *_BOX. This makes more
10283 sense and avoids a crash with empty paragraphs.
10284 Use Painter::rectangle to draw EMPTY_BOX.
10286 2001-12-19 Juergen Vigna <jug@sad.it>
10288 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10289 the paragraphs if the replaced paragraph is not the first one!
10290 Tried to delete not used paragraphs but does not work yet so for
10291 now it's inside #ifdef's and by default off!
10293 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10295 * MenuBackend.C: include "lyx_main.h" instead of declaring
10296 lastfiles (actually was declared as LastFiles* instead of a
10299 2001-12-17 Juergen Vigna <jug@sad.it>
10301 * tabular.C (AppendColumn): applied John's fix
10303 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
10307 * BufferView_pimpl.h:
10308 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10311 * box.h: new start of class for above
10313 * lyxfunc.C: ignore space-only minibuffer dispatches.
10314 Show the command name when it doesn't exist
10316 * minibuffer.C: don't add empty lines to the history
10318 * minibuffer.C: add a space on dropdown completion
10320 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
10322 * text.C: fix line above/below drawing in insets
10324 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10326 * lyxlength.C (LyXLength): Initialize private variables.
10328 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
10330 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10331 when inserting error insets.
10333 2001-12-13 Juergen Vigna <jug@sad.it>
10335 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10336 actually sometimes the before-paragraph.
10337 (setUndo): don't clear the redostack if we're not actually undoing!
10339 2001-12-06 Juergen Vigna <jug@sad.it>
10341 * undo_funcs.C (textHandleUndo): well after John's hint I got here
10342 and fixed redoing of main paragraph, so we can use it now ;)
10344 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10346 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10348 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10351 2001-12-13 André Pönitz <poenitz@gmx.net>
10354 * undo_func.C: minor cleanup
10356 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10358 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10359 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10360 font in urw-fonts package which is marked as -urw-fontspecific and
10361 does not work (incidentally, changing the encoding in the
10362 fonts.dir of this package to -adobe-fontspecific fixes the
10365 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10366 is a crash when undoing first paragraph (Juergen, please take a
10367 look). THis does not mean the undo fix is wrong, just that it
10370 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10371 the (Paragraph*) version when needed instead of duplicating the
10374 * text.C (workWidth): use Inset::parOwner to find out where the
10375 inset has been inserted. This is a huge performance gain for large
10376 documents with lots of insets. If Inset::parOwner is not set, fall
10377 back on the brute force method
10379 * paragraph_pimpl.C (insertInset):
10380 * paragraph.C (Paragraph):
10381 (cutIntoMinibuffer): set parOwner of insets when
10382 inserting/removing them
10384 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10386 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
10392 * mathed/formulabase.C:
10393 * mathed/math_cursor.[Ch]:
10394 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10397 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10399 * lyxlength.[Ch] (operator!=): new function
10401 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10403 * text.C (workWidth): use Inset::parOwner to find out where the
10404 inset has been inserted. This is a huge performance gain for large
10405 documents with lots of insets. If Inset::parOwner is not set, fall
10406 back on the brute force method
10408 * paragraph_pimpl.C (insertInset):
10409 * paragraph.C (Paragraph):
10410 (cutIntoMinibuffer): set parOwner of insets when
10411 inserting/removing them
10413 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10415 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10417 * tabular-old.C (getTokenValue):
10418 * tabular.C (getTokenValue):
10419 (write_attribute): new versions for LyXLength
10420 (everywhere): adjust the use of widths
10422 * tabular.h: change the type of widths from string to LyXLength
10424 2001-12-11 Ben Stanley <bds02@uow.edu.au>
10426 * paragraph.C: fixed missing line number count when exporting
10427 Environments to LaTeX file
10429 * buffer.C: added informational message for checking line numbers.
10431 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10433 * text2.C (deleteEmptyParagraphMechanism): if there is only one
10434 paragraph, do the 'double space' part, but not the 'empty
10437 * text.C (workWidth): small optimization
10438 (getLengthMarkerHeight): use minimal size for negative lengths.
10440 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
10442 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10444 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10446 2001-12-11 André Pönitz <poenitz@gmx.net>
10449 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10451 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10453 * text2.C: keep selection on a setFont()
10455 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10457 * lyx_cb.C: another bv->text misuse, from insert label
10459 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10462 * kbsequence.C: re-instate nmodifier mask
10464 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
10466 * lyx_main.h: make lyxGUI private.
10468 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
10470 * lyxfind.C: place the cursor correctly on failed search
10472 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10474 * text.C (getLengthMarkerHeight): for small heights, the arrows
10475 are not always on top/bottom of the text
10476 (drawLengthMarker): smaller arrows; take the left margin in
10477 account; draw also vfills.
10479 (paintLastRow): remove special code for vfill and standard spaces,
10480 since everything is handled in drawLengthMarker now.
10482 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10484 * buffer.C (insertErtContents): try to handle font and language
10485 interaction a bit better.g
10487 * ColorHandler.C (updateColor): change the hash to cover the whole
10488 LColor enum, ws cleanup
10489 (getGCLinepars): ditto
10490 (getGCLinepars): only lookup in the linecache once.
10492 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
10494 * iterators.C (operator++): Make the iterator more robust
10496 * BufferView2.C (removeAutoInsets): Use paragraph iterators
10498 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10500 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10503 * text.C: better added space drawing
10505 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10508 * BufferView2.C: fix layout combo update on inset unlock
10510 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10512 * Makefile.am: don't compile unused files
10514 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10518 * LyXAction.C: remove old LFUN_LAYOUTNO
10520 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10522 * paragraph_pimpl.h:
10523 * paragraph_pimpl.C: isTextAt() doesn't need font param
10525 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10528 * lyxlex.C: little cleanup
10530 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
10532 * BufferView_pimpl.C: fix insertAscii for insets
10534 2001-12-05 Juergen Vigna <jug@sad.it>
10536 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10537 set the right font on the "multi" paragraph paste!
10539 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10545 * lyxlength.C: remove out-commented code.
10547 * BufferView_pimpl:
10561 * vc-backend.C: change "while(" to "while ("
10563 * lyxlength.[Ch]: add zero function to check if length is zero or
10565 * lyxgluelength.C: use it
10567 2001-12-05 Allan Rae <rae@lyx.org>
10569 * lyxlength.C: Attempted a fix for the abs(int) header selection.
10570 Works for 2.95.3, from what I understand of Garst's reports this should
10571 work for other g++ versions. We're screwed if the abs(int) definition
10572 changed between bugfix releases of gcc.
10574 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10576 * text.C: fix chapter label offset !
10578 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
10581 * text.C: fix hfill at end of line, clean up
10583 2001-12-04 Juergen Vigna <jug@sad.it>
10585 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10586 that we force an update of the inset and it's owners if neccessary.
10588 2001-12-03 Juergen Vigna <jug@sad.it>
10590 * text.C (rowLast): simplified code
10592 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
10594 * lyxfunc.C: fix show options on timeout
10596 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10598 * screen.C (topCursorVisible): scroll half a page when the cursor
10599 reached top of bottom of screen
10601 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
10603 * minibuffer.C: deactivate on loss of focus
10605 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10607 * vspace.[Ch] (operator!=): add operator.
10609 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
10611 * BufferView_pimpl.C: refuse to open an inset when
10612 there's a selection.
10614 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
10616 * BufferView_pimpl.C: allow to click on RHS of full row insets
10618 2001-11-30 Juergen Vigna <jug@sad.it>
10620 * tabular.C (LyXTabular): add a same_id to set the same id's in the
10621 insets for undo reasons.
10623 2001-11-28 André Pönitz <poenitz@gmx.net>
10625 * vspace.[Ch]: cosmetical changes
10627 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10637 * kbsequence.C: part re-write of old kb code
10640 * WorkArea.C: remove Lgb_bug_find_hack
10642 2001-11-30 José Matos <jamatos@fep.up.pt>
10644 * buffer.C (makeDocBookFile): add a comment to point a hack.
10645 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10646 Fixed a double write of labels.
10648 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10651 * LaTeX.h Fixed bug in LaTeX class where it would not
10652 re-run latex if no depfiles were changed, but the .dvi was removed.
10654 2001-11-28 André Pönitz <poenitz@gmx.net>
10656 * all the files from the change on 2001/11/26:
10657 use lyx::layout_type instead of LyXTextClass::size_type
10658 use lyx::textclass_type instead of LyXTextClassList::size_type
10660 2001-11-29 Juergen Vigna <jug@sad.it>
10662 * text.C: added support for paragraph::isFreeSpacing()
10664 * buffer.C: same as above
10666 * paragraph.h: inserted isFreeSpacing() function to enable
10667 FreeSpacing inside InsetERT.
10669 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10670 of the paragraph's in the cut/copy buffer to 0!
10672 * text2.C (removeRow): remove the assert as it can!
10674 * lyxtext.h: added helper function firstRow returning firstrow and
10675 made firstrow private again.
10677 * BufferView2.C (lockInset): don't relock if we're already locked!
10679 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10680 the only paragraph.
10681 (removeRow): added Assert::(firstrow)
10683 * debug.C: forgot to add INSETTEXT here.
10685 2001-11-28 Juergen Vigna <jug@sad.it>
10687 * sp_spell.C (initialize): changed error text to more general
10688 spellchecker command use (not only ispell!)
10690 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10692 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10694 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10696 * vspace.C: initialise lyxgluelength on failure
10698 2001-11-28 Allan Rae <rae@lyx.org>
10700 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10701 declaration & definition that looks like a function declaration.
10703 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10705 * BufferView2.C (copy):
10706 (copyEnvironment): do not clear the selection when doing a copy.
10708 * text.C (paintFirstRow): compilation fix
10710 2001-11-27 Ben Stanley <bds02@uow.edu.au>
10712 * tabular.C (Latex): correct line count when writing latex.
10714 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
10716 * paragraph_pimpl.h:
10717 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10720 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10724 * LColor.C: change vfillline->added_space
10726 * text.C: add markers and text for added space
10728 * vspace.C: fix comment
10730 2001-11-28 André Pönitz <poenitz@gmx.net>
10732 * paragraph.C: whitespace changes
10733 * all the other files from the change on 2001/11/26:
10734 change *::pos_type into lyx::pos_type
10736 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
10738 * buffer.C (parseSingleLyXformat2Token): Set the language to the
10739 language of the document when inserting error insets.
10741 2001-11-26 André Pönitz <poenitz@gmx.net>
10743 * BufferView_pimpl.[Ch]:
10751 * paragraph_pimpl.[Ch]:
10754 * text2.C: reduce header dependencies, introduce type for positions
10756 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10758 * <various>: change to use Alert.h
10760 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
10762 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10763 when encountering an unknown token.
10764 (readLyXformat2): Show an error message if there were unknown tokens.
10766 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
10769 * BufferView_pimpl.C:
10773 * text2.C: use par->isInset()
10775 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
10777 * paragraph_pimpl.h:
10778 * paragraph_pimpl.C: cleanup
10780 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10782 * text2.C (removeRow):
10783 * text.C (setHeightOfRow): remove useless (and costly) call to
10786 2001-11-20 Allan Rae <rae@lyx.org>
10788 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10789 Now need Inset*::checkInsertChar() to return true for appropriate
10790 cases so that the characters in the minibuffer will actually be
10793 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
10795 * text.C: change the order of the includes.
10796 (workWidth): initialize it at once.
10797 (workWidth): make maxw unsigned
10798 (setHeightOfRow): remove unused variable (inset)
10799 (selectSelectedWord): remove unused variable (inset)
10800 (paintRowText): fix drawing of hfill characters, and clean up a bit.
10802 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10804 * lyxserver.C (emergencyCleanup): do not try to close pipes if
10805 server is not running.
10807 (closeConnection): add debug info when server is disabled.
10809 * ColorHandler.C (getGCForeground): send debug message to GUI
10812 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10814 * kbmap.C (bind): modify because return conventions of
10815 kb_sequence::parse have changed.
10817 * kbsequence.C (parse): only ignore spaces and not any stupid
10818 control character. This avoids tests like s[i] <= ' ', which are
10819 guaranteed to fail with 8bit characters and signed chars.
10820 Change return code to string::npos when there have been no error
10821 (0 was a bad idea when error is at first character)
10823 2001-11-14 José Matos <jamatos@fep.up.pt>
10826 * buffer.C (simpleDocBookOnePar): removed unused argument.
10828 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10830 * text.C (selectNextWordToSpellcheck): do not test explicitely for
10831 insets which are part of a word. Paragraph::isLetter takes care of
10832 that now. Use Paragraph::isInset to identify insets.
10833 (selectSelectedWord): do not test for hyphenation break.
10835 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10836 that protected spaces are considered as spaces.
10838 * paragraph.C (isLetter): cleanup the code for ispell extras; use
10841 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
10844 * lyxserver.C: fix it. and small cleanup.
10846 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10848 * BufferView_pimpl.C: use inline helpers
10851 * LaTeXFeatures.C: fix typos
10854 * Spacing.C: move spacing_string into class
10856 * ToolbarDefaults.C: move stuff into namespace anon
10858 * layout.h: update enum
10860 * lyxfunc.C: use better debug
10862 * minibuffer.h: fix typo
10866 * WorkArea.C: add and use Debug::WORKAREA
10870 * text2.C: code re-organisation, inline helpers
10872 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
10874 * Layout.C: replaced a few cases of std::vector.size() == 0 with
10875 std::vector.empty().
10877 2001-11-09 Allan Rae <rae@lyx.org>
10879 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10880 '\n's after tables. Tabular and ERT inset work now makes this no
10883 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
10886 * minibuffer.C: fix crash, improve drop-down completion
10888 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
10891 * lyxserver.C: invalidate fd's when doing endPipe()
10893 2001-11-08 José Matos <jamatos@fep.up.pt>
10895 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10896 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10899 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10901 2001-11-07 José Matos <jamatos@fep.up.pt>
10904 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10907 * buffer.C (sgmlOpenTag):
10908 * buffer.C (sgmlCloseTag): removed debug info.
10910 * buffer.h (sgmlOpenTag):
10911 * buffer.h (sgmlCloseTag): made public.
10913 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10915 * buffer.C (saveParamsAsDefaults):
10916 * lyx_cb.C (MenuLayoutSave): remove
10918 * LyXAction.C (init):
10920 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10922 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10924 * buffer.C (setPaperStuff): removed from here...
10926 * bufferparams.C (setPaperStuff): ... and moved there.
10928 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
10932 * XFormsView.C: add support for drop-down completion
10934 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
10936 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10939 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10941 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10944 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
10946 * lyx_main.C: change ref to known bugs
10948 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
10950 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10951 to work around older babel problems.
10953 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10955 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10957 2001-10-24 Juergen Vigna <jug@sad.it>
10959 * tabular-old.C (ReadOld): below variable changes reflected.
10961 * tabular.[Ch]: added ltType struct for longtable header/footer
10962 defines and changed all instances where they are used. Added
10963 future support for double top/bottom rows.
10965 2001-10-24 José Matos <jamatos@fep.up.pt>
10967 * buffer.h (docbookHandleCaption):
10968 * buffer.C (docbookHandleCaption): removed unused function.
10969 (makeDocBookFile): moved docbook supported version to v4.1.
10971 2001-10-24 José Matos <jamatos@fep.up.pt>
10974 * tabular.C (docbookRow): new function to export docbook code of a row.
10975 (DocBook): now honors the longtable flags.
10977 2001-10-23 José Matos <jamatos@fep.up.pt>
10980 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10981 of the lyx defined sgml entities used in a docbook/linuxdoc document.
10983 * buffer.C (makeLinuxDocFile):
10984 (makeDocBookFile): reworked the preamble, more clean, and with
10985 support for lyx defined entities. Changed the document declaration
10986 to be more XML friendly.
10988 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10989 if we need to output XML that should be done with a filter.
10991 2001-10-22 Juergen Vigna <jug@sad.it>
10993 * sp_pspell.h (class PSpell): add alive function needed in the
10994 controller to see if the spellchecker could be started.
10996 2001-10-22 Juergen Vigna <jug@sad.it>
10998 * buffer.C (insertStringAsLines): modify the font for inserting
10999 chars in certain conditions by calling checkInsertChar(font).
11001 2001-10-19 Juergen Vigna <jug@sad.it>
11003 * text.C (workWidth): use getRow instead of wrong algorithm.
11004 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11006 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
11011 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11013 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11015 * text.C (workWidth): do not search for the exact row when
11016 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11017 optimization for big documents.
11019 2001-10-18 Juergen Vigna <jug@sad.it>
11021 * text.C (workWidth): new function with added Inset * parameter.
11023 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11025 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11027 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11028 change return type of getColumnNearX.
11031 * text.C (changeRegionCase): use uppercase/lowercase instead of
11034 (rightMargin): simplify code by factoring out the uses of
11039 (appendParagraph): use Paragraph::size_type
11041 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11043 * vspace.C (asLatexString): add a missing break
11045 2001-10-15 Herbert Voss <voss@perce.de>
11047 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11049 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11051 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11054 2001-10-10 André Pönitz <poenitz@gmx.net>
11056 * lyxfunc.C: removed greek_kb_flag.
11058 2001-10-10 Herbert Voss <voss@perce.de>
11060 * lyx_main.C: delete global string help_lyxdir.
11062 2001-10-09 Herbert Voss <voss@perce.de>
11064 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11066 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11068 * lyx_main.C: added global string help_lyxdir.
11070 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11072 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
11074 * lyxrc.C (set_font_norm_type): support iso8859-4
11076 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
11078 * LaTeX.C (deplog): add another regex for MikTeX
11080 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
11082 * lyxrc.C (set_font_norm_type): support iso8859-3
11084 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11086 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11088 * LaTeXFeatures.C: remove special case of french and index
11090 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11091 before \begin{document}). This solves several incompatibilities.
11093 2001-10-03 Garst Reese <reese@isn.net>
11095 * lyx_cb.C: change CheckTex error msg.
11097 2001-10-03 José Matos <jamatos@fep.up.pt>
11099 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11101 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11103 * .cvsignore: update
11105 * lyx_main.C (commandLineVersionInfo): use new style version info.
11107 * buffer.C (writeFile):
11109 (makeLinuxDocFile):
11110 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11112 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11114 * version.h: update to use stuff in version.C
11116 * version.C.in: new file. Contains version information determined
11117 at compile time. This is a merging of version.h and
11120 2001-10-03 Juergen Vigna <jug@sad.it>
11122 * BufferView_pimpl.C (update): don't change "dirty" status in
11125 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
11127 * WorkArea.C (c-tor): re-position version string slightly.
11129 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
11131 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11132 revert to previous code.
11134 WorkArea.[Ch]: (show, destroySplash): methods removed.
11136 WorkArea.C: rework code so that it's an amalgam of the codes before and
11137 after the splash screen was moved to WorkArea.
11139 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11142 * vspace.C (inPixels):
11145 * buffer.C (insertStringAsLines):
11146 (asciiParagraph): fix types to be large enough
11148 * lyxlex_pimpl.h: change member status from short to int
11150 * layout.h: fix type of endlabeltype
11153 * kbsequence.C (parse): change return type to string::size_type
11155 * LaTeX.C (updateBibtexDependencies): comment out unneeded
11158 * Bullet.C (bulletSize):
11159 (bulletEntry): do not use short ints as parameters
11161 * BufferView2.C (insertLyXFile): change a char to an int.
11163 * WorkArea.C (WorkArea): remove unneeded floats in computation
11165 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
11167 * buffer.C (asciiParagraph): Treat '\\' as other chars.
11169 * paragraph.C (asString): Do not ignore newline/hfill chars when
11170 copying to the clipboard.
11172 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
11174 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11175 after a multi-line inset.
11177 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
11179 * paragraph.C (validate): Set NeedLyXFootnoteCode
11181 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11183 * lyxfont.C (LyXSizeNames): changed increase-error to increase
11184 and decrease-error to decrease.
11186 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11188 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11189 it more readable (should be equivalent)
11191 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
11193 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11195 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11197 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11198 of a cursor (row, etc.) after a character has been deleted
11199 (deleteEmptyParagraphMechanism): call the method above on _all_
11200 cursors held by the LyXText when a double space has been
11203 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
11205 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11207 (resizeCurrentBuff): remove code to destroy the old splash dialog.
11209 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11210 background. Use greyOut() and the new show() methods to toggle between
11211 the foreground and background. Add code to remove the splash after
11212 its initial showing.
11214 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11215 (create_forms): no longer call Dialogs::showSplash.
11217 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11219 * .cvsignore: add version_info.h
11221 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11223 * version_info.h.in: new file
11225 * Makefile.am: add version_info.h.in
11227 * lyx_main.C (commandLineVersionInfo): use version_info defined in
11228 version_info.h instead of VERSION_INFO
11230 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
11232 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11233 The ERT inset now returns string().
11235 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
11237 * lyxtext.h, text.C (selectNextWord): renamed as
11238 selectNextWordToSpellcheck.
11240 * text.C (selectNextWordToSpellcheck): Modified to not select
11241 words inside an ERT inset.
11243 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11245 * lyx_cb.C (MenuLayoutSave): change a bit the question
11247 * sp_base.h: include <sys/types.h>
11249 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
11251 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11253 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
11255 * several files: fix typos in user-visible strings
11257 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11259 * text2.C (pasteSelection): do not set the selection, since it
11260 will be cleared later. Actually, the intent was to fix the way the
11261 selection was set, but I figured rmoving the code was just as good.
11263 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
11265 * FontLoader.C (available): Check if font is available without
11268 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11270 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11272 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
11274 * lyxrc.[Ch]: added display_graphics variable and associated code.
11276 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11278 * bufferparams.C (hasClassDefaults): new method. Returns true if
11279 the buffer parameters correspond to known class defaults
11281 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
11283 * XFormsView.C (show): set minimum size to the main window.
11285 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11287 * text2.C (copySelection):
11289 * lyxfind.C (LyXReplace):
11290 * BufferView_pimpl.C (Dispatch): pass the correct flag to
11291 LyXText::selectionAsString.
11293 * paragraph.C (asString): add "label" argument to the second form
11295 * text2.C (selectionAsString): add "label" argument and pass it to
11296 Paragraph::asString.
11298 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11300 * lyx_main.C (commandLineHelp): remove version information
11302 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
11304 * lyx_main.C: add -version commandline option
11306 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11308 * paragraph.h: make the optional constructor arg required instead.
11309 some modifications to other files because of this.
11311 * minibuffer.C (C_MiniBuffer_peek_event): make it static
11313 * lyxserver.C (C_LyXComm_callback): make it static
11315 * lyx_main.C (error_handler): make it static
11317 * lyx_gui.C (LyX_XErrHandler): make it static
11319 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11321 * WorkArea.C: make the extern "C" methods static.
11323 * Makefile.am (lyx_LDADD): simplify
11325 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11327 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11328 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11330 * LyXAction.C (init):
11331 * lyxfunc.C (dispatch): associated code removal.
11333 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11335 * lyxfont.h (isSymbolFont): shut off warning
11337 * text.C (setHeightOfRow):
11338 (getVisibleRow): fix crash with empty paragraphs which have a
11341 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
11343 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11346 2001-09-04 José Matos <jamatos@fep.up.pt>
11349 * tabular.C (docbook): rename docBook method to docbook.
11351 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11353 * Makefile.am: add dependencies to main.o.
11355 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
11357 * FontLoader.C (available): Return false if !lyxrc.use_gui
11359 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
11361 * FontInfo.C (query):
11362 * converter.C (view):
11363 * importer.C (Import):
11364 * exporter.C (Export): Can not -> cannot.
11366 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
11368 * BufferView_pimpl.C: allow to create index inset even if
11371 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
11373 * buffer.C (getLists): replace boost::tie code with an explicit pair
11374 as boost::tie can break some compilers.
11376 * iterators.h: Added a std:: declaration to the return type of
11379 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
11381 * lyxrc.C: add help for view_dvi_paper_option, default to safe
11384 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
11386 * iterators.[Ch]: New files. Provide paragraph iterators.
11388 * buffer.C (changeLanguage): Use paragraph iterators.
11389 (isMultiLingual): ditto
11391 * BufferView2.C (ChangeInsets): Use paragraph iterators.
11393 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
11395 * FontLoader.C: Support for cmr font.
11397 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
11399 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11400 (available): New method.
11402 * FontInfo.C (getFontname): Use scalable fonts even when
11403 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11406 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11408 * converter.C (Formats::view): reverted! Incorrect fix.
11410 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
11412 * converter.C (Formats::view): only output the -paper option
11413 if the dvi viewer is xdvi, thereby fixing bug #233429.
11415 2001-08-23 Herbert Voss <voss@perce>
11417 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11419 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
11421 * Spacing.h (Spacing): Set space to Default on in the default
11424 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
11426 * vc-backend.h (RCS::versionString): add RCS to version
11427 (CVS::versionString): add CVS to version
11429 * vc-backend.C (scanMaster): do not add CVS to version.
11430 (scanMaster): do not add RCS to version
11432 * lyxvc.C (versionString): new method
11434 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11436 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11438 * Spacing.C (set): initialize fval
11440 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
11442 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11445 2001-08-16 Juergen Vigna <jug@sad.it>
11447 * lyxfunc.C (dispatch): implemented the new FINISHED states.
11449 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11451 * BufferView_pimpl.C:
11454 * text2.C: setParagraph takes linespacing now
11456 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
11458 * LyxAction.C: add internal LFUN_CITATION_INSERT
11460 * LyXView.C: actually apply fix
11462 * bufferlist.C: fix open non-existent file
11464 * lyxfind.C: fix indentation
11466 * lyxfunc.C: remove unneeded assert, fix typo
11468 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
11470 * MenuBackend.C: use "Floatname List"
11472 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
11474 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11475 when converting LaTeX layout to insetERT.
11476 Generate a non-collapsed float when reading old float
11478 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11480 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11483 2001-08-13 Juergen Vigna <jug@sad.it>
11485 * text.C (fill): return 0 instead of 20 as this seems to be the more
11488 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
11490 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11493 2001-08-13 Juergen Vigna <jug@sad.it>
11495 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11497 (SearchBackward): comment out the unlocking of the inset_owner this
11498 should not be needed!
11500 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
11502 * Many files: Remove inherit_language, and add latex_language
11504 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11505 collapsible insets.
11507 2001-08-10 Juergen Vigna <jug@sad.it>
11509 * text.C (prepareToPrint): fixed hfill-width in draw!
11511 * BufferView2.C (selectLastWord): save the selection cursor as this
11512 now is cleared in the function LyXText::clearSelection!
11514 2001-08-08 Juergen Vigna <jug@sad.it>
11516 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11517 BACKSPACE type functions.
11519 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11520 is only cutted from the document but not put in the cut-buffer, where
11521 still the old stuff should be.
11523 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11525 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11527 * tabular.C (SetWidthOfCell): fixed special case where the width
11529 (LeftLine): handle '|' in align_special.
11531 (LeftAlreadyDrawed): ditto
11532 (SetWidthOfCell): ditto
11534 2001-08-07 Juergen Vigna <jug@sad.it>
11536 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11538 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11540 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11541 * lyxlex.[hC]: ditto
11543 2001-08-06 Juergen Vigna <jug@sad.it>
11545 * text.C (getVisibleRow): fix up row clearing a bit.
11547 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11549 * minibuffer.C: make sure the X server sees the changes in the input.
11551 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11553 * paragraph.C (getFont): split into...
11554 (getLabelFont): this
11555 (getLayoutFont): and this
11556 * paragraph_pimpl.C (realizeFont): calling this
11558 * text2.C (getFont): split into...
11559 (getLayoutFont): this
11560 (getLabelFont): and this
11561 (realizeFont): all three calling this
11563 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11566 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11568 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11570 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
11572 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11573 layouts from the Quote inset insertion.
11575 2001-08-03 Juergen Vigna <jug@sad.it>
11577 * BufferView_pimpl.C (update): do the fitCursor only at the end!
11579 * screen.C (drawFromTo): don't call fitcursor here and do the loop
11580 only if status not is already CHANGED_IN_DRAW (second level).
11582 * text.C (draw): don't set the need_break_row when inside an
11585 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11587 * buffer.C (parseSingleLyXformat2Token): handle more latex
11590 * bufferview_funcs.[hC]: change function names to
11591 begin with small char, adjust other files.
11593 2001-08-02 André Pönitz <poenitz@gmx.net>
11596 BufferView_pimpl.C: remove broken special code for math-greek
11598 2001-08-02 Juergen Vigna <jug@sad.it>
11600 * BufferView_pimpl.C (update): redone this function so that we
11601 update the text again if there was a CHANGE_IN_DRAW.
11603 * screen.C (cursorToggle): removed LyXText parameter and recoded.
11604 (drawFromTo): added a new internal bool which is used by draw() and
11606 (general): some cursor drawing problems fixed.
11608 2001-08-01 Juergen Vigna <jug@sad.it>
11610 * lyxfind.C (LyXFind): fixed
11611 (SearchForward): ditto
11612 (SearchBackward): ditto
11614 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11615 spurius drawing of the cursor in the main area.
11617 * text2.C (status): small fix which could lead to a segfault!
11618 (clearSelection): remove unneeded BufferView param.
11620 2001-08-01 André Pönitz <poenitz@gmx.net>
11622 * lyxfunc.C: small change due to changed mathed interface
11624 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11626 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11628 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
11630 * lyxfunc.c: fail gracefully if file doesn't exist
11635 * BufferView_pimpl.C: IsDirWriteable() proto changed
11637 * LyXView.C: fix updateWindowTitle() to store the last title
11639 2001-07-31 Juergen Vigna <jug@sad.it>
11641 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11642 the font (wrong since using of Paragraph::highestFontInRange).
11644 * paragraph.C (highestFontInRange): added a default_size parameter.
11646 * text.C (getVisibleRow): minor clear row changes (still not perfect).
11647 (setHeightOfRow): reformat
11649 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11651 * converter.[hC] + affected files: move to (inital-char)lowercase
11654 * ParagraphParameters.C (ParagraphParameters): remove commented code
11656 * PainterBase.[Ch]: remove commented code
11658 * LaTeXFeatures.h: add "bool floats" for float.sty
11660 * LaTeXFeatures.C (LaTeXFeatures): init floats
11661 (require): handle float
11662 (getPackages): do it with floats
11664 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11666 * BufferView_pimpl.C (Dispatch): improve handling of
11667 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11669 * commandtags.h: #include lyxfont.h here temporarily to avoid
11672 * bufferlist.h: include LString.h here.
11674 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11676 * text2.C (getStringToIndex): new method.
11678 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
11680 * *: Reduced header file dependencies all over.
11682 2001-07-30 Baruch Even <baruch@lyx.org>
11684 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11686 2001-07-29 Baruch Even <baruch@lyx.org>
11688 * buffer.C (readInset): Changed GRAPHICS to Graphics.
11690 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11692 * ParameterStruct.h (endif): add a default constructor to make
11693 sure that all variables is initialized.
11695 * ParagraphParameters.C (ParagraphParameters): adjust
11697 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11699 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11700 index; also, check that there is something to index, and that it
11701 does not span over several paragraphs.
11702 (doubleClick): use WHOLE_WORD_STRICT for double click.
11704 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11706 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11709 2001-07-26 Baruch Even <baruch@lyx.org>
11711 * buffer.C (readInset): Changed to call up InsetGraphics when reading
11712 an InsetFig figure, backwards compatible reading of old figure code.
11714 2001-07-27 Juergen Vigna <jug@sad.it>
11716 * text2.C: font.realize function adaption.
11718 * text.C (draw): add a warnings lyxerr text if needed.
11720 * layout.C: font.realize function adaption.
11722 * language.C: add inherit_language and implement it's handlings
11724 * bufferview_funcs.C (StyleReset): remove language parameter from
11725 font creation (should be language_inherit now).
11727 * bufferparams.C (writeFile): handle ignore_language.
11729 * paragraph.C (getFontSettings): the language has to be resolved
11730 otherwise we have problems in LyXFont!
11732 * lyxfont.C (lyxWriteChanges): added document_language parameter
11733 (update): removed unneeded language parameter
11735 * paragraph.C (validate): fixed wrong output of color-package when
11736 using interface colors for certain fonts in certain environments,
11737 which should not seen as that on the final output.
11739 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
11741 * BufferView_pimpl.C:
11746 * LyXAction.C: add thesaurus support
11749 * lyxfind.C: add "once" parameter, for thesaurus, to not
11750 move to the next match
11752 2001-07-26 Juergen Vigna <jug@sad.it>
11754 * lyxfont.C (realize): honor ignore_language too!
11757 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11759 * text.C (draw): one place more for ignore_language to not draw
11762 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
11764 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11766 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11768 * buffer.C (parseSingleLyXformat2Token): a more general fix for
11769 the minipage conversion problem.
11771 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11773 * buffer.C (parseSingleLyXformat2Token): check minipage if we
11776 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11778 * BufferView.h: don't forward declare WorkArea
11780 * BufferView.C: don't include WorkArea.h
11782 2001-07-25 André Pönitz <poenitz@gmx.net>
11786 * lyxfunc.C: new LFUN 'math-space'
11788 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11790 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11792 * text2.C (toggleInset): call open/close
11794 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11796 * lyxfunc.C (dispatch): add debug for the disabled case
11798 * font.C (buttonText): make similar to rectText
11800 * buffer.C (readInset): comment out parsing of insetlist and
11803 * PainterBase.C (rectText): small correction
11805 * BufferView_pimpl.C: comment out insettheorem and insetlist
11806 * LyXAction.C: ditto
11807 * commandtags.h: ditto
11809 2001-07-24 Juergen Vigna <jug@sad.it>
11811 * text.C (draw): honor the ignore_language.
11813 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11815 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11817 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11820 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11822 * lyxtext.h: remove unused (and unimplemented) methods
11824 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11826 * text.C (getVisibleRow): honor background color
11829 * Painter.h: remove default color argument for fillRectangle
11831 * text.C (backgroundColor): new method
11833 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11835 * text.C (getVisibleRow): adjust
11837 * font.[Ch] (rectText): new method, metrics
11838 (buttonText): new method, metrics
11840 * PainterBase.[hC]: make rectText and buttonText always draw and take
11843 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11845 * ToolbarDefaults.C (read):
11846 * MenuBackend.C (read): allow escaping in all strings
11848 * BufferView_pimpl.C (insertAndEditInset): new method.
11849 (Dispatch): use insertAndEditInset whenever appropriate.
11851 * BufferView_pimpl.C (insertNote): removed
11853 * BufferView_pimpl.C (smartQuote): new method, moved from
11854 BufferView; if an insetquote cannot be inserted, insert a '"'
11857 * BufferView2.C: remove insertCorrectQuote();
11859 * lyxfunc.C (getStatus): Add support for all remaingin
11860 inset-insert lfuns.
11862 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11864 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11865 command (necessary to pass " as parameter of self-insert.
11867 * text.C (selectWordWhenUnderCursor):
11868 (selectWord): add word_location parameter
11869 (selectWordWhenUnderCursor): same + remove special code for word
11871 (selectNextWord): use kind() to guess type of insetspecialchar,
11874 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11875 (insertErtContents): create ert insets as collapsed.
11876 (readInset): better compatibility code for Info inset.
11878 2001-07-20 Juergen Vigna <jug@sad.it>
11880 * lyxfunc.C (dispatch): use always LyXFind now!
11882 * text2.C (init): add a reinit flag so that the LyXText can be
11883 reinited instead of deleted and reallocated (used in InsetText).
11885 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11891 2001-07-18 Juergen Vigna <jug@sad.it>
11893 * text.C (selectNextWord): handle insets inside inset by calling
11894 always the bv->text functions so that we can go up the_locking_inset!
11896 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11897 in strange locations when inside an inset!
11899 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11900 handling to include insets.
11902 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11904 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11906 * LyXAction.C (init):
11908 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11909 LIGATURE_BREAK, since the name is so stupid.
11911 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11913 * buffer.C (readInset): enable reading of new InsetNotes as well as old
11916 * FontLoader.C: remove FORMS_H_LOCATION cruft.
11918 * sp_form.[Ch]: remove.
11920 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11922 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11925 * src/buffer.C (readInset): ditto.
11927 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11929 * BufferView_pimpl.C (specialChar): new method. Obsoletes
11930 menuSeparator(), endOfSentenceDot(), ldots() and
11931 hyphenationPoint(), which are therefore removed.
11932 (Dispatch): handle LFUN_HYPHENATION_BREAK.
11934 * LyXAction.C (init):
11935 * commandtags.h: add LFUN_HYPHENATION_BREAK.
11937 * paragraph.C (getWord): removed.
11939 * BufferView_pimpl.C (Dispatch): use last word or selection for
11940 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11942 * lyx_main.C (queryUserLyXDir): do not ask before creating
11943 user_dir, except if it has been named explicitely.
11945 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
11947 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11948 a document of zero size.
11950 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
11952 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11953 approriately in the c-tor and in require().
11954 (getPackages): output the appropriate LaTeX for natbib support.
11956 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11957 variables "use_natbib" and "use_numerical_citations" when reading the
11959 (readInset): read the various natbib cite commands.
11960 (validate): white-space change.
11962 * bufferparams.[Ch]: new variables "bool use_natbib" and
11963 "bool use_numerical_citations".
11964 (writeFile): output them in the LyX file.
11966 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
11968 * lyxfunc.C (getStatus): add support for all the inset insertion
11971 * text2.C (insertInset):
11972 * paragraph.C (insetAllowed):
11973 * BufferView_pimpl.C (insertInset): update to take in account the
11974 renaming of insertInsetAllowed
11976 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11978 * text2.C (getInset): new method. returns inset at cursor position.
11980 * BufferView_pimpl.C (Dispatch): changes because of this.
11982 * LyXAction.C (init): rename open-stuff to inset-toggle.
11984 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11986 * text2.C (toggleInset): renamed from openStuff; use
11989 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
11991 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11993 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11995 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
11997 * buffer.C (readLyXformat2): Add filename to the error dialog
11999 2001-07-18 Juergen Vigna <jug@sad.it>
12001 * tabular.C (GetCellNumber): put an assert here instead of the check!
12003 2001-07-17 Juergen Vigna <jug@sad.it>
12005 * BufferView_pimpl.C (toggleSelection): adapted too.
12007 * text.C (selectNextWord): adapted for use with insets.
12008 (selectSelectedWord): ditto
12010 2001-07-17 Juergen Vigna <jug@sad.it>
12012 * sp_spell.C (PSpell): fix initialitation order.
12014 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12016 * paragraph.C: spacing
12018 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
12020 * sp_spell.C: repair language selection for pspell
12022 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12024 * lyxfunc.h: change more methods to begin with lower char.
12026 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
12028 * buffer.C (parseSingleLyXformat2Token): Generate error insets
12029 for unknown layouts.
12031 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
12033 * buffer.C (readLyXformat2): Generate an error dialog if there are
12036 2001-07-16 Juergen Vigna <jug@sad.it>
12038 * sp_spell.C: always compile ISpell part.
12040 * lyxrc.C: added use_pspell entry and it's handling.
12042 2001-07-13 Juergen Vigna <jug@sad.it>
12044 * sp_spell.C: removed double includes.
12046 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
12048 Consistent use of Lsstream.h:
12049 * Lsstream.h: added using std::stringstream for consistencies sake.
12051 * buffer.C: removed using std::stringstream
12053 * lyxfont.C (stateText):
12054 * paragraph.C (asString):
12055 * text.C (selectNextWord, selectSelectedWord):
12056 * text2.C (setCounter):
12057 * vspace.C (asString, asLatexString):
12058 std::ostringstream -> ostringstream.
12060 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12062 * LyXAction.C: add LFUN_HELP_ABOUTLYX
12063 * commandtags.h: add LFUN_HELP_ABOUTLYX
12064 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12066 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
12068 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12070 * lyx_gui_misc.C: remove spellchecker
12071 * lyxfunc.C: showSpellchecker
12073 * sp_ispell.h: added
12074 * sp_pspell.h: added
12075 * sp_spell.C: added
12076 * sp_form.[Ch]: removed
12077 * spellchecker.[Ch]: removed
12079 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
12081 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12083 (simpleTeXSpecialChars): Simply print the input character without
12084 any special translation if pass_thru is set.
12086 * layout.h: Added bool pass_thru to layout class for being able to
12087 implement pass through of a paragraph for Literate Programming.
12089 * layout.C: add LT_PASS_THRU to LayoutTags enum.
12090 * layout.C (LyXLayout): set pass_thru to flase in constructor.
12091 * layout.C (Read): add "passthru" to list of layout tags and add
12092 code to set the pass_thru boolean when it is read.
12094 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12096 * trans_decl.h: remove allowed from KmodInfo
12098 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12099 remove allowed code
12102 * paragraph_pimpl.C (erase): use boost::prior
12104 * Painter.C (text): use data() instead of c_str() when length is
12106 * WorkArea.C (putClipboard): ditto
12107 * font.h (width): ditto
12109 * BufferView2.C: use it-> instead of (*it). for iterators
12111 * paragraph_pimpl.C: ditto
12112 * paragraph.C: ditto
12113 * minibuffer.C: ditto
12114 * language.C: ditto
12116 * encoding.C: ditto
12117 * counters.C: ditto
12118 * converter.C: ditto
12120 * Variables.C: ditto
12121 * TextCache.C: ditto
12122 * MenuBackend.C: ditto
12123 * LyXAction.C: ditto
12125 * FloatList.C: ditto
12126 * DepTable.C: ditto
12127 * ColorHandler.C (LyXColorHandler): ditto
12129 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12131 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12133 * text2.C (openStuff): reintroduce this method (which had been
12134 nuked in NEW_INSETS frenzy).
12136 * lyxfunc.C (Dispatch): when an action has not been handled, use
12137 its name in the error message, not its number.
12139 * paragraph.C (inInset): change method name to begin with lowercase.
12142 * text2.C: updates because of this.
12144 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12146 * ToolbarDefaults.C (add): add spaces in error message
12148 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12150 * buffer.C (readLyXformat2): initialize the ert comp. variables.
12151 (readLyXformat2): rename return_par to first_par, use lyxlex's
12152 pushToken and remove the manual push handling.
12153 (parseSingleLyXformat2Token): add another ert comp. variable:
12154 in_tabular, rename return_par to first_par. handle newlines better
12156 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12158 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12160 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12162 * text2.C (getParFromID): removed
12164 * buffer.C (getParFromID): new method moved form lyxtext.
12165 * BufferView2.C (insertErrors): adjust
12166 (setCursorFromRow): adjust
12167 * BufferView_pimpl.C (restorePosition): adjust
12168 * lyxfunc.C (Dispatch): adjust
12169 * undo_funcs.C (textUndo): adjust
12171 (textHandleUndo): adjust
12172 (textHandleUndo): adjust
12174 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12176 * buffer.C: up' the LYX_FORMAT
12178 * lyxfont.h: turn NO_LATEX on as default
12180 * buffer.C (insertErtContents): new methods of tex style compability.
12181 (parseSingleLyXformat2Token): use it several places.
12182 * tabular.C (OldFormatRead): and here
12184 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12186 * text2.C: remove some commented code.
12189 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12190 * trans.C: changes because of the above.
12192 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
12194 * text2.C (setCounter): Fix counters bug with bibliography layout.
12196 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12198 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12199 own member functions
12200 (simpleTeXSpecialChars): ditto
12202 2001-07-06 Juergen Vigna <jug@sad.it>
12204 * a lot of files: changed the access to LyXText::status and the
12205 call of undo-functions.
12207 * undo.[Ch]: added a inset_id to the undo informations.
12209 * undo_funcs.[Ch]: added and moved here all undo functions.
12211 * lyxtext.h: give the status enum a weight, made status_ a private
12212 variable and made accessor functions for it, removed the whole bunch
12213 of undo-functions as they are now in their own file, make some
12214 functions publically available. Added function ownerParagraph with
12217 * paragraph.[Ch]: added "bool same_ids" to the constructor,
12218 made InInset() a const function, added getParFromID() function.
12220 * buffer.[Ch]: added const version for inset_iterator functions,
12221 added getInsetFromID() function.
12223 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12224 changed undo functions for new version.
12226 2001-07-05 Juergen Vigna <jug@sad.it>
12228 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12229 unknow mechanism does not call the proper constructor but only this
12230 one also if I request the other!?
12232 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12234 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12236 * text2.C (LyXText): use initialization lists.
12238 * lyxtext.h (Selection): initialize set_ and mark_
12239 (init): remove method
12241 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
12243 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12245 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12247 * screen.[Ch]: change method names to begin with lowercase
12249 * BufferView_pimpl.C (updateScrollbar): simplify further and
12250 hopefully make it a bit faster.
12252 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12254 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12255 calling directly xforms functions.
12257 * Painter.C (Painter):
12258 * lyx_cb.C (MenuWrite):
12259 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12262 * lyx_gui.C: remove bogus guiruntime extern declaration.
12264 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12266 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12268 (redoDrawingOfParagraph): ditto
12269 (redoParagraphs): ditto
12270 (cutSelection): don't create a object for CutAndPaste use the
12271 static method directly
12272 (pasteSelection): ditto
12274 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12277 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12279 * modifications to some other files because of this.
12281 * Makefile.am (lyx_SOURCES): add XFormsView
12283 * XFormsView.[Ch]: new files
12285 * LyXView.[Ch]: make LyXView a base class for the gui handling for
12286 the main window. Move the gui dependent stuff to XFormsView
12288 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12290 * tabular.C (GetCellInset): update cur_cell also in the row/col
12291 version of this function.
12293 * lyxfunc.C: no need to include figure_form.h here.
12299 * lyxvc.C: no need to include forms.h here.
12301 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12303 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12305 * lyxfunc.C (Dispatch):
12307 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12308 constructor argument.
12310 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12312 * paragraph.C (Paragraph): dont't clear, and just set layout.
12313 (makeSameLayout): use params's copy contructor.
12315 * ParagraphParameters.[Ch] (makeSame): delete method
12317 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
12319 * Variables.[Ch]: fix indentation, rename set to isSet
12321 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12323 * lyxfunc.C (Dispatch): fix typo
12325 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12327 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12330 * bufferlist.C: include assert.h for emergencyWrite().
12332 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12334 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12335 give up at last (bug #425202) !
12337 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
12343 * spellchecker.C: strip spellchecker options and bring up
12344 preferences tab instead
12346 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12348 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12349 the istringstream constructor
12351 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12353 * paragraph.C (getLayout): fix return value
12355 * paragraph.h: do not declare getLayout as inline.
12357 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12359 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12361 * lyxcursor.h (operator<): new func
12362 (operator>): new func
12363 (operator>=): new func
12364 (operator<=): new func
12366 * text.C (changeCase): use selection.start and selection.end
12367 (changeRegionCase): require from to be <= to. Require par to be a
12370 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12372 2001-06-27 Juergen Vigna <jug@sad.it>
12374 * text.C (cursorLeftOneWord): changed to return the cursor and added
12375 overlay with BufferView * parameter which calls this one.
12377 (selectWord): use new getWord function.
12378 (changeCase): renamed from changeWordCase as and extended to work
12379 also on selections.
12381 * lyxtext.h: added enum word_location
12383 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12384 changeCase as this operates now also on selections.
12386 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
12388 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12390 * many files: send debug output to Debug::INFO instead of
12393 * converter.C (View):
12395 (Move): send debug output to Debug::FILES instead of console.
12397 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
12399 * lyxfunc.C (getStatus): use func_status
12401 * func_status.h: new header, describing the results of
12402 LyXFunc::getStatus;
12404 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12407 2001-06-25 The LyX Project <jug@sad.it>
12409 * buffer.C (sgmlOpenTag):
12411 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
12413 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12415 * text2.C: remove some dead code
12417 * tabular.C (GetCellInset): store the last cell checked (gotten)
12419 * tabular.h: add the helper for the speedup
12421 * lyxtext.h: remove some dead code
12423 2001-06-26 The LyX Project <Asger>
12425 * paragraph.C: Change export to LaTeX of alignment to
12426 \begin{center} and family for better roundtrip work with reLyX.
12428 * Tune the math drawing a bit.
12430 2001-06-25 The LyX Project <Asger>
12432 * LColor.C (LColor): New color for math background. New color
12435 2001-06-25 The LyX Project <jug@sad.it>
12437 * lyxfunc.C (MenuNew): remove extra check for .lyx file
12439 * lyxfunc.C (Open):
12440 * bufferlist.C (newFile): do not restrict to files ending with
12443 * BufferView_pimpl.C (MenuInsertLyXFile):
12445 2001-06-24 The LyX Project <jug@sad.it>
12447 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12450 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12452 * lyxtext.h: rename most methods to begin with a small char.
12453 Lots of changes because of this.
12455 * paragraph.C (Paragraph): do not call fitToSize
12456 (erase): call Pimpl::erase
12457 (insertChar): call Pimpl::insertChar
12458 (insertInset): call Pipl::insertInset
12459 (breakParagraph): do not call fitToSize
12460 (breakParagraphConservative): do not call fitToSize
12461 (fitToSize): remove method
12463 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12465 2001-06-24 The LyX Project <Asger>
12467 * Fix Qt compilation^2
12469 2001-06-24 The LyX Project <jug@sad.it>
12471 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12472 depthHook(getDepth()-1).
12475 * ParagraphParameters.h:
12476 * ParameterStruct.h: change type of depth to unsigned int ==
12477 depth_type. Many adaptations to other files before of that.
12479 2001-06-24 The LyX Project <Asger>
12481 * Fix Qt compilation.
12483 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12485 * paragraph.h: renamed several methods to begin with small letter.
12486 several changes to many parts of the code because of this.
12488 2001-06-23 The LyX Project <jug@sad.it>
12490 * text2.C (InsertStringAsLines): renamed from InsertStringA;
12491 rewritten to discard all double spaces when KeepEmpty is off
12492 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12493 to only handle newlines but not fiddle with spaces and friends.
12495 * lyxfunc.C (MenuNew): when doing 'new from template', use
12496 template_path as default directory
12498 2001-06-23 The LyX Project <Asger>
12500 * Clean-up of header file includes all over
12501 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12503 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12505 * paragraph.h: renamed from lyxparagraph.h
12507 2001-06-23 Asger <lyx@violet.home.sad.it>
12509 * Buffer.h: Removed Buffer::resize
12510 * BufferList.h: Removed BufferList::resize
12511 * LyXView.h: Added LyXView::resize. This way, we will only reflow
12512 the document lazily when we change the width, or the font settings.
12514 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12516 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12518 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12520 * buffer.h: remove out of date comment
12522 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
12525 * screen.C: fix "theoretical" GC leak
12527 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12529 * LaTeX.C (scanAuxFile):
12530 (deplog): remove trailing \r when reading stream (useful under
12533 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
12535 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12536 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12537 and BufferView::theLockingInset(Inset*), so should use them and not
12538 access bv_->text->the_locking_inset directly.
12540 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12542 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12545 * tex-defs.h: remove old unused file
12547 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
12549 * BufferView_pimpl.C: fix typo, remove minibuffer message
12550 when buffer has loaded
12552 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12554 * lyxfunc.C (Dispatch): use stringstream
12555 (MenuNew): use stringstream
12556 (Open): use stringstream
12558 * importer.C (Import): use stringstream
12560 * bufferview_funcs.C (CurrentState): use stringstream
12562 * LaTeX.C (run): use stringstream
12564 * BufferView_pimpl.C (savePosition): use stringstream
12565 (restorePosition): use stringstream
12566 (MenuInsertLyXFile): use stringstream
12568 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
12581 * vspace.C: removed // -*- C++ -*- as first line.
12584 * version.h: added // -*- C++ -*- as first line.
12586 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12588 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12590 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12593 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12595 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12598 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12600 * gettext.C: include LString.h even when --disable-nls is on.
12602 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
12604 * converter.h (Get): changed argument type from int to
12605 FormatList::size_type to avoid unnecessary conversion.
12607 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12610 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12612 * gettext.h: include LString.h even when --disable-nls is on.
12614 2001-06-07 Juergen Vigna <jug@sad.it>
12616 * text.C (BreakAgain): subst spaces with tabs.
12618 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12619 (resizeInsetsLyXText): set force on resizeLyXText.
12621 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12623 * gettext.h (gettext_init):
12624 (locale_init): use a real definition instead of a macro
12626 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
12628 * Bufferview_pimpl.C:
12630 * LColor.C: further lcolor tidies
12632 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12634 * BufferView_pimpl.C (updateScrollbar): simplify.
12636 * BufferView2.C: don't include insets/insetinfo.h, change
12637 prototype for insertInset and call the Pimpl version. let
12638 updateInset call Pimpl version.
12640 * BufferView.h: move inset_slept to BufferView::Pimpl, move
12641 gotoInset to BufferView::Pimpl
12643 2001-06-01 Juergen Vigna <jug@sad.it>
12645 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12646 inside a LockingInset (is the update needed at all?).
12648 2001-05-31 Juergen Vigna <jug@sad.it>
12650 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12651 here not the old one otherwise how should we compare it afterwards
12654 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12659 * FontInfo.C: bring C functions into global namespace when
12662 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12664 * LString.h: make sure config.h has been loaded before LString.h.
12666 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12667 (one for each char read by EatLine!).
12669 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12672 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12674 * paragraph.C (BreakParagraph): set the inset_owner in the new par
12675 to the same as the par we break from
12677 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
12679 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12681 * MenuBackend.C (expand): also create menu entries for wide
12682 versions of the floats.
12684 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12686 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12688 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12689 frontends/Makefile.am
12695 * tabular.C (getTokenValue): add std::
12697 * tabular-old.C (getTokenValue): add std::
12698 (getTokenValue): ditto
12699 (getTokenValue): ditto
12701 * screen.C (ToggleSelection): adjust
12703 * lyxtext.h: put selection cursors inside a Selection struct.
12705 * lyxfunc.C (moveCursorUpdate): adjust
12707 * lyxfont.C (latexWriteStartChanges): add std::
12709 * lyxfind.C: adjust
12711 * font.h: delete with(char const *, LyXFont const &)
12713 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12715 * FontInfo.C (getFontname): add std::
12717 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12718 (workAreaButtonPress): adjust
12719 (tripleClick): adjust
12721 (moveCursorUpdate): adjust
12724 * BufferView2.C (gotoInset): adjust
12726 2001-05-30 Juergen Vigna <jug@sad.it>
12728 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12729 to check pspell I add this as default as I now have new pspell
12730 libraries and they seem to use this.
12732 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12734 * text2.C (CutSelection): make the cursor valid before the call to
12737 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12739 * kbsequence.C (parse): de-uglify a bit the parsing code, which
12740 relied on 0 terminated strings and other horrors. Bug found due to
12741 the new assert in lyxstring!
12743 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12746 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12748 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12751 * lyxfunc.C (processKeySym): change method of getting to the
12754 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12755 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12756 * BufferView_pimpl.[Ch]: here as private methods.
12758 2001-05-28 Juergen Vigna <jug@sad.it>
12760 * text.C (SetHeightOfRow): added the update() call again as it is
12761 needed to initialize inset dimensions!
12763 2001-05-16 Juergen Vigna <jug@sad.it>
12765 * text2.C (SetCharFont): Add new function with BufferView * and
12766 bool toggleall parameters for setting insets internal fonts.
12767 (SetFont): Freeze the undo as we may change fonts in Insets and
12768 all this change should be inside only one Undo!
12770 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12771 setting font's in insets as for them we have the SetFont function!
12773 2001-05-15 Juergen Vigna <jug@sad.it>
12775 * text2.C (ClearSelection): to be sure we REALLY don't have any
12778 * tabular.C (TeXCellPreamble): fixed the left border problem for
12781 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
12783 * LaTeX.C (deplog): Make sure that the main .tex file is in the
12786 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
12788 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12789 LFUN_BREAKPARAGRAPH.
12791 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12792 help test to "internal only", similar for LFUN_INSERT_URL
12794 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12795 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12796 auto_region_delete and deadkeys.
12798 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
12801 * LColor.C: remove some dead entries, tidy a little
12803 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12805 * lyxfunc.C (processKeySym): comment the Escape handling, remove
12807 (Dispatch): implement LFUN_ESCAPE
12809 * commandtags.h: add LFUN_ESCAPE
12811 * LyXAction.C (init): add entry for LFUN_ESCAPE
12813 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12814 Remove commented code.
12815 (insertNote): moved here
12816 (open_new_inset): moved here
12818 * BufferView[2].[Ch]: move insertNote and open_new_inset to
12821 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12823 * kbmap.C (findbinding): clean it up and make it work correctly.
12825 * lyx_main.C (init): do not pass argc and argv as parameters
12827 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
12829 * buffer.C: fix path for OS/2 & Win32
12833 * lyx_main.C: Added os:: class.
12835 * os2_defines.h: update
12837 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12839 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12840 better by trying again with reduced state.
12842 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12844 * lyxrc.C (read): print error about invalid key sequence only when
12845 debugging (because not all latinX keysyms are known to some X
12848 * kbsequence.C (getiso): add a few std:: qualifiers
12849 (getiso): comment out extra return statement.
12851 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
12853 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12855 (Dispatch): enhance the accent inset a bit. (not perfect)
12857 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12859 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12861 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12863 * bufferlist.C (emergencyWrite): fix assert() call
12865 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
12867 * text.C (InsertChar): Added trivial patch to only send the "you
12868 can not do multiple spaces this way" message once during a
12871 2001-05-08 Baruch Even <baruch@lyx.org>
12873 * Makefile.am: Changed order of libraries to get LyX to link properly
12874 with the gnome frontend.
12876 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12878 * LaTeXFeatures.h: add a std:: qualifier
12880 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12882 * paragraph.C (String): use stringstream
12884 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12886 * paragraph.C (writeFile): remove footflag arg
12888 * buffer.C (makeLaTeXFile): use stringstream
12889 (latexParagraphs): remove footnot gurba
12891 * LaTeXFeatures.C (getPackages): use stringstream
12892 (getMacros): likewise
12893 (getTClassPreamble): likewise
12894 (getFloatDefinitions): new method
12896 * paragraph.C (writeFile): reindent
12899 * WorkArea.h: revert the xpos + etc changes.
12901 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12903 * lyxparagraph.[Ch]: add copy constructor, remove Clone
12905 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12906 (pasteSelection): likewise
12907 * text2.C (CreateUndo): likewise
12909 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12911 * minibuffer.C (peek_event): temporarily reduce the functionality
12912 of the minibuffer (to allow args on lfuns)
12914 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12915 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12917 * buffer.C (readInset): add compability reading of old float
12918 lists, add reading of new style float list.
12919 (readInset): avoid reevaluation of inscmd.getCmdName()
12920 (getLists): reindent
12922 * MenuBackend.C (MenuItem): implement parsing of
12923 md_floatlistinsert and md_floatinsert.
12924 (expand::LastFiles): move initalizaton of iterators out of loop,
12925 avoid reevaluation.
12926 (expand::Documents): introduce typdedef vector<string> Strings,
12928 (expand::ExportFormats): introduce typedef vector<Format const *>
12929 Formats, and use it.
12930 (expand): implement FloatListInsert and FloatInsert.
12932 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12933 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12934 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12936 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12938 (Dispatch::LFUN_FLOAT_LIST): implement
12940 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12942 * LaTeX.C (run): Fix problem with --export code.
12944 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
12946 * BufferView.[Ch] (workarea): removed.
12947 (getClipboard) new method; wrapper for workarea()->getClipboard()
12949 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12952 * WorkArea.h (width, height, xpos, ypos): These methods all
12953 returned the dimensions of the work_area sub-area of WorkArea,
12954 resulting in a position error if the WorkArea were resized. Now
12955 return the dimensions of the entire WorkArea.
12957 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12959 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12961 * LaTeX.C (deplog): correct the syntax of regex reg1
12963 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12965 * undo.C: remove !NEW_INSETS cruft
12967 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12969 * text2.C: remove !NEW_INSETS cruft
12971 * text.C: remove !NEW_INSETS cruft
12973 * tabular.C: remove !NEW_INSETS cruft
12975 * spellchecker.C: remove !NEW_INSETS cruft
12977 * lyxtext.h: remove !NEW_INSETS cruft
12979 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12981 * lyxfunc.C: remove !NEW_INSETS cruft
12983 * lyxfind.C: remove !NEW_INSETS cruft
12985 * lyx_cb.C: remove !NEW_INSETS cruft
12987 * figureForm.C: remove !NEW_INSETS cruft
12989 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12991 * buffer.[Ch]: remove !NEW_INSETS cruft
12993 * ToolbarDefaults.C: remove !NEW_INSETS cruft
12995 * CutAndPaste.C: remove !NEW_INSETS cruft
12997 * BufferView_pimpl.C: remove !NEW_INSETS cruft
12999 * BufferView2.C: remove !NEW_INSETS cruft
13001 * BufferView.h: remove !NEW_INSETS cruft
13003 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13005 * Lsstream.h: include LString.h before the sstream headers to
13006 fix problem with gcc 2.95.3 and lyxstring
13008 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13010 * lyx_main.C: add using directives when needed for C functions
13011 declared in std:: namespace.
13013 2001-04-27 Juergen Vigna <jug@sad.it>
13015 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13016 (SetHeightOfRow): comment out the update call should not be needed!
13018 2001-04-13 Juergen Vigna <jug@sad.it>
13020 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13021 (LyXTabular): tried to minimize operator= operations (and realized
13022 hopfully Lars wish).
13024 2001-04-27 Juergen Vigna <jug@sad.it>
13026 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13028 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13030 * lyxfunc.C (Dispatch): hack to make listof algorithm work
13032 * buffer.C (readInset): hack to make listof algorithm work
13034 * BufferView_pimpl.C: hack to make listof algorithm work
13036 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13038 * LyXAction.C: removed all !NEW_INSETS cruft
13039 (init): moved lfun_item in method
13041 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13043 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13045 * BufferView2.C (theLockingInset): white space.
13047 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13049 * minibuffer.C: include <iostream>
13051 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13053 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13055 * commandtags.h: add LFUN_TRANSPOSE_CHARS
13057 * text.[Ch] (TransposeChars): new method
13059 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13061 * call message directly through LyXView instead of through LyXFunc
13062 * BufferView2.C: adjust
13063 * BufferView_pimpl.C: adjust
13064 * FontLoader.C: adjust
13066 * bufferview_funcs.C: adjust
13067 * converter.C: adjust
13068 * figureForm.C: adjust
13069 * importer.C: adjust
13071 * lyx_gui_misc.C: adjust
13072 * lyxfunc.C: adjust
13075 + more files in subdirs
13077 * lyxparagraph.h (size): move up int file
13080 * adjust all uses of Assert to lyx::Assert.
13082 * BufferView2.C (ChangeCitationsIfUnique): adjust for
13083 lyxfunctional in namespace lyx
13084 * layout.C (hasLayout): ditto
13087 (delete_layout): ditto
13088 (NumberOfClass): ditto
13089 * converter.C (GetFormat): ditto
13094 * bufferlist.C (getFileNames): ditto
13095 (emergencyWriteAll): ditto
13098 * MenuBackend.C (hasSubmenu): ditto
13101 * BufferView_pimpl.C (getInsetByCode): ditto
13103 2001-04-18 Juergen Vigna <jug@sad.it>
13105 * vspace.C (asLatexString): fixed the 100% problem.
13107 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13109 * lyxfunc.C (Dispatch):
13111 * minibuffer.h: add a few std:: qualifiers
13113 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13115 * minibuffer.[Ch]: reimplement so that commands is initiated and
13116 run from lyxfunc, simplified som handling, and made the completion
13117 and history code for complete. wip.
13119 * lyxfunc.C (processKeySym): call message
13120 (miniDispatch): new temporary method
13121 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13122 (LFUN_MESSAGE): implement
13123 (LFUN_MESSAGE_PUSH): implement
13124 (LFUN_MESSAGE_POP): implement
13125 (initMiniBuffer): the initial/defualt minibuffer message.
13127 * lyxfont.[Ch]: inline some more getters
13129 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13131 * lyx_gui_misc.[Ch] (WriteStatus): remove method
13133 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13134 (AutoSave): use LFUN_MESSAGE
13135 (Reconfigure): ditto
13137 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13139 * figureForm.C: use LFUN_MESSAGE
13141 * converter.C (runLaTeX): use LFUN_MESSAGE
13143 * bufferview_funcs.C: use LFUN_MESSAGE
13145 (changeDepth): ditto
13147 * bufferparams.h: use boost::
13149 * bufferlist.h: inherit privately from noncopyable
13151 * bufferlist.C (loadLyXFile): remove some commented code.
13153 * buffer.C (runChktex): use LFUN_MESSAGE
13155 * ShareContainer.h: inherit privately from noncopyable
13157 * ParagraphParameters.[hC] (depth): inline it.
13159 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13161 (message): new method
13162 (messagePush): ditto
13163 (messagePop): ditto
13164 (show): init minibuffer
13165 (showState): direct call
13167 * LaTeX.[Ch]: inherit privately from noncopyable
13168 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13169 instead of WriteStatus.
13171 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13173 * BufferView_pimpl.C (buffer): don't init minibuffer
13174 (workAreaButtonPress): use LFUN_MESSAGE
13175 (workAreaButtonRelease): ditto
13176 (savePosition): ditto
13177 (restorePosition): ditto
13178 (MenuInsertLyXFile): ditto
13179 (workAreaExpose): don't init minibuffer
13180 (update): remove commented code, simplify
13182 * BufferView2.C (openStuff): use LFUN_MESSAGE
13183 (toggleFloat): ditto
13186 (copyEnvironment): ditto
13187 (pasteEnvironment): ditto
13192 (updateInset): remove some commented code
13194 * lastfiles.h: inherit privately from noncopyable
13197 * lyx_main.h: ditto
13199 * lyxlex_pimpl.h: ditto
13201 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13202 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13203 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13205 * LyXAction.h: inherit privately from noncopyable, add methods
13206 func_begin, func_end, returning iterators to the func map.
13208 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13209 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13210 (func_begin): new method
13211 (func_end): new method
13213 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13215 (copySelection): ditto
13216 (pasteSelection): ditto
13218 * BufferView.C: whitespace change
13219 * BufferView.h: inherit privately from noncopyable
13221 2001-04-16 Allan Rae <rae@lyx.org>
13223 * tabular-old.C (l_getline):
13224 * spellchecker.C (sc_check_word):
13225 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13226 an unrecognised preprocessor directive. So ensure they're wrapped.
13228 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
13230 * src/exporter.C (Export): Give an error message when path to file
13233 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
13235 * LaTeX.C (deplog): Always check that foundfile exists.
13237 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13240 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13242 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13244 * tabular.[Ch] (getLabelList): implement new method
13246 * minibuffer.h: comment ouf setTiimer
13248 * minibuffer.C (ExecutingCB): constify res
13249 (peek_event): constify s
13250 (Set): constify ntext
13251 (Init): constify nicename
13253 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13255 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13256 (savePosition): use two params to Minibuffer::Set
13257 (restorePosition): ditto
13259 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13261 * lyx_main.C: include language.h
13263 * Makefile.am (lyx_main.o): add language.h
13265 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13271 * CutAndPaste.C: include gettext.h
13273 * lyxfont.h: remove old hack with ON and OFF.
13276 * lyxfont.h: do not include language.h...
13281 * bufferview_funcs.C:
13287 * paragraph.C: ... but do it here instead
13289 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13291 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13293 * tabular.C: small reformat
13295 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13298 (BreakParagraph): ditto
13299 (SetOnlyLayout): ditto
13302 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13305 * lastfiles.C: removed most using decl, add std:: where needed
13307 * buffer.C: ws changes
13309 * MenuBackend.C (class compare_format): put into anon namespace
13310 (expand): constify label, names, action, action2
13313 * text.C (SingleWidth): constify font
13314 (IsBoundary): constify rtl2
13315 (GetVisibleRow): constify ww
13317 * LaTeX.C (deplog): constify logfile
13319 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13321 (workAreaExpose): constify widthChange, heightChange
13323 * lyxrow.C (par): moved
13326 * lyxrow.h: as inlines here
13328 * lyxfont.h (shape): moved from lyxfont.C
13329 (emph): moved from lyxfont.C
13331 * lyxfont.C (LyXFont): use initialization list for all
13333 (shape): move to lyxfont.h as inline
13334 (emph): move to lyxfont.h as inline
13337 2001-04-04 Juergen Vigna <jug@sad.it>
13339 * vspace.C: had to include stdio.h for use of sscanf
13341 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
13344 * BufferView_pimpl.h: remove xforms cruft. Both classes are
13345 independent of xforms.
13347 2001-04-02 Juergen Vigna <jug@sad.it>
13349 * spellchecker.C: fixed namespace placing!
13351 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
13353 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13354 the LyXParagraph * is 0.
13356 2001-03-29 Juergen Vigna <jug@sad.it>
13358 * vspace.C: added support for %, c%, p%, l%.
13359 (stringFromUnit): added helper function.
13360 (asLatexString): changed to give right results for the %-values.
13362 * buffer.C: convert the widthp in a width%.
13364 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
13366 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13369 * figureForm.[Ch]: stripped the FD_from_figure manipulation
13370 code out of lux_cb.[Ch], ready for its (imminent?) removal.
13372 * lyx_cb.[Ch]: see above.
13374 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13378 * lyx.[Ch]: replaced by figure_form.[Ch].
13382 * lyxfunc.C: changed headers associated with above changes.
13384 2001-03-27 Juergen Vigna <jug@sad.it>
13386 * BufferView_pimpl.C: set the temporary cursor right!
13388 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
13390 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13392 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
13394 * LString.h: removed "using std::getline"!
13396 * BufferView_pimpl.C (Dispatch): changes due to changes in
13397 InsetInclude::Params.
13399 * buffer.C (tag_name): removed redundant break statements as they were
13400 producing lots of warnings with my compiler.
13402 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13404 * LString.h: add "using std::getline" when using the real <string>.
13406 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
13408 * buffer.C: removed bitset usage.
13409 PAR_TAG moved to an anonymous name space.
13410 (tag_name): new funtion, also in the anonymous namespace.
13411 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13412 (makeDocBookFile): clean code. Completed transition from string arrays
13414 (SimpleDocBookOnePar): code clean.
13416 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13418 * tabular.C: add some comments.
13420 2001-03-22 Juergen Vigna <jug@sad.it>
13422 * buffer.C (parseSingleLyXformat2Token): redone the minipage
13423 compatibility read a bit and fixed bug with minipage in different
13426 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
13428 * buffer.C (pop_tag): removed.
13429 (push_tag): removed.
13430 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13431 array replaced with vector. Added support for CDATA sections.
13432 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13434 (makeDocBookFile): XML conformant declaration of CDATA section,
13435 fixed bug related to <emphasis> in the first paragraph char.
13436 (sgmlOpenTag): exclude empty tags.
13437 (sgmlCloseTag): ditto.
13439 * buffer.h (pop_tag): removed.
13440 (push_tag): removed.
13442 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
13444 * language.h (Languages): added size_type and size().
13446 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13448 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13449 response on compability reading of minipages. One probliem is that
13450 the old usage of minipages was «flertydig»
13452 * several files here and in subdirs: don't use static at file
13453 scope use anon namespaces instead.
13455 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
13457 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13458 LaTeX output. This is necessary for Literate document
13461 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13463 * buffer.C: insert hfill when needed.
13465 * tabular.C (l_getline): use string::erase, small whitespace change.
13467 * BufferView_pimpl.C: try the anon namespace.
13468 * WorkArea.C: ditto
13470 2001-03-16 Juergen Vigna <jug@sad.it>
13472 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13473 otherwise it won't open options-dialogs.
13475 * buffer.C: honor pextraWidth(p) on converting minipages.
13477 * tabular.C (l_getline): changed the functions to strip trailing \r.
13479 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
13481 * BufferView_pimpl.C:
13482 * minibuffer..C: added "using SigC::slot" declaration.
13484 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13486 * lyxlex_pimpl.h: noncopyable is in namespace boost.
13492 * paragraph.C: ditto
13494 * lyxtext.h: NO_PEXTRA
13496 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13498 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13499 * ParameterStruct.h: ditto
13500 * ParagraphParameters.h: ditto
13501 * lyxparagraph.h: ditto
13503 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13505 * buffer.C: add compability for minipage alignment.
13506 (latexParagraphs): remove unwanted pextra check.
13508 * several files: remove CXX_WORKING_NAMESPACES
13510 * buffer.C (pop_tag): tie is in namespace boost
13512 * BufferView.h: noncopyable is in namespace boost
13514 * lyx_main.h: ditto
13517 * lastfiles.h: ditto
13518 * bufferlist.h: ditto
13519 * ShareContainer.h: ditto
13521 * LyXAction.h: ditto
13524 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13526 * Merging changes from BRANCH_MVC back into HEAD.
13528 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13530 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
13532 * BufferView_pimpl.C: change from intl.C
13536 * Makefile.am: move combox.*
13542 * intl.C: remove dialog (covered by prefs)
13544 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
13546 * lyxfunc.C (Dispatch): removed redundant break statement.
13548 2001-03-14 Juergen Vigna <jug@sad.it>
13550 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13552 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13554 * buffer.C: add hack to fix compability reading of minipages.
13556 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
13558 * buffer.C (getLists): Cleanup.
13560 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13562 * lyxfont.C (update): don't honor toggleall on font size.
13564 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
13568 * Makefile.am: moved to frontends/xforms/
13572 * BufferView_pimpl.C: changes for moved mathpanel
13574 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13576 * gettext.h: fix gettext_init() in --disable-nls
13578 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13580 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13582 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
13585 * lyx.h: strip external form
13587 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13589 * BufferView_pimpl.C: add comment, destroySplash()
13591 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
13593 * BufferView_pimpl.C:
13597 * lyxfunc.C: use re-worked insetinclude
13599 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13601 * buffer.C: add using std::stringstream.
13603 * lyx_cb.C: readd using std::ios.
13605 * buffer.C: add using std::map.
13607 * BufferView_pimpl.C: add using std::vector.
13609 * ShareContainer.h: add std:: to swap.
13611 * buffer.h: add some typedefs
13612 * buffer.C (getLists): use them
13613 (getLists): renamed from getTocList.
13614 add a counter for the different float types and use it in the
13616 (getLists): use the same counter for the NEW_INSETS and the "non"
13619 * lyx_cb.h: remove unused items, includes, using etc.
13621 * ShareContainer.h: remove some commented code, add more comments
13622 and "documentation".
13624 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13626 * buffer.C (getTocList): make the list also when NEW_INSETS is
13629 * buffer.h: remove TocType
13631 * buffer.C (getTocList): change to return a map<string,
13632 vector<TocItem> >, implement for dynamic number of list.
13634 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13635 * text2.C (PasteSelection): adjust
13636 * CutAndPaste.C (pasteSelection): adjust
13638 * FloatList.C (FloatList): update from the new_insets branch.
13639 * Floating.[Ch]: ditto
13640 * LaTeXFeatures.C: ditto
13642 * lyxlex_pimpl.C: ditto
13644 * paragraph.C (Last): remove when NEW_INSETS is defined.
13646 * other file: changes because of the above.
13648 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13650 * lyxparagraph.h: rename next to next_, previous to previous_,
13651 make them private for NEW_INSETS. Rename Next() to next(),
13652 Previous() to previous().
13654 * other files: changes because of the above.
13656 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
13659 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13662 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13664 * main.C (main): pass lyx_localedir to gettext_init().
13666 * gettext.h: remove locale_init and gettext_init macros
13668 * gettext.C (locale_init): new function
13669 (gettext_init): new function
13671 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13674 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
13676 * Moved credits to frontends:
13677 * credits.[Ch]: removed
13678 * credits_form.[Ch]: removed
13679 * lyx_gui_misc.C: remove credits stuff
13682 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13684 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13686 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13687 unneeded destructor.
13689 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13690 a standalone pointer again.
13692 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13694 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
13700 * ToolbarDefaults.C:
13709 * BufferView_pimpl.C: use new file dialog in GUII
13712 * lyx_cb.C: remove LayoutsCB to Toolbar
13714 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13716 * ShareContainer.h (get): add std:: qualifier
13718 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13720 * ShareContainer.h: define a proper ShareContainer::value_type
13721 type (and use typename to please compaq cxx)
13723 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13725 * lyxparagraph.h: move serveral local vars to
13726 ParameterStruct/ParagraphParameters., use ShareContainer in
13727 FontTable., make vars in FontTable private and add getter and
13730 * paragraph.C: changes because of the above.
13732 * lyxfont.h: remove copy constructor and copy assignment. (the
13733 default ones is ok), move number inside FontBits. move inlines to
13736 * lyxfont.C: add number to initializaton of statics, move several
13737 inlines here. constify several local vars. some whitespace
13738 cleanup. Dont hide outerscope variables.
13740 * Spacing.h: add two new constructors to match the set methods.
13742 * ShareContainer.h: new file, will perhaps be moved to support
13744 * ParameterStruct.h: new file
13746 * ParagraphParameters.h: new file
13748 * ParagraphParameters.C: new file
13750 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13751 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13753 * BufferView_pimpl.C: ParagraphParameter changes.
13754 * buffer.C: Likewise.
13755 * bufferview_funcs.C: Likewise.
13756 * text.C: Likewise.
13757 * text2.C: Likewise.
13759 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13761 * lyxfind.C (LyXReplace): do not redefine default argument in
13763 (IsStringInText): ditto
13764 (SearchForward): ditto
13765 (SearchBackward): ditto
13767 2001-03-06 Juergen Vigna <jug@sad.it>
13769 * lyxfind.C (IsStringInText): put parentes around expressions.
13771 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
13773 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13775 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
13777 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13779 * stl_string_fwd.h: add comment
13781 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13784 * tabular.C: remove unused DocBook methods
13790 killed DO_USE_DEFAULT_LANGUAGE
13792 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13794 * lyx_gui.C: do not include language.h.
13796 * bufferview_funcs.C (ToggleAndShow): do not provide optional
13797 arguments in function implementation.
13799 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13801 * BufferView_pimpl.C: add <ctime>
13803 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13805 * BufferView_pimpl.C: add using std::find_if
13807 2001-02-27 José Matos <jamatos@fep.up.pt>
13809 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13812 2001-02-11 José Matos <jamatos@fep.up.pt>
13814 * buffer.C (makeDocBookFile): command styles now have a parameter as
13815 "title" by default.
13817 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
13819 * layout_forms.[Ch]: removed
13820 * lyx_cb.[Ch]: out character
13821 * lyx_gui.C: out character
13822 * lyx_gui_misc.C: out character
13823 * bufferview_funcs.C: : out character,
13824 added toggleall as parameter in ToggleAndShow
13826 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
13828 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13830 * text2.C (SetCurrentFont): Disable number property at boundary.
13832 2001-02-26 Juergen Vigna <jug@sad.it>
13834 * lyxfunc.C (getStatus): added a string argument override function so
13835 that this is correctly called from LyXFunc::Dispatch if it contains a
13836 do_not_use_argument which is used!
13837 (Dispatch): added check for "custom" export and call appropriate func.
13839 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
13841 * lyxrc.C: Add language_command_local, language_use_babel and
13842 language_global_options.
13844 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13846 * buffer.C (makeLaTeXFile): Use language_use_babel and
13847 language_global_options.
13849 2001-02-23 Juergen Vigna <jug@sad.it>
13851 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13852 which works with LyXText and putted it inside BufferView. Here now we
13853 only call for that part the BufferView::Dispatch() function.
13855 * BufferView.C (Dispatch): added.
13857 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13858 functions which needs to use a LyXText over from LyXFunc.
13859 (MenuInsertLyXFile): added
13860 (getInsetByCode): added
13861 (moveCursorUpdate): added
13862 (static TEXT): added
13864 2001-02-22 Juergen Vigna <jug@sad.it>
13866 * BufferView_pimpl.C (update): call a status update to see if LyXText
13869 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
13871 * vc-backend.C (revert): implement for CVS
13872 (getLog): implement for CVS
13874 2001-02-20 Juergen Vigna <jug@sad.it>
13876 * text2.C (ClearSelection): added BufferView param for inset_owner call
13878 * lyxfunc.C (TEXT): added this function and use it instead of
13879 directly owner->view()-text of getLyXText().
13881 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
13883 * src/layout_forms.C: out preamble
13884 * src/layout_forms.h: out preamble
13885 * src/lyx_cb.C: out preamble
13886 * src/lyx_cb.h: out preamble
13887 * src/lyx_gui.C: out preamble
13888 * src/lyx_gui_misc.C: out preamble
13889 * src/lyxfunc.C: connect with guii preamble
13891 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
13893 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13895 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
13897 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13898 whether to run bibtex.
13900 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
13902 * Makefile.am (lyx_SOURCES): Remove BackStack.h
13904 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13906 * Makefile.am (lyx_SOURCES): removed bibforms.h
13908 * vspace.h: doxygen
13910 * text.C (GetVisibleRow): make several local vars const
13912 * tabular.C: small cleanup.
13914 * lyxserver.C (callback): use compare instead of strncmp
13916 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13917 inlines to after class or to paragraph.C
13919 * lyxfont.h: remove friend operator!=
13921 * converter.h: move friend bool operator< to non friend and after
13924 * combox.h: small cleanup
13926 * buffer.h: doxygen, remove unused constructor, move inclas inlies
13927 to inlines after class def.
13929 * buffer.C (pop_tag): use string operations instead of strcmp
13931 * bmtable.c: doxygen, small cleanup
13933 * LaTeX.h: remove friend operator==
13935 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
13947 * BufferView_pimpl.C:
13948 * BufferView.[Ch]: remove cruft
13950 2001-02-14 Juergen Vigna <jug@sad.it>
13952 * lyxfunc.C: removed #if 0 unused code
13954 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13956 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13958 * text2.C (SetSelection): added a BufferView * parameter
13960 2001-02-13 Juergen Vigna <jug@sad.it>
13962 * lyxfunc.C (Dispatch): fixed protected blank problem.
13963 * BufferView2.C (protectedBlank): added LyxText * parameter.
13965 * tabular.C (AppendRow): forgot to set row_info of newly added row.
13966 (AppendColumn): same as above for column_info.
13968 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13969 (moveCursorUpdate): use a LyXText param for support of InsetText.
13971 * BufferView_pimpl.C (doubleClick): added support for InsetText.
13972 (tripleClick): ditto
13974 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13976 * BufferView_pimpl.C (update): added LyXText param to honor insets.
13978 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13980 * text2.C (SetSelection): set correct update status if inset_owner
13981 (ToggleFree): ditto
13983 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
13985 * tabular.C: remove some commented code.
13987 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
13989 * BufferView_pimpl.C: call hideSplash()
13991 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13994 * bibforms.h: remove
13997 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13998 add LFUN_CHILD_CREATE
14000 * counters.h: fix tiny typo
14005 * lyx.C: move splash to frontends/xforms/
14007 * lyx_gui_misc.C: move Include and Bibform to frontends
14009 * lyxvc.h: clarify comment
14011 * vspace.C: tiny housekeeping
14013 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
14015 * text.C (PrepareToPrint): RTL Fix.
14017 * paragraph.C (GetUChar): New method.
14018 (String): Use GetUChar.
14020 * buffer.C (asciiParagraph): Use GetUChar.
14022 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
14024 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14026 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
14029 * buffer.C: rename to getLogName(), handle
14030 build log / latex log nicely
14032 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14035 * MenuBackend.h: remove support for reference menuitem type.
14037 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
14039 * BufferView_pimpl.C: housekeeping
14040 * BufferView_pimpl.h:
14045 * minibuffer.h: move Timeout GUI-I
14047 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
14049 * lyxrc.C (read): Update converters data-structures.
14051 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
14053 * LaTeX.h (operator!=): add operator != for Aux_Info
14055 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
14057 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14059 * LaTeXLog.C: deleted, useful code moved to Buffer
14062 * buffer.C: new function getLatexLogName()
14068 * lyxfunc.C: use frontends for LaTeX and VC logs
14070 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14072 * LaTeX.h: yet another std:: that Allan forgot.
14074 * Variables.C (set): renamed from isset(), because this clashes
14075 with some HP-UX macros (grr).
14077 2001-02-06 Allan Rae <rae@lyx.org>
14079 * LaTeX.h: Another bug fix. Missing std:: this time.
14081 2001-02-04 Allan Rae <rae@lyx.org>
14083 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14084 floats problem. I've left it commented out because it's not quite
14085 correct. It should also test that the current object is a table or
14086 figure inset. But I haven't gotten around to figuring out how to do
14087 that. I *think* it'll be something like: "table" == inset.type()
14089 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14092 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
14094 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14095 all the citation/databases/styles in the auxilary file.
14096 (run): Rerun latex if there was a babel language error.
14098 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
14100 * text.C (Backspace): Preserve the font when changing newline char
14102 (BreakParagraph): If the cursor is before a space, delete the space.
14104 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14106 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
14108 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14109 new argument (code).
14110 (ChangeCitationsIfUnique): New method.
14112 * paragraph.C (GetPositionOfInset): Handle bibkey.
14114 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14116 * BufferView_pimpl.h: change type of Position::par_pos to
14117 LyXParagraph::size_type.
14119 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
14121 * BufferView_pimpl.C (savePosition, restorePosition): Write
14122 messages to minibuffer.
14124 2001-01-28 José Matos <jamatos@fep.up.pt>
14126 * buffer.C (makeDocBookFile): adds support for document language.
14127 A silly restriction on the name of LatexCommand types where removed.
14128 Added support for CDATA sections, allows to chars unescaped, used
14129 among others in code, to avoid escape < and >.
14131 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14133 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14134 saved positions instrad of a stack. Furthermore, a position is
14135 stored using paragraph id/paragraph position.
14137 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14138 Remove LFUN_REF_BACK.
14140 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
14142 * converter.C (dvipdfm_options): New method.
14144 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
14146 * vspace.C (isValidLength): Fix for empty input string.
14148 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14150 * LyXAction.C (init): change description of LFUN_FIGURE to
14153 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14155 * LaTeX.C: add using directive
14157 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14159 * MenuBackend.C (expand): Fix the sorting of the formats.
14161 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
14163 * lyx_main.C: tiny error message fix
14165 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14167 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14168 calling fl_initialize(). This fixes the problem with ',' as
14169 decimal separator in text files.
14171 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
14173 * trans.C (process): Fix the keymap bug.
14175 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
14177 * LaTeX.C (scanAuxFiles): New method. Provides support for
14178 multiple bibliographies (when using the bibtopic/bibunits pacakges).
14179 (scanLogFile) Scan for "run BibTeX" messages.
14181 * buffer.C (makeLaTeXFile): Do not load the ae package when using
14182 OT1 font encoding. Also, load the aecompl package if the ae
14185 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14187 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14189 * texrow.C (increasePos): turn two error messages into debug
14192 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
14194 * LaTeX.C (scanAux): Handle the \@input macro.
14195 (runBibTeX): Use scanAux().
14197 * language.C (latex_options_): New field.
14199 * LaTeXFeatures.C (getMacros): Add language macros.
14201 * buffer.C (makeLaTeXFile): Small fix.
14203 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14205 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14207 * text2.C: add a using directive.
14209 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
14214 * lyxfunc.C: kill LyXBell.
14216 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
14218 * text.C (IsBoundary): Remove the error message
14220 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14222 * lyxrc.C (setDefaults): Correct initialization value for
14225 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
14227 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14230 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14231 and GotoNextNote().
14233 * src/LyXAction.C: Added reference-next.
14235 * text.C (InsertChar): Use contains instead of strchr.
14237 * lyx_cb.C (MenuInsertLabel): Enable default value code.
14239 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
14241 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14242 alignment commands (when needed).
14244 * text.C (InsertChar): Add ':' to number separator chars.