1 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * lyxgluelength.h (isValidGlueLength): add default arg on
4 parameter 2. Remove default arg from friend in class.
6 * lyxlength.h (isValidLength): add default arg on parameter 2.
7 Remove default arg from friend in class.
9 * text2.C (LyXText): adjust, initialize refresh_row.
13 (insertParagraph): adjst
14 (redoParagraphs): adjust
16 (updateCounters): adjust
17 (deleteEmptyParagraphMechanism): first attempt at fixing a
20 * text.C (top_y): adjust
21 (setHeightOfRow): adjust
25 * lyxtext.h: include RowList.h
26 (~LyXText): not needed anymore, deleted.
27 (firstRow): modify for RowList
28 (lastRow): new function
29 Delete firstrow and lastrow class variables, add a Rowlist
30 rowlist_ class variable.
32 * lyxrow.C (lastPos): use empty() and not !size() to check if a
35 * RowList.C (insert): fix case where it == begin().
37 2003-03-26 Angus Leeming <leeming@lyx.org>
39 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
42 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
44 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
46 * RowList.[Ch]: new files
48 * ParagraphList.C (erase): handle the case where it == begin
51 2003-03-25 John Levon <levon@movementarian.org>
55 * aspell.C: add new aspell support
58 * lyxrc.C: Make use_pspell be use_spell_lib. Always
61 2003-03-25 Angus Leeming <leeming@lyx.org>
64 * LyXAction.C (init): new LFUN_INSET_INSERT.
66 * BufferView_pimpl.C (dispatch): split out part of the
67 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
69 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
72 2003-03-25 Angus Leeming <leeming@lyx.org>
74 * lyxfunc.C (dispatch): changes to the Dialogs interface.
76 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
79 * text3.C: remove useless row->height(0)
81 2003-03-25 John Levon <levon@movementarian.org>
85 * text3.C: rename the refreshing stuff to better names
87 2003-03-24 John Levon <levon@movementarian.org>
90 * BufferView_pimpl.C: update layout choice on a mouse
93 2003-03-23 John Levon <levon@movementarian.org>
95 * Makefile.am: fix commandtags.h reference
97 2003-03-22 John Levon <levon@movementarian.org>
104 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
106 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
109 * text.C: take the rtl methods out of line
111 2003-03-21 André Pönitz <poenitz@gmx.net>
113 * metricsinfo.[Ch]: new files containing structures to be passed around
114 during the two-phase-drawing...
116 2003-03-21 André Pönitz <poenitz@gmx.net>
118 * lyxtextclass.C: read 'environment' tag.
120 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
122 * text2.C (removeRow): fix bug 964
124 2003-03-20 John Levon <levon@movementarian.org>
128 * text2.C: paint cleanups. Inset::update() dropped font
131 2003-03-19 John Levon <levon@movementarian.org>
133 * lyxfunc.C: only fitcursor/markDirty if available()
135 2003-03-19 John Levon <levon@movementarian.org>
137 * commandtags.h: rename to ...
139 * lfuns.h: ... this, and renumber / cleanup
141 2003-03-19 John Levon <levon@movementarian.org>
143 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
144 fit the cursor after an lfun
148 * BufferView_pimpl.h:
149 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
151 * LyXAction.C: layout-character should have ReadOnly
153 * ParagraphParameters.C:
155 * bufferview_funcs.C:
162 * undo_funcs.C: changes from above
164 2003-03-18 John Levon <levon@movementarian.org>
166 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
167 remove it from update()
169 * lyxfunc.C: update layout choice after an lfun
171 * text3.C: remove extra updateLayoutChoice()s
173 2003-03-18 John Levon <levon@movementarian.org>
175 * text.C: top_y change means full repaint, fix
176 a drawing bug with cursor movement
178 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
182 * text2.C: anchor row on setCursor
184 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
186 * lyxtext.h: remove almost all mutable keywords
189 * text3.C: remove const keywords accordingly
191 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
193 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
195 (TeXEnvironment): ditto
198 2003-03-17 John Levon <levon@movementarian.org>
200 * text.C (rowBreakPoint): remove attempt to fix displayed
201 math insets inside a manual label
203 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
205 * lyxtext.h: remove BufferView* as first arg from almost all class
207 * other files: adjust.
209 2003-03-17 John Levon <levon@movementarian.org>
213 * text2.C: more paint cleanups
215 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
218 * rowpainter.C: remove "smart" background painting code
220 2003-03-16 John Levon <levon@movementarian.org>
225 * text3.C: add helper functions for setting refresh_row/y
227 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
229 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
230 newline inset which *can* get inserted in the pass_thru layouts.
231 This is primarily for literate documents.
233 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
235 * buffer.C: increment LYX_FORMAT to 223
237 2003-03-14 André Pönitz <poenitz@gmx.net>
239 * textclass.h: prepare for environment handling, ws changes
240 * lyxlayout.C: read latexheader and latexfooter tags
242 2003-03-14 John Levon <levon@movementarian.org>
244 * text2.C: rewrite ::status() a bit
246 2003-03-13 John Levon <levon@movementarian.org>
248 * lyxtext.h: add some docs
250 2003-03-13 John Levon <levon@movementarian.org>
255 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
257 2003-03-13 John Levon <levon@movementarian.org>
259 * text3.C: fix appendix redrawing
261 2003-03-13 John Levon <levon@movementarian.org>
263 * text.C (setHeightOfRow):
265 * rowpainter.C: make appendix mark have the text
266 "Appendix" so the user knows what it is
269 * LColor.C: s/appendixline/appendix/ from above
271 2003-03-13 John Levon <levon@movementarian.org>
273 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
275 * text.C: fix a getChar(pos) bug properly
277 2003-03-13 Angus Leeming <leeming@lyx.org>
280 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
281 Probably only temporary. Let's see how things pan out.
283 * BufferView.C (unlockInset):
284 * BufferView_pimpl.C (fitCursor):
285 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
287 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
288 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
290 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
291 new functions that convert ParagraphParameters to and from a string.
293 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
294 BufferView::Pimpl's dispatch.
295 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
297 2003-03-13 André Pönitz <poenitz@gmx.net>
301 * factory.C: make it aware of InsetEnv
303 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
305 * text2.C (setCursor): never ask for one past last
306 (setCursor): add some debugging messages.
308 * text.C (singleWidth): never ask for one past last
312 (rowBreakPoint): ditto
313 (setHeightOfRow): ditto
314 (prepareToPrint): ditto
316 * rowpainter.C (paintBackground): never ask for one past last
317 (paintText): never ask for one past last
319 * paragraph_pimpl.C (getChar): make the assert stricter, never
320 allow the one past last pos to be taken
322 * paragraph.C (getChar): ws changes only
324 * lyxrow.C (nextRowIsAllInset): never ask for one past last
325 (numberOfSeparators): ditto
326 (numberOfHfills): ditto
328 2003-03-12 John Levon <levon@movementarian.org>
334 * paragraph_funcs.C: fix per-buffer authorlists
336 2003-03-12 John Levon <levon@movementarian.org>
338 * text.C: fix newline in right address
340 2003-03-12 Angus Leeming <leeming@lyx.org>
342 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
343 duplicate those in LyXFunc::dispatch.
348 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
349 Add LFUN_FONTFREE_UPDATE.
351 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
352 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
354 * bufferview_func.[Ch]: several new functions to facilliate
355 transfer of data to and from the character dialog.
357 2003-03-12 John Levon <levon@movementarian.org>
367 * text3.C: remove META_NEWLINE in favour of an inset
370 * rowpainter.C: remove paintNewline (done by inset)
372 2003-03-12 John Levon <levon@movementarian.org>
374 * paragraph_pimpl.C: complain about bad getChar()s
377 2003-03-12 John Levon <levon@movementarian.org>
380 * buffer.C: move paragraph read into a separate function,
381 a little renaming to reflect that.
384 * bufferparams.C: remove the author_ids map, not necessary now
387 * factory.C: moved Buffer::readInset to here
390 * paragraph_funcs.C: readParagraph free function moved from
393 * tabular.C: name change
395 2003-03-12 John Levon <levon@movementarian.org>
398 * ParagraphParameters.C: move par params input to
401 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
402 behave like a normal read from the stream wrt reading
405 2003-03-12 John Levon <levon@movementarian.org>
408 * ParagraphParameters.h:
409 * ParagraphParameters.C: move output code to a
412 2003-03-12 John Levon <levon@movementarian.org>
414 * BufferView.C (insertLyXFile):
417 * tabular.C: use a parlist iterator for creating the
420 2003-03-12 John Levon <levon@movementarian.org>
422 * buffer.C: make current_change static local not
425 2003-03-12 John Levon <levon@movementarian.org>
427 * buffer.C: fix insertStringAsLines for change tracking
429 2003-03-12 John Levon <levon@movementarian.org>
436 * bufferparams.C: move author list into params. Rename some
437 functions. Move the header reading into a separate token
438 loop. Move the header token reading into BufferParams.
440 2003-03-12 John Levon <levon@movementarian.org>
442 * changes.C: put debug inside lyxerr.debugging() checks
444 2003-03-11 André Pönitz <poenitz@gmx.net>
446 * factory.C: make it aware of InsetHFill
448 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
450 * buffer.C (latexParagraphs): move function from here...
451 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
454 2003-03-10 Angus Leeming <leeming@lyx.org>
456 * LyXAction.C (init): fix bug in poplating array with multiple entries
457 with the same LFUN (spotted by JMarc).
459 2003-03-10 John Levon <levon@movementarian.org>
462 * text2.C: move getColumnNearX() near its
465 2003-03-10 John Levon <levon@movementarian.org>
467 * text.C: fix break before a minipage
469 2003-03-10 John Levon <levon@movementarian.org>
471 * text.C: fix the last commit
473 2003-03-09 John Levon <levon@movementarian.org>
477 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
478 bug 365 (don't break before insets unless needed). Don't
479 return a value > last under any circumstances.
481 2003-03-09 Angus Leeming <leeming@lyx.org>
483 * BufferView_pimpl.C (trackChanges, dispatch): call
484 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
486 2003-03-09 Angus Leeming <leeming@lyx.org>
488 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
489 than Dialogs::showAboutlyx().
491 2003-03-09 Angus Leeming <leeming@lyx.org>
493 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
494 than Dialogs::showTabularCreate().
496 2003-03-09 John Levon <levon@movementarian.org>
500 * text2.C: 3rd arg to nextBreakPoint was always the same.
503 2003-03-08 John Levon <levon@movementarian.org>
510 * text2.C: Remove the "main" bit from the "main body"
513 2003-03-08 John Levon <levon@movementarian.org>
515 * text.C (leftMargin): The left margin of an empty
516 manual label paragraph should not include the label width
519 * text.C (prepareToPrint): don't attempt to measure hfills
520 for empty manual label paragraphs - the answer should be 0
522 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
524 * CutAndPaste.C: remove commented code and reindent.
526 2003-03-08 John Levon <levon@movementarian.org>
529 * lyxfunc.C: move reloadBuffer()
532 * BufferView.C: to here
534 * lyxvc.C: add comment
537 * vc-backend.C: call bv->reload() to avoid
538 getStatus() check on MENURELOAD
540 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
542 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
543 to an old format .dep file.
545 2003-03-07 Angus Leeming <leeming@lyx.org>
547 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
548 when the LFUN_MOUSE_RELEASE should have been handled by
549 inset->localDispatch.
551 2003-03-07 Angus Leeming <leeming@lyx.org>
553 * BufferView_pimpl.C (dispatch):
554 * LyXAction.C (init):
555 * ToolbarDefaults.C (init):
557 * lyxfunc.C (getStatus):
558 remove LFUN_INSET_GRAPHICS.
560 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
562 2003-03-07 Angus Leeming <leeming@lyx.org>
565 * LyXAction.C (init):
566 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
568 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
571 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
573 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
574 localDispatch method LFUN_INSET_DIALOG_UPDATE.
576 2003-03-07 Angus Leeming <leeming@lyx.org>
578 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
581 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
583 * ParagraphList.C (front): new function
586 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
588 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
589 and top_row_offset_. removed var first_y.
591 * text2.C (LyXText, removeRow):
593 * BufferView_pimpl.C:
594 use these methods instead of using first_y
596 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
598 * text2.C (pasteSelection): adjust for checkPastePossible
600 * CutAndPaste.C: remove Paragraph * buf and replace with
601 ParagraphList paragraphs.
602 (DeleteBuffer): delete
603 (cutSelection): change the tc type to textclass_type
604 (copySelection): change the tc type to textclass_type
605 (copySelection): adjust for ParagraphList
606 (pasteSelection): change the tc type to textclass_type
607 (pasteSelection): adjust for Paragraphlist
608 (nrOfParagraphs): simplify for ParagraphList
609 (checkPastePossible): simplify for ParagraphList
610 (checkPastePossible): remove unused arg
612 * ParagraphList.C (insert): handle the case where there are no
615 * CutAndPaste.h: make CutAndPaste a namespace.
617 * text3.C (dispatch): adjust
619 * text.C (breakParagraph): add a ParagraphList as arg
621 * paragraph_funcs.C (breakParagraph): change to take a
622 BufferParams and a ParagraphList as args.
623 (breakParagraphConservative): ditto
624 (mergeParagraph): ditto
625 (TeXDeeper): add a ParagraphList arg
626 (TeXEnvironment): ditto
629 * buffer.C (readLyXformat2): adjust
630 (insertStringAsLines): adjust
631 (latexParagraphs): adjust
633 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
634 (cutSelection): adjust
635 (pasteSelection): adjust
637 * BufferView_pimpl.C (insertInset): adjust
639 2003-03-05 Angus Leeming <leeming@lyx.org>
642 * LyXAction.C (init):
643 * BufferView_pimpl.C (dispatch):
644 * lyxfunc.C (getStatus):
645 remove LFUN_CHILD_INSERT.
647 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
649 2003-03-05 Angus Leeming <leeming@lyx.org>
652 * LyXAction.C (init):
653 * src/factory.C (createInset):
654 * lyxfunc.C (getStatus):
655 * text3.C (dispatch):
656 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
658 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
660 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
662 * ParagraphList.C (insert): handle insert right before end()
663 (erase): fix cases where it can be first or last paragraph.
665 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
667 * paragraph_funcs.C (TeXEnvironment): remove all usage of
668 Paragraph::next and Paragraph::previous
671 * text.C (breakParagraph): adjust
673 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
674 BufferParams& as arg.
675 (breakParagraph): use ParagraphList::insert
676 (breakParagraphConservative): take a Buffer* instead of a
677 BufferParams& as arg.
678 (breakParagraphConservative): use ParagraphList::insert.
680 * buffer.C (insertStringAsLines): un-const it
681 (insertStringAsLines): adjust
683 * ParagraphList.C (insert): new function
685 * CutAndPaste.C (pasteSelection): adjust
687 * text.C (backspace): adjust
689 * tabular.C (SetMultiColumn): adjust
691 * CutAndPaste.C (cutSelection): adjust
692 (pasteSelection): adjust
694 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
695 Buffer const * as arg
697 * ParagraphList.C (erase): new function
698 * paragraph_funcs.C (mergeParagraph): use it
699 (mergeParagraph): make it take a Buffer* instead of a
702 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
704 (breakParagraphConservative): ditto
706 * paragraph.h: remove the breakParagraph friend
708 * paragraph.C (eraseIntern): new function
709 (setChange): new function
711 * paragraph_funcs.C (mergeParagraph): make it take a
712 ParagraphList::iterator instead of a Paragraph *, adjust
715 * paragraph.h: move an #endif so that the change tracking stuff
716 also works in the NO_NEXT case.
718 2003-03-04 Angus Leeming <leeming@lyx.org>
721 * LyXAction.C: new LFUN_INSET_MODIFY.
723 * BufferView_pimpl.C (dispatch): if an inset is found to be open
724 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
726 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
728 * several files: ws changes only
730 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
731 (TeXEnvironment): ditto
734 * buffer.C (makeLaTeXFile): adjust
735 (latexParagraphs): make it take ParagraphList::iterator as args
737 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
739 * buffer.C (latexParagraphs): adjust
741 * paragraph.C (TeXOnePar): move function...
742 (optArgInset): move function...
743 (TeXEnvironment): move function...
744 * paragraph_pimpl.C (TeXDeeper): move function...
745 * paragraph_funcs.C: ...here
747 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
749 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
751 * buffer.C (readInset): remove compability code for old Figure and
754 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
756 * buffer.C: ws changes
759 * BufferView_pimpl.C: ditto
762 * bufferlist.h: ditto
766 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
768 * converter.[Ch]: split into itself +
771 * Makefile.am: += graph.[Ch] + format.[Ch]
778 * lyxrc.C: added #include "format.h"
780 2003-02-27 Angus Leeming <leeming@lyx.org>
782 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
785 * factory.C (createInset): add "label" to the factory.
787 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
788 string and do no more.
790 2003-02-27 Angus Leeming <leeming@lyx.org>
793 * LyXAction.C (init):
794 * factory.C (createInset):
795 * BufferView_pimpl.C (dispatch):
796 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
798 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
800 * lyxfunc.C (dispatch):
801 * text3.C (dispatch): pass name to params2string.
803 2003-02-26 Angus Leeming <leeming@lyx.org>
805 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
807 Rearrange the ~includes. Strip out the unnecessary ones.
809 * factory.C (createInset): reformat.
810 create new insets for the various LFUN_XYZ_APPLY lfuns.
812 2003-02-26 John Levon <levon@movementarian.org>
815 * lyxrow.C: add isParStart,isParEnd helpers
817 * paragraph.h: make isInserted/DeletedText take refs
820 * paragraph_funcs.C: remove #if 0'd code
825 * text.C: use lyxrow helpers above.
826 Move draw and paint routines to RowPainter.
827 Make several methods use refs not pointers.
828 Make backgroundColor() const.
829 Add markChangeInDraw(), isInInset().
830 Merge changeRegionCase into changeCase.
831 Make workWidth() shouldn't-happen code into an Assert.
834 * rowpainter.C: new class for painting a row.
837 * vspace.C: make inPixels take a ref
839 2003-02-26 Angus Leeming <leeming@lyx.org>
841 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
844 2003-02-25 John Levon <levon@movementarian.org>
846 * ispell.C: give the forked command a more accurate name
848 2003-02-22 John Levon <levon@movementarian.org>
851 * toc.C: make TocItem store an id not a Paragraph *
854 2003-02-21 Angus Leeming <leeming@lyx.org>
856 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
857 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
858 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
859 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
860 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
861 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
863 * BufferView_pimpl.C (dispatch):
864 * LyXAction.C (init):
865 * factory.C (createInset):
866 * lyxfunc.C (getStatus, dispatch):
867 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
869 2003-02-21 Angus Leeming <leeming@lyx.org>
871 * BufferView_pimpl.C (MenuInsertLyXFile):
872 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
873 * lyxfunc.C (menuNew, open, doImport):
874 no longer pass a LyXView & to fileDlg.
876 2003-02-21 Angus Leeming <leeming@lyx.org>
878 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
879 * LyXAction.C: change, BIBKEY to BIBITEM.
880 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
881 Change InsetBibKey to InsetBibitem.
882 Change BIBKEY_CODE to BIBITEM_CODE.
883 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
884 * factory.C: replace insetbib.h with insetbibitem.h.
885 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
886 * paragraph.C: replace insetbib.h with insetbibitem.h.
887 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
888 Change bibkey() to bibitem().
889 * text.C: remove insetbib.h.
890 * text2.C: replace insetbib.h with insetbibitem.h.
891 change bibkey() to bibitem().
892 * text3.C: remove insetbib.h.
893 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
895 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
897 * lyxrc.C (output): enclose user email in quotes (in case there are
900 2003-02-18 John Levon <levon@movementarian.org>
902 * buffer.h: add std::
904 2003-02-17 John Levon <levon@movementarian.org>
910 * pspell.C: reworking. Especially in ispell, a large
911 number of clean ups and bug fixes.
913 * lyxfunc.C: fix revert to behave sensibly
915 2003-02-17 André Pönitz <poenitz@gmx.net>
918 * commandtags.h: new LFUN_INSERT_BIBKEY
928 * paragraph_func.C: remove special bibkey handling
930 2003-02-17 John Levon <levon@movementarian.org>
932 * text.C (Delete): fix case where delete at the end of
933 the very first paragraph would not merge the pars
935 2003-02-17 John Levon <levon@movementarian.org>
937 * lyxrow.C: fix lastPrintablePos()
939 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
941 * bufferparams.C (writeLaTeX): add a std:here
943 * buffer.C: and remove a using directive there
945 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
947 * buffer.C (makeLaTeXFile): move the code that generates the
950 * bufferparams.C (writeLaTeX): ... in this new method
952 * LaTeXFeatures.C (getEncodingSet): make const
953 (getLanguages): make const
955 * MenuBackend.C (binding): returns the binding associated to this
957 (add): sets the status of each item by calling getStatus. Adds
959 (read): add support for OptSubMenu
960 (expand): remove extra separator at the end of expanded menu
962 2003-02-15 John Levon <levon@movementarian.org>
965 * BufferView_pimpl.C:
967 * bufferlist.C: remove pointless BufferStorage bloat. Remove
968 inset code that had no actual effect. Remove unneeded status
971 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
973 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
976 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
978 * text.C (drawLengthMarker): also draw an arrow marker for
979 symbolic lengths (medskip...)
981 2003-02-14 John Levon <levon@movementarian.org>
984 * tabular.C: better method names
986 2003-02-14 John Levon <levon@movementarian.org>
988 * BufferView_pimpl.C:
993 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
994 it's a more accurate name. Remove some pointless uses.
996 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
998 * text2.C (LyXText): change order of initilizers to shut off
1001 2003-02-14 John Levon <levon@movementarian.org>
1003 * buffer.C: use ParIterator for getParFromID()
1007 * paragraph_pimpl.h:
1008 * paragraph_pimpl.C: remove unused getParFromID()
1010 2003-02-14 John Levon <levon@movementarian.org>
1012 * buffer.C: remove some very old #if 0'd parse code
1014 2003-02-13 John Levon <levon@movementarian.org>
1018 * text2.C: move hfillExpansion(), numberOfSeparators(),
1019 rowLast(), rowLastPrintable(), numberofHfills(),
1020 numberOfLabelHfills() ...
1023 * lyxrow.C: ... to member functions here.
1028 * text.C: remove LyXText::beginningOfMainBody(), and call
1029 p->beginningOfMainBody() directly. Move the check for
1030 LABEL_MANUAL into the latter.
1037 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1043 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1044 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1046 2003-02-13 John Levon <levon@movementarian.org>
1048 * CutAndPaste.C: remove debug
1050 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1052 * paragraph.C (asString): remove two unused variables
1054 * lyxtextclass.C (readTitleType):
1056 (LyXTextClass): handle new members titletype_ and titlename_
1058 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1060 2003-02-09 John Levon <levon@movementarian.org>
1063 * buffer.C: replace hand-coded list with a map for the dep clean
1065 2003-02-08 John Levon <levon@movementarian.org>
1067 * LaTeX.C: consolidate code into showRunMessage() helper
1069 2003-02-08 John Levon <levon@movementarian.org>
1074 * BufferView.C: change setSelectionOverString() to setSelectionRange()
1075 and pass the size in explicitly
1077 * BufferView_pimpl.h:
1078 * BufferView_pimpl.C:
1080 * BufferView.C: add getCurrentChange()
1082 * BufferView_pimpl.h:
1083 * BufferView_pimpl.C: handle change lfuns
1085 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
1086 for changes. Mark pasted paragraphs as new.
1088 * support/lyxtime.h:
1089 * support/lyxtime.C:
1090 * DepTable.C: abstract time_t as lyx::time_type
1093 * LColor.C: add colours for new text, deleted text, changebars
1095 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1096 package use "usenames" option.
1100 * LyXAction.C: add change lfuns
1104 * author.C: author handling
1107 * buffer.C: add a per-buffer author list, with first entry as
1108 current author. Handle new .lyx tokens for change tracking. Output
1109 author list to .lyx file. Output dvipost stuff to .tex preamble.
1110 Bump lyx format to 222.
1113 * bufferlist.C: add setCurrentAuthor() to reset current author details
1117 * bufferparams.C: add param for tracking
1119 * bufferview_funcs.C: output change info in minibuffer
1123 * changes.C: add change-tracking structure
1126 * debug.C: add CHANGES debug flag
1129 * lyxfind.C: add code for finding the next change piece
1132 * lyxrc.C: add user_name and user_email
1135 * lyxrow.C: add a metric for the top of the text line
1138 * text.C: implement accept/rejectChange()
1141 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1142 Strike through deleted text.
1146 * paragraph_pimpl.h:
1147 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1148 to the insert functions. Rework erase to mark text as deleted, adding
1149 an eraseIntern() and a range-based erase(). Implement
1150 per-paragraph change lookup and accept/reject.
1152 * paragraph_funcs.C: Fixup paste for change tracking.
1154 * tabular.C: mark added row/columns as new.
1156 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1157 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1159 * text2.C: leave cursor at end of selection after a cut.
1161 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1163 * text.C (getLengthMarkerHeight):
1164 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1165 visible on screen too.
1167 2003-02-07 John Levon <levon@movementarian.org>
1169 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1171 2003-02-05 Angus Leeming <leeming@lyx.org>
1173 * lyxserver.C (read_ready): revert my patch of 11 September last year
1174 as it sends PC cpu through the roof. Presumably this means that
1175 the lyxserver will no longer run on an Alpha...
1177 2003-01-30 Angus Leeming <leeming@lyx.org>
1179 * factory.C (createInset): create an InsetCommandParam of type "index"
1180 and use it to 'do the right thing'.
1182 * text2.C (getStringToIndex): ensure that cursor position is always
1183 reset to the reset_cursor position.
1185 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1187 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1190 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1194 * lyxfunc.C: Output messages with identical spelling, punctuation,
1197 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1199 * MenuBackend.C (expandFormats): List only viewable export formats
1202 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1205 * lyxfunc.C (getStatus): Make sure that formats other than
1206 "fax" can also be disabled
1208 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1210 * text3.C (dispatch): put the lfuns that insert insets in 3
1211 groups, and call doInsertInset with appropriate arguments.
1212 (doInsertInset): new function, that creates an inset and inserts
1213 it according to some boolean parameters.
1215 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1217 * buffer.C (readFile): remember to pass on 'par' when calling
1218 readFile recursively.
1220 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1222 * MenuBackend.C (expandFormats): add "..." to import formats.
1224 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1226 * paragraph.C (asString): Remove XForms RTL hacks.
1228 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1229 * buffer.C: fix typo
1231 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1233 * Makefile.am (LIBS): delete var
1234 (lyx_LDADD): add @LIBS@ here instead.
1236 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1238 * Clarify the meaning of "wheel mouse jump"
1240 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1242 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1245 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1247 * importer.C (Loaders): do not preallocate 3 elements in the
1248 vector, since one ends up with 6 elements otherwise
1250 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1252 * DepTable.C (write): write the file name as last element of the
1253 .dep file (because it may contain spaces)
1254 (read): read info in the right order
1256 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1258 * paragraph_pimpl.C (simpleTeXBlanks):
1259 (simpleTeXSpecialChars):
1260 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1262 * tabular.C (latex): add some missing case statements. Reindent.
1264 * MenuBackend.C (expandToc): remove unused variable.
1266 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1275 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1278 2003-01-05 John Levon <levon@movementarian.org>
1281 * BufferView.C: add getEncoding()
1284 * kbsequence.C: do not store last keypress
1287 * lyxfunc.C: store last keypress here instead. Pass encoding
1290 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1292 * lyx_main.C (init): remove annoying error message when following
1293 symbolic links (bug #780)
1295 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1297 * text.C (insertChar):
1298 * lyxrc.C (getDescription): remove extra spaces
1300 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1302 * lyxrc.C (getDescription): remove extra spaces
1304 2002-12-20 John Levon <levon@movementarian.org>
1306 * text3.C: hack fix for page up/down across tall rows
1308 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1310 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1313 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1315 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1316 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1317 thesaurus is not compiled in
1319 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1321 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1323 2002-12-16 Angus Leeming <leeming@lyx.org>
1326 * lyx_main.C (init): remove override_x_deadkeys stuff.
1328 2002-12-12 John Levon <levon@movementarian.org>
1330 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1331 insert. Only remove shift modifier under strict
1334 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1336 * MenuBackend.C (expandToc): fix crash.
1338 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1340 * MenuBackend.C (expandToc): gettext on float names.
1342 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1344 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1345 implement bool empty() [bug 490]
1347 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1349 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1351 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1353 * several files: ws changes
1355 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1357 * text2.C (setCounter): clean up a bit, use boost.format.
1358 (updateCounters): initialize par upon declaration.
1360 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1361 if the layout exists. We do not just store the layout any more.
1362 (SwitchLayoutsBetweenClasses): use boost.format
1364 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1366 * converter.C (convert): if from and to files are the same, use a
1367 temporary files as intermediary
1369 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1372 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1374 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1376 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1378 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1380 * tabular.C (asciiPrintCell): use string(size, char) instead of
1383 * sgml.C (openTag): fix order of arguments to string constructor
1386 * lyxfunc.C (dispatch): use boost.format
1388 * lots of files: change "c" -> 'c'
1390 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1392 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1394 2002-11-25 Angus Leeming <leeming@lyx.org>
1396 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1398 * lyx_main.C (init): compile fix.
1400 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1402 * lyx_cb.C (start): boost.formatify
1403 do not include <iostream>
1405 * lengthcommon.C: ws only
1407 * boost-inst.C,BoostFormat.h: add more explict instantations
1409 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1411 * lots of files: handle USE_BOOST_FORMAT
1413 2002-11-21 John Levon <levon@movementarian.org>
1415 * pspell.C: fix compile
1417 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1419 * lyxfunc.C (dispatch): use boost::format
1423 * lyxfont.C (stateText): use boost::format
1425 * lyx_main.C (LyX): use boost::format
1427 (queryUserLyXDir): ditto
1430 (typedef boost::function): use the recommened syntax.
1432 * importer.C (Import): use boost::format
1434 * debug.C (showLevel): use boost::format
1436 * converter.C (view): use boost::format
1441 * bufferview_funcs.C (currentState): use boost::format
1443 * bufferlist.C (emergencyWrite): use boost::format
1445 * buffer.C (readLyXformat2): use boost::format
1446 (parseSingleLyXformat2Token): ditto
1448 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1450 * LaTeX.C (run): use boost::format
1452 * Chktex.C (scanLogFile): use boost::format
1454 * BufferView_pimpl.C (savePosition): use boost::format
1455 (restorePosition): ditto
1456 (MenuInsertLyXFile): ditto
1458 * BoostFormat.h: help file for explicit instation.
1460 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1462 * tabular.C (latex): Support for block alignment in fixed width
1465 2002-11-17 John Levon <levon@movementarian.org>
1467 * BufferView_pimpl.C:
1469 * lyxfunc.C: split filedialog into open/save
1471 2002-11-08 Juergen Vigna <jug@sad.it>
1473 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1474 by my last patch (hopefully).
1476 2002-11-08 John Levon <levon@movementarian.org>
1485 * toc.C: ParConstIterator, and use it (from Lars)
1487 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1489 * lyxtextclass.[Ch]: revise and add doxygen comments
1491 2002-11-07 John Levon <levon@movementarian.org>
1493 * text.C: fix progress value for spellchecker
1495 * toc.C: fix navigate menu for insetwrap inside minipage
1497 * paragraph_funcs.C: added FIXME for suspect code
1499 2002-11-07 John Levon <levon@movementarian.org>
1501 * BufferView_pimpl.C: fix redrawing of insets
1504 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1506 * text2.C (updateCounters): fix bug 668
1508 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1510 * text3.C (dispatch): Do not make the buffer dirty when moving the
1513 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1515 * vc-backend.C: STRCONV
1518 * text2.C (setCounter): STRCONV
1520 * paragraph.C (asString): STRCONV
1522 * lyxlength.C (asString): STRCONV
1523 (asLatexString): ditto
1525 * lyxgluelength.C (asString): STRCONV
1526 (asLatexString): ditto
1528 * lyxfunc.C (dispatch): STRCONV
1531 * lyxfont.C (stateText): STRCONV
1533 * importer.C (Import): STRCONV
1535 * counters.C (labelItem): STRCONV
1536 (numberLabel): ditto
1537 (numberLabel): remove unused ostringstream o
1542 * bufferview_funcs.C (currentState): STRCONV
1544 * buffer.C (readFile): STRCONV
1545 (asciiParagraph): ditto
1546 (makeLaTeXFile): ditto
1548 * Spacing.C (writeEnvirBegin): STRCONV
1550 * LaTeXFeatures.C (getLanguages): STRCONV
1551 (getPackages): ditto
1553 (getBabelOptions): ditto
1554 (getTClassPreamble): ditto
1555 (getLyXSGMLEntities): ditto
1556 (getIncludedFiles): ditto
1560 (scanAuxFile): ditto
1563 * LString.h: add the STRCONV macros
1565 * BufferView_pimpl.C (savePosition): STRCONV
1566 (restorePosition): ditto
1567 (MenuInsertLyXFile): ditto
1569 * vc-backend.C (scanMaster): change from submatch[...] to
1572 * funcrequest.C: include config.h
1574 * factory.C: include config.h
1576 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1578 * box.C: include config.h
1580 * LaTeX.C (scanAuxFile): change from submatch[...] to
1584 2002-10-25 Angus Leeming <leeming@lyx.org>
1586 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1588 * ispell.[Ch] (setError): new method.
1589 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1590 Use setError() insetead of goto END.
1592 * lyx_cb.C (AutoSave): move out child process into new class
1595 2002-10-30 John Levon <levon@movementarian.org>
1597 * text3.C: make start appendix undoable
1599 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1601 * lyxlength.C (inPixels): Fix returned value.
1603 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1606 2002-10-24 Angus Leeming <leeming@lyx.org>
1608 * lyxgluelength.h: no need to forward declare BufferParams
1609 or BufferView, so don't.
1611 2002-10-21 John Levon <levon@movementarian.org>
1613 * BufferView.C: menuUndo ->undo, redo
1615 * BufferView.h: document, remove dead, make some methods private
1617 * paragraph_funcs.h:
1618 * paragraph_funcs.C:
1619 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1624 * sgml.C: move sgml open/close tag into sgml.C
1626 * bufferview_funcs.h: unused prototype
1629 * lyxfunc.C: remove unused
1632 * text.C: remove unused
1634 2002-10-21 John Levon <levon@movementarian.org>
1638 * BufferView_pimpl.h:
1639 * BufferView_pimpl.C: fix mouse wheel handling based on
1640 patch from Darren Freeman
1642 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
1644 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1646 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
1648 * lyxlength.C (inPixels): Fix hanfling of negative length.
1649 Fix LyXLength::MU case.
1651 2002-10-16 John Levon <levon@movementarian.org>
1653 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1655 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1657 * converter.C (view): add support for $$i (file name) and $$p
1658 (file path) for the viewer command. If $$i is not specified, then
1659 it is appended to the command (for compatibility with old syntax)
1661 2002-10-14 Juergen Vigna <jug@sad.it>
1663 * undo_funcs.C (textHandleUndo): alter the order in which the
1664 new undopar is added to the LyXText, as we have to set first
1665 the right prev/next and then add it as otherwise the rebuild of
1666 LyXText is not correct. Also reset the cursor to the right paragraph,
1667 with this IMO we could remove the hack in "redoParagraphs()".
1669 2002-10-09 Angus Leeming <leeming@lyx.org>
1671 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1672 to turn off an optimisation if a new inset is to be inserted.
1674 2002-10-11 André Pönitz <poenitz@gmx.net>
1676 * lyxtext.h: make some functions public to allow access
1677 from inset/lyxtext for handling LFUN_PRIOR/NEXT
1679 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1681 * text3.C (dispatch): when changing layout, avoid an infinite loop
1684 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1686 * lyxrc.C (read): treat a viewer or converter command of "none" as
1689 * MenuBackend.C (expandFormats): for an update, also allow the
1690 formats that are not viewable
1692 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
1693 script if it is newer than the lyxrc.defaults in user directory
1695 2002-10-07 André Pönitz <poenitz@gmx.net>
1697 * text.C: Vitaly Lipatov's small i18n fix
1699 2002-09-25 Angus Leeming <leeming@lyx.org>
1701 * ispell.h: doxygen fix.
1703 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
1705 * buffer.h (readFile): Add a new argument to the method, to allow
1706 reading of old-format templates.
1708 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
1710 * toc.C (getTocList): Get TOC from InsetWrap.
1712 2002-09-16 John Levon <levon@movementarian.org>
1714 * lyxfunc.C: check tabular for cut/copy too
1716 2002-09-12 John Levon <levon@movementarian.org>
1721 * factory.C: add header
1723 * paragraph_funcs.h:
1724 * paragraph_funcs.C: cleanup
1726 2002-09-11 John Levon <levon@movementarian.org>
1728 * PrinterParams.h: odd/even default to true
1730 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1732 * PrinterParams.h: update printer parameters for new xforms dialog
1734 2002-09-11 Angus Leeming <leeming@lyx.org>
1736 * lyxserver.C (read_ready): re-write to make it more transparent
1737 and to make it work in coherent fashion under Tru64 Unix.
1739 2002-09-11 André Pönitz <poenitz@gmx.net>
1743 * text3.C: implement LFUN_WORDSEL
1745 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1747 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1748 make floatlist_ a boost::shared_ptr<FloatList>
1750 * lyxtextclass.C: include FloatList.h
1751 (LyXTextClass): initialize floatlist_
1752 (TextClassTags): add TC_NOFLOAT
1753 (Read): match "nofloat" to TC_NOFLOAT and use it.
1754 (readFloat): modify call to floatlist_
1758 * FloatList.[Ch] (FloatList): remove commented out float
1760 (erase): new function
1762 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1764 * MenuBackend.C (expandToc): fix crash when there is no document
1767 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
1769 * many files: Add insetwrap.
1771 2002-09-09 John Levon <levon@movementarian.org>
1773 * text2.C: remove confusing and awkward depth wraparound
1775 2002-09-09 John Levon <levon@movementarian.org>
1777 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1780 * buffer.C: remove getIncludeonlyList()
1783 * lyxfunc.C: remove headers
1785 2002-09-09 Juergen Vigna <jug@sad.it>
1787 * text.C (getColumnNearX): fix form Michael this is most
1788 probably a cut&paste bug.
1790 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1792 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1794 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1795 references, ws changes.
1797 * text2.C (init): update counters after init
1798 (insertParagraph): no need to set counter on idividual paragraphs.
1799 (setCounter): access the counters object in the textclass object
1800 on in the buffer object.
1801 (updateCounters): ditto
1803 * lyxtextclass.C: include counters.h, add variable ctrs_ as
1804 shared_ptr<Counters> to avoid loading counters.h in all
1806 (LyXTextClass): initialize ctrs_
1807 (TextClassTags): add TC_COUNTER, and ...
1808 (Read): use it here.
1809 (CounterTags): new tags
1810 (readCounter): new function
1811 (counters): new funtion
1812 (defaultLayoutName): return a const reference
1814 * counters.C (Counters): remove contructor
1815 (newCounter): remove a couple of unneeded statements.
1816 (newCounter): simplify a bit.
1817 (numberLabel): some small formatting changes.
1819 * buffer.[Ch]: remove all traces of counters, move the Counters
1820 object to the LyXTextClass.
1822 2002-09-06 Alain Castera <castera@in2p3.fr>
1824 * tabular.C: uses \tabularnewline; uses >{...} construct from array
1825 package to set the horizontal alignment on fixed width columns.
1828 * lyx_sty.h: added tabularnewline macro def.
1830 * LaTeXFeatures.C: added NeedTabularnewline macro feature
1832 2002-09-06 John Levon <levon@movementarian.org>
1834 * LyXAction.C: tooltips for sub/superscript
1836 * MenuBackend.C: a bit more verbose
1838 * lyxfunc.C: tiny clean
1840 * undo_funcs.C: document undo_frozen
1842 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1844 * counters.C (Counters): add missing algorithm counter.
1846 * text2.C (setCounter): lookup the counter with layouts latexname
1847 instead of by section number.
1848 (setCounter): use a hackish way to lookup the correct enum
1850 a float name->type change
1851 reset enum couners with counter name directly instead of depth value.
1853 * counters.C (Counters): remove the push_backs, change to use the
1854 float type not the float name.
1855 (labelItem): remove unused string, float name->type change
1857 * counters.h: don't include vector, loose the enums and sects vectors
1859 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1861 * lyxtextclass.C (TextClassTags): add TC_FLOAT
1862 (Read): add float->TC_FLOAT to textclassTags
1863 (Read): and handle it in the switch
1864 (readFloat): new function
1866 * FloatList.C (FloatList): comment out the hardcoded float
1869 * lyxlayout.h: ws change.
1871 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
1873 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
1875 2002-09-03 Angus Leeming <leeming@lyx.org>
1877 * BufferView_pimpl.h: qualified name is not allowed in member
1878 declaration: WorkArea & Pimpl::workarea() const;
1880 * factory.C: added using std::endl directive.
1882 * text3.C: added using std::find and std::vector directives.
1884 2002-08-29 André Pönitz <poenitz@gmx.net>
1887 * text2.C: remove unused member number_of_rows
1890 * BufferView2.C: remove file, move contents to...
1891 * BufferView.C: ... here
1893 * BufferView_pimpl.C:
1894 * factory.C: move more inset creation to factory
1896 * vspace.C: avoid direct usage of LyXText, ws changes
1899 don't provide direct access to WorkArea, use two simple
1900 acessors haveSelction() and workHeight() instead
1903 2002-08-29 John Levon <levon@movementarian.org>
1905 * BufferView_pimpl.C (dispatch): do not continue when
1908 2002-08-28 André Pönitz <poenitz@gmx.net>
1910 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
1913 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
1915 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
1917 * buffer.C: increment LYX_FORMAT to 221
1919 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
1920 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
1922 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
1924 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
1926 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1928 * factory.C (createInset): use LyXTextClass::floats
1930 * MenuBackend.C (expandFloatListInsert):
1931 (expandFloatInsert):
1934 * text2.C (setCounter):
1936 * LaTeXFeatures.C (useFloat):
1937 (getFloatDefinitions):
1939 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
1941 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
1942 floatlist_, with accessor floats().
1944 * FloatList.h: remove global FloatList
1946 2002-08-26 André Pönitz <poenitz@gmx.net>
1948 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
1952 * BufferView_pimpl.C:
1953 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
1955 2002-08-25 John Levon <levon@movementarian.org>
1957 * LyXAction.C: fix margin note description
1959 2002-08-24 John Levon <levon@movementarian.org>
1963 * bufferview_funcs.C:
1965 * undo_funcs.C: cleanups
1967 * lyxfunc.C: disable CUT/COPY when no selection
1969 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1971 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
1972 in "enum UNIT"; e.g. PTW for Percent of TextWidth
1974 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
1975 Add backward compatibility to "mono", "gray" and "no".
1977 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
1979 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
1980 (and file_format >= 200).
1982 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1984 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
1986 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1988 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
1990 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
1992 * BufferView_pimpl.C:
1999 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2000 inset and code to make it work with the paragraph code. The inset
2001 can be anywhere in the paragraph, but will only do the expected
2002 thing in LaTeX if the layout file contains the parameter line
2004 (or more generally, a nonzero value) for that layout.
2006 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2008 * paragraph.h: remove the declaration of undefined counters class
2011 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
2013 * text2.C (setCounter): fixed enumeration mis-count as reported by
2014 Dr. Richard Hawkins.
2016 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2018 * paragraph_funcs.h: remove some unneeded includes
2020 * text.C (backspace): pasteParagraph now in global scipe
2022 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2023 (pasteSelection): ditto
2025 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2026 * paragraph_funcs.C (pasteParagraph): ... here
2028 2002-08-20 André Pönitz <poenitz@gmx.net>
2030 * commandtags.h: new LFUNs for swapping/copying table row/colums
2033 * lyxfunc.C: support for new lfuns
2035 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2038 * buffer.[Ch]: remove NO_COMPABILITY stuff
2040 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
2042 * boost.C (throw_exception): new file, with helper function for
2043 boost compiled without exceptions.
2048 * ParameterStruct.h:
2049 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2051 * bufferlist.C (emergencyWriteAll): use boost bind
2053 * BufferView_pimpl.C (moveCursorUpdate): remove inline
2055 * text.C: include paragraph_funcs.h
2056 (breakParagraph): breakParagraph is now in global scope
2058 * paragraph_funcs.[Ch]: new files
2060 * paragraph.C (breakParagraph,breakParagraphConservative): move to
2063 * buffer.C: include paragraph_funcs.h
2064 (insertStringAsLines): breakParagraph is now in global scope
2066 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2069 * CutAndPaste.C: include paragraph_funcs.h
2070 (cutSelection): breakParagraphConservative is now in global scope
2071 (pasteSelection): ditto
2073 * buffer.h: declare oprator== and operator!= for
2074 Buffer::inset_iterator
2076 * bufferlist.C (emergencyWrite): don't use fmt(...)
2078 * text3.C: add using std::endl
2080 * BufferView.C (moveCursorUpdate): remove default arg
2082 2002-08-20 André Pönitz <poenitz@gmx.net>
2084 * buffer.[Ch]: move inline functions to .C
2087 * BufferView_pimpl.C:
2089 * buffer.[Ch]: use improved inset_iterator
2092 * paragraph.[Ch]: write one paragraph at a time
2094 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
2096 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2097 style if style is not specified.
2099 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2101 * text2.C (setCounter): when searching for right label for a
2102 caption, make sure to recurse to parent insets (so that a caption
2103 in a minipage in a figure float works) (bug #568)
2105 2002-08-20 André Pönitz <poenitz@gmx.net>
2107 * text3.C: new file for LyXText::dispatch() and helpers
2109 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2111 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2113 2002-08-19 André Pönitz <poenitz@gmx.net>
2116 * text.C: new LyXText::dispatch()
2118 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2120 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
2122 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2124 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2127 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2129 * Makefile.am: use $(variables) instead of @substitutions@
2131 2002-08-15 André Pönitz <poenitz@gmx.net>
2134 * BufferView_pimpl.C: streamlining mathed <-> outer world
2138 * LyXAction.C: remove unused LFUN_MATH
2140 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2142 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2144 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2146 * paragraph.C (Paragraph): reformat a bit
2147 (cutIntoMinibuffer): use builtin InsetList function instad of
2151 * buffer.C: include boost/bind.hpp, add using std::for_each
2152 (writeFileAscii): use ParagraphList iterators
2153 (validate): use for_each for validate traversal of paragraphs
2154 (getBibkeyList): use ParagraphList iterators
2155 (resizeInsets): use for_each to resizeInsetsLyXText for all
2157 (getParFromID): use ParagraphList iterators
2159 * BufferView2.C (lockInset): use paragraph list and iterators
2161 2002-08-14 John Levon <levon@movementarian.org>
2163 * lyxserver.C: remove spurious xforms include
2165 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2167 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2169 2002-08-13 André Pönitz <poenitz@gmx.net>
2172 * lyxfunc.C: further cleaning
2174 2002-08-13 André Pönitz <poenitz@gmx.net>
2176 * funcrequest.h: new constructor
2178 * funcrequest.C: move stuff here from .h
2181 * BufferView_pimpl.C:
2184 * lyxfunc.C: subsequent changes
2186 * lyxfunc.h: new view() member function
2188 * lyxfunc.C: subsequent changes
2190 2002-08-13 Angus Leeming <leeming@lyx.org>
2193 * BufferView_pimpl.C:
2201 changes due to the changed LyXView interface that now returns references
2202 to member variables not pointers.
2204 2002-08-13 Angus Leeming <leeming@lyx.org>
2206 * WordLangTuple (word, lang_code): return references to strings,
2211 * lyxtext.h: forward-declare WordLangTuple.
2216 * text.C: #include "WordLangTuple.h".
2219 * text.C: (selectNextWordToSpellcheck): constify return type.
2221 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2227 * paragraph_pimpl.h:
2230 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2232 Made updateCounter always count from start of buffer, and removed
2233 second argument (par).
2234 Reverted floats number display to '#'. Perhaps I'll try again when the
2235 code base is sanitized a bit.
2237 2002-08-12 Angus Leeming <leeming@lyx.org>
2239 * buffer.[Ch] (getLabelList): constify.
2241 2002-08-07 André Pönitz <poenitz@gmx.net>
2243 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2245 * funcrequest.h: extension to keep mouse (x,y) position
2247 2002-08-12 Juergen Vigna <jug@sad.it>
2249 * BufferView2.C (insertErrors): forbid undo when inserting error
2252 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2254 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2256 * ParagraphList.[Ch]: new files
2258 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2260 * BufferView2.C (lockInset): ParagraphList changes
2263 * bufferlist.C: ditto
2267 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2269 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2270 unused class variable counter_,
2272 * paragraph.[Ch] (getFirstCounter): delete unused function
2274 * counters.C: include LAssert.h
2275 (reset): add a new function with no arg, change other version to
2276 not have def. arg and to not allow empty arg.
2278 * text2.C (setCounter): remove empty arg from call to Counters::reset
2280 2002-08-11 John Levon <levon@movementarian.org>
2282 * Makefile.am: add WordLangTuple.h
2284 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2286 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2287 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2289 * insets/insettext.C: InsetList changes
2291 * graphics/GraphicsSupport.C (operator()): InsetList changes
2293 * toc.C (getTocList): InsetList changes
2295 * paragraph_pimpl.[Ch]: InsetList changes
2297 * paragraph.[Ch]: InsetList changes
2299 * buffer.C (inset_iterator): InsetList changes
2300 (setParagraph): ditto
2301 * buffer.h (inset_iterator): ditto
2302 * iterators.C (operator++): ditto
2303 * iterators.h: ditto
2305 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2307 * InsetList.[Ch]: new files, most InsetList handling moved out of
2310 * BufferView2.C (removeAutoInsets): InsetList changes
2312 (ChangeInsets): ditto
2314 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2316 * paragraph_pimpl.h (empty): new function
2318 * paragraph.[Ch] (empty): new function
2320 * other files: use the new Paragraph::empty function
2322 2002-08-09 John Levon <levon@movementarian.org>
2324 * lyxtext.h: remove unused refresh_height
2326 2002-08-09 John Levon <levon@movementarian.org>
2333 * paragraph.C: move sgml char escaping out of paragraph
2336 * paragraph.C: remove id setter
2340 * paragraph_pimpl.C: remove dead tex_code_break_column
2342 * bufferview_funcs.C: small cleanup
2344 * lyxfunc.C: remove dead proto
2346 * lyxtext.h: make some stuff private. Remove some dead stuff.
2348 * lyxgluelength.C: make as[LyX]String() readable
2350 2002-08-08 John Levon <levon@movementarian.org>
2355 * ToolbarDefaults.C:
2358 * toc.C: lyxaction cleanup
2360 2002-08-08 John Levon <levon@movementarian.org>
2362 * BufferView2.C: small cleanup
2365 * lyxfind.C: move unnecessary header into the .C
2367 2002-08-08 John Levon <levon@movementarian.org>
2369 * funcrequest.h: just tedious nonsense
2372 * lyx_main.C: cleanups
2375 * vspace.C: remove dead header lyx_main.h
2377 2002-08-07 Angus Leeming <leeming@lyx.org>
2380 * paragraph_pimpl.h:
2381 Forward declare class Counters in paragraph.h by moving the ctrs member
2382 variable into Paragraph::Pimpl.
2383 (counters): new method, returning a reference to pimpl_->ctrs.
2385 * text2.C: ensuing changes.
2387 2002-08-07 John Levon <levon@movementarian.org>
2389 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2391 * BufferView_pimpl.C: announce X selection on double/triple
2394 * lyx_main.C: use correct bool in batch dispatch
2396 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2398 2002-08-07 André Pönitz <poenitz@gmx.net>
2400 * funcrequest.h: new class to wrap a kb_action and its argument
2403 * BufferView_pimpl[Ch]:
2407 * lyxrc.C: subsequent changes
2410 2002-08-07 John Levon <levon@movementarian.org>
2412 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2413 document options change.
2415 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2420 * makefile.am: move counters functionality over from
2421 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2423 2002-08-06 John Levon <levon@movementarian.org>
2425 * WordLangTuple.h: new file for word + language code tuple
2436 * BufferView2.C: use WordLangTuple
2439 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2441 2002-08-06 John Levon <levon@movementarian.org>
2443 * lyx_main.C: fix cmdline batch handling
2445 2002-08-06 André Pönitz <poenitz@gmx.net>
2447 * lyxrc.C: set default for show_banner to true
2449 2002-08-06 John Levon <levon@movementarian.org>
2451 * pspell.C: fix a crash, and allow new aspell to work
2453 2002-08-06 John Levon <levon@movementarian.org>
2456 * kbmap.C: small cleanup
2459 * vspace.C: add const
2461 2002-08-05 John Levon <levon@movementarian.org>
2463 * LyXAction.C: back to tabular-insert
2465 2002-08-04 John Levon <levon@movementarian.org>
2468 * BufferView.C: cosmetic change
2470 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2480 * BufferView2.C: purge all "Lyx" not "LyX" strings
2483 * lyxcursor.C: attempt to add some documentation
2488 * ToolbarDefaults.C:
2489 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2490 merge with LFUN_TABULAR_INSERT
2497 * pspell.C: split up i/pspell implementations into separate
2498 files, many cleanups
2500 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2502 * text2.C: some cleanup
2504 * lyxfunc.C: don't check for isp_command == "none" any more, it
2505 didn't make any sense
2507 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2512 * makefile.am: move counters functionality over
2513 from text2.C/paragraph.[Ch] to counters.[Ch], and
2515 2002-08-02 John Levon <levon@movementarian.org>
2517 * buffer.C: s/lyxconvert/lyx2lyx/
2519 2002-08-02 Angus Leeming <leeming@lyx.org>
2521 * lyxlex.C: revert John's change as it breaks reading of the user
2524 2002-08-02 Angus Leeming <leeming@lyx.org>
2526 * importer.C (Import):
2527 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2528 changes due to LyXView::view() now returning a boost::shared_ptr.
2530 2002-08-02 John Levon <levon@movementarian.org>
2532 * lyxlex.C: small cleanup
2534 2002-08-02 John Levon <levon@movementarian.org>
2536 * text2.C (status): small cleanup, no logic change
2538 2002-08-01 John Levon <levon@movementarian.org>
2541 * buffer.C (writeFile): don't output alerts, caller
2545 * lyx_cb.C: from above
2547 * lyxfunc.C: allow to open non-existent files
2549 2002-07-31 John Levon <levon@movementarian.org>
2551 * lyxserver.C: don't let incidental errors get
2554 2002-07-30 John Levon <levon@movementarian.org>
2556 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2558 2002-07-30 John Levon <levon@movementarian.org>
2561 * lyxserver.C: remove I/O callback too
2563 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2565 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2568 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2570 * many files: strip,frontStrip -> trim,ltrim,rtrim
2572 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2574 * PrinterParams.h: remove extern containsOnly, and include
2575 support/lstrings.h instead.
2577 * LaTeX.C (scanAuxFile): modify because of strip changes
2579 * buffer.C (makeLaTeXFile): ditto
2580 * bufferparams.C (writeFile): ditt
2581 * lyxfont.C (stateText): ditto
2582 * lyxserver.C (read_ready): ditto
2583 * vc-backend.C (scanMaster): ditto
2585 * BufferView_pimpl.h: ws changes
2587 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2589 2002-07-26 André Pönitz <poenitz@gmx.net>
2591 * kb_sequence.C: remove unnedred usings
2593 2002-07-26 Juergen Vigna <jug@sad.it>
2595 * lyxfind.C (LyXReplace): we have to check better if the returned
2596 text is not of theLockingInset()->getLockingInset().
2598 2002-07-25 Juergen Vigna <jug@sad.it>
2600 * lyxfind.C (LyXReplace): don't replace if we don't get the
2603 * undo_funcs.C (createUndo): remove debugging code.
2605 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2607 * buffer.C (parseSingleLyXformat2Token): Use default placement
2608 when reading old floats.
2610 * FloatList.C (FloatList): Change the default placement of figure
2611 and tables to "tbp".
2613 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
2615 * MenuBackend.C: using std::max
2617 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2619 * MenuBackend.C (expandToc):
2620 (expandToc2): code moved from xforms menu frontend. It is now
2621 generic and TOCs are transparent to menu frontends.
2623 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2625 * toc.C (getTocList): protect against buf=0
2627 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2628 Menu as first parameter. Now, this calls itself recursively to
2629 expand a whole tree (this will be useful for TOC handling)
2630 (expandFloatInsert): remove 'wide' version of floats
2632 * MenuBackend.h (submenuname): returns the name of the submenu.
2633 (submenu): returns the submenu itself, provided it has been
2634 created by MenuBackend::expand
2636 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2638 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2639 insets which have noFontChange == true. (bug #172)
2641 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2643 * BufferView_pimpl.C: add connection objects and use them...
2646 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2648 * MenuBackend.C (expandLastfiles):
2651 (expandFloatListInsert):
2652 (expandFloatInsert):
2653 (expand): split expand in parts
2655 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2657 * lyx_gui.C: use lyx_gui::exit()
2659 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2661 * LyXAction.C: show the failing pseudo action
2663 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
2665 * buffer.C (readFile): Run the lyxconvert script in order to read
2668 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2672 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2674 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2678 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2680 2002-07-22 Herbert Voss <voss@lyx.org>
2683 * lyxlength.[Ch]: add support for the vertical lengths
2685 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
2687 * toc.[Ch]: std:: fixes
2689 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2691 * lyxrc.C: do not include lyx_main.h
2693 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
2699 * BufferView2.C: include "lyxlex.h"
2702 * bufferparams.h: do not #include "lyxlex.h"
2704 * lyxtextclasslist.C (Add): remove method
2705 (classlist): renamed to classlist_
2707 * paragraph_pimpl.C:
2711 * bufferview_funcs.C:
2716 * toc.C (getTocList): use BufferParams::getLyXTextClass
2718 * toc.C (getTocList): use InsetFloat::addToToc
2720 * toc.[Ch]: new files, containing helper functions to handle table
2723 * lyxfunc.C (dispatch): no need to remove spaces around command
2725 (getStatus): handle LFUN_SEQUENCE by returning the status of the
2726 first command of the sequence; it is not very clever, but I do not
2727 have a better idea, actually
2729 * LyXAction.C (LookupFunc): make sure to remove space at the
2730 beginning and end of the command
2732 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2734 * MenuBackend.C (getMenubar): new method: return the menubar of
2736 (read): treat differently reading of menu and menubar (in
2737 particular, the menubar has no name now)
2738 (Menu::menubar): remove
2740 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2743 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2745 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2746 a bibitem inset in a RTL paragraph.
2748 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
2750 * paragraph_pimpl.C: constify
2752 * BufferView_pimpl.C:
2754 * lyxfunc.C: fix dispatch in a nicer way
2756 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2758 * lyxfunc.C (dispatch):
2759 * BufferView_pimpl.C:
2760 * BufferView_pimpl.h:
2762 * BufferView.h: rename Dispatch() to dispatch()
2764 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2766 * lyxlayout.C (Read): honor DependsOn tag
2768 * lyxlayout.[Ch] (depends_on): new method
2770 * version.C.in: update lyx_docversion
2772 * LaTeXFeatures.C (getMacros): only define \LyX when needed
2774 * paragraph.C (validate): remove from here...
2775 * paragraph_pimpl.C (validate): ... and move here
2776 (isTextAt): make it const
2778 * buffer.C (getLists): ws cleanup
2780 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2782 * language.C (read): Use iso8859-1 encoding in latex_lang
2783 (this prevents LyX from crashing when using iso10646-1 encoding).
2785 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2787 * text2.C (toggleInset): if cursor is inside an inset, close the
2788 inset and leave cursor _after_ it
2790 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2792 * lyxfunc.C: move minibuffer completion handling out of here
2794 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2796 * BufferView_pimpl.C:
2797 * LaTeX.C: fix dispatch calls
2799 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
2801 * text.C (drawChars): Fix Arabic text rendering.
2803 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
2807 * lyxfunc.C: remove message-push/pop
2811 * lyxfunc.C: rationalise some code by removing verboseDispatch
2812 in favour of a bool argument to dispatch()
2814 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2816 * lyx_main.C (init): make sure to read symlinks as absolute paths
2818 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2821 * lyxfunc.C: no need for commandshortcut to be a member
2823 2002-07-15 André Pönitz <poenitz@gmx.net>
2825 * converter.C: add support for $$s (scripts from lib/scripts dir)
2826 * lyx_main.C: white space
2828 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2832 * lyxrc.C: remove second exit confirmation
2834 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2839 * BufferView_pimpl.h:
2840 * BufferView_pimpl.C:
2841 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2843 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2845 * MenuBackend.C (expand): add numeric shortcuts to document menu
2847 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
2849 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2851 * lyxfont.C (setLyXFamily):
2858 * buffer.C (asciiParagraph): use ascii_lowercase
2860 2002-07-15 Mike Fabian <mfabian@suse.de>
2862 * lyxlex_pimpl.C (search_kw):
2863 * lyxlex.C (getLongString):
2864 * converter.h (operator<):
2865 * converter.C (operator<):
2866 * buffer.C (parseSingleLyXformat2Token):
2868 * ToolbarDefaults.C (read):
2869 * MenuBackend.C (checkShortcuts):
2871 * LColor.C (getFromGUIName):
2872 (getFromLyXName): use the compare_ascii_no_case instead of
2873 compare_no_case, because in turkish, 'i' is not the lowercase
2874 version of 'I', and thus turkish locale breaks parsing of tags.
2876 2002-07-16 Angus Leeming <leeming@lyx.org>
2878 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
2879 now takes a Buffer const & argument.
2881 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2883 * BufferView.C (resize): check there's a buffer to resize
2885 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
2887 * lyxfunc.C: remove dead code
2890 * lyxserver.C: use lyx_guii::set_read_callback
2892 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2894 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
2895 an inset in a RTL paragraph.
2897 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2899 * lyxfunc.C: repaint after a font size update
2901 2002-07-15 André Pönitz <poenitz@gmx.net>
2903 * lyxlength.C: inBP should be able to return negative values
2905 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2907 * lyxfunc.C: use lyx_gui::update_fonts()
2909 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2911 * lyxfunc.C: use lyx_gui::update_color()
2913 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2919 * lyxrc.C: remove file->new asks for name option, and let
2920 buffer-new take an argument
2922 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2924 * BufferView_pimpl.C: remove unneeded extra repaint()
2926 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
2928 * LyXAction.C: allow command-sequence with NoBuffer
2930 * lyxfunc.C: don't insist on trailing ';' for command-sequence
2932 2002-07-10 Angus Leeming <leeming@lyx.org>
2934 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
2936 2002-07-09 Angus Leeming <leeming@lyx.org>
2938 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
2940 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2942 * lengthcommon.h: whitespace
2944 * lyxfunc.C: update scrollbar after goto paragraph
2946 * lyxtext.h: factor out page break drawing, and fix it so
2947 page break/added space paints as selected nicely
2949 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2951 * BufferView_pimpl.C: add FIXMEs, clean up a little
2953 2002-07-09 André Pönitz <poenitz@gmx.net>
2955 * lyxfont.[Ch]: support for wasy symbols
2957 2002-07-08 André Pönitz <poenitz@gmx.net>
2959 * BufferView_pimpl.C: apply John's patch for #93.
2961 2002-07-05 Angus Leeming <leeming@lyx.org>
2963 * BufferView_pimpl.C (buffer): generate previews if desired.
2965 * LColor.h: add "preview" to the color enum.
2967 * LColor.C (LColor): add a corresponding entry to the items array.
2969 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
2972 2002-07-05 Angus Leeming <leeming@lyx.org>
2974 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
2975 The body of the code is now in the method that is passed an ostream &
2976 rather than a file name.
2977 Pass an additional only_preamble parameter, useful for the forthcoming
2980 2002-07-03 André Pönitz <poenitz@gmx.net>
2982 * lyxfunc.C: simplify getStatus() a bit for math stuff
2984 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2986 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
2988 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2990 * text.C (changeRegionCase): do not change case of all the
2991 document when region ends at paragraph end (bug #461)
2993 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2995 * paragraph.C (startTeXParParams):
2996 (endTeXParParams): add \protect when necessary
2998 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3000 * BufferView_pimpl.C (workAreaExpose): remove warning
3002 2002-06-27 Angus Leeming <leeming@lyx.org>
3004 * Makefile.am: add lyxlayout_ptr_fwd.h.
3006 2002-06-26 André Pönitz <poenitz@gmx.net>
3008 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3010 2002-06-25 Angus Leeming <leeming@lyx.org>
3012 * lyxfunc.C (dispatch): Comment out the call to
3013 grfx::GCache::changeDisplay. The method no longer exists now that the
3014 pixmap generation part of the graphics loader has been moved into
3017 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3019 * text2.C: layout as layout
3021 * text.C: layout as layout
3023 * tabular.C (OldFormatRead): layout as layout
3025 * paragraph_pimpl.C (TeXDeeper): layout as layout
3026 (realizeFont): layout as layout
3028 * paragraph.C (writeFile): layout as layout
3029 (validate): layout as layout
3030 (getFont): layout as layout
3031 (getLabelFont): layout as layout
3032 (getLayoutFont): layout as layout
3033 (breakParagraph): layout as layout
3034 (stripLeadingSpaces): layout as layout
3035 (getEndLabel): layout as layout
3036 (getMaxDepthAfter): layout as layout
3037 (applyLayout): layout as layout
3038 (TeXOnePar): layout as layout
3039 (simpleTeXOnePar): layout as layout
3040 (TeXEnvironment): layout as layout
3041 (layout): layout as layout
3042 (layout): layout as layout
3044 * lyxtextclass.C (compare_name): new functor to work with
3045 shared_ptr, layout as layout
3046 (Read): layout as layout
3047 (hasLayout): layout as layout
3048 (operator): layout as layout
3049 (delete_layout): layout as layout
3050 (defaultLayout): layout as layout
3052 * lyxlayout_ptr_fwd.h: new file
3054 * lyxlayout.C (Read): layout as layout
3056 * lyx_cb.C (MenuInsertLabel): layout as layout
3058 * bufferlist.C (newFile): layout as layout
3060 * buffer.C (readLyXformat2): layout as layout
3061 (parseSingleLyXformat2Token): layout as layout
3062 (insertStringAsLines): layout as layout
3063 (asciiParagraph): layout as layout
3064 (latexParagraphs): layout as layout
3065 (makeLinuxDocFile): layout as layout
3066 (simpleLinuxDocOnePar): layout as layout
3067 (makeDocBookFile): layout as layout
3068 (simpleDocBookOnePar): layout as layout
3069 (getLists): layout as layout
3071 * LaTeXFeatures.C (getTClassPreamble): layout as layout
3073 * CutAndPaste.C (cutSelection): layout as layout
3074 (pasteSelection): layout as layout
3075 (SwitchLayoutsBetweenClasses): layout as layout
3077 * BufferView_pimpl.C (Dispatch): layout as layout
3078 (smartQuote): layout as layout
3080 * BufferView2.C (unlockInset): layout as layout
3082 2002-06-24 André Pönitz <poenitz@gmx.net>
3084 * lyxfunc.C: fix #487
3086 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3090 * lyxfunc.C: remove display_shortcuts, show_banner
3092 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3094 * Buffer_pimpl.C: oops, update on resize
3096 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3103 * BufferView.C: use repaint()
3105 * BufferView_pimpl.h:
3106 * BufferView_pimpl.C: s/updateScreen()/repaint()/
3107 as it's a clearer description. Remove superfluous
3110 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3112 * text.C: fix bug 488. Not ideal, but getting
3113 getWord() to work properly for the insets that
3114 matter is more difficult ...
3116 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3118 * BufferView_pimpl.C:
3121 * lyxfunc.C: remove the six million index lyxfuncs to just
3122 one, and DTRT (bug 458)
3124 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3128 * BufferView_pimpl.h:
3129 * BufferView_pimpl.C: clean up resize() stuff,
3130 and unnecessary updateScreen()s
3132 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3136 * BufferView_pimpl.h:
3137 * BufferView_pimpl.C:
3140 * minibuffer.C: remove focus management of workarea,
3141 not needed. Use screen's greyOut()
3143 2002-06-17 Herbert Voss <voss@lyx.org>
3145 * converter.C: (convert) do not post a message, when converting
3146 fails, let the calling function decide what to do in this case
3148 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3150 * lyxfunc.C: tidy up a little
3152 2002-06-16 <alstrup@diku.dk>
3154 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3155 Got rid of FORMS_H_LOCATION include. Now we are
3158 2002-06-15 LyX Development team <lyx@rilke>
3160 * buffer.[Ch] (sgmlOpenTag):
3161 (sgmlCloseTag): Added support for avoiding pernicious mixed
3162 content. Return number of lines written.
3165 (makeDocBookFile): Fixed calls to sgml*Tag.
3166 Simple white space clean.
3168 (simpleDocBookOnePar): Simple white space clean.
3170 * tabular.[Ch] (docBook): Renamed to docbook and got another
3171 argument to related with the pernicious mixed content.
3173 (docbookRow): Fixed calls for docbook inset method.
3175 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3177 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3178 so it's X11 independent.
3182 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3184 2002-06-15 Lyx Development team <lyx@electronia>
3186 * intl.h: Renamed getTrans to getTransManager.
3188 2002-06-14 Angus Leeming <leeming@lyx.org>
3190 * Makefile.am: nuke forgotten stl_string_fwd.h.
3192 2002-06-12 Angus Leeming <leeming@lyx.org>
3194 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3196 2002-06-13 Angus Leeming <leeming@lyx.org>
3199 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3201 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3203 * kbmap.C (getiso): add support for cyrillic and greek
3205 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3209 * BufferView_pimpl.h:
3210 * BufferView_pimpl.C: move bogus scrolling logic
3213 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3216 * BufferView_pimpl.C: view->resize() change
3218 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3220 * BufferView_pimpl.C: topCursorVisible
3223 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3227 * lyx_gui.C: move to frontends/
3231 * lyx_main.C: changes from above
3233 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3240 * lyx_main.C: minor tidy
3242 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3244 * BufferView_pimpl.h:
3245 * BufferView_pimpl.C:
3247 * BufferView.C: make painter() const,
3250 * BufferView2.C: use screen() accessor
3253 * lyx_main.C: some minor cleanup
3255 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3257 * BufferView_pimpl.h:
3258 * BufferView_pimpl.C: remove enter/leaveView,
3261 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3266 * BufferView_pimpl.h:
3267 * BufferView_pimpl.C: only construct screen once,
3270 * lyxrc.C: remove pointless comment
3272 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3275 * BufferView.C: remove active() and belowMouse()
3277 * BufferView_pimpl.h:
3278 * BufferView_pimpl.C: use workarea() not workarea_,
3279 and make it use a scoped_ptr instead
3281 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3283 * lyx_gui.C: add debug message on BadWindow
3285 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3287 * sp_spell.C: fdopen is not part of the C++ standard.
3289 * paragraph.C (InsetIterator): use >= instead of ==
3291 2002-06-07 Angus Leeming <leeming@lyx.org>
3293 Fixes needed to compile with Compaq cxx 6.5.
3294 * BufferView_pimpl.C:
3301 * lyxtextclasslist.C:
3306 all c-library variables have been moved into namespace std. Wrap
3307 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3312 Add a using std::abs declaration.
3314 * kbmap.h (modifier_pair):
3315 * paragraph.h (InsetTable, InsetList):
3316 * lyxfont.h (FontBits):
3317 type definition made public.
3319 * bufferlist.C (emergencyWriteAll): the compiler complains that
3320 there is more than one possible lyx::class_fun template to choose from.
3321 I re-named the void specialisation as lyx::void_class_fun.
3323 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3325 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3326 the compiler is is unable to find tostr in write_attribute.
3328 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3330 * buffer.C (sgmlError): hide #warning
3332 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3334 * xtl/*: get rid of xtl, which is not in use anyway
3336 * LyXAction.C (init):
3337 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3338 were unimplemented xtl experimentation
3340 2002-06-04 André Pönitz <poenitz@gmx.net>
3342 * lyxfunc.C: disable array operation on simple formulae
3344 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3346 * converter.C: constify a bit
3348 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3350 * lyx_gui.C: check xforms version correctly
3352 2002-04-30 Herbert Voss <voss@lyx.org>
3354 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3357 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3359 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3360 attempt to register it with a VCS)
3362 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3364 * lyx_main.C (init): honor variables LYX_DIR_13x and
3367 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3371 * lyx_main.C: fix a crash on bad command line,
3372 and give a useful exit status on error
3374 * lyxfunc.C (doImport): allow -i lyx to work
3376 2002-03-30 André Pönitz <poenitz@gmx.net>
3378 * lyxfunc.C: mathed font changes
3380 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3395 * trans_mgr.h: srcdocs, and some minor cleanups
3397 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3399 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3400 call getFont all the time)
3402 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3404 * switch from SigC signals to boost::signals
3406 2002-05-29 André Pönitz <poenitz@gmx.net>
3408 * paragraph_pimpl.C (getChar): don't call size() too often...
3410 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3412 * paragraph_pimpl.C (insertChar): do not try to update tables when
3413 appending (pos == size())
3415 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3416 in order to reduce drastically the number of comparisons needed to
3417 parse a large document
3419 2002-05-29 André Pönitz <poenitz@gmx.net>
3425 * textclasslist.[Ch]:
3426 * sp_ispell.h: whitespace change
3428 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3430 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3431 lyxaction directly now.
3433 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3437 * lyxvc.C: remove unused headers
3439 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3446 * undo_funcs.C: some cleanups. Use shared_ptr
3447 and a template for the undo stacks.
3449 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3451 * BufferView_pimpl.h:
3452 * BufferView_pimpl.C:
3459 * text2.C: use key_state/mouse_state
3461 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3463 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3466 * chset.C: change include order
3467 (loadFile): use boost regex and get rid of LRegex and LSubstring
3469 * Makefile.am (BOOST_LIBS): new variable
3472 * LaTeX.C: change include order.
3473 (scanAuxFile): use boost regex and get rid of LRegex and
3477 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3482 * FontInfo.C: moved to frontends/xforms/
3485 * FontLoader.C: moved into frontends for GUIIzation
3490 * lyxfunc.C: changes from above
3492 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3494 * LColor.C: remove spurious X include
3496 * BufferView_pimpl.C:
3501 * text2.C: move font metrics to frontends/
3503 2002-05-24 Juergen Vigna <jug@sad.it>
3505 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3506 setting the undo_cursor.
3508 * ParagraphParameters.h: include local includes first.
3510 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3512 * BufferView_pimpl.C:
3513 * BufferView_pimpl.h:
3517 * screen.C: move WorkArea into frontends/
3523 * BufferView2.C: move LyXScreen into frontends/
3527 * lyx_gui.C: move lyxlookup into frontends/xforms/
3529 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3532 * BufferView_pimpl.C:
3542 * bufferview_funcs.C:
3555 * vc-backend.C: move LyX/XFormsView into frontends/
3557 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3569 * text2.C: move Painter to frontends/
3571 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3573 * buffer.C: comment out some some code that depend upon lyx_format
3576 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3577 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3579 * buffer.h (NO_COMPABILITY): turn off compability
3581 * ColorHandler.C: include scoped_array.hpp
3583 * font.C: Use more specific smart_ptr header.
3586 * ShareContainer.h: ditto
3590 * BufferView_pimpl.h: ditto
3591 * ColorHandler.h: ditto
3593 * kbmap.C (defkey): change call to shared_ptr::reset
3595 2002-05-21 Juergen Vigna <jug@sad.it>
3597 * buffer.C (insertErtContents): fix to insert ert asis if it is
3598 non empty. Skip it completely if it contains only whitespaces.
3600 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3602 * BufferView_pimpl.C:
3603 * BufferView2.C: clear selection on paste (bug 393)
3605 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3607 * DepTable.C: include ctime
3609 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3611 * buffer.C (latexParagraphs): Add new argument (moving_arg).
3613 2002-05-14 Juergen Vigna <jug@sad.it>
3615 * text.C (breakParagraph): fixed function to honor the keepempty
3616 layout in the right maner and also to permit the right breaking
3617 algorithm on empty or non empyt keepempty paragraphs.
3619 * paragraph.C (breakParagraph): we have to check also if the par
3620 is really empty (!size()) for isempty otherwise we do the wrong
3623 2002-05-10 Juergen Vigna <jug@sad.it>
3625 * buffer.[Ch] : The following are only changes to the ert
3626 compatibility read reading old LaTeX layout and font stuff and
3627 convert it to ERTInsets.
3629 * buffer.h: added isErtInset().
3631 * buffer.C (struct ErtComp): add a fromlayout bool to check
3632 if we're inside a LaTeX layout.
3633 (isErtInset): new helper function.
3634 (insertErtContents): look for other ert insets before this one
3635 and insert the contents there, so that we don't have subsequent
3636 ERT insets with nothing between them. This way we create only one
3637 inset with multiple paragraphs. Also check if we don't insert only
3638 spaces ' ' as they are ignored anyway afterwards in the .tex file
3639 so if we have only spaces we will ignore this latex part in the
3641 (parseSingleLyXformat2Token \\layout): better compatibility when
3642 reading layout-latex stuff.
3643 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3645 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3646 stuff after reading the inset only get the information back from
3649 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
3651 * buffer.C (makeLaTeXFile): Put language options after loading babel.
3653 * LaTeXFeatures.C (getBabelOptions): New method.
3655 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3657 * BufferView_pimpl.C (Dispatch): work around missing argument for
3660 2002-05-08 Juergen Vigna <jug@sad.it>
3662 * text.C (leftMargin): handle paragraph leftindent.
3664 * paragraph.C (writeFile): write the new \\leftindent tag.
3665 (validate): handle leftindent code.
3666 (TeXEnvironment): handle paragraphleftindent code again.
3668 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3670 * buffer.C (parseSingleLyXformat2Token): added compatibility code
3671 for paragrap_extra indent code and new token \\leftindent.
3672 (latexParagraphs): handle the leftindent as environment.
3674 * ParameterStruct.h: added leftindent support.
3676 * ParagraphParameters.C (leftIndent): added support functions for
3677 the paragraph left indent.
3679 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
3682 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3684 * paragraph.C (isRightToLeftPar): Return false for a paragraph
3687 * text.C (computeBidiTables): No bidi in insetERT.
3689 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
3692 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3694 * version.C.in: pre 5
3696 2002-05-02 José Matos <jamatos@fep.up.pt>
3697 * buffer.C (makeDocBookFile): white space changes, add newline to
3699 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
3701 * tabular.C (docBook): fix typo.
3703 2002-05-03 Juergen Vigna <jug@sad.it>
3705 * screen.C (drawFromTo): recalculate the rowpointer if we had a
3706 change in LyXText as we can not be sure it was not freed.
3707 (drawOneRow): remove unused code.
3709 * text.C (drawInset): redo the calculation of the need_break_row as
3710 it could have a row which was already freed.
3711 (draw): look at the return value of drawInset and return false if
3712 it also returned false.
3713 (paintRowText): look at the return value of draw and return false if
3714 it also returned false.
3716 * lyxtext.h: added bool return type to drawInset() and draw() so that
3717 if we have a change in the row so that the rowbreak has to be redone
3718 we abort drawing as it will be called again.
3720 2002-05-02 Juergen Vigna <jug@sad.it>
3722 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
3723 a change in the maintext also if we're inside an inset.
3724 (Dispatch): set the cursor again after a break line and after the
3725 screen has been updated as it could be we're in a different row.
3727 * text2.C (fixCursorAfterDelete): check to make sure we don't request
3728 to set the cursor behind the pargraph with > size().
3729 (setCursor): check also for the same paragraph when checking where
3730 to put the cursor if we have a NFR inset.
3732 * buffer.C (parseSingleLyXformat2Token): move the compatibility
3733 parts of layout read further up as it still was in the wrong
3736 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3738 * screen.C (drawFromTo): change sine fullRebreak always return
3741 * buffer.C (parseSingleLyXformat2Token): reindent some
3743 * BufferView_pimpl.C (update): change since fullRebreak always
3745 (Dispatch): git rid of the last hardcoded "Standard"s.
3747 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3749 * text2.[Ch] (fullRebreak): make it return void now that we always
3752 2002-04-30 Juergen Vigna <jug@sad.it>
3754 * buffer.C (parseSingleLyXformat2Token): reset the font before the
3755 ert compatibility check for "latex" layout.
3757 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
3759 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3760 minipages: use col% instead of p%, and also use the current font.
3761 (makeLaTeXFile): Fix use babel condition.
3762 (parseSingleLyXformat2Token): Correct font when reading old floats.
3764 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3766 * BufferView_pimpl.C (Dispatch): Check that float type exists when
3767 inserting list of floats.
3769 2002-04-25 Herbert Voss <voss@lyx.org>
3771 * MenuBackend.C (expand): don't add the graphics extensions to the
3774 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3776 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3777 non-existing layout, do not complain if it was the default layout
3778 of the original class (bug #342)
3780 2002-04-24 Juergen Vigna <jug@sad.it>
3782 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3783 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3785 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3787 * buffer.C (getBibkeyList): If using \bibliography, return the
3788 option field with the reference itself. Enables us to provide natbib
3789 support when using \bibliography.
3791 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
3793 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3795 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3796 natbib is provided by the LaTeX class.
3798 2002-04-23 Juergen Vigna <jug@sad.it>
3800 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3803 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3805 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3807 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3809 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3810 ensuremath around textordmasculine, textordfeminine and
3813 2002-04-19 Juergen Vigna <jug@sad.it>
3815 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3816 reinitializing the buffer otherwise row-dimensions may be wrong.
3817 (update): reset also the selection cursors if they do exits otherwise
3818 their x/y positions may be wrong.
3820 * text2.C (cursorDown): don't enter the inset if we came from a row
3821 above and are one row over the inset.
3823 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3824 really leaving an inset.
3826 2002-04-18 Juergen Vigna <jug@sad.it>
3828 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3829 of the selected paragraph does not have the selected layout also if
3832 * text2.C (setLayout): fixed bug which did not change last selected
3835 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3836 changed the read and substituted \\end_float with \\end_inset!
3838 * BufferView_pimpl.C (cursorPrevious):
3839 (cursorNext): fixed to make it work with rows heigher than the work
3840 area without moving the cursor only the draw of the row.
3841 (workAreaMotionNotify): fix jumping over high rows.
3843 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3845 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
3848 2002-04-16 Juergen Vigna <jug@sad.it>
3850 * text2.C (setCursor): set also the irow().
3851 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
3853 (cursorDown): support for locking an inset if the x_fix value goes
3854 inside it. That way I can transverse insets too with cursor up/down.
3856 * lyxrow.h: added irow helper function same as other (i) functions.
3858 * BufferView_pimpl.C (cursorPrevious):
3859 (cursorNext): fixed for insets!
3861 2002-04-15 Juergen Vigna <jug@sad.it>
3863 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
3864 position otherwise it is wrong in some cases.
3866 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
3867 inside the inset before the call.
3869 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3871 * buffer.[Ch] (getBibkeyList): make it const.
3873 2002-04-12 Juergen Vigna <jug@sad.it>
3875 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
3877 * text2.C (getCursorX): new helper function
3878 (setCursor): compute also ix_
3879 (setCursorFromCoordinates): set also ix.
3881 * lyxcursor.h: added ix_ and helper functions.
3883 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
3885 * buffer.C (insertStringAsLines): dont break paragraph if the this
3886 paragraph is inside an inset which does not permit it!
3888 * text.C (breakParagraph): honor keepempty flag and break the paragraph
3889 also with no chars on this paragraph.
3890 (paintRowText): only paint stuff if it's inside the workarea!
3892 * paragraph.C (breakParagraph): honor keepempty flag and break the
3893 paragraph always below not above.
3895 * BufferView2.C (unlockInset): update the paragraph layout on inset
3896 unlock as we changed paragraph in such a case.
3898 * lyxfind.C (LyXFind): clear the former selection if not found!
3900 * text2.C (insertInset): freeze Undo after setUndo so that it is not
3901 again called in insertChar().
3903 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
3904 an inset which uses the whole row!
3905 (rightMargin): ditto.
3906 (insertChar): force a rebreak if we inserted an inset!
3908 2002-03-28 Herbert Voss <voss@lyx.org>
3910 * lyxlength.[Ch]: add inBP() to get the right PS-point
3911 units (BigPoint). With inPixels we have rounding errors
3913 2002-04-11 Juergen Vigna <jug@sad.it>
3915 * text2.C (setCursorFromCoordinates): set iy to the right value.
3916 (setCursor): add check if row->previous exists!
3918 * buffer.C (parseSingleLyXformat2Token): reset font after read of
3919 an old float_type as this was the case in the old code!
3921 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
3923 * BufferView2.C (showLockedInsetCursor): use iy
3924 (fitLockedInsetCursor): ditto
3926 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
3927 locked insets as there we have the right value now.
3929 * lyxcursor.C: added iy_ variable and iy functions to set to the
3930 baseline of cursor-y of the locked inset.
3932 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
3933 (setCursor): fixed for insets which need a full row.
3935 * text.C (rowLastPrintable): don't ignore the last space when before
3936 an inset which needs a full row.
3937 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
3938 as last character of a row when before a inset which needs a full row.
3940 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3942 * version.C.in: update date
3944 * text2.C (fullRebreak): try to always return true and see what
3947 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3949 * MenuBackend.C (expand): use Floating::listName
3951 * FloatList.C (FloatList): add listName argument to the built-in
3954 * Floating.[Ch]: add listName member, which is the 'List of XXX'
3955 text associated with the float.
3957 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3959 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
3961 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3963 * ShareContainer.h: add a couple of missing typenames.
3965 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
3967 * lyxrc.C (getDescription): use _() correctly rather than N_().
3969 2002-03-28 Herbert Voss <voss@lyx.org>
3971 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
3972 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
3974 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3976 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
3977 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
3979 2002-03-29 Juergen Vigna <jug@sad.it>
3981 * lyxfunc.C (dispatch): add a missing fitCursor call.
3983 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
3984 it was scrolled by a cursor move, so return the bool status.
3986 * BufferView.C (fitCursor): return the bool flag also to the outside
3987 world as this is needed.
3989 * screen.C (toggleToggle): don't subtract the offset if it's positive.
3991 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
3992 call the edit() as it is not needed (and wrong) IMO.
3993 (workAreaButtonPress): set the screen_first variable before evt.
3994 unlock the inset as this may change screen_first and then we have
3995 a wrong y position for the click!
3997 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3999 * MenuBackend.C (expand): another translation that I missed
4001 2002-03-28 Juergen Vigna <jug@sad.it>
4003 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4005 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4007 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4009 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4011 * MenuBackend.C (expand): fix export/view/update when there is no
4014 2002-03-27 Herbert Voss <voss@lyx.org>
4016 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4019 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4021 * bufferview_funcs.C (currentState): only show paragraph number
4022 for is DEVEL_VERSION is set.
4024 * lyxfunc.C (dispatch): put warning in INFO channel
4026 * MenuBackend.C (expand): translate the name of floats
4028 * FloatList.C (FloatList): mark the float names for translation
4030 * converter.C (convert): use LibScriptSearch
4032 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4034 * MenuBackend.C (defaults): fix default menu (we might as well get
4037 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4039 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4042 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4044 * lyxvc.C: reorder includes.
4046 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
4048 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4051 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
4053 * CutAndPaste.C: change layouts earlier on paste
4054 to avoid crashing when calling getFont()
4056 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4058 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4061 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4063 * WorkArea.C: remove 'Pending' debug message.
4065 * most files: ws cleanup
4067 * buffer.[Ch]: ws changes
4069 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
4071 2002-03-21 Juergen Vigna <jug@sad.it>
4073 * tabular.C (SetMultiColumn): collapse also the contents of the
4074 cells and set the last border right. Added a Buffer const * param.
4076 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4078 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
4081 2002-03-19 Juergen Vigna <jug@sad.it>
4083 * text2.C (clearSelection): reset also xsel_cache.
4085 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
4086 where it needs to be called (John tells us to do so too :)
4087 (selectionLost): reset sel_cache.
4089 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
4091 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4093 * text2.C (setCursorIntern): put debuging code in INSETS channel
4095 2002-03-19 André Pönitz <poenitz@gmx.net>
4097 * lyxfunc.C: tiny whitespace change
4099 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4101 * ToolbarDefaults.C (init):
4102 * LyXAction.C (init):
4104 * BufferView_pimpl.C (Dispatch):
4105 * lyxfunc.C (dispatch): remove LFUN_DEPTH
4107 2002-03-19 Allan Rae <rae@lyx.org>
4109 * exporter.C (Export): removeAutoInsets before doing anything else.
4110 While I've just introduced a dependency on BufferView this really is
4111 the best place to clean the buffer otherwise you need to cleanup in
4112 a dozen places before calling export or cleanup in a dozen functions
4115 * converter.C (runLaTeX):
4116 (scanLog): Better handling of removeAutoInsets and screen updates.
4118 * lyxfunc.C (dispatch): small whitespace changes
4120 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4122 * WorkArea.C (C_WorkAreaEvent): return a value.
4123 (event_cb): return 1 if we handled the event, 0 otherwise.
4125 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4127 2002-03-18 Juergen Vigna <jug@sad.it>
4129 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4130 (GetAdditionalWidth): ditto.
4134 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4135 inset if we're there actually (probably not used right now but this
4136 is the direction to go for unifying code).
4137 (paste): disable code to clear the selection.
4139 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4140 inside an InsetText and move the check further up as it is in the
4143 * text2.C (pasteSelection): set a selection over the pasted text.
4145 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4147 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4148 and libgraphics to build on Cygwin.
4150 2002-03-15 Juergen Vigna <jug@sad.it>
4152 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4153 inserting an Inset into the paragraph. I know this is not the best
4154 fix but we already use current_view in CutAndPaste so we will remove
4155 all of it's using at the same time.
4157 * buffer.C (sgmlError): deactivated function till it is rewritten in
4158 the right mode, now it can create problems.
4160 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4161 before accessing it.
4163 2002-03-14 Juergen Vigna <jug@sad.it>
4165 * undo_funcs.C (textHandleUndo): do the right thing when updating
4166 the inset after the undo/redo.
4168 * text2.C (setCursor): just some testcode for #44 not ready yet.
4170 * undo_funcs.C (textHandleUndo): set the next() and previous()
4171 pointers of the paragraph to 0 before deleting otherwise we have
4172 problems with the Paragraph::[destructor].
4174 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4175 on a paragraph insertion.
4177 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4179 * buffer.C (asciiParagraph): use += operator for char append to
4182 * paragraph.C (getFontSettings): compare >= not just >
4183 (highestFontInRange): ditto
4186 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4188 * paragraph.C: change several algorithm to be more appripriate for
4189 the problem domain. This is lookip in FontList and in the InsetList.
4191 2002-03-13 André Pönitz <poenitz@gmx.net>
4194 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4196 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4201 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4203 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4205 * Painter.C (display): anon helper function, adjust code for this
4207 (pixmap): remove function.
4209 * Painter.h: remove private display variable.
4211 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4213 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4215 * WorkArea.[Ch]: remove figinset_canvas cruft.
4217 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4219 * lyxtextclass.C (operator): add one item cache optimization.
4221 * bufferlist.h: doxy changes
4223 * bufferlist.C: ws changes
4225 * DepTable.[Ch] (ext_exist): place const in the right spot.
4227 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4229 (workAreaExpose): call resizeInsets when the with BufferView changes.
4230 (Dispatch): adjust for protectedBlank removal
4231 (specialChar): call updateInset if the insert went ok.
4233 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4234 specialChar instead.
4236 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4238 * BufferView.h: doxy change
4240 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4242 * lyxtextclass.C (operator[]): remove non-const version
4243 (defaultLayout): remove non-const version
4245 2002-03-12 Juergen Vigna <jug@sad.it>
4247 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4248 did resize the LyXText too.
4250 * buffer.C (readLyXformat2): set layout information on newly allocated
4253 * tabular.C (OldFormatRead): set layout information on the paragraph.
4255 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4257 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4259 2002-03-11 Juergen Vigna <jug@sad.it>
4261 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4263 (resizeCurrentBuffer): force also the insets to resize themselfes.
4264 (moveCursorUpdate): fixed up for InsetText.
4266 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4269 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4270 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4271 value of Dialogs::tooltipsEnabled().
4272 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4274 2002-03-08 Juergen Vigna <jug@sad.it>
4276 * BufferView_pimpl.C (updateInset): update inset inside inset also
4277 if it isn't inside theLockingInset().
4279 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4281 * buffer.C (asciiParagraph): redo some of the word and line length
4283 (getLists): look for Caption instead of caption.
4285 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4287 * buffer.C (Buffer): initialize niceFile to true
4290 (makeDocBookFile): make sure niceFile is true on exit
4292 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4294 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4296 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4298 * LyXSendto.C: remove.
4299 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4300 * lyx_gui.C: remove now-redundant comment.
4301 * ColorHandler.h: remove forward declaration of class WorkArea.
4302 * lyxfunc.C: remove #include "WorkArea.h".
4304 2002-03-07 Juergen Vigna <jug@sad.it>
4306 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4307 got moved away with the DEPM and also set the inset_owner always
4308 right which before could have been omitted.
4310 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4312 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4313 wanted layout is not found.
4315 2002-03-07 Juergen Vigna <jug@sad.it>
4317 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4319 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4321 * paragraph.C (breakParagraph): use default layout not layout of
4323 (Paragraph): clear ParagraphParameters.
4325 2002-03-06 Juergen Vigna <jug@sad.it>
4327 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4328 otherwise it would not be a valid lenght. Fixed a special case in
4329 the minipage compatibility read where we end the document with a
4332 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4333 was set as it could be 0 for InsetTexts first entry.
4335 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4337 * paragraph.C (writeFile): if layout is empty write out
4338 defaultLayoutName().
4340 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4341 file without named layout we set layout to defaultLayoutName().
4343 2002-03-06 Juergen Vigna <jug@sad.it>
4345 * CutAndPaste.C (copySelection): set layout for new paragraph.
4347 * text.C (prepareToPrint): leave ERT inset left aligned
4348 (leftMargin): don't indent paragraphs inside ERT insets
4350 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4352 * paragraph.C (breakParagraph): dont call clear do the work manually
4354 * paragraph.[Ch] (clear): remove function
4356 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4358 * paragraph.C (Paragraph): dont call clear, the work has already
4361 * lyxtextclass.C (operator): assert if n is empty
4363 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4364 work manually instead.
4366 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4368 * BufferView_pimpl.C: protect selectionLost against text == 0
4370 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4372 * text.C (breakParagraph): fix a setting layout to '0' problem.
4374 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4376 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4377 final location of file, for the included files, and graphics.
4379 2002-03-05 Juergen Vigna <jug@sad.it>
4381 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4383 2002-03-04 Juergen Vigna <jug@sad.it>
4385 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4387 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4388 last column of multicolumn cells.
4389 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4391 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4393 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4394 file if it doesn't go to a temporary file.
4396 * buffer.C (sgmlOpenTag):
4397 (sgmlCloseTag): remove extra newline insertion.
4399 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4401 * text.C (getRowNearY): comment out debug msg
4403 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4405 * text2.C: first -> first_y
4407 * text.C (getRowNearY): add some attemts at a possible
4408 optimization, not working.
4410 * tabular.[Ch]: add BufferParams to several function so that newly
4411 created paragraph can be initialized to he default layotu for the
4414 * tabular-old.C (ReadOld): add buf->params to call of Init
4416 * screen.C: rename text->first to text->first_y
4418 * paragraph.C (breakParagraph): always set layout in the broken
4421 * lyxtextclass.C (Read): remove lowercase
4424 (delete_layout): ditto
4426 * lyxtext.h: rename first -> first_y
4428 * lyxlayout.C (Read): remove lowercase
4431 (obsoleted_by): ditto
4433 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4435 * buffer.C (insertErtContents): add params are to InsetERT
4436 (parseSingleLyXformat2Token): add code to check if a paragraphs
4437 layout really exist.
4438 (parseSingleLyXformat2Token): add params to several inset
4440 (asciiParagraph): remove lowercase, do the layout comparisons with
4443 * BufferView_pimpl.C (cursorNext): first -> first_y
4444 (resizeCurrentBuffer): first -> first_y
4445 (updateScrollbar): first -> first_y
4446 (scrollCB): first -> first_y
4447 (workAreaMotionNotify): first -> first_y
4448 (workAreaButtonPress): first -> first_y
4449 (checkInsetHit): first -> first_y
4450 (cursorPrevious): first -> first_y
4451 (cursorNext): first -> first_y
4452 (Dispatch): add buffer_->params to severl inset contructors
4454 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4456 * lyxlayout.C (Read): remove some debug info that I forgot.
4458 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4459 clean up the code slightly.
4460 (makeLinuxDocFile): ditto
4461 (makeDocBookFile): ditto
4463 * text2.C: layout as string
4465 * text.C: layout as string
4467 * paragraph_pimpl.C: layout as string
4469 * paragraph.[Ch]: layout as string
4471 * lyxtextclasslist.[Ch]: layout as string
4473 * lyxtextclass.[Ch]: layout as string
4475 * lyxtext.h: layout as string
4477 * lyxlayout.[Ch]: layout as string
4479 * lyx_cb.C: layout as string
4481 * bufferview_funcs.C: layout as string
4483 * bufferparams.C: layout as string
4485 * buffer.C: layout as string
4487 * LyXView.[Ch]: layout as string
4489 * LaTeXFeatures.[Ch]: layout as string
4491 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4493 * BufferView_pimpl.C: change current_layout to string, remove
4498 (workAreaButtonRelease): layout as string
4500 * BufferView2.C (unlockInset): adjust
4502 * vspace.C (asLatexCommand): use an explict temp variable.
4504 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4506 * Makefile.am: use FRONTEND_*
4508 2002-03-01 Juergen Vigna <jug@sad.it>
4510 * tabular.C (SetWidthOfMulticolCell): changed to something better
4511 I hope but still work in progress.
4512 (recalculateMulticolumnsOfColumn): renamed function from
4513 recalculateMulticolCells as it is more appropriate now.
4514 (SetWidthOfCell): calculate multicols better.
4516 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4518 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4520 * lyxfunc.C (processKeySym): print sequence also if it is
4521 `deleted' (complete)
4523 * kbsequence.C (print): print sequence even if it is deleted
4524 (complete would be a better word, actually).
4526 * lyxfunc.C (dispatch): print complete options after a prefix key
4528 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4530 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4532 * text2.C (setCharFont): eliminate setCharFont code duplication.
4534 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4536 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4537 LFUN_TABULAR_FEATURE (bug #177)
4539 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4541 * Makefile.am: remove figure.h
4543 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4545 * Bufferview_pimpl.C:
4557 * text2.C: remove #include "lyx_gui_misc.h".
4559 * LaTeX.C: added #include <cstdio>
4561 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4563 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4564 that the paragraph following this one can have.
4566 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4568 * vspace.C (asLatexCommand): fix bogus gcc warning
4570 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4572 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4574 * text2.C (setLayout): get rid of redundant code
4576 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4578 * text2.C (incDepth): make sure depth cannot be increased beyond
4581 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4583 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4584 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4586 * PainterBase.h (image):
4587 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4590 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4594 * BufferView_pimpl.C:
4595 * BufferView_pimpl.h:
4615 * sp_spell.C: remove fig inset, and the crap house of
4616 cards that follows it
4618 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4624 * nt_defines.h: move .h into support/
4626 * vms_defines.h: remove
4628 * WorkArea.C: add space in debug output
4632 * buffer.C: add WITH_WARNINGS
4636 * bufferlist.C: s/retrive/retrieve/, add docs
4647 * lyxgui.C: add ID to X error handler
4649 * lyxtestclass.c: fix typo
4651 2002-02-26 Juergen Vigna <jug@sad.it>
4653 * tabular_funcs.C (write_attribute): changed so that some default
4654 attributes are not written at all.
4655 (getTokenValue): set default values before trying to read the
4656 value so we have the return value always set as default if we don't
4657 find the token we search for.
4659 * tabular.C (Write): write bools as bools not as strings!
4661 2002-02-22 Juergen Vigna <jug@sad.it>
4663 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4664 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4666 * text.C (leftMargin): don't add an indent for paragraphs inside
4667 tabular cells (fix #208).
4669 2002-02-21 José Matos <jamatos@fep.up.pt>
4671 * tabular.C (docBook): fixed support for long tables.
4673 2002-02-20 Juergen Vigna <jug@sad.it>
4675 * text2.C (getFont): get the drawing font of the Inset if this
4676 paragraph is inside an inset (only important for InsetERT for now).
4678 * buffer.C (insertErtContents): use new lanugage params in ERT
4681 * CutAndPaste.C: commenting out seemingly uneeded code.
4683 2002-02-19 Allan Rae <rae@lyx.org>
4685 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
4686 Iterators might be simple to use but they also get invalidated.
4687 (removeAutoInsets): renamed saved cursor tracking variables and added
4688 some comments to clarify what everything does.
4690 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4697 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
4698 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4701 * vc-backend.h: remove #include "support/syscall.h"
4705 * converter.C: rearrange #includes in Lars' approved fashion.
4707 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
4708 forward declare class Timeout in the header file.
4710 * XFormsView.C: changes due to the above.
4712 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
4715 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
4716 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
4718 2002-02-18 José Matos <jamatos@fep.up.pt>
4720 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
4723 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4725 * a lot of small ws changes
4726 * add a lot of using std::XXX
4727 * use std construcs some places where approp.
4728 * use some exisint stuff from lyxfunctional where approp.
4729 * Make file changes to use partial linking (lets test this now...)
4731 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4735 remove #include "support/syscontr.h" as it's redundant. Always has been.
4743 change Systemcalls::System to Systemcalls::Wait and
4744 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4745 No change of functionality, just reflects the stripped down Systemcalls
4748 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4750 * debug.[Ch]: add a GRAPHICS type to the enum.
4752 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4754 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4756 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4759 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4761 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4762 match the changes below.
4764 * text2.C (toggleInset): if there is not editable inset at cursor
4765 position, try to see if cursor is _inside_ a collapsable inset
4768 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4770 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4771 document menu has a nice checkbox
4773 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4775 * lyxlength.C (asLatexString): change PW to output as percent of
4778 * lengthcommon.C: change '%' to 't%'
4780 * lyxfunc.C (dispatch): a few comments from Martin
4782 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
4786 * BufferView_pimpl.h:
4787 * BufferView_pimpl.C: clear our selection when X tells us we've lost
4790 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4792 * vspace.C (inPixels): fix compiler warning
4794 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4796 * lyxfunc.C (getStatus): fix status message for disabled commands.
4798 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
4800 * BufferView_pimpl.C: fix crash on close buffer
4801 during selection (#227)
4803 2002-01-27 Herbert Voss <voss@lyx.org>
4805 * buffer.C: link old Figure to new graphic inset
4807 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
4809 * FontLoader.C (getFontinfo): Change the latex font names in order
4810 to match the names of type1inst.
4812 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4814 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4816 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4819 (remove_files_with_extension): ditto
4820 (remove_file): ditto
4823 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4824 document is smaller than the work area height. Do not initialize
4825 static variables to 0.
4827 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4829 * lyx_gui.C (init): give the toolbar tooltips a normal font.
4831 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4832 LFUN_LAYOUT_PARAGRAPHS.
4834 * tabular.C (GetCellFromInset): new method. Finds an inset in a
4835 tabular. It is possible to provide a possible cell, which will
4836 typically be the actcell from the corresponding insettabular
4838 * lyxfunc.C (getStatus): small cleanup; disable
4839 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4842 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4844 * tabular.C (Validate): remove broken optimization (fixes bug #201)
4846 * paragraph.C (startTeXParParams):
4847 (endTeXParParams): new methods. The LaTeX code to
4848 start/end paragraph formatting
4849 (simpleTeXOnePar): call startTeXParParams also when paragraph is
4850 empty (fixes bug #200)
4852 * vspace.C (inPixels): adapt to the change below
4853 (inPixels): [later] more cleanups (remove unused variables)
4855 * lyxlength.C (inPixels): change to use a width and a height as
4858 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4860 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
4861 Replaced with \paperwidth
4863 * DepTable.C (insert): add std:: qualifier
4865 2002-01-18 Allan Rae <rae@lyx.org>
4867 * text2.C (removeRow): add comment. Should other refresh_?? vars be
4870 * text.C (drawInset): Turned out I didn't know enough about how
4871 rebreaking worked. This fixes most of the redraw problems. I see
4872 an occasional cursor trail when a line is broken now and the cursor
4873 placement can seem out by a few pixels also after a rebreak.
4875 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4877 * buffer.C (parseSingleLyXformat2Token): update because minipage
4878 width is now a LyXLength
4880 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
4882 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
4885 2002-01-17 Juergen Vigna <jug@sad.it>
4887 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
4889 * BufferView2.C (lockInset): call edit() so that theLockingInset()
4890 is set correctly and the inset is updated correctly.
4892 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4894 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
4895 the beginning of the loop.
4897 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
4899 * lyxrc.C: improve help for use_scalable_fonts
4901 2002-01-17 Allan Rae <rae@lyx.org>
4903 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
4905 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4907 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
4908 make sure to set their inset_owner to the right value (bug #171)
4910 2001-12-12 Ben Stanley <bds02@uow.edu.au>
4913 * DepTable.C: Implement mtime checking to reduce time spent doing
4916 2002-01-16 Juergen Vigna <jug@sad.it>
4918 * tabular.C (GetAdditionalHeight): one of error fixed.
4920 * lyxrc.C (output): small fix in writing use_pspell.
4922 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
4924 * sp_base.h: #include LString.h
4926 2002-01-16 Allan Rae <rae@lyx.org>
4928 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
4929 Can someone check this please?
4931 * text.C (drawInset): It was possible that p.row would be removed by
4932 breakAgainOneRow upsetting a few other settings. There may be another
4933 small tweak possible by setting need_break_row = 0 when p.row has been
4934 removed but I don't know enough about the logic here.
4936 2002-01-15 Allan Rae <rae@lyx.org>
4938 * text.C (insertChar): removed conditional truism.
4940 * BufferView2.C (removeAutoInsets): More tweaks.
4941 cur_par_prev could be a stray pointer. Check for trailing empty line
4942 in case last line was cur_par and only had an error inset on it.
4944 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4946 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
4949 * vc-backend.C (most methods):
4950 * exporter.C (Export):
4951 * converter.C (convert):
4953 * LyXSendto.C (SendtoApplyCB):
4954 * lyxfunc.C (dispatch):
4958 * lyx_cb.C (AutoSave):
4960 * BufferView_pimpl.C (MenuInsertLyXFile):
4961 * buffer.C (runChktex): use Buffer::filePath().
4963 * buffer.h: rename filename to filename_; rename filepath to
4964 filepath_ and make it private
4965 (filePath): new method
4967 * buffer.C (writeFile): use fileName()
4970 * lyx_main.C (init): fix starting of LyX when the binary is a
4971 link from so,ewhere else.
4973 * minibuffer.C: include <cctype> for isprint
4975 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4977 * buffer.C (parseSingleLyXformat2Token): changes associated with the
4978 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
4979 name clash with InsetCollapsable's width function.
4981 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4983 * lastfiles.C: include <iterator>
4985 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4987 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
4990 * buffer.C (makeLaTeXFile): ditto.
4991 Also make loop operation more transparent.
4993 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4995 * ToolbarDefaults.C: remove trailing comma closing namespace.
4997 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
4999 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5002 * trans.C (Load): comment out unused variable, allowed.
5004 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5006 * minibuffer.[Ch] (append_char): new method to recieve input from the
5007 drop-down completion browser. If a key was pressed, then recieve this
5008 char and append it to the existing string.
5009 (peek_event): modify the positioning data passed to the completion
5010 browser so that it can be placed above the minibuffer rather than below.
5011 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5013 * LyXAction.C (init): alloe error-next for readonly documents.
5015 * BufferView2.C (ChangeRefsIfUnique): use standard version of
5018 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5020 * bufferlist.C (readFile): create the buffer _after_ checking that
5023 * lyxfunc.C (verboseDispatch): fix handling of arguments
5025 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5027 * lyxrc.C: use string::erase() instead of initializing to "".
5030 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5032 * BufferView_pimpl.h:
5033 * BufferView_pimpl.C:
5036 * text2.C: tell X when we have made a selection for copying
5038 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5040 * BufferView_pimpl.C (MenuInsertLyXFile):
5041 * lyxfunc.C (menuNew):
5043 (doImport): add shortcuts to directory buttons
5045 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5048 * lyxfunc.C (setStatusMessage):
5049 (getStatusMessage): new methods
5050 (getStatus):use setStatusMessage instead of setErrorMessage
5051 (dispatch): when function is disabled, set error message here
5052 [instead of in getStatus previously]
5054 * BufferView_pimpl.C (workAreaButtonRelease): update
5055 toolbar/menubar here too.
5057 2002-01-13 Allan Rae <rae@lyx.org>
5059 * BufferView2.C (removeAutoInsets): finished off earlier fix.
5060 Now seems indestructible. Remaining task is to audit all other
5061 code affected by deleteEmptyParagraphMechanism. One small quirk
5062 left is that an empty document with an error in the preamble can
5063 be made to report an error but no error box appears. I don't know
5065 (removeAutoInsets): Improved comments.
5067 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
5070 * Thesaurus.C: update for Aiksaurus 0.14
5072 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5074 * text2.C (firstParagraph): removed member function, all uses
5075 replaces with ownerParagraph
5076 (redoParagraphs): here
5078 (toggleAppendix): here
5079 * BufferView2.C (insertErrors): here
5080 (setCursorFromRow): here
5082 2002-01-13 Allan Rae <rae@lyx.org>
5084 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
5085 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
5086 There is still a way to segfault this although you may have to do this
5087 multiple times: Have an InsetERT with an unknown command in it.
5088 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
5089 <down-arrow>, <Enter> again, View->DVI, BANG!
5091 * text2.C (setCursor):
5092 (deleteEmptyParagraphMechanism):
5093 * lyxtext.h (setCursor):
5094 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5095 Making use of the return value may help fix other bugs.
5097 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5099 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5101 * LyXView.C (updateMenubar): call MenuBar::update here
5102 (updateToolbar): but not here
5103 (showState): do not update toolbar/menubar
5105 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5106 should need to care about that.
5108 * lyxfunc.C (verboseDispatch): simplify a bit
5109 (getStatus): have a version which takes a pseudoaction, and
5110 another which requires a (kb_action,string).
5112 * LyXAction.C (retrieveActionArg): make it work also when action
5113 is not a pseudo-action.
5114 (getActionName): simplify a bit
5117 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5119 * lyxfunc.C (verboseDispatch): new families of methods with
5120 several ways to specify a command and a bool to indicate whether
5121 the command name and shortcut should be displayed in minibuffer
5122 (eventually, we could extend that to a finer bitmask like
5123 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5124 (dispatch): the pristine dispatch command which just, well,
5125 dispatchs! Note it still sets its result to minibuffer; I'm not
5128 * lyxfunc.h: remove setHintMessage
5130 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5132 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5134 * BufferView_pimpl.C (specialChar): delete new inset if we have
5135 not been able to insert it.
5137 * kbmap.C: revert to using int instead of kb_action, since all we
5138 are dealing with is pseudo-actions.
5140 * LyXAction.C (searchActionArg): change to return int instead of
5141 kb_action, since the result is a pseudoaction.
5143 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5145 * buffer.C (insertErtContents): Fix (partially) the font bug.
5147 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5149 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5150 as the other one is broken on my machine!
5152 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5155 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5157 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5159 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5160 reflect their actual use. Provide compatibility code for older lyxrc
5163 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5165 change names of popup font variables in line with the changes to lyxrc.C
5167 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5169 * buffer.C (asciiParagraph): avoid outputing a word twice after
5172 * lyxrc.C (getDescription): document that document_path and
5173 template_path can be empty.
5175 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5177 * LaTeXFeatures.C (getMacros):
5178 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5180 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5182 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5184 (getPackages): rename feature "floats" to "float". Use an array to
5185 iterate over 'simple' features (i.e. just a \usepackage). Add
5186 handling of "amsmath" (renamed from "amsstyle").
5188 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5190 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5193 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5195 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5196 FuncStaus::FuncStatus & FuncStaus::some_method().
5198 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5200 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5201 of the func_satus stuff. Edited and massaged in various ways by
5204 * lyxfunc.C (getStatus): use FuncStatus
5206 2002-01-08 Juergen Vigna <jug@sad.it>
5208 * text.C (nextBreakPoint): use function Inset::isChar().
5210 * paragraph.C (TeXOnePar): use function
5211 Inset::forceDefaultParagraphs.
5213 * buffer.C (latexParagraphs): use function
5214 Inset::forceDefaultParagraphs.
5216 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5218 * lyx_gui.C (init): set the style of the menu popups to
5219 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5221 2002-01-07 Juergen Vigna <jug@sad.it>
5223 * text.C (setHeightOfRow): small fix
5224 (prepareToPrint): don't look at alignment if we don't have the place
5227 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5229 * box.C: New file. Move the Box methods and functions out of box.h,
5230 following Lars' suggestion.
5232 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5234 * box.h: #include "support/LOstream.h", needed for inlined function.
5237 * lyxtextclasslist.C: added some using std declarations.
5239 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5241 * box.h: make signed dimensions to allow insets wider than
5242 the screen (bug #162)
5244 * BufferView_pimpl.C: add some insetHit debug
5246 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5248 * vc-backend.C: add FIXME
5250 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5252 * lyxfunc.C (getStatus): enable code for showing math font status
5255 2002-01-07 Juergen Vigna <jug@sad.it>
5257 * text.C (nextBreakPoint): removed debug output not needed anymore.
5259 2002-01-06 Juergen Vigna <jug@sad.it>
5261 * text.C (nextBreakPoint): fixed up this function we had this bug
5262 since ever but now hopefully we break row better.
5263 (insertChar): we have to check if an inset is the next char as it
5264 could now happen that a large inset is causing a break.
5266 2002-01-05 Juergen Vigna <jug@sad.it>
5268 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5269 if it doesn't like to be drawed.
5271 2002-01-04 Juergen Vigna <jug@sad.it>
5273 * BufferView2.C (lockInset): forgot to set a cursor.
5275 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5277 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5282 * form_maths_panel.C:
5283 * form_maths_panel.h:
5284 * form_maths_panel.fd: implemented sub- and super- buttons in math
5287 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5288 (or ^ space) to be used as in TeX (req'd by André).
5290 * lyxfunc.C: Allow ^ and _ again to be used both as
5291 super/subscript (mathed) and as themselves (in text).
5293 2002-01-03 Allan Rae <rae@lyx.org>
5295 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5296 "LyX" or the filename of the current buffer if it has one. This is a
5297 modified form of John Levon's patch.
5299 * XFormsView.C (setWindowTitle): also set icon title.
5301 * LyXView.h (setWindowTitle): signature changed.
5302 * XFormsView.h (setWindowTitle): ditto.
5304 2002-01-02 Juergen Vigna <jug@sad.it>
5306 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5308 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5310 * screen.C (topCursorVisible): introduce a temp var for
5311 text->cursor.row(), handle the case where this row is null. (kindo
5314 * text2.C (setCursor): add a couple of asserts.
5316 * paragraph.h (inset_iterator): add -> operator
5318 * paragraph.[Ch] (autoDeleteInsets): remove member function
5320 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5321 cursor pos correctly and handle inset deletion by itself.
5322 (insertErrors): move iterator declaration out of for expression
5324 * lyxtextclass.C: add <algorithm>
5326 * Makefile.am: added the new files to sources, removed layout.C
5328 * layout.C: removed file
5330 * layout.h: remove LYX_DUMMY_LAYOUT
5332 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5336 * lyxtextclass.[Ch]:
5337 * lyxtextclasslist.[Ch]: new files
5339 * include order changes to a lot of files, also changes because of
5342 2001-12-27 Juergen Vigna <jug@sad.it>
5344 * buffer.C (asciiParagraph): more fixes.
5346 * tabular.C (ascii): make ascii export support export of only the
5347 data separated by a column-delimiter.
5348 (ascii): better support for ascii export.
5350 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5352 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5354 * tabular_funcs.C: use a "using std::getline" instead of the
5355 previous fix from Angus (necessary for cxx + lyxstring)
5357 2001-12-24 Juergen Vigna <jug@sad.it>
5359 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5361 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5362 problems. First check a minipage also if we have some ert-contents
5363 (not only on par->size(), second set the right depth of the paragraph
5364 on the relink to the root-paragraph-list!
5366 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5367 which then did not anymore update the main paragraphs on undo/redo!
5369 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5371 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5372 code. Support all font-changing funcs (even those which are not in
5373 menu currently). Support for reporting font settings in
5374 mathed (disabled until Andre provides a function on mathed's side).
5376 * func_status.h (toggle): small helper function to set toggle
5379 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5381 * tabular_funcs.C: getline -> std::getline
5383 2001-12-21 Juergen Vigna <jug@sad.it>
5385 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5386 accessed and could be 0 (I couldn't generate this but it seems
5389 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5391 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5392 * tabular_funcs.h: here and include iosfwd
5394 2001-12-20 Juergen Vigna <jug@sad.it>
5396 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5397 inside inset but undo_par was.
5399 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5401 * Thesaurus.C: always include <config.h> in sources.
5405 * box.h: do not include <config.h> in header files
5407 * text.C (paintLastRow): remove unused variable
5409 * text.C (transformChar):
5411 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5414 * font.C (width): rewrite to use uppercase() instead of
5417 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5419 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5421 * lyxfind.C: clean up of find failure position change
5423 2001-12-20 Juergen Vigna <jug@sad.it>
5425 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5427 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5428 (TeXRow): added to LaTeX a single tabular row.
5429 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5430 (Latex): simplified and finally good LT-h/f support.
5431 (various_functions): just small adaptions for LT-h/f support.
5433 * tabular_funcs.[hC]: added and moved here all not classfunctions
5436 2001-12-19 Juergen Vigna <jug@sad.it>
5438 * tabular.[Ch]: better support for longtabular options (not finished
5441 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5443 * text.C (paintLastRow): use the label font instead of the font of
5444 the last character to compute the size of *_BOX. This makes more
5445 sense and avoids a crash with empty paragraphs.
5446 Use Painter::rectangle to draw EMPTY_BOX.
5448 2001-12-19 Juergen Vigna <jug@sad.it>
5450 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5451 the paragraphs if the replaced paragraph is not the first one!
5452 Tried to delete not used paragraphs but does not work yet so for
5453 now it's inside #ifdef's and by default off!
5455 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5457 * MenuBackend.C: include "lyx_main.h" instead of declaring
5458 lastfiles (actually was declared as LastFiles* instead of a
5461 2001-12-17 Juergen Vigna <jug@sad.it>
5463 * tabular.C (AppendColumn): applied John's fix
5465 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5469 * BufferView_pimpl.h:
5470 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5473 * box.h: new start of class for above
5475 * lyxfunc.C: ignore space-only minibuffer dispatches.
5476 Show the command name when it doesn't exist
5478 * minibuffer.C: don't add empty lines to the history
5480 * minibuffer.C: add a space on dropdown completion
5482 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5484 * text.C: fix line above/below drawing in insets
5486 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5488 * lyxlength.C (LyXLength): Initialize private variables.
5490 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5492 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5493 when inserting error insets.
5495 2001-12-13 Juergen Vigna <jug@sad.it>
5497 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5498 actually sometimes the before-paragraph.
5499 (setUndo): don't clear the redostack if we're not actually undoing!
5501 2001-12-06 Juergen Vigna <jug@sad.it>
5503 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5504 and fixed redoing of main paragraph, so we can use it now ;)
5506 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5508 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5510 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5513 2001-12-13 André Pönitz <poenitz@gmx.net>
5516 * undo_func.C: minor cleanup
5518 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5520 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5521 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5522 font in urw-fonts package which is marked as -urw-fontspecific and
5523 does not work (incidentally, changing the encoding in the
5524 fonts.dir of this package to -adobe-fontspecific fixes the
5527 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5528 is a crash when undoing first paragraph (Juergen, please take a
5529 look). THis does not mean the undo fix is wrong, just that it
5532 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5533 the (Paragraph*) version when needed instead of duplicating the
5536 * text.C (workWidth): use Inset::parOwner to find out where the
5537 inset has been inserted. This is a huge performance gain for large
5538 documents with lots of insets. If Inset::parOwner is not set, fall
5539 back on the brute force method
5541 * paragraph_pimpl.C (insertInset):
5542 * paragraph.C (Paragraph):
5543 (cutIntoMinibuffer): set parOwner of insets when
5544 inserting/removing them
5546 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5548 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5554 * mathed/formulabase.C:
5555 * mathed/math_cursor.[Ch]:
5556 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5559 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5561 * lyxlength.[Ch] (operator!=): new function
5563 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5565 * text.C (workWidth): use Inset::parOwner to find out where the
5566 inset has been inserted. This is a huge performance gain for large
5567 documents with lots of insets. If Inset::parOwner is not set, fall
5568 back on the brute force method
5570 * paragraph_pimpl.C (insertInset):
5571 * paragraph.C (Paragraph):
5572 (cutIntoMinibuffer): set parOwner of insets when
5573 inserting/removing them
5575 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5577 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5579 * tabular-old.C (getTokenValue):
5580 * tabular.C (getTokenValue):
5581 (write_attribute): new versions for LyXLength
5582 (everywhere): adjust the use of widths
5584 * tabular.h: change the type of widths from string to LyXLength
5586 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5588 * paragraph.C: fixed missing line number count when exporting
5589 Environments to LaTeX file
5591 * buffer.C: added informational message for checking line numbers.
5593 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5595 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5596 paragraph, do the 'double space' part, but not the 'empty
5599 * text.C (workWidth): small optimization
5600 (getLengthMarkerHeight): use minimal size for negative lengths.
5602 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
5604 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5606 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5608 2001-12-11 André Pönitz <poenitz@gmx.net>
5611 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5613 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5615 * text2.C: keep selection on a setFont()
5617 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5619 * lyx_cb.C: another bv->text misuse, from insert label
5621 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5624 * kbsequence.C: re-instate nmodifier mask
5626 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
5628 * lyx_main.h: make lyxGUI private.
5630 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5632 * lyxfind.C: place the cursor correctly on failed search
5634 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5636 * text.C (getLengthMarkerHeight): for small heights, the arrows
5637 are not always on top/bottom of the text
5638 (drawLengthMarker): smaller arrows; take the left margin in
5639 account; draw also vfills.
5641 (paintLastRow): remove special code for vfill and standard spaces,
5642 since everything is handled in drawLengthMarker now.
5644 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5646 * buffer.C (insertErtContents): try to handle font and language
5647 interaction a bit better.g
5649 * ColorHandler.C (updateColor): change the hash to cover the whole
5650 LColor enum, ws cleanup
5651 (getGCLinepars): ditto
5652 (getGCLinepars): only lookup in the linecache once.
5654 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
5656 * iterators.C (operator++): Make the iterator more robust
5658 * BufferView2.C (removeAutoInsets): Use paragraph iterators
5660 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5662 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5665 * text.C: better added space drawing
5667 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5670 * BufferView2.C: fix layout combo update on inset unlock
5672 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5674 * Makefile.am: don't compile unused files
5676 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5680 * LyXAction.C: remove old LFUN_LAYOUTNO
5682 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5684 * paragraph_pimpl.h:
5685 * paragraph_pimpl.C: isTextAt() doesn't need font param
5687 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5690 * lyxlex.C: little cleanup
5692 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5694 * BufferView_pimpl.C: fix insertAscii for insets
5696 2001-12-05 Juergen Vigna <jug@sad.it>
5698 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
5699 set the right font on the "multi" paragraph paste!
5701 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5707 * lyxlength.C: remove out-commented code.
5723 * vc-backend.C: change "while(" to "while ("
5725 * lyxlength.[Ch]: add zero function to check if length is zero or
5727 * lyxgluelength.C: use it
5729 2001-12-05 Allan Rae <rae@lyx.org>
5731 * lyxlength.C: Attempted a fix for the abs(int) header selection.
5732 Works for 2.95.3, from what I understand of Garst's reports this should
5733 work for other g++ versions. We're screwed if the abs(int) definition
5734 changed between bugfix releases of gcc.
5736 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5738 * text.C: fix chapter label offset !
5740 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5743 * text.C: fix hfill at end of line, clean up
5745 2001-12-04 Juergen Vigna <jug@sad.it>
5747 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5748 that we force an update of the inset and it's owners if neccessary.
5750 2001-12-03 Juergen Vigna <jug@sad.it>
5752 * text.C (rowLast): simplified code
5754 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5756 * lyxfunc.C: fix show options on timeout
5758 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5760 * screen.C (topCursorVisible): scroll half a page when the cursor
5761 reached top of bottom of screen
5763 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
5765 * minibuffer.C: deactivate on loss of focus
5767 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5769 * vspace.[Ch] (operator!=): add operator.
5771 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5773 * BufferView_pimpl.C: refuse to open an inset when
5774 there's a selection.
5776 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
5778 * BufferView_pimpl.C: allow to click on RHS of full row insets
5780 2001-11-30 Juergen Vigna <jug@sad.it>
5782 * tabular.C (LyXTabular): add a same_id to set the same id's in the
5783 insets for undo reasons.
5785 2001-11-28 André Pönitz <poenitz@gmx.net>
5787 * vspace.[Ch]: cosmetical changes
5789 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5799 * kbsequence.C: part re-write of old kb code
5802 * WorkArea.C: remove Lgb_bug_find_hack
5804 2001-11-30 José Matos <jamatos@fep.up.pt>
5806 * buffer.C (makeDocBookFile): add a comment to point a hack.
5807 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5808 Fixed a double write of labels.
5810 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5813 * LaTeX.h Fixed bug in LaTeX class where it would not
5814 re-run latex if no depfiles were changed, but the .dvi was removed.
5816 2001-11-28 André Pönitz <poenitz@gmx.net>
5818 * all the files from the change on 2001/11/26:
5819 use lyx::layout_type instead of LyXTextClass::size_type
5820 use lyx::textclass_type instead of LyXTextClassList::size_type
5822 2001-11-29 Juergen Vigna <jug@sad.it>
5824 * text.C: added support for paragraph::isFreeSpacing()
5826 * buffer.C: same as above
5828 * paragraph.h: inserted isFreeSpacing() function to enable
5829 FreeSpacing inside InsetERT.
5831 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5832 of the paragraph's in the cut/copy buffer to 0!
5834 * text2.C (removeRow): remove the assert as it can!
5836 * lyxtext.h: added helper function firstRow returning firstrow and
5837 made firstrow private again.
5839 * BufferView2.C (lockInset): don't relock if we're already locked!
5841 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5843 (removeRow): added Assert::(firstrow)
5845 * debug.C: forgot to add INSETTEXT here.
5847 2001-11-28 Juergen Vigna <jug@sad.it>
5849 * sp_spell.C (initialize): changed error text to more general
5850 spellchecker command use (not only ispell!)
5852 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
5854 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
5856 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5858 * vspace.C: initialise lyxgluelength on failure
5860 2001-11-28 Allan Rae <rae@lyx.org>
5862 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
5863 declaration & definition that looks like a function declaration.
5865 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5867 * BufferView2.C (copy):
5868 (copyEnvironment): do not clear the selection when doing a copy.
5870 * text.C (paintFirstRow): compilation fix
5872 2001-11-27 Ben Stanley <bds02@uow.edu.au>
5874 * tabular.C (Latex): correct line count when writing latex.
5876 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
5878 * paragraph_pimpl.h:
5879 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
5882 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5886 * LColor.C: change vfillline->added_space
5888 * text.C: add markers and text for added space
5890 * vspace.C: fix comment
5892 2001-11-28 André Pönitz <poenitz@gmx.net>
5894 * paragraph.C: whitespace changes
5895 * all the other files from the change on 2001/11/26:
5896 change *::pos_type into lyx::pos_type
5898 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
5900 * buffer.C (parseSingleLyXformat2Token): Set the language to the
5901 language of the document when inserting error insets.
5903 2001-11-26 André Pönitz <poenitz@gmx.net>
5905 * BufferView_pimpl.[Ch]:
5913 * paragraph_pimpl.[Ch]:
5916 * text2.C: reduce header dependencies, introduce type for positions
5918 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5920 * <various>: change to use Alert.h
5922 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
5924 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
5925 when encountering an unknown token.
5926 (readLyXformat2): Show an error message if there were unknown tokens.
5928 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5931 * BufferView_pimpl.C:
5935 * text2.C: use par->isInset()
5937 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5939 * paragraph_pimpl.h:
5940 * paragraph_pimpl.C: cleanup
5942 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5944 * text2.C (removeRow):
5945 * text.C (setHeightOfRow): remove useless (and costly) call to
5948 2001-11-20 Allan Rae <rae@lyx.org>
5950 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
5951 Now need Inset*::checkInsertChar() to return true for appropriate
5952 cases so that the characters in the minibuffer will actually be
5955 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5957 * text.C: change the order of the includes.
5958 (workWidth): initialize it at once.
5959 (workWidth): make maxw unsigned
5960 (setHeightOfRow): remove unused variable (inset)
5961 (selectSelectedWord): remove unused variable (inset)
5962 (paintRowText): fix drawing of hfill characters, and clean up a bit.
5964 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5966 * lyxserver.C (emergencyCleanup): do not try to close pipes if
5967 server is not running.
5969 (closeConnection): add debug info when server is disabled.
5971 * ColorHandler.C (getGCForeground): send debug message to GUI
5974 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
5976 * kbmap.C (bind): modify because return conventions of
5977 kb_sequence::parse have changed.
5979 * kbsequence.C (parse): only ignore spaces and not any stupid
5980 control character. This avoids tests like s[i] <= ' ', which are
5981 guaranteed to fail with 8bit characters and signed chars.
5982 Change return code to string::npos when there have been no error
5983 (0 was a bad idea when error is at first character)
5985 2001-11-14 José Matos <jamatos@fep.up.pt>
5988 * buffer.C (simpleDocBookOnePar): removed unused argument.
5990 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5992 * text.C (selectNextWordToSpellcheck): do not test explicitely for
5993 insets which are part of a word. Paragraph::isLetter takes care of
5994 that now. Use Paragraph::isInset to identify insets.
5995 (selectSelectedWord): do not test for hyphenation break.
5997 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
5998 that protected spaces are considered as spaces.
6000 * paragraph.C (isLetter): cleanup the code for ispell extras; use
6003 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
6006 * lyxserver.C: fix it. and small cleanup.
6008 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6010 * BufferView_pimpl.C: use inline helpers
6013 * LaTeXFeatures.C: fix typos
6016 * Spacing.C: move spacing_string into class
6018 * ToolbarDefaults.C: move stuff into namespace anon
6020 * layout.h: update enum
6022 * lyxfunc.C: use better debug
6024 * minibuffer.h: fix typo
6028 * WorkArea.C: add and use Debug::WORKAREA
6032 * text2.C: code re-organisation, inline helpers
6034 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
6036 * Layout.C: replaced a few cases of std::vector.size() == 0 with
6037 std::vector.empty().
6039 2001-11-09 Allan Rae <rae@lyx.org>
6041 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6042 '\n's after tables. Tabular and ERT inset work now makes this no
6045 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6048 * minibuffer.C: fix crash, improve drop-down completion
6050 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
6053 * lyxserver.C: invalidate fd's when doing endPipe()
6055 2001-11-08 José Matos <jamatos@fep.up.pt>
6057 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6058 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6061 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6063 2001-11-07 José Matos <jamatos@fep.up.pt>
6066 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6069 * buffer.C (sgmlOpenTag):
6070 * buffer.C (sgmlCloseTag): removed debug info.
6072 * buffer.h (sgmlOpenTag):
6073 * buffer.h (sgmlCloseTag): made public.
6075 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6077 * buffer.C (saveParamsAsDefaults):
6078 * lyx_cb.C (MenuLayoutSave): remove
6080 * LyXAction.C (init):
6082 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
6084 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6086 * buffer.C (setPaperStuff): removed from here...
6088 * bufferparams.C (setPaperStuff): ... and moved there.
6090 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
6094 * XFormsView.C: add support for drop-down completion
6096 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
6098 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6101 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6103 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6106 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6108 * lyx_main.C: change ref to known bugs
6110 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6112 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6113 to work around older babel problems.
6115 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6117 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6119 2001-10-24 Juergen Vigna <jug@sad.it>
6121 * tabular-old.C (ReadOld): below variable changes reflected.
6123 * tabular.[Ch]: added ltType struct for longtable header/footer
6124 defines and changed all instances where they are used. Added
6125 future support for double top/bottom rows.
6127 2001-10-24 José Matos <jamatos@fep.up.pt>
6129 * buffer.h (docbookHandleCaption):
6130 * buffer.C (docbookHandleCaption): removed unused function.
6131 (makeDocBookFile): moved docbook supported version to v4.1.
6133 2001-10-24 José Matos <jamatos@fep.up.pt>
6136 * tabular.C (docbookRow): new function to export docbook code of a row.
6137 (DocBook): now honors the longtable flags.
6139 2001-10-23 José Matos <jamatos@fep.up.pt>
6142 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6143 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6145 * buffer.C (makeLinuxDocFile):
6146 (makeDocBookFile): reworked the preamble, more clean, and with
6147 support for lyx defined entities. Changed the document declaration
6148 to be more XML friendly.
6150 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6151 if we need to output XML that should be done with a filter.
6153 2001-10-22 Juergen Vigna <jug@sad.it>
6155 * sp_pspell.h (class PSpell): add alive function needed in the
6156 controller to see if the spellchecker could be started.
6158 2001-10-22 Juergen Vigna <jug@sad.it>
6160 * buffer.C (insertStringAsLines): modify the font for inserting
6161 chars in certain conditions by calling checkInsertChar(font).
6163 2001-10-19 Juergen Vigna <jug@sad.it>
6165 * text.C (workWidth): use getRow instead of wrong algorithm.
6166 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6168 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6173 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6175 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6177 * text.C (workWidth): do not search for the exact row when
6178 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6179 optimization for big documents.
6181 2001-10-18 Juergen Vigna <jug@sad.it>
6183 * text.C (workWidth): new function with added Inset * parameter.
6185 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6187 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6189 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6190 change return type of getColumnNearX.
6193 * text.C (changeRegionCase): use uppercase/lowercase instead of
6196 (rightMargin): simplify code by factoring out the uses of
6201 (appendParagraph): use Paragraph::size_type
6203 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6205 * vspace.C (asLatexString): add a missing break
6207 2001-10-15 Herbert Voss <voss@perce.de>
6209 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6211 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6213 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6216 2001-10-10 André Pönitz <poenitz@gmx.net>
6218 * lyxfunc.C: removed greek_kb_flag.
6220 2001-10-10 Herbert Voss <voss@perce.de>
6222 * lyx_main.C: delete global string help_lyxdir.
6224 2001-10-09 Herbert Voss <voss@perce.de>
6226 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6228 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6230 * lyx_main.C: added global string help_lyxdir.
6232 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6234 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6236 * lyxrc.C (set_font_norm_type): support iso8859-4
6238 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6240 * LaTeX.C (deplog): add another regex for MikTeX
6242 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6244 * lyxrc.C (set_font_norm_type): support iso8859-3
6246 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6248 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6250 * LaTeXFeatures.C: remove special case of french and index
6252 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6253 before \begin{document}). This solves several incompatibilities.
6255 2001-10-03 Garst Reese <reese@isn.net>
6257 * lyx_cb.C: change CheckTex error msg.
6259 2001-10-03 José Matos <jamatos@fep.up.pt>
6261 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6263 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6265 * .cvsignore: update
6267 * lyx_main.C (commandLineVersionInfo): use new style version info.
6269 * buffer.C (writeFile):
6272 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6274 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6276 * version.h: update to use stuff in version.C
6278 * version.C.in: new file. Contains version information determined
6279 at compile time. This is a merging of version.h and
6282 2001-10-03 Juergen Vigna <jug@sad.it>
6284 * BufferView_pimpl.C (update): don't change "dirty" status in
6287 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6289 * WorkArea.C (c-tor): re-position version string slightly.
6291 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6293 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6294 revert to previous code.
6296 WorkArea.[Ch]: (show, destroySplash): methods removed.
6298 WorkArea.C: rework code so that it's an amalgam of the codes before and
6299 after the splash screen was moved to WorkArea.
6301 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6304 * vspace.C (inPixels):
6307 * buffer.C (insertStringAsLines):
6308 (asciiParagraph): fix types to be large enough
6310 * lyxlex_pimpl.h: change member status from short to int
6312 * layout.h: fix type of endlabeltype
6315 * kbsequence.C (parse): change return type to string::size_type
6317 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6320 * Bullet.C (bulletSize):
6321 (bulletEntry): do not use short ints as parameters
6323 * BufferView2.C (insertLyXFile): change a char to an int.
6325 * WorkArea.C (WorkArea): remove unneeded floats in computation
6327 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6329 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6331 * paragraph.C (asString): Do not ignore newline/hfill chars when
6332 copying to the clipboard.
6334 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6336 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6337 after a multi-line inset.
6339 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6341 * paragraph.C (validate): Set NeedLyXFootnoteCode
6343 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6345 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6346 and decrease-error to decrease.
6348 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6350 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6351 it more readable (should be equivalent)
6353 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6355 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6357 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6359 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6360 of a cursor (row, etc.) after a character has been deleted
6361 (deleteEmptyParagraphMechanism): call the method above on _all_
6362 cursors held by the LyXText when a double space has been
6365 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6367 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6369 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6371 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6372 background. Use greyOut() and the new show() methods to toggle between
6373 the foreground and background. Add code to remove the splash after
6374 its initial showing.
6376 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6377 (create_forms): no longer call Dialogs::showSplash.
6379 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6381 * .cvsignore: add version_info.h
6383 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6385 * version_info.h.in: new file
6387 * Makefile.am: add version_info.h.in
6389 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6390 version_info.h instead of VERSION_INFO
6392 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6394 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6395 The ERT inset now returns string().
6397 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6399 * lyxtext.h, text.C (selectNextWord): renamed as
6400 selectNextWordToSpellcheck.
6402 * text.C (selectNextWordToSpellcheck): Modified to not select
6403 words inside an ERT inset.
6405 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6407 * lyx_cb.C (MenuLayoutSave): change a bit the question
6409 * sp_base.h: include <sys/types.h>
6411 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6413 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6415 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6417 * several files: fix typos in user-visible strings
6419 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6421 * text2.C (pasteSelection): do not set the selection, since it
6422 will be cleared later. Actually, the intent was to fix the way the
6423 selection was set, but I figured rmoving the code was just as good.
6425 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6427 * FontLoader.C (available): Check if font is available without
6430 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6432 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6434 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6436 * lyxrc.[Ch]: added display_graphics variable and associated code.
6438 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6440 * bufferparams.C (hasClassDefaults): new method. Returns true if
6441 the buffer parameters correspond to known class defaults
6443 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6445 * XFormsView.C (show): set minimum size to the main window.
6447 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6449 * text2.C (copySelection):
6451 * lyxfind.C (LyXReplace):
6452 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6453 LyXText::selectionAsString.
6455 * paragraph.C (asString): add "label" argument to the second form
6457 * text2.C (selectionAsString): add "label" argument and pass it to
6458 Paragraph::asString.
6460 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6462 * lyx_main.C (commandLineHelp): remove version information
6464 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6466 * lyx_main.C: add -version commandline option
6468 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6470 * paragraph.h: make the optional constructor arg required instead.
6471 some modifications to other files because of this.
6473 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6475 * lyxserver.C (C_LyXComm_callback): make it static
6477 * lyx_main.C (error_handler): make it static
6479 * lyx_gui.C (LyX_XErrHandler): make it static
6481 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6483 * WorkArea.C: make the extern "C" methods static.
6485 * Makefile.am (lyx_LDADD): simplify
6487 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6489 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6490 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6492 * LyXAction.C (init):
6493 * lyxfunc.C (dispatch): associated code removal.
6495 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6497 * lyxfont.h (isSymbolFont): shut off warning
6499 * text.C (setHeightOfRow):
6500 (getVisibleRow): fix crash with empty paragraphs which have a
6503 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6505 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6508 2001-09-04 José Matos <jamatos@fep.up.pt>
6511 * tabular.C (docbook): rename docBook method to docbook.
6513 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6515 * Makefile.am: add dependencies to main.o.
6517 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6519 * FontLoader.C (available): Return false if !lyxrc.use_gui
6521 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6523 * FontInfo.C (query):
6524 * converter.C (view):
6525 * importer.C (Import):
6526 * exporter.C (Export): Can not -> cannot.
6528 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6530 * BufferView_pimpl.C: allow to create index inset even if
6533 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6535 * buffer.C (getLists): replace boost::tie code with an explicit pair
6536 as boost::tie can break some compilers.
6538 * iterators.h: Added a std:: declaration to the return type of
6541 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6543 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6546 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6548 * iterators.[Ch]: New files. Provide paragraph iterators.
6550 * buffer.C (changeLanguage): Use paragraph iterators.
6551 (isMultiLingual): ditto
6553 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6555 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6557 * FontLoader.C: Support for cmr font.
6559 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6561 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6562 (available): New method.
6564 * FontInfo.C (getFontname): Use scalable fonts even when
6565 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6568 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6570 * converter.C (Formats::view): reverted! Incorrect fix.
6572 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6574 * converter.C (Formats::view): only output the -paper option
6575 if the dvi viewer is xdvi, thereby fixing bug #233429.
6577 2001-08-23 Herbert Voss <voss@perce>
6579 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6581 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6583 * Spacing.h (Spacing): Set space to Default on in the default
6586 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6588 * vc-backend.h (RCS::versionString): add RCS to version
6589 (CVS::versionString): add CVS to version
6591 * vc-backend.C (scanMaster): do not add CVS to version.
6592 (scanMaster): do not add RCS to version
6594 * lyxvc.C (versionString): new method
6596 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6598 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6600 * Spacing.C (set): initialize fval
6602 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
6604 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6607 2001-08-16 Juergen Vigna <jug@sad.it>
6609 * lyxfunc.C (dispatch): implemented the new FINISHED states.
6611 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6613 * BufferView_pimpl.C:
6616 * text2.C: setParagraph takes linespacing now
6618 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
6620 * LyxAction.C: add internal LFUN_CITATION_INSERT
6622 * LyXView.C: actually apply fix
6624 * bufferlist.C: fix open non-existent file
6626 * lyxfind.C: fix indentation
6628 * lyxfunc.C: remove unneeded assert, fix typo
6630 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6632 * MenuBackend.C: use "Floatname List"
6634 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6636 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6637 when converting LaTeX layout to insetERT.
6638 Generate a non-collapsed float when reading old float
6640 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6642 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6645 2001-08-13 Juergen Vigna <jug@sad.it>
6647 * text.C (fill): return 0 instead of 20 as this seems to be the more
6650 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6652 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6655 2001-08-13 Juergen Vigna <jug@sad.it>
6657 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6659 (SearchBackward): comment out the unlocking of the inset_owner this
6660 should not be needed!
6662 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6664 * Many files: Remove inherit_language, and add latex_language
6666 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6669 2001-08-10 Juergen Vigna <jug@sad.it>
6671 * text.C (prepareToPrint): fixed hfill-width in draw!
6673 * BufferView2.C (selectLastWord): save the selection cursor as this
6674 now is cleared in the function LyXText::clearSelection!
6676 2001-08-08 Juergen Vigna <jug@sad.it>
6678 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6679 BACKSPACE type functions.
6681 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
6682 is only cutted from the document but not put in the cut-buffer, where
6683 still the old stuff should be.
6685 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
6687 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
6689 * tabular.C (SetWidthOfCell): fixed special case where the width
6691 (LeftLine): handle '|' in align_special.
6693 (LeftAlreadyDrawed): ditto
6694 (SetWidthOfCell): ditto
6696 2001-08-07 Juergen Vigna <jug@sad.it>
6698 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
6700 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6702 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
6703 * lyxlex.[hC]: ditto
6705 2001-08-06 Juergen Vigna <jug@sad.it>
6707 * text.C (getVisibleRow): fix up row clearing a bit.
6709 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6711 * minibuffer.C: make sure the X server sees the changes in the input.
6713 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6715 * paragraph.C (getFont): split into...
6716 (getLabelFont): this
6717 (getLayoutFont): and this
6718 * paragraph_pimpl.C (realizeFont): calling this
6720 * text2.C (getFont): split into...
6721 (getLayoutFont): this
6722 (getLabelFont): and this
6723 (realizeFont): all three calling this
6725 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6728 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6730 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6732 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
6734 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6735 layouts from the Quote inset insertion.
6737 2001-08-03 Juergen Vigna <jug@sad.it>
6739 * BufferView_pimpl.C (update): do the fitCursor only at the end!
6741 * screen.C (drawFromTo): don't call fitcursor here and do the loop
6742 only if status not is already CHANGED_IN_DRAW (second level).
6744 * text.C (draw): don't set the need_break_row when inside an
6747 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6749 * buffer.C (parseSingleLyXformat2Token): handle more latex
6752 * bufferview_funcs.[hC]: change function names to
6753 begin with small char, adjust other files.
6755 2001-08-02 André Pönitz <poenitz@gmx.net>
6758 BufferView_pimpl.C: remove broken special code for math-greek
6760 2001-08-02 Juergen Vigna <jug@sad.it>
6762 * BufferView_pimpl.C (update): redone this function so that we
6763 update the text again if there was a CHANGE_IN_DRAW.
6765 * screen.C (cursorToggle): removed LyXText parameter and recoded.
6766 (drawFromTo): added a new internal bool which is used by draw() and
6768 (general): some cursor drawing problems fixed.
6770 2001-08-01 Juergen Vigna <jug@sad.it>
6772 * lyxfind.C (LyXFind): fixed
6773 (SearchForward): ditto
6774 (SearchBackward): ditto
6776 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6777 spurius drawing of the cursor in the main area.
6779 * text2.C (status): small fix which could lead to a segfault!
6780 (clearSelection): remove unneeded BufferView param.
6782 2001-08-01 André Pönitz <poenitz@gmx.net>
6784 * lyxfunc.C: small change due to changed mathed interface
6786 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6788 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6790 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
6792 * lyxfunc.c: fail gracefully if file doesn't exist
6797 * BufferView_pimpl.C: IsDirWriteable() proto changed
6799 * LyXView.C: fix updateWindowTitle() to store the last title
6801 2001-07-31 Juergen Vigna <jug@sad.it>
6803 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6804 the font (wrong since using of Paragraph::highestFontInRange).
6806 * paragraph.C (highestFontInRange): added a default_size parameter.
6808 * text.C (getVisibleRow): minor clear row changes (still not perfect).
6809 (setHeightOfRow): reformat
6811 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6813 * converter.[hC] + affected files: move to (inital-char)lowercase
6816 * ParagraphParameters.C (ParagraphParameters): remove commented code
6818 * PainterBase.[Ch]: remove commented code
6820 * LaTeXFeatures.h: add "bool floats" for float.sty
6822 * LaTeXFeatures.C (LaTeXFeatures): init floats
6823 (require): handle float
6824 (getPackages): do it with floats
6826 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6828 * BufferView_pimpl.C (Dispatch): improve handling of
6829 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6831 * commandtags.h: #include lyxfont.h here temporarily to avoid
6834 * bufferlist.h: include LString.h here.
6836 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6838 * text2.C (getStringToIndex): new method.
6840 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
6842 * *: Reduced header file dependencies all over.
6844 2001-07-30 Baruch Even <baruch@lyx.org>
6846 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
6848 2001-07-29 Baruch Even <baruch@lyx.org>
6850 * buffer.C (readInset): Changed GRAPHICS to Graphics.
6852 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6854 * ParameterStruct.h (endif): add a default constructor to make
6855 sure that all variables is initialized.
6857 * ParagraphParameters.C (ParagraphParameters): adjust
6859 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6861 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
6862 index; also, check that there is something to index, and that it
6863 does not span over several paragraphs.
6864 (doubleClick): use WHOLE_WORD_STRICT for double click.
6866 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
6868 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
6871 2001-07-26 Baruch Even <baruch@lyx.org>
6873 * buffer.C (readInset): Changed to call up InsetGraphics when reading
6874 an InsetFig figure, backwards compatible reading of old figure code.
6876 2001-07-27 Juergen Vigna <jug@sad.it>
6878 * text2.C: font.realize function adaption.
6880 * text.C (draw): add a warnings lyxerr text if needed.
6882 * layout.C: font.realize function adaption.
6884 * language.C: add inherit_language and implement it's handlings
6886 * bufferview_funcs.C (StyleReset): remove language parameter from
6887 font creation (should be language_inherit now).
6889 * bufferparams.C (writeFile): handle ignore_language.
6891 * paragraph.C (getFontSettings): the language has to be resolved
6892 otherwise we have problems in LyXFont!
6894 * lyxfont.C (lyxWriteChanges): added document_language parameter
6895 (update): removed unneeded language parameter
6897 * paragraph.C (validate): fixed wrong output of color-package when
6898 using interface colors for certain fonts in certain environments,
6899 which should not seen as that on the final output.
6901 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
6903 * BufferView_pimpl.C:
6908 * LyXAction.C: add thesaurus support
6911 * lyxfind.C: add "once" parameter, for thesaurus, to not
6912 move to the next match
6914 2001-07-26 Juergen Vigna <jug@sad.it>
6916 * lyxfont.C (realize): honor ignore_language too!
6919 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
6921 * text.C (draw): one place more for ignore_language to not draw
6924 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
6926 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
6928 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6930 * buffer.C (parseSingleLyXformat2Token): a more general fix for
6931 the minipage conversion problem.
6933 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6935 * buffer.C (parseSingleLyXformat2Token): check minipage if we
6938 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6940 * BufferView.h: don't forward declare WorkArea
6942 * BufferView.C: don't include WorkArea.h
6944 2001-07-25 André Pönitz <poenitz@gmx.net>
6948 * lyxfunc.C: new LFUN 'math-space'
6950 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
6952 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6954 * text2.C (toggleInset): call open/close
6956 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6958 * lyxfunc.C (dispatch): add debug for the disabled case
6960 * font.C (buttonText): make similar to rectText
6962 * buffer.C (readInset): comment out parsing of insetlist and
6965 * PainterBase.C (rectText): small correction
6967 * BufferView_pimpl.C: comment out insettheorem and insetlist
6968 * LyXAction.C: ditto
6969 * commandtags.h: ditto
6971 2001-07-24 Juergen Vigna <jug@sad.it>
6973 * text.C (draw): honor the ignore_language.
6975 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
6977 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6979 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
6982 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6984 * lyxtext.h: remove unused (and unimplemented) methods
6986 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6988 * text.C (getVisibleRow): honor background color
6991 * Painter.h: remove default color argument for fillRectangle
6993 * text.C (backgroundColor): new method
6995 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6997 * text.C (getVisibleRow): adjust
6999 * font.[Ch] (rectText): new method, metrics
7000 (buttonText): new method, metrics
7002 * PainterBase.[hC]: make rectText and buttonText always draw and take
7005 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7007 * ToolbarDefaults.C (read):
7008 * MenuBackend.C (read): allow escaping in all strings
7010 * BufferView_pimpl.C (insertAndEditInset): new method.
7011 (Dispatch): use insertAndEditInset whenever appropriate.
7013 * BufferView_pimpl.C (insertNote): removed
7015 * BufferView_pimpl.C (smartQuote): new method, moved from
7016 BufferView; if an insetquote cannot be inserted, insert a '"'
7019 * BufferView2.C: remove insertCorrectQuote();
7021 * lyxfunc.C (getStatus): Add support for all remaingin
7024 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7026 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7027 command (necessary to pass " as parameter of self-insert.
7029 * text.C (selectWordWhenUnderCursor):
7030 (selectWord): add word_location parameter
7031 (selectWordWhenUnderCursor): same + remove special code for word
7033 (selectNextWord): use kind() to guess type of insetspecialchar,
7036 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7037 (insertErtContents): create ert insets as collapsed.
7038 (readInset): better compatibility code for Info inset.
7040 2001-07-20 Juergen Vigna <jug@sad.it>
7042 * lyxfunc.C (dispatch): use always LyXFind now!
7044 * text2.C (init): add a reinit flag so that the LyXText can be
7045 reinited instead of deleted and reallocated (used in InsetText).
7047 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7053 2001-07-18 Juergen Vigna <jug@sad.it>
7055 * text.C (selectNextWord): handle insets inside inset by calling
7056 always the bv->text functions so that we can go up the_locking_inset!
7058 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7059 in strange locations when inside an inset!
7061 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7062 handling to include insets.
7064 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7066 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7068 * LyXAction.C (init):
7070 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
7071 LIGATURE_BREAK, since the name is so stupid.
7073 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7075 * buffer.C (readInset): enable reading of new InsetNotes as well as old
7078 * FontLoader.C: remove FORMS_H_LOCATION cruft.
7080 * sp_form.[Ch]: remove.
7082 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
7084 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
7087 * src/buffer.C (readInset): ditto.
7089 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7091 * BufferView_pimpl.C (specialChar): new method. Obsoletes
7092 menuSeparator(), endOfSentenceDot(), ldots() and
7093 hyphenationPoint(), which are therefore removed.
7094 (Dispatch): handle LFUN_HYPHENATION_BREAK.
7096 * LyXAction.C (init):
7097 * commandtags.h: add LFUN_HYPHENATION_BREAK.
7099 * paragraph.C (getWord): removed.
7101 * BufferView_pimpl.C (Dispatch): use last word or selection for
7102 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7104 * lyx_main.C (queryUserLyXDir): do not ask before creating
7105 user_dir, except if it has been named explicitely.
7107 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7109 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7110 a document of zero size.
7112 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7114 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7115 approriately in the c-tor and in require().
7116 (getPackages): output the appropriate LaTeX for natbib support.
7118 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7119 variables "use_natbib" and "use_numerical_citations" when reading the
7121 (readInset): read the various natbib cite commands.
7122 (validate): white-space change.
7124 * bufferparams.[Ch]: new variables "bool use_natbib" and
7125 "bool use_numerical_citations".
7126 (writeFile): output them in the LyX file.
7128 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7130 * lyxfunc.C (getStatus): add support for all the inset insertion
7133 * text2.C (insertInset):
7134 * paragraph.C (insetAllowed):
7135 * BufferView_pimpl.C (insertInset): update to take in account the
7136 renaming of insertInsetAllowed
7138 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7140 * text2.C (getInset): new method. returns inset at cursor position.
7142 * BufferView_pimpl.C (Dispatch): changes because of this.
7144 * LyXAction.C (init): rename open-stuff to inset-toggle.
7146 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7148 * text2.C (toggleInset): renamed from openStuff; use
7151 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7153 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7155 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7157 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7159 * buffer.C (readLyXformat2): Add filename to the error dialog
7161 2001-07-18 Juergen Vigna <jug@sad.it>
7163 * tabular.C (GetCellNumber): put an assert here instead of the check!
7165 2001-07-17 Juergen Vigna <jug@sad.it>
7167 * BufferView_pimpl.C (toggleSelection): adapted too.
7169 * text.C (selectNextWord): adapted for use with insets.
7170 (selectSelectedWord): ditto
7172 2001-07-17 Juergen Vigna <jug@sad.it>
7174 * sp_spell.C (PSpell): fix initialitation order.
7176 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7178 * paragraph.C: spacing
7180 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7182 * sp_spell.C: repair language selection for pspell
7184 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7186 * lyxfunc.h: change more methods to begin with lower char.
7188 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7190 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7191 for unknown layouts.
7193 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7195 * buffer.C (readLyXformat2): Generate an error dialog if there are
7198 2001-07-16 Juergen Vigna <jug@sad.it>
7200 * sp_spell.C: always compile ISpell part.
7202 * lyxrc.C: added use_pspell entry and it's handling.
7204 2001-07-13 Juergen Vigna <jug@sad.it>
7206 * sp_spell.C: removed double includes.
7208 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7210 Consistent use of Lsstream.h:
7211 * Lsstream.h: added using std::stringstream for consistencies sake.
7213 * buffer.C: removed using std::stringstream
7215 * lyxfont.C (stateText):
7216 * paragraph.C (asString):
7217 * text.C (selectNextWord, selectSelectedWord):
7218 * text2.C (setCounter):
7219 * vspace.C (asString, asLatexString):
7220 std::ostringstream -> ostringstream.
7222 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7224 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7225 * commandtags.h: add LFUN_HELP_ABOUTLYX
7226 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7228 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7230 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7232 * lyx_gui_misc.C: remove spellchecker
7233 * lyxfunc.C: showSpellchecker
7235 * sp_ispell.h: added
7236 * sp_pspell.h: added
7238 * sp_form.[Ch]: removed
7239 * spellchecker.[Ch]: removed
7241 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7243 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7245 (simpleTeXSpecialChars): Simply print the input character without
7246 any special translation if pass_thru is set.
7248 * layout.h: Added bool pass_thru to layout class for being able to
7249 implement pass through of a paragraph for Literate Programming.
7251 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7252 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7253 * layout.C (Read): add "passthru" to list of layout tags and add
7254 code to set the pass_thru boolean when it is read.
7256 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7258 * trans_decl.h: remove allowed from KmodInfo
7260 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7264 * paragraph_pimpl.C (erase): use boost::prior
7266 * Painter.C (text): use data() instead of c_str() when length is
7268 * WorkArea.C (putClipboard): ditto
7269 * font.h (width): ditto
7271 * BufferView2.C: use it-> instead of (*it). for iterators
7273 * paragraph_pimpl.C: ditto
7274 * paragraph.C: ditto
7275 * minibuffer.C: ditto
7280 * converter.C: ditto
7282 * Variables.C: ditto
7283 * TextCache.C: ditto
7284 * MenuBackend.C: ditto
7285 * LyXAction.C: ditto
7287 * FloatList.C: ditto
7289 * ColorHandler.C (LyXColorHandler): ditto
7291 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7293 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7295 * text2.C (openStuff): reintroduce this method (which had been
7296 nuked in NEW_INSETS frenzy).
7298 * lyxfunc.C (Dispatch): when an action has not been handled, use
7299 its name in the error message, not its number.
7301 * paragraph.C (inInset): change method name to begin with lowercase.
7304 * text2.C: updates because of this.
7306 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7308 * ToolbarDefaults.C (add): add spaces in error message
7310 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7312 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7313 (readLyXformat2): rename return_par to first_par, use lyxlex's
7314 pushToken and remove the manual push handling.
7315 (parseSingleLyXformat2Token): add another ert comp. variable:
7316 in_tabular, rename return_par to first_par. handle newlines better
7318 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7320 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7322 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7324 * text2.C (getParFromID): removed
7326 * buffer.C (getParFromID): new method moved form lyxtext.
7327 * BufferView2.C (insertErrors): adjust
7328 (setCursorFromRow): adjust
7329 * BufferView_pimpl.C (restorePosition): adjust
7330 * lyxfunc.C (Dispatch): adjust
7331 * undo_funcs.C (textUndo): adjust
7333 (textHandleUndo): adjust
7334 (textHandleUndo): adjust
7336 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7338 * buffer.C: up' the LYX_FORMAT
7340 * lyxfont.h: turn NO_LATEX on as default
7342 * buffer.C (insertErtContents): new methods of tex style compability.
7343 (parseSingleLyXformat2Token): use it several places.
7344 * tabular.C (OldFormatRead): and here
7346 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7348 * text2.C: remove some commented code.
7351 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7352 * trans.C: changes because of the above.
7354 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7356 * text2.C (setCounter): Fix counters bug with bibliography layout.
7358 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7360 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7361 own member functions
7362 (simpleTeXSpecialChars): ditto
7364 2001-07-06 Juergen Vigna <jug@sad.it>
7366 * a lot of files: changed the access to LyXText::status and the
7367 call of undo-functions.
7369 * undo.[Ch]: added a inset_id to the undo informations.
7371 * undo_funcs.[Ch]: added and moved here all undo functions.
7373 * lyxtext.h: give the status enum a weight, made status_ a private
7374 variable and made accessor functions for it, removed the whole bunch
7375 of undo-functions as they are now in their own file, make some
7376 functions publically available. Added function ownerParagraph with
7379 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7380 made InInset() a const function, added getParFromID() function.
7382 * buffer.[Ch]: added const version for inset_iterator functions,
7383 added getInsetFromID() function.
7385 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7386 changed undo functions for new version.
7388 2001-07-05 Juergen Vigna <jug@sad.it>
7390 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7391 unknow mechanism does not call the proper constructor but only this
7392 one also if I request the other!?
7394 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7396 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7398 * text2.C (LyXText): use initialization lists.
7400 * lyxtext.h (Selection): initialize set_ and mark_
7401 (init): remove method
7403 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7405 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7407 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7409 * screen.[Ch]: change method names to begin with lowercase
7411 * BufferView_pimpl.C (updateScrollbar): simplify further and
7412 hopefully make it a bit faster.
7414 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7416 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7417 calling directly xforms functions.
7419 * Painter.C (Painter):
7420 * lyx_cb.C (MenuWrite):
7421 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7424 * lyx_gui.C: remove bogus guiruntime extern declaration.
7426 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7428 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7430 (redoDrawingOfParagraph): ditto
7431 (redoParagraphs): ditto
7432 (cutSelection): don't create a object for CutAndPaste use the
7433 static method directly
7434 (pasteSelection): ditto
7436 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7439 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7441 * modifications to some other files because of this.
7443 * Makefile.am (lyx_SOURCES): add XFormsView
7445 * XFormsView.[Ch]: new files
7447 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7448 the main window. Move the gui dependent stuff to XFormsView
7450 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7452 * tabular.C (GetCellInset): update cur_cell also in the row/col
7453 version of this function.
7455 * lyxfunc.C: no need to include figure_form.h here.
7461 * lyxvc.C: no need to include forms.h here.
7463 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7465 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7467 * lyxfunc.C (Dispatch):
7469 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7470 constructor argument.
7472 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7474 * paragraph.C (Paragraph): dont't clear, and just set layout.
7475 (makeSameLayout): use params's copy contructor.
7477 * ParagraphParameters.[Ch] (makeSame): delete method
7479 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7481 * Variables.[Ch]: fix indentation, rename set to isSet
7483 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7485 * lyxfunc.C (Dispatch): fix typo
7487 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7489 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7492 * bufferlist.C: include assert.h for emergencyWrite().
7494 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7496 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7497 give up at last (bug #425202) !
7499 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7505 * spellchecker.C: strip spellchecker options and bring up
7506 preferences tab instead
7508 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7510 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7511 the istringstream constructor
7513 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7515 * paragraph.C (getLayout): fix return value
7517 * paragraph.h: do not declare getLayout as inline.
7519 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7521 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7523 * lyxcursor.h (operator<): new func
7524 (operator>): new func
7525 (operator>=): new func
7526 (operator<=): new func
7528 * text.C (changeCase): use selection.start and selection.end
7529 (changeRegionCase): require from to be <= to. Require par to be a
7532 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7534 2001-06-27 Juergen Vigna <jug@sad.it>
7536 * text.C (cursorLeftOneWord): changed to return the cursor and added
7537 overlay with BufferView * parameter which calls this one.
7539 (selectWord): use new getWord function.
7540 (changeCase): renamed from changeWordCase as and extended to work
7543 * lyxtext.h: added enum word_location
7545 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7546 changeCase as this operates now also on selections.
7548 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7550 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7552 * many files: send debug output to Debug::INFO instead of
7555 * converter.C (View):
7557 (Move): send debug output to Debug::FILES instead of console.
7559 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7561 * lyxfunc.C (getStatus): use func_status
7563 * func_status.h: new header, describing the results of
7566 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7569 2001-06-25 The LyX Project <jug@sad.it>
7571 * buffer.C (sgmlOpenTag):
7573 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7575 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7577 * text2.C: remove some dead code
7579 * tabular.C (GetCellInset): store the last cell checked (gotten)
7581 * tabular.h: add the helper for the speedup
7583 * lyxtext.h: remove some dead code
7585 2001-06-26 The LyX Project <Asger>
7587 * paragraph.C: Change export to LaTeX of alignment to
7588 \begin{center} and family for better roundtrip work with reLyX.
7590 * Tune the math drawing a bit.
7592 2001-06-25 The LyX Project <Asger>
7594 * LColor.C (LColor): New color for math background. New color
7597 2001-06-25 The LyX Project <jug@sad.it>
7599 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7602 * bufferlist.C (newFile): do not restrict to files ending with
7605 * BufferView_pimpl.C (MenuInsertLyXFile):
7607 2001-06-24 The LyX Project <jug@sad.it>
7609 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7612 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7614 * lyxtext.h: rename most methods to begin with a small char.
7615 Lots of changes because of this.
7617 * paragraph.C (Paragraph): do not call fitToSize
7618 (erase): call Pimpl::erase
7619 (insertChar): call Pimpl::insertChar
7620 (insertInset): call Pipl::insertInset
7621 (breakParagraph): do not call fitToSize
7622 (breakParagraphConservative): do not call fitToSize
7623 (fitToSize): remove method
7625 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7627 2001-06-24 The LyX Project <Asger>
7629 * Fix Qt compilation^2
7631 2001-06-24 The LyX Project <jug@sad.it>
7633 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7634 depthHook(getDepth()-1).
7637 * ParagraphParameters.h:
7638 * ParameterStruct.h: change type of depth to unsigned int ==
7639 depth_type. Many adaptations to other files before of that.
7641 2001-06-24 The LyX Project <Asger>
7643 * Fix Qt compilation.
7645 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7647 * paragraph.h: renamed several methods to begin with small letter.
7648 several changes to many parts of the code because of this.
7650 2001-06-23 The LyX Project <jug@sad.it>
7652 * text2.C (InsertStringAsLines): renamed from InsertStringA;
7653 rewritten to discard all double spaces when KeepEmpty is off
7654 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7655 to only handle newlines but not fiddle with spaces and friends.
7657 * lyxfunc.C (MenuNew): when doing 'new from template', use
7658 template_path as default directory
7660 2001-06-23 The LyX Project <Asger>
7662 * Clean-up of header file includes all over
7663 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7665 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7667 * paragraph.h: renamed from lyxparagraph.h
7669 2001-06-23 Asger <lyx@violet.home.sad.it>
7671 * Buffer.h: Removed Buffer::resize
7672 * BufferList.h: Removed BufferList::resize
7673 * LyXView.h: Added LyXView::resize. This way, we will only reflow
7674 the document lazily when we change the width, or the font settings.
7676 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7678 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7680 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7682 * buffer.h: remove out of date comment
7684 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7687 * screen.C: fix "theoretical" GC leak
7689 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7691 * LaTeX.C (scanAuxFile):
7692 (deplog): remove trailing \r when reading stream (useful under
7695 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
7697 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
7698 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
7699 and BufferView::theLockingInset(Inset*), so should use them and not
7700 access bv_->text->the_locking_inset directly.
7702 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
7704 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7707 * tex-defs.h: remove old unused file
7709 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
7711 * BufferView_pimpl.C: fix typo, remove minibuffer message
7712 when buffer has loaded
7714 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7716 * lyxfunc.C (Dispatch): use stringstream
7717 (MenuNew): use stringstream
7718 (Open): use stringstream
7720 * importer.C (Import): use stringstream
7722 * bufferview_funcs.C (CurrentState): use stringstream
7724 * LaTeX.C (run): use stringstream
7726 * BufferView_pimpl.C (savePosition): use stringstream
7727 (restorePosition): use stringstream
7728 (MenuInsertLyXFile): use stringstream
7730 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
7743 * vspace.C: removed // -*- C++ -*- as first line.
7746 * version.h: added // -*- C++ -*- as first line.
7748 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7750 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7752 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7755 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7757 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7760 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7762 * gettext.C: include LString.h even when --disable-nls is on.
7764 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
7766 * converter.h (Get): changed argument type from int to
7767 FormatList::size_type to avoid unnecessary conversion.
7769 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7772 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7774 * gettext.h: include LString.h even when --disable-nls is on.
7776 2001-06-07 Juergen Vigna <jug@sad.it>
7778 * text.C (BreakAgain): subst spaces with tabs.
7780 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7781 (resizeInsetsLyXText): set force on resizeLyXText.
7783 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7785 * gettext.h (gettext_init):
7786 (locale_init): use a real definition instead of a macro
7788 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7790 * Bufferview_pimpl.C:
7792 * LColor.C: further lcolor tidies
7794 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7796 * BufferView_pimpl.C (updateScrollbar): simplify.
7798 * BufferView2.C: don't include insets/insetinfo.h, change
7799 prototype for insertInset and call the Pimpl version. let
7800 updateInset call Pimpl version.
7802 * BufferView.h: move inset_slept to BufferView::Pimpl, move
7803 gotoInset to BufferView::Pimpl
7805 2001-06-01 Juergen Vigna <jug@sad.it>
7807 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7808 inside a LockingInset (is the update needed at all?).
7810 2001-05-31 Juergen Vigna <jug@sad.it>
7812 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7813 here not the old one otherwise how should we compare it afterwards
7816 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7821 * FontInfo.C: bring C functions into global namespace when
7824 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7826 * LString.h: make sure config.h has been loaded before LString.h.
7828 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7829 (one for each char read by EatLine!).
7831 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7834 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7836 * paragraph.C (BreakParagraph): set the inset_owner in the new par
7837 to the same as the par we break from
7839 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7841 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7843 * MenuBackend.C (expand): also create menu entries for wide
7844 versions of the floats.
7846 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
7848 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
7850 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
7851 frontends/Makefile.am
7857 * tabular.C (getTokenValue): add std::
7859 * tabular-old.C (getTokenValue): add std::
7860 (getTokenValue): ditto
7861 (getTokenValue): ditto
7863 * screen.C (ToggleSelection): adjust
7865 * lyxtext.h: put selection cursors inside a Selection struct.
7867 * lyxfunc.C (moveCursorUpdate): adjust
7869 * lyxfont.C (latexWriteStartChanges): add std::
7873 * font.h: delete with(char const *, LyXFont const &)
7875 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
7877 * FontInfo.C (getFontname): add std::
7879 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7880 (workAreaButtonPress): adjust
7881 (tripleClick): adjust
7883 (moveCursorUpdate): adjust
7886 * BufferView2.C (gotoInset): adjust
7888 2001-05-30 Juergen Vigna <jug@sad.it>
7890 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
7891 to check pspell I add this as default as I now have new pspell
7892 libraries and they seem to use this.
7894 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7896 * text2.C (CutSelection): make the cursor valid before the call to
7899 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7901 * kbsequence.C (parse): de-uglify a bit the parsing code, which
7902 relied on 0 terminated strings and other horrors. Bug found due to
7903 the new assert in lyxstring!
7905 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
7908 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7910 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
7913 * lyxfunc.C (processKeySym): change method of getting to the
7916 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
7917 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
7918 * BufferView_pimpl.[Ch]: here as private methods.
7920 2001-05-28 Juergen Vigna <jug@sad.it>
7922 * text.C (SetHeightOfRow): added the update() call again as it is
7923 needed to initialize inset dimensions!
7925 2001-05-16 Juergen Vigna <jug@sad.it>
7927 * text2.C (SetCharFont): Add new function with BufferView * and
7928 bool toggleall parameters for setting insets internal fonts.
7929 (SetFont): Freeze the undo as we may change fonts in Insets and
7930 all this change should be inside only one Undo!
7932 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
7933 setting font's in insets as for them we have the SetFont function!
7935 2001-05-15 Juergen Vigna <jug@sad.it>
7937 * text2.C (ClearSelection): to be sure we REALLY don't have any
7940 * tabular.C (TeXCellPreamble): fixed the left border problem for
7943 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7945 * LaTeX.C (deplog): Make sure that the main .tex file is in the
7948 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7950 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
7951 LFUN_BREAKPARAGRAPH.
7953 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
7954 help test to "internal only", similar for LFUN_INSERT_URL
7956 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
7957 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
7958 auto_region_delete and deadkeys.
7960 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
7963 * LColor.C: remove some dead entries, tidy a little
7965 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7967 * lyxfunc.C (processKeySym): comment the Escape handling, remove
7969 (Dispatch): implement LFUN_ESCAPE
7971 * commandtags.h: add LFUN_ESCAPE
7973 * LyXAction.C (init): add entry for LFUN_ESCAPE
7975 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
7976 Remove commented code.
7977 (insertNote): moved here
7978 (open_new_inset): moved here
7980 * BufferView[2].[Ch]: move insertNote and open_new_inset to
7983 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7985 * kbmap.C (findbinding): clean it up and make it work correctly.
7987 * lyx_main.C (init): do not pass argc and argv as parameters
7989 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7991 * buffer.C: fix path for OS/2 & Win32
7995 * lyx_main.C: Added os:: class.
7997 * os2_defines.h: update
7999 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8001 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8002 better by trying again with reduced state.
8004 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8006 * lyxrc.C (read): print error about invalid key sequence only when
8007 debugging (because not all latinX keysyms are known to some X
8010 * kbsequence.C (getiso): add a few std:: qualifiers
8011 (getiso): comment out extra return statement.
8013 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
8015 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8017 (Dispatch): enhance the accent inset a bit. (not perfect)
8019 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8021 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8023 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8025 * bufferlist.C (emergencyWrite): fix assert() call
8027 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
8029 * text.C (InsertChar): Added trivial patch to only send the "you
8030 can not do multiple spaces this way" message once during a
8033 2001-05-08 Baruch Even <baruch@lyx.org>
8035 * Makefile.am: Changed order of libraries to get LyX to link properly
8036 with the gnome frontend.
8038 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8040 * LaTeXFeatures.h: add a std:: qualifier
8042 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8044 * paragraph.C (String): use stringstream
8046 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8048 * paragraph.C (writeFile): remove footflag arg
8050 * buffer.C (makeLaTeXFile): use stringstream
8051 (latexParagraphs): remove footnot gurba
8053 * LaTeXFeatures.C (getPackages): use stringstream
8054 (getMacros): likewise
8055 (getTClassPreamble): likewise
8056 (getFloatDefinitions): new method
8058 * paragraph.C (writeFile): reindent
8061 * WorkArea.h: revert the xpos + etc changes.
8063 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8065 * lyxparagraph.[Ch]: add copy constructor, remove Clone
8067 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8068 (pasteSelection): likewise
8069 * text2.C (CreateUndo): likewise
8071 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8073 * minibuffer.C (peek_event): temporarily reduce the functionality
8074 of the minibuffer (to allow args on lfuns)
8076 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
8077 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
8079 * buffer.C (readInset): add compability reading of old float
8080 lists, add reading of new style float list.
8081 (readInset): avoid reevaluation of inscmd.getCmdName()
8082 (getLists): reindent
8084 * MenuBackend.C (MenuItem): implement parsing of
8085 md_floatlistinsert and md_floatinsert.
8086 (expand::LastFiles): move initalizaton of iterators out of loop,
8088 (expand::Documents): introduce typdedef vector<string> Strings,
8090 (expand::ExportFormats): introduce typedef vector<Format const *>
8091 Formats, and use it.
8092 (expand): implement FloatListInsert and FloatInsert.
8094 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8095 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8096 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8098 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8100 (Dispatch::LFUN_FLOAT_LIST): implement
8102 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8104 * LaTeX.C (run): Fix problem with --export code.
8106 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8108 * BufferView.[Ch] (workarea): removed.
8109 (getClipboard) new method; wrapper for workarea()->getClipboard()
8111 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8114 * WorkArea.h (width, height, xpos, ypos): These methods all
8115 returned the dimensions of the work_area sub-area of WorkArea,
8116 resulting in a position error if the WorkArea were resized. Now
8117 return the dimensions of the entire WorkArea.
8119 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8121 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8123 * LaTeX.C (deplog): correct the syntax of regex reg1
8125 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8127 * undo.C: remove !NEW_INSETS cruft
8129 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8131 * text2.C: remove !NEW_INSETS cruft
8133 * text.C: remove !NEW_INSETS cruft
8135 * tabular.C: remove !NEW_INSETS cruft
8137 * spellchecker.C: remove !NEW_INSETS cruft
8139 * lyxtext.h: remove !NEW_INSETS cruft
8141 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8143 * lyxfunc.C: remove !NEW_INSETS cruft
8145 * lyxfind.C: remove !NEW_INSETS cruft
8147 * lyx_cb.C: remove !NEW_INSETS cruft
8149 * figureForm.C: remove !NEW_INSETS cruft
8151 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8153 * buffer.[Ch]: remove !NEW_INSETS cruft
8155 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8157 * CutAndPaste.C: remove !NEW_INSETS cruft
8159 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8161 * BufferView2.C: remove !NEW_INSETS cruft
8163 * BufferView.h: remove !NEW_INSETS cruft
8165 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8167 * Lsstream.h: include LString.h before the sstream headers to
8168 fix problem with gcc 2.95.3 and lyxstring
8170 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8172 * lyx_main.C: add using directives when needed for C functions
8173 declared in std:: namespace.
8175 2001-04-27 Juergen Vigna <jug@sad.it>
8177 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8178 (SetHeightOfRow): comment out the update call should not be needed!
8180 2001-04-13 Juergen Vigna <jug@sad.it>
8182 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8183 (LyXTabular): tried to minimize operator= operations (and realized
8184 hopfully Lars wish).
8186 2001-04-27 Juergen Vigna <jug@sad.it>
8188 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8190 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8192 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8194 * buffer.C (readInset): hack to make listof algorithm work
8196 * BufferView_pimpl.C: hack to make listof algorithm work
8198 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8200 * LyXAction.C: removed all !NEW_INSETS cruft
8201 (init): moved lfun_item in method
8203 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8205 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8207 * BufferView2.C (theLockingInset): white space.
8209 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8211 * minibuffer.C: include <iostream>
8213 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8215 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8217 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8219 * text.[Ch] (TransposeChars): new method
8221 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8223 * call message directly through LyXView instead of through LyXFunc
8224 * BufferView2.C: adjust
8225 * BufferView_pimpl.C: adjust
8226 * FontLoader.C: adjust
8228 * bufferview_funcs.C: adjust
8229 * converter.C: adjust
8230 * figureForm.C: adjust
8231 * importer.C: adjust
8233 * lyx_gui_misc.C: adjust
8237 + more files in subdirs
8239 * lyxparagraph.h (size): move up int file
8242 * adjust all uses of Assert to lyx::Assert.
8244 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8245 lyxfunctional in namespace lyx
8246 * layout.C (hasLayout): ditto
8249 (delete_layout): ditto
8250 (NumberOfClass): ditto
8251 * converter.C (GetFormat): ditto
8256 * bufferlist.C (getFileNames): ditto
8257 (emergencyWriteAll): ditto
8260 * MenuBackend.C (hasSubmenu): ditto
8263 * BufferView_pimpl.C (getInsetByCode): ditto
8265 2001-04-18 Juergen Vigna <jug@sad.it>
8267 * vspace.C (asLatexString): fixed the 100% problem.
8269 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8271 * lyxfunc.C (Dispatch):
8273 * minibuffer.h: add a few std:: qualifiers
8275 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8277 * minibuffer.[Ch]: reimplement so that commands is initiated and
8278 run from lyxfunc, simplified som handling, and made the completion
8279 and history code for complete. wip.
8281 * lyxfunc.C (processKeySym): call message
8282 (miniDispatch): new temporary method
8283 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8284 (LFUN_MESSAGE): implement
8285 (LFUN_MESSAGE_PUSH): implement
8286 (LFUN_MESSAGE_POP): implement
8287 (initMiniBuffer): the initial/defualt minibuffer message.
8289 * lyxfont.[Ch]: inline some more getters
8291 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8293 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8295 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8296 (AutoSave): use LFUN_MESSAGE
8297 (Reconfigure): ditto
8299 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8301 * figureForm.C: use LFUN_MESSAGE
8303 * converter.C (runLaTeX): use LFUN_MESSAGE
8305 * bufferview_funcs.C: use LFUN_MESSAGE
8307 (changeDepth): ditto
8309 * bufferparams.h: use boost::
8311 * bufferlist.h: inherit privately from noncopyable
8313 * bufferlist.C (loadLyXFile): remove some commented code.
8315 * buffer.C (runChktex): use LFUN_MESSAGE
8317 * ShareContainer.h: inherit privately from noncopyable
8319 * ParagraphParameters.[hC] (depth): inline it.
8321 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8323 (message): new method
8324 (messagePush): ditto
8326 (show): init minibuffer
8327 (showState): direct call
8329 * LaTeX.[Ch]: inherit privately from noncopyable
8330 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8331 instead of WriteStatus.
8333 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8335 * BufferView_pimpl.C (buffer): don't init minibuffer
8336 (workAreaButtonPress): use LFUN_MESSAGE
8337 (workAreaButtonRelease): ditto
8338 (savePosition): ditto
8339 (restorePosition): ditto
8340 (MenuInsertLyXFile): ditto
8341 (workAreaExpose): don't init minibuffer
8342 (update): remove commented code, simplify
8344 * BufferView2.C (openStuff): use LFUN_MESSAGE
8345 (toggleFloat): ditto
8348 (copyEnvironment): ditto
8349 (pasteEnvironment): ditto
8354 (updateInset): remove some commented code
8356 * lastfiles.h: inherit privately from noncopyable
8361 * lyxlex_pimpl.h: ditto
8363 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8364 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8365 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8367 * LyXAction.h: inherit privately from noncopyable, add methods
8368 func_begin, func_end, returning iterators to the func map.
8370 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8371 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8372 (func_begin): new method
8373 (func_end): new method
8375 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8377 (copySelection): ditto
8378 (pasteSelection): ditto
8380 * BufferView.C: whitespace change
8381 * BufferView.h: inherit privately from noncopyable
8383 2001-04-16 Allan Rae <rae@lyx.org>
8385 * tabular-old.C (l_getline):
8386 * spellchecker.C (sc_check_word):
8387 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8388 an unrecognised preprocessor directive. So ensure they're wrapped.
8390 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8392 * src/exporter.C (Export): Give an error message when path to file
8395 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8397 * LaTeX.C (deplog): Always check that foundfile exists.
8399 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8402 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8404 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8406 * tabular.[Ch] (getLabelList): implement new method
8408 * minibuffer.h: comment ouf setTiimer
8410 * minibuffer.C (ExecutingCB): constify res
8411 (peek_event): constify s
8412 (Set): constify ntext
8413 (Init): constify nicename
8415 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8417 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8418 (savePosition): use two params to Minibuffer::Set
8419 (restorePosition): ditto
8421 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8423 * lyx_main.C: include language.h
8425 * Makefile.am (lyx_main.o): add language.h
8427 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8433 * CutAndPaste.C: include gettext.h
8435 * lyxfont.h: remove old hack with ON and OFF.
8438 * lyxfont.h: do not include language.h...
8443 * bufferview_funcs.C:
8449 * paragraph.C: ... but do it here instead
8451 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8453 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8455 * tabular.C: small reformat
8457 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8460 (BreakParagraph): ditto
8461 (SetOnlyLayout): ditto
8464 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8467 * lastfiles.C: removed most using decl, add std:: where needed
8469 * buffer.C: ws changes
8471 * MenuBackend.C (class compare_format): put into anon namespace
8472 (expand): constify label, names, action, action2
8475 * text.C (SingleWidth): constify font
8476 (IsBoundary): constify rtl2
8477 (GetVisibleRow): constify ww
8479 * LaTeX.C (deplog): constify logfile
8481 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8483 (workAreaExpose): constify widthChange, heightChange
8485 * lyxrow.C (par): moved
8488 * lyxrow.h: as inlines here
8490 * lyxfont.h (shape): moved from lyxfont.C
8491 (emph): moved from lyxfont.C
8493 * lyxfont.C (LyXFont): use initialization list for all
8495 (shape): move to lyxfont.h as inline
8496 (emph): move to lyxfont.h as inline
8499 2001-04-04 Juergen Vigna <jug@sad.it>
8501 * vspace.C: had to include stdio.h for use of sscanf
8503 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8506 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8507 independent of xforms.
8509 2001-04-02 Juergen Vigna <jug@sad.it>
8511 * spellchecker.C: fixed namespace placing!
8513 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8515 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8516 the LyXParagraph * is 0.
8518 2001-03-29 Juergen Vigna <jug@sad.it>
8520 * vspace.C: added support for %, c%, p%, l%.
8521 (stringFromUnit): added helper function.
8522 (asLatexString): changed to give right results for the %-values.
8524 * buffer.C: convert the widthp in a width%.
8526 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8528 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8531 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8532 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8534 * lyx_cb.[Ch]: see above.
8536 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8540 * lyx.[Ch]: replaced by figure_form.[Ch].
8544 * lyxfunc.C: changed headers associated with above changes.
8546 2001-03-27 Juergen Vigna <jug@sad.it>
8548 * BufferView_pimpl.C: set the temporary cursor right!
8550 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8552 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8554 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8556 * LString.h: removed "using std::getline"!
8558 * BufferView_pimpl.C (Dispatch): changes due to changes in
8559 InsetInclude::Params.
8561 * buffer.C (tag_name): removed redundant break statements as they were
8562 producing lots of warnings with my compiler.
8564 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8566 * LString.h: add "using std::getline" when using the real <string>.
8568 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8570 * buffer.C: removed bitset usage.
8571 PAR_TAG moved to an anonymous name space.
8572 (tag_name): new funtion, also in the anonymous namespace.
8573 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8574 (makeDocBookFile): clean code. Completed transition from string arrays
8576 (SimpleDocBookOnePar): code clean.
8578 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8580 * tabular.C: add some comments.
8582 2001-03-22 Juergen Vigna <jug@sad.it>
8584 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8585 compatibility read a bit and fixed bug with minipage in different
8588 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8590 * buffer.C (pop_tag): removed.
8591 (push_tag): removed.
8592 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8593 array replaced with vector. Added support for CDATA sections.
8594 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8596 (makeDocBookFile): XML conformant declaration of CDATA section,
8597 fixed bug related to <emphasis> in the first paragraph char.
8598 (sgmlOpenTag): exclude empty tags.
8599 (sgmlCloseTag): ditto.
8601 * buffer.h (pop_tag): removed.
8602 (push_tag): removed.
8604 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
8606 * language.h (Languages): added size_type and size().
8608 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8610 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8611 response on compability reading of minipages. One probliem is that
8612 the old usage of minipages was «flertydig»
8614 * several files here and in subdirs: don't use static at file
8615 scope use anon namespaces instead.
8617 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
8619 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8620 LaTeX output. This is necessary for Literate document
8623 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8625 * buffer.C: insert hfill when needed.
8627 * tabular.C (l_getline): use string::erase, small whitespace change.
8629 * BufferView_pimpl.C: try the anon namespace.
8632 2001-03-16 Juergen Vigna <jug@sad.it>
8634 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8635 otherwise it won't open options-dialogs.
8637 * buffer.C: honor pextraWidth(p) on converting minipages.
8639 * tabular.C (l_getline): changed the functions to strip trailing \r.
8641 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
8643 * BufferView_pimpl.C:
8644 * minibuffer..C: added "using SigC::slot" declaration.
8646 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8648 * lyxlex_pimpl.h: noncopyable is in namespace boost.
8654 * paragraph.C: ditto
8656 * lyxtext.h: NO_PEXTRA
8658 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8660 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8661 * ParameterStruct.h: ditto
8662 * ParagraphParameters.h: ditto
8663 * lyxparagraph.h: ditto
8665 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8667 * buffer.C: add compability for minipage alignment.
8668 (latexParagraphs): remove unwanted pextra check.
8670 * several files: remove CXX_WORKING_NAMESPACES
8672 * buffer.C (pop_tag): tie is in namespace boost
8674 * BufferView.h: noncopyable is in namespace boost
8679 * lastfiles.h: ditto
8680 * bufferlist.h: ditto
8681 * ShareContainer.h: ditto
8683 * LyXAction.h: ditto
8686 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8688 * Merging changes from BRANCH_MVC back into HEAD.
8690 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
8692 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
8694 * BufferView_pimpl.C: change from intl.C
8698 * Makefile.am: move combox.*
8704 * intl.C: remove dialog (covered by prefs)
8706 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8708 * lyxfunc.C (Dispatch): removed redundant break statement.
8710 2001-03-14 Juergen Vigna <jug@sad.it>
8712 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
8714 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8716 * buffer.C: add hack to fix compability reading of minipages.
8718 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
8720 * buffer.C (getLists): Cleanup.
8722 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8724 * lyxfont.C (update): don't honor toggleall on font size.
8726 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
8730 * Makefile.am: moved to frontends/xforms/
8734 * BufferView_pimpl.C: changes for moved mathpanel
8736 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8738 * gettext.h: fix gettext_init() in --disable-nls
8740 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8742 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8744 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
8747 * lyx.h: strip external form
8749 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8751 * BufferView_pimpl.C: add comment, destroySplash()
8753 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8755 * BufferView_pimpl.C:
8759 * lyxfunc.C: use re-worked insetinclude
8761 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8763 * buffer.C: add using std::stringstream.
8765 * lyx_cb.C: readd using std::ios.
8767 * buffer.C: add using std::map.
8769 * BufferView_pimpl.C: add using std::vector.
8771 * ShareContainer.h: add std:: to swap.
8773 * buffer.h: add some typedefs
8774 * buffer.C (getLists): use them
8775 (getLists): renamed from getTocList.
8776 add a counter for the different float types and use it in the
8778 (getLists): use the same counter for the NEW_INSETS and the "non"
8781 * lyx_cb.h: remove unused items, includes, using etc.
8783 * ShareContainer.h: remove some commented code, add more comments
8784 and "documentation".
8786 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8788 * buffer.C (getTocList): make the list also when NEW_INSETS is
8791 * buffer.h: remove TocType
8793 * buffer.C (getTocList): change to return a map<string,
8794 vector<TocItem> >, implement for dynamic number of list.
8796 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8797 * text2.C (PasteSelection): adjust
8798 * CutAndPaste.C (pasteSelection): adjust
8800 * FloatList.C (FloatList): update from the new_insets branch.
8801 * Floating.[Ch]: ditto
8802 * LaTeXFeatures.C: ditto
8804 * lyxlex_pimpl.C: ditto
8806 * paragraph.C (Last): remove when NEW_INSETS is defined.
8808 * other file: changes because of the above.
8810 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8812 * lyxparagraph.h: rename next to next_, previous to previous_,
8813 make them private for NEW_INSETS. Rename Next() to next(),
8814 Previous() to previous().
8816 * other files: changes because of the above.
8818 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
8821 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8824 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8826 * main.C (main): pass lyx_localedir to gettext_init().
8828 * gettext.h: remove locale_init and gettext_init macros
8830 * gettext.C (locale_init): new function
8831 (gettext_init): new function
8833 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8836 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
8838 * Moved credits to frontends:
8839 * credits.[Ch]: removed
8840 * credits_form.[Ch]: removed
8841 * lyx_gui_misc.C: remove credits stuff
8844 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8846 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
8848 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
8849 unneeded destructor.
8851 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
8852 a standalone pointer again.
8854 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
8856 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
8862 * ToolbarDefaults.C:
8871 * BufferView_pimpl.C: use new file dialog in GUII
8874 * lyx_cb.C: remove LayoutsCB to Toolbar
8876 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8878 * ShareContainer.h (get): add std:: qualifier
8880 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8882 * ShareContainer.h: define a proper ShareContainer::value_type
8883 type (and use typename to please compaq cxx)
8885 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8887 * lyxparagraph.h: move serveral local vars to
8888 ParameterStruct/ParagraphParameters., use ShareContainer in
8889 FontTable., make vars in FontTable private and add getter and
8892 * paragraph.C: changes because of the above.
8894 * lyxfont.h: remove copy constructor and copy assignment. (the
8895 default ones is ok), move number inside FontBits. move inlines to
8898 * lyxfont.C: add number to initializaton of statics, move several
8899 inlines here. constify several local vars. some whitespace
8900 cleanup. Dont hide outerscope variables.
8902 * Spacing.h: add two new constructors to match the set methods.
8904 * ShareContainer.h: new file, will perhaps be moved to support
8906 * ParameterStruct.h: new file
8908 * ParagraphParameters.h: new file
8910 * ParagraphParameters.C: new file
8912 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
8913 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
8915 * BufferView_pimpl.C: ParagraphParameter changes.
8916 * buffer.C: Likewise.
8917 * bufferview_funcs.C: Likewise.
8919 * text2.C: Likewise.
8921 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8923 * lyxfind.C (LyXReplace): do not redefine default argument in
8925 (IsStringInText): ditto
8926 (SearchForward): ditto
8927 (SearchBackward): ditto
8929 2001-03-06 Juergen Vigna <jug@sad.it>
8931 * lyxfind.C (IsStringInText): put parentes around expressions.
8933 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
8935 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
8937 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
8939 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
8941 * stl_string_fwd.h: add comment
8943 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
8946 * tabular.C: remove unused DocBook methods
8952 killed DO_USE_DEFAULT_LANGUAGE
8954 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8956 * lyx_gui.C: do not include language.h.
8958 * bufferview_funcs.C (ToggleAndShow): do not provide optional
8959 arguments in function implementation.
8961 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8963 * BufferView_pimpl.C: add <ctime>
8965 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8967 * BufferView_pimpl.C: add using std::find_if
8969 2001-02-27 José Matos <jamatos@fep.up.pt>
8971 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
8974 2001-02-11 José Matos <jamatos@fep.up.pt>
8976 * buffer.C (makeDocBookFile): command styles now have a parameter as
8979 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
8981 * layout_forms.[Ch]: removed
8982 * lyx_cb.[Ch]: out character
8983 * lyx_gui.C: out character
8984 * lyx_gui_misc.C: out character
8985 * bufferview_funcs.C: : out character,
8986 added toggleall as parameter in ToggleAndShow
8988 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
8990 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
8992 * text2.C (SetCurrentFont): Disable number property at boundary.
8994 2001-02-26 Juergen Vigna <jug@sad.it>
8996 * lyxfunc.C (getStatus): added a string argument override function so
8997 that this is correctly called from LyXFunc::Dispatch if it contains a
8998 do_not_use_argument which is used!
8999 (Dispatch): added check for "custom" export and call appropriate func.
9001 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
9003 * lyxrc.C: Add language_command_local, language_use_babel and
9004 language_global_options.
9006 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9008 * buffer.C (makeLaTeXFile): Use language_use_babel and
9009 language_global_options.
9011 2001-02-23 Juergen Vigna <jug@sad.it>
9013 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9014 which works with LyXText and putted it inside BufferView. Here now we
9015 only call for that part the BufferView::Dispatch() function.
9017 * BufferView.C (Dispatch): added.
9019 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9020 functions which needs to use a LyXText over from LyXFunc.
9021 (MenuInsertLyXFile): added
9022 (getInsetByCode): added
9023 (moveCursorUpdate): added
9024 (static TEXT): added
9026 2001-02-22 Juergen Vigna <jug@sad.it>
9028 * BufferView_pimpl.C (update): call a status update to see if LyXText
9031 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9033 * vc-backend.C (revert): implement for CVS
9034 (getLog): implement for CVS
9036 2001-02-20 Juergen Vigna <jug@sad.it>
9038 * text2.C (ClearSelection): added BufferView param for inset_owner call
9040 * lyxfunc.C (TEXT): added this function and use it instead of
9041 directly owner->view()-text of getLyXText().
9043 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
9045 * src/layout_forms.C: out preamble
9046 * src/layout_forms.h: out preamble
9047 * src/lyx_cb.C: out preamble
9048 * src/lyx_cb.h: out preamble
9049 * src/lyx_gui.C: out preamble
9050 * src/lyx_gui_misc.C: out preamble
9051 * src/lyxfunc.C: connect with guii preamble
9053 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
9055 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9057 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
9059 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9060 whether to run bibtex.
9062 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
9064 * Makefile.am (lyx_SOURCES): Remove BackStack.h
9066 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9068 * Makefile.am (lyx_SOURCES): removed bibforms.h
9072 * text.C (GetVisibleRow): make several local vars const
9074 * tabular.C: small cleanup.
9076 * lyxserver.C (callback): use compare instead of strncmp
9078 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
9079 inlines to after class or to paragraph.C
9081 * lyxfont.h: remove friend operator!=
9083 * converter.h: move friend bool operator< to non friend and after
9086 * combox.h: small cleanup
9088 * buffer.h: doxygen, remove unused constructor, move inclas inlies
9089 to inlines after class def.
9091 * buffer.C (pop_tag): use string operations instead of strcmp
9093 * bmtable.c: doxygen, small cleanup
9095 * LaTeX.h: remove friend operator==
9097 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9109 * BufferView_pimpl.C:
9110 * BufferView.[Ch]: remove cruft
9112 2001-02-14 Juergen Vigna <jug@sad.it>
9114 * lyxfunc.C: removed #if 0 unused code
9116 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9118 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9120 * text2.C (SetSelection): added a BufferView * parameter
9122 2001-02-13 Juergen Vigna <jug@sad.it>
9124 * lyxfunc.C (Dispatch): fixed protected blank problem.
9125 * BufferView2.C (protectedBlank): added LyxText * parameter.
9127 * tabular.C (AppendRow): forgot to set row_info of newly added row.
9128 (AppendColumn): same as above for column_info.
9130 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9131 (moveCursorUpdate): use a LyXText param for support of InsetText.
9133 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9134 (tripleClick): ditto
9136 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9138 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9140 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9142 * text2.C (SetSelection): set correct update status if inset_owner
9145 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9147 * tabular.C: remove some commented code.
9149 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9151 * BufferView_pimpl.C: call hideSplash()
9153 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9156 * bibforms.h: remove
9159 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9160 add LFUN_CHILD_CREATE
9162 * counters.h: fix tiny typo
9167 * lyx.C: move splash to frontends/xforms/
9169 * lyx_gui_misc.C: move Include and Bibform to frontends
9171 * lyxvc.h: clarify comment
9173 * vspace.C: tiny housekeeping
9175 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9177 * text.C (PrepareToPrint): RTL Fix.
9179 * paragraph.C (GetUChar): New method.
9180 (String): Use GetUChar.
9182 * buffer.C (asciiParagraph): Use GetUChar.
9184 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9186 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9188 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9191 * buffer.C: rename to getLogName(), handle
9192 build log / latex log nicely
9194 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9197 * MenuBackend.h: remove support for reference menuitem type.
9199 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9201 * BufferView_pimpl.C: housekeeping
9202 * BufferView_pimpl.h:
9207 * minibuffer.h: move Timeout GUI-I
9209 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9211 * lyxrc.C (read): Update converters data-structures.
9213 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9215 * LaTeX.h (operator!=): add operator != for Aux_Info
9217 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9219 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9221 * LaTeXLog.C: deleted, useful code moved to Buffer
9224 * buffer.C: new function getLatexLogName()
9230 * lyxfunc.C: use frontends for LaTeX and VC logs
9232 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9234 * LaTeX.h: yet another std:: that Allan forgot.
9236 * Variables.C (set): renamed from isset(), because this clashes
9237 with some HP-UX macros (grr).
9239 2001-02-06 Allan Rae <rae@lyx.org>
9241 * LaTeX.h: Another bug fix. Missing std:: this time.
9243 2001-02-04 Allan Rae <rae@lyx.org>
9245 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9246 floats problem. I've left it commented out because it's not quite
9247 correct. It should also test that the current object is a table or
9248 figure inset. But I haven't gotten around to figuring out how to do
9249 that. I *think* it'll be something like: "table" == inset.type()
9251 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9254 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9256 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9257 all the citation/databases/styles in the auxilary file.
9258 (run): Rerun latex if there was a babel language error.
9260 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9262 * text.C (Backspace): Preserve the font when changing newline char
9264 (BreakParagraph): If the cursor is before a space, delete the space.
9266 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9268 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9270 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9271 new argument (code).
9272 (ChangeCitationsIfUnique): New method.
9274 * paragraph.C (GetPositionOfInset): Handle bibkey.
9276 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9278 * BufferView_pimpl.h: change type of Position::par_pos to
9279 LyXParagraph::size_type.
9281 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9283 * BufferView_pimpl.C (savePosition, restorePosition): Write
9284 messages to minibuffer.
9286 2001-01-28 José Matos <jamatos@fep.up.pt>
9288 * buffer.C (makeDocBookFile): adds support for document language.
9289 A silly restriction on the name of LatexCommand types where removed.
9290 Added support for CDATA sections, allows to chars unescaped, used
9291 among others in code, to avoid escape < and >.
9293 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9295 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9296 saved positions instrad of a stack. Furthermore, a position is
9297 stored using paragraph id/paragraph position.
9299 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9300 Remove LFUN_REF_BACK.
9302 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9304 * converter.C (dvipdfm_options): New method.
9306 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9308 * vspace.C (isValidLength): Fix for empty input string.
9310 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9312 * LyXAction.C (init): change description of LFUN_FIGURE to
9315 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9317 * LaTeX.C: add using directive
9319 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9321 * MenuBackend.C (expand): Fix the sorting of the formats.
9323 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9325 * lyx_main.C: tiny error message fix
9327 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9329 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9330 calling fl_initialize(). This fixes the problem with ',' as
9331 decimal separator in text files.
9333 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9335 * trans.C (process): Fix the keymap bug.
9337 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9339 * LaTeX.C (scanAuxFiles): New method. Provides support for
9340 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9341 (scanLogFile) Scan for "run BibTeX" messages.
9343 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9344 OT1 font encoding. Also, load the aecompl package if the ae
9347 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9349 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9351 * texrow.C (increasePos): turn two error messages into debug
9354 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9356 * LaTeX.C (scanAux): Handle the \@input macro.
9357 (runBibTeX): Use scanAux().
9359 * language.C (latex_options_): New field.
9361 * LaTeXFeatures.C (getMacros): Add language macros.
9363 * buffer.C (makeLaTeXFile): Small fix.
9365 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9367 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9369 * text2.C: add a using directive.
9371 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9376 * lyxfunc.C: kill LyXBell.
9378 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9380 * text.C (IsBoundary): Remove the error message
9382 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9384 * lyxrc.C (setDefaults): Correct initialization value for
9387 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9389 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9392 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9395 * src/LyXAction.C: Added reference-next.
9397 * text.C (InsertChar): Use contains instead of strchr.
9399 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9401 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9403 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9404 alignment commands (when needed).
9406 * text.C (InsertChar): Add ':' to number separator chars.