1 2003-03-14 John Levon <levon@movementarian.org>
3 * text2.C: rewrite ::status() a bit
5 2003-03-13 John Levon <levon@movementarian.org>
7 * lyxtext.h: add some docs
9 2003-03-13 John Levon <levon@movementarian.org>
14 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
16 2003-03-13 John Levon <levon@movementarian.org>
18 * text3.C: fix appendix redrawing
20 2003-03-13 John Levon <levon@movementarian.org>
22 * text.C (setHeightOfRow):
24 * rowpainter.C: make appendix mark have the text
25 "Appendix" so the user knows what it is
28 * LColor.C: s/appendixline/appendix/ from above
30 2003-03-13 John Levon <levon@movementarian.org>
32 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
34 * text.C: fix a getChar(pos) bug properly
36 2003-03-13 Angus Leeming <leeming@lyx.org>
39 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
40 Probably only temporary. Let's see how things pan out.
42 * BufferView.C (unlockInset):
43 * BufferView_pimpl.C (fitCursor):
44 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
46 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
47 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
49 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
50 new functions that convert ParagraphParameters to and from a string.
52 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
53 BufferView::Pimpl's dispatch.
54 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
56 2003-03-13 André Pönitz <poenitz@gmx.net>
60 * factory.C: make it aware of InsetEnv
62 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
64 * text2.C (setCursor): never ask for one past last
65 (setCursor): add some debugging messages.
67 * text.C (singleWidth): never ask for one past last
71 (rowBreakPoint): ditto
72 (setHeightOfRow): ditto
73 (prepareToPrint): ditto
75 * rowpainter.C (paintBackground): never ask for one past last
76 (paintText): never ask for one past last
78 * paragraph_pimpl.C (getChar): make the assert stricter, never
79 allow the one past last pos to be taken
81 * paragraph.C (getChar): ws changes only
83 * lyxrow.C (nextRowIsAllInset): never ask for one past last
84 (numberOfSeparators): ditto
85 (numberOfHfills): ditto
87 2003-03-12 John Levon <levon@movementarian.org>
93 * paragraph_funcs.C: fix per-buffer authorlists
95 2003-03-12 John Levon <levon@movementarian.org>
97 * text.C: fix newline in right address
99 2003-03-12 Angus Leeming <leeming@lyx.org>
101 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
102 duplicate those in LyXFunc::dispatch.
107 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
108 Add LFUN_FONTFREE_UPDATE.
110 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
111 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
113 * bufferview_func.[Ch]: several new functions to facilliate
114 transfer of data to and from the character dialog.
116 2003-03-12 John Levon <levon@movementarian.org>
126 * text3.C: remove META_NEWLINE in favour of an inset
129 * rowpainter.C: remove paintNewline (done by inset)
131 2003-03-12 John Levon <levon@movementarian.org>
133 * paragraph_pimpl.C: complain about bad getChar()s
136 2003-03-12 John Levon <levon@movementarian.org>
139 * buffer.C: move paragraph read into a separate function,
140 a little renaming to reflect that.
143 * bufferparams.C: remove the author_ids map, not necessary now
146 * factory.C: moved Buffer::readInset to here
149 * paragraph_funcs.C: readParagraph free function moved from
152 * tabular.C: name change
154 2003-03-12 John Levon <levon@movementarian.org>
157 * ParagraphParameters.C: move par params input to
160 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
161 behave like a normal read from the stream wrt reading
164 2003-03-12 John Levon <levon@movementarian.org>
167 * ParagraphParameters.h:
168 * ParagraphParameters.C: move output code to a
171 2003-03-12 John Levon <levon@movementarian.org>
173 * BufferView.C (insertLyXFile):
176 * tabular.C: use a parlist iterator for creating the
179 2003-03-12 John Levon <levon@movementarian.org>
181 * buffer.C: make current_change static local not
184 2003-03-12 John Levon <levon@movementarian.org>
186 * buffer.C: fix insertStringAsLines for change tracking
188 2003-03-12 John Levon <levon@movementarian.org>
195 * bufferparams.C: move author list into params. Rename some
196 functions. Move the header reading into a separate token
197 loop. Move the header token reading into BufferParams.
199 2003-03-12 John Levon <levon@movementarian.org>
201 * changes.C: put debug inside lyxerr.debugging() checks
203 2003-03-11 André Pönitz <poenitz@gmx.net>
205 * factory.C: make it aware of InsetHFill
207 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
209 * buffer.C (latexParagraphs): move function from here...
210 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
213 2003-03-10 Angus Leeming <leeming@lyx.org>
215 * LyXAction.C (init): fix bug in poplating array with multiple entries
216 with the same LFUN (spotted by JMarc).
218 2003-03-10 John Levon <levon@movementarian.org>
221 * text2.C: move getColumnNearX() near its
224 2003-03-10 John Levon <levon@movementarian.org>
226 * text.C: fix break before a minipage
228 2003-03-10 John Levon <levon@movementarian.org>
230 * text.C: fix the last commit
232 2003-03-09 John Levon <levon@movementarian.org>
236 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
237 bug 365 (don't break before insets unless needed). Don't
238 return a value > last under any circumstances.
240 2003-03-09 Angus Leeming <leeming@lyx.org>
242 * BufferView_pimpl.C (trackChanges, dispatch): call
243 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
245 2003-03-09 Angus Leeming <leeming@lyx.org>
247 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
248 than Dialogs::showAboutlyx().
250 2003-03-09 Angus Leeming <leeming@lyx.org>
252 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
253 than Dialogs::showTabularCreate().
255 2003-03-09 John Levon <levon@movementarian.org>
259 * text2.C: 3rd arg to nextBreakPoint was always the same.
262 2003-03-08 John Levon <levon@movementarian.org>
269 * text2.C: Remove the "main" bit from the "main body"
272 2003-03-08 John Levon <levon@movementarian.org>
274 * text.C (leftMargin): The left margin of an empty
275 manual label paragraph should not include the label width
278 * text.C (prepareToPrint): don't attempt to measure hfills
279 for empty manual label paragraphs - the answer should be 0
281 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
283 * CutAndPaste.C: remove commented code and reindent.
285 2003-03-08 John Levon <levon@movementarian.org>
288 * lyxfunc.C: move reloadBuffer()
291 * BufferView.C: to here
293 * lyxvc.C: add comment
296 * vc-backend.C: call bv->reload() to avoid
297 getStatus() check on MENURELOAD
299 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
301 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
302 to an old format .dep file.
304 2003-03-07 Angus Leeming <leeming@lyx.org>
306 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
307 when the LFUN_MOUSE_RELEASE should have been handled by
308 inset->localDispatch.
310 2003-03-07 Angus Leeming <leeming@lyx.org>
312 * BufferView_pimpl.C (dispatch):
313 * LyXAction.C (init):
314 * ToolbarDefaults.C (init):
316 * lyxfunc.C (getStatus):
317 remove LFUN_INSET_GRAPHICS.
319 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
321 2003-03-07 Angus Leeming <leeming@lyx.org>
324 * LyXAction.C (init):
325 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
327 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
330 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
332 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
333 localDispatch method LFUN_INSET_DIALOG_UPDATE.
335 2003-03-07 Angus Leeming <leeming@lyx.org>
337 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
340 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
342 * ParagraphList.C (front): new function
345 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
347 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
348 and top_row_offset_. removed var first_y.
350 * text2.C (LyXText, removeRow):
352 * BufferView_pimpl.C:
353 use these methods instead of using first_y
355 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
357 * text2.C (pasteSelection): adjust for checkPastePossible
359 * CutAndPaste.C: remove Paragraph * buf and replace with
360 ParagraphList paragraphs.
361 (DeleteBuffer): delete
362 (cutSelection): change the tc type to textclass_type
363 (copySelection): change the tc type to textclass_type
364 (copySelection): adjust for ParagraphList
365 (pasteSelection): change the tc type to textclass_type
366 (pasteSelection): adjust for Paragraphlist
367 (nrOfParagraphs): simplify for ParagraphList
368 (checkPastePossible): simplify for ParagraphList
369 (checkPastePossible): remove unused arg
371 * ParagraphList.C (insert): handle the case where there are no
374 * CutAndPaste.h: make CutAndPaste a namespace.
376 * text3.C (dispatch): adjust
378 * text.C (breakParagraph): add a ParagraphList as arg
380 * paragraph_funcs.C (breakParagraph): change to take a
381 BufferParams and a ParagraphList as args.
382 (breakParagraphConservative): ditto
383 (mergeParagraph): ditto
384 (TeXDeeper): add a ParagraphList arg
385 (TeXEnvironment): ditto
388 * buffer.C (readLyXformat2): adjust
389 (insertStringAsLines): adjust
390 (latexParagraphs): adjust
392 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
393 (cutSelection): adjust
394 (pasteSelection): adjust
396 * BufferView_pimpl.C (insertInset): adjust
398 2003-03-05 Angus Leeming <leeming@lyx.org>
401 * LyXAction.C (init):
402 * BufferView_pimpl.C (dispatch):
403 * lyxfunc.C (getStatus):
404 remove LFUN_CHILD_INSERT.
406 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
408 2003-03-05 Angus Leeming <leeming@lyx.org>
411 * LyXAction.C (init):
412 * src/factory.C (createInset):
413 * lyxfunc.C (getStatus):
414 * text3.C (dispatch):
415 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
417 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
419 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
421 * ParagraphList.C (insert): handle insert right before end()
422 (erase): fix cases where it can be first or last paragraph.
424 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
426 * paragraph_funcs.C (TeXEnvironment): remove all usage of
427 Paragraph::next and Paragraph::previous
430 * text.C (breakParagraph): adjust
432 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
433 BufferParams& as arg.
434 (breakParagraph): use ParagraphList::insert
435 (breakParagraphConservative): take a Buffer* instead of a
436 BufferParams& as arg.
437 (breakParagraphConservative): use ParagraphList::insert.
439 * buffer.C (insertStringAsLines): un-const it
440 (insertStringAsLines): adjust
442 * ParagraphList.C (insert): new function
444 * CutAndPaste.C (pasteSelection): adjust
446 * text.C (backspace): adjust
448 * tabular.C (SetMultiColumn): adjust
450 * CutAndPaste.C (cutSelection): adjust
451 (pasteSelection): adjust
453 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
454 Buffer const * as arg
456 * ParagraphList.C (erase): new function
457 * paragraph_funcs.C (mergeParagraph): use it
458 (mergeParagraph): make it take a Buffer* instead of a
461 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
463 (breakParagraphConservative): ditto
465 * paragraph.h: remove the breakParagraph friend
467 * paragraph.C (eraseIntern): new function
468 (setChange): new function
470 * paragraph_funcs.C (mergeParagraph): make it take a
471 ParagraphList::iterator instead of a Paragraph *, adjust
474 * paragraph.h: move an #endif so that the change tracking stuff
475 also works in the NO_NEXT case.
477 2003-03-04 Angus Leeming <leeming@lyx.org>
480 * LyXAction.C: new LFUN_INSET_MODIFY.
482 * BufferView_pimpl.C (dispatch): if an inset is found to be open
483 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
485 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
487 * several files: ws changes only
489 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
490 (TeXEnvironment): ditto
493 * buffer.C (makeLaTeXFile): adjust
494 (latexParagraphs): make it take ParagraphList::iterator as args
496 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
498 * buffer.C (latexParagraphs): adjust
500 * paragraph.C (TeXOnePar): move function...
501 (optArgInset): move function...
502 (TeXEnvironment): move function...
503 * paragraph_pimpl.C (TeXDeeper): move function...
504 * paragraph_funcs.C: ...here
506 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
508 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
510 * buffer.C (readInset): remove compability code for old Figure and
513 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
515 * buffer.C: ws changes
518 * BufferView_pimpl.C: ditto
521 * bufferlist.h: ditto
525 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
527 * converter.[Ch]: split into itself +
530 * Makefile.am: += graph.[Ch] + format.[Ch]
537 * lyxrc.C: added #include "format.h"
539 2003-02-27 Angus Leeming <leeming@lyx.org>
541 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
544 * factory.C (createInset): add "label" to the factory.
546 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
547 string and do no more.
549 2003-02-27 Angus Leeming <leeming@lyx.org>
552 * LyXAction.C (init):
553 * factory.C (createInset):
554 * BufferView_pimpl.C (dispatch):
555 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
557 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
559 * lyxfunc.C (dispatch):
560 * text3.C (dispatch): pass name to params2string.
562 2003-02-26 Angus Leeming <leeming@lyx.org>
564 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
566 Rearrange the ~includes. Strip out the unnecessary ones.
568 * factory.C (createInset): reformat.
569 create new insets for the various LFUN_XYZ_APPLY lfuns.
571 2003-02-26 John Levon <levon@movementarian.org>
574 * lyxrow.C: add isParStart,isParEnd helpers
576 * paragraph.h: make isInserted/DeletedText take refs
579 * paragraph_funcs.C: remove #if 0'd code
584 * text.C: use lyxrow helpers above.
585 Move draw and paint routines to RowPainter.
586 Make several methods use refs not pointers.
587 Make backgroundColor() const.
588 Add markChangeInDraw(), isInInset().
589 Merge changeRegionCase into changeCase.
590 Make workWidth() shouldn't-happen code into an Assert.
593 * rowpainter.C: new class for painting a row.
596 * vspace.C: make inPixels take a ref
598 2003-02-26 Angus Leeming <leeming@lyx.org>
600 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
603 2003-02-25 John Levon <levon@movementarian.org>
605 * ispell.C: give the forked command a more accurate name
607 2003-02-22 John Levon <levon@movementarian.org>
610 * toc.C: make TocItem store an id not a Paragraph *
613 2003-02-21 Angus Leeming <leeming@lyx.org>
615 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
616 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
617 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
618 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
619 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
620 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
622 * BufferView_pimpl.C (dispatch):
623 * LyXAction.C (init):
624 * factory.C (createInset):
625 * lyxfunc.C (getStatus, dispatch):
626 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
628 2003-02-21 Angus Leeming <leeming@lyx.org>
630 * BufferView_pimpl.C (MenuInsertLyXFile):
631 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
632 * lyxfunc.C (menuNew, open, doImport):
633 no longer pass a LyXView & to fileDlg.
635 2003-02-21 Angus Leeming <leeming@lyx.org>
637 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
638 * LyXAction.C: change, BIBKEY to BIBITEM.
639 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
640 Change InsetBibKey to InsetBibitem.
641 Change BIBKEY_CODE to BIBITEM_CODE.
642 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
643 * factory.C: replace insetbib.h with insetbibitem.h.
644 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
645 * paragraph.C: replace insetbib.h with insetbibitem.h.
646 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
647 Change bibkey() to bibitem().
648 * text.C: remove insetbib.h.
649 * text2.C: replace insetbib.h with insetbibitem.h.
650 change bibkey() to bibitem().
651 * text3.C: remove insetbib.h.
652 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
654 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
656 * lyxrc.C (output): enclose user email in quotes (in case there are
659 2003-02-18 John Levon <levon@movementarian.org>
661 * buffer.h: add std::
663 2003-02-17 John Levon <levon@movementarian.org>
669 * pspell.C: reworking. Especially in ispell, a large
670 number of clean ups and bug fixes.
672 * lyxfunc.C: fix revert to behave sensibly
674 2003-02-17 André Pönitz <poenitz@gmx.net>
677 * commandtags.h: new LFUN_INSERT_BIBKEY
687 * paragraph_func.C: remove special bibkey handling
689 2003-02-17 John Levon <levon@movementarian.org>
691 * text.C (Delete): fix case where delete at the end of
692 the very first paragraph would not merge the pars
694 2003-02-17 John Levon <levon@movementarian.org>
696 * lyxrow.C: fix lastPrintablePos()
698 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
700 * bufferparams.C (writeLaTeX): add a std:here
702 * buffer.C: and remove a using directive there
704 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
706 * buffer.C (makeLaTeXFile): move the code that generates the
709 * bufferparams.C (writeLaTeX): ... in this new method
711 * LaTeXFeatures.C (getEncodingSet): make const
712 (getLanguages): make const
714 * MenuBackend.C (binding): returns the binding associated to this
716 (add): sets the status of each item by calling getStatus. Adds
718 (read): add support for OptSubMenu
719 (expand): remove extra separator at the end of expanded menu
721 2003-02-15 John Levon <levon@movementarian.org>
724 * BufferView_pimpl.C:
726 * bufferlist.C: remove pointless BufferStorage bloat. Remove
727 inset code that had no actual effect. Remove unneeded status
730 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
732 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
735 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
737 * text.C (drawLengthMarker): also draw an arrow marker for
738 symbolic lengths (medskip...)
740 2003-02-14 John Levon <levon@movementarian.org>
743 * tabular.C: better method names
745 2003-02-14 John Levon <levon@movementarian.org>
747 * BufferView_pimpl.C:
752 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
753 it's a more accurate name. Remove some pointless uses.
755 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
757 * text2.C (LyXText): change order of initilizers to shut off
760 2003-02-14 John Levon <levon@movementarian.org>
762 * buffer.C: use ParIterator for getParFromID()
767 * paragraph_pimpl.C: remove unused getParFromID()
769 2003-02-14 John Levon <levon@movementarian.org>
771 * buffer.C: remove some very old #if 0'd parse code
773 2003-02-13 John Levon <levon@movementarian.org>
777 * text2.C: move hfillExpansion(), numberOfSeparators(),
778 rowLast(), rowLastPrintable(), numberofHfills(),
779 numberOfLabelHfills() ...
782 * lyxrow.C: ... to member functions here.
787 * text.C: remove LyXText::beginningOfMainBody(), and call
788 p->beginningOfMainBody() directly. Move the check for
789 LABEL_MANUAL into the latter.
796 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
802 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
803 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
805 2003-02-13 John Levon <levon@movementarian.org>
807 * CutAndPaste.C: remove debug
809 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
811 * paragraph.C (asString): remove two unused variables
813 * lyxtextclass.C (readTitleType):
815 (LyXTextClass): handle new members titletype_ and titlename_
817 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
819 2003-02-09 John Levon <levon@movementarian.org>
822 * buffer.C: replace hand-coded list with a map for the dep clean
824 2003-02-08 John Levon <levon@movementarian.org>
826 * LaTeX.C: consolidate code into showRunMessage() helper
828 2003-02-08 John Levon <levon@movementarian.org>
833 * BufferView.C: change setSelectionOverString() to setSelectionRange()
834 and pass the size in explicitly
836 * BufferView_pimpl.h:
837 * BufferView_pimpl.C:
839 * BufferView.C: add getCurrentChange()
841 * BufferView_pimpl.h:
842 * BufferView_pimpl.C: handle change lfuns
844 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
845 for changes. Mark pasted paragraphs as new.
849 * DepTable.C: abstract time_t as lyx::time_type
852 * LColor.C: add colours for new text, deleted text, changebars
854 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
855 package use "usenames" option.
859 * LyXAction.C: add change lfuns
863 * author.C: author handling
866 * buffer.C: add a per-buffer author list, with first entry as
867 current author. Handle new .lyx tokens for change tracking. Output
868 author list to .lyx file. Output dvipost stuff to .tex preamble.
869 Bump lyx format to 222.
872 * bufferlist.C: add setCurrentAuthor() to reset current author details
876 * bufferparams.C: add param for tracking
878 * bufferview_funcs.C: output change info in minibuffer
882 * changes.C: add change-tracking structure
885 * debug.C: add CHANGES debug flag
888 * lyxfind.C: add code for finding the next change piece
891 * lyxrc.C: add user_name and user_email
894 * lyxrow.C: add a metric for the top of the text line
897 * text.C: implement accept/rejectChange()
900 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
901 Strike through deleted text.
906 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
907 to the insert functions. Rework erase to mark text as deleted, adding
908 an eraseIntern() and a range-based erase(). Implement
909 per-paragraph change lookup and accept/reject.
911 * paragraph_funcs.C: Fixup paste for change tracking.
913 * tabular.C: mark added row/columns as new.
915 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
916 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
918 * text2.C: leave cursor at end of selection after a cut.
920 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
922 * text.C (getLengthMarkerHeight):
923 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
924 visible on screen too.
926 2003-02-07 John Levon <levon@movementarian.org>
928 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
930 2003-02-05 Angus Leeming <leeming@lyx.org>
932 * lyxserver.C (read_ready): revert my patch of 11 September last year
933 as it sends PC cpu through the roof. Presumably this means that
934 the lyxserver will no longer run on an Alpha...
936 2003-01-30 Angus Leeming <leeming@lyx.org>
938 * factory.C (createInset): create an InsetCommandParam of type "index"
939 and use it to 'do the right thing'.
941 * text2.C (getStringToIndex): ensure that cursor position is always
942 reset to the reset_cursor position.
944 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
946 * lyxfunc.C (getStatus): "buffer-export custom" should never be
949 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
953 * lyxfunc.C: Output messages with identical spelling, punctuation,
956 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
958 * MenuBackend.C (expandFormats): List only viewable export formats
961 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
964 * lyxfunc.C (getStatus): Make sure that formats other than
965 "fax" can also be disabled
967 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
969 * text3.C (dispatch): put the lfuns that insert insets in 3
970 groups, and call doInsertInset with appropriate arguments.
971 (doInsertInset): new function, that creates an inset and inserts
972 it according to some boolean parameters.
974 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
976 * buffer.C (readFile): remember to pass on 'par' when calling
977 readFile recursively.
979 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
981 * MenuBackend.C (expandFormats): add "..." to import formats.
983 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
985 * paragraph.C (asString): Remove XForms RTL hacks.
987 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
990 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
992 * Makefile.am (LIBS): delete var
993 (lyx_LDADD): add @LIBS@ here instead.
995 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
997 * Clarify the meaning of "wheel mouse jump"
999 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1001 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1004 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1006 * importer.C (Loaders): do not preallocate 3 elements in the
1007 vector, since one ends up with 6 elements otherwise
1009 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1011 * DepTable.C (write): write the file name as last element of the
1012 .dep file (because it may contain spaces)
1013 (read): read info in the right order
1015 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1017 * paragraph_pimpl.C (simpleTeXBlanks):
1018 (simpleTeXSpecialChars):
1019 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1021 * tabular.C (latex): add some missing case statements. Reindent.
1023 * MenuBackend.C (expandToc): remove unused variable.
1025 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1034 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1037 2003-01-05 John Levon <levon@movementarian.org>
1040 * BufferView.C: add getEncoding()
1043 * kbsequence.C: do not store last keypress
1046 * lyxfunc.C: store last keypress here instead. Pass encoding
1049 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1051 * lyx_main.C (init): remove annoying error message when following
1052 symbolic links (bug #780)
1054 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1056 * text.C (insertChar):
1057 * lyxrc.C (getDescription): remove extra spaces
1059 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1061 * lyxrc.C (getDescription): remove extra spaces
1063 2002-12-20 John Levon <levon@movementarian.org>
1065 * text3.C: hack fix for page up/down across tall rows
1067 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1069 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1072 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1074 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1075 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1076 thesaurus is not compiled in
1078 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1080 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1082 2002-12-16 Angus Leeming <leeming@lyx.org>
1085 * lyx_main.C (init): remove override_x_deadkeys stuff.
1087 2002-12-12 John Levon <levon@movementarian.org>
1089 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1090 insert. Only remove shift modifier under strict
1093 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1095 * MenuBackend.C (expandToc): fix crash.
1097 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1099 * MenuBackend.C (expandToc): gettext on float names.
1101 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1103 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1104 implement bool empty() [bug 490]
1106 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1108 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1110 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1112 * several files: ws changes
1114 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1116 * text2.C (setCounter): clean up a bit, use boost.format.
1117 (updateCounters): initialize par upon declaration.
1119 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1120 if the layout exists. We do not just store the layout any more.
1121 (SwitchLayoutsBetweenClasses): use boost.format
1123 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1125 * converter.C (convert): if from and to files are the same, use a
1126 temporary files as intermediary
1128 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1131 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1133 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1135 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1137 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1139 * tabular.C (asciiPrintCell): use string(size, char) instead of
1142 * sgml.C (openTag): fix order of arguments to string constructor
1145 * lyxfunc.C (dispatch): use boost.format
1147 * lots of files: change "c" -> 'c'
1149 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1151 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1153 2002-11-25 Angus Leeming <leeming@lyx.org>
1155 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1157 * lyx_main.C (init): compile fix.
1159 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1161 * lyx_cb.C (start): boost.formatify
1162 do not include <iostream>
1164 * lengthcommon.C: ws only
1166 * boost-inst.C,BoostFormat.h: add more explict instantations
1168 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1170 * lots of files: handle USE_BOOST_FORMAT
1172 2002-11-21 John Levon <levon@movementarian.org>
1174 * pspell.C: fix compile
1176 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1178 * lyxfunc.C (dispatch): use boost::format
1182 * lyxfont.C (stateText): use boost::format
1184 * lyx_main.C (LyX): use boost::format
1186 (queryUserLyXDir): ditto
1189 (typedef boost::function): use the recommened syntax.
1191 * importer.C (Import): use boost::format
1193 * debug.C (showLevel): use boost::format
1195 * converter.C (view): use boost::format
1200 * bufferview_funcs.C (currentState): use boost::format
1202 * bufferlist.C (emergencyWrite): use boost::format
1204 * buffer.C (readLyXformat2): use boost::format
1205 (parseSingleLyXformat2Token): ditto
1207 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1209 * LaTeX.C (run): use boost::format
1211 * Chktex.C (scanLogFile): use boost::format
1213 * BufferView_pimpl.C (savePosition): use boost::format
1214 (restorePosition): ditto
1215 (MenuInsertLyXFile): ditto
1217 * BoostFormat.h: help file for explicit instation.
1219 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1221 * tabular.C (latex): Support for block alignment in fixed width
1224 2002-11-17 John Levon <levon@movementarian.org>
1226 * BufferView_pimpl.C:
1228 * lyxfunc.C: split filedialog into open/save
1230 2002-11-08 Juergen Vigna <jug@sad.it>
1232 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1233 by my last patch (hopefully).
1235 2002-11-08 John Levon <levon@movementarian.org>
1244 * toc.C: ParConstIterator, and use it (from Lars)
1246 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1248 * lyxtextclass.[Ch]: revise and add doxygen comments
1250 2002-11-07 John Levon <levon@movementarian.org>
1252 * text.C: fix progress value for spellchecker
1254 * toc.C: fix navigate menu for insetwrap inside minipage
1256 * paragraph_funcs.C: added FIXME for suspect code
1258 2002-11-07 John Levon <levon@movementarian.org>
1260 * BufferView_pimpl.C: fix redrawing of insets
1263 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1265 * text2.C (updateCounters): fix bug 668
1267 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1269 * text3.C (dispatch): Do not make the buffer dirty when moving the
1272 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1274 * vc-backend.C: STRCONV
1277 * text2.C (setCounter): STRCONV
1279 * paragraph.C (asString): STRCONV
1281 * lyxlength.C (asString): STRCONV
1282 (asLatexString): ditto
1284 * lyxgluelength.C (asString): STRCONV
1285 (asLatexString): ditto
1287 * lyxfunc.C (dispatch): STRCONV
1290 * lyxfont.C (stateText): STRCONV
1292 * importer.C (Import): STRCONV
1294 * counters.C (labelItem): STRCONV
1295 (numberLabel): ditto
1296 (numberLabel): remove unused ostringstream o
1301 * bufferview_funcs.C (currentState): STRCONV
1303 * buffer.C (readFile): STRCONV
1304 (asciiParagraph): ditto
1305 (makeLaTeXFile): ditto
1307 * Spacing.C (writeEnvirBegin): STRCONV
1309 * LaTeXFeatures.C (getLanguages): STRCONV
1310 (getPackages): ditto
1312 (getBabelOptions): ditto
1313 (getTClassPreamble): ditto
1314 (getLyXSGMLEntities): ditto
1315 (getIncludedFiles): ditto
1319 (scanAuxFile): ditto
1322 * LString.h: add the STRCONV macros
1324 * BufferView_pimpl.C (savePosition): STRCONV
1325 (restorePosition): ditto
1326 (MenuInsertLyXFile): ditto
1328 * vc-backend.C (scanMaster): change from submatch[...] to
1331 * funcrequest.C: include config.h
1333 * factory.C: include config.h
1335 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1337 * box.C: include config.h
1339 * LaTeX.C (scanAuxFile): change from submatch[...] to
1343 2002-10-25 Angus Leeming <leeming@lyx.org>
1345 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1347 * ispell.[Ch] (setError): new method.
1348 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1349 Use setError() insetead of goto END.
1351 * lyx_cb.C (AutoSave): move out child process into new class
1354 2002-10-30 John Levon <levon@movementarian.org>
1356 * text3.C: make start appendix undoable
1358 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1360 * lyxlength.C (inPixels): Fix returned value.
1362 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1365 2002-10-24 Angus Leeming <leeming@lyx.org>
1367 * lyxgluelength.h: no need to forward declare BufferParams
1368 or BufferView, so don't.
1370 2002-10-21 John Levon <levon@movementarian.org>
1372 * BufferView.C: menuUndo ->undo, redo
1374 * BufferView.h: document, remove dead, make some methods private
1376 * paragraph_funcs.h:
1377 * paragraph_funcs.C:
1378 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1383 * sgml.C: move sgml open/close tag into sgml.C
1385 * bufferview_funcs.h: unused prototype
1388 * lyxfunc.C: remove unused
1391 * text.C: remove unused
1393 2002-10-21 John Levon <levon@movementarian.org>
1397 * BufferView_pimpl.h:
1398 * BufferView_pimpl.C: fix mouse wheel handling based on
1399 patch from Darren Freeman
1401 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
1403 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1405 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
1407 * lyxlength.C (inPixels): Fix hanfling of negative length.
1408 Fix LyXLength::MU case.
1410 2002-10-16 John Levon <levon@movementarian.org>
1412 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1414 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1416 * converter.C (view): add support for $$i (file name) and $$p
1417 (file path) for the viewer command. If $$i is not specified, then
1418 it is appended to the command (for compatibility with old syntax)
1420 2002-10-14 Juergen Vigna <jug@sad.it>
1422 * undo_funcs.C (textHandleUndo): alter the order in which the
1423 new undopar is added to the LyXText, as we have to set first
1424 the right prev/next and then add it as otherwise the rebuild of
1425 LyXText is not correct. Also reset the cursor to the right paragraph,
1426 with this IMO we could remove the hack in "redoParagraphs()".
1428 2002-10-09 Angus Leeming <leeming@lyx.org>
1430 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1431 to turn off an optimisation if a new inset is to be inserted.
1433 2002-10-11 André Pönitz <poenitz@gmx.net>
1435 * lyxtext.h: make some functions public to allow access
1436 from inset/lyxtext for handling LFUN_PRIOR/NEXT
1438 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1440 * text3.C (dispatch): when changing layout, avoid an infinite loop
1443 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1445 * lyxrc.C (read): treat a viewer or converter command of "none" as
1448 * MenuBackend.C (expandFormats): for an update, also allow the
1449 formats that are not viewable
1451 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
1452 script if it is newer than the lyxrc.defaults in user directory
1454 2002-10-07 André Pönitz <poenitz@gmx.net>
1456 * text.C: Vitaly Lipatov's small i18n fix
1458 2002-09-25 Angus Leeming <leeming@lyx.org>
1460 * ispell.h: doxygen fix.
1462 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
1464 * buffer.h (readFile): Add a new argument to the method, to allow
1465 reading of old-format templates.
1467 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
1469 * toc.C (getTocList): Get TOC from InsetWrap.
1471 2002-09-16 John Levon <levon@movementarian.org>
1473 * lyxfunc.C: check tabular for cut/copy too
1475 2002-09-12 John Levon <levon@movementarian.org>
1480 * factory.C: add header
1482 * paragraph_funcs.h:
1483 * paragraph_funcs.C: cleanup
1485 2002-09-11 John Levon <levon@movementarian.org>
1487 * PrinterParams.h: odd/even default to true
1489 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1491 * PrinterParams.h: update printer parameters for new xforms dialog
1493 2002-09-11 Angus Leeming <leeming@lyx.org>
1495 * lyxserver.C (read_ready): re-write to make it more transparent
1496 and to make it work in coherent fashion under Tru64 Unix.
1498 2002-09-11 André Pönitz <poenitz@gmx.net>
1502 * text3.C: implement LFUN_WORDSEL
1504 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1506 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1507 make floatlist_ a boost::shared_ptr<FloatList>
1509 * lyxtextclass.C: include FloatList.h
1510 (LyXTextClass): initialize floatlist_
1511 (TextClassTags): add TC_NOFLOAT
1512 (Read): match "nofloat" to TC_NOFLOAT and use it.
1513 (readFloat): modify call to floatlist_
1517 * FloatList.[Ch] (FloatList): remove commented out float
1519 (erase): new function
1521 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1523 * MenuBackend.C (expandToc): fix crash when there is no document
1526 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
1528 * many files: Add insetwrap.
1530 2002-09-09 John Levon <levon@movementarian.org>
1532 * text2.C: remove confusing and awkward depth wraparound
1534 2002-09-09 John Levon <levon@movementarian.org>
1536 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1539 * buffer.C: remove getIncludeonlyList()
1542 * lyxfunc.C: remove headers
1544 2002-09-09 Juergen Vigna <jug@sad.it>
1546 * text.C (getColumnNearX): fix form Michael this is most
1547 probably a cut&paste bug.
1549 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1551 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1553 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1554 references, ws changes.
1556 * text2.C (init): update counters after init
1557 (insertParagraph): no need to set counter on idividual paragraphs.
1558 (setCounter): access the counters object in the textclass object
1559 on in the buffer object.
1560 (updateCounters): ditto
1562 * lyxtextclass.C: include counters.h, add variable ctrs_ as
1563 shared_ptr<Counters> to avoid loading counters.h in all
1565 (LyXTextClass): initialize ctrs_
1566 (TextClassTags): add TC_COUNTER, and ...
1567 (Read): use it here.
1568 (CounterTags): new tags
1569 (readCounter): new function
1570 (counters): new funtion
1571 (defaultLayoutName): return a const reference
1573 * counters.C (Counters): remove contructor
1574 (newCounter): remove a couple of unneeded statements.
1575 (newCounter): simplify a bit.
1576 (numberLabel): some small formatting changes.
1578 * buffer.[Ch]: remove all traces of counters, move the Counters
1579 object to the LyXTextClass.
1581 2002-09-06 Alain Castera <castera@in2p3.fr>
1583 * tabular.C: uses \tabularnewline; uses >{...} construct from array
1584 package to set the horizontal alignment on fixed width columns.
1587 * lyx_sty.h: added tabularnewline macro def.
1589 * LaTeXFeatures.C: added NeedTabularnewline macro feature
1591 2002-09-06 John Levon <levon@movementarian.org>
1593 * LyXAction.C: tooltips for sub/superscript
1595 * MenuBackend.C: a bit more verbose
1597 * lyxfunc.C: tiny clean
1599 * undo_funcs.C: document undo_frozen
1601 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1603 * counters.C (Counters): add missing algorithm counter.
1605 * text2.C (setCounter): lookup the counter with layouts latexname
1606 instead of by section number.
1607 (setCounter): use a hackish way to lookup the correct enum
1609 a float name->type change
1610 reset enum couners with counter name directly instead of depth value.
1612 * counters.C (Counters): remove the push_backs, change to use the
1613 float type not the float name.
1614 (labelItem): remove unused string, float name->type change
1616 * counters.h: don't include vector, loose the enums and sects vectors
1618 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1620 * lyxtextclass.C (TextClassTags): add TC_FLOAT
1621 (Read): add float->TC_FLOAT to textclassTags
1622 (Read): and handle it in the switch
1623 (readFloat): new function
1625 * FloatList.C (FloatList): comment out the hardcoded float
1628 * lyxlayout.h: ws change.
1630 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
1632 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
1634 2002-09-03 Angus Leeming <leeming@lyx.org>
1636 * BufferView_pimpl.h: qualified name is not allowed in member
1637 declaration: WorkArea & Pimpl::workarea() const;
1639 * factory.C: added using std::endl directive.
1641 * text3.C: added using std::find and std::vector directives.
1643 2002-08-29 André Pönitz <poenitz@gmx.net>
1646 * text2.C: remove unused member number_of_rows
1649 * BufferView2.C: remove file, move contents to...
1650 * BufferView.C: ... here
1652 * BufferView_pimpl.C:
1653 * factory.C: move more inset creation to factory
1655 * vspace.C: avoid direct usage of LyXText, ws changes
1658 don't provide direct access to WorkArea, use two simple
1659 acessors haveSelction() and workHeight() instead
1662 2002-08-29 John Levon <levon@movementarian.org>
1664 * BufferView_pimpl.C (dispatch): do not continue when
1667 2002-08-28 André Pönitz <poenitz@gmx.net>
1669 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
1672 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
1674 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
1676 * buffer.C: increment LYX_FORMAT to 221
1678 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
1679 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
1681 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
1683 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
1685 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1687 * factory.C (createInset): use LyXTextClass::floats
1689 * MenuBackend.C (expandFloatListInsert):
1690 (expandFloatInsert):
1693 * text2.C (setCounter):
1695 * LaTeXFeatures.C (useFloat):
1696 (getFloatDefinitions):
1698 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
1700 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
1701 floatlist_, with accessor floats().
1703 * FloatList.h: remove global FloatList
1705 2002-08-26 André Pönitz <poenitz@gmx.net>
1707 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
1711 * BufferView_pimpl.C:
1712 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
1714 2002-08-25 John Levon <levon@movementarian.org>
1716 * LyXAction.C: fix margin note description
1718 2002-08-24 John Levon <levon@movementarian.org>
1722 * bufferview_funcs.C:
1724 * undo_funcs.C: cleanups
1726 * lyxfunc.C: disable CUT/COPY when no selection
1728 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1730 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
1731 in "enum UNIT"; e.g. PTW for Percent of TextWidth
1733 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
1734 Add backward compatibility to "mono", "gray" and "no".
1736 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
1738 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
1739 (and file_format >= 200).
1741 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1743 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
1745 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1747 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
1749 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
1751 * BufferView_pimpl.C:
1758 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
1759 inset and code to make it work with the paragraph code. The inset
1760 can be anywhere in the paragraph, but will only do the expected
1761 thing in LaTeX if the layout file contains the parameter line
1763 (or more generally, a nonzero value) for that layout.
1765 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1767 * paragraph.h: remove the declaration of undefined counters class
1770 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
1772 * text2.C (setCounter): fixed enumeration mis-count as reported by
1773 Dr. Richard Hawkins.
1775 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1777 * paragraph_funcs.h: remove some unneeded includes
1779 * text.C (backspace): pasteParagraph now in global scipe
1781 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
1782 (pasteSelection): ditto
1784 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
1785 * paragraph_funcs.C (pasteParagraph): ... here
1787 2002-08-20 André Pönitz <poenitz@gmx.net>
1789 * commandtags.h: new LFUNs for swapping/copying table row/colums
1792 * lyxfunc.C: support for new lfuns
1794 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1797 * buffer.[Ch]: remove NO_COMPABILITY stuff
1799 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
1801 * boost.C (throw_exception): new file, with helper function for
1802 boost compiled without exceptions.
1807 * ParameterStruct.h:
1808 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
1810 * bufferlist.C (emergencyWriteAll): use boost bind
1812 * BufferView_pimpl.C (moveCursorUpdate): remove inline
1814 * text.C: include paragraph_funcs.h
1815 (breakParagraph): breakParagraph is now in global scope
1817 * paragraph_funcs.[Ch]: new files
1819 * paragraph.C (breakParagraph,breakParagraphConservative): move to
1822 * buffer.C: include paragraph_funcs.h
1823 (insertStringAsLines): breakParagraph is now in global scope
1825 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
1828 * CutAndPaste.C: include paragraph_funcs.h
1829 (cutSelection): breakParagraphConservative is now in global scope
1830 (pasteSelection): ditto
1832 * buffer.h: declare oprator== and operator!= for
1833 Buffer::inset_iterator
1835 * bufferlist.C (emergencyWrite): don't use fmt(...)
1837 * text3.C: add using std::endl
1839 * BufferView.C (moveCursorUpdate): remove default arg
1841 2002-08-20 André Pönitz <poenitz@gmx.net>
1843 * buffer.[Ch]: move inline functions to .C
1846 * BufferView_pimpl.C:
1848 * buffer.[Ch]: use improved inset_iterator
1851 * paragraph.[Ch]: write one paragraph at a time
1853 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
1855 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
1856 style if style is not specified.
1858 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1860 * text2.C (setCounter): when searching for right label for a
1861 caption, make sure to recurse to parent insets (so that a caption
1862 in a minipage in a figure float works) (bug #568)
1864 2002-08-20 André Pönitz <poenitz@gmx.net>
1866 * text3.C: new file for LyXText::dispatch() and helpers
1868 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
1870 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
1872 2002-08-19 André Pönitz <poenitz@gmx.net>
1875 * text.C: new LyXText::dispatch()
1877 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
1879 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
1881 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
1883 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
1886 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1888 * Makefile.am: use $(variables) instead of @substitutions@
1890 2002-08-15 André Pönitz <poenitz@gmx.net>
1893 * BufferView_pimpl.C: streamlining mathed <-> outer world
1897 * LyXAction.C: remove unused LFUN_MATH
1899 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1901 * paragraph.[Ch]: add some NO_NEXT ifdefs.
1903 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1905 * paragraph.C (Paragraph): reformat a bit
1906 (cutIntoMinibuffer): use builtin InsetList function instad of
1910 * buffer.C: include boost/bind.hpp, add using std::for_each
1911 (writeFileAscii): use ParagraphList iterators
1912 (validate): use for_each for validate traversal of paragraphs
1913 (getBibkeyList): use ParagraphList iterators
1914 (resizeInsets): use for_each to resizeInsetsLyXText for all
1916 (getParFromID): use ParagraphList iterators
1918 * BufferView2.C (lockInset): use paragraph list and iterators
1920 2002-08-14 John Levon <levon@movementarian.org>
1922 * lyxserver.C: remove spurious xforms include
1924 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1926 * lyxfunc.C (getStatus): disable math-extern outside of math mode
1928 2002-08-13 André Pönitz <poenitz@gmx.net>
1931 * lyxfunc.C: further cleaning
1933 2002-08-13 André Pönitz <poenitz@gmx.net>
1935 * funcrequest.h: new constructor
1937 * funcrequest.C: move stuff here from .h
1940 * BufferView_pimpl.C:
1943 * lyxfunc.C: subsequent changes
1945 * lyxfunc.h: new view() member function
1947 * lyxfunc.C: subsequent changes
1949 2002-08-13 Angus Leeming <leeming@lyx.org>
1952 * BufferView_pimpl.C:
1960 changes due to the changed LyXView interface that now returns references
1961 to member variables not pointers.
1963 2002-08-13 Angus Leeming <leeming@lyx.org>
1965 * WordLangTuple (word, lang_code): return references to strings,
1970 * lyxtext.h: forward-declare WordLangTuple.
1975 * text.C: #include "WordLangTuple.h".
1978 * text.C: (selectNextWordToSpellcheck): constify return type.
1980 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
1986 * paragraph_pimpl.h:
1989 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
1991 Made updateCounter always count from start of buffer, and removed
1992 second argument (par).
1993 Reverted floats number display to '#'. Perhaps I'll try again when the
1994 code base is sanitized a bit.
1996 2002-08-12 Angus Leeming <leeming@lyx.org>
1998 * buffer.[Ch] (getLabelList): constify.
2000 2002-08-07 André Pönitz <poenitz@gmx.net>
2002 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2004 * funcrequest.h: extension to keep mouse (x,y) position
2006 2002-08-12 Juergen Vigna <jug@sad.it>
2008 * BufferView2.C (insertErrors): forbid undo when inserting error
2011 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2013 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2015 * ParagraphList.[Ch]: new files
2017 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2019 * BufferView2.C (lockInset): ParagraphList changes
2022 * bufferlist.C: ditto
2026 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2028 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2029 unused class variable counter_,
2031 * paragraph.[Ch] (getFirstCounter): delete unused function
2033 * counters.C: include LAssert.h
2034 (reset): add a new function with no arg, change other version to
2035 not have def. arg and to not allow empty arg.
2037 * text2.C (setCounter): remove empty arg from call to Counters::reset
2039 2002-08-11 John Levon <levon@movementarian.org>
2041 * Makefile.am: add WordLangTuple.h
2043 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2045 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2046 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2048 * insets/insettext.C: InsetList changes
2050 * graphics/GraphicsSupport.C (operator()): InsetList changes
2052 * toc.C (getTocList): InsetList changes
2054 * paragraph_pimpl.[Ch]: InsetList changes
2056 * paragraph.[Ch]: InsetList changes
2058 * buffer.C (inset_iterator): InsetList changes
2059 (setParagraph): ditto
2060 * buffer.h (inset_iterator): ditto
2061 * iterators.C (operator++): ditto
2062 * iterators.h: ditto
2064 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2066 * InsetList.[Ch]: new files, most InsetList handling moved out of
2069 * BufferView2.C (removeAutoInsets): InsetList changes
2071 (ChangeInsets): ditto
2073 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2075 * paragraph_pimpl.h (empty): new function
2077 * paragraph.[Ch] (empty): new function
2079 * other files: use the new Paragraph::empty function
2081 2002-08-09 John Levon <levon@movementarian.org>
2083 * lyxtext.h: remove unused refresh_height
2085 2002-08-09 John Levon <levon@movementarian.org>
2092 * paragraph.C: move sgml char escaping out of paragraph
2095 * paragraph.C: remove id setter
2099 * paragraph_pimpl.C: remove dead tex_code_break_column
2101 * bufferview_funcs.C: small cleanup
2103 * lyxfunc.C: remove dead proto
2105 * lyxtext.h: make some stuff private. Remove some dead stuff.
2107 * lyxgluelength.C: make as[LyX]String() readable
2109 2002-08-08 John Levon <levon@movementarian.org>
2114 * ToolbarDefaults.C:
2117 * toc.C: lyxaction cleanup
2119 2002-08-08 John Levon <levon@movementarian.org>
2121 * BufferView2.C: small cleanup
2124 * lyxfind.C: move unnecessary header into the .C
2126 2002-08-08 John Levon <levon@movementarian.org>
2128 * funcrequest.h: just tedious nonsense
2131 * lyx_main.C: cleanups
2134 * vspace.C: remove dead header lyx_main.h
2136 2002-08-07 Angus Leeming <leeming@lyx.org>
2139 * paragraph_pimpl.h:
2140 Forward declare class Counters in paragraph.h by moving the ctrs member
2141 variable into Paragraph::Pimpl.
2142 (counters): new method, returning a reference to pimpl_->ctrs.
2144 * text2.C: ensuing changes.
2146 2002-08-07 John Levon <levon@movementarian.org>
2148 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2150 * BufferView_pimpl.C: announce X selection on double/triple
2153 * lyx_main.C: use correct bool in batch dispatch
2155 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2157 2002-08-07 André Pönitz <poenitz@gmx.net>
2159 * funcrequest.h: new class to wrap a kb_action and its argument
2162 * BufferView_pimpl[Ch]:
2166 * lyxrc.C: subsequent changes
2169 2002-08-07 John Levon <levon@movementarian.org>
2171 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2172 document options change.
2174 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2179 * makefile.am: move counters functionality over from
2180 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2182 2002-08-06 John Levon <levon@movementarian.org>
2184 * WordLangTuple.h: new file for word + language code tuple
2195 * BufferView2.C: use WordLangTuple
2198 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2200 2002-08-06 John Levon <levon@movementarian.org>
2202 * lyx_main.C: fix cmdline batch handling
2204 2002-08-06 André Pönitz <poenitz@gmx.net>
2206 * lyxrc.C: set default for show_banner to true
2208 2002-08-06 John Levon <levon@movementarian.org>
2210 * pspell.C: fix a crash, and allow new aspell to work
2212 2002-08-06 John Levon <levon@movementarian.org>
2215 * kbmap.C: small cleanup
2218 * vspace.C: add const
2220 2002-08-05 John Levon <levon@movementarian.org>
2222 * LyXAction.C: back to tabular-insert
2224 2002-08-04 John Levon <levon@movementarian.org>
2227 * BufferView.C: cosmetic change
2229 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2239 * BufferView2.C: purge all "Lyx" not "LyX" strings
2242 * lyxcursor.C: attempt to add some documentation
2247 * ToolbarDefaults.C:
2248 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2249 merge with LFUN_TABULAR_INSERT
2256 * pspell.C: split up i/pspell implementations into separate
2257 files, many cleanups
2259 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2261 * text2.C: some cleanup
2263 * lyxfunc.C: don't check for isp_command == "none" any more, it
2264 didn't make any sense
2266 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2271 * makefile.am: move counters functionality over
2272 from text2.C/paragraph.[Ch] to counters.[Ch], and
2274 2002-08-02 John Levon <levon@movementarian.org>
2276 * buffer.C: s/lyxconvert/lyx2lyx/
2278 2002-08-02 Angus Leeming <leeming@lyx.org>
2280 * lyxlex.C: revert John's change as it breaks reading of the user
2283 2002-08-02 Angus Leeming <leeming@lyx.org>
2285 * importer.C (Import):
2286 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2287 changes due to LyXView::view() now returning a boost::shared_ptr.
2289 2002-08-02 John Levon <levon@movementarian.org>
2291 * lyxlex.C: small cleanup
2293 2002-08-02 John Levon <levon@movementarian.org>
2295 * text2.C (status): small cleanup, no logic change
2297 2002-08-01 John Levon <levon@movementarian.org>
2300 * buffer.C (writeFile): don't output alerts, caller
2304 * lyx_cb.C: from above
2306 * lyxfunc.C: allow to open non-existent files
2308 2002-07-31 John Levon <levon@movementarian.org>
2310 * lyxserver.C: don't let incidental errors get
2313 2002-07-30 John Levon <levon@movementarian.org>
2315 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2317 2002-07-30 John Levon <levon@movementarian.org>
2320 * lyxserver.C: remove I/O callback too
2322 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2324 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2327 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2329 * many files: strip,frontStrip -> trim,ltrim,rtrim
2331 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2333 * PrinterParams.h: remove extern containsOnly, and include
2334 support/lstrings.h instead.
2336 * LaTeX.C (scanAuxFile): modify because of strip changes
2338 * buffer.C (makeLaTeXFile): ditto
2339 * bufferparams.C (writeFile): ditt
2340 * lyxfont.C (stateText): ditto
2341 * lyxserver.C (read_ready): ditto
2342 * vc-backend.C (scanMaster): ditto
2344 * BufferView_pimpl.h: ws changes
2346 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2348 2002-07-26 André Pönitz <poenitz@gmx.net>
2350 * kb_sequence.C: remove unnedred usings
2352 2002-07-26 Juergen Vigna <jug@sad.it>
2354 * lyxfind.C (LyXReplace): we have to check better if the returned
2355 text is not of theLockingInset()->getLockingInset().
2357 2002-07-25 Juergen Vigna <jug@sad.it>
2359 * lyxfind.C (LyXReplace): don't replace if we don't get the
2362 * undo_funcs.C (createUndo): remove debugging code.
2364 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2366 * buffer.C (parseSingleLyXformat2Token): Use default placement
2367 when reading old floats.
2369 * FloatList.C (FloatList): Change the default placement of figure
2370 and tables to "tbp".
2372 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
2374 * MenuBackend.C: using std::max
2376 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2378 * MenuBackend.C (expandToc):
2379 (expandToc2): code moved from xforms menu frontend. It is now
2380 generic and TOCs are transparent to menu frontends.
2382 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2384 * toc.C (getTocList): protect against buf=0
2386 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2387 Menu as first parameter. Now, this calls itself recursively to
2388 expand a whole tree (this will be useful for TOC handling)
2389 (expandFloatInsert): remove 'wide' version of floats
2391 * MenuBackend.h (submenuname): returns the name of the submenu.
2392 (submenu): returns the submenu itself, provided it has been
2393 created by MenuBackend::expand
2395 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2397 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2398 insets which have noFontChange == true. (bug #172)
2400 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2402 * BufferView_pimpl.C: add connection objects and use them...
2405 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2407 * MenuBackend.C (expandLastfiles):
2410 (expandFloatListInsert):
2411 (expandFloatInsert):
2412 (expand): split expand in parts
2414 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2416 * lyx_gui.C: use lyx_gui::exit()
2418 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2420 * LyXAction.C: show the failing pseudo action
2422 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
2424 * buffer.C (readFile): Run the lyxconvert script in order to read
2427 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2431 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2433 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2437 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2439 2002-07-22 Herbert Voss <voss@lyx.org>
2442 * lyxlength.[Ch]: add support for the vertical lengths
2444 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
2446 * toc.[Ch]: std:: fixes
2448 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2450 * lyxrc.C: do not include lyx_main.h
2452 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
2458 * BufferView2.C: include "lyxlex.h"
2461 * bufferparams.h: do not #include "lyxlex.h"
2463 * lyxtextclasslist.C (Add): remove method
2464 (classlist): renamed to classlist_
2466 * paragraph_pimpl.C:
2470 * bufferview_funcs.C:
2475 * toc.C (getTocList): use BufferParams::getLyXTextClass
2477 * toc.C (getTocList): use InsetFloat::addToToc
2479 * toc.[Ch]: new files, containing helper functions to handle table
2482 * lyxfunc.C (dispatch): no need to remove spaces around command
2484 (getStatus): handle LFUN_SEQUENCE by returning the status of the
2485 first command of the sequence; it is not very clever, but I do not
2486 have a better idea, actually
2488 * LyXAction.C (LookupFunc): make sure to remove space at the
2489 beginning and end of the command
2491 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2493 * MenuBackend.C (getMenubar): new method: return the menubar of
2495 (read): treat differently reading of menu and menubar (in
2496 particular, the menubar has no name now)
2497 (Menu::menubar): remove
2499 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2502 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2504 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2505 a bibitem inset in a RTL paragraph.
2507 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
2509 * paragraph_pimpl.C: constify
2511 * BufferView_pimpl.C:
2513 * lyxfunc.C: fix dispatch in a nicer way
2515 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2517 * lyxfunc.C (dispatch):
2518 * BufferView_pimpl.C:
2519 * BufferView_pimpl.h:
2521 * BufferView.h: rename Dispatch() to dispatch()
2523 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2525 * lyxlayout.C (Read): honor DependsOn tag
2527 * lyxlayout.[Ch] (depends_on): new method
2529 * version.C.in: update lyx_docversion
2531 * LaTeXFeatures.C (getMacros): only define \LyX when needed
2533 * paragraph.C (validate): remove from here...
2534 * paragraph_pimpl.C (validate): ... and move here
2535 (isTextAt): make it const
2537 * buffer.C (getLists): ws cleanup
2539 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2541 * language.C (read): Use iso8859-1 encoding in latex_lang
2542 (this prevents LyX from crashing when using iso10646-1 encoding).
2544 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2546 * text2.C (toggleInset): if cursor is inside an inset, close the
2547 inset and leave cursor _after_ it
2549 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2551 * lyxfunc.C: move minibuffer completion handling out of here
2553 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2555 * BufferView_pimpl.C:
2556 * LaTeX.C: fix dispatch calls
2558 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
2560 * text.C (drawChars): Fix Arabic text rendering.
2562 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
2566 * lyxfunc.C: remove message-push/pop
2570 * lyxfunc.C: rationalise some code by removing verboseDispatch
2571 in favour of a bool argument to dispatch()
2573 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2575 * lyx_main.C (init): make sure to read symlinks as absolute paths
2577 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2580 * lyxfunc.C: no need for commandshortcut to be a member
2582 2002-07-15 André Pönitz <poenitz@gmx.net>
2584 * converter.C: add support for $$s (scripts from lib/scripts dir)
2585 * lyx_main.C: white space
2587 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2591 * lyxrc.C: remove second exit confirmation
2593 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2598 * BufferView_pimpl.h:
2599 * BufferView_pimpl.C:
2600 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2602 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2604 * MenuBackend.C (expand): add numeric shortcuts to document menu
2606 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
2608 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2610 * lyxfont.C (setLyXFamily):
2617 * buffer.C (asciiParagraph): use ascii_lowercase
2619 2002-07-15 Mike Fabian <mfabian@suse.de>
2621 * lyxlex_pimpl.C (search_kw):
2622 * lyxlex.C (getLongString):
2623 * converter.h (operator<):
2624 * converter.C (operator<):
2625 * buffer.C (parseSingleLyXformat2Token):
2627 * ToolbarDefaults.C (read):
2628 * MenuBackend.C (checkShortcuts):
2630 * LColor.C (getFromGUIName):
2631 (getFromLyXName): use the compare_ascii_no_case instead of
2632 compare_no_case, because in turkish, 'i' is not the lowercase
2633 version of 'I', and thus turkish locale breaks parsing of tags.
2635 2002-07-16 Angus Leeming <leeming@lyx.org>
2637 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
2638 now takes a Buffer const & argument.
2640 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2642 * BufferView.C (resize): check there's a buffer to resize
2644 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
2646 * lyxfunc.C: remove dead code
2649 * lyxserver.C: use lyx_guii::set_read_callback
2651 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2653 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
2654 an inset in a RTL paragraph.
2656 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2658 * lyxfunc.C: repaint after a font size update
2660 2002-07-15 André Pönitz <poenitz@gmx.net>
2662 * lyxlength.C: inBP should be able to return negative values
2664 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2666 * lyxfunc.C: use lyx_gui::update_fonts()
2668 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2670 * lyxfunc.C: use lyx_gui::update_color()
2672 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2678 * lyxrc.C: remove file->new asks for name option, and let
2679 buffer-new take an argument
2681 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2683 * BufferView_pimpl.C: remove unneeded extra repaint()
2685 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
2687 * LyXAction.C: allow command-sequence with NoBuffer
2689 * lyxfunc.C: don't insist on trailing ';' for command-sequence
2691 2002-07-10 Angus Leeming <leeming@lyx.org>
2693 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
2695 2002-07-09 Angus Leeming <leeming@lyx.org>
2697 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
2699 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2701 * lengthcommon.h: whitespace
2703 * lyxfunc.C: update scrollbar after goto paragraph
2705 * lyxtext.h: factor out page break drawing, and fix it so
2706 page break/added space paints as selected nicely
2708 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2710 * BufferView_pimpl.C: add FIXMEs, clean up a little
2712 2002-07-09 André Pönitz <poenitz@gmx.net>
2714 * lyxfont.[Ch]: support for wasy symbols
2716 2002-07-08 André Pönitz <poenitz@gmx.net>
2718 * BufferView_pimpl.C: apply John's patch for #93.
2720 2002-07-05 Angus Leeming <leeming@lyx.org>
2722 * BufferView_pimpl.C (buffer): generate previews if desired.
2724 * LColor.h: add "preview" to the color enum.
2726 * LColor.C (LColor): add a corresponding entry to the items array.
2728 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
2731 2002-07-05 Angus Leeming <leeming@lyx.org>
2733 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
2734 The body of the code is now in the method that is passed an ostream &
2735 rather than a file name.
2736 Pass an additional only_preamble parameter, useful for the forthcoming
2739 2002-07-03 André Pönitz <poenitz@gmx.net>
2741 * lyxfunc.C: simplify getStatus() a bit for math stuff
2743 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2745 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
2747 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2749 * text.C (changeRegionCase): do not change case of all the
2750 document when region ends at paragraph end (bug #461)
2752 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2754 * paragraph.C (startTeXParParams):
2755 (endTeXParParams): add \protect when necessary
2757 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2759 * BufferView_pimpl.C (workAreaExpose): remove warning
2761 2002-06-27 Angus Leeming <leeming@lyx.org>
2763 * Makefile.am: add lyxlayout_ptr_fwd.h.
2765 2002-06-26 André Pönitz <poenitz@gmx.net>
2767 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
2769 2002-06-25 Angus Leeming <leeming@lyx.org>
2771 * lyxfunc.C (dispatch): Comment out the call to
2772 grfx::GCache::changeDisplay. The method no longer exists now that the
2773 pixmap generation part of the graphics loader has been moved into
2776 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2778 * text2.C: layout as layout
2780 * text.C: layout as layout
2782 * tabular.C (OldFormatRead): layout as layout
2784 * paragraph_pimpl.C (TeXDeeper): layout as layout
2785 (realizeFont): layout as layout
2787 * paragraph.C (writeFile): layout as layout
2788 (validate): layout as layout
2789 (getFont): layout as layout
2790 (getLabelFont): layout as layout
2791 (getLayoutFont): layout as layout
2792 (breakParagraph): layout as layout
2793 (stripLeadingSpaces): layout as layout
2794 (getEndLabel): layout as layout
2795 (getMaxDepthAfter): layout as layout
2796 (applyLayout): layout as layout
2797 (TeXOnePar): layout as layout
2798 (simpleTeXOnePar): layout as layout
2799 (TeXEnvironment): layout as layout
2800 (layout): layout as layout
2801 (layout): layout as layout
2803 * lyxtextclass.C (compare_name): new functor to work with
2804 shared_ptr, layout as layout
2805 (Read): layout as layout
2806 (hasLayout): layout as layout
2807 (operator): layout as layout
2808 (delete_layout): layout as layout
2809 (defaultLayout): layout as layout
2811 * lyxlayout_ptr_fwd.h: new file
2813 * lyxlayout.C (Read): layout as layout
2815 * lyx_cb.C (MenuInsertLabel): layout as layout
2817 * bufferlist.C (newFile): layout as layout
2819 * buffer.C (readLyXformat2): layout as layout
2820 (parseSingleLyXformat2Token): layout as layout
2821 (insertStringAsLines): layout as layout
2822 (asciiParagraph): layout as layout
2823 (latexParagraphs): layout as layout
2824 (makeLinuxDocFile): layout as layout
2825 (simpleLinuxDocOnePar): layout as layout
2826 (makeDocBookFile): layout as layout
2827 (simpleDocBookOnePar): layout as layout
2828 (getLists): layout as layout
2830 * LaTeXFeatures.C (getTClassPreamble): layout as layout
2832 * CutAndPaste.C (cutSelection): layout as layout
2833 (pasteSelection): layout as layout
2834 (SwitchLayoutsBetweenClasses): layout as layout
2836 * BufferView_pimpl.C (Dispatch): layout as layout
2837 (smartQuote): layout as layout
2839 * BufferView2.C (unlockInset): layout as layout
2841 2002-06-24 André Pönitz <poenitz@gmx.net>
2843 * lyxfunc.C: fix #487
2845 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2849 * lyxfunc.C: remove display_shortcuts, show_banner
2851 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2853 * Buffer_pimpl.C: oops, update on resize
2855 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2862 * BufferView.C: use repaint()
2864 * BufferView_pimpl.h:
2865 * BufferView_pimpl.C: s/updateScreen()/repaint()/
2866 as it's a clearer description. Remove superfluous
2869 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2871 * text.C: fix bug 488. Not ideal, but getting
2872 getWord() to work properly for the insets that
2873 matter is more difficult ...
2875 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2877 * BufferView_pimpl.C:
2880 * lyxfunc.C: remove the six million index lyxfuncs to just
2881 one, and DTRT (bug 458)
2883 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2887 * BufferView_pimpl.h:
2888 * BufferView_pimpl.C: clean up resize() stuff,
2889 and unnecessary updateScreen()s
2891 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2895 * BufferView_pimpl.h:
2896 * BufferView_pimpl.C:
2899 * minibuffer.C: remove focus management of workarea,
2900 not needed. Use screen's greyOut()
2902 2002-06-17 Herbert Voss <voss@lyx.org>
2904 * converter.C: (convert) do not post a message, when converting
2905 fails, let the calling function decide what to do in this case
2907 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
2909 * lyxfunc.C: tidy up a little
2911 2002-06-16 <alstrup@diku.dk>
2913 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
2914 Got rid of FORMS_H_LOCATION include. Now we are
2917 2002-06-15 LyX Development team <lyx@rilke>
2919 * buffer.[Ch] (sgmlOpenTag):
2920 (sgmlCloseTag): Added support for avoiding pernicious mixed
2921 content. Return number of lines written.
2924 (makeDocBookFile): Fixed calls to sgml*Tag.
2925 Simple white space clean.
2927 (simpleDocBookOnePar): Simple white space clean.
2929 * tabular.[Ch] (docBook): Renamed to docbook and got another
2930 argument to related with the pernicious mixed content.
2932 (docbookRow): Fixed calls for docbook inset method.
2934 2002-06-15 Lyx Development team <larsbj@birdstep.com>
2936 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
2937 so it's X11 independent.
2941 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
2943 2002-06-15 Lyx Development team <lyx@electronia>
2945 * intl.h: Renamed getTrans to getTransManager.
2947 2002-06-14 Angus Leeming <leeming@lyx.org>
2949 * Makefile.am: nuke forgotten stl_string_fwd.h.
2951 2002-06-12 Angus Leeming <leeming@lyx.org>
2953 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
2955 2002-06-13 Angus Leeming <leeming@lyx.org>
2958 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
2960 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
2962 * kbmap.C (getiso): add support for cyrillic and greek
2964 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2968 * BufferView_pimpl.h:
2969 * BufferView_pimpl.C: move bogus scrolling logic
2972 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2975 * BufferView_pimpl.C: view->resize() change
2977 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2979 * BufferView_pimpl.C: topCursorVisible
2982 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2986 * lyx_gui.C: move to frontends/
2990 * lyx_main.C: changes from above
2992 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2999 * lyx_main.C: minor tidy
3001 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3003 * BufferView_pimpl.h:
3004 * BufferView_pimpl.C:
3006 * BufferView.C: make painter() const,
3009 * BufferView2.C: use screen() accessor
3012 * lyx_main.C: some minor cleanup
3014 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3016 * BufferView_pimpl.h:
3017 * BufferView_pimpl.C: remove enter/leaveView,
3020 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3025 * BufferView_pimpl.h:
3026 * BufferView_pimpl.C: only construct screen once,
3029 * lyxrc.C: remove pointless comment
3031 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3034 * BufferView.C: remove active() and belowMouse()
3036 * BufferView_pimpl.h:
3037 * BufferView_pimpl.C: use workarea() not workarea_,
3038 and make it use a scoped_ptr instead
3040 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3042 * lyx_gui.C: add debug message on BadWindow
3044 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3046 * sp_spell.C: fdopen is not part of the C++ standard.
3048 * paragraph.C (InsetIterator): use >= instead of ==
3050 2002-06-07 Angus Leeming <leeming@lyx.org>
3052 Fixes needed to compile with Compaq cxx 6.5.
3053 * BufferView_pimpl.C:
3060 * lyxtextclasslist.C:
3065 all c-library variables have been moved into namespace std. Wrap
3066 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3071 Add a using std::abs declaration.
3073 * kbmap.h (modifier_pair):
3074 * paragraph.h (InsetTable, InsetList):
3075 * lyxfont.h (FontBits):
3076 type definition made public.
3078 * bufferlist.C (emergencyWriteAll): the compiler complains that
3079 there is more than one possible lyx::class_fun template to choose from.
3080 I re-named the void specialisation as lyx::void_class_fun.
3082 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3084 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3085 the compiler is is unable to find tostr in write_attribute.
3087 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3089 * buffer.C (sgmlError): hide #warning
3091 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3093 * xtl/*: get rid of xtl, which is not in use anyway
3095 * LyXAction.C (init):
3096 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3097 were unimplemented xtl experimentation
3099 2002-06-04 André Pönitz <poenitz@gmx.net>
3101 * lyxfunc.C: disable array operation on simple formulae
3103 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3105 * converter.C: constify a bit
3107 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3109 * lyx_gui.C: check xforms version correctly
3111 2002-04-30 Herbert Voss <voss@lyx.org>
3113 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3116 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3118 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3119 attempt to register it with a VCS)
3121 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3123 * lyx_main.C (init): honor variables LYX_DIR_13x and
3126 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3130 * lyx_main.C: fix a crash on bad command line,
3131 and give a useful exit status on error
3133 * lyxfunc.C (doImport): allow -i lyx to work
3135 2002-03-30 André Pönitz <poenitz@gmx.net>
3137 * lyxfunc.C: mathed font changes
3139 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3154 * trans_mgr.h: srcdocs, and some minor cleanups
3156 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3158 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3159 call getFont all the time)
3161 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3163 * switch from SigC signals to boost::signals
3165 2002-05-29 André Pönitz <poenitz@gmx.net>
3167 * paragraph_pimpl.C (getChar): don't call size() too often...
3169 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3171 * paragraph_pimpl.C (insertChar): do not try to update tables when
3172 appending (pos == size())
3174 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3175 in order to reduce drastically the number of comparisons needed to
3176 parse a large document
3178 2002-05-29 André Pönitz <poenitz@gmx.net>
3184 * textclasslist.[Ch]:
3185 * sp_ispell.h: whitespace change
3187 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3189 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3190 lyxaction directly now.
3192 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3196 * lyxvc.C: remove unused headers
3198 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3205 * undo_funcs.C: some cleanups. Use shared_ptr
3206 and a template for the undo stacks.
3208 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3210 * BufferView_pimpl.h:
3211 * BufferView_pimpl.C:
3218 * text2.C: use key_state/mouse_state
3220 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3222 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3225 * chset.C: change include order
3226 (loadFile): use boost regex and get rid of LRegex and LSubstring
3228 * Makefile.am (BOOST_LIBS): new variable
3231 * LaTeX.C: change include order.
3232 (scanAuxFile): use boost regex and get rid of LRegex and
3236 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3241 * FontInfo.C: moved to frontends/xforms/
3244 * FontLoader.C: moved into frontends for GUIIzation
3249 * lyxfunc.C: changes from above
3251 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3253 * LColor.C: remove spurious X include
3255 * BufferView_pimpl.C:
3260 * text2.C: move font metrics to frontends/
3262 2002-05-24 Juergen Vigna <jug@sad.it>
3264 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3265 setting the undo_cursor.
3267 * ParagraphParameters.h: include local includes first.
3269 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3271 * BufferView_pimpl.C:
3272 * BufferView_pimpl.h:
3276 * screen.C: move WorkArea into frontends/
3282 * BufferView2.C: move LyXScreen into frontends/
3286 * lyx_gui.C: move lyxlookup into frontends/xforms/
3288 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3291 * BufferView_pimpl.C:
3301 * bufferview_funcs.C:
3314 * vc-backend.C: move LyX/XFormsView into frontends/
3316 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3328 * text2.C: move Painter to frontends/
3330 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3332 * buffer.C: comment out some some code that depend upon lyx_format
3335 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3336 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3338 * buffer.h (NO_COMPABILITY): turn off compability
3340 * ColorHandler.C: include scoped_array.hpp
3342 * font.C: Use more specific smart_ptr header.
3345 * ShareContainer.h: ditto
3349 * BufferView_pimpl.h: ditto
3350 * ColorHandler.h: ditto
3352 * kbmap.C (defkey): change call to shared_ptr::reset
3354 2002-05-21 Juergen Vigna <jug@sad.it>
3356 * buffer.C (insertErtContents): fix to insert ert asis if it is
3357 non empty. Skip it completely if it contains only whitespaces.
3359 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3361 * BufferView_pimpl.C:
3362 * BufferView2.C: clear selection on paste (bug 393)
3364 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3366 * DepTable.C: include ctime
3368 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3370 * buffer.C (latexParagraphs): Add new argument (moving_arg).
3372 2002-05-14 Juergen Vigna <jug@sad.it>
3374 * text.C (breakParagraph): fixed function to honor the keepempty
3375 layout in the right maner and also to permit the right breaking
3376 algorithm on empty or non empyt keepempty paragraphs.
3378 * paragraph.C (breakParagraph): we have to check also if the par
3379 is really empty (!size()) for isempty otherwise we do the wrong
3382 2002-05-10 Juergen Vigna <jug@sad.it>
3384 * buffer.[Ch] : The following are only changes to the ert
3385 compatibility read reading old LaTeX layout and font stuff and
3386 convert it to ERTInsets.
3388 * buffer.h: added isErtInset().
3390 * buffer.C (struct ErtComp): add a fromlayout bool to check
3391 if we're inside a LaTeX layout.
3392 (isErtInset): new helper function.
3393 (insertErtContents): look for other ert insets before this one
3394 and insert the contents there, so that we don't have subsequent
3395 ERT insets with nothing between them. This way we create only one
3396 inset with multiple paragraphs. Also check if we don't insert only
3397 spaces ' ' as they are ignored anyway afterwards in the .tex file
3398 so if we have only spaces we will ignore this latex part in the
3400 (parseSingleLyXformat2Token \\layout): better compatibility when
3401 reading layout-latex stuff.
3402 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3404 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3405 stuff after reading the inset only get the information back from
3408 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
3410 * buffer.C (makeLaTeXFile): Put language options after loading babel.
3412 * LaTeXFeatures.C (getBabelOptions): New method.
3414 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3416 * BufferView_pimpl.C (Dispatch): work around missing argument for
3419 2002-05-08 Juergen Vigna <jug@sad.it>
3421 * text.C (leftMargin): handle paragraph leftindent.
3423 * paragraph.C (writeFile): write the new \\leftindent tag.
3424 (validate): handle leftindent code.
3425 (TeXEnvironment): handle paragraphleftindent code again.
3427 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3429 * buffer.C (parseSingleLyXformat2Token): added compatibility code
3430 for paragrap_extra indent code and new token \\leftindent.
3431 (latexParagraphs): handle the leftindent as environment.
3433 * ParameterStruct.h: added leftindent support.
3435 * ParagraphParameters.C (leftIndent): added support functions for
3436 the paragraph left indent.
3438 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
3441 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3443 * paragraph.C (isRightToLeftPar): Return false for a paragraph
3446 * text.C (computeBidiTables): No bidi in insetERT.
3448 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
3451 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3453 * version.C.in: pre 5
3455 2002-05-02 José Matos <jamatos@fep.up.pt>
3456 * buffer.C (makeDocBookFile): white space changes, add newline to
3458 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
3460 * tabular.C (docBook): fix typo.
3462 2002-05-03 Juergen Vigna <jug@sad.it>
3464 * screen.C (drawFromTo): recalculate the rowpointer if we had a
3465 change in LyXText as we can not be sure it was not freed.
3466 (drawOneRow): remove unused code.
3468 * text.C (drawInset): redo the calculation of the need_break_row as
3469 it could have a row which was already freed.
3470 (draw): look at the return value of drawInset and return false if
3471 it also returned false.
3472 (paintRowText): look at the return value of draw and return false if
3473 it also returned false.
3475 * lyxtext.h: added bool return type to drawInset() and draw() so that
3476 if we have a change in the row so that the rowbreak has to be redone
3477 we abort drawing as it will be called again.
3479 2002-05-02 Juergen Vigna <jug@sad.it>
3481 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
3482 a change in the maintext also if we're inside an inset.
3483 (Dispatch): set the cursor again after a break line and after the
3484 screen has been updated as it could be we're in a different row.
3486 * text2.C (fixCursorAfterDelete): check to make sure we don't request
3487 to set the cursor behind the pargraph with > size().
3488 (setCursor): check also for the same paragraph when checking where
3489 to put the cursor if we have a NFR inset.
3491 * buffer.C (parseSingleLyXformat2Token): move the compatibility
3492 parts of layout read further up as it still was in the wrong
3495 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3497 * screen.C (drawFromTo): change sine fullRebreak always return
3500 * buffer.C (parseSingleLyXformat2Token): reindent some
3502 * BufferView_pimpl.C (update): change since fullRebreak always
3504 (Dispatch): git rid of the last hardcoded "Standard"s.
3506 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3508 * text2.[Ch] (fullRebreak): make it return void now that we always
3511 2002-04-30 Juergen Vigna <jug@sad.it>
3513 * buffer.C (parseSingleLyXformat2Token): reset the font before the
3514 ert compatibility check for "latex" layout.
3516 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
3518 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3519 minipages: use col% instead of p%, and also use the current font.
3520 (makeLaTeXFile): Fix use babel condition.
3521 (parseSingleLyXformat2Token): Correct font when reading old floats.
3523 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3525 * BufferView_pimpl.C (Dispatch): Check that float type exists when
3526 inserting list of floats.
3528 2002-04-25 Herbert Voss <voss@lyx.org>
3530 * MenuBackend.C (expand): don't add the graphics extensions to the
3533 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3535 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3536 non-existing layout, do not complain if it was the default layout
3537 of the original class (bug #342)
3539 2002-04-24 Juergen Vigna <jug@sad.it>
3541 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3542 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3544 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3546 * buffer.C (getBibkeyList): If using \bibliography, return the
3547 option field with the reference itself. Enables us to provide natbib
3548 support when using \bibliography.
3550 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
3552 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3554 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3555 natbib is provided by the LaTeX class.
3557 2002-04-23 Juergen Vigna <jug@sad.it>
3559 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3562 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3564 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3566 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3568 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3569 ensuremath around textordmasculine, textordfeminine and
3572 2002-04-19 Juergen Vigna <jug@sad.it>
3574 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3575 reinitializing the buffer otherwise row-dimensions may be wrong.
3576 (update): reset also the selection cursors if they do exits otherwise
3577 their x/y positions may be wrong.
3579 * text2.C (cursorDown): don't enter the inset if we came from a row
3580 above and are one row over the inset.
3582 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3583 really leaving an inset.
3585 2002-04-18 Juergen Vigna <jug@sad.it>
3587 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3588 of the selected paragraph does not have the selected layout also if
3591 * text2.C (setLayout): fixed bug which did not change last selected
3594 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3595 changed the read and substituted \\end_float with \\end_inset!
3597 * BufferView_pimpl.C (cursorPrevious):
3598 (cursorNext): fixed to make it work with rows heigher than the work
3599 area without moving the cursor only the draw of the row.
3600 (workAreaMotionNotify): fix jumping over high rows.
3602 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3604 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
3607 2002-04-16 Juergen Vigna <jug@sad.it>
3609 * text2.C (setCursor): set also the irow().
3610 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
3612 (cursorDown): support for locking an inset if the x_fix value goes
3613 inside it. That way I can transverse insets too with cursor up/down.
3615 * lyxrow.h: added irow helper function same as other (i) functions.
3617 * BufferView_pimpl.C (cursorPrevious):
3618 (cursorNext): fixed for insets!
3620 2002-04-15 Juergen Vigna <jug@sad.it>
3622 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
3623 position otherwise it is wrong in some cases.
3625 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
3626 inside the inset before the call.
3628 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3630 * buffer.[Ch] (getBibkeyList): make it const.
3632 2002-04-12 Juergen Vigna <jug@sad.it>
3634 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
3636 * text2.C (getCursorX): new helper function
3637 (setCursor): compute also ix_
3638 (setCursorFromCoordinates): set also ix.
3640 * lyxcursor.h: added ix_ and helper functions.
3642 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
3644 * buffer.C (insertStringAsLines): dont break paragraph if the this
3645 paragraph is inside an inset which does not permit it!
3647 * text.C (breakParagraph): honor keepempty flag and break the paragraph
3648 also with no chars on this paragraph.
3649 (paintRowText): only paint stuff if it's inside the workarea!
3651 * paragraph.C (breakParagraph): honor keepempty flag and break the
3652 paragraph always below not above.
3654 * BufferView2.C (unlockInset): update the paragraph layout on inset
3655 unlock as we changed paragraph in such a case.
3657 * lyxfind.C (LyXFind): clear the former selection if not found!
3659 * text2.C (insertInset): freeze Undo after setUndo so that it is not
3660 again called in insertChar().
3662 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
3663 an inset which uses the whole row!
3664 (rightMargin): ditto.
3665 (insertChar): force a rebreak if we inserted an inset!
3667 2002-03-28 Herbert Voss <voss@lyx.org>
3669 * lyxlength.[Ch]: add inBP() to get the right PS-point
3670 units (BigPoint). With inPixels we have rounding errors
3672 2002-04-11 Juergen Vigna <jug@sad.it>
3674 * text2.C (setCursorFromCoordinates): set iy to the right value.
3675 (setCursor): add check if row->previous exists!
3677 * buffer.C (parseSingleLyXformat2Token): reset font after read of
3678 an old float_type as this was the case in the old code!
3680 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
3682 * BufferView2.C (showLockedInsetCursor): use iy
3683 (fitLockedInsetCursor): ditto
3685 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
3686 locked insets as there we have the right value now.
3688 * lyxcursor.C: added iy_ variable and iy functions to set to the
3689 baseline of cursor-y of the locked inset.
3691 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
3692 (setCursor): fixed for insets which need a full row.
3694 * text.C (rowLastPrintable): don't ignore the last space when before
3695 an inset which needs a full row.
3696 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
3697 as last character of a row when before a inset which needs a full row.
3699 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3701 * version.C.in: update date
3703 * text2.C (fullRebreak): try to always return true and see what
3706 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3708 * MenuBackend.C (expand): use Floating::listName
3710 * FloatList.C (FloatList): add listName argument to the built-in
3713 * Floating.[Ch]: add listName member, which is the 'List of XXX'
3714 text associated with the float.
3716 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3718 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
3720 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3722 * ShareContainer.h: add a couple of missing typenames.
3724 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
3726 * lyxrc.C (getDescription): use _() correctly rather than N_().
3728 2002-03-28 Herbert Voss <voss@lyx.org>
3730 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
3731 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
3733 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3735 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
3736 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
3738 2002-03-29 Juergen Vigna <jug@sad.it>
3740 * lyxfunc.C (dispatch): add a missing fitCursor call.
3742 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
3743 it was scrolled by a cursor move, so return the bool status.
3745 * BufferView.C (fitCursor): return the bool flag also to the outside
3746 world as this is needed.
3748 * screen.C (toggleToggle): don't subtract the offset if it's positive.
3750 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
3751 call the edit() as it is not needed (and wrong) IMO.
3752 (workAreaButtonPress): set the screen_first variable before evt.
3753 unlock the inset as this may change screen_first and then we have
3754 a wrong y position for the click!
3756 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3758 * MenuBackend.C (expand): another translation that I missed
3760 2002-03-28 Juergen Vigna <jug@sad.it>
3762 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
3764 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
3766 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3768 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
3770 * MenuBackend.C (expand): fix export/view/update when there is no
3773 2002-03-27 Herbert Voss <voss@lyx.org>
3775 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
3778 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3780 * bufferview_funcs.C (currentState): only show paragraph number
3781 for is DEVEL_VERSION is set.
3783 * lyxfunc.C (dispatch): put warning in INFO channel
3785 * MenuBackend.C (expand): translate the name of floats
3787 * FloatList.C (FloatList): mark the float names for translation
3789 * converter.C (convert): use LibScriptSearch
3791 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3793 * MenuBackend.C (defaults): fix default menu (we might as well get
3796 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3798 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
3801 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3803 * lyxvc.C: reorder includes.
3805 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
3807 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
3810 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
3812 * CutAndPaste.C: change layouts earlier on paste
3813 to avoid crashing when calling getFont()
3815 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3817 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
3820 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3822 * WorkArea.C: remove 'Pending' debug message.
3824 * most files: ws cleanup
3826 * buffer.[Ch]: ws changes
3828 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
3830 2002-03-21 Juergen Vigna <jug@sad.it>
3832 * tabular.C (SetMultiColumn): collapse also the contents of the
3833 cells and set the last border right. Added a Buffer const * param.
3835 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3837 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
3840 2002-03-19 Juergen Vigna <jug@sad.it>
3842 * text2.C (clearSelection): reset also xsel_cache.
3844 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
3845 where it needs to be called (John tells us to do so too :)
3846 (selectionLost): reset sel_cache.
3848 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
3850 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3852 * text2.C (setCursorIntern): put debuging code in INSETS channel
3854 2002-03-19 André Pönitz <poenitz@gmx.net>
3856 * lyxfunc.C: tiny whitespace change
3858 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3860 * ToolbarDefaults.C (init):
3861 * LyXAction.C (init):
3863 * BufferView_pimpl.C (Dispatch):
3864 * lyxfunc.C (dispatch): remove LFUN_DEPTH
3866 2002-03-19 Allan Rae <rae@lyx.org>
3868 * exporter.C (Export): removeAutoInsets before doing anything else.
3869 While I've just introduced a dependency on BufferView this really is
3870 the best place to clean the buffer otherwise you need to cleanup in
3871 a dozen places before calling export or cleanup in a dozen functions
3874 * converter.C (runLaTeX):
3875 (scanLog): Better handling of removeAutoInsets and screen updates.
3877 * lyxfunc.C (dispatch): small whitespace changes
3879 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3881 * WorkArea.C (C_WorkAreaEvent): return a value.
3882 (event_cb): return 1 if we handled the event, 0 otherwise.
3884 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
3886 2002-03-18 Juergen Vigna <jug@sad.it>
3888 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
3889 (GetAdditionalWidth): ditto.
3893 * BufferView2.C (copy): use getLyXText() so that we do it inside an
3894 inset if we're there actually (probably not used right now but this
3895 is the direction to go for unifying code).
3896 (paste): disable code to clear the selection.
3898 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
3899 inside an InsetText and move the check further up as it is in the
3902 * text2.C (pasteSelection): set a selection over the pasted text.
3904 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
3906 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
3907 and libgraphics to build on Cygwin.
3909 2002-03-15 Juergen Vigna <jug@sad.it>
3911 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
3912 inserting an Inset into the paragraph. I know this is not the best
3913 fix but we already use current_view in CutAndPaste so we will remove
3914 all of it's using at the same time.
3916 * buffer.C (sgmlError): deactivated function till it is rewritten in
3917 the right mode, now it can create problems.
3919 * paragraph.C (isLineSeparator): check if getInset returns != 0,
3920 before accessing it.
3922 2002-03-14 Juergen Vigna <jug@sad.it>
3924 * undo_funcs.C (textHandleUndo): do the right thing when updating
3925 the inset after the undo/redo.
3927 * text2.C (setCursor): just some testcode for #44 not ready yet.
3929 * undo_funcs.C (textHandleUndo): set the next() and previous()
3930 pointers of the paragraph to 0 before deleting otherwise we have
3931 problems with the Paragraph::[destructor].
3933 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
3934 on a paragraph insertion.
3936 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3938 * buffer.C (asciiParagraph): use += operator for char append to
3941 * paragraph.C (getFontSettings): compare >= not just >
3942 (highestFontInRange): ditto
3945 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3947 * paragraph.C: change several algorithm to be more appripriate for
3948 the problem domain. This is lookip in FontList and in the InsetList.
3950 2002-03-13 André Pönitz <poenitz@gmx.net>
3953 * LyXAction.C: remove unused LFUN_MATH_MACROARG
3955 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
3960 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
3962 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3964 * Painter.C (display): anon helper function, adjust code for this
3966 (pixmap): remove function.
3968 * Painter.h: remove private display variable.
3970 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
3972 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
3974 * WorkArea.[Ch]: remove figinset_canvas cruft.
3976 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3978 * lyxtextclass.C (operator): add one item cache optimization.
3980 * bufferlist.h: doxy changes
3982 * bufferlist.C: ws changes
3984 * DepTable.[Ch] (ext_exist): place const in the right spot.
3986 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
3988 (workAreaExpose): call resizeInsets when the with BufferView changes.
3989 (Dispatch): adjust for protectedBlank removal
3990 (specialChar): call updateInset if the insert went ok.
3992 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
3993 specialChar instead.
3995 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
3997 * BufferView.h: doxy change
3999 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4001 * lyxtextclass.C (operator[]): remove non-const version
4002 (defaultLayout): remove non-const version
4004 2002-03-12 Juergen Vigna <jug@sad.it>
4006 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4007 did resize the LyXText too.
4009 * buffer.C (readLyXformat2): set layout information on newly allocated
4012 * tabular.C (OldFormatRead): set layout information on the paragraph.
4014 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4016 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4018 2002-03-11 Juergen Vigna <jug@sad.it>
4020 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4022 (resizeCurrentBuffer): force also the insets to resize themselfes.
4023 (moveCursorUpdate): fixed up for InsetText.
4025 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4028 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4029 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4030 value of Dialogs::tooltipsEnabled().
4031 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4033 2002-03-08 Juergen Vigna <jug@sad.it>
4035 * BufferView_pimpl.C (updateInset): update inset inside inset also
4036 if it isn't inside theLockingInset().
4038 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4040 * buffer.C (asciiParagraph): redo some of the word and line length
4042 (getLists): look for Caption instead of caption.
4044 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4046 * buffer.C (Buffer): initialize niceFile to true
4049 (makeDocBookFile): make sure niceFile is true on exit
4051 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4053 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4055 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4057 * LyXSendto.C: remove.
4058 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4059 * lyx_gui.C: remove now-redundant comment.
4060 * ColorHandler.h: remove forward declaration of class WorkArea.
4061 * lyxfunc.C: remove #include "WorkArea.h".
4063 2002-03-07 Juergen Vigna <jug@sad.it>
4065 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4066 got moved away with the DEPM and also set the inset_owner always
4067 right which before could have been omitted.
4069 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4071 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4072 wanted layout is not found.
4074 2002-03-07 Juergen Vigna <jug@sad.it>
4076 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4078 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4080 * paragraph.C (breakParagraph): use default layout not layout of
4082 (Paragraph): clear ParagraphParameters.
4084 2002-03-06 Juergen Vigna <jug@sad.it>
4086 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4087 otherwise it would not be a valid lenght. Fixed a special case in
4088 the minipage compatibility read where we end the document with a
4091 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4092 was set as it could be 0 for InsetTexts first entry.
4094 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4096 * paragraph.C (writeFile): if layout is empty write out
4097 defaultLayoutName().
4099 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4100 file without named layout we set layout to defaultLayoutName().
4102 2002-03-06 Juergen Vigna <jug@sad.it>
4104 * CutAndPaste.C (copySelection): set layout for new paragraph.
4106 * text.C (prepareToPrint): leave ERT inset left aligned
4107 (leftMargin): don't indent paragraphs inside ERT insets
4109 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4111 * paragraph.C (breakParagraph): dont call clear do the work manually
4113 * paragraph.[Ch] (clear): remove function
4115 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4117 * paragraph.C (Paragraph): dont call clear, the work has already
4120 * lyxtextclass.C (operator): assert if n is empty
4122 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4123 work manually instead.
4125 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4127 * BufferView_pimpl.C: protect selectionLost against text == 0
4129 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4131 * text.C (breakParagraph): fix a setting layout to '0' problem.
4133 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4135 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4136 final location of file, for the included files, and graphics.
4138 2002-03-05 Juergen Vigna <jug@sad.it>
4140 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4142 2002-03-04 Juergen Vigna <jug@sad.it>
4144 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4146 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4147 last column of multicolumn cells.
4148 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4150 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4152 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4153 file if it doesn't go to a temporary file.
4155 * buffer.C (sgmlOpenTag):
4156 (sgmlCloseTag): remove extra newline insertion.
4158 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4160 * text.C (getRowNearY): comment out debug msg
4162 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4164 * text2.C: first -> first_y
4166 * text.C (getRowNearY): add some attemts at a possible
4167 optimization, not working.
4169 * tabular.[Ch]: add BufferParams to several function so that newly
4170 created paragraph can be initialized to he default layotu for the
4173 * tabular-old.C (ReadOld): add buf->params to call of Init
4175 * screen.C: rename text->first to text->first_y
4177 * paragraph.C (breakParagraph): always set layout in the broken
4180 * lyxtextclass.C (Read): remove lowercase
4183 (delete_layout): ditto
4185 * lyxtext.h: rename first -> first_y
4187 * lyxlayout.C (Read): remove lowercase
4190 (obsoleted_by): ditto
4192 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4194 * buffer.C (insertErtContents): add params are to InsetERT
4195 (parseSingleLyXformat2Token): add code to check if a paragraphs
4196 layout really exist.
4197 (parseSingleLyXformat2Token): add params to several inset
4199 (asciiParagraph): remove lowercase, do the layout comparisons with
4202 * BufferView_pimpl.C (cursorNext): first -> first_y
4203 (resizeCurrentBuffer): first -> first_y
4204 (updateScrollbar): first -> first_y
4205 (scrollCB): first -> first_y
4206 (workAreaMotionNotify): first -> first_y
4207 (workAreaButtonPress): first -> first_y
4208 (checkInsetHit): first -> first_y
4209 (cursorPrevious): first -> first_y
4210 (cursorNext): first -> first_y
4211 (Dispatch): add buffer_->params to severl inset contructors
4213 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4215 * lyxlayout.C (Read): remove some debug info that I forgot.
4217 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4218 clean up the code slightly.
4219 (makeLinuxDocFile): ditto
4220 (makeDocBookFile): ditto
4222 * text2.C: layout as string
4224 * text.C: layout as string
4226 * paragraph_pimpl.C: layout as string
4228 * paragraph.[Ch]: layout as string
4230 * lyxtextclasslist.[Ch]: layout as string
4232 * lyxtextclass.[Ch]: layout as string
4234 * lyxtext.h: layout as string
4236 * lyxlayout.[Ch]: layout as string
4238 * lyx_cb.C: layout as string
4240 * bufferview_funcs.C: layout as string
4242 * bufferparams.C: layout as string
4244 * buffer.C: layout as string
4246 * LyXView.[Ch]: layout as string
4248 * LaTeXFeatures.[Ch]: layout as string
4250 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4252 * BufferView_pimpl.C: change current_layout to string, remove
4257 (workAreaButtonRelease): layout as string
4259 * BufferView2.C (unlockInset): adjust
4261 * vspace.C (asLatexCommand): use an explict temp variable.
4263 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4265 * Makefile.am: use FRONTEND_*
4267 2002-03-01 Juergen Vigna <jug@sad.it>
4269 * tabular.C (SetWidthOfMulticolCell): changed to something better
4270 I hope but still work in progress.
4271 (recalculateMulticolumnsOfColumn): renamed function from
4272 recalculateMulticolCells as it is more appropriate now.
4273 (SetWidthOfCell): calculate multicols better.
4275 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4277 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4279 * lyxfunc.C (processKeySym): print sequence also if it is
4280 `deleted' (complete)
4282 * kbsequence.C (print): print sequence even if it is deleted
4283 (complete would be a better word, actually).
4285 * lyxfunc.C (dispatch): print complete options after a prefix key
4287 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4289 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4291 * text2.C (setCharFont): eliminate setCharFont code duplication.
4293 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4295 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4296 LFUN_TABULAR_FEATURE (bug #177)
4298 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4300 * Makefile.am: remove figure.h
4302 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4304 * Bufferview_pimpl.C:
4316 * text2.C: remove #include "lyx_gui_misc.h".
4318 * LaTeX.C: added #include <cstdio>
4320 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4322 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4323 that the paragraph following this one can have.
4325 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4327 * vspace.C (asLatexCommand): fix bogus gcc warning
4329 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4331 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4333 * text2.C (setLayout): get rid of redundant code
4335 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4337 * text2.C (incDepth): make sure depth cannot be increased beyond
4340 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4342 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4343 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4345 * PainterBase.h (image):
4346 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4349 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4353 * BufferView_pimpl.C:
4354 * BufferView_pimpl.h:
4374 * sp_spell.C: remove fig inset, and the crap house of
4375 cards that follows it
4377 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4383 * nt_defines.h: move .h into support/
4385 * vms_defines.h: remove
4387 * WorkArea.C: add space in debug output
4391 * buffer.C: add WITH_WARNINGS
4395 * bufferlist.C: s/retrive/retrieve/, add docs
4406 * lyxgui.C: add ID to X error handler
4408 * lyxtestclass.c: fix typo
4410 2002-02-26 Juergen Vigna <jug@sad.it>
4412 * tabular_funcs.C (write_attribute): changed so that some default
4413 attributes are not written at all.
4414 (getTokenValue): set default values before trying to read the
4415 value so we have the return value always set as default if we don't
4416 find the token we search for.
4418 * tabular.C (Write): write bools as bools not as strings!
4420 2002-02-22 Juergen Vigna <jug@sad.it>
4422 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4423 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4425 * text.C (leftMargin): don't add an indent for paragraphs inside
4426 tabular cells (fix #208).
4428 2002-02-21 José Matos <jamatos@fep.up.pt>
4430 * tabular.C (docBook): fixed support for long tables.
4432 2002-02-20 Juergen Vigna <jug@sad.it>
4434 * text2.C (getFont): get the drawing font of the Inset if this
4435 paragraph is inside an inset (only important for InsetERT for now).
4437 * buffer.C (insertErtContents): use new lanugage params in ERT
4440 * CutAndPaste.C: commenting out seemingly uneeded code.
4442 2002-02-19 Allan Rae <rae@lyx.org>
4444 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
4445 Iterators might be simple to use but they also get invalidated.
4446 (removeAutoInsets): renamed saved cursor tracking variables and added
4447 some comments to clarify what everything does.
4449 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4456 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
4457 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4460 * vc-backend.h: remove #include "support/syscall.h"
4464 * converter.C: rearrange #includes in Lars' approved fashion.
4466 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
4467 forward declare class Timeout in the header file.
4469 * XFormsView.C: changes due to the above.
4471 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
4474 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
4475 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
4477 2002-02-18 José Matos <jamatos@fep.up.pt>
4479 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
4482 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4484 * a lot of small ws changes
4485 * add a lot of using std::XXX
4486 * use std construcs some places where approp.
4487 * use some exisint stuff from lyxfunctional where approp.
4488 * Make file changes to use partial linking (lets test this now...)
4490 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4494 remove #include "support/syscontr.h" as it's redundant. Always has been.
4502 change Systemcalls::System to Systemcalls::Wait and
4503 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4504 No change of functionality, just reflects the stripped down Systemcalls
4507 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4509 * debug.[Ch]: add a GRAPHICS type to the enum.
4511 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4513 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4515 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4518 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4520 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4521 match the changes below.
4523 * text2.C (toggleInset): if there is not editable inset at cursor
4524 position, try to see if cursor is _inside_ a collapsable inset
4527 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4529 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4530 document menu has a nice checkbox
4532 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4534 * lyxlength.C (asLatexString): change PW to output as percent of
4537 * lengthcommon.C: change '%' to 't%'
4539 * lyxfunc.C (dispatch): a few comments from Martin
4541 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
4545 * BufferView_pimpl.h:
4546 * BufferView_pimpl.C: clear our selection when X tells us we've lost
4549 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4551 * vspace.C (inPixels): fix compiler warning
4553 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4555 * lyxfunc.C (getStatus): fix status message for disabled commands.
4557 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
4559 * BufferView_pimpl.C: fix crash on close buffer
4560 during selection (#227)
4562 2002-01-27 Herbert Voss <voss@lyx.org>
4564 * buffer.C: link old Figure to new graphic inset
4566 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
4568 * FontLoader.C (getFontinfo): Change the latex font names in order
4569 to match the names of type1inst.
4571 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4573 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4575 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4578 (remove_files_with_extension): ditto
4579 (remove_file): ditto
4582 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4583 document is smaller than the work area height. Do not initialize
4584 static variables to 0.
4586 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4588 * lyx_gui.C (init): give the toolbar tooltips a normal font.
4590 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4591 LFUN_LAYOUT_PARAGRAPHS.
4593 * tabular.C (GetCellFromInset): new method. Finds an inset in a
4594 tabular. It is possible to provide a possible cell, which will
4595 typically be the actcell from the corresponding insettabular
4597 * lyxfunc.C (getStatus): small cleanup; disable
4598 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4601 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4603 * tabular.C (Validate): remove broken optimization (fixes bug #201)
4605 * paragraph.C (startTeXParParams):
4606 (endTeXParParams): new methods. The LaTeX code to
4607 start/end paragraph formatting
4608 (simpleTeXOnePar): call startTeXParParams also when paragraph is
4609 empty (fixes bug #200)
4611 * vspace.C (inPixels): adapt to the change below
4612 (inPixels): [later] more cleanups (remove unused variables)
4614 * lyxlength.C (inPixels): change to use a width and a height as
4617 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4619 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
4620 Replaced with \paperwidth
4622 * DepTable.C (insert): add std:: qualifier
4624 2002-01-18 Allan Rae <rae@lyx.org>
4626 * text2.C (removeRow): add comment. Should other refresh_?? vars be
4629 * text.C (drawInset): Turned out I didn't know enough about how
4630 rebreaking worked. This fixes most of the redraw problems. I see
4631 an occasional cursor trail when a line is broken now and the cursor
4632 placement can seem out by a few pixels also after a rebreak.
4634 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4636 * buffer.C (parseSingleLyXformat2Token): update because minipage
4637 width is now a LyXLength
4639 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
4641 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
4644 2002-01-17 Juergen Vigna <jug@sad.it>
4646 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
4648 * BufferView2.C (lockInset): call edit() so that theLockingInset()
4649 is set correctly and the inset is updated correctly.
4651 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4653 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
4654 the beginning of the loop.
4656 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
4658 * lyxrc.C: improve help for use_scalable_fonts
4660 2002-01-17 Allan Rae <rae@lyx.org>
4662 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
4664 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4666 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
4667 make sure to set their inset_owner to the right value (bug #171)
4669 2001-12-12 Ben Stanley <bds02@uow.edu.au>
4672 * DepTable.C: Implement mtime checking to reduce time spent doing
4675 2002-01-16 Juergen Vigna <jug@sad.it>
4677 * tabular.C (GetAdditionalHeight): one of error fixed.
4679 * lyxrc.C (output): small fix in writing use_pspell.
4681 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
4683 * sp_base.h: #include LString.h
4685 2002-01-16 Allan Rae <rae@lyx.org>
4687 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
4688 Can someone check this please?
4690 * text.C (drawInset): It was possible that p.row would be removed by
4691 breakAgainOneRow upsetting a few other settings. There may be another
4692 small tweak possible by setting need_break_row = 0 when p.row has been
4693 removed but I don't know enough about the logic here.
4695 2002-01-15 Allan Rae <rae@lyx.org>
4697 * text.C (insertChar): removed conditional truism.
4699 * BufferView2.C (removeAutoInsets): More tweaks.
4700 cur_par_prev could be a stray pointer. Check for trailing empty line
4701 in case last line was cur_par and only had an error inset on it.
4703 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4705 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
4708 * vc-backend.C (most methods):
4709 * exporter.C (Export):
4710 * converter.C (convert):
4712 * LyXSendto.C (SendtoApplyCB):
4713 * lyxfunc.C (dispatch):
4717 * lyx_cb.C (AutoSave):
4719 * BufferView_pimpl.C (MenuInsertLyXFile):
4720 * buffer.C (runChktex): use Buffer::filePath().
4722 * buffer.h: rename filename to filename_; rename filepath to
4723 filepath_ and make it private
4724 (filePath): new method
4726 * buffer.C (writeFile): use fileName()
4729 * lyx_main.C (init): fix starting of LyX when the binary is a
4730 link from so,ewhere else.
4732 * minibuffer.C: include <cctype> for isprint
4734 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4736 * buffer.C (parseSingleLyXformat2Token): changes associated with the
4737 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
4738 name clash with InsetCollapsable's width function.
4740 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4742 * lastfiles.C: include <iterator>
4744 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4746 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
4749 * buffer.C (makeLaTeXFile): ditto.
4750 Also make loop operation more transparent.
4752 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4754 * ToolbarDefaults.C: remove trailing comma closing namespace.
4756 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
4758 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
4761 * trans.C (Load): comment out unused variable, allowed.
4763 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4765 * minibuffer.[Ch] (append_char): new method to recieve input from the
4766 drop-down completion browser. If a key was pressed, then recieve this
4767 char and append it to the existing string.
4768 (peek_event): modify the positioning data passed to the completion
4769 browser so that it can be placed above the minibuffer rather than below.
4770 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4772 * LyXAction.C (init): alloe error-next for readonly documents.
4774 * BufferView2.C (ChangeRefsIfUnique): use standard version of
4777 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4779 * bufferlist.C (readFile): create the buffer _after_ checking that
4782 * lyxfunc.C (verboseDispatch): fix handling of arguments
4784 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
4786 * lyxrc.C: use string::erase() instead of initializing to "".
4789 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4791 * BufferView_pimpl.h:
4792 * BufferView_pimpl.C:
4795 * text2.C: tell X when we have made a selection for copying
4797 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4799 * BufferView_pimpl.C (MenuInsertLyXFile):
4800 * lyxfunc.C (menuNew):
4802 (doImport): add shortcuts to directory buttons
4804 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
4807 * lyxfunc.C (setStatusMessage):
4808 (getStatusMessage): new methods
4809 (getStatus):use setStatusMessage instead of setErrorMessage
4810 (dispatch): when function is disabled, set error message here
4811 [instead of in getStatus previously]
4813 * BufferView_pimpl.C (workAreaButtonRelease): update
4814 toolbar/menubar here too.
4816 2002-01-13 Allan Rae <rae@lyx.org>
4818 * BufferView2.C (removeAutoInsets): finished off earlier fix.
4819 Now seems indestructible. Remaining task is to audit all other
4820 code affected by deleteEmptyParagraphMechanism. One small quirk
4821 left is that an empty document with an error in the preamble can
4822 be made to report an error but no error box appears. I don't know
4824 (removeAutoInsets): Improved comments.
4826 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
4829 * Thesaurus.C: update for Aiksaurus 0.14
4831 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4833 * text2.C (firstParagraph): removed member function, all uses
4834 replaces with ownerParagraph
4835 (redoParagraphs): here
4837 (toggleAppendix): here
4838 * BufferView2.C (insertErrors): here
4839 (setCursorFromRow): here
4841 2002-01-13 Allan Rae <rae@lyx.org>
4843 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
4844 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
4845 There is still a way to segfault this although you may have to do this
4846 multiple times: Have an InsetERT with an unknown command in it.
4847 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
4848 <down-arrow>, <Enter> again, View->DVI, BANG!
4850 * text2.C (setCursor):
4851 (deleteEmptyParagraphMechanism):
4852 * lyxtext.h (setCursor):
4853 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
4854 Making use of the return value may help fix other bugs.
4856 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4858 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
4860 * LyXView.C (updateMenubar): call MenuBar::update here
4861 (updateToolbar): but not here
4862 (showState): do not update toolbar/menubar
4864 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
4865 should need to care about that.
4867 * lyxfunc.C (verboseDispatch): simplify a bit
4868 (getStatus): have a version which takes a pseudoaction, and
4869 another which requires a (kb_action,string).
4871 * LyXAction.C (retrieveActionArg): make it work also when action
4872 is not a pseudo-action.
4873 (getActionName): simplify a bit
4876 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4878 * lyxfunc.C (verboseDispatch): new families of methods with
4879 several ways to specify a command and a bool to indicate whether
4880 the command name and shortcut should be displayed in minibuffer
4881 (eventually, we could extend that to a finer bitmask like
4882 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
4883 (dispatch): the pristine dispatch command which just, well,
4884 dispatchs! Note it still sets its result to minibuffer; I'm not
4887 * lyxfunc.h: remove setHintMessage
4889 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
4891 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4893 * BufferView_pimpl.C (specialChar): delete new inset if we have
4894 not been able to insert it.
4896 * kbmap.C: revert to using int instead of kb_action, since all we
4897 are dealing with is pseudo-actions.
4899 * LyXAction.C (searchActionArg): change to return int instead of
4900 kb_action, since the result is a pseudoaction.
4902 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
4904 * buffer.C (insertErtContents): Fix (partially) the font bug.
4906 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4908 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
4909 as the other one is broken on my machine!
4911 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
4914 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
4916 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
4918 * lyxrc.[Ch]: change names and descriptions of popup font variables to
4919 reflect their actual use. Provide compatibility code for older lyxrc
4922 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
4924 change names of popup font variables in line with the changes to lyxrc.C
4926 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4928 * buffer.C (asciiParagraph): avoid outputing a word twice after
4931 * lyxrc.C (getDescription): document that document_path and
4932 template_path can be empty.
4934 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4936 * LaTeXFeatures.C (getMacros):
4937 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
4939 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
4941 * LaTeXFeatures.C (useFloat): require "float" here instead of in
4943 (getPackages): rename feature "floats" to "float". Use an array to
4944 iterate over 'simple' features (i.e. just a \usepackage). Add
4945 handling of "amsmath" (renamed from "amsstyle").
4947 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
4949 * LaTeXFeatures.C (require): Prevent duplicate entries in the
4952 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
4954 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
4955 FuncStaus::FuncStatus & FuncStaus::some_method().
4957 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4959 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
4960 of the func_satus stuff. Edited and massaged in various ways by
4963 * lyxfunc.C (getStatus): use FuncStatus
4965 2002-01-08 Juergen Vigna <jug@sad.it>
4967 * text.C (nextBreakPoint): use function Inset::isChar().
4969 * paragraph.C (TeXOnePar): use function
4970 Inset::forceDefaultParagraphs.
4972 * buffer.C (latexParagraphs): use function
4973 Inset::forceDefaultParagraphs.
4975 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4977 * lyx_gui.C (init): set the style of the menu popups to
4978 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
4980 2002-01-07 Juergen Vigna <jug@sad.it>
4982 * text.C (setHeightOfRow): small fix
4983 (prepareToPrint): don't look at alignment if we don't have the place
4986 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4988 * box.C: New file. Move the Box methods and functions out of box.h,
4989 following Lars' suggestion.
4991 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4993 * box.h: #include "support/LOstream.h", needed for inlined function.
4996 * lyxtextclasslist.C: added some using std declarations.
4998 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5000 * box.h: make signed dimensions to allow insets wider than
5001 the screen (bug #162)
5003 * BufferView_pimpl.C: add some insetHit debug
5005 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5007 * vc-backend.C: add FIXME
5009 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5011 * lyxfunc.C (getStatus): enable code for showing math font status
5014 2002-01-07 Juergen Vigna <jug@sad.it>
5016 * text.C (nextBreakPoint): removed debug output not needed anymore.
5018 2002-01-06 Juergen Vigna <jug@sad.it>
5020 * text.C (nextBreakPoint): fixed up this function we had this bug
5021 since ever but now hopefully we break row better.
5022 (insertChar): we have to check if an inset is the next char as it
5023 could now happen that a large inset is causing a break.
5025 2002-01-05 Juergen Vigna <jug@sad.it>
5027 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5028 if it doesn't like to be drawed.
5030 2002-01-04 Juergen Vigna <jug@sad.it>
5032 * BufferView2.C (lockInset): forgot to set a cursor.
5034 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5036 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5041 * form_maths_panel.C:
5042 * form_maths_panel.h:
5043 * form_maths_panel.fd: implemented sub- and super- buttons in math
5046 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5047 (or ^ space) to be used as in TeX (req'd by André).
5049 * lyxfunc.C: Allow ^ and _ again to be used both as
5050 super/subscript (mathed) and as themselves (in text).
5052 2002-01-03 Allan Rae <rae@lyx.org>
5054 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5055 "LyX" or the filename of the current buffer if it has one. This is a
5056 modified form of John Levon's patch.
5058 * XFormsView.C (setWindowTitle): also set icon title.
5060 * LyXView.h (setWindowTitle): signature changed.
5061 * XFormsView.h (setWindowTitle): ditto.
5063 2002-01-02 Juergen Vigna <jug@sad.it>
5065 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5067 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5069 * screen.C (topCursorVisible): introduce a temp var for
5070 text->cursor.row(), handle the case where this row is null. (kindo
5073 * text2.C (setCursor): add a couple of asserts.
5075 * paragraph.h (inset_iterator): add -> operator
5077 * paragraph.[Ch] (autoDeleteInsets): remove member function
5079 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5080 cursor pos correctly and handle inset deletion by itself.
5081 (insertErrors): move iterator declaration out of for expression
5083 * lyxtextclass.C: add <algorithm>
5085 * Makefile.am: added the new files to sources, removed layout.C
5087 * layout.C: removed file
5089 * layout.h: remove LYX_DUMMY_LAYOUT
5091 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5095 * lyxtextclass.[Ch]:
5096 * lyxtextclasslist.[Ch]: new files
5098 * include order changes to a lot of files, also changes because of
5101 2001-12-27 Juergen Vigna <jug@sad.it>
5103 * buffer.C (asciiParagraph): more fixes.
5105 * tabular.C (ascii): make ascii export support export of only the
5106 data separated by a column-delimiter.
5107 (ascii): better support for ascii export.
5109 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5111 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5113 * tabular_funcs.C: use a "using std::getline" instead of the
5114 previous fix from Angus (necessary for cxx + lyxstring)
5116 2001-12-24 Juergen Vigna <jug@sad.it>
5118 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5120 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5121 problems. First check a minipage also if we have some ert-contents
5122 (not only on par->size(), second set the right depth of the paragraph
5123 on the relink to the root-paragraph-list!
5125 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5126 which then did not anymore update the main paragraphs on undo/redo!
5128 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5130 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5131 code. Support all font-changing funcs (even those which are not in
5132 menu currently). Support for reporting font settings in
5133 mathed (disabled until Andre provides a function on mathed's side).
5135 * func_status.h (toggle): small helper function to set toggle
5138 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5140 * tabular_funcs.C: getline -> std::getline
5142 2001-12-21 Juergen Vigna <jug@sad.it>
5144 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5145 accessed and could be 0 (I couldn't generate this but it seems
5148 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5150 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5151 * tabular_funcs.h: here and include iosfwd
5153 2001-12-20 Juergen Vigna <jug@sad.it>
5155 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5156 inside inset but undo_par was.
5158 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5160 * Thesaurus.C: always include <config.h> in sources.
5164 * box.h: do not include <config.h> in header files
5166 * text.C (paintLastRow): remove unused variable
5168 * text.C (transformChar):
5170 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5173 * font.C (width): rewrite to use uppercase() instead of
5176 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5178 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5180 * lyxfind.C: clean up of find failure position change
5182 2001-12-20 Juergen Vigna <jug@sad.it>
5184 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5186 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5187 (TeXRow): added to LaTeX a single tabular row.
5188 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5189 (Latex): simplified and finally good LT-h/f support.
5190 (various_functions): just small adaptions for LT-h/f support.
5192 * tabular_funcs.[hC]: added and moved here all not classfunctions
5195 2001-12-19 Juergen Vigna <jug@sad.it>
5197 * tabular.[Ch]: better support for longtabular options (not finished
5200 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5202 * text.C (paintLastRow): use the label font instead of the font of
5203 the last character to compute the size of *_BOX. This makes more
5204 sense and avoids a crash with empty paragraphs.
5205 Use Painter::rectangle to draw EMPTY_BOX.
5207 2001-12-19 Juergen Vigna <jug@sad.it>
5209 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5210 the paragraphs if the replaced paragraph is not the first one!
5211 Tried to delete not used paragraphs but does not work yet so for
5212 now it's inside #ifdef's and by default off!
5214 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5216 * MenuBackend.C: include "lyx_main.h" instead of declaring
5217 lastfiles (actually was declared as LastFiles* instead of a
5220 2001-12-17 Juergen Vigna <jug@sad.it>
5222 * tabular.C (AppendColumn): applied John's fix
5224 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5228 * BufferView_pimpl.h:
5229 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5232 * box.h: new start of class for above
5234 * lyxfunc.C: ignore space-only minibuffer dispatches.
5235 Show the command name when it doesn't exist
5237 * minibuffer.C: don't add empty lines to the history
5239 * minibuffer.C: add a space on dropdown completion
5241 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5243 * text.C: fix line above/below drawing in insets
5245 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5247 * lyxlength.C (LyXLength): Initialize private variables.
5249 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5251 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5252 when inserting error insets.
5254 2001-12-13 Juergen Vigna <jug@sad.it>
5256 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5257 actually sometimes the before-paragraph.
5258 (setUndo): don't clear the redostack if we're not actually undoing!
5260 2001-12-06 Juergen Vigna <jug@sad.it>
5262 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5263 and fixed redoing of main paragraph, so we can use it now ;)
5265 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5267 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5269 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5272 2001-12-13 André Pönitz <poenitz@gmx.net>
5275 * undo_func.C: minor cleanup
5277 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5279 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5280 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5281 font in urw-fonts package which is marked as -urw-fontspecific and
5282 does not work (incidentally, changing the encoding in the
5283 fonts.dir of this package to -adobe-fontspecific fixes the
5286 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5287 is a crash when undoing first paragraph (Juergen, please take a
5288 look). THis does not mean the undo fix is wrong, just that it
5291 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5292 the (Paragraph*) version when needed instead of duplicating the
5295 * text.C (workWidth): use Inset::parOwner to find out where the
5296 inset has been inserted. This is a huge performance gain for large
5297 documents with lots of insets. If Inset::parOwner is not set, fall
5298 back on the brute force method
5300 * paragraph_pimpl.C (insertInset):
5301 * paragraph.C (Paragraph):
5302 (cutIntoMinibuffer): set parOwner of insets when
5303 inserting/removing them
5305 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5307 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5313 * mathed/formulabase.C:
5314 * mathed/math_cursor.[Ch]:
5315 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5318 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5320 * lyxlength.[Ch] (operator!=): new function
5322 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5324 * text.C (workWidth): use Inset::parOwner to find out where the
5325 inset has been inserted. This is a huge performance gain for large
5326 documents with lots of insets. If Inset::parOwner is not set, fall
5327 back on the brute force method
5329 * paragraph_pimpl.C (insertInset):
5330 * paragraph.C (Paragraph):
5331 (cutIntoMinibuffer): set parOwner of insets when
5332 inserting/removing them
5334 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5336 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5338 * tabular-old.C (getTokenValue):
5339 * tabular.C (getTokenValue):
5340 (write_attribute): new versions for LyXLength
5341 (everywhere): adjust the use of widths
5343 * tabular.h: change the type of widths from string to LyXLength
5345 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5347 * paragraph.C: fixed missing line number count when exporting
5348 Environments to LaTeX file
5350 * buffer.C: added informational message for checking line numbers.
5352 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5354 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5355 paragraph, do the 'double space' part, but not the 'empty
5358 * text.C (workWidth): small optimization
5359 (getLengthMarkerHeight): use minimal size for negative lengths.
5361 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
5363 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5365 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5367 2001-12-11 André Pönitz <poenitz@gmx.net>
5370 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5372 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5374 * text2.C: keep selection on a setFont()
5376 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5378 * lyx_cb.C: another bv->text misuse, from insert label
5380 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5383 * kbsequence.C: re-instate nmodifier mask
5385 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
5387 * lyx_main.h: make lyxGUI private.
5389 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5391 * lyxfind.C: place the cursor correctly on failed search
5393 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5395 * text.C (getLengthMarkerHeight): for small heights, the arrows
5396 are not always on top/bottom of the text
5397 (drawLengthMarker): smaller arrows; take the left margin in
5398 account; draw also vfills.
5400 (paintLastRow): remove special code for vfill and standard spaces,
5401 since everything is handled in drawLengthMarker now.
5403 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5405 * buffer.C (insertErtContents): try to handle font and language
5406 interaction a bit better.g
5408 * ColorHandler.C (updateColor): change the hash to cover the whole
5409 LColor enum, ws cleanup
5410 (getGCLinepars): ditto
5411 (getGCLinepars): only lookup in the linecache once.
5413 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
5415 * iterators.C (operator++): Make the iterator more robust
5417 * BufferView2.C (removeAutoInsets): Use paragraph iterators
5419 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5421 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5424 * text.C: better added space drawing
5426 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5429 * BufferView2.C: fix layout combo update on inset unlock
5431 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5433 * Makefile.am: don't compile unused files
5435 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5439 * LyXAction.C: remove old LFUN_LAYOUTNO
5441 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5443 * paragraph_pimpl.h:
5444 * paragraph_pimpl.C: isTextAt() doesn't need font param
5446 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5449 * lyxlex.C: little cleanup
5451 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5453 * BufferView_pimpl.C: fix insertAscii for insets
5455 2001-12-05 Juergen Vigna <jug@sad.it>
5457 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
5458 set the right font on the "multi" paragraph paste!
5460 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5466 * lyxlength.C: remove out-commented code.
5482 * vc-backend.C: change "while(" to "while ("
5484 * lyxlength.[Ch]: add zero function to check if length is zero or
5486 * lyxgluelength.C: use it
5488 2001-12-05 Allan Rae <rae@lyx.org>
5490 * lyxlength.C: Attempted a fix for the abs(int) header selection.
5491 Works for 2.95.3, from what I understand of Garst's reports this should
5492 work for other g++ versions. We're screwed if the abs(int) definition
5493 changed between bugfix releases of gcc.
5495 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5497 * text.C: fix chapter label offset !
5499 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5502 * text.C: fix hfill at end of line, clean up
5504 2001-12-04 Juergen Vigna <jug@sad.it>
5506 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5507 that we force an update of the inset and it's owners if neccessary.
5509 2001-12-03 Juergen Vigna <jug@sad.it>
5511 * text.C (rowLast): simplified code
5513 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5515 * lyxfunc.C: fix show options on timeout
5517 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5519 * screen.C (topCursorVisible): scroll half a page when the cursor
5520 reached top of bottom of screen
5522 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
5524 * minibuffer.C: deactivate on loss of focus
5526 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5528 * vspace.[Ch] (operator!=): add operator.
5530 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5532 * BufferView_pimpl.C: refuse to open an inset when
5533 there's a selection.
5535 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
5537 * BufferView_pimpl.C: allow to click on RHS of full row insets
5539 2001-11-30 Juergen Vigna <jug@sad.it>
5541 * tabular.C (LyXTabular): add a same_id to set the same id's in the
5542 insets for undo reasons.
5544 2001-11-28 André Pönitz <poenitz@gmx.net>
5546 * vspace.[Ch]: cosmetical changes
5548 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5558 * kbsequence.C: part re-write of old kb code
5561 * WorkArea.C: remove Lgb_bug_find_hack
5563 2001-11-30 José Matos <jamatos@fep.up.pt>
5565 * buffer.C (makeDocBookFile): add a comment to point a hack.
5566 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5567 Fixed a double write of labels.
5569 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5572 * LaTeX.h Fixed bug in LaTeX class where it would not
5573 re-run latex if no depfiles were changed, but the .dvi was removed.
5575 2001-11-28 André Pönitz <poenitz@gmx.net>
5577 * all the files from the change on 2001/11/26:
5578 use lyx::layout_type instead of LyXTextClass::size_type
5579 use lyx::textclass_type instead of LyXTextClassList::size_type
5581 2001-11-29 Juergen Vigna <jug@sad.it>
5583 * text.C: added support for paragraph::isFreeSpacing()
5585 * buffer.C: same as above
5587 * paragraph.h: inserted isFreeSpacing() function to enable
5588 FreeSpacing inside InsetERT.
5590 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5591 of the paragraph's in the cut/copy buffer to 0!
5593 * text2.C (removeRow): remove the assert as it can!
5595 * lyxtext.h: added helper function firstRow returning firstrow and
5596 made firstrow private again.
5598 * BufferView2.C (lockInset): don't relock if we're already locked!
5600 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5602 (removeRow): added Assert::(firstrow)
5604 * debug.C: forgot to add INSETTEXT here.
5606 2001-11-28 Juergen Vigna <jug@sad.it>
5608 * sp_spell.C (initialize): changed error text to more general
5609 spellchecker command use (not only ispell!)
5611 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
5613 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
5615 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5617 * vspace.C: initialise lyxgluelength on failure
5619 2001-11-28 Allan Rae <rae@lyx.org>
5621 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
5622 declaration & definition that looks like a function declaration.
5624 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5626 * BufferView2.C (copy):
5627 (copyEnvironment): do not clear the selection when doing a copy.
5629 * text.C (paintFirstRow): compilation fix
5631 2001-11-27 Ben Stanley <bds02@uow.edu.au>
5633 * tabular.C (Latex): correct line count when writing latex.
5635 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
5637 * paragraph_pimpl.h:
5638 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
5641 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5645 * LColor.C: change vfillline->added_space
5647 * text.C: add markers and text for added space
5649 * vspace.C: fix comment
5651 2001-11-28 André Pönitz <poenitz@gmx.net>
5653 * paragraph.C: whitespace changes
5654 * all the other files from the change on 2001/11/26:
5655 change *::pos_type into lyx::pos_type
5657 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
5659 * buffer.C (parseSingleLyXformat2Token): Set the language to the
5660 language of the document when inserting error insets.
5662 2001-11-26 André Pönitz <poenitz@gmx.net>
5664 * BufferView_pimpl.[Ch]:
5672 * paragraph_pimpl.[Ch]:
5675 * text2.C: reduce header dependencies, introduce type for positions
5677 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5679 * <various>: change to use Alert.h
5681 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
5683 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
5684 when encountering an unknown token.
5685 (readLyXformat2): Show an error message if there were unknown tokens.
5687 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5690 * BufferView_pimpl.C:
5694 * text2.C: use par->isInset()
5696 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5698 * paragraph_pimpl.h:
5699 * paragraph_pimpl.C: cleanup
5701 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5703 * text2.C (removeRow):
5704 * text.C (setHeightOfRow): remove useless (and costly) call to
5707 2001-11-20 Allan Rae <rae@lyx.org>
5709 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
5710 Now need Inset*::checkInsertChar() to return true for appropriate
5711 cases so that the characters in the minibuffer will actually be
5714 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5716 * text.C: change the order of the includes.
5717 (workWidth): initialize it at once.
5718 (workWidth): make maxw unsigned
5719 (setHeightOfRow): remove unused variable (inset)
5720 (selectSelectedWord): remove unused variable (inset)
5721 (paintRowText): fix drawing of hfill characters, and clean up a bit.
5723 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5725 * lyxserver.C (emergencyCleanup): do not try to close pipes if
5726 server is not running.
5728 (closeConnection): add debug info when server is disabled.
5730 * ColorHandler.C (getGCForeground): send debug message to GUI
5733 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
5735 * kbmap.C (bind): modify because return conventions of
5736 kb_sequence::parse have changed.
5738 * kbsequence.C (parse): only ignore spaces and not any stupid
5739 control character. This avoids tests like s[i] <= ' ', which are
5740 guaranteed to fail with 8bit characters and signed chars.
5741 Change return code to string::npos when there have been no error
5742 (0 was a bad idea when error is at first character)
5744 2001-11-14 José Matos <jamatos@fep.up.pt>
5747 * buffer.C (simpleDocBookOnePar): removed unused argument.
5749 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5751 * text.C (selectNextWordToSpellcheck): do not test explicitely for
5752 insets which are part of a word. Paragraph::isLetter takes care of
5753 that now. Use Paragraph::isInset to identify insets.
5754 (selectSelectedWord): do not test for hyphenation break.
5756 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
5757 that protected spaces are considered as spaces.
5759 * paragraph.C (isLetter): cleanup the code for ispell extras; use
5762 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
5765 * lyxserver.C: fix it. and small cleanup.
5767 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5769 * BufferView_pimpl.C: use inline helpers
5772 * LaTeXFeatures.C: fix typos
5775 * Spacing.C: move spacing_string into class
5777 * ToolbarDefaults.C: move stuff into namespace anon
5779 * layout.h: update enum
5781 * lyxfunc.C: use better debug
5783 * minibuffer.h: fix typo
5787 * WorkArea.C: add and use Debug::WORKAREA
5791 * text2.C: code re-organisation, inline helpers
5793 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
5795 * Layout.C: replaced a few cases of std::vector.size() == 0 with
5796 std::vector.empty().
5798 2001-11-09 Allan Rae <rae@lyx.org>
5800 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
5801 '\n's after tables. Tabular and ERT inset work now makes this no
5804 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5807 * minibuffer.C: fix crash, improve drop-down completion
5809 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
5812 * lyxserver.C: invalidate fd's when doing endPipe()
5814 2001-11-08 José Matos <jamatos@fep.up.pt>
5816 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
5817 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
5820 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
5822 2001-11-07 José Matos <jamatos@fep.up.pt>
5825 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
5828 * buffer.C (sgmlOpenTag):
5829 * buffer.C (sgmlCloseTag): removed debug info.
5831 * buffer.h (sgmlOpenTag):
5832 * buffer.h (sgmlCloseTag): made public.
5834 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5836 * buffer.C (saveParamsAsDefaults):
5837 * lyx_cb.C (MenuLayoutSave): remove
5839 * LyXAction.C (init):
5841 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
5843 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5845 * buffer.C (setPaperStuff): removed from here...
5847 * bufferparams.C (setPaperStuff): ... and moved there.
5849 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
5853 * XFormsView.C: add support for drop-down completion
5855 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
5857 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
5860 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5862 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
5865 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5867 * lyx_main.C: change ref to known bugs
5869 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5871 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
5872 to work around older babel problems.
5874 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5876 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
5878 2001-10-24 Juergen Vigna <jug@sad.it>
5880 * tabular-old.C (ReadOld): below variable changes reflected.
5882 * tabular.[Ch]: added ltType struct for longtable header/footer
5883 defines and changed all instances where they are used. Added
5884 future support for double top/bottom rows.
5886 2001-10-24 José Matos <jamatos@fep.up.pt>
5888 * buffer.h (docbookHandleCaption):
5889 * buffer.C (docbookHandleCaption): removed unused function.
5890 (makeDocBookFile): moved docbook supported version to v4.1.
5892 2001-10-24 José Matos <jamatos@fep.up.pt>
5895 * tabular.C (docbookRow): new function to export docbook code of a row.
5896 (DocBook): now honors the longtable flags.
5898 2001-10-23 José Matos <jamatos@fep.up.pt>
5901 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
5902 of the lyx defined sgml entities used in a docbook/linuxdoc document.
5904 * buffer.C (makeLinuxDocFile):
5905 (makeDocBookFile): reworked the preamble, more clean, and with
5906 support for lyx defined entities. Changed the document declaration
5907 to be more XML friendly.
5909 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
5910 if we need to output XML that should be done with a filter.
5912 2001-10-22 Juergen Vigna <jug@sad.it>
5914 * sp_pspell.h (class PSpell): add alive function needed in the
5915 controller to see if the spellchecker could be started.
5917 2001-10-22 Juergen Vigna <jug@sad.it>
5919 * buffer.C (insertStringAsLines): modify the font for inserting
5920 chars in certain conditions by calling checkInsertChar(font).
5922 2001-10-19 Juergen Vigna <jug@sad.it>
5924 * text.C (workWidth): use getRow instead of wrong algorithm.
5925 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
5927 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
5932 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
5934 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5936 * text.C (workWidth): do not search for the exact row when
5937 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
5938 optimization for big documents.
5940 2001-10-18 Juergen Vigna <jug@sad.it>
5942 * text.C (workWidth): new function with added Inset * parameter.
5944 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5946 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
5948 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
5949 change return type of getColumnNearX.
5952 * text.C (changeRegionCase): use uppercase/lowercase instead of
5955 (rightMargin): simplify code by factoring out the uses of
5960 (appendParagraph): use Paragraph::size_type
5962 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5964 * vspace.C (asLatexString): add a missing break
5966 2001-10-15 Herbert Voss <voss@perce.de>
5968 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
5970 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5972 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
5975 2001-10-10 André Pönitz <poenitz@gmx.net>
5977 * lyxfunc.C: removed greek_kb_flag.
5979 2001-10-10 Herbert Voss <voss@perce.de>
5981 * lyx_main.C: delete global string help_lyxdir.
5983 2001-10-09 Herbert Voss <voss@perce.de>
5985 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
5987 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
5989 * lyx_main.C: added global string help_lyxdir.
5991 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
5993 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5995 * lyxrc.C (set_font_norm_type): support iso8859-4
5997 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
5999 * LaTeX.C (deplog): add another regex for MikTeX
6001 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6003 * lyxrc.C (set_font_norm_type): support iso8859-3
6005 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6007 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6009 * LaTeXFeatures.C: remove special case of french and index
6011 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6012 before \begin{document}). This solves several incompatibilities.
6014 2001-10-03 Garst Reese <reese@isn.net>
6016 * lyx_cb.C: change CheckTex error msg.
6018 2001-10-03 José Matos <jamatos@fep.up.pt>
6020 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6022 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6024 * .cvsignore: update
6026 * lyx_main.C (commandLineVersionInfo): use new style version info.
6028 * buffer.C (writeFile):
6031 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6033 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6035 * version.h: update to use stuff in version.C
6037 * version.C.in: new file. Contains version information determined
6038 at compile time. This is a merging of version.h and
6041 2001-10-03 Juergen Vigna <jug@sad.it>
6043 * BufferView_pimpl.C (update): don't change "dirty" status in
6046 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6048 * WorkArea.C (c-tor): re-position version string slightly.
6050 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6052 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6053 revert to previous code.
6055 WorkArea.[Ch]: (show, destroySplash): methods removed.
6057 WorkArea.C: rework code so that it's an amalgam of the codes before and
6058 after the splash screen was moved to WorkArea.
6060 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6063 * vspace.C (inPixels):
6066 * buffer.C (insertStringAsLines):
6067 (asciiParagraph): fix types to be large enough
6069 * lyxlex_pimpl.h: change member status from short to int
6071 * layout.h: fix type of endlabeltype
6074 * kbsequence.C (parse): change return type to string::size_type
6076 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6079 * Bullet.C (bulletSize):
6080 (bulletEntry): do not use short ints as parameters
6082 * BufferView2.C (insertLyXFile): change a char to an int.
6084 * WorkArea.C (WorkArea): remove unneeded floats in computation
6086 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6088 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6090 * paragraph.C (asString): Do not ignore newline/hfill chars when
6091 copying to the clipboard.
6093 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6095 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6096 after a multi-line inset.
6098 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6100 * paragraph.C (validate): Set NeedLyXFootnoteCode
6102 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6104 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6105 and decrease-error to decrease.
6107 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6109 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6110 it more readable (should be equivalent)
6112 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6114 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6116 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6118 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6119 of a cursor (row, etc.) after a character has been deleted
6120 (deleteEmptyParagraphMechanism): call the method above on _all_
6121 cursors held by the LyXText when a double space has been
6124 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6126 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6128 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6130 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6131 background. Use greyOut() and the new show() methods to toggle between
6132 the foreground and background. Add code to remove the splash after
6133 its initial showing.
6135 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6136 (create_forms): no longer call Dialogs::showSplash.
6138 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6140 * .cvsignore: add version_info.h
6142 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6144 * version_info.h.in: new file
6146 * Makefile.am: add version_info.h.in
6148 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6149 version_info.h instead of VERSION_INFO
6151 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6153 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6154 The ERT inset now returns string().
6156 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6158 * lyxtext.h, text.C (selectNextWord): renamed as
6159 selectNextWordToSpellcheck.
6161 * text.C (selectNextWordToSpellcheck): Modified to not select
6162 words inside an ERT inset.
6164 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6166 * lyx_cb.C (MenuLayoutSave): change a bit the question
6168 * sp_base.h: include <sys/types.h>
6170 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6172 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6174 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6176 * several files: fix typos in user-visible strings
6178 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6180 * text2.C (pasteSelection): do not set the selection, since it
6181 will be cleared later. Actually, the intent was to fix the way the
6182 selection was set, but I figured rmoving the code was just as good.
6184 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6186 * FontLoader.C (available): Check if font is available without
6189 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6191 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6193 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6195 * lyxrc.[Ch]: added display_graphics variable and associated code.
6197 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6199 * bufferparams.C (hasClassDefaults): new method. Returns true if
6200 the buffer parameters correspond to known class defaults
6202 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6204 * XFormsView.C (show): set minimum size to the main window.
6206 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6208 * text2.C (copySelection):
6210 * lyxfind.C (LyXReplace):
6211 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6212 LyXText::selectionAsString.
6214 * paragraph.C (asString): add "label" argument to the second form
6216 * text2.C (selectionAsString): add "label" argument and pass it to
6217 Paragraph::asString.
6219 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6221 * lyx_main.C (commandLineHelp): remove version information
6223 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6225 * lyx_main.C: add -version commandline option
6227 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6229 * paragraph.h: make the optional constructor arg required instead.
6230 some modifications to other files because of this.
6232 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6234 * lyxserver.C (C_LyXComm_callback): make it static
6236 * lyx_main.C (error_handler): make it static
6238 * lyx_gui.C (LyX_XErrHandler): make it static
6240 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6242 * WorkArea.C: make the extern "C" methods static.
6244 * Makefile.am (lyx_LDADD): simplify
6246 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6248 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6249 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6251 * LyXAction.C (init):
6252 * lyxfunc.C (dispatch): associated code removal.
6254 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6256 * lyxfont.h (isSymbolFont): shut off warning
6258 * text.C (setHeightOfRow):
6259 (getVisibleRow): fix crash with empty paragraphs which have a
6262 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6264 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6267 2001-09-04 José Matos <jamatos@fep.up.pt>
6270 * tabular.C (docbook): rename docBook method to docbook.
6272 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6274 * Makefile.am: add dependencies to main.o.
6276 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6278 * FontLoader.C (available): Return false if !lyxrc.use_gui
6280 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6282 * FontInfo.C (query):
6283 * converter.C (view):
6284 * importer.C (Import):
6285 * exporter.C (Export): Can not -> cannot.
6287 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6289 * BufferView_pimpl.C: allow to create index inset even if
6292 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6294 * buffer.C (getLists): replace boost::tie code with an explicit pair
6295 as boost::tie can break some compilers.
6297 * iterators.h: Added a std:: declaration to the return type of
6300 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6302 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6305 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6307 * iterators.[Ch]: New files. Provide paragraph iterators.
6309 * buffer.C (changeLanguage): Use paragraph iterators.
6310 (isMultiLingual): ditto
6312 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6314 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6316 * FontLoader.C: Support for cmr font.
6318 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6320 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6321 (available): New method.
6323 * FontInfo.C (getFontname): Use scalable fonts even when
6324 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6327 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6329 * converter.C (Formats::view): reverted! Incorrect fix.
6331 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6333 * converter.C (Formats::view): only output the -paper option
6334 if the dvi viewer is xdvi, thereby fixing bug #233429.
6336 2001-08-23 Herbert Voss <voss@perce>
6338 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6340 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6342 * Spacing.h (Spacing): Set space to Default on in the default
6345 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6347 * vc-backend.h (RCS::versionString): add RCS to version
6348 (CVS::versionString): add CVS to version
6350 * vc-backend.C (scanMaster): do not add CVS to version.
6351 (scanMaster): do not add RCS to version
6353 * lyxvc.C (versionString): new method
6355 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6357 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6359 * Spacing.C (set): initialize fval
6361 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
6363 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6366 2001-08-16 Juergen Vigna <jug@sad.it>
6368 * lyxfunc.C (dispatch): implemented the new FINISHED states.
6370 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6372 * BufferView_pimpl.C:
6375 * text2.C: setParagraph takes linespacing now
6377 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
6379 * LyxAction.C: add internal LFUN_CITATION_INSERT
6381 * LyXView.C: actually apply fix
6383 * bufferlist.C: fix open non-existent file
6385 * lyxfind.C: fix indentation
6387 * lyxfunc.C: remove unneeded assert, fix typo
6389 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6391 * MenuBackend.C: use "Floatname List"
6393 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6395 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6396 when converting LaTeX layout to insetERT.
6397 Generate a non-collapsed float when reading old float
6399 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6401 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6404 2001-08-13 Juergen Vigna <jug@sad.it>
6406 * text.C (fill): return 0 instead of 20 as this seems to be the more
6409 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6411 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6414 2001-08-13 Juergen Vigna <jug@sad.it>
6416 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6418 (SearchBackward): comment out the unlocking of the inset_owner this
6419 should not be needed!
6421 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6423 * Many files: Remove inherit_language, and add latex_language
6425 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6428 2001-08-10 Juergen Vigna <jug@sad.it>
6430 * text.C (prepareToPrint): fixed hfill-width in draw!
6432 * BufferView2.C (selectLastWord): save the selection cursor as this
6433 now is cleared in the function LyXText::clearSelection!
6435 2001-08-08 Juergen Vigna <jug@sad.it>
6437 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6438 BACKSPACE type functions.
6440 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
6441 is only cutted from the document but not put in the cut-buffer, where
6442 still the old stuff should be.
6444 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
6446 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
6448 * tabular.C (SetWidthOfCell): fixed special case where the width
6450 (LeftLine): handle '|' in align_special.
6452 (LeftAlreadyDrawed): ditto
6453 (SetWidthOfCell): ditto
6455 2001-08-07 Juergen Vigna <jug@sad.it>
6457 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
6459 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6461 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
6462 * lyxlex.[hC]: ditto
6464 2001-08-06 Juergen Vigna <jug@sad.it>
6466 * text.C (getVisibleRow): fix up row clearing a bit.
6468 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6470 * minibuffer.C: make sure the X server sees the changes in the input.
6472 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6474 * paragraph.C (getFont): split into...
6475 (getLabelFont): this
6476 (getLayoutFont): and this
6477 * paragraph_pimpl.C (realizeFont): calling this
6479 * text2.C (getFont): split into...
6480 (getLayoutFont): this
6481 (getLabelFont): and this
6482 (realizeFont): all three calling this
6484 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6487 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6489 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6491 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
6493 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6494 layouts from the Quote inset insertion.
6496 2001-08-03 Juergen Vigna <jug@sad.it>
6498 * BufferView_pimpl.C (update): do the fitCursor only at the end!
6500 * screen.C (drawFromTo): don't call fitcursor here and do the loop
6501 only if status not is already CHANGED_IN_DRAW (second level).
6503 * text.C (draw): don't set the need_break_row when inside an
6506 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6508 * buffer.C (parseSingleLyXformat2Token): handle more latex
6511 * bufferview_funcs.[hC]: change function names to
6512 begin with small char, adjust other files.
6514 2001-08-02 André Pönitz <poenitz@gmx.net>
6517 BufferView_pimpl.C: remove broken special code for math-greek
6519 2001-08-02 Juergen Vigna <jug@sad.it>
6521 * BufferView_pimpl.C (update): redone this function so that we
6522 update the text again if there was a CHANGE_IN_DRAW.
6524 * screen.C (cursorToggle): removed LyXText parameter and recoded.
6525 (drawFromTo): added a new internal bool which is used by draw() and
6527 (general): some cursor drawing problems fixed.
6529 2001-08-01 Juergen Vigna <jug@sad.it>
6531 * lyxfind.C (LyXFind): fixed
6532 (SearchForward): ditto
6533 (SearchBackward): ditto
6535 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6536 spurius drawing of the cursor in the main area.
6538 * text2.C (status): small fix which could lead to a segfault!
6539 (clearSelection): remove unneeded BufferView param.
6541 2001-08-01 André Pönitz <poenitz@gmx.net>
6543 * lyxfunc.C: small change due to changed mathed interface
6545 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6547 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6549 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
6551 * lyxfunc.c: fail gracefully if file doesn't exist
6556 * BufferView_pimpl.C: IsDirWriteable() proto changed
6558 * LyXView.C: fix updateWindowTitle() to store the last title
6560 2001-07-31 Juergen Vigna <jug@sad.it>
6562 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6563 the font (wrong since using of Paragraph::highestFontInRange).
6565 * paragraph.C (highestFontInRange): added a default_size parameter.
6567 * text.C (getVisibleRow): minor clear row changes (still not perfect).
6568 (setHeightOfRow): reformat
6570 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6572 * converter.[hC] + affected files: move to (inital-char)lowercase
6575 * ParagraphParameters.C (ParagraphParameters): remove commented code
6577 * PainterBase.[Ch]: remove commented code
6579 * LaTeXFeatures.h: add "bool floats" for float.sty
6581 * LaTeXFeatures.C (LaTeXFeatures): init floats
6582 (require): handle float
6583 (getPackages): do it with floats
6585 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6587 * BufferView_pimpl.C (Dispatch): improve handling of
6588 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6590 * commandtags.h: #include lyxfont.h here temporarily to avoid
6593 * bufferlist.h: include LString.h here.
6595 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6597 * text2.C (getStringToIndex): new method.
6599 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
6601 * *: Reduced header file dependencies all over.
6603 2001-07-30 Baruch Even <baruch@lyx.org>
6605 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
6607 2001-07-29 Baruch Even <baruch@lyx.org>
6609 * buffer.C (readInset): Changed GRAPHICS to Graphics.
6611 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6613 * ParameterStruct.h (endif): add a default constructor to make
6614 sure that all variables is initialized.
6616 * ParagraphParameters.C (ParagraphParameters): adjust
6618 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6620 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
6621 index; also, check that there is something to index, and that it
6622 does not span over several paragraphs.
6623 (doubleClick): use WHOLE_WORD_STRICT for double click.
6625 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
6627 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
6630 2001-07-26 Baruch Even <baruch@lyx.org>
6632 * buffer.C (readInset): Changed to call up InsetGraphics when reading
6633 an InsetFig figure, backwards compatible reading of old figure code.
6635 2001-07-27 Juergen Vigna <jug@sad.it>
6637 * text2.C: font.realize function adaption.
6639 * text.C (draw): add a warnings lyxerr text if needed.
6641 * layout.C: font.realize function adaption.
6643 * language.C: add inherit_language and implement it's handlings
6645 * bufferview_funcs.C (StyleReset): remove language parameter from
6646 font creation (should be language_inherit now).
6648 * bufferparams.C (writeFile): handle ignore_language.
6650 * paragraph.C (getFontSettings): the language has to be resolved
6651 otherwise we have problems in LyXFont!
6653 * lyxfont.C (lyxWriteChanges): added document_language parameter
6654 (update): removed unneeded language parameter
6656 * paragraph.C (validate): fixed wrong output of color-package when
6657 using interface colors for certain fonts in certain environments,
6658 which should not seen as that on the final output.
6660 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
6662 * BufferView_pimpl.C:
6667 * LyXAction.C: add thesaurus support
6670 * lyxfind.C: add "once" parameter, for thesaurus, to not
6671 move to the next match
6673 2001-07-26 Juergen Vigna <jug@sad.it>
6675 * lyxfont.C (realize): honor ignore_language too!
6678 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
6680 * text.C (draw): one place more for ignore_language to not draw
6683 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
6685 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
6687 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6689 * buffer.C (parseSingleLyXformat2Token): a more general fix for
6690 the minipage conversion problem.
6692 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6694 * buffer.C (parseSingleLyXformat2Token): check minipage if we
6697 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6699 * BufferView.h: don't forward declare WorkArea
6701 * BufferView.C: don't include WorkArea.h
6703 2001-07-25 André Pönitz <poenitz@gmx.net>
6707 * lyxfunc.C: new LFUN 'math-space'
6709 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
6711 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6713 * text2.C (toggleInset): call open/close
6715 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6717 * lyxfunc.C (dispatch): add debug for the disabled case
6719 * font.C (buttonText): make similar to rectText
6721 * buffer.C (readInset): comment out parsing of insetlist and
6724 * PainterBase.C (rectText): small correction
6726 * BufferView_pimpl.C: comment out insettheorem and insetlist
6727 * LyXAction.C: ditto
6728 * commandtags.h: ditto
6730 2001-07-24 Juergen Vigna <jug@sad.it>
6732 * text.C (draw): honor the ignore_language.
6734 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
6736 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6738 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
6741 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6743 * lyxtext.h: remove unused (and unimplemented) methods
6745 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6747 * text.C (getVisibleRow): honor background color
6750 * Painter.h: remove default color argument for fillRectangle
6752 * text.C (backgroundColor): new method
6754 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6756 * text.C (getVisibleRow): adjust
6758 * font.[Ch] (rectText): new method, metrics
6759 (buttonText): new method, metrics
6761 * PainterBase.[hC]: make rectText and buttonText always draw and take
6764 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6766 * ToolbarDefaults.C (read):
6767 * MenuBackend.C (read): allow escaping in all strings
6769 * BufferView_pimpl.C (insertAndEditInset): new method.
6770 (Dispatch): use insertAndEditInset whenever appropriate.
6772 * BufferView_pimpl.C (insertNote): removed
6774 * BufferView_pimpl.C (smartQuote): new method, moved from
6775 BufferView; if an insetquote cannot be inserted, insert a '"'
6778 * BufferView2.C: remove insertCorrectQuote();
6780 * lyxfunc.C (getStatus): Add support for all remaingin
6783 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
6785 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
6786 command (necessary to pass " as parameter of self-insert.
6788 * text.C (selectWordWhenUnderCursor):
6789 (selectWord): add word_location parameter
6790 (selectWordWhenUnderCursor): same + remove special code for word
6792 (selectNextWord): use kind() to guess type of insetspecialchar,
6795 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
6796 (insertErtContents): create ert insets as collapsed.
6797 (readInset): better compatibility code for Info inset.
6799 2001-07-20 Juergen Vigna <jug@sad.it>
6801 * lyxfunc.C (dispatch): use always LyXFind now!
6803 * text2.C (init): add a reinit flag so that the LyXText can be
6804 reinited instead of deleted and reallocated (used in InsetText).
6806 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
6812 2001-07-18 Juergen Vigna <jug@sad.it>
6814 * text.C (selectNextWord): handle insets inside inset by calling
6815 always the bv->text functions so that we can go up the_locking_inset!
6817 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
6818 in strange locations when inside an inset!
6820 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
6821 handling to include insets.
6823 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
6825 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6827 * LyXAction.C (init):
6829 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
6830 LIGATURE_BREAK, since the name is so stupid.
6832 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6834 * buffer.C (readInset): enable reading of new InsetNotes as well as old
6837 * FontLoader.C: remove FORMS_H_LOCATION cruft.
6839 * sp_form.[Ch]: remove.
6841 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
6843 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
6846 * src/buffer.C (readInset): ditto.
6848 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6850 * BufferView_pimpl.C (specialChar): new method. Obsoletes
6851 menuSeparator(), endOfSentenceDot(), ldots() and
6852 hyphenationPoint(), which are therefore removed.
6853 (Dispatch): handle LFUN_HYPHENATION_BREAK.
6855 * LyXAction.C (init):
6856 * commandtags.h: add LFUN_HYPHENATION_BREAK.
6858 * paragraph.C (getWord): removed.
6860 * BufferView_pimpl.C (Dispatch): use last word or selection for
6861 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
6863 * lyx_main.C (queryUserLyXDir): do not ask before creating
6864 user_dir, except if it has been named explicitely.
6866 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6868 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
6869 a document of zero size.
6871 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6873 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
6874 approriately in the c-tor and in require().
6875 (getPackages): output the appropriate LaTeX for natbib support.
6877 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
6878 variables "use_natbib" and "use_numerical_citations" when reading the
6880 (readInset): read the various natbib cite commands.
6881 (validate): white-space change.
6883 * bufferparams.[Ch]: new variables "bool use_natbib" and
6884 "bool use_numerical_citations".
6885 (writeFile): output them in the LyX file.
6887 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6889 * lyxfunc.C (getStatus): add support for all the inset insertion
6892 * text2.C (insertInset):
6893 * paragraph.C (insetAllowed):
6894 * BufferView_pimpl.C (insertInset): update to take in account the
6895 renaming of insertInsetAllowed
6897 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
6899 * text2.C (getInset): new method. returns inset at cursor position.
6901 * BufferView_pimpl.C (Dispatch): changes because of this.
6903 * LyXAction.C (init): rename open-stuff to inset-toggle.
6905 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
6907 * text2.C (toggleInset): renamed from openStuff; use
6910 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6912 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
6914 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
6916 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
6918 * buffer.C (readLyXformat2): Add filename to the error dialog
6920 2001-07-18 Juergen Vigna <jug@sad.it>
6922 * tabular.C (GetCellNumber): put an assert here instead of the check!
6924 2001-07-17 Juergen Vigna <jug@sad.it>
6926 * BufferView_pimpl.C (toggleSelection): adapted too.
6928 * text.C (selectNextWord): adapted for use with insets.
6929 (selectSelectedWord): ditto
6931 2001-07-17 Juergen Vigna <jug@sad.it>
6933 * sp_spell.C (PSpell): fix initialitation order.
6935 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6937 * paragraph.C: spacing
6939 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
6941 * sp_spell.C: repair language selection for pspell
6943 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6945 * lyxfunc.h: change more methods to begin with lower char.
6947 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
6949 * buffer.C (parseSingleLyXformat2Token): Generate error insets
6950 for unknown layouts.
6952 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
6954 * buffer.C (readLyXformat2): Generate an error dialog if there are
6957 2001-07-16 Juergen Vigna <jug@sad.it>
6959 * sp_spell.C: always compile ISpell part.
6961 * lyxrc.C: added use_pspell entry and it's handling.
6963 2001-07-13 Juergen Vigna <jug@sad.it>
6965 * sp_spell.C: removed double includes.
6967 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6969 Consistent use of Lsstream.h:
6970 * Lsstream.h: added using std::stringstream for consistencies sake.
6972 * buffer.C: removed using std::stringstream
6974 * lyxfont.C (stateText):
6975 * paragraph.C (asString):
6976 * text.C (selectNextWord, selectSelectedWord):
6977 * text2.C (setCounter):
6978 * vspace.C (asString, asLatexString):
6979 std::ostringstream -> ostringstream.
6981 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6983 * LyXAction.C: add LFUN_HELP_ABOUTLYX
6984 * commandtags.h: add LFUN_HELP_ABOUTLYX
6985 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
6987 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6989 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
6991 * lyx_gui_misc.C: remove spellchecker
6992 * lyxfunc.C: showSpellchecker
6994 * sp_ispell.h: added
6995 * sp_pspell.h: added
6997 * sp_form.[Ch]: removed
6998 * spellchecker.[Ch]: removed
7000 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7002 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7004 (simpleTeXSpecialChars): Simply print the input character without
7005 any special translation if pass_thru is set.
7007 * layout.h: Added bool pass_thru to layout class for being able to
7008 implement pass through of a paragraph for Literate Programming.
7010 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7011 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7012 * layout.C (Read): add "passthru" to list of layout tags and add
7013 code to set the pass_thru boolean when it is read.
7015 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7017 * trans_decl.h: remove allowed from KmodInfo
7019 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7023 * paragraph_pimpl.C (erase): use boost::prior
7025 * Painter.C (text): use data() instead of c_str() when length is
7027 * WorkArea.C (putClipboard): ditto
7028 * font.h (width): ditto
7030 * BufferView2.C: use it-> instead of (*it). for iterators
7032 * paragraph_pimpl.C: ditto
7033 * paragraph.C: ditto
7034 * minibuffer.C: ditto
7039 * converter.C: ditto
7041 * Variables.C: ditto
7042 * TextCache.C: ditto
7043 * MenuBackend.C: ditto
7044 * LyXAction.C: ditto
7046 * FloatList.C: ditto
7048 * ColorHandler.C (LyXColorHandler): ditto
7050 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7052 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7054 * text2.C (openStuff): reintroduce this method (which had been
7055 nuked in NEW_INSETS frenzy).
7057 * lyxfunc.C (Dispatch): when an action has not been handled, use
7058 its name in the error message, not its number.
7060 * paragraph.C (inInset): change method name to begin with lowercase.
7063 * text2.C: updates because of this.
7065 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7067 * ToolbarDefaults.C (add): add spaces in error message
7069 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7071 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7072 (readLyXformat2): rename return_par to first_par, use lyxlex's
7073 pushToken and remove the manual push handling.
7074 (parseSingleLyXformat2Token): add another ert comp. variable:
7075 in_tabular, rename return_par to first_par. handle newlines better
7077 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7079 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7081 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7083 * text2.C (getParFromID): removed
7085 * buffer.C (getParFromID): new method moved form lyxtext.
7086 * BufferView2.C (insertErrors): adjust
7087 (setCursorFromRow): adjust
7088 * BufferView_pimpl.C (restorePosition): adjust
7089 * lyxfunc.C (Dispatch): adjust
7090 * undo_funcs.C (textUndo): adjust
7092 (textHandleUndo): adjust
7093 (textHandleUndo): adjust
7095 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7097 * buffer.C: up' the LYX_FORMAT
7099 * lyxfont.h: turn NO_LATEX on as default
7101 * buffer.C (insertErtContents): new methods of tex style compability.
7102 (parseSingleLyXformat2Token): use it several places.
7103 * tabular.C (OldFormatRead): and here
7105 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7107 * text2.C: remove some commented code.
7110 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7111 * trans.C: changes because of the above.
7113 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7115 * text2.C (setCounter): Fix counters bug with bibliography layout.
7117 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7119 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7120 own member functions
7121 (simpleTeXSpecialChars): ditto
7123 2001-07-06 Juergen Vigna <jug@sad.it>
7125 * a lot of files: changed the access to LyXText::status and the
7126 call of undo-functions.
7128 * undo.[Ch]: added a inset_id to the undo informations.
7130 * undo_funcs.[Ch]: added and moved here all undo functions.
7132 * lyxtext.h: give the status enum a weight, made status_ a private
7133 variable and made accessor functions for it, removed the whole bunch
7134 of undo-functions as they are now in their own file, make some
7135 functions publically available. Added function ownerParagraph with
7138 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7139 made InInset() a const function, added getParFromID() function.
7141 * buffer.[Ch]: added const version for inset_iterator functions,
7142 added getInsetFromID() function.
7144 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7145 changed undo functions for new version.
7147 2001-07-05 Juergen Vigna <jug@sad.it>
7149 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7150 unknow mechanism does not call the proper constructor but only this
7151 one also if I request the other!?
7153 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7155 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7157 * text2.C (LyXText): use initialization lists.
7159 * lyxtext.h (Selection): initialize set_ and mark_
7160 (init): remove method
7162 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7164 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7166 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7168 * screen.[Ch]: change method names to begin with lowercase
7170 * BufferView_pimpl.C (updateScrollbar): simplify further and
7171 hopefully make it a bit faster.
7173 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7175 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7176 calling directly xforms functions.
7178 * Painter.C (Painter):
7179 * lyx_cb.C (MenuWrite):
7180 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7183 * lyx_gui.C: remove bogus guiruntime extern declaration.
7185 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7187 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7189 (redoDrawingOfParagraph): ditto
7190 (redoParagraphs): ditto
7191 (cutSelection): don't create a object for CutAndPaste use the
7192 static method directly
7193 (pasteSelection): ditto
7195 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7198 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7200 * modifications to some other files because of this.
7202 * Makefile.am (lyx_SOURCES): add XFormsView
7204 * XFormsView.[Ch]: new files
7206 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7207 the main window. Move the gui dependent stuff to XFormsView
7209 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7211 * tabular.C (GetCellInset): update cur_cell also in the row/col
7212 version of this function.
7214 * lyxfunc.C: no need to include figure_form.h here.
7220 * lyxvc.C: no need to include forms.h here.
7222 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7224 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7226 * lyxfunc.C (Dispatch):
7228 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7229 constructor argument.
7231 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7233 * paragraph.C (Paragraph): dont't clear, and just set layout.
7234 (makeSameLayout): use params's copy contructor.
7236 * ParagraphParameters.[Ch] (makeSame): delete method
7238 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7240 * Variables.[Ch]: fix indentation, rename set to isSet
7242 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7244 * lyxfunc.C (Dispatch): fix typo
7246 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7248 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7251 * bufferlist.C: include assert.h for emergencyWrite().
7253 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7255 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7256 give up at last (bug #425202) !
7258 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7264 * spellchecker.C: strip spellchecker options and bring up
7265 preferences tab instead
7267 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7269 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7270 the istringstream constructor
7272 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7274 * paragraph.C (getLayout): fix return value
7276 * paragraph.h: do not declare getLayout as inline.
7278 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7280 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7282 * lyxcursor.h (operator<): new func
7283 (operator>): new func
7284 (operator>=): new func
7285 (operator<=): new func
7287 * text.C (changeCase): use selection.start and selection.end
7288 (changeRegionCase): require from to be <= to. Require par to be a
7291 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7293 2001-06-27 Juergen Vigna <jug@sad.it>
7295 * text.C (cursorLeftOneWord): changed to return the cursor and added
7296 overlay with BufferView * parameter which calls this one.
7298 (selectWord): use new getWord function.
7299 (changeCase): renamed from changeWordCase as and extended to work
7302 * lyxtext.h: added enum word_location
7304 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7305 changeCase as this operates now also on selections.
7307 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7309 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7311 * many files: send debug output to Debug::INFO instead of
7314 * converter.C (View):
7316 (Move): send debug output to Debug::FILES instead of console.
7318 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7320 * lyxfunc.C (getStatus): use func_status
7322 * func_status.h: new header, describing the results of
7325 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7328 2001-06-25 The LyX Project <jug@sad.it>
7330 * buffer.C (sgmlOpenTag):
7332 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7334 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7336 * text2.C: remove some dead code
7338 * tabular.C (GetCellInset): store the last cell checked (gotten)
7340 * tabular.h: add the helper for the speedup
7342 * lyxtext.h: remove some dead code
7344 2001-06-26 The LyX Project <Asger>
7346 * paragraph.C: Change export to LaTeX of alignment to
7347 \begin{center} and family for better roundtrip work with reLyX.
7349 * Tune the math drawing a bit.
7351 2001-06-25 The LyX Project <Asger>
7353 * LColor.C (LColor): New color for math background. New color
7356 2001-06-25 The LyX Project <jug@sad.it>
7358 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7361 * bufferlist.C (newFile): do not restrict to files ending with
7364 * BufferView_pimpl.C (MenuInsertLyXFile):
7366 2001-06-24 The LyX Project <jug@sad.it>
7368 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7371 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7373 * lyxtext.h: rename most methods to begin with a small char.
7374 Lots of changes because of this.
7376 * paragraph.C (Paragraph): do not call fitToSize
7377 (erase): call Pimpl::erase
7378 (insertChar): call Pimpl::insertChar
7379 (insertInset): call Pipl::insertInset
7380 (breakParagraph): do not call fitToSize
7381 (breakParagraphConservative): do not call fitToSize
7382 (fitToSize): remove method
7384 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7386 2001-06-24 The LyX Project <Asger>
7388 * Fix Qt compilation^2
7390 2001-06-24 The LyX Project <jug@sad.it>
7392 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7393 depthHook(getDepth()-1).
7396 * ParagraphParameters.h:
7397 * ParameterStruct.h: change type of depth to unsigned int ==
7398 depth_type. Many adaptations to other files before of that.
7400 2001-06-24 The LyX Project <Asger>
7402 * Fix Qt compilation.
7404 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7406 * paragraph.h: renamed several methods to begin with small letter.
7407 several changes to many parts of the code because of this.
7409 2001-06-23 The LyX Project <jug@sad.it>
7411 * text2.C (InsertStringAsLines): renamed from InsertStringA;
7412 rewritten to discard all double spaces when KeepEmpty is off
7413 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7414 to only handle newlines but not fiddle with spaces and friends.
7416 * lyxfunc.C (MenuNew): when doing 'new from template', use
7417 template_path as default directory
7419 2001-06-23 The LyX Project <Asger>
7421 * Clean-up of header file includes all over
7422 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7424 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7426 * paragraph.h: renamed from lyxparagraph.h
7428 2001-06-23 Asger <lyx@violet.home.sad.it>
7430 * Buffer.h: Removed Buffer::resize
7431 * BufferList.h: Removed BufferList::resize
7432 * LyXView.h: Added LyXView::resize. This way, we will only reflow
7433 the document lazily when we change the width, or the font settings.
7435 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7437 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7439 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7441 * buffer.h: remove out of date comment
7443 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7446 * screen.C: fix "theoretical" GC leak
7448 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7450 * LaTeX.C (scanAuxFile):
7451 (deplog): remove trailing \r when reading stream (useful under
7454 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
7456 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
7457 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
7458 and BufferView::theLockingInset(Inset*), so should use them and not
7459 access bv_->text->the_locking_inset directly.
7461 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
7463 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7466 * tex-defs.h: remove old unused file
7468 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
7470 * BufferView_pimpl.C: fix typo, remove minibuffer message
7471 when buffer has loaded
7473 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7475 * lyxfunc.C (Dispatch): use stringstream
7476 (MenuNew): use stringstream
7477 (Open): use stringstream
7479 * importer.C (Import): use stringstream
7481 * bufferview_funcs.C (CurrentState): use stringstream
7483 * LaTeX.C (run): use stringstream
7485 * BufferView_pimpl.C (savePosition): use stringstream
7486 (restorePosition): use stringstream
7487 (MenuInsertLyXFile): use stringstream
7489 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
7502 * vspace.C: removed // -*- C++ -*- as first line.
7505 * version.h: added // -*- C++ -*- as first line.
7507 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7509 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7511 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7514 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7516 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7519 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7521 * gettext.C: include LString.h even when --disable-nls is on.
7523 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
7525 * converter.h (Get): changed argument type from int to
7526 FormatList::size_type to avoid unnecessary conversion.
7528 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7531 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7533 * gettext.h: include LString.h even when --disable-nls is on.
7535 2001-06-07 Juergen Vigna <jug@sad.it>
7537 * text.C (BreakAgain): subst spaces with tabs.
7539 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7540 (resizeInsetsLyXText): set force on resizeLyXText.
7542 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7544 * gettext.h (gettext_init):
7545 (locale_init): use a real definition instead of a macro
7547 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7549 * Bufferview_pimpl.C:
7551 * LColor.C: further lcolor tidies
7553 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7555 * BufferView_pimpl.C (updateScrollbar): simplify.
7557 * BufferView2.C: don't include insets/insetinfo.h, change
7558 prototype for insertInset and call the Pimpl version. let
7559 updateInset call Pimpl version.
7561 * BufferView.h: move inset_slept to BufferView::Pimpl, move
7562 gotoInset to BufferView::Pimpl
7564 2001-06-01 Juergen Vigna <jug@sad.it>
7566 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7567 inside a LockingInset (is the update needed at all?).
7569 2001-05-31 Juergen Vigna <jug@sad.it>
7571 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7572 here not the old one otherwise how should we compare it afterwards
7575 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7580 * FontInfo.C: bring C functions into global namespace when
7583 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7585 * LString.h: make sure config.h has been loaded before LString.h.
7587 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7588 (one for each char read by EatLine!).
7590 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7593 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7595 * paragraph.C (BreakParagraph): set the inset_owner in the new par
7596 to the same as the par we break from
7598 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7600 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7602 * MenuBackend.C (expand): also create menu entries for wide
7603 versions of the floats.
7605 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
7607 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
7609 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
7610 frontends/Makefile.am
7616 * tabular.C (getTokenValue): add std::
7618 * tabular-old.C (getTokenValue): add std::
7619 (getTokenValue): ditto
7620 (getTokenValue): ditto
7622 * screen.C (ToggleSelection): adjust
7624 * lyxtext.h: put selection cursors inside a Selection struct.
7626 * lyxfunc.C (moveCursorUpdate): adjust
7628 * lyxfont.C (latexWriteStartChanges): add std::
7632 * font.h: delete with(char const *, LyXFont const &)
7634 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
7636 * FontInfo.C (getFontname): add std::
7638 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7639 (workAreaButtonPress): adjust
7640 (tripleClick): adjust
7642 (moveCursorUpdate): adjust
7645 * BufferView2.C (gotoInset): adjust
7647 2001-05-30 Juergen Vigna <jug@sad.it>
7649 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
7650 to check pspell I add this as default as I now have new pspell
7651 libraries and they seem to use this.
7653 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7655 * text2.C (CutSelection): make the cursor valid before the call to
7658 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7660 * kbsequence.C (parse): de-uglify a bit the parsing code, which
7661 relied on 0 terminated strings and other horrors. Bug found due to
7662 the new assert in lyxstring!
7664 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
7667 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7669 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
7672 * lyxfunc.C (processKeySym): change method of getting to the
7675 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
7676 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
7677 * BufferView_pimpl.[Ch]: here as private methods.
7679 2001-05-28 Juergen Vigna <jug@sad.it>
7681 * text.C (SetHeightOfRow): added the update() call again as it is
7682 needed to initialize inset dimensions!
7684 2001-05-16 Juergen Vigna <jug@sad.it>
7686 * text2.C (SetCharFont): Add new function with BufferView * and
7687 bool toggleall parameters for setting insets internal fonts.
7688 (SetFont): Freeze the undo as we may change fonts in Insets and
7689 all this change should be inside only one Undo!
7691 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
7692 setting font's in insets as for them we have the SetFont function!
7694 2001-05-15 Juergen Vigna <jug@sad.it>
7696 * text2.C (ClearSelection): to be sure we REALLY don't have any
7699 * tabular.C (TeXCellPreamble): fixed the left border problem for
7702 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7704 * LaTeX.C (deplog): Make sure that the main .tex file is in the
7707 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7709 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
7710 LFUN_BREAKPARAGRAPH.
7712 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
7713 help test to "internal only", similar for LFUN_INSERT_URL
7715 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
7716 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
7717 auto_region_delete and deadkeys.
7719 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
7722 * LColor.C: remove some dead entries, tidy a little
7724 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7726 * lyxfunc.C (processKeySym): comment the Escape handling, remove
7728 (Dispatch): implement LFUN_ESCAPE
7730 * commandtags.h: add LFUN_ESCAPE
7732 * LyXAction.C (init): add entry for LFUN_ESCAPE
7734 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
7735 Remove commented code.
7736 (insertNote): moved here
7737 (open_new_inset): moved here
7739 * BufferView[2].[Ch]: move insertNote and open_new_inset to
7742 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7744 * kbmap.C (findbinding): clean it up and make it work correctly.
7746 * lyx_main.C (init): do not pass argc and argv as parameters
7748 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7750 * buffer.C: fix path for OS/2 & Win32
7754 * lyx_main.C: Added os:: class.
7756 * os2_defines.h: update
7758 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7760 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
7761 better by trying again with reduced state.
7763 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7765 * lyxrc.C (read): print error about invalid key sequence only when
7766 debugging (because not all latinX keysyms are known to some X
7769 * kbsequence.C (getiso): add a few std:: qualifiers
7770 (getiso): comment out extra return statement.
7772 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
7774 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
7776 (Dispatch): enhance the accent inset a bit. (not perfect)
7778 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7780 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
7782 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7784 * bufferlist.C (emergencyWrite): fix assert() call
7786 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
7788 * text.C (InsertChar): Added trivial patch to only send the "you
7789 can not do multiple spaces this way" message once during a
7792 2001-05-08 Baruch Even <baruch@lyx.org>
7794 * Makefile.am: Changed order of libraries to get LyX to link properly
7795 with the gnome frontend.
7797 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7799 * LaTeXFeatures.h: add a std:: qualifier
7801 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7803 * paragraph.C (String): use stringstream
7805 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7807 * paragraph.C (writeFile): remove footflag arg
7809 * buffer.C (makeLaTeXFile): use stringstream
7810 (latexParagraphs): remove footnot gurba
7812 * LaTeXFeatures.C (getPackages): use stringstream
7813 (getMacros): likewise
7814 (getTClassPreamble): likewise
7815 (getFloatDefinitions): new method
7817 * paragraph.C (writeFile): reindent
7820 * WorkArea.h: revert the xpos + etc changes.
7822 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
7824 * lyxparagraph.[Ch]: add copy constructor, remove Clone
7826 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
7827 (pasteSelection): likewise
7828 * text2.C (CreateUndo): likewise
7830 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7832 * minibuffer.C (peek_event): temporarily reduce the functionality
7833 of the minibuffer (to allow args on lfuns)
7835 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
7836 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
7838 * buffer.C (readInset): add compability reading of old float
7839 lists, add reading of new style float list.
7840 (readInset): avoid reevaluation of inscmd.getCmdName()
7841 (getLists): reindent
7843 * MenuBackend.C (MenuItem): implement parsing of
7844 md_floatlistinsert and md_floatinsert.
7845 (expand::LastFiles): move initalizaton of iterators out of loop,
7847 (expand::Documents): introduce typdedef vector<string> Strings,
7849 (expand::ExportFormats): introduce typedef vector<Format const *>
7850 Formats, and use it.
7851 (expand): implement FloatListInsert and FloatInsert.
7853 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
7854 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
7855 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
7857 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
7859 (Dispatch::LFUN_FLOAT_LIST): implement
7861 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7863 * LaTeX.C (run): Fix problem with --export code.
7865 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7867 * BufferView.[Ch] (workarea): removed.
7868 (getClipboard) new method; wrapper for workarea()->getClipboard()
7870 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
7873 * WorkArea.h (width, height, xpos, ypos): These methods all
7874 returned the dimensions of the work_area sub-area of WorkArea,
7875 resulting in a position error if the WorkArea were resized. Now
7876 return the dimensions of the entire WorkArea.
7878 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
7880 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7882 * LaTeX.C (deplog): correct the syntax of regex reg1
7884 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7886 * undo.C: remove !NEW_INSETS cruft
7888 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7890 * text2.C: remove !NEW_INSETS cruft
7892 * text.C: remove !NEW_INSETS cruft
7894 * tabular.C: remove !NEW_INSETS cruft
7896 * spellchecker.C: remove !NEW_INSETS cruft
7898 * lyxtext.h: remove !NEW_INSETS cruft
7900 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
7902 * lyxfunc.C: remove !NEW_INSETS cruft
7904 * lyxfind.C: remove !NEW_INSETS cruft
7906 * lyx_cb.C: remove !NEW_INSETS cruft
7908 * figureForm.C: remove !NEW_INSETS cruft
7910 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
7912 * buffer.[Ch]: remove !NEW_INSETS cruft
7914 * ToolbarDefaults.C: remove !NEW_INSETS cruft
7916 * CutAndPaste.C: remove !NEW_INSETS cruft
7918 * BufferView_pimpl.C: remove !NEW_INSETS cruft
7920 * BufferView2.C: remove !NEW_INSETS cruft
7922 * BufferView.h: remove !NEW_INSETS cruft
7924 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7926 * Lsstream.h: include LString.h before the sstream headers to
7927 fix problem with gcc 2.95.3 and lyxstring
7929 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7931 * lyx_main.C: add using directives when needed for C functions
7932 declared in std:: namespace.
7934 2001-04-27 Juergen Vigna <jug@sad.it>
7936 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
7937 (SetHeightOfRow): comment out the update call should not be needed!
7939 2001-04-13 Juergen Vigna <jug@sad.it>
7941 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
7942 (LyXTabular): tried to minimize operator= operations (and realized
7943 hopfully Lars wish).
7945 2001-04-27 Juergen Vigna <jug@sad.it>
7947 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
7949 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7951 * lyxfunc.C (Dispatch): hack to make listof algorithm work
7953 * buffer.C (readInset): hack to make listof algorithm work
7955 * BufferView_pimpl.C: hack to make listof algorithm work
7957 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7959 * LyXAction.C: removed all !NEW_INSETS cruft
7960 (init): moved lfun_item in method
7962 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
7964 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7966 * BufferView2.C (theLockingInset): white space.
7968 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7970 * minibuffer.C: include <iostream>
7972 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
7974 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
7976 * commandtags.h: add LFUN_TRANSPOSE_CHARS
7978 * text.[Ch] (TransposeChars): new method
7980 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7982 * call message directly through LyXView instead of through LyXFunc
7983 * BufferView2.C: adjust
7984 * BufferView_pimpl.C: adjust
7985 * FontLoader.C: adjust
7987 * bufferview_funcs.C: adjust
7988 * converter.C: adjust
7989 * figureForm.C: adjust
7990 * importer.C: adjust
7992 * lyx_gui_misc.C: adjust
7996 + more files in subdirs
7998 * lyxparagraph.h (size): move up int file
8001 * adjust all uses of Assert to lyx::Assert.
8003 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8004 lyxfunctional in namespace lyx
8005 * layout.C (hasLayout): ditto
8008 (delete_layout): ditto
8009 (NumberOfClass): ditto
8010 * converter.C (GetFormat): ditto
8015 * bufferlist.C (getFileNames): ditto
8016 (emergencyWriteAll): ditto
8019 * MenuBackend.C (hasSubmenu): ditto
8022 * BufferView_pimpl.C (getInsetByCode): ditto
8024 2001-04-18 Juergen Vigna <jug@sad.it>
8026 * vspace.C (asLatexString): fixed the 100% problem.
8028 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8030 * lyxfunc.C (Dispatch):
8032 * minibuffer.h: add a few std:: qualifiers
8034 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8036 * minibuffer.[Ch]: reimplement so that commands is initiated and
8037 run from lyxfunc, simplified som handling, and made the completion
8038 and history code for complete. wip.
8040 * lyxfunc.C (processKeySym): call message
8041 (miniDispatch): new temporary method
8042 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8043 (LFUN_MESSAGE): implement
8044 (LFUN_MESSAGE_PUSH): implement
8045 (LFUN_MESSAGE_POP): implement
8046 (initMiniBuffer): the initial/defualt minibuffer message.
8048 * lyxfont.[Ch]: inline some more getters
8050 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8052 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8054 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8055 (AutoSave): use LFUN_MESSAGE
8056 (Reconfigure): ditto
8058 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8060 * figureForm.C: use LFUN_MESSAGE
8062 * converter.C (runLaTeX): use LFUN_MESSAGE
8064 * bufferview_funcs.C: use LFUN_MESSAGE
8066 (changeDepth): ditto
8068 * bufferparams.h: use boost::
8070 * bufferlist.h: inherit privately from noncopyable
8072 * bufferlist.C (loadLyXFile): remove some commented code.
8074 * buffer.C (runChktex): use LFUN_MESSAGE
8076 * ShareContainer.h: inherit privately from noncopyable
8078 * ParagraphParameters.[hC] (depth): inline it.
8080 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8082 (message): new method
8083 (messagePush): ditto
8085 (show): init minibuffer
8086 (showState): direct call
8088 * LaTeX.[Ch]: inherit privately from noncopyable
8089 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8090 instead of WriteStatus.
8092 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8094 * BufferView_pimpl.C (buffer): don't init minibuffer
8095 (workAreaButtonPress): use LFUN_MESSAGE
8096 (workAreaButtonRelease): ditto
8097 (savePosition): ditto
8098 (restorePosition): ditto
8099 (MenuInsertLyXFile): ditto
8100 (workAreaExpose): don't init minibuffer
8101 (update): remove commented code, simplify
8103 * BufferView2.C (openStuff): use LFUN_MESSAGE
8104 (toggleFloat): ditto
8107 (copyEnvironment): ditto
8108 (pasteEnvironment): ditto
8113 (updateInset): remove some commented code
8115 * lastfiles.h: inherit privately from noncopyable
8120 * lyxlex_pimpl.h: ditto
8122 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8123 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8124 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8126 * LyXAction.h: inherit privately from noncopyable, add methods
8127 func_begin, func_end, returning iterators to the func map.
8129 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8130 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8131 (func_begin): new method
8132 (func_end): new method
8134 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8136 (copySelection): ditto
8137 (pasteSelection): ditto
8139 * BufferView.C: whitespace change
8140 * BufferView.h: inherit privately from noncopyable
8142 2001-04-16 Allan Rae <rae@lyx.org>
8144 * tabular-old.C (l_getline):
8145 * spellchecker.C (sc_check_word):
8146 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8147 an unrecognised preprocessor directive. So ensure they're wrapped.
8149 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8151 * src/exporter.C (Export): Give an error message when path to file
8154 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8156 * LaTeX.C (deplog): Always check that foundfile exists.
8158 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8161 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8163 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8165 * tabular.[Ch] (getLabelList): implement new method
8167 * minibuffer.h: comment ouf setTiimer
8169 * minibuffer.C (ExecutingCB): constify res
8170 (peek_event): constify s
8171 (Set): constify ntext
8172 (Init): constify nicename
8174 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8176 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8177 (savePosition): use two params to Minibuffer::Set
8178 (restorePosition): ditto
8180 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8182 * lyx_main.C: include language.h
8184 * Makefile.am (lyx_main.o): add language.h
8186 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8192 * CutAndPaste.C: include gettext.h
8194 * lyxfont.h: remove old hack with ON and OFF.
8197 * lyxfont.h: do not include language.h...
8202 * bufferview_funcs.C:
8208 * paragraph.C: ... but do it here instead
8210 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8212 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8214 * tabular.C: small reformat
8216 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8219 (BreakParagraph): ditto
8220 (SetOnlyLayout): ditto
8223 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8226 * lastfiles.C: removed most using decl, add std:: where needed
8228 * buffer.C: ws changes
8230 * MenuBackend.C (class compare_format): put into anon namespace
8231 (expand): constify label, names, action, action2
8234 * text.C (SingleWidth): constify font
8235 (IsBoundary): constify rtl2
8236 (GetVisibleRow): constify ww
8238 * LaTeX.C (deplog): constify logfile
8240 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8242 (workAreaExpose): constify widthChange, heightChange
8244 * lyxrow.C (par): moved
8247 * lyxrow.h: as inlines here
8249 * lyxfont.h (shape): moved from lyxfont.C
8250 (emph): moved from lyxfont.C
8252 * lyxfont.C (LyXFont): use initialization list for all
8254 (shape): move to lyxfont.h as inline
8255 (emph): move to lyxfont.h as inline
8258 2001-04-04 Juergen Vigna <jug@sad.it>
8260 * vspace.C: had to include stdio.h for use of sscanf
8262 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8265 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8266 independent of xforms.
8268 2001-04-02 Juergen Vigna <jug@sad.it>
8270 * spellchecker.C: fixed namespace placing!
8272 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8274 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8275 the LyXParagraph * is 0.
8277 2001-03-29 Juergen Vigna <jug@sad.it>
8279 * vspace.C: added support for %, c%, p%, l%.
8280 (stringFromUnit): added helper function.
8281 (asLatexString): changed to give right results for the %-values.
8283 * buffer.C: convert the widthp in a width%.
8285 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8287 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8290 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8291 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8293 * lyx_cb.[Ch]: see above.
8295 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8299 * lyx.[Ch]: replaced by figure_form.[Ch].
8303 * lyxfunc.C: changed headers associated with above changes.
8305 2001-03-27 Juergen Vigna <jug@sad.it>
8307 * BufferView_pimpl.C: set the temporary cursor right!
8309 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8311 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8313 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8315 * LString.h: removed "using std::getline"!
8317 * BufferView_pimpl.C (Dispatch): changes due to changes in
8318 InsetInclude::Params.
8320 * buffer.C (tag_name): removed redundant break statements as they were
8321 producing lots of warnings with my compiler.
8323 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8325 * LString.h: add "using std::getline" when using the real <string>.
8327 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8329 * buffer.C: removed bitset usage.
8330 PAR_TAG moved to an anonymous name space.
8331 (tag_name): new funtion, also in the anonymous namespace.
8332 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8333 (makeDocBookFile): clean code. Completed transition from string arrays
8335 (SimpleDocBookOnePar): code clean.
8337 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8339 * tabular.C: add some comments.
8341 2001-03-22 Juergen Vigna <jug@sad.it>
8343 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8344 compatibility read a bit and fixed bug with minipage in different
8347 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8349 * buffer.C (pop_tag): removed.
8350 (push_tag): removed.
8351 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8352 array replaced with vector. Added support for CDATA sections.
8353 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8355 (makeDocBookFile): XML conformant declaration of CDATA section,
8356 fixed bug related to <emphasis> in the first paragraph char.
8357 (sgmlOpenTag): exclude empty tags.
8358 (sgmlCloseTag): ditto.
8360 * buffer.h (pop_tag): removed.
8361 (push_tag): removed.
8363 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
8365 * language.h (Languages): added size_type and size().
8367 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8369 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8370 response on compability reading of minipages. One probliem is that
8371 the old usage of minipages was «flertydig»
8373 * several files here and in subdirs: don't use static at file
8374 scope use anon namespaces instead.
8376 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
8378 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8379 LaTeX output. This is necessary for Literate document
8382 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8384 * buffer.C: insert hfill when needed.
8386 * tabular.C (l_getline): use string::erase, small whitespace change.
8388 * BufferView_pimpl.C: try the anon namespace.
8391 2001-03-16 Juergen Vigna <jug@sad.it>
8393 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8394 otherwise it won't open options-dialogs.
8396 * buffer.C: honor pextraWidth(p) on converting minipages.
8398 * tabular.C (l_getline): changed the functions to strip trailing \r.
8400 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
8402 * BufferView_pimpl.C:
8403 * minibuffer..C: added "using SigC::slot" declaration.
8405 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8407 * lyxlex_pimpl.h: noncopyable is in namespace boost.
8413 * paragraph.C: ditto
8415 * lyxtext.h: NO_PEXTRA
8417 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8419 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8420 * ParameterStruct.h: ditto
8421 * ParagraphParameters.h: ditto
8422 * lyxparagraph.h: ditto
8424 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8426 * buffer.C: add compability for minipage alignment.
8427 (latexParagraphs): remove unwanted pextra check.
8429 * several files: remove CXX_WORKING_NAMESPACES
8431 * buffer.C (pop_tag): tie is in namespace boost
8433 * BufferView.h: noncopyable is in namespace boost
8438 * lastfiles.h: ditto
8439 * bufferlist.h: ditto
8440 * ShareContainer.h: ditto
8442 * LyXAction.h: ditto
8445 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8447 * Merging changes from BRANCH_MVC back into HEAD.
8449 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
8451 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
8453 * BufferView_pimpl.C: change from intl.C
8457 * Makefile.am: move combox.*
8463 * intl.C: remove dialog (covered by prefs)
8465 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8467 * lyxfunc.C (Dispatch): removed redundant break statement.
8469 2001-03-14 Juergen Vigna <jug@sad.it>
8471 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
8473 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8475 * buffer.C: add hack to fix compability reading of minipages.
8477 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
8479 * buffer.C (getLists): Cleanup.
8481 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8483 * lyxfont.C (update): don't honor toggleall on font size.
8485 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
8489 * Makefile.am: moved to frontends/xforms/
8493 * BufferView_pimpl.C: changes for moved mathpanel
8495 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8497 * gettext.h: fix gettext_init() in --disable-nls
8499 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8501 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8503 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
8506 * lyx.h: strip external form
8508 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8510 * BufferView_pimpl.C: add comment, destroySplash()
8512 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8514 * BufferView_pimpl.C:
8518 * lyxfunc.C: use re-worked insetinclude
8520 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8522 * buffer.C: add using std::stringstream.
8524 * lyx_cb.C: readd using std::ios.
8526 * buffer.C: add using std::map.
8528 * BufferView_pimpl.C: add using std::vector.
8530 * ShareContainer.h: add std:: to swap.
8532 * buffer.h: add some typedefs
8533 * buffer.C (getLists): use them
8534 (getLists): renamed from getTocList.
8535 add a counter for the different float types and use it in the
8537 (getLists): use the same counter for the NEW_INSETS and the "non"
8540 * lyx_cb.h: remove unused items, includes, using etc.
8542 * ShareContainer.h: remove some commented code, add more comments
8543 and "documentation".
8545 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8547 * buffer.C (getTocList): make the list also when NEW_INSETS is
8550 * buffer.h: remove TocType
8552 * buffer.C (getTocList): change to return a map<string,
8553 vector<TocItem> >, implement for dynamic number of list.
8555 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8556 * text2.C (PasteSelection): adjust
8557 * CutAndPaste.C (pasteSelection): adjust
8559 * FloatList.C (FloatList): update from the new_insets branch.
8560 * Floating.[Ch]: ditto
8561 * LaTeXFeatures.C: ditto
8563 * lyxlex_pimpl.C: ditto
8565 * paragraph.C (Last): remove when NEW_INSETS is defined.
8567 * other file: changes because of the above.
8569 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8571 * lyxparagraph.h: rename next to next_, previous to previous_,
8572 make them private for NEW_INSETS. Rename Next() to next(),
8573 Previous() to previous().
8575 * other files: changes because of the above.
8577 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
8580 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8583 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8585 * main.C (main): pass lyx_localedir to gettext_init().
8587 * gettext.h: remove locale_init and gettext_init macros
8589 * gettext.C (locale_init): new function
8590 (gettext_init): new function
8592 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8595 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
8597 * Moved credits to frontends:
8598 * credits.[Ch]: removed
8599 * credits_form.[Ch]: removed
8600 * lyx_gui_misc.C: remove credits stuff
8603 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8605 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
8607 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
8608 unneeded destructor.
8610 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
8611 a standalone pointer again.
8613 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
8615 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
8621 * ToolbarDefaults.C:
8630 * BufferView_pimpl.C: use new file dialog in GUII
8633 * lyx_cb.C: remove LayoutsCB to Toolbar
8635 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8637 * ShareContainer.h (get): add std:: qualifier
8639 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8641 * ShareContainer.h: define a proper ShareContainer::value_type
8642 type (and use typename to please compaq cxx)
8644 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8646 * lyxparagraph.h: move serveral local vars to
8647 ParameterStruct/ParagraphParameters., use ShareContainer in
8648 FontTable., make vars in FontTable private and add getter and
8651 * paragraph.C: changes because of the above.
8653 * lyxfont.h: remove copy constructor and copy assignment. (the
8654 default ones is ok), move number inside FontBits. move inlines to
8657 * lyxfont.C: add number to initializaton of statics, move several
8658 inlines here. constify several local vars. some whitespace
8659 cleanup. Dont hide outerscope variables.
8661 * Spacing.h: add two new constructors to match the set methods.
8663 * ShareContainer.h: new file, will perhaps be moved to support
8665 * ParameterStruct.h: new file
8667 * ParagraphParameters.h: new file
8669 * ParagraphParameters.C: new file
8671 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
8672 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
8674 * BufferView_pimpl.C: ParagraphParameter changes.
8675 * buffer.C: Likewise.
8676 * bufferview_funcs.C: Likewise.
8678 * text2.C: Likewise.
8680 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8682 * lyxfind.C (LyXReplace): do not redefine default argument in
8684 (IsStringInText): ditto
8685 (SearchForward): ditto
8686 (SearchBackward): ditto
8688 2001-03-06 Juergen Vigna <jug@sad.it>
8690 * lyxfind.C (IsStringInText): put parentes around expressions.
8692 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
8694 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
8696 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
8698 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
8700 * stl_string_fwd.h: add comment
8702 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
8705 * tabular.C: remove unused DocBook methods
8711 killed DO_USE_DEFAULT_LANGUAGE
8713 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8715 * lyx_gui.C: do not include language.h.
8717 * bufferview_funcs.C (ToggleAndShow): do not provide optional
8718 arguments in function implementation.
8720 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8722 * BufferView_pimpl.C: add <ctime>
8724 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8726 * BufferView_pimpl.C: add using std::find_if
8728 2001-02-27 José Matos <jamatos@fep.up.pt>
8730 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
8733 2001-02-11 José Matos <jamatos@fep.up.pt>
8735 * buffer.C (makeDocBookFile): command styles now have a parameter as
8738 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
8740 * layout_forms.[Ch]: removed
8741 * lyx_cb.[Ch]: out character
8742 * lyx_gui.C: out character
8743 * lyx_gui_misc.C: out character
8744 * bufferview_funcs.C: : out character,
8745 added toggleall as parameter in ToggleAndShow
8747 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
8749 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
8751 * text2.C (SetCurrentFont): Disable number property at boundary.
8753 2001-02-26 Juergen Vigna <jug@sad.it>
8755 * lyxfunc.C (getStatus): added a string argument override function so
8756 that this is correctly called from LyXFunc::Dispatch if it contains a
8757 do_not_use_argument which is used!
8758 (Dispatch): added check for "custom" export and call appropriate func.
8760 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
8762 * lyxrc.C: Add language_command_local, language_use_babel and
8763 language_global_options.
8765 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
8767 * buffer.C (makeLaTeXFile): Use language_use_babel and
8768 language_global_options.
8770 2001-02-23 Juergen Vigna <jug@sad.it>
8772 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
8773 which works with LyXText and putted it inside BufferView. Here now we
8774 only call for that part the BufferView::Dispatch() function.
8776 * BufferView.C (Dispatch): added.
8778 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
8779 functions which needs to use a LyXText over from LyXFunc.
8780 (MenuInsertLyXFile): added
8781 (getInsetByCode): added
8782 (moveCursorUpdate): added
8783 (static TEXT): added
8785 2001-02-22 Juergen Vigna <jug@sad.it>
8787 * BufferView_pimpl.C (update): call a status update to see if LyXText
8790 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8792 * vc-backend.C (revert): implement for CVS
8793 (getLog): implement for CVS
8795 2001-02-20 Juergen Vigna <jug@sad.it>
8797 * text2.C (ClearSelection): added BufferView param for inset_owner call
8799 * lyxfunc.C (TEXT): added this function and use it instead of
8800 directly owner->view()-text of getLyXText().
8802 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
8804 * src/layout_forms.C: out preamble
8805 * src/layout_forms.h: out preamble
8806 * src/lyx_cb.C: out preamble
8807 * src/lyx_cb.h: out preamble
8808 * src/lyx_gui.C: out preamble
8809 * src/lyx_gui_misc.C: out preamble
8810 * src/lyxfunc.C: connect with guii preamble
8812 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8814 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
8816 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
8818 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
8819 whether to run bibtex.
8821 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
8823 * Makefile.am (lyx_SOURCES): Remove BackStack.h
8825 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8827 * Makefile.am (lyx_SOURCES): removed bibforms.h
8831 * text.C (GetVisibleRow): make several local vars const
8833 * tabular.C: small cleanup.
8835 * lyxserver.C (callback): use compare instead of strncmp
8837 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
8838 inlines to after class or to paragraph.C
8840 * lyxfont.h: remove friend operator!=
8842 * converter.h: move friend bool operator< to non friend and after
8845 * combox.h: small cleanup
8847 * buffer.h: doxygen, remove unused constructor, move inclas inlies
8848 to inlines after class def.
8850 * buffer.C (pop_tag): use string operations instead of strcmp
8852 * bmtable.c: doxygen, small cleanup
8854 * LaTeX.h: remove friend operator==
8856 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8868 * BufferView_pimpl.C:
8869 * BufferView.[Ch]: remove cruft
8871 2001-02-14 Juergen Vigna <jug@sad.it>
8873 * lyxfunc.C: removed #if 0 unused code
8875 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
8877 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
8879 * text2.C (SetSelection): added a BufferView * parameter
8881 2001-02-13 Juergen Vigna <jug@sad.it>
8883 * lyxfunc.C (Dispatch): fixed protected blank problem.
8884 * BufferView2.C (protectedBlank): added LyxText * parameter.
8886 * tabular.C (AppendRow): forgot to set row_info of newly added row.
8887 (AppendColumn): same as above for column_info.
8889 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
8890 (moveCursorUpdate): use a LyXText param for support of InsetText.
8892 * BufferView_pimpl.C (doubleClick): added support for InsetText.
8893 (tripleClick): ditto
8895 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
8897 * BufferView_pimpl.C (update): added LyXText param to honor insets.
8899 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
8901 * text2.C (SetSelection): set correct update status if inset_owner
8904 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
8906 * tabular.C: remove some commented code.
8908 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8910 * BufferView_pimpl.C: call hideSplash()
8912 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
8915 * bibforms.h: remove
8918 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
8919 add LFUN_CHILD_CREATE
8921 * counters.h: fix tiny typo
8926 * lyx.C: move splash to frontends/xforms/
8928 * lyx_gui_misc.C: move Include and Bibform to frontends
8930 * lyxvc.h: clarify comment
8932 * vspace.C: tiny housekeeping
8934 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8936 * text.C (PrepareToPrint): RTL Fix.
8938 * paragraph.C (GetUChar): New method.
8939 (String): Use GetUChar.
8941 * buffer.C (asciiParagraph): Use GetUChar.
8943 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8945 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
8947 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
8950 * buffer.C: rename to getLogName(), handle
8951 build log / latex log nicely
8953 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8956 * MenuBackend.h: remove support for reference menuitem type.
8958 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
8960 * BufferView_pimpl.C: housekeeping
8961 * BufferView_pimpl.h:
8966 * minibuffer.h: move Timeout GUI-I
8968 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
8970 * lyxrc.C (read): Update converters data-structures.
8972 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
8974 * LaTeX.h (operator!=): add operator != for Aux_Info
8976 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
8978 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
8980 * LaTeXLog.C: deleted, useful code moved to Buffer
8983 * buffer.C: new function getLatexLogName()
8989 * lyxfunc.C: use frontends for LaTeX and VC logs
8991 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8993 * LaTeX.h: yet another std:: that Allan forgot.
8995 * Variables.C (set): renamed from isset(), because this clashes
8996 with some HP-UX macros (grr).
8998 2001-02-06 Allan Rae <rae@lyx.org>
9000 * LaTeX.h: Another bug fix. Missing std:: this time.
9002 2001-02-04 Allan Rae <rae@lyx.org>
9004 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9005 floats problem. I've left it commented out because it's not quite
9006 correct. It should also test that the current object is a table or
9007 figure inset. But I haven't gotten around to figuring out how to do
9008 that. I *think* it'll be something like: "table" == inset.type()
9010 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9013 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9015 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9016 all the citation/databases/styles in the auxilary file.
9017 (run): Rerun latex if there was a babel language error.
9019 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9021 * text.C (Backspace): Preserve the font when changing newline char
9023 (BreakParagraph): If the cursor is before a space, delete the space.
9025 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9027 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9029 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9030 new argument (code).
9031 (ChangeCitationsIfUnique): New method.
9033 * paragraph.C (GetPositionOfInset): Handle bibkey.
9035 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9037 * BufferView_pimpl.h: change type of Position::par_pos to
9038 LyXParagraph::size_type.
9040 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9042 * BufferView_pimpl.C (savePosition, restorePosition): Write
9043 messages to minibuffer.
9045 2001-01-28 José Matos <jamatos@fep.up.pt>
9047 * buffer.C (makeDocBookFile): adds support for document language.
9048 A silly restriction on the name of LatexCommand types where removed.
9049 Added support for CDATA sections, allows to chars unescaped, used
9050 among others in code, to avoid escape < and >.
9052 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9054 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9055 saved positions instrad of a stack. Furthermore, a position is
9056 stored using paragraph id/paragraph position.
9058 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9059 Remove LFUN_REF_BACK.
9061 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9063 * converter.C (dvipdfm_options): New method.
9065 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9067 * vspace.C (isValidLength): Fix for empty input string.
9069 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9071 * LyXAction.C (init): change description of LFUN_FIGURE to
9074 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9076 * LaTeX.C: add using directive
9078 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9080 * MenuBackend.C (expand): Fix the sorting of the formats.
9082 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9084 * lyx_main.C: tiny error message fix
9086 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9088 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9089 calling fl_initialize(). This fixes the problem with ',' as
9090 decimal separator in text files.
9092 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9094 * trans.C (process): Fix the keymap bug.
9096 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9098 * LaTeX.C (scanAuxFiles): New method. Provides support for
9099 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9100 (scanLogFile) Scan for "run BibTeX" messages.
9102 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9103 OT1 font encoding. Also, load the aecompl package if the ae
9106 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9108 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9110 * texrow.C (increasePos): turn two error messages into debug
9113 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9115 * LaTeX.C (scanAux): Handle the \@input macro.
9116 (runBibTeX): Use scanAux().
9118 * language.C (latex_options_): New field.
9120 * LaTeXFeatures.C (getMacros): Add language macros.
9122 * buffer.C (makeLaTeXFile): Small fix.
9124 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9126 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9128 * text2.C: add a using directive.
9130 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9135 * lyxfunc.C: kill LyXBell.
9137 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9139 * text.C (IsBoundary): Remove the error message
9141 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9143 * lyxrc.C (setDefaults): Correct initialization value for
9146 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9148 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9151 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9154 * src/LyXAction.C: Added reference-next.
9156 * text.C (InsertChar): Use contains instead of strchr.
9158 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9160 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9162 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9163 alignment commands (when needed).
9165 * text.C (InsertChar): Add ':' to number separator chars.