1 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * text2.C (init): adjust
4 (insertRow): remove function
5 (insertParagraph): adjust
6 (redoParagraphs): adjust
8 (updateCounters): adjust
10 * text.C (top_y): rewrite to use RowList iterators.
12 (setHeightOfRow): rewrite to sue RowList iterators.
13 (appendParagraph): adjust
15 (breakAgainOneRow): adjust
16 (breakParagraph): adjust
18 (getRowNearY): adjust, and remove commented code.
20 * lyxtext.h (firstRow): delete function
21 (lastRow): delete function
22 (rows): new function (const and non-const versions.)
23 (insertRow): delete function
25 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
27 2003-03-29 John Levon <levon@movementarian.org>
29 * BufferView_pimpl.C: always update scrollbar top
30 because pasting text when we're anchored could mean we
31 miss an update altogether
33 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
35 * text2.C (init): use rowlist_.end() and not 0.
36 (insertRow): change to take a RowList::iterator as arg, adjust
38 (insertParagraph): change to take a RowList::iterator as arg,
40 (redoParagraphs): remove some debug msgs.
42 * text.C (appendParagraph): change to take a RowList::iterator
44 (breakAgain): add an assert
45 (breakAgainOneRow): ditto
47 2003-03-29 John Levon <levon@movementarian.org>
49 * text2.C: do not clear selection after inc/decDepth
52 2003-03-29 John Levon <levon@movementarian.org>
55 * buffer.C: fix broken strerrors according to Lars
57 2003-03-29 John Levon <levon@movementarian.org>
59 * converters.C: more Alert cleanups
61 2003-03-29 John Levon <levon@movementarian.org>
63 * bufferview_funcs.C: remove pointless Alert
65 * buffer.C: fix confusing error message when
66 a template is chmoded 000
68 2003-03-29 John Levon <levon@movementarian.org>
72 * BufferView_pimpl.C: Alert fixes
76 * tabular-old.C: remove unused table compat reading
78 2003-03-29 John Levon <levon@movementarian.org>
83 * lyx_cb.C: more Alert cleanups
85 * lyxfunc.C: don't allow chktex if not latex document
87 2003-03-29 John Levon <levon@movementarian.org>
91 * buffer.C: warnings pushed down from support/,
94 2003-03-29 John Levon <levon@movementarian.org>
96 * lyxfunc.C: safety check for C-r (revert)
98 2003-03-29 John Levon <levon@movementarian.org>
101 * bufferlist.C: several UI fixes using Alert::prompt.
102 Fix the pointless looping quit code. Fix stupid revert
107 * lyx_cb.C: use Alert::prompt
109 * lyx_main.C: remove a silly question
111 * lyxfunc.C: remove a couple of silly questions,
114 2003-03-28 John Levon <levon@movementarian.org>
116 * text2.C: fix bug 974 (End on empty par)
118 2003-03-28 John Levon <levon@movementarian.org>
120 * BufferView_pimpl.C:
122 * lfuns.h: remove do-nothing math greek lfuns
124 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
126 * lyxgluelength.h (isValidGlueLength): add default arg on
127 parameter 2. Remove default arg from friend in class.
129 * lyxlength.h (isValidLength): add default arg on parameter 2.
130 Remove default arg from friend in class.
132 * text2.C (LyXText): adjust, initialize refresh_row.
136 (insertParagraph): adjst
137 (redoParagraphs): adjust
138 (fullRebreak): adjust
139 (updateCounters): adjust
140 (deleteEmptyParagraphMechanism): first attempt at fixing a
143 * text.C (top_y): adjust
144 (setHeightOfRow): adjust
146 (getRowNearY): adjust
148 * lyxtext.h: include RowList.h
149 (~LyXText): not needed anymore, deleted.
150 (firstRow): modify for RowList
151 (lastRow): new function
152 Delete firstrow and lastrow class variables, add a Rowlist
153 rowlist_ class variable.
155 * lyxrow.C (lastPos): use empty() and not !size() to check if a
158 * RowList.C (insert): fix case where it == begin().
160 2003-03-26 Angus Leeming <leeming@lyx.org>
162 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
163 the thesaurus dialog.
165 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
167 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
169 * RowList.[Ch]: new files
171 * ParagraphList.C (erase): handle the case where it == begin
174 2003-03-25 John Levon <levon@movementarian.org>
178 * aspell.C: add new aspell support
181 * lyxrc.C: Make use_pspell be use_spell_lib. Always
184 2003-03-25 Angus Leeming <leeming@lyx.org>
187 * LyXAction.C (init): new LFUN_INSET_INSERT.
189 * BufferView_pimpl.C (dispatch): split out part of the
190 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
192 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
195 2003-03-25 Angus Leeming <leeming@lyx.org>
197 * lyxfunc.C (dispatch): changes to the Dialogs interface.
199 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
202 * text3.C: remove useless row->height(0)
204 2003-03-25 John Levon <levon@movementarian.org>
208 * text3.C: rename the refreshing stuff to better names
210 2003-03-24 John Levon <levon@movementarian.org>
212 * BufferView_pimpl.h:
213 * BufferView_pimpl.C: update layout choice on a mouse
216 2003-03-23 John Levon <levon@movementarian.org>
218 * Makefile.am: fix commandtags.h reference
220 2003-03-22 John Levon <levon@movementarian.org>
222 * BufferView_pimpl.C:
227 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
229 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
232 * text.C: take the rtl methods out of line
234 2003-03-21 André Pönitz <poenitz@gmx.net>
236 * metricsinfo.[Ch]: new files containing structures to be passed around
237 during the two-phase-drawing...
239 2003-03-21 André Pönitz <poenitz@gmx.net>
241 * lyxtextclass.C: read 'environment' tag.
243 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
245 * text2.C (removeRow): fix bug 964
247 2003-03-20 John Levon <levon@movementarian.org>
251 * text2.C: paint cleanups. Inset::update() dropped font
254 2003-03-19 John Levon <levon@movementarian.org>
256 * lyxfunc.C: only fitcursor/markDirty if available()
258 2003-03-19 John Levon <levon@movementarian.org>
260 * commandtags.h: rename to ...
262 * lfuns.h: ... this, and renumber / cleanup
264 2003-03-19 John Levon <levon@movementarian.org>
266 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
267 fit the cursor after an lfun
271 * BufferView_pimpl.h:
272 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
274 * LyXAction.C: layout-character should have ReadOnly
276 * ParagraphParameters.C:
278 * bufferview_funcs.C:
285 * undo_funcs.C: changes from above
287 2003-03-18 John Levon <levon@movementarian.org>
289 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
290 remove it from update()
292 * lyxfunc.C: update layout choice after an lfun
294 * text3.C: remove extra updateLayoutChoice()s
296 2003-03-18 John Levon <levon@movementarian.org>
298 * text.C: top_y change means full repaint, fix
299 a drawing bug with cursor movement
301 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
305 * text2.C: anchor row on setCursor
307 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
309 * lyxtext.h: remove almost all mutable keywords
312 * text3.C: remove const keywords accordingly
314 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
316 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
318 (TeXEnvironment): ditto
321 2003-03-17 John Levon <levon@movementarian.org>
323 * text.C (rowBreakPoint): remove attempt to fix displayed
324 math insets inside a manual label
326 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
328 * lyxtext.h: remove BufferView* as first arg from almost all class
330 * other files: adjust.
332 2003-03-17 John Levon <levon@movementarian.org>
336 * text2.C: more paint cleanups
338 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
341 * rowpainter.C: remove "smart" background painting code
343 2003-03-16 John Levon <levon@movementarian.org>
348 * text3.C: add helper functions for setting refresh_row/y
350 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
352 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
353 newline inset which *can* get inserted in the pass_thru layouts.
354 This is primarily for literate documents.
356 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
358 * buffer.C: increment LYX_FORMAT to 223
360 2003-03-14 André Pönitz <poenitz@gmx.net>
362 * textclass.h: prepare for environment handling, ws changes
363 * lyxlayout.C: read latexheader and latexfooter tags
365 2003-03-14 John Levon <levon@movementarian.org>
367 * text2.C: rewrite ::status() a bit
369 2003-03-13 John Levon <levon@movementarian.org>
371 * lyxtext.h: add some docs
373 2003-03-13 John Levon <levon@movementarian.org>
378 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
380 2003-03-13 John Levon <levon@movementarian.org>
382 * text3.C: fix appendix redrawing
384 2003-03-13 John Levon <levon@movementarian.org>
386 * text.C (setHeightOfRow):
388 * rowpainter.C: make appendix mark have the text
389 "Appendix" so the user knows what it is
392 * LColor.C: s/appendixline/appendix/ from above
394 2003-03-13 John Levon <levon@movementarian.org>
396 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
398 * text.C: fix a getChar(pos) bug properly
400 2003-03-13 Angus Leeming <leeming@lyx.org>
403 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
404 Probably only temporary. Let's see how things pan out.
406 * BufferView.C (unlockInset):
407 * BufferView_pimpl.C (fitCursor):
408 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
410 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
411 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
413 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
414 new functions that convert ParagraphParameters to and from a string.
416 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
417 BufferView::Pimpl's dispatch.
418 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
420 2003-03-13 André Pönitz <poenitz@gmx.net>
424 * factory.C: make it aware of InsetEnv
426 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
428 * text2.C (setCursor): never ask for one past last
429 (setCursor): add some debugging messages.
431 * text.C (singleWidth): never ask for one past last
435 (rowBreakPoint): ditto
436 (setHeightOfRow): ditto
437 (prepareToPrint): ditto
439 * rowpainter.C (paintBackground): never ask for one past last
440 (paintText): never ask for one past last
442 * paragraph_pimpl.C (getChar): make the assert stricter, never
443 allow the one past last pos to be taken
445 * paragraph.C (getChar): ws changes only
447 * lyxrow.C (nextRowIsAllInset): never ask for one past last
448 (numberOfSeparators): ditto
449 (numberOfHfills): ditto
451 2003-03-12 John Levon <levon@movementarian.org>
457 * paragraph_funcs.C: fix per-buffer authorlists
459 2003-03-12 John Levon <levon@movementarian.org>
461 * text.C: fix newline in right address
463 2003-03-12 Angus Leeming <leeming@lyx.org>
465 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
466 duplicate those in LyXFunc::dispatch.
471 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
472 Add LFUN_FONTFREE_UPDATE.
474 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
475 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
477 * bufferview_func.[Ch]: several new functions to facilliate
478 transfer of data to and from the character dialog.
480 2003-03-12 John Levon <levon@movementarian.org>
490 * text3.C: remove META_NEWLINE in favour of an inset
493 * rowpainter.C: remove paintNewline (done by inset)
495 2003-03-12 John Levon <levon@movementarian.org>
497 * paragraph_pimpl.C: complain about bad getChar()s
500 2003-03-12 John Levon <levon@movementarian.org>
503 * buffer.C: move paragraph read into a separate function,
504 a little renaming to reflect that.
507 * bufferparams.C: remove the author_ids map, not necessary now
510 * factory.C: moved Buffer::readInset to here
513 * paragraph_funcs.C: readParagraph free function moved from
516 * tabular.C: name change
518 2003-03-12 John Levon <levon@movementarian.org>
521 * ParagraphParameters.C: move par params input to
524 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
525 behave like a normal read from the stream wrt reading
528 2003-03-12 John Levon <levon@movementarian.org>
531 * ParagraphParameters.h:
532 * ParagraphParameters.C: move output code to a
535 2003-03-12 John Levon <levon@movementarian.org>
537 * BufferView.C (insertLyXFile):
540 * tabular.C: use a parlist iterator for creating the
543 2003-03-12 John Levon <levon@movementarian.org>
545 * buffer.C: make current_change static local not
548 2003-03-12 John Levon <levon@movementarian.org>
550 * buffer.C: fix insertStringAsLines for change tracking
552 2003-03-12 John Levon <levon@movementarian.org>
559 * bufferparams.C: move author list into params. Rename some
560 functions. Move the header reading into a separate token
561 loop. Move the header token reading into BufferParams.
563 2003-03-12 John Levon <levon@movementarian.org>
565 * changes.C: put debug inside lyxerr.debugging() checks
567 2003-03-11 André Pönitz <poenitz@gmx.net>
569 * factory.C: make it aware of InsetHFill
571 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
573 * buffer.C (latexParagraphs): move function from here...
574 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
577 2003-03-10 Angus Leeming <leeming@lyx.org>
579 * LyXAction.C (init): fix bug in poplating array with multiple entries
580 with the same LFUN (spotted by JMarc).
582 2003-03-10 John Levon <levon@movementarian.org>
585 * text2.C: move getColumnNearX() near its
588 2003-03-10 John Levon <levon@movementarian.org>
590 * text.C: fix break before a minipage
592 2003-03-10 John Levon <levon@movementarian.org>
594 * text.C: fix the last commit
596 2003-03-09 John Levon <levon@movementarian.org>
600 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
601 bug 365 (don't break before insets unless needed). Don't
602 return a value > last under any circumstances.
604 2003-03-09 Angus Leeming <leeming@lyx.org>
606 * BufferView_pimpl.C (trackChanges, dispatch): call
607 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
609 2003-03-09 Angus Leeming <leeming@lyx.org>
611 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
612 than Dialogs::showAboutlyx().
614 2003-03-09 Angus Leeming <leeming@lyx.org>
616 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
617 than Dialogs::showTabularCreate().
619 2003-03-09 John Levon <levon@movementarian.org>
623 * text2.C: 3rd arg to nextBreakPoint was always the same.
626 2003-03-08 John Levon <levon@movementarian.org>
633 * text2.C: Remove the "main" bit from the "main body"
636 2003-03-08 John Levon <levon@movementarian.org>
638 * text.C (leftMargin): The left margin of an empty
639 manual label paragraph should not include the label width
642 * text.C (prepareToPrint): don't attempt to measure hfills
643 for empty manual label paragraphs - the answer should be 0
645 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
647 * CutAndPaste.C: remove commented code and reindent.
649 2003-03-08 John Levon <levon@movementarian.org>
652 * lyxfunc.C: move reloadBuffer()
655 * BufferView.C: to here
657 * lyxvc.C: add comment
660 * vc-backend.C: call bv->reload() to avoid
661 getStatus() check on MENURELOAD
663 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
665 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
666 to an old format .dep file.
668 2003-03-07 Angus Leeming <leeming@lyx.org>
670 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
671 when the LFUN_MOUSE_RELEASE should have been handled by
672 inset->localDispatch.
674 2003-03-07 Angus Leeming <leeming@lyx.org>
676 * BufferView_pimpl.C (dispatch):
677 * LyXAction.C (init):
678 * ToolbarDefaults.C (init):
680 * lyxfunc.C (getStatus):
681 remove LFUN_INSET_GRAPHICS.
683 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
685 2003-03-07 Angus Leeming <leeming@lyx.org>
688 * LyXAction.C (init):
689 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
691 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
694 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
696 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
697 localDispatch method LFUN_INSET_DIALOG_UPDATE.
699 2003-03-07 Angus Leeming <leeming@lyx.org>
701 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
704 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
706 * ParagraphList.C (front): new function
709 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
711 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
712 and top_row_offset_. removed var first_y.
714 * text2.C (LyXText, removeRow):
716 * BufferView_pimpl.C:
717 use these methods instead of using first_y
719 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
721 * text2.C (pasteSelection): adjust for checkPastePossible
723 * CutAndPaste.C: remove Paragraph * buf and replace with
724 ParagraphList paragraphs.
725 (DeleteBuffer): delete
726 (cutSelection): change the tc type to textclass_type
727 (copySelection): change the tc type to textclass_type
728 (copySelection): adjust for ParagraphList
729 (pasteSelection): change the tc type to textclass_type
730 (pasteSelection): adjust for Paragraphlist
731 (nrOfParagraphs): simplify for ParagraphList
732 (checkPastePossible): simplify for ParagraphList
733 (checkPastePossible): remove unused arg
735 * ParagraphList.C (insert): handle the case where there are no
738 * CutAndPaste.h: make CutAndPaste a namespace.
740 * text3.C (dispatch): adjust
742 * text.C (breakParagraph): add a ParagraphList as arg
744 * paragraph_funcs.C (breakParagraph): change to take a
745 BufferParams and a ParagraphList as args.
746 (breakParagraphConservative): ditto
747 (mergeParagraph): ditto
748 (TeXDeeper): add a ParagraphList arg
749 (TeXEnvironment): ditto
752 * buffer.C (readLyXformat2): adjust
753 (insertStringAsLines): adjust
754 (latexParagraphs): adjust
756 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
757 (cutSelection): adjust
758 (pasteSelection): adjust
760 * BufferView_pimpl.C (insertInset): adjust
762 2003-03-05 Angus Leeming <leeming@lyx.org>
765 * LyXAction.C (init):
766 * BufferView_pimpl.C (dispatch):
767 * lyxfunc.C (getStatus):
768 remove LFUN_CHILD_INSERT.
770 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
772 2003-03-05 Angus Leeming <leeming@lyx.org>
775 * LyXAction.C (init):
776 * src/factory.C (createInset):
777 * lyxfunc.C (getStatus):
778 * text3.C (dispatch):
779 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
781 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
783 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
785 * ParagraphList.C (insert): handle insert right before end()
786 (erase): fix cases where it can be first or last paragraph.
788 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
790 * paragraph_funcs.C (TeXEnvironment): remove all usage of
791 Paragraph::next and Paragraph::previous
794 * text.C (breakParagraph): adjust
796 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
797 BufferParams& as arg.
798 (breakParagraph): use ParagraphList::insert
799 (breakParagraphConservative): take a Buffer* instead of a
800 BufferParams& as arg.
801 (breakParagraphConservative): use ParagraphList::insert.
803 * buffer.C (insertStringAsLines): un-const it
804 (insertStringAsLines): adjust
806 * ParagraphList.C (insert): new function
808 * CutAndPaste.C (pasteSelection): adjust
810 * text.C (backspace): adjust
812 * tabular.C (SetMultiColumn): adjust
814 * CutAndPaste.C (cutSelection): adjust
815 (pasteSelection): adjust
817 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
818 Buffer const * as arg
820 * ParagraphList.C (erase): new function
821 * paragraph_funcs.C (mergeParagraph): use it
822 (mergeParagraph): make it take a Buffer* instead of a
825 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
827 (breakParagraphConservative): ditto
829 * paragraph.h: remove the breakParagraph friend
831 * paragraph.C (eraseIntern): new function
832 (setChange): new function
834 * paragraph_funcs.C (mergeParagraph): make it take a
835 ParagraphList::iterator instead of a Paragraph *, adjust
838 * paragraph.h: move an #endif so that the change tracking stuff
839 also works in the NO_NEXT case.
841 2003-03-04 Angus Leeming <leeming@lyx.org>
844 * LyXAction.C: new LFUN_INSET_MODIFY.
846 * BufferView_pimpl.C (dispatch): if an inset is found to be open
847 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
849 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
851 * several files: ws changes only
853 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
854 (TeXEnvironment): ditto
857 * buffer.C (makeLaTeXFile): adjust
858 (latexParagraphs): make it take ParagraphList::iterator as args
860 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
862 * buffer.C (latexParagraphs): adjust
864 * paragraph.C (TeXOnePar): move function...
865 (optArgInset): move function...
866 (TeXEnvironment): move function...
867 * paragraph_pimpl.C (TeXDeeper): move function...
868 * paragraph_funcs.C: ...here
870 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
872 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
874 * buffer.C (readInset): remove compability code for old Figure and
877 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
879 * buffer.C: ws changes
882 * BufferView_pimpl.C: ditto
885 * bufferlist.h: ditto
889 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
891 * converter.[Ch]: split into itself +
894 * Makefile.am: += graph.[Ch] + format.[Ch]
901 * lyxrc.C: added #include "format.h"
903 2003-02-27 Angus Leeming <leeming@lyx.org>
905 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
908 * factory.C (createInset): add "label" to the factory.
910 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
911 string and do no more.
913 2003-02-27 Angus Leeming <leeming@lyx.org>
916 * LyXAction.C (init):
917 * factory.C (createInset):
918 * BufferView_pimpl.C (dispatch):
919 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
921 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
923 * lyxfunc.C (dispatch):
924 * text3.C (dispatch): pass name to params2string.
926 2003-02-26 Angus Leeming <leeming@lyx.org>
928 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
930 Rearrange the ~includes. Strip out the unnecessary ones.
932 * factory.C (createInset): reformat.
933 create new insets for the various LFUN_XYZ_APPLY lfuns.
935 2003-02-26 John Levon <levon@movementarian.org>
938 * lyxrow.C: add isParStart,isParEnd helpers
940 * paragraph.h: make isInserted/DeletedText take refs
943 * paragraph_funcs.C: remove #if 0'd code
948 * text.C: use lyxrow helpers above.
949 Move draw and paint routines to RowPainter.
950 Make several methods use refs not pointers.
951 Make backgroundColor() const.
952 Add markChangeInDraw(), isInInset().
953 Merge changeRegionCase into changeCase.
954 Make workWidth() shouldn't-happen code into an Assert.
957 * rowpainter.C: new class for painting a row.
960 * vspace.C: make inPixels take a ref
962 2003-02-26 Angus Leeming <leeming@lyx.org>
964 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
967 2003-02-25 John Levon <levon@movementarian.org>
969 * ispell.C: give the forked command a more accurate name
971 2003-02-22 John Levon <levon@movementarian.org>
974 * toc.C: make TocItem store an id not a Paragraph *
977 2003-02-21 Angus Leeming <leeming@lyx.org>
979 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
980 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
981 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
982 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
983 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
984 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
986 * BufferView_pimpl.C (dispatch):
987 * LyXAction.C (init):
988 * factory.C (createInset):
989 * lyxfunc.C (getStatus, dispatch):
990 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
992 2003-02-21 Angus Leeming <leeming@lyx.org>
994 * BufferView_pimpl.C (MenuInsertLyXFile):
995 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
996 * lyxfunc.C (menuNew, open, doImport):
997 no longer pass a LyXView & to fileDlg.
999 2003-02-21 Angus Leeming <leeming@lyx.org>
1001 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
1002 * LyXAction.C: change, BIBKEY to BIBITEM.
1003 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
1004 Change InsetBibKey to InsetBibitem.
1005 Change BIBKEY_CODE to BIBITEM_CODE.
1006 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1007 * factory.C: replace insetbib.h with insetbibitem.h.
1008 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1009 * paragraph.C: replace insetbib.h with insetbibitem.h.
1010 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
1011 Change bibkey() to bibitem().
1012 * text.C: remove insetbib.h.
1013 * text2.C: replace insetbib.h with insetbibitem.h.
1014 change bibkey() to bibitem().
1015 * text3.C: remove insetbib.h.
1016 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1018 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1020 * lyxrc.C (output): enclose user email in quotes (in case there are
1023 2003-02-18 John Levon <levon@movementarian.org>
1025 * buffer.h: add std::
1027 2003-02-17 John Levon <levon@movementarian.org>
1033 * pspell.C: reworking. Especially in ispell, a large
1034 number of clean ups and bug fixes.
1036 * lyxfunc.C: fix revert to behave sensibly
1038 2003-02-17 André Pönitz <poenitz@gmx.net>
1041 * commandtags.h: new LFUN_INSERT_BIBKEY
1051 * paragraph_func.C: remove special bibkey handling
1053 2003-02-17 John Levon <levon@movementarian.org>
1055 * text.C (Delete): fix case where delete at the end of
1056 the very first paragraph would not merge the pars
1058 2003-02-17 John Levon <levon@movementarian.org>
1060 * lyxrow.C: fix lastPrintablePos()
1062 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1064 * bufferparams.C (writeLaTeX): add a std:here
1066 * buffer.C: and remove a using directive there
1068 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1070 * buffer.C (makeLaTeXFile): move the code that generates the
1073 * bufferparams.C (writeLaTeX): ... in this new method
1075 * LaTeXFeatures.C (getEncodingSet): make const
1076 (getLanguages): make const
1078 * MenuBackend.C (binding): returns the binding associated to this
1080 (add): sets the status of each item by calling getStatus. Adds
1082 (read): add support for OptSubMenu
1083 (expand): remove extra separator at the end of expanded menu
1085 2003-02-15 John Levon <levon@movementarian.org>
1088 * BufferView_pimpl.C:
1090 * bufferlist.C: remove pointless BufferStorage bloat. Remove
1091 inset code that had no actual effect. Remove unneeded status
1094 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1096 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
1099 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
1101 * text.C (drawLengthMarker): also draw an arrow marker for
1102 symbolic lengths (medskip...)
1104 2003-02-14 John Levon <levon@movementarian.org>
1107 * tabular.C: better method names
1109 2003-02-14 John Levon <levon@movementarian.org>
1111 * BufferView_pimpl.C:
1116 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
1117 it's a more accurate name. Remove some pointless uses.
1119 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1121 * text2.C (LyXText): change order of initilizers to shut off
1124 2003-02-14 John Levon <levon@movementarian.org>
1126 * buffer.C: use ParIterator for getParFromID()
1130 * paragraph_pimpl.h:
1131 * paragraph_pimpl.C: remove unused getParFromID()
1133 2003-02-14 John Levon <levon@movementarian.org>
1135 * buffer.C: remove some very old #if 0'd parse code
1137 2003-02-13 John Levon <levon@movementarian.org>
1141 * text2.C: move hfillExpansion(), numberOfSeparators(),
1142 rowLast(), rowLastPrintable(), numberofHfills(),
1143 numberOfLabelHfills() ...
1146 * lyxrow.C: ... to member functions here.
1151 * text.C: remove LyXText::beginningOfMainBody(), and call
1152 p->beginningOfMainBody() directly. Move the check for
1153 LABEL_MANUAL into the latter.
1160 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1166 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1167 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1169 2003-02-13 John Levon <levon@movementarian.org>
1171 * CutAndPaste.C: remove debug
1173 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1175 * paragraph.C (asString): remove two unused variables
1177 * lyxtextclass.C (readTitleType):
1179 (LyXTextClass): handle new members titletype_ and titlename_
1181 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1183 2003-02-09 John Levon <levon@movementarian.org>
1186 * buffer.C: replace hand-coded list with a map for the dep clean
1188 2003-02-08 John Levon <levon@movementarian.org>
1190 * LaTeX.C: consolidate code into showRunMessage() helper
1192 2003-02-08 John Levon <levon@movementarian.org>
1197 * BufferView.C: change setSelectionOverString() to setSelectionRange()
1198 and pass the size in explicitly
1200 * BufferView_pimpl.h:
1201 * BufferView_pimpl.C:
1203 * BufferView.C: add getCurrentChange()
1205 * BufferView_pimpl.h:
1206 * BufferView_pimpl.C: handle change lfuns
1208 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
1209 for changes. Mark pasted paragraphs as new.
1211 * support/lyxtime.h:
1212 * support/lyxtime.C:
1213 * DepTable.C: abstract time_t as lyx::time_type
1216 * LColor.C: add colours for new text, deleted text, changebars
1218 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1219 package use "usenames" option.
1223 * LyXAction.C: add change lfuns
1227 * author.C: author handling
1230 * buffer.C: add a per-buffer author list, with first entry as
1231 current author. Handle new .lyx tokens for change tracking. Output
1232 author list to .lyx file. Output dvipost stuff to .tex preamble.
1233 Bump lyx format to 222.
1236 * bufferlist.C: add setCurrentAuthor() to reset current author details
1240 * bufferparams.C: add param for tracking
1242 * bufferview_funcs.C: output change info in minibuffer
1246 * changes.C: add change-tracking structure
1249 * debug.C: add CHANGES debug flag
1252 * lyxfind.C: add code for finding the next change piece
1255 * lyxrc.C: add user_name and user_email
1258 * lyxrow.C: add a metric for the top of the text line
1261 * text.C: implement accept/rejectChange()
1264 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1265 Strike through deleted text.
1269 * paragraph_pimpl.h:
1270 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1271 to the insert functions. Rework erase to mark text as deleted, adding
1272 an eraseIntern() and a range-based erase(). Implement
1273 per-paragraph change lookup and accept/reject.
1275 * paragraph_funcs.C: Fixup paste for change tracking.
1277 * tabular.C: mark added row/columns as new.
1279 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1280 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1282 * text2.C: leave cursor at end of selection after a cut.
1284 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1286 * text.C (getLengthMarkerHeight):
1287 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1288 visible on screen too.
1290 2003-02-07 John Levon <levon@movementarian.org>
1292 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1294 2003-02-05 Angus Leeming <leeming@lyx.org>
1296 * lyxserver.C (read_ready): revert my patch of 11 September last year
1297 as it sends PC cpu through the roof. Presumably this means that
1298 the lyxserver will no longer run on an Alpha...
1300 2003-01-30 Angus Leeming <leeming@lyx.org>
1302 * factory.C (createInset): create an InsetCommandParam of type "index"
1303 and use it to 'do the right thing'.
1305 * text2.C (getStringToIndex): ensure that cursor position is always
1306 reset to the reset_cursor position.
1308 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1310 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1313 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1317 * lyxfunc.C: Output messages with identical spelling, punctuation,
1320 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1322 * MenuBackend.C (expandFormats): List only viewable export formats
1325 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1328 * lyxfunc.C (getStatus): Make sure that formats other than
1329 "fax" can also be disabled
1331 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1333 * text3.C (dispatch): put the lfuns that insert insets in 3
1334 groups, and call doInsertInset with appropriate arguments.
1335 (doInsertInset): new function, that creates an inset and inserts
1336 it according to some boolean parameters.
1338 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1340 * buffer.C (readFile): remember to pass on 'par' when calling
1341 readFile recursively.
1343 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1345 * MenuBackend.C (expandFormats): add "..." to import formats.
1347 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1349 * paragraph.C (asString): Remove XForms RTL hacks.
1351 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1352 * buffer.C: fix typo
1354 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1356 * Makefile.am (LIBS): delete var
1357 (lyx_LDADD): add @LIBS@ here instead.
1359 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1361 * Clarify the meaning of "wheel mouse jump"
1363 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1365 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1368 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1370 * importer.C (Loaders): do not preallocate 3 elements in the
1371 vector, since one ends up with 6 elements otherwise
1373 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1375 * DepTable.C (write): write the file name as last element of the
1376 .dep file (because it may contain spaces)
1377 (read): read info in the right order
1379 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1381 * paragraph_pimpl.C (simpleTeXBlanks):
1382 (simpleTeXSpecialChars):
1383 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1385 * tabular.C (latex): add some missing case statements. Reindent.
1387 * MenuBackend.C (expandToc): remove unused variable.
1389 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1398 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1401 2003-01-05 John Levon <levon@movementarian.org>
1404 * BufferView.C: add getEncoding()
1407 * kbsequence.C: do not store last keypress
1410 * lyxfunc.C: store last keypress here instead. Pass encoding
1413 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1415 * lyx_main.C (init): remove annoying error message when following
1416 symbolic links (bug #780)
1418 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1420 * text.C (insertChar):
1421 * lyxrc.C (getDescription): remove extra spaces
1423 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1425 * lyxrc.C (getDescription): remove extra spaces
1427 2002-12-20 John Levon <levon@movementarian.org>
1429 * text3.C: hack fix for page up/down across tall rows
1431 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1433 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1436 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1438 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1439 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1440 thesaurus is not compiled in
1442 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1444 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1446 2002-12-16 Angus Leeming <leeming@lyx.org>
1449 * lyx_main.C (init): remove override_x_deadkeys stuff.
1451 2002-12-12 John Levon <levon@movementarian.org>
1453 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1454 insert. Only remove shift modifier under strict
1457 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1459 * MenuBackend.C (expandToc): fix crash.
1461 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1463 * MenuBackend.C (expandToc): gettext on float names.
1465 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1467 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1468 implement bool empty() [bug 490]
1470 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1472 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1474 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1476 * several files: ws changes
1478 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1480 * text2.C (setCounter): clean up a bit, use boost.format.
1481 (updateCounters): initialize par upon declaration.
1483 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1484 if the layout exists. We do not just store the layout any more.
1485 (SwitchLayoutsBetweenClasses): use boost.format
1487 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1489 * converter.C (convert): if from and to files are the same, use a
1490 temporary files as intermediary
1492 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1495 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1497 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1499 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1501 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1503 * tabular.C (asciiPrintCell): use string(size, char) instead of
1506 * sgml.C (openTag): fix order of arguments to string constructor
1509 * lyxfunc.C (dispatch): use boost.format
1511 * lots of files: change "c" -> 'c'
1513 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1515 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1517 2002-11-25 Angus Leeming <leeming@lyx.org>
1519 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1521 * lyx_main.C (init): compile fix.
1523 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1525 * lyx_cb.C (start): boost.formatify
1526 do not include <iostream>
1528 * lengthcommon.C: ws only
1530 * boost-inst.C,BoostFormat.h: add more explict instantations
1532 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1534 * lots of files: handle USE_BOOST_FORMAT
1536 2002-11-21 John Levon <levon@movementarian.org>
1538 * pspell.C: fix compile
1540 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1542 * lyxfunc.C (dispatch): use boost::format
1546 * lyxfont.C (stateText): use boost::format
1548 * lyx_main.C (LyX): use boost::format
1550 (queryUserLyXDir): ditto
1553 (typedef boost::function): use the recommened syntax.
1555 * importer.C (Import): use boost::format
1557 * debug.C (showLevel): use boost::format
1559 * converter.C (view): use boost::format
1564 * bufferview_funcs.C (currentState): use boost::format
1566 * bufferlist.C (emergencyWrite): use boost::format
1568 * buffer.C (readLyXformat2): use boost::format
1569 (parseSingleLyXformat2Token): ditto
1571 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1573 * LaTeX.C (run): use boost::format
1575 * Chktex.C (scanLogFile): use boost::format
1577 * BufferView_pimpl.C (savePosition): use boost::format
1578 (restorePosition): ditto
1579 (MenuInsertLyXFile): ditto
1581 * BoostFormat.h: help file for explicit instation.
1583 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1585 * tabular.C (latex): Support for block alignment in fixed width
1588 2002-11-17 John Levon <levon@movementarian.org>
1590 * BufferView_pimpl.C:
1592 * lyxfunc.C: split filedialog into open/save
1594 2002-11-08 Juergen Vigna <jug@sad.it>
1596 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1597 by my last patch (hopefully).
1599 2002-11-08 John Levon <levon@movementarian.org>
1608 * toc.C: ParConstIterator, and use it (from Lars)
1610 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1612 * lyxtextclass.[Ch]: revise and add doxygen comments
1614 2002-11-07 John Levon <levon@movementarian.org>
1616 * text.C: fix progress value for spellchecker
1618 * toc.C: fix navigate menu for insetwrap inside minipage
1620 * paragraph_funcs.C: added FIXME for suspect code
1622 2002-11-07 John Levon <levon@movementarian.org>
1624 * BufferView_pimpl.C: fix redrawing of insets
1627 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1629 * text2.C (updateCounters): fix bug 668
1631 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1633 * text3.C (dispatch): Do not make the buffer dirty when moving the
1636 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1638 * vc-backend.C: STRCONV
1641 * text2.C (setCounter): STRCONV
1643 * paragraph.C (asString): STRCONV
1645 * lyxlength.C (asString): STRCONV
1646 (asLatexString): ditto
1648 * lyxgluelength.C (asString): STRCONV
1649 (asLatexString): ditto
1651 * lyxfunc.C (dispatch): STRCONV
1654 * lyxfont.C (stateText): STRCONV
1656 * importer.C (Import): STRCONV
1658 * counters.C (labelItem): STRCONV
1659 (numberLabel): ditto
1660 (numberLabel): remove unused ostringstream o
1665 * bufferview_funcs.C (currentState): STRCONV
1667 * buffer.C (readFile): STRCONV
1668 (asciiParagraph): ditto
1669 (makeLaTeXFile): ditto
1671 * Spacing.C (writeEnvirBegin): STRCONV
1673 * LaTeXFeatures.C (getLanguages): STRCONV
1674 (getPackages): ditto
1676 (getBabelOptions): ditto
1677 (getTClassPreamble): ditto
1678 (getLyXSGMLEntities): ditto
1679 (getIncludedFiles): ditto
1683 (scanAuxFile): ditto
1686 * LString.h: add the STRCONV macros
1688 * BufferView_pimpl.C (savePosition): STRCONV
1689 (restorePosition): ditto
1690 (MenuInsertLyXFile): ditto
1692 * vc-backend.C (scanMaster): change from submatch[...] to
1695 * funcrequest.C: include config.h
1697 * factory.C: include config.h
1699 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1701 * box.C: include config.h
1703 * LaTeX.C (scanAuxFile): change from submatch[...] to
1707 2002-10-25 Angus Leeming <leeming@lyx.org>
1709 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1711 * ispell.[Ch] (setError): new method.
1712 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1713 Use setError() insetead of goto END.
1715 * lyx_cb.C (AutoSave): move out child process into new class
1718 2002-10-30 John Levon <levon@movementarian.org>
1720 * text3.C: make start appendix undoable
1722 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1724 * lyxlength.C (inPixels): Fix returned value.
1726 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1729 2002-10-24 Angus Leeming <leeming@lyx.org>
1731 * lyxgluelength.h: no need to forward declare BufferParams
1732 or BufferView, so don't.
1734 2002-10-21 John Levon <levon@movementarian.org>
1736 * BufferView.C: menuUndo ->undo, redo
1738 * BufferView.h: document, remove dead, make some methods private
1740 * paragraph_funcs.h:
1741 * paragraph_funcs.C:
1742 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1747 * sgml.C: move sgml open/close tag into sgml.C
1749 * bufferview_funcs.h: unused prototype
1752 * lyxfunc.C: remove unused
1755 * text.C: remove unused
1757 2002-10-21 John Levon <levon@movementarian.org>
1761 * BufferView_pimpl.h:
1762 * BufferView_pimpl.C: fix mouse wheel handling based on
1763 patch from Darren Freeman
1765 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
1767 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1769 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
1771 * lyxlength.C (inPixels): Fix hanfling of negative length.
1772 Fix LyXLength::MU case.
1774 2002-10-16 John Levon <levon@movementarian.org>
1776 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1778 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1780 * converter.C (view): add support for $$i (file name) and $$p
1781 (file path) for the viewer command. If $$i is not specified, then
1782 it is appended to the command (for compatibility with old syntax)
1784 2002-10-14 Juergen Vigna <jug@sad.it>
1786 * undo_funcs.C (textHandleUndo): alter the order in which the
1787 new undopar is added to the LyXText, as we have to set first
1788 the right prev/next and then add it as otherwise the rebuild of
1789 LyXText is not correct. Also reset the cursor to the right paragraph,
1790 with this IMO we could remove the hack in "redoParagraphs()".
1792 2002-10-09 Angus Leeming <leeming@lyx.org>
1794 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1795 to turn off an optimisation if a new inset is to be inserted.
1797 2002-10-11 André Pönitz <poenitz@gmx.net>
1799 * lyxtext.h: make some functions public to allow access
1800 from inset/lyxtext for handling LFUN_PRIOR/NEXT
1802 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1804 * text3.C (dispatch): when changing layout, avoid an infinite loop
1807 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1809 * lyxrc.C (read): treat a viewer or converter command of "none" as
1812 * MenuBackend.C (expandFormats): for an update, also allow the
1813 formats that are not viewable
1815 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
1816 script if it is newer than the lyxrc.defaults in user directory
1818 2002-10-07 André Pönitz <poenitz@gmx.net>
1820 * text.C: Vitaly Lipatov's small i18n fix
1822 2002-09-25 Angus Leeming <leeming@lyx.org>
1824 * ispell.h: doxygen fix.
1826 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
1828 * buffer.h (readFile): Add a new argument to the method, to allow
1829 reading of old-format templates.
1831 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
1833 * toc.C (getTocList): Get TOC from InsetWrap.
1835 2002-09-16 John Levon <levon@movementarian.org>
1837 * lyxfunc.C: check tabular for cut/copy too
1839 2002-09-12 John Levon <levon@movementarian.org>
1844 * factory.C: add header
1846 * paragraph_funcs.h:
1847 * paragraph_funcs.C: cleanup
1849 2002-09-11 John Levon <levon@movementarian.org>
1851 * PrinterParams.h: odd/even default to true
1853 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1855 * PrinterParams.h: update printer parameters for new xforms dialog
1857 2002-09-11 Angus Leeming <leeming@lyx.org>
1859 * lyxserver.C (read_ready): re-write to make it more transparent
1860 and to make it work in coherent fashion under Tru64 Unix.
1862 2002-09-11 André Pönitz <poenitz@gmx.net>
1866 * text3.C: implement LFUN_WORDSEL
1868 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1870 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1871 make floatlist_ a boost::shared_ptr<FloatList>
1873 * lyxtextclass.C: include FloatList.h
1874 (LyXTextClass): initialize floatlist_
1875 (TextClassTags): add TC_NOFLOAT
1876 (Read): match "nofloat" to TC_NOFLOAT and use it.
1877 (readFloat): modify call to floatlist_
1881 * FloatList.[Ch] (FloatList): remove commented out float
1883 (erase): new function
1885 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1887 * MenuBackend.C (expandToc): fix crash when there is no document
1890 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
1892 * many files: Add insetwrap.
1894 2002-09-09 John Levon <levon@movementarian.org>
1896 * text2.C: remove confusing and awkward depth wraparound
1898 2002-09-09 John Levon <levon@movementarian.org>
1900 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1903 * buffer.C: remove getIncludeonlyList()
1906 * lyxfunc.C: remove headers
1908 2002-09-09 Juergen Vigna <jug@sad.it>
1910 * text.C (getColumnNearX): fix form Michael this is most
1911 probably a cut&paste bug.
1913 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1915 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1917 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1918 references, ws changes.
1920 * text2.C (init): update counters after init
1921 (insertParagraph): no need to set counter on idividual paragraphs.
1922 (setCounter): access the counters object in the textclass object
1923 on in the buffer object.
1924 (updateCounters): ditto
1926 * lyxtextclass.C: include counters.h, add variable ctrs_ as
1927 shared_ptr<Counters> to avoid loading counters.h in all
1929 (LyXTextClass): initialize ctrs_
1930 (TextClassTags): add TC_COUNTER, and ...
1931 (Read): use it here.
1932 (CounterTags): new tags
1933 (readCounter): new function
1934 (counters): new funtion
1935 (defaultLayoutName): return a const reference
1937 * counters.C (Counters): remove contructor
1938 (newCounter): remove a couple of unneeded statements.
1939 (newCounter): simplify a bit.
1940 (numberLabel): some small formatting changes.
1942 * buffer.[Ch]: remove all traces of counters, move the Counters
1943 object to the LyXTextClass.
1945 2002-09-06 Alain Castera <castera@in2p3.fr>
1947 * tabular.C: uses \tabularnewline; uses >{...} construct from array
1948 package to set the horizontal alignment on fixed width columns.
1951 * lyx_sty.h: added tabularnewline macro def.
1953 * LaTeXFeatures.C: added NeedTabularnewline macro feature
1955 2002-09-06 John Levon <levon@movementarian.org>
1957 * LyXAction.C: tooltips for sub/superscript
1959 * MenuBackend.C: a bit more verbose
1961 * lyxfunc.C: tiny clean
1963 * undo_funcs.C: document undo_frozen
1965 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1967 * counters.C (Counters): add missing algorithm counter.
1969 * text2.C (setCounter): lookup the counter with layouts latexname
1970 instead of by section number.
1971 (setCounter): use a hackish way to lookup the correct enum
1973 a float name->type change
1974 reset enum couners with counter name directly instead of depth value.
1976 * counters.C (Counters): remove the push_backs, change to use the
1977 float type not the float name.
1978 (labelItem): remove unused string, float name->type change
1980 * counters.h: don't include vector, loose the enums and sects vectors
1982 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1984 * lyxtextclass.C (TextClassTags): add TC_FLOAT
1985 (Read): add float->TC_FLOAT to textclassTags
1986 (Read): and handle it in the switch
1987 (readFloat): new function
1989 * FloatList.C (FloatList): comment out the hardcoded float
1992 * lyxlayout.h: ws change.
1994 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
1996 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
1998 2002-09-03 Angus Leeming <leeming@lyx.org>
2000 * BufferView_pimpl.h: qualified name is not allowed in member
2001 declaration: WorkArea & Pimpl::workarea() const;
2003 * factory.C: added using std::endl directive.
2005 * text3.C: added using std::find and std::vector directives.
2007 2002-08-29 André Pönitz <poenitz@gmx.net>
2010 * text2.C: remove unused member number_of_rows
2013 * BufferView2.C: remove file, move contents to...
2014 * BufferView.C: ... here
2016 * BufferView_pimpl.C:
2017 * factory.C: move more inset creation to factory
2019 * vspace.C: avoid direct usage of LyXText, ws changes
2022 don't provide direct access to WorkArea, use two simple
2023 acessors haveSelction() and workHeight() instead
2026 2002-08-29 John Levon <levon@movementarian.org>
2028 * BufferView_pimpl.C (dispatch): do not continue when
2031 2002-08-28 André Pönitz <poenitz@gmx.net>
2033 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
2036 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
2038 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2040 * buffer.C: increment LYX_FORMAT to 221
2042 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
2043 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
2045 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
2047 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
2049 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2051 * factory.C (createInset): use LyXTextClass::floats
2053 * MenuBackend.C (expandFloatListInsert):
2054 (expandFloatInsert):
2057 * text2.C (setCounter):
2059 * LaTeXFeatures.C (useFloat):
2060 (getFloatDefinitions):
2062 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
2064 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
2065 floatlist_, with accessor floats().
2067 * FloatList.h: remove global FloatList
2069 2002-08-26 André Pönitz <poenitz@gmx.net>
2071 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
2075 * BufferView_pimpl.C:
2076 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
2078 2002-08-25 John Levon <levon@movementarian.org>
2080 * LyXAction.C: fix margin note description
2082 2002-08-24 John Levon <levon@movementarian.org>
2086 * bufferview_funcs.C:
2088 * undo_funcs.C: cleanups
2090 * lyxfunc.C: disable CUT/COPY when no selection
2092 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2094 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
2095 in "enum UNIT"; e.g. PTW for Percent of TextWidth
2097 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
2098 Add backward compatibility to "mono", "gray" and "no".
2100 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
2102 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
2103 (and file_format >= 200).
2105 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2107 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
2109 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2111 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
2113 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
2115 * BufferView_pimpl.C:
2122 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2123 inset and code to make it work with the paragraph code. The inset
2124 can be anywhere in the paragraph, but will only do the expected
2125 thing in LaTeX if the layout file contains the parameter line
2127 (or more generally, a nonzero value) for that layout.
2129 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2131 * paragraph.h: remove the declaration of undefined counters class
2134 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
2136 * text2.C (setCounter): fixed enumeration mis-count as reported by
2137 Dr. Richard Hawkins.
2139 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2141 * paragraph_funcs.h: remove some unneeded includes
2143 * text.C (backspace): pasteParagraph now in global scipe
2145 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2146 (pasteSelection): ditto
2148 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2149 * paragraph_funcs.C (pasteParagraph): ... here
2151 2002-08-20 André Pönitz <poenitz@gmx.net>
2153 * commandtags.h: new LFUNs for swapping/copying table row/colums
2156 * lyxfunc.C: support for new lfuns
2158 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2161 * buffer.[Ch]: remove NO_COMPABILITY stuff
2163 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
2165 * boost.C (throw_exception): new file, with helper function for
2166 boost compiled without exceptions.
2171 * ParameterStruct.h:
2172 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2174 * bufferlist.C (emergencyWriteAll): use boost bind
2176 * BufferView_pimpl.C (moveCursorUpdate): remove inline
2178 * text.C: include paragraph_funcs.h
2179 (breakParagraph): breakParagraph is now in global scope
2181 * paragraph_funcs.[Ch]: new files
2183 * paragraph.C (breakParagraph,breakParagraphConservative): move to
2186 * buffer.C: include paragraph_funcs.h
2187 (insertStringAsLines): breakParagraph is now in global scope
2189 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2192 * CutAndPaste.C: include paragraph_funcs.h
2193 (cutSelection): breakParagraphConservative is now in global scope
2194 (pasteSelection): ditto
2196 * buffer.h: declare oprator== and operator!= for
2197 Buffer::inset_iterator
2199 * bufferlist.C (emergencyWrite): don't use fmt(...)
2201 * text3.C: add using std::endl
2203 * BufferView.C (moveCursorUpdate): remove default arg
2205 2002-08-20 André Pönitz <poenitz@gmx.net>
2207 * buffer.[Ch]: move inline functions to .C
2210 * BufferView_pimpl.C:
2212 * buffer.[Ch]: use improved inset_iterator
2215 * paragraph.[Ch]: write one paragraph at a time
2217 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
2219 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2220 style if style is not specified.
2222 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2224 * text2.C (setCounter): when searching for right label for a
2225 caption, make sure to recurse to parent insets (so that a caption
2226 in a minipage in a figure float works) (bug #568)
2228 2002-08-20 André Pönitz <poenitz@gmx.net>
2230 * text3.C: new file for LyXText::dispatch() and helpers
2232 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2234 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2236 2002-08-19 André Pönitz <poenitz@gmx.net>
2239 * text.C: new LyXText::dispatch()
2241 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2243 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
2245 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2247 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2250 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2252 * Makefile.am: use $(variables) instead of @substitutions@
2254 2002-08-15 André Pönitz <poenitz@gmx.net>
2257 * BufferView_pimpl.C: streamlining mathed <-> outer world
2261 * LyXAction.C: remove unused LFUN_MATH
2263 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2265 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2267 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2269 * paragraph.C (Paragraph): reformat a bit
2270 (cutIntoMinibuffer): use builtin InsetList function instad of
2274 * buffer.C: include boost/bind.hpp, add using std::for_each
2275 (writeFileAscii): use ParagraphList iterators
2276 (validate): use for_each for validate traversal of paragraphs
2277 (getBibkeyList): use ParagraphList iterators
2278 (resizeInsets): use for_each to resizeInsetsLyXText for all
2280 (getParFromID): use ParagraphList iterators
2282 * BufferView2.C (lockInset): use paragraph list and iterators
2284 2002-08-14 John Levon <levon@movementarian.org>
2286 * lyxserver.C: remove spurious xforms include
2288 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2290 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2292 2002-08-13 André Pönitz <poenitz@gmx.net>
2295 * lyxfunc.C: further cleaning
2297 2002-08-13 André Pönitz <poenitz@gmx.net>
2299 * funcrequest.h: new constructor
2301 * funcrequest.C: move stuff here from .h
2304 * BufferView_pimpl.C:
2307 * lyxfunc.C: subsequent changes
2309 * lyxfunc.h: new view() member function
2311 * lyxfunc.C: subsequent changes
2313 2002-08-13 Angus Leeming <leeming@lyx.org>
2316 * BufferView_pimpl.C:
2324 changes due to the changed LyXView interface that now returns references
2325 to member variables not pointers.
2327 2002-08-13 Angus Leeming <leeming@lyx.org>
2329 * WordLangTuple (word, lang_code): return references to strings,
2334 * lyxtext.h: forward-declare WordLangTuple.
2339 * text.C: #include "WordLangTuple.h".
2342 * text.C: (selectNextWordToSpellcheck): constify return type.
2344 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2350 * paragraph_pimpl.h:
2353 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2355 Made updateCounter always count from start of buffer, and removed
2356 second argument (par).
2357 Reverted floats number display to '#'. Perhaps I'll try again when the
2358 code base is sanitized a bit.
2360 2002-08-12 Angus Leeming <leeming@lyx.org>
2362 * buffer.[Ch] (getLabelList): constify.
2364 2002-08-07 André Pönitz <poenitz@gmx.net>
2366 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2368 * funcrequest.h: extension to keep mouse (x,y) position
2370 2002-08-12 Juergen Vigna <jug@sad.it>
2372 * BufferView2.C (insertErrors): forbid undo when inserting error
2375 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2377 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2379 * ParagraphList.[Ch]: new files
2381 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2383 * BufferView2.C (lockInset): ParagraphList changes
2386 * bufferlist.C: ditto
2390 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2392 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2393 unused class variable counter_,
2395 * paragraph.[Ch] (getFirstCounter): delete unused function
2397 * counters.C: include LAssert.h
2398 (reset): add a new function with no arg, change other version to
2399 not have def. arg and to not allow empty arg.
2401 * text2.C (setCounter): remove empty arg from call to Counters::reset
2403 2002-08-11 John Levon <levon@movementarian.org>
2405 * Makefile.am: add WordLangTuple.h
2407 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2409 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2410 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2412 * insets/insettext.C: InsetList changes
2414 * graphics/GraphicsSupport.C (operator()): InsetList changes
2416 * toc.C (getTocList): InsetList changes
2418 * paragraph_pimpl.[Ch]: InsetList changes
2420 * paragraph.[Ch]: InsetList changes
2422 * buffer.C (inset_iterator): InsetList changes
2423 (setParagraph): ditto
2424 * buffer.h (inset_iterator): ditto
2425 * iterators.C (operator++): ditto
2426 * iterators.h: ditto
2428 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2430 * InsetList.[Ch]: new files, most InsetList handling moved out of
2433 * BufferView2.C (removeAutoInsets): InsetList changes
2435 (ChangeInsets): ditto
2437 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2439 * paragraph_pimpl.h (empty): new function
2441 * paragraph.[Ch] (empty): new function
2443 * other files: use the new Paragraph::empty function
2445 2002-08-09 John Levon <levon@movementarian.org>
2447 * lyxtext.h: remove unused refresh_height
2449 2002-08-09 John Levon <levon@movementarian.org>
2456 * paragraph.C: move sgml char escaping out of paragraph
2459 * paragraph.C: remove id setter
2463 * paragraph_pimpl.C: remove dead tex_code_break_column
2465 * bufferview_funcs.C: small cleanup
2467 * lyxfunc.C: remove dead proto
2469 * lyxtext.h: make some stuff private. Remove some dead stuff.
2471 * lyxgluelength.C: make as[LyX]String() readable
2473 2002-08-08 John Levon <levon@movementarian.org>
2478 * ToolbarDefaults.C:
2481 * toc.C: lyxaction cleanup
2483 2002-08-08 John Levon <levon@movementarian.org>
2485 * BufferView2.C: small cleanup
2488 * lyxfind.C: move unnecessary header into the .C
2490 2002-08-08 John Levon <levon@movementarian.org>
2492 * funcrequest.h: just tedious nonsense
2495 * lyx_main.C: cleanups
2498 * vspace.C: remove dead header lyx_main.h
2500 2002-08-07 Angus Leeming <leeming@lyx.org>
2503 * paragraph_pimpl.h:
2504 Forward declare class Counters in paragraph.h by moving the ctrs member
2505 variable into Paragraph::Pimpl.
2506 (counters): new method, returning a reference to pimpl_->ctrs.
2508 * text2.C: ensuing changes.
2510 2002-08-07 John Levon <levon@movementarian.org>
2512 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2514 * BufferView_pimpl.C: announce X selection on double/triple
2517 * lyx_main.C: use correct bool in batch dispatch
2519 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2521 2002-08-07 André Pönitz <poenitz@gmx.net>
2523 * funcrequest.h: new class to wrap a kb_action and its argument
2526 * BufferView_pimpl[Ch]:
2530 * lyxrc.C: subsequent changes
2533 2002-08-07 John Levon <levon@movementarian.org>
2535 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2536 document options change.
2538 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2543 * makefile.am: move counters functionality over from
2544 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2546 2002-08-06 John Levon <levon@movementarian.org>
2548 * WordLangTuple.h: new file for word + language code tuple
2559 * BufferView2.C: use WordLangTuple
2562 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2564 2002-08-06 John Levon <levon@movementarian.org>
2566 * lyx_main.C: fix cmdline batch handling
2568 2002-08-06 André Pönitz <poenitz@gmx.net>
2570 * lyxrc.C: set default for show_banner to true
2572 2002-08-06 John Levon <levon@movementarian.org>
2574 * pspell.C: fix a crash, and allow new aspell to work
2576 2002-08-06 John Levon <levon@movementarian.org>
2579 * kbmap.C: small cleanup
2582 * vspace.C: add const
2584 2002-08-05 John Levon <levon@movementarian.org>
2586 * LyXAction.C: back to tabular-insert
2588 2002-08-04 John Levon <levon@movementarian.org>
2591 * BufferView.C: cosmetic change
2593 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2603 * BufferView2.C: purge all "Lyx" not "LyX" strings
2606 * lyxcursor.C: attempt to add some documentation
2611 * ToolbarDefaults.C:
2612 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2613 merge with LFUN_TABULAR_INSERT
2620 * pspell.C: split up i/pspell implementations into separate
2621 files, many cleanups
2623 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2625 * text2.C: some cleanup
2627 * lyxfunc.C: don't check for isp_command == "none" any more, it
2628 didn't make any sense
2630 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2635 * makefile.am: move counters functionality over
2636 from text2.C/paragraph.[Ch] to counters.[Ch], and
2638 2002-08-02 John Levon <levon@movementarian.org>
2640 * buffer.C: s/lyxconvert/lyx2lyx/
2642 2002-08-02 Angus Leeming <leeming@lyx.org>
2644 * lyxlex.C: revert John's change as it breaks reading of the user
2647 2002-08-02 Angus Leeming <leeming@lyx.org>
2649 * importer.C (Import):
2650 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2651 changes due to LyXView::view() now returning a boost::shared_ptr.
2653 2002-08-02 John Levon <levon@movementarian.org>
2655 * lyxlex.C: small cleanup
2657 2002-08-02 John Levon <levon@movementarian.org>
2659 * text2.C (status): small cleanup, no logic change
2661 2002-08-01 John Levon <levon@movementarian.org>
2664 * buffer.C (writeFile): don't output alerts, caller
2668 * lyx_cb.C: from above
2670 * lyxfunc.C: allow to open non-existent files
2672 2002-07-31 John Levon <levon@movementarian.org>
2674 * lyxserver.C: don't let incidental errors get
2677 2002-07-30 John Levon <levon@movementarian.org>
2679 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2681 2002-07-30 John Levon <levon@movementarian.org>
2684 * lyxserver.C: remove I/O callback too
2686 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2688 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2691 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2693 * many files: strip,frontStrip -> trim,ltrim,rtrim
2695 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2697 * PrinterParams.h: remove extern containsOnly, and include
2698 support/lstrings.h instead.
2700 * LaTeX.C (scanAuxFile): modify because of strip changes
2702 * buffer.C (makeLaTeXFile): ditto
2703 * bufferparams.C (writeFile): ditt
2704 * lyxfont.C (stateText): ditto
2705 * lyxserver.C (read_ready): ditto
2706 * vc-backend.C (scanMaster): ditto
2708 * BufferView_pimpl.h: ws changes
2710 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2712 2002-07-26 André Pönitz <poenitz@gmx.net>
2714 * kb_sequence.C: remove unnedred usings
2716 2002-07-26 Juergen Vigna <jug@sad.it>
2718 * lyxfind.C (LyXReplace): we have to check better if the returned
2719 text is not of theLockingInset()->getLockingInset().
2721 2002-07-25 Juergen Vigna <jug@sad.it>
2723 * lyxfind.C (LyXReplace): don't replace if we don't get the
2726 * undo_funcs.C (createUndo): remove debugging code.
2728 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2730 * buffer.C (parseSingleLyXformat2Token): Use default placement
2731 when reading old floats.
2733 * FloatList.C (FloatList): Change the default placement of figure
2734 and tables to "tbp".
2736 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
2738 * MenuBackend.C: using std::max
2740 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2742 * MenuBackend.C (expandToc):
2743 (expandToc2): code moved from xforms menu frontend. It is now
2744 generic and TOCs are transparent to menu frontends.
2746 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2748 * toc.C (getTocList): protect against buf=0
2750 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2751 Menu as first parameter. Now, this calls itself recursively to
2752 expand a whole tree (this will be useful for TOC handling)
2753 (expandFloatInsert): remove 'wide' version of floats
2755 * MenuBackend.h (submenuname): returns the name of the submenu.
2756 (submenu): returns the submenu itself, provided it has been
2757 created by MenuBackend::expand
2759 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2761 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2762 insets which have noFontChange == true. (bug #172)
2764 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2766 * BufferView_pimpl.C: add connection objects and use them...
2769 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2771 * MenuBackend.C (expandLastfiles):
2774 (expandFloatListInsert):
2775 (expandFloatInsert):
2776 (expand): split expand in parts
2778 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2780 * lyx_gui.C: use lyx_gui::exit()
2782 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2784 * LyXAction.C: show the failing pseudo action
2786 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
2788 * buffer.C (readFile): Run the lyxconvert script in order to read
2791 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2795 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2797 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2801 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2803 2002-07-22 Herbert Voss <voss@lyx.org>
2806 * lyxlength.[Ch]: add support for the vertical lengths
2808 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
2810 * toc.[Ch]: std:: fixes
2812 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2814 * lyxrc.C: do not include lyx_main.h
2816 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
2822 * BufferView2.C: include "lyxlex.h"
2825 * bufferparams.h: do not #include "lyxlex.h"
2827 * lyxtextclasslist.C (Add): remove method
2828 (classlist): renamed to classlist_
2830 * paragraph_pimpl.C:
2834 * bufferview_funcs.C:
2839 * toc.C (getTocList): use BufferParams::getLyXTextClass
2841 * toc.C (getTocList): use InsetFloat::addToToc
2843 * toc.[Ch]: new files, containing helper functions to handle table
2846 * lyxfunc.C (dispatch): no need to remove spaces around command
2848 (getStatus): handle LFUN_SEQUENCE by returning the status of the
2849 first command of the sequence; it is not very clever, but I do not
2850 have a better idea, actually
2852 * LyXAction.C (LookupFunc): make sure to remove space at the
2853 beginning and end of the command
2855 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2857 * MenuBackend.C (getMenubar): new method: return the menubar of
2859 (read): treat differently reading of menu and menubar (in
2860 particular, the menubar has no name now)
2861 (Menu::menubar): remove
2863 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2866 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2868 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2869 a bibitem inset in a RTL paragraph.
2871 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
2873 * paragraph_pimpl.C: constify
2875 * BufferView_pimpl.C:
2877 * lyxfunc.C: fix dispatch in a nicer way
2879 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2881 * lyxfunc.C (dispatch):
2882 * BufferView_pimpl.C:
2883 * BufferView_pimpl.h:
2885 * BufferView.h: rename Dispatch() to dispatch()
2887 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2889 * lyxlayout.C (Read): honor DependsOn tag
2891 * lyxlayout.[Ch] (depends_on): new method
2893 * version.C.in: update lyx_docversion
2895 * LaTeXFeatures.C (getMacros): only define \LyX when needed
2897 * paragraph.C (validate): remove from here...
2898 * paragraph_pimpl.C (validate): ... and move here
2899 (isTextAt): make it const
2901 * buffer.C (getLists): ws cleanup
2903 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2905 * language.C (read): Use iso8859-1 encoding in latex_lang
2906 (this prevents LyX from crashing when using iso10646-1 encoding).
2908 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2910 * text2.C (toggleInset): if cursor is inside an inset, close the
2911 inset and leave cursor _after_ it
2913 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2915 * lyxfunc.C: move minibuffer completion handling out of here
2917 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2919 * BufferView_pimpl.C:
2920 * LaTeX.C: fix dispatch calls
2922 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
2924 * text.C (drawChars): Fix Arabic text rendering.
2926 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
2930 * lyxfunc.C: remove message-push/pop
2934 * lyxfunc.C: rationalise some code by removing verboseDispatch
2935 in favour of a bool argument to dispatch()
2937 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2939 * lyx_main.C (init): make sure to read symlinks as absolute paths
2941 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2944 * lyxfunc.C: no need for commandshortcut to be a member
2946 2002-07-15 André Pönitz <poenitz@gmx.net>
2948 * converter.C: add support for $$s (scripts from lib/scripts dir)
2949 * lyx_main.C: white space
2951 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2955 * lyxrc.C: remove second exit confirmation
2957 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2962 * BufferView_pimpl.h:
2963 * BufferView_pimpl.C:
2964 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2966 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2968 * MenuBackend.C (expand): add numeric shortcuts to document menu
2970 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
2972 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2974 * lyxfont.C (setLyXFamily):
2981 * buffer.C (asciiParagraph): use ascii_lowercase
2983 2002-07-15 Mike Fabian <mfabian@suse.de>
2985 * lyxlex_pimpl.C (search_kw):
2986 * lyxlex.C (getLongString):
2987 * converter.h (operator<):
2988 * converter.C (operator<):
2989 * buffer.C (parseSingleLyXformat2Token):
2991 * ToolbarDefaults.C (read):
2992 * MenuBackend.C (checkShortcuts):
2994 * LColor.C (getFromGUIName):
2995 (getFromLyXName): use the compare_ascii_no_case instead of
2996 compare_no_case, because in turkish, 'i' is not the lowercase
2997 version of 'I', and thus turkish locale breaks parsing of tags.
2999 2002-07-16 Angus Leeming <leeming@lyx.org>
3001 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
3002 now takes a Buffer const & argument.
3004 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3006 * BufferView.C (resize): check there's a buffer to resize
3008 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
3010 * lyxfunc.C: remove dead code
3013 * lyxserver.C: use lyx_guii::set_read_callback
3015 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3017 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
3018 an inset in a RTL paragraph.
3020 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3022 * lyxfunc.C: repaint after a font size update
3024 2002-07-15 André Pönitz <poenitz@gmx.net>
3026 * lyxlength.C: inBP should be able to return negative values
3028 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3030 * lyxfunc.C: use lyx_gui::update_fonts()
3032 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3034 * lyxfunc.C: use lyx_gui::update_color()
3036 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3042 * lyxrc.C: remove file->new asks for name option, and let
3043 buffer-new take an argument
3045 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3047 * BufferView_pimpl.C: remove unneeded extra repaint()
3049 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
3051 * LyXAction.C: allow command-sequence with NoBuffer
3053 * lyxfunc.C: don't insist on trailing ';' for command-sequence
3055 2002-07-10 Angus Leeming <leeming@lyx.org>
3057 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
3059 2002-07-09 Angus Leeming <leeming@lyx.org>
3061 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
3063 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3065 * lengthcommon.h: whitespace
3067 * lyxfunc.C: update scrollbar after goto paragraph
3069 * lyxtext.h: factor out page break drawing, and fix it so
3070 page break/added space paints as selected nicely
3072 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3074 * BufferView_pimpl.C: add FIXMEs, clean up a little
3076 2002-07-09 André Pönitz <poenitz@gmx.net>
3078 * lyxfont.[Ch]: support for wasy symbols
3080 2002-07-08 André Pönitz <poenitz@gmx.net>
3082 * BufferView_pimpl.C: apply John's patch for #93.
3084 2002-07-05 Angus Leeming <leeming@lyx.org>
3086 * BufferView_pimpl.C (buffer): generate previews if desired.
3088 * LColor.h: add "preview" to the color enum.
3090 * LColor.C (LColor): add a corresponding entry to the items array.
3092 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
3095 2002-07-05 Angus Leeming <leeming@lyx.org>
3097 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
3098 The body of the code is now in the method that is passed an ostream &
3099 rather than a file name.
3100 Pass an additional only_preamble parameter, useful for the forthcoming
3103 2002-07-03 André Pönitz <poenitz@gmx.net>
3105 * lyxfunc.C: simplify getStatus() a bit for math stuff
3107 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3109 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
3111 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3113 * text.C (changeRegionCase): do not change case of all the
3114 document when region ends at paragraph end (bug #461)
3116 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3118 * paragraph.C (startTeXParParams):
3119 (endTeXParParams): add \protect when necessary
3121 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3123 * BufferView_pimpl.C (workAreaExpose): remove warning
3125 2002-06-27 Angus Leeming <leeming@lyx.org>
3127 * Makefile.am: add lyxlayout_ptr_fwd.h.
3129 2002-06-26 André Pönitz <poenitz@gmx.net>
3131 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3133 2002-06-25 Angus Leeming <leeming@lyx.org>
3135 * lyxfunc.C (dispatch): Comment out the call to
3136 grfx::GCache::changeDisplay. The method no longer exists now that the
3137 pixmap generation part of the graphics loader has been moved into
3140 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3142 * text2.C: layout as layout
3144 * text.C: layout as layout
3146 * tabular.C (OldFormatRead): layout as layout
3148 * paragraph_pimpl.C (TeXDeeper): layout as layout
3149 (realizeFont): layout as layout
3151 * paragraph.C (writeFile): layout as layout
3152 (validate): layout as layout
3153 (getFont): layout as layout
3154 (getLabelFont): layout as layout
3155 (getLayoutFont): layout as layout
3156 (breakParagraph): layout as layout
3157 (stripLeadingSpaces): layout as layout
3158 (getEndLabel): layout as layout
3159 (getMaxDepthAfter): layout as layout
3160 (applyLayout): layout as layout
3161 (TeXOnePar): layout as layout
3162 (simpleTeXOnePar): layout as layout
3163 (TeXEnvironment): layout as layout
3164 (layout): layout as layout
3165 (layout): layout as layout
3167 * lyxtextclass.C (compare_name): new functor to work with
3168 shared_ptr, layout as layout
3169 (Read): layout as layout
3170 (hasLayout): layout as layout
3171 (operator): layout as layout
3172 (delete_layout): layout as layout
3173 (defaultLayout): layout as layout
3175 * lyxlayout_ptr_fwd.h: new file
3177 * lyxlayout.C (Read): layout as layout
3179 * lyx_cb.C (MenuInsertLabel): layout as layout
3181 * bufferlist.C (newFile): layout as layout
3183 * buffer.C (readLyXformat2): layout as layout
3184 (parseSingleLyXformat2Token): layout as layout
3185 (insertStringAsLines): layout as layout
3186 (asciiParagraph): layout as layout
3187 (latexParagraphs): layout as layout
3188 (makeLinuxDocFile): layout as layout
3189 (simpleLinuxDocOnePar): layout as layout
3190 (makeDocBookFile): layout as layout
3191 (simpleDocBookOnePar): layout as layout
3192 (getLists): layout as layout
3194 * LaTeXFeatures.C (getTClassPreamble): layout as layout
3196 * CutAndPaste.C (cutSelection): layout as layout
3197 (pasteSelection): layout as layout
3198 (SwitchLayoutsBetweenClasses): layout as layout
3200 * BufferView_pimpl.C (Dispatch): layout as layout
3201 (smartQuote): layout as layout
3203 * BufferView2.C (unlockInset): layout as layout
3205 2002-06-24 André Pönitz <poenitz@gmx.net>
3207 * lyxfunc.C: fix #487
3209 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3213 * lyxfunc.C: remove display_shortcuts, show_banner
3215 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3217 * Buffer_pimpl.C: oops, update on resize
3219 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3226 * BufferView.C: use repaint()
3228 * BufferView_pimpl.h:
3229 * BufferView_pimpl.C: s/updateScreen()/repaint()/
3230 as it's a clearer description. Remove superfluous
3233 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3235 * text.C: fix bug 488. Not ideal, but getting
3236 getWord() to work properly for the insets that
3237 matter is more difficult ...
3239 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3241 * BufferView_pimpl.C:
3244 * lyxfunc.C: remove the six million index lyxfuncs to just
3245 one, and DTRT (bug 458)
3247 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3251 * BufferView_pimpl.h:
3252 * BufferView_pimpl.C: clean up resize() stuff,
3253 and unnecessary updateScreen()s
3255 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3259 * BufferView_pimpl.h:
3260 * BufferView_pimpl.C:
3263 * minibuffer.C: remove focus management of workarea,
3264 not needed. Use screen's greyOut()
3266 2002-06-17 Herbert Voss <voss@lyx.org>
3268 * converter.C: (convert) do not post a message, when converting
3269 fails, let the calling function decide what to do in this case
3271 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3273 * lyxfunc.C: tidy up a little
3275 2002-06-16 <alstrup@diku.dk>
3277 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3278 Got rid of FORMS_H_LOCATION include. Now we are
3281 2002-06-15 LyX Development team <lyx@rilke>
3283 * buffer.[Ch] (sgmlOpenTag):
3284 (sgmlCloseTag): Added support for avoiding pernicious mixed
3285 content. Return number of lines written.
3288 (makeDocBookFile): Fixed calls to sgml*Tag.
3289 Simple white space clean.
3291 (simpleDocBookOnePar): Simple white space clean.
3293 * tabular.[Ch] (docBook): Renamed to docbook and got another
3294 argument to related with the pernicious mixed content.
3296 (docbookRow): Fixed calls for docbook inset method.
3298 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3300 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3301 so it's X11 independent.
3305 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3307 2002-06-15 Lyx Development team <lyx@electronia>
3309 * intl.h: Renamed getTrans to getTransManager.
3311 2002-06-14 Angus Leeming <leeming@lyx.org>
3313 * Makefile.am: nuke forgotten stl_string_fwd.h.
3315 2002-06-12 Angus Leeming <leeming@lyx.org>
3317 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3319 2002-06-13 Angus Leeming <leeming@lyx.org>
3322 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3324 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3326 * kbmap.C (getiso): add support for cyrillic and greek
3328 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3332 * BufferView_pimpl.h:
3333 * BufferView_pimpl.C: move bogus scrolling logic
3336 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3339 * BufferView_pimpl.C: view->resize() change
3341 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3343 * BufferView_pimpl.C: topCursorVisible
3346 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3350 * lyx_gui.C: move to frontends/
3354 * lyx_main.C: changes from above
3356 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3363 * lyx_main.C: minor tidy
3365 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3367 * BufferView_pimpl.h:
3368 * BufferView_pimpl.C:
3370 * BufferView.C: make painter() const,
3373 * BufferView2.C: use screen() accessor
3376 * lyx_main.C: some minor cleanup
3378 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3380 * BufferView_pimpl.h:
3381 * BufferView_pimpl.C: remove enter/leaveView,
3384 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3389 * BufferView_pimpl.h:
3390 * BufferView_pimpl.C: only construct screen once,
3393 * lyxrc.C: remove pointless comment
3395 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3398 * BufferView.C: remove active() and belowMouse()
3400 * BufferView_pimpl.h:
3401 * BufferView_pimpl.C: use workarea() not workarea_,
3402 and make it use a scoped_ptr instead
3404 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3406 * lyx_gui.C: add debug message on BadWindow
3408 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3410 * sp_spell.C: fdopen is not part of the C++ standard.
3412 * paragraph.C (InsetIterator): use >= instead of ==
3414 2002-06-07 Angus Leeming <leeming@lyx.org>
3416 Fixes needed to compile with Compaq cxx 6.5.
3417 * BufferView_pimpl.C:
3424 * lyxtextclasslist.C:
3429 all c-library variables have been moved into namespace std. Wrap
3430 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3435 Add a using std::abs declaration.
3437 * kbmap.h (modifier_pair):
3438 * paragraph.h (InsetTable, InsetList):
3439 * lyxfont.h (FontBits):
3440 type definition made public.
3442 * bufferlist.C (emergencyWriteAll): the compiler complains that
3443 there is more than one possible lyx::class_fun template to choose from.
3444 I re-named the void specialisation as lyx::void_class_fun.
3446 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3448 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3449 the compiler is is unable to find tostr in write_attribute.
3451 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3453 * buffer.C (sgmlError): hide #warning
3455 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3457 * xtl/*: get rid of xtl, which is not in use anyway
3459 * LyXAction.C (init):
3460 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3461 were unimplemented xtl experimentation
3463 2002-06-04 André Pönitz <poenitz@gmx.net>
3465 * lyxfunc.C: disable array operation on simple formulae
3467 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3469 * converter.C: constify a bit
3471 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3473 * lyx_gui.C: check xforms version correctly
3475 2002-04-30 Herbert Voss <voss@lyx.org>
3477 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3480 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3482 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3483 attempt to register it with a VCS)
3485 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3487 * lyx_main.C (init): honor variables LYX_DIR_13x and
3490 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3494 * lyx_main.C: fix a crash on bad command line,
3495 and give a useful exit status on error
3497 * lyxfunc.C (doImport): allow -i lyx to work
3499 2002-03-30 André Pönitz <poenitz@gmx.net>
3501 * lyxfunc.C: mathed font changes
3503 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3518 * trans_mgr.h: srcdocs, and some minor cleanups
3520 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3522 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3523 call getFont all the time)
3525 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3527 * switch from SigC signals to boost::signals
3529 2002-05-29 André Pönitz <poenitz@gmx.net>
3531 * paragraph_pimpl.C (getChar): don't call size() too often...
3533 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3535 * paragraph_pimpl.C (insertChar): do not try to update tables when
3536 appending (pos == size())
3538 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3539 in order to reduce drastically the number of comparisons needed to
3540 parse a large document
3542 2002-05-29 André Pönitz <poenitz@gmx.net>
3548 * textclasslist.[Ch]:
3549 * sp_ispell.h: whitespace change
3551 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3553 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3554 lyxaction directly now.
3556 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3560 * lyxvc.C: remove unused headers
3562 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3569 * undo_funcs.C: some cleanups. Use shared_ptr
3570 and a template for the undo stacks.
3572 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3574 * BufferView_pimpl.h:
3575 * BufferView_pimpl.C:
3582 * text2.C: use key_state/mouse_state
3584 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3586 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3589 * chset.C: change include order
3590 (loadFile): use boost regex and get rid of LRegex and LSubstring
3592 * Makefile.am (BOOST_LIBS): new variable
3595 * LaTeX.C: change include order.
3596 (scanAuxFile): use boost regex and get rid of LRegex and
3600 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3605 * FontInfo.C: moved to frontends/xforms/
3608 * FontLoader.C: moved into frontends for GUIIzation
3613 * lyxfunc.C: changes from above
3615 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3617 * LColor.C: remove spurious X include
3619 * BufferView_pimpl.C:
3624 * text2.C: move font metrics to frontends/
3626 2002-05-24 Juergen Vigna <jug@sad.it>
3628 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3629 setting the undo_cursor.
3631 * ParagraphParameters.h: include local includes first.
3633 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3635 * BufferView_pimpl.C:
3636 * BufferView_pimpl.h:
3640 * screen.C: move WorkArea into frontends/
3646 * BufferView2.C: move LyXScreen into frontends/
3650 * lyx_gui.C: move lyxlookup into frontends/xforms/
3652 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3655 * BufferView_pimpl.C:
3665 * bufferview_funcs.C:
3678 * vc-backend.C: move LyX/XFormsView into frontends/
3680 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3692 * text2.C: move Painter to frontends/
3694 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3696 * buffer.C: comment out some some code that depend upon lyx_format
3699 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3700 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3702 * buffer.h (NO_COMPABILITY): turn off compability
3704 * ColorHandler.C: include scoped_array.hpp
3706 * font.C: Use more specific smart_ptr header.
3709 * ShareContainer.h: ditto
3713 * BufferView_pimpl.h: ditto
3714 * ColorHandler.h: ditto
3716 * kbmap.C (defkey): change call to shared_ptr::reset
3718 2002-05-21 Juergen Vigna <jug@sad.it>
3720 * buffer.C (insertErtContents): fix to insert ert asis if it is
3721 non empty. Skip it completely if it contains only whitespaces.
3723 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3725 * BufferView_pimpl.C:
3726 * BufferView2.C: clear selection on paste (bug 393)
3728 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3730 * DepTable.C: include ctime
3732 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3734 * buffer.C (latexParagraphs): Add new argument (moving_arg).
3736 2002-05-14 Juergen Vigna <jug@sad.it>
3738 * text.C (breakParagraph): fixed function to honor the keepempty
3739 layout in the right maner and also to permit the right breaking
3740 algorithm on empty or non empyt keepempty paragraphs.
3742 * paragraph.C (breakParagraph): we have to check also if the par
3743 is really empty (!size()) for isempty otherwise we do the wrong
3746 2002-05-10 Juergen Vigna <jug@sad.it>
3748 * buffer.[Ch] : The following are only changes to the ert
3749 compatibility read reading old LaTeX layout and font stuff and
3750 convert it to ERTInsets.
3752 * buffer.h: added isErtInset().
3754 * buffer.C (struct ErtComp): add a fromlayout bool to check
3755 if we're inside a LaTeX layout.
3756 (isErtInset): new helper function.
3757 (insertErtContents): look for other ert insets before this one
3758 and insert the contents there, so that we don't have subsequent
3759 ERT insets with nothing between them. This way we create only one
3760 inset with multiple paragraphs. Also check if we don't insert only
3761 spaces ' ' as they are ignored anyway afterwards in the .tex file
3762 so if we have only spaces we will ignore this latex part in the
3764 (parseSingleLyXformat2Token \\layout): better compatibility when
3765 reading layout-latex stuff.
3766 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3768 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3769 stuff after reading the inset only get the information back from
3772 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
3774 * buffer.C (makeLaTeXFile): Put language options after loading babel.
3776 * LaTeXFeatures.C (getBabelOptions): New method.
3778 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3780 * BufferView_pimpl.C (Dispatch): work around missing argument for
3783 2002-05-08 Juergen Vigna <jug@sad.it>
3785 * text.C (leftMargin): handle paragraph leftindent.
3787 * paragraph.C (writeFile): write the new \\leftindent tag.
3788 (validate): handle leftindent code.
3789 (TeXEnvironment): handle paragraphleftindent code again.
3791 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3793 * buffer.C (parseSingleLyXformat2Token): added compatibility code
3794 for paragrap_extra indent code and new token \\leftindent.
3795 (latexParagraphs): handle the leftindent as environment.
3797 * ParameterStruct.h: added leftindent support.
3799 * ParagraphParameters.C (leftIndent): added support functions for
3800 the paragraph left indent.
3802 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
3805 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3807 * paragraph.C (isRightToLeftPar): Return false for a paragraph
3810 * text.C (computeBidiTables): No bidi in insetERT.
3812 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
3815 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3817 * version.C.in: pre 5
3819 2002-05-02 José Matos <jamatos@fep.up.pt>
3820 * buffer.C (makeDocBookFile): white space changes, add newline to
3822 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
3824 * tabular.C (docBook): fix typo.
3826 2002-05-03 Juergen Vigna <jug@sad.it>
3828 * screen.C (drawFromTo): recalculate the rowpointer if we had a
3829 change in LyXText as we can not be sure it was not freed.
3830 (drawOneRow): remove unused code.
3832 * text.C (drawInset): redo the calculation of the need_break_row as
3833 it could have a row which was already freed.
3834 (draw): look at the return value of drawInset and return false if
3835 it also returned false.
3836 (paintRowText): look at the return value of draw and return false if
3837 it also returned false.
3839 * lyxtext.h: added bool return type to drawInset() and draw() so that
3840 if we have a change in the row so that the rowbreak has to be redone
3841 we abort drawing as it will be called again.
3843 2002-05-02 Juergen Vigna <jug@sad.it>
3845 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
3846 a change in the maintext also if we're inside an inset.
3847 (Dispatch): set the cursor again after a break line and after the
3848 screen has been updated as it could be we're in a different row.
3850 * text2.C (fixCursorAfterDelete): check to make sure we don't request
3851 to set the cursor behind the pargraph with > size().
3852 (setCursor): check also for the same paragraph when checking where
3853 to put the cursor if we have a NFR inset.
3855 * buffer.C (parseSingleLyXformat2Token): move the compatibility
3856 parts of layout read further up as it still was in the wrong
3859 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3861 * screen.C (drawFromTo): change sine fullRebreak always return
3864 * buffer.C (parseSingleLyXformat2Token): reindent some
3866 * BufferView_pimpl.C (update): change since fullRebreak always
3868 (Dispatch): git rid of the last hardcoded "Standard"s.
3870 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3872 * text2.[Ch] (fullRebreak): make it return void now that we always
3875 2002-04-30 Juergen Vigna <jug@sad.it>
3877 * buffer.C (parseSingleLyXformat2Token): reset the font before the
3878 ert compatibility check for "latex" layout.
3880 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
3882 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3883 minipages: use col% instead of p%, and also use the current font.
3884 (makeLaTeXFile): Fix use babel condition.
3885 (parseSingleLyXformat2Token): Correct font when reading old floats.
3887 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3889 * BufferView_pimpl.C (Dispatch): Check that float type exists when
3890 inserting list of floats.
3892 2002-04-25 Herbert Voss <voss@lyx.org>
3894 * MenuBackend.C (expand): don't add the graphics extensions to the
3897 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3899 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3900 non-existing layout, do not complain if it was the default layout
3901 of the original class (bug #342)
3903 2002-04-24 Juergen Vigna <jug@sad.it>
3905 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3906 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3908 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3910 * buffer.C (getBibkeyList): If using \bibliography, return the
3911 option field with the reference itself. Enables us to provide natbib
3912 support when using \bibliography.
3914 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
3916 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3918 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3919 natbib is provided by the LaTeX class.
3921 2002-04-23 Juergen Vigna <jug@sad.it>
3923 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3926 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3928 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3930 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3932 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3933 ensuremath around textordmasculine, textordfeminine and
3936 2002-04-19 Juergen Vigna <jug@sad.it>
3938 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3939 reinitializing the buffer otherwise row-dimensions may be wrong.
3940 (update): reset also the selection cursors if they do exits otherwise
3941 their x/y positions may be wrong.
3943 * text2.C (cursorDown): don't enter the inset if we came from a row
3944 above and are one row over the inset.
3946 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3947 really leaving an inset.
3949 2002-04-18 Juergen Vigna <jug@sad.it>
3951 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3952 of the selected paragraph does not have the selected layout also if
3955 * text2.C (setLayout): fixed bug which did not change last selected
3958 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3959 changed the read and substituted \\end_float with \\end_inset!
3961 * BufferView_pimpl.C (cursorPrevious):
3962 (cursorNext): fixed to make it work with rows heigher than the work
3963 area without moving the cursor only the draw of the row.
3964 (workAreaMotionNotify): fix jumping over high rows.
3966 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3968 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
3971 2002-04-16 Juergen Vigna <jug@sad.it>
3973 * text2.C (setCursor): set also the irow().
3974 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
3976 (cursorDown): support for locking an inset if the x_fix value goes
3977 inside it. That way I can transverse insets too with cursor up/down.
3979 * lyxrow.h: added irow helper function same as other (i) functions.
3981 * BufferView_pimpl.C (cursorPrevious):
3982 (cursorNext): fixed for insets!
3984 2002-04-15 Juergen Vigna <jug@sad.it>
3986 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
3987 position otherwise it is wrong in some cases.
3989 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
3990 inside the inset before the call.
3992 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3994 * buffer.[Ch] (getBibkeyList): make it const.
3996 2002-04-12 Juergen Vigna <jug@sad.it>
3998 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
4000 * text2.C (getCursorX): new helper function
4001 (setCursor): compute also ix_
4002 (setCursorFromCoordinates): set also ix.
4004 * lyxcursor.h: added ix_ and helper functions.
4006 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
4008 * buffer.C (insertStringAsLines): dont break paragraph if the this
4009 paragraph is inside an inset which does not permit it!
4011 * text.C (breakParagraph): honor keepempty flag and break the paragraph
4012 also with no chars on this paragraph.
4013 (paintRowText): only paint stuff if it's inside the workarea!
4015 * paragraph.C (breakParagraph): honor keepempty flag and break the
4016 paragraph always below not above.
4018 * BufferView2.C (unlockInset): update the paragraph layout on inset
4019 unlock as we changed paragraph in such a case.
4021 * lyxfind.C (LyXFind): clear the former selection if not found!
4023 * text2.C (insertInset): freeze Undo after setUndo so that it is not
4024 again called in insertChar().
4026 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
4027 an inset which uses the whole row!
4028 (rightMargin): ditto.
4029 (insertChar): force a rebreak if we inserted an inset!
4031 2002-03-28 Herbert Voss <voss@lyx.org>
4033 * lyxlength.[Ch]: add inBP() to get the right PS-point
4034 units (BigPoint). With inPixels we have rounding errors
4036 2002-04-11 Juergen Vigna <jug@sad.it>
4038 * text2.C (setCursorFromCoordinates): set iy to the right value.
4039 (setCursor): add check if row->previous exists!
4041 * buffer.C (parseSingleLyXformat2Token): reset font after read of
4042 an old float_type as this was the case in the old code!
4044 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
4046 * BufferView2.C (showLockedInsetCursor): use iy
4047 (fitLockedInsetCursor): ditto
4049 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
4050 locked insets as there we have the right value now.
4052 * lyxcursor.C: added iy_ variable and iy functions to set to the
4053 baseline of cursor-y of the locked inset.
4055 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
4056 (setCursor): fixed for insets which need a full row.
4058 * text.C (rowLastPrintable): don't ignore the last space when before
4059 an inset which needs a full row.
4060 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
4061 as last character of a row when before a inset which needs a full row.
4063 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4065 * version.C.in: update date
4067 * text2.C (fullRebreak): try to always return true and see what
4070 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4072 * MenuBackend.C (expand): use Floating::listName
4074 * FloatList.C (FloatList): add listName argument to the built-in
4077 * Floating.[Ch]: add listName member, which is the 'List of XXX'
4078 text associated with the float.
4080 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4082 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
4084 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4086 * ShareContainer.h: add a couple of missing typenames.
4088 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
4090 * lyxrc.C (getDescription): use _() correctly rather than N_().
4092 2002-03-28 Herbert Voss <voss@lyx.org>
4094 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
4095 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
4097 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4099 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
4100 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
4102 2002-03-29 Juergen Vigna <jug@sad.it>
4104 * lyxfunc.C (dispatch): add a missing fitCursor call.
4106 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
4107 it was scrolled by a cursor move, so return the bool status.
4109 * BufferView.C (fitCursor): return the bool flag also to the outside
4110 world as this is needed.
4112 * screen.C (toggleToggle): don't subtract the offset if it's positive.
4114 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
4115 call the edit() as it is not needed (and wrong) IMO.
4116 (workAreaButtonPress): set the screen_first variable before evt.
4117 unlock the inset as this may change screen_first and then we have
4118 a wrong y position for the click!
4120 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4122 * MenuBackend.C (expand): another translation that I missed
4124 2002-03-28 Juergen Vigna <jug@sad.it>
4126 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4128 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4130 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4132 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4134 * MenuBackend.C (expand): fix export/view/update when there is no
4137 2002-03-27 Herbert Voss <voss@lyx.org>
4139 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4142 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4144 * bufferview_funcs.C (currentState): only show paragraph number
4145 for is DEVEL_VERSION is set.
4147 * lyxfunc.C (dispatch): put warning in INFO channel
4149 * MenuBackend.C (expand): translate the name of floats
4151 * FloatList.C (FloatList): mark the float names for translation
4153 * converter.C (convert): use LibScriptSearch
4155 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4157 * MenuBackend.C (defaults): fix default menu (we might as well get
4160 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4162 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4165 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4167 * lyxvc.C: reorder includes.
4169 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
4171 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4174 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
4176 * CutAndPaste.C: change layouts earlier on paste
4177 to avoid crashing when calling getFont()
4179 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4181 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4184 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4186 * WorkArea.C: remove 'Pending' debug message.
4188 * most files: ws cleanup
4190 * buffer.[Ch]: ws changes
4192 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
4194 2002-03-21 Juergen Vigna <jug@sad.it>
4196 * tabular.C (SetMultiColumn): collapse also the contents of the
4197 cells and set the last border right. Added a Buffer const * param.
4199 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4201 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
4204 2002-03-19 Juergen Vigna <jug@sad.it>
4206 * text2.C (clearSelection): reset also xsel_cache.
4208 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
4209 where it needs to be called (John tells us to do so too :)
4210 (selectionLost): reset sel_cache.
4212 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
4214 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4216 * text2.C (setCursorIntern): put debuging code in INSETS channel
4218 2002-03-19 André Pönitz <poenitz@gmx.net>
4220 * lyxfunc.C: tiny whitespace change
4222 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4224 * ToolbarDefaults.C (init):
4225 * LyXAction.C (init):
4227 * BufferView_pimpl.C (Dispatch):
4228 * lyxfunc.C (dispatch): remove LFUN_DEPTH
4230 2002-03-19 Allan Rae <rae@lyx.org>
4232 * exporter.C (Export): removeAutoInsets before doing anything else.
4233 While I've just introduced a dependency on BufferView this really is
4234 the best place to clean the buffer otherwise you need to cleanup in
4235 a dozen places before calling export or cleanup in a dozen functions
4238 * converter.C (runLaTeX):
4239 (scanLog): Better handling of removeAutoInsets and screen updates.
4241 * lyxfunc.C (dispatch): small whitespace changes
4243 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4245 * WorkArea.C (C_WorkAreaEvent): return a value.
4246 (event_cb): return 1 if we handled the event, 0 otherwise.
4248 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4250 2002-03-18 Juergen Vigna <jug@sad.it>
4252 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4253 (GetAdditionalWidth): ditto.
4257 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4258 inset if we're there actually (probably not used right now but this
4259 is the direction to go for unifying code).
4260 (paste): disable code to clear the selection.
4262 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4263 inside an InsetText and move the check further up as it is in the
4266 * text2.C (pasteSelection): set a selection over the pasted text.
4268 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4270 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4271 and libgraphics to build on Cygwin.
4273 2002-03-15 Juergen Vigna <jug@sad.it>
4275 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4276 inserting an Inset into the paragraph. I know this is not the best
4277 fix but we already use current_view in CutAndPaste so we will remove
4278 all of it's using at the same time.
4280 * buffer.C (sgmlError): deactivated function till it is rewritten in
4281 the right mode, now it can create problems.
4283 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4284 before accessing it.
4286 2002-03-14 Juergen Vigna <jug@sad.it>
4288 * undo_funcs.C (textHandleUndo): do the right thing when updating
4289 the inset after the undo/redo.
4291 * text2.C (setCursor): just some testcode for #44 not ready yet.
4293 * undo_funcs.C (textHandleUndo): set the next() and previous()
4294 pointers of the paragraph to 0 before deleting otherwise we have
4295 problems with the Paragraph::[destructor].
4297 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4298 on a paragraph insertion.
4300 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4302 * buffer.C (asciiParagraph): use += operator for char append to
4305 * paragraph.C (getFontSettings): compare >= not just >
4306 (highestFontInRange): ditto
4309 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4311 * paragraph.C: change several algorithm to be more appripriate for
4312 the problem domain. This is lookip in FontList and in the InsetList.
4314 2002-03-13 André Pönitz <poenitz@gmx.net>
4317 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4319 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4324 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4326 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4328 * Painter.C (display): anon helper function, adjust code for this
4330 (pixmap): remove function.
4332 * Painter.h: remove private display variable.
4334 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4336 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4338 * WorkArea.[Ch]: remove figinset_canvas cruft.
4340 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4342 * lyxtextclass.C (operator): add one item cache optimization.
4344 * bufferlist.h: doxy changes
4346 * bufferlist.C: ws changes
4348 * DepTable.[Ch] (ext_exist): place const in the right spot.
4350 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4352 (workAreaExpose): call resizeInsets when the with BufferView changes.
4353 (Dispatch): adjust for protectedBlank removal
4354 (specialChar): call updateInset if the insert went ok.
4356 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4357 specialChar instead.
4359 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4361 * BufferView.h: doxy change
4363 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4365 * lyxtextclass.C (operator[]): remove non-const version
4366 (defaultLayout): remove non-const version
4368 2002-03-12 Juergen Vigna <jug@sad.it>
4370 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4371 did resize the LyXText too.
4373 * buffer.C (readLyXformat2): set layout information on newly allocated
4376 * tabular.C (OldFormatRead): set layout information on the paragraph.
4378 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4380 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4382 2002-03-11 Juergen Vigna <jug@sad.it>
4384 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4386 (resizeCurrentBuffer): force also the insets to resize themselfes.
4387 (moveCursorUpdate): fixed up for InsetText.
4389 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4392 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4393 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4394 value of Dialogs::tooltipsEnabled().
4395 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4397 2002-03-08 Juergen Vigna <jug@sad.it>
4399 * BufferView_pimpl.C (updateInset): update inset inside inset also
4400 if it isn't inside theLockingInset().
4402 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4404 * buffer.C (asciiParagraph): redo some of the word and line length
4406 (getLists): look for Caption instead of caption.
4408 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4410 * buffer.C (Buffer): initialize niceFile to true
4413 (makeDocBookFile): make sure niceFile is true on exit
4415 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4417 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4419 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4421 * LyXSendto.C: remove.
4422 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4423 * lyx_gui.C: remove now-redundant comment.
4424 * ColorHandler.h: remove forward declaration of class WorkArea.
4425 * lyxfunc.C: remove #include "WorkArea.h".
4427 2002-03-07 Juergen Vigna <jug@sad.it>
4429 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4430 got moved away with the DEPM and also set the inset_owner always
4431 right which before could have been omitted.
4433 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4435 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4436 wanted layout is not found.
4438 2002-03-07 Juergen Vigna <jug@sad.it>
4440 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4442 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4444 * paragraph.C (breakParagraph): use default layout not layout of
4446 (Paragraph): clear ParagraphParameters.
4448 2002-03-06 Juergen Vigna <jug@sad.it>
4450 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4451 otherwise it would not be a valid lenght. Fixed a special case in
4452 the minipage compatibility read where we end the document with a
4455 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4456 was set as it could be 0 for InsetTexts first entry.
4458 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4460 * paragraph.C (writeFile): if layout is empty write out
4461 defaultLayoutName().
4463 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4464 file without named layout we set layout to defaultLayoutName().
4466 2002-03-06 Juergen Vigna <jug@sad.it>
4468 * CutAndPaste.C (copySelection): set layout for new paragraph.
4470 * text.C (prepareToPrint): leave ERT inset left aligned
4471 (leftMargin): don't indent paragraphs inside ERT insets
4473 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4475 * paragraph.C (breakParagraph): dont call clear do the work manually
4477 * paragraph.[Ch] (clear): remove function
4479 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4481 * paragraph.C (Paragraph): dont call clear, the work has already
4484 * lyxtextclass.C (operator): assert if n is empty
4486 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4487 work manually instead.
4489 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4491 * BufferView_pimpl.C: protect selectionLost against text == 0
4493 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4495 * text.C (breakParagraph): fix a setting layout to '0' problem.
4497 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4499 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4500 final location of file, for the included files, and graphics.
4502 2002-03-05 Juergen Vigna <jug@sad.it>
4504 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4506 2002-03-04 Juergen Vigna <jug@sad.it>
4508 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4510 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4511 last column of multicolumn cells.
4512 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4514 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4516 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4517 file if it doesn't go to a temporary file.
4519 * buffer.C (sgmlOpenTag):
4520 (sgmlCloseTag): remove extra newline insertion.
4522 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4524 * text.C (getRowNearY): comment out debug msg
4526 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4528 * text2.C: first -> first_y
4530 * text.C (getRowNearY): add some attemts at a possible
4531 optimization, not working.
4533 * tabular.[Ch]: add BufferParams to several function so that newly
4534 created paragraph can be initialized to he default layotu for the
4537 * tabular-old.C (ReadOld): add buf->params to call of Init
4539 * screen.C: rename text->first to text->first_y
4541 * paragraph.C (breakParagraph): always set layout in the broken
4544 * lyxtextclass.C (Read): remove lowercase
4547 (delete_layout): ditto
4549 * lyxtext.h: rename first -> first_y
4551 * lyxlayout.C (Read): remove lowercase
4554 (obsoleted_by): ditto
4556 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4558 * buffer.C (insertErtContents): add params are to InsetERT
4559 (parseSingleLyXformat2Token): add code to check if a paragraphs
4560 layout really exist.
4561 (parseSingleLyXformat2Token): add params to several inset
4563 (asciiParagraph): remove lowercase, do the layout comparisons with
4566 * BufferView_pimpl.C (cursorNext): first -> first_y
4567 (resizeCurrentBuffer): first -> first_y
4568 (updateScrollbar): first -> first_y
4569 (scrollCB): first -> first_y
4570 (workAreaMotionNotify): first -> first_y
4571 (workAreaButtonPress): first -> first_y
4572 (checkInsetHit): first -> first_y
4573 (cursorPrevious): first -> first_y
4574 (cursorNext): first -> first_y
4575 (Dispatch): add buffer_->params to severl inset contructors
4577 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4579 * lyxlayout.C (Read): remove some debug info that I forgot.
4581 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4582 clean up the code slightly.
4583 (makeLinuxDocFile): ditto
4584 (makeDocBookFile): ditto
4586 * text2.C: layout as string
4588 * text.C: layout as string
4590 * paragraph_pimpl.C: layout as string
4592 * paragraph.[Ch]: layout as string
4594 * lyxtextclasslist.[Ch]: layout as string
4596 * lyxtextclass.[Ch]: layout as string
4598 * lyxtext.h: layout as string
4600 * lyxlayout.[Ch]: layout as string
4602 * lyx_cb.C: layout as string
4604 * bufferview_funcs.C: layout as string
4606 * bufferparams.C: layout as string
4608 * buffer.C: layout as string
4610 * LyXView.[Ch]: layout as string
4612 * LaTeXFeatures.[Ch]: layout as string
4614 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4616 * BufferView_pimpl.C: change current_layout to string, remove
4621 (workAreaButtonRelease): layout as string
4623 * BufferView2.C (unlockInset): adjust
4625 * vspace.C (asLatexCommand): use an explict temp variable.
4627 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4629 * Makefile.am: use FRONTEND_*
4631 2002-03-01 Juergen Vigna <jug@sad.it>
4633 * tabular.C (SetWidthOfMulticolCell): changed to something better
4634 I hope but still work in progress.
4635 (recalculateMulticolumnsOfColumn): renamed function from
4636 recalculateMulticolCells as it is more appropriate now.
4637 (SetWidthOfCell): calculate multicols better.
4639 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4641 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4643 * lyxfunc.C (processKeySym): print sequence also if it is
4644 `deleted' (complete)
4646 * kbsequence.C (print): print sequence even if it is deleted
4647 (complete would be a better word, actually).
4649 * lyxfunc.C (dispatch): print complete options after a prefix key
4651 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4653 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4655 * text2.C (setCharFont): eliminate setCharFont code duplication.
4657 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4659 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4660 LFUN_TABULAR_FEATURE (bug #177)
4662 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4664 * Makefile.am: remove figure.h
4666 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4668 * Bufferview_pimpl.C:
4680 * text2.C: remove #include "lyx_gui_misc.h".
4682 * LaTeX.C: added #include <cstdio>
4684 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4686 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4687 that the paragraph following this one can have.
4689 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4691 * vspace.C (asLatexCommand): fix bogus gcc warning
4693 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4695 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4697 * text2.C (setLayout): get rid of redundant code
4699 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4701 * text2.C (incDepth): make sure depth cannot be increased beyond
4704 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4706 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4707 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4709 * PainterBase.h (image):
4710 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4713 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4717 * BufferView_pimpl.C:
4718 * BufferView_pimpl.h:
4738 * sp_spell.C: remove fig inset, and the crap house of
4739 cards that follows it
4741 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4747 * nt_defines.h: move .h into support/
4749 * vms_defines.h: remove
4751 * WorkArea.C: add space in debug output
4755 * buffer.C: add WITH_WARNINGS
4759 * bufferlist.C: s/retrive/retrieve/, add docs
4770 * lyxgui.C: add ID to X error handler
4772 * lyxtestclass.c: fix typo
4774 2002-02-26 Juergen Vigna <jug@sad.it>
4776 * tabular_funcs.C (write_attribute): changed so that some default
4777 attributes are not written at all.
4778 (getTokenValue): set default values before trying to read the
4779 value so we have the return value always set as default if we don't
4780 find the token we search for.
4782 * tabular.C (Write): write bools as bools not as strings!
4784 2002-02-22 Juergen Vigna <jug@sad.it>
4786 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4787 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4789 * text.C (leftMargin): don't add an indent for paragraphs inside
4790 tabular cells (fix #208).
4792 2002-02-21 José Matos <jamatos@fep.up.pt>
4794 * tabular.C (docBook): fixed support for long tables.
4796 2002-02-20 Juergen Vigna <jug@sad.it>
4798 * text2.C (getFont): get the drawing font of the Inset if this
4799 paragraph is inside an inset (only important for InsetERT for now).
4801 * buffer.C (insertErtContents): use new lanugage params in ERT
4804 * CutAndPaste.C: commenting out seemingly uneeded code.
4806 2002-02-19 Allan Rae <rae@lyx.org>
4808 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
4809 Iterators might be simple to use but they also get invalidated.
4810 (removeAutoInsets): renamed saved cursor tracking variables and added
4811 some comments to clarify what everything does.
4813 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4820 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
4821 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4824 * vc-backend.h: remove #include "support/syscall.h"
4828 * converter.C: rearrange #includes in Lars' approved fashion.
4830 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
4831 forward declare class Timeout in the header file.
4833 * XFormsView.C: changes due to the above.
4835 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
4838 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
4839 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
4841 2002-02-18 José Matos <jamatos@fep.up.pt>
4843 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
4846 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4848 * a lot of small ws changes
4849 * add a lot of using std::XXX
4850 * use std construcs some places where approp.
4851 * use some exisint stuff from lyxfunctional where approp.
4852 * Make file changes to use partial linking (lets test this now...)
4854 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4858 remove #include "support/syscontr.h" as it's redundant. Always has been.
4866 change Systemcalls::System to Systemcalls::Wait and
4867 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4868 No change of functionality, just reflects the stripped down Systemcalls
4871 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4873 * debug.[Ch]: add a GRAPHICS type to the enum.
4875 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4877 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4879 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4882 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4884 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4885 match the changes below.
4887 * text2.C (toggleInset): if there is not editable inset at cursor
4888 position, try to see if cursor is _inside_ a collapsable inset
4891 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4893 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4894 document menu has a nice checkbox
4896 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4898 * lyxlength.C (asLatexString): change PW to output as percent of
4901 * lengthcommon.C: change '%' to 't%'
4903 * lyxfunc.C (dispatch): a few comments from Martin
4905 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
4909 * BufferView_pimpl.h:
4910 * BufferView_pimpl.C: clear our selection when X tells us we've lost
4913 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4915 * vspace.C (inPixels): fix compiler warning
4917 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4919 * lyxfunc.C (getStatus): fix status message for disabled commands.
4921 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
4923 * BufferView_pimpl.C: fix crash on close buffer
4924 during selection (#227)
4926 2002-01-27 Herbert Voss <voss@lyx.org>
4928 * buffer.C: link old Figure to new graphic inset
4930 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
4932 * FontLoader.C (getFontinfo): Change the latex font names in order
4933 to match the names of type1inst.
4935 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4937 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4939 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4942 (remove_files_with_extension): ditto
4943 (remove_file): ditto
4946 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4947 document is smaller than the work area height. Do not initialize
4948 static variables to 0.
4950 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4952 * lyx_gui.C (init): give the toolbar tooltips a normal font.
4954 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4955 LFUN_LAYOUT_PARAGRAPHS.
4957 * tabular.C (GetCellFromInset): new method. Finds an inset in a
4958 tabular. It is possible to provide a possible cell, which will
4959 typically be the actcell from the corresponding insettabular
4961 * lyxfunc.C (getStatus): small cleanup; disable
4962 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4965 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4967 * tabular.C (Validate): remove broken optimization (fixes bug #201)
4969 * paragraph.C (startTeXParParams):
4970 (endTeXParParams): new methods. The LaTeX code to
4971 start/end paragraph formatting
4972 (simpleTeXOnePar): call startTeXParParams also when paragraph is
4973 empty (fixes bug #200)
4975 * vspace.C (inPixels): adapt to the change below
4976 (inPixels): [later] more cleanups (remove unused variables)
4978 * lyxlength.C (inPixels): change to use a width and a height as
4981 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4983 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
4984 Replaced with \paperwidth
4986 * DepTable.C (insert): add std:: qualifier
4988 2002-01-18 Allan Rae <rae@lyx.org>
4990 * text2.C (removeRow): add comment. Should other refresh_?? vars be
4993 * text.C (drawInset): Turned out I didn't know enough about how
4994 rebreaking worked. This fixes most of the redraw problems. I see
4995 an occasional cursor trail when a line is broken now and the cursor
4996 placement can seem out by a few pixels also after a rebreak.
4998 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5000 * buffer.C (parseSingleLyXformat2Token): update because minipage
5001 width is now a LyXLength
5003 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
5005 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
5008 2002-01-17 Juergen Vigna <jug@sad.it>
5010 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
5012 * BufferView2.C (lockInset): call edit() so that theLockingInset()
5013 is set correctly and the inset is updated correctly.
5015 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5017 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
5018 the beginning of the loop.
5020 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
5022 * lyxrc.C: improve help for use_scalable_fonts
5024 2002-01-17 Allan Rae <rae@lyx.org>
5026 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
5028 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5030 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
5031 make sure to set their inset_owner to the right value (bug #171)
5033 2001-12-12 Ben Stanley <bds02@uow.edu.au>
5036 * DepTable.C: Implement mtime checking to reduce time spent doing
5039 2002-01-16 Juergen Vigna <jug@sad.it>
5041 * tabular.C (GetAdditionalHeight): one of error fixed.
5043 * lyxrc.C (output): small fix in writing use_pspell.
5045 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
5047 * sp_base.h: #include LString.h
5049 2002-01-16 Allan Rae <rae@lyx.org>
5051 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
5052 Can someone check this please?
5054 * text.C (drawInset): It was possible that p.row would be removed by
5055 breakAgainOneRow upsetting a few other settings. There may be another
5056 small tweak possible by setting need_break_row = 0 when p.row has been
5057 removed but I don't know enough about the logic here.
5059 2002-01-15 Allan Rae <rae@lyx.org>
5061 * text.C (insertChar): removed conditional truism.
5063 * BufferView2.C (removeAutoInsets): More tweaks.
5064 cur_par_prev could be a stray pointer. Check for trailing empty line
5065 in case last line was cur_par and only had an error inset on it.
5067 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5069 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
5072 * vc-backend.C (most methods):
5073 * exporter.C (Export):
5074 * converter.C (convert):
5076 * LyXSendto.C (SendtoApplyCB):
5077 * lyxfunc.C (dispatch):
5081 * lyx_cb.C (AutoSave):
5083 * BufferView_pimpl.C (MenuInsertLyXFile):
5084 * buffer.C (runChktex): use Buffer::filePath().
5086 * buffer.h: rename filename to filename_; rename filepath to
5087 filepath_ and make it private
5088 (filePath): new method
5090 * buffer.C (writeFile): use fileName()
5093 * lyx_main.C (init): fix starting of LyX when the binary is a
5094 link from so,ewhere else.
5096 * minibuffer.C: include <cctype> for isprint
5098 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5100 * buffer.C (parseSingleLyXformat2Token): changes associated with the
5101 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
5102 name clash with InsetCollapsable's width function.
5104 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5106 * lastfiles.C: include <iterator>
5108 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5110 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
5113 * buffer.C (makeLaTeXFile): ditto.
5114 Also make loop operation more transparent.
5116 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5118 * ToolbarDefaults.C: remove trailing comma closing namespace.
5120 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
5122 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5125 * trans.C (Load): comment out unused variable, allowed.
5127 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5129 * minibuffer.[Ch] (append_char): new method to recieve input from the
5130 drop-down completion browser. If a key was pressed, then recieve this
5131 char and append it to the existing string.
5132 (peek_event): modify the positioning data passed to the completion
5133 browser so that it can be placed above the minibuffer rather than below.
5134 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5136 * LyXAction.C (init): alloe error-next for readonly documents.
5138 * BufferView2.C (ChangeRefsIfUnique): use standard version of
5141 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5143 * bufferlist.C (readFile): create the buffer _after_ checking that
5146 * lyxfunc.C (verboseDispatch): fix handling of arguments
5148 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5150 * lyxrc.C: use string::erase() instead of initializing to "".
5153 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5155 * BufferView_pimpl.h:
5156 * BufferView_pimpl.C:
5159 * text2.C: tell X when we have made a selection for copying
5161 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5163 * BufferView_pimpl.C (MenuInsertLyXFile):
5164 * lyxfunc.C (menuNew):
5166 (doImport): add shortcuts to directory buttons
5168 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5171 * lyxfunc.C (setStatusMessage):
5172 (getStatusMessage): new methods
5173 (getStatus):use setStatusMessage instead of setErrorMessage
5174 (dispatch): when function is disabled, set error message here
5175 [instead of in getStatus previously]
5177 * BufferView_pimpl.C (workAreaButtonRelease): update
5178 toolbar/menubar here too.
5180 2002-01-13 Allan Rae <rae@lyx.org>
5182 * BufferView2.C (removeAutoInsets): finished off earlier fix.
5183 Now seems indestructible. Remaining task is to audit all other
5184 code affected by deleteEmptyParagraphMechanism. One small quirk
5185 left is that an empty document with an error in the preamble can
5186 be made to report an error but no error box appears. I don't know
5188 (removeAutoInsets): Improved comments.
5190 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
5193 * Thesaurus.C: update for Aiksaurus 0.14
5195 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5197 * text2.C (firstParagraph): removed member function, all uses
5198 replaces with ownerParagraph
5199 (redoParagraphs): here
5201 (toggleAppendix): here
5202 * BufferView2.C (insertErrors): here
5203 (setCursorFromRow): here
5205 2002-01-13 Allan Rae <rae@lyx.org>
5207 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
5208 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
5209 There is still a way to segfault this although you may have to do this
5210 multiple times: Have an InsetERT with an unknown command in it.
5211 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
5212 <down-arrow>, <Enter> again, View->DVI, BANG!
5214 * text2.C (setCursor):
5215 (deleteEmptyParagraphMechanism):
5216 * lyxtext.h (setCursor):
5217 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5218 Making use of the return value may help fix other bugs.
5220 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5222 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5224 * LyXView.C (updateMenubar): call MenuBar::update here
5225 (updateToolbar): but not here
5226 (showState): do not update toolbar/menubar
5228 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5229 should need to care about that.
5231 * lyxfunc.C (verboseDispatch): simplify a bit
5232 (getStatus): have a version which takes a pseudoaction, and
5233 another which requires a (kb_action,string).
5235 * LyXAction.C (retrieveActionArg): make it work also when action
5236 is not a pseudo-action.
5237 (getActionName): simplify a bit
5240 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5242 * lyxfunc.C (verboseDispatch): new families of methods with
5243 several ways to specify a command and a bool to indicate whether
5244 the command name and shortcut should be displayed in minibuffer
5245 (eventually, we could extend that to a finer bitmask like
5246 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5247 (dispatch): the pristine dispatch command which just, well,
5248 dispatchs! Note it still sets its result to minibuffer; I'm not
5251 * lyxfunc.h: remove setHintMessage
5253 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5255 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5257 * BufferView_pimpl.C (specialChar): delete new inset if we have
5258 not been able to insert it.
5260 * kbmap.C: revert to using int instead of kb_action, since all we
5261 are dealing with is pseudo-actions.
5263 * LyXAction.C (searchActionArg): change to return int instead of
5264 kb_action, since the result is a pseudoaction.
5266 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5268 * buffer.C (insertErtContents): Fix (partially) the font bug.
5270 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5272 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5273 as the other one is broken on my machine!
5275 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5278 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5280 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5282 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5283 reflect their actual use. Provide compatibility code for older lyxrc
5286 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5288 change names of popup font variables in line with the changes to lyxrc.C
5290 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5292 * buffer.C (asciiParagraph): avoid outputing a word twice after
5295 * lyxrc.C (getDescription): document that document_path and
5296 template_path can be empty.
5298 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5300 * LaTeXFeatures.C (getMacros):
5301 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5303 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5305 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5307 (getPackages): rename feature "floats" to "float". Use an array to
5308 iterate over 'simple' features (i.e. just a \usepackage). Add
5309 handling of "amsmath" (renamed from "amsstyle").
5311 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5313 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5316 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5318 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5319 FuncStaus::FuncStatus & FuncStaus::some_method().
5321 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5323 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5324 of the func_satus stuff. Edited and massaged in various ways by
5327 * lyxfunc.C (getStatus): use FuncStatus
5329 2002-01-08 Juergen Vigna <jug@sad.it>
5331 * text.C (nextBreakPoint): use function Inset::isChar().
5333 * paragraph.C (TeXOnePar): use function
5334 Inset::forceDefaultParagraphs.
5336 * buffer.C (latexParagraphs): use function
5337 Inset::forceDefaultParagraphs.
5339 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5341 * lyx_gui.C (init): set the style of the menu popups to
5342 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5344 2002-01-07 Juergen Vigna <jug@sad.it>
5346 * text.C (setHeightOfRow): small fix
5347 (prepareToPrint): don't look at alignment if we don't have the place
5350 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5352 * box.C: New file. Move the Box methods and functions out of box.h,
5353 following Lars' suggestion.
5355 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5357 * box.h: #include "support/LOstream.h", needed for inlined function.
5360 * lyxtextclasslist.C: added some using std declarations.
5362 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5364 * box.h: make signed dimensions to allow insets wider than
5365 the screen (bug #162)
5367 * BufferView_pimpl.C: add some insetHit debug
5369 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5371 * vc-backend.C: add FIXME
5373 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5375 * lyxfunc.C (getStatus): enable code for showing math font status
5378 2002-01-07 Juergen Vigna <jug@sad.it>
5380 * text.C (nextBreakPoint): removed debug output not needed anymore.
5382 2002-01-06 Juergen Vigna <jug@sad.it>
5384 * text.C (nextBreakPoint): fixed up this function we had this bug
5385 since ever but now hopefully we break row better.
5386 (insertChar): we have to check if an inset is the next char as it
5387 could now happen that a large inset is causing a break.
5389 2002-01-05 Juergen Vigna <jug@sad.it>
5391 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5392 if it doesn't like to be drawed.
5394 2002-01-04 Juergen Vigna <jug@sad.it>
5396 * BufferView2.C (lockInset): forgot to set a cursor.
5398 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5400 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5405 * form_maths_panel.C:
5406 * form_maths_panel.h:
5407 * form_maths_panel.fd: implemented sub- and super- buttons in math
5410 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5411 (or ^ space) to be used as in TeX (req'd by André).
5413 * lyxfunc.C: Allow ^ and _ again to be used both as
5414 super/subscript (mathed) and as themselves (in text).
5416 2002-01-03 Allan Rae <rae@lyx.org>
5418 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5419 "LyX" or the filename of the current buffer if it has one. This is a
5420 modified form of John Levon's patch.
5422 * XFormsView.C (setWindowTitle): also set icon title.
5424 * LyXView.h (setWindowTitle): signature changed.
5425 * XFormsView.h (setWindowTitle): ditto.
5427 2002-01-02 Juergen Vigna <jug@sad.it>
5429 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5431 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5433 * screen.C (topCursorVisible): introduce a temp var for
5434 text->cursor.row(), handle the case where this row is null. (kindo
5437 * text2.C (setCursor): add a couple of asserts.
5439 * paragraph.h (inset_iterator): add -> operator
5441 * paragraph.[Ch] (autoDeleteInsets): remove member function
5443 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5444 cursor pos correctly and handle inset deletion by itself.
5445 (insertErrors): move iterator declaration out of for expression
5447 * lyxtextclass.C: add <algorithm>
5449 * Makefile.am: added the new files to sources, removed layout.C
5451 * layout.C: removed file
5453 * layout.h: remove LYX_DUMMY_LAYOUT
5455 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5459 * lyxtextclass.[Ch]:
5460 * lyxtextclasslist.[Ch]: new files
5462 * include order changes to a lot of files, also changes because of
5465 2001-12-27 Juergen Vigna <jug@sad.it>
5467 * buffer.C (asciiParagraph): more fixes.
5469 * tabular.C (ascii): make ascii export support export of only the
5470 data separated by a column-delimiter.
5471 (ascii): better support for ascii export.
5473 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5475 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5477 * tabular_funcs.C: use a "using std::getline" instead of the
5478 previous fix from Angus (necessary for cxx + lyxstring)
5480 2001-12-24 Juergen Vigna <jug@sad.it>
5482 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5484 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5485 problems. First check a minipage also if we have some ert-contents
5486 (not only on par->size(), second set the right depth of the paragraph
5487 on the relink to the root-paragraph-list!
5489 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5490 which then did not anymore update the main paragraphs on undo/redo!
5492 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5494 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5495 code. Support all font-changing funcs (even those which are not in
5496 menu currently). Support for reporting font settings in
5497 mathed (disabled until Andre provides a function on mathed's side).
5499 * func_status.h (toggle): small helper function to set toggle
5502 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5504 * tabular_funcs.C: getline -> std::getline
5506 2001-12-21 Juergen Vigna <jug@sad.it>
5508 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5509 accessed and could be 0 (I couldn't generate this but it seems
5512 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5514 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5515 * tabular_funcs.h: here and include iosfwd
5517 2001-12-20 Juergen Vigna <jug@sad.it>
5519 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5520 inside inset but undo_par was.
5522 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5524 * Thesaurus.C: always include <config.h> in sources.
5528 * box.h: do not include <config.h> in header files
5530 * text.C (paintLastRow): remove unused variable
5532 * text.C (transformChar):
5534 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5537 * font.C (width): rewrite to use uppercase() instead of
5540 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5542 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5544 * lyxfind.C: clean up of find failure position change
5546 2001-12-20 Juergen Vigna <jug@sad.it>
5548 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5550 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5551 (TeXRow): added to LaTeX a single tabular row.
5552 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5553 (Latex): simplified and finally good LT-h/f support.
5554 (various_functions): just small adaptions for LT-h/f support.
5556 * tabular_funcs.[hC]: added and moved here all not classfunctions
5559 2001-12-19 Juergen Vigna <jug@sad.it>
5561 * tabular.[Ch]: better support for longtabular options (not finished
5564 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5566 * text.C (paintLastRow): use the label font instead of the font of
5567 the last character to compute the size of *_BOX. This makes more
5568 sense and avoids a crash with empty paragraphs.
5569 Use Painter::rectangle to draw EMPTY_BOX.
5571 2001-12-19 Juergen Vigna <jug@sad.it>
5573 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5574 the paragraphs if the replaced paragraph is not the first one!
5575 Tried to delete not used paragraphs but does not work yet so for
5576 now it's inside #ifdef's and by default off!
5578 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5580 * MenuBackend.C: include "lyx_main.h" instead of declaring
5581 lastfiles (actually was declared as LastFiles* instead of a
5584 2001-12-17 Juergen Vigna <jug@sad.it>
5586 * tabular.C (AppendColumn): applied John's fix
5588 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5592 * BufferView_pimpl.h:
5593 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5596 * box.h: new start of class for above
5598 * lyxfunc.C: ignore space-only minibuffer dispatches.
5599 Show the command name when it doesn't exist
5601 * minibuffer.C: don't add empty lines to the history
5603 * minibuffer.C: add a space on dropdown completion
5605 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5607 * text.C: fix line above/below drawing in insets
5609 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5611 * lyxlength.C (LyXLength): Initialize private variables.
5613 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5615 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5616 when inserting error insets.
5618 2001-12-13 Juergen Vigna <jug@sad.it>
5620 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5621 actually sometimes the before-paragraph.
5622 (setUndo): don't clear the redostack if we're not actually undoing!
5624 2001-12-06 Juergen Vigna <jug@sad.it>
5626 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5627 and fixed redoing of main paragraph, so we can use it now ;)
5629 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5631 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5633 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5636 2001-12-13 André Pönitz <poenitz@gmx.net>
5639 * undo_func.C: minor cleanup
5641 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5643 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5644 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5645 font in urw-fonts package which is marked as -urw-fontspecific and
5646 does not work (incidentally, changing the encoding in the
5647 fonts.dir of this package to -adobe-fontspecific fixes the
5650 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5651 is a crash when undoing first paragraph (Juergen, please take a
5652 look). THis does not mean the undo fix is wrong, just that it
5655 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5656 the (Paragraph*) version when needed instead of duplicating the
5659 * text.C (workWidth): use Inset::parOwner to find out where the
5660 inset has been inserted. This is a huge performance gain for large
5661 documents with lots of insets. If Inset::parOwner is not set, fall
5662 back on the brute force method
5664 * paragraph_pimpl.C (insertInset):
5665 * paragraph.C (Paragraph):
5666 (cutIntoMinibuffer): set parOwner of insets when
5667 inserting/removing them
5669 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5671 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5677 * mathed/formulabase.C:
5678 * mathed/math_cursor.[Ch]:
5679 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5682 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5684 * lyxlength.[Ch] (operator!=): new function
5686 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5688 * text.C (workWidth): use Inset::parOwner to find out where the
5689 inset has been inserted. This is a huge performance gain for large
5690 documents with lots of insets. If Inset::parOwner is not set, fall
5691 back on the brute force method
5693 * paragraph_pimpl.C (insertInset):
5694 * paragraph.C (Paragraph):
5695 (cutIntoMinibuffer): set parOwner of insets when
5696 inserting/removing them
5698 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5700 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5702 * tabular-old.C (getTokenValue):
5703 * tabular.C (getTokenValue):
5704 (write_attribute): new versions for LyXLength
5705 (everywhere): adjust the use of widths
5707 * tabular.h: change the type of widths from string to LyXLength
5709 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5711 * paragraph.C: fixed missing line number count when exporting
5712 Environments to LaTeX file
5714 * buffer.C: added informational message for checking line numbers.
5716 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5718 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5719 paragraph, do the 'double space' part, but not the 'empty
5722 * text.C (workWidth): small optimization
5723 (getLengthMarkerHeight): use minimal size for negative lengths.
5725 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
5727 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5729 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5731 2001-12-11 André Pönitz <poenitz@gmx.net>
5734 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5736 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5738 * text2.C: keep selection on a setFont()
5740 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5742 * lyx_cb.C: another bv->text misuse, from insert label
5744 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5747 * kbsequence.C: re-instate nmodifier mask
5749 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
5751 * lyx_main.h: make lyxGUI private.
5753 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5755 * lyxfind.C: place the cursor correctly on failed search
5757 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5759 * text.C (getLengthMarkerHeight): for small heights, the arrows
5760 are not always on top/bottom of the text
5761 (drawLengthMarker): smaller arrows; take the left margin in
5762 account; draw also vfills.
5764 (paintLastRow): remove special code for vfill and standard spaces,
5765 since everything is handled in drawLengthMarker now.
5767 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5769 * buffer.C (insertErtContents): try to handle font and language
5770 interaction a bit better.g
5772 * ColorHandler.C (updateColor): change the hash to cover the whole
5773 LColor enum, ws cleanup
5774 (getGCLinepars): ditto
5775 (getGCLinepars): only lookup in the linecache once.
5777 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
5779 * iterators.C (operator++): Make the iterator more robust
5781 * BufferView2.C (removeAutoInsets): Use paragraph iterators
5783 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5785 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5788 * text.C: better added space drawing
5790 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5793 * BufferView2.C: fix layout combo update on inset unlock
5795 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5797 * Makefile.am: don't compile unused files
5799 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5803 * LyXAction.C: remove old LFUN_LAYOUTNO
5805 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5807 * paragraph_pimpl.h:
5808 * paragraph_pimpl.C: isTextAt() doesn't need font param
5810 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5813 * lyxlex.C: little cleanup
5815 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5817 * BufferView_pimpl.C: fix insertAscii for insets
5819 2001-12-05 Juergen Vigna <jug@sad.it>
5821 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
5822 set the right font on the "multi" paragraph paste!
5824 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5830 * lyxlength.C: remove out-commented code.
5846 * vc-backend.C: change "while(" to "while ("
5848 * lyxlength.[Ch]: add zero function to check if length is zero or
5850 * lyxgluelength.C: use it
5852 2001-12-05 Allan Rae <rae@lyx.org>
5854 * lyxlength.C: Attempted a fix for the abs(int) header selection.
5855 Works for 2.95.3, from what I understand of Garst's reports this should
5856 work for other g++ versions. We're screwed if the abs(int) definition
5857 changed between bugfix releases of gcc.
5859 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5861 * text.C: fix chapter label offset !
5863 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5866 * text.C: fix hfill at end of line, clean up
5868 2001-12-04 Juergen Vigna <jug@sad.it>
5870 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5871 that we force an update of the inset and it's owners if neccessary.
5873 2001-12-03 Juergen Vigna <jug@sad.it>
5875 * text.C (rowLast): simplified code
5877 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5879 * lyxfunc.C: fix show options on timeout
5881 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5883 * screen.C (topCursorVisible): scroll half a page when the cursor
5884 reached top of bottom of screen
5886 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
5888 * minibuffer.C: deactivate on loss of focus
5890 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5892 * vspace.[Ch] (operator!=): add operator.
5894 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5896 * BufferView_pimpl.C: refuse to open an inset when
5897 there's a selection.
5899 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
5901 * BufferView_pimpl.C: allow to click on RHS of full row insets
5903 2001-11-30 Juergen Vigna <jug@sad.it>
5905 * tabular.C (LyXTabular): add a same_id to set the same id's in the
5906 insets for undo reasons.
5908 2001-11-28 André Pönitz <poenitz@gmx.net>
5910 * vspace.[Ch]: cosmetical changes
5912 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5922 * kbsequence.C: part re-write of old kb code
5925 * WorkArea.C: remove Lgb_bug_find_hack
5927 2001-11-30 José Matos <jamatos@fep.up.pt>
5929 * buffer.C (makeDocBookFile): add a comment to point a hack.
5930 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5931 Fixed a double write of labels.
5933 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5936 * LaTeX.h Fixed bug in LaTeX class where it would not
5937 re-run latex if no depfiles were changed, but the .dvi was removed.
5939 2001-11-28 André Pönitz <poenitz@gmx.net>
5941 * all the files from the change on 2001/11/26:
5942 use lyx::layout_type instead of LyXTextClass::size_type
5943 use lyx::textclass_type instead of LyXTextClassList::size_type
5945 2001-11-29 Juergen Vigna <jug@sad.it>
5947 * text.C: added support for paragraph::isFreeSpacing()
5949 * buffer.C: same as above
5951 * paragraph.h: inserted isFreeSpacing() function to enable
5952 FreeSpacing inside InsetERT.
5954 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5955 of the paragraph's in the cut/copy buffer to 0!
5957 * text2.C (removeRow): remove the assert as it can!
5959 * lyxtext.h: added helper function firstRow returning firstrow and
5960 made firstrow private again.
5962 * BufferView2.C (lockInset): don't relock if we're already locked!
5964 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5966 (removeRow): added Assert::(firstrow)
5968 * debug.C: forgot to add INSETTEXT here.
5970 2001-11-28 Juergen Vigna <jug@sad.it>
5972 * sp_spell.C (initialize): changed error text to more general
5973 spellchecker command use (not only ispell!)
5975 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
5977 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
5979 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5981 * vspace.C: initialise lyxgluelength on failure
5983 2001-11-28 Allan Rae <rae@lyx.org>
5985 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
5986 declaration & definition that looks like a function declaration.
5988 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5990 * BufferView2.C (copy):
5991 (copyEnvironment): do not clear the selection when doing a copy.
5993 * text.C (paintFirstRow): compilation fix
5995 2001-11-27 Ben Stanley <bds02@uow.edu.au>
5997 * tabular.C (Latex): correct line count when writing latex.
5999 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
6001 * paragraph_pimpl.h:
6002 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
6005 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6009 * LColor.C: change vfillline->added_space
6011 * text.C: add markers and text for added space
6013 * vspace.C: fix comment
6015 2001-11-28 André Pönitz <poenitz@gmx.net>
6017 * paragraph.C: whitespace changes
6018 * all the other files from the change on 2001/11/26:
6019 change *::pos_type into lyx::pos_type
6021 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
6023 * buffer.C (parseSingleLyXformat2Token): Set the language to the
6024 language of the document when inserting error insets.
6026 2001-11-26 André Pönitz <poenitz@gmx.net>
6028 * BufferView_pimpl.[Ch]:
6036 * paragraph_pimpl.[Ch]:
6039 * text2.C: reduce header dependencies, introduce type for positions
6041 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6043 * <various>: change to use Alert.h
6045 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
6047 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
6048 when encountering an unknown token.
6049 (readLyXformat2): Show an error message if there were unknown tokens.
6051 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6054 * BufferView_pimpl.C:
6058 * text2.C: use par->isInset()
6060 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6062 * paragraph_pimpl.h:
6063 * paragraph_pimpl.C: cleanup
6065 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6067 * text2.C (removeRow):
6068 * text.C (setHeightOfRow): remove useless (and costly) call to
6071 2001-11-20 Allan Rae <rae@lyx.org>
6073 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
6074 Now need Inset*::checkInsertChar() to return true for appropriate
6075 cases so that the characters in the minibuffer will actually be
6078 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6080 * text.C: change the order of the includes.
6081 (workWidth): initialize it at once.
6082 (workWidth): make maxw unsigned
6083 (setHeightOfRow): remove unused variable (inset)
6084 (selectSelectedWord): remove unused variable (inset)
6085 (paintRowText): fix drawing of hfill characters, and clean up a bit.
6087 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6089 * lyxserver.C (emergencyCleanup): do not try to close pipes if
6090 server is not running.
6092 (closeConnection): add debug info when server is disabled.
6094 * ColorHandler.C (getGCForeground): send debug message to GUI
6097 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
6099 * kbmap.C (bind): modify because return conventions of
6100 kb_sequence::parse have changed.
6102 * kbsequence.C (parse): only ignore spaces and not any stupid
6103 control character. This avoids tests like s[i] <= ' ', which are
6104 guaranteed to fail with 8bit characters and signed chars.
6105 Change return code to string::npos when there have been no error
6106 (0 was a bad idea when error is at first character)
6108 2001-11-14 José Matos <jamatos@fep.up.pt>
6111 * buffer.C (simpleDocBookOnePar): removed unused argument.
6113 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6115 * text.C (selectNextWordToSpellcheck): do not test explicitely for
6116 insets which are part of a word. Paragraph::isLetter takes care of
6117 that now. Use Paragraph::isInset to identify insets.
6118 (selectSelectedWord): do not test for hyphenation break.
6120 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
6121 that protected spaces are considered as spaces.
6123 * paragraph.C (isLetter): cleanup the code for ispell extras; use
6126 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
6129 * lyxserver.C: fix it. and small cleanup.
6131 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6133 * BufferView_pimpl.C: use inline helpers
6136 * LaTeXFeatures.C: fix typos
6139 * Spacing.C: move spacing_string into class
6141 * ToolbarDefaults.C: move stuff into namespace anon
6143 * layout.h: update enum
6145 * lyxfunc.C: use better debug
6147 * minibuffer.h: fix typo
6151 * WorkArea.C: add and use Debug::WORKAREA
6155 * text2.C: code re-organisation, inline helpers
6157 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
6159 * Layout.C: replaced a few cases of std::vector.size() == 0 with
6160 std::vector.empty().
6162 2001-11-09 Allan Rae <rae@lyx.org>
6164 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6165 '\n's after tables. Tabular and ERT inset work now makes this no
6168 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6171 * minibuffer.C: fix crash, improve drop-down completion
6173 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
6176 * lyxserver.C: invalidate fd's when doing endPipe()
6178 2001-11-08 José Matos <jamatos@fep.up.pt>
6180 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6181 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6184 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6186 2001-11-07 José Matos <jamatos@fep.up.pt>
6189 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6192 * buffer.C (sgmlOpenTag):
6193 * buffer.C (sgmlCloseTag): removed debug info.
6195 * buffer.h (sgmlOpenTag):
6196 * buffer.h (sgmlCloseTag): made public.
6198 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6200 * buffer.C (saveParamsAsDefaults):
6201 * lyx_cb.C (MenuLayoutSave): remove
6203 * LyXAction.C (init):
6205 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
6207 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6209 * buffer.C (setPaperStuff): removed from here...
6211 * bufferparams.C (setPaperStuff): ... and moved there.
6213 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
6217 * XFormsView.C: add support for drop-down completion
6219 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
6221 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6224 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6226 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6229 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6231 * lyx_main.C: change ref to known bugs
6233 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6235 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6236 to work around older babel problems.
6238 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6240 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6242 2001-10-24 Juergen Vigna <jug@sad.it>
6244 * tabular-old.C (ReadOld): below variable changes reflected.
6246 * tabular.[Ch]: added ltType struct for longtable header/footer
6247 defines and changed all instances where they are used. Added
6248 future support for double top/bottom rows.
6250 2001-10-24 José Matos <jamatos@fep.up.pt>
6252 * buffer.h (docbookHandleCaption):
6253 * buffer.C (docbookHandleCaption): removed unused function.
6254 (makeDocBookFile): moved docbook supported version to v4.1.
6256 2001-10-24 José Matos <jamatos@fep.up.pt>
6259 * tabular.C (docbookRow): new function to export docbook code of a row.
6260 (DocBook): now honors the longtable flags.
6262 2001-10-23 José Matos <jamatos@fep.up.pt>
6265 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6266 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6268 * buffer.C (makeLinuxDocFile):
6269 (makeDocBookFile): reworked the preamble, more clean, and with
6270 support for lyx defined entities. Changed the document declaration
6271 to be more XML friendly.
6273 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6274 if we need to output XML that should be done with a filter.
6276 2001-10-22 Juergen Vigna <jug@sad.it>
6278 * sp_pspell.h (class PSpell): add alive function needed in the
6279 controller to see if the spellchecker could be started.
6281 2001-10-22 Juergen Vigna <jug@sad.it>
6283 * buffer.C (insertStringAsLines): modify the font for inserting
6284 chars in certain conditions by calling checkInsertChar(font).
6286 2001-10-19 Juergen Vigna <jug@sad.it>
6288 * text.C (workWidth): use getRow instead of wrong algorithm.
6289 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6291 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6296 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6298 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6300 * text.C (workWidth): do not search for the exact row when
6301 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6302 optimization for big documents.
6304 2001-10-18 Juergen Vigna <jug@sad.it>
6306 * text.C (workWidth): new function with added Inset * parameter.
6308 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6310 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6312 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6313 change return type of getColumnNearX.
6316 * text.C (changeRegionCase): use uppercase/lowercase instead of
6319 (rightMargin): simplify code by factoring out the uses of
6324 (appendParagraph): use Paragraph::size_type
6326 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6328 * vspace.C (asLatexString): add a missing break
6330 2001-10-15 Herbert Voss <voss@perce.de>
6332 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6334 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6336 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6339 2001-10-10 André Pönitz <poenitz@gmx.net>
6341 * lyxfunc.C: removed greek_kb_flag.
6343 2001-10-10 Herbert Voss <voss@perce.de>
6345 * lyx_main.C: delete global string help_lyxdir.
6347 2001-10-09 Herbert Voss <voss@perce.de>
6349 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6351 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6353 * lyx_main.C: added global string help_lyxdir.
6355 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6357 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6359 * lyxrc.C (set_font_norm_type): support iso8859-4
6361 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6363 * LaTeX.C (deplog): add another regex for MikTeX
6365 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6367 * lyxrc.C (set_font_norm_type): support iso8859-3
6369 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6371 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6373 * LaTeXFeatures.C: remove special case of french and index
6375 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6376 before \begin{document}). This solves several incompatibilities.
6378 2001-10-03 Garst Reese <reese@isn.net>
6380 * lyx_cb.C: change CheckTex error msg.
6382 2001-10-03 José Matos <jamatos@fep.up.pt>
6384 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6386 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6388 * .cvsignore: update
6390 * lyx_main.C (commandLineVersionInfo): use new style version info.
6392 * buffer.C (writeFile):
6395 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6397 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6399 * version.h: update to use stuff in version.C
6401 * version.C.in: new file. Contains version information determined
6402 at compile time. This is a merging of version.h and
6405 2001-10-03 Juergen Vigna <jug@sad.it>
6407 * BufferView_pimpl.C (update): don't change "dirty" status in
6410 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6412 * WorkArea.C (c-tor): re-position version string slightly.
6414 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6416 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6417 revert to previous code.
6419 WorkArea.[Ch]: (show, destroySplash): methods removed.
6421 WorkArea.C: rework code so that it's an amalgam of the codes before and
6422 after the splash screen was moved to WorkArea.
6424 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6427 * vspace.C (inPixels):
6430 * buffer.C (insertStringAsLines):
6431 (asciiParagraph): fix types to be large enough
6433 * lyxlex_pimpl.h: change member status from short to int
6435 * layout.h: fix type of endlabeltype
6438 * kbsequence.C (parse): change return type to string::size_type
6440 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6443 * Bullet.C (bulletSize):
6444 (bulletEntry): do not use short ints as parameters
6446 * BufferView2.C (insertLyXFile): change a char to an int.
6448 * WorkArea.C (WorkArea): remove unneeded floats in computation
6450 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6452 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6454 * paragraph.C (asString): Do not ignore newline/hfill chars when
6455 copying to the clipboard.
6457 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6459 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6460 after a multi-line inset.
6462 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6464 * paragraph.C (validate): Set NeedLyXFootnoteCode
6466 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6468 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6469 and decrease-error to decrease.
6471 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6473 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6474 it more readable (should be equivalent)
6476 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6478 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6480 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6482 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6483 of a cursor (row, etc.) after a character has been deleted
6484 (deleteEmptyParagraphMechanism): call the method above on _all_
6485 cursors held by the LyXText when a double space has been
6488 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6490 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6492 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6494 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6495 background. Use greyOut() and the new show() methods to toggle between
6496 the foreground and background. Add code to remove the splash after
6497 its initial showing.
6499 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6500 (create_forms): no longer call Dialogs::showSplash.
6502 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6504 * .cvsignore: add version_info.h
6506 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6508 * version_info.h.in: new file
6510 * Makefile.am: add version_info.h.in
6512 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6513 version_info.h instead of VERSION_INFO
6515 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6517 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6518 The ERT inset now returns string().
6520 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6522 * lyxtext.h, text.C (selectNextWord): renamed as
6523 selectNextWordToSpellcheck.
6525 * text.C (selectNextWordToSpellcheck): Modified to not select
6526 words inside an ERT inset.
6528 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6530 * lyx_cb.C (MenuLayoutSave): change a bit the question
6532 * sp_base.h: include <sys/types.h>
6534 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6536 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6538 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6540 * several files: fix typos in user-visible strings
6542 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6544 * text2.C (pasteSelection): do not set the selection, since it
6545 will be cleared later. Actually, the intent was to fix the way the
6546 selection was set, but I figured rmoving the code was just as good.
6548 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6550 * FontLoader.C (available): Check if font is available without
6553 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6555 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6557 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6559 * lyxrc.[Ch]: added display_graphics variable and associated code.
6561 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6563 * bufferparams.C (hasClassDefaults): new method. Returns true if
6564 the buffer parameters correspond to known class defaults
6566 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6568 * XFormsView.C (show): set minimum size to the main window.
6570 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6572 * text2.C (copySelection):
6574 * lyxfind.C (LyXReplace):
6575 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6576 LyXText::selectionAsString.
6578 * paragraph.C (asString): add "label" argument to the second form
6580 * text2.C (selectionAsString): add "label" argument and pass it to
6581 Paragraph::asString.
6583 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6585 * lyx_main.C (commandLineHelp): remove version information
6587 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6589 * lyx_main.C: add -version commandline option
6591 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6593 * paragraph.h: make the optional constructor arg required instead.
6594 some modifications to other files because of this.
6596 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6598 * lyxserver.C (C_LyXComm_callback): make it static
6600 * lyx_main.C (error_handler): make it static
6602 * lyx_gui.C (LyX_XErrHandler): make it static
6604 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6606 * WorkArea.C: make the extern "C" methods static.
6608 * Makefile.am (lyx_LDADD): simplify
6610 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6612 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6613 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6615 * LyXAction.C (init):
6616 * lyxfunc.C (dispatch): associated code removal.
6618 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6620 * lyxfont.h (isSymbolFont): shut off warning
6622 * text.C (setHeightOfRow):
6623 (getVisibleRow): fix crash with empty paragraphs which have a
6626 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6628 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6631 2001-09-04 José Matos <jamatos@fep.up.pt>
6634 * tabular.C (docbook): rename docBook method to docbook.
6636 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6638 * Makefile.am: add dependencies to main.o.
6640 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6642 * FontLoader.C (available): Return false if !lyxrc.use_gui
6644 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6646 * FontInfo.C (query):
6647 * converter.C (view):
6648 * importer.C (Import):
6649 * exporter.C (Export): Can not -> cannot.
6651 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6653 * BufferView_pimpl.C: allow to create index inset even if
6656 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6658 * buffer.C (getLists): replace boost::tie code with an explicit pair
6659 as boost::tie can break some compilers.
6661 * iterators.h: Added a std:: declaration to the return type of
6664 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6666 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6669 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6671 * iterators.[Ch]: New files. Provide paragraph iterators.
6673 * buffer.C (changeLanguage): Use paragraph iterators.
6674 (isMultiLingual): ditto
6676 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6678 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6680 * FontLoader.C: Support for cmr font.
6682 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6684 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6685 (available): New method.
6687 * FontInfo.C (getFontname): Use scalable fonts even when
6688 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6691 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6693 * converter.C (Formats::view): reverted! Incorrect fix.
6695 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6697 * converter.C (Formats::view): only output the -paper option
6698 if the dvi viewer is xdvi, thereby fixing bug #233429.
6700 2001-08-23 Herbert Voss <voss@perce>
6702 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6704 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6706 * Spacing.h (Spacing): Set space to Default on in the default
6709 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6711 * vc-backend.h (RCS::versionString): add RCS to version
6712 (CVS::versionString): add CVS to version
6714 * vc-backend.C (scanMaster): do not add CVS to version.
6715 (scanMaster): do not add RCS to version
6717 * lyxvc.C (versionString): new method
6719 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6721 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6723 * Spacing.C (set): initialize fval
6725 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
6727 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6730 2001-08-16 Juergen Vigna <jug@sad.it>
6732 * lyxfunc.C (dispatch): implemented the new FINISHED states.
6734 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6736 * BufferView_pimpl.C:
6739 * text2.C: setParagraph takes linespacing now
6741 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
6743 * LyxAction.C: add internal LFUN_CITATION_INSERT
6745 * LyXView.C: actually apply fix
6747 * bufferlist.C: fix open non-existent file
6749 * lyxfind.C: fix indentation
6751 * lyxfunc.C: remove unneeded assert, fix typo
6753 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6755 * MenuBackend.C: use "Floatname List"
6757 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6759 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6760 when converting LaTeX layout to insetERT.
6761 Generate a non-collapsed float when reading old float
6763 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6765 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6768 2001-08-13 Juergen Vigna <jug@sad.it>
6770 * text.C (fill): return 0 instead of 20 as this seems to be the more
6773 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6775 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6778 2001-08-13 Juergen Vigna <jug@sad.it>
6780 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6782 (SearchBackward): comment out the unlocking of the inset_owner this
6783 should not be needed!
6785 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6787 * Many files: Remove inherit_language, and add latex_language
6789 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6792 2001-08-10 Juergen Vigna <jug@sad.it>
6794 * text.C (prepareToPrint): fixed hfill-width in draw!
6796 * BufferView2.C (selectLastWord): save the selection cursor as this
6797 now is cleared in the function LyXText::clearSelection!
6799 2001-08-08 Juergen Vigna <jug@sad.it>
6801 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6802 BACKSPACE type functions.
6804 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
6805 is only cutted from the document but not put in the cut-buffer, where
6806 still the old stuff should be.
6808 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
6810 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
6812 * tabular.C (SetWidthOfCell): fixed special case where the width
6814 (LeftLine): handle '|' in align_special.
6816 (LeftAlreadyDrawed): ditto
6817 (SetWidthOfCell): ditto
6819 2001-08-07 Juergen Vigna <jug@sad.it>
6821 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
6823 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6825 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
6826 * lyxlex.[hC]: ditto
6828 2001-08-06 Juergen Vigna <jug@sad.it>
6830 * text.C (getVisibleRow): fix up row clearing a bit.
6832 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6834 * minibuffer.C: make sure the X server sees the changes in the input.
6836 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6838 * paragraph.C (getFont): split into...
6839 (getLabelFont): this
6840 (getLayoutFont): and this
6841 * paragraph_pimpl.C (realizeFont): calling this
6843 * text2.C (getFont): split into...
6844 (getLayoutFont): this
6845 (getLabelFont): and this
6846 (realizeFont): all three calling this
6848 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6851 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6853 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6855 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
6857 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6858 layouts from the Quote inset insertion.
6860 2001-08-03 Juergen Vigna <jug@sad.it>
6862 * BufferView_pimpl.C (update): do the fitCursor only at the end!
6864 * screen.C (drawFromTo): don't call fitcursor here and do the loop
6865 only if status not is already CHANGED_IN_DRAW (second level).
6867 * text.C (draw): don't set the need_break_row when inside an
6870 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6872 * buffer.C (parseSingleLyXformat2Token): handle more latex
6875 * bufferview_funcs.[hC]: change function names to
6876 begin with small char, adjust other files.
6878 2001-08-02 André Pönitz <poenitz@gmx.net>
6881 BufferView_pimpl.C: remove broken special code for math-greek
6883 2001-08-02 Juergen Vigna <jug@sad.it>
6885 * BufferView_pimpl.C (update): redone this function so that we
6886 update the text again if there was a CHANGE_IN_DRAW.
6888 * screen.C (cursorToggle): removed LyXText parameter and recoded.
6889 (drawFromTo): added a new internal bool which is used by draw() and
6891 (general): some cursor drawing problems fixed.
6893 2001-08-01 Juergen Vigna <jug@sad.it>
6895 * lyxfind.C (LyXFind): fixed
6896 (SearchForward): ditto
6897 (SearchBackward): ditto
6899 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6900 spurius drawing of the cursor in the main area.
6902 * text2.C (status): small fix which could lead to a segfault!
6903 (clearSelection): remove unneeded BufferView param.
6905 2001-08-01 André Pönitz <poenitz@gmx.net>
6907 * lyxfunc.C: small change due to changed mathed interface
6909 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6911 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6913 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
6915 * lyxfunc.c: fail gracefully if file doesn't exist
6920 * BufferView_pimpl.C: IsDirWriteable() proto changed
6922 * LyXView.C: fix updateWindowTitle() to store the last title
6924 2001-07-31 Juergen Vigna <jug@sad.it>
6926 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6927 the font (wrong since using of Paragraph::highestFontInRange).
6929 * paragraph.C (highestFontInRange): added a default_size parameter.
6931 * text.C (getVisibleRow): minor clear row changes (still not perfect).
6932 (setHeightOfRow): reformat
6934 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6936 * converter.[hC] + affected files: move to (inital-char)lowercase
6939 * ParagraphParameters.C (ParagraphParameters): remove commented code
6941 * PainterBase.[Ch]: remove commented code
6943 * LaTeXFeatures.h: add "bool floats" for float.sty
6945 * LaTeXFeatures.C (LaTeXFeatures): init floats
6946 (require): handle float
6947 (getPackages): do it with floats
6949 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6951 * BufferView_pimpl.C (Dispatch): improve handling of
6952 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6954 * commandtags.h: #include lyxfont.h here temporarily to avoid
6957 * bufferlist.h: include LString.h here.
6959 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6961 * text2.C (getStringToIndex): new method.
6963 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
6965 * *: Reduced header file dependencies all over.
6967 2001-07-30 Baruch Even <baruch@lyx.org>
6969 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
6971 2001-07-29 Baruch Even <baruch@lyx.org>
6973 * buffer.C (readInset): Changed GRAPHICS to Graphics.
6975 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6977 * ParameterStruct.h (endif): add a default constructor to make
6978 sure that all variables is initialized.
6980 * ParagraphParameters.C (ParagraphParameters): adjust
6982 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6984 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
6985 index; also, check that there is something to index, and that it
6986 does not span over several paragraphs.
6987 (doubleClick): use WHOLE_WORD_STRICT for double click.
6989 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
6991 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
6994 2001-07-26 Baruch Even <baruch@lyx.org>
6996 * buffer.C (readInset): Changed to call up InsetGraphics when reading
6997 an InsetFig figure, backwards compatible reading of old figure code.
6999 2001-07-27 Juergen Vigna <jug@sad.it>
7001 * text2.C: font.realize function adaption.
7003 * text.C (draw): add a warnings lyxerr text if needed.
7005 * layout.C: font.realize function adaption.
7007 * language.C: add inherit_language and implement it's handlings
7009 * bufferview_funcs.C (StyleReset): remove language parameter from
7010 font creation (should be language_inherit now).
7012 * bufferparams.C (writeFile): handle ignore_language.
7014 * paragraph.C (getFontSettings): the language has to be resolved
7015 otherwise we have problems in LyXFont!
7017 * lyxfont.C (lyxWriteChanges): added document_language parameter
7018 (update): removed unneeded language parameter
7020 * paragraph.C (validate): fixed wrong output of color-package when
7021 using interface colors for certain fonts in certain environments,
7022 which should not seen as that on the final output.
7024 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
7026 * BufferView_pimpl.C:
7031 * LyXAction.C: add thesaurus support
7034 * lyxfind.C: add "once" parameter, for thesaurus, to not
7035 move to the next match
7037 2001-07-26 Juergen Vigna <jug@sad.it>
7039 * lyxfont.C (realize): honor ignore_language too!
7042 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
7044 * text.C (draw): one place more for ignore_language to not draw
7047 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
7049 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
7051 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7053 * buffer.C (parseSingleLyXformat2Token): a more general fix for
7054 the minipage conversion problem.
7056 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7058 * buffer.C (parseSingleLyXformat2Token): check minipage if we
7061 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7063 * BufferView.h: don't forward declare WorkArea
7065 * BufferView.C: don't include WorkArea.h
7067 2001-07-25 André Pönitz <poenitz@gmx.net>
7071 * lyxfunc.C: new LFUN 'math-space'
7073 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
7075 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7077 * text2.C (toggleInset): call open/close
7079 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7081 * lyxfunc.C (dispatch): add debug for the disabled case
7083 * font.C (buttonText): make similar to rectText
7085 * buffer.C (readInset): comment out parsing of insetlist and
7088 * PainterBase.C (rectText): small correction
7090 * BufferView_pimpl.C: comment out insettheorem and insetlist
7091 * LyXAction.C: ditto
7092 * commandtags.h: ditto
7094 2001-07-24 Juergen Vigna <jug@sad.it>
7096 * text.C (draw): honor the ignore_language.
7098 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
7100 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7102 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
7105 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7107 * lyxtext.h: remove unused (and unimplemented) methods
7109 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7111 * text.C (getVisibleRow): honor background color
7114 * Painter.h: remove default color argument for fillRectangle
7116 * text.C (backgroundColor): new method
7118 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7120 * text.C (getVisibleRow): adjust
7122 * font.[Ch] (rectText): new method, metrics
7123 (buttonText): new method, metrics
7125 * PainterBase.[hC]: make rectText and buttonText always draw and take
7128 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7130 * ToolbarDefaults.C (read):
7131 * MenuBackend.C (read): allow escaping in all strings
7133 * BufferView_pimpl.C (insertAndEditInset): new method.
7134 (Dispatch): use insertAndEditInset whenever appropriate.
7136 * BufferView_pimpl.C (insertNote): removed
7138 * BufferView_pimpl.C (smartQuote): new method, moved from
7139 BufferView; if an insetquote cannot be inserted, insert a '"'
7142 * BufferView2.C: remove insertCorrectQuote();
7144 * lyxfunc.C (getStatus): Add support for all remaingin
7147 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7149 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7150 command (necessary to pass " as parameter of self-insert.
7152 * text.C (selectWordWhenUnderCursor):
7153 (selectWord): add word_location parameter
7154 (selectWordWhenUnderCursor): same + remove special code for word
7156 (selectNextWord): use kind() to guess type of insetspecialchar,
7159 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7160 (insertErtContents): create ert insets as collapsed.
7161 (readInset): better compatibility code for Info inset.
7163 2001-07-20 Juergen Vigna <jug@sad.it>
7165 * lyxfunc.C (dispatch): use always LyXFind now!
7167 * text2.C (init): add a reinit flag so that the LyXText can be
7168 reinited instead of deleted and reallocated (used in InsetText).
7170 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7176 2001-07-18 Juergen Vigna <jug@sad.it>
7178 * text.C (selectNextWord): handle insets inside inset by calling
7179 always the bv->text functions so that we can go up the_locking_inset!
7181 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7182 in strange locations when inside an inset!
7184 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7185 handling to include insets.
7187 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7189 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7191 * LyXAction.C (init):
7193 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
7194 LIGATURE_BREAK, since the name is so stupid.
7196 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7198 * buffer.C (readInset): enable reading of new InsetNotes as well as old
7201 * FontLoader.C: remove FORMS_H_LOCATION cruft.
7203 * sp_form.[Ch]: remove.
7205 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
7207 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
7210 * src/buffer.C (readInset): ditto.
7212 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7214 * BufferView_pimpl.C (specialChar): new method. Obsoletes
7215 menuSeparator(), endOfSentenceDot(), ldots() and
7216 hyphenationPoint(), which are therefore removed.
7217 (Dispatch): handle LFUN_HYPHENATION_BREAK.
7219 * LyXAction.C (init):
7220 * commandtags.h: add LFUN_HYPHENATION_BREAK.
7222 * paragraph.C (getWord): removed.
7224 * BufferView_pimpl.C (Dispatch): use last word or selection for
7225 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7227 * lyx_main.C (queryUserLyXDir): do not ask before creating
7228 user_dir, except if it has been named explicitely.
7230 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7232 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7233 a document of zero size.
7235 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7237 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7238 approriately in the c-tor and in require().
7239 (getPackages): output the appropriate LaTeX for natbib support.
7241 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7242 variables "use_natbib" and "use_numerical_citations" when reading the
7244 (readInset): read the various natbib cite commands.
7245 (validate): white-space change.
7247 * bufferparams.[Ch]: new variables "bool use_natbib" and
7248 "bool use_numerical_citations".
7249 (writeFile): output them in the LyX file.
7251 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7253 * lyxfunc.C (getStatus): add support for all the inset insertion
7256 * text2.C (insertInset):
7257 * paragraph.C (insetAllowed):
7258 * BufferView_pimpl.C (insertInset): update to take in account the
7259 renaming of insertInsetAllowed
7261 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7263 * text2.C (getInset): new method. returns inset at cursor position.
7265 * BufferView_pimpl.C (Dispatch): changes because of this.
7267 * LyXAction.C (init): rename open-stuff to inset-toggle.
7269 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7271 * text2.C (toggleInset): renamed from openStuff; use
7274 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7276 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7278 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7280 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7282 * buffer.C (readLyXformat2): Add filename to the error dialog
7284 2001-07-18 Juergen Vigna <jug@sad.it>
7286 * tabular.C (GetCellNumber): put an assert here instead of the check!
7288 2001-07-17 Juergen Vigna <jug@sad.it>
7290 * BufferView_pimpl.C (toggleSelection): adapted too.
7292 * text.C (selectNextWord): adapted for use with insets.
7293 (selectSelectedWord): ditto
7295 2001-07-17 Juergen Vigna <jug@sad.it>
7297 * sp_spell.C (PSpell): fix initialitation order.
7299 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7301 * paragraph.C: spacing
7303 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7305 * sp_spell.C: repair language selection for pspell
7307 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7309 * lyxfunc.h: change more methods to begin with lower char.
7311 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7313 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7314 for unknown layouts.
7316 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7318 * buffer.C (readLyXformat2): Generate an error dialog if there are
7321 2001-07-16 Juergen Vigna <jug@sad.it>
7323 * sp_spell.C: always compile ISpell part.
7325 * lyxrc.C: added use_pspell entry and it's handling.
7327 2001-07-13 Juergen Vigna <jug@sad.it>
7329 * sp_spell.C: removed double includes.
7331 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7333 Consistent use of Lsstream.h:
7334 * Lsstream.h: added using std::stringstream for consistencies sake.
7336 * buffer.C: removed using std::stringstream
7338 * lyxfont.C (stateText):
7339 * paragraph.C (asString):
7340 * text.C (selectNextWord, selectSelectedWord):
7341 * text2.C (setCounter):
7342 * vspace.C (asString, asLatexString):
7343 std::ostringstream -> ostringstream.
7345 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7347 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7348 * commandtags.h: add LFUN_HELP_ABOUTLYX
7349 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7351 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7353 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7355 * lyx_gui_misc.C: remove spellchecker
7356 * lyxfunc.C: showSpellchecker
7358 * sp_ispell.h: added
7359 * sp_pspell.h: added
7361 * sp_form.[Ch]: removed
7362 * spellchecker.[Ch]: removed
7364 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7366 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7368 (simpleTeXSpecialChars): Simply print the input character without
7369 any special translation if pass_thru is set.
7371 * layout.h: Added bool pass_thru to layout class for being able to
7372 implement pass through of a paragraph for Literate Programming.
7374 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7375 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7376 * layout.C (Read): add "passthru" to list of layout tags and add
7377 code to set the pass_thru boolean when it is read.
7379 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7381 * trans_decl.h: remove allowed from KmodInfo
7383 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7387 * paragraph_pimpl.C (erase): use boost::prior
7389 * Painter.C (text): use data() instead of c_str() when length is
7391 * WorkArea.C (putClipboard): ditto
7392 * font.h (width): ditto
7394 * BufferView2.C: use it-> instead of (*it). for iterators
7396 * paragraph_pimpl.C: ditto
7397 * paragraph.C: ditto
7398 * minibuffer.C: ditto
7403 * converter.C: ditto
7405 * Variables.C: ditto
7406 * TextCache.C: ditto
7407 * MenuBackend.C: ditto
7408 * LyXAction.C: ditto
7410 * FloatList.C: ditto
7412 * ColorHandler.C (LyXColorHandler): ditto
7414 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7416 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7418 * text2.C (openStuff): reintroduce this method (which had been
7419 nuked in NEW_INSETS frenzy).
7421 * lyxfunc.C (Dispatch): when an action has not been handled, use
7422 its name in the error message, not its number.
7424 * paragraph.C (inInset): change method name to begin with lowercase.
7427 * text2.C: updates because of this.
7429 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7431 * ToolbarDefaults.C (add): add spaces in error message
7433 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7435 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7436 (readLyXformat2): rename return_par to first_par, use lyxlex's
7437 pushToken and remove the manual push handling.
7438 (parseSingleLyXformat2Token): add another ert comp. variable:
7439 in_tabular, rename return_par to first_par. handle newlines better
7441 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7443 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7445 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7447 * text2.C (getParFromID): removed
7449 * buffer.C (getParFromID): new method moved form lyxtext.
7450 * BufferView2.C (insertErrors): adjust
7451 (setCursorFromRow): adjust
7452 * BufferView_pimpl.C (restorePosition): adjust
7453 * lyxfunc.C (Dispatch): adjust
7454 * undo_funcs.C (textUndo): adjust
7456 (textHandleUndo): adjust
7457 (textHandleUndo): adjust
7459 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7461 * buffer.C: up' the LYX_FORMAT
7463 * lyxfont.h: turn NO_LATEX on as default
7465 * buffer.C (insertErtContents): new methods of tex style compability.
7466 (parseSingleLyXformat2Token): use it several places.
7467 * tabular.C (OldFormatRead): and here
7469 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7471 * text2.C: remove some commented code.
7474 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7475 * trans.C: changes because of the above.
7477 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7479 * text2.C (setCounter): Fix counters bug with bibliography layout.
7481 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7483 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7484 own member functions
7485 (simpleTeXSpecialChars): ditto
7487 2001-07-06 Juergen Vigna <jug@sad.it>
7489 * a lot of files: changed the access to LyXText::status and the
7490 call of undo-functions.
7492 * undo.[Ch]: added a inset_id to the undo informations.
7494 * undo_funcs.[Ch]: added and moved here all undo functions.
7496 * lyxtext.h: give the status enum a weight, made status_ a private
7497 variable and made accessor functions for it, removed the whole bunch
7498 of undo-functions as they are now in their own file, make some
7499 functions publically available. Added function ownerParagraph with
7502 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7503 made InInset() a const function, added getParFromID() function.
7505 * buffer.[Ch]: added const version for inset_iterator functions,
7506 added getInsetFromID() function.
7508 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7509 changed undo functions for new version.
7511 2001-07-05 Juergen Vigna <jug@sad.it>
7513 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7514 unknow mechanism does not call the proper constructor but only this
7515 one also if I request the other!?
7517 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7519 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7521 * text2.C (LyXText): use initialization lists.
7523 * lyxtext.h (Selection): initialize set_ and mark_
7524 (init): remove method
7526 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7528 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7530 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7532 * screen.[Ch]: change method names to begin with lowercase
7534 * BufferView_pimpl.C (updateScrollbar): simplify further and
7535 hopefully make it a bit faster.
7537 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7539 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7540 calling directly xforms functions.
7542 * Painter.C (Painter):
7543 * lyx_cb.C (MenuWrite):
7544 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7547 * lyx_gui.C: remove bogus guiruntime extern declaration.
7549 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7551 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7553 (redoDrawingOfParagraph): ditto
7554 (redoParagraphs): ditto
7555 (cutSelection): don't create a object for CutAndPaste use the
7556 static method directly
7557 (pasteSelection): ditto
7559 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7562 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7564 * modifications to some other files because of this.
7566 * Makefile.am (lyx_SOURCES): add XFormsView
7568 * XFormsView.[Ch]: new files
7570 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7571 the main window. Move the gui dependent stuff to XFormsView
7573 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7575 * tabular.C (GetCellInset): update cur_cell also in the row/col
7576 version of this function.
7578 * lyxfunc.C: no need to include figure_form.h here.
7584 * lyxvc.C: no need to include forms.h here.
7586 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7588 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7590 * lyxfunc.C (Dispatch):
7592 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7593 constructor argument.
7595 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7597 * paragraph.C (Paragraph): dont't clear, and just set layout.
7598 (makeSameLayout): use params's copy contructor.
7600 * ParagraphParameters.[Ch] (makeSame): delete method
7602 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7604 * Variables.[Ch]: fix indentation, rename set to isSet
7606 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7608 * lyxfunc.C (Dispatch): fix typo
7610 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7612 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7615 * bufferlist.C: include assert.h for emergencyWrite().
7617 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7619 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7620 give up at last (bug #425202) !
7622 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7628 * spellchecker.C: strip spellchecker options and bring up
7629 preferences tab instead
7631 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7633 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7634 the istringstream constructor
7636 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7638 * paragraph.C (getLayout): fix return value
7640 * paragraph.h: do not declare getLayout as inline.
7642 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7644 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7646 * lyxcursor.h (operator<): new func
7647 (operator>): new func
7648 (operator>=): new func
7649 (operator<=): new func
7651 * text.C (changeCase): use selection.start and selection.end
7652 (changeRegionCase): require from to be <= to. Require par to be a
7655 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7657 2001-06-27 Juergen Vigna <jug@sad.it>
7659 * text.C (cursorLeftOneWord): changed to return the cursor and added
7660 overlay with BufferView * parameter which calls this one.
7662 (selectWord): use new getWord function.
7663 (changeCase): renamed from changeWordCase as and extended to work
7666 * lyxtext.h: added enum word_location
7668 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7669 changeCase as this operates now also on selections.
7671 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7673 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7675 * many files: send debug output to Debug::INFO instead of
7678 * converter.C (View):
7680 (Move): send debug output to Debug::FILES instead of console.
7682 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7684 * lyxfunc.C (getStatus): use func_status
7686 * func_status.h: new header, describing the results of
7689 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7692 2001-06-25 The LyX Project <jug@sad.it>
7694 * buffer.C (sgmlOpenTag):
7696 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7698 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7700 * text2.C: remove some dead code
7702 * tabular.C (GetCellInset): store the last cell checked (gotten)
7704 * tabular.h: add the helper for the speedup
7706 * lyxtext.h: remove some dead code
7708 2001-06-26 The LyX Project <Asger>
7710 * paragraph.C: Change export to LaTeX of alignment to
7711 \begin{center} and family for better roundtrip work with reLyX.
7713 * Tune the math drawing a bit.
7715 2001-06-25 The LyX Project <Asger>
7717 * LColor.C (LColor): New color for math background. New color
7720 2001-06-25 The LyX Project <jug@sad.it>
7722 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7725 * bufferlist.C (newFile): do not restrict to files ending with
7728 * BufferView_pimpl.C (MenuInsertLyXFile):
7730 2001-06-24 The LyX Project <jug@sad.it>
7732 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7735 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7737 * lyxtext.h: rename most methods to begin with a small char.
7738 Lots of changes because of this.
7740 * paragraph.C (Paragraph): do not call fitToSize
7741 (erase): call Pimpl::erase
7742 (insertChar): call Pimpl::insertChar
7743 (insertInset): call Pipl::insertInset
7744 (breakParagraph): do not call fitToSize
7745 (breakParagraphConservative): do not call fitToSize
7746 (fitToSize): remove method
7748 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7750 2001-06-24 The LyX Project <Asger>
7752 * Fix Qt compilation^2
7754 2001-06-24 The LyX Project <jug@sad.it>
7756 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7757 depthHook(getDepth()-1).
7760 * ParagraphParameters.h:
7761 * ParameterStruct.h: change type of depth to unsigned int ==
7762 depth_type. Many adaptations to other files before of that.
7764 2001-06-24 The LyX Project <Asger>
7766 * Fix Qt compilation.
7768 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7770 * paragraph.h: renamed several methods to begin with small letter.
7771 several changes to many parts of the code because of this.
7773 2001-06-23 The LyX Project <jug@sad.it>
7775 * text2.C (InsertStringAsLines): renamed from InsertStringA;
7776 rewritten to discard all double spaces when KeepEmpty is off
7777 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7778 to only handle newlines but not fiddle with spaces and friends.
7780 * lyxfunc.C (MenuNew): when doing 'new from template', use
7781 template_path as default directory
7783 2001-06-23 The LyX Project <Asger>
7785 * Clean-up of header file includes all over
7786 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7788 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7790 * paragraph.h: renamed from lyxparagraph.h
7792 2001-06-23 Asger <lyx@violet.home.sad.it>
7794 * Buffer.h: Removed Buffer::resize
7795 * BufferList.h: Removed BufferList::resize
7796 * LyXView.h: Added LyXView::resize. This way, we will only reflow
7797 the document lazily when we change the width, or the font settings.
7799 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7801 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7803 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7805 * buffer.h: remove out of date comment
7807 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7810 * screen.C: fix "theoretical" GC leak
7812 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7814 * LaTeX.C (scanAuxFile):
7815 (deplog): remove trailing \r when reading stream (useful under
7818 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
7820 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
7821 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
7822 and BufferView::theLockingInset(Inset*), so should use them and not
7823 access bv_->text->the_locking_inset directly.
7825 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
7827 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7830 * tex-defs.h: remove old unused file
7832 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
7834 * BufferView_pimpl.C: fix typo, remove minibuffer message
7835 when buffer has loaded
7837 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7839 * lyxfunc.C (Dispatch): use stringstream
7840 (MenuNew): use stringstream
7841 (Open): use stringstream
7843 * importer.C (Import): use stringstream
7845 * bufferview_funcs.C (CurrentState): use stringstream
7847 * LaTeX.C (run): use stringstream
7849 * BufferView_pimpl.C (savePosition): use stringstream
7850 (restorePosition): use stringstream
7851 (MenuInsertLyXFile): use stringstream
7853 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
7866 * vspace.C: removed // -*- C++ -*- as first line.
7869 * version.h: added // -*- C++ -*- as first line.
7871 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7873 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7875 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7878 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7880 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7883 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7885 * gettext.C: include LString.h even when --disable-nls is on.
7887 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
7889 * converter.h (Get): changed argument type from int to
7890 FormatList::size_type to avoid unnecessary conversion.
7892 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7895 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7897 * gettext.h: include LString.h even when --disable-nls is on.
7899 2001-06-07 Juergen Vigna <jug@sad.it>
7901 * text.C (BreakAgain): subst spaces with tabs.
7903 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7904 (resizeInsetsLyXText): set force on resizeLyXText.
7906 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7908 * gettext.h (gettext_init):
7909 (locale_init): use a real definition instead of a macro
7911 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7913 * Bufferview_pimpl.C:
7915 * LColor.C: further lcolor tidies
7917 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7919 * BufferView_pimpl.C (updateScrollbar): simplify.
7921 * BufferView2.C: don't include insets/insetinfo.h, change
7922 prototype for insertInset and call the Pimpl version. let
7923 updateInset call Pimpl version.
7925 * BufferView.h: move inset_slept to BufferView::Pimpl, move
7926 gotoInset to BufferView::Pimpl
7928 2001-06-01 Juergen Vigna <jug@sad.it>
7930 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7931 inside a LockingInset (is the update needed at all?).
7933 2001-05-31 Juergen Vigna <jug@sad.it>
7935 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7936 here not the old one otherwise how should we compare it afterwards
7939 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7944 * FontInfo.C: bring C functions into global namespace when
7947 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7949 * LString.h: make sure config.h has been loaded before LString.h.
7951 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7952 (one for each char read by EatLine!).
7954 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7957 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7959 * paragraph.C (BreakParagraph): set the inset_owner in the new par
7960 to the same as the par we break from
7962 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7964 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7966 * MenuBackend.C (expand): also create menu entries for wide
7967 versions of the floats.
7969 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
7971 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
7973 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
7974 frontends/Makefile.am
7980 * tabular.C (getTokenValue): add std::
7982 * tabular-old.C (getTokenValue): add std::
7983 (getTokenValue): ditto
7984 (getTokenValue): ditto
7986 * screen.C (ToggleSelection): adjust
7988 * lyxtext.h: put selection cursors inside a Selection struct.
7990 * lyxfunc.C (moveCursorUpdate): adjust
7992 * lyxfont.C (latexWriteStartChanges): add std::
7996 * font.h: delete with(char const *, LyXFont const &)
7998 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
8000 * FontInfo.C (getFontname): add std::
8002 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8003 (workAreaButtonPress): adjust
8004 (tripleClick): adjust
8006 (moveCursorUpdate): adjust
8009 * BufferView2.C (gotoInset): adjust
8011 2001-05-30 Juergen Vigna <jug@sad.it>
8013 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
8014 to check pspell I add this as default as I now have new pspell
8015 libraries and they seem to use this.
8017 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8019 * text2.C (CutSelection): make the cursor valid before the call to
8022 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8024 * kbsequence.C (parse): de-uglify a bit the parsing code, which
8025 relied on 0 terminated strings and other horrors. Bug found due to
8026 the new assert in lyxstring!
8028 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
8031 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8033 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
8036 * lyxfunc.C (processKeySym): change method of getting to the
8039 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
8040 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
8041 * BufferView_pimpl.[Ch]: here as private methods.
8043 2001-05-28 Juergen Vigna <jug@sad.it>
8045 * text.C (SetHeightOfRow): added the update() call again as it is
8046 needed to initialize inset dimensions!
8048 2001-05-16 Juergen Vigna <jug@sad.it>
8050 * text2.C (SetCharFont): Add new function with BufferView * and
8051 bool toggleall parameters for setting insets internal fonts.
8052 (SetFont): Freeze the undo as we may change fonts in Insets and
8053 all this change should be inside only one Undo!
8055 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
8056 setting font's in insets as for them we have the SetFont function!
8058 2001-05-15 Juergen Vigna <jug@sad.it>
8060 * text2.C (ClearSelection): to be sure we REALLY don't have any
8063 * tabular.C (TeXCellPreamble): fixed the left border problem for
8066 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
8068 * LaTeX.C (deplog): Make sure that the main .tex file is in the
8071 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8073 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
8074 LFUN_BREAKPARAGRAPH.
8076 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
8077 help test to "internal only", similar for LFUN_INSERT_URL
8079 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
8080 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
8081 auto_region_delete and deadkeys.
8083 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
8086 * LColor.C: remove some dead entries, tidy a little
8088 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8090 * lyxfunc.C (processKeySym): comment the Escape handling, remove
8092 (Dispatch): implement LFUN_ESCAPE
8094 * commandtags.h: add LFUN_ESCAPE
8096 * LyXAction.C (init): add entry for LFUN_ESCAPE
8098 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
8099 Remove commented code.
8100 (insertNote): moved here
8101 (open_new_inset): moved here
8103 * BufferView[2].[Ch]: move insertNote and open_new_inset to
8106 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8108 * kbmap.C (findbinding): clean it up and make it work correctly.
8110 * lyx_main.C (init): do not pass argc and argv as parameters
8112 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
8114 * buffer.C: fix path for OS/2 & Win32
8118 * lyx_main.C: Added os:: class.
8120 * os2_defines.h: update
8122 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8124 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8125 better by trying again with reduced state.
8127 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8129 * lyxrc.C (read): print error about invalid key sequence only when
8130 debugging (because not all latinX keysyms are known to some X
8133 * kbsequence.C (getiso): add a few std:: qualifiers
8134 (getiso): comment out extra return statement.
8136 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
8138 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8140 (Dispatch): enhance the accent inset a bit. (not perfect)
8142 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8144 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8146 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8148 * bufferlist.C (emergencyWrite): fix assert() call
8150 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
8152 * text.C (InsertChar): Added trivial patch to only send the "you
8153 can not do multiple spaces this way" message once during a
8156 2001-05-08 Baruch Even <baruch@lyx.org>
8158 * Makefile.am: Changed order of libraries to get LyX to link properly
8159 with the gnome frontend.
8161 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8163 * LaTeXFeatures.h: add a std:: qualifier
8165 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8167 * paragraph.C (String): use stringstream
8169 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8171 * paragraph.C (writeFile): remove footflag arg
8173 * buffer.C (makeLaTeXFile): use stringstream
8174 (latexParagraphs): remove footnot gurba
8176 * LaTeXFeatures.C (getPackages): use stringstream
8177 (getMacros): likewise
8178 (getTClassPreamble): likewise
8179 (getFloatDefinitions): new method
8181 * paragraph.C (writeFile): reindent
8184 * WorkArea.h: revert the xpos + etc changes.
8186 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8188 * lyxparagraph.[Ch]: add copy constructor, remove Clone
8190 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8191 (pasteSelection): likewise
8192 * text2.C (CreateUndo): likewise
8194 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8196 * minibuffer.C (peek_event): temporarily reduce the functionality
8197 of the minibuffer (to allow args on lfuns)
8199 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
8200 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
8202 * buffer.C (readInset): add compability reading of old float
8203 lists, add reading of new style float list.
8204 (readInset): avoid reevaluation of inscmd.getCmdName()
8205 (getLists): reindent
8207 * MenuBackend.C (MenuItem): implement parsing of
8208 md_floatlistinsert and md_floatinsert.
8209 (expand::LastFiles): move initalizaton of iterators out of loop,
8211 (expand::Documents): introduce typdedef vector<string> Strings,
8213 (expand::ExportFormats): introduce typedef vector<Format const *>
8214 Formats, and use it.
8215 (expand): implement FloatListInsert and FloatInsert.
8217 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8218 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8219 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8221 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8223 (Dispatch::LFUN_FLOAT_LIST): implement
8225 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8227 * LaTeX.C (run): Fix problem with --export code.
8229 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8231 * BufferView.[Ch] (workarea): removed.
8232 (getClipboard) new method; wrapper for workarea()->getClipboard()
8234 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8237 * WorkArea.h (width, height, xpos, ypos): These methods all
8238 returned the dimensions of the work_area sub-area of WorkArea,
8239 resulting in a position error if the WorkArea were resized. Now
8240 return the dimensions of the entire WorkArea.
8242 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8244 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8246 * LaTeX.C (deplog): correct the syntax of regex reg1
8248 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8250 * undo.C: remove !NEW_INSETS cruft
8252 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8254 * text2.C: remove !NEW_INSETS cruft
8256 * text.C: remove !NEW_INSETS cruft
8258 * tabular.C: remove !NEW_INSETS cruft
8260 * spellchecker.C: remove !NEW_INSETS cruft
8262 * lyxtext.h: remove !NEW_INSETS cruft
8264 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8266 * lyxfunc.C: remove !NEW_INSETS cruft
8268 * lyxfind.C: remove !NEW_INSETS cruft
8270 * lyx_cb.C: remove !NEW_INSETS cruft
8272 * figureForm.C: remove !NEW_INSETS cruft
8274 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8276 * buffer.[Ch]: remove !NEW_INSETS cruft
8278 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8280 * CutAndPaste.C: remove !NEW_INSETS cruft
8282 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8284 * BufferView2.C: remove !NEW_INSETS cruft
8286 * BufferView.h: remove !NEW_INSETS cruft
8288 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8290 * Lsstream.h: include LString.h before the sstream headers to
8291 fix problem with gcc 2.95.3 and lyxstring
8293 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8295 * lyx_main.C: add using directives when needed for C functions
8296 declared in std:: namespace.
8298 2001-04-27 Juergen Vigna <jug@sad.it>
8300 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8301 (SetHeightOfRow): comment out the update call should not be needed!
8303 2001-04-13 Juergen Vigna <jug@sad.it>
8305 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8306 (LyXTabular): tried to minimize operator= operations (and realized
8307 hopfully Lars wish).
8309 2001-04-27 Juergen Vigna <jug@sad.it>
8311 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8313 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8315 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8317 * buffer.C (readInset): hack to make listof algorithm work
8319 * BufferView_pimpl.C: hack to make listof algorithm work
8321 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8323 * LyXAction.C: removed all !NEW_INSETS cruft
8324 (init): moved lfun_item in method
8326 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8328 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8330 * BufferView2.C (theLockingInset): white space.
8332 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8334 * minibuffer.C: include <iostream>
8336 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8338 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8340 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8342 * text.[Ch] (TransposeChars): new method
8344 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8346 * call message directly through LyXView instead of through LyXFunc
8347 * BufferView2.C: adjust
8348 * BufferView_pimpl.C: adjust
8349 * FontLoader.C: adjust
8351 * bufferview_funcs.C: adjust
8352 * converter.C: adjust
8353 * figureForm.C: adjust
8354 * importer.C: adjust
8356 * lyx_gui_misc.C: adjust
8360 + more files in subdirs
8362 * lyxparagraph.h (size): move up int file
8365 * adjust all uses of Assert to lyx::Assert.
8367 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8368 lyxfunctional in namespace lyx
8369 * layout.C (hasLayout): ditto
8372 (delete_layout): ditto
8373 (NumberOfClass): ditto
8374 * converter.C (GetFormat): ditto
8379 * bufferlist.C (getFileNames): ditto
8380 (emergencyWriteAll): ditto
8383 * MenuBackend.C (hasSubmenu): ditto
8386 * BufferView_pimpl.C (getInsetByCode): ditto
8388 2001-04-18 Juergen Vigna <jug@sad.it>
8390 * vspace.C (asLatexString): fixed the 100% problem.
8392 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8394 * lyxfunc.C (Dispatch):
8396 * minibuffer.h: add a few std:: qualifiers
8398 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8400 * minibuffer.[Ch]: reimplement so that commands is initiated and
8401 run from lyxfunc, simplified som handling, and made the completion
8402 and history code for complete. wip.
8404 * lyxfunc.C (processKeySym): call message
8405 (miniDispatch): new temporary method
8406 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8407 (LFUN_MESSAGE): implement
8408 (LFUN_MESSAGE_PUSH): implement
8409 (LFUN_MESSAGE_POP): implement
8410 (initMiniBuffer): the initial/defualt minibuffer message.
8412 * lyxfont.[Ch]: inline some more getters
8414 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8416 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8418 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8419 (AutoSave): use LFUN_MESSAGE
8420 (Reconfigure): ditto
8422 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8424 * figureForm.C: use LFUN_MESSAGE
8426 * converter.C (runLaTeX): use LFUN_MESSAGE
8428 * bufferview_funcs.C: use LFUN_MESSAGE
8430 (changeDepth): ditto
8432 * bufferparams.h: use boost::
8434 * bufferlist.h: inherit privately from noncopyable
8436 * bufferlist.C (loadLyXFile): remove some commented code.
8438 * buffer.C (runChktex): use LFUN_MESSAGE
8440 * ShareContainer.h: inherit privately from noncopyable
8442 * ParagraphParameters.[hC] (depth): inline it.
8444 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8446 (message): new method
8447 (messagePush): ditto
8449 (show): init minibuffer
8450 (showState): direct call
8452 * LaTeX.[Ch]: inherit privately from noncopyable
8453 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8454 instead of WriteStatus.
8456 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8458 * BufferView_pimpl.C (buffer): don't init minibuffer
8459 (workAreaButtonPress): use LFUN_MESSAGE
8460 (workAreaButtonRelease): ditto
8461 (savePosition): ditto
8462 (restorePosition): ditto
8463 (MenuInsertLyXFile): ditto
8464 (workAreaExpose): don't init minibuffer
8465 (update): remove commented code, simplify
8467 * BufferView2.C (openStuff): use LFUN_MESSAGE
8468 (toggleFloat): ditto
8471 (copyEnvironment): ditto
8472 (pasteEnvironment): ditto
8477 (updateInset): remove some commented code
8479 * lastfiles.h: inherit privately from noncopyable
8484 * lyxlex_pimpl.h: ditto
8486 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8487 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8488 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8490 * LyXAction.h: inherit privately from noncopyable, add methods
8491 func_begin, func_end, returning iterators to the func map.
8493 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8494 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8495 (func_begin): new method
8496 (func_end): new method
8498 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8500 (copySelection): ditto
8501 (pasteSelection): ditto
8503 * BufferView.C: whitespace change
8504 * BufferView.h: inherit privately from noncopyable
8506 2001-04-16 Allan Rae <rae@lyx.org>
8508 * tabular-old.C (l_getline):
8509 * spellchecker.C (sc_check_word):
8510 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8511 an unrecognised preprocessor directive. So ensure they're wrapped.
8513 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8515 * src/exporter.C (Export): Give an error message when path to file
8518 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8520 * LaTeX.C (deplog): Always check that foundfile exists.
8522 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8525 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8527 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8529 * tabular.[Ch] (getLabelList): implement new method
8531 * minibuffer.h: comment ouf setTiimer
8533 * minibuffer.C (ExecutingCB): constify res
8534 (peek_event): constify s
8535 (Set): constify ntext
8536 (Init): constify nicename
8538 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8540 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8541 (savePosition): use two params to Minibuffer::Set
8542 (restorePosition): ditto
8544 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8546 * lyx_main.C: include language.h
8548 * Makefile.am (lyx_main.o): add language.h
8550 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8556 * CutAndPaste.C: include gettext.h
8558 * lyxfont.h: remove old hack with ON and OFF.
8561 * lyxfont.h: do not include language.h...
8566 * bufferview_funcs.C:
8572 * paragraph.C: ... but do it here instead
8574 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8576 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8578 * tabular.C: small reformat
8580 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8583 (BreakParagraph): ditto
8584 (SetOnlyLayout): ditto
8587 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8590 * lastfiles.C: removed most using decl, add std:: where needed
8592 * buffer.C: ws changes
8594 * MenuBackend.C (class compare_format): put into anon namespace
8595 (expand): constify label, names, action, action2
8598 * text.C (SingleWidth): constify font
8599 (IsBoundary): constify rtl2
8600 (GetVisibleRow): constify ww
8602 * LaTeX.C (deplog): constify logfile
8604 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8606 (workAreaExpose): constify widthChange, heightChange
8608 * lyxrow.C (par): moved
8611 * lyxrow.h: as inlines here
8613 * lyxfont.h (shape): moved from lyxfont.C
8614 (emph): moved from lyxfont.C
8616 * lyxfont.C (LyXFont): use initialization list for all
8618 (shape): move to lyxfont.h as inline
8619 (emph): move to lyxfont.h as inline
8622 2001-04-04 Juergen Vigna <jug@sad.it>
8624 * vspace.C: had to include stdio.h for use of sscanf
8626 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8629 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8630 independent of xforms.
8632 2001-04-02 Juergen Vigna <jug@sad.it>
8634 * spellchecker.C: fixed namespace placing!
8636 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8638 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8639 the LyXParagraph * is 0.
8641 2001-03-29 Juergen Vigna <jug@sad.it>
8643 * vspace.C: added support for %, c%, p%, l%.
8644 (stringFromUnit): added helper function.
8645 (asLatexString): changed to give right results for the %-values.
8647 * buffer.C: convert the widthp in a width%.
8649 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8651 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8654 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8655 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8657 * lyx_cb.[Ch]: see above.
8659 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8663 * lyx.[Ch]: replaced by figure_form.[Ch].
8667 * lyxfunc.C: changed headers associated with above changes.
8669 2001-03-27 Juergen Vigna <jug@sad.it>
8671 * BufferView_pimpl.C: set the temporary cursor right!
8673 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8675 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8677 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8679 * LString.h: removed "using std::getline"!
8681 * BufferView_pimpl.C (Dispatch): changes due to changes in
8682 InsetInclude::Params.
8684 * buffer.C (tag_name): removed redundant break statements as they were
8685 producing lots of warnings with my compiler.
8687 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8689 * LString.h: add "using std::getline" when using the real <string>.
8691 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8693 * buffer.C: removed bitset usage.
8694 PAR_TAG moved to an anonymous name space.
8695 (tag_name): new funtion, also in the anonymous namespace.
8696 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8697 (makeDocBookFile): clean code. Completed transition from string arrays
8699 (SimpleDocBookOnePar): code clean.
8701 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8703 * tabular.C: add some comments.
8705 2001-03-22 Juergen Vigna <jug@sad.it>
8707 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8708 compatibility read a bit and fixed bug with minipage in different
8711 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8713 * buffer.C (pop_tag): removed.
8714 (push_tag): removed.
8715 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8716 array replaced with vector. Added support for CDATA sections.
8717 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8719 (makeDocBookFile): XML conformant declaration of CDATA section,
8720 fixed bug related to <emphasis> in the first paragraph char.
8721 (sgmlOpenTag): exclude empty tags.
8722 (sgmlCloseTag): ditto.
8724 * buffer.h (pop_tag): removed.
8725 (push_tag): removed.
8727 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
8729 * language.h (Languages): added size_type and size().
8731 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8733 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8734 response on compability reading of minipages. One probliem is that
8735 the old usage of minipages was «flertydig»
8737 * several files here and in subdirs: don't use static at file
8738 scope use anon namespaces instead.
8740 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
8742 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8743 LaTeX output. This is necessary for Literate document
8746 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8748 * buffer.C: insert hfill when needed.
8750 * tabular.C (l_getline): use string::erase, small whitespace change.
8752 * BufferView_pimpl.C: try the anon namespace.
8755 2001-03-16 Juergen Vigna <jug@sad.it>
8757 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8758 otherwise it won't open options-dialogs.
8760 * buffer.C: honor pextraWidth(p) on converting minipages.
8762 * tabular.C (l_getline): changed the functions to strip trailing \r.
8764 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
8766 * BufferView_pimpl.C:
8767 * minibuffer..C: added "using SigC::slot" declaration.
8769 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8771 * lyxlex_pimpl.h: noncopyable is in namespace boost.
8777 * paragraph.C: ditto
8779 * lyxtext.h: NO_PEXTRA
8781 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8783 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8784 * ParameterStruct.h: ditto
8785 * ParagraphParameters.h: ditto
8786 * lyxparagraph.h: ditto
8788 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8790 * buffer.C: add compability for minipage alignment.
8791 (latexParagraphs): remove unwanted pextra check.
8793 * several files: remove CXX_WORKING_NAMESPACES
8795 * buffer.C (pop_tag): tie is in namespace boost
8797 * BufferView.h: noncopyable is in namespace boost
8802 * lastfiles.h: ditto
8803 * bufferlist.h: ditto
8804 * ShareContainer.h: ditto
8806 * LyXAction.h: ditto
8809 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8811 * Merging changes from BRANCH_MVC back into HEAD.
8813 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
8815 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
8817 * BufferView_pimpl.C: change from intl.C
8821 * Makefile.am: move combox.*
8827 * intl.C: remove dialog (covered by prefs)
8829 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8831 * lyxfunc.C (Dispatch): removed redundant break statement.
8833 2001-03-14 Juergen Vigna <jug@sad.it>
8835 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
8837 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8839 * buffer.C: add hack to fix compability reading of minipages.
8841 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
8843 * buffer.C (getLists): Cleanup.
8845 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8847 * lyxfont.C (update): don't honor toggleall on font size.
8849 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
8853 * Makefile.am: moved to frontends/xforms/
8857 * BufferView_pimpl.C: changes for moved mathpanel
8859 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8861 * gettext.h: fix gettext_init() in --disable-nls
8863 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8865 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8867 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
8870 * lyx.h: strip external form
8872 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8874 * BufferView_pimpl.C: add comment, destroySplash()
8876 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8878 * BufferView_pimpl.C:
8882 * lyxfunc.C: use re-worked insetinclude
8884 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8886 * buffer.C: add using std::stringstream.
8888 * lyx_cb.C: readd using std::ios.
8890 * buffer.C: add using std::map.
8892 * BufferView_pimpl.C: add using std::vector.
8894 * ShareContainer.h: add std:: to swap.
8896 * buffer.h: add some typedefs
8897 * buffer.C (getLists): use them
8898 (getLists): renamed from getTocList.
8899 add a counter for the different float types and use it in the
8901 (getLists): use the same counter for the NEW_INSETS and the "non"
8904 * lyx_cb.h: remove unused items, includes, using etc.
8906 * ShareContainer.h: remove some commented code, add more comments
8907 and "documentation".
8909 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8911 * buffer.C (getTocList): make the list also when NEW_INSETS is
8914 * buffer.h: remove TocType
8916 * buffer.C (getTocList): change to return a map<string,
8917 vector<TocItem> >, implement for dynamic number of list.
8919 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8920 * text2.C (PasteSelection): adjust
8921 * CutAndPaste.C (pasteSelection): adjust
8923 * FloatList.C (FloatList): update from the new_insets branch.
8924 * Floating.[Ch]: ditto
8925 * LaTeXFeatures.C: ditto
8927 * lyxlex_pimpl.C: ditto
8929 * paragraph.C (Last): remove when NEW_INSETS is defined.
8931 * other file: changes because of the above.
8933 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8935 * lyxparagraph.h: rename next to next_, previous to previous_,
8936 make them private for NEW_INSETS. Rename Next() to next(),
8937 Previous() to previous().
8939 * other files: changes because of the above.
8941 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
8944 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8947 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8949 * main.C (main): pass lyx_localedir to gettext_init().
8951 * gettext.h: remove locale_init and gettext_init macros
8953 * gettext.C (locale_init): new function
8954 (gettext_init): new function
8956 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8959 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
8961 * Moved credits to frontends:
8962 * credits.[Ch]: removed
8963 * credits_form.[Ch]: removed
8964 * lyx_gui_misc.C: remove credits stuff
8967 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8969 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
8971 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
8972 unneeded destructor.
8974 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
8975 a standalone pointer again.
8977 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
8979 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
8985 * ToolbarDefaults.C:
8994 * BufferView_pimpl.C: use new file dialog in GUII
8997 * lyx_cb.C: remove LayoutsCB to Toolbar
8999 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9001 * ShareContainer.h (get): add std:: qualifier
9003 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9005 * ShareContainer.h: define a proper ShareContainer::value_type
9006 type (and use typename to please compaq cxx)
9008 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9010 * lyxparagraph.h: move serveral local vars to
9011 ParameterStruct/ParagraphParameters., use ShareContainer in
9012 FontTable., make vars in FontTable private and add getter and
9015 * paragraph.C: changes because of the above.
9017 * lyxfont.h: remove copy constructor and copy assignment. (the
9018 default ones is ok), move number inside FontBits. move inlines to
9021 * lyxfont.C: add number to initializaton of statics, move several
9022 inlines here. constify several local vars. some whitespace
9023 cleanup. Dont hide outerscope variables.
9025 * Spacing.h: add two new constructors to match the set methods.
9027 * ShareContainer.h: new file, will perhaps be moved to support
9029 * ParameterStruct.h: new file
9031 * ParagraphParameters.h: new file
9033 * ParagraphParameters.C: new file
9035 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
9036 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
9038 * BufferView_pimpl.C: ParagraphParameter changes.
9039 * buffer.C: Likewise.
9040 * bufferview_funcs.C: Likewise.
9042 * text2.C: Likewise.
9044 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9046 * lyxfind.C (LyXReplace): do not redefine default argument in
9048 (IsStringInText): ditto
9049 (SearchForward): ditto
9050 (SearchBackward): ditto
9052 2001-03-06 Juergen Vigna <jug@sad.it>
9054 * lyxfind.C (IsStringInText): put parentes around expressions.
9056 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
9058 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
9060 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
9062 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
9064 * stl_string_fwd.h: add comment
9066 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
9069 * tabular.C: remove unused DocBook methods
9075 killed DO_USE_DEFAULT_LANGUAGE
9077 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9079 * lyx_gui.C: do not include language.h.
9081 * bufferview_funcs.C (ToggleAndShow): do not provide optional
9082 arguments in function implementation.
9084 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9086 * BufferView_pimpl.C: add <ctime>
9088 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9090 * BufferView_pimpl.C: add using std::find_if
9092 2001-02-27 José Matos <jamatos@fep.up.pt>
9094 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
9097 2001-02-11 José Matos <jamatos@fep.up.pt>
9099 * buffer.C (makeDocBookFile): command styles now have a parameter as
9102 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
9104 * layout_forms.[Ch]: removed
9105 * lyx_cb.[Ch]: out character
9106 * lyx_gui.C: out character
9107 * lyx_gui_misc.C: out character
9108 * bufferview_funcs.C: : out character,
9109 added toggleall as parameter in ToggleAndShow
9111 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
9113 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
9115 * text2.C (SetCurrentFont): Disable number property at boundary.
9117 2001-02-26 Juergen Vigna <jug@sad.it>
9119 * lyxfunc.C (getStatus): added a string argument override function so
9120 that this is correctly called from LyXFunc::Dispatch if it contains a
9121 do_not_use_argument which is used!
9122 (Dispatch): added check for "custom" export and call appropriate func.
9124 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
9126 * lyxrc.C: Add language_command_local, language_use_babel and
9127 language_global_options.
9129 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9131 * buffer.C (makeLaTeXFile): Use language_use_babel and
9132 language_global_options.
9134 2001-02-23 Juergen Vigna <jug@sad.it>
9136 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9137 which works with LyXText and putted it inside BufferView. Here now we
9138 only call for that part the BufferView::Dispatch() function.
9140 * BufferView.C (Dispatch): added.
9142 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9143 functions which needs to use a LyXText over from LyXFunc.
9144 (MenuInsertLyXFile): added
9145 (getInsetByCode): added
9146 (moveCursorUpdate): added
9147 (static TEXT): added
9149 2001-02-22 Juergen Vigna <jug@sad.it>
9151 * BufferView_pimpl.C (update): call a status update to see if LyXText
9154 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9156 * vc-backend.C (revert): implement for CVS
9157 (getLog): implement for CVS
9159 2001-02-20 Juergen Vigna <jug@sad.it>
9161 * text2.C (ClearSelection): added BufferView param for inset_owner call
9163 * lyxfunc.C (TEXT): added this function and use it instead of
9164 directly owner->view()-text of getLyXText().
9166 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
9168 * src/layout_forms.C: out preamble
9169 * src/layout_forms.h: out preamble
9170 * src/lyx_cb.C: out preamble
9171 * src/lyx_cb.h: out preamble
9172 * src/lyx_gui.C: out preamble
9173 * src/lyx_gui_misc.C: out preamble
9174 * src/lyxfunc.C: connect with guii preamble
9176 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
9178 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9180 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
9182 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9183 whether to run bibtex.
9185 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
9187 * Makefile.am (lyx_SOURCES): Remove BackStack.h
9189 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9191 * Makefile.am (lyx_SOURCES): removed bibforms.h
9195 * text.C (GetVisibleRow): make several local vars const
9197 * tabular.C: small cleanup.
9199 * lyxserver.C (callback): use compare instead of strncmp
9201 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
9202 inlines to after class or to paragraph.C
9204 * lyxfont.h: remove friend operator!=
9206 * converter.h: move friend bool operator< to non friend and after
9209 * combox.h: small cleanup
9211 * buffer.h: doxygen, remove unused constructor, move inclas inlies
9212 to inlines after class def.
9214 * buffer.C (pop_tag): use string operations instead of strcmp
9216 * bmtable.c: doxygen, small cleanup
9218 * LaTeX.h: remove friend operator==
9220 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9232 * BufferView_pimpl.C:
9233 * BufferView.[Ch]: remove cruft
9235 2001-02-14 Juergen Vigna <jug@sad.it>
9237 * lyxfunc.C: removed #if 0 unused code
9239 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9241 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9243 * text2.C (SetSelection): added a BufferView * parameter
9245 2001-02-13 Juergen Vigna <jug@sad.it>
9247 * lyxfunc.C (Dispatch): fixed protected blank problem.
9248 * BufferView2.C (protectedBlank): added LyxText * parameter.
9250 * tabular.C (AppendRow): forgot to set row_info of newly added row.
9251 (AppendColumn): same as above for column_info.
9253 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9254 (moveCursorUpdate): use a LyXText param for support of InsetText.
9256 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9257 (tripleClick): ditto
9259 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9261 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9263 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9265 * text2.C (SetSelection): set correct update status if inset_owner
9268 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9270 * tabular.C: remove some commented code.
9272 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9274 * BufferView_pimpl.C: call hideSplash()
9276 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9279 * bibforms.h: remove
9282 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9283 add LFUN_CHILD_CREATE
9285 * counters.h: fix tiny typo
9290 * lyx.C: move splash to frontends/xforms/
9292 * lyx_gui_misc.C: move Include and Bibform to frontends
9294 * lyxvc.h: clarify comment
9296 * vspace.C: tiny housekeeping
9298 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9300 * text.C (PrepareToPrint): RTL Fix.
9302 * paragraph.C (GetUChar): New method.
9303 (String): Use GetUChar.
9305 * buffer.C (asciiParagraph): Use GetUChar.
9307 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9309 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9311 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9314 * buffer.C: rename to getLogName(), handle
9315 build log / latex log nicely
9317 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9320 * MenuBackend.h: remove support for reference menuitem type.
9322 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9324 * BufferView_pimpl.C: housekeeping
9325 * BufferView_pimpl.h:
9330 * minibuffer.h: move Timeout GUI-I
9332 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9334 * lyxrc.C (read): Update converters data-structures.
9336 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9338 * LaTeX.h (operator!=): add operator != for Aux_Info
9340 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9342 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9344 * LaTeXLog.C: deleted, useful code moved to Buffer
9347 * buffer.C: new function getLatexLogName()
9353 * lyxfunc.C: use frontends for LaTeX and VC logs
9355 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9357 * LaTeX.h: yet another std:: that Allan forgot.
9359 * Variables.C (set): renamed from isset(), because this clashes
9360 with some HP-UX macros (grr).
9362 2001-02-06 Allan Rae <rae@lyx.org>
9364 * LaTeX.h: Another bug fix. Missing std:: this time.
9366 2001-02-04 Allan Rae <rae@lyx.org>
9368 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9369 floats problem. I've left it commented out because it's not quite
9370 correct. It should also test that the current object is a table or
9371 figure inset. But I haven't gotten around to figuring out how to do
9372 that. I *think* it'll be something like: "table" == inset.type()
9374 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9377 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9379 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9380 all the citation/databases/styles in the auxilary file.
9381 (run): Rerun latex if there was a babel language error.
9383 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9385 * text.C (Backspace): Preserve the font when changing newline char
9387 (BreakParagraph): If the cursor is before a space, delete the space.
9389 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9391 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9393 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9394 new argument (code).
9395 (ChangeCitationsIfUnique): New method.
9397 * paragraph.C (GetPositionOfInset): Handle bibkey.
9399 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9401 * BufferView_pimpl.h: change type of Position::par_pos to
9402 LyXParagraph::size_type.
9404 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9406 * BufferView_pimpl.C (savePosition, restorePosition): Write
9407 messages to minibuffer.
9409 2001-01-28 José Matos <jamatos@fep.up.pt>
9411 * buffer.C (makeDocBookFile): adds support for document language.
9412 A silly restriction on the name of LatexCommand types where removed.
9413 Added support for CDATA sections, allows to chars unescaped, used
9414 among others in code, to avoid escape < and >.
9416 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9418 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9419 saved positions instrad of a stack. Furthermore, a position is
9420 stored using paragraph id/paragraph position.
9422 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9423 Remove LFUN_REF_BACK.
9425 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9427 * converter.C (dvipdfm_options): New method.
9429 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9431 * vspace.C (isValidLength): Fix for empty input string.
9433 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9435 * LyXAction.C (init): change description of LFUN_FIGURE to
9438 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9440 * LaTeX.C: add using directive
9442 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9444 * MenuBackend.C (expand): Fix the sorting of the formats.
9446 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9448 * lyx_main.C: tiny error message fix
9450 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9452 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9453 calling fl_initialize(). This fixes the problem with ',' as
9454 decimal separator in text files.
9456 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9458 * trans.C (process): Fix the keymap bug.
9460 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9462 * LaTeX.C (scanAuxFiles): New method. Provides support for
9463 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9464 (scanLogFile) Scan for "run BibTeX" messages.
9466 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9467 OT1 font encoding. Also, load the aecompl package if the ae
9470 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9472 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9474 * texrow.C (increasePos): turn two error messages into debug
9477 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9479 * LaTeX.C (scanAux): Handle the \@input macro.
9480 (runBibTeX): Use scanAux().
9482 * language.C (latex_options_): New field.
9484 * LaTeXFeatures.C (getMacros): Add language macros.
9486 * buffer.C (makeLaTeXFile): Small fix.
9488 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9490 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9492 * text2.C: add a using directive.
9494 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9499 * lyxfunc.C: kill LyXBell.
9501 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9503 * text.C (IsBoundary): Remove the error message
9505 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9507 * lyxrc.C (setDefaults): Correct initialization value for
9510 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9512 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9515 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9518 * src/LyXAction.C: Added reference-next.
9520 * text.C (InsertChar): Use contains instead of strchr.
9522 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9524 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9526 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9527 alignment commands (when needed).
9529 * text.C (InsertChar): Add ':' to number separator chars.