1 2003-03-29 John Levon <levon@movementarian.org>
5 * buffer.C: warnings pushed down from support/,
8 2003-03-29 John Levon <levon@movementarian.org>
10 * lyxfunc.C: safety check for C-r (revert)
12 2003-03-29 John Levon <levon@movementarian.org>
15 * bufferlist.C: several UI fixes using Alert::prompt.
16 Fix the pointless looping quit code. Fix stupid revert
21 * lyx_cb.C: use Alert::prompt
23 * lyx_main.C: remove a silly question
25 * lyxfunc.C: remove a couple of silly questions,
28 2003-03-28 John Levon <levon@movementarian.org>
30 * text2.C: fix bug 974 (End on empty par)
32 2003-03-28 John Levon <levon@movementarian.org>
36 * lfuns.h: remove do-nothing math greek lfuns
38 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
40 * lyxgluelength.h (isValidGlueLength): add default arg on
41 parameter 2. Remove default arg from friend in class.
43 * lyxlength.h (isValidLength): add default arg on parameter 2.
44 Remove default arg from friend in class.
46 * text2.C (LyXText): adjust, initialize refresh_row.
50 (insertParagraph): adjst
51 (redoParagraphs): adjust
53 (updateCounters): adjust
54 (deleteEmptyParagraphMechanism): first attempt at fixing a
57 * text.C (top_y): adjust
58 (setHeightOfRow): adjust
62 * lyxtext.h: include RowList.h
63 (~LyXText): not needed anymore, deleted.
64 (firstRow): modify for RowList
65 (lastRow): new function
66 Delete firstrow and lastrow class variables, add a Rowlist
67 rowlist_ class variable.
69 * lyxrow.C (lastPos): use empty() and not !size() to check if a
72 * RowList.C (insert): fix case where it == begin().
74 2003-03-26 Angus Leeming <leeming@lyx.org>
76 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
79 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
81 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
83 * RowList.[Ch]: new files
85 * ParagraphList.C (erase): handle the case where it == begin
88 2003-03-25 John Levon <levon@movementarian.org>
92 * aspell.C: add new aspell support
95 * lyxrc.C: Make use_pspell be use_spell_lib. Always
98 2003-03-25 Angus Leeming <leeming@lyx.org>
101 * LyXAction.C (init): new LFUN_INSET_INSERT.
103 * BufferView_pimpl.C (dispatch): split out part of the
104 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
106 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
109 2003-03-25 Angus Leeming <leeming@lyx.org>
111 * lyxfunc.C (dispatch): changes to the Dialogs interface.
113 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
116 * text3.C: remove useless row->height(0)
118 2003-03-25 John Levon <levon@movementarian.org>
122 * text3.C: rename the refreshing stuff to better names
124 2003-03-24 John Levon <levon@movementarian.org>
126 * BufferView_pimpl.h:
127 * BufferView_pimpl.C: update layout choice on a mouse
130 2003-03-23 John Levon <levon@movementarian.org>
132 * Makefile.am: fix commandtags.h reference
134 2003-03-22 John Levon <levon@movementarian.org>
136 * BufferView_pimpl.C:
141 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
143 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
146 * text.C: take the rtl methods out of line
148 2003-03-21 André Pönitz <poenitz@gmx.net>
150 * metricsinfo.[Ch]: new files containing structures to be passed around
151 during the two-phase-drawing...
153 2003-03-21 André Pönitz <poenitz@gmx.net>
155 * lyxtextclass.C: read 'environment' tag.
157 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
159 * text2.C (removeRow): fix bug 964
161 2003-03-20 John Levon <levon@movementarian.org>
165 * text2.C: paint cleanups. Inset::update() dropped font
168 2003-03-19 John Levon <levon@movementarian.org>
170 * lyxfunc.C: only fitcursor/markDirty if available()
172 2003-03-19 John Levon <levon@movementarian.org>
174 * commandtags.h: rename to ...
176 * lfuns.h: ... this, and renumber / cleanup
178 2003-03-19 John Levon <levon@movementarian.org>
180 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
181 fit the cursor after an lfun
185 * BufferView_pimpl.h:
186 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
188 * LyXAction.C: layout-character should have ReadOnly
190 * ParagraphParameters.C:
192 * bufferview_funcs.C:
199 * undo_funcs.C: changes from above
201 2003-03-18 John Levon <levon@movementarian.org>
203 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
204 remove it from update()
206 * lyxfunc.C: update layout choice after an lfun
208 * text3.C: remove extra updateLayoutChoice()s
210 2003-03-18 John Levon <levon@movementarian.org>
212 * text.C: top_y change means full repaint, fix
213 a drawing bug with cursor movement
215 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
219 * text2.C: anchor row on setCursor
221 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
223 * lyxtext.h: remove almost all mutable keywords
226 * text3.C: remove const keywords accordingly
228 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
230 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
232 (TeXEnvironment): ditto
235 2003-03-17 John Levon <levon@movementarian.org>
237 * text.C (rowBreakPoint): remove attempt to fix displayed
238 math insets inside a manual label
240 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
242 * lyxtext.h: remove BufferView* as first arg from almost all class
244 * other files: adjust.
246 2003-03-17 John Levon <levon@movementarian.org>
250 * text2.C: more paint cleanups
252 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
255 * rowpainter.C: remove "smart" background painting code
257 2003-03-16 John Levon <levon@movementarian.org>
262 * text3.C: add helper functions for setting refresh_row/y
264 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
266 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
267 newline inset which *can* get inserted in the pass_thru layouts.
268 This is primarily for literate documents.
270 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
272 * buffer.C: increment LYX_FORMAT to 223
274 2003-03-14 André Pönitz <poenitz@gmx.net>
276 * textclass.h: prepare for environment handling, ws changes
277 * lyxlayout.C: read latexheader and latexfooter tags
279 2003-03-14 John Levon <levon@movementarian.org>
281 * text2.C: rewrite ::status() a bit
283 2003-03-13 John Levon <levon@movementarian.org>
285 * lyxtext.h: add some docs
287 2003-03-13 John Levon <levon@movementarian.org>
292 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
294 2003-03-13 John Levon <levon@movementarian.org>
296 * text3.C: fix appendix redrawing
298 2003-03-13 John Levon <levon@movementarian.org>
300 * text.C (setHeightOfRow):
302 * rowpainter.C: make appendix mark have the text
303 "Appendix" so the user knows what it is
306 * LColor.C: s/appendixline/appendix/ from above
308 2003-03-13 John Levon <levon@movementarian.org>
310 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
312 * text.C: fix a getChar(pos) bug properly
314 2003-03-13 Angus Leeming <leeming@lyx.org>
317 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
318 Probably only temporary. Let's see how things pan out.
320 * BufferView.C (unlockInset):
321 * BufferView_pimpl.C (fitCursor):
322 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
324 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
325 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
327 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
328 new functions that convert ParagraphParameters to and from a string.
330 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
331 BufferView::Pimpl's dispatch.
332 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
334 2003-03-13 André Pönitz <poenitz@gmx.net>
338 * factory.C: make it aware of InsetEnv
340 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
342 * text2.C (setCursor): never ask for one past last
343 (setCursor): add some debugging messages.
345 * text.C (singleWidth): never ask for one past last
349 (rowBreakPoint): ditto
350 (setHeightOfRow): ditto
351 (prepareToPrint): ditto
353 * rowpainter.C (paintBackground): never ask for one past last
354 (paintText): never ask for one past last
356 * paragraph_pimpl.C (getChar): make the assert stricter, never
357 allow the one past last pos to be taken
359 * paragraph.C (getChar): ws changes only
361 * lyxrow.C (nextRowIsAllInset): never ask for one past last
362 (numberOfSeparators): ditto
363 (numberOfHfills): ditto
365 2003-03-12 John Levon <levon@movementarian.org>
371 * paragraph_funcs.C: fix per-buffer authorlists
373 2003-03-12 John Levon <levon@movementarian.org>
375 * text.C: fix newline in right address
377 2003-03-12 Angus Leeming <leeming@lyx.org>
379 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
380 duplicate those in LyXFunc::dispatch.
385 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
386 Add LFUN_FONTFREE_UPDATE.
388 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
389 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
391 * bufferview_func.[Ch]: several new functions to facilliate
392 transfer of data to and from the character dialog.
394 2003-03-12 John Levon <levon@movementarian.org>
404 * text3.C: remove META_NEWLINE in favour of an inset
407 * rowpainter.C: remove paintNewline (done by inset)
409 2003-03-12 John Levon <levon@movementarian.org>
411 * paragraph_pimpl.C: complain about bad getChar()s
414 2003-03-12 John Levon <levon@movementarian.org>
417 * buffer.C: move paragraph read into a separate function,
418 a little renaming to reflect that.
421 * bufferparams.C: remove the author_ids map, not necessary now
424 * factory.C: moved Buffer::readInset to here
427 * paragraph_funcs.C: readParagraph free function moved from
430 * tabular.C: name change
432 2003-03-12 John Levon <levon@movementarian.org>
435 * ParagraphParameters.C: move par params input to
438 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
439 behave like a normal read from the stream wrt reading
442 2003-03-12 John Levon <levon@movementarian.org>
445 * ParagraphParameters.h:
446 * ParagraphParameters.C: move output code to a
449 2003-03-12 John Levon <levon@movementarian.org>
451 * BufferView.C (insertLyXFile):
454 * tabular.C: use a parlist iterator for creating the
457 2003-03-12 John Levon <levon@movementarian.org>
459 * buffer.C: make current_change static local not
462 2003-03-12 John Levon <levon@movementarian.org>
464 * buffer.C: fix insertStringAsLines for change tracking
466 2003-03-12 John Levon <levon@movementarian.org>
473 * bufferparams.C: move author list into params. Rename some
474 functions. Move the header reading into a separate token
475 loop. Move the header token reading into BufferParams.
477 2003-03-12 John Levon <levon@movementarian.org>
479 * changes.C: put debug inside lyxerr.debugging() checks
481 2003-03-11 André Pönitz <poenitz@gmx.net>
483 * factory.C: make it aware of InsetHFill
485 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
487 * buffer.C (latexParagraphs): move function from here...
488 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
491 2003-03-10 Angus Leeming <leeming@lyx.org>
493 * LyXAction.C (init): fix bug in poplating array with multiple entries
494 with the same LFUN (spotted by JMarc).
496 2003-03-10 John Levon <levon@movementarian.org>
499 * text2.C: move getColumnNearX() near its
502 2003-03-10 John Levon <levon@movementarian.org>
504 * text.C: fix break before a minipage
506 2003-03-10 John Levon <levon@movementarian.org>
508 * text.C: fix the last commit
510 2003-03-09 John Levon <levon@movementarian.org>
514 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
515 bug 365 (don't break before insets unless needed). Don't
516 return a value > last under any circumstances.
518 2003-03-09 Angus Leeming <leeming@lyx.org>
520 * BufferView_pimpl.C (trackChanges, dispatch): call
521 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
523 2003-03-09 Angus Leeming <leeming@lyx.org>
525 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
526 than Dialogs::showAboutlyx().
528 2003-03-09 Angus Leeming <leeming@lyx.org>
530 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
531 than Dialogs::showTabularCreate().
533 2003-03-09 John Levon <levon@movementarian.org>
537 * text2.C: 3rd arg to nextBreakPoint was always the same.
540 2003-03-08 John Levon <levon@movementarian.org>
547 * text2.C: Remove the "main" bit from the "main body"
550 2003-03-08 John Levon <levon@movementarian.org>
552 * text.C (leftMargin): The left margin of an empty
553 manual label paragraph should not include the label width
556 * text.C (prepareToPrint): don't attempt to measure hfills
557 for empty manual label paragraphs - the answer should be 0
559 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
561 * CutAndPaste.C: remove commented code and reindent.
563 2003-03-08 John Levon <levon@movementarian.org>
566 * lyxfunc.C: move reloadBuffer()
569 * BufferView.C: to here
571 * lyxvc.C: add comment
574 * vc-backend.C: call bv->reload() to avoid
575 getStatus() check on MENURELOAD
577 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
579 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
580 to an old format .dep file.
582 2003-03-07 Angus Leeming <leeming@lyx.org>
584 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
585 when the LFUN_MOUSE_RELEASE should have been handled by
586 inset->localDispatch.
588 2003-03-07 Angus Leeming <leeming@lyx.org>
590 * BufferView_pimpl.C (dispatch):
591 * LyXAction.C (init):
592 * ToolbarDefaults.C (init):
594 * lyxfunc.C (getStatus):
595 remove LFUN_INSET_GRAPHICS.
597 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
599 2003-03-07 Angus Leeming <leeming@lyx.org>
602 * LyXAction.C (init):
603 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
605 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
608 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
610 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
611 localDispatch method LFUN_INSET_DIALOG_UPDATE.
613 2003-03-07 Angus Leeming <leeming@lyx.org>
615 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
618 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
620 * ParagraphList.C (front): new function
623 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
625 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
626 and top_row_offset_. removed var first_y.
628 * text2.C (LyXText, removeRow):
630 * BufferView_pimpl.C:
631 use these methods instead of using first_y
633 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
635 * text2.C (pasteSelection): adjust for checkPastePossible
637 * CutAndPaste.C: remove Paragraph * buf and replace with
638 ParagraphList paragraphs.
639 (DeleteBuffer): delete
640 (cutSelection): change the tc type to textclass_type
641 (copySelection): change the tc type to textclass_type
642 (copySelection): adjust for ParagraphList
643 (pasteSelection): change the tc type to textclass_type
644 (pasteSelection): adjust for Paragraphlist
645 (nrOfParagraphs): simplify for ParagraphList
646 (checkPastePossible): simplify for ParagraphList
647 (checkPastePossible): remove unused arg
649 * ParagraphList.C (insert): handle the case where there are no
652 * CutAndPaste.h: make CutAndPaste a namespace.
654 * text3.C (dispatch): adjust
656 * text.C (breakParagraph): add a ParagraphList as arg
658 * paragraph_funcs.C (breakParagraph): change to take a
659 BufferParams and a ParagraphList as args.
660 (breakParagraphConservative): ditto
661 (mergeParagraph): ditto
662 (TeXDeeper): add a ParagraphList arg
663 (TeXEnvironment): ditto
666 * buffer.C (readLyXformat2): adjust
667 (insertStringAsLines): adjust
668 (latexParagraphs): adjust
670 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
671 (cutSelection): adjust
672 (pasteSelection): adjust
674 * BufferView_pimpl.C (insertInset): adjust
676 2003-03-05 Angus Leeming <leeming@lyx.org>
679 * LyXAction.C (init):
680 * BufferView_pimpl.C (dispatch):
681 * lyxfunc.C (getStatus):
682 remove LFUN_CHILD_INSERT.
684 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
686 2003-03-05 Angus Leeming <leeming@lyx.org>
689 * LyXAction.C (init):
690 * src/factory.C (createInset):
691 * lyxfunc.C (getStatus):
692 * text3.C (dispatch):
693 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
695 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
697 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
699 * ParagraphList.C (insert): handle insert right before end()
700 (erase): fix cases where it can be first or last paragraph.
702 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
704 * paragraph_funcs.C (TeXEnvironment): remove all usage of
705 Paragraph::next and Paragraph::previous
708 * text.C (breakParagraph): adjust
710 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
711 BufferParams& as arg.
712 (breakParagraph): use ParagraphList::insert
713 (breakParagraphConservative): take a Buffer* instead of a
714 BufferParams& as arg.
715 (breakParagraphConservative): use ParagraphList::insert.
717 * buffer.C (insertStringAsLines): un-const it
718 (insertStringAsLines): adjust
720 * ParagraphList.C (insert): new function
722 * CutAndPaste.C (pasteSelection): adjust
724 * text.C (backspace): adjust
726 * tabular.C (SetMultiColumn): adjust
728 * CutAndPaste.C (cutSelection): adjust
729 (pasteSelection): adjust
731 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
732 Buffer const * as arg
734 * ParagraphList.C (erase): new function
735 * paragraph_funcs.C (mergeParagraph): use it
736 (mergeParagraph): make it take a Buffer* instead of a
739 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
741 (breakParagraphConservative): ditto
743 * paragraph.h: remove the breakParagraph friend
745 * paragraph.C (eraseIntern): new function
746 (setChange): new function
748 * paragraph_funcs.C (mergeParagraph): make it take a
749 ParagraphList::iterator instead of a Paragraph *, adjust
752 * paragraph.h: move an #endif so that the change tracking stuff
753 also works in the NO_NEXT case.
755 2003-03-04 Angus Leeming <leeming@lyx.org>
758 * LyXAction.C: new LFUN_INSET_MODIFY.
760 * BufferView_pimpl.C (dispatch): if an inset is found to be open
761 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
763 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
765 * several files: ws changes only
767 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
768 (TeXEnvironment): ditto
771 * buffer.C (makeLaTeXFile): adjust
772 (latexParagraphs): make it take ParagraphList::iterator as args
774 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
776 * buffer.C (latexParagraphs): adjust
778 * paragraph.C (TeXOnePar): move function...
779 (optArgInset): move function...
780 (TeXEnvironment): move function...
781 * paragraph_pimpl.C (TeXDeeper): move function...
782 * paragraph_funcs.C: ...here
784 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
786 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
788 * buffer.C (readInset): remove compability code for old Figure and
791 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
793 * buffer.C: ws changes
796 * BufferView_pimpl.C: ditto
799 * bufferlist.h: ditto
803 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
805 * converter.[Ch]: split into itself +
808 * Makefile.am: += graph.[Ch] + format.[Ch]
815 * lyxrc.C: added #include "format.h"
817 2003-02-27 Angus Leeming <leeming@lyx.org>
819 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
822 * factory.C (createInset): add "label" to the factory.
824 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
825 string and do no more.
827 2003-02-27 Angus Leeming <leeming@lyx.org>
830 * LyXAction.C (init):
831 * factory.C (createInset):
832 * BufferView_pimpl.C (dispatch):
833 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
835 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
837 * lyxfunc.C (dispatch):
838 * text3.C (dispatch): pass name to params2string.
840 2003-02-26 Angus Leeming <leeming@lyx.org>
842 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
844 Rearrange the ~includes. Strip out the unnecessary ones.
846 * factory.C (createInset): reformat.
847 create new insets for the various LFUN_XYZ_APPLY lfuns.
849 2003-02-26 John Levon <levon@movementarian.org>
852 * lyxrow.C: add isParStart,isParEnd helpers
854 * paragraph.h: make isInserted/DeletedText take refs
857 * paragraph_funcs.C: remove #if 0'd code
862 * text.C: use lyxrow helpers above.
863 Move draw and paint routines to RowPainter.
864 Make several methods use refs not pointers.
865 Make backgroundColor() const.
866 Add markChangeInDraw(), isInInset().
867 Merge changeRegionCase into changeCase.
868 Make workWidth() shouldn't-happen code into an Assert.
871 * rowpainter.C: new class for painting a row.
874 * vspace.C: make inPixels take a ref
876 2003-02-26 Angus Leeming <leeming@lyx.org>
878 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
881 2003-02-25 John Levon <levon@movementarian.org>
883 * ispell.C: give the forked command a more accurate name
885 2003-02-22 John Levon <levon@movementarian.org>
888 * toc.C: make TocItem store an id not a Paragraph *
891 2003-02-21 Angus Leeming <leeming@lyx.org>
893 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
894 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
895 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
896 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
897 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
898 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
900 * BufferView_pimpl.C (dispatch):
901 * LyXAction.C (init):
902 * factory.C (createInset):
903 * lyxfunc.C (getStatus, dispatch):
904 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
906 2003-02-21 Angus Leeming <leeming@lyx.org>
908 * BufferView_pimpl.C (MenuInsertLyXFile):
909 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
910 * lyxfunc.C (menuNew, open, doImport):
911 no longer pass a LyXView & to fileDlg.
913 2003-02-21 Angus Leeming <leeming@lyx.org>
915 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
916 * LyXAction.C: change, BIBKEY to BIBITEM.
917 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
918 Change InsetBibKey to InsetBibitem.
919 Change BIBKEY_CODE to BIBITEM_CODE.
920 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
921 * factory.C: replace insetbib.h with insetbibitem.h.
922 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
923 * paragraph.C: replace insetbib.h with insetbibitem.h.
924 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
925 Change bibkey() to bibitem().
926 * text.C: remove insetbib.h.
927 * text2.C: replace insetbib.h with insetbibitem.h.
928 change bibkey() to bibitem().
929 * text3.C: remove insetbib.h.
930 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
932 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
934 * lyxrc.C (output): enclose user email in quotes (in case there are
937 2003-02-18 John Levon <levon@movementarian.org>
939 * buffer.h: add std::
941 2003-02-17 John Levon <levon@movementarian.org>
947 * pspell.C: reworking. Especially in ispell, a large
948 number of clean ups and bug fixes.
950 * lyxfunc.C: fix revert to behave sensibly
952 2003-02-17 André Pönitz <poenitz@gmx.net>
955 * commandtags.h: new LFUN_INSERT_BIBKEY
965 * paragraph_func.C: remove special bibkey handling
967 2003-02-17 John Levon <levon@movementarian.org>
969 * text.C (Delete): fix case where delete at the end of
970 the very first paragraph would not merge the pars
972 2003-02-17 John Levon <levon@movementarian.org>
974 * lyxrow.C: fix lastPrintablePos()
976 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
978 * bufferparams.C (writeLaTeX): add a std:here
980 * buffer.C: and remove a using directive there
982 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
984 * buffer.C (makeLaTeXFile): move the code that generates the
987 * bufferparams.C (writeLaTeX): ... in this new method
989 * LaTeXFeatures.C (getEncodingSet): make const
990 (getLanguages): make const
992 * MenuBackend.C (binding): returns the binding associated to this
994 (add): sets the status of each item by calling getStatus. Adds
996 (read): add support for OptSubMenu
997 (expand): remove extra separator at the end of expanded menu
999 2003-02-15 John Levon <levon@movementarian.org>
1002 * BufferView_pimpl.C:
1004 * bufferlist.C: remove pointless BufferStorage bloat. Remove
1005 inset code that had no actual effect. Remove unneeded status
1008 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1010 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
1013 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
1015 * text.C (drawLengthMarker): also draw an arrow marker for
1016 symbolic lengths (medskip...)
1018 2003-02-14 John Levon <levon@movementarian.org>
1021 * tabular.C: better method names
1023 2003-02-14 John Levon <levon@movementarian.org>
1025 * BufferView_pimpl.C:
1030 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
1031 it's a more accurate name. Remove some pointless uses.
1033 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1035 * text2.C (LyXText): change order of initilizers to shut off
1038 2003-02-14 John Levon <levon@movementarian.org>
1040 * buffer.C: use ParIterator for getParFromID()
1044 * paragraph_pimpl.h:
1045 * paragraph_pimpl.C: remove unused getParFromID()
1047 2003-02-14 John Levon <levon@movementarian.org>
1049 * buffer.C: remove some very old #if 0'd parse code
1051 2003-02-13 John Levon <levon@movementarian.org>
1055 * text2.C: move hfillExpansion(), numberOfSeparators(),
1056 rowLast(), rowLastPrintable(), numberofHfills(),
1057 numberOfLabelHfills() ...
1060 * lyxrow.C: ... to member functions here.
1065 * text.C: remove LyXText::beginningOfMainBody(), and call
1066 p->beginningOfMainBody() directly. Move the check for
1067 LABEL_MANUAL into the latter.
1074 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1080 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1081 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1083 2003-02-13 John Levon <levon@movementarian.org>
1085 * CutAndPaste.C: remove debug
1087 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1089 * paragraph.C (asString): remove two unused variables
1091 * lyxtextclass.C (readTitleType):
1093 (LyXTextClass): handle new members titletype_ and titlename_
1095 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1097 2003-02-09 John Levon <levon@movementarian.org>
1100 * buffer.C: replace hand-coded list with a map for the dep clean
1102 2003-02-08 John Levon <levon@movementarian.org>
1104 * LaTeX.C: consolidate code into showRunMessage() helper
1106 2003-02-08 John Levon <levon@movementarian.org>
1111 * BufferView.C: change setSelectionOverString() to setSelectionRange()
1112 and pass the size in explicitly
1114 * BufferView_pimpl.h:
1115 * BufferView_pimpl.C:
1117 * BufferView.C: add getCurrentChange()
1119 * BufferView_pimpl.h:
1120 * BufferView_pimpl.C: handle change lfuns
1122 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
1123 for changes. Mark pasted paragraphs as new.
1125 * support/lyxtime.h:
1126 * support/lyxtime.C:
1127 * DepTable.C: abstract time_t as lyx::time_type
1130 * LColor.C: add colours for new text, deleted text, changebars
1132 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1133 package use "usenames" option.
1137 * LyXAction.C: add change lfuns
1141 * author.C: author handling
1144 * buffer.C: add a per-buffer author list, with first entry as
1145 current author. Handle new .lyx tokens for change tracking. Output
1146 author list to .lyx file. Output dvipost stuff to .tex preamble.
1147 Bump lyx format to 222.
1150 * bufferlist.C: add setCurrentAuthor() to reset current author details
1154 * bufferparams.C: add param for tracking
1156 * bufferview_funcs.C: output change info in minibuffer
1160 * changes.C: add change-tracking structure
1163 * debug.C: add CHANGES debug flag
1166 * lyxfind.C: add code for finding the next change piece
1169 * lyxrc.C: add user_name and user_email
1172 * lyxrow.C: add a metric for the top of the text line
1175 * text.C: implement accept/rejectChange()
1178 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1179 Strike through deleted text.
1183 * paragraph_pimpl.h:
1184 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1185 to the insert functions. Rework erase to mark text as deleted, adding
1186 an eraseIntern() and a range-based erase(). Implement
1187 per-paragraph change lookup and accept/reject.
1189 * paragraph_funcs.C: Fixup paste for change tracking.
1191 * tabular.C: mark added row/columns as new.
1193 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1194 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1196 * text2.C: leave cursor at end of selection after a cut.
1198 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1200 * text.C (getLengthMarkerHeight):
1201 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1202 visible on screen too.
1204 2003-02-07 John Levon <levon@movementarian.org>
1206 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1208 2003-02-05 Angus Leeming <leeming@lyx.org>
1210 * lyxserver.C (read_ready): revert my patch of 11 September last year
1211 as it sends PC cpu through the roof. Presumably this means that
1212 the lyxserver will no longer run on an Alpha...
1214 2003-01-30 Angus Leeming <leeming@lyx.org>
1216 * factory.C (createInset): create an InsetCommandParam of type "index"
1217 and use it to 'do the right thing'.
1219 * text2.C (getStringToIndex): ensure that cursor position is always
1220 reset to the reset_cursor position.
1222 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1224 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1227 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1231 * lyxfunc.C: Output messages with identical spelling, punctuation,
1234 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1236 * MenuBackend.C (expandFormats): List only viewable export formats
1239 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1242 * lyxfunc.C (getStatus): Make sure that formats other than
1243 "fax" can also be disabled
1245 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1247 * text3.C (dispatch): put the lfuns that insert insets in 3
1248 groups, and call doInsertInset with appropriate arguments.
1249 (doInsertInset): new function, that creates an inset and inserts
1250 it according to some boolean parameters.
1252 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1254 * buffer.C (readFile): remember to pass on 'par' when calling
1255 readFile recursively.
1257 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1259 * MenuBackend.C (expandFormats): add "..." to import formats.
1261 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1263 * paragraph.C (asString): Remove XForms RTL hacks.
1265 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1266 * buffer.C: fix typo
1268 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1270 * Makefile.am (LIBS): delete var
1271 (lyx_LDADD): add @LIBS@ here instead.
1273 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1275 * Clarify the meaning of "wheel mouse jump"
1277 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1279 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1282 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1284 * importer.C (Loaders): do not preallocate 3 elements in the
1285 vector, since one ends up with 6 elements otherwise
1287 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1289 * DepTable.C (write): write the file name as last element of the
1290 .dep file (because it may contain spaces)
1291 (read): read info in the right order
1293 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1295 * paragraph_pimpl.C (simpleTeXBlanks):
1296 (simpleTeXSpecialChars):
1297 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1299 * tabular.C (latex): add some missing case statements. Reindent.
1301 * MenuBackend.C (expandToc): remove unused variable.
1303 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1312 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1315 2003-01-05 John Levon <levon@movementarian.org>
1318 * BufferView.C: add getEncoding()
1321 * kbsequence.C: do not store last keypress
1324 * lyxfunc.C: store last keypress here instead. Pass encoding
1327 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1329 * lyx_main.C (init): remove annoying error message when following
1330 symbolic links (bug #780)
1332 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1334 * text.C (insertChar):
1335 * lyxrc.C (getDescription): remove extra spaces
1337 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1339 * lyxrc.C (getDescription): remove extra spaces
1341 2002-12-20 John Levon <levon@movementarian.org>
1343 * text3.C: hack fix for page up/down across tall rows
1345 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1347 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1350 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1352 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1353 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1354 thesaurus is not compiled in
1356 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1358 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1360 2002-12-16 Angus Leeming <leeming@lyx.org>
1363 * lyx_main.C (init): remove override_x_deadkeys stuff.
1365 2002-12-12 John Levon <levon@movementarian.org>
1367 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1368 insert. Only remove shift modifier under strict
1371 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1373 * MenuBackend.C (expandToc): fix crash.
1375 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1377 * MenuBackend.C (expandToc): gettext on float names.
1379 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1381 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1382 implement bool empty() [bug 490]
1384 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1386 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1388 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1390 * several files: ws changes
1392 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1394 * text2.C (setCounter): clean up a bit, use boost.format.
1395 (updateCounters): initialize par upon declaration.
1397 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1398 if the layout exists. We do not just store the layout any more.
1399 (SwitchLayoutsBetweenClasses): use boost.format
1401 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1403 * converter.C (convert): if from and to files are the same, use a
1404 temporary files as intermediary
1406 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1409 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1411 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1413 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1415 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1417 * tabular.C (asciiPrintCell): use string(size, char) instead of
1420 * sgml.C (openTag): fix order of arguments to string constructor
1423 * lyxfunc.C (dispatch): use boost.format
1425 * lots of files: change "c" -> 'c'
1427 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1429 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1431 2002-11-25 Angus Leeming <leeming@lyx.org>
1433 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1435 * lyx_main.C (init): compile fix.
1437 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1439 * lyx_cb.C (start): boost.formatify
1440 do not include <iostream>
1442 * lengthcommon.C: ws only
1444 * boost-inst.C,BoostFormat.h: add more explict instantations
1446 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1448 * lots of files: handle USE_BOOST_FORMAT
1450 2002-11-21 John Levon <levon@movementarian.org>
1452 * pspell.C: fix compile
1454 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1456 * lyxfunc.C (dispatch): use boost::format
1460 * lyxfont.C (stateText): use boost::format
1462 * lyx_main.C (LyX): use boost::format
1464 (queryUserLyXDir): ditto
1467 (typedef boost::function): use the recommened syntax.
1469 * importer.C (Import): use boost::format
1471 * debug.C (showLevel): use boost::format
1473 * converter.C (view): use boost::format
1478 * bufferview_funcs.C (currentState): use boost::format
1480 * bufferlist.C (emergencyWrite): use boost::format
1482 * buffer.C (readLyXformat2): use boost::format
1483 (parseSingleLyXformat2Token): ditto
1485 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1487 * LaTeX.C (run): use boost::format
1489 * Chktex.C (scanLogFile): use boost::format
1491 * BufferView_pimpl.C (savePosition): use boost::format
1492 (restorePosition): ditto
1493 (MenuInsertLyXFile): ditto
1495 * BoostFormat.h: help file for explicit instation.
1497 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1499 * tabular.C (latex): Support for block alignment in fixed width
1502 2002-11-17 John Levon <levon@movementarian.org>
1504 * BufferView_pimpl.C:
1506 * lyxfunc.C: split filedialog into open/save
1508 2002-11-08 Juergen Vigna <jug@sad.it>
1510 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1511 by my last patch (hopefully).
1513 2002-11-08 John Levon <levon@movementarian.org>
1522 * toc.C: ParConstIterator, and use it (from Lars)
1524 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1526 * lyxtextclass.[Ch]: revise and add doxygen comments
1528 2002-11-07 John Levon <levon@movementarian.org>
1530 * text.C: fix progress value for spellchecker
1532 * toc.C: fix navigate menu for insetwrap inside minipage
1534 * paragraph_funcs.C: added FIXME for suspect code
1536 2002-11-07 John Levon <levon@movementarian.org>
1538 * BufferView_pimpl.C: fix redrawing of insets
1541 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1543 * text2.C (updateCounters): fix bug 668
1545 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1547 * text3.C (dispatch): Do not make the buffer dirty when moving the
1550 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1552 * vc-backend.C: STRCONV
1555 * text2.C (setCounter): STRCONV
1557 * paragraph.C (asString): STRCONV
1559 * lyxlength.C (asString): STRCONV
1560 (asLatexString): ditto
1562 * lyxgluelength.C (asString): STRCONV
1563 (asLatexString): ditto
1565 * lyxfunc.C (dispatch): STRCONV
1568 * lyxfont.C (stateText): STRCONV
1570 * importer.C (Import): STRCONV
1572 * counters.C (labelItem): STRCONV
1573 (numberLabel): ditto
1574 (numberLabel): remove unused ostringstream o
1579 * bufferview_funcs.C (currentState): STRCONV
1581 * buffer.C (readFile): STRCONV
1582 (asciiParagraph): ditto
1583 (makeLaTeXFile): ditto
1585 * Spacing.C (writeEnvirBegin): STRCONV
1587 * LaTeXFeatures.C (getLanguages): STRCONV
1588 (getPackages): ditto
1590 (getBabelOptions): ditto
1591 (getTClassPreamble): ditto
1592 (getLyXSGMLEntities): ditto
1593 (getIncludedFiles): ditto
1597 (scanAuxFile): ditto
1600 * LString.h: add the STRCONV macros
1602 * BufferView_pimpl.C (savePosition): STRCONV
1603 (restorePosition): ditto
1604 (MenuInsertLyXFile): ditto
1606 * vc-backend.C (scanMaster): change from submatch[...] to
1609 * funcrequest.C: include config.h
1611 * factory.C: include config.h
1613 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1615 * box.C: include config.h
1617 * LaTeX.C (scanAuxFile): change from submatch[...] to
1621 2002-10-25 Angus Leeming <leeming@lyx.org>
1623 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1625 * ispell.[Ch] (setError): new method.
1626 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1627 Use setError() insetead of goto END.
1629 * lyx_cb.C (AutoSave): move out child process into new class
1632 2002-10-30 John Levon <levon@movementarian.org>
1634 * text3.C: make start appendix undoable
1636 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1638 * lyxlength.C (inPixels): Fix returned value.
1640 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1643 2002-10-24 Angus Leeming <leeming@lyx.org>
1645 * lyxgluelength.h: no need to forward declare BufferParams
1646 or BufferView, so don't.
1648 2002-10-21 John Levon <levon@movementarian.org>
1650 * BufferView.C: menuUndo ->undo, redo
1652 * BufferView.h: document, remove dead, make some methods private
1654 * paragraph_funcs.h:
1655 * paragraph_funcs.C:
1656 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1661 * sgml.C: move sgml open/close tag into sgml.C
1663 * bufferview_funcs.h: unused prototype
1666 * lyxfunc.C: remove unused
1669 * text.C: remove unused
1671 2002-10-21 John Levon <levon@movementarian.org>
1675 * BufferView_pimpl.h:
1676 * BufferView_pimpl.C: fix mouse wheel handling based on
1677 patch from Darren Freeman
1679 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
1681 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1683 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
1685 * lyxlength.C (inPixels): Fix hanfling of negative length.
1686 Fix LyXLength::MU case.
1688 2002-10-16 John Levon <levon@movementarian.org>
1690 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1692 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1694 * converter.C (view): add support for $$i (file name) and $$p
1695 (file path) for the viewer command. If $$i is not specified, then
1696 it is appended to the command (for compatibility with old syntax)
1698 2002-10-14 Juergen Vigna <jug@sad.it>
1700 * undo_funcs.C (textHandleUndo): alter the order in which the
1701 new undopar is added to the LyXText, as we have to set first
1702 the right prev/next and then add it as otherwise the rebuild of
1703 LyXText is not correct. Also reset the cursor to the right paragraph,
1704 with this IMO we could remove the hack in "redoParagraphs()".
1706 2002-10-09 Angus Leeming <leeming@lyx.org>
1708 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1709 to turn off an optimisation if a new inset is to be inserted.
1711 2002-10-11 André Pönitz <poenitz@gmx.net>
1713 * lyxtext.h: make some functions public to allow access
1714 from inset/lyxtext for handling LFUN_PRIOR/NEXT
1716 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1718 * text3.C (dispatch): when changing layout, avoid an infinite loop
1721 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1723 * lyxrc.C (read): treat a viewer or converter command of "none" as
1726 * MenuBackend.C (expandFormats): for an update, also allow the
1727 formats that are not viewable
1729 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
1730 script if it is newer than the lyxrc.defaults in user directory
1732 2002-10-07 André Pönitz <poenitz@gmx.net>
1734 * text.C: Vitaly Lipatov's small i18n fix
1736 2002-09-25 Angus Leeming <leeming@lyx.org>
1738 * ispell.h: doxygen fix.
1740 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
1742 * buffer.h (readFile): Add a new argument to the method, to allow
1743 reading of old-format templates.
1745 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
1747 * toc.C (getTocList): Get TOC from InsetWrap.
1749 2002-09-16 John Levon <levon@movementarian.org>
1751 * lyxfunc.C: check tabular for cut/copy too
1753 2002-09-12 John Levon <levon@movementarian.org>
1758 * factory.C: add header
1760 * paragraph_funcs.h:
1761 * paragraph_funcs.C: cleanup
1763 2002-09-11 John Levon <levon@movementarian.org>
1765 * PrinterParams.h: odd/even default to true
1767 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1769 * PrinterParams.h: update printer parameters for new xforms dialog
1771 2002-09-11 Angus Leeming <leeming@lyx.org>
1773 * lyxserver.C (read_ready): re-write to make it more transparent
1774 and to make it work in coherent fashion under Tru64 Unix.
1776 2002-09-11 André Pönitz <poenitz@gmx.net>
1780 * text3.C: implement LFUN_WORDSEL
1782 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1784 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1785 make floatlist_ a boost::shared_ptr<FloatList>
1787 * lyxtextclass.C: include FloatList.h
1788 (LyXTextClass): initialize floatlist_
1789 (TextClassTags): add TC_NOFLOAT
1790 (Read): match "nofloat" to TC_NOFLOAT and use it.
1791 (readFloat): modify call to floatlist_
1795 * FloatList.[Ch] (FloatList): remove commented out float
1797 (erase): new function
1799 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1801 * MenuBackend.C (expandToc): fix crash when there is no document
1804 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
1806 * many files: Add insetwrap.
1808 2002-09-09 John Levon <levon@movementarian.org>
1810 * text2.C: remove confusing and awkward depth wraparound
1812 2002-09-09 John Levon <levon@movementarian.org>
1814 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1817 * buffer.C: remove getIncludeonlyList()
1820 * lyxfunc.C: remove headers
1822 2002-09-09 Juergen Vigna <jug@sad.it>
1824 * text.C (getColumnNearX): fix form Michael this is most
1825 probably a cut&paste bug.
1827 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1829 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1831 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1832 references, ws changes.
1834 * text2.C (init): update counters after init
1835 (insertParagraph): no need to set counter on idividual paragraphs.
1836 (setCounter): access the counters object in the textclass object
1837 on in the buffer object.
1838 (updateCounters): ditto
1840 * lyxtextclass.C: include counters.h, add variable ctrs_ as
1841 shared_ptr<Counters> to avoid loading counters.h in all
1843 (LyXTextClass): initialize ctrs_
1844 (TextClassTags): add TC_COUNTER, and ...
1845 (Read): use it here.
1846 (CounterTags): new tags
1847 (readCounter): new function
1848 (counters): new funtion
1849 (defaultLayoutName): return a const reference
1851 * counters.C (Counters): remove contructor
1852 (newCounter): remove a couple of unneeded statements.
1853 (newCounter): simplify a bit.
1854 (numberLabel): some small formatting changes.
1856 * buffer.[Ch]: remove all traces of counters, move the Counters
1857 object to the LyXTextClass.
1859 2002-09-06 Alain Castera <castera@in2p3.fr>
1861 * tabular.C: uses \tabularnewline; uses >{...} construct from array
1862 package to set the horizontal alignment on fixed width columns.
1865 * lyx_sty.h: added tabularnewline macro def.
1867 * LaTeXFeatures.C: added NeedTabularnewline macro feature
1869 2002-09-06 John Levon <levon@movementarian.org>
1871 * LyXAction.C: tooltips for sub/superscript
1873 * MenuBackend.C: a bit more verbose
1875 * lyxfunc.C: tiny clean
1877 * undo_funcs.C: document undo_frozen
1879 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1881 * counters.C (Counters): add missing algorithm counter.
1883 * text2.C (setCounter): lookup the counter with layouts latexname
1884 instead of by section number.
1885 (setCounter): use a hackish way to lookup the correct enum
1887 a float name->type change
1888 reset enum couners with counter name directly instead of depth value.
1890 * counters.C (Counters): remove the push_backs, change to use the
1891 float type not the float name.
1892 (labelItem): remove unused string, float name->type change
1894 * counters.h: don't include vector, loose the enums and sects vectors
1896 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1898 * lyxtextclass.C (TextClassTags): add TC_FLOAT
1899 (Read): add float->TC_FLOAT to textclassTags
1900 (Read): and handle it in the switch
1901 (readFloat): new function
1903 * FloatList.C (FloatList): comment out the hardcoded float
1906 * lyxlayout.h: ws change.
1908 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
1910 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
1912 2002-09-03 Angus Leeming <leeming@lyx.org>
1914 * BufferView_pimpl.h: qualified name is not allowed in member
1915 declaration: WorkArea & Pimpl::workarea() const;
1917 * factory.C: added using std::endl directive.
1919 * text3.C: added using std::find and std::vector directives.
1921 2002-08-29 André Pönitz <poenitz@gmx.net>
1924 * text2.C: remove unused member number_of_rows
1927 * BufferView2.C: remove file, move contents to...
1928 * BufferView.C: ... here
1930 * BufferView_pimpl.C:
1931 * factory.C: move more inset creation to factory
1933 * vspace.C: avoid direct usage of LyXText, ws changes
1936 don't provide direct access to WorkArea, use two simple
1937 acessors haveSelction() and workHeight() instead
1940 2002-08-29 John Levon <levon@movementarian.org>
1942 * BufferView_pimpl.C (dispatch): do not continue when
1945 2002-08-28 André Pönitz <poenitz@gmx.net>
1947 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
1950 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
1952 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
1954 * buffer.C: increment LYX_FORMAT to 221
1956 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
1957 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
1959 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
1961 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
1963 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1965 * factory.C (createInset): use LyXTextClass::floats
1967 * MenuBackend.C (expandFloatListInsert):
1968 (expandFloatInsert):
1971 * text2.C (setCounter):
1973 * LaTeXFeatures.C (useFloat):
1974 (getFloatDefinitions):
1976 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
1978 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
1979 floatlist_, with accessor floats().
1981 * FloatList.h: remove global FloatList
1983 2002-08-26 André Pönitz <poenitz@gmx.net>
1985 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
1989 * BufferView_pimpl.C:
1990 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
1992 2002-08-25 John Levon <levon@movementarian.org>
1994 * LyXAction.C: fix margin note description
1996 2002-08-24 John Levon <levon@movementarian.org>
2000 * bufferview_funcs.C:
2002 * undo_funcs.C: cleanups
2004 * lyxfunc.C: disable CUT/COPY when no selection
2006 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2008 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
2009 in "enum UNIT"; e.g. PTW for Percent of TextWidth
2011 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
2012 Add backward compatibility to "mono", "gray" and "no".
2014 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
2016 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
2017 (and file_format >= 200).
2019 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2021 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
2023 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2025 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
2027 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
2029 * BufferView_pimpl.C:
2036 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2037 inset and code to make it work with the paragraph code. The inset
2038 can be anywhere in the paragraph, but will only do the expected
2039 thing in LaTeX if the layout file contains the parameter line
2041 (or more generally, a nonzero value) for that layout.
2043 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2045 * paragraph.h: remove the declaration of undefined counters class
2048 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
2050 * text2.C (setCounter): fixed enumeration mis-count as reported by
2051 Dr. Richard Hawkins.
2053 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2055 * paragraph_funcs.h: remove some unneeded includes
2057 * text.C (backspace): pasteParagraph now in global scipe
2059 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2060 (pasteSelection): ditto
2062 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2063 * paragraph_funcs.C (pasteParagraph): ... here
2065 2002-08-20 André Pönitz <poenitz@gmx.net>
2067 * commandtags.h: new LFUNs for swapping/copying table row/colums
2070 * lyxfunc.C: support for new lfuns
2072 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2075 * buffer.[Ch]: remove NO_COMPABILITY stuff
2077 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
2079 * boost.C (throw_exception): new file, with helper function for
2080 boost compiled without exceptions.
2085 * ParameterStruct.h:
2086 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2088 * bufferlist.C (emergencyWriteAll): use boost bind
2090 * BufferView_pimpl.C (moveCursorUpdate): remove inline
2092 * text.C: include paragraph_funcs.h
2093 (breakParagraph): breakParagraph is now in global scope
2095 * paragraph_funcs.[Ch]: new files
2097 * paragraph.C (breakParagraph,breakParagraphConservative): move to
2100 * buffer.C: include paragraph_funcs.h
2101 (insertStringAsLines): breakParagraph is now in global scope
2103 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2106 * CutAndPaste.C: include paragraph_funcs.h
2107 (cutSelection): breakParagraphConservative is now in global scope
2108 (pasteSelection): ditto
2110 * buffer.h: declare oprator== and operator!= for
2111 Buffer::inset_iterator
2113 * bufferlist.C (emergencyWrite): don't use fmt(...)
2115 * text3.C: add using std::endl
2117 * BufferView.C (moveCursorUpdate): remove default arg
2119 2002-08-20 André Pönitz <poenitz@gmx.net>
2121 * buffer.[Ch]: move inline functions to .C
2124 * BufferView_pimpl.C:
2126 * buffer.[Ch]: use improved inset_iterator
2129 * paragraph.[Ch]: write one paragraph at a time
2131 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
2133 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2134 style if style is not specified.
2136 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2138 * text2.C (setCounter): when searching for right label for a
2139 caption, make sure to recurse to parent insets (so that a caption
2140 in a minipage in a figure float works) (bug #568)
2142 2002-08-20 André Pönitz <poenitz@gmx.net>
2144 * text3.C: new file for LyXText::dispatch() and helpers
2146 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2148 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2150 2002-08-19 André Pönitz <poenitz@gmx.net>
2153 * text.C: new LyXText::dispatch()
2155 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2157 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
2159 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2161 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2164 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2166 * Makefile.am: use $(variables) instead of @substitutions@
2168 2002-08-15 André Pönitz <poenitz@gmx.net>
2171 * BufferView_pimpl.C: streamlining mathed <-> outer world
2175 * LyXAction.C: remove unused LFUN_MATH
2177 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2179 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2181 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2183 * paragraph.C (Paragraph): reformat a bit
2184 (cutIntoMinibuffer): use builtin InsetList function instad of
2188 * buffer.C: include boost/bind.hpp, add using std::for_each
2189 (writeFileAscii): use ParagraphList iterators
2190 (validate): use for_each for validate traversal of paragraphs
2191 (getBibkeyList): use ParagraphList iterators
2192 (resizeInsets): use for_each to resizeInsetsLyXText for all
2194 (getParFromID): use ParagraphList iterators
2196 * BufferView2.C (lockInset): use paragraph list and iterators
2198 2002-08-14 John Levon <levon@movementarian.org>
2200 * lyxserver.C: remove spurious xforms include
2202 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2204 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2206 2002-08-13 André Pönitz <poenitz@gmx.net>
2209 * lyxfunc.C: further cleaning
2211 2002-08-13 André Pönitz <poenitz@gmx.net>
2213 * funcrequest.h: new constructor
2215 * funcrequest.C: move stuff here from .h
2218 * BufferView_pimpl.C:
2221 * lyxfunc.C: subsequent changes
2223 * lyxfunc.h: new view() member function
2225 * lyxfunc.C: subsequent changes
2227 2002-08-13 Angus Leeming <leeming@lyx.org>
2230 * BufferView_pimpl.C:
2238 changes due to the changed LyXView interface that now returns references
2239 to member variables not pointers.
2241 2002-08-13 Angus Leeming <leeming@lyx.org>
2243 * WordLangTuple (word, lang_code): return references to strings,
2248 * lyxtext.h: forward-declare WordLangTuple.
2253 * text.C: #include "WordLangTuple.h".
2256 * text.C: (selectNextWordToSpellcheck): constify return type.
2258 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2264 * paragraph_pimpl.h:
2267 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2269 Made updateCounter always count from start of buffer, and removed
2270 second argument (par).
2271 Reverted floats number display to '#'. Perhaps I'll try again when the
2272 code base is sanitized a bit.
2274 2002-08-12 Angus Leeming <leeming@lyx.org>
2276 * buffer.[Ch] (getLabelList): constify.
2278 2002-08-07 André Pönitz <poenitz@gmx.net>
2280 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2282 * funcrequest.h: extension to keep mouse (x,y) position
2284 2002-08-12 Juergen Vigna <jug@sad.it>
2286 * BufferView2.C (insertErrors): forbid undo when inserting error
2289 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2291 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2293 * ParagraphList.[Ch]: new files
2295 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2297 * BufferView2.C (lockInset): ParagraphList changes
2300 * bufferlist.C: ditto
2304 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2306 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2307 unused class variable counter_,
2309 * paragraph.[Ch] (getFirstCounter): delete unused function
2311 * counters.C: include LAssert.h
2312 (reset): add a new function with no arg, change other version to
2313 not have def. arg and to not allow empty arg.
2315 * text2.C (setCounter): remove empty arg from call to Counters::reset
2317 2002-08-11 John Levon <levon@movementarian.org>
2319 * Makefile.am: add WordLangTuple.h
2321 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2323 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2324 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2326 * insets/insettext.C: InsetList changes
2328 * graphics/GraphicsSupport.C (operator()): InsetList changes
2330 * toc.C (getTocList): InsetList changes
2332 * paragraph_pimpl.[Ch]: InsetList changes
2334 * paragraph.[Ch]: InsetList changes
2336 * buffer.C (inset_iterator): InsetList changes
2337 (setParagraph): ditto
2338 * buffer.h (inset_iterator): ditto
2339 * iterators.C (operator++): ditto
2340 * iterators.h: ditto
2342 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2344 * InsetList.[Ch]: new files, most InsetList handling moved out of
2347 * BufferView2.C (removeAutoInsets): InsetList changes
2349 (ChangeInsets): ditto
2351 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2353 * paragraph_pimpl.h (empty): new function
2355 * paragraph.[Ch] (empty): new function
2357 * other files: use the new Paragraph::empty function
2359 2002-08-09 John Levon <levon@movementarian.org>
2361 * lyxtext.h: remove unused refresh_height
2363 2002-08-09 John Levon <levon@movementarian.org>
2370 * paragraph.C: move sgml char escaping out of paragraph
2373 * paragraph.C: remove id setter
2377 * paragraph_pimpl.C: remove dead tex_code_break_column
2379 * bufferview_funcs.C: small cleanup
2381 * lyxfunc.C: remove dead proto
2383 * lyxtext.h: make some stuff private. Remove some dead stuff.
2385 * lyxgluelength.C: make as[LyX]String() readable
2387 2002-08-08 John Levon <levon@movementarian.org>
2392 * ToolbarDefaults.C:
2395 * toc.C: lyxaction cleanup
2397 2002-08-08 John Levon <levon@movementarian.org>
2399 * BufferView2.C: small cleanup
2402 * lyxfind.C: move unnecessary header into the .C
2404 2002-08-08 John Levon <levon@movementarian.org>
2406 * funcrequest.h: just tedious nonsense
2409 * lyx_main.C: cleanups
2412 * vspace.C: remove dead header lyx_main.h
2414 2002-08-07 Angus Leeming <leeming@lyx.org>
2417 * paragraph_pimpl.h:
2418 Forward declare class Counters in paragraph.h by moving the ctrs member
2419 variable into Paragraph::Pimpl.
2420 (counters): new method, returning a reference to pimpl_->ctrs.
2422 * text2.C: ensuing changes.
2424 2002-08-07 John Levon <levon@movementarian.org>
2426 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2428 * BufferView_pimpl.C: announce X selection on double/triple
2431 * lyx_main.C: use correct bool in batch dispatch
2433 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2435 2002-08-07 André Pönitz <poenitz@gmx.net>
2437 * funcrequest.h: new class to wrap a kb_action and its argument
2440 * BufferView_pimpl[Ch]:
2444 * lyxrc.C: subsequent changes
2447 2002-08-07 John Levon <levon@movementarian.org>
2449 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2450 document options change.
2452 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2457 * makefile.am: move counters functionality over from
2458 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2460 2002-08-06 John Levon <levon@movementarian.org>
2462 * WordLangTuple.h: new file for word + language code tuple
2473 * BufferView2.C: use WordLangTuple
2476 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2478 2002-08-06 John Levon <levon@movementarian.org>
2480 * lyx_main.C: fix cmdline batch handling
2482 2002-08-06 André Pönitz <poenitz@gmx.net>
2484 * lyxrc.C: set default for show_banner to true
2486 2002-08-06 John Levon <levon@movementarian.org>
2488 * pspell.C: fix a crash, and allow new aspell to work
2490 2002-08-06 John Levon <levon@movementarian.org>
2493 * kbmap.C: small cleanup
2496 * vspace.C: add const
2498 2002-08-05 John Levon <levon@movementarian.org>
2500 * LyXAction.C: back to tabular-insert
2502 2002-08-04 John Levon <levon@movementarian.org>
2505 * BufferView.C: cosmetic change
2507 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2517 * BufferView2.C: purge all "Lyx" not "LyX" strings
2520 * lyxcursor.C: attempt to add some documentation
2525 * ToolbarDefaults.C:
2526 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2527 merge with LFUN_TABULAR_INSERT
2534 * pspell.C: split up i/pspell implementations into separate
2535 files, many cleanups
2537 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2539 * text2.C: some cleanup
2541 * lyxfunc.C: don't check for isp_command == "none" any more, it
2542 didn't make any sense
2544 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2549 * makefile.am: move counters functionality over
2550 from text2.C/paragraph.[Ch] to counters.[Ch], and
2552 2002-08-02 John Levon <levon@movementarian.org>
2554 * buffer.C: s/lyxconvert/lyx2lyx/
2556 2002-08-02 Angus Leeming <leeming@lyx.org>
2558 * lyxlex.C: revert John's change as it breaks reading of the user
2561 2002-08-02 Angus Leeming <leeming@lyx.org>
2563 * importer.C (Import):
2564 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2565 changes due to LyXView::view() now returning a boost::shared_ptr.
2567 2002-08-02 John Levon <levon@movementarian.org>
2569 * lyxlex.C: small cleanup
2571 2002-08-02 John Levon <levon@movementarian.org>
2573 * text2.C (status): small cleanup, no logic change
2575 2002-08-01 John Levon <levon@movementarian.org>
2578 * buffer.C (writeFile): don't output alerts, caller
2582 * lyx_cb.C: from above
2584 * lyxfunc.C: allow to open non-existent files
2586 2002-07-31 John Levon <levon@movementarian.org>
2588 * lyxserver.C: don't let incidental errors get
2591 2002-07-30 John Levon <levon@movementarian.org>
2593 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2595 2002-07-30 John Levon <levon@movementarian.org>
2598 * lyxserver.C: remove I/O callback too
2600 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2602 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2605 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2607 * many files: strip,frontStrip -> trim,ltrim,rtrim
2609 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2611 * PrinterParams.h: remove extern containsOnly, and include
2612 support/lstrings.h instead.
2614 * LaTeX.C (scanAuxFile): modify because of strip changes
2616 * buffer.C (makeLaTeXFile): ditto
2617 * bufferparams.C (writeFile): ditt
2618 * lyxfont.C (stateText): ditto
2619 * lyxserver.C (read_ready): ditto
2620 * vc-backend.C (scanMaster): ditto
2622 * BufferView_pimpl.h: ws changes
2624 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2626 2002-07-26 André Pönitz <poenitz@gmx.net>
2628 * kb_sequence.C: remove unnedred usings
2630 2002-07-26 Juergen Vigna <jug@sad.it>
2632 * lyxfind.C (LyXReplace): we have to check better if the returned
2633 text is not of theLockingInset()->getLockingInset().
2635 2002-07-25 Juergen Vigna <jug@sad.it>
2637 * lyxfind.C (LyXReplace): don't replace if we don't get the
2640 * undo_funcs.C (createUndo): remove debugging code.
2642 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2644 * buffer.C (parseSingleLyXformat2Token): Use default placement
2645 when reading old floats.
2647 * FloatList.C (FloatList): Change the default placement of figure
2648 and tables to "tbp".
2650 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
2652 * MenuBackend.C: using std::max
2654 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2656 * MenuBackend.C (expandToc):
2657 (expandToc2): code moved from xforms menu frontend. It is now
2658 generic and TOCs are transparent to menu frontends.
2660 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2662 * toc.C (getTocList): protect against buf=0
2664 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2665 Menu as first parameter. Now, this calls itself recursively to
2666 expand a whole tree (this will be useful for TOC handling)
2667 (expandFloatInsert): remove 'wide' version of floats
2669 * MenuBackend.h (submenuname): returns the name of the submenu.
2670 (submenu): returns the submenu itself, provided it has been
2671 created by MenuBackend::expand
2673 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2675 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2676 insets which have noFontChange == true. (bug #172)
2678 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2680 * BufferView_pimpl.C: add connection objects and use them...
2683 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2685 * MenuBackend.C (expandLastfiles):
2688 (expandFloatListInsert):
2689 (expandFloatInsert):
2690 (expand): split expand in parts
2692 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2694 * lyx_gui.C: use lyx_gui::exit()
2696 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2698 * LyXAction.C: show the failing pseudo action
2700 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
2702 * buffer.C (readFile): Run the lyxconvert script in order to read
2705 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2709 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2711 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2715 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2717 2002-07-22 Herbert Voss <voss@lyx.org>
2720 * lyxlength.[Ch]: add support for the vertical lengths
2722 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
2724 * toc.[Ch]: std:: fixes
2726 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2728 * lyxrc.C: do not include lyx_main.h
2730 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
2736 * BufferView2.C: include "lyxlex.h"
2739 * bufferparams.h: do not #include "lyxlex.h"
2741 * lyxtextclasslist.C (Add): remove method
2742 (classlist): renamed to classlist_
2744 * paragraph_pimpl.C:
2748 * bufferview_funcs.C:
2753 * toc.C (getTocList): use BufferParams::getLyXTextClass
2755 * toc.C (getTocList): use InsetFloat::addToToc
2757 * toc.[Ch]: new files, containing helper functions to handle table
2760 * lyxfunc.C (dispatch): no need to remove spaces around command
2762 (getStatus): handle LFUN_SEQUENCE by returning the status of the
2763 first command of the sequence; it is not very clever, but I do not
2764 have a better idea, actually
2766 * LyXAction.C (LookupFunc): make sure to remove space at the
2767 beginning and end of the command
2769 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2771 * MenuBackend.C (getMenubar): new method: return the menubar of
2773 (read): treat differently reading of menu and menubar (in
2774 particular, the menubar has no name now)
2775 (Menu::menubar): remove
2777 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2780 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2782 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2783 a bibitem inset in a RTL paragraph.
2785 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
2787 * paragraph_pimpl.C: constify
2789 * BufferView_pimpl.C:
2791 * lyxfunc.C: fix dispatch in a nicer way
2793 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2795 * lyxfunc.C (dispatch):
2796 * BufferView_pimpl.C:
2797 * BufferView_pimpl.h:
2799 * BufferView.h: rename Dispatch() to dispatch()
2801 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2803 * lyxlayout.C (Read): honor DependsOn tag
2805 * lyxlayout.[Ch] (depends_on): new method
2807 * version.C.in: update lyx_docversion
2809 * LaTeXFeatures.C (getMacros): only define \LyX when needed
2811 * paragraph.C (validate): remove from here...
2812 * paragraph_pimpl.C (validate): ... and move here
2813 (isTextAt): make it const
2815 * buffer.C (getLists): ws cleanup
2817 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2819 * language.C (read): Use iso8859-1 encoding in latex_lang
2820 (this prevents LyX from crashing when using iso10646-1 encoding).
2822 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2824 * text2.C (toggleInset): if cursor is inside an inset, close the
2825 inset and leave cursor _after_ it
2827 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2829 * lyxfunc.C: move minibuffer completion handling out of here
2831 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2833 * BufferView_pimpl.C:
2834 * LaTeX.C: fix dispatch calls
2836 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
2838 * text.C (drawChars): Fix Arabic text rendering.
2840 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
2844 * lyxfunc.C: remove message-push/pop
2848 * lyxfunc.C: rationalise some code by removing verboseDispatch
2849 in favour of a bool argument to dispatch()
2851 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2853 * lyx_main.C (init): make sure to read symlinks as absolute paths
2855 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2858 * lyxfunc.C: no need for commandshortcut to be a member
2860 2002-07-15 André Pönitz <poenitz@gmx.net>
2862 * converter.C: add support for $$s (scripts from lib/scripts dir)
2863 * lyx_main.C: white space
2865 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2869 * lyxrc.C: remove second exit confirmation
2871 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2876 * BufferView_pimpl.h:
2877 * BufferView_pimpl.C:
2878 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2880 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2882 * MenuBackend.C (expand): add numeric shortcuts to document menu
2884 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
2886 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2888 * lyxfont.C (setLyXFamily):
2895 * buffer.C (asciiParagraph): use ascii_lowercase
2897 2002-07-15 Mike Fabian <mfabian@suse.de>
2899 * lyxlex_pimpl.C (search_kw):
2900 * lyxlex.C (getLongString):
2901 * converter.h (operator<):
2902 * converter.C (operator<):
2903 * buffer.C (parseSingleLyXformat2Token):
2905 * ToolbarDefaults.C (read):
2906 * MenuBackend.C (checkShortcuts):
2908 * LColor.C (getFromGUIName):
2909 (getFromLyXName): use the compare_ascii_no_case instead of
2910 compare_no_case, because in turkish, 'i' is not the lowercase
2911 version of 'I', and thus turkish locale breaks parsing of tags.
2913 2002-07-16 Angus Leeming <leeming@lyx.org>
2915 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
2916 now takes a Buffer const & argument.
2918 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2920 * BufferView.C (resize): check there's a buffer to resize
2922 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
2924 * lyxfunc.C: remove dead code
2927 * lyxserver.C: use lyx_guii::set_read_callback
2929 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2931 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
2932 an inset in a RTL paragraph.
2934 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2936 * lyxfunc.C: repaint after a font size update
2938 2002-07-15 André Pönitz <poenitz@gmx.net>
2940 * lyxlength.C: inBP should be able to return negative values
2942 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2944 * lyxfunc.C: use lyx_gui::update_fonts()
2946 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2948 * lyxfunc.C: use lyx_gui::update_color()
2950 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2956 * lyxrc.C: remove file->new asks for name option, and let
2957 buffer-new take an argument
2959 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2961 * BufferView_pimpl.C: remove unneeded extra repaint()
2963 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
2965 * LyXAction.C: allow command-sequence with NoBuffer
2967 * lyxfunc.C: don't insist on trailing ';' for command-sequence
2969 2002-07-10 Angus Leeming <leeming@lyx.org>
2971 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
2973 2002-07-09 Angus Leeming <leeming@lyx.org>
2975 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
2977 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2979 * lengthcommon.h: whitespace
2981 * lyxfunc.C: update scrollbar after goto paragraph
2983 * lyxtext.h: factor out page break drawing, and fix it so
2984 page break/added space paints as selected nicely
2986 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2988 * BufferView_pimpl.C: add FIXMEs, clean up a little
2990 2002-07-09 André Pönitz <poenitz@gmx.net>
2992 * lyxfont.[Ch]: support for wasy symbols
2994 2002-07-08 André Pönitz <poenitz@gmx.net>
2996 * BufferView_pimpl.C: apply John's patch for #93.
2998 2002-07-05 Angus Leeming <leeming@lyx.org>
3000 * BufferView_pimpl.C (buffer): generate previews if desired.
3002 * LColor.h: add "preview" to the color enum.
3004 * LColor.C (LColor): add a corresponding entry to the items array.
3006 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
3009 2002-07-05 Angus Leeming <leeming@lyx.org>
3011 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
3012 The body of the code is now in the method that is passed an ostream &
3013 rather than a file name.
3014 Pass an additional only_preamble parameter, useful for the forthcoming
3017 2002-07-03 André Pönitz <poenitz@gmx.net>
3019 * lyxfunc.C: simplify getStatus() a bit for math stuff
3021 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3023 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
3025 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3027 * text.C (changeRegionCase): do not change case of all the
3028 document when region ends at paragraph end (bug #461)
3030 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3032 * paragraph.C (startTeXParParams):
3033 (endTeXParParams): add \protect when necessary
3035 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3037 * BufferView_pimpl.C (workAreaExpose): remove warning
3039 2002-06-27 Angus Leeming <leeming@lyx.org>
3041 * Makefile.am: add lyxlayout_ptr_fwd.h.
3043 2002-06-26 André Pönitz <poenitz@gmx.net>
3045 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3047 2002-06-25 Angus Leeming <leeming@lyx.org>
3049 * lyxfunc.C (dispatch): Comment out the call to
3050 grfx::GCache::changeDisplay. The method no longer exists now that the
3051 pixmap generation part of the graphics loader has been moved into
3054 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3056 * text2.C: layout as layout
3058 * text.C: layout as layout
3060 * tabular.C (OldFormatRead): layout as layout
3062 * paragraph_pimpl.C (TeXDeeper): layout as layout
3063 (realizeFont): layout as layout
3065 * paragraph.C (writeFile): layout as layout
3066 (validate): layout as layout
3067 (getFont): layout as layout
3068 (getLabelFont): layout as layout
3069 (getLayoutFont): layout as layout
3070 (breakParagraph): layout as layout
3071 (stripLeadingSpaces): layout as layout
3072 (getEndLabel): layout as layout
3073 (getMaxDepthAfter): layout as layout
3074 (applyLayout): layout as layout
3075 (TeXOnePar): layout as layout
3076 (simpleTeXOnePar): layout as layout
3077 (TeXEnvironment): layout as layout
3078 (layout): layout as layout
3079 (layout): layout as layout
3081 * lyxtextclass.C (compare_name): new functor to work with
3082 shared_ptr, layout as layout
3083 (Read): layout as layout
3084 (hasLayout): layout as layout
3085 (operator): layout as layout
3086 (delete_layout): layout as layout
3087 (defaultLayout): layout as layout
3089 * lyxlayout_ptr_fwd.h: new file
3091 * lyxlayout.C (Read): layout as layout
3093 * lyx_cb.C (MenuInsertLabel): layout as layout
3095 * bufferlist.C (newFile): layout as layout
3097 * buffer.C (readLyXformat2): layout as layout
3098 (parseSingleLyXformat2Token): layout as layout
3099 (insertStringAsLines): layout as layout
3100 (asciiParagraph): layout as layout
3101 (latexParagraphs): layout as layout
3102 (makeLinuxDocFile): layout as layout
3103 (simpleLinuxDocOnePar): layout as layout
3104 (makeDocBookFile): layout as layout
3105 (simpleDocBookOnePar): layout as layout
3106 (getLists): layout as layout
3108 * LaTeXFeatures.C (getTClassPreamble): layout as layout
3110 * CutAndPaste.C (cutSelection): layout as layout
3111 (pasteSelection): layout as layout
3112 (SwitchLayoutsBetweenClasses): layout as layout
3114 * BufferView_pimpl.C (Dispatch): layout as layout
3115 (smartQuote): layout as layout
3117 * BufferView2.C (unlockInset): layout as layout
3119 2002-06-24 André Pönitz <poenitz@gmx.net>
3121 * lyxfunc.C: fix #487
3123 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3127 * lyxfunc.C: remove display_shortcuts, show_banner
3129 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3131 * Buffer_pimpl.C: oops, update on resize
3133 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3140 * BufferView.C: use repaint()
3142 * BufferView_pimpl.h:
3143 * BufferView_pimpl.C: s/updateScreen()/repaint()/
3144 as it's a clearer description. Remove superfluous
3147 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3149 * text.C: fix bug 488. Not ideal, but getting
3150 getWord() to work properly for the insets that
3151 matter is more difficult ...
3153 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3155 * BufferView_pimpl.C:
3158 * lyxfunc.C: remove the six million index lyxfuncs to just
3159 one, and DTRT (bug 458)
3161 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3165 * BufferView_pimpl.h:
3166 * BufferView_pimpl.C: clean up resize() stuff,
3167 and unnecessary updateScreen()s
3169 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3173 * BufferView_pimpl.h:
3174 * BufferView_pimpl.C:
3177 * minibuffer.C: remove focus management of workarea,
3178 not needed. Use screen's greyOut()
3180 2002-06-17 Herbert Voss <voss@lyx.org>
3182 * converter.C: (convert) do not post a message, when converting
3183 fails, let the calling function decide what to do in this case
3185 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3187 * lyxfunc.C: tidy up a little
3189 2002-06-16 <alstrup@diku.dk>
3191 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3192 Got rid of FORMS_H_LOCATION include. Now we are
3195 2002-06-15 LyX Development team <lyx@rilke>
3197 * buffer.[Ch] (sgmlOpenTag):
3198 (sgmlCloseTag): Added support for avoiding pernicious mixed
3199 content. Return number of lines written.
3202 (makeDocBookFile): Fixed calls to sgml*Tag.
3203 Simple white space clean.
3205 (simpleDocBookOnePar): Simple white space clean.
3207 * tabular.[Ch] (docBook): Renamed to docbook and got another
3208 argument to related with the pernicious mixed content.
3210 (docbookRow): Fixed calls for docbook inset method.
3212 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3214 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3215 so it's X11 independent.
3219 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3221 2002-06-15 Lyx Development team <lyx@electronia>
3223 * intl.h: Renamed getTrans to getTransManager.
3225 2002-06-14 Angus Leeming <leeming@lyx.org>
3227 * Makefile.am: nuke forgotten stl_string_fwd.h.
3229 2002-06-12 Angus Leeming <leeming@lyx.org>
3231 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3233 2002-06-13 Angus Leeming <leeming@lyx.org>
3236 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3238 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3240 * kbmap.C (getiso): add support for cyrillic and greek
3242 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3246 * BufferView_pimpl.h:
3247 * BufferView_pimpl.C: move bogus scrolling logic
3250 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3253 * BufferView_pimpl.C: view->resize() change
3255 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3257 * BufferView_pimpl.C: topCursorVisible
3260 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3264 * lyx_gui.C: move to frontends/
3268 * lyx_main.C: changes from above
3270 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3277 * lyx_main.C: minor tidy
3279 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3281 * BufferView_pimpl.h:
3282 * BufferView_pimpl.C:
3284 * BufferView.C: make painter() const,
3287 * BufferView2.C: use screen() accessor
3290 * lyx_main.C: some minor cleanup
3292 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3294 * BufferView_pimpl.h:
3295 * BufferView_pimpl.C: remove enter/leaveView,
3298 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3303 * BufferView_pimpl.h:
3304 * BufferView_pimpl.C: only construct screen once,
3307 * lyxrc.C: remove pointless comment
3309 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3312 * BufferView.C: remove active() and belowMouse()
3314 * BufferView_pimpl.h:
3315 * BufferView_pimpl.C: use workarea() not workarea_,
3316 and make it use a scoped_ptr instead
3318 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3320 * lyx_gui.C: add debug message on BadWindow
3322 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3324 * sp_spell.C: fdopen is not part of the C++ standard.
3326 * paragraph.C (InsetIterator): use >= instead of ==
3328 2002-06-07 Angus Leeming <leeming@lyx.org>
3330 Fixes needed to compile with Compaq cxx 6.5.
3331 * BufferView_pimpl.C:
3338 * lyxtextclasslist.C:
3343 all c-library variables have been moved into namespace std. Wrap
3344 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3349 Add a using std::abs declaration.
3351 * kbmap.h (modifier_pair):
3352 * paragraph.h (InsetTable, InsetList):
3353 * lyxfont.h (FontBits):
3354 type definition made public.
3356 * bufferlist.C (emergencyWriteAll): the compiler complains that
3357 there is more than one possible lyx::class_fun template to choose from.
3358 I re-named the void specialisation as lyx::void_class_fun.
3360 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3362 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3363 the compiler is is unable to find tostr in write_attribute.
3365 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3367 * buffer.C (sgmlError): hide #warning
3369 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3371 * xtl/*: get rid of xtl, which is not in use anyway
3373 * LyXAction.C (init):
3374 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3375 were unimplemented xtl experimentation
3377 2002-06-04 André Pönitz <poenitz@gmx.net>
3379 * lyxfunc.C: disable array operation on simple formulae
3381 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3383 * converter.C: constify a bit
3385 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3387 * lyx_gui.C: check xforms version correctly
3389 2002-04-30 Herbert Voss <voss@lyx.org>
3391 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3394 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3396 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3397 attempt to register it with a VCS)
3399 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3401 * lyx_main.C (init): honor variables LYX_DIR_13x and
3404 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3408 * lyx_main.C: fix a crash on bad command line,
3409 and give a useful exit status on error
3411 * lyxfunc.C (doImport): allow -i lyx to work
3413 2002-03-30 André Pönitz <poenitz@gmx.net>
3415 * lyxfunc.C: mathed font changes
3417 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3432 * trans_mgr.h: srcdocs, and some minor cleanups
3434 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3436 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3437 call getFont all the time)
3439 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3441 * switch from SigC signals to boost::signals
3443 2002-05-29 André Pönitz <poenitz@gmx.net>
3445 * paragraph_pimpl.C (getChar): don't call size() too often...
3447 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3449 * paragraph_pimpl.C (insertChar): do not try to update tables when
3450 appending (pos == size())
3452 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3453 in order to reduce drastically the number of comparisons needed to
3454 parse a large document
3456 2002-05-29 André Pönitz <poenitz@gmx.net>
3462 * textclasslist.[Ch]:
3463 * sp_ispell.h: whitespace change
3465 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3467 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3468 lyxaction directly now.
3470 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3474 * lyxvc.C: remove unused headers
3476 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3483 * undo_funcs.C: some cleanups. Use shared_ptr
3484 and a template for the undo stacks.
3486 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3488 * BufferView_pimpl.h:
3489 * BufferView_pimpl.C:
3496 * text2.C: use key_state/mouse_state
3498 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3500 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3503 * chset.C: change include order
3504 (loadFile): use boost regex and get rid of LRegex and LSubstring
3506 * Makefile.am (BOOST_LIBS): new variable
3509 * LaTeX.C: change include order.
3510 (scanAuxFile): use boost regex and get rid of LRegex and
3514 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3519 * FontInfo.C: moved to frontends/xforms/
3522 * FontLoader.C: moved into frontends for GUIIzation
3527 * lyxfunc.C: changes from above
3529 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3531 * LColor.C: remove spurious X include
3533 * BufferView_pimpl.C:
3538 * text2.C: move font metrics to frontends/
3540 2002-05-24 Juergen Vigna <jug@sad.it>
3542 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3543 setting the undo_cursor.
3545 * ParagraphParameters.h: include local includes first.
3547 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3549 * BufferView_pimpl.C:
3550 * BufferView_pimpl.h:
3554 * screen.C: move WorkArea into frontends/
3560 * BufferView2.C: move LyXScreen into frontends/
3564 * lyx_gui.C: move lyxlookup into frontends/xforms/
3566 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3569 * BufferView_pimpl.C:
3579 * bufferview_funcs.C:
3592 * vc-backend.C: move LyX/XFormsView into frontends/
3594 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3606 * text2.C: move Painter to frontends/
3608 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3610 * buffer.C: comment out some some code that depend upon lyx_format
3613 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3614 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3616 * buffer.h (NO_COMPABILITY): turn off compability
3618 * ColorHandler.C: include scoped_array.hpp
3620 * font.C: Use more specific smart_ptr header.
3623 * ShareContainer.h: ditto
3627 * BufferView_pimpl.h: ditto
3628 * ColorHandler.h: ditto
3630 * kbmap.C (defkey): change call to shared_ptr::reset
3632 2002-05-21 Juergen Vigna <jug@sad.it>
3634 * buffer.C (insertErtContents): fix to insert ert asis if it is
3635 non empty. Skip it completely if it contains only whitespaces.
3637 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3639 * BufferView_pimpl.C:
3640 * BufferView2.C: clear selection on paste (bug 393)
3642 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3644 * DepTable.C: include ctime
3646 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3648 * buffer.C (latexParagraphs): Add new argument (moving_arg).
3650 2002-05-14 Juergen Vigna <jug@sad.it>
3652 * text.C (breakParagraph): fixed function to honor the keepempty
3653 layout in the right maner and also to permit the right breaking
3654 algorithm on empty or non empyt keepempty paragraphs.
3656 * paragraph.C (breakParagraph): we have to check also if the par
3657 is really empty (!size()) for isempty otherwise we do the wrong
3660 2002-05-10 Juergen Vigna <jug@sad.it>
3662 * buffer.[Ch] : The following are only changes to the ert
3663 compatibility read reading old LaTeX layout and font stuff and
3664 convert it to ERTInsets.
3666 * buffer.h: added isErtInset().
3668 * buffer.C (struct ErtComp): add a fromlayout bool to check
3669 if we're inside a LaTeX layout.
3670 (isErtInset): new helper function.
3671 (insertErtContents): look for other ert insets before this one
3672 and insert the contents there, so that we don't have subsequent
3673 ERT insets with nothing between them. This way we create only one
3674 inset with multiple paragraphs. Also check if we don't insert only
3675 spaces ' ' as they are ignored anyway afterwards in the .tex file
3676 so if we have only spaces we will ignore this latex part in the
3678 (parseSingleLyXformat2Token \\layout): better compatibility when
3679 reading layout-latex stuff.
3680 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3682 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3683 stuff after reading the inset only get the information back from
3686 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
3688 * buffer.C (makeLaTeXFile): Put language options after loading babel.
3690 * LaTeXFeatures.C (getBabelOptions): New method.
3692 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3694 * BufferView_pimpl.C (Dispatch): work around missing argument for
3697 2002-05-08 Juergen Vigna <jug@sad.it>
3699 * text.C (leftMargin): handle paragraph leftindent.
3701 * paragraph.C (writeFile): write the new \\leftindent tag.
3702 (validate): handle leftindent code.
3703 (TeXEnvironment): handle paragraphleftindent code again.
3705 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3707 * buffer.C (parseSingleLyXformat2Token): added compatibility code
3708 for paragrap_extra indent code and new token \\leftindent.
3709 (latexParagraphs): handle the leftindent as environment.
3711 * ParameterStruct.h: added leftindent support.
3713 * ParagraphParameters.C (leftIndent): added support functions for
3714 the paragraph left indent.
3716 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
3719 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3721 * paragraph.C (isRightToLeftPar): Return false for a paragraph
3724 * text.C (computeBidiTables): No bidi in insetERT.
3726 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
3729 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3731 * version.C.in: pre 5
3733 2002-05-02 José Matos <jamatos@fep.up.pt>
3734 * buffer.C (makeDocBookFile): white space changes, add newline to
3736 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
3738 * tabular.C (docBook): fix typo.
3740 2002-05-03 Juergen Vigna <jug@sad.it>
3742 * screen.C (drawFromTo): recalculate the rowpointer if we had a
3743 change in LyXText as we can not be sure it was not freed.
3744 (drawOneRow): remove unused code.
3746 * text.C (drawInset): redo the calculation of the need_break_row as
3747 it could have a row which was already freed.
3748 (draw): look at the return value of drawInset and return false if
3749 it also returned false.
3750 (paintRowText): look at the return value of draw and return false if
3751 it also returned false.
3753 * lyxtext.h: added bool return type to drawInset() and draw() so that
3754 if we have a change in the row so that the rowbreak has to be redone
3755 we abort drawing as it will be called again.
3757 2002-05-02 Juergen Vigna <jug@sad.it>
3759 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
3760 a change in the maintext also if we're inside an inset.
3761 (Dispatch): set the cursor again after a break line and after the
3762 screen has been updated as it could be we're in a different row.
3764 * text2.C (fixCursorAfterDelete): check to make sure we don't request
3765 to set the cursor behind the pargraph with > size().
3766 (setCursor): check also for the same paragraph when checking where
3767 to put the cursor if we have a NFR inset.
3769 * buffer.C (parseSingleLyXformat2Token): move the compatibility
3770 parts of layout read further up as it still was in the wrong
3773 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3775 * screen.C (drawFromTo): change sine fullRebreak always return
3778 * buffer.C (parseSingleLyXformat2Token): reindent some
3780 * BufferView_pimpl.C (update): change since fullRebreak always
3782 (Dispatch): git rid of the last hardcoded "Standard"s.
3784 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3786 * text2.[Ch] (fullRebreak): make it return void now that we always
3789 2002-04-30 Juergen Vigna <jug@sad.it>
3791 * buffer.C (parseSingleLyXformat2Token): reset the font before the
3792 ert compatibility check for "latex" layout.
3794 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
3796 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3797 minipages: use col% instead of p%, and also use the current font.
3798 (makeLaTeXFile): Fix use babel condition.
3799 (parseSingleLyXformat2Token): Correct font when reading old floats.
3801 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3803 * BufferView_pimpl.C (Dispatch): Check that float type exists when
3804 inserting list of floats.
3806 2002-04-25 Herbert Voss <voss@lyx.org>
3808 * MenuBackend.C (expand): don't add the graphics extensions to the
3811 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3813 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3814 non-existing layout, do not complain if it was the default layout
3815 of the original class (bug #342)
3817 2002-04-24 Juergen Vigna <jug@sad.it>
3819 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3820 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3822 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3824 * buffer.C (getBibkeyList): If using \bibliography, return the
3825 option field with the reference itself. Enables us to provide natbib
3826 support when using \bibliography.
3828 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
3830 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3832 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3833 natbib is provided by the LaTeX class.
3835 2002-04-23 Juergen Vigna <jug@sad.it>
3837 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3840 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3842 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3844 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3846 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3847 ensuremath around textordmasculine, textordfeminine and
3850 2002-04-19 Juergen Vigna <jug@sad.it>
3852 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3853 reinitializing the buffer otherwise row-dimensions may be wrong.
3854 (update): reset also the selection cursors if they do exits otherwise
3855 their x/y positions may be wrong.
3857 * text2.C (cursorDown): don't enter the inset if we came from a row
3858 above and are one row over the inset.
3860 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3861 really leaving an inset.
3863 2002-04-18 Juergen Vigna <jug@sad.it>
3865 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3866 of the selected paragraph does not have the selected layout also if
3869 * text2.C (setLayout): fixed bug which did not change last selected
3872 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3873 changed the read and substituted \\end_float with \\end_inset!
3875 * BufferView_pimpl.C (cursorPrevious):
3876 (cursorNext): fixed to make it work with rows heigher than the work
3877 area without moving the cursor only the draw of the row.
3878 (workAreaMotionNotify): fix jumping over high rows.
3880 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3882 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
3885 2002-04-16 Juergen Vigna <jug@sad.it>
3887 * text2.C (setCursor): set also the irow().
3888 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
3890 (cursorDown): support for locking an inset if the x_fix value goes
3891 inside it. That way I can transverse insets too with cursor up/down.
3893 * lyxrow.h: added irow helper function same as other (i) functions.
3895 * BufferView_pimpl.C (cursorPrevious):
3896 (cursorNext): fixed for insets!
3898 2002-04-15 Juergen Vigna <jug@sad.it>
3900 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
3901 position otherwise it is wrong in some cases.
3903 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
3904 inside the inset before the call.
3906 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3908 * buffer.[Ch] (getBibkeyList): make it const.
3910 2002-04-12 Juergen Vigna <jug@sad.it>
3912 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
3914 * text2.C (getCursorX): new helper function
3915 (setCursor): compute also ix_
3916 (setCursorFromCoordinates): set also ix.
3918 * lyxcursor.h: added ix_ and helper functions.
3920 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
3922 * buffer.C (insertStringAsLines): dont break paragraph if the this
3923 paragraph is inside an inset which does not permit it!
3925 * text.C (breakParagraph): honor keepempty flag and break the paragraph
3926 also with no chars on this paragraph.
3927 (paintRowText): only paint stuff if it's inside the workarea!
3929 * paragraph.C (breakParagraph): honor keepempty flag and break the
3930 paragraph always below not above.
3932 * BufferView2.C (unlockInset): update the paragraph layout on inset
3933 unlock as we changed paragraph in such a case.
3935 * lyxfind.C (LyXFind): clear the former selection if not found!
3937 * text2.C (insertInset): freeze Undo after setUndo so that it is not
3938 again called in insertChar().
3940 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
3941 an inset which uses the whole row!
3942 (rightMargin): ditto.
3943 (insertChar): force a rebreak if we inserted an inset!
3945 2002-03-28 Herbert Voss <voss@lyx.org>
3947 * lyxlength.[Ch]: add inBP() to get the right PS-point
3948 units (BigPoint). With inPixels we have rounding errors
3950 2002-04-11 Juergen Vigna <jug@sad.it>
3952 * text2.C (setCursorFromCoordinates): set iy to the right value.
3953 (setCursor): add check if row->previous exists!
3955 * buffer.C (parseSingleLyXformat2Token): reset font after read of
3956 an old float_type as this was the case in the old code!
3958 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
3960 * BufferView2.C (showLockedInsetCursor): use iy
3961 (fitLockedInsetCursor): ditto
3963 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
3964 locked insets as there we have the right value now.
3966 * lyxcursor.C: added iy_ variable and iy functions to set to the
3967 baseline of cursor-y of the locked inset.
3969 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
3970 (setCursor): fixed for insets which need a full row.
3972 * text.C (rowLastPrintable): don't ignore the last space when before
3973 an inset which needs a full row.
3974 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
3975 as last character of a row when before a inset which needs a full row.
3977 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3979 * version.C.in: update date
3981 * text2.C (fullRebreak): try to always return true and see what
3984 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3986 * MenuBackend.C (expand): use Floating::listName
3988 * FloatList.C (FloatList): add listName argument to the built-in
3991 * Floating.[Ch]: add listName member, which is the 'List of XXX'
3992 text associated with the float.
3994 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3996 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
3998 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4000 * ShareContainer.h: add a couple of missing typenames.
4002 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
4004 * lyxrc.C (getDescription): use _() correctly rather than N_().
4006 2002-03-28 Herbert Voss <voss@lyx.org>
4008 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
4009 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
4011 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4013 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
4014 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
4016 2002-03-29 Juergen Vigna <jug@sad.it>
4018 * lyxfunc.C (dispatch): add a missing fitCursor call.
4020 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
4021 it was scrolled by a cursor move, so return the bool status.
4023 * BufferView.C (fitCursor): return the bool flag also to the outside
4024 world as this is needed.
4026 * screen.C (toggleToggle): don't subtract the offset if it's positive.
4028 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
4029 call the edit() as it is not needed (and wrong) IMO.
4030 (workAreaButtonPress): set the screen_first variable before evt.
4031 unlock the inset as this may change screen_first and then we have
4032 a wrong y position for the click!
4034 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4036 * MenuBackend.C (expand): another translation that I missed
4038 2002-03-28 Juergen Vigna <jug@sad.it>
4040 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4042 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4044 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4046 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4048 * MenuBackend.C (expand): fix export/view/update when there is no
4051 2002-03-27 Herbert Voss <voss@lyx.org>
4053 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4056 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4058 * bufferview_funcs.C (currentState): only show paragraph number
4059 for is DEVEL_VERSION is set.
4061 * lyxfunc.C (dispatch): put warning in INFO channel
4063 * MenuBackend.C (expand): translate the name of floats
4065 * FloatList.C (FloatList): mark the float names for translation
4067 * converter.C (convert): use LibScriptSearch
4069 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4071 * MenuBackend.C (defaults): fix default menu (we might as well get
4074 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4076 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4079 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4081 * lyxvc.C: reorder includes.
4083 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
4085 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4088 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
4090 * CutAndPaste.C: change layouts earlier on paste
4091 to avoid crashing when calling getFont()
4093 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4095 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4098 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4100 * WorkArea.C: remove 'Pending' debug message.
4102 * most files: ws cleanup
4104 * buffer.[Ch]: ws changes
4106 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
4108 2002-03-21 Juergen Vigna <jug@sad.it>
4110 * tabular.C (SetMultiColumn): collapse also the contents of the
4111 cells and set the last border right. Added a Buffer const * param.
4113 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4115 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
4118 2002-03-19 Juergen Vigna <jug@sad.it>
4120 * text2.C (clearSelection): reset also xsel_cache.
4122 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
4123 where it needs to be called (John tells us to do so too :)
4124 (selectionLost): reset sel_cache.
4126 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
4128 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4130 * text2.C (setCursorIntern): put debuging code in INSETS channel
4132 2002-03-19 André Pönitz <poenitz@gmx.net>
4134 * lyxfunc.C: tiny whitespace change
4136 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4138 * ToolbarDefaults.C (init):
4139 * LyXAction.C (init):
4141 * BufferView_pimpl.C (Dispatch):
4142 * lyxfunc.C (dispatch): remove LFUN_DEPTH
4144 2002-03-19 Allan Rae <rae@lyx.org>
4146 * exporter.C (Export): removeAutoInsets before doing anything else.
4147 While I've just introduced a dependency on BufferView this really is
4148 the best place to clean the buffer otherwise you need to cleanup in
4149 a dozen places before calling export or cleanup in a dozen functions
4152 * converter.C (runLaTeX):
4153 (scanLog): Better handling of removeAutoInsets and screen updates.
4155 * lyxfunc.C (dispatch): small whitespace changes
4157 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4159 * WorkArea.C (C_WorkAreaEvent): return a value.
4160 (event_cb): return 1 if we handled the event, 0 otherwise.
4162 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4164 2002-03-18 Juergen Vigna <jug@sad.it>
4166 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4167 (GetAdditionalWidth): ditto.
4171 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4172 inset if we're there actually (probably not used right now but this
4173 is the direction to go for unifying code).
4174 (paste): disable code to clear the selection.
4176 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4177 inside an InsetText and move the check further up as it is in the
4180 * text2.C (pasteSelection): set a selection over the pasted text.
4182 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4184 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4185 and libgraphics to build on Cygwin.
4187 2002-03-15 Juergen Vigna <jug@sad.it>
4189 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4190 inserting an Inset into the paragraph. I know this is not the best
4191 fix but we already use current_view in CutAndPaste so we will remove
4192 all of it's using at the same time.
4194 * buffer.C (sgmlError): deactivated function till it is rewritten in
4195 the right mode, now it can create problems.
4197 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4198 before accessing it.
4200 2002-03-14 Juergen Vigna <jug@sad.it>
4202 * undo_funcs.C (textHandleUndo): do the right thing when updating
4203 the inset after the undo/redo.
4205 * text2.C (setCursor): just some testcode for #44 not ready yet.
4207 * undo_funcs.C (textHandleUndo): set the next() and previous()
4208 pointers of the paragraph to 0 before deleting otherwise we have
4209 problems with the Paragraph::[destructor].
4211 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4212 on a paragraph insertion.
4214 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4216 * buffer.C (asciiParagraph): use += operator for char append to
4219 * paragraph.C (getFontSettings): compare >= not just >
4220 (highestFontInRange): ditto
4223 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4225 * paragraph.C: change several algorithm to be more appripriate for
4226 the problem domain. This is lookip in FontList and in the InsetList.
4228 2002-03-13 André Pönitz <poenitz@gmx.net>
4231 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4233 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4238 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4240 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4242 * Painter.C (display): anon helper function, adjust code for this
4244 (pixmap): remove function.
4246 * Painter.h: remove private display variable.
4248 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4250 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4252 * WorkArea.[Ch]: remove figinset_canvas cruft.
4254 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4256 * lyxtextclass.C (operator): add one item cache optimization.
4258 * bufferlist.h: doxy changes
4260 * bufferlist.C: ws changes
4262 * DepTable.[Ch] (ext_exist): place const in the right spot.
4264 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4266 (workAreaExpose): call resizeInsets when the with BufferView changes.
4267 (Dispatch): adjust for protectedBlank removal
4268 (specialChar): call updateInset if the insert went ok.
4270 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4271 specialChar instead.
4273 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4275 * BufferView.h: doxy change
4277 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4279 * lyxtextclass.C (operator[]): remove non-const version
4280 (defaultLayout): remove non-const version
4282 2002-03-12 Juergen Vigna <jug@sad.it>
4284 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4285 did resize the LyXText too.
4287 * buffer.C (readLyXformat2): set layout information on newly allocated
4290 * tabular.C (OldFormatRead): set layout information on the paragraph.
4292 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4294 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4296 2002-03-11 Juergen Vigna <jug@sad.it>
4298 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4300 (resizeCurrentBuffer): force also the insets to resize themselfes.
4301 (moveCursorUpdate): fixed up for InsetText.
4303 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4306 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4307 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4308 value of Dialogs::tooltipsEnabled().
4309 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4311 2002-03-08 Juergen Vigna <jug@sad.it>
4313 * BufferView_pimpl.C (updateInset): update inset inside inset also
4314 if it isn't inside theLockingInset().
4316 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4318 * buffer.C (asciiParagraph): redo some of the word and line length
4320 (getLists): look for Caption instead of caption.
4322 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4324 * buffer.C (Buffer): initialize niceFile to true
4327 (makeDocBookFile): make sure niceFile is true on exit
4329 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4331 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4333 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4335 * LyXSendto.C: remove.
4336 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4337 * lyx_gui.C: remove now-redundant comment.
4338 * ColorHandler.h: remove forward declaration of class WorkArea.
4339 * lyxfunc.C: remove #include "WorkArea.h".
4341 2002-03-07 Juergen Vigna <jug@sad.it>
4343 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4344 got moved away with the DEPM and also set the inset_owner always
4345 right which before could have been omitted.
4347 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4349 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4350 wanted layout is not found.
4352 2002-03-07 Juergen Vigna <jug@sad.it>
4354 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4356 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4358 * paragraph.C (breakParagraph): use default layout not layout of
4360 (Paragraph): clear ParagraphParameters.
4362 2002-03-06 Juergen Vigna <jug@sad.it>
4364 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4365 otherwise it would not be a valid lenght. Fixed a special case in
4366 the minipage compatibility read where we end the document with a
4369 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4370 was set as it could be 0 for InsetTexts first entry.
4372 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4374 * paragraph.C (writeFile): if layout is empty write out
4375 defaultLayoutName().
4377 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4378 file without named layout we set layout to defaultLayoutName().
4380 2002-03-06 Juergen Vigna <jug@sad.it>
4382 * CutAndPaste.C (copySelection): set layout for new paragraph.
4384 * text.C (prepareToPrint): leave ERT inset left aligned
4385 (leftMargin): don't indent paragraphs inside ERT insets
4387 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4389 * paragraph.C (breakParagraph): dont call clear do the work manually
4391 * paragraph.[Ch] (clear): remove function
4393 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4395 * paragraph.C (Paragraph): dont call clear, the work has already
4398 * lyxtextclass.C (operator): assert if n is empty
4400 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4401 work manually instead.
4403 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4405 * BufferView_pimpl.C: protect selectionLost against text == 0
4407 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4409 * text.C (breakParagraph): fix a setting layout to '0' problem.
4411 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4413 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4414 final location of file, for the included files, and graphics.
4416 2002-03-05 Juergen Vigna <jug@sad.it>
4418 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4420 2002-03-04 Juergen Vigna <jug@sad.it>
4422 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4424 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4425 last column of multicolumn cells.
4426 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4428 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4430 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4431 file if it doesn't go to a temporary file.
4433 * buffer.C (sgmlOpenTag):
4434 (sgmlCloseTag): remove extra newline insertion.
4436 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4438 * text.C (getRowNearY): comment out debug msg
4440 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4442 * text2.C: first -> first_y
4444 * text.C (getRowNearY): add some attemts at a possible
4445 optimization, not working.
4447 * tabular.[Ch]: add BufferParams to several function so that newly
4448 created paragraph can be initialized to he default layotu for the
4451 * tabular-old.C (ReadOld): add buf->params to call of Init
4453 * screen.C: rename text->first to text->first_y
4455 * paragraph.C (breakParagraph): always set layout in the broken
4458 * lyxtextclass.C (Read): remove lowercase
4461 (delete_layout): ditto
4463 * lyxtext.h: rename first -> first_y
4465 * lyxlayout.C (Read): remove lowercase
4468 (obsoleted_by): ditto
4470 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4472 * buffer.C (insertErtContents): add params are to InsetERT
4473 (parseSingleLyXformat2Token): add code to check if a paragraphs
4474 layout really exist.
4475 (parseSingleLyXformat2Token): add params to several inset
4477 (asciiParagraph): remove lowercase, do the layout comparisons with
4480 * BufferView_pimpl.C (cursorNext): first -> first_y
4481 (resizeCurrentBuffer): first -> first_y
4482 (updateScrollbar): first -> first_y
4483 (scrollCB): first -> first_y
4484 (workAreaMotionNotify): first -> first_y
4485 (workAreaButtonPress): first -> first_y
4486 (checkInsetHit): first -> first_y
4487 (cursorPrevious): first -> first_y
4488 (cursorNext): first -> first_y
4489 (Dispatch): add buffer_->params to severl inset contructors
4491 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4493 * lyxlayout.C (Read): remove some debug info that I forgot.
4495 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4496 clean up the code slightly.
4497 (makeLinuxDocFile): ditto
4498 (makeDocBookFile): ditto
4500 * text2.C: layout as string
4502 * text.C: layout as string
4504 * paragraph_pimpl.C: layout as string
4506 * paragraph.[Ch]: layout as string
4508 * lyxtextclasslist.[Ch]: layout as string
4510 * lyxtextclass.[Ch]: layout as string
4512 * lyxtext.h: layout as string
4514 * lyxlayout.[Ch]: layout as string
4516 * lyx_cb.C: layout as string
4518 * bufferview_funcs.C: layout as string
4520 * bufferparams.C: layout as string
4522 * buffer.C: layout as string
4524 * LyXView.[Ch]: layout as string
4526 * LaTeXFeatures.[Ch]: layout as string
4528 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4530 * BufferView_pimpl.C: change current_layout to string, remove
4535 (workAreaButtonRelease): layout as string
4537 * BufferView2.C (unlockInset): adjust
4539 * vspace.C (asLatexCommand): use an explict temp variable.
4541 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4543 * Makefile.am: use FRONTEND_*
4545 2002-03-01 Juergen Vigna <jug@sad.it>
4547 * tabular.C (SetWidthOfMulticolCell): changed to something better
4548 I hope but still work in progress.
4549 (recalculateMulticolumnsOfColumn): renamed function from
4550 recalculateMulticolCells as it is more appropriate now.
4551 (SetWidthOfCell): calculate multicols better.
4553 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4555 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4557 * lyxfunc.C (processKeySym): print sequence also if it is
4558 `deleted' (complete)
4560 * kbsequence.C (print): print sequence even if it is deleted
4561 (complete would be a better word, actually).
4563 * lyxfunc.C (dispatch): print complete options after a prefix key
4565 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4567 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4569 * text2.C (setCharFont): eliminate setCharFont code duplication.
4571 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4573 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4574 LFUN_TABULAR_FEATURE (bug #177)
4576 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4578 * Makefile.am: remove figure.h
4580 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4582 * Bufferview_pimpl.C:
4594 * text2.C: remove #include "lyx_gui_misc.h".
4596 * LaTeX.C: added #include <cstdio>
4598 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4600 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4601 that the paragraph following this one can have.
4603 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4605 * vspace.C (asLatexCommand): fix bogus gcc warning
4607 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4609 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4611 * text2.C (setLayout): get rid of redundant code
4613 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4615 * text2.C (incDepth): make sure depth cannot be increased beyond
4618 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4620 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4621 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4623 * PainterBase.h (image):
4624 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4627 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4631 * BufferView_pimpl.C:
4632 * BufferView_pimpl.h:
4652 * sp_spell.C: remove fig inset, and the crap house of
4653 cards that follows it
4655 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4661 * nt_defines.h: move .h into support/
4663 * vms_defines.h: remove
4665 * WorkArea.C: add space in debug output
4669 * buffer.C: add WITH_WARNINGS
4673 * bufferlist.C: s/retrive/retrieve/, add docs
4684 * lyxgui.C: add ID to X error handler
4686 * lyxtestclass.c: fix typo
4688 2002-02-26 Juergen Vigna <jug@sad.it>
4690 * tabular_funcs.C (write_attribute): changed so that some default
4691 attributes are not written at all.
4692 (getTokenValue): set default values before trying to read the
4693 value so we have the return value always set as default if we don't
4694 find the token we search for.
4696 * tabular.C (Write): write bools as bools not as strings!
4698 2002-02-22 Juergen Vigna <jug@sad.it>
4700 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4701 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4703 * text.C (leftMargin): don't add an indent for paragraphs inside
4704 tabular cells (fix #208).
4706 2002-02-21 José Matos <jamatos@fep.up.pt>
4708 * tabular.C (docBook): fixed support for long tables.
4710 2002-02-20 Juergen Vigna <jug@sad.it>
4712 * text2.C (getFont): get the drawing font of the Inset if this
4713 paragraph is inside an inset (only important for InsetERT for now).
4715 * buffer.C (insertErtContents): use new lanugage params in ERT
4718 * CutAndPaste.C: commenting out seemingly uneeded code.
4720 2002-02-19 Allan Rae <rae@lyx.org>
4722 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
4723 Iterators might be simple to use but they also get invalidated.
4724 (removeAutoInsets): renamed saved cursor tracking variables and added
4725 some comments to clarify what everything does.
4727 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4734 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
4735 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4738 * vc-backend.h: remove #include "support/syscall.h"
4742 * converter.C: rearrange #includes in Lars' approved fashion.
4744 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
4745 forward declare class Timeout in the header file.
4747 * XFormsView.C: changes due to the above.
4749 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
4752 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
4753 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
4755 2002-02-18 José Matos <jamatos@fep.up.pt>
4757 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
4760 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4762 * a lot of small ws changes
4763 * add a lot of using std::XXX
4764 * use std construcs some places where approp.
4765 * use some exisint stuff from lyxfunctional where approp.
4766 * Make file changes to use partial linking (lets test this now...)
4768 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4772 remove #include "support/syscontr.h" as it's redundant. Always has been.
4780 change Systemcalls::System to Systemcalls::Wait and
4781 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4782 No change of functionality, just reflects the stripped down Systemcalls
4785 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4787 * debug.[Ch]: add a GRAPHICS type to the enum.
4789 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4791 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4793 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4796 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4798 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4799 match the changes below.
4801 * text2.C (toggleInset): if there is not editable inset at cursor
4802 position, try to see if cursor is _inside_ a collapsable inset
4805 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4807 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4808 document menu has a nice checkbox
4810 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4812 * lyxlength.C (asLatexString): change PW to output as percent of
4815 * lengthcommon.C: change '%' to 't%'
4817 * lyxfunc.C (dispatch): a few comments from Martin
4819 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
4823 * BufferView_pimpl.h:
4824 * BufferView_pimpl.C: clear our selection when X tells us we've lost
4827 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4829 * vspace.C (inPixels): fix compiler warning
4831 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4833 * lyxfunc.C (getStatus): fix status message for disabled commands.
4835 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
4837 * BufferView_pimpl.C: fix crash on close buffer
4838 during selection (#227)
4840 2002-01-27 Herbert Voss <voss@lyx.org>
4842 * buffer.C: link old Figure to new graphic inset
4844 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
4846 * FontLoader.C (getFontinfo): Change the latex font names in order
4847 to match the names of type1inst.
4849 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4851 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4853 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4856 (remove_files_with_extension): ditto
4857 (remove_file): ditto
4860 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4861 document is smaller than the work area height. Do not initialize
4862 static variables to 0.
4864 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4866 * lyx_gui.C (init): give the toolbar tooltips a normal font.
4868 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4869 LFUN_LAYOUT_PARAGRAPHS.
4871 * tabular.C (GetCellFromInset): new method. Finds an inset in a
4872 tabular. It is possible to provide a possible cell, which will
4873 typically be the actcell from the corresponding insettabular
4875 * lyxfunc.C (getStatus): small cleanup; disable
4876 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4879 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4881 * tabular.C (Validate): remove broken optimization (fixes bug #201)
4883 * paragraph.C (startTeXParParams):
4884 (endTeXParParams): new methods. The LaTeX code to
4885 start/end paragraph formatting
4886 (simpleTeXOnePar): call startTeXParParams also when paragraph is
4887 empty (fixes bug #200)
4889 * vspace.C (inPixels): adapt to the change below
4890 (inPixels): [later] more cleanups (remove unused variables)
4892 * lyxlength.C (inPixels): change to use a width and a height as
4895 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4897 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
4898 Replaced with \paperwidth
4900 * DepTable.C (insert): add std:: qualifier
4902 2002-01-18 Allan Rae <rae@lyx.org>
4904 * text2.C (removeRow): add comment. Should other refresh_?? vars be
4907 * text.C (drawInset): Turned out I didn't know enough about how
4908 rebreaking worked. This fixes most of the redraw problems. I see
4909 an occasional cursor trail when a line is broken now and the cursor
4910 placement can seem out by a few pixels also after a rebreak.
4912 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4914 * buffer.C (parseSingleLyXformat2Token): update because minipage
4915 width is now a LyXLength
4917 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
4919 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
4922 2002-01-17 Juergen Vigna <jug@sad.it>
4924 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
4926 * BufferView2.C (lockInset): call edit() so that theLockingInset()
4927 is set correctly and the inset is updated correctly.
4929 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4931 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
4932 the beginning of the loop.
4934 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
4936 * lyxrc.C: improve help for use_scalable_fonts
4938 2002-01-17 Allan Rae <rae@lyx.org>
4940 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
4942 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4944 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
4945 make sure to set their inset_owner to the right value (bug #171)
4947 2001-12-12 Ben Stanley <bds02@uow.edu.au>
4950 * DepTable.C: Implement mtime checking to reduce time spent doing
4953 2002-01-16 Juergen Vigna <jug@sad.it>
4955 * tabular.C (GetAdditionalHeight): one of error fixed.
4957 * lyxrc.C (output): small fix in writing use_pspell.
4959 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
4961 * sp_base.h: #include LString.h
4963 2002-01-16 Allan Rae <rae@lyx.org>
4965 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
4966 Can someone check this please?
4968 * text.C (drawInset): It was possible that p.row would be removed by
4969 breakAgainOneRow upsetting a few other settings. There may be another
4970 small tweak possible by setting need_break_row = 0 when p.row has been
4971 removed but I don't know enough about the logic here.
4973 2002-01-15 Allan Rae <rae@lyx.org>
4975 * text.C (insertChar): removed conditional truism.
4977 * BufferView2.C (removeAutoInsets): More tweaks.
4978 cur_par_prev could be a stray pointer. Check for trailing empty line
4979 in case last line was cur_par and only had an error inset on it.
4981 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4983 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
4986 * vc-backend.C (most methods):
4987 * exporter.C (Export):
4988 * converter.C (convert):
4990 * LyXSendto.C (SendtoApplyCB):
4991 * lyxfunc.C (dispatch):
4995 * lyx_cb.C (AutoSave):
4997 * BufferView_pimpl.C (MenuInsertLyXFile):
4998 * buffer.C (runChktex): use Buffer::filePath().
5000 * buffer.h: rename filename to filename_; rename filepath to
5001 filepath_ and make it private
5002 (filePath): new method
5004 * buffer.C (writeFile): use fileName()
5007 * lyx_main.C (init): fix starting of LyX when the binary is a
5008 link from so,ewhere else.
5010 * minibuffer.C: include <cctype> for isprint
5012 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5014 * buffer.C (parseSingleLyXformat2Token): changes associated with the
5015 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
5016 name clash with InsetCollapsable's width function.
5018 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5020 * lastfiles.C: include <iterator>
5022 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5024 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
5027 * buffer.C (makeLaTeXFile): ditto.
5028 Also make loop operation more transparent.
5030 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5032 * ToolbarDefaults.C: remove trailing comma closing namespace.
5034 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
5036 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5039 * trans.C (Load): comment out unused variable, allowed.
5041 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5043 * minibuffer.[Ch] (append_char): new method to recieve input from the
5044 drop-down completion browser. If a key was pressed, then recieve this
5045 char and append it to the existing string.
5046 (peek_event): modify the positioning data passed to the completion
5047 browser so that it can be placed above the minibuffer rather than below.
5048 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5050 * LyXAction.C (init): alloe error-next for readonly documents.
5052 * BufferView2.C (ChangeRefsIfUnique): use standard version of
5055 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5057 * bufferlist.C (readFile): create the buffer _after_ checking that
5060 * lyxfunc.C (verboseDispatch): fix handling of arguments
5062 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5064 * lyxrc.C: use string::erase() instead of initializing to "".
5067 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5069 * BufferView_pimpl.h:
5070 * BufferView_pimpl.C:
5073 * text2.C: tell X when we have made a selection for copying
5075 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5077 * BufferView_pimpl.C (MenuInsertLyXFile):
5078 * lyxfunc.C (menuNew):
5080 (doImport): add shortcuts to directory buttons
5082 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5085 * lyxfunc.C (setStatusMessage):
5086 (getStatusMessage): new methods
5087 (getStatus):use setStatusMessage instead of setErrorMessage
5088 (dispatch): when function is disabled, set error message here
5089 [instead of in getStatus previously]
5091 * BufferView_pimpl.C (workAreaButtonRelease): update
5092 toolbar/menubar here too.
5094 2002-01-13 Allan Rae <rae@lyx.org>
5096 * BufferView2.C (removeAutoInsets): finished off earlier fix.
5097 Now seems indestructible. Remaining task is to audit all other
5098 code affected by deleteEmptyParagraphMechanism. One small quirk
5099 left is that an empty document with an error in the preamble can
5100 be made to report an error but no error box appears. I don't know
5102 (removeAutoInsets): Improved comments.
5104 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
5107 * Thesaurus.C: update for Aiksaurus 0.14
5109 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5111 * text2.C (firstParagraph): removed member function, all uses
5112 replaces with ownerParagraph
5113 (redoParagraphs): here
5115 (toggleAppendix): here
5116 * BufferView2.C (insertErrors): here
5117 (setCursorFromRow): here
5119 2002-01-13 Allan Rae <rae@lyx.org>
5121 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
5122 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
5123 There is still a way to segfault this although you may have to do this
5124 multiple times: Have an InsetERT with an unknown command in it.
5125 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
5126 <down-arrow>, <Enter> again, View->DVI, BANG!
5128 * text2.C (setCursor):
5129 (deleteEmptyParagraphMechanism):
5130 * lyxtext.h (setCursor):
5131 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5132 Making use of the return value may help fix other bugs.
5134 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5136 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5138 * LyXView.C (updateMenubar): call MenuBar::update here
5139 (updateToolbar): but not here
5140 (showState): do not update toolbar/menubar
5142 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5143 should need to care about that.
5145 * lyxfunc.C (verboseDispatch): simplify a bit
5146 (getStatus): have a version which takes a pseudoaction, and
5147 another which requires a (kb_action,string).
5149 * LyXAction.C (retrieveActionArg): make it work also when action
5150 is not a pseudo-action.
5151 (getActionName): simplify a bit
5154 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5156 * lyxfunc.C (verboseDispatch): new families of methods with
5157 several ways to specify a command and a bool to indicate whether
5158 the command name and shortcut should be displayed in minibuffer
5159 (eventually, we could extend that to a finer bitmask like
5160 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5161 (dispatch): the pristine dispatch command which just, well,
5162 dispatchs! Note it still sets its result to minibuffer; I'm not
5165 * lyxfunc.h: remove setHintMessage
5167 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5169 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5171 * BufferView_pimpl.C (specialChar): delete new inset if we have
5172 not been able to insert it.
5174 * kbmap.C: revert to using int instead of kb_action, since all we
5175 are dealing with is pseudo-actions.
5177 * LyXAction.C (searchActionArg): change to return int instead of
5178 kb_action, since the result is a pseudoaction.
5180 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5182 * buffer.C (insertErtContents): Fix (partially) the font bug.
5184 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5186 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5187 as the other one is broken on my machine!
5189 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5192 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5194 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5196 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5197 reflect their actual use. Provide compatibility code for older lyxrc
5200 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5202 change names of popup font variables in line with the changes to lyxrc.C
5204 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5206 * buffer.C (asciiParagraph): avoid outputing a word twice after
5209 * lyxrc.C (getDescription): document that document_path and
5210 template_path can be empty.
5212 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5214 * LaTeXFeatures.C (getMacros):
5215 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5217 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5219 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5221 (getPackages): rename feature "floats" to "float". Use an array to
5222 iterate over 'simple' features (i.e. just a \usepackage). Add
5223 handling of "amsmath" (renamed from "amsstyle").
5225 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5227 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5230 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5232 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5233 FuncStaus::FuncStatus & FuncStaus::some_method().
5235 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5237 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5238 of the func_satus stuff. Edited and massaged in various ways by
5241 * lyxfunc.C (getStatus): use FuncStatus
5243 2002-01-08 Juergen Vigna <jug@sad.it>
5245 * text.C (nextBreakPoint): use function Inset::isChar().
5247 * paragraph.C (TeXOnePar): use function
5248 Inset::forceDefaultParagraphs.
5250 * buffer.C (latexParagraphs): use function
5251 Inset::forceDefaultParagraphs.
5253 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5255 * lyx_gui.C (init): set the style of the menu popups to
5256 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5258 2002-01-07 Juergen Vigna <jug@sad.it>
5260 * text.C (setHeightOfRow): small fix
5261 (prepareToPrint): don't look at alignment if we don't have the place
5264 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5266 * box.C: New file. Move the Box methods and functions out of box.h,
5267 following Lars' suggestion.
5269 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5271 * box.h: #include "support/LOstream.h", needed for inlined function.
5274 * lyxtextclasslist.C: added some using std declarations.
5276 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5278 * box.h: make signed dimensions to allow insets wider than
5279 the screen (bug #162)
5281 * BufferView_pimpl.C: add some insetHit debug
5283 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5285 * vc-backend.C: add FIXME
5287 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5289 * lyxfunc.C (getStatus): enable code for showing math font status
5292 2002-01-07 Juergen Vigna <jug@sad.it>
5294 * text.C (nextBreakPoint): removed debug output not needed anymore.
5296 2002-01-06 Juergen Vigna <jug@sad.it>
5298 * text.C (nextBreakPoint): fixed up this function we had this bug
5299 since ever but now hopefully we break row better.
5300 (insertChar): we have to check if an inset is the next char as it
5301 could now happen that a large inset is causing a break.
5303 2002-01-05 Juergen Vigna <jug@sad.it>
5305 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5306 if it doesn't like to be drawed.
5308 2002-01-04 Juergen Vigna <jug@sad.it>
5310 * BufferView2.C (lockInset): forgot to set a cursor.
5312 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5314 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5319 * form_maths_panel.C:
5320 * form_maths_panel.h:
5321 * form_maths_panel.fd: implemented sub- and super- buttons in math
5324 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5325 (or ^ space) to be used as in TeX (req'd by André).
5327 * lyxfunc.C: Allow ^ and _ again to be used both as
5328 super/subscript (mathed) and as themselves (in text).
5330 2002-01-03 Allan Rae <rae@lyx.org>
5332 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5333 "LyX" or the filename of the current buffer if it has one. This is a
5334 modified form of John Levon's patch.
5336 * XFormsView.C (setWindowTitle): also set icon title.
5338 * LyXView.h (setWindowTitle): signature changed.
5339 * XFormsView.h (setWindowTitle): ditto.
5341 2002-01-02 Juergen Vigna <jug@sad.it>
5343 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5345 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5347 * screen.C (topCursorVisible): introduce a temp var for
5348 text->cursor.row(), handle the case where this row is null. (kindo
5351 * text2.C (setCursor): add a couple of asserts.
5353 * paragraph.h (inset_iterator): add -> operator
5355 * paragraph.[Ch] (autoDeleteInsets): remove member function
5357 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5358 cursor pos correctly and handle inset deletion by itself.
5359 (insertErrors): move iterator declaration out of for expression
5361 * lyxtextclass.C: add <algorithm>
5363 * Makefile.am: added the new files to sources, removed layout.C
5365 * layout.C: removed file
5367 * layout.h: remove LYX_DUMMY_LAYOUT
5369 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5373 * lyxtextclass.[Ch]:
5374 * lyxtextclasslist.[Ch]: new files
5376 * include order changes to a lot of files, also changes because of
5379 2001-12-27 Juergen Vigna <jug@sad.it>
5381 * buffer.C (asciiParagraph): more fixes.
5383 * tabular.C (ascii): make ascii export support export of only the
5384 data separated by a column-delimiter.
5385 (ascii): better support for ascii export.
5387 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5389 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5391 * tabular_funcs.C: use a "using std::getline" instead of the
5392 previous fix from Angus (necessary for cxx + lyxstring)
5394 2001-12-24 Juergen Vigna <jug@sad.it>
5396 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5398 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5399 problems. First check a minipage also if we have some ert-contents
5400 (not only on par->size(), second set the right depth of the paragraph
5401 on the relink to the root-paragraph-list!
5403 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5404 which then did not anymore update the main paragraphs on undo/redo!
5406 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5408 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5409 code. Support all font-changing funcs (even those which are not in
5410 menu currently). Support for reporting font settings in
5411 mathed (disabled until Andre provides a function on mathed's side).
5413 * func_status.h (toggle): small helper function to set toggle
5416 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5418 * tabular_funcs.C: getline -> std::getline
5420 2001-12-21 Juergen Vigna <jug@sad.it>
5422 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5423 accessed and could be 0 (I couldn't generate this but it seems
5426 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5428 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5429 * tabular_funcs.h: here and include iosfwd
5431 2001-12-20 Juergen Vigna <jug@sad.it>
5433 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5434 inside inset but undo_par was.
5436 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5438 * Thesaurus.C: always include <config.h> in sources.
5442 * box.h: do not include <config.h> in header files
5444 * text.C (paintLastRow): remove unused variable
5446 * text.C (transformChar):
5448 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5451 * font.C (width): rewrite to use uppercase() instead of
5454 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5456 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5458 * lyxfind.C: clean up of find failure position change
5460 2001-12-20 Juergen Vigna <jug@sad.it>
5462 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5464 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5465 (TeXRow): added to LaTeX a single tabular row.
5466 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5467 (Latex): simplified and finally good LT-h/f support.
5468 (various_functions): just small adaptions for LT-h/f support.
5470 * tabular_funcs.[hC]: added and moved here all not classfunctions
5473 2001-12-19 Juergen Vigna <jug@sad.it>
5475 * tabular.[Ch]: better support for longtabular options (not finished
5478 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5480 * text.C (paintLastRow): use the label font instead of the font of
5481 the last character to compute the size of *_BOX. This makes more
5482 sense and avoids a crash with empty paragraphs.
5483 Use Painter::rectangle to draw EMPTY_BOX.
5485 2001-12-19 Juergen Vigna <jug@sad.it>
5487 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5488 the paragraphs if the replaced paragraph is not the first one!
5489 Tried to delete not used paragraphs but does not work yet so for
5490 now it's inside #ifdef's and by default off!
5492 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5494 * MenuBackend.C: include "lyx_main.h" instead of declaring
5495 lastfiles (actually was declared as LastFiles* instead of a
5498 2001-12-17 Juergen Vigna <jug@sad.it>
5500 * tabular.C (AppendColumn): applied John's fix
5502 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5506 * BufferView_pimpl.h:
5507 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5510 * box.h: new start of class for above
5512 * lyxfunc.C: ignore space-only minibuffer dispatches.
5513 Show the command name when it doesn't exist
5515 * minibuffer.C: don't add empty lines to the history
5517 * minibuffer.C: add a space on dropdown completion
5519 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5521 * text.C: fix line above/below drawing in insets
5523 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5525 * lyxlength.C (LyXLength): Initialize private variables.
5527 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5529 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5530 when inserting error insets.
5532 2001-12-13 Juergen Vigna <jug@sad.it>
5534 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5535 actually sometimes the before-paragraph.
5536 (setUndo): don't clear the redostack if we're not actually undoing!
5538 2001-12-06 Juergen Vigna <jug@sad.it>
5540 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5541 and fixed redoing of main paragraph, so we can use it now ;)
5543 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5545 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5547 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5550 2001-12-13 André Pönitz <poenitz@gmx.net>
5553 * undo_func.C: minor cleanup
5555 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5557 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5558 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5559 font in urw-fonts package which is marked as -urw-fontspecific and
5560 does not work (incidentally, changing the encoding in the
5561 fonts.dir of this package to -adobe-fontspecific fixes the
5564 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5565 is a crash when undoing first paragraph (Juergen, please take a
5566 look). THis does not mean the undo fix is wrong, just that it
5569 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5570 the (Paragraph*) version when needed instead of duplicating the
5573 * text.C (workWidth): use Inset::parOwner to find out where the
5574 inset has been inserted. This is a huge performance gain for large
5575 documents with lots of insets. If Inset::parOwner is not set, fall
5576 back on the brute force method
5578 * paragraph_pimpl.C (insertInset):
5579 * paragraph.C (Paragraph):
5580 (cutIntoMinibuffer): set parOwner of insets when
5581 inserting/removing them
5583 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5585 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5591 * mathed/formulabase.C:
5592 * mathed/math_cursor.[Ch]:
5593 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5596 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5598 * lyxlength.[Ch] (operator!=): new function
5600 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5602 * text.C (workWidth): use Inset::parOwner to find out where the
5603 inset has been inserted. This is a huge performance gain for large
5604 documents with lots of insets. If Inset::parOwner is not set, fall
5605 back on the brute force method
5607 * paragraph_pimpl.C (insertInset):
5608 * paragraph.C (Paragraph):
5609 (cutIntoMinibuffer): set parOwner of insets when
5610 inserting/removing them
5612 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5614 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5616 * tabular-old.C (getTokenValue):
5617 * tabular.C (getTokenValue):
5618 (write_attribute): new versions for LyXLength
5619 (everywhere): adjust the use of widths
5621 * tabular.h: change the type of widths from string to LyXLength
5623 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5625 * paragraph.C: fixed missing line number count when exporting
5626 Environments to LaTeX file
5628 * buffer.C: added informational message for checking line numbers.
5630 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5632 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5633 paragraph, do the 'double space' part, but not the 'empty
5636 * text.C (workWidth): small optimization
5637 (getLengthMarkerHeight): use minimal size for negative lengths.
5639 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
5641 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5643 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5645 2001-12-11 André Pönitz <poenitz@gmx.net>
5648 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5650 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5652 * text2.C: keep selection on a setFont()
5654 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5656 * lyx_cb.C: another bv->text misuse, from insert label
5658 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5661 * kbsequence.C: re-instate nmodifier mask
5663 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
5665 * lyx_main.h: make lyxGUI private.
5667 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5669 * lyxfind.C: place the cursor correctly on failed search
5671 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5673 * text.C (getLengthMarkerHeight): for small heights, the arrows
5674 are not always on top/bottom of the text
5675 (drawLengthMarker): smaller arrows; take the left margin in
5676 account; draw also vfills.
5678 (paintLastRow): remove special code for vfill and standard spaces,
5679 since everything is handled in drawLengthMarker now.
5681 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5683 * buffer.C (insertErtContents): try to handle font and language
5684 interaction a bit better.g
5686 * ColorHandler.C (updateColor): change the hash to cover the whole
5687 LColor enum, ws cleanup
5688 (getGCLinepars): ditto
5689 (getGCLinepars): only lookup in the linecache once.
5691 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
5693 * iterators.C (operator++): Make the iterator more robust
5695 * BufferView2.C (removeAutoInsets): Use paragraph iterators
5697 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5699 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5702 * text.C: better added space drawing
5704 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5707 * BufferView2.C: fix layout combo update on inset unlock
5709 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5711 * Makefile.am: don't compile unused files
5713 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5717 * LyXAction.C: remove old LFUN_LAYOUTNO
5719 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5721 * paragraph_pimpl.h:
5722 * paragraph_pimpl.C: isTextAt() doesn't need font param
5724 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5727 * lyxlex.C: little cleanup
5729 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5731 * BufferView_pimpl.C: fix insertAscii for insets
5733 2001-12-05 Juergen Vigna <jug@sad.it>
5735 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
5736 set the right font on the "multi" paragraph paste!
5738 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5744 * lyxlength.C: remove out-commented code.
5760 * vc-backend.C: change "while(" to "while ("
5762 * lyxlength.[Ch]: add zero function to check if length is zero or
5764 * lyxgluelength.C: use it
5766 2001-12-05 Allan Rae <rae@lyx.org>
5768 * lyxlength.C: Attempted a fix for the abs(int) header selection.
5769 Works for 2.95.3, from what I understand of Garst's reports this should
5770 work for other g++ versions. We're screwed if the abs(int) definition
5771 changed between bugfix releases of gcc.
5773 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5775 * text.C: fix chapter label offset !
5777 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5780 * text.C: fix hfill at end of line, clean up
5782 2001-12-04 Juergen Vigna <jug@sad.it>
5784 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5785 that we force an update of the inset and it's owners if neccessary.
5787 2001-12-03 Juergen Vigna <jug@sad.it>
5789 * text.C (rowLast): simplified code
5791 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5793 * lyxfunc.C: fix show options on timeout
5795 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5797 * screen.C (topCursorVisible): scroll half a page when the cursor
5798 reached top of bottom of screen
5800 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
5802 * minibuffer.C: deactivate on loss of focus
5804 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5806 * vspace.[Ch] (operator!=): add operator.
5808 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5810 * BufferView_pimpl.C: refuse to open an inset when
5811 there's a selection.
5813 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
5815 * BufferView_pimpl.C: allow to click on RHS of full row insets
5817 2001-11-30 Juergen Vigna <jug@sad.it>
5819 * tabular.C (LyXTabular): add a same_id to set the same id's in the
5820 insets for undo reasons.
5822 2001-11-28 André Pönitz <poenitz@gmx.net>
5824 * vspace.[Ch]: cosmetical changes
5826 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5836 * kbsequence.C: part re-write of old kb code
5839 * WorkArea.C: remove Lgb_bug_find_hack
5841 2001-11-30 José Matos <jamatos@fep.up.pt>
5843 * buffer.C (makeDocBookFile): add a comment to point a hack.
5844 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5845 Fixed a double write of labels.
5847 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5850 * LaTeX.h Fixed bug in LaTeX class where it would not
5851 re-run latex if no depfiles were changed, but the .dvi was removed.
5853 2001-11-28 André Pönitz <poenitz@gmx.net>
5855 * all the files from the change on 2001/11/26:
5856 use lyx::layout_type instead of LyXTextClass::size_type
5857 use lyx::textclass_type instead of LyXTextClassList::size_type
5859 2001-11-29 Juergen Vigna <jug@sad.it>
5861 * text.C: added support for paragraph::isFreeSpacing()
5863 * buffer.C: same as above
5865 * paragraph.h: inserted isFreeSpacing() function to enable
5866 FreeSpacing inside InsetERT.
5868 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5869 of the paragraph's in the cut/copy buffer to 0!
5871 * text2.C (removeRow): remove the assert as it can!
5873 * lyxtext.h: added helper function firstRow returning firstrow and
5874 made firstrow private again.
5876 * BufferView2.C (lockInset): don't relock if we're already locked!
5878 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5880 (removeRow): added Assert::(firstrow)
5882 * debug.C: forgot to add INSETTEXT here.
5884 2001-11-28 Juergen Vigna <jug@sad.it>
5886 * sp_spell.C (initialize): changed error text to more general
5887 spellchecker command use (not only ispell!)
5889 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
5891 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
5893 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5895 * vspace.C: initialise lyxgluelength on failure
5897 2001-11-28 Allan Rae <rae@lyx.org>
5899 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
5900 declaration & definition that looks like a function declaration.
5902 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5904 * BufferView2.C (copy):
5905 (copyEnvironment): do not clear the selection when doing a copy.
5907 * text.C (paintFirstRow): compilation fix
5909 2001-11-27 Ben Stanley <bds02@uow.edu.au>
5911 * tabular.C (Latex): correct line count when writing latex.
5913 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
5915 * paragraph_pimpl.h:
5916 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
5919 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5923 * LColor.C: change vfillline->added_space
5925 * text.C: add markers and text for added space
5927 * vspace.C: fix comment
5929 2001-11-28 André Pönitz <poenitz@gmx.net>
5931 * paragraph.C: whitespace changes
5932 * all the other files from the change on 2001/11/26:
5933 change *::pos_type into lyx::pos_type
5935 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
5937 * buffer.C (parseSingleLyXformat2Token): Set the language to the
5938 language of the document when inserting error insets.
5940 2001-11-26 André Pönitz <poenitz@gmx.net>
5942 * BufferView_pimpl.[Ch]:
5950 * paragraph_pimpl.[Ch]:
5953 * text2.C: reduce header dependencies, introduce type for positions
5955 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5957 * <various>: change to use Alert.h
5959 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
5961 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
5962 when encountering an unknown token.
5963 (readLyXformat2): Show an error message if there were unknown tokens.
5965 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5968 * BufferView_pimpl.C:
5972 * text2.C: use par->isInset()
5974 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5976 * paragraph_pimpl.h:
5977 * paragraph_pimpl.C: cleanup
5979 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5981 * text2.C (removeRow):
5982 * text.C (setHeightOfRow): remove useless (and costly) call to
5985 2001-11-20 Allan Rae <rae@lyx.org>
5987 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
5988 Now need Inset*::checkInsertChar() to return true for appropriate
5989 cases so that the characters in the minibuffer will actually be
5992 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5994 * text.C: change the order of the includes.
5995 (workWidth): initialize it at once.
5996 (workWidth): make maxw unsigned
5997 (setHeightOfRow): remove unused variable (inset)
5998 (selectSelectedWord): remove unused variable (inset)
5999 (paintRowText): fix drawing of hfill characters, and clean up a bit.
6001 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6003 * lyxserver.C (emergencyCleanup): do not try to close pipes if
6004 server is not running.
6006 (closeConnection): add debug info when server is disabled.
6008 * ColorHandler.C (getGCForeground): send debug message to GUI
6011 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
6013 * kbmap.C (bind): modify because return conventions of
6014 kb_sequence::parse have changed.
6016 * kbsequence.C (parse): only ignore spaces and not any stupid
6017 control character. This avoids tests like s[i] <= ' ', which are
6018 guaranteed to fail with 8bit characters and signed chars.
6019 Change return code to string::npos when there have been no error
6020 (0 was a bad idea when error is at first character)
6022 2001-11-14 José Matos <jamatos@fep.up.pt>
6025 * buffer.C (simpleDocBookOnePar): removed unused argument.
6027 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6029 * text.C (selectNextWordToSpellcheck): do not test explicitely for
6030 insets which are part of a word. Paragraph::isLetter takes care of
6031 that now. Use Paragraph::isInset to identify insets.
6032 (selectSelectedWord): do not test for hyphenation break.
6034 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
6035 that protected spaces are considered as spaces.
6037 * paragraph.C (isLetter): cleanup the code for ispell extras; use
6040 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
6043 * lyxserver.C: fix it. and small cleanup.
6045 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6047 * BufferView_pimpl.C: use inline helpers
6050 * LaTeXFeatures.C: fix typos
6053 * Spacing.C: move spacing_string into class
6055 * ToolbarDefaults.C: move stuff into namespace anon
6057 * layout.h: update enum
6059 * lyxfunc.C: use better debug
6061 * minibuffer.h: fix typo
6065 * WorkArea.C: add and use Debug::WORKAREA
6069 * text2.C: code re-organisation, inline helpers
6071 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
6073 * Layout.C: replaced a few cases of std::vector.size() == 0 with
6074 std::vector.empty().
6076 2001-11-09 Allan Rae <rae@lyx.org>
6078 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6079 '\n's after tables. Tabular and ERT inset work now makes this no
6082 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6085 * minibuffer.C: fix crash, improve drop-down completion
6087 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
6090 * lyxserver.C: invalidate fd's when doing endPipe()
6092 2001-11-08 José Matos <jamatos@fep.up.pt>
6094 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6095 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6098 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6100 2001-11-07 José Matos <jamatos@fep.up.pt>
6103 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6106 * buffer.C (sgmlOpenTag):
6107 * buffer.C (sgmlCloseTag): removed debug info.
6109 * buffer.h (sgmlOpenTag):
6110 * buffer.h (sgmlCloseTag): made public.
6112 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6114 * buffer.C (saveParamsAsDefaults):
6115 * lyx_cb.C (MenuLayoutSave): remove
6117 * LyXAction.C (init):
6119 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
6121 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6123 * buffer.C (setPaperStuff): removed from here...
6125 * bufferparams.C (setPaperStuff): ... and moved there.
6127 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
6131 * XFormsView.C: add support for drop-down completion
6133 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
6135 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6138 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6140 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6143 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6145 * lyx_main.C: change ref to known bugs
6147 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6149 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6150 to work around older babel problems.
6152 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6154 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6156 2001-10-24 Juergen Vigna <jug@sad.it>
6158 * tabular-old.C (ReadOld): below variable changes reflected.
6160 * tabular.[Ch]: added ltType struct for longtable header/footer
6161 defines and changed all instances where they are used. Added
6162 future support for double top/bottom rows.
6164 2001-10-24 José Matos <jamatos@fep.up.pt>
6166 * buffer.h (docbookHandleCaption):
6167 * buffer.C (docbookHandleCaption): removed unused function.
6168 (makeDocBookFile): moved docbook supported version to v4.1.
6170 2001-10-24 José Matos <jamatos@fep.up.pt>
6173 * tabular.C (docbookRow): new function to export docbook code of a row.
6174 (DocBook): now honors the longtable flags.
6176 2001-10-23 José Matos <jamatos@fep.up.pt>
6179 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6180 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6182 * buffer.C (makeLinuxDocFile):
6183 (makeDocBookFile): reworked the preamble, more clean, and with
6184 support for lyx defined entities. Changed the document declaration
6185 to be more XML friendly.
6187 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6188 if we need to output XML that should be done with a filter.
6190 2001-10-22 Juergen Vigna <jug@sad.it>
6192 * sp_pspell.h (class PSpell): add alive function needed in the
6193 controller to see if the spellchecker could be started.
6195 2001-10-22 Juergen Vigna <jug@sad.it>
6197 * buffer.C (insertStringAsLines): modify the font for inserting
6198 chars in certain conditions by calling checkInsertChar(font).
6200 2001-10-19 Juergen Vigna <jug@sad.it>
6202 * text.C (workWidth): use getRow instead of wrong algorithm.
6203 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6205 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6210 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6212 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6214 * text.C (workWidth): do not search for the exact row when
6215 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6216 optimization for big documents.
6218 2001-10-18 Juergen Vigna <jug@sad.it>
6220 * text.C (workWidth): new function with added Inset * parameter.
6222 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6224 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6226 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6227 change return type of getColumnNearX.
6230 * text.C (changeRegionCase): use uppercase/lowercase instead of
6233 (rightMargin): simplify code by factoring out the uses of
6238 (appendParagraph): use Paragraph::size_type
6240 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6242 * vspace.C (asLatexString): add a missing break
6244 2001-10-15 Herbert Voss <voss@perce.de>
6246 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6248 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6250 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6253 2001-10-10 André Pönitz <poenitz@gmx.net>
6255 * lyxfunc.C: removed greek_kb_flag.
6257 2001-10-10 Herbert Voss <voss@perce.de>
6259 * lyx_main.C: delete global string help_lyxdir.
6261 2001-10-09 Herbert Voss <voss@perce.de>
6263 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6265 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6267 * lyx_main.C: added global string help_lyxdir.
6269 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6271 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6273 * lyxrc.C (set_font_norm_type): support iso8859-4
6275 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6277 * LaTeX.C (deplog): add another regex for MikTeX
6279 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6281 * lyxrc.C (set_font_norm_type): support iso8859-3
6283 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6285 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6287 * LaTeXFeatures.C: remove special case of french and index
6289 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6290 before \begin{document}). This solves several incompatibilities.
6292 2001-10-03 Garst Reese <reese@isn.net>
6294 * lyx_cb.C: change CheckTex error msg.
6296 2001-10-03 José Matos <jamatos@fep.up.pt>
6298 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6300 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6302 * .cvsignore: update
6304 * lyx_main.C (commandLineVersionInfo): use new style version info.
6306 * buffer.C (writeFile):
6309 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6311 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6313 * version.h: update to use stuff in version.C
6315 * version.C.in: new file. Contains version information determined
6316 at compile time. This is a merging of version.h and
6319 2001-10-03 Juergen Vigna <jug@sad.it>
6321 * BufferView_pimpl.C (update): don't change "dirty" status in
6324 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6326 * WorkArea.C (c-tor): re-position version string slightly.
6328 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6330 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6331 revert to previous code.
6333 WorkArea.[Ch]: (show, destroySplash): methods removed.
6335 WorkArea.C: rework code so that it's an amalgam of the codes before and
6336 after the splash screen was moved to WorkArea.
6338 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6341 * vspace.C (inPixels):
6344 * buffer.C (insertStringAsLines):
6345 (asciiParagraph): fix types to be large enough
6347 * lyxlex_pimpl.h: change member status from short to int
6349 * layout.h: fix type of endlabeltype
6352 * kbsequence.C (parse): change return type to string::size_type
6354 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6357 * Bullet.C (bulletSize):
6358 (bulletEntry): do not use short ints as parameters
6360 * BufferView2.C (insertLyXFile): change a char to an int.
6362 * WorkArea.C (WorkArea): remove unneeded floats in computation
6364 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6366 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6368 * paragraph.C (asString): Do not ignore newline/hfill chars when
6369 copying to the clipboard.
6371 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6373 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6374 after a multi-line inset.
6376 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6378 * paragraph.C (validate): Set NeedLyXFootnoteCode
6380 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6382 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6383 and decrease-error to decrease.
6385 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6387 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6388 it more readable (should be equivalent)
6390 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6392 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6394 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6396 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6397 of a cursor (row, etc.) after a character has been deleted
6398 (deleteEmptyParagraphMechanism): call the method above on _all_
6399 cursors held by the LyXText when a double space has been
6402 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6404 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6406 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6408 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6409 background. Use greyOut() and the new show() methods to toggle between
6410 the foreground and background. Add code to remove the splash after
6411 its initial showing.
6413 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6414 (create_forms): no longer call Dialogs::showSplash.
6416 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6418 * .cvsignore: add version_info.h
6420 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6422 * version_info.h.in: new file
6424 * Makefile.am: add version_info.h.in
6426 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6427 version_info.h instead of VERSION_INFO
6429 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6431 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6432 The ERT inset now returns string().
6434 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6436 * lyxtext.h, text.C (selectNextWord): renamed as
6437 selectNextWordToSpellcheck.
6439 * text.C (selectNextWordToSpellcheck): Modified to not select
6440 words inside an ERT inset.
6442 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6444 * lyx_cb.C (MenuLayoutSave): change a bit the question
6446 * sp_base.h: include <sys/types.h>
6448 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6450 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6452 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6454 * several files: fix typos in user-visible strings
6456 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6458 * text2.C (pasteSelection): do not set the selection, since it
6459 will be cleared later. Actually, the intent was to fix the way the
6460 selection was set, but I figured rmoving the code was just as good.
6462 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6464 * FontLoader.C (available): Check if font is available without
6467 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6469 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6471 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6473 * lyxrc.[Ch]: added display_graphics variable and associated code.
6475 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6477 * bufferparams.C (hasClassDefaults): new method. Returns true if
6478 the buffer parameters correspond to known class defaults
6480 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6482 * XFormsView.C (show): set minimum size to the main window.
6484 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6486 * text2.C (copySelection):
6488 * lyxfind.C (LyXReplace):
6489 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6490 LyXText::selectionAsString.
6492 * paragraph.C (asString): add "label" argument to the second form
6494 * text2.C (selectionAsString): add "label" argument and pass it to
6495 Paragraph::asString.
6497 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6499 * lyx_main.C (commandLineHelp): remove version information
6501 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6503 * lyx_main.C: add -version commandline option
6505 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6507 * paragraph.h: make the optional constructor arg required instead.
6508 some modifications to other files because of this.
6510 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6512 * lyxserver.C (C_LyXComm_callback): make it static
6514 * lyx_main.C (error_handler): make it static
6516 * lyx_gui.C (LyX_XErrHandler): make it static
6518 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6520 * WorkArea.C: make the extern "C" methods static.
6522 * Makefile.am (lyx_LDADD): simplify
6524 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6526 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6527 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6529 * LyXAction.C (init):
6530 * lyxfunc.C (dispatch): associated code removal.
6532 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6534 * lyxfont.h (isSymbolFont): shut off warning
6536 * text.C (setHeightOfRow):
6537 (getVisibleRow): fix crash with empty paragraphs which have a
6540 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6542 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6545 2001-09-04 José Matos <jamatos@fep.up.pt>
6548 * tabular.C (docbook): rename docBook method to docbook.
6550 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6552 * Makefile.am: add dependencies to main.o.
6554 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6556 * FontLoader.C (available): Return false if !lyxrc.use_gui
6558 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6560 * FontInfo.C (query):
6561 * converter.C (view):
6562 * importer.C (Import):
6563 * exporter.C (Export): Can not -> cannot.
6565 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6567 * BufferView_pimpl.C: allow to create index inset even if
6570 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6572 * buffer.C (getLists): replace boost::tie code with an explicit pair
6573 as boost::tie can break some compilers.
6575 * iterators.h: Added a std:: declaration to the return type of
6578 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6580 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6583 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6585 * iterators.[Ch]: New files. Provide paragraph iterators.
6587 * buffer.C (changeLanguage): Use paragraph iterators.
6588 (isMultiLingual): ditto
6590 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6592 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6594 * FontLoader.C: Support for cmr font.
6596 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6598 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6599 (available): New method.
6601 * FontInfo.C (getFontname): Use scalable fonts even when
6602 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6605 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6607 * converter.C (Formats::view): reverted! Incorrect fix.
6609 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6611 * converter.C (Formats::view): only output the -paper option
6612 if the dvi viewer is xdvi, thereby fixing bug #233429.
6614 2001-08-23 Herbert Voss <voss@perce>
6616 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6618 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6620 * Spacing.h (Spacing): Set space to Default on in the default
6623 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6625 * vc-backend.h (RCS::versionString): add RCS to version
6626 (CVS::versionString): add CVS to version
6628 * vc-backend.C (scanMaster): do not add CVS to version.
6629 (scanMaster): do not add RCS to version
6631 * lyxvc.C (versionString): new method
6633 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6635 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6637 * Spacing.C (set): initialize fval
6639 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
6641 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6644 2001-08-16 Juergen Vigna <jug@sad.it>
6646 * lyxfunc.C (dispatch): implemented the new FINISHED states.
6648 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6650 * BufferView_pimpl.C:
6653 * text2.C: setParagraph takes linespacing now
6655 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
6657 * LyxAction.C: add internal LFUN_CITATION_INSERT
6659 * LyXView.C: actually apply fix
6661 * bufferlist.C: fix open non-existent file
6663 * lyxfind.C: fix indentation
6665 * lyxfunc.C: remove unneeded assert, fix typo
6667 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6669 * MenuBackend.C: use "Floatname List"
6671 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6673 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6674 when converting LaTeX layout to insetERT.
6675 Generate a non-collapsed float when reading old float
6677 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6679 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6682 2001-08-13 Juergen Vigna <jug@sad.it>
6684 * text.C (fill): return 0 instead of 20 as this seems to be the more
6687 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6689 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6692 2001-08-13 Juergen Vigna <jug@sad.it>
6694 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6696 (SearchBackward): comment out the unlocking of the inset_owner this
6697 should not be needed!
6699 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6701 * Many files: Remove inherit_language, and add latex_language
6703 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6706 2001-08-10 Juergen Vigna <jug@sad.it>
6708 * text.C (prepareToPrint): fixed hfill-width in draw!
6710 * BufferView2.C (selectLastWord): save the selection cursor as this
6711 now is cleared in the function LyXText::clearSelection!
6713 2001-08-08 Juergen Vigna <jug@sad.it>
6715 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6716 BACKSPACE type functions.
6718 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
6719 is only cutted from the document but not put in the cut-buffer, where
6720 still the old stuff should be.
6722 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
6724 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
6726 * tabular.C (SetWidthOfCell): fixed special case where the width
6728 (LeftLine): handle '|' in align_special.
6730 (LeftAlreadyDrawed): ditto
6731 (SetWidthOfCell): ditto
6733 2001-08-07 Juergen Vigna <jug@sad.it>
6735 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
6737 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6739 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
6740 * lyxlex.[hC]: ditto
6742 2001-08-06 Juergen Vigna <jug@sad.it>
6744 * text.C (getVisibleRow): fix up row clearing a bit.
6746 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6748 * minibuffer.C: make sure the X server sees the changes in the input.
6750 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6752 * paragraph.C (getFont): split into...
6753 (getLabelFont): this
6754 (getLayoutFont): and this
6755 * paragraph_pimpl.C (realizeFont): calling this
6757 * text2.C (getFont): split into...
6758 (getLayoutFont): this
6759 (getLabelFont): and this
6760 (realizeFont): all three calling this
6762 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6765 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6767 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6769 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
6771 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6772 layouts from the Quote inset insertion.
6774 2001-08-03 Juergen Vigna <jug@sad.it>
6776 * BufferView_pimpl.C (update): do the fitCursor only at the end!
6778 * screen.C (drawFromTo): don't call fitcursor here and do the loop
6779 only if status not is already CHANGED_IN_DRAW (second level).
6781 * text.C (draw): don't set the need_break_row when inside an
6784 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6786 * buffer.C (parseSingleLyXformat2Token): handle more latex
6789 * bufferview_funcs.[hC]: change function names to
6790 begin with small char, adjust other files.
6792 2001-08-02 André Pönitz <poenitz@gmx.net>
6795 BufferView_pimpl.C: remove broken special code for math-greek
6797 2001-08-02 Juergen Vigna <jug@sad.it>
6799 * BufferView_pimpl.C (update): redone this function so that we
6800 update the text again if there was a CHANGE_IN_DRAW.
6802 * screen.C (cursorToggle): removed LyXText parameter and recoded.
6803 (drawFromTo): added a new internal bool which is used by draw() and
6805 (general): some cursor drawing problems fixed.
6807 2001-08-01 Juergen Vigna <jug@sad.it>
6809 * lyxfind.C (LyXFind): fixed
6810 (SearchForward): ditto
6811 (SearchBackward): ditto
6813 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6814 spurius drawing of the cursor in the main area.
6816 * text2.C (status): small fix which could lead to a segfault!
6817 (clearSelection): remove unneeded BufferView param.
6819 2001-08-01 André Pönitz <poenitz@gmx.net>
6821 * lyxfunc.C: small change due to changed mathed interface
6823 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6825 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6827 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
6829 * lyxfunc.c: fail gracefully if file doesn't exist
6834 * BufferView_pimpl.C: IsDirWriteable() proto changed
6836 * LyXView.C: fix updateWindowTitle() to store the last title
6838 2001-07-31 Juergen Vigna <jug@sad.it>
6840 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6841 the font (wrong since using of Paragraph::highestFontInRange).
6843 * paragraph.C (highestFontInRange): added a default_size parameter.
6845 * text.C (getVisibleRow): minor clear row changes (still not perfect).
6846 (setHeightOfRow): reformat
6848 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6850 * converter.[hC] + affected files: move to (inital-char)lowercase
6853 * ParagraphParameters.C (ParagraphParameters): remove commented code
6855 * PainterBase.[Ch]: remove commented code
6857 * LaTeXFeatures.h: add "bool floats" for float.sty
6859 * LaTeXFeatures.C (LaTeXFeatures): init floats
6860 (require): handle float
6861 (getPackages): do it with floats
6863 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6865 * BufferView_pimpl.C (Dispatch): improve handling of
6866 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6868 * commandtags.h: #include lyxfont.h here temporarily to avoid
6871 * bufferlist.h: include LString.h here.
6873 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6875 * text2.C (getStringToIndex): new method.
6877 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
6879 * *: Reduced header file dependencies all over.
6881 2001-07-30 Baruch Even <baruch@lyx.org>
6883 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
6885 2001-07-29 Baruch Even <baruch@lyx.org>
6887 * buffer.C (readInset): Changed GRAPHICS to Graphics.
6889 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6891 * ParameterStruct.h (endif): add a default constructor to make
6892 sure that all variables is initialized.
6894 * ParagraphParameters.C (ParagraphParameters): adjust
6896 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6898 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
6899 index; also, check that there is something to index, and that it
6900 does not span over several paragraphs.
6901 (doubleClick): use WHOLE_WORD_STRICT for double click.
6903 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
6905 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
6908 2001-07-26 Baruch Even <baruch@lyx.org>
6910 * buffer.C (readInset): Changed to call up InsetGraphics when reading
6911 an InsetFig figure, backwards compatible reading of old figure code.
6913 2001-07-27 Juergen Vigna <jug@sad.it>
6915 * text2.C: font.realize function adaption.
6917 * text.C (draw): add a warnings lyxerr text if needed.
6919 * layout.C: font.realize function adaption.
6921 * language.C: add inherit_language and implement it's handlings
6923 * bufferview_funcs.C (StyleReset): remove language parameter from
6924 font creation (should be language_inherit now).
6926 * bufferparams.C (writeFile): handle ignore_language.
6928 * paragraph.C (getFontSettings): the language has to be resolved
6929 otherwise we have problems in LyXFont!
6931 * lyxfont.C (lyxWriteChanges): added document_language parameter
6932 (update): removed unneeded language parameter
6934 * paragraph.C (validate): fixed wrong output of color-package when
6935 using interface colors for certain fonts in certain environments,
6936 which should not seen as that on the final output.
6938 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
6940 * BufferView_pimpl.C:
6945 * LyXAction.C: add thesaurus support
6948 * lyxfind.C: add "once" parameter, for thesaurus, to not
6949 move to the next match
6951 2001-07-26 Juergen Vigna <jug@sad.it>
6953 * lyxfont.C (realize): honor ignore_language too!
6956 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
6958 * text.C (draw): one place more for ignore_language to not draw
6961 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
6963 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
6965 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6967 * buffer.C (parseSingleLyXformat2Token): a more general fix for
6968 the minipage conversion problem.
6970 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6972 * buffer.C (parseSingleLyXformat2Token): check minipage if we
6975 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6977 * BufferView.h: don't forward declare WorkArea
6979 * BufferView.C: don't include WorkArea.h
6981 2001-07-25 André Pönitz <poenitz@gmx.net>
6985 * lyxfunc.C: new LFUN 'math-space'
6987 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
6989 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6991 * text2.C (toggleInset): call open/close
6993 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6995 * lyxfunc.C (dispatch): add debug for the disabled case
6997 * font.C (buttonText): make similar to rectText
6999 * buffer.C (readInset): comment out parsing of insetlist and
7002 * PainterBase.C (rectText): small correction
7004 * BufferView_pimpl.C: comment out insettheorem and insetlist
7005 * LyXAction.C: ditto
7006 * commandtags.h: ditto
7008 2001-07-24 Juergen Vigna <jug@sad.it>
7010 * text.C (draw): honor the ignore_language.
7012 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
7014 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7016 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
7019 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7021 * lyxtext.h: remove unused (and unimplemented) methods
7023 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7025 * text.C (getVisibleRow): honor background color
7028 * Painter.h: remove default color argument for fillRectangle
7030 * text.C (backgroundColor): new method
7032 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7034 * text.C (getVisibleRow): adjust
7036 * font.[Ch] (rectText): new method, metrics
7037 (buttonText): new method, metrics
7039 * PainterBase.[hC]: make rectText and buttonText always draw and take
7042 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7044 * ToolbarDefaults.C (read):
7045 * MenuBackend.C (read): allow escaping in all strings
7047 * BufferView_pimpl.C (insertAndEditInset): new method.
7048 (Dispatch): use insertAndEditInset whenever appropriate.
7050 * BufferView_pimpl.C (insertNote): removed
7052 * BufferView_pimpl.C (smartQuote): new method, moved from
7053 BufferView; if an insetquote cannot be inserted, insert a '"'
7056 * BufferView2.C: remove insertCorrectQuote();
7058 * lyxfunc.C (getStatus): Add support for all remaingin
7061 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7063 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7064 command (necessary to pass " as parameter of self-insert.
7066 * text.C (selectWordWhenUnderCursor):
7067 (selectWord): add word_location parameter
7068 (selectWordWhenUnderCursor): same + remove special code for word
7070 (selectNextWord): use kind() to guess type of insetspecialchar,
7073 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7074 (insertErtContents): create ert insets as collapsed.
7075 (readInset): better compatibility code for Info inset.
7077 2001-07-20 Juergen Vigna <jug@sad.it>
7079 * lyxfunc.C (dispatch): use always LyXFind now!
7081 * text2.C (init): add a reinit flag so that the LyXText can be
7082 reinited instead of deleted and reallocated (used in InsetText).
7084 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7090 2001-07-18 Juergen Vigna <jug@sad.it>
7092 * text.C (selectNextWord): handle insets inside inset by calling
7093 always the bv->text functions so that we can go up the_locking_inset!
7095 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7096 in strange locations when inside an inset!
7098 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7099 handling to include insets.
7101 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7103 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7105 * LyXAction.C (init):
7107 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
7108 LIGATURE_BREAK, since the name is so stupid.
7110 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7112 * buffer.C (readInset): enable reading of new InsetNotes as well as old
7115 * FontLoader.C: remove FORMS_H_LOCATION cruft.
7117 * sp_form.[Ch]: remove.
7119 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
7121 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
7124 * src/buffer.C (readInset): ditto.
7126 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7128 * BufferView_pimpl.C (specialChar): new method. Obsoletes
7129 menuSeparator(), endOfSentenceDot(), ldots() and
7130 hyphenationPoint(), which are therefore removed.
7131 (Dispatch): handle LFUN_HYPHENATION_BREAK.
7133 * LyXAction.C (init):
7134 * commandtags.h: add LFUN_HYPHENATION_BREAK.
7136 * paragraph.C (getWord): removed.
7138 * BufferView_pimpl.C (Dispatch): use last word or selection for
7139 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7141 * lyx_main.C (queryUserLyXDir): do not ask before creating
7142 user_dir, except if it has been named explicitely.
7144 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7146 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7147 a document of zero size.
7149 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7151 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7152 approriately in the c-tor and in require().
7153 (getPackages): output the appropriate LaTeX for natbib support.
7155 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7156 variables "use_natbib" and "use_numerical_citations" when reading the
7158 (readInset): read the various natbib cite commands.
7159 (validate): white-space change.
7161 * bufferparams.[Ch]: new variables "bool use_natbib" and
7162 "bool use_numerical_citations".
7163 (writeFile): output them in the LyX file.
7165 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7167 * lyxfunc.C (getStatus): add support for all the inset insertion
7170 * text2.C (insertInset):
7171 * paragraph.C (insetAllowed):
7172 * BufferView_pimpl.C (insertInset): update to take in account the
7173 renaming of insertInsetAllowed
7175 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7177 * text2.C (getInset): new method. returns inset at cursor position.
7179 * BufferView_pimpl.C (Dispatch): changes because of this.
7181 * LyXAction.C (init): rename open-stuff to inset-toggle.
7183 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7185 * text2.C (toggleInset): renamed from openStuff; use
7188 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7190 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7192 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7194 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7196 * buffer.C (readLyXformat2): Add filename to the error dialog
7198 2001-07-18 Juergen Vigna <jug@sad.it>
7200 * tabular.C (GetCellNumber): put an assert here instead of the check!
7202 2001-07-17 Juergen Vigna <jug@sad.it>
7204 * BufferView_pimpl.C (toggleSelection): adapted too.
7206 * text.C (selectNextWord): adapted for use with insets.
7207 (selectSelectedWord): ditto
7209 2001-07-17 Juergen Vigna <jug@sad.it>
7211 * sp_spell.C (PSpell): fix initialitation order.
7213 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7215 * paragraph.C: spacing
7217 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7219 * sp_spell.C: repair language selection for pspell
7221 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7223 * lyxfunc.h: change more methods to begin with lower char.
7225 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7227 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7228 for unknown layouts.
7230 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7232 * buffer.C (readLyXformat2): Generate an error dialog if there are
7235 2001-07-16 Juergen Vigna <jug@sad.it>
7237 * sp_spell.C: always compile ISpell part.
7239 * lyxrc.C: added use_pspell entry and it's handling.
7241 2001-07-13 Juergen Vigna <jug@sad.it>
7243 * sp_spell.C: removed double includes.
7245 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7247 Consistent use of Lsstream.h:
7248 * Lsstream.h: added using std::stringstream for consistencies sake.
7250 * buffer.C: removed using std::stringstream
7252 * lyxfont.C (stateText):
7253 * paragraph.C (asString):
7254 * text.C (selectNextWord, selectSelectedWord):
7255 * text2.C (setCounter):
7256 * vspace.C (asString, asLatexString):
7257 std::ostringstream -> ostringstream.
7259 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7261 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7262 * commandtags.h: add LFUN_HELP_ABOUTLYX
7263 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7265 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7267 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7269 * lyx_gui_misc.C: remove spellchecker
7270 * lyxfunc.C: showSpellchecker
7272 * sp_ispell.h: added
7273 * sp_pspell.h: added
7275 * sp_form.[Ch]: removed
7276 * spellchecker.[Ch]: removed
7278 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7280 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7282 (simpleTeXSpecialChars): Simply print the input character without
7283 any special translation if pass_thru is set.
7285 * layout.h: Added bool pass_thru to layout class for being able to
7286 implement pass through of a paragraph for Literate Programming.
7288 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7289 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7290 * layout.C (Read): add "passthru" to list of layout tags and add
7291 code to set the pass_thru boolean when it is read.
7293 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7295 * trans_decl.h: remove allowed from KmodInfo
7297 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7301 * paragraph_pimpl.C (erase): use boost::prior
7303 * Painter.C (text): use data() instead of c_str() when length is
7305 * WorkArea.C (putClipboard): ditto
7306 * font.h (width): ditto
7308 * BufferView2.C: use it-> instead of (*it). for iterators
7310 * paragraph_pimpl.C: ditto
7311 * paragraph.C: ditto
7312 * minibuffer.C: ditto
7317 * converter.C: ditto
7319 * Variables.C: ditto
7320 * TextCache.C: ditto
7321 * MenuBackend.C: ditto
7322 * LyXAction.C: ditto
7324 * FloatList.C: ditto
7326 * ColorHandler.C (LyXColorHandler): ditto
7328 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7330 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7332 * text2.C (openStuff): reintroduce this method (which had been
7333 nuked in NEW_INSETS frenzy).
7335 * lyxfunc.C (Dispatch): when an action has not been handled, use
7336 its name in the error message, not its number.
7338 * paragraph.C (inInset): change method name to begin with lowercase.
7341 * text2.C: updates because of this.
7343 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7345 * ToolbarDefaults.C (add): add spaces in error message
7347 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7349 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7350 (readLyXformat2): rename return_par to first_par, use lyxlex's
7351 pushToken and remove the manual push handling.
7352 (parseSingleLyXformat2Token): add another ert comp. variable:
7353 in_tabular, rename return_par to first_par. handle newlines better
7355 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7357 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7359 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7361 * text2.C (getParFromID): removed
7363 * buffer.C (getParFromID): new method moved form lyxtext.
7364 * BufferView2.C (insertErrors): adjust
7365 (setCursorFromRow): adjust
7366 * BufferView_pimpl.C (restorePosition): adjust
7367 * lyxfunc.C (Dispatch): adjust
7368 * undo_funcs.C (textUndo): adjust
7370 (textHandleUndo): adjust
7371 (textHandleUndo): adjust
7373 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7375 * buffer.C: up' the LYX_FORMAT
7377 * lyxfont.h: turn NO_LATEX on as default
7379 * buffer.C (insertErtContents): new methods of tex style compability.
7380 (parseSingleLyXformat2Token): use it several places.
7381 * tabular.C (OldFormatRead): and here
7383 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7385 * text2.C: remove some commented code.
7388 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7389 * trans.C: changes because of the above.
7391 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7393 * text2.C (setCounter): Fix counters bug with bibliography layout.
7395 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7397 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7398 own member functions
7399 (simpleTeXSpecialChars): ditto
7401 2001-07-06 Juergen Vigna <jug@sad.it>
7403 * a lot of files: changed the access to LyXText::status and the
7404 call of undo-functions.
7406 * undo.[Ch]: added a inset_id to the undo informations.
7408 * undo_funcs.[Ch]: added and moved here all undo functions.
7410 * lyxtext.h: give the status enum a weight, made status_ a private
7411 variable and made accessor functions for it, removed the whole bunch
7412 of undo-functions as they are now in their own file, make some
7413 functions publically available. Added function ownerParagraph with
7416 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7417 made InInset() a const function, added getParFromID() function.
7419 * buffer.[Ch]: added const version for inset_iterator functions,
7420 added getInsetFromID() function.
7422 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7423 changed undo functions for new version.
7425 2001-07-05 Juergen Vigna <jug@sad.it>
7427 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7428 unknow mechanism does not call the proper constructor but only this
7429 one also if I request the other!?
7431 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7433 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7435 * text2.C (LyXText): use initialization lists.
7437 * lyxtext.h (Selection): initialize set_ and mark_
7438 (init): remove method
7440 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7442 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7444 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7446 * screen.[Ch]: change method names to begin with lowercase
7448 * BufferView_pimpl.C (updateScrollbar): simplify further and
7449 hopefully make it a bit faster.
7451 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7453 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7454 calling directly xforms functions.
7456 * Painter.C (Painter):
7457 * lyx_cb.C (MenuWrite):
7458 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7461 * lyx_gui.C: remove bogus guiruntime extern declaration.
7463 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7465 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7467 (redoDrawingOfParagraph): ditto
7468 (redoParagraphs): ditto
7469 (cutSelection): don't create a object for CutAndPaste use the
7470 static method directly
7471 (pasteSelection): ditto
7473 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7476 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7478 * modifications to some other files because of this.
7480 * Makefile.am (lyx_SOURCES): add XFormsView
7482 * XFormsView.[Ch]: new files
7484 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7485 the main window. Move the gui dependent stuff to XFormsView
7487 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7489 * tabular.C (GetCellInset): update cur_cell also in the row/col
7490 version of this function.
7492 * lyxfunc.C: no need to include figure_form.h here.
7498 * lyxvc.C: no need to include forms.h here.
7500 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7502 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7504 * lyxfunc.C (Dispatch):
7506 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7507 constructor argument.
7509 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7511 * paragraph.C (Paragraph): dont't clear, and just set layout.
7512 (makeSameLayout): use params's copy contructor.
7514 * ParagraphParameters.[Ch] (makeSame): delete method
7516 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7518 * Variables.[Ch]: fix indentation, rename set to isSet
7520 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7522 * lyxfunc.C (Dispatch): fix typo
7524 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7526 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7529 * bufferlist.C: include assert.h for emergencyWrite().
7531 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7533 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7534 give up at last (bug #425202) !
7536 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7542 * spellchecker.C: strip spellchecker options and bring up
7543 preferences tab instead
7545 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7547 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7548 the istringstream constructor
7550 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7552 * paragraph.C (getLayout): fix return value
7554 * paragraph.h: do not declare getLayout as inline.
7556 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7558 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7560 * lyxcursor.h (operator<): new func
7561 (operator>): new func
7562 (operator>=): new func
7563 (operator<=): new func
7565 * text.C (changeCase): use selection.start and selection.end
7566 (changeRegionCase): require from to be <= to. Require par to be a
7569 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7571 2001-06-27 Juergen Vigna <jug@sad.it>
7573 * text.C (cursorLeftOneWord): changed to return the cursor and added
7574 overlay with BufferView * parameter which calls this one.
7576 (selectWord): use new getWord function.
7577 (changeCase): renamed from changeWordCase as and extended to work
7580 * lyxtext.h: added enum word_location
7582 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7583 changeCase as this operates now also on selections.
7585 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7587 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7589 * many files: send debug output to Debug::INFO instead of
7592 * converter.C (View):
7594 (Move): send debug output to Debug::FILES instead of console.
7596 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7598 * lyxfunc.C (getStatus): use func_status
7600 * func_status.h: new header, describing the results of
7603 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7606 2001-06-25 The LyX Project <jug@sad.it>
7608 * buffer.C (sgmlOpenTag):
7610 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7612 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7614 * text2.C: remove some dead code
7616 * tabular.C (GetCellInset): store the last cell checked (gotten)
7618 * tabular.h: add the helper for the speedup
7620 * lyxtext.h: remove some dead code
7622 2001-06-26 The LyX Project <Asger>
7624 * paragraph.C: Change export to LaTeX of alignment to
7625 \begin{center} and family for better roundtrip work with reLyX.
7627 * Tune the math drawing a bit.
7629 2001-06-25 The LyX Project <Asger>
7631 * LColor.C (LColor): New color for math background. New color
7634 2001-06-25 The LyX Project <jug@sad.it>
7636 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7639 * bufferlist.C (newFile): do not restrict to files ending with
7642 * BufferView_pimpl.C (MenuInsertLyXFile):
7644 2001-06-24 The LyX Project <jug@sad.it>
7646 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7649 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7651 * lyxtext.h: rename most methods to begin with a small char.
7652 Lots of changes because of this.
7654 * paragraph.C (Paragraph): do not call fitToSize
7655 (erase): call Pimpl::erase
7656 (insertChar): call Pimpl::insertChar
7657 (insertInset): call Pipl::insertInset
7658 (breakParagraph): do not call fitToSize
7659 (breakParagraphConservative): do not call fitToSize
7660 (fitToSize): remove method
7662 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7664 2001-06-24 The LyX Project <Asger>
7666 * Fix Qt compilation^2
7668 2001-06-24 The LyX Project <jug@sad.it>
7670 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7671 depthHook(getDepth()-1).
7674 * ParagraphParameters.h:
7675 * ParameterStruct.h: change type of depth to unsigned int ==
7676 depth_type. Many adaptations to other files before of that.
7678 2001-06-24 The LyX Project <Asger>
7680 * Fix Qt compilation.
7682 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7684 * paragraph.h: renamed several methods to begin with small letter.
7685 several changes to many parts of the code because of this.
7687 2001-06-23 The LyX Project <jug@sad.it>
7689 * text2.C (InsertStringAsLines): renamed from InsertStringA;
7690 rewritten to discard all double spaces when KeepEmpty is off
7691 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7692 to only handle newlines but not fiddle with spaces and friends.
7694 * lyxfunc.C (MenuNew): when doing 'new from template', use
7695 template_path as default directory
7697 2001-06-23 The LyX Project <Asger>
7699 * Clean-up of header file includes all over
7700 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7702 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7704 * paragraph.h: renamed from lyxparagraph.h
7706 2001-06-23 Asger <lyx@violet.home.sad.it>
7708 * Buffer.h: Removed Buffer::resize
7709 * BufferList.h: Removed BufferList::resize
7710 * LyXView.h: Added LyXView::resize. This way, we will only reflow
7711 the document lazily when we change the width, or the font settings.
7713 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7715 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7717 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7719 * buffer.h: remove out of date comment
7721 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7724 * screen.C: fix "theoretical" GC leak
7726 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7728 * LaTeX.C (scanAuxFile):
7729 (deplog): remove trailing \r when reading stream (useful under
7732 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
7734 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
7735 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
7736 and BufferView::theLockingInset(Inset*), so should use them and not
7737 access bv_->text->the_locking_inset directly.
7739 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
7741 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7744 * tex-defs.h: remove old unused file
7746 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
7748 * BufferView_pimpl.C: fix typo, remove minibuffer message
7749 when buffer has loaded
7751 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7753 * lyxfunc.C (Dispatch): use stringstream
7754 (MenuNew): use stringstream
7755 (Open): use stringstream
7757 * importer.C (Import): use stringstream
7759 * bufferview_funcs.C (CurrentState): use stringstream
7761 * LaTeX.C (run): use stringstream
7763 * BufferView_pimpl.C (savePosition): use stringstream
7764 (restorePosition): use stringstream
7765 (MenuInsertLyXFile): use stringstream
7767 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
7780 * vspace.C: removed // -*- C++ -*- as first line.
7783 * version.h: added // -*- C++ -*- as first line.
7785 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7787 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7789 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7792 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7794 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7797 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7799 * gettext.C: include LString.h even when --disable-nls is on.
7801 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
7803 * converter.h (Get): changed argument type from int to
7804 FormatList::size_type to avoid unnecessary conversion.
7806 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7809 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7811 * gettext.h: include LString.h even when --disable-nls is on.
7813 2001-06-07 Juergen Vigna <jug@sad.it>
7815 * text.C (BreakAgain): subst spaces with tabs.
7817 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7818 (resizeInsetsLyXText): set force on resizeLyXText.
7820 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7822 * gettext.h (gettext_init):
7823 (locale_init): use a real definition instead of a macro
7825 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7827 * Bufferview_pimpl.C:
7829 * LColor.C: further lcolor tidies
7831 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7833 * BufferView_pimpl.C (updateScrollbar): simplify.
7835 * BufferView2.C: don't include insets/insetinfo.h, change
7836 prototype for insertInset and call the Pimpl version. let
7837 updateInset call Pimpl version.
7839 * BufferView.h: move inset_slept to BufferView::Pimpl, move
7840 gotoInset to BufferView::Pimpl
7842 2001-06-01 Juergen Vigna <jug@sad.it>
7844 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7845 inside a LockingInset (is the update needed at all?).
7847 2001-05-31 Juergen Vigna <jug@sad.it>
7849 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7850 here not the old one otherwise how should we compare it afterwards
7853 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7858 * FontInfo.C: bring C functions into global namespace when
7861 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7863 * LString.h: make sure config.h has been loaded before LString.h.
7865 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7866 (one for each char read by EatLine!).
7868 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7871 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7873 * paragraph.C (BreakParagraph): set the inset_owner in the new par
7874 to the same as the par we break from
7876 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7878 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7880 * MenuBackend.C (expand): also create menu entries for wide
7881 versions of the floats.
7883 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
7885 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
7887 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
7888 frontends/Makefile.am
7894 * tabular.C (getTokenValue): add std::
7896 * tabular-old.C (getTokenValue): add std::
7897 (getTokenValue): ditto
7898 (getTokenValue): ditto
7900 * screen.C (ToggleSelection): adjust
7902 * lyxtext.h: put selection cursors inside a Selection struct.
7904 * lyxfunc.C (moveCursorUpdate): adjust
7906 * lyxfont.C (latexWriteStartChanges): add std::
7910 * font.h: delete with(char const *, LyXFont const &)
7912 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
7914 * FontInfo.C (getFontname): add std::
7916 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7917 (workAreaButtonPress): adjust
7918 (tripleClick): adjust
7920 (moveCursorUpdate): adjust
7923 * BufferView2.C (gotoInset): adjust
7925 2001-05-30 Juergen Vigna <jug@sad.it>
7927 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
7928 to check pspell I add this as default as I now have new pspell
7929 libraries and they seem to use this.
7931 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7933 * text2.C (CutSelection): make the cursor valid before the call to
7936 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7938 * kbsequence.C (parse): de-uglify a bit the parsing code, which
7939 relied on 0 terminated strings and other horrors. Bug found due to
7940 the new assert in lyxstring!
7942 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
7945 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7947 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
7950 * lyxfunc.C (processKeySym): change method of getting to the
7953 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
7954 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
7955 * BufferView_pimpl.[Ch]: here as private methods.
7957 2001-05-28 Juergen Vigna <jug@sad.it>
7959 * text.C (SetHeightOfRow): added the update() call again as it is
7960 needed to initialize inset dimensions!
7962 2001-05-16 Juergen Vigna <jug@sad.it>
7964 * text2.C (SetCharFont): Add new function with BufferView * and
7965 bool toggleall parameters for setting insets internal fonts.
7966 (SetFont): Freeze the undo as we may change fonts in Insets and
7967 all this change should be inside only one Undo!
7969 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
7970 setting font's in insets as for them we have the SetFont function!
7972 2001-05-15 Juergen Vigna <jug@sad.it>
7974 * text2.C (ClearSelection): to be sure we REALLY don't have any
7977 * tabular.C (TeXCellPreamble): fixed the left border problem for
7980 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7982 * LaTeX.C (deplog): Make sure that the main .tex file is in the
7985 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7987 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
7988 LFUN_BREAKPARAGRAPH.
7990 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
7991 help test to "internal only", similar for LFUN_INSERT_URL
7993 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
7994 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
7995 auto_region_delete and deadkeys.
7997 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
8000 * LColor.C: remove some dead entries, tidy a little
8002 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8004 * lyxfunc.C (processKeySym): comment the Escape handling, remove
8006 (Dispatch): implement LFUN_ESCAPE
8008 * commandtags.h: add LFUN_ESCAPE
8010 * LyXAction.C (init): add entry for LFUN_ESCAPE
8012 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
8013 Remove commented code.
8014 (insertNote): moved here
8015 (open_new_inset): moved here
8017 * BufferView[2].[Ch]: move insertNote and open_new_inset to
8020 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8022 * kbmap.C (findbinding): clean it up and make it work correctly.
8024 * lyx_main.C (init): do not pass argc and argv as parameters
8026 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
8028 * buffer.C: fix path for OS/2 & Win32
8032 * lyx_main.C: Added os:: class.
8034 * os2_defines.h: update
8036 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8038 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8039 better by trying again with reduced state.
8041 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8043 * lyxrc.C (read): print error about invalid key sequence only when
8044 debugging (because not all latinX keysyms are known to some X
8047 * kbsequence.C (getiso): add a few std:: qualifiers
8048 (getiso): comment out extra return statement.
8050 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
8052 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8054 (Dispatch): enhance the accent inset a bit. (not perfect)
8056 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8058 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8060 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8062 * bufferlist.C (emergencyWrite): fix assert() call
8064 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
8066 * text.C (InsertChar): Added trivial patch to only send the "you
8067 can not do multiple spaces this way" message once during a
8070 2001-05-08 Baruch Even <baruch@lyx.org>
8072 * Makefile.am: Changed order of libraries to get LyX to link properly
8073 with the gnome frontend.
8075 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8077 * LaTeXFeatures.h: add a std:: qualifier
8079 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8081 * paragraph.C (String): use stringstream
8083 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8085 * paragraph.C (writeFile): remove footflag arg
8087 * buffer.C (makeLaTeXFile): use stringstream
8088 (latexParagraphs): remove footnot gurba
8090 * LaTeXFeatures.C (getPackages): use stringstream
8091 (getMacros): likewise
8092 (getTClassPreamble): likewise
8093 (getFloatDefinitions): new method
8095 * paragraph.C (writeFile): reindent
8098 * WorkArea.h: revert the xpos + etc changes.
8100 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8102 * lyxparagraph.[Ch]: add copy constructor, remove Clone
8104 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8105 (pasteSelection): likewise
8106 * text2.C (CreateUndo): likewise
8108 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8110 * minibuffer.C (peek_event): temporarily reduce the functionality
8111 of the minibuffer (to allow args on lfuns)
8113 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
8114 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
8116 * buffer.C (readInset): add compability reading of old float
8117 lists, add reading of new style float list.
8118 (readInset): avoid reevaluation of inscmd.getCmdName()
8119 (getLists): reindent
8121 * MenuBackend.C (MenuItem): implement parsing of
8122 md_floatlistinsert and md_floatinsert.
8123 (expand::LastFiles): move initalizaton of iterators out of loop,
8125 (expand::Documents): introduce typdedef vector<string> Strings,
8127 (expand::ExportFormats): introduce typedef vector<Format const *>
8128 Formats, and use it.
8129 (expand): implement FloatListInsert and FloatInsert.
8131 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8132 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8133 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8135 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8137 (Dispatch::LFUN_FLOAT_LIST): implement
8139 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8141 * LaTeX.C (run): Fix problem with --export code.
8143 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8145 * BufferView.[Ch] (workarea): removed.
8146 (getClipboard) new method; wrapper for workarea()->getClipboard()
8148 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8151 * WorkArea.h (width, height, xpos, ypos): These methods all
8152 returned the dimensions of the work_area sub-area of WorkArea,
8153 resulting in a position error if the WorkArea were resized. Now
8154 return the dimensions of the entire WorkArea.
8156 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8158 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8160 * LaTeX.C (deplog): correct the syntax of regex reg1
8162 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8164 * undo.C: remove !NEW_INSETS cruft
8166 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8168 * text2.C: remove !NEW_INSETS cruft
8170 * text.C: remove !NEW_INSETS cruft
8172 * tabular.C: remove !NEW_INSETS cruft
8174 * spellchecker.C: remove !NEW_INSETS cruft
8176 * lyxtext.h: remove !NEW_INSETS cruft
8178 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8180 * lyxfunc.C: remove !NEW_INSETS cruft
8182 * lyxfind.C: remove !NEW_INSETS cruft
8184 * lyx_cb.C: remove !NEW_INSETS cruft
8186 * figureForm.C: remove !NEW_INSETS cruft
8188 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8190 * buffer.[Ch]: remove !NEW_INSETS cruft
8192 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8194 * CutAndPaste.C: remove !NEW_INSETS cruft
8196 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8198 * BufferView2.C: remove !NEW_INSETS cruft
8200 * BufferView.h: remove !NEW_INSETS cruft
8202 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8204 * Lsstream.h: include LString.h before the sstream headers to
8205 fix problem with gcc 2.95.3 and lyxstring
8207 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8209 * lyx_main.C: add using directives when needed for C functions
8210 declared in std:: namespace.
8212 2001-04-27 Juergen Vigna <jug@sad.it>
8214 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8215 (SetHeightOfRow): comment out the update call should not be needed!
8217 2001-04-13 Juergen Vigna <jug@sad.it>
8219 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8220 (LyXTabular): tried to minimize operator= operations (and realized
8221 hopfully Lars wish).
8223 2001-04-27 Juergen Vigna <jug@sad.it>
8225 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8227 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8229 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8231 * buffer.C (readInset): hack to make listof algorithm work
8233 * BufferView_pimpl.C: hack to make listof algorithm work
8235 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8237 * LyXAction.C: removed all !NEW_INSETS cruft
8238 (init): moved lfun_item in method
8240 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8242 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8244 * BufferView2.C (theLockingInset): white space.
8246 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8248 * minibuffer.C: include <iostream>
8250 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8252 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8254 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8256 * text.[Ch] (TransposeChars): new method
8258 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8260 * call message directly through LyXView instead of through LyXFunc
8261 * BufferView2.C: adjust
8262 * BufferView_pimpl.C: adjust
8263 * FontLoader.C: adjust
8265 * bufferview_funcs.C: adjust
8266 * converter.C: adjust
8267 * figureForm.C: adjust
8268 * importer.C: adjust
8270 * lyx_gui_misc.C: adjust
8274 + more files in subdirs
8276 * lyxparagraph.h (size): move up int file
8279 * adjust all uses of Assert to lyx::Assert.
8281 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8282 lyxfunctional in namespace lyx
8283 * layout.C (hasLayout): ditto
8286 (delete_layout): ditto
8287 (NumberOfClass): ditto
8288 * converter.C (GetFormat): ditto
8293 * bufferlist.C (getFileNames): ditto
8294 (emergencyWriteAll): ditto
8297 * MenuBackend.C (hasSubmenu): ditto
8300 * BufferView_pimpl.C (getInsetByCode): ditto
8302 2001-04-18 Juergen Vigna <jug@sad.it>
8304 * vspace.C (asLatexString): fixed the 100% problem.
8306 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8308 * lyxfunc.C (Dispatch):
8310 * minibuffer.h: add a few std:: qualifiers
8312 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8314 * minibuffer.[Ch]: reimplement so that commands is initiated and
8315 run from lyxfunc, simplified som handling, and made the completion
8316 and history code for complete. wip.
8318 * lyxfunc.C (processKeySym): call message
8319 (miniDispatch): new temporary method
8320 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8321 (LFUN_MESSAGE): implement
8322 (LFUN_MESSAGE_PUSH): implement
8323 (LFUN_MESSAGE_POP): implement
8324 (initMiniBuffer): the initial/defualt minibuffer message.
8326 * lyxfont.[Ch]: inline some more getters
8328 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8330 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8332 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8333 (AutoSave): use LFUN_MESSAGE
8334 (Reconfigure): ditto
8336 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8338 * figureForm.C: use LFUN_MESSAGE
8340 * converter.C (runLaTeX): use LFUN_MESSAGE
8342 * bufferview_funcs.C: use LFUN_MESSAGE
8344 (changeDepth): ditto
8346 * bufferparams.h: use boost::
8348 * bufferlist.h: inherit privately from noncopyable
8350 * bufferlist.C (loadLyXFile): remove some commented code.
8352 * buffer.C (runChktex): use LFUN_MESSAGE
8354 * ShareContainer.h: inherit privately from noncopyable
8356 * ParagraphParameters.[hC] (depth): inline it.
8358 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8360 (message): new method
8361 (messagePush): ditto
8363 (show): init minibuffer
8364 (showState): direct call
8366 * LaTeX.[Ch]: inherit privately from noncopyable
8367 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8368 instead of WriteStatus.
8370 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8372 * BufferView_pimpl.C (buffer): don't init minibuffer
8373 (workAreaButtonPress): use LFUN_MESSAGE
8374 (workAreaButtonRelease): ditto
8375 (savePosition): ditto
8376 (restorePosition): ditto
8377 (MenuInsertLyXFile): ditto
8378 (workAreaExpose): don't init minibuffer
8379 (update): remove commented code, simplify
8381 * BufferView2.C (openStuff): use LFUN_MESSAGE
8382 (toggleFloat): ditto
8385 (copyEnvironment): ditto
8386 (pasteEnvironment): ditto
8391 (updateInset): remove some commented code
8393 * lastfiles.h: inherit privately from noncopyable
8398 * lyxlex_pimpl.h: ditto
8400 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8401 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8402 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8404 * LyXAction.h: inherit privately from noncopyable, add methods
8405 func_begin, func_end, returning iterators to the func map.
8407 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8408 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8409 (func_begin): new method
8410 (func_end): new method
8412 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8414 (copySelection): ditto
8415 (pasteSelection): ditto
8417 * BufferView.C: whitespace change
8418 * BufferView.h: inherit privately from noncopyable
8420 2001-04-16 Allan Rae <rae@lyx.org>
8422 * tabular-old.C (l_getline):
8423 * spellchecker.C (sc_check_word):
8424 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8425 an unrecognised preprocessor directive. So ensure they're wrapped.
8427 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8429 * src/exporter.C (Export): Give an error message when path to file
8432 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8434 * LaTeX.C (deplog): Always check that foundfile exists.
8436 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8439 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8441 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8443 * tabular.[Ch] (getLabelList): implement new method
8445 * minibuffer.h: comment ouf setTiimer
8447 * minibuffer.C (ExecutingCB): constify res
8448 (peek_event): constify s
8449 (Set): constify ntext
8450 (Init): constify nicename
8452 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8454 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8455 (savePosition): use two params to Minibuffer::Set
8456 (restorePosition): ditto
8458 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8460 * lyx_main.C: include language.h
8462 * Makefile.am (lyx_main.o): add language.h
8464 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8470 * CutAndPaste.C: include gettext.h
8472 * lyxfont.h: remove old hack with ON and OFF.
8475 * lyxfont.h: do not include language.h...
8480 * bufferview_funcs.C:
8486 * paragraph.C: ... but do it here instead
8488 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8490 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8492 * tabular.C: small reformat
8494 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8497 (BreakParagraph): ditto
8498 (SetOnlyLayout): ditto
8501 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8504 * lastfiles.C: removed most using decl, add std:: where needed
8506 * buffer.C: ws changes
8508 * MenuBackend.C (class compare_format): put into anon namespace
8509 (expand): constify label, names, action, action2
8512 * text.C (SingleWidth): constify font
8513 (IsBoundary): constify rtl2
8514 (GetVisibleRow): constify ww
8516 * LaTeX.C (deplog): constify logfile
8518 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8520 (workAreaExpose): constify widthChange, heightChange
8522 * lyxrow.C (par): moved
8525 * lyxrow.h: as inlines here
8527 * lyxfont.h (shape): moved from lyxfont.C
8528 (emph): moved from lyxfont.C
8530 * lyxfont.C (LyXFont): use initialization list for all
8532 (shape): move to lyxfont.h as inline
8533 (emph): move to lyxfont.h as inline
8536 2001-04-04 Juergen Vigna <jug@sad.it>
8538 * vspace.C: had to include stdio.h for use of sscanf
8540 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8543 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8544 independent of xforms.
8546 2001-04-02 Juergen Vigna <jug@sad.it>
8548 * spellchecker.C: fixed namespace placing!
8550 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8552 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8553 the LyXParagraph * is 0.
8555 2001-03-29 Juergen Vigna <jug@sad.it>
8557 * vspace.C: added support for %, c%, p%, l%.
8558 (stringFromUnit): added helper function.
8559 (asLatexString): changed to give right results for the %-values.
8561 * buffer.C: convert the widthp in a width%.
8563 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8565 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8568 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8569 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8571 * lyx_cb.[Ch]: see above.
8573 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8577 * lyx.[Ch]: replaced by figure_form.[Ch].
8581 * lyxfunc.C: changed headers associated with above changes.
8583 2001-03-27 Juergen Vigna <jug@sad.it>
8585 * BufferView_pimpl.C: set the temporary cursor right!
8587 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8589 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8591 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8593 * LString.h: removed "using std::getline"!
8595 * BufferView_pimpl.C (Dispatch): changes due to changes in
8596 InsetInclude::Params.
8598 * buffer.C (tag_name): removed redundant break statements as they were
8599 producing lots of warnings with my compiler.
8601 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8603 * LString.h: add "using std::getline" when using the real <string>.
8605 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8607 * buffer.C: removed bitset usage.
8608 PAR_TAG moved to an anonymous name space.
8609 (tag_name): new funtion, also in the anonymous namespace.
8610 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8611 (makeDocBookFile): clean code. Completed transition from string arrays
8613 (SimpleDocBookOnePar): code clean.
8615 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8617 * tabular.C: add some comments.
8619 2001-03-22 Juergen Vigna <jug@sad.it>
8621 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8622 compatibility read a bit and fixed bug with minipage in different
8625 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8627 * buffer.C (pop_tag): removed.
8628 (push_tag): removed.
8629 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8630 array replaced with vector. Added support for CDATA sections.
8631 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8633 (makeDocBookFile): XML conformant declaration of CDATA section,
8634 fixed bug related to <emphasis> in the first paragraph char.
8635 (sgmlOpenTag): exclude empty tags.
8636 (sgmlCloseTag): ditto.
8638 * buffer.h (pop_tag): removed.
8639 (push_tag): removed.
8641 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
8643 * language.h (Languages): added size_type and size().
8645 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8647 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8648 response on compability reading of minipages. One probliem is that
8649 the old usage of minipages was «flertydig»
8651 * several files here and in subdirs: don't use static at file
8652 scope use anon namespaces instead.
8654 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
8656 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8657 LaTeX output. This is necessary for Literate document
8660 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8662 * buffer.C: insert hfill when needed.
8664 * tabular.C (l_getline): use string::erase, small whitespace change.
8666 * BufferView_pimpl.C: try the anon namespace.
8669 2001-03-16 Juergen Vigna <jug@sad.it>
8671 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8672 otherwise it won't open options-dialogs.
8674 * buffer.C: honor pextraWidth(p) on converting minipages.
8676 * tabular.C (l_getline): changed the functions to strip trailing \r.
8678 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
8680 * BufferView_pimpl.C:
8681 * minibuffer..C: added "using SigC::slot" declaration.
8683 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8685 * lyxlex_pimpl.h: noncopyable is in namespace boost.
8691 * paragraph.C: ditto
8693 * lyxtext.h: NO_PEXTRA
8695 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8697 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8698 * ParameterStruct.h: ditto
8699 * ParagraphParameters.h: ditto
8700 * lyxparagraph.h: ditto
8702 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8704 * buffer.C: add compability for minipage alignment.
8705 (latexParagraphs): remove unwanted pextra check.
8707 * several files: remove CXX_WORKING_NAMESPACES
8709 * buffer.C (pop_tag): tie is in namespace boost
8711 * BufferView.h: noncopyable is in namespace boost
8716 * lastfiles.h: ditto
8717 * bufferlist.h: ditto
8718 * ShareContainer.h: ditto
8720 * LyXAction.h: ditto
8723 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8725 * Merging changes from BRANCH_MVC back into HEAD.
8727 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
8729 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
8731 * BufferView_pimpl.C: change from intl.C
8735 * Makefile.am: move combox.*
8741 * intl.C: remove dialog (covered by prefs)
8743 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8745 * lyxfunc.C (Dispatch): removed redundant break statement.
8747 2001-03-14 Juergen Vigna <jug@sad.it>
8749 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
8751 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8753 * buffer.C: add hack to fix compability reading of minipages.
8755 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
8757 * buffer.C (getLists): Cleanup.
8759 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8761 * lyxfont.C (update): don't honor toggleall on font size.
8763 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
8767 * Makefile.am: moved to frontends/xforms/
8771 * BufferView_pimpl.C: changes for moved mathpanel
8773 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8775 * gettext.h: fix gettext_init() in --disable-nls
8777 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8779 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8781 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
8784 * lyx.h: strip external form
8786 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8788 * BufferView_pimpl.C: add comment, destroySplash()
8790 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8792 * BufferView_pimpl.C:
8796 * lyxfunc.C: use re-worked insetinclude
8798 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8800 * buffer.C: add using std::stringstream.
8802 * lyx_cb.C: readd using std::ios.
8804 * buffer.C: add using std::map.
8806 * BufferView_pimpl.C: add using std::vector.
8808 * ShareContainer.h: add std:: to swap.
8810 * buffer.h: add some typedefs
8811 * buffer.C (getLists): use them
8812 (getLists): renamed from getTocList.
8813 add a counter for the different float types and use it in the
8815 (getLists): use the same counter for the NEW_INSETS and the "non"
8818 * lyx_cb.h: remove unused items, includes, using etc.
8820 * ShareContainer.h: remove some commented code, add more comments
8821 and "documentation".
8823 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8825 * buffer.C (getTocList): make the list also when NEW_INSETS is
8828 * buffer.h: remove TocType
8830 * buffer.C (getTocList): change to return a map<string,
8831 vector<TocItem> >, implement for dynamic number of list.
8833 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8834 * text2.C (PasteSelection): adjust
8835 * CutAndPaste.C (pasteSelection): adjust
8837 * FloatList.C (FloatList): update from the new_insets branch.
8838 * Floating.[Ch]: ditto
8839 * LaTeXFeatures.C: ditto
8841 * lyxlex_pimpl.C: ditto
8843 * paragraph.C (Last): remove when NEW_INSETS is defined.
8845 * other file: changes because of the above.
8847 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8849 * lyxparagraph.h: rename next to next_, previous to previous_,
8850 make them private for NEW_INSETS. Rename Next() to next(),
8851 Previous() to previous().
8853 * other files: changes because of the above.
8855 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
8858 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8861 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8863 * main.C (main): pass lyx_localedir to gettext_init().
8865 * gettext.h: remove locale_init and gettext_init macros
8867 * gettext.C (locale_init): new function
8868 (gettext_init): new function
8870 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8873 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
8875 * Moved credits to frontends:
8876 * credits.[Ch]: removed
8877 * credits_form.[Ch]: removed
8878 * lyx_gui_misc.C: remove credits stuff
8881 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8883 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
8885 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
8886 unneeded destructor.
8888 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
8889 a standalone pointer again.
8891 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
8893 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
8899 * ToolbarDefaults.C:
8908 * BufferView_pimpl.C: use new file dialog in GUII
8911 * lyx_cb.C: remove LayoutsCB to Toolbar
8913 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8915 * ShareContainer.h (get): add std:: qualifier
8917 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8919 * ShareContainer.h: define a proper ShareContainer::value_type
8920 type (and use typename to please compaq cxx)
8922 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8924 * lyxparagraph.h: move serveral local vars to
8925 ParameterStruct/ParagraphParameters., use ShareContainer in
8926 FontTable., make vars in FontTable private and add getter and
8929 * paragraph.C: changes because of the above.
8931 * lyxfont.h: remove copy constructor and copy assignment. (the
8932 default ones is ok), move number inside FontBits. move inlines to
8935 * lyxfont.C: add number to initializaton of statics, move several
8936 inlines here. constify several local vars. some whitespace
8937 cleanup. Dont hide outerscope variables.
8939 * Spacing.h: add two new constructors to match the set methods.
8941 * ShareContainer.h: new file, will perhaps be moved to support
8943 * ParameterStruct.h: new file
8945 * ParagraphParameters.h: new file
8947 * ParagraphParameters.C: new file
8949 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
8950 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
8952 * BufferView_pimpl.C: ParagraphParameter changes.
8953 * buffer.C: Likewise.
8954 * bufferview_funcs.C: Likewise.
8956 * text2.C: Likewise.
8958 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8960 * lyxfind.C (LyXReplace): do not redefine default argument in
8962 (IsStringInText): ditto
8963 (SearchForward): ditto
8964 (SearchBackward): ditto
8966 2001-03-06 Juergen Vigna <jug@sad.it>
8968 * lyxfind.C (IsStringInText): put parentes around expressions.
8970 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
8972 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
8974 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
8976 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
8978 * stl_string_fwd.h: add comment
8980 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
8983 * tabular.C: remove unused DocBook methods
8989 killed DO_USE_DEFAULT_LANGUAGE
8991 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8993 * lyx_gui.C: do not include language.h.
8995 * bufferview_funcs.C (ToggleAndShow): do not provide optional
8996 arguments in function implementation.
8998 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9000 * BufferView_pimpl.C: add <ctime>
9002 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9004 * BufferView_pimpl.C: add using std::find_if
9006 2001-02-27 José Matos <jamatos@fep.up.pt>
9008 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
9011 2001-02-11 José Matos <jamatos@fep.up.pt>
9013 * buffer.C (makeDocBookFile): command styles now have a parameter as
9016 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
9018 * layout_forms.[Ch]: removed
9019 * lyx_cb.[Ch]: out character
9020 * lyx_gui.C: out character
9021 * lyx_gui_misc.C: out character
9022 * bufferview_funcs.C: : out character,
9023 added toggleall as parameter in ToggleAndShow
9025 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
9027 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
9029 * text2.C (SetCurrentFont): Disable number property at boundary.
9031 2001-02-26 Juergen Vigna <jug@sad.it>
9033 * lyxfunc.C (getStatus): added a string argument override function so
9034 that this is correctly called from LyXFunc::Dispatch if it contains a
9035 do_not_use_argument which is used!
9036 (Dispatch): added check for "custom" export and call appropriate func.
9038 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
9040 * lyxrc.C: Add language_command_local, language_use_babel and
9041 language_global_options.
9043 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9045 * buffer.C (makeLaTeXFile): Use language_use_babel and
9046 language_global_options.
9048 2001-02-23 Juergen Vigna <jug@sad.it>
9050 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9051 which works with LyXText and putted it inside BufferView. Here now we
9052 only call for that part the BufferView::Dispatch() function.
9054 * BufferView.C (Dispatch): added.
9056 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9057 functions which needs to use a LyXText over from LyXFunc.
9058 (MenuInsertLyXFile): added
9059 (getInsetByCode): added
9060 (moveCursorUpdate): added
9061 (static TEXT): added
9063 2001-02-22 Juergen Vigna <jug@sad.it>
9065 * BufferView_pimpl.C (update): call a status update to see if LyXText
9068 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9070 * vc-backend.C (revert): implement for CVS
9071 (getLog): implement for CVS
9073 2001-02-20 Juergen Vigna <jug@sad.it>
9075 * text2.C (ClearSelection): added BufferView param for inset_owner call
9077 * lyxfunc.C (TEXT): added this function and use it instead of
9078 directly owner->view()-text of getLyXText().
9080 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
9082 * src/layout_forms.C: out preamble
9083 * src/layout_forms.h: out preamble
9084 * src/lyx_cb.C: out preamble
9085 * src/lyx_cb.h: out preamble
9086 * src/lyx_gui.C: out preamble
9087 * src/lyx_gui_misc.C: out preamble
9088 * src/lyxfunc.C: connect with guii preamble
9090 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
9092 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9094 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
9096 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9097 whether to run bibtex.
9099 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
9101 * Makefile.am (lyx_SOURCES): Remove BackStack.h
9103 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9105 * Makefile.am (lyx_SOURCES): removed bibforms.h
9109 * text.C (GetVisibleRow): make several local vars const
9111 * tabular.C: small cleanup.
9113 * lyxserver.C (callback): use compare instead of strncmp
9115 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
9116 inlines to after class or to paragraph.C
9118 * lyxfont.h: remove friend operator!=
9120 * converter.h: move friend bool operator< to non friend and after
9123 * combox.h: small cleanup
9125 * buffer.h: doxygen, remove unused constructor, move inclas inlies
9126 to inlines after class def.
9128 * buffer.C (pop_tag): use string operations instead of strcmp
9130 * bmtable.c: doxygen, small cleanup
9132 * LaTeX.h: remove friend operator==
9134 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9146 * BufferView_pimpl.C:
9147 * BufferView.[Ch]: remove cruft
9149 2001-02-14 Juergen Vigna <jug@sad.it>
9151 * lyxfunc.C: removed #if 0 unused code
9153 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9155 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9157 * text2.C (SetSelection): added a BufferView * parameter
9159 2001-02-13 Juergen Vigna <jug@sad.it>
9161 * lyxfunc.C (Dispatch): fixed protected blank problem.
9162 * BufferView2.C (protectedBlank): added LyxText * parameter.
9164 * tabular.C (AppendRow): forgot to set row_info of newly added row.
9165 (AppendColumn): same as above for column_info.
9167 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9168 (moveCursorUpdate): use a LyXText param for support of InsetText.
9170 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9171 (tripleClick): ditto
9173 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9175 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9177 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9179 * text2.C (SetSelection): set correct update status if inset_owner
9182 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9184 * tabular.C: remove some commented code.
9186 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9188 * BufferView_pimpl.C: call hideSplash()
9190 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9193 * bibforms.h: remove
9196 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9197 add LFUN_CHILD_CREATE
9199 * counters.h: fix tiny typo
9204 * lyx.C: move splash to frontends/xforms/
9206 * lyx_gui_misc.C: move Include and Bibform to frontends
9208 * lyxvc.h: clarify comment
9210 * vspace.C: tiny housekeeping
9212 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9214 * text.C (PrepareToPrint): RTL Fix.
9216 * paragraph.C (GetUChar): New method.
9217 (String): Use GetUChar.
9219 * buffer.C (asciiParagraph): Use GetUChar.
9221 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9223 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9225 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9228 * buffer.C: rename to getLogName(), handle
9229 build log / latex log nicely
9231 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9234 * MenuBackend.h: remove support for reference menuitem type.
9236 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9238 * BufferView_pimpl.C: housekeeping
9239 * BufferView_pimpl.h:
9244 * minibuffer.h: move Timeout GUI-I
9246 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9248 * lyxrc.C (read): Update converters data-structures.
9250 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9252 * LaTeX.h (operator!=): add operator != for Aux_Info
9254 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9256 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9258 * LaTeXLog.C: deleted, useful code moved to Buffer
9261 * buffer.C: new function getLatexLogName()
9267 * lyxfunc.C: use frontends for LaTeX and VC logs
9269 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9271 * LaTeX.h: yet another std:: that Allan forgot.
9273 * Variables.C (set): renamed from isset(), because this clashes
9274 with some HP-UX macros (grr).
9276 2001-02-06 Allan Rae <rae@lyx.org>
9278 * LaTeX.h: Another bug fix. Missing std:: this time.
9280 2001-02-04 Allan Rae <rae@lyx.org>
9282 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9283 floats problem. I've left it commented out because it's not quite
9284 correct. It should also test that the current object is a table or
9285 figure inset. But I haven't gotten around to figuring out how to do
9286 that. I *think* it'll be something like: "table" == inset.type()
9288 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9291 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9293 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9294 all the citation/databases/styles in the auxilary file.
9295 (run): Rerun latex if there was a babel language error.
9297 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9299 * text.C (Backspace): Preserve the font when changing newline char
9301 (BreakParagraph): If the cursor is before a space, delete the space.
9303 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9305 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9307 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9308 new argument (code).
9309 (ChangeCitationsIfUnique): New method.
9311 * paragraph.C (GetPositionOfInset): Handle bibkey.
9313 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9315 * BufferView_pimpl.h: change type of Position::par_pos to
9316 LyXParagraph::size_type.
9318 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9320 * BufferView_pimpl.C (savePosition, restorePosition): Write
9321 messages to minibuffer.
9323 2001-01-28 José Matos <jamatos@fep.up.pt>
9325 * buffer.C (makeDocBookFile): adds support for document language.
9326 A silly restriction on the name of LatexCommand types where removed.
9327 Added support for CDATA sections, allows to chars unescaped, used
9328 among others in code, to avoid escape < and >.
9330 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9332 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9333 saved positions instrad of a stack. Furthermore, a position is
9334 stored using paragraph id/paragraph position.
9336 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9337 Remove LFUN_REF_BACK.
9339 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9341 * converter.C (dvipdfm_options): New method.
9343 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9345 * vspace.C (isValidLength): Fix for empty input string.
9347 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9349 * LyXAction.C (init): change description of LFUN_FIGURE to
9352 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9354 * LaTeX.C: add using directive
9356 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9358 * MenuBackend.C (expand): Fix the sorting of the formats.
9360 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9362 * lyx_main.C: tiny error message fix
9364 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9366 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9367 calling fl_initialize(). This fixes the problem with ',' as
9368 decimal separator in text files.
9370 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9372 * trans.C (process): Fix the keymap bug.
9374 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9376 * LaTeX.C (scanAuxFiles): New method. Provides support for
9377 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9378 (scanLogFile) Scan for "run BibTeX" messages.
9380 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9381 OT1 font encoding. Also, load the aecompl package if the ae
9384 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9386 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9388 * texrow.C (increasePos): turn two error messages into debug
9391 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9393 * LaTeX.C (scanAux): Handle the \@input macro.
9394 (runBibTeX): Use scanAux().
9396 * language.C (latex_options_): New field.
9398 * LaTeXFeatures.C (getMacros): Add language macros.
9400 * buffer.C (makeLaTeXFile): Small fix.
9402 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9404 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9406 * text2.C: add a using directive.
9408 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9413 * lyxfunc.C: kill LyXBell.
9415 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9417 * text.C (IsBoundary): Remove the error message
9419 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9421 * lyxrc.C (setDefaults): Correct initialization value for
9424 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9426 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9429 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9432 * src/LyXAction.C: Added reference-next.
9434 * text.C (InsertChar): Use contains instead of strchr.
9436 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9438 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9440 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9441 alignment commands (when needed).
9443 * text.C (InsertChar): Add ':' to number separator chars.