1 2003-03-28 John Levon <levon@movementarian.org>
3 * text2.C: fix bug 974 (End on empty par)
5 2003-03-28 John Levon <levon@movementarian.org>
9 * lfuns.h: remove do-nothing math greek lfuns
11 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
13 * lyxgluelength.h (isValidGlueLength): add default arg on
14 parameter 2. Remove default arg from friend in class.
16 * lyxlength.h (isValidLength): add default arg on parameter 2.
17 Remove default arg from friend in class.
19 * text2.C (LyXText): adjust, initialize refresh_row.
23 (insertParagraph): adjst
24 (redoParagraphs): adjust
26 (updateCounters): adjust
27 (deleteEmptyParagraphMechanism): first attempt at fixing a
30 * text.C (top_y): adjust
31 (setHeightOfRow): adjust
35 * lyxtext.h: include RowList.h
36 (~LyXText): not needed anymore, deleted.
37 (firstRow): modify for RowList
38 (lastRow): new function
39 Delete firstrow and lastrow class variables, add a Rowlist
40 rowlist_ class variable.
42 * lyxrow.C (lastPos): use empty() and not !size() to check if a
45 * RowList.C (insert): fix case where it == begin().
47 2003-03-26 Angus Leeming <leeming@lyx.org>
49 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
52 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
54 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
56 * RowList.[Ch]: new files
58 * ParagraphList.C (erase): handle the case where it == begin
61 2003-03-25 John Levon <levon@movementarian.org>
65 * aspell.C: add new aspell support
68 * lyxrc.C: Make use_pspell be use_spell_lib. Always
71 2003-03-25 Angus Leeming <leeming@lyx.org>
74 * LyXAction.C (init): new LFUN_INSET_INSERT.
76 * BufferView_pimpl.C (dispatch): split out part of the
77 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
79 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
82 2003-03-25 Angus Leeming <leeming@lyx.org>
84 * lyxfunc.C (dispatch): changes to the Dialogs interface.
86 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
89 * text3.C: remove useless row->height(0)
91 2003-03-25 John Levon <levon@movementarian.org>
95 * text3.C: rename the refreshing stuff to better names
97 2003-03-24 John Levon <levon@movementarian.org>
100 * BufferView_pimpl.C: update layout choice on a mouse
103 2003-03-23 John Levon <levon@movementarian.org>
105 * Makefile.am: fix commandtags.h reference
107 2003-03-22 John Levon <levon@movementarian.org>
109 * BufferView_pimpl.C:
114 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
116 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
119 * text.C: take the rtl methods out of line
121 2003-03-21 André Pönitz <poenitz@gmx.net>
123 * metricsinfo.[Ch]: new files containing structures to be passed around
124 during the two-phase-drawing...
126 2003-03-21 André Pönitz <poenitz@gmx.net>
128 * lyxtextclass.C: read 'environment' tag.
130 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
132 * text2.C (removeRow): fix bug 964
134 2003-03-20 John Levon <levon@movementarian.org>
138 * text2.C: paint cleanups. Inset::update() dropped font
141 2003-03-19 John Levon <levon@movementarian.org>
143 * lyxfunc.C: only fitcursor/markDirty if available()
145 2003-03-19 John Levon <levon@movementarian.org>
147 * commandtags.h: rename to ...
149 * lfuns.h: ... this, and renumber / cleanup
151 2003-03-19 John Levon <levon@movementarian.org>
153 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
154 fit the cursor after an lfun
158 * BufferView_pimpl.h:
159 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
161 * LyXAction.C: layout-character should have ReadOnly
163 * ParagraphParameters.C:
165 * bufferview_funcs.C:
172 * undo_funcs.C: changes from above
174 2003-03-18 John Levon <levon@movementarian.org>
176 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
177 remove it from update()
179 * lyxfunc.C: update layout choice after an lfun
181 * text3.C: remove extra updateLayoutChoice()s
183 2003-03-18 John Levon <levon@movementarian.org>
185 * text.C: top_y change means full repaint, fix
186 a drawing bug with cursor movement
188 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
192 * text2.C: anchor row on setCursor
194 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
196 * lyxtext.h: remove almost all mutable keywords
199 * text3.C: remove const keywords accordingly
201 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
203 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
205 (TeXEnvironment): ditto
208 2003-03-17 John Levon <levon@movementarian.org>
210 * text.C (rowBreakPoint): remove attempt to fix displayed
211 math insets inside a manual label
213 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
215 * lyxtext.h: remove BufferView* as first arg from almost all class
217 * other files: adjust.
219 2003-03-17 John Levon <levon@movementarian.org>
223 * text2.C: more paint cleanups
225 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
228 * rowpainter.C: remove "smart" background painting code
230 2003-03-16 John Levon <levon@movementarian.org>
235 * text3.C: add helper functions for setting refresh_row/y
237 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
239 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
240 newline inset which *can* get inserted in the pass_thru layouts.
241 This is primarily for literate documents.
243 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
245 * buffer.C: increment LYX_FORMAT to 223
247 2003-03-14 André Pönitz <poenitz@gmx.net>
249 * textclass.h: prepare for environment handling, ws changes
250 * lyxlayout.C: read latexheader and latexfooter tags
252 2003-03-14 John Levon <levon@movementarian.org>
254 * text2.C: rewrite ::status() a bit
256 2003-03-13 John Levon <levon@movementarian.org>
258 * lyxtext.h: add some docs
260 2003-03-13 John Levon <levon@movementarian.org>
265 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
267 2003-03-13 John Levon <levon@movementarian.org>
269 * text3.C: fix appendix redrawing
271 2003-03-13 John Levon <levon@movementarian.org>
273 * text.C (setHeightOfRow):
275 * rowpainter.C: make appendix mark have the text
276 "Appendix" so the user knows what it is
279 * LColor.C: s/appendixline/appendix/ from above
281 2003-03-13 John Levon <levon@movementarian.org>
283 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
285 * text.C: fix a getChar(pos) bug properly
287 2003-03-13 Angus Leeming <leeming@lyx.org>
290 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
291 Probably only temporary. Let's see how things pan out.
293 * BufferView.C (unlockInset):
294 * BufferView_pimpl.C (fitCursor):
295 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
297 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
298 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
300 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
301 new functions that convert ParagraphParameters to and from a string.
303 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
304 BufferView::Pimpl's dispatch.
305 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
307 2003-03-13 André Pönitz <poenitz@gmx.net>
311 * factory.C: make it aware of InsetEnv
313 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
315 * text2.C (setCursor): never ask for one past last
316 (setCursor): add some debugging messages.
318 * text.C (singleWidth): never ask for one past last
322 (rowBreakPoint): ditto
323 (setHeightOfRow): ditto
324 (prepareToPrint): ditto
326 * rowpainter.C (paintBackground): never ask for one past last
327 (paintText): never ask for one past last
329 * paragraph_pimpl.C (getChar): make the assert stricter, never
330 allow the one past last pos to be taken
332 * paragraph.C (getChar): ws changes only
334 * lyxrow.C (nextRowIsAllInset): never ask for one past last
335 (numberOfSeparators): ditto
336 (numberOfHfills): ditto
338 2003-03-12 John Levon <levon@movementarian.org>
344 * paragraph_funcs.C: fix per-buffer authorlists
346 2003-03-12 John Levon <levon@movementarian.org>
348 * text.C: fix newline in right address
350 2003-03-12 Angus Leeming <leeming@lyx.org>
352 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
353 duplicate those in LyXFunc::dispatch.
358 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
359 Add LFUN_FONTFREE_UPDATE.
361 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
362 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
364 * bufferview_func.[Ch]: several new functions to facilliate
365 transfer of data to and from the character dialog.
367 2003-03-12 John Levon <levon@movementarian.org>
377 * text3.C: remove META_NEWLINE in favour of an inset
380 * rowpainter.C: remove paintNewline (done by inset)
382 2003-03-12 John Levon <levon@movementarian.org>
384 * paragraph_pimpl.C: complain about bad getChar()s
387 2003-03-12 John Levon <levon@movementarian.org>
390 * buffer.C: move paragraph read into a separate function,
391 a little renaming to reflect that.
394 * bufferparams.C: remove the author_ids map, not necessary now
397 * factory.C: moved Buffer::readInset to here
400 * paragraph_funcs.C: readParagraph free function moved from
403 * tabular.C: name change
405 2003-03-12 John Levon <levon@movementarian.org>
408 * ParagraphParameters.C: move par params input to
411 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
412 behave like a normal read from the stream wrt reading
415 2003-03-12 John Levon <levon@movementarian.org>
418 * ParagraphParameters.h:
419 * ParagraphParameters.C: move output code to a
422 2003-03-12 John Levon <levon@movementarian.org>
424 * BufferView.C (insertLyXFile):
427 * tabular.C: use a parlist iterator for creating the
430 2003-03-12 John Levon <levon@movementarian.org>
432 * buffer.C: make current_change static local not
435 2003-03-12 John Levon <levon@movementarian.org>
437 * buffer.C: fix insertStringAsLines for change tracking
439 2003-03-12 John Levon <levon@movementarian.org>
446 * bufferparams.C: move author list into params. Rename some
447 functions. Move the header reading into a separate token
448 loop. Move the header token reading into BufferParams.
450 2003-03-12 John Levon <levon@movementarian.org>
452 * changes.C: put debug inside lyxerr.debugging() checks
454 2003-03-11 André Pönitz <poenitz@gmx.net>
456 * factory.C: make it aware of InsetHFill
458 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
460 * buffer.C (latexParagraphs): move function from here...
461 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
464 2003-03-10 Angus Leeming <leeming@lyx.org>
466 * LyXAction.C (init): fix bug in poplating array with multiple entries
467 with the same LFUN (spotted by JMarc).
469 2003-03-10 John Levon <levon@movementarian.org>
472 * text2.C: move getColumnNearX() near its
475 2003-03-10 John Levon <levon@movementarian.org>
477 * text.C: fix break before a minipage
479 2003-03-10 John Levon <levon@movementarian.org>
481 * text.C: fix the last commit
483 2003-03-09 John Levon <levon@movementarian.org>
487 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
488 bug 365 (don't break before insets unless needed). Don't
489 return a value > last under any circumstances.
491 2003-03-09 Angus Leeming <leeming@lyx.org>
493 * BufferView_pimpl.C (trackChanges, dispatch): call
494 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
496 2003-03-09 Angus Leeming <leeming@lyx.org>
498 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
499 than Dialogs::showAboutlyx().
501 2003-03-09 Angus Leeming <leeming@lyx.org>
503 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
504 than Dialogs::showTabularCreate().
506 2003-03-09 John Levon <levon@movementarian.org>
510 * text2.C: 3rd arg to nextBreakPoint was always the same.
513 2003-03-08 John Levon <levon@movementarian.org>
520 * text2.C: Remove the "main" bit from the "main body"
523 2003-03-08 John Levon <levon@movementarian.org>
525 * text.C (leftMargin): The left margin of an empty
526 manual label paragraph should not include the label width
529 * text.C (prepareToPrint): don't attempt to measure hfills
530 for empty manual label paragraphs - the answer should be 0
532 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
534 * CutAndPaste.C: remove commented code and reindent.
536 2003-03-08 John Levon <levon@movementarian.org>
539 * lyxfunc.C: move reloadBuffer()
542 * BufferView.C: to here
544 * lyxvc.C: add comment
547 * vc-backend.C: call bv->reload() to avoid
548 getStatus() check on MENURELOAD
550 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
552 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
553 to an old format .dep file.
555 2003-03-07 Angus Leeming <leeming@lyx.org>
557 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
558 when the LFUN_MOUSE_RELEASE should have been handled by
559 inset->localDispatch.
561 2003-03-07 Angus Leeming <leeming@lyx.org>
563 * BufferView_pimpl.C (dispatch):
564 * LyXAction.C (init):
565 * ToolbarDefaults.C (init):
567 * lyxfunc.C (getStatus):
568 remove LFUN_INSET_GRAPHICS.
570 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
572 2003-03-07 Angus Leeming <leeming@lyx.org>
575 * LyXAction.C (init):
576 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
578 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
581 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
583 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
584 localDispatch method LFUN_INSET_DIALOG_UPDATE.
586 2003-03-07 Angus Leeming <leeming@lyx.org>
588 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
591 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
593 * ParagraphList.C (front): new function
596 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
598 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
599 and top_row_offset_. removed var first_y.
601 * text2.C (LyXText, removeRow):
603 * BufferView_pimpl.C:
604 use these methods instead of using first_y
606 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
608 * text2.C (pasteSelection): adjust for checkPastePossible
610 * CutAndPaste.C: remove Paragraph * buf and replace with
611 ParagraphList paragraphs.
612 (DeleteBuffer): delete
613 (cutSelection): change the tc type to textclass_type
614 (copySelection): change the tc type to textclass_type
615 (copySelection): adjust for ParagraphList
616 (pasteSelection): change the tc type to textclass_type
617 (pasteSelection): adjust for Paragraphlist
618 (nrOfParagraphs): simplify for ParagraphList
619 (checkPastePossible): simplify for ParagraphList
620 (checkPastePossible): remove unused arg
622 * ParagraphList.C (insert): handle the case where there are no
625 * CutAndPaste.h: make CutAndPaste a namespace.
627 * text3.C (dispatch): adjust
629 * text.C (breakParagraph): add a ParagraphList as arg
631 * paragraph_funcs.C (breakParagraph): change to take a
632 BufferParams and a ParagraphList as args.
633 (breakParagraphConservative): ditto
634 (mergeParagraph): ditto
635 (TeXDeeper): add a ParagraphList arg
636 (TeXEnvironment): ditto
639 * buffer.C (readLyXformat2): adjust
640 (insertStringAsLines): adjust
641 (latexParagraphs): adjust
643 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
644 (cutSelection): adjust
645 (pasteSelection): adjust
647 * BufferView_pimpl.C (insertInset): adjust
649 2003-03-05 Angus Leeming <leeming@lyx.org>
652 * LyXAction.C (init):
653 * BufferView_pimpl.C (dispatch):
654 * lyxfunc.C (getStatus):
655 remove LFUN_CHILD_INSERT.
657 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
659 2003-03-05 Angus Leeming <leeming@lyx.org>
662 * LyXAction.C (init):
663 * src/factory.C (createInset):
664 * lyxfunc.C (getStatus):
665 * text3.C (dispatch):
666 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
668 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
670 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
672 * ParagraphList.C (insert): handle insert right before end()
673 (erase): fix cases where it can be first or last paragraph.
675 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
677 * paragraph_funcs.C (TeXEnvironment): remove all usage of
678 Paragraph::next and Paragraph::previous
681 * text.C (breakParagraph): adjust
683 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
684 BufferParams& as arg.
685 (breakParagraph): use ParagraphList::insert
686 (breakParagraphConservative): take a Buffer* instead of a
687 BufferParams& as arg.
688 (breakParagraphConservative): use ParagraphList::insert.
690 * buffer.C (insertStringAsLines): un-const it
691 (insertStringAsLines): adjust
693 * ParagraphList.C (insert): new function
695 * CutAndPaste.C (pasteSelection): adjust
697 * text.C (backspace): adjust
699 * tabular.C (SetMultiColumn): adjust
701 * CutAndPaste.C (cutSelection): adjust
702 (pasteSelection): adjust
704 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
705 Buffer const * as arg
707 * ParagraphList.C (erase): new function
708 * paragraph_funcs.C (mergeParagraph): use it
709 (mergeParagraph): make it take a Buffer* instead of a
712 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
714 (breakParagraphConservative): ditto
716 * paragraph.h: remove the breakParagraph friend
718 * paragraph.C (eraseIntern): new function
719 (setChange): new function
721 * paragraph_funcs.C (mergeParagraph): make it take a
722 ParagraphList::iterator instead of a Paragraph *, adjust
725 * paragraph.h: move an #endif so that the change tracking stuff
726 also works in the NO_NEXT case.
728 2003-03-04 Angus Leeming <leeming@lyx.org>
731 * LyXAction.C: new LFUN_INSET_MODIFY.
733 * BufferView_pimpl.C (dispatch): if an inset is found to be open
734 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
736 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
738 * several files: ws changes only
740 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
741 (TeXEnvironment): ditto
744 * buffer.C (makeLaTeXFile): adjust
745 (latexParagraphs): make it take ParagraphList::iterator as args
747 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
749 * buffer.C (latexParagraphs): adjust
751 * paragraph.C (TeXOnePar): move function...
752 (optArgInset): move function...
753 (TeXEnvironment): move function...
754 * paragraph_pimpl.C (TeXDeeper): move function...
755 * paragraph_funcs.C: ...here
757 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
759 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
761 * buffer.C (readInset): remove compability code for old Figure and
764 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
766 * buffer.C: ws changes
769 * BufferView_pimpl.C: ditto
772 * bufferlist.h: ditto
776 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
778 * converter.[Ch]: split into itself +
781 * Makefile.am: += graph.[Ch] + format.[Ch]
788 * lyxrc.C: added #include "format.h"
790 2003-02-27 Angus Leeming <leeming@lyx.org>
792 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
795 * factory.C (createInset): add "label" to the factory.
797 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
798 string and do no more.
800 2003-02-27 Angus Leeming <leeming@lyx.org>
803 * LyXAction.C (init):
804 * factory.C (createInset):
805 * BufferView_pimpl.C (dispatch):
806 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
808 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
810 * lyxfunc.C (dispatch):
811 * text3.C (dispatch): pass name to params2string.
813 2003-02-26 Angus Leeming <leeming@lyx.org>
815 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
817 Rearrange the ~includes. Strip out the unnecessary ones.
819 * factory.C (createInset): reformat.
820 create new insets for the various LFUN_XYZ_APPLY lfuns.
822 2003-02-26 John Levon <levon@movementarian.org>
825 * lyxrow.C: add isParStart,isParEnd helpers
827 * paragraph.h: make isInserted/DeletedText take refs
830 * paragraph_funcs.C: remove #if 0'd code
835 * text.C: use lyxrow helpers above.
836 Move draw and paint routines to RowPainter.
837 Make several methods use refs not pointers.
838 Make backgroundColor() const.
839 Add markChangeInDraw(), isInInset().
840 Merge changeRegionCase into changeCase.
841 Make workWidth() shouldn't-happen code into an Assert.
844 * rowpainter.C: new class for painting a row.
847 * vspace.C: make inPixels take a ref
849 2003-02-26 Angus Leeming <leeming@lyx.org>
851 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
854 2003-02-25 John Levon <levon@movementarian.org>
856 * ispell.C: give the forked command a more accurate name
858 2003-02-22 John Levon <levon@movementarian.org>
861 * toc.C: make TocItem store an id not a Paragraph *
864 2003-02-21 Angus Leeming <leeming@lyx.org>
866 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
867 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
868 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
869 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
870 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
871 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
873 * BufferView_pimpl.C (dispatch):
874 * LyXAction.C (init):
875 * factory.C (createInset):
876 * lyxfunc.C (getStatus, dispatch):
877 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
879 2003-02-21 Angus Leeming <leeming@lyx.org>
881 * BufferView_pimpl.C (MenuInsertLyXFile):
882 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
883 * lyxfunc.C (menuNew, open, doImport):
884 no longer pass a LyXView & to fileDlg.
886 2003-02-21 Angus Leeming <leeming@lyx.org>
888 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
889 * LyXAction.C: change, BIBKEY to BIBITEM.
890 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
891 Change InsetBibKey to InsetBibitem.
892 Change BIBKEY_CODE to BIBITEM_CODE.
893 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
894 * factory.C: replace insetbib.h with insetbibitem.h.
895 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
896 * paragraph.C: replace insetbib.h with insetbibitem.h.
897 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
898 Change bibkey() to bibitem().
899 * text.C: remove insetbib.h.
900 * text2.C: replace insetbib.h with insetbibitem.h.
901 change bibkey() to bibitem().
902 * text3.C: remove insetbib.h.
903 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
905 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
907 * lyxrc.C (output): enclose user email in quotes (in case there are
910 2003-02-18 John Levon <levon@movementarian.org>
912 * buffer.h: add std::
914 2003-02-17 John Levon <levon@movementarian.org>
920 * pspell.C: reworking. Especially in ispell, a large
921 number of clean ups and bug fixes.
923 * lyxfunc.C: fix revert to behave sensibly
925 2003-02-17 André Pönitz <poenitz@gmx.net>
928 * commandtags.h: new LFUN_INSERT_BIBKEY
938 * paragraph_func.C: remove special bibkey handling
940 2003-02-17 John Levon <levon@movementarian.org>
942 * text.C (Delete): fix case where delete at the end of
943 the very first paragraph would not merge the pars
945 2003-02-17 John Levon <levon@movementarian.org>
947 * lyxrow.C: fix lastPrintablePos()
949 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
951 * bufferparams.C (writeLaTeX): add a std:here
953 * buffer.C: and remove a using directive there
955 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
957 * buffer.C (makeLaTeXFile): move the code that generates the
960 * bufferparams.C (writeLaTeX): ... in this new method
962 * LaTeXFeatures.C (getEncodingSet): make const
963 (getLanguages): make const
965 * MenuBackend.C (binding): returns the binding associated to this
967 (add): sets the status of each item by calling getStatus. Adds
969 (read): add support for OptSubMenu
970 (expand): remove extra separator at the end of expanded menu
972 2003-02-15 John Levon <levon@movementarian.org>
975 * BufferView_pimpl.C:
977 * bufferlist.C: remove pointless BufferStorage bloat. Remove
978 inset code that had no actual effect. Remove unneeded status
981 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
983 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
986 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
988 * text.C (drawLengthMarker): also draw an arrow marker for
989 symbolic lengths (medskip...)
991 2003-02-14 John Levon <levon@movementarian.org>
994 * tabular.C: better method names
996 2003-02-14 John Levon <levon@movementarian.org>
998 * BufferView_pimpl.C:
1003 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
1004 it's a more accurate name. Remove some pointless uses.
1006 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1008 * text2.C (LyXText): change order of initilizers to shut off
1011 2003-02-14 John Levon <levon@movementarian.org>
1013 * buffer.C: use ParIterator for getParFromID()
1017 * paragraph_pimpl.h:
1018 * paragraph_pimpl.C: remove unused getParFromID()
1020 2003-02-14 John Levon <levon@movementarian.org>
1022 * buffer.C: remove some very old #if 0'd parse code
1024 2003-02-13 John Levon <levon@movementarian.org>
1028 * text2.C: move hfillExpansion(), numberOfSeparators(),
1029 rowLast(), rowLastPrintable(), numberofHfills(),
1030 numberOfLabelHfills() ...
1033 * lyxrow.C: ... to member functions here.
1038 * text.C: remove LyXText::beginningOfMainBody(), and call
1039 p->beginningOfMainBody() directly. Move the check for
1040 LABEL_MANUAL into the latter.
1047 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1053 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1054 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1056 2003-02-13 John Levon <levon@movementarian.org>
1058 * CutAndPaste.C: remove debug
1060 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1062 * paragraph.C (asString): remove two unused variables
1064 * lyxtextclass.C (readTitleType):
1066 (LyXTextClass): handle new members titletype_ and titlename_
1068 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1070 2003-02-09 John Levon <levon@movementarian.org>
1073 * buffer.C: replace hand-coded list with a map for the dep clean
1075 2003-02-08 John Levon <levon@movementarian.org>
1077 * LaTeX.C: consolidate code into showRunMessage() helper
1079 2003-02-08 John Levon <levon@movementarian.org>
1084 * BufferView.C: change setSelectionOverString() to setSelectionRange()
1085 and pass the size in explicitly
1087 * BufferView_pimpl.h:
1088 * BufferView_pimpl.C:
1090 * BufferView.C: add getCurrentChange()
1092 * BufferView_pimpl.h:
1093 * BufferView_pimpl.C: handle change lfuns
1095 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
1096 for changes. Mark pasted paragraphs as new.
1098 * support/lyxtime.h:
1099 * support/lyxtime.C:
1100 * DepTable.C: abstract time_t as lyx::time_type
1103 * LColor.C: add colours for new text, deleted text, changebars
1105 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1106 package use "usenames" option.
1110 * LyXAction.C: add change lfuns
1114 * author.C: author handling
1117 * buffer.C: add a per-buffer author list, with first entry as
1118 current author. Handle new .lyx tokens for change tracking. Output
1119 author list to .lyx file. Output dvipost stuff to .tex preamble.
1120 Bump lyx format to 222.
1123 * bufferlist.C: add setCurrentAuthor() to reset current author details
1127 * bufferparams.C: add param for tracking
1129 * bufferview_funcs.C: output change info in minibuffer
1133 * changes.C: add change-tracking structure
1136 * debug.C: add CHANGES debug flag
1139 * lyxfind.C: add code for finding the next change piece
1142 * lyxrc.C: add user_name and user_email
1145 * lyxrow.C: add a metric for the top of the text line
1148 * text.C: implement accept/rejectChange()
1151 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1152 Strike through deleted text.
1156 * paragraph_pimpl.h:
1157 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1158 to the insert functions. Rework erase to mark text as deleted, adding
1159 an eraseIntern() and a range-based erase(). Implement
1160 per-paragraph change lookup and accept/reject.
1162 * paragraph_funcs.C: Fixup paste for change tracking.
1164 * tabular.C: mark added row/columns as new.
1166 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1167 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1169 * text2.C: leave cursor at end of selection after a cut.
1171 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1173 * text.C (getLengthMarkerHeight):
1174 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1175 visible on screen too.
1177 2003-02-07 John Levon <levon@movementarian.org>
1179 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1181 2003-02-05 Angus Leeming <leeming@lyx.org>
1183 * lyxserver.C (read_ready): revert my patch of 11 September last year
1184 as it sends PC cpu through the roof. Presumably this means that
1185 the lyxserver will no longer run on an Alpha...
1187 2003-01-30 Angus Leeming <leeming@lyx.org>
1189 * factory.C (createInset): create an InsetCommandParam of type "index"
1190 and use it to 'do the right thing'.
1192 * text2.C (getStringToIndex): ensure that cursor position is always
1193 reset to the reset_cursor position.
1195 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1197 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1200 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1204 * lyxfunc.C: Output messages with identical spelling, punctuation,
1207 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1209 * MenuBackend.C (expandFormats): List only viewable export formats
1212 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1215 * lyxfunc.C (getStatus): Make sure that formats other than
1216 "fax" can also be disabled
1218 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1220 * text3.C (dispatch): put the lfuns that insert insets in 3
1221 groups, and call doInsertInset with appropriate arguments.
1222 (doInsertInset): new function, that creates an inset and inserts
1223 it according to some boolean parameters.
1225 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1227 * buffer.C (readFile): remember to pass on 'par' when calling
1228 readFile recursively.
1230 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1232 * MenuBackend.C (expandFormats): add "..." to import formats.
1234 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1236 * paragraph.C (asString): Remove XForms RTL hacks.
1238 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1239 * buffer.C: fix typo
1241 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1243 * Makefile.am (LIBS): delete var
1244 (lyx_LDADD): add @LIBS@ here instead.
1246 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1248 * Clarify the meaning of "wheel mouse jump"
1250 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1252 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1255 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1257 * importer.C (Loaders): do not preallocate 3 elements in the
1258 vector, since one ends up with 6 elements otherwise
1260 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1262 * DepTable.C (write): write the file name as last element of the
1263 .dep file (because it may contain spaces)
1264 (read): read info in the right order
1266 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1268 * paragraph_pimpl.C (simpleTeXBlanks):
1269 (simpleTeXSpecialChars):
1270 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1272 * tabular.C (latex): add some missing case statements. Reindent.
1274 * MenuBackend.C (expandToc): remove unused variable.
1276 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1285 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1288 2003-01-05 John Levon <levon@movementarian.org>
1291 * BufferView.C: add getEncoding()
1294 * kbsequence.C: do not store last keypress
1297 * lyxfunc.C: store last keypress here instead. Pass encoding
1300 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1302 * lyx_main.C (init): remove annoying error message when following
1303 symbolic links (bug #780)
1305 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1307 * text.C (insertChar):
1308 * lyxrc.C (getDescription): remove extra spaces
1310 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1312 * lyxrc.C (getDescription): remove extra spaces
1314 2002-12-20 John Levon <levon@movementarian.org>
1316 * text3.C: hack fix for page up/down across tall rows
1318 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1320 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1323 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1325 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1326 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1327 thesaurus is not compiled in
1329 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1331 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1333 2002-12-16 Angus Leeming <leeming@lyx.org>
1336 * lyx_main.C (init): remove override_x_deadkeys stuff.
1338 2002-12-12 John Levon <levon@movementarian.org>
1340 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1341 insert. Only remove shift modifier under strict
1344 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1346 * MenuBackend.C (expandToc): fix crash.
1348 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1350 * MenuBackend.C (expandToc): gettext on float names.
1352 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1354 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1355 implement bool empty() [bug 490]
1357 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1359 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1361 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1363 * several files: ws changes
1365 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1367 * text2.C (setCounter): clean up a bit, use boost.format.
1368 (updateCounters): initialize par upon declaration.
1370 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1371 if the layout exists. We do not just store the layout any more.
1372 (SwitchLayoutsBetweenClasses): use boost.format
1374 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1376 * converter.C (convert): if from and to files are the same, use a
1377 temporary files as intermediary
1379 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1382 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1384 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1386 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1388 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1390 * tabular.C (asciiPrintCell): use string(size, char) instead of
1393 * sgml.C (openTag): fix order of arguments to string constructor
1396 * lyxfunc.C (dispatch): use boost.format
1398 * lots of files: change "c" -> 'c'
1400 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1402 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1404 2002-11-25 Angus Leeming <leeming@lyx.org>
1406 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1408 * lyx_main.C (init): compile fix.
1410 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1412 * lyx_cb.C (start): boost.formatify
1413 do not include <iostream>
1415 * lengthcommon.C: ws only
1417 * boost-inst.C,BoostFormat.h: add more explict instantations
1419 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1421 * lots of files: handle USE_BOOST_FORMAT
1423 2002-11-21 John Levon <levon@movementarian.org>
1425 * pspell.C: fix compile
1427 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1429 * lyxfunc.C (dispatch): use boost::format
1433 * lyxfont.C (stateText): use boost::format
1435 * lyx_main.C (LyX): use boost::format
1437 (queryUserLyXDir): ditto
1440 (typedef boost::function): use the recommened syntax.
1442 * importer.C (Import): use boost::format
1444 * debug.C (showLevel): use boost::format
1446 * converter.C (view): use boost::format
1451 * bufferview_funcs.C (currentState): use boost::format
1453 * bufferlist.C (emergencyWrite): use boost::format
1455 * buffer.C (readLyXformat2): use boost::format
1456 (parseSingleLyXformat2Token): ditto
1458 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1460 * LaTeX.C (run): use boost::format
1462 * Chktex.C (scanLogFile): use boost::format
1464 * BufferView_pimpl.C (savePosition): use boost::format
1465 (restorePosition): ditto
1466 (MenuInsertLyXFile): ditto
1468 * BoostFormat.h: help file for explicit instation.
1470 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1472 * tabular.C (latex): Support for block alignment in fixed width
1475 2002-11-17 John Levon <levon@movementarian.org>
1477 * BufferView_pimpl.C:
1479 * lyxfunc.C: split filedialog into open/save
1481 2002-11-08 Juergen Vigna <jug@sad.it>
1483 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1484 by my last patch (hopefully).
1486 2002-11-08 John Levon <levon@movementarian.org>
1495 * toc.C: ParConstIterator, and use it (from Lars)
1497 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1499 * lyxtextclass.[Ch]: revise and add doxygen comments
1501 2002-11-07 John Levon <levon@movementarian.org>
1503 * text.C: fix progress value for spellchecker
1505 * toc.C: fix navigate menu for insetwrap inside minipage
1507 * paragraph_funcs.C: added FIXME for suspect code
1509 2002-11-07 John Levon <levon@movementarian.org>
1511 * BufferView_pimpl.C: fix redrawing of insets
1514 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1516 * text2.C (updateCounters): fix bug 668
1518 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1520 * text3.C (dispatch): Do not make the buffer dirty when moving the
1523 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1525 * vc-backend.C: STRCONV
1528 * text2.C (setCounter): STRCONV
1530 * paragraph.C (asString): STRCONV
1532 * lyxlength.C (asString): STRCONV
1533 (asLatexString): ditto
1535 * lyxgluelength.C (asString): STRCONV
1536 (asLatexString): ditto
1538 * lyxfunc.C (dispatch): STRCONV
1541 * lyxfont.C (stateText): STRCONV
1543 * importer.C (Import): STRCONV
1545 * counters.C (labelItem): STRCONV
1546 (numberLabel): ditto
1547 (numberLabel): remove unused ostringstream o
1552 * bufferview_funcs.C (currentState): STRCONV
1554 * buffer.C (readFile): STRCONV
1555 (asciiParagraph): ditto
1556 (makeLaTeXFile): ditto
1558 * Spacing.C (writeEnvirBegin): STRCONV
1560 * LaTeXFeatures.C (getLanguages): STRCONV
1561 (getPackages): ditto
1563 (getBabelOptions): ditto
1564 (getTClassPreamble): ditto
1565 (getLyXSGMLEntities): ditto
1566 (getIncludedFiles): ditto
1570 (scanAuxFile): ditto
1573 * LString.h: add the STRCONV macros
1575 * BufferView_pimpl.C (savePosition): STRCONV
1576 (restorePosition): ditto
1577 (MenuInsertLyXFile): ditto
1579 * vc-backend.C (scanMaster): change from submatch[...] to
1582 * funcrequest.C: include config.h
1584 * factory.C: include config.h
1586 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1588 * box.C: include config.h
1590 * LaTeX.C (scanAuxFile): change from submatch[...] to
1594 2002-10-25 Angus Leeming <leeming@lyx.org>
1596 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1598 * ispell.[Ch] (setError): new method.
1599 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1600 Use setError() insetead of goto END.
1602 * lyx_cb.C (AutoSave): move out child process into new class
1605 2002-10-30 John Levon <levon@movementarian.org>
1607 * text3.C: make start appendix undoable
1609 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1611 * lyxlength.C (inPixels): Fix returned value.
1613 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1616 2002-10-24 Angus Leeming <leeming@lyx.org>
1618 * lyxgluelength.h: no need to forward declare BufferParams
1619 or BufferView, so don't.
1621 2002-10-21 John Levon <levon@movementarian.org>
1623 * BufferView.C: menuUndo ->undo, redo
1625 * BufferView.h: document, remove dead, make some methods private
1627 * paragraph_funcs.h:
1628 * paragraph_funcs.C:
1629 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1634 * sgml.C: move sgml open/close tag into sgml.C
1636 * bufferview_funcs.h: unused prototype
1639 * lyxfunc.C: remove unused
1642 * text.C: remove unused
1644 2002-10-21 John Levon <levon@movementarian.org>
1648 * BufferView_pimpl.h:
1649 * BufferView_pimpl.C: fix mouse wheel handling based on
1650 patch from Darren Freeman
1652 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
1654 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1656 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
1658 * lyxlength.C (inPixels): Fix hanfling of negative length.
1659 Fix LyXLength::MU case.
1661 2002-10-16 John Levon <levon@movementarian.org>
1663 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1665 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1667 * converter.C (view): add support for $$i (file name) and $$p
1668 (file path) for the viewer command. If $$i is not specified, then
1669 it is appended to the command (for compatibility with old syntax)
1671 2002-10-14 Juergen Vigna <jug@sad.it>
1673 * undo_funcs.C (textHandleUndo): alter the order in which the
1674 new undopar is added to the LyXText, as we have to set first
1675 the right prev/next and then add it as otherwise the rebuild of
1676 LyXText is not correct. Also reset the cursor to the right paragraph,
1677 with this IMO we could remove the hack in "redoParagraphs()".
1679 2002-10-09 Angus Leeming <leeming@lyx.org>
1681 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1682 to turn off an optimisation if a new inset is to be inserted.
1684 2002-10-11 André Pönitz <poenitz@gmx.net>
1686 * lyxtext.h: make some functions public to allow access
1687 from inset/lyxtext for handling LFUN_PRIOR/NEXT
1689 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1691 * text3.C (dispatch): when changing layout, avoid an infinite loop
1694 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1696 * lyxrc.C (read): treat a viewer or converter command of "none" as
1699 * MenuBackend.C (expandFormats): for an update, also allow the
1700 formats that are not viewable
1702 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
1703 script if it is newer than the lyxrc.defaults in user directory
1705 2002-10-07 André Pönitz <poenitz@gmx.net>
1707 * text.C: Vitaly Lipatov's small i18n fix
1709 2002-09-25 Angus Leeming <leeming@lyx.org>
1711 * ispell.h: doxygen fix.
1713 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
1715 * buffer.h (readFile): Add a new argument to the method, to allow
1716 reading of old-format templates.
1718 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
1720 * toc.C (getTocList): Get TOC from InsetWrap.
1722 2002-09-16 John Levon <levon@movementarian.org>
1724 * lyxfunc.C: check tabular for cut/copy too
1726 2002-09-12 John Levon <levon@movementarian.org>
1731 * factory.C: add header
1733 * paragraph_funcs.h:
1734 * paragraph_funcs.C: cleanup
1736 2002-09-11 John Levon <levon@movementarian.org>
1738 * PrinterParams.h: odd/even default to true
1740 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1742 * PrinterParams.h: update printer parameters for new xforms dialog
1744 2002-09-11 Angus Leeming <leeming@lyx.org>
1746 * lyxserver.C (read_ready): re-write to make it more transparent
1747 and to make it work in coherent fashion under Tru64 Unix.
1749 2002-09-11 André Pönitz <poenitz@gmx.net>
1753 * text3.C: implement LFUN_WORDSEL
1755 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1757 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1758 make floatlist_ a boost::shared_ptr<FloatList>
1760 * lyxtextclass.C: include FloatList.h
1761 (LyXTextClass): initialize floatlist_
1762 (TextClassTags): add TC_NOFLOAT
1763 (Read): match "nofloat" to TC_NOFLOAT and use it.
1764 (readFloat): modify call to floatlist_
1768 * FloatList.[Ch] (FloatList): remove commented out float
1770 (erase): new function
1772 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1774 * MenuBackend.C (expandToc): fix crash when there is no document
1777 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
1779 * many files: Add insetwrap.
1781 2002-09-09 John Levon <levon@movementarian.org>
1783 * text2.C: remove confusing and awkward depth wraparound
1785 2002-09-09 John Levon <levon@movementarian.org>
1787 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1790 * buffer.C: remove getIncludeonlyList()
1793 * lyxfunc.C: remove headers
1795 2002-09-09 Juergen Vigna <jug@sad.it>
1797 * text.C (getColumnNearX): fix form Michael this is most
1798 probably a cut&paste bug.
1800 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1802 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1804 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1805 references, ws changes.
1807 * text2.C (init): update counters after init
1808 (insertParagraph): no need to set counter on idividual paragraphs.
1809 (setCounter): access the counters object in the textclass object
1810 on in the buffer object.
1811 (updateCounters): ditto
1813 * lyxtextclass.C: include counters.h, add variable ctrs_ as
1814 shared_ptr<Counters> to avoid loading counters.h in all
1816 (LyXTextClass): initialize ctrs_
1817 (TextClassTags): add TC_COUNTER, and ...
1818 (Read): use it here.
1819 (CounterTags): new tags
1820 (readCounter): new function
1821 (counters): new funtion
1822 (defaultLayoutName): return a const reference
1824 * counters.C (Counters): remove contructor
1825 (newCounter): remove a couple of unneeded statements.
1826 (newCounter): simplify a bit.
1827 (numberLabel): some small formatting changes.
1829 * buffer.[Ch]: remove all traces of counters, move the Counters
1830 object to the LyXTextClass.
1832 2002-09-06 Alain Castera <castera@in2p3.fr>
1834 * tabular.C: uses \tabularnewline; uses >{...} construct from array
1835 package to set the horizontal alignment on fixed width columns.
1838 * lyx_sty.h: added tabularnewline macro def.
1840 * LaTeXFeatures.C: added NeedTabularnewline macro feature
1842 2002-09-06 John Levon <levon@movementarian.org>
1844 * LyXAction.C: tooltips for sub/superscript
1846 * MenuBackend.C: a bit more verbose
1848 * lyxfunc.C: tiny clean
1850 * undo_funcs.C: document undo_frozen
1852 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1854 * counters.C (Counters): add missing algorithm counter.
1856 * text2.C (setCounter): lookup the counter with layouts latexname
1857 instead of by section number.
1858 (setCounter): use a hackish way to lookup the correct enum
1860 a float name->type change
1861 reset enum couners with counter name directly instead of depth value.
1863 * counters.C (Counters): remove the push_backs, change to use the
1864 float type not the float name.
1865 (labelItem): remove unused string, float name->type change
1867 * counters.h: don't include vector, loose the enums and sects vectors
1869 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1871 * lyxtextclass.C (TextClassTags): add TC_FLOAT
1872 (Read): add float->TC_FLOAT to textclassTags
1873 (Read): and handle it in the switch
1874 (readFloat): new function
1876 * FloatList.C (FloatList): comment out the hardcoded float
1879 * lyxlayout.h: ws change.
1881 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
1883 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
1885 2002-09-03 Angus Leeming <leeming@lyx.org>
1887 * BufferView_pimpl.h: qualified name is not allowed in member
1888 declaration: WorkArea & Pimpl::workarea() const;
1890 * factory.C: added using std::endl directive.
1892 * text3.C: added using std::find and std::vector directives.
1894 2002-08-29 André Pönitz <poenitz@gmx.net>
1897 * text2.C: remove unused member number_of_rows
1900 * BufferView2.C: remove file, move contents to...
1901 * BufferView.C: ... here
1903 * BufferView_pimpl.C:
1904 * factory.C: move more inset creation to factory
1906 * vspace.C: avoid direct usage of LyXText, ws changes
1909 don't provide direct access to WorkArea, use two simple
1910 acessors haveSelction() and workHeight() instead
1913 2002-08-29 John Levon <levon@movementarian.org>
1915 * BufferView_pimpl.C (dispatch): do not continue when
1918 2002-08-28 André Pönitz <poenitz@gmx.net>
1920 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
1923 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
1925 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
1927 * buffer.C: increment LYX_FORMAT to 221
1929 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
1930 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
1932 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
1934 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
1936 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1938 * factory.C (createInset): use LyXTextClass::floats
1940 * MenuBackend.C (expandFloatListInsert):
1941 (expandFloatInsert):
1944 * text2.C (setCounter):
1946 * LaTeXFeatures.C (useFloat):
1947 (getFloatDefinitions):
1949 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
1951 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
1952 floatlist_, with accessor floats().
1954 * FloatList.h: remove global FloatList
1956 2002-08-26 André Pönitz <poenitz@gmx.net>
1958 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
1962 * BufferView_pimpl.C:
1963 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
1965 2002-08-25 John Levon <levon@movementarian.org>
1967 * LyXAction.C: fix margin note description
1969 2002-08-24 John Levon <levon@movementarian.org>
1973 * bufferview_funcs.C:
1975 * undo_funcs.C: cleanups
1977 * lyxfunc.C: disable CUT/COPY when no selection
1979 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1981 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
1982 in "enum UNIT"; e.g. PTW for Percent of TextWidth
1984 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
1985 Add backward compatibility to "mono", "gray" and "no".
1987 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
1989 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
1990 (and file_format >= 200).
1992 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1994 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
1996 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1998 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
2000 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
2002 * BufferView_pimpl.C:
2009 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2010 inset and code to make it work with the paragraph code. The inset
2011 can be anywhere in the paragraph, but will only do the expected
2012 thing in LaTeX if the layout file contains the parameter line
2014 (or more generally, a nonzero value) for that layout.
2016 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2018 * paragraph.h: remove the declaration of undefined counters class
2021 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
2023 * text2.C (setCounter): fixed enumeration mis-count as reported by
2024 Dr. Richard Hawkins.
2026 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2028 * paragraph_funcs.h: remove some unneeded includes
2030 * text.C (backspace): pasteParagraph now in global scipe
2032 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2033 (pasteSelection): ditto
2035 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2036 * paragraph_funcs.C (pasteParagraph): ... here
2038 2002-08-20 André Pönitz <poenitz@gmx.net>
2040 * commandtags.h: new LFUNs for swapping/copying table row/colums
2043 * lyxfunc.C: support for new lfuns
2045 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2048 * buffer.[Ch]: remove NO_COMPABILITY stuff
2050 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
2052 * boost.C (throw_exception): new file, with helper function for
2053 boost compiled without exceptions.
2058 * ParameterStruct.h:
2059 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2061 * bufferlist.C (emergencyWriteAll): use boost bind
2063 * BufferView_pimpl.C (moveCursorUpdate): remove inline
2065 * text.C: include paragraph_funcs.h
2066 (breakParagraph): breakParagraph is now in global scope
2068 * paragraph_funcs.[Ch]: new files
2070 * paragraph.C (breakParagraph,breakParagraphConservative): move to
2073 * buffer.C: include paragraph_funcs.h
2074 (insertStringAsLines): breakParagraph is now in global scope
2076 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2079 * CutAndPaste.C: include paragraph_funcs.h
2080 (cutSelection): breakParagraphConservative is now in global scope
2081 (pasteSelection): ditto
2083 * buffer.h: declare oprator== and operator!= for
2084 Buffer::inset_iterator
2086 * bufferlist.C (emergencyWrite): don't use fmt(...)
2088 * text3.C: add using std::endl
2090 * BufferView.C (moveCursorUpdate): remove default arg
2092 2002-08-20 André Pönitz <poenitz@gmx.net>
2094 * buffer.[Ch]: move inline functions to .C
2097 * BufferView_pimpl.C:
2099 * buffer.[Ch]: use improved inset_iterator
2102 * paragraph.[Ch]: write one paragraph at a time
2104 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
2106 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2107 style if style is not specified.
2109 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2111 * text2.C (setCounter): when searching for right label for a
2112 caption, make sure to recurse to parent insets (so that a caption
2113 in a minipage in a figure float works) (bug #568)
2115 2002-08-20 André Pönitz <poenitz@gmx.net>
2117 * text3.C: new file for LyXText::dispatch() and helpers
2119 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2121 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2123 2002-08-19 André Pönitz <poenitz@gmx.net>
2126 * text.C: new LyXText::dispatch()
2128 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2130 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
2132 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2134 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2137 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2139 * Makefile.am: use $(variables) instead of @substitutions@
2141 2002-08-15 André Pönitz <poenitz@gmx.net>
2144 * BufferView_pimpl.C: streamlining mathed <-> outer world
2148 * LyXAction.C: remove unused LFUN_MATH
2150 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2152 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2154 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2156 * paragraph.C (Paragraph): reformat a bit
2157 (cutIntoMinibuffer): use builtin InsetList function instad of
2161 * buffer.C: include boost/bind.hpp, add using std::for_each
2162 (writeFileAscii): use ParagraphList iterators
2163 (validate): use for_each for validate traversal of paragraphs
2164 (getBibkeyList): use ParagraphList iterators
2165 (resizeInsets): use for_each to resizeInsetsLyXText for all
2167 (getParFromID): use ParagraphList iterators
2169 * BufferView2.C (lockInset): use paragraph list and iterators
2171 2002-08-14 John Levon <levon@movementarian.org>
2173 * lyxserver.C: remove spurious xforms include
2175 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2177 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2179 2002-08-13 André Pönitz <poenitz@gmx.net>
2182 * lyxfunc.C: further cleaning
2184 2002-08-13 André Pönitz <poenitz@gmx.net>
2186 * funcrequest.h: new constructor
2188 * funcrequest.C: move stuff here from .h
2191 * BufferView_pimpl.C:
2194 * lyxfunc.C: subsequent changes
2196 * lyxfunc.h: new view() member function
2198 * lyxfunc.C: subsequent changes
2200 2002-08-13 Angus Leeming <leeming@lyx.org>
2203 * BufferView_pimpl.C:
2211 changes due to the changed LyXView interface that now returns references
2212 to member variables not pointers.
2214 2002-08-13 Angus Leeming <leeming@lyx.org>
2216 * WordLangTuple (word, lang_code): return references to strings,
2221 * lyxtext.h: forward-declare WordLangTuple.
2226 * text.C: #include "WordLangTuple.h".
2229 * text.C: (selectNextWordToSpellcheck): constify return type.
2231 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2237 * paragraph_pimpl.h:
2240 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2242 Made updateCounter always count from start of buffer, and removed
2243 second argument (par).
2244 Reverted floats number display to '#'. Perhaps I'll try again when the
2245 code base is sanitized a bit.
2247 2002-08-12 Angus Leeming <leeming@lyx.org>
2249 * buffer.[Ch] (getLabelList): constify.
2251 2002-08-07 André Pönitz <poenitz@gmx.net>
2253 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2255 * funcrequest.h: extension to keep mouse (x,y) position
2257 2002-08-12 Juergen Vigna <jug@sad.it>
2259 * BufferView2.C (insertErrors): forbid undo when inserting error
2262 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2264 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2266 * ParagraphList.[Ch]: new files
2268 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2270 * BufferView2.C (lockInset): ParagraphList changes
2273 * bufferlist.C: ditto
2277 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2279 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2280 unused class variable counter_,
2282 * paragraph.[Ch] (getFirstCounter): delete unused function
2284 * counters.C: include LAssert.h
2285 (reset): add a new function with no arg, change other version to
2286 not have def. arg and to not allow empty arg.
2288 * text2.C (setCounter): remove empty arg from call to Counters::reset
2290 2002-08-11 John Levon <levon@movementarian.org>
2292 * Makefile.am: add WordLangTuple.h
2294 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2296 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2297 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2299 * insets/insettext.C: InsetList changes
2301 * graphics/GraphicsSupport.C (operator()): InsetList changes
2303 * toc.C (getTocList): InsetList changes
2305 * paragraph_pimpl.[Ch]: InsetList changes
2307 * paragraph.[Ch]: InsetList changes
2309 * buffer.C (inset_iterator): InsetList changes
2310 (setParagraph): ditto
2311 * buffer.h (inset_iterator): ditto
2312 * iterators.C (operator++): ditto
2313 * iterators.h: ditto
2315 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2317 * InsetList.[Ch]: new files, most InsetList handling moved out of
2320 * BufferView2.C (removeAutoInsets): InsetList changes
2322 (ChangeInsets): ditto
2324 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2326 * paragraph_pimpl.h (empty): new function
2328 * paragraph.[Ch] (empty): new function
2330 * other files: use the new Paragraph::empty function
2332 2002-08-09 John Levon <levon@movementarian.org>
2334 * lyxtext.h: remove unused refresh_height
2336 2002-08-09 John Levon <levon@movementarian.org>
2343 * paragraph.C: move sgml char escaping out of paragraph
2346 * paragraph.C: remove id setter
2350 * paragraph_pimpl.C: remove dead tex_code_break_column
2352 * bufferview_funcs.C: small cleanup
2354 * lyxfunc.C: remove dead proto
2356 * lyxtext.h: make some stuff private. Remove some dead stuff.
2358 * lyxgluelength.C: make as[LyX]String() readable
2360 2002-08-08 John Levon <levon@movementarian.org>
2365 * ToolbarDefaults.C:
2368 * toc.C: lyxaction cleanup
2370 2002-08-08 John Levon <levon@movementarian.org>
2372 * BufferView2.C: small cleanup
2375 * lyxfind.C: move unnecessary header into the .C
2377 2002-08-08 John Levon <levon@movementarian.org>
2379 * funcrequest.h: just tedious nonsense
2382 * lyx_main.C: cleanups
2385 * vspace.C: remove dead header lyx_main.h
2387 2002-08-07 Angus Leeming <leeming@lyx.org>
2390 * paragraph_pimpl.h:
2391 Forward declare class Counters in paragraph.h by moving the ctrs member
2392 variable into Paragraph::Pimpl.
2393 (counters): new method, returning a reference to pimpl_->ctrs.
2395 * text2.C: ensuing changes.
2397 2002-08-07 John Levon <levon@movementarian.org>
2399 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2401 * BufferView_pimpl.C: announce X selection on double/triple
2404 * lyx_main.C: use correct bool in batch dispatch
2406 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2408 2002-08-07 André Pönitz <poenitz@gmx.net>
2410 * funcrequest.h: new class to wrap a kb_action and its argument
2413 * BufferView_pimpl[Ch]:
2417 * lyxrc.C: subsequent changes
2420 2002-08-07 John Levon <levon@movementarian.org>
2422 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2423 document options change.
2425 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2430 * makefile.am: move counters functionality over from
2431 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2433 2002-08-06 John Levon <levon@movementarian.org>
2435 * WordLangTuple.h: new file for word + language code tuple
2446 * BufferView2.C: use WordLangTuple
2449 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2451 2002-08-06 John Levon <levon@movementarian.org>
2453 * lyx_main.C: fix cmdline batch handling
2455 2002-08-06 André Pönitz <poenitz@gmx.net>
2457 * lyxrc.C: set default for show_banner to true
2459 2002-08-06 John Levon <levon@movementarian.org>
2461 * pspell.C: fix a crash, and allow new aspell to work
2463 2002-08-06 John Levon <levon@movementarian.org>
2466 * kbmap.C: small cleanup
2469 * vspace.C: add const
2471 2002-08-05 John Levon <levon@movementarian.org>
2473 * LyXAction.C: back to tabular-insert
2475 2002-08-04 John Levon <levon@movementarian.org>
2478 * BufferView.C: cosmetic change
2480 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2490 * BufferView2.C: purge all "Lyx" not "LyX" strings
2493 * lyxcursor.C: attempt to add some documentation
2498 * ToolbarDefaults.C:
2499 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2500 merge with LFUN_TABULAR_INSERT
2507 * pspell.C: split up i/pspell implementations into separate
2508 files, many cleanups
2510 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2512 * text2.C: some cleanup
2514 * lyxfunc.C: don't check for isp_command == "none" any more, it
2515 didn't make any sense
2517 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2522 * makefile.am: move counters functionality over
2523 from text2.C/paragraph.[Ch] to counters.[Ch], and
2525 2002-08-02 John Levon <levon@movementarian.org>
2527 * buffer.C: s/lyxconvert/lyx2lyx/
2529 2002-08-02 Angus Leeming <leeming@lyx.org>
2531 * lyxlex.C: revert John's change as it breaks reading of the user
2534 2002-08-02 Angus Leeming <leeming@lyx.org>
2536 * importer.C (Import):
2537 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2538 changes due to LyXView::view() now returning a boost::shared_ptr.
2540 2002-08-02 John Levon <levon@movementarian.org>
2542 * lyxlex.C: small cleanup
2544 2002-08-02 John Levon <levon@movementarian.org>
2546 * text2.C (status): small cleanup, no logic change
2548 2002-08-01 John Levon <levon@movementarian.org>
2551 * buffer.C (writeFile): don't output alerts, caller
2555 * lyx_cb.C: from above
2557 * lyxfunc.C: allow to open non-existent files
2559 2002-07-31 John Levon <levon@movementarian.org>
2561 * lyxserver.C: don't let incidental errors get
2564 2002-07-30 John Levon <levon@movementarian.org>
2566 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2568 2002-07-30 John Levon <levon@movementarian.org>
2571 * lyxserver.C: remove I/O callback too
2573 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2575 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2578 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2580 * many files: strip,frontStrip -> trim,ltrim,rtrim
2582 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2584 * PrinterParams.h: remove extern containsOnly, and include
2585 support/lstrings.h instead.
2587 * LaTeX.C (scanAuxFile): modify because of strip changes
2589 * buffer.C (makeLaTeXFile): ditto
2590 * bufferparams.C (writeFile): ditt
2591 * lyxfont.C (stateText): ditto
2592 * lyxserver.C (read_ready): ditto
2593 * vc-backend.C (scanMaster): ditto
2595 * BufferView_pimpl.h: ws changes
2597 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2599 2002-07-26 André Pönitz <poenitz@gmx.net>
2601 * kb_sequence.C: remove unnedred usings
2603 2002-07-26 Juergen Vigna <jug@sad.it>
2605 * lyxfind.C (LyXReplace): we have to check better if the returned
2606 text is not of theLockingInset()->getLockingInset().
2608 2002-07-25 Juergen Vigna <jug@sad.it>
2610 * lyxfind.C (LyXReplace): don't replace if we don't get the
2613 * undo_funcs.C (createUndo): remove debugging code.
2615 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2617 * buffer.C (parseSingleLyXformat2Token): Use default placement
2618 when reading old floats.
2620 * FloatList.C (FloatList): Change the default placement of figure
2621 and tables to "tbp".
2623 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
2625 * MenuBackend.C: using std::max
2627 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2629 * MenuBackend.C (expandToc):
2630 (expandToc2): code moved from xforms menu frontend. It is now
2631 generic and TOCs are transparent to menu frontends.
2633 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2635 * toc.C (getTocList): protect against buf=0
2637 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2638 Menu as first parameter. Now, this calls itself recursively to
2639 expand a whole tree (this will be useful for TOC handling)
2640 (expandFloatInsert): remove 'wide' version of floats
2642 * MenuBackend.h (submenuname): returns the name of the submenu.
2643 (submenu): returns the submenu itself, provided it has been
2644 created by MenuBackend::expand
2646 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2648 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2649 insets which have noFontChange == true. (bug #172)
2651 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2653 * BufferView_pimpl.C: add connection objects and use them...
2656 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2658 * MenuBackend.C (expandLastfiles):
2661 (expandFloatListInsert):
2662 (expandFloatInsert):
2663 (expand): split expand in parts
2665 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2667 * lyx_gui.C: use lyx_gui::exit()
2669 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2671 * LyXAction.C: show the failing pseudo action
2673 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
2675 * buffer.C (readFile): Run the lyxconvert script in order to read
2678 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2682 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2684 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2688 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2690 2002-07-22 Herbert Voss <voss@lyx.org>
2693 * lyxlength.[Ch]: add support for the vertical lengths
2695 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
2697 * toc.[Ch]: std:: fixes
2699 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2701 * lyxrc.C: do not include lyx_main.h
2703 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
2709 * BufferView2.C: include "lyxlex.h"
2712 * bufferparams.h: do not #include "lyxlex.h"
2714 * lyxtextclasslist.C (Add): remove method
2715 (classlist): renamed to classlist_
2717 * paragraph_pimpl.C:
2721 * bufferview_funcs.C:
2726 * toc.C (getTocList): use BufferParams::getLyXTextClass
2728 * toc.C (getTocList): use InsetFloat::addToToc
2730 * toc.[Ch]: new files, containing helper functions to handle table
2733 * lyxfunc.C (dispatch): no need to remove spaces around command
2735 (getStatus): handle LFUN_SEQUENCE by returning the status of the
2736 first command of the sequence; it is not very clever, but I do not
2737 have a better idea, actually
2739 * LyXAction.C (LookupFunc): make sure to remove space at the
2740 beginning and end of the command
2742 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2744 * MenuBackend.C (getMenubar): new method: return the menubar of
2746 (read): treat differently reading of menu and menubar (in
2747 particular, the menubar has no name now)
2748 (Menu::menubar): remove
2750 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2753 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2755 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2756 a bibitem inset in a RTL paragraph.
2758 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
2760 * paragraph_pimpl.C: constify
2762 * BufferView_pimpl.C:
2764 * lyxfunc.C: fix dispatch in a nicer way
2766 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2768 * lyxfunc.C (dispatch):
2769 * BufferView_pimpl.C:
2770 * BufferView_pimpl.h:
2772 * BufferView.h: rename Dispatch() to dispatch()
2774 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2776 * lyxlayout.C (Read): honor DependsOn tag
2778 * lyxlayout.[Ch] (depends_on): new method
2780 * version.C.in: update lyx_docversion
2782 * LaTeXFeatures.C (getMacros): only define \LyX when needed
2784 * paragraph.C (validate): remove from here...
2785 * paragraph_pimpl.C (validate): ... and move here
2786 (isTextAt): make it const
2788 * buffer.C (getLists): ws cleanup
2790 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2792 * language.C (read): Use iso8859-1 encoding in latex_lang
2793 (this prevents LyX from crashing when using iso10646-1 encoding).
2795 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2797 * text2.C (toggleInset): if cursor is inside an inset, close the
2798 inset and leave cursor _after_ it
2800 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2802 * lyxfunc.C: move minibuffer completion handling out of here
2804 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2806 * BufferView_pimpl.C:
2807 * LaTeX.C: fix dispatch calls
2809 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
2811 * text.C (drawChars): Fix Arabic text rendering.
2813 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
2817 * lyxfunc.C: remove message-push/pop
2821 * lyxfunc.C: rationalise some code by removing verboseDispatch
2822 in favour of a bool argument to dispatch()
2824 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2826 * lyx_main.C (init): make sure to read symlinks as absolute paths
2828 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2831 * lyxfunc.C: no need for commandshortcut to be a member
2833 2002-07-15 André Pönitz <poenitz@gmx.net>
2835 * converter.C: add support for $$s (scripts from lib/scripts dir)
2836 * lyx_main.C: white space
2838 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2842 * lyxrc.C: remove second exit confirmation
2844 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2849 * BufferView_pimpl.h:
2850 * BufferView_pimpl.C:
2851 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2853 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2855 * MenuBackend.C (expand): add numeric shortcuts to document menu
2857 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
2859 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2861 * lyxfont.C (setLyXFamily):
2868 * buffer.C (asciiParagraph): use ascii_lowercase
2870 2002-07-15 Mike Fabian <mfabian@suse.de>
2872 * lyxlex_pimpl.C (search_kw):
2873 * lyxlex.C (getLongString):
2874 * converter.h (operator<):
2875 * converter.C (operator<):
2876 * buffer.C (parseSingleLyXformat2Token):
2878 * ToolbarDefaults.C (read):
2879 * MenuBackend.C (checkShortcuts):
2881 * LColor.C (getFromGUIName):
2882 (getFromLyXName): use the compare_ascii_no_case instead of
2883 compare_no_case, because in turkish, 'i' is not the lowercase
2884 version of 'I', and thus turkish locale breaks parsing of tags.
2886 2002-07-16 Angus Leeming <leeming@lyx.org>
2888 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
2889 now takes a Buffer const & argument.
2891 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2893 * BufferView.C (resize): check there's a buffer to resize
2895 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
2897 * lyxfunc.C: remove dead code
2900 * lyxserver.C: use lyx_guii::set_read_callback
2902 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2904 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
2905 an inset in a RTL paragraph.
2907 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2909 * lyxfunc.C: repaint after a font size update
2911 2002-07-15 André Pönitz <poenitz@gmx.net>
2913 * lyxlength.C: inBP should be able to return negative values
2915 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2917 * lyxfunc.C: use lyx_gui::update_fonts()
2919 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2921 * lyxfunc.C: use lyx_gui::update_color()
2923 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2929 * lyxrc.C: remove file->new asks for name option, and let
2930 buffer-new take an argument
2932 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2934 * BufferView_pimpl.C: remove unneeded extra repaint()
2936 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
2938 * LyXAction.C: allow command-sequence with NoBuffer
2940 * lyxfunc.C: don't insist on trailing ';' for command-sequence
2942 2002-07-10 Angus Leeming <leeming@lyx.org>
2944 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
2946 2002-07-09 Angus Leeming <leeming@lyx.org>
2948 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
2950 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2952 * lengthcommon.h: whitespace
2954 * lyxfunc.C: update scrollbar after goto paragraph
2956 * lyxtext.h: factor out page break drawing, and fix it so
2957 page break/added space paints as selected nicely
2959 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2961 * BufferView_pimpl.C: add FIXMEs, clean up a little
2963 2002-07-09 André Pönitz <poenitz@gmx.net>
2965 * lyxfont.[Ch]: support for wasy symbols
2967 2002-07-08 André Pönitz <poenitz@gmx.net>
2969 * BufferView_pimpl.C: apply John's patch for #93.
2971 2002-07-05 Angus Leeming <leeming@lyx.org>
2973 * BufferView_pimpl.C (buffer): generate previews if desired.
2975 * LColor.h: add "preview" to the color enum.
2977 * LColor.C (LColor): add a corresponding entry to the items array.
2979 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
2982 2002-07-05 Angus Leeming <leeming@lyx.org>
2984 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
2985 The body of the code is now in the method that is passed an ostream &
2986 rather than a file name.
2987 Pass an additional only_preamble parameter, useful for the forthcoming
2990 2002-07-03 André Pönitz <poenitz@gmx.net>
2992 * lyxfunc.C: simplify getStatus() a bit for math stuff
2994 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2996 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
2998 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3000 * text.C (changeRegionCase): do not change case of all the
3001 document when region ends at paragraph end (bug #461)
3003 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3005 * paragraph.C (startTeXParParams):
3006 (endTeXParParams): add \protect when necessary
3008 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3010 * BufferView_pimpl.C (workAreaExpose): remove warning
3012 2002-06-27 Angus Leeming <leeming@lyx.org>
3014 * Makefile.am: add lyxlayout_ptr_fwd.h.
3016 2002-06-26 André Pönitz <poenitz@gmx.net>
3018 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3020 2002-06-25 Angus Leeming <leeming@lyx.org>
3022 * lyxfunc.C (dispatch): Comment out the call to
3023 grfx::GCache::changeDisplay. The method no longer exists now that the
3024 pixmap generation part of the graphics loader has been moved into
3027 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3029 * text2.C: layout as layout
3031 * text.C: layout as layout
3033 * tabular.C (OldFormatRead): layout as layout
3035 * paragraph_pimpl.C (TeXDeeper): layout as layout
3036 (realizeFont): layout as layout
3038 * paragraph.C (writeFile): layout as layout
3039 (validate): layout as layout
3040 (getFont): layout as layout
3041 (getLabelFont): layout as layout
3042 (getLayoutFont): layout as layout
3043 (breakParagraph): layout as layout
3044 (stripLeadingSpaces): layout as layout
3045 (getEndLabel): layout as layout
3046 (getMaxDepthAfter): layout as layout
3047 (applyLayout): layout as layout
3048 (TeXOnePar): layout as layout
3049 (simpleTeXOnePar): layout as layout
3050 (TeXEnvironment): layout as layout
3051 (layout): layout as layout
3052 (layout): layout as layout
3054 * lyxtextclass.C (compare_name): new functor to work with
3055 shared_ptr, layout as layout
3056 (Read): layout as layout
3057 (hasLayout): layout as layout
3058 (operator): layout as layout
3059 (delete_layout): layout as layout
3060 (defaultLayout): layout as layout
3062 * lyxlayout_ptr_fwd.h: new file
3064 * lyxlayout.C (Read): layout as layout
3066 * lyx_cb.C (MenuInsertLabel): layout as layout
3068 * bufferlist.C (newFile): layout as layout
3070 * buffer.C (readLyXformat2): layout as layout
3071 (parseSingleLyXformat2Token): layout as layout
3072 (insertStringAsLines): layout as layout
3073 (asciiParagraph): layout as layout
3074 (latexParagraphs): layout as layout
3075 (makeLinuxDocFile): layout as layout
3076 (simpleLinuxDocOnePar): layout as layout
3077 (makeDocBookFile): layout as layout
3078 (simpleDocBookOnePar): layout as layout
3079 (getLists): layout as layout
3081 * LaTeXFeatures.C (getTClassPreamble): layout as layout
3083 * CutAndPaste.C (cutSelection): layout as layout
3084 (pasteSelection): layout as layout
3085 (SwitchLayoutsBetweenClasses): layout as layout
3087 * BufferView_pimpl.C (Dispatch): layout as layout
3088 (smartQuote): layout as layout
3090 * BufferView2.C (unlockInset): layout as layout
3092 2002-06-24 André Pönitz <poenitz@gmx.net>
3094 * lyxfunc.C: fix #487
3096 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3100 * lyxfunc.C: remove display_shortcuts, show_banner
3102 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3104 * Buffer_pimpl.C: oops, update on resize
3106 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3113 * BufferView.C: use repaint()
3115 * BufferView_pimpl.h:
3116 * BufferView_pimpl.C: s/updateScreen()/repaint()/
3117 as it's a clearer description. Remove superfluous
3120 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3122 * text.C: fix bug 488. Not ideal, but getting
3123 getWord() to work properly for the insets that
3124 matter is more difficult ...
3126 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3128 * BufferView_pimpl.C:
3131 * lyxfunc.C: remove the six million index lyxfuncs to just
3132 one, and DTRT (bug 458)
3134 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3138 * BufferView_pimpl.h:
3139 * BufferView_pimpl.C: clean up resize() stuff,
3140 and unnecessary updateScreen()s
3142 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3146 * BufferView_pimpl.h:
3147 * BufferView_pimpl.C:
3150 * minibuffer.C: remove focus management of workarea,
3151 not needed. Use screen's greyOut()
3153 2002-06-17 Herbert Voss <voss@lyx.org>
3155 * converter.C: (convert) do not post a message, when converting
3156 fails, let the calling function decide what to do in this case
3158 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3160 * lyxfunc.C: tidy up a little
3162 2002-06-16 <alstrup@diku.dk>
3164 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3165 Got rid of FORMS_H_LOCATION include. Now we are
3168 2002-06-15 LyX Development team <lyx@rilke>
3170 * buffer.[Ch] (sgmlOpenTag):
3171 (sgmlCloseTag): Added support for avoiding pernicious mixed
3172 content. Return number of lines written.
3175 (makeDocBookFile): Fixed calls to sgml*Tag.
3176 Simple white space clean.
3178 (simpleDocBookOnePar): Simple white space clean.
3180 * tabular.[Ch] (docBook): Renamed to docbook and got another
3181 argument to related with the pernicious mixed content.
3183 (docbookRow): Fixed calls for docbook inset method.
3185 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3187 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3188 so it's X11 independent.
3192 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3194 2002-06-15 Lyx Development team <lyx@electronia>
3196 * intl.h: Renamed getTrans to getTransManager.
3198 2002-06-14 Angus Leeming <leeming@lyx.org>
3200 * Makefile.am: nuke forgotten stl_string_fwd.h.
3202 2002-06-12 Angus Leeming <leeming@lyx.org>
3204 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3206 2002-06-13 Angus Leeming <leeming@lyx.org>
3209 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3211 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3213 * kbmap.C (getiso): add support for cyrillic and greek
3215 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3219 * BufferView_pimpl.h:
3220 * BufferView_pimpl.C: move bogus scrolling logic
3223 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3226 * BufferView_pimpl.C: view->resize() change
3228 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3230 * BufferView_pimpl.C: topCursorVisible
3233 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3237 * lyx_gui.C: move to frontends/
3241 * lyx_main.C: changes from above
3243 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3250 * lyx_main.C: minor tidy
3252 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3254 * BufferView_pimpl.h:
3255 * BufferView_pimpl.C:
3257 * BufferView.C: make painter() const,
3260 * BufferView2.C: use screen() accessor
3263 * lyx_main.C: some minor cleanup
3265 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3267 * BufferView_pimpl.h:
3268 * BufferView_pimpl.C: remove enter/leaveView,
3271 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3276 * BufferView_pimpl.h:
3277 * BufferView_pimpl.C: only construct screen once,
3280 * lyxrc.C: remove pointless comment
3282 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3285 * BufferView.C: remove active() and belowMouse()
3287 * BufferView_pimpl.h:
3288 * BufferView_pimpl.C: use workarea() not workarea_,
3289 and make it use a scoped_ptr instead
3291 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3293 * lyx_gui.C: add debug message on BadWindow
3295 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3297 * sp_spell.C: fdopen is not part of the C++ standard.
3299 * paragraph.C (InsetIterator): use >= instead of ==
3301 2002-06-07 Angus Leeming <leeming@lyx.org>
3303 Fixes needed to compile with Compaq cxx 6.5.
3304 * BufferView_pimpl.C:
3311 * lyxtextclasslist.C:
3316 all c-library variables have been moved into namespace std. Wrap
3317 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3322 Add a using std::abs declaration.
3324 * kbmap.h (modifier_pair):
3325 * paragraph.h (InsetTable, InsetList):
3326 * lyxfont.h (FontBits):
3327 type definition made public.
3329 * bufferlist.C (emergencyWriteAll): the compiler complains that
3330 there is more than one possible lyx::class_fun template to choose from.
3331 I re-named the void specialisation as lyx::void_class_fun.
3333 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3335 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3336 the compiler is is unable to find tostr in write_attribute.
3338 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3340 * buffer.C (sgmlError): hide #warning
3342 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3344 * xtl/*: get rid of xtl, which is not in use anyway
3346 * LyXAction.C (init):
3347 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3348 were unimplemented xtl experimentation
3350 2002-06-04 André Pönitz <poenitz@gmx.net>
3352 * lyxfunc.C: disable array operation on simple formulae
3354 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3356 * converter.C: constify a bit
3358 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3360 * lyx_gui.C: check xforms version correctly
3362 2002-04-30 Herbert Voss <voss@lyx.org>
3364 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3367 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3369 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3370 attempt to register it with a VCS)
3372 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3374 * lyx_main.C (init): honor variables LYX_DIR_13x and
3377 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3381 * lyx_main.C: fix a crash on bad command line,
3382 and give a useful exit status on error
3384 * lyxfunc.C (doImport): allow -i lyx to work
3386 2002-03-30 André Pönitz <poenitz@gmx.net>
3388 * lyxfunc.C: mathed font changes
3390 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3405 * trans_mgr.h: srcdocs, and some minor cleanups
3407 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3409 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3410 call getFont all the time)
3412 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3414 * switch from SigC signals to boost::signals
3416 2002-05-29 André Pönitz <poenitz@gmx.net>
3418 * paragraph_pimpl.C (getChar): don't call size() too often...
3420 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3422 * paragraph_pimpl.C (insertChar): do not try to update tables when
3423 appending (pos == size())
3425 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3426 in order to reduce drastically the number of comparisons needed to
3427 parse a large document
3429 2002-05-29 André Pönitz <poenitz@gmx.net>
3435 * textclasslist.[Ch]:
3436 * sp_ispell.h: whitespace change
3438 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3440 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3441 lyxaction directly now.
3443 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3447 * lyxvc.C: remove unused headers
3449 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3456 * undo_funcs.C: some cleanups. Use shared_ptr
3457 and a template for the undo stacks.
3459 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3461 * BufferView_pimpl.h:
3462 * BufferView_pimpl.C:
3469 * text2.C: use key_state/mouse_state
3471 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3473 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3476 * chset.C: change include order
3477 (loadFile): use boost regex and get rid of LRegex and LSubstring
3479 * Makefile.am (BOOST_LIBS): new variable
3482 * LaTeX.C: change include order.
3483 (scanAuxFile): use boost regex and get rid of LRegex and
3487 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3492 * FontInfo.C: moved to frontends/xforms/
3495 * FontLoader.C: moved into frontends for GUIIzation
3500 * lyxfunc.C: changes from above
3502 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3504 * LColor.C: remove spurious X include
3506 * BufferView_pimpl.C:
3511 * text2.C: move font metrics to frontends/
3513 2002-05-24 Juergen Vigna <jug@sad.it>
3515 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3516 setting the undo_cursor.
3518 * ParagraphParameters.h: include local includes first.
3520 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3522 * BufferView_pimpl.C:
3523 * BufferView_pimpl.h:
3527 * screen.C: move WorkArea into frontends/
3533 * BufferView2.C: move LyXScreen into frontends/
3537 * lyx_gui.C: move lyxlookup into frontends/xforms/
3539 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3542 * BufferView_pimpl.C:
3552 * bufferview_funcs.C:
3565 * vc-backend.C: move LyX/XFormsView into frontends/
3567 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3579 * text2.C: move Painter to frontends/
3581 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3583 * buffer.C: comment out some some code that depend upon lyx_format
3586 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3587 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3589 * buffer.h (NO_COMPABILITY): turn off compability
3591 * ColorHandler.C: include scoped_array.hpp
3593 * font.C: Use more specific smart_ptr header.
3596 * ShareContainer.h: ditto
3600 * BufferView_pimpl.h: ditto
3601 * ColorHandler.h: ditto
3603 * kbmap.C (defkey): change call to shared_ptr::reset
3605 2002-05-21 Juergen Vigna <jug@sad.it>
3607 * buffer.C (insertErtContents): fix to insert ert asis if it is
3608 non empty. Skip it completely if it contains only whitespaces.
3610 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3612 * BufferView_pimpl.C:
3613 * BufferView2.C: clear selection on paste (bug 393)
3615 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3617 * DepTable.C: include ctime
3619 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3621 * buffer.C (latexParagraphs): Add new argument (moving_arg).
3623 2002-05-14 Juergen Vigna <jug@sad.it>
3625 * text.C (breakParagraph): fixed function to honor the keepempty
3626 layout in the right maner and also to permit the right breaking
3627 algorithm on empty or non empyt keepempty paragraphs.
3629 * paragraph.C (breakParagraph): we have to check also if the par
3630 is really empty (!size()) for isempty otherwise we do the wrong
3633 2002-05-10 Juergen Vigna <jug@sad.it>
3635 * buffer.[Ch] : The following are only changes to the ert
3636 compatibility read reading old LaTeX layout and font stuff and
3637 convert it to ERTInsets.
3639 * buffer.h: added isErtInset().
3641 * buffer.C (struct ErtComp): add a fromlayout bool to check
3642 if we're inside a LaTeX layout.
3643 (isErtInset): new helper function.
3644 (insertErtContents): look for other ert insets before this one
3645 and insert the contents there, so that we don't have subsequent
3646 ERT insets with nothing between them. This way we create only one
3647 inset with multiple paragraphs. Also check if we don't insert only
3648 spaces ' ' as they are ignored anyway afterwards in the .tex file
3649 so if we have only spaces we will ignore this latex part in the
3651 (parseSingleLyXformat2Token \\layout): better compatibility when
3652 reading layout-latex stuff.
3653 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3655 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3656 stuff after reading the inset only get the information back from
3659 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
3661 * buffer.C (makeLaTeXFile): Put language options after loading babel.
3663 * LaTeXFeatures.C (getBabelOptions): New method.
3665 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3667 * BufferView_pimpl.C (Dispatch): work around missing argument for
3670 2002-05-08 Juergen Vigna <jug@sad.it>
3672 * text.C (leftMargin): handle paragraph leftindent.
3674 * paragraph.C (writeFile): write the new \\leftindent tag.
3675 (validate): handle leftindent code.
3676 (TeXEnvironment): handle paragraphleftindent code again.
3678 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3680 * buffer.C (parseSingleLyXformat2Token): added compatibility code
3681 for paragrap_extra indent code and new token \\leftindent.
3682 (latexParagraphs): handle the leftindent as environment.
3684 * ParameterStruct.h: added leftindent support.
3686 * ParagraphParameters.C (leftIndent): added support functions for
3687 the paragraph left indent.
3689 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
3692 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3694 * paragraph.C (isRightToLeftPar): Return false for a paragraph
3697 * text.C (computeBidiTables): No bidi in insetERT.
3699 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
3702 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3704 * version.C.in: pre 5
3706 2002-05-02 José Matos <jamatos@fep.up.pt>
3707 * buffer.C (makeDocBookFile): white space changes, add newline to
3709 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
3711 * tabular.C (docBook): fix typo.
3713 2002-05-03 Juergen Vigna <jug@sad.it>
3715 * screen.C (drawFromTo): recalculate the rowpointer if we had a
3716 change in LyXText as we can not be sure it was not freed.
3717 (drawOneRow): remove unused code.
3719 * text.C (drawInset): redo the calculation of the need_break_row as
3720 it could have a row which was already freed.
3721 (draw): look at the return value of drawInset and return false if
3722 it also returned false.
3723 (paintRowText): look at the return value of draw and return false if
3724 it also returned false.
3726 * lyxtext.h: added bool return type to drawInset() and draw() so that
3727 if we have a change in the row so that the rowbreak has to be redone
3728 we abort drawing as it will be called again.
3730 2002-05-02 Juergen Vigna <jug@sad.it>
3732 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
3733 a change in the maintext also if we're inside an inset.
3734 (Dispatch): set the cursor again after a break line and after the
3735 screen has been updated as it could be we're in a different row.
3737 * text2.C (fixCursorAfterDelete): check to make sure we don't request
3738 to set the cursor behind the pargraph with > size().
3739 (setCursor): check also for the same paragraph when checking where
3740 to put the cursor if we have a NFR inset.
3742 * buffer.C (parseSingleLyXformat2Token): move the compatibility
3743 parts of layout read further up as it still was in the wrong
3746 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3748 * screen.C (drawFromTo): change sine fullRebreak always return
3751 * buffer.C (parseSingleLyXformat2Token): reindent some
3753 * BufferView_pimpl.C (update): change since fullRebreak always
3755 (Dispatch): git rid of the last hardcoded "Standard"s.
3757 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3759 * text2.[Ch] (fullRebreak): make it return void now that we always
3762 2002-04-30 Juergen Vigna <jug@sad.it>
3764 * buffer.C (parseSingleLyXformat2Token): reset the font before the
3765 ert compatibility check for "latex" layout.
3767 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
3769 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3770 minipages: use col% instead of p%, and also use the current font.
3771 (makeLaTeXFile): Fix use babel condition.
3772 (parseSingleLyXformat2Token): Correct font when reading old floats.
3774 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3776 * BufferView_pimpl.C (Dispatch): Check that float type exists when
3777 inserting list of floats.
3779 2002-04-25 Herbert Voss <voss@lyx.org>
3781 * MenuBackend.C (expand): don't add the graphics extensions to the
3784 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3786 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3787 non-existing layout, do not complain if it was the default layout
3788 of the original class (bug #342)
3790 2002-04-24 Juergen Vigna <jug@sad.it>
3792 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3793 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3795 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3797 * buffer.C (getBibkeyList): If using \bibliography, return the
3798 option field with the reference itself. Enables us to provide natbib
3799 support when using \bibliography.
3801 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
3803 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3805 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3806 natbib is provided by the LaTeX class.
3808 2002-04-23 Juergen Vigna <jug@sad.it>
3810 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3813 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3815 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3817 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3819 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3820 ensuremath around textordmasculine, textordfeminine and
3823 2002-04-19 Juergen Vigna <jug@sad.it>
3825 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3826 reinitializing the buffer otherwise row-dimensions may be wrong.
3827 (update): reset also the selection cursors if they do exits otherwise
3828 their x/y positions may be wrong.
3830 * text2.C (cursorDown): don't enter the inset if we came from a row
3831 above and are one row over the inset.
3833 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3834 really leaving an inset.
3836 2002-04-18 Juergen Vigna <jug@sad.it>
3838 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3839 of the selected paragraph does not have the selected layout also if
3842 * text2.C (setLayout): fixed bug which did not change last selected
3845 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3846 changed the read and substituted \\end_float with \\end_inset!
3848 * BufferView_pimpl.C (cursorPrevious):
3849 (cursorNext): fixed to make it work with rows heigher than the work
3850 area without moving the cursor only the draw of the row.
3851 (workAreaMotionNotify): fix jumping over high rows.
3853 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3855 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
3858 2002-04-16 Juergen Vigna <jug@sad.it>
3860 * text2.C (setCursor): set also the irow().
3861 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
3863 (cursorDown): support for locking an inset if the x_fix value goes
3864 inside it. That way I can transverse insets too with cursor up/down.
3866 * lyxrow.h: added irow helper function same as other (i) functions.
3868 * BufferView_pimpl.C (cursorPrevious):
3869 (cursorNext): fixed for insets!
3871 2002-04-15 Juergen Vigna <jug@sad.it>
3873 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
3874 position otherwise it is wrong in some cases.
3876 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
3877 inside the inset before the call.
3879 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3881 * buffer.[Ch] (getBibkeyList): make it const.
3883 2002-04-12 Juergen Vigna <jug@sad.it>
3885 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
3887 * text2.C (getCursorX): new helper function
3888 (setCursor): compute also ix_
3889 (setCursorFromCoordinates): set also ix.
3891 * lyxcursor.h: added ix_ and helper functions.
3893 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
3895 * buffer.C (insertStringAsLines): dont break paragraph if the this
3896 paragraph is inside an inset which does not permit it!
3898 * text.C (breakParagraph): honor keepempty flag and break the paragraph
3899 also with no chars on this paragraph.
3900 (paintRowText): only paint stuff if it's inside the workarea!
3902 * paragraph.C (breakParagraph): honor keepempty flag and break the
3903 paragraph always below not above.
3905 * BufferView2.C (unlockInset): update the paragraph layout on inset
3906 unlock as we changed paragraph in such a case.
3908 * lyxfind.C (LyXFind): clear the former selection if not found!
3910 * text2.C (insertInset): freeze Undo after setUndo so that it is not
3911 again called in insertChar().
3913 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
3914 an inset which uses the whole row!
3915 (rightMargin): ditto.
3916 (insertChar): force a rebreak if we inserted an inset!
3918 2002-03-28 Herbert Voss <voss@lyx.org>
3920 * lyxlength.[Ch]: add inBP() to get the right PS-point
3921 units (BigPoint). With inPixels we have rounding errors
3923 2002-04-11 Juergen Vigna <jug@sad.it>
3925 * text2.C (setCursorFromCoordinates): set iy to the right value.
3926 (setCursor): add check if row->previous exists!
3928 * buffer.C (parseSingleLyXformat2Token): reset font after read of
3929 an old float_type as this was the case in the old code!
3931 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
3933 * BufferView2.C (showLockedInsetCursor): use iy
3934 (fitLockedInsetCursor): ditto
3936 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
3937 locked insets as there we have the right value now.
3939 * lyxcursor.C: added iy_ variable and iy functions to set to the
3940 baseline of cursor-y of the locked inset.
3942 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
3943 (setCursor): fixed for insets which need a full row.
3945 * text.C (rowLastPrintable): don't ignore the last space when before
3946 an inset which needs a full row.
3947 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
3948 as last character of a row when before a inset which needs a full row.
3950 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3952 * version.C.in: update date
3954 * text2.C (fullRebreak): try to always return true and see what
3957 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3959 * MenuBackend.C (expand): use Floating::listName
3961 * FloatList.C (FloatList): add listName argument to the built-in
3964 * Floating.[Ch]: add listName member, which is the 'List of XXX'
3965 text associated with the float.
3967 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3969 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
3971 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3973 * ShareContainer.h: add a couple of missing typenames.
3975 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
3977 * lyxrc.C (getDescription): use _() correctly rather than N_().
3979 2002-03-28 Herbert Voss <voss@lyx.org>
3981 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
3982 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
3984 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3986 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
3987 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
3989 2002-03-29 Juergen Vigna <jug@sad.it>
3991 * lyxfunc.C (dispatch): add a missing fitCursor call.
3993 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
3994 it was scrolled by a cursor move, so return the bool status.
3996 * BufferView.C (fitCursor): return the bool flag also to the outside
3997 world as this is needed.
3999 * screen.C (toggleToggle): don't subtract the offset if it's positive.
4001 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
4002 call the edit() as it is not needed (and wrong) IMO.
4003 (workAreaButtonPress): set the screen_first variable before evt.
4004 unlock the inset as this may change screen_first and then we have
4005 a wrong y position for the click!
4007 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4009 * MenuBackend.C (expand): another translation that I missed
4011 2002-03-28 Juergen Vigna <jug@sad.it>
4013 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4015 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4017 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4019 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4021 * MenuBackend.C (expand): fix export/view/update when there is no
4024 2002-03-27 Herbert Voss <voss@lyx.org>
4026 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4029 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4031 * bufferview_funcs.C (currentState): only show paragraph number
4032 for is DEVEL_VERSION is set.
4034 * lyxfunc.C (dispatch): put warning in INFO channel
4036 * MenuBackend.C (expand): translate the name of floats
4038 * FloatList.C (FloatList): mark the float names for translation
4040 * converter.C (convert): use LibScriptSearch
4042 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4044 * MenuBackend.C (defaults): fix default menu (we might as well get
4047 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4049 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4052 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4054 * lyxvc.C: reorder includes.
4056 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
4058 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4061 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
4063 * CutAndPaste.C: change layouts earlier on paste
4064 to avoid crashing when calling getFont()
4066 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4068 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4071 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4073 * WorkArea.C: remove 'Pending' debug message.
4075 * most files: ws cleanup
4077 * buffer.[Ch]: ws changes
4079 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
4081 2002-03-21 Juergen Vigna <jug@sad.it>
4083 * tabular.C (SetMultiColumn): collapse also the contents of the
4084 cells and set the last border right. Added a Buffer const * param.
4086 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4088 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
4091 2002-03-19 Juergen Vigna <jug@sad.it>
4093 * text2.C (clearSelection): reset also xsel_cache.
4095 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
4096 where it needs to be called (John tells us to do so too :)
4097 (selectionLost): reset sel_cache.
4099 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
4101 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4103 * text2.C (setCursorIntern): put debuging code in INSETS channel
4105 2002-03-19 André Pönitz <poenitz@gmx.net>
4107 * lyxfunc.C: tiny whitespace change
4109 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4111 * ToolbarDefaults.C (init):
4112 * LyXAction.C (init):
4114 * BufferView_pimpl.C (Dispatch):
4115 * lyxfunc.C (dispatch): remove LFUN_DEPTH
4117 2002-03-19 Allan Rae <rae@lyx.org>
4119 * exporter.C (Export): removeAutoInsets before doing anything else.
4120 While I've just introduced a dependency on BufferView this really is
4121 the best place to clean the buffer otherwise you need to cleanup in
4122 a dozen places before calling export or cleanup in a dozen functions
4125 * converter.C (runLaTeX):
4126 (scanLog): Better handling of removeAutoInsets and screen updates.
4128 * lyxfunc.C (dispatch): small whitespace changes
4130 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4132 * WorkArea.C (C_WorkAreaEvent): return a value.
4133 (event_cb): return 1 if we handled the event, 0 otherwise.
4135 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4137 2002-03-18 Juergen Vigna <jug@sad.it>
4139 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4140 (GetAdditionalWidth): ditto.
4144 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4145 inset if we're there actually (probably not used right now but this
4146 is the direction to go for unifying code).
4147 (paste): disable code to clear the selection.
4149 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4150 inside an InsetText and move the check further up as it is in the
4153 * text2.C (pasteSelection): set a selection over the pasted text.
4155 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4157 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4158 and libgraphics to build on Cygwin.
4160 2002-03-15 Juergen Vigna <jug@sad.it>
4162 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4163 inserting an Inset into the paragraph. I know this is not the best
4164 fix but we already use current_view in CutAndPaste so we will remove
4165 all of it's using at the same time.
4167 * buffer.C (sgmlError): deactivated function till it is rewritten in
4168 the right mode, now it can create problems.
4170 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4171 before accessing it.
4173 2002-03-14 Juergen Vigna <jug@sad.it>
4175 * undo_funcs.C (textHandleUndo): do the right thing when updating
4176 the inset after the undo/redo.
4178 * text2.C (setCursor): just some testcode for #44 not ready yet.
4180 * undo_funcs.C (textHandleUndo): set the next() and previous()
4181 pointers of the paragraph to 0 before deleting otherwise we have
4182 problems with the Paragraph::[destructor].
4184 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4185 on a paragraph insertion.
4187 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4189 * buffer.C (asciiParagraph): use += operator for char append to
4192 * paragraph.C (getFontSettings): compare >= not just >
4193 (highestFontInRange): ditto
4196 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4198 * paragraph.C: change several algorithm to be more appripriate for
4199 the problem domain. This is lookip in FontList and in the InsetList.
4201 2002-03-13 André Pönitz <poenitz@gmx.net>
4204 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4206 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4211 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4213 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4215 * Painter.C (display): anon helper function, adjust code for this
4217 (pixmap): remove function.
4219 * Painter.h: remove private display variable.
4221 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4223 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4225 * WorkArea.[Ch]: remove figinset_canvas cruft.
4227 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4229 * lyxtextclass.C (operator): add one item cache optimization.
4231 * bufferlist.h: doxy changes
4233 * bufferlist.C: ws changes
4235 * DepTable.[Ch] (ext_exist): place const in the right spot.
4237 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4239 (workAreaExpose): call resizeInsets when the with BufferView changes.
4240 (Dispatch): adjust for protectedBlank removal
4241 (specialChar): call updateInset if the insert went ok.
4243 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4244 specialChar instead.
4246 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4248 * BufferView.h: doxy change
4250 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4252 * lyxtextclass.C (operator[]): remove non-const version
4253 (defaultLayout): remove non-const version
4255 2002-03-12 Juergen Vigna <jug@sad.it>
4257 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4258 did resize the LyXText too.
4260 * buffer.C (readLyXformat2): set layout information on newly allocated
4263 * tabular.C (OldFormatRead): set layout information on the paragraph.
4265 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4267 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4269 2002-03-11 Juergen Vigna <jug@sad.it>
4271 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4273 (resizeCurrentBuffer): force also the insets to resize themselfes.
4274 (moveCursorUpdate): fixed up for InsetText.
4276 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4279 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4280 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4281 value of Dialogs::tooltipsEnabled().
4282 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4284 2002-03-08 Juergen Vigna <jug@sad.it>
4286 * BufferView_pimpl.C (updateInset): update inset inside inset also
4287 if it isn't inside theLockingInset().
4289 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4291 * buffer.C (asciiParagraph): redo some of the word and line length
4293 (getLists): look for Caption instead of caption.
4295 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4297 * buffer.C (Buffer): initialize niceFile to true
4300 (makeDocBookFile): make sure niceFile is true on exit
4302 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4304 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4306 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4308 * LyXSendto.C: remove.
4309 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4310 * lyx_gui.C: remove now-redundant comment.
4311 * ColorHandler.h: remove forward declaration of class WorkArea.
4312 * lyxfunc.C: remove #include "WorkArea.h".
4314 2002-03-07 Juergen Vigna <jug@sad.it>
4316 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4317 got moved away with the DEPM and also set the inset_owner always
4318 right which before could have been omitted.
4320 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4322 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4323 wanted layout is not found.
4325 2002-03-07 Juergen Vigna <jug@sad.it>
4327 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4329 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4331 * paragraph.C (breakParagraph): use default layout not layout of
4333 (Paragraph): clear ParagraphParameters.
4335 2002-03-06 Juergen Vigna <jug@sad.it>
4337 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4338 otherwise it would not be a valid lenght. Fixed a special case in
4339 the minipage compatibility read where we end the document with a
4342 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4343 was set as it could be 0 for InsetTexts first entry.
4345 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4347 * paragraph.C (writeFile): if layout is empty write out
4348 defaultLayoutName().
4350 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4351 file without named layout we set layout to defaultLayoutName().
4353 2002-03-06 Juergen Vigna <jug@sad.it>
4355 * CutAndPaste.C (copySelection): set layout for new paragraph.
4357 * text.C (prepareToPrint): leave ERT inset left aligned
4358 (leftMargin): don't indent paragraphs inside ERT insets
4360 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4362 * paragraph.C (breakParagraph): dont call clear do the work manually
4364 * paragraph.[Ch] (clear): remove function
4366 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4368 * paragraph.C (Paragraph): dont call clear, the work has already
4371 * lyxtextclass.C (operator): assert if n is empty
4373 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4374 work manually instead.
4376 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4378 * BufferView_pimpl.C: protect selectionLost against text == 0
4380 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4382 * text.C (breakParagraph): fix a setting layout to '0' problem.
4384 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4386 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4387 final location of file, for the included files, and graphics.
4389 2002-03-05 Juergen Vigna <jug@sad.it>
4391 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4393 2002-03-04 Juergen Vigna <jug@sad.it>
4395 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4397 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4398 last column of multicolumn cells.
4399 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4401 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4403 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4404 file if it doesn't go to a temporary file.
4406 * buffer.C (sgmlOpenTag):
4407 (sgmlCloseTag): remove extra newline insertion.
4409 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4411 * text.C (getRowNearY): comment out debug msg
4413 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4415 * text2.C: first -> first_y
4417 * text.C (getRowNearY): add some attemts at a possible
4418 optimization, not working.
4420 * tabular.[Ch]: add BufferParams to several function so that newly
4421 created paragraph can be initialized to he default layotu for the
4424 * tabular-old.C (ReadOld): add buf->params to call of Init
4426 * screen.C: rename text->first to text->first_y
4428 * paragraph.C (breakParagraph): always set layout in the broken
4431 * lyxtextclass.C (Read): remove lowercase
4434 (delete_layout): ditto
4436 * lyxtext.h: rename first -> first_y
4438 * lyxlayout.C (Read): remove lowercase
4441 (obsoleted_by): ditto
4443 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4445 * buffer.C (insertErtContents): add params are to InsetERT
4446 (parseSingleLyXformat2Token): add code to check if a paragraphs
4447 layout really exist.
4448 (parseSingleLyXformat2Token): add params to several inset
4450 (asciiParagraph): remove lowercase, do the layout comparisons with
4453 * BufferView_pimpl.C (cursorNext): first -> first_y
4454 (resizeCurrentBuffer): first -> first_y
4455 (updateScrollbar): first -> first_y
4456 (scrollCB): first -> first_y
4457 (workAreaMotionNotify): first -> first_y
4458 (workAreaButtonPress): first -> first_y
4459 (checkInsetHit): first -> first_y
4460 (cursorPrevious): first -> first_y
4461 (cursorNext): first -> first_y
4462 (Dispatch): add buffer_->params to severl inset contructors
4464 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4466 * lyxlayout.C (Read): remove some debug info that I forgot.
4468 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4469 clean up the code slightly.
4470 (makeLinuxDocFile): ditto
4471 (makeDocBookFile): ditto
4473 * text2.C: layout as string
4475 * text.C: layout as string
4477 * paragraph_pimpl.C: layout as string
4479 * paragraph.[Ch]: layout as string
4481 * lyxtextclasslist.[Ch]: layout as string
4483 * lyxtextclass.[Ch]: layout as string
4485 * lyxtext.h: layout as string
4487 * lyxlayout.[Ch]: layout as string
4489 * lyx_cb.C: layout as string
4491 * bufferview_funcs.C: layout as string
4493 * bufferparams.C: layout as string
4495 * buffer.C: layout as string
4497 * LyXView.[Ch]: layout as string
4499 * LaTeXFeatures.[Ch]: layout as string
4501 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4503 * BufferView_pimpl.C: change current_layout to string, remove
4508 (workAreaButtonRelease): layout as string
4510 * BufferView2.C (unlockInset): adjust
4512 * vspace.C (asLatexCommand): use an explict temp variable.
4514 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4516 * Makefile.am: use FRONTEND_*
4518 2002-03-01 Juergen Vigna <jug@sad.it>
4520 * tabular.C (SetWidthOfMulticolCell): changed to something better
4521 I hope but still work in progress.
4522 (recalculateMulticolumnsOfColumn): renamed function from
4523 recalculateMulticolCells as it is more appropriate now.
4524 (SetWidthOfCell): calculate multicols better.
4526 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4528 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4530 * lyxfunc.C (processKeySym): print sequence also if it is
4531 `deleted' (complete)
4533 * kbsequence.C (print): print sequence even if it is deleted
4534 (complete would be a better word, actually).
4536 * lyxfunc.C (dispatch): print complete options after a prefix key
4538 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4540 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4542 * text2.C (setCharFont): eliminate setCharFont code duplication.
4544 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4546 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4547 LFUN_TABULAR_FEATURE (bug #177)
4549 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4551 * Makefile.am: remove figure.h
4553 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4555 * Bufferview_pimpl.C:
4567 * text2.C: remove #include "lyx_gui_misc.h".
4569 * LaTeX.C: added #include <cstdio>
4571 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4573 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4574 that the paragraph following this one can have.
4576 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4578 * vspace.C (asLatexCommand): fix bogus gcc warning
4580 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4582 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4584 * text2.C (setLayout): get rid of redundant code
4586 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4588 * text2.C (incDepth): make sure depth cannot be increased beyond
4591 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4593 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4594 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4596 * PainterBase.h (image):
4597 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4600 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4604 * BufferView_pimpl.C:
4605 * BufferView_pimpl.h:
4625 * sp_spell.C: remove fig inset, and the crap house of
4626 cards that follows it
4628 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4634 * nt_defines.h: move .h into support/
4636 * vms_defines.h: remove
4638 * WorkArea.C: add space in debug output
4642 * buffer.C: add WITH_WARNINGS
4646 * bufferlist.C: s/retrive/retrieve/, add docs
4657 * lyxgui.C: add ID to X error handler
4659 * lyxtestclass.c: fix typo
4661 2002-02-26 Juergen Vigna <jug@sad.it>
4663 * tabular_funcs.C (write_attribute): changed so that some default
4664 attributes are not written at all.
4665 (getTokenValue): set default values before trying to read the
4666 value so we have the return value always set as default if we don't
4667 find the token we search for.
4669 * tabular.C (Write): write bools as bools not as strings!
4671 2002-02-22 Juergen Vigna <jug@sad.it>
4673 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4674 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4676 * text.C (leftMargin): don't add an indent for paragraphs inside
4677 tabular cells (fix #208).
4679 2002-02-21 José Matos <jamatos@fep.up.pt>
4681 * tabular.C (docBook): fixed support for long tables.
4683 2002-02-20 Juergen Vigna <jug@sad.it>
4685 * text2.C (getFont): get the drawing font of the Inset if this
4686 paragraph is inside an inset (only important for InsetERT for now).
4688 * buffer.C (insertErtContents): use new lanugage params in ERT
4691 * CutAndPaste.C: commenting out seemingly uneeded code.
4693 2002-02-19 Allan Rae <rae@lyx.org>
4695 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
4696 Iterators might be simple to use but they also get invalidated.
4697 (removeAutoInsets): renamed saved cursor tracking variables and added
4698 some comments to clarify what everything does.
4700 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4707 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
4708 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4711 * vc-backend.h: remove #include "support/syscall.h"
4715 * converter.C: rearrange #includes in Lars' approved fashion.
4717 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
4718 forward declare class Timeout in the header file.
4720 * XFormsView.C: changes due to the above.
4722 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
4725 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
4726 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
4728 2002-02-18 José Matos <jamatos@fep.up.pt>
4730 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
4733 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4735 * a lot of small ws changes
4736 * add a lot of using std::XXX
4737 * use std construcs some places where approp.
4738 * use some exisint stuff from lyxfunctional where approp.
4739 * Make file changes to use partial linking (lets test this now...)
4741 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4745 remove #include "support/syscontr.h" as it's redundant. Always has been.
4753 change Systemcalls::System to Systemcalls::Wait and
4754 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4755 No change of functionality, just reflects the stripped down Systemcalls
4758 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4760 * debug.[Ch]: add a GRAPHICS type to the enum.
4762 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4764 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4766 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4769 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4771 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4772 match the changes below.
4774 * text2.C (toggleInset): if there is not editable inset at cursor
4775 position, try to see if cursor is _inside_ a collapsable inset
4778 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4780 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4781 document menu has a nice checkbox
4783 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4785 * lyxlength.C (asLatexString): change PW to output as percent of
4788 * lengthcommon.C: change '%' to 't%'
4790 * lyxfunc.C (dispatch): a few comments from Martin
4792 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
4796 * BufferView_pimpl.h:
4797 * BufferView_pimpl.C: clear our selection when X tells us we've lost
4800 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4802 * vspace.C (inPixels): fix compiler warning
4804 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4806 * lyxfunc.C (getStatus): fix status message for disabled commands.
4808 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
4810 * BufferView_pimpl.C: fix crash on close buffer
4811 during selection (#227)
4813 2002-01-27 Herbert Voss <voss@lyx.org>
4815 * buffer.C: link old Figure to new graphic inset
4817 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
4819 * FontLoader.C (getFontinfo): Change the latex font names in order
4820 to match the names of type1inst.
4822 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4824 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4826 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4829 (remove_files_with_extension): ditto
4830 (remove_file): ditto
4833 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4834 document is smaller than the work area height. Do not initialize
4835 static variables to 0.
4837 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4839 * lyx_gui.C (init): give the toolbar tooltips a normal font.
4841 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4842 LFUN_LAYOUT_PARAGRAPHS.
4844 * tabular.C (GetCellFromInset): new method. Finds an inset in a
4845 tabular. It is possible to provide a possible cell, which will
4846 typically be the actcell from the corresponding insettabular
4848 * lyxfunc.C (getStatus): small cleanup; disable
4849 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4852 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4854 * tabular.C (Validate): remove broken optimization (fixes bug #201)
4856 * paragraph.C (startTeXParParams):
4857 (endTeXParParams): new methods. The LaTeX code to
4858 start/end paragraph formatting
4859 (simpleTeXOnePar): call startTeXParParams also when paragraph is
4860 empty (fixes bug #200)
4862 * vspace.C (inPixels): adapt to the change below
4863 (inPixels): [later] more cleanups (remove unused variables)
4865 * lyxlength.C (inPixels): change to use a width and a height as
4868 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4870 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
4871 Replaced with \paperwidth
4873 * DepTable.C (insert): add std:: qualifier
4875 2002-01-18 Allan Rae <rae@lyx.org>
4877 * text2.C (removeRow): add comment. Should other refresh_?? vars be
4880 * text.C (drawInset): Turned out I didn't know enough about how
4881 rebreaking worked. This fixes most of the redraw problems. I see
4882 an occasional cursor trail when a line is broken now and the cursor
4883 placement can seem out by a few pixels also after a rebreak.
4885 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4887 * buffer.C (parseSingleLyXformat2Token): update because minipage
4888 width is now a LyXLength
4890 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
4892 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
4895 2002-01-17 Juergen Vigna <jug@sad.it>
4897 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
4899 * BufferView2.C (lockInset): call edit() so that theLockingInset()
4900 is set correctly and the inset is updated correctly.
4902 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4904 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
4905 the beginning of the loop.
4907 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
4909 * lyxrc.C: improve help for use_scalable_fonts
4911 2002-01-17 Allan Rae <rae@lyx.org>
4913 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
4915 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4917 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
4918 make sure to set their inset_owner to the right value (bug #171)
4920 2001-12-12 Ben Stanley <bds02@uow.edu.au>
4923 * DepTable.C: Implement mtime checking to reduce time spent doing
4926 2002-01-16 Juergen Vigna <jug@sad.it>
4928 * tabular.C (GetAdditionalHeight): one of error fixed.
4930 * lyxrc.C (output): small fix in writing use_pspell.
4932 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
4934 * sp_base.h: #include LString.h
4936 2002-01-16 Allan Rae <rae@lyx.org>
4938 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
4939 Can someone check this please?
4941 * text.C (drawInset): It was possible that p.row would be removed by
4942 breakAgainOneRow upsetting a few other settings. There may be another
4943 small tweak possible by setting need_break_row = 0 when p.row has been
4944 removed but I don't know enough about the logic here.
4946 2002-01-15 Allan Rae <rae@lyx.org>
4948 * text.C (insertChar): removed conditional truism.
4950 * BufferView2.C (removeAutoInsets): More tweaks.
4951 cur_par_prev could be a stray pointer. Check for trailing empty line
4952 in case last line was cur_par and only had an error inset on it.
4954 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4956 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
4959 * vc-backend.C (most methods):
4960 * exporter.C (Export):
4961 * converter.C (convert):
4963 * LyXSendto.C (SendtoApplyCB):
4964 * lyxfunc.C (dispatch):
4968 * lyx_cb.C (AutoSave):
4970 * BufferView_pimpl.C (MenuInsertLyXFile):
4971 * buffer.C (runChktex): use Buffer::filePath().
4973 * buffer.h: rename filename to filename_; rename filepath to
4974 filepath_ and make it private
4975 (filePath): new method
4977 * buffer.C (writeFile): use fileName()
4980 * lyx_main.C (init): fix starting of LyX when the binary is a
4981 link from so,ewhere else.
4983 * minibuffer.C: include <cctype> for isprint
4985 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4987 * buffer.C (parseSingleLyXformat2Token): changes associated with the
4988 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
4989 name clash with InsetCollapsable's width function.
4991 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4993 * lastfiles.C: include <iterator>
4995 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4997 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
5000 * buffer.C (makeLaTeXFile): ditto.
5001 Also make loop operation more transparent.
5003 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5005 * ToolbarDefaults.C: remove trailing comma closing namespace.
5007 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
5009 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5012 * trans.C (Load): comment out unused variable, allowed.
5014 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5016 * minibuffer.[Ch] (append_char): new method to recieve input from the
5017 drop-down completion browser. If a key was pressed, then recieve this
5018 char and append it to the existing string.
5019 (peek_event): modify the positioning data passed to the completion
5020 browser so that it can be placed above the minibuffer rather than below.
5021 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5023 * LyXAction.C (init): alloe error-next for readonly documents.
5025 * BufferView2.C (ChangeRefsIfUnique): use standard version of
5028 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5030 * bufferlist.C (readFile): create the buffer _after_ checking that
5033 * lyxfunc.C (verboseDispatch): fix handling of arguments
5035 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5037 * lyxrc.C: use string::erase() instead of initializing to "".
5040 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5042 * BufferView_pimpl.h:
5043 * BufferView_pimpl.C:
5046 * text2.C: tell X when we have made a selection for copying
5048 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5050 * BufferView_pimpl.C (MenuInsertLyXFile):
5051 * lyxfunc.C (menuNew):
5053 (doImport): add shortcuts to directory buttons
5055 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5058 * lyxfunc.C (setStatusMessage):
5059 (getStatusMessage): new methods
5060 (getStatus):use setStatusMessage instead of setErrorMessage
5061 (dispatch): when function is disabled, set error message here
5062 [instead of in getStatus previously]
5064 * BufferView_pimpl.C (workAreaButtonRelease): update
5065 toolbar/menubar here too.
5067 2002-01-13 Allan Rae <rae@lyx.org>
5069 * BufferView2.C (removeAutoInsets): finished off earlier fix.
5070 Now seems indestructible. Remaining task is to audit all other
5071 code affected by deleteEmptyParagraphMechanism. One small quirk
5072 left is that an empty document with an error in the preamble can
5073 be made to report an error but no error box appears. I don't know
5075 (removeAutoInsets): Improved comments.
5077 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
5080 * Thesaurus.C: update for Aiksaurus 0.14
5082 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5084 * text2.C (firstParagraph): removed member function, all uses
5085 replaces with ownerParagraph
5086 (redoParagraphs): here
5088 (toggleAppendix): here
5089 * BufferView2.C (insertErrors): here
5090 (setCursorFromRow): here
5092 2002-01-13 Allan Rae <rae@lyx.org>
5094 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
5095 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
5096 There is still a way to segfault this although you may have to do this
5097 multiple times: Have an InsetERT with an unknown command in it.
5098 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
5099 <down-arrow>, <Enter> again, View->DVI, BANG!
5101 * text2.C (setCursor):
5102 (deleteEmptyParagraphMechanism):
5103 * lyxtext.h (setCursor):
5104 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5105 Making use of the return value may help fix other bugs.
5107 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5109 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5111 * LyXView.C (updateMenubar): call MenuBar::update here
5112 (updateToolbar): but not here
5113 (showState): do not update toolbar/menubar
5115 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5116 should need to care about that.
5118 * lyxfunc.C (verboseDispatch): simplify a bit
5119 (getStatus): have a version which takes a pseudoaction, and
5120 another which requires a (kb_action,string).
5122 * LyXAction.C (retrieveActionArg): make it work also when action
5123 is not a pseudo-action.
5124 (getActionName): simplify a bit
5127 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5129 * lyxfunc.C (verboseDispatch): new families of methods with
5130 several ways to specify a command and a bool to indicate whether
5131 the command name and shortcut should be displayed in minibuffer
5132 (eventually, we could extend that to a finer bitmask like
5133 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5134 (dispatch): the pristine dispatch command which just, well,
5135 dispatchs! Note it still sets its result to minibuffer; I'm not
5138 * lyxfunc.h: remove setHintMessage
5140 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5142 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5144 * BufferView_pimpl.C (specialChar): delete new inset if we have
5145 not been able to insert it.
5147 * kbmap.C: revert to using int instead of kb_action, since all we
5148 are dealing with is pseudo-actions.
5150 * LyXAction.C (searchActionArg): change to return int instead of
5151 kb_action, since the result is a pseudoaction.
5153 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5155 * buffer.C (insertErtContents): Fix (partially) the font bug.
5157 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5159 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5160 as the other one is broken on my machine!
5162 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5165 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5167 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5169 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5170 reflect their actual use. Provide compatibility code for older lyxrc
5173 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5175 change names of popup font variables in line with the changes to lyxrc.C
5177 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5179 * buffer.C (asciiParagraph): avoid outputing a word twice after
5182 * lyxrc.C (getDescription): document that document_path and
5183 template_path can be empty.
5185 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5187 * LaTeXFeatures.C (getMacros):
5188 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5190 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5192 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5194 (getPackages): rename feature "floats" to "float". Use an array to
5195 iterate over 'simple' features (i.e. just a \usepackage). Add
5196 handling of "amsmath" (renamed from "amsstyle").
5198 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5200 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5203 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5205 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5206 FuncStaus::FuncStatus & FuncStaus::some_method().
5208 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5210 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5211 of the func_satus stuff. Edited and massaged in various ways by
5214 * lyxfunc.C (getStatus): use FuncStatus
5216 2002-01-08 Juergen Vigna <jug@sad.it>
5218 * text.C (nextBreakPoint): use function Inset::isChar().
5220 * paragraph.C (TeXOnePar): use function
5221 Inset::forceDefaultParagraphs.
5223 * buffer.C (latexParagraphs): use function
5224 Inset::forceDefaultParagraphs.
5226 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5228 * lyx_gui.C (init): set the style of the menu popups to
5229 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5231 2002-01-07 Juergen Vigna <jug@sad.it>
5233 * text.C (setHeightOfRow): small fix
5234 (prepareToPrint): don't look at alignment if we don't have the place
5237 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5239 * box.C: New file. Move the Box methods and functions out of box.h,
5240 following Lars' suggestion.
5242 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5244 * box.h: #include "support/LOstream.h", needed for inlined function.
5247 * lyxtextclasslist.C: added some using std declarations.
5249 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5251 * box.h: make signed dimensions to allow insets wider than
5252 the screen (bug #162)
5254 * BufferView_pimpl.C: add some insetHit debug
5256 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5258 * vc-backend.C: add FIXME
5260 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5262 * lyxfunc.C (getStatus): enable code for showing math font status
5265 2002-01-07 Juergen Vigna <jug@sad.it>
5267 * text.C (nextBreakPoint): removed debug output not needed anymore.
5269 2002-01-06 Juergen Vigna <jug@sad.it>
5271 * text.C (nextBreakPoint): fixed up this function we had this bug
5272 since ever but now hopefully we break row better.
5273 (insertChar): we have to check if an inset is the next char as it
5274 could now happen that a large inset is causing a break.
5276 2002-01-05 Juergen Vigna <jug@sad.it>
5278 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5279 if it doesn't like to be drawed.
5281 2002-01-04 Juergen Vigna <jug@sad.it>
5283 * BufferView2.C (lockInset): forgot to set a cursor.
5285 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5287 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5292 * form_maths_panel.C:
5293 * form_maths_panel.h:
5294 * form_maths_panel.fd: implemented sub- and super- buttons in math
5297 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5298 (or ^ space) to be used as in TeX (req'd by André).
5300 * lyxfunc.C: Allow ^ and _ again to be used both as
5301 super/subscript (mathed) and as themselves (in text).
5303 2002-01-03 Allan Rae <rae@lyx.org>
5305 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5306 "LyX" or the filename of the current buffer if it has one. This is a
5307 modified form of John Levon's patch.
5309 * XFormsView.C (setWindowTitle): also set icon title.
5311 * LyXView.h (setWindowTitle): signature changed.
5312 * XFormsView.h (setWindowTitle): ditto.
5314 2002-01-02 Juergen Vigna <jug@sad.it>
5316 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5318 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5320 * screen.C (topCursorVisible): introduce a temp var for
5321 text->cursor.row(), handle the case where this row is null. (kindo
5324 * text2.C (setCursor): add a couple of asserts.
5326 * paragraph.h (inset_iterator): add -> operator
5328 * paragraph.[Ch] (autoDeleteInsets): remove member function
5330 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5331 cursor pos correctly and handle inset deletion by itself.
5332 (insertErrors): move iterator declaration out of for expression
5334 * lyxtextclass.C: add <algorithm>
5336 * Makefile.am: added the new files to sources, removed layout.C
5338 * layout.C: removed file
5340 * layout.h: remove LYX_DUMMY_LAYOUT
5342 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5346 * lyxtextclass.[Ch]:
5347 * lyxtextclasslist.[Ch]: new files
5349 * include order changes to a lot of files, also changes because of
5352 2001-12-27 Juergen Vigna <jug@sad.it>
5354 * buffer.C (asciiParagraph): more fixes.
5356 * tabular.C (ascii): make ascii export support export of only the
5357 data separated by a column-delimiter.
5358 (ascii): better support for ascii export.
5360 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5362 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5364 * tabular_funcs.C: use a "using std::getline" instead of the
5365 previous fix from Angus (necessary for cxx + lyxstring)
5367 2001-12-24 Juergen Vigna <jug@sad.it>
5369 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5371 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5372 problems. First check a minipage also if we have some ert-contents
5373 (not only on par->size(), second set the right depth of the paragraph
5374 on the relink to the root-paragraph-list!
5376 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5377 which then did not anymore update the main paragraphs on undo/redo!
5379 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5381 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5382 code. Support all font-changing funcs (even those which are not in
5383 menu currently). Support for reporting font settings in
5384 mathed (disabled until Andre provides a function on mathed's side).
5386 * func_status.h (toggle): small helper function to set toggle
5389 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5391 * tabular_funcs.C: getline -> std::getline
5393 2001-12-21 Juergen Vigna <jug@sad.it>
5395 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5396 accessed and could be 0 (I couldn't generate this but it seems
5399 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5401 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5402 * tabular_funcs.h: here and include iosfwd
5404 2001-12-20 Juergen Vigna <jug@sad.it>
5406 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5407 inside inset but undo_par was.
5409 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5411 * Thesaurus.C: always include <config.h> in sources.
5415 * box.h: do not include <config.h> in header files
5417 * text.C (paintLastRow): remove unused variable
5419 * text.C (transformChar):
5421 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5424 * font.C (width): rewrite to use uppercase() instead of
5427 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5429 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5431 * lyxfind.C: clean up of find failure position change
5433 2001-12-20 Juergen Vigna <jug@sad.it>
5435 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5437 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5438 (TeXRow): added to LaTeX a single tabular row.
5439 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5440 (Latex): simplified and finally good LT-h/f support.
5441 (various_functions): just small adaptions for LT-h/f support.
5443 * tabular_funcs.[hC]: added and moved here all not classfunctions
5446 2001-12-19 Juergen Vigna <jug@sad.it>
5448 * tabular.[Ch]: better support for longtabular options (not finished
5451 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5453 * text.C (paintLastRow): use the label font instead of the font of
5454 the last character to compute the size of *_BOX. This makes more
5455 sense and avoids a crash with empty paragraphs.
5456 Use Painter::rectangle to draw EMPTY_BOX.
5458 2001-12-19 Juergen Vigna <jug@sad.it>
5460 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5461 the paragraphs if the replaced paragraph is not the first one!
5462 Tried to delete not used paragraphs but does not work yet so for
5463 now it's inside #ifdef's and by default off!
5465 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5467 * MenuBackend.C: include "lyx_main.h" instead of declaring
5468 lastfiles (actually was declared as LastFiles* instead of a
5471 2001-12-17 Juergen Vigna <jug@sad.it>
5473 * tabular.C (AppendColumn): applied John's fix
5475 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5479 * BufferView_pimpl.h:
5480 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5483 * box.h: new start of class for above
5485 * lyxfunc.C: ignore space-only minibuffer dispatches.
5486 Show the command name when it doesn't exist
5488 * minibuffer.C: don't add empty lines to the history
5490 * minibuffer.C: add a space on dropdown completion
5492 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5494 * text.C: fix line above/below drawing in insets
5496 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5498 * lyxlength.C (LyXLength): Initialize private variables.
5500 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5502 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5503 when inserting error insets.
5505 2001-12-13 Juergen Vigna <jug@sad.it>
5507 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5508 actually sometimes the before-paragraph.
5509 (setUndo): don't clear the redostack if we're not actually undoing!
5511 2001-12-06 Juergen Vigna <jug@sad.it>
5513 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5514 and fixed redoing of main paragraph, so we can use it now ;)
5516 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5518 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5520 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5523 2001-12-13 André Pönitz <poenitz@gmx.net>
5526 * undo_func.C: minor cleanup
5528 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5530 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5531 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5532 font in urw-fonts package which is marked as -urw-fontspecific and
5533 does not work (incidentally, changing the encoding in the
5534 fonts.dir of this package to -adobe-fontspecific fixes the
5537 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5538 is a crash when undoing first paragraph (Juergen, please take a
5539 look). THis does not mean the undo fix is wrong, just that it
5542 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5543 the (Paragraph*) version when needed instead of duplicating the
5546 * text.C (workWidth): use Inset::parOwner to find out where the
5547 inset has been inserted. This is a huge performance gain for large
5548 documents with lots of insets. If Inset::parOwner is not set, fall
5549 back on the brute force method
5551 * paragraph_pimpl.C (insertInset):
5552 * paragraph.C (Paragraph):
5553 (cutIntoMinibuffer): set parOwner of insets when
5554 inserting/removing them
5556 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5558 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5564 * mathed/formulabase.C:
5565 * mathed/math_cursor.[Ch]:
5566 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5569 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5571 * lyxlength.[Ch] (operator!=): new function
5573 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5575 * text.C (workWidth): use Inset::parOwner to find out where the
5576 inset has been inserted. This is a huge performance gain for large
5577 documents with lots of insets. If Inset::parOwner is not set, fall
5578 back on the brute force method
5580 * paragraph_pimpl.C (insertInset):
5581 * paragraph.C (Paragraph):
5582 (cutIntoMinibuffer): set parOwner of insets when
5583 inserting/removing them
5585 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5587 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5589 * tabular-old.C (getTokenValue):
5590 * tabular.C (getTokenValue):
5591 (write_attribute): new versions for LyXLength
5592 (everywhere): adjust the use of widths
5594 * tabular.h: change the type of widths from string to LyXLength
5596 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5598 * paragraph.C: fixed missing line number count when exporting
5599 Environments to LaTeX file
5601 * buffer.C: added informational message for checking line numbers.
5603 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5605 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5606 paragraph, do the 'double space' part, but not the 'empty
5609 * text.C (workWidth): small optimization
5610 (getLengthMarkerHeight): use minimal size for negative lengths.
5612 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
5614 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5616 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5618 2001-12-11 André Pönitz <poenitz@gmx.net>
5621 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5623 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5625 * text2.C: keep selection on a setFont()
5627 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5629 * lyx_cb.C: another bv->text misuse, from insert label
5631 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5634 * kbsequence.C: re-instate nmodifier mask
5636 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
5638 * lyx_main.h: make lyxGUI private.
5640 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5642 * lyxfind.C: place the cursor correctly on failed search
5644 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5646 * text.C (getLengthMarkerHeight): for small heights, the arrows
5647 are not always on top/bottom of the text
5648 (drawLengthMarker): smaller arrows; take the left margin in
5649 account; draw also vfills.
5651 (paintLastRow): remove special code for vfill and standard spaces,
5652 since everything is handled in drawLengthMarker now.
5654 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5656 * buffer.C (insertErtContents): try to handle font and language
5657 interaction a bit better.g
5659 * ColorHandler.C (updateColor): change the hash to cover the whole
5660 LColor enum, ws cleanup
5661 (getGCLinepars): ditto
5662 (getGCLinepars): only lookup in the linecache once.
5664 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
5666 * iterators.C (operator++): Make the iterator more robust
5668 * BufferView2.C (removeAutoInsets): Use paragraph iterators
5670 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5672 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5675 * text.C: better added space drawing
5677 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5680 * BufferView2.C: fix layout combo update on inset unlock
5682 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5684 * Makefile.am: don't compile unused files
5686 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5690 * LyXAction.C: remove old LFUN_LAYOUTNO
5692 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5694 * paragraph_pimpl.h:
5695 * paragraph_pimpl.C: isTextAt() doesn't need font param
5697 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5700 * lyxlex.C: little cleanup
5702 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5704 * BufferView_pimpl.C: fix insertAscii for insets
5706 2001-12-05 Juergen Vigna <jug@sad.it>
5708 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
5709 set the right font on the "multi" paragraph paste!
5711 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5717 * lyxlength.C: remove out-commented code.
5733 * vc-backend.C: change "while(" to "while ("
5735 * lyxlength.[Ch]: add zero function to check if length is zero or
5737 * lyxgluelength.C: use it
5739 2001-12-05 Allan Rae <rae@lyx.org>
5741 * lyxlength.C: Attempted a fix for the abs(int) header selection.
5742 Works for 2.95.3, from what I understand of Garst's reports this should
5743 work for other g++ versions. We're screwed if the abs(int) definition
5744 changed between bugfix releases of gcc.
5746 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5748 * text.C: fix chapter label offset !
5750 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5753 * text.C: fix hfill at end of line, clean up
5755 2001-12-04 Juergen Vigna <jug@sad.it>
5757 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5758 that we force an update of the inset and it's owners if neccessary.
5760 2001-12-03 Juergen Vigna <jug@sad.it>
5762 * text.C (rowLast): simplified code
5764 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5766 * lyxfunc.C: fix show options on timeout
5768 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5770 * screen.C (topCursorVisible): scroll half a page when the cursor
5771 reached top of bottom of screen
5773 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
5775 * minibuffer.C: deactivate on loss of focus
5777 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5779 * vspace.[Ch] (operator!=): add operator.
5781 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5783 * BufferView_pimpl.C: refuse to open an inset when
5784 there's a selection.
5786 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
5788 * BufferView_pimpl.C: allow to click on RHS of full row insets
5790 2001-11-30 Juergen Vigna <jug@sad.it>
5792 * tabular.C (LyXTabular): add a same_id to set the same id's in the
5793 insets for undo reasons.
5795 2001-11-28 André Pönitz <poenitz@gmx.net>
5797 * vspace.[Ch]: cosmetical changes
5799 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5809 * kbsequence.C: part re-write of old kb code
5812 * WorkArea.C: remove Lgb_bug_find_hack
5814 2001-11-30 José Matos <jamatos@fep.up.pt>
5816 * buffer.C (makeDocBookFile): add a comment to point a hack.
5817 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5818 Fixed a double write of labels.
5820 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5823 * LaTeX.h Fixed bug in LaTeX class where it would not
5824 re-run latex if no depfiles were changed, but the .dvi was removed.
5826 2001-11-28 André Pönitz <poenitz@gmx.net>
5828 * all the files from the change on 2001/11/26:
5829 use lyx::layout_type instead of LyXTextClass::size_type
5830 use lyx::textclass_type instead of LyXTextClassList::size_type
5832 2001-11-29 Juergen Vigna <jug@sad.it>
5834 * text.C: added support for paragraph::isFreeSpacing()
5836 * buffer.C: same as above
5838 * paragraph.h: inserted isFreeSpacing() function to enable
5839 FreeSpacing inside InsetERT.
5841 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5842 of the paragraph's in the cut/copy buffer to 0!
5844 * text2.C (removeRow): remove the assert as it can!
5846 * lyxtext.h: added helper function firstRow returning firstrow and
5847 made firstrow private again.
5849 * BufferView2.C (lockInset): don't relock if we're already locked!
5851 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5853 (removeRow): added Assert::(firstrow)
5855 * debug.C: forgot to add INSETTEXT here.
5857 2001-11-28 Juergen Vigna <jug@sad.it>
5859 * sp_spell.C (initialize): changed error text to more general
5860 spellchecker command use (not only ispell!)
5862 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
5864 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
5866 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5868 * vspace.C: initialise lyxgluelength on failure
5870 2001-11-28 Allan Rae <rae@lyx.org>
5872 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
5873 declaration & definition that looks like a function declaration.
5875 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5877 * BufferView2.C (copy):
5878 (copyEnvironment): do not clear the selection when doing a copy.
5880 * text.C (paintFirstRow): compilation fix
5882 2001-11-27 Ben Stanley <bds02@uow.edu.au>
5884 * tabular.C (Latex): correct line count when writing latex.
5886 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
5888 * paragraph_pimpl.h:
5889 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
5892 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5896 * LColor.C: change vfillline->added_space
5898 * text.C: add markers and text for added space
5900 * vspace.C: fix comment
5902 2001-11-28 André Pönitz <poenitz@gmx.net>
5904 * paragraph.C: whitespace changes
5905 * all the other files from the change on 2001/11/26:
5906 change *::pos_type into lyx::pos_type
5908 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
5910 * buffer.C (parseSingleLyXformat2Token): Set the language to the
5911 language of the document when inserting error insets.
5913 2001-11-26 André Pönitz <poenitz@gmx.net>
5915 * BufferView_pimpl.[Ch]:
5923 * paragraph_pimpl.[Ch]:
5926 * text2.C: reduce header dependencies, introduce type for positions
5928 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5930 * <various>: change to use Alert.h
5932 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
5934 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
5935 when encountering an unknown token.
5936 (readLyXformat2): Show an error message if there were unknown tokens.
5938 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5941 * BufferView_pimpl.C:
5945 * text2.C: use par->isInset()
5947 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5949 * paragraph_pimpl.h:
5950 * paragraph_pimpl.C: cleanup
5952 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5954 * text2.C (removeRow):
5955 * text.C (setHeightOfRow): remove useless (and costly) call to
5958 2001-11-20 Allan Rae <rae@lyx.org>
5960 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
5961 Now need Inset*::checkInsertChar() to return true for appropriate
5962 cases so that the characters in the minibuffer will actually be
5965 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5967 * text.C: change the order of the includes.
5968 (workWidth): initialize it at once.
5969 (workWidth): make maxw unsigned
5970 (setHeightOfRow): remove unused variable (inset)
5971 (selectSelectedWord): remove unused variable (inset)
5972 (paintRowText): fix drawing of hfill characters, and clean up a bit.
5974 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5976 * lyxserver.C (emergencyCleanup): do not try to close pipes if
5977 server is not running.
5979 (closeConnection): add debug info when server is disabled.
5981 * ColorHandler.C (getGCForeground): send debug message to GUI
5984 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
5986 * kbmap.C (bind): modify because return conventions of
5987 kb_sequence::parse have changed.
5989 * kbsequence.C (parse): only ignore spaces and not any stupid
5990 control character. This avoids tests like s[i] <= ' ', which are
5991 guaranteed to fail with 8bit characters and signed chars.
5992 Change return code to string::npos when there have been no error
5993 (0 was a bad idea when error is at first character)
5995 2001-11-14 José Matos <jamatos@fep.up.pt>
5998 * buffer.C (simpleDocBookOnePar): removed unused argument.
6000 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6002 * text.C (selectNextWordToSpellcheck): do not test explicitely for
6003 insets which are part of a word. Paragraph::isLetter takes care of
6004 that now. Use Paragraph::isInset to identify insets.
6005 (selectSelectedWord): do not test for hyphenation break.
6007 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
6008 that protected spaces are considered as spaces.
6010 * paragraph.C (isLetter): cleanup the code for ispell extras; use
6013 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
6016 * lyxserver.C: fix it. and small cleanup.
6018 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6020 * BufferView_pimpl.C: use inline helpers
6023 * LaTeXFeatures.C: fix typos
6026 * Spacing.C: move spacing_string into class
6028 * ToolbarDefaults.C: move stuff into namespace anon
6030 * layout.h: update enum
6032 * lyxfunc.C: use better debug
6034 * minibuffer.h: fix typo
6038 * WorkArea.C: add and use Debug::WORKAREA
6042 * text2.C: code re-organisation, inline helpers
6044 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
6046 * Layout.C: replaced a few cases of std::vector.size() == 0 with
6047 std::vector.empty().
6049 2001-11-09 Allan Rae <rae@lyx.org>
6051 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6052 '\n's after tables. Tabular and ERT inset work now makes this no
6055 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6058 * minibuffer.C: fix crash, improve drop-down completion
6060 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
6063 * lyxserver.C: invalidate fd's when doing endPipe()
6065 2001-11-08 José Matos <jamatos@fep.up.pt>
6067 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6068 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6071 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6073 2001-11-07 José Matos <jamatos@fep.up.pt>
6076 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6079 * buffer.C (sgmlOpenTag):
6080 * buffer.C (sgmlCloseTag): removed debug info.
6082 * buffer.h (sgmlOpenTag):
6083 * buffer.h (sgmlCloseTag): made public.
6085 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6087 * buffer.C (saveParamsAsDefaults):
6088 * lyx_cb.C (MenuLayoutSave): remove
6090 * LyXAction.C (init):
6092 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
6094 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6096 * buffer.C (setPaperStuff): removed from here...
6098 * bufferparams.C (setPaperStuff): ... and moved there.
6100 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
6104 * XFormsView.C: add support for drop-down completion
6106 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
6108 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6111 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6113 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6116 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6118 * lyx_main.C: change ref to known bugs
6120 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6122 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6123 to work around older babel problems.
6125 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6127 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6129 2001-10-24 Juergen Vigna <jug@sad.it>
6131 * tabular-old.C (ReadOld): below variable changes reflected.
6133 * tabular.[Ch]: added ltType struct for longtable header/footer
6134 defines and changed all instances where they are used. Added
6135 future support for double top/bottom rows.
6137 2001-10-24 José Matos <jamatos@fep.up.pt>
6139 * buffer.h (docbookHandleCaption):
6140 * buffer.C (docbookHandleCaption): removed unused function.
6141 (makeDocBookFile): moved docbook supported version to v4.1.
6143 2001-10-24 José Matos <jamatos@fep.up.pt>
6146 * tabular.C (docbookRow): new function to export docbook code of a row.
6147 (DocBook): now honors the longtable flags.
6149 2001-10-23 José Matos <jamatos@fep.up.pt>
6152 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6153 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6155 * buffer.C (makeLinuxDocFile):
6156 (makeDocBookFile): reworked the preamble, more clean, and with
6157 support for lyx defined entities. Changed the document declaration
6158 to be more XML friendly.
6160 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6161 if we need to output XML that should be done with a filter.
6163 2001-10-22 Juergen Vigna <jug@sad.it>
6165 * sp_pspell.h (class PSpell): add alive function needed in the
6166 controller to see if the spellchecker could be started.
6168 2001-10-22 Juergen Vigna <jug@sad.it>
6170 * buffer.C (insertStringAsLines): modify the font for inserting
6171 chars in certain conditions by calling checkInsertChar(font).
6173 2001-10-19 Juergen Vigna <jug@sad.it>
6175 * text.C (workWidth): use getRow instead of wrong algorithm.
6176 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6178 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6183 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6185 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6187 * text.C (workWidth): do not search for the exact row when
6188 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6189 optimization for big documents.
6191 2001-10-18 Juergen Vigna <jug@sad.it>
6193 * text.C (workWidth): new function with added Inset * parameter.
6195 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6197 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6199 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6200 change return type of getColumnNearX.
6203 * text.C (changeRegionCase): use uppercase/lowercase instead of
6206 (rightMargin): simplify code by factoring out the uses of
6211 (appendParagraph): use Paragraph::size_type
6213 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6215 * vspace.C (asLatexString): add a missing break
6217 2001-10-15 Herbert Voss <voss@perce.de>
6219 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6221 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6223 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6226 2001-10-10 André Pönitz <poenitz@gmx.net>
6228 * lyxfunc.C: removed greek_kb_flag.
6230 2001-10-10 Herbert Voss <voss@perce.de>
6232 * lyx_main.C: delete global string help_lyxdir.
6234 2001-10-09 Herbert Voss <voss@perce.de>
6236 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6238 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6240 * lyx_main.C: added global string help_lyxdir.
6242 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6244 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6246 * lyxrc.C (set_font_norm_type): support iso8859-4
6248 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6250 * LaTeX.C (deplog): add another regex for MikTeX
6252 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6254 * lyxrc.C (set_font_norm_type): support iso8859-3
6256 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6258 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6260 * LaTeXFeatures.C: remove special case of french and index
6262 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6263 before \begin{document}). This solves several incompatibilities.
6265 2001-10-03 Garst Reese <reese@isn.net>
6267 * lyx_cb.C: change CheckTex error msg.
6269 2001-10-03 José Matos <jamatos@fep.up.pt>
6271 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6273 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6275 * .cvsignore: update
6277 * lyx_main.C (commandLineVersionInfo): use new style version info.
6279 * buffer.C (writeFile):
6282 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6284 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6286 * version.h: update to use stuff in version.C
6288 * version.C.in: new file. Contains version information determined
6289 at compile time. This is a merging of version.h and
6292 2001-10-03 Juergen Vigna <jug@sad.it>
6294 * BufferView_pimpl.C (update): don't change "dirty" status in
6297 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6299 * WorkArea.C (c-tor): re-position version string slightly.
6301 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6303 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6304 revert to previous code.
6306 WorkArea.[Ch]: (show, destroySplash): methods removed.
6308 WorkArea.C: rework code so that it's an amalgam of the codes before and
6309 after the splash screen was moved to WorkArea.
6311 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6314 * vspace.C (inPixels):
6317 * buffer.C (insertStringAsLines):
6318 (asciiParagraph): fix types to be large enough
6320 * lyxlex_pimpl.h: change member status from short to int
6322 * layout.h: fix type of endlabeltype
6325 * kbsequence.C (parse): change return type to string::size_type
6327 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6330 * Bullet.C (bulletSize):
6331 (bulletEntry): do not use short ints as parameters
6333 * BufferView2.C (insertLyXFile): change a char to an int.
6335 * WorkArea.C (WorkArea): remove unneeded floats in computation
6337 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6339 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6341 * paragraph.C (asString): Do not ignore newline/hfill chars when
6342 copying to the clipboard.
6344 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6346 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6347 after a multi-line inset.
6349 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6351 * paragraph.C (validate): Set NeedLyXFootnoteCode
6353 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6355 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6356 and decrease-error to decrease.
6358 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6360 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6361 it more readable (should be equivalent)
6363 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6365 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6367 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6369 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6370 of a cursor (row, etc.) after a character has been deleted
6371 (deleteEmptyParagraphMechanism): call the method above on _all_
6372 cursors held by the LyXText when a double space has been
6375 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6377 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6379 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6381 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6382 background. Use greyOut() and the new show() methods to toggle between
6383 the foreground and background. Add code to remove the splash after
6384 its initial showing.
6386 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6387 (create_forms): no longer call Dialogs::showSplash.
6389 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6391 * .cvsignore: add version_info.h
6393 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6395 * version_info.h.in: new file
6397 * Makefile.am: add version_info.h.in
6399 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6400 version_info.h instead of VERSION_INFO
6402 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6404 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6405 The ERT inset now returns string().
6407 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6409 * lyxtext.h, text.C (selectNextWord): renamed as
6410 selectNextWordToSpellcheck.
6412 * text.C (selectNextWordToSpellcheck): Modified to not select
6413 words inside an ERT inset.
6415 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6417 * lyx_cb.C (MenuLayoutSave): change a bit the question
6419 * sp_base.h: include <sys/types.h>
6421 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6423 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6425 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6427 * several files: fix typos in user-visible strings
6429 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6431 * text2.C (pasteSelection): do not set the selection, since it
6432 will be cleared later. Actually, the intent was to fix the way the
6433 selection was set, but I figured rmoving the code was just as good.
6435 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6437 * FontLoader.C (available): Check if font is available without
6440 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6442 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6444 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6446 * lyxrc.[Ch]: added display_graphics variable and associated code.
6448 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6450 * bufferparams.C (hasClassDefaults): new method. Returns true if
6451 the buffer parameters correspond to known class defaults
6453 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6455 * XFormsView.C (show): set minimum size to the main window.
6457 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6459 * text2.C (copySelection):
6461 * lyxfind.C (LyXReplace):
6462 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6463 LyXText::selectionAsString.
6465 * paragraph.C (asString): add "label" argument to the second form
6467 * text2.C (selectionAsString): add "label" argument and pass it to
6468 Paragraph::asString.
6470 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6472 * lyx_main.C (commandLineHelp): remove version information
6474 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6476 * lyx_main.C: add -version commandline option
6478 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6480 * paragraph.h: make the optional constructor arg required instead.
6481 some modifications to other files because of this.
6483 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6485 * lyxserver.C (C_LyXComm_callback): make it static
6487 * lyx_main.C (error_handler): make it static
6489 * lyx_gui.C (LyX_XErrHandler): make it static
6491 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6493 * WorkArea.C: make the extern "C" methods static.
6495 * Makefile.am (lyx_LDADD): simplify
6497 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6499 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6500 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6502 * LyXAction.C (init):
6503 * lyxfunc.C (dispatch): associated code removal.
6505 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6507 * lyxfont.h (isSymbolFont): shut off warning
6509 * text.C (setHeightOfRow):
6510 (getVisibleRow): fix crash with empty paragraphs which have a
6513 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6515 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6518 2001-09-04 José Matos <jamatos@fep.up.pt>
6521 * tabular.C (docbook): rename docBook method to docbook.
6523 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6525 * Makefile.am: add dependencies to main.o.
6527 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6529 * FontLoader.C (available): Return false if !lyxrc.use_gui
6531 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6533 * FontInfo.C (query):
6534 * converter.C (view):
6535 * importer.C (Import):
6536 * exporter.C (Export): Can not -> cannot.
6538 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6540 * BufferView_pimpl.C: allow to create index inset even if
6543 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6545 * buffer.C (getLists): replace boost::tie code with an explicit pair
6546 as boost::tie can break some compilers.
6548 * iterators.h: Added a std:: declaration to the return type of
6551 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6553 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6556 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6558 * iterators.[Ch]: New files. Provide paragraph iterators.
6560 * buffer.C (changeLanguage): Use paragraph iterators.
6561 (isMultiLingual): ditto
6563 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6565 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6567 * FontLoader.C: Support for cmr font.
6569 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6571 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6572 (available): New method.
6574 * FontInfo.C (getFontname): Use scalable fonts even when
6575 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6578 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6580 * converter.C (Formats::view): reverted! Incorrect fix.
6582 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6584 * converter.C (Formats::view): only output the -paper option
6585 if the dvi viewer is xdvi, thereby fixing bug #233429.
6587 2001-08-23 Herbert Voss <voss@perce>
6589 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6591 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6593 * Spacing.h (Spacing): Set space to Default on in the default
6596 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6598 * vc-backend.h (RCS::versionString): add RCS to version
6599 (CVS::versionString): add CVS to version
6601 * vc-backend.C (scanMaster): do not add CVS to version.
6602 (scanMaster): do not add RCS to version
6604 * lyxvc.C (versionString): new method
6606 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6608 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6610 * Spacing.C (set): initialize fval
6612 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
6614 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6617 2001-08-16 Juergen Vigna <jug@sad.it>
6619 * lyxfunc.C (dispatch): implemented the new FINISHED states.
6621 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6623 * BufferView_pimpl.C:
6626 * text2.C: setParagraph takes linespacing now
6628 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
6630 * LyxAction.C: add internal LFUN_CITATION_INSERT
6632 * LyXView.C: actually apply fix
6634 * bufferlist.C: fix open non-existent file
6636 * lyxfind.C: fix indentation
6638 * lyxfunc.C: remove unneeded assert, fix typo
6640 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6642 * MenuBackend.C: use "Floatname List"
6644 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6646 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6647 when converting LaTeX layout to insetERT.
6648 Generate a non-collapsed float when reading old float
6650 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6652 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6655 2001-08-13 Juergen Vigna <jug@sad.it>
6657 * text.C (fill): return 0 instead of 20 as this seems to be the more
6660 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6662 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6665 2001-08-13 Juergen Vigna <jug@sad.it>
6667 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6669 (SearchBackward): comment out the unlocking of the inset_owner this
6670 should not be needed!
6672 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6674 * Many files: Remove inherit_language, and add latex_language
6676 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6679 2001-08-10 Juergen Vigna <jug@sad.it>
6681 * text.C (prepareToPrint): fixed hfill-width in draw!
6683 * BufferView2.C (selectLastWord): save the selection cursor as this
6684 now is cleared in the function LyXText::clearSelection!
6686 2001-08-08 Juergen Vigna <jug@sad.it>
6688 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6689 BACKSPACE type functions.
6691 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
6692 is only cutted from the document but not put in the cut-buffer, where
6693 still the old stuff should be.
6695 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
6697 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
6699 * tabular.C (SetWidthOfCell): fixed special case where the width
6701 (LeftLine): handle '|' in align_special.
6703 (LeftAlreadyDrawed): ditto
6704 (SetWidthOfCell): ditto
6706 2001-08-07 Juergen Vigna <jug@sad.it>
6708 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
6710 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6712 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
6713 * lyxlex.[hC]: ditto
6715 2001-08-06 Juergen Vigna <jug@sad.it>
6717 * text.C (getVisibleRow): fix up row clearing a bit.
6719 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6721 * minibuffer.C: make sure the X server sees the changes in the input.
6723 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6725 * paragraph.C (getFont): split into...
6726 (getLabelFont): this
6727 (getLayoutFont): and this
6728 * paragraph_pimpl.C (realizeFont): calling this
6730 * text2.C (getFont): split into...
6731 (getLayoutFont): this
6732 (getLabelFont): and this
6733 (realizeFont): all three calling this
6735 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6738 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6740 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6742 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
6744 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6745 layouts from the Quote inset insertion.
6747 2001-08-03 Juergen Vigna <jug@sad.it>
6749 * BufferView_pimpl.C (update): do the fitCursor only at the end!
6751 * screen.C (drawFromTo): don't call fitcursor here and do the loop
6752 only if status not is already CHANGED_IN_DRAW (second level).
6754 * text.C (draw): don't set the need_break_row when inside an
6757 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6759 * buffer.C (parseSingleLyXformat2Token): handle more latex
6762 * bufferview_funcs.[hC]: change function names to
6763 begin with small char, adjust other files.
6765 2001-08-02 André Pönitz <poenitz@gmx.net>
6768 BufferView_pimpl.C: remove broken special code for math-greek
6770 2001-08-02 Juergen Vigna <jug@sad.it>
6772 * BufferView_pimpl.C (update): redone this function so that we
6773 update the text again if there was a CHANGE_IN_DRAW.
6775 * screen.C (cursorToggle): removed LyXText parameter and recoded.
6776 (drawFromTo): added a new internal bool which is used by draw() and
6778 (general): some cursor drawing problems fixed.
6780 2001-08-01 Juergen Vigna <jug@sad.it>
6782 * lyxfind.C (LyXFind): fixed
6783 (SearchForward): ditto
6784 (SearchBackward): ditto
6786 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6787 spurius drawing of the cursor in the main area.
6789 * text2.C (status): small fix which could lead to a segfault!
6790 (clearSelection): remove unneeded BufferView param.
6792 2001-08-01 André Pönitz <poenitz@gmx.net>
6794 * lyxfunc.C: small change due to changed mathed interface
6796 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6798 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6800 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
6802 * lyxfunc.c: fail gracefully if file doesn't exist
6807 * BufferView_pimpl.C: IsDirWriteable() proto changed
6809 * LyXView.C: fix updateWindowTitle() to store the last title
6811 2001-07-31 Juergen Vigna <jug@sad.it>
6813 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6814 the font (wrong since using of Paragraph::highestFontInRange).
6816 * paragraph.C (highestFontInRange): added a default_size parameter.
6818 * text.C (getVisibleRow): minor clear row changes (still not perfect).
6819 (setHeightOfRow): reformat
6821 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6823 * converter.[hC] + affected files: move to (inital-char)lowercase
6826 * ParagraphParameters.C (ParagraphParameters): remove commented code
6828 * PainterBase.[Ch]: remove commented code
6830 * LaTeXFeatures.h: add "bool floats" for float.sty
6832 * LaTeXFeatures.C (LaTeXFeatures): init floats
6833 (require): handle float
6834 (getPackages): do it with floats
6836 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6838 * BufferView_pimpl.C (Dispatch): improve handling of
6839 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6841 * commandtags.h: #include lyxfont.h here temporarily to avoid
6844 * bufferlist.h: include LString.h here.
6846 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6848 * text2.C (getStringToIndex): new method.
6850 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
6852 * *: Reduced header file dependencies all over.
6854 2001-07-30 Baruch Even <baruch@lyx.org>
6856 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
6858 2001-07-29 Baruch Even <baruch@lyx.org>
6860 * buffer.C (readInset): Changed GRAPHICS to Graphics.
6862 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6864 * ParameterStruct.h (endif): add a default constructor to make
6865 sure that all variables is initialized.
6867 * ParagraphParameters.C (ParagraphParameters): adjust
6869 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6871 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
6872 index; also, check that there is something to index, and that it
6873 does not span over several paragraphs.
6874 (doubleClick): use WHOLE_WORD_STRICT for double click.
6876 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
6878 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
6881 2001-07-26 Baruch Even <baruch@lyx.org>
6883 * buffer.C (readInset): Changed to call up InsetGraphics when reading
6884 an InsetFig figure, backwards compatible reading of old figure code.
6886 2001-07-27 Juergen Vigna <jug@sad.it>
6888 * text2.C: font.realize function adaption.
6890 * text.C (draw): add a warnings lyxerr text if needed.
6892 * layout.C: font.realize function adaption.
6894 * language.C: add inherit_language and implement it's handlings
6896 * bufferview_funcs.C (StyleReset): remove language parameter from
6897 font creation (should be language_inherit now).
6899 * bufferparams.C (writeFile): handle ignore_language.
6901 * paragraph.C (getFontSettings): the language has to be resolved
6902 otherwise we have problems in LyXFont!
6904 * lyxfont.C (lyxWriteChanges): added document_language parameter
6905 (update): removed unneeded language parameter
6907 * paragraph.C (validate): fixed wrong output of color-package when
6908 using interface colors for certain fonts in certain environments,
6909 which should not seen as that on the final output.
6911 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
6913 * BufferView_pimpl.C:
6918 * LyXAction.C: add thesaurus support
6921 * lyxfind.C: add "once" parameter, for thesaurus, to not
6922 move to the next match
6924 2001-07-26 Juergen Vigna <jug@sad.it>
6926 * lyxfont.C (realize): honor ignore_language too!
6929 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
6931 * text.C (draw): one place more for ignore_language to not draw
6934 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
6936 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
6938 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6940 * buffer.C (parseSingleLyXformat2Token): a more general fix for
6941 the minipage conversion problem.
6943 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6945 * buffer.C (parseSingleLyXformat2Token): check minipage if we
6948 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6950 * BufferView.h: don't forward declare WorkArea
6952 * BufferView.C: don't include WorkArea.h
6954 2001-07-25 André Pönitz <poenitz@gmx.net>
6958 * lyxfunc.C: new LFUN 'math-space'
6960 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
6962 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6964 * text2.C (toggleInset): call open/close
6966 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6968 * lyxfunc.C (dispatch): add debug for the disabled case
6970 * font.C (buttonText): make similar to rectText
6972 * buffer.C (readInset): comment out parsing of insetlist and
6975 * PainterBase.C (rectText): small correction
6977 * BufferView_pimpl.C: comment out insettheorem and insetlist
6978 * LyXAction.C: ditto
6979 * commandtags.h: ditto
6981 2001-07-24 Juergen Vigna <jug@sad.it>
6983 * text.C (draw): honor the ignore_language.
6985 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
6987 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6989 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
6992 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6994 * lyxtext.h: remove unused (and unimplemented) methods
6996 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6998 * text.C (getVisibleRow): honor background color
7001 * Painter.h: remove default color argument for fillRectangle
7003 * text.C (backgroundColor): new method
7005 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7007 * text.C (getVisibleRow): adjust
7009 * font.[Ch] (rectText): new method, metrics
7010 (buttonText): new method, metrics
7012 * PainterBase.[hC]: make rectText and buttonText always draw and take
7015 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7017 * ToolbarDefaults.C (read):
7018 * MenuBackend.C (read): allow escaping in all strings
7020 * BufferView_pimpl.C (insertAndEditInset): new method.
7021 (Dispatch): use insertAndEditInset whenever appropriate.
7023 * BufferView_pimpl.C (insertNote): removed
7025 * BufferView_pimpl.C (smartQuote): new method, moved from
7026 BufferView; if an insetquote cannot be inserted, insert a '"'
7029 * BufferView2.C: remove insertCorrectQuote();
7031 * lyxfunc.C (getStatus): Add support for all remaingin
7034 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7036 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7037 command (necessary to pass " as parameter of self-insert.
7039 * text.C (selectWordWhenUnderCursor):
7040 (selectWord): add word_location parameter
7041 (selectWordWhenUnderCursor): same + remove special code for word
7043 (selectNextWord): use kind() to guess type of insetspecialchar,
7046 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7047 (insertErtContents): create ert insets as collapsed.
7048 (readInset): better compatibility code for Info inset.
7050 2001-07-20 Juergen Vigna <jug@sad.it>
7052 * lyxfunc.C (dispatch): use always LyXFind now!
7054 * text2.C (init): add a reinit flag so that the LyXText can be
7055 reinited instead of deleted and reallocated (used in InsetText).
7057 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7063 2001-07-18 Juergen Vigna <jug@sad.it>
7065 * text.C (selectNextWord): handle insets inside inset by calling
7066 always the bv->text functions so that we can go up the_locking_inset!
7068 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7069 in strange locations when inside an inset!
7071 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7072 handling to include insets.
7074 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7076 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7078 * LyXAction.C (init):
7080 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
7081 LIGATURE_BREAK, since the name is so stupid.
7083 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7085 * buffer.C (readInset): enable reading of new InsetNotes as well as old
7088 * FontLoader.C: remove FORMS_H_LOCATION cruft.
7090 * sp_form.[Ch]: remove.
7092 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
7094 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
7097 * src/buffer.C (readInset): ditto.
7099 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7101 * BufferView_pimpl.C (specialChar): new method. Obsoletes
7102 menuSeparator(), endOfSentenceDot(), ldots() and
7103 hyphenationPoint(), which are therefore removed.
7104 (Dispatch): handle LFUN_HYPHENATION_BREAK.
7106 * LyXAction.C (init):
7107 * commandtags.h: add LFUN_HYPHENATION_BREAK.
7109 * paragraph.C (getWord): removed.
7111 * BufferView_pimpl.C (Dispatch): use last word or selection for
7112 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7114 * lyx_main.C (queryUserLyXDir): do not ask before creating
7115 user_dir, except if it has been named explicitely.
7117 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7119 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7120 a document of zero size.
7122 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7124 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7125 approriately in the c-tor and in require().
7126 (getPackages): output the appropriate LaTeX for natbib support.
7128 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7129 variables "use_natbib" and "use_numerical_citations" when reading the
7131 (readInset): read the various natbib cite commands.
7132 (validate): white-space change.
7134 * bufferparams.[Ch]: new variables "bool use_natbib" and
7135 "bool use_numerical_citations".
7136 (writeFile): output them in the LyX file.
7138 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7140 * lyxfunc.C (getStatus): add support for all the inset insertion
7143 * text2.C (insertInset):
7144 * paragraph.C (insetAllowed):
7145 * BufferView_pimpl.C (insertInset): update to take in account the
7146 renaming of insertInsetAllowed
7148 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7150 * text2.C (getInset): new method. returns inset at cursor position.
7152 * BufferView_pimpl.C (Dispatch): changes because of this.
7154 * LyXAction.C (init): rename open-stuff to inset-toggle.
7156 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7158 * text2.C (toggleInset): renamed from openStuff; use
7161 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7163 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7165 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7167 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7169 * buffer.C (readLyXformat2): Add filename to the error dialog
7171 2001-07-18 Juergen Vigna <jug@sad.it>
7173 * tabular.C (GetCellNumber): put an assert here instead of the check!
7175 2001-07-17 Juergen Vigna <jug@sad.it>
7177 * BufferView_pimpl.C (toggleSelection): adapted too.
7179 * text.C (selectNextWord): adapted for use with insets.
7180 (selectSelectedWord): ditto
7182 2001-07-17 Juergen Vigna <jug@sad.it>
7184 * sp_spell.C (PSpell): fix initialitation order.
7186 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7188 * paragraph.C: spacing
7190 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7192 * sp_spell.C: repair language selection for pspell
7194 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7196 * lyxfunc.h: change more methods to begin with lower char.
7198 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7200 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7201 for unknown layouts.
7203 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7205 * buffer.C (readLyXformat2): Generate an error dialog if there are
7208 2001-07-16 Juergen Vigna <jug@sad.it>
7210 * sp_spell.C: always compile ISpell part.
7212 * lyxrc.C: added use_pspell entry and it's handling.
7214 2001-07-13 Juergen Vigna <jug@sad.it>
7216 * sp_spell.C: removed double includes.
7218 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7220 Consistent use of Lsstream.h:
7221 * Lsstream.h: added using std::stringstream for consistencies sake.
7223 * buffer.C: removed using std::stringstream
7225 * lyxfont.C (stateText):
7226 * paragraph.C (asString):
7227 * text.C (selectNextWord, selectSelectedWord):
7228 * text2.C (setCounter):
7229 * vspace.C (asString, asLatexString):
7230 std::ostringstream -> ostringstream.
7232 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7234 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7235 * commandtags.h: add LFUN_HELP_ABOUTLYX
7236 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7238 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7240 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7242 * lyx_gui_misc.C: remove spellchecker
7243 * lyxfunc.C: showSpellchecker
7245 * sp_ispell.h: added
7246 * sp_pspell.h: added
7248 * sp_form.[Ch]: removed
7249 * spellchecker.[Ch]: removed
7251 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7253 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7255 (simpleTeXSpecialChars): Simply print the input character without
7256 any special translation if pass_thru is set.
7258 * layout.h: Added bool pass_thru to layout class for being able to
7259 implement pass through of a paragraph for Literate Programming.
7261 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7262 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7263 * layout.C (Read): add "passthru" to list of layout tags and add
7264 code to set the pass_thru boolean when it is read.
7266 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7268 * trans_decl.h: remove allowed from KmodInfo
7270 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7274 * paragraph_pimpl.C (erase): use boost::prior
7276 * Painter.C (text): use data() instead of c_str() when length is
7278 * WorkArea.C (putClipboard): ditto
7279 * font.h (width): ditto
7281 * BufferView2.C: use it-> instead of (*it). for iterators
7283 * paragraph_pimpl.C: ditto
7284 * paragraph.C: ditto
7285 * minibuffer.C: ditto
7290 * converter.C: ditto
7292 * Variables.C: ditto
7293 * TextCache.C: ditto
7294 * MenuBackend.C: ditto
7295 * LyXAction.C: ditto
7297 * FloatList.C: ditto
7299 * ColorHandler.C (LyXColorHandler): ditto
7301 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7303 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7305 * text2.C (openStuff): reintroduce this method (which had been
7306 nuked in NEW_INSETS frenzy).
7308 * lyxfunc.C (Dispatch): when an action has not been handled, use
7309 its name in the error message, not its number.
7311 * paragraph.C (inInset): change method name to begin with lowercase.
7314 * text2.C: updates because of this.
7316 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7318 * ToolbarDefaults.C (add): add spaces in error message
7320 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7322 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7323 (readLyXformat2): rename return_par to first_par, use lyxlex's
7324 pushToken and remove the manual push handling.
7325 (parseSingleLyXformat2Token): add another ert comp. variable:
7326 in_tabular, rename return_par to first_par. handle newlines better
7328 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7330 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7332 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7334 * text2.C (getParFromID): removed
7336 * buffer.C (getParFromID): new method moved form lyxtext.
7337 * BufferView2.C (insertErrors): adjust
7338 (setCursorFromRow): adjust
7339 * BufferView_pimpl.C (restorePosition): adjust
7340 * lyxfunc.C (Dispatch): adjust
7341 * undo_funcs.C (textUndo): adjust
7343 (textHandleUndo): adjust
7344 (textHandleUndo): adjust
7346 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7348 * buffer.C: up' the LYX_FORMAT
7350 * lyxfont.h: turn NO_LATEX on as default
7352 * buffer.C (insertErtContents): new methods of tex style compability.
7353 (parseSingleLyXformat2Token): use it several places.
7354 * tabular.C (OldFormatRead): and here
7356 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7358 * text2.C: remove some commented code.
7361 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7362 * trans.C: changes because of the above.
7364 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7366 * text2.C (setCounter): Fix counters bug with bibliography layout.
7368 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7370 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7371 own member functions
7372 (simpleTeXSpecialChars): ditto
7374 2001-07-06 Juergen Vigna <jug@sad.it>
7376 * a lot of files: changed the access to LyXText::status and the
7377 call of undo-functions.
7379 * undo.[Ch]: added a inset_id to the undo informations.
7381 * undo_funcs.[Ch]: added and moved here all undo functions.
7383 * lyxtext.h: give the status enum a weight, made status_ a private
7384 variable and made accessor functions for it, removed the whole bunch
7385 of undo-functions as they are now in their own file, make some
7386 functions publically available. Added function ownerParagraph with
7389 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7390 made InInset() a const function, added getParFromID() function.
7392 * buffer.[Ch]: added const version for inset_iterator functions,
7393 added getInsetFromID() function.
7395 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7396 changed undo functions for new version.
7398 2001-07-05 Juergen Vigna <jug@sad.it>
7400 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7401 unknow mechanism does not call the proper constructor but only this
7402 one also if I request the other!?
7404 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7406 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7408 * text2.C (LyXText): use initialization lists.
7410 * lyxtext.h (Selection): initialize set_ and mark_
7411 (init): remove method
7413 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7415 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7417 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7419 * screen.[Ch]: change method names to begin with lowercase
7421 * BufferView_pimpl.C (updateScrollbar): simplify further and
7422 hopefully make it a bit faster.
7424 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7426 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7427 calling directly xforms functions.
7429 * Painter.C (Painter):
7430 * lyx_cb.C (MenuWrite):
7431 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7434 * lyx_gui.C: remove bogus guiruntime extern declaration.
7436 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7438 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7440 (redoDrawingOfParagraph): ditto
7441 (redoParagraphs): ditto
7442 (cutSelection): don't create a object for CutAndPaste use the
7443 static method directly
7444 (pasteSelection): ditto
7446 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7449 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7451 * modifications to some other files because of this.
7453 * Makefile.am (lyx_SOURCES): add XFormsView
7455 * XFormsView.[Ch]: new files
7457 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7458 the main window. Move the gui dependent stuff to XFormsView
7460 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7462 * tabular.C (GetCellInset): update cur_cell also in the row/col
7463 version of this function.
7465 * lyxfunc.C: no need to include figure_form.h here.
7471 * lyxvc.C: no need to include forms.h here.
7473 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7475 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7477 * lyxfunc.C (Dispatch):
7479 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7480 constructor argument.
7482 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7484 * paragraph.C (Paragraph): dont't clear, and just set layout.
7485 (makeSameLayout): use params's copy contructor.
7487 * ParagraphParameters.[Ch] (makeSame): delete method
7489 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7491 * Variables.[Ch]: fix indentation, rename set to isSet
7493 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7495 * lyxfunc.C (Dispatch): fix typo
7497 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7499 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7502 * bufferlist.C: include assert.h for emergencyWrite().
7504 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7506 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7507 give up at last (bug #425202) !
7509 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7515 * spellchecker.C: strip spellchecker options and bring up
7516 preferences tab instead
7518 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7520 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7521 the istringstream constructor
7523 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7525 * paragraph.C (getLayout): fix return value
7527 * paragraph.h: do not declare getLayout as inline.
7529 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7531 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7533 * lyxcursor.h (operator<): new func
7534 (operator>): new func
7535 (operator>=): new func
7536 (operator<=): new func
7538 * text.C (changeCase): use selection.start and selection.end
7539 (changeRegionCase): require from to be <= to. Require par to be a
7542 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7544 2001-06-27 Juergen Vigna <jug@sad.it>
7546 * text.C (cursorLeftOneWord): changed to return the cursor and added
7547 overlay with BufferView * parameter which calls this one.
7549 (selectWord): use new getWord function.
7550 (changeCase): renamed from changeWordCase as and extended to work
7553 * lyxtext.h: added enum word_location
7555 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7556 changeCase as this operates now also on selections.
7558 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7560 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7562 * many files: send debug output to Debug::INFO instead of
7565 * converter.C (View):
7567 (Move): send debug output to Debug::FILES instead of console.
7569 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7571 * lyxfunc.C (getStatus): use func_status
7573 * func_status.h: new header, describing the results of
7576 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7579 2001-06-25 The LyX Project <jug@sad.it>
7581 * buffer.C (sgmlOpenTag):
7583 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7585 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7587 * text2.C: remove some dead code
7589 * tabular.C (GetCellInset): store the last cell checked (gotten)
7591 * tabular.h: add the helper for the speedup
7593 * lyxtext.h: remove some dead code
7595 2001-06-26 The LyX Project <Asger>
7597 * paragraph.C: Change export to LaTeX of alignment to
7598 \begin{center} and family for better roundtrip work with reLyX.
7600 * Tune the math drawing a bit.
7602 2001-06-25 The LyX Project <Asger>
7604 * LColor.C (LColor): New color for math background. New color
7607 2001-06-25 The LyX Project <jug@sad.it>
7609 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7612 * bufferlist.C (newFile): do not restrict to files ending with
7615 * BufferView_pimpl.C (MenuInsertLyXFile):
7617 2001-06-24 The LyX Project <jug@sad.it>
7619 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7622 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7624 * lyxtext.h: rename most methods to begin with a small char.
7625 Lots of changes because of this.
7627 * paragraph.C (Paragraph): do not call fitToSize
7628 (erase): call Pimpl::erase
7629 (insertChar): call Pimpl::insertChar
7630 (insertInset): call Pipl::insertInset
7631 (breakParagraph): do not call fitToSize
7632 (breakParagraphConservative): do not call fitToSize
7633 (fitToSize): remove method
7635 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7637 2001-06-24 The LyX Project <Asger>
7639 * Fix Qt compilation^2
7641 2001-06-24 The LyX Project <jug@sad.it>
7643 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7644 depthHook(getDepth()-1).
7647 * ParagraphParameters.h:
7648 * ParameterStruct.h: change type of depth to unsigned int ==
7649 depth_type. Many adaptations to other files before of that.
7651 2001-06-24 The LyX Project <Asger>
7653 * Fix Qt compilation.
7655 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7657 * paragraph.h: renamed several methods to begin with small letter.
7658 several changes to many parts of the code because of this.
7660 2001-06-23 The LyX Project <jug@sad.it>
7662 * text2.C (InsertStringAsLines): renamed from InsertStringA;
7663 rewritten to discard all double spaces when KeepEmpty is off
7664 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7665 to only handle newlines but not fiddle with spaces and friends.
7667 * lyxfunc.C (MenuNew): when doing 'new from template', use
7668 template_path as default directory
7670 2001-06-23 The LyX Project <Asger>
7672 * Clean-up of header file includes all over
7673 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7675 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7677 * paragraph.h: renamed from lyxparagraph.h
7679 2001-06-23 Asger <lyx@violet.home.sad.it>
7681 * Buffer.h: Removed Buffer::resize
7682 * BufferList.h: Removed BufferList::resize
7683 * LyXView.h: Added LyXView::resize. This way, we will only reflow
7684 the document lazily when we change the width, or the font settings.
7686 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7688 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7690 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7692 * buffer.h: remove out of date comment
7694 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7697 * screen.C: fix "theoretical" GC leak
7699 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7701 * LaTeX.C (scanAuxFile):
7702 (deplog): remove trailing \r when reading stream (useful under
7705 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
7707 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
7708 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
7709 and BufferView::theLockingInset(Inset*), so should use them and not
7710 access bv_->text->the_locking_inset directly.
7712 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
7714 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7717 * tex-defs.h: remove old unused file
7719 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
7721 * BufferView_pimpl.C: fix typo, remove minibuffer message
7722 when buffer has loaded
7724 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7726 * lyxfunc.C (Dispatch): use stringstream
7727 (MenuNew): use stringstream
7728 (Open): use stringstream
7730 * importer.C (Import): use stringstream
7732 * bufferview_funcs.C (CurrentState): use stringstream
7734 * LaTeX.C (run): use stringstream
7736 * BufferView_pimpl.C (savePosition): use stringstream
7737 (restorePosition): use stringstream
7738 (MenuInsertLyXFile): use stringstream
7740 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
7753 * vspace.C: removed // -*- C++ -*- as first line.
7756 * version.h: added // -*- C++ -*- as first line.
7758 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7760 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7762 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7765 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7767 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7770 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7772 * gettext.C: include LString.h even when --disable-nls is on.
7774 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
7776 * converter.h (Get): changed argument type from int to
7777 FormatList::size_type to avoid unnecessary conversion.
7779 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7782 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7784 * gettext.h: include LString.h even when --disable-nls is on.
7786 2001-06-07 Juergen Vigna <jug@sad.it>
7788 * text.C (BreakAgain): subst spaces with tabs.
7790 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7791 (resizeInsetsLyXText): set force on resizeLyXText.
7793 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7795 * gettext.h (gettext_init):
7796 (locale_init): use a real definition instead of a macro
7798 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7800 * Bufferview_pimpl.C:
7802 * LColor.C: further lcolor tidies
7804 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7806 * BufferView_pimpl.C (updateScrollbar): simplify.
7808 * BufferView2.C: don't include insets/insetinfo.h, change
7809 prototype for insertInset and call the Pimpl version. let
7810 updateInset call Pimpl version.
7812 * BufferView.h: move inset_slept to BufferView::Pimpl, move
7813 gotoInset to BufferView::Pimpl
7815 2001-06-01 Juergen Vigna <jug@sad.it>
7817 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7818 inside a LockingInset (is the update needed at all?).
7820 2001-05-31 Juergen Vigna <jug@sad.it>
7822 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7823 here not the old one otherwise how should we compare it afterwards
7826 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7831 * FontInfo.C: bring C functions into global namespace when
7834 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7836 * LString.h: make sure config.h has been loaded before LString.h.
7838 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7839 (one for each char read by EatLine!).
7841 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7844 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7846 * paragraph.C (BreakParagraph): set the inset_owner in the new par
7847 to the same as the par we break from
7849 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7851 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7853 * MenuBackend.C (expand): also create menu entries for wide
7854 versions of the floats.
7856 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
7858 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
7860 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
7861 frontends/Makefile.am
7867 * tabular.C (getTokenValue): add std::
7869 * tabular-old.C (getTokenValue): add std::
7870 (getTokenValue): ditto
7871 (getTokenValue): ditto
7873 * screen.C (ToggleSelection): adjust
7875 * lyxtext.h: put selection cursors inside a Selection struct.
7877 * lyxfunc.C (moveCursorUpdate): adjust
7879 * lyxfont.C (latexWriteStartChanges): add std::
7883 * font.h: delete with(char const *, LyXFont const &)
7885 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
7887 * FontInfo.C (getFontname): add std::
7889 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7890 (workAreaButtonPress): adjust
7891 (tripleClick): adjust
7893 (moveCursorUpdate): adjust
7896 * BufferView2.C (gotoInset): adjust
7898 2001-05-30 Juergen Vigna <jug@sad.it>
7900 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
7901 to check pspell I add this as default as I now have new pspell
7902 libraries and they seem to use this.
7904 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7906 * text2.C (CutSelection): make the cursor valid before the call to
7909 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7911 * kbsequence.C (parse): de-uglify a bit the parsing code, which
7912 relied on 0 terminated strings and other horrors. Bug found due to
7913 the new assert in lyxstring!
7915 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
7918 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7920 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
7923 * lyxfunc.C (processKeySym): change method of getting to the
7926 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
7927 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
7928 * BufferView_pimpl.[Ch]: here as private methods.
7930 2001-05-28 Juergen Vigna <jug@sad.it>
7932 * text.C (SetHeightOfRow): added the update() call again as it is
7933 needed to initialize inset dimensions!
7935 2001-05-16 Juergen Vigna <jug@sad.it>
7937 * text2.C (SetCharFont): Add new function with BufferView * and
7938 bool toggleall parameters for setting insets internal fonts.
7939 (SetFont): Freeze the undo as we may change fonts in Insets and
7940 all this change should be inside only one Undo!
7942 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
7943 setting font's in insets as for them we have the SetFont function!
7945 2001-05-15 Juergen Vigna <jug@sad.it>
7947 * text2.C (ClearSelection): to be sure we REALLY don't have any
7950 * tabular.C (TeXCellPreamble): fixed the left border problem for
7953 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7955 * LaTeX.C (deplog): Make sure that the main .tex file is in the
7958 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7960 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
7961 LFUN_BREAKPARAGRAPH.
7963 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
7964 help test to "internal only", similar for LFUN_INSERT_URL
7966 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
7967 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
7968 auto_region_delete and deadkeys.
7970 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
7973 * LColor.C: remove some dead entries, tidy a little
7975 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7977 * lyxfunc.C (processKeySym): comment the Escape handling, remove
7979 (Dispatch): implement LFUN_ESCAPE
7981 * commandtags.h: add LFUN_ESCAPE
7983 * LyXAction.C (init): add entry for LFUN_ESCAPE
7985 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
7986 Remove commented code.
7987 (insertNote): moved here
7988 (open_new_inset): moved here
7990 * BufferView[2].[Ch]: move insertNote and open_new_inset to
7993 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7995 * kbmap.C (findbinding): clean it up and make it work correctly.
7997 * lyx_main.C (init): do not pass argc and argv as parameters
7999 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
8001 * buffer.C: fix path for OS/2 & Win32
8005 * lyx_main.C: Added os:: class.
8007 * os2_defines.h: update
8009 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8011 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8012 better by trying again with reduced state.
8014 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8016 * lyxrc.C (read): print error about invalid key sequence only when
8017 debugging (because not all latinX keysyms are known to some X
8020 * kbsequence.C (getiso): add a few std:: qualifiers
8021 (getiso): comment out extra return statement.
8023 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
8025 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8027 (Dispatch): enhance the accent inset a bit. (not perfect)
8029 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8031 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8033 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8035 * bufferlist.C (emergencyWrite): fix assert() call
8037 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
8039 * text.C (InsertChar): Added trivial patch to only send the "you
8040 can not do multiple spaces this way" message once during a
8043 2001-05-08 Baruch Even <baruch@lyx.org>
8045 * Makefile.am: Changed order of libraries to get LyX to link properly
8046 with the gnome frontend.
8048 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8050 * LaTeXFeatures.h: add a std:: qualifier
8052 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8054 * paragraph.C (String): use stringstream
8056 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8058 * paragraph.C (writeFile): remove footflag arg
8060 * buffer.C (makeLaTeXFile): use stringstream
8061 (latexParagraphs): remove footnot gurba
8063 * LaTeXFeatures.C (getPackages): use stringstream
8064 (getMacros): likewise
8065 (getTClassPreamble): likewise
8066 (getFloatDefinitions): new method
8068 * paragraph.C (writeFile): reindent
8071 * WorkArea.h: revert the xpos + etc changes.
8073 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8075 * lyxparagraph.[Ch]: add copy constructor, remove Clone
8077 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8078 (pasteSelection): likewise
8079 * text2.C (CreateUndo): likewise
8081 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8083 * minibuffer.C (peek_event): temporarily reduce the functionality
8084 of the minibuffer (to allow args on lfuns)
8086 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
8087 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
8089 * buffer.C (readInset): add compability reading of old float
8090 lists, add reading of new style float list.
8091 (readInset): avoid reevaluation of inscmd.getCmdName()
8092 (getLists): reindent
8094 * MenuBackend.C (MenuItem): implement parsing of
8095 md_floatlistinsert and md_floatinsert.
8096 (expand::LastFiles): move initalizaton of iterators out of loop,
8098 (expand::Documents): introduce typdedef vector<string> Strings,
8100 (expand::ExportFormats): introduce typedef vector<Format const *>
8101 Formats, and use it.
8102 (expand): implement FloatListInsert and FloatInsert.
8104 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8105 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8106 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8108 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8110 (Dispatch::LFUN_FLOAT_LIST): implement
8112 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8114 * LaTeX.C (run): Fix problem with --export code.
8116 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8118 * BufferView.[Ch] (workarea): removed.
8119 (getClipboard) new method; wrapper for workarea()->getClipboard()
8121 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8124 * WorkArea.h (width, height, xpos, ypos): These methods all
8125 returned the dimensions of the work_area sub-area of WorkArea,
8126 resulting in a position error if the WorkArea were resized. Now
8127 return the dimensions of the entire WorkArea.
8129 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8131 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8133 * LaTeX.C (deplog): correct the syntax of regex reg1
8135 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8137 * undo.C: remove !NEW_INSETS cruft
8139 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8141 * text2.C: remove !NEW_INSETS cruft
8143 * text.C: remove !NEW_INSETS cruft
8145 * tabular.C: remove !NEW_INSETS cruft
8147 * spellchecker.C: remove !NEW_INSETS cruft
8149 * lyxtext.h: remove !NEW_INSETS cruft
8151 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8153 * lyxfunc.C: remove !NEW_INSETS cruft
8155 * lyxfind.C: remove !NEW_INSETS cruft
8157 * lyx_cb.C: remove !NEW_INSETS cruft
8159 * figureForm.C: remove !NEW_INSETS cruft
8161 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8163 * buffer.[Ch]: remove !NEW_INSETS cruft
8165 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8167 * CutAndPaste.C: remove !NEW_INSETS cruft
8169 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8171 * BufferView2.C: remove !NEW_INSETS cruft
8173 * BufferView.h: remove !NEW_INSETS cruft
8175 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8177 * Lsstream.h: include LString.h before the sstream headers to
8178 fix problem with gcc 2.95.3 and lyxstring
8180 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8182 * lyx_main.C: add using directives when needed for C functions
8183 declared in std:: namespace.
8185 2001-04-27 Juergen Vigna <jug@sad.it>
8187 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8188 (SetHeightOfRow): comment out the update call should not be needed!
8190 2001-04-13 Juergen Vigna <jug@sad.it>
8192 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8193 (LyXTabular): tried to minimize operator= operations (and realized
8194 hopfully Lars wish).
8196 2001-04-27 Juergen Vigna <jug@sad.it>
8198 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8200 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8202 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8204 * buffer.C (readInset): hack to make listof algorithm work
8206 * BufferView_pimpl.C: hack to make listof algorithm work
8208 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8210 * LyXAction.C: removed all !NEW_INSETS cruft
8211 (init): moved lfun_item in method
8213 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8215 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8217 * BufferView2.C (theLockingInset): white space.
8219 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8221 * minibuffer.C: include <iostream>
8223 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8225 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8227 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8229 * text.[Ch] (TransposeChars): new method
8231 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8233 * call message directly through LyXView instead of through LyXFunc
8234 * BufferView2.C: adjust
8235 * BufferView_pimpl.C: adjust
8236 * FontLoader.C: adjust
8238 * bufferview_funcs.C: adjust
8239 * converter.C: adjust
8240 * figureForm.C: adjust
8241 * importer.C: adjust
8243 * lyx_gui_misc.C: adjust
8247 + more files in subdirs
8249 * lyxparagraph.h (size): move up int file
8252 * adjust all uses of Assert to lyx::Assert.
8254 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8255 lyxfunctional in namespace lyx
8256 * layout.C (hasLayout): ditto
8259 (delete_layout): ditto
8260 (NumberOfClass): ditto
8261 * converter.C (GetFormat): ditto
8266 * bufferlist.C (getFileNames): ditto
8267 (emergencyWriteAll): ditto
8270 * MenuBackend.C (hasSubmenu): ditto
8273 * BufferView_pimpl.C (getInsetByCode): ditto
8275 2001-04-18 Juergen Vigna <jug@sad.it>
8277 * vspace.C (asLatexString): fixed the 100% problem.
8279 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8281 * lyxfunc.C (Dispatch):
8283 * minibuffer.h: add a few std:: qualifiers
8285 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8287 * minibuffer.[Ch]: reimplement so that commands is initiated and
8288 run from lyxfunc, simplified som handling, and made the completion
8289 and history code for complete. wip.
8291 * lyxfunc.C (processKeySym): call message
8292 (miniDispatch): new temporary method
8293 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8294 (LFUN_MESSAGE): implement
8295 (LFUN_MESSAGE_PUSH): implement
8296 (LFUN_MESSAGE_POP): implement
8297 (initMiniBuffer): the initial/defualt minibuffer message.
8299 * lyxfont.[Ch]: inline some more getters
8301 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8303 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8305 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8306 (AutoSave): use LFUN_MESSAGE
8307 (Reconfigure): ditto
8309 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8311 * figureForm.C: use LFUN_MESSAGE
8313 * converter.C (runLaTeX): use LFUN_MESSAGE
8315 * bufferview_funcs.C: use LFUN_MESSAGE
8317 (changeDepth): ditto
8319 * bufferparams.h: use boost::
8321 * bufferlist.h: inherit privately from noncopyable
8323 * bufferlist.C (loadLyXFile): remove some commented code.
8325 * buffer.C (runChktex): use LFUN_MESSAGE
8327 * ShareContainer.h: inherit privately from noncopyable
8329 * ParagraphParameters.[hC] (depth): inline it.
8331 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8333 (message): new method
8334 (messagePush): ditto
8336 (show): init minibuffer
8337 (showState): direct call
8339 * LaTeX.[Ch]: inherit privately from noncopyable
8340 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8341 instead of WriteStatus.
8343 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8345 * BufferView_pimpl.C (buffer): don't init minibuffer
8346 (workAreaButtonPress): use LFUN_MESSAGE
8347 (workAreaButtonRelease): ditto
8348 (savePosition): ditto
8349 (restorePosition): ditto
8350 (MenuInsertLyXFile): ditto
8351 (workAreaExpose): don't init minibuffer
8352 (update): remove commented code, simplify
8354 * BufferView2.C (openStuff): use LFUN_MESSAGE
8355 (toggleFloat): ditto
8358 (copyEnvironment): ditto
8359 (pasteEnvironment): ditto
8364 (updateInset): remove some commented code
8366 * lastfiles.h: inherit privately from noncopyable
8371 * lyxlex_pimpl.h: ditto
8373 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8374 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8375 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8377 * LyXAction.h: inherit privately from noncopyable, add methods
8378 func_begin, func_end, returning iterators to the func map.
8380 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8381 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8382 (func_begin): new method
8383 (func_end): new method
8385 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8387 (copySelection): ditto
8388 (pasteSelection): ditto
8390 * BufferView.C: whitespace change
8391 * BufferView.h: inherit privately from noncopyable
8393 2001-04-16 Allan Rae <rae@lyx.org>
8395 * tabular-old.C (l_getline):
8396 * spellchecker.C (sc_check_word):
8397 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8398 an unrecognised preprocessor directive. So ensure they're wrapped.
8400 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8402 * src/exporter.C (Export): Give an error message when path to file
8405 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8407 * LaTeX.C (deplog): Always check that foundfile exists.
8409 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8412 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8414 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8416 * tabular.[Ch] (getLabelList): implement new method
8418 * minibuffer.h: comment ouf setTiimer
8420 * minibuffer.C (ExecutingCB): constify res
8421 (peek_event): constify s
8422 (Set): constify ntext
8423 (Init): constify nicename
8425 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8427 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8428 (savePosition): use two params to Minibuffer::Set
8429 (restorePosition): ditto
8431 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8433 * lyx_main.C: include language.h
8435 * Makefile.am (lyx_main.o): add language.h
8437 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8443 * CutAndPaste.C: include gettext.h
8445 * lyxfont.h: remove old hack with ON and OFF.
8448 * lyxfont.h: do not include language.h...
8453 * bufferview_funcs.C:
8459 * paragraph.C: ... but do it here instead
8461 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8463 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8465 * tabular.C: small reformat
8467 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8470 (BreakParagraph): ditto
8471 (SetOnlyLayout): ditto
8474 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8477 * lastfiles.C: removed most using decl, add std:: where needed
8479 * buffer.C: ws changes
8481 * MenuBackend.C (class compare_format): put into anon namespace
8482 (expand): constify label, names, action, action2
8485 * text.C (SingleWidth): constify font
8486 (IsBoundary): constify rtl2
8487 (GetVisibleRow): constify ww
8489 * LaTeX.C (deplog): constify logfile
8491 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8493 (workAreaExpose): constify widthChange, heightChange
8495 * lyxrow.C (par): moved
8498 * lyxrow.h: as inlines here
8500 * lyxfont.h (shape): moved from lyxfont.C
8501 (emph): moved from lyxfont.C
8503 * lyxfont.C (LyXFont): use initialization list for all
8505 (shape): move to lyxfont.h as inline
8506 (emph): move to lyxfont.h as inline
8509 2001-04-04 Juergen Vigna <jug@sad.it>
8511 * vspace.C: had to include stdio.h for use of sscanf
8513 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8516 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8517 independent of xforms.
8519 2001-04-02 Juergen Vigna <jug@sad.it>
8521 * spellchecker.C: fixed namespace placing!
8523 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8525 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8526 the LyXParagraph * is 0.
8528 2001-03-29 Juergen Vigna <jug@sad.it>
8530 * vspace.C: added support for %, c%, p%, l%.
8531 (stringFromUnit): added helper function.
8532 (asLatexString): changed to give right results for the %-values.
8534 * buffer.C: convert the widthp in a width%.
8536 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8538 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8541 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8542 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8544 * lyx_cb.[Ch]: see above.
8546 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8550 * lyx.[Ch]: replaced by figure_form.[Ch].
8554 * lyxfunc.C: changed headers associated with above changes.
8556 2001-03-27 Juergen Vigna <jug@sad.it>
8558 * BufferView_pimpl.C: set the temporary cursor right!
8560 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8562 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8564 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8566 * LString.h: removed "using std::getline"!
8568 * BufferView_pimpl.C (Dispatch): changes due to changes in
8569 InsetInclude::Params.
8571 * buffer.C (tag_name): removed redundant break statements as they were
8572 producing lots of warnings with my compiler.
8574 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8576 * LString.h: add "using std::getline" when using the real <string>.
8578 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8580 * buffer.C: removed bitset usage.
8581 PAR_TAG moved to an anonymous name space.
8582 (tag_name): new funtion, also in the anonymous namespace.
8583 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8584 (makeDocBookFile): clean code. Completed transition from string arrays
8586 (SimpleDocBookOnePar): code clean.
8588 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8590 * tabular.C: add some comments.
8592 2001-03-22 Juergen Vigna <jug@sad.it>
8594 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8595 compatibility read a bit and fixed bug with minipage in different
8598 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8600 * buffer.C (pop_tag): removed.
8601 (push_tag): removed.
8602 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8603 array replaced with vector. Added support for CDATA sections.
8604 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8606 (makeDocBookFile): XML conformant declaration of CDATA section,
8607 fixed bug related to <emphasis> in the first paragraph char.
8608 (sgmlOpenTag): exclude empty tags.
8609 (sgmlCloseTag): ditto.
8611 * buffer.h (pop_tag): removed.
8612 (push_tag): removed.
8614 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
8616 * language.h (Languages): added size_type and size().
8618 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8620 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8621 response on compability reading of minipages. One probliem is that
8622 the old usage of minipages was «flertydig»
8624 * several files here and in subdirs: don't use static at file
8625 scope use anon namespaces instead.
8627 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
8629 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8630 LaTeX output. This is necessary for Literate document
8633 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8635 * buffer.C: insert hfill when needed.
8637 * tabular.C (l_getline): use string::erase, small whitespace change.
8639 * BufferView_pimpl.C: try the anon namespace.
8642 2001-03-16 Juergen Vigna <jug@sad.it>
8644 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8645 otherwise it won't open options-dialogs.
8647 * buffer.C: honor pextraWidth(p) on converting minipages.
8649 * tabular.C (l_getline): changed the functions to strip trailing \r.
8651 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
8653 * BufferView_pimpl.C:
8654 * minibuffer..C: added "using SigC::slot" declaration.
8656 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8658 * lyxlex_pimpl.h: noncopyable is in namespace boost.
8664 * paragraph.C: ditto
8666 * lyxtext.h: NO_PEXTRA
8668 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8670 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8671 * ParameterStruct.h: ditto
8672 * ParagraphParameters.h: ditto
8673 * lyxparagraph.h: ditto
8675 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8677 * buffer.C: add compability for minipage alignment.
8678 (latexParagraphs): remove unwanted pextra check.
8680 * several files: remove CXX_WORKING_NAMESPACES
8682 * buffer.C (pop_tag): tie is in namespace boost
8684 * BufferView.h: noncopyable is in namespace boost
8689 * lastfiles.h: ditto
8690 * bufferlist.h: ditto
8691 * ShareContainer.h: ditto
8693 * LyXAction.h: ditto
8696 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8698 * Merging changes from BRANCH_MVC back into HEAD.
8700 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
8702 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
8704 * BufferView_pimpl.C: change from intl.C
8708 * Makefile.am: move combox.*
8714 * intl.C: remove dialog (covered by prefs)
8716 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8718 * lyxfunc.C (Dispatch): removed redundant break statement.
8720 2001-03-14 Juergen Vigna <jug@sad.it>
8722 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
8724 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8726 * buffer.C: add hack to fix compability reading of minipages.
8728 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
8730 * buffer.C (getLists): Cleanup.
8732 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8734 * lyxfont.C (update): don't honor toggleall on font size.
8736 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
8740 * Makefile.am: moved to frontends/xforms/
8744 * BufferView_pimpl.C: changes for moved mathpanel
8746 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8748 * gettext.h: fix gettext_init() in --disable-nls
8750 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8752 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8754 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
8757 * lyx.h: strip external form
8759 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8761 * BufferView_pimpl.C: add comment, destroySplash()
8763 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8765 * BufferView_pimpl.C:
8769 * lyxfunc.C: use re-worked insetinclude
8771 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8773 * buffer.C: add using std::stringstream.
8775 * lyx_cb.C: readd using std::ios.
8777 * buffer.C: add using std::map.
8779 * BufferView_pimpl.C: add using std::vector.
8781 * ShareContainer.h: add std:: to swap.
8783 * buffer.h: add some typedefs
8784 * buffer.C (getLists): use them
8785 (getLists): renamed from getTocList.
8786 add a counter for the different float types and use it in the
8788 (getLists): use the same counter for the NEW_INSETS and the "non"
8791 * lyx_cb.h: remove unused items, includes, using etc.
8793 * ShareContainer.h: remove some commented code, add more comments
8794 and "documentation".
8796 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8798 * buffer.C (getTocList): make the list also when NEW_INSETS is
8801 * buffer.h: remove TocType
8803 * buffer.C (getTocList): change to return a map<string,
8804 vector<TocItem> >, implement for dynamic number of list.
8806 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8807 * text2.C (PasteSelection): adjust
8808 * CutAndPaste.C (pasteSelection): adjust
8810 * FloatList.C (FloatList): update from the new_insets branch.
8811 * Floating.[Ch]: ditto
8812 * LaTeXFeatures.C: ditto
8814 * lyxlex_pimpl.C: ditto
8816 * paragraph.C (Last): remove when NEW_INSETS is defined.
8818 * other file: changes because of the above.
8820 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8822 * lyxparagraph.h: rename next to next_, previous to previous_,
8823 make them private for NEW_INSETS. Rename Next() to next(),
8824 Previous() to previous().
8826 * other files: changes because of the above.
8828 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
8831 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8834 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8836 * main.C (main): pass lyx_localedir to gettext_init().
8838 * gettext.h: remove locale_init and gettext_init macros
8840 * gettext.C (locale_init): new function
8841 (gettext_init): new function
8843 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8846 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
8848 * Moved credits to frontends:
8849 * credits.[Ch]: removed
8850 * credits_form.[Ch]: removed
8851 * lyx_gui_misc.C: remove credits stuff
8854 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8856 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
8858 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
8859 unneeded destructor.
8861 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
8862 a standalone pointer again.
8864 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
8866 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
8872 * ToolbarDefaults.C:
8881 * BufferView_pimpl.C: use new file dialog in GUII
8884 * lyx_cb.C: remove LayoutsCB to Toolbar
8886 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8888 * ShareContainer.h (get): add std:: qualifier
8890 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8892 * ShareContainer.h: define a proper ShareContainer::value_type
8893 type (and use typename to please compaq cxx)
8895 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8897 * lyxparagraph.h: move serveral local vars to
8898 ParameterStruct/ParagraphParameters., use ShareContainer in
8899 FontTable., make vars in FontTable private and add getter and
8902 * paragraph.C: changes because of the above.
8904 * lyxfont.h: remove copy constructor and copy assignment. (the
8905 default ones is ok), move number inside FontBits. move inlines to
8908 * lyxfont.C: add number to initializaton of statics, move several
8909 inlines here. constify several local vars. some whitespace
8910 cleanup. Dont hide outerscope variables.
8912 * Spacing.h: add two new constructors to match the set methods.
8914 * ShareContainer.h: new file, will perhaps be moved to support
8916 * ParameterStruct.h: new file
8918 * ParagraphParameters.h: new file
8920 * ParagraphParameters.C: new file
8922 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
8923 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
8925 * BufferView_pimpl.C: ParagraphParameter changes.
8926 * buffer.C: Likewise.
8927 * bufferview_funcs.C: Likewise.
8929 * text2.C: Likewise.
8931 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8933 * lyxfind.C (LyXReplace): do not redefine default argument in
8935 (IsStringInText): ditto
8936 (SearchForward): ditto
8937 (SearchBackward): ditto
8939 2001-03-06 Juergen Vigna <jug@sad.it>
8941 * lyxfind.C (IsStringInText): put parentes around expressions.
8943 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
8945 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
8947 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
8949 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
8951 * stl_string_fwd.h: add comment
8953 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
8956 * tabular.C: remove unused DocBook methods
8962 killed DO_USE_DEFAULT_LANGUAGE
8964 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8966 * lyx_gui.C: do not include language.h.
8968 * bufferview_funcs.C (ToggleAndShow): do not provide optional
8969 arguments in function implementation.
8971 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8973 * BufferView_pimpl.C: add <ctime>
8975 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8977 * BufferView_pimpl.C: add using std::find_if
8979 2001-02-27 José Matos <jamatos@fep.up.pt>
8981 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
8984 2001-02-11 José Matos <jamatos@fep.up.pt>
8986 * buffer.C (makeDocBookFile): command styles now have a parameter as
8989 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
8991 * layout_forms.[Ch]: removed
8992 * lyx_cb.[Ch]: out character
8993 * lyx_gui.C: out character
8994 * lyx_gui_misc.C: out character
8995 * bufferview_funcs.C: : out character,
8996 added toggleall as parameter in ToggleAndShow
8998 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
9000 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
9002 * text2.C (SetCurrentFont): Disable number property at boundary.
9004 2001-02-26 Juergen Vigna <jug@sad.it>
9006 * lyxfunc.C (getStatus): added a string argument override function so
9007 that this is correctly called from LyXFunc::Dispatch if it contains a
9008 do_not_use_argument which is used!
9009 (Dispatch): added check for "custom" export and call appropriate func.
9011 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
9013 * lyxrc.C: Add language_command_local, language_use_babel and
9014 language_global_options.
9016 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9018 * buffer.C (makeLaTeXFile): Use language_use_babel and
9019 language_global_options.
9021 2001-02-23 Juergen Vigna <jug@sad.it>
9023 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9024 which works with LyXText and putted it inside BufferView. Here now we
9025 only call for that part the BufferView::Dispatch() function.
9027 * BufferView.C (Dispatch): added.
9029 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9030 functions which needs to use a LyXText over from LyXFunc.
9031 (MenuInsertLyXFile): added
9032 (getInsetByCode): added
9033 (moveCursorUpdate): added
9034 (static TEXT): added
9036 2001-02-22 Juergen Vigna <jug@sad.it>
9038 * BufferView_pimpl.C (update): call a status update to see if LyXText
9041 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9043 * vc-backend.C (revert): implement for CVS
9044 (getLog): implement for CVS
9046 2001-02-20 Juergen Vigna <jug@sad.it>
9048 * text2.C (ClearSelection): added BufferView param for inset_owner call
9050 * lyxfunc.C (TEXT): added this function and use it instead of
9051 directly owner->view()-text of getLyXText().
9053 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
9055 * src/layout_forms.C: out preamble
9056 * src/layout_forms.h: out preamble
9057 * src/lyx_cb.C: out preamble
9058 * src/lyx_cb.h: out preamble
9059 * src/lyx_gui.C: out preamble
9060 * src/lyx_gui_misc.C: out preamble
9061 * src/lyxfunc.C: connect with guii preamble
9063 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
9065 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9067 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
9069 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9070 whether to run bibtex.
9072 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
9074 * Makefile.am (lyx_SOURCES): Remove BackStack.h
9076 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9078 * Makefile.am (lyx_SOURCES): removed bibforms.h
9082 * text.C (GetVisibleRow): make several local vars const
9084 * tabular.C: small cleanup.
9086 * lyxserver.C (callback): use compare instead of strncmp
9088 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
9089 inlines to after class or to paragraph.C
9091 * lyxfont.h: remove friend operator!=
9093 * converter.h: move friend bool operator< to non friend and after
9096 * combox.h: small cleanup
9098 * buffer.h: doxygen, remove unused constructor, move inclas inlies
9099 to inlines after class def.
9101 * buffer.C (pop_tag): use string operations instead of strcmp
9103 * bmtable.c: doxygen, small cleanup
9105 * LaTeX.h: remove friend operator==
9107 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9119 * BufferView_pimpl.C:
9120 * BufferView.[Ch]: remove cruft
9122 2001-02-14 Juergen Vigna <jug@sad.it>
9124 * lyxfunc.C: removed #if 0 unused code
9126 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9128 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9130 * text2.C (SetSelection): added a BufferView * parameter
9132 2001-02-13 Juergen Vigna <jug@sad.it>
9134 * lyxfunc.C (Dispatch): fixed protected blank problem.
9135 * BufferView2.C (protectedBlank): added LyxText * parameter.
9137 * tabular.C (AppendRow): forgot to set row_info of newly added row.
9138 (AppendColumn): same as above for column_info.
9140 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9141 (moveCursorUpdate): use a LyXText param for support of InsetText.
9143 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9144 (tripleClick): ditto
9146 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9148 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9150 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9152 * text2.C (SetSelection): set correct update status if inset_owner
9155 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9157 * tabular.C: remove some commented code.
9159 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9161 * BufferView_pimpl.C: call hideSplash()
9163 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9166 * bibforms.h: remove
9169 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9170 add LFUN_CHILD_CREATE
9172 * counters.h: fix tiny typo
9177 * lyx.C: move splash to frontends/xforms/
9179 * lyx_gui_misc.C: move Include and Bibform to frontends
9181 * lyxvc.h: clarify comment
9183 * vspace.C: tiny housekeeping
9185 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9187 * text.C (PrepareToPrint): RTL Fix.
9189 * paragraph.C (GetUChar): New method.
9190 (String): Use GetUChar.
9192 * buffer.C (asciiParagraph): Use GetUChar.
9194 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9196 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9198 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9201 * buffer.C: rename to getLogName(), handle
9202 build log / latex log nicely
9204 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9207 * MenuBackend.h: remove support for reference menuitem type.
9209 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9211 * BufferView_pimpl.C: housekeeping
9212 * BufferView_pimpl.h:
9217 * minibuffer.h: move Timeout GUI-I
9219 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9221 * lyxrc.C (read): Update converters data-structures.
9223 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9225 * LaTeX.h (operator!=): add operator != for Aux_Info
9227 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9229 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9231 * LaTeXLog.C: deleted, useful code moved to Buffer
9234 * buffer.C: new function getLatexLogName()
9240 * lyxfunc.C: use frontends for LaTeX and VC logs
9242 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9244 * LaTeX.h: yet another std:: that Allan forgot.
9246 * Variables.C (set): renamed from isset(), because this clashes
9247 with some HP-UX macros (grr).
9249 2001-02-06 Allan Rae <rae@lyx.org>
9251 * LaTeX.h: Another bug fix. Missing std:: this time.
9253 2001-02-04 Allan Rae <rae@lyx.org>
9255 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9256 floats problem. I've left it commented out because it's not quite
9257 correct. It should also test that the current object is a table or
9258 figure inset. But I haven't gotten around to figuring out how to do
9259 that. I *think* it'll be something like: "table" == inset.type()
9261 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9264 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9266 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9267 all the citation/databases/styles in the auxilary file.
9268 (run): Rerun latex if there was a babel language error.
9270 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9272 * text.C (Backspace): Preserve the font when changing newline char
9274 (BreakParagraph): If the cursor is before a space, delete the space.
9276 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9278 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9280 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9281 new argument (code).
9282 (ChangeCitationsIfUnique): New method.
9284 * paragraph.C (GetPositionOfInset): Handle bibkey.
9286 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9288 * BufferView_pimpl.h: change type of Position::par_pos to
9289 LyXParagraph::size_type.
9291 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9293 * BufferView_pimpl.C (savePosition, restorePosition): Write
9294 messages to minibuffer.
9296 2001-01-28 José Matos <jamatos@fep.up.pt>
9298 * buffer.C (makeDocBookFile): adds support for document language.
9299 A silly restriction on the name of LatexCommand types where removed.
9300 Added support for CDATA sections, allows to chars unescaped, used
9301 among others in code, to avoid escape < and >.
9303 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9305 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9306 saved positions instrad of a stack. Furthermore, a position is
9307 stored using paragraph id/paragraph position.
9309 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9310 Remove LFUN_REF_BACK.
9312 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9314 * converter.C (dvipdfm_options): New method.
9316 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9318 * vspace.C (isValidLength): Fix for empty input string.
9320 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9322 * LyXAction.C (init): change description of LFUN_FIGURE to
9325 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9327 * LaTeX.C: add using directive
9329 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9331 * MenuBackend.C (expand): Fix the sorting of the formats.
9333 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9335 * lyx_main.C: tiny error message fix
9337 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9339 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9340 calling fl_initialize(). This fixes the problem with ',' as
9341 decimal separator in text files.
9343 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9345 * trans.C (process): Fix the keymap bug.
9347 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9349 * LaTeX.C (scanAuxFiles): New method. Provides support for
9350 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9351 (scanLogFile) Scan for "run BibTeX" messages.
9353 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9354 OT1 font encoding. Also, load the aecompl package if the ae
9357 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9359 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9361 * texrow.C (increasePos): turn two error messages into debug
9364 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9366 * LaTeX.C (scanAux): Handle the \@input macro.
9367 (runBibTeX): Use scanAux().
9369 * language.C (latex_options_): New field.
9371 * LaTeXFeatures.C (getMacros): Add language macros.
9373 * buffer.C (makeLaTeXFile): Small fix.
9375 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9377 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9379 * text2.C: add a using directive.
9381 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9386 * lyxfunc.C: kill LyXBell.
9388 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9390 * text.C (IsBoundary): Remove the error message
9392 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9394 * lyxrc.C (setDefaults): Correct initialization value for
9397 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9399 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9402 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9405 * src/LyXAction.C: Added reference-next.
9407 * text.C (InsertChar): Use contains instead of strchr.
9409 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9411 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9413 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9414 alignment commands (when needed).
9416 * text.C (InsertChar): Add ':' to number separator chars.