1 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * lyxrow.h: store a ParagraphList::iterator instead of a
4 Paragraph* and adjust other class functions to suit.
6 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
9 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
11 * text2.C (setCursor): do not anchor to cursor row for the time being
13 2003-04-02 John Levon <levon@movementarian.org>
20 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
22 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
24 * paragraph.h: make ParagraphList and ParagraphList::iterator
27 * buffer.C (makeLinuxDocFile): move towards ParagraphList
29 * ParagraphList.C: Use the private next_ and previous_ from
32 2003-04-01 John Levon <levon@movementarian.org>
36 * Makefile.am: rename, remove defaults gunk
39 * MenuBackend.C: remove defaults gunk
42 * Languages.C: remove defaults gunk
45 * lyx_main.C: error out if files couldn't be found.
47 2003-04-02 John Levon <levon@movementarian.org>
49 * text2.C: make incDepth() use parlist
51 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
53 * undo_funcs.C (firstUndoParagraph): adjust
55 * text3.C (gotoInset): adjust
56 (dispatch): adjust, and rewrite loop.
58 * text2.C (init): adjust, and rewrite loop.
59 (redoParagraphs): adjust
60 (updateInset): adjust, and rewrite loop.
61 (deleteEmptyParagraphMechanism): adjust
63 * tabular.C (LyXTabular): adjust
64 (SetMultiColumn): adjust
67 * lyxtext.[Ch] (ownerParagraph): delete function
68 (ownerParagraphs): new function returns a ParagraphList.
70 * BufferView.C (removeAutoInsets): adjust
71 (insertErrors): adjust
72 (setCursorFromRow): adjust
74 2003-04-01 Angus Leeming <leeming@lyx.org>
76 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
79 2003-04-02 John Levon <levon@movementarian.org>
85 * text_funcs.C: make transposeChars a free function
87 * lyxrow_funcs.C: remove wrong comment
89 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
92 * rowpainter.C: adjust
97 * lyxrow_funcs. [Ch]: new files
99 * lyxrow.[Ch]: remove next and previous pointers
100 (next,previous): remove accessor functions
101 (isParEnd): move to lyxrow_funcs
102 (lastPos): move to lyxrow_funcs
103 (nextRowIsAllInset): move to lyxrow_funcs
104 (lastPrintablePos): move to lyxrow_funcs
105 (numberOfSeparators): move to lyxrow_funcs
106 (numberOfHfills): move to lyxrow_funcs
107 (numberOfLabelHfills): move to lyxrow_funcs
108 (hfillExpansion): move to lyxrow_funcs
112 * bufferview_funcs.C (toggleAndShow): adjust
114 * RowList.h: Remove class RowList from file leave just a
117 * RowList.C: delete file
119 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
122 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
124 * text3.C (cursorPrevious): adjust
128 * text2.C (redoHeightOfParagraph): adjust
129 (redoDrawingOfParagraph): adjust
132 * text.C (breakParagraph): adjust
136 * rowpainter.C (RowPainter): adjust
137 (leftMargin): simplify and adjust
138 (most rowpainter functions): adjust.
140 * rowpainter.h: store the row as RowList::iterator not as Row*
142 * lyxcursor.C (row): taka RowList::iterator as arg
145 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
148 2003-04-01 Angus Leeming <leeming@lyx.org>
150 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
151 stuff like bool Bool.
153 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
155 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
158 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
160 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
163 * lyxtext.h (rows): drop one version and leve a const variant that
164 returns a RowList::iterator.
166 2003-03-31 Angus Leeming <leeming@lyx.org>
168 * text.C (fill): ensure that the signature is the same as that in the
171 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
173 * text2.C (redoParagraphs): adjust
174 (updateCounters): adjust
175 (checkParagraph): adjust
176 (getColumnNearX): adjust and reformat a bit.
178 * text.C (top_y): adjust
181 (prepareToPrint): adjust
183 (getRowNearY): adjust
185 * lyxtext.h: make rowlist_ mutable.
187 * RowList.h: add const_iterator
188 * RowList.C: adjust for RowList::const_iterator.
190 * text2.C (getCursorX): make it take a RowList::iterator as arg,
193 2003-03-31 John Levon <levon@movementarian.org>
196 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
198 * lyx_main.C: set default fonts from using lyx_gui funcs
200 * exporter.C: pdf_mode moved from lyxrc
203 * lyxfunc.C: changes from above
205 2003-03-31 John Levon <levon@movementarian.org>
207 * lyx_main.C: fix to the last fix
209 2003-03-31 John Levon <levon@movementarian.org>
211 * bufferlist.C: "Load original" -> "Load Original"
217 * format.C: more Alert cleanups
219 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
221 * text2.C (removeParagraph): make it take a RowList::iterator as
223 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
224 (postRowPaint): make it take a RowList::iterator as arg, adjust.
226 * text.C (anchor_row): make it take a RowList::iterator as arg,
228 (computeBidiTables): make it take a const reference to Row instead
229 of Row pointer, adjust.
230 (leftMargin): make it take a RowList::iterator as arg, adjust.
231 (rowBreakPoint): adjust
232 (breakAgainOneRow): make it take a RowList::iterator as arg,
234 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
236 * bufferview_funcs.C (toggleAndShow): adjust
238 2003-03-30 John Levon <levon@movementarian.org>
242 * boost-inst.C: moved to support
244 * several files: changes as a result
246 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
248 * text2.C (LyXText): adjust.
250 (removeRow): make it take a RowList::iterator as arg, adjust.
251 (fullRebreak): adjust
252 (deleteEmptyParagraphMechanism): adjust
256 * text.C (top_y): adjust
257 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
258 (breakAgain): make it take a RowList::iterator as arg, adjust.
259 (breakParagraph): adjust
263 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
264 need_break_row, and refresh_row.
266 * text3.C (dispatch): adjust
268 * text2.C (checkParagraph): adjust
270 (setCursorFromCoordinates): adjust
272 * text.C (top_y): adjust
274 (getRow): make it return a RowList::iterator, adjust
275 (getRowNearY): make it return a RowList::iterator, adjust
277 * text2.C (init): adjust
278 (insertRow): remove function
279 (insertParagraph): adjust
280 (redoParagraphs): adjust
281 (fullRebreak): adjust
282 (updateCounters): adjust
284 * text.C (top_y): rewrite to use RowList iterators.
286 (setHeightOfRow): rewrite to sue RowList iterators.
287 (appendParagraph): adjust
289 (breakAgainOneRow): adjust
290 (breakParagraph): adjust
292 (getRowNearY): adjust, and remove commented code.
294 * lyxtext.h (firstRow): delete function
295 (lastRow): delete function
296 (rows): new function (const and non-const versions.)
297 (insertRow): delete function
299 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
301 2003-03-29 John Levon <levon@movementarian.org>
303 * BufferView_pimpl.C: always update scrollbar top
304 because pasting text when we're anchored could mean we
305 miss an update altogether
307 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
309 * text2.C (init): use rowlist_.end() and not 0.
310 (insertRow): change to take a RowList::iterator as arg, adjust
312 (insertParagraph): change to take a RowList::iterator as arg,
314 (redoParagraphs): remove some debug msgs.
316 * text.C (appendParagraph): change to take a RowList::iterator
317 arg, adjust for this.
318 (breakAgain): add an assert
319 (breakAgainOneRow): ditto
321 2003-03-29 John Levon <levon@movementarian.org>
323 * text2.C: do not clear selection after inc/decDepth
326 2003-03-29 John Levon <levon@movementarian.org>
329 * buffer.C: fix broken strerrors according to Lars
331 2003-03-29 John Levon <levon@movementarian.org>
333 * converters.C: more Alert cleanups
335 2003-03-29 John Levon <levon@movementarian.org>
337 * bufferview_funcs.C: remove pointless Alert
339 * buffer.C: fix confusing error message when
340 a template is chmoded 000
342 2003-03-29 John Levon <levon@movementarian.org>
346 * BufferView_pimpl.C: Alert fixes
350 * tabular-old.C: remove unused table compat reading
352 2003-03-29 John Levon <levon@movementarian.org>
357 * lyx_cb.C: more Alert cleanups
359 * lyxfunc.C: don't allow chktex if not latex document
361 2003-03-29 John Levon <levon@movementarian.org>
365 * buffer.C: warnings pushed down from support/,
368 2003-03-29 John Levon <levon@movementarian.org>
370 * lyxfunc.C: safety check for C-r (revert)
372 2003-03-29 John Levon <levon@movementarian.org>
375 * bufferlist.C: several UI fixes using Alert::prompt.
376 Fix the pointless looping quit code. Fix stupid revert
381 * lyx_cb.C: use Alert::prompt
383 * lyx_main.C: remove a silly question
385 * lyxfunc.C: remove a couple of silly questions,
388 2003-03-28 John Levon <levon@movementarian.org>
390 * text2.C: fix bug 974 (End on empty par)
392 2003-03-28 John Levon <levon@movementarian.org>
394 * BufferView_pimpl.C:
396 * lfuns.h: remove do-nothing math greek lfuns
398 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
400 * lyxgluelength.h (isValidGlueLength): add default arg on
401 parameter 2. Remove default arg from friend in class.
403 * lyxlength.h (isValidLength): add default arg on parameter 2.
404 Remove default arg from friend in class.
406 * text2.C (LyXText): adjust, initialize refresh_row.
410 (insertParagraph): adjst
411 (redoParagraphs): adjust
412 (fullRebreak): adjust
413 (updateCounters): adjust
414 (deleteEmptyParagraphMechanism): first attempt at fixing a
417 * text.C (top_y): adjust
418 (setHeightOfRow): adjust
420 (getRowNearY): adjust
422 * lyxtext.h: include RowList.h
423 (~LyXText): not needed anymore, deleted.
424 (firstRow): modify for RowList
425 (lastRow): new function
426 Delete firstrow and lastrow class variables, add a Rowlist
427 rowlist_ class variable.
429 * lyxrow.C (lastPos): use empty() and not !size() to check if a
432 * RowList.C (insert): fix case where it == begin().
434 2003-03-26 Angus Leeming <leeming@lyx.org>
436 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
437 the thesaurus dialog.
439 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
441 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
443 * RowList.[Ch]: new files
445 * ParagraphList.C (erase): handle the case where it == begin
448 2003-03-25 John Levon <levon@movementarian.org>
452 * aspell.C: add new aspell support
455 * lyxrc.C: Make use_pspell be use_spell_lib. Always
458 2003-03-25 Angus Leeming <leeming@lyx.org>
461 * LyXAction.C (init): new LFUN_INSET_INSERT.
463 * BufferView_pimpl.C (dispatch): split out part of the
464 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
466 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
469 2003-03-25 Angus Leeming <leeming@lyx.org>
471 * lyxfunc.C (dispatch): changes to the Dialogs interface.
473 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
476 * text3.C: remove useless row->height(0)
478 2003-03-25 John Levon <levon@movementarian.org>
482 * text3.C: rename the refreshing stuff to better names
484 2003-03-24 John Levon <levon@movementarian.org>
486 * BufferView_pimpl.h:
487 * BufferView_pimpl.C: update layout choice on a mouse
490 2003-03-23 John Levon <levon@movementarian.org>
492 * Makefile.am: fix commandtags.h reference
494 2003-03-22 John Levon <levon@movementarian.org>
496 * BufferView_pimpl.C:
501 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
503 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
506 * text.C: take the rtl methods out of line
508 2003-03-21 André Pönitz <poenitz@gmx.net>
510 * metricsinfo.[Ch]: new files containing structures to be passed around
511 during the two-phase-drawing...
513 2003-03-21 André Pönitz <poenitz@gmx.net>
515 * lyxtextclass.C: read 'environment' tag.
517 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
519 * text2.C (removeRow): fix bug 964
521 2003-03-20 John Levon <levon@movementarian.org>
525 * text2.C: paint cleanups. Inset::update() dropped font
528 2003-03-19 John Levon <levon@movementarian.org>
530 * lyxfunc.C: only fitcursor/markDirty if available()
532 2003-03-19 John Levon <levon@movementarian.org>
534 * commandtags.h: rename to ...
536 * lfuns.h: ... this, and renumber / cleanup
538 2003-03-19 John Levon <levon@movementarian.org>
540 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
541 fit the cursor after an lfun
545 * BufferView_pimpl.h:
546 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
548 * LyXAction.C: layout-character should have ReadOnly
550 * ParagraphParameters.C:
552 * bufferview_funcs.C:
559 * undo_funcs.C: changes from above
561 2003-03-18 John Levon <levon@movementarian.org>
563 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
564 remove it from update()
566 * lyxfunc.C: update layout choice after an lfun
568 * text3.C: remove extra updateLayoutChoice()s
570 2003-03-18 John Levon <levon@movementarian.org>
572 * text.C: top_y change means full repaint, fix
573 a drawing bug with cursor movement
575 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
579 * text2.C: anchor row on setCursor
581 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
583 * lyxtext.h: remove almost all mutable keywords
586 * text3.C: remove const keywords accordingly
588 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
590 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
592 (TeXEnvironment): ditto
595 2003-03-17 John Levon <levon@movementarian.org>
597 * text.C (rowBreakPoint): remove attempt to fix displayed
598 math insets inside a manual label
600 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
602 * lyxtext.h: remove BufferView* as first arg from almost all class
604 * other files: adjust.
606 2003-03-17 John Levon <levon@movementarian.org>
610 * text2.C: more paint cleanups
612 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
615 * rowpainter.C: remove "smart" background painting code
617 2003-03-16 John Levon <levon@movementarian.org>
622 * text3.C: add helper functions for setting refresh_row/y
624 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
626 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
627 newline inset which *can* get inserted in the pass_thru layouts.
628 This is primarily for literate documents.
630 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
632 * buffer.C: increment LYX_FORMAT to 223
634 2003-03-14 André Pönitz <poenitz@gmx.net>
636 * textclass.h: prepare for environment handling, ws changes
637 * lyxlayout.C: read latexheader and latexfooter tags
639 2003-03-14 John Levon <levon@movementarian.org>
641 * text2.C: rewrite ::status() a bit
643 2003-03-13 John Levon <levon@movementarian.org>
645 * lyxtext.h: add some docs
647 2003-03-13 John Levon <levon@movementarian.org>
652 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
654 2003-03-13 John Levon <levon@movementarian.org>
656 * text3.C: fix appendix redrawing
658 2003-03-13 John Levon <levon@movementarian.org>
660 * text.C (setHeightOfRow):
662 * rowpainter.C: make appendix mark have the text
663 "Appendix" so the user knows what it is
666 * LColor.C: s/appendixline/appendix/ from above
668 2003-03-13 John Levon <levon@movementarian.org>
670 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
672 * text.C: fix a getChar(pos) bug properly
674 2003-03-13 Angus Leeming <leeming@lyx.org>
677 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
678 Probably only temporary. Let's see how things pan out.
680 * BufferView.C (unlockInset):
681 * BufferView_pimpl.C (fitCursor):
682 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
684 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
685 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
687 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
688 new functions that convert ParagraphParameters to and from a string.
690 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
691 BufferView::Pimpl's dispatch.
692 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
694 2003-03-13 André Pönitz <poenitz@gmx.net>
698 * factory.C: make it aware of InsetEnv
700 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
702 * text2.C (setCursor): never ask for one past last
703 (setCursor): add some debugging messages.
705 * text.C (singleWidth): never ask for one past last
709 (rowBreakPoint): ditto
710 (setHeightOfRow): ditto
711 (prepareToPrint): ditto
713 * rowpainter.C (paintBackground): never ask for one past last
714 (paintText): never ask for one past last
716 * paragraph_pimpl.C (getChar): make the assert stricter, never
717 allow the one past last pos to be taken
719 * paragraph.C (getChar): ws changes only
721 * lyxrow.C (nextRowIsAllInset): never ask for one past last
722 (numberOfSeparators): ditto
723 (numberOfHfills): ditto
725 2003-03-12 John Levon <levon@movementarian.org>
731 * paragraph_funcs.C: fix per-buffer authorlists
733 2003-03-12 John Levon <levon@movementarian.org>
735 * text.C: fix newline in right address
737 2003-03-12 Angus Leeming <leeming@lyx.org>
739 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
740 duplicate those in LyXFunc::dispatch.
745 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
746 Add LFUN_FONTFREE_UPDATE.
748 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
749 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
751 * bufferview_func.[Ch]: several new functions to facilliate
752 transfer of data to and from the character dialog.
754 2003-03-12 John Levon <levon@movementarian.org>
764 * text3.C: remove META_NEWLINE in favour of an inset
767 * rowpainter.C: remove paintNewline (done by inset)
769 2003-03-12 John Levon <levon@movementarian.org>
771 * paragraph_pimpl.C: complain about bad getChar()s
774 2003-03-12 John Levon <levon@movementarian.org>
777 * buffer.C: move paragraph read into a separate function,
778 a little renaming to reflect that.
781 * bufferparams.C: remove the author_ids map, not necessary now
784 * factory.C: moved Buffer::readInset to here
787 * paragraph_funcs.C: readParagraph free function moved from
790 * tabular.C: name change
792 2003-03-12 John Levon <levon@movementarian.org>
795 * ParagraphParameters.C: move par params input to
798 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
799 behave like a normal read from the stream wrt reading
802 2003-03-12 John Levon <levon@movementarian.org>
805 * ParagraphParameters.h:
806 * ParagraphParameters.C: move output code to a
809 2003-03-12 John Levon <levon@movementarian.org>
811 * BufferView.C (insertLyXFile):
814 * tabular.C: use a parlist iterator for creating the
817 2003-03-12 John Levon <levon@movementarian.org>
819 * buffer.C: make current_change static local not
822 2003-03-12 John Levon <levon@movementarian.org>
824 * buffer.C: fix insertStringAsLines for change tracking
826 2003-03-12 John Levon <levon@movementarian.org>
833 * bufferparams.C: move author list into params. Rename some
834 functions. Move the header reading into a separate token
835 loop. Move the header token reading into BufferParams.
837 2003-03-12 John Levon <levon@movementarian.org>
839 * changes.C: put debug inside lyxerr.debugging() checks
841 2003-03-11 André Pönitz <poenitz@gmx.net>
843 * factory.C: make it aware of InsetHFill
845 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
847 * buffer.C (latexParagraphs): move function from here...
848 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
851 2003-03-10 Angus Leeming <leeming@lyx.org>
853 * LyXAction.C (init): fix bug in poplating array with multiple entries
854 with the same LFUN (spotted by JMarc).
856 2003-03-10 John Levon <levon@movementarian.org>
859 * text2.C: move getColumnNearX() near its
862 2003-03-10 John Levon <levon@movementarian.org>
864 * text.C: fix break before a minipage
866 2003-03-10 John Levon <levon@movementarian.org>
868 * text.C: fix the last commit
870 2003-03-09 John Levon <levon@movementarian.org>
874 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
875 bug 365 (don't break before insets unless needed). Don't
876 return a value > last under any circumstances.
878 2003-03-09 Angus Leeming <leeming@lyx.org>
880 * BufferView_pimpl.C (trackChanges, dispatch): call
881 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
883 2003-03-09 Angus Leeming <leeming@lyx.org>
885 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
886 than Dialogs::showAboutlyx().
888 2003-03-09 Angus Leeming <leeming@lyx.org>
890 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
891 than Dialogs::showTabularCreate().
893 2003-03-09 John Levon <levon@movementarian.org>
897 * text2.C: 3rd arg to nextBreakPoint was always the same.
900 2003-03-08 John Levon <levon@movementarian.org>
907 * text2.C: Remove the "main" bit from the "main body"
910 2003-03-08 John Levon <levon@movementarian.org>
912 * text.C (leftMargin): The left margin of an empty
913 manual label paragraph should not include the label width
916 * text.C (prepareToPrint): don't attempt to measure hfills
917 for empty manual label paragraphs - the answer should be 0
919 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
921 * CutAndPaste.C: remove commented code and reindent.
923 2003-03-08 John Levon <levon@movementarian.org>
926 * lyxfunc.C: move reloadBuffer()
929 * BufferView.C: to here
931 * lyxvc.C: add comment
934 * vc-backend.C: call bv->reload() to avoid
935 getStatus() check on MENURELOAD
937 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
939 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
940 to an old format .dep file.
942 2003-03-07 Angus Leeming <leeming@lyx.org>
944 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
945 when the LFUN_MOUSE_RELEASE should have been handled by
946 inset->localDispatch.
948 2003-03-07 Angus Leeming <leeming@lyx.org>
950 * BufferView_pimpl.C (dispatch):
951 * LyXAction.C (init):
952 * ToolbarDefaults.C (init):
954 * lyxfunc.C (getStatus):
955 remove LFUN_INSET_GRAPHICS.
957 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
959 2003-03-07 Angus Leeming <leeming@lyx.org>
962 * LyXAction.C (init):
963 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
965 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
968 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
970 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
971 localDispatch method LFUN_INSET_DIALOG_UPDATE.
973 2003-03-07 Angus Leeming <leeming@lyx.org>
975 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
978 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
980 * ParagraphList.C (front): new function
983 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
985 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
986 and top_row_offset_. removed var first_y.
988 * text2.C (LyXText, removeRow):
990 * BufferView_pimpl.C:
991 use these methods instead of using first_y
993 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
995 * text2.C (pasteSelection): adjust for checkPastePossible
997 * CutAndPaste.C: remove Paragraph * buf and replace with
998 ParagraphList paragraphs.
999 (DeleteBuffer): delete
1000 (cutSelection): change the tc type to textclass_type
1001 (copySelection): change the tc type to textclass_type
1002 (copySelection): adjust for ParagraphList
1003 (pasteSelection): change the tc type to textclass_type
1004 (pasteSelection): adjust for Paragraphlist
1005 (nrOfParagraphs): simplify for ParagraphList
1006 (checkPastePossible): simplify for ParagraphList
1007 (checkPastePossible): remove unused arg
1009 * ParagraphList.C (insert): handle the case where there are no
1012 * CutAndPaste.h: make CutAndPaste a namespace.
1014 * text3.C (dispatch): adjust
1016 * text.C (breakParagraph): add a ParagraphList as arg
1018 * paragraph_funcs.C (breakParagraph): change to take a
1019 BufferParams and a ParagraphList as args.
1020 (breakParagraphConservative): ditto
1021 (mergeParagraph): ditto
1022 (TeXDeeper): add a ParagraphList arg
1023 (TeXEnvironment): ditto
1026 * buffer.C (readLyXformat2): adjust
1027 (insertStringAsLines): adjust
1028 (latexParagraphs): adjust
1030 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
1031 (cutSelection): adjust
1032 (pasteSelection): adjust
1034 * BufferView_pimpl.C (insertInset): adjust
1036 2003-03-05 Angus Leeming <leeming@lyx.org>
1039 * LyXAction.C (init):
1040 * BufferView_pimpl.C (dispatch):
1041 * lyxfunc.C (getStatus):
1042 remove LFUN_CHILD_INSERT.
1044 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
1046 2003-03-05 Angus Leeming <leeming@lyx.org>
1049 * LyXAction.C (init):
1050 * src/factory.C (createInset):
1051 * lyxfunc.C (getStatus):
1052 * text3.C (dispatch):
1053 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
1055 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
1057 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1059 * ParagraphList.C (insert): handle insert right before end()
1060 (erase): fix cases where it can be first or last paragraph.
1062 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1064 * paragraph_funcs.C (TeXEnvironment): remove all usage of
1065 Paragraph::next and Paragraph::previous
1068 * text.C (breakParagraph): adjust
1070 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
1071 BufferParams& as arg.
1072 (breakParagraph): use ParagraphList::insert
1073 (breakParagraphConservative): take a Buffer* instead of a
1074 BufferParams& as arg.
1075 (breakParagraphConservative): use ParagraphList::insert.
1077 * buffer.C (insertStringAsLines): un-const it
1078 (insertStringAsLines): adjust
1080 * ParagraphList.C (insert): new function
1082 * CutAndPaste.C (pasteSelection): adjust
1084 * text.C (backspace): adjust
1086 * tabular.C (SetMultiColumn): adjust
1088 * CutAndPaste.C (cutSelection): adjust
1089 (pasteSelection): adjust
1091 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
1092 Buffer const * as arg
1094 * ParagraphList.C (erase): new function
1095 * paragraph_funcs.C (mergeParagraph): use it
1096 (mergeParagraph): make it take a Buffer* instead of a
1097 BufferParams* as arg
1099 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
1101 (breakParagraphConservative): ditto
1103 * paragraph.h: remove the breakParagraph friend
1105 * paragraph.C (eraseIntern): new function
1106 (setChange): new function
1108 * paragraph_funcs.C (mergeParagraph): make it take a
1109 ParagraphList::iterator instead of a Paragraph *, adjust
1112 * paragraph.h: move an #endif so that the change tracking stuff
1113 also works in the NO_NEXT case.
1115 2003-03-04 Angus Leeming <leeming@lyx.org>
1118 * LyXAction.C: new LFUN_INSET_MODIFY.
1120 * BufferView_pimpl.C (dispatch): if an inset is found to be open
1121 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
1123 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1125 * several files: ws changes only
1127 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
1128 (TeXEnvironment): ditto
1131 * buffer.C (makeLaTeXFile): adjust
1132 (latexParagraphs): make it take ParagraphList::iterator as args
1134 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1136 * buffer.C (latexParagraphs): adjust
1138 * paragraph.C (TeXOnePar): move function...
1139 (optArgInset): move function...
1140 (TeXEnvironment): move function...
1141 * paragraph_pimpl.C (TeXDeeper): move function...
1142 * paragraph_funcs.C: ...here
1144 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
1146 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1148 * buffer.C (readInset): remove compability code for old Figure and
1151 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1153 * buffer.C: ws changes
1156 * BufferView_pimpl.C: ditto
1159 * bufferlist.h: ditto
1163 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1165 * converter.[Ch]: split into itself +
1168 * Makefile.am: += graph.[Ch] + format.[Ch]
1175 * lyxrc.C: added #include "format.h"
1177 2003-02-27 Angus Leeming <leeming@lyx.org>
1179 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
1182 * factory.C (createInset): add "label" to the factory.
1184 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
1185 string and do no more.
1187 2003-02-27 Angus Leeming <leeming@lyx.org>
1190 * LyXAction.C (init):
1191 * factory.C (createInset):
1192 * BufferView_pimpl.C (dispatch):
1193 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1195 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
1197 * lyxfunc.C (dispatch):
1198 * text3.C (dispatch): pass name to params2string.
1200 2003-02-26 Angus Leeming <leeming@lyx.org>
1202 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
1204 Rearrange the ~includes. Strip out the unnecessary ones.
1206 * factory.C (createInset): reformat.
1207 create new insets for the various LFUN_XYZ_APPLY lfuns.
1209 2003-02-26 John Levon <levon@movementarian.org>
1212 * lyxrow.C: add isParStart,isParEnd helpers
1214 * paragraph.h: make isInserted/DeletedText take refs
1216 * paragraph_funcs.h:
1217 * paragraph_funcs.C: remove #if 0'd code
1222 * text.C: use lyxrow helpers above.
1223 Move draw and paint routines to RowPainter.
1224 Make several methods use refs not pointers.
1225 Make backgroundColor() const.
1226 Add markChangeInDraw(), isInInset().
1227 Merge changeRegionCase into changeCase.
1228 Make workWidth() shouldn't-happen code into an Assert.
1231 * rowpainter.C: new class for painting a row.
1234 * vspace.C: make inPixels take a ref
1236 2003-02-26 Angus Leeming <leeming@lyx.org>
1238 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
1241 2003-02-25 John Levon <levon@movementarian.org>
1243 * ispell.C: give the forked command a more accurate name
1245 2003-02-22 John Levon <levon@movementarian.org>
1248 * toc.C: make TocItem store an id not a Paragraph *
1251 2003-02-21 Angus Leeming <leeming@lyx.org>
1253 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
1254 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
1255 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
1256 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
1257 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
1258 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
1260 * BufferView_pimpl.C (dispatch):
1261 * LyXAction.C (init):
1262 * factory.C (createInset):
1263 * lyxfunc.C (getStatus, dispatch):
1264 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
1266 2003-02-21 Angus Leeming <leeming@lyx.org>
1268 * BufferView_pimpl.C (MenuInsertLyXFile):
1269 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1270 * lyxfunc.C (menuNew, open, doImport):
1271 no longer pass a LyXView & to fileDlg.
1273 2003-02-21 Angus Leeming <leeming@lyx.org>
1275 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
1276 * LyXAction.C: change, BIBKEY to BIBITEM.
1277 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
1278 Change InsetBibKey to InsetBibitem.
1279 Change BIBKEY_CODE to BIBITEM_CODE.
1280 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1281 * factory.C: replace insetbib.h with insetbibitem.h.
1282 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1283 * paragraph.C: replace insetbib.h with insetbibitem.h.
1284 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
1285 Change bibkey() to bibitem().
1286 * text.C: remove insetbib.h.
1287 * text2.C: replace insetbib.h with insetbibitem.h.
1288 change bibkey() to bibitem().
1289 * text3.C: remove insetbib.h.
1290 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1292 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1294 * lyxrc.C (output): enclose user email in quotes (in case there are
1297 2003-02-18 John Levon <levon@movementarian.org>
1299 * buffer.h: add std::
1301 2003-02-17 John Levon <levon@movementarian.org>
1307 * pspell.C: reworking. Especially in ispell, a large
1308 number of clean ups and bug fixes.
1310 * lyxfunc.C: fix revert to behave sensibly
1312 2003-02-17 André Pönitz <poenitz@gmx.net>
1315 * commandtags.h: new LFUN_INSERT_BIBKEY
1325 * paragraph_func.C: remove special bibkey handling
1327 2003-02-17 John Levon <levon@movementarian.org>
1329 * text.C (Delete): fix case where delete at the end of
1330 the very first paragraph would not merge the pars
1332 2003-02-17 John Levon <levon@movementarian.org>
1334 * lyxrow.C: fix lastPrintablePos()
1336 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1338 * bufferparams.C (writeLaTeX): add a std:here
1340 * buffer.C: and remove a using directive there
1342 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1344 * buffer.C (makeLaTeXFile): move the code that generates the
1347 * bufferparams.C (writeLaTeX): ... in this new method
1349 * LaTeXFeatures.C (getEncodingSet): make const
1350 (getLanguages): make const
1352 * MenuBackend.C (binding): returns the binding associated to this
1354 (add): sets the status of each item by calling getStatus. Adds
1356 (read): add support for OptSubMenu
1357 (expand): remove extra separator at the end of expanded menu
1359 2003-02-15 John Levon <levon@movementarian.org>
1362 * BufferView_pimpl.C:
1364 * bufferlist.C: remove pointless BufferStorage bloat. Remove
1365 inset code that had no actual effect. Remove unneeded status
1368 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1370 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
1373 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
1375 * text.C (drawLengthMarker): also draw an arrow marker for
1376 symbolic lengths (medskip...)
1378 2003-02-14 John Levon <levon@movementarian.org>
1381 * tabular.C: better method names
1383 2003-02-14 John Levon <levon@movementarian.org>
1385 * BufferView_pimpl.C:
1390 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
1391 it's a more accurate name. Remove some pointless uses.
1393 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1395 * text2.C (LyXText): change order of initilizers to shut off
1398 2003-02-14 John Levon <levon@movementarian.org>
1400 * buffer.C: use ParIterator for getParFromID()
1404 * paragraph_pimpl.h:
1405 * paragraph_pimpl.C: remove unused getParFromID()
1407 2003-02-14 John Levon <levon@movementarian.org>
1409 * buffer.C: remove some very old #if 0'd parse code
1411 2003-02-13 John Levon <levon@movementarian.org>
1415 * text2.C: move hfillExpansion(), numberOfSeparators(),
1416 rowLast(), rowLastPrintable(), numberofHfills(),
1417 numberOfLabelHfills() ...
1420 * lyxrow.C: ... to member functions here.
1425 * text.C: remove LyXText::beginningOfMainBody(), and call
1426 p->beginningOfMainBody() directly. Move the check for
1427 LABEL_MANUAL into the latter.
1434 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1440 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1441 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1443 2003-02-13 John Levon <levon@movementarian.org>
1445 * CutAndPaste.C: remove debug
1447 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1449 * paragraph.C (asString): remove two unused variables
1451 * lyxtextclass.C (readTitleType):
1453 (LyXTextClass): handle new members titletype_ and titlename_
1455 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1457 2003-02-09 John Levon <levon@movementarian.org>
1460 * buffer.C: replace hand-coded list with a map for the dep clean
1462 2003-02-08 John Levon <levon@movementarian.org>
1464 * LaTeX.C: consolidate code into showRunMessage() helper
1466 2003-02-08 John Levon <levon@movementarian.org>
1471 * BufferView.C: change setSelectionOverString() to setSelectionRange()
1472 and pass the size in explicitly
1474 * BufferView_pimpl.h:
1475 * BufferView_pimpl.C:
1477 * BufferView.C: add getCurrentChange()
1479 * BufferView_pimpl.h:
1480 * BufferView_pimpl.C: handle change lfuns
1482 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
1483 for changes. Mark pasted paragraphs as new.
1485 * support/lyxtime.h:
1486 * support/lyxtime.C:
1487 * DepTable.C: abstract time_t as lyx::time_type
1490 * LColor.C: add colours for new text, deleted text, changebars
1492 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1493 package use "usenames" option.
1497 * LyXAction.C: add change lfuns
1501 * author.C: author handling
1504 * buffer.C: add a per-buffer author list, with first entry as
1505 current author. Handle new .lyx tokens for change tracking. Output
1506 author list to .lyx file. Output dvipost stuff to .tex preamble.
1507 Bump lyx format to 222.
1510 * bufferlist.C: add setCurrentAuthor() to reset current author details
1514 * bufferparams.C: add param for tracking
1516 * bufferview_funcs.C: output change info in minibuffer
1520 * changes.C: add change-tracking structure
1523 * debug.C: add CHANGES debug flag
1526 * lyxfind.C: add code for finding the next change piece
1529 * lyxrc.C: add user_name and user_email
1532 * lyxrow.C: add a metric for the top of the text line
1535 * text.C: implement accept/rejectChange()
1538 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1539 Strike through deleted text.
1543 * paragraph_pimpl.h:
1544 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1545 to the insert functions. Rework erase to mark text as deleted, adding
1546 an eraseIntern() and a range-based erase(). Implement
1547 per-paragraph change lookup and accept/reject.
1549 * paragraph_funcs.C: Fixup paste for change tracking.
1551 * tabular.C: mark added row/columns as new.
1553 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1554 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1556 * text2.C: leave cursor at end of selection after a cut.
1558 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1560 * text.C (getLengthMarkerHeight):
1561 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1562 visible on screen too.
1564 2003-02-07 John Levon <levon@movementarian.org>
1566 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1568 2003-02-05 Angus Leeming <leeming@lyx.org>
1570 * lyxserver.C (read_ready): revert my patch of 11 September last year
1571 as it sends PC cpu through the roof. Presumably this means that
1572 the lyxserver will no longer run on an Alpha...
1574 2003-01-30 Angus Leeming <leeming@lyx.org>
1576 * factory.C (createInset): create an InsetCommandParam of type "index"
1577 and use it to 'do the right thing'.
1579 * text2.C (getStringToIndex): ensure that cursor position is always
1580 reset to the reset_cursor position.
1582 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1584 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1587 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1591 * lyxfunc.C: Output messages with identical spelling, punctuation,
1594 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1596 * MenuBackend.C (expandFormats): List only viewable export formats
1599 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1602 * lyxfunc.C (getStatus): Make sure that formats other than
1603 "fax" can also be disabled
1605 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1607 * text3.C (dispatch): put the lfuns that insert insets in 3
1608 groups, and call doInsertInset with appropriate arguments.
1609 (doInsertInset): new function, that creates an inset and inserts
1610 it according to some boolean parameters.
1612 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1614 * buffer.C (readFile): remember to pass on 'par' when calling
1615 readFile recursively.
1617 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1619 * MenuBackend.C (expandFormats): add "..." to import formats.
1621 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1623 * paragraph.C (asString): Remove XForms RTL hacks.
1625 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1626 * buffer.C: fix typo
1628 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1630 * Makefile.am (LIBS): delete var
1631 (lyx_LDADD): add @LIBS@ here instead.
1633 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1635 * Clarify the meaning of "wheel mouse jump"
1637 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1639 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1642 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1644 * importer.C (Loaders): do not preallocate 3 elements in the
1645 vector, since one ends up with 6 elements otherwise
1647 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1649 * DepTable.C (write): write the file name as last element of the
1650 .dep file (because it may contain spaces)
1651 (read): read info in the right order
1653 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1655 * paragraph_pimpl.C (simpleTeXBlanks):
1656 (simpleTeXSpecialChars):
1657 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1659 * tabular.C (latex): add some missing case statements. Reindent.
1661 * MenuBackend.C (expandToc): remove unused variable.
1663 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1672 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1675 2003-01-05 John Levon <levon@movementarian.org>
1678 * BufferView.C: add getEncoding()
1681 * kbsequence.C: do not store last keypress
1684 * lyxfunc.C: store last keypress here instead. Pass encoding
1687 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1689 * lyx_main.C (init): remove annoying error message when following
1690 symbolic links (bug #780)
1692 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1694 * text.C (insertChar):
1695 * lyxrc.C (getDescription): remove extra spaces
1697 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1699 * lyxrc.C (getDescription): remove extra spaces
1701 2002-12-20 John Levon <levon@movementarian.org>
1703 * text3.C: hack fix for page up/down across tall rows
1705 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1707 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1710 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1712 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1713 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1714 thesaurus is not compiled in
1716 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1718 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1720 2002-12-16 Angus Leeming <leeming@lyx.org>
1723 * lyx_main.C (init): remove override_x_deadkeys stuff.
1725 2002-12-12 John Levon <levon@movementarian.org>
1727 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1728 insert. Only remove shift modifier under strict
1731 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1733 * MenuBackend.C (expandToc): fix crash.
1735 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1737 * MenuBackend.C (expandToc): gettext on float names.
1739 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1741 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1742 implement bool empty() [bug 490]
1744 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1746 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1748 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1750 * several files: ws changes
1752 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1754 * text2.C (setCounter): clean up a bit, use boost.format.
1755 (updateCounters): initialize par upon declaration.
1757 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1758 if the layout exists. We do not just store the layout any more.
1759 (SwitchLayoutsBetweenClasses): use boost.format
1761 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1763 * converter.C (convert): if from and to files are the same, use a
1764 temporary files as intermediary
1766 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1769 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1771 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1773 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1775 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1777 * tabular.C (asciiPrintCell): use string(size, char) instead of
1780 * sgml.C (openTag): fix order of arguments to string constructor
1783 * lyxfunc.C (dispatch): use boost.format
1785 * lots of files: change "c" -> 'c'
1787 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1789 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1791 2002-11-25 Angus Leeming <leeming@lyx.org>
1793 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1795 * lyx_main.C (init): compile fix.
1797 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1799 * lyx_cb.C (start): boost.formatify
1800 do not include <iostream>
1802 * lengthcommon.C: ws only
1804 * boost-inst.C,BoostFormat.h: add more explict instantations
1806 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1808 * lots of files: handle USE_BOOST_FORMAT
1810 2002-11-21 John Levon <levon@movementarian.org>
1812 * pspell.C: fix compile
1814 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1816 * lyxfunc.C (dispatch): use boost::format
1820 * lyxfont.C (stateText): use boost::format
1822 * lyx_main.C (LyX): use boost::format
1824 (queryUserLyXDir): ditto
1827 (typedef boost::function): use the recommened syntax.
1829 * importer.C (Import): use boost::format
1831 * debug.C (showLevel): use boost::format
1833 * converter.C (view): use boost::format
1838 * bufferview_funcs.C (currentState): use boost::format
1840 * bufferlist.C (emergencyWrite): use boost::format
1842 * buffer.C (readLyXformat2): use boost::format
1843 (parseSingleLyXformat2Token): ditto
1845 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1847 * LaTeX.C (run): use boost::format
1849 * Chktex.C (scanLogFile): use boost::format
1851 * BufferView_pimpl.C (savePosition): use boost::format
1852 (restorePosition): ditto
1853 (MenuInsertLyXFile): ditto
1855 * BoostFormat.h: help file for explicit instation.
1857 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1859 * tabular.C (latex): Support for block alignment in fixed width
1862 2002-11-17 John Levon <levon@movementarian.org>
1864 * BufferView_pimpl.C:
1866 * lyxfunc.C: split filedialog into open/save
1868 2002-11-08 Juergen Vigna <jug@sad.it>
1870 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1871 by my last patch (hopefully).
1873 2002-11-08 John Levon <levon@movementarian.org>
1882 * toc.C: ParConstIterator, and use it (from Lars)
1884 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1886 * lyxtextclass.[Ch]: revise and add doxygen comments
1888 2002-11-07 John Levon <levon@movementarian.org>
1890 * text.C: fix progress value for spellchecker
1892 * toc.C: fix navigate menu for insetwrap inside minipage
1894 * paragraph_funcs.C: added FIXME for suspect code
1896 2002-11-07 John Levon <levon@movementarian.org>
1898 * BufferView_pimpl.C: fix redrawing of insets
1901 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1903 * text2.C (updateCounters): fix bug 668
1905 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1907 * text3.C (dispatch): Do not make the buffer dirty when moving the
1910 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1912 * vc-backend.C: STRCONV
1915 * text2.C (setCounter): STRCONV
1917 * paragraph.C (asString): STRCONV
1919 * lyxlength.C (asString): STRCONV
1920 (asLatexString): ditto
1922 * lyxgluelength.C (asString): STRCONV
1923 (asLatexString): ditto
1925 * lyxfunc.C (dispatch): STRCONV
1928 * lyxfont.C (stateText): STRCONV
1930 * importer.C (Import): STRCONV
1932 * counters.C (labelItem): STRCONV
1933 (numberLabel): ditto
1934 (numberLabel): remove unused ostringstream o
1939 * bufferview_funcs.C (currentState): STRCONV
1941 * buffer.C (readFile): STRCONV
1942 (asciiParagraph): ditto
1943 (makeLaTeXFile): ditto
1945 * Spacing.C (writeEnvirBegin): STRCONV
1947 * LaTeXFeatures.C (getLanguages): STRCONV
1948 (getPackages): ditto
1950 (getBabelOptions): ditto
1951 (getTClassPreamble): ditto
1952 (getLyXSGMLEntities): ditto
1953 (getIncludedFiles): ditto
1957 (scanAuxFile): ditto
1960 * LString.h: add the STRCONV macros
1962 * BufferView_pimpl.C (savePosition): STRCONV
1963 (restorePosition): ditto
1964 (MenuInsertLyXFile): ditto
1966 * vc-backend.C (scanMaster): change from submatch[...] to
1969 * funcrequest.C: include config.h
1971 * factory.C: include config.h
1973 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1975 * box.C: include config.h
1977 * LaTeX.C (scanAuxFile): change from submatch[...] to
1981 2002-10-25 Angus Leeming <leeming@lyx.org>
1983 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1985 * ispell.[Ch] (setError): new method.
1986 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1987 Use setError() insetead of goto END.
1989 * lyx_cb.C (AutoSave): move out child process into new class
1992 2002-10-30 John Levon <levon@movementarian.org>
1994 * text3.C: make start appendix undoable
1996 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1998 * lyxlength.C (inPixels): Fix returned value.
2000 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
2003 2002-10-24 Angus Leeming <leeming@lyx.org>
2005 * lyxgluelength.h: no need to forward declare BufferParams
2006 or BufferView, so don't.
2008 2002-10-21 John Levon <levon@movementarian.org>
2010 * BufferView.C: menuUndo ->undo, redo
2012 * BufferView.h: document, remove dead, make some methods private
2014 * paragraph_funcs.h:
2015 * paragraph_funcs.C:
2016 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
2021 * sgml.C: move sgml open/close tag into sgml.C
2023 * bufferview_funcs.h: unused prototype
2026 * lyxfunc.C: remove unused
2029 * text.C: remove unused
2031 2002-10-21 John Levon <levon@movementarian.org>
2035 * BufferView_pimpl.h:
2036 * BufferView_pimpl.C: fix mouse wheel handling based on
2037 patch from Darren Freeman
2039 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
2041 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
2043 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
2045 * lyxlength.C (inPixels): Fix hanfling of negative length.
2046 Fix LyXLength::MU case.
2048 2002-10-16 John Levon <levon@movementarian.org>
2050 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
2052 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2054 * converter.C (view): add support for $$i (file name) and $$p
2055 (file path) for the viewer command. If $$i is not specified, then
2056 it is appended to the command (for compatibility with old syntax)
2058 2002-10-14 Juergen Vigna <jug@sad.it>
2060 * undo_funcs.C (textHandleUndo): alter the order in which the
2061 new undopar is added to the LyXText, as we have to set first
2062 the right prev/next and then add it as otherwise the rebuild of
2063 LyXText is not correct. Also reset the cursor to the right paragraph,
2064 with this IMO we could remove the hack in "redoParagraphs()".
2066 2002-10-09 Angus Leeming <leeming@lyx.org>
2068 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
2069 to turn off an optimisation if a new inset is to be inserted.
2071 2002-10-11 André Pönitz <poenitz@gmx.net>
2073 * lyxtext.h: make some functions public to allow access
2074 from inset/lyxtext for handling LFUN_PRIOR/NEXT
2076 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2078 * text3.C (dispatch): when changing layout, avoid an infinite loop
2081 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2083 * lyxrc.C (read): treat a viewer or converter command of "none" as
2086 * MenuBackend.C (expandFormats): for an update, also allow the
2087 formats that are not viewable
2089 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
2090 script if it is newer than the lyxrc.defaults in user directory
2092 2002-10-07 André Pönitz <poenitz@gmx.net>
2094 * text.C: Vitaly Lipatov's small i18n fix
2096 2002-09-25 Angus Leeming <leeming@lyx.org>
2098 * ispell.h: doxygen fix.
2100 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
2102 * buffer.h (readFile): Add a new argument to the method, to allow
2103 reading of old-format templates.
2105 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2107 * toc.C (getTocList): Get TOC from InsetWrap.
2109 2002-09-16 John Levon <levon@movementarian.org>
2111 * lyxfunc.C: check tabular for cut/copy too
2113 2002-09-12 John Levon <levon@movementarian.org>
2118 * factory.C: add header
2120 * paragraph_funcs.h:
2121 * paragraph_funcs.C: cleanup
2123 2002-09-11 John Levon <levon@movementarian.org>
2125 * PrinterParams.h: odd/even default to true
2127 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2129 * PrinterParams.h: update printer parameters for new xforms dialog
2131 2002-09-11 Angus Leeming <leeming@lyx.org>
2133 * lyxserver.C (read_ready): re-write to make it more transparent
2134 and to make it work in coherent fashion under Tru64 Unix.
2136 2002-09-11 André Pönitz <poenitz@gmx.net>
2140 * text3.C: implement LFUN_WORDSEL
2142 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2144 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
2145 make floatlist_ a boost::shared_ptr<FloatList>
2147 * lyxtextclass.C: include FloatList.h
2148 (LyXTextClass): initialize floatlist_
2149 (TextClassTags): add TC_NOFLOAT
2150 (Read): match "nofloat" to TC_NOFLOAT and use it.
2151 (readFloat): modify call to floatlist_
2155 * FloatList.[Ch] (FloatList): remove commented out float
2157 (erase): new function
2159 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2161 * MenuBackend.C (expandToc): fix crash when there is no document
2164 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
2166 * many files: Add insetwrap.
2168 2002-09-09 John Levon <levon@movementarian.org>
2170 * text2.C: remove confusing and awkward depth wraparound
2172 2002-09-09 John Levon <levon@movementarian.org>
2174 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
2177 * buffer.C: remove getIncludeonlyList()
2180 * lyxfunc.C: remove headers
2182 2002-09-09 Juergen Vigna <jug@sad.it>
2184 * text.C (getColumnNearX): fix form Michael this is most
2185 probably a cut&paste bug.
2187 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2189 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
2191 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
2192 references, ws changes.
2194 * text2.C (init): update counters after init
2195 (insertParagraph): no need to set counter on idividual paragraphs.
2196 (setCounter): access the counters object in the textclass object
2197 on in the buffer object.
2198 (updateCounters): ditto
2200 * lyxtextclass.C: include counters.h, add variable ctrs_ as
2201 shared_ptr<Counters> to avoid loading counters.h in all
2203 (LyXTextClass): initialize ctrs_
2204 (TextClassTags): add TC_COUNTER, and ...
2205 (Read): use it here.
2206 (CounterTags): new tags
2207 (readCounter): new function
2208 (counters): new funtion
2209 (defaultLayoutName): return a const reference
2211 * counters.C (Counters): remove contructor
2212 (newCounter): remove a couple of unneeded statements.
2213 (newCounter): simplify a bit.
2214 (numberLabel): some small formatting changes.
2216 * buffer.[Ch]: remove all traces of counters, move the Counters
2217 object to the LyXTextClass.
2219 2002-09-06 Alain Castera <castera@in2p3.fr>
2221 * tabular.C: uses \tabularnewline; uses >{...} construct from array
2222 package to set the horizontal alignment on fixed width columns.
2225 * lyx_sty.h: added tabularnewline macro def.
2227 * LaTeXFeatures.C: added NeedTabularnewline macro feature
2229 2002-09-06 John Levon <levon@movementarian.org>
2231 * LyXAction.C: tooltips for sub/superscript
2233 * MenuBackend.C: a bit more verbose
2235 * lyxfunc.C: tiny clean
2237 * undo_funcs.C: document undo_frozen
2239 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2241 * counters.C (Counters): add missing algorithm counter.
2243 * text2.C (setCounter): lookup the counter with layouts latexname
2244 instead of by section number.
2245 (setCounter): use a hackish way to lookup the correct enum
2247 a float name->type change
2248 reset enum couners with counter name directly instead of depth value.
2250 * counters.C (Counters): remove the push_backs, change to use the
2251 float type not the float name.
2252 (labelItem): remove unused string, float name->type change
2254 * counters.h: don't include vector, loose the enums and sects vectors
2256 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2258 * lyxtextclass.C (TextClassTags): add TC_FLOAT
2259 (Read): add float->TC_FLOAT to textclassTags
2260 (Read): and handle it in the switch
2261 (readFloat): new function
2263 * FloatList.C (FloatList): comment out the hardcoded float
2266 * lyxlayout.h: ws change.
2268 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
2270 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
2272 2002-09-03 Angus Leeming <leeming@lyx.org>
2274 * BufferView_pimpl.h: qualified name is not allowed in member
2275 declaration: WorkArea & Pimpl::workarea() const;
2277 * factory.C: added using std::endl directive.
2279 * text3.C: added using std::find and std::vector directives.
2281 2002-08-29 André Pönitz <poenitz@gmx.net>
2284 * text2.C: remove unused member number_of_rows
2287 * BufferView2.C: remove file, move contents to...
2288 * BufferView.C: ... here
2290 * BufferView_pimpl.C:
2291 * factory.C: move more inset creation to factory
2293 * vspace.C: avoid direct usage of LyXText, ws changes
2296 don't provide direct access to WorkArea, use two simple
2297 acessors haveSelction() and workHeight() instead
2300 2002-08-29 John Levon <levon@movementarian.org>
2302 * BufferView_pimpl.C (dispatch): do not continue when
2305 2002-08-28 André Pönitz <poenitz@gmx.net>
2307 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
2310 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
2312 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2314 * buffer.C: increment LYX_FORMAT to 221
2316 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
2317 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
2319 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
2321 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
2323 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2325 * factory.C (createInset): use LyXTextClass::floats
2327 * MenuBackend.C (expandFloatListInsert):
2328 (expandFloatInsert):
2331 * text2.C (setCounter):
2333 * LaTeXFeatures.C (useFloat):
2334 (getFloatDefinitions):
2336 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
2338 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
2339 floatlist_, with accessor floats().
2341 * FloatList.h: remove global FloatList
2343 2002-08-26 André Pönitz <poenitz@gmx.net>
2345 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
2349 * BufferView_pimpl.C:
2350 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
2352 2002-08-25 John Levon <levon@movementarian.org>
2354 * LyXAction.C: fix margin note description
2356 2002-08-24 John Levon <levon@movementarian.org>
2360 * bufferview_funcs.C:
2362 * undo_funcs.C: cleanups
2364 * lyxfunc.C: disable CUT/COPY when no selection
2366 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2368 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
2369 in "enum UNIT"; e.g. PTW for Percent of TextWidth
2371 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
2372 Add backward compatibility to "mono", "gray" and "no".
2374 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
2376 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
2377 (and file_format >= 200).
2379 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2381 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
2383 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2385 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
2387 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
2389 * BufferView_pimpl.C:
2396 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2397 inset and code to make it work with the paragraph code. The inset
2398 can be anywhere in the paragraph, but will only do the expected
2399 thing in LaTeX if the layout file contains the parameter line
2401 (or more generally, a nonzero value) for that layout.
2403 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2405 * paragraph.h: remove the declaration of undefined counters class
2408 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
2410 * text2.C (setCounter): fixed enumeration mis-count as reported by
2411 Dr. Richard Hawkins.
2413 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2415 * paragraph_funcs.h: remove some unneeded includes
2417 * text.C (backspace): pasteParagraph now in global scipe
2419 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2420 (pasteSelection): ditto
2422 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2423 * paragraph_funcs.C (pasteParagraph): ... here
2425 2002-08-20 André Pönitz <poenitz@gmx.net>
2427 * commandtags.h: new LFUNs for swapping/copying table row/colums
2430 * lyxfunc.C: support for new lfuns
2432 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2435 * buffer.[Ch]: remove NO_COMPABILITY stuff
2437 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
2439 * boost.C (throw_exception): new file, with helper function for
2440 boost compiled without exceptions.
2445 * ParameterStruct.h:
2446 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2448 * bufferlist.C (emergencyWriteAll): use boost bind
2450 * BufferView_pimpl.C (moveCursorUpdate): remove inline
2452 * text.C: include paragraph_funcs.h
2453 (breakParagraph): breakParagraph is now in global scope
2455 * paragraph_funcs.[Ch]: new files
2457 * paragraph.C (breakParagraph,breakParagraphConservative): move to
2460 * buffer.C: include paragraph_funcs.h
2461 (insertStringAsLines): breakParagraph is now in global scope
2463 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2466 * CutAndPaste.C: include paragraph_funcs.h
2467 (cutSelection): breakParagraphConservative is now in global scope
2468 (pasteSelection): ditto
2470 * buffer.h: declare oprator== and operator!= for
2471 Buffer::inset_iterator
2473 * bufferlist.C (emergencyWrite): don't use fmt(...)
2475 * text3.C: add using std::endl
2477 * BufferView.C (moveCursorUpdate): remove default arg
2479 2002-08-20 André Pönitz <poenitz@gmx.net>
2481 * buffer.[Ch]: move inline functions to .C
2484 * BufferView_pimpl.C:
2486 * buffer.[Ch]: use improved inset_iterator
2489 * paragraph.[Ch]: write one paragraph at a time
2491 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
2493 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2494 style if style is not specified.
2496 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2498 * text2.C (setCounter): when searching for right label for a
2499 caption, make sure to recurse to parent insets (so that a caption
2500 in a minipage in a figure float works) (bug #568)
2502 2002-08-20 André Pönitz <poenitz@gmx.net>
2504 * text3.C: new file for LyXText::dispatch() and helpers
2506 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2508 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2510 2002-08-19 André Pönitz <poenitz@gmx.net>
2513 * text.C: new LyXText::dispatch()
2515 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2517 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
2519 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2521 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2524 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2526 * Makefile.am: use $(variables) instead of @substitutions@
2528 2002-08-15 André Pönitz <poenitz@gmx.net>
2531 * BufferView_pimpl.C: streamlining mathed <-> outer world
2535 * LyXAction.C: remove unused LFUN_MATH
2537 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2539 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2541 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2543 * paragraph.C (Paragraph): reformat a bit
2544 (cutIntoMinibuffer): use builtin InsetList function instad of
2548 * buffer.C: include boost/bind.hpp, add using std::for_each
2549 (writeFileAscii): use ParagraphList iterators
2550 (validate): use for_each for validate traversal of paragraphs
2551 (getBibkeyList): use ParagraphList iterators
2552 (resizeInsets): use for_each to resizeInsetsLyXText for all
2554 (getParFromID): use ParagraphList iterators
2556 * BufferView2.C (lockInset): use paragraph list and iterators
2558 2002-08-14 John Levon <levon@movementarian.org>
2560 * lyxserver.C: remove spurious xforms include
2562 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2564 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2566 2002-08-13 André Pönitz <poenitz@gmx.net>
2569 * lyxfunc.C: further cleaning
2571 2002-08-13 André Pönitz <poenitz@gmx.net>
2573 * funcrequest.h: new constructor
2575 * funcrequest.C: move stuff here from .h
2578 * BufferView_pimpl.C:
2581 * lyxfunc.C: subsequent changes
2583 * lyxfunc.h: new view() member function
2585 * lyxfunc.C: subsequent changes
2587 2002-08-13 Angus Leeming <leeming@lyx.org>
2590 * BufferView_pimpl.C:
2598 changes due to the changed LyXView interface that now returns references
2599 to member variables not pointers.
2601 2002-08-13 Angus Leeming <leeming@lyx.org>
2603 * WordLangTuple (word, lang_code): return references to strings,
2608 * lyxtext.h: forward-declare WordLangTuple.
2613 * text.C: #include "WordLangTuple.h".
2616 * text.C: (selectNextWordToSpellcheck): constify return type.
2618 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2624 * paragraph_pimpl.h:
2627 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2629 Made updateCounter always count from start of buffer, and removed
2630 second argument (par).
2631 Reverted floats number display to '#'. Perhaps I'll try again when the
2632 code base is sanitized a bit.
2634 2002-08-12 Angus Leeming <leeming@lyx.org>
2636 * buffer.[Ch] (getLabelList): constify.
2638 2002-08-07 André Pönitz <poenitz@gmx.net>
2640 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2642 * funcrequest.h: extension to keep mouse (x,y) position
2644 2002-08-12 Juergen Vigna <jug@sad.it>
2646 * BufferView2.C (insertErrors): forbid undo when inserting error
2649 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2651 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2653 * ParagraphList.[Ch]: new files
2655 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2657 * BufferView2.C (lockInset): ParagraphList changes
2660 * bufferlist.C: ditto
2664 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2666 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2667 unused class variable counter_,
2669 * paragraph.[Ch] (getFirstCounter): delete unused function
2671 * counters.C: include LAssert.h
2672 (reset): add a new function with no arg, change other version to
2673 not have def. arg and to not allow empty arg.
2675 * text2.C (setCounter): remove empty arg from call to Counters::reset
2677 2002-08-11 John Levon <levon@movementarian.org>
2679 * Makefile.am: add WordLangTuple.h
2681 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2683 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2684 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2686 * insets/insettext.C: InsetList changes
2688 * graphics/GraphicsSupport.C (operator()): InsetList changes
2690 * toc.C (getTocList): InsetList changes
2692 * paragraph_pimpl.[Ch]: InsetList changes
2694 * paragraph.[Ch]: InsetList changes
2696 * buffer.C (inset_iterator): InsetList changes
2697 (setParagraph): ditto
2698 * buffer.h (inset_iterator): ditto
2699 * iterators.C (operator++): ditto
2700 * iterators.h: ditto
2702 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2704 * InsetList.[Ch]: new files, most InsetList handling moved out of
2707 * BufferView2.C (removeAutoInsets): InsetList changes
2709 (ChangeInsets): ditto
2711 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2713 * paragraph_pimpl.h (empty): new function
2715 * paragraph.[Ch] (empty): new function
2717 * other files: use the new Paragraph::empty function
2719 2002-08-09 John Levon <levon@movementarian.org>
2721 * lyxtext.h: remove unused refresh_height
2723 2002-08-09 John Levon <levon@movementarian.org>
2730 * paragraph.C: move sgml char escaping out of paragraph
2733 * paragraph.C: remove id setter
2737 * paragraph_pimpl.C: remove dead tex_code_break_column
2739 * bufferview_funcs.C: small cleanup
2741 * lyxfunc.C: remove dead proto
2743 * lyxtext.h: make some stuff private. Remove some dead stuff.
2745 * lyxgluelength.C: make as[LyX]String() readable
2747 2002-08-08 John Levon <levon@movementarian.org>
2752 * ToolbarDefaults.C:
2755 * toc.C: lyxaction cleanup
2757 2002-08-08 John Levon <levon@movementarian.org>
2759 * BufferView2.C: small cleanup
2762 * lyxfind.C: move unnecessary header into the .C
2764 2002-08-08 John Levon <levon@movementarian.org>
2766 * funcrequest.h: just tedious nonsense
2769 * lyx_main.C: cleanups
2772 * vspace.C: remove dead header lyx_main.h
2774 2002-08-07 Angus Leeming <leeming@lyx.org>
2777 * paragraph_pimpl.h:
2778 Forward declare class Counters in paragraph.h by moving the ctrs member
2779 variable into Paragraph::Pimpl.
2780 (counters): new method, returning a reference to pimpl_->ctrs.
2782 * text2.C: ensuing changes.
2784 2002-08-07 John Levon <levon@movementarian.org>
2786 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2788 * BufferView_pimpl.C: announce X selection on double/triple
2791 * lyx_main.C: use correct bool in batch dispatch
2793 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2795 2002-08-07 André Pönitz <poenitz@gmx.net>
2797 * funcrequest.h: new class to wrap a kb_action and its argument
2800 * BufferView_pimpl[Ch]:
2804 * lyxrc.C: subsequent changes
2807 2002-08-07 John Levon <levon@movementarian.org>
2809 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2810 document options change.
2812 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2817 * makefile.am: move counters functionality over from
2818 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2820 2002-08-06 John Levon <levon@movementarian.org>
2822 * WordLangTuple.h: new file for word + language code tuple
2833 * BufferView2.C: use WordLangTuple
2836 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2838 2002-08-06 John Levon <levon@movementarian.org>
2840 * lyx_main.C: fix cmdline batch handling
2842 2002-08-06 André Pönitz <poenitz@gmx.net>
2844 * lyxrc.C: set default for show_banner to true
2846 2002-08-06 John Levon <levon@movementarian.org>
2848 * pspell.C: fix a crash, and allow new aspell to work
2850 2002-08-06 John Levon <levon@movementarian.org>
2853 * kbmap.C: small cleanup
2856 * vspace.C: add const
2858 2002-08-05 John Levon <levon@movementarian.org>
2860 * LyXAction.C: back to tabular-insert
2862 2002-08-04 John Levon <levon@movementarian.org>
2865 * BufferView.C: cosmetic change
2867 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2877 * BufferView2.C: purge all "Lyx" not "LyX" strings
2880 * lyxcursor.C: attempt to add some documentation
2885 * ToolbarDefaults.C:
2886 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2887 merge with LFUN_TABULAR_INSERT
2894 * pspell.C: split up i/pspell implementations into separate
2895 files, many cleanups
2897 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2899 * text2.C: some cleanup
2901 * lyxfunc.C: don't check for isp_command == "none" any more, it
2902 didn't make any sense
2904 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2909 * makefile.am: move counters functionality over
2910 from text2.C/paragraph.[Ch] to counters.[Ch], and
2912 2002-08-02 John Levon <levon@movementarian.org>
2914 * buffer.C: s/lyxconvert/lyx2lyx/
2916 2002-08-02 Angus Leeming <leeming@lyx.org>
2918 * lyxlex.C: revert John's change as it breaks reading of the user
2921 2002-08-02 Angus Leeming <leeming@lyx.org>
2923 * importer.C (Import):
2924 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2925 changes due to LyXView::view() now returning a boost::shared_ptr.
2927 2002-08-02 John Levon <levon@movementarian.org>
2929 * lyxlex.C: small cleanup
2931 2002-08-02 John Levon <levon@movementarian.org>
2933 * text2.C (status): small cleanup, no logic change
2935 2002-08-01 John Levon <levon@movementarian.org>
2938 * buffer.C (writeFile): don't output alerts, caller
2942 * lyx_cb.C: from above
2944 * lyxfunc.C: allow to open non-existent files
2946 2002-07-31 John Levon <levon@movementarian.org>
2948 * lyxserver.C: don't let incidental errors get
2951 2002-07-30 John Levon <levon@movementarian.org>
2953 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2955 2002-07-30 John Levon <levon@movementarian.org>
2958 * lyxserver.C: remove I/O callback too
2960 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2962 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2965 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2967 * many files: strip,frontStrip -> trim,ltrim,rtrim
2969 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2971 * PrinterParams.h: remove extern containsOnly, and include
2972 support/lstrings.h instead.
2974 * LaTeX.C (scanAuxFile): modify because of strip changes
2976 * buffer.C (makeLaTeXFile): ditto
2977 * bufferparams.C (writeFile): ditt
2978 * lyxfont.C (stateText): ditto
2979 * lyxserver.C (read_ready): ditto
2980 * vc-backend.C (scanMaster): ditto
2982 * BufferView_pimpl.h: ws changes
2984 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2986 2002-07-26 André Pönitz <poenitz@gmx.net>
2988 * kb_sequence.C: remove unnedred usings
2990 2002-07-26 Juergen Vigna <jug@sad.it>
2992 * lyxfind.C (LyXReplace): we have to check better if the returned
2993 text is not of theLockingInset()->getLockingInset().
2995 2002-07-25 Juergen Vigna <jug@sad.it>
2997 * lyxfind.C (LyXReplace): don't replace if we don't get the
3000 * undo_funcs.C (createUndo): remove debugging code.
3002 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3004 * buffer.C (parseSingleLyXformat2Token): Use default placement
3005 when reading old floats.
3007 * FloatList.C (FloatList): Change the default placement of figure
3008 and tables to "tbp".
3010 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
3012 * MenuBackend.C: using std::max
3014 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3016 * MenuBackend.C (expandToc):
3017 (expandToc2): code moved from xforms menu frontend. It is now
3018 generic and TOCs are transparent to menu frontends.
3020 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3022 * toc.C (getTocList): protect against buf=0
3024 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
3025 Menu as first parameter. Now, this calls itself recursively to
3026 expand a whole tree (this will be useful for TOC handling)
3027 (expandFloatInsert): remove 'wide' version of floats
3029 * MenuBackend.h (submenuname): returns the name of the submenu.
3030 (submenu): returns the submenu itself, provided it has been
3031 created by MenuBackend::expand
3033 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3035 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
3036 insets which have noFontChange == true. (bug #172)
3038 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3040 * BufferView_pimpl.C: add connection objects and use them...
3043 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3045 * MenuBackend.C (expandLastfiles):
3048 (expandFloatListInsert):
3049 (expandFloatInsert):
3050 (expand): split expand in parts
3052 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3054 * lyx_gui.C: use lyx_gui::exit()
3056 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3058 * LyXAction.C: show the failing pseudo action
3060 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
3062 * buffer.C (readFile): Run the lyxconvert script in order to read
3065 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3069 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
3071 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3075 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
3077 2002-07-22 Herbert Voss <voss@lyx.org>
3080 * lyxlength.[Ch]: add support for the vertical lengths
3082 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
3084 * toc.[Ch]: std:: fixes
3086 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3088 * lyxrc.C: do not include lyx_main.h
3090 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
3096 * BufferView2.C: include "lyxlex.h"
3099 * bufferparams.h: do not #include "lyxlex.h"
3101 * lyxtextclasslist.C (Add): remove method
3102 (classlist): renamed to classlist_
3104 * paragraph_pimpl.C:
3108 * bufferview_funcs.C:
3113 * toc.C (getTocList): use BufferParams::getLyXTextClass
3115 * toc.C (getTocList): use InsetFloat::addToToc
3117 * toc.[Ch]: new files, containing helper functions to handle table
3120 * lyxfunc.C (dispatch): no need to remove spaces around command
3122 (getStatus): handle LFUN_SEQUENCE by returning the status of the
3123 first command of the sequence; it is not very clever, but I do not
3124 have a better idea, actually
3126 * LyXAction.C (LookupFunc): make sure to remove space at the
3127 beginning and end of the command
3129 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3131 * MenuBackend.C (getMenubar): new method: return the menubar of
3133 (read): treat differently reading of menu and menubar (in
3134 particular, the menubar has no name now)
3135 (Menu::menubar): remove
3137 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
3140 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3142 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
3143 a bibitem inset in a RTL paragraph.
3145 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
3147 * paragraph_pimpl.C: constify
3149 * BufferView_pimpl.C:
3151 * lyxfunc.C: fix dispatch in a nicer way
3153 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3155 * lyxfunc.C (dispatch):
3156 * BufferView_pimpl.C:
3157 * BufferView_pimpl.h:
3159 * BufferView.h: rename Dispatch() to dispatch()
3161 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
3163 * lyxlayout.C (Read): honor DependsOn tag
3165 * lyxlayout.[Ch] (depends_on): new method
3167 * version.C.in: update lyx_docversion
3169 * LaTeXFeatures.C (getMacros): only define \LyX when needed
3171 * paragraph.C (validate): remove from here...
3172 * paragraph_pimpl.C (validate): ... and move here
3173 (isTextAt): make it const
3175 * buffer.C (getLists): ws cleanup
3177 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3179 * language.C (read): Use iso8859-1 encoding in latex_lang
3180 (this prevents LyX from crashing when using iso10646-1 encoding).
3182 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3184 * text2.C (toggleInset): if cursor is inside an inset, close the
3185 inset and leave cursor _after_ it
3187 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3189 * lyxfunc.C: move minibuffer completion handling out of here
3191 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3193 * BufferView_pimpl.C:
3194 * LaTeX.C: fix dispatch calls
3196 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
3198 * text.C (drawChars): Fix Arabic text rendering.
3200 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
3204 * lyxfunc.C: remove message-push/pop
3208 * lyxfunc.C: rationalise some code by removing verboseDispatch
3209 in favour of a bool argument to dispatch()
3211 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3213 * lyx_main.C (init): make sure to read symlinks as absolute paths
3215 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3218 * lyxfunc.C: no need for commandshortcut to be a member
3220 2002-07-15 André Pönitz <poenitz@gmx.net>
3222 * converter.C: add support for $$s (scripts from lib/scripts dir)
3223 * lyx_main.C: white space
3225 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3229 * lyxrc.C: remove second exit confirmation
3231 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3236 * BufferView_pimpl.h:
3237 * BufferView_pimpl.C:
3238 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
3240 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3242 * MenuBackend.C (expand): add numeric shortcuts to document menu
3244 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
3246 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3248 * lyxfont.C (setLyXFamily):
3255 * buffer.C (asciiParagraph): use ascii_lowercase
3257 2002-07-15 Mike Fabian <mfabian@suse.de>
3259 * lyxlex_pimpl.C (search_kw):
3260 * lyxlex.C (getLongString):
3261 * converter.h (operator<):
3262 * converter.C (operator<):
3263 * buffer.C (parseSingleLyXformat2Token):
3265 * ToolbarDefaults.C (read):
3266 * MenuBackend.C (checkShortcuts):
3268 * LColor.C (getFromGUIName):
3269 (getFromLyXName): use the compare_ascii_no_case instead of
3270 compare_no_case, because in turkish, 'i' is not the lowercase
3271 version of 'I', and thus turkish locale breaks parsing of tags.
3273 2002-07-16 Angus Leeming <leeming@lyx.org>
3275 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
3276 now takes a Buffer const & argument.
3278 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3280 * BufferView.C (resize): check there's a buffer to resize
3282 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
3284 * lyxfunc.C: remove dead code
3287 * lyxserver.C: use lyx_guii::set_read_callback
3289 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3291 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
3292 an inset in a RTL paragraph.
3294 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3296 * lyxfunc.C: repaint after a font size update
3298 2002-07-15 André Pönitz <poenitz@gmx.net>
3300 * lyxlength.C: inBP should be able to return negative values
3302 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3304 * lyxfunc.C: use lyx_gui::update_fonts()
3306 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3308 * lyxfunc.C: use lyx_gui::update_color()
3310 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3316 * lyxrc.C: remove file->new asks for name option, and let
3317 buffer-new take an argument
3319 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3321 * BufferView_pimpl.C: remove unneeded extra repaint()
3323 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
3325 * LyXAction.C: allow command-sequence with NoBuffer
3327 * lyxfunc.C: don't insist on trailing ';' for command-sequence
3329 2002-07-10 Angus Leeming <leeming@lyx.org>
3331 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
3333 2002-07-09 Angus Leeming <leeming@lyx.org>
3335 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
3337 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3339 * lengthcommon.h: whitespace
3341 * lyxfunc.C: update scrollbar after goto paragraph
3343 * lyxtext.h: factor out page break drawing, and fix it so
3344 page break/added space paints as selected nicely
3346 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3348 * BufferView_pimpl.C: add FIXMEs, clean up a little
3350 2002-07-09 André Pönitz <poenitz@gmx.net>
3352 * lyxfont.[Ch]: support for wasy symbols
3354 2002-07-08 André Pönitz <poenitz@gmx.net>
3356 * BufferView_pimpl.C: apply John's patch for #93.
3358 2002-07-05 Angus Leeming <leeming@lyx.org>
3360 * BufferView_pimpl.C (buffer): generate previews if desired.
3362 * LColor.h: add "preview" to the color enum.
3364 * LColor.C (LColor): add a corresponding entry to the items array.
3366 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
3369 2002-07-05 Angus Leeming <leeming@lyx.org>
3371 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
3372 The body of the code is now in the method that is passed an ostream &
3373 rather than a file name.
3374 Pass an additional only_preamble parameter, useful for the forthcoming
3377 2002-07-03 André Pönitz <poenitz@gmx.net>
3379 * lyxfunc.C: simplify getStatus() a bit for math stuff
3381 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3383 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
3385 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3387 * text.C (changeRegionCase): do not change case of all the
3388 document when region ends at paragraph end (bug #461)
3390 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3392 * paragraph.C (startTeXParParams):
3393 (endTeXParParams): add \protect when necessary
3395 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3397 * BufferView_pimpl.C (workAreaExpose): remove warning
3399 2002-06-27 Angus Leeming <leeming@lyx.org>
3401 * Makefile.am: add lyxlayout_ptr_fwd.h.
3403 2002-06-26 André Pönitz <poenitz@gmx.net>
3405 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3407 2002-06-25 Angus Leeming <leeming@lyx.org>
3409 * lyxfunc.C (dispatch): Comment out the call to
3410 grfx::GCache::changeDisplay. The method no longer exists now that the
3411 pixmap generation part of the graphics loader has been moved into
3414 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3416 * text2.C: layout as layout
3418 * text.C: layout as layout
3420 * tabular.C (OldFormatRead): layout as layout
3422 * paragraph_pimpl.C (TeXDeeper): layout as layout
3423 (realizeFont): layout as layout
3425 * paragraph.C (writeFile): layout as layout
3426 (validate): layout as layout
3427 (getFont): layout as layout
3428 (getLabelFont): layout as layout
3429 (getLayoutFont): layout as layout
3430 (breakParagraph): layout as layout
3431 (stripLeadingSpaces): layout as layout
3432 (getEndLabel): layout as layout
3433 (getMaxDepthAfter): layout as layout
3434 (applyLayout): layout as layout
3435 (TeXOnePar): layout as layout
3436 (simpleTeXOnePar): layout as layout
3437 (TeXEnvironment): layout as layout
3438 (layout): layout as layout
3439 (layout): layout as layout
3441 * lyxtextclass.C (compare_name): new functor to work with
3442 shared_ptr, layout as layout
3443 (Read): layout as layout
3444 (hasLayout): layout as layout
3445 (operator): layout as layout
3446 (delete_layout): layout as layout
3447 (defaultLayout): layout as layout
3449 * lyxlayout_ptr_fwd.h: new file
3451 * lyxlayout.C (Read): layout as layout
3453 * lyx_cb.C (MenuInsertLabel): layout as layout
3455 * bufferlist.C (newFile): layout as layout
3457 * buffer.C (readLyXformat2): layout as layout
3458 (parseSingleLyXformat2Token): layout as layout
3459 (insertStringAsLines): layout as layout
3460 (asciiParagraph): layout as layout
3461 (latexParagraphs): layout as layout
3462 (makeLinuxDocFile): layout as layout
3463 (simpleLinuxDocOnePar): layout as layout
3464 (makeDocBookFile): layout as layout
3465 (simpleDocBookOnePar): layout as layout
3466 (getLists): layout as layout
3468 * LaTeXFeatures.C (getTClassPreamble): layout as layout
3470 * CutAndPaste.C (cutSelection): layout as layout
3471 (pasteSelection): layout as layout
3472 (SwitchLayoutsBetweenClasses): layout as layout
3474 * BufferView_pimpl.C (Dispatch): layout as layout
3475 (smartQuote): layout as layout
3477 * BufferView2.C (unlockInset): layout as layout
3479 2002-06-24 André Pönitz <poenitz@gmx.net>
3481 * lyxfunc.C: fix #487
3483 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3487 * lyxfunc.C: remove display_shortcuts, show_banner
3489 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3491 * Buffer_pimpl.C: oops, update on resize
3493 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3500 * BufferView.C: use repaint()
3502 * BufferView_pimpl.h:
3503 * BufferView_pimpl.C: s/updateScreen()/repaint()/
3504 as it's a clearer description. Remove superfluous
3507 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3509 * text.C: fix bug 488. Not ideal, but getting
3510 getWord() to work properly for the insets that
3511 matter is more difficult ...
3513 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3515 * BufferView_pimpl.C:
3518 * lyxfunc.C: remove the six million index lyxfuncs to just
3519 one, and DTRT (bug 458)
3521 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3525 * BufferView_pimpl.h:
3526 * BufferView_pimpl.C: clean up resize() stuff,
3527 and unnecessary updateScreen()s
3529 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3533 * BufferView_pimpl.h:
3534 * BufferView_pimpl.C:
3537 * minibuffer.C: remove focus management of workarea,
3538 not needed. Use screen's greyOut()
3540 2002-06-17 Herbert Voss <voss@lyx.org>
3542 * converter.C: (convert) do not post a message, when converting
3543 fails, let the calling function decide what to do in this case
3545 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3547 * lyxfunc.C: tidy up a little
3549 2002-06-16 <alstrup@diku.dk>
3551 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3552 Got rid of FORMS_H_LOCATION include. Now we are
3555 2002-06-15 LyX Development team <lyx@rilke>
3557 * buffer.[Ch] (sgmlOpenTag):
3558 (sgmlCloseTag): Added support for avoiding pernicious mixed
3559 content. Return number of lines written.
3562 (makeDocBookFile): Fixed calls to sgml*Tag.
3563 Simple white space clean.
3565 (simpleDocBookOnePar): Simple white space clean.
3567 * tabular.[Ch] (docBook): Renamed to docbook and got another
3568 argument to related with the pernicious mixed content.
3570 (docbookRow): Fixed calls for docbook inset method.
3572 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3574 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3575 so it's X11 independent.
3579 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3581 2002-06-15 Lyx Development team <lyx@electronia>
3583 * intl.h: Renamed getTrans to getTransManager.
3585 2002-06-14 Angus Leeming <leeming@lyx.org>
3587 * Makefile.am: nuke forgotten stl_string_fwd.h.
3589 2002-06-12 Angus Leeming <leeming@lyx.org>
3591 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3593 2002-06-13 Angus Leeming <leeming@lyx.org>
3596 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3598 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3600 * kbmap.C (getiso): add support for cyrillic and greek
3602 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3606 * BufferView_pimpl.h:
3607 * BufferView_pimpl.C: move bogus scrolling logic
3610 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3613 * BufferView_pimpl.C: view->resize() change
3615 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3617 * BufferView_pimpl.C: topCursorVisible
3620 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3624 * lyx_gui.C: move to frontends/
3628 * lyx_main.C: changes from above
3630 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3637 * lyx_main.C: minor tidy
3639 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3641 * BufferView_pimpl.h:
3642 * BufferView_pimpl.C:
3644 * BufferView.C: make painter() const,
3647 * BufferView2.C: use screen() accessor
3650 * lyx_main.C: some minor cleanup
3652 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3654 * BufferView_pimpl.h:
3655 * BufferView_pimpl.C: remove enter/leaveView,
3658 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3663 * BufferView_pimpl.h:
3664 * BufferView_pimpl.C: only construct screen once,
3667 * lyxrc.C: remove pointless comment
3669 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3672 * BufferView.C: remove active() and belowMouse()
3674 * BufferView_pimpl.h:
3675 * BufferView_pimpl.C: use workarea() not workarea_,
3676 and make it use a scoped_ptr instead
3678 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3680 * lyx_gui.C: add debug message on BadWindow
3682 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3684 * sp_spell.C: fdopen is not part of the C++ standard.
3686 * paragraph.C (InsetIterator): use >= instead of ==
3688 2002-06-07 Angus Leeming <leeming@lyx.org>
3690 Fixes needed to compile with Compaq cxx 6.5.
3691 * BufferView_pimpl.C:
3698 * lyxtextclasslist.C:
3703 all c-library variables have been moved into namespace std. Wrap
3704 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3709 Add a using std::abs declaration.
3711 * kbmap.h (modifier_pair):
3712 * paragraph.h (InsetTable, InsetList):
3713 * lyxfont.h (FontBits):
3714 type definition made public.
3716 * bufferlist.C (emergencyWriteAll): the compiler complains that
3717 there is more than one possible lyx::class_fun template to choose from.
3718 I re-named the void specialisation as lyx::void_class_fun.
3720 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3722 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3723 the compiler is is unable to find tostr in write_attribute.
3725 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3727 * buffer.C (sgmlError): hide #warning
3729 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3731 * xtl/*: get rid of xtl, which is not in use anyway
3733 * LyXAction.C (init):
3734 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3735 were unimplemented xtl experimentation
3737 2002-06-04 André Pönitz <poenitz@gmx.net>
3739 * lyxfunc.C: disable array operation on simple formulae
3741 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3743 * converter.C: constify a bit
3745 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3747 * lyx_gui.C: check xforms version correctly
3749 2002-04-30 Herbert Voss <voss@lyx.org>
3751 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3754 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3756 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3757 attempt to register it with a VCS)
3759 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3761 * lyx_main.C (init): honor variables LYX_DIR_13x and
3764 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3768 * lyx_main.C: fix a crash on bad command line,
3769 and give a useful exit status on error
3771 * lyxfunc.C (doImport): allow -i lyx to work
3773 2002-03-30 André Pönitz <poenitz@gmx.net>
3775 * lyxfunc.C: mathed font changes
3777 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3792 * trans_mgr.h: srcdocs, and some minor cleanups
3794 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3796 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3797 call getFont all the time)
3799 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3801 * switch from SigC signals to boost::signals
3803 2002-05-29 André Pönitz <poenitz@gmx.net>
3805 * paragraph_pimpl.C (getChar): don't call size() too often...
3807 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3809 * paragraph_pimpl.C (insertChar): do not try to update tables when
3810 appending (pos == size())
3812 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3813 in order to reduce drastically the number of comparisons needed to
3814 parse a large document
3816 2002-05-29 André Pönitz <poenitz@gmx.net>
3822 * textclasslist.[Ch]:
3823 * sp_ispell.h: whitespace change
3825 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3827 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3828 lyxaction directly now.
3830 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3834 * lyxvc.C: remove unused headers
3836 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3843 * undo_funcs.C: some cleanups. Use shared_ptr
3844 and a template for the undo stacks.
3846 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3848 * BufferView_pimpl.h:
3849 * BufferView_pimpl.C:
3856 * text2.C: use key_state/mouse_state
3858 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3860 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3863 * chset.C: change include order
3864 (loadFile): use boost regex and get rid of LRegex and LSubstring
3866 * Makefile.am (BOOST_LIBS): new variable
3869 * LaTeX.C: change include order.
3870 (scanAuxFile): use boost regex and get rid of LRegex and
3874 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3879 * FontInfo.C: moved to frontends/xforms/
3882 * FontLoader.C: moved into frontends for GUIIzation
3887 * lyxfunc.C: changes from above
3889 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3891 * LColor.C: remove spurious X include
3893 * BufferView_pimpl.C:
3898 * text2.C: move font metrics to frontends/
3900 2002-05-24 Juergen Vigna <jug@sad.it>
3902 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3903 setting the undo_cursor.
3905 * ParagraphParameters.h: include local includes first.
3907 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3909 * BufferView_pimpl.C:
3910 * BufferView_pimpl.h:
3914 * screen.C: move WorkArea into frontends/
3920 * BufferView2.C: move LyXScreen into frontends/
3924 * lyx_gui.C: move lyxlookup into frontends/xforms/
3926 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3929 * BufferView_pimpl.C:
3939 * bufferview_funcs.C:
3952 * vc-backend.C: move LyX/XFormsView into frontends/
3954 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3966 * text2.C: move Painter to frontends/
3968 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3970 * buffer.C: comment out some some code that depend upon lyx_format
3973 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3974 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3976 * buffer.h (NO_COMPABILITY): turn off compability
3978 * ColorHandler.C: include scoped_array.hpp
3980 * font.C: Use more specific smart_ptr header.
3983 * ShareContainer.h: ditto
3987 * BufferView_pimpl.h: ditto
3988 * ColorHandler.h: ditto
3990 * kbmap.C (defkey): change call to shared_ptr::reset
3992 2002-05-21 Juergen Vigna <jug@sad.it>
3994 * buffer.C (insertErtContents): fix to insert ert asis if it is
3995 non empty. Skip it completely if it contains only whitespaces.
3997 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3999 * BufferView_pimpl.C:
4000 * BufferView2.C: clear selection on paste (bug 393)
4002 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4004 * DepTable.C: include ctime
4006 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4008 * buffer.C (latexParagraphs): Add new argument (moving_arg).
4010 2002-05-14 Juergen Vigna <jug@sad.it>
4012 * text.C (breakParagraph): fixed function to honor the keepempty
4013 layout in the right maner and also to permit the right breaking
4014 algorithm on empty or non empyt keepempty paragraphs.
4016 * paragraph.C (breakParagraph): we have to check also if the par
4017 is really empty (!size()) for isempty otherwise we do the wrong
4020 2002-05-10 Juergen Vigna <jug@sad.it>
4022 * buffer.[Ch] : The following are only changes to the ert
4023 compatibility read reading old LaTeX layout and font stuff and
4024 convert it to ERTInsets.
4026 * buffer.h: added isErtInset().
4028 * buffer.C (struct ErtComp): add a fromlayout bool to check
4029 if we're inside a LaTeX layout.
4030 (isErtInset): new helper function.
4031 (insertErtContents): look for other ert insets before this one
4032 and insert the contents there, so that we don't have subsequent
4033 ERT insets with nothing between them. This way we create only one
4034 inset with multiple paragraphs. Also check if we don't insert only
4035 spaces ' ' as they are ignored anyway afterwards in the .tex file
4036 so if we have only spaces we will ignore this latex part in the
4038 (parseSingleLyXformat2Token \\layout): better compatibility when
4039 reading layout-latex stuff.
4040 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
4042 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
4043 stuff after reading the inset only get the information back from
4046 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
4048 * buffer.C (makeLaTeXFile): Put language options after loading babel.
4050 * LaTeXFeatures.C (getBabelOptions): New method.
4052 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4054 * BufferView_pimpl.C (Dispatch): work around missing argument for
4057 2002-05-08 Juergen Vigna <jug@sad.it>
4059 * text.C (leftMargin): handle paragraph leftindent.
4061 * paragraph.C (writeFile): write the new \\leftindent tag.
4062 (validate): handle leftindent code.
4063 (TeXEnvironment): handle paragraphleftindent code again.
4065 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
4067 * buffer.C (parseSingleLyXformat2Token): added compatibility code
4068 for paragrap_extra indent code and new token \\leftindent.
4069 (latexParagraphs): handle the leftindent as environment.
4071 * ParameterStruct.h: added leftindent support.
4073 * ParagraphParameters.C (leftIndent): added support functions for
4074 the paragraph left indent.
4076 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
4079 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4081 * paragraph.C (isRightToLeftPar): Return false for a paragraph
4084 * text.C (computeBidiTables): No bidi in insetERT.
4086 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
4089 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4091 * version.C.in: pre 5
4093 2002-05-02 José Matos <jamatos@fep.up.pt>
4094 * buffer.C (makeDocBookFile): white space changes, add newline to
4096 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
4098 * tabular.C (docBook): fix typo.
4100 2002-05-03 Juergen Vigna <jug@sad.it>
4102 * screen.C (drawFromTo): recalculate the rowpointer if we had a
4103 change in LyXText as we can not be sure it was not freed.
4104 (drawOneRow): remove unused code.
4106 * text.C (drawInset): redo the calculation of the need_break_row as
4107 it could have a row which was already freed.
4108 (draw): look at the return value of drawInset and return false if
4109 it also returned false.
4110 (paintRowText): look at the return value of draw and return false if
4111 it also returned false.
4113 * lyxtext.h: added bool return type to drawInset() and draw() so that
4114 if we have a change in the row so that the rowbreak has to be redone
4115 we abort drawing as it will be called again.
4117 2002-05-02 Juergen Vigna <jug@sad.it>
4119 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
4120 a change in the maintext also if we're inside an inset.
4121 (Dispatch): set the cursor again after a break line and after the
4122 screen has been updated as it could be we're in a different row.
4124 * text2.C (fixCursorAfterDelete): check to make sure we don't request
4125 to set the cursor behind the pargraph with > size().
4126 (setCursor): check also for the same paragraph when checking where
4127 to put the cursor if we have a NFR inset.
4129 * buffer.C (parseSingleLyXformat2Token): move the compatibility
4130 parts of layout read further up as it still was in the wrong
4133 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4135 * screen.C (drawFromTo): change sine fullRebreak always return
4138 * buffer.C (parseSingleLyXformat2Token): reindent some
4140 * BufferView_pimpl.C (update): change since fullRebreak always
4142 (Dispatch): git rid of the last hardcoded "Standard"s.
4144 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4146 * text2.[Ch] (fullRebreak): make it return void now that we always
4149 2002-04-30 Juergen Vigna <jug@sad.it>
4151 * buffer.C (parseSingleLyXformat2Token): reset the font before the
4152 ert compatibility check for "latex" layout.
4154 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
4156 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
4157 minipages: use col% instead of p%, and also use the current font.
4158 (makeLaTeXFile): Fix use babel condition.
4159 (parseSingleLyXformat2Token): Correct font when reading old floats.
4161 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4163 * BufferView_pimpl.C (Dispatch): Check that float type exists when
4164 inserting list of floats.
4166 2002-04-25 Herbert Voss <voss@lyx.org>
4168 * MenuBackend.C (expand): don't add the graphics extensions to the
4171 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4173 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
4174 non-existing layout, do not complain if it was the default layout
4175 of the original class (bug #342)
4177 2002-04-24 Juergen Vigna <jug@sad.it>
4179 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
4180 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
4182 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4184 * buffer.C (getBibkeyList): If using \bibliography, return the
4185 option field with the reference itself. Enables us to provide natbib
4186 support when using \bibliography.
4188 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
4190 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
4192 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
4193 natbib is provided by the LaTeX class.
4195 2002-04-23 Juergen Vigna <jug@sad.it>
4197 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
4200 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
4202 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4204 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
4206 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
4207 ensuremath around textordmasculine, textordfeminine and
4210 2002-04-19 Juergen Vigna <jug@sad.it>
4212 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
4213 reinitializing the buffer otherwise row-dimensions may be wrong.
4214 (update): reset also the selection cursors if they do exits otherwise
4215 their x/y positions may be wrong.
4217 * text2.C (cursorDown): don't enter the inset if we came from a row
4218 above and are one row over the inset.
4220 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
4221 really leaving an inset.
4223 2002-04-18 Juergen Vigna <jug@sad.it>
4225 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
4226 of the selected paragraph does not have the selected layout also if
4229 * text2.C (setLayout): fixed bug which did not change last selected
4232 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
4233 changed the read and substituted \\end_float with \\end_inset!
4235 * BufferView_pimpl.C (cursorPrevious):
4236 (cursorNext): fixed to make it work with rows heigher than the work
4237 area without moving the cursor only the draw of the row.
4238 (workAreaMotionNotify): fix jumping over high rows.
4240 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4242 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
4245 2002-04-16 Juergen Vigna <jug@sad.it>
4247 * text2.C (setCursor): set also the irow().
4248 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
4250 (cursorDown): support for locking an inset if the x_fix value goes
4251 inside it. That way I can transverse insets too with cursor up/down.
4253 * lyxrow.h: added irow helper function same as other (i) functions.
4255 * BufferView_pimpl.C (cursorPrevious):
4256 (cursorNext): fixed for insets!
4258 2002-04-15 Juergen Vigna <jug@sad.it>
4260 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
4261 position otherwise it is wrong in some cases.
4263 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
4264 inside the inset before the call.
4266 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4268 * buffer.[Ch] (getBibkeyList): make it const.
4270 2002-04-12 Juergen Vigna <jug@sad.it>
4272 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
4274 * text2.C (getCursorX): new helper function
4275 (setCursor): compute also ix_
4276 (setCursorFromCoordinates): set also ix.
4278 * lyxcursor.h: added ix_ and helper functions.
4280 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
4282 * buffer.C (insertStringAsLines): dont break paragraph if the this
4283 paragraph is inside an inset which does not permit it!
4285 * text.C (breakParagraph): honor keepempty flag and break the paragraph
4286 also with no chars on this paragraph.
4287 (paintRowText): only paint stuff if it's inside the workarea!
4289 * paragraph.C (breakParagraph): honor keepempty flag and break the
4290 paragraph always below not above.
4292 * BufferView2.C (unlockInset): update the paragraph layout on inset
4293 unlock as we changed paragraph in such a case.
4295 * lyxfind.C (LyXFind): clear the former selection if not found!
4297 * text2.C (insertInset): freeze Undo after setUndo so that it is not
4298 again called in insertChar().
4300 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
4301 an inset which uses the whole row!
4302 (rightMargin): ditto.
4303 (insertChar): force a rebreak if we inserted an inset!
4305 2002-03-28 Herbert Voss <voss@lyx.org>
4307 * lyxlength.[Ch]: add inBP() to get the right PS-point
4308 units (BigPoint). With inPixels we have rounding errors
4310 2002-04-11 Juergen Vigna <jug@sad.it>
4312 * text2.C (setCursorFromCoordinates): set iy to the right value.
4313 (setCursor): add check if row->previous exists!
4315 * buffer.C (parseSingleLyXformat2Token): reset font after read of
4316 an old float_type as this was the case in the old code!
4318 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
4320 * BufferView2.C (showLockedInsetCursor): use iy
4321 (fitLockedInsetCursor): ditto
4323 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
4324 locked insets as there we have the right value now.
4326 * lyxcursor.C: added iy_ variable and iy functions to set to the
4327 baseline of cursor-y of the locked inset.
4329 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
4330 (setCursor): fixed for insets which need a full row.
4332 * text.C (rowLastPrintable): don't ignore the last space when before
4333 an inset which needs a full row.
4334 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
4335 as last character of a row when before a inset which needs a full row.
4337 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4339 * version.C.in: update date
4341 * text2.C (fullRebreak): try to always return true and see what
4344 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4346 * MenuBackend.C (expand): use Floating::listName
4348 * FloatList.C (FloatList): add listName argument to the built-in
4351 * Floating.[Ch]: add listName member, which is the 'List of XXX'
4352 text associated with the float.
4354 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4356 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
4358 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4360 * ShareContainer.h: add a couple of missing typenames.
4362 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
4364 * lyxrc.C (getDescription): use _() correctly rather than N_().
4366 2002-03-28 Herbert Voss <voss@lyx.org>
4368 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
4369 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
4371 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4373 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
4374 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
4376 2002-03-29 Juergen Vigna <jug@sad.it>
4378 * lyxfunc.C (dispatch): add a missing fitCursor call.
4380 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
4381 it was scrolled by a cursor move, so return the bool status.
4383 * BufferView.C (fitCursor): return the bool flag also to the outside
4384 world as this is needed.
4386 * screen.C (toggleToggle): don't subtract the offset if it's positive.
4388 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
4389 call the edit() as it is not needed (and wrong) IMO.
4390 (workAreaButtonPress): set the screen_first variable before evt.
4391 unlock the inset as this may change screen_first and then we have
4392 a wrong y position for the click!
4394 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4396 * MenuBackend.C (expand): another translation that I missed
4398 2002-03-28 Juergen Vigna <jug@sad.it>
4400 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4402 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4404 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4406 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4408 * MenuBackend.C (expand): fix export/view/update when there is no
4411 2002-03-27 Herbert Voss <voss@lyx.org>
4413 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4416 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4418 * bufferview_funcs.C (currentState): only show paragraph number
4419 for is DEVEL_VERSION is set.
4421 * lyxfunc.C (dispatch): put warning in INFO channel
4423 * MenuBackend.C (expand): translate the name of floats
4425 * FloatList.C (FloatList): mark the float names for translation
4427 * converter.C (convert): use LibScriptSearch
4429 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4431 * MenuBackend.C (defaults): fix default menu (we might as well get
4434 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4436 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4439 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4441 * lyxvc.C: reorder includes.
4443 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
4445 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4448 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
4450 * CutAndPaste.C: change layouts earlier on paste
4451 to avoid crashing when calling getFont()
4453 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4455 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4458 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4460 * WorkArea.C: remove 'Pending' debug message.
4462 * most files: ws cleanup
4464 * buffer.[Ch]: ws changes
4466 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
4468 2002-03-21 Juergen Vigna <jug@sad.it>
4470 * tabular.C (SetMultiColumn): collapse also the contents of the
4471 cells and set the last border right. Added a Buffer const * param.
4473 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4475 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
4478 2002-03-19 Juergen Vigna <jug@sad.it>
4480 * text2.C (clearSelection): reset also xsel_cache.
4482 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
4483 where it needs to be called (John tells us to do so too :)
4484 (selectionLost): reset sel_cache.
4486 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
4488 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4490 * text2.C (setCursorIntern): put debuging code in INSETS channel
4492 2002-03-19 André Pönitz <poenitz@gmx.net>
4494 * lyxfunc.C: tiny whitespace change
4496 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4498 * ToolbarDefaults.C (init):
4499 * LyXAction.C (init):
4501 * BufferView_pimpl.C (Dispatch):
4502 * lyxfunc.C (dispatch): remove LFUN_DEPTH
4504 2002-03-19 Allan Rae <rae@lyx.org>
4506 * exporter.C (Export): removeAutoInsets before doing anything else.
4507 While I've just introduced a dependency on BufferView this really is
4508 the best place to clean the buffer otherwise you need to cleanup in
4509 a dozen places before calling export or cleanup in a dozen functions
4512 * converter.C (runLaTeX):
4513 (scanLog): Better handling of removeAutoInsets and screen updates.
4515 * lyxfunc.C (dispatch): small whitespace changes
4517 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4519 * WorkArea.C (C_WorkAreaEvent): return a value.
4520 (event_cb): return 1 if we handled the event, 0 otherwise.
4522 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4524 2002-03-18 Juergen Vigna <jug@sad.it>
4526 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4527 (GetAdditionalWidth): ditto.
4531 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4532 inset if we're there actually (probably not used right now but this
4533 is the direction to go for unifying code).
4534 (paste): disable code to clear the selection.
4536 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4537 inside an InsetText and move the check further up as it is in the
4540 * text2.C (pasteSelection): set a selection over the pasted text.
4542 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4544 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4545 and libgraphics to build on Cygwin.
4547 2002-03-15 Juergen Vigna <jug@sad.it>
4549 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4550 inserting an Inset into the paragraph. I know this is not the best
4551 fix but we already use current_view in CutAndPaste so we will remove
4552 all of it's using at the same time.
4554 * buffer.C (sgmlError): deactivated function till it is rewritten in
4555 the right mode, now it can create problems.
4557 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4558 before accessing it.
4560 2002-03-14 Juergen Vigna <jug@sad.it>
4562 * undo_funcs.C (textHandleUndo): do the right thing when updating
4563 the inset after the undo/redo.
4565 * text2.C (setCursor): just some testcode for #44 not ready yet.
4567 * undo_funcs.C (textHandleUndo): set the next() and previous()
4568 pointers of the paragraph to 0 before deleting otherwise we have
4569 problems with the Paragraph::[destructor].
4571 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4572 on a paragraph insertion.
4574 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4576 * buffer.C (asciiParagraph): use += operator for char append to
4579 * paragraph.C (getFontSettings): compare >= not just >
4580 (highestFontInRange): ditto
4583 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4585 * paragraph.C: change several algorithm to be more appripriate for
4586 the problem domain. This is lookip in FontList and in the InsetList.
4588 2002-03-13 André Pönitz <poenitz@gmx.net>
4591 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4593 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4598 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4600 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4602 * Painter.C (display): anon helper function, adjust code for this
4604 (pixmap): remove function.
4606 * Painter.h: remove private display variable.
4608 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4610 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4612 * WorkArea.[Ch]: remove figinset_canvas cruft.
4614 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4616 * lyxtextclass.C (operator): add one item cache optimization.
4618 * bufferlist.h: doxy changes
4620 * bufferlist.C: ws changes
4622 * DepTable.[Ch] (ext_exist): place const in the right spot.
4624 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4626 (workAreaExpose): call resizeInsets when the with BufferView changes.
4627 (Dispatch): adjust for protectedBlank removal
4628 (specialChar): call updateInset if the insert went ok.
4630 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4631 specialChar instead.
4633 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4635 * BufferView.h: doxy change
4637 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4639 * lyxtextclass.C (operator[]): remove non-const version
4640 (defaultLayout): remove non-const version
4642 2002-03-12 Juergen Vigna <jug@sad.it>
4644 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4645 did resize the LyXText too.
4647 * buffer.C (readLyXformat2): set layout information on newly allocated
4650 * tabular.C (OldFormatRead): set layout information on the paragraph.
4652 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4654 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4656 2002-03-11 Juergen Vigna <jug@sad.it>
4658 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4660 (resizeCurrentBuffer): force also the insets to resize themselfes.
4661 (moveCursorUpdate): fixed up for InsetText.
4663 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4666 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4667 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4668 value of Dialogs::tooltipsEnabled().
4669 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4671 2002-03-08 Juergen Vigna <jug@sad.it>
4673 * BufferView_pimpl.C (updateInset): update inset inside inset also
4674 if it isn't inside theLockingInset().
4676 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4678 * buffer.C (asciiParagraph): redo some of the word and line length
4680 (getLists): look for Caption instead of caption.
4682 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4684 * buffer.C (Buffer): initialize niceFile to true
4687 (makeDocBookFile): make sure niceFile is true on exit
4689 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4691 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4693 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4695 * LyXSendto.C: remove.
4696 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4697 * lyx_gui.C: remove now-redundant comment.
4698 * ColorHandler.h: remove forward declaration of class WorkArea.
4699 * lyxfunc.C: remove #include "WorkArea.h".
4701 2002-03-07 Juergen Vigna <jug@sad.it>
4703 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4704 got moved away with the DEPM and also set the inset_owner always
4705 right which before could have been omitted.
4707 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4709 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4710 wanted layout is not found.
4712 2002-03-07 Juergen Vigna <jug@sad.it>
4714 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4716 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4718 * paragraph.C (breakParagraph): use default layout not layout of
4720 (Paragraph): clear ParagraphParameters.
4722 2002-03-06 Juergen Vigna <jug@sad.it>
4724 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4725 otherwise it would not be a valid lenght. Fixed a special case in
4726 the minipage compatibility read where we end the document with a
4729 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4730 was set as it could be 0 for InsetTexts first entry.
4732 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4734 * paragraph.C (writeFile): if layout is empty write out
4735 defaultLayoutName().
4737 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4738 file without named layout we set layout to defaultLayoutName().
4740 2002-03-06 Juergen Vigna <jug@sad.it>
4742 * CutAndPaste.C (copySelection): set layout for new paragraph.
4744 * text.C (prepareToPrint): leave ERT inset left aligned
4745 (leftMargin): don't indent paragraphs inside ERT insets
4747 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4749 * paragraph.C (breakParagraph): dont call clear do the work manually
4751 * paragraph.[Ch] (clear): remove function
4753 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4755 * paragraph.C (Paragraph): dont call clear, the work has already
4758 * lyxtextclass.C (operator): assert if n is empty
4760 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4761 work manually instead.
4763 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4765 * BufferView_pimpl.C: protect selectionLost against text == 0
4767 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4769 * text.C (breakParagraph): fix a setting layout to '0' problem.
4771 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4773 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4774 final location of file, for the included files, and graphics.
4776 2002-03-05 Juergen Vigna <jug@sad.it>
4778 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4780 2002-03-04 Juergen Vigna <jug@sad.it>
4782 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4784 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4785 last column of multicolumn cells.
4786 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4788 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4790 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4791 file if it doesn't go to a temporary file.
4793 * buffer.C (sgmlOpenTag):
4794 (sgmlCloseTag): remove extra newline insertion.
4796 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4798 * text.C (getRowNearY): comment out debug msg
4800 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4802 * text2.C: first -> first_y
4804 * text.C (getRowNearY): add some attemts at a possible
4805 optimization, not working.
4807 * tabular.[Ch]: add BufferParams to several function so that newly
4808 created paragraph can be initialized to he default layotu for the
4811 * tabular-old.C (ReadOld): add buf->params to call of Init
4813 * screen.C: rename text->first to text->first_y
4815 * paragraph.C (breakParagraph): always set layout in the broken
4818 * lyxtextclass.C (Read): remove lowercase
4821 (delete_layout): ditto
4823 * lyxtext.h: rename first -> first_y
4825 * lyxlayout.C (Read): remove lowercase
4828 (obsoleted_by): ditto
4830 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4832 * buffer.C (insertErtContents): add params are to InsetERT
4833 (parseSingleLyXformat2Token): add code to check if a paragraphs
4834 layout really exist.
4835 (parseSingleLyXformat2Token): add params to several inset
4837 (asciiParagraph): remove lowercase, do the layout comparisons with
4840 * BufferView_pimpl.C (cursorNext): first -> first_y
4841 (resizeCurrentBuffer): first -> first_y
4842 (updateScrollbar): first -> first_y
4843 (scrollCB): first -> first_y
4844 (workAreaMotionNotify): first -> first_y
4845 (workAreaButtonPress): first -> first_y
4846 (checkInsetHit): first -> first_y
4847 (cursorPrevious): first -> first_y
4848 (cursorNext): first -> first_y
4849 (Dispatch): add buffer_->params to severl inset contructors
4851 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4853 * lyxlayout.C (Read): remove some debug info that I forgot.
4855 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4856 clean up the code slightly.
4857 (makeLinuxDocFile): ditto
4858 (makeDocBookFile): ditto
4860 * text2.C: layout as string
4862 * text.C: layout as string
4864 * paragraph_pimpl.C: layout as string
4866 * paragraph.[Ch]: layout as string
4868 * lyxtextclasslist.[Ch]: layout as string
4870 * lyxtextclass.[Ch]: layout as string
4872 * lyxtext.h: layout as string
4874 * lyxlayout.[Ch]: layout as string
4876 * lyx_cb.C: layout as string
4878 * bufferview_funcs.C: layout as string
4880 * bufferparams.C: layout as string
4882 * buffer.C: layout as string
4884 * LyXView.[Ch]: layout as string
4886 * LaTeXFeatures.[Ch]: layout as string
4888 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4890 * BufferView_pimpl.C: change current_layout to string, remove
4895 (workAreaButtonRelease): layout as string
4897 * BufferView2.C (unlockInset): adjust
4899 * vspace.C (asLatexCommand): use an explict temp variable.
4901 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4903 * Makefile.am: use FRONTEND_*
4905 2002-03-01 Juergen Vigna <jug@sad.it>
4907 * tabular.C (SetWidthOfMulticolCell): changed to something better
4908 I hope but still work in progress.
4909 (recalculateMulticolumnsOfColumn): renamed function from
4910 recalculateMulticolCells as it is more appropriate now.
4911 (SetWidthOfCell): calculate multicols better.
4913 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4915 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4917 * lyxfunc.C (processKeySym): print sequence also if it is
4918 `deleted' (complete)
4920 * kbsequence.C (print): print sequence even if it is deleted
4921 (complete would be a better word, actually).
4923 * lyxfunc.C (dispatch): print complete options after a prefix key
4925 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4927 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4929 * text2.C (setCharFont): eliminate setCharFont code duplication.
4931 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4933 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4934 LFUN_TABULAR_FEATURE (bug #177)
4936 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4938 * Makefile.am: remove figure.h
4940 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4942 * Bufferview_pimpl.C:
4954 * text2.C: remove #include "lyx_gui_misc.h".
4956 * LaTeX.C: added #include <cstdio>
4958 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4960 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4961 that the paragraph following this one can have.
4963 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4965 * vspace.C (asLatexCommand): fix bogus gcc warning
4967 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4969 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4971 * text2.C (setLayout): get rid of redundant code
4973 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4975 * text2.C (incDepth): make sure depth cannot be increased beyond
4978 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4980 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4981 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4983 * PainterBase.h (image):
4984 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4987 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4991 * BufferView_pimpl.C:
4992 * BufferView_pimpl.h:
5012 * sp_spell.C: remove fig inset, and the crap house of
5013 cards that follows it
5015 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5021 * nt_defines.h: move .h into support/
5023 * vms_defines.h: remove
5025 * WorkArea.C: add space in debug output
5029 * buffer.C: add WITH_WARNINGS
5033 * bufferlist.C: s/retrive/retrieve/, add docs
5044 * lyxgui.C: add ID to X error handler
5046 * lyxtestclass.c: fix typo
5048 2002-02-26 Juergen Vigna <jug@sad.it>
5050 * tabular_funcs.C (write_attribute): changed so that some default
5051 attributes are not written at all.
5052 (getTokenValue): set default values before trying to read the
5053 value so we have the return value always set as default if we don't
5054 find the token we search for.
5056 * tabular.C (Write): write bools as bools not as strings!
5058 2002-02-22 Juergen Vigna <jug@sad.it>
5060 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
5061 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
5063 * text.C (leftMargin): don't add an indent for paragraphs inside
5064 tabular cells (fix #208).
5066 2002-02-21 José Matos <jamatos@fep.up.pt>
5068 * tabular.C (docBook): fixed support for long tables.
5070 2002-02-20 Juergen Vigna <jug@sad.it>
5072 * text2.C (getFont): get the drawing font of the Inset if this
5073 paragraph is inside an inset (only important for InsetERT for now).
5075 * buffer.C (insertErtContents): use new lanugage params in ERT
5078 * CutAndPaste.C: commenting out seemingly uneeded code.
5080 2002-02-19 Allan Rae <rae@lyx.org>
5082 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
5083 Iterators might be simple to use but they also get invalidated.
5084 (removeAutoInsets): renamed saved cursor tracking variables and added
5085 some comments to clarify what everything does.
5087 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5094 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
5095 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
5098 * vc-backend.h: remove #include "support/syscall.h"
5102 * converter.C: rearrange #includes in Lars' approved fashion.
5104 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
5105 forward declare class Timeout in the header file.
5107 * XFormsView.C: changes due to the above.
5109 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
5112 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
5113 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
5115 2002-02-18 José Matos <jamatos@fep.up.pt>
5117 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
5120 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5122 * a lot of small ws changes
5123 * add a lot of using std::XXX
5124 * use std construcs some places where approp.
5125 * use some exisint stuff from lyxfunctional where approp.
5126 * Make file changes to use partial linking (lets test this now...)
5128 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5132 remove #include "support/syscontr.h" as it's redundant. Always has been.
5140 change Systemcalls::System to Systemcalls::Wait and
5141 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
5142 No change of functionality, just reflects the stripped down Systemcalls
5145 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5147 * debug.[Ch]: add a GRAPHICS type to the enum.
5149 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5151 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
5153 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
5156 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5158 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
5159 match the changes below.
5161 * text2.C (toggleInset): if there is not editable inset at cursor
5162 position, try to see if cursor is _inside_ a collapsable inset
5165 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5167 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
5168 document menu has a nice checkbox
5170 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5172 * lyxlength.C (asLatexString): change PW to output as percent of
5175 * lengthcommon.C: change '%' to 't%'
5177 * lyxfunc.C (dispatch): a few comments from Martin
5179 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
5183 * BufferView_pimpl.h:
5184 * BufferView_pimpl.C: clear our selection when X tells us we've lost
5187 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5189 * vspace.C (inPixels): fix compiler warning
5191 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5193 * lyxfunc.C (getStatus): fix status message for disabled commands.
5195 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
5197 * BufferView_pimpl.C: fix crash on close buffer
5198 during selection (#227)
5200 2002-01-27 Herbert Voss <voss@lyx.org>
5202 * buffer.C: link old Figure to new graphic inset
5204 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
5206 * FontLoader.C (getFontinfo): Change the latex font names in order
5207 to match the names of type1inst.
5209 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5211 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
5213 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
5216 (remove_files_with_extension): ditto
5217 (remove_file): ditto
5220 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
5221 document is smaller than the work area height. Do not initialize
5222 static variables to 0.
5224 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5226 * lyx_gui.C (init): give the toolbar tooltips a normal font.
5228 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
5229 LFUN_LAYOUT_PARAGRAPHS.
5231 * tabular.C (GetCellFromInset): new method. Finds an inset in a
5232 tabular. It is possible to provide a possible cell, which will
5233 typically be the actcell from the corresponding insettabular
5235 * lyxfunc.C (getStatus): small cleanup; disable
5236 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
5239 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5241 * tabular.C (Validate): remove broken optimization (fixes bug #201)
5243 * paragraph.C (startTeXParParams):
5244 (endTeXParParams): new methods. The LaTeX code to
5245 start/end paragraph formatting
5246 (simpleTeXOnePar): call startTeXParParams also when paragraph is
5247 empty (fixes bug #200)
5249 * vspace.C (inPixels): adapt to the change below
5250 (inPixels): [later] more cleanups (remove unused variables)
5252 * lyxlength.C (inPixels): change to use a width and a height as
5255 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5257 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
5258 Replaced with \paperwidth
5260 * DepTable.C (insert): add std:: qualifier
5262 2002-01-18 Allan Rae <rae@lyx.org>
5264 * text2.C (removeRow): add comment. Should other refresh_?? vars be
5267 * text.C (drawInset): Turned out I didn't know enough about how
5268 rebreaking worked. This fixes most of the redraw problems. I see
5269 an occasional cursor trail when a line is broken now and the cursor
5270 placement can seem out by a few pixels also after a rebreak.
5272 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5274 * buffer.C (parseSingleLyXformat2Token): update because minipage
5275 width is now a LyXLength
5277 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
5279 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
5282 2002-01-17 Juergen Vigna <jug@sad.it>
5284 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
5286 * BufferView2.C (lockInset): call edit() so that theLockingInset()
5287 is set correctly and the inset is updated correctly.
5289 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5291 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
5292 the beginning of the loop.
5294 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
5296 * lyxrc.C: improve help for use_scalable_fonts
5298 2002-01-17 Allan Rae <rae@lyx.org>
5300 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
5302 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5304 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
5305 make sure to set their inset_owner to the right value (bug #171)
5307 2001-12-12 Ben Stanley <bds02@uow.edu.au>
5310 * DepTable.C: Implement mtime checking to reduce time spent doing
5313 2002-01-16 Juergen Vigna <jug@sad.it>
5315 * tabular.C (GetAdditionalHeight): one of error fixed.
5317 * lyxrc.C (output): small fix in writing use_pspell.
5319 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
5321 * sp_base.h: #include LString.h
5323 2002-01-16 Allan Rae <rae@lyx.org>
5325 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
5326 Can someone check this please?
5328 * text.C (drawInset): It was possible that p.row would be removed by
5329 breakAgainOneRow upsetting a few other settings. There may be another
5330 small tweak possible by setting need_break_row = 0 when p.row has been
5331 removed but I don't know enough about the logic here.
5333 2002-01-15 Allan Rae <rae@lyx.org>
5335 * text.C (insertChar): removed conditional truism.
5337 * BufferView2.C (removeAutoInsets): More tweaks.
5338 cur_par_prev could be a stray pointer. Check for trailing empty line
5339 in case last line was cur_par and only had an error inset on it.
5341 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5343 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
5346 * vc-backend.C (most methods):
5347 * exporter.C (Export):
5348 * converter.C (convert):
5350 * LyXSendto.C (SendtoApplyCB):
5351 * lyxfunc.C (dispatch):
5355 * lyx_cb.C (AutoSave):
5357 * BufferView_pimpl.C (MenuInsertLyXFile):
5358 * buffer.C (runChktex): use Buffer::filePath().
5360 * buffer.h: rename filename to filename_; rename filepath to
5361 filepath_ and make it private
5362 (filePath): new method
5364 * buffer.C (writeFile): use fileName()
5367 * lyx_main.C (init): fix starting of LyX when the binary is a
5368 link from so,ewhere else.
5370 * minibuffer.C: include <cctype> for isprint
5372 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5374 * buffer.C (parseSingleLyXformat2Token): changes associated with the
5375 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
5376 name clash with InsetCollapsable's width function.
5378 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5380 * lastfiles.C: include <iterator>
5382 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5384 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
5387 * buffer.C (makeLaTeXFile): ditto.
5388 Also make loop operation more transparent.
5390 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5392 * ToolbarDefaults.C: remove trailing comma closing namespace.
5394 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
5396 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5399 * trans.C (Load): comment out unused variable, allowed.
5401 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5403 * minibuffer.[Ch] (append_char): new method to recieve input from the
5404 drop-down completion browser. If a key was pressed, then recieve this
5405 char and append it to the existing string.
5406 (peek_event): modify the positioning data passed to the completion
5407 browser so that it can be placed above the minibuffer rather than below.
5408 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5410 * LyXAction.C (init): alloe error-next for readonly documents.
5412 * BufferView2.C (ChangeRefsIfUnique): use standard version of
5415 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5417 * bufferlist.C (readFile): create the buffer _after_ checking that
5420 * lyxfunc.C (verboseDispatch): fix handling of arguments
5422 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5424 * lyxrc.C: use string::erase() instead of initializing to "".
5427 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5429 * BufferView_pimpl.h:
5430 * BufferView_pimpl.C:
5433 * text2.C: tell X when we have made a selection for copying
5435 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5437 * BufferView_pimpl.C (MenuInsertLyXFile):
5438 * lyxfunc.C (menuNew):
5440 (doImport): add shortcuts to directory buttons
5442 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5445 * lyxfunc.C (setStatusMessage):
5446 (getStatusMessage): new methods
5447 (getStatus):use setStatusMessage instead of setErrorMessage
5448 (dispatch): when function is disabled, set error message here
5449 [instead of in getStatus previously]
5451 * BufferView_pimpl.C (workAreaButtonRelease): update
5452 toolbar/menubar here too.
5454 2002-01-13 Allan Rae <rae@lyx.org>
5456 * BufferView2.C (removeAutoInsets): finished off earlier fix.
5457 Now seems indestructible. Remaining task is to audit all other
5458 code affected by deleteEmptyParagraphMechanism. One small quirk
5459 left is that an empty document with an error in the preamble can
5460 be made to report an error but no error box appears. I don't know
5462 (removeAutoInsets): Improved comments.
5464 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
5467 * Thesaurus.C: update for Aiksaurus 0.14
5469 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5471 * text2.C (firstParagraph): removed member function, all uses
5472 replaces with ownerParagraph
5473 (redoParagraphs): here
5475 (toggleAppendix): here
5476 * BufferView2.C (insertErrors): here
5477 (setCursorFromRow): here
5479 2002-01-13 Allan Rae <rae@lyx.org>
5481 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
5482 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
5483 There is still a way to segfault this although you may have to do this
5484 multiple times: Have an InsetERT with an unknown command in it.
5485 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
5486 <down-arrow>, <Enter> again, View->DVI, BANG!
5488 * text2.C (setCursor):
5489 (deleteEmptyParagraphMechanism):
5490 * lyxtext.h (setCursor):
5491 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5492 Making use of the return value may help fix other bugs.
5494 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5496 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5498 * LyXView.C (updateMenubar): call MenuBar::update here
5499 (updateToolbar): but not here
5500 (showState): do not update toolbar/menubar
5502 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5503 should need to care about that.
5505 * lyxfunc.C (verboseDispatch): simplify a bit
5506 (getStatus): have a version which takes a pseudoaction, and
5507 another which requires a (kb_action,string).
5509 * LyXAction.C (retrieveActionArg): make it work also when action
5510 is not a pseudo-action.
5511 (getActionName): simplify a bit
5514 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5516 * lyxfunc.C (verboseDispatch): new families of methods with
5517 several ways to specify a command and a bool to indicate whether
5518 the command name and shortcut should be displayed in minibuffer
5519 (eventually, we could extend that to a finer bitmask like
5520 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5521 (dispatch): the pristine dispatch command which just, well,
5522 dispatchs! Note it still sets its result to minibuffer; I'm not
5525 * lyxfunc.h: remove setHintMessage
5527 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5529 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5531 * BufferView_pimpl.C (specialChar): delete new inset if we have
5532 not been able to insert it.
5534 * kbmap.C: revert to using int instead of kb_action, since all we
5535 are dealing with is pseudo-actions.
5537 * LyXAction.C (searchActionArg): change to return int instead of
5538 kb_action, since the result is a pseudoaction.
5540 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5542 * buffer.C (insertErtContents): Fix (partially) the font bug.
5544 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5546 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5547 as the other one is broken on my machine!
5549 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5552 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5554 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5556 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5557 reflect their actual use. Provide compatibility code for older lyxrc
5560 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5562 change names of popup font variables in line with the changes to lyxrc.C
5564 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5566 * buffer.C (asciiParagraph): avoid outputing a word twice after
5569 * lyxrc.C (getDescription): document that document_path and
5570 template_path can be empty.
5572 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5574 * LaTeXFeatures.C (getMacros):
5575 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5577 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5579 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5581 (getPackages): rename feature "floats" to "float". Use an array to
5582 iterate over 'simple' features (i.e. just a \usepackage). Add
5583 handling of "amsmath" (renamed from "amsstyle").
5585 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5587 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5590 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5592 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5593 FuncStaus::FuncStatus & FuncStaus::some_method().
5595 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5597 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5598 of the func_satus stuff. Edited and massaged in various ways by
5601 * lyxfunc.C (getStatus): use FuncStatus
5603 2002-01-08 Juergen Vigna <jug@sad.it>
5605 * text.C (nextBreakPoint): use function Inset::isChar().
5607 * paragraph.C (TeXOnePar): use function
5608 Inset::forceDefaultParagraphs.
5610 * buffer.C (latexParagraphs): use function
5611 Inset::forceDefaultParagraphs.
5613 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5615 * lyx_gui.C (init): set the style of the menu popups to
5616 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5618 2002-01-07 Juergen Vigna <jug@sad.it>
5620 * text.C (setHeightOfRow): small fix
5621 (prepareToPrint): don't look at alignment if we don't have the place
5624 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5626 * box.C: New file. Move the Box methods and functions out of box.h,
5627 following Lars' suggestion.
5629 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5631 * box.h: #include "support/LOstream.h", needed for inlined function.
5634 * lyxtextclasslist.C: added some using std declarations.
5636 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5638 * box.h: make signed dimensions to allow insets wider than
5639 the screen (bug #162)
5641 * BufferView_pimpl.C: add some insetHit debug
5643 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5645 * vc-backend.C: add FIXME
5647 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5649 * lyxfunc.C (getStatus): enable code for showing math font status
5652 2002-01-07 Juergen Vigna <jug@sad.it>
5654 * text.C (nextBreakPoint): removed debug output not needed anymore.
5656 2002-01-06 Juergen Vigna <jug@sad.it>
5658 * text.C (nextBreakPoint): fixed up this function we had this bug
5659 since ever but now hopefully we break row better.
5660 (insertChar): we have to check if an inset is the next char as it
5661 could now happen that a large inset is causing a break.
5663 2002-01-05 Juergen Vigna <jug@sad.it>
5665 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5666 if it doesn't like to be drawed.
5668 2002-01-04 Juergen Vigna <jug@sad.it>
5670 * BufferView2.C (lockInset): forgot to set a cursor.
5672 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5674 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5679 * form_maths_panel.C:
5680 * form_maths_panel.h:
5681 * form_maths_panel.fd: implemented sub- and super- buttons in math
5684 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5685 (or ^ space) to be used as in TeX (req'd by André).
5687 * lyxfunc.C: Allow ^ and _ again to be used both as
5688 super/subscript (mathed) and as themselves (in text).
5690 2002-01-03 Allan Rae <rae@lyx.org>
5692 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5693 "LyX" or the filename of the current buffer if it has one. This is a
5694 modified form of John Levon's patch.
5696 * XFormsView.C (setWindowTitle): also set icon title.
5698 * LyXView.h (setWindowTitle): signature changed.
5699 * XFormsView.h (setWindowTitle): ditto.
5701 2002-01-02 Juergen Vigna <jug@sad.it>
5703 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5705 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5707 * screen.C (topCursorVisible): introduce a temp var for
5708 text->cursor.row(), handle the case where this row is null. (kindo
5711 * text2.C (setCursor): add a couple of asserts.
5713 * paragraph.h (inset_iterator): add -> operator
5715 * paragraph.[Ch] (autoDeleteInsets): remove member function
5717 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5718 cursor pos correctly and handle inset deletion by itself.
5719 (insertErrors): move iterator declaration out of for expression
5721 * lyxtextclass.C: add <algorithm>
5723 * Makefile.am: added the new files to sources, removed layout.C
5725 * layout.C: removed file
5727 * layout.h: remove LYX_DUMMY_LAYOUT
5729 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5733 * lyxtextclass.[Ch]:
5734 * lyxtextclasslist.[Ch]: new files
5736 * include order changes to a lot of files, also changes because of
5739 2001-12-27 Juergen Vigna <jug@sad.it>
5741 * buffer.C (asciiParagraph): more fixes.
5743 * tabular.C (ascii): make ascii export support export of only the
5744 data separated by a column-delimiter.
5745 (ascii): better support for ascii export.
5747 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5749 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5751 * tabular_funcs.C: use a "using std::getline" instead of the
5752 previous fix from Angus (necessary for cxx + lyxstring)
5754 2001-12-24 Juergen Vigna <jug@sad.it>
5756 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5758 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5759 problems. First check a minipage also if we have some ert-contents
5760 (not only on par->size(), second set the right depth of the paragraph
5761 on the relink to the root-paragraph-list!
5763 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5764 which then did not anymore update the main paragraphs on undo/redo!
5766 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5768 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5769 code. Support all font-changing funcs (even those which are not in
5770 menu currently). Support for reporting font settings in
5771 mathed (disabled until Andre provides a function on mathed's side).
5773 * func_status.h (toggle): small helper function to set toggle
5776 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5778 * tabular_funcs.C: getline -> std::getline
5780 2001-12-21 Juergen Vigna <jug@sad.it>
5782 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5783 accessed and could be 0 (I couldn't generate this but it seems
5786 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5788 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5789 * tabular_funcs.h: here and include iosfwd
5791 2001-12-20 Juergen Vigna <jug@sad.it>
5793 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5794 inside inset but undo_par was.
5796 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5798 * Thesaurus.C: always include <config.h> in sources.
5802 * box.h: do not include <config.h> in header files
5804 * text.C (paintLastRow): remove unused variable
5806 * text.C (transformChar):
5808 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5811 * font.C (width): rewrite to use uppercase() instead of
5814 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5816 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5818 * lyxfind.C: clean up of find failure position change
5820 2001-12-20 Juergen Vigna <jug@sad.it>
5822 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5824 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5825 (TeXRow): added to LaTeX a single tabular row.
5826 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5827 (Latex): simplified and finally good LT-h/f support.
5828 (various_functions): just small adaptions for LT-h/f support.
5830 * tabular_funcs.[hC]: added and moved here all not classfunctions
5833 2001-12-19 Juergen Vigna <jug@sad.it>
5835 * tabular.[Ch]: better support for longtabular options (not finished
5838 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5840 * text.C (paintLastRow): use the label font instead of the font of
5841 the last character to compute the size of *_BOX. This makes more
5842 sense and avoids a crash with empty paragraphs.
5843 Use Painter::rectangle to draw EMPTY_BOX.
5845 2001-12-19 Juergen Vigna <jug@sad.it>
5847 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5848 the paragraphs if the replaced paragraph is not the first one!
5849 Tried to delete not used paragraphs but does not work yet so for
5850 now it's inside #ifdef's and by default off!
5852 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5854 * MenuBackend.C: include "lyx_main.h" instead of declaring
5855 lastfiles (actually was declared as LastFiles* instead of a
5858 2001-12-17 Juergen Vigna <jug@sad.it>
5860 * tabular.C (AppendColumn): applied John's fix
5862 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5866 * BufferView_pimpl.h:
5867 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5870 * box.h: new start of class for above
5872 * lyxfunc.C: ignore space-only minibuffer dispatches.
5873 Show the command name when it doesn't exist
5875 * minibuffer.C: don't add empty lines to the history
5877 * minibuffer.C: add a space on dropdown completion
5879 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5881 * text.C: fix line above/below drawing in insets
5883 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5885 * lyxlength.C (LyXLength): Initialize private variables.
5887 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5889 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5890 when inserting error insets.
5892 2001-12-13 Juergen Vigna <jug@sad.it>
5894 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5895 actually sometimes the before-paragraph.
5896 (setUndo): don't clear the redostack if we're not actually undoing!
5898 2001-12-06 Juergen Vigna <jug@sad.it>
5900 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5901 and fixed redoing of main paragraph, so we can use it now ;)
5903 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5905 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5907 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5910 2001-12-13 André Pönitz <poenitz@gmx.net>
5913 * undo_func.C: minor cleanup
5915 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5917 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5918 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5919 font in urw-fonts package which is marked as -urw-fontspecific and
5920 does not work (incidentally, changing the encoding in the
5921 fonts.dir of this package to -adobe-fontspecific fixes the
5924 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5925 is a crash when undoing first paragraph (Juergen, please take a
5926 look). THis does not mean the undo fix is wrong, just that it
5929 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5930 the (Paragraph*) version when needed instead of duplicating the
5933 * text.C (workWidth): use Inset::parOwner to find out where the
5934 inset has been inserted. This is a huge performance gain for large
5935 documents with lots of insets. If Inset::parOwner is not set, fall
5936 back on the brute force method
5938 * paragraph_pimpl.C (insertInset):
5939 * paragraph.C (Paragraph):
5940 (cutIntoMinibuffer): set parOwner of insets when
5941 inserting/removing them
5943 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5945 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5951 * mathed/formulabase.C:
5952 * mathed/math_cursor.[Ch]:
5953 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5956 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5958 * lyxlength.[Ch] (operator!=): new function
5960 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5962 * text.C (workWidth): use Inset::parOwner to find out where the
5963 inset has been inserted. This is a huge performance gain for large
5964 documents with lots of insets. If Inset::parOwner is not set, fall
5965 back on the brute force method
5967 * paragraph_pimpl.C (insertInset):
5968 * paragraph.C (Paragraph):
5969 (cutIntoMinibuffer): set parOwner of insets when
5970 inserting/removing them
5972 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5974 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5976 * tabular-old.C (getTokenValue):
5977 * tabular.C (getTokenValue):
5978 (write_attribute): new versions for LyXLength
5979 (everywhere): adjust the use of widths
5981 * tabular.h: change the type of widths from string to LyXLength
5983 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5985 * paragraph.C: fixed missing line number count when exporting
5986 Environments to LaTeX file
5988 * buffer.C: added informational message for checking line numbers.
5990 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5992 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5993 paragraph, do the 'double space' part, but not the 'empty
5996 * text.C (workWidth): small optimization
5997 (getLengthMarkerHeight): use minimal size for negative lengths.
5999 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
6001 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
6003 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
6005 2001-12-11 André Pönitz <poenitz@gmx.net>
6008 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
6010 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6012 * text2.C: keep selection on a setFont()
6014 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6016 * lyx_cb.C: another bv->text misuse, from insert label
6018 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6021 * kbsequence.C: re-instate nmodifier mask
6023 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
6025 * lyx_main.h: make lyxGUI private.
6027 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6029 * lyxfind.C: place the cursor correctly on failed search
6031 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6033 * text.C (getLengthMarkerHeight): for small heights, the arrows
6034 are not always on top/bottom of the text
6035 (drawLengthMarker): smaller arrows; take the left margin in
6036 account; draw also vfills.
6038 (paintLastRow): remove special code for vfill and standard spaces,
6039 since everything is handled in drawLengthMarker now.
6041 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6043 * buffer.C (insertErtContents): try to handle font and language
6044 interaction a bit better.g
6046 * ColorHandler.C (updateColor): change the hash to cover the whole
6047 LColor enum, ws cleanup
6048 (getGCLinepars): ditto
6049 (getGCLinepars): only lookup in the linecache once.
6051 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
6053 * iterators.C (operator++): Make the iterator more robust
6055 * BufferView2.C (removeAutoInsets): Use paragraph iterators
6057 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
6059 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6062 * text.C: better added space drawing
6064 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6067 * BufferView2.C: fix layout combo update on inset unlock
6069 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6071 * Makefile.am: don't compile unused files
6073 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6077 * LyXAction.C: remove old LFUN_LAYOUTNO
6079 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6081 * paragraph_pimpl.h:
6082 * paragraph_pimpl.C: isTextAt() doesn't need font param
6084 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6087 * lyxlex.C: little cleanup
6089 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6091 * BufferView_pimpl.C: fix insertAscii for insets
6093 2001-12-05 Juergen Vigna <jug@sad.it>
6095 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
6096 set the right font on the "multi" paragraph paste!
6098 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6104 * lyxlength.C: remove out-commented code.
6120 * vc-backend.C: change "while(" to "while ("
6122 * lyxlength.[Ch]: add zero function to check if length is zero or
6124 * lyxgluelength.C: use it
6126 2001-12-05 Allan Rae <rae@lyx.org>
6128 * lyxlength.C: Attempted a fix for the abs(int) header selection.
6129 Works for 2.95.3, from what I understand of Garst's reports this should
6130 work for other g++ versions. We're screwed if the abs(int) definition
6131 changed between bugfix releases of gcc.
6133 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6135 * text.C: fix chapter label offset !
6137 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6140 * text.C: fix hfill at end of line, clean up
6142 2001-12-04 Juergen Vigna <jug@sad.it>
6144 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
6145 that we force an update of the inset and it's owners if neccessary.
6147 2001-12-03 Juergen Vigna <jug@sad.it>
6149 * text.C (rowLast): simplified code
6151 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6153 * lyxfunc.C: fix show options on timeout
6155 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6157 * screen.C (topCursorVisible): scroll half a page when the cursor
6158 reached top of bottom of screen
6160 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
6162 * minibuffer.C: deactivate on loss of focus
6164 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6166 * vspace.[Ch] (operator!=): add operator.
6168 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6170 * BufferView_pimpl.C: refuse to open an inset when
6171 there's a selection.
6173 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
6175 * BufferView_pimpl.C: allow to click on RHS of full row insets
6177 2001-11-30 Juergen Vigna <jug@sad.it>
6179 * tabular.C (LyXTabular): add a same_id to set the same id's in the
6180 insets for undo reasons.
6182 2001-11-28 André Pönitz <poenitz@gmx.net>
6184 * vspace.[Ch]: cosmetical changes
6186 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6196 * kbsequence.C: part re-write of old kb code
6199 * WorkArea.C: remove Lgb_bug_find_hack
6201 2001-11-30 José Matos <jamatos@fep.up.pt>
6203 * buffer.C (makeDocBookFile): add a comment to point a hack.
6204 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
6205 Fixed a double write of labels.
6207 2001-11-29 Ben Stanley <bds02@uow.edu.au>
6210 * LaTeX.h Fixed bug in LaTeX class where it would not
6211 re-run latex if no depfiles were changed, but the .dvi was removed.
6213 2001-11-28 André Pönitz <poenitz@gmx.net>
6215 * all the files from the change on 2001/11/26:
6216 use lyx::layout_type instead of LyXTextClass::size_type
6217 use lyx::textclass_type instead of LyXTextClassList::size_type
6219 2001-11-29 Juergen Vigna <jug@sad.it>
6221 * text.C: added support for paragraph::isFreeSpacing()
6223 * buffer.C: same as above
6225 * paragraph.h: inserted isFreeSpacing() function to enable
6226 FreeSpacing inside InsetERT.
6228 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
6229 of the paragraph's in the cut/copy buffer to 0!
6231 * text2.C (removeRow): remove the assert as it can!
6233 * lyxtext.h: added helper function firstRow returning firstrow and
6234 made firstrow private again.
6236 * BufferView2.C (lockInset): don't relock if we're already locked!
6238 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
6240 (removeRow): added Assert::(firstrow)
6242 * debug.C: forgot to add INSETTEXT here.
6244 2001-11-28 Juergen Vigna <jug@sad.it>
6246 * sp_spell.C (initialize): changed error text to more general
6247 spellchecker command use (not only ispell!)
6249 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
6251 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
6253 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6255 * vspace.C: initialise lyxgluelength on failure
6257 2001-11-28 Allan Rae <rae@lyx.org>
6259 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
6260 declaration & definition that looks like a function declaration.
6262 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6264 * BufferView2.C (copy):
6265 (copyEnvironment): do not clear the selection when doing a copy.
6267 * text.C (paintFirstRow): compilation fix
6269 2001-11-27 Ben Stanley <bds02@uow.edu.au>
6271 * tabular.C (Latex): correct line count when writing latex.
6273 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
6275 * paragraph_pimpl.h:
6276 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
6279 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6283 * LColor.C: change vfillline->added_space
6285 * text.C: add markers and text for added space
6287 * vspace.C: fix comment
6289 2001-11-28 André Pönitz <poenitz@gmx.net>
6291 * paragraph.C: whitespace changes
6292 * all the other files from the change on 2001/11/26:
6293 change *::pos_type into lyx::pos_type
6295 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
6297 * buffer.C (parseSingleLyXformat2Token): Set the language to the
6298 language of the document when inserting error insets.
6300 2001-11-26 André Pönitz <poenitz@gmx.net>
6302 * BufferView_pimpl.[Ch]:
6310 * paragraph_pimpl.[Ch]:
6313 * text2.C: reduce header dependencies, introduce type for positions
6315 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6317 * <various>: change to use Alert.h
6319 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
6321 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
6322 when encountering an unknown token.
6323 (readLyXformat2): Show an error message if there were unknown tokens.
6325 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6328 * BufferView_pimpl.C:
6332 * text2.C: use par->isInset()
6334 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6336 * paragraph_pimpl.h:
6337 * paragraph_pimpl.C: cleanup
6339 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6341 * text2.C (removeRow):
6342 * text.C (setHeightOfRow): remove useless (and costly) call to
6345 2001-11-20 Allan Rae <rae@lyx.org>
6347 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
6348 Now need Inset*::checkInsertChar() to return true for appropriate
6349 cases so that the characters in the minibuffer will actually be
6352 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6354 * text.C: change the order of the includes.
6355 (workWidth): initialize it at once.
6356 (workWidth): make maxw unsigned
6357 (setHeightOfRow): remove unused variable (inset)
6358 (selectSelectedWord): remove unused variable (inset)
6359 (paintRowText): fix drawing of hfill characters, and clean up a bit.
6361 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6363 * lyxserver.C (emergencyCleanup): do not try to close pipes if
6364 server is not running.
6366 (closeConnection): add debug info when server is disabled.
6368 * ColorHandler.C (getGCForeground): send debug message to GUI
6371 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
6373 * kbmap.C (bind): modify because return conventions of
6374 kb_sequence::parse have changed.
6376 * kbsequence.C (parse): only ignore spaces and not any stupid
6377 control character. This avoids tests like s[i] <= ' ', which are
6378 guaranteed to fail with 8bit characters and signed chars.
6379 Change return code to string::npos when there have been no error
6380 (0 was a bad idea when error is at first character)
6382 2001-11-14 José Matos <jamatos@fep.up.pt>
6385 * buffer.C (simpleDocBookOnePar): removed unused argument.
6387 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6389 * text.C (selectNextWordToSpellcheck): do not test explicitely for
6390 insets which are part of a word. Paragraph::isLetter takes care of
6391 that now. Use Paragraph::isInset to identify insets.
6392 (selectSelectedWord): do not test for hyphenation break.
6394 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
6395 that protected spaces are considered as spaces.
6397 * paragraph.C (isLetter): cleanup the code for ispell extras; use
6400 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
6403 * lyxserver.C: fix it. and small cleanup.
6405 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6407 * BufferView_pimpl.C: use inline helpers
6410 * LaTeXFeatures.C: fix typos
6413 * Spacing.C: move spacing_string into class
6415 * ToolbarDefaults.C: move stuff into namespace anon
6417 * layout.h: update enum
6419 * lyxfunc.C: use better debug
6421 * minibuffer.h: fix typo
6425 * WorkArea.C: add and use Debug::WORKAREA
6429 * text2.C: code re-organisation, inline helpers
6431 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
6433 * Layout.C: replaced a few cases of std::vector.size() == 0 with
6434 std::vector.empty().
6436 2001-11-09 Allan Rae <rae@lyx.org>
6438 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6439 '\n's after tables. Tabular and ERT inset work now makes this no
6442 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6445 * minibuffer.C: fix crash, improve drop-down completion
6447 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
6450 * lyxserver.C: invalidate fd's when doing endPipe()
6452 2001-11-08 José Matos <jamatos@fep.up.pt>
6454 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6455 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6458 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6460 2001-11-07 José Matos <jamatos@fep.up.pt>
6463 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6466 * buffer.C (sgmlOpenTag):
6467 * buffer.C (sgmlCloseTag): removed debug info.
6469 * buffer.h (sgmlOpenTag):
6470 * buffer.h (sgmlCloseTag): made public.
6472 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6474 * buffer.C (saveParamsAsDefaults):
6475 * lyx_cb.C (MenuLayoutSave): remove
6477 * LyXAction.C (init):
6479 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
6481 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6483 * buffer.C (setPaperStuff): removed from here...
6485 * bufferparams.C (setPaperStuff): ... and moved there.
6487 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
6491 * XFormsView.C: add support for drop-down completion
6493 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
6495 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6498 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6500 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6503 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6505 * lyx_main.C: change ref to known bugs
6507 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6509 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6510 to work around older babel problems.
6512 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6514 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6516 2001-10-24 Juergen Vigna <jug@sad.it>
6518 * tabular-old.C (ReadOld): below variable changes reflected.
6520 * tabular.[Ch]: added ltType struct for longtable header/footer
6521 defines and changed all instances where they are used. Added
6522 future support for double top/bottom rows.
6524 2001-10-24 José Matos <jamatos@fep.up.pt>
6526 * buffer.h (docbookHandleCaption):
6527 * buffer.C (docbookHandleCaption): removed unused function.
6528 (makeDocBookFile): moved docbook supported version to v4.1.
6530 2001-10-24 José Matos <jamatos@fep.up.pt>
6533 * tabular.C (docbookRow): new function to export docbook code of a row.
6534 (DocBook): now honors the longtable flags.
6536 2001-10-23 José Matos <jamatos@fep.up.pt>
6539 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6540 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6542 * buffer.C (makeLinuxDocFile):
6543 (makeDocBookFile): reworked the preamble, more clean, and with
6544 support for lyx defined entities. Changed the document declaration
6545 to be more XML friendly.
6547 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6548 if we need to output XML that should be done with a filter.
6550 2001-10-22 Juergen Vigna <jug@sad.it>
6552 * sp_pspell.h (class PSpell): add alive function needed in the
6553 controller to see if the spellchecker could be started.
6555 2001-10-22 Juergen Vigna <jug@sad.it>
6557 * buffer.C (insertStringAsLines): modify the font for inserting
6558 chars in certain conditions by calling checkInsertChar(font).
6560 2001-10-19 Juergen Vigna <jug@sad.it>
6562 * text.C (workWidth): use getRow instead of wrong algorithm.
6563 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6565 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6570 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6572 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6574 * text.C (workWidth): do not search for the exact row when
6575 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6576 optimization for big documents.
6578 2001-10-18 Juergen Vigna <jug@sad.it>
6580 * text.C (workWidth): new function with added Inset * parameter.
6582 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6584 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6586 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6587 change return type of getColumnNearX.
6590 * text.C (changeRegionCase): use uppercase/lowercase instead of
6593 (rightMargin): simplify code by factoring out the uses of
6598 (appendParagraph): use Paragraph::size_type
6600 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6602 * vspace.C (asLatexString): add a missing break
6604 2001-10-15 Herbert Voss <voss@perce.de>
6606 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6608 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6610 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6613 2001-10-10 André Pönitz <poenitz@gmx.net>
6615 * lyxfunc.C: removed greek_kb_flag.
6617 2001-10-10 Herbert Voss <voss@perce.de>
6619 * lyx_main.C: delete global string help_lyxdir.
6621 2001-10-09 Herbert Voss <voss@perce.de>
6623 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6625 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6627 * lyx_main.C: added global string help_lyxdir.
6629 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6631 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6633 * lyxrc.C (set_font_norm_type): support iso8859-4
6635 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6637 * LaTeX.C (deplog): add another regex for MikTeX
6639 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6641 * lyxrc.C (set_font_norm_type): support iso8859-3
6643 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6645 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6647 * LaTeXFeatures.C: remove special case of french and index
6649 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6650 before \begin{document}). This solves several incompatibilities.
6652 2001-10-03 Garst Reese <reese@isn.net>
6654 * lyx_cb.C: change CheckTex error msg.
6656 2001-10-03 José Matos <jamatos@fep.up.pt>
6658 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6660 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6662 * .cvsignore: update
6664 * lyx_main.C (commandLineVersionInfo): use new style version info.
6666 * buffer.C (writeFile):
6669 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6671 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6673 * version.h: update to use stuff in version.C
6675 * version.C.in: new file. Contains version information determined
6676 at compile time. This is a merging of version.h and
6679 2001-10-03 Juergen Vigna <jug@sad.it>
6681 * BufferView_pimpl.C (update): don't change "dirty" status in
6684 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6686 * WorkArea.C (c-tor): re-position version string slightly.
6688 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6690 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6691 revert to previous code.
6693 WorkArea.[Ch]: (show, destroySplash): methods removed.
6695 WorkArea.C: rework code so that it's an amalgam of the codes before and
6696 after the splash screen was moved to WorkArea.
6698 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6701 * vspace.C (inPixels):
6704 * buffer.C (insertStringAsLines):
6705 (asciiParagraph): fix types to be large enough
6707 * lyxlex_pimpl.h: change member status from short to int
6709 * layout.h: fix type of endlabeltype
6712 * kbsequence.C (parse): change return type to string::size_type
6714 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6717 * Bullet.C (bulletSize):
6718 (bulletEntry): do not use short ints as parameters
6720 * BufferView2.C (insertLyXFile): change a char to an int.
6722 * WorkArea.C (WorkArea): remove unneeded floats in computation
6724 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6726 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6728 * paragraph.C (asString): Do not ignore newline/hfill chars when
6729 copying to the clipboard.
6731 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6733 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6734 after a multi-line inset.
6736 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6738 * paragraph.C (validate): Set NeedLyXFootnoteCode
6740 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6742 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6743 and decrease-error to decrease.
6745 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6747 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6748 it more readable (should be equivalent)
6750 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6752 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6754 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6756 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6757 of a cursor (row, etc.) after a character has been deleted
6758 (deleteEmptyParagraphMechanism): call the method above on _all_
6759 cursors held by the LyXText when a double space has been
6762 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6764 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6766 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6768 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6769 background. Use greyOut() and the new show() methods to toggle between
6770 the foreground and background. Add code to remove the splash after
6771 its initial showing.
6773 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6774 (create_forms): no longer call Dialogs::showSplash.
6776 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6778 * .cvsignore: add version_info.h
6780 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6782 * version_info.h.in: new file
6784 * Makefile.am: add version_info.h.in
6786 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6787 version_info.h instead of VERSION_INFO
6789 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6791 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6792 The ERT inset now returns string().
6794 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6796 * lyxtext.h, text.C (selectNextWord): renamed as
6797 selectNextWordToSpellcheck.
6799 * text.C (selectNextWordToSpellcheck): Modified to not select
6800 words inside an ERT inset.
6802 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6804 * lyx_cb.C (MenuLayoutSave): change a bit the question
6806 * sp_base.h: include <sys/types.h>
6808 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6810 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6812 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6814 * several files: fix typos in user-visible strings
6816 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6818 * text2.C (pasteSelection): do not set the selection, since it
6819 will be cleared later. Actually, the intent was to fix the way the
6820 selection was set, but I figured rmoving the code was just as good.
6822 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6824 * FontLoader.C (available): Check if font is available without
6827 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6829 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6831 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6833 * lyxrc.[Ch]: added display_graphics variable and associated code.
6835 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6837 * bufferparams.C (hasClassDefaults): new method. Returns true if
6838 the buffer parameters correspond to known class defaults
6840 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6842 * XFormsView.C (show): set minimum size to the main window.
6844 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6846 * text2.C (copySelection):
6848 * lyxfind.C (LyXReplace):
6849 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6850 LyXText::selectionAsString.
6852 * paragraph.C (asString): add "label" argument to the second form
6854 * text2.C (selectionAsString): add "label" argument and pass it to
6855 Paragraph::asString.
6857 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6859 * lyx_main.C (commandLineHelp): remove version information
6861 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6863 * lyx_main.C: add -version commandline option
6865 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6867 * paragraph.h: make the optional constructor arg required instead.
6868 some modifications to other files because of this.
6870 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6872 * lyxserver.C (C_LyXComm_callback): make it static
6874 * lyx_main.C (error_handler): make it static
6876 * lyx_gui.C (LyX_XErrHandler): make it static
6878 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6880 * WorkArea.C: make the extern "C" methods static.
6882 * Makefile.am (lyx_LDADD): simplify
6884 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6886 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6887 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6889 * LyXAction.C (init):
6890 * lyxfunc.C (dispatch): associated code removal.
6892 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6894 * lyxfont.h (isSymbolFont): shut off warning
6896 * text.C (setHeightOfRow):
6897 (getVisibleRow): fix crash with empty paragraphs which have a
6900 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6902 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6905 2001-09-04 José Matos <jamatos@fep.up.pt>
6908 * tabular.C (docbook): rename docBook method to docbook.
6910 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6912 * Makefile.am: add dependencies to main.o.
6914 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6916 * FontLoader.C (available): Return false if !lyxrc.use_gui
6918 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6920 * FontInfo.C (query):
6921 * converter.C (view):
6922 * importer.C (Import):
6923 * exporter.C (Export): Can not -> cannot.
6925 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6927 * BufferView_pimpl.C: allow to create index inset even if
6930 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6932 * buffer.C (getLists): replace boost::tie code with an explicit pair
6933 as boost::tie can break some compilers.
6935 * iterators.h: Added a std:: declaration to the return type of
6938 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6940 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6943 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6945 * iterators.[Ch]: New files. Provide paragraph iterators.
6947 * buffer.C (changeLanguage): Use paragraph iterators.
6948 (isMultiLingual): ditto
6950 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6952 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6954 * FontLoader.C: Support for cmr font.
6956 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6958 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6959 (available): New method.
6961 * FontInfo.C (getFontname): Use scalable fonts even when
6962 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6965 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6967 * converter.C (Formats::view): reverted! Incorrect fix.
6969 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6971 * converter.C (Formats::view): only output the -paper option
6972 if the dvi viewer is xdvi, thereby fixing bug #233429.
6974 2001-08-23 Herbert Voss <voss@perce>
6976 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6978 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6980 * Spacing.h (Spacing): Set space to Default on in the default
6983 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6985 * vc-backend.h (RCS::versionString): add RCS to version
6986 (CVS::versionString): add CVS to version
6988 * vc-backend.C (scanMaster): do not add CVS to version.
6989 (scanMaster): do not add RCS to version
6991 * lyxvc.C (versionString): new method
6993 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6995 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6997 * Spacing.C (set): initialize fval
6999 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
7001 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
7004 2001-08-16 Juergen Vigna <jug@sad.it>
7006 * lyxfunc.C (dispatch): implemented the new FINISHED states.
7008 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7010 * BufferView_pimpl.C:
7013 * text2.C: setParagraph takes linespacing now
7015 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
7017 * LyxAction.C: add internal LFUN_CITATION_INSERT
7019 * LyXView.C: actually apply fix
7021 * bufferlist.C: fix open non-existent file
7023 * lyxfind.C: fix indentation
7025 * lyxfunc.C: remove unneeded assert, fix typo
7027 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7029 * MenuBackend.C: use "Floatname List"
7031 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
7033 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
7034 when converting LaTeX layout to insetERT.
7035 Generate a non-collapsed float when reading old float
7037 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7039 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
7042 2001-08-13 Juergen Vigna <jug@sad.it>
7044 * text.C (fill): return 0 instead of 20 as this seems to be the more
7047 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7049 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
7052 2001-08-13 Juergen Vigna <jug@sad.it>
7054 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
7056 (SearchBackward): comment out the unlocking of the inset_owner this
7057 should not be needed!
7059 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
7061 * Many files: Remove inherit_language, and add latex_language
7063 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
7066 2001-08-10 Juergen Vigna <jug@sad.it>
7068 * text.C (prepareToPrint): fixed hfill-width in draw!
7070 * BufferView2.C (selectLastWord): save the selection cursor as this
7071 now is cleared in the function LyXText::clearSelection!
7073 2001-08-08 Juergen Vigna <jug@sad.it>
7075 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
7076 BACKSPACE type functions.
7078 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
7079 is only cutted from the document but not put in the cut-buffer, where
7080 still the old stuff should be.
7082 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
7084 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
7086 * tabular.C (SetWidthOfCell): fixed special case where the width
7088 (LeftLine): handle '|' in align_special.
7090 (LeftAlreadyDrawed): ditto
7091 (SetWidthOfCell): ditto
7093 2001-08-07 Juergen Vigna <jug@sad.it>
7095 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
7097 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7099 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
7100 * lyxlex.[hC]: ditto
7102 2001-08-06 Juergen Vigna <jug@sad.it>
7104 * text.C (getVisibleRow): fix up row clearing a bit.
7106 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7108 * minibuffer.C: make sure the X server sees the changes in the input.
7110 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7112 * paragraph.C (getFont): split into...
7113 (getLabelFont): this
7114 (getLayoutFont): and this
7115 * paragraph_pimpl.C (realizeFont): calling this
7117 * text2.C (getFont): split into...
7118 (getLayoutFont): this
7119 (getLabelFont): and this
7120 (realizeFont): all three calling this
7122 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
7125 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7127 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
7129 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
7131 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
7132 layouts from the Quote inset insertion.
7134 2001-08-03 Juergen Vigna <jug@sad.it>
7136 * BufferView_pimpl.C (update): do the fitCursor only at the end!
7138 * screen.C (drawFromTo): don't call fitcursor here and do the loop
7139 only if status not is already CHANGED_IN_DRAW (second level).
7141 * text.C (draw): don't set the need_break_row when inside an
7144 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7146 * buffer.C (parseSingleLyXformat2Token): handle more latex
7149 * bufferview_funcs.[hC]: change function names to
7150 begin with small char, adjust other files.
7152 2001-08-02 André Pönitz <poenitz@gmx.net>
7155 BufferView_pimpl.C: remove broken special code for math-greek
7157 2001-08-02 Juergen Vigna <jug@sad.it>
7159 * BufferView_pimpl.C (update): redone this function so that we
7160 update the text again if there was a CHANGE_IN_DRAW.
7162 * screen.C (cursorToggle): removed LyXText parameter and recoded.
7163 (drawFromTo): added a new internal bool which is used by draw() and
7165 (general): some cursor drawing problems fixed.
7167 2001-08-01 Juergen Vigna <jug@sad.it>
7169 * lyxfind.C (LyXFind): fixed
7170 (SearchForward): ditto
7171 (SearchBackward): ditto
7173 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
7174 spurius drawing of the cursor in the main area.
7176 * text2.C (status): small fix which could lead to a segfault!
7177 (clearSelection): remove unneeded BufferView param.
7179 2001-08-01 André Pönitz <poenitz@gmx.net>
7181 * lyxfunc.C: small change due to changed mathed interface
7183 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7185 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
7187 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
7189 * lyxfunc.c: fail gracefully if file doesn't exist
7194 * BufferView_pimpl.C: IsDirWriteable() proto changed
7196 * LyXView.C: fix updateWindowTitle() to store the last title
7198 2001-07-31 Juergen Vigna <jug@sad.it>
7200 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
7201 the font (wrong since using of Paragraph::highestFontInRange).
7203 * paragraph.C (highestFontInRange): added a default_size parameter.
7205 * text.C (getVisibleRow): minor clear row changes (still not perfect).
7206 (setHeightOfRow): reformat
7208 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7210 * converter.[hC] + affected files: move to (inital-char)lowercase
7213 * ParagraphParameters.C (ParagraphParameters): remove commented code
7215 * PainterBase.[Ch]: remove commented code
7217 * LaTeXFeatures.h: add "bool floats" for float.sty
7219 * LaTeXFeatures.C (LaTeXFeatures): init floats
7220 (require): handle float
7221 (getPackages): do it with floats
7223 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7225 * BufferView_pimpl.C (Dispatch): improve handling of
7226 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
7228 * commandtags.h: #include lyxfont.h here temporarily to avoid
7231 * bufferlist.h: include LString.h here.
7233 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7235 * text2.C (getStringToIndex): new method.
7237 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
7239 * *: Reduced header file dependencies all over.
7241 2001-07-30 Baruch Even <baruch@lyx.org>
7243 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
7245 2001-07-29 Baruch Even <baruch@lyx.org>
7247 * buffer.C (readInset): Changed GRAPHICS to Graphics.
7249 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7251 * ParameterStruct.h (endif): add a default constructor to make
7252 sure that all variables is initialized.
7254 * ParagraphParameters.C (ParagraphParameters): adjust
7256 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7258 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
7259 index; also, check that there is something to index, and that it
7260 does not span over several paragraphs.
7261 (doubleClick): use WHOLE_WORD_STRICT for double click.
7263 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
7265 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
7268 2001-07-26 Baruch Even <baruch@lyx.org>
7270 * buffer.C (readInset): Changed to call up InsetGraphics when reading
7271 an InsetFig figure, backwards compatible reading of old figure code.
7273 2001-07-27 Juergen Vigna <jug@sad.it>
7275 * text2.C: font.realize function adaption.
7277 * text.C (draw): add a warnings lyxerr text if needed.
7279 * layout.C: font.realize function adaption.
7281 * language.C: add inherit_language and implement it's handlings
7283 * bufferview_funcs.C (StyleReset): remove language parameter from
7284 font creation (should be language_inherit now).
7286 * bufferparams.C (writeFile): handle ignore_language.
7288 * paragraph.C (getFontSettings): the language has to be resolved
7289 otherwise we have problems in LyXFont!
7291 * lyxfont.C (lyxWriteChanges): added document_language parameter
7292 (update): removed unneeded language parameter
7294 * paragraph.C (validate): fixed wrong output of color-package when
7295 using interface colors for certain fonts in certain environments,
7296 which should not seen as that on the final output.
7298 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
7300 * BufferView_pimpl.C:
7305 * LyXAction.C: add thesaurus support
7308 * lyxfind.C: add "once" parameter, for thesaurus, to not
7309 move to the next match
7311 2001-07-26 Juergen Vigna <jug@sad.it>
7313 * lyxfont.C (realize): honor ignore_language too!
7316 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
7318 * text.C (draw): one place more for ignore_language to not draw
7321 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
7323 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
7325 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7327 * buffer.C (parseSingleLyXformat2Token): a more general fix for
7328 the minipage conversion problem.
7330 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7332 * buffer.C (parseSingleLyXformat2Token): check minipage if we
7335 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7337 * BufferView.h: don't forward declare WorkArea
7339 * BufferView.C: don't include WorkArea.h
7341 2001-07-25 André Pönitz <poenitz@gmx.net>
7345 * lyxfunc.C: new LFUN 'math-space'
7347 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
7349 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7351 * text2.C (toggleInset): call open/close
7353 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7355 * lyxfunc.C (dispatch): add debug for the disabled case
7357 * font.C (buttonText): make similar to rectText
7359 * buffer.C (readInset): comment out parsing of insetlist and
7362 * PainterBase.C (rectText): small correction
7364 * BufferView_pimpl.C: comment out insettheorem and insetlist
7365 * LyXAction.C: ditto
7366 * commandtags.h: ditto
7368 2001-07-24 Juergen Vigna <jug@sad.it>
7370 * text.C (draw): honor the ignore_language.
7372 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
7374 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7376 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
7379 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7381 * lyxtext.h: remove unused (and unimplemented) methods
7383 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7385 * text.C (getVisibleRow): honor background color
7388 * Painter.h: remove default color argument for fillRectangle
7390 * text.C (backgroundColor): new method
7392 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7394 * text.C (getVisibleRow): adjust
7396 * font.[Ch] (rectText): new method, metrics
7397 (buttonText): new method, metrics
7399 * PainterBase.[hC]: make rectText and buttonText always draw and take
7402 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7404 * ToolbarDefaults.C (read):
7405 * MenuBackend.C (read): allow escaping in all strings
7407 * BufferView_pimpl.C (insertAndEditInset): new method.
7408 (Dispatch): use insertAndEditInset whenever appropriate.
7410 * BufferView_pimpl.C (insertNote): removed
7412 * BufferView_pimpl.C (smartQuote): new method, moved from
7413 BufferView; if an insetquote cannot be inserted, insert a '"'
7416 * BufferView2.C: remove insertCorrectQuote();
7418 * lyxfunc.C (getStatus): Add support for all remaingin
7421 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7423 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7424 command (necessary to pass " as parameter of self-insert.
7426 * text.C (selectWordWhenUnderCursor):
7427 (selectWord): add word_location parameter
7428 (selectWordWhenUnderCursor): same + remove special code for word
7430 (selectNextWord): use kind() to guess type of insetspecialchar,
7433 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7434 (insertErtContents): create ert insets as collapsed.
7435 (readInset): better compatibility code for Info inset.
7437 2001-07-20 Juergen Vigna <jug@sad.it>
7439 * lyxfunc.C (dispatch): use always LyXFind now!
7441 * text2.C (init): add a reinit flag so that the LyXText can be
7442 reinited instead of deleted and reallocated (used in InsetText).
7444 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7450 2001-07-18 Juergen Vigna <jug@sad.it>
7452 * text.C (selectNextWord): handle insets inside inset by calling
7453 always the bv->text functions so that we can go up the_locking_inset!
7455 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7456 in strange locations when inside an inset!
7458 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7459 handling to include insets.
7461 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7463 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7465 * LyXAction.C (init):
7467 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
7468 LIGATURE_BREAK, since the name is so stupid.
7470 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7472 * buffer.C (readInset): enable reading of new InsetNotes as well as old
7475 * FontLoader.C: remove FORMS_H_LOCATION cruft.
7477 * sp_form.[Ch]: remove.
7479 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
7481 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
7484 * src/buffer.C (readInset): ditto.
7486 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7488 * BufferView_pimpl.C (specialChar): new method. Obsoletes
7489 menuSeparator(), endOfSentenceDot(), ldots() and
7490 hyphenationPoint(), which are therefore removed.
7491 (Dispatch): handle LFUN_HYPHENATION_BREAK.
7493 * LyXAction.C (init):
7494 * commandtags.h: add LFUN_HYPHENATION_BREAK.
7496 * paragraph.C (getWord): removed.
7498 * BufferView_pimpl.C (Dispatch): use last word or selection for
7499 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7501 * lyx_main.C (queryUserLyXDir): do not ask before creating
7502 user_dir, except if it has been named explicitely.
7504 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7506 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7507 a document of zero size.
7509 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7511 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7512 approriately in the c-tor and in require().
7513 (getPackages): output the appropriate LaTeX for natbib support.
7515 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7516 variables "use_natbib" and "use_numerical_citations" when reading the
7518 (readInset): read the various natbib cite commands.
7519 (validate): white-space change.
7521 * bufferparams.[Ch]: new variables "bool use_natbib" and
7522 "bool use_numerical_citations".
7523 (writeFile): output them in the LyX file.
7525 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7527 * lyxfunc.C (getStatus): add support for all the inset insertion
7530 * text2.C (insertInset):
7531 * paragraph.C (insetAllowed):
7532 * BufferView_pimpl.C (insertInset): update to take in account the
7533 renaming of insertInsetAllowed
7535 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7537 * text2.C (getInset): new method. returns inset at cursor position.
7539 * BufferView_pimpl.C (Dispatch): changes because of this.
7541 * LyXAction.C (init): rename open-stuff to inset-toggle.
7543 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7545 * text2.C (toggleInset): renamed from openStuff; use
7548 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7550 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7552 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7554 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7556 * buffer.C (readLyXformat2): Add filename to the error dialog
7558 2001-07-18 Juergen Vigna <jug@sad.it>
7560 * tabular.C (GetCellNumber): put an assert here instead of the check!
7562 2001-07-17 Juergen Vigna <jug@sad.it>
7564 * BufferView_pimpl.C (toggleSelection): adapted too.
7566 * text.C (selectNextWord): adapted for use with insets.
7567 (selectSelectedWord): ditto
7569 2001-07-17 Juergen Vigna <jug@sad.it>
7571 * sp_spell.C (PSpell): fix initialitation order.
7573 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7575 * paragraph.C: spacing
7577 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7579 * sp_spell.C: repair language selection for pspell
7581 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7583 * lyxfunc.h: change more methods to begin with lower char.
7585 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7587 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7588 for unknown layouts.
7590 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7592 * buffer.C (readLyXformat2): Generate an error dialog if there are
7595 2001-07-16 Juergen Vigna <jug@sad.it>
7597 * sp_spell.C: always compile ISpell part.
7599 * lyxrc.C: added use_pspell entry and it's handling.
7601 2001-07-13 Juergen Vigna <jug@sad.it>
7603 * sp_spell.C: removed double includes.
7605 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7607 Consistent use of Lsstream.h:
7608 * Lsstream.h: added using std::stringstream for consistencies sake.
7610 * buffer.C: removed using std::stringstream
7612 * lyxfont.C (stateText):
7613 * paragraph.C (asString):
7614 * text.C (selectNextWord, selectSelectedWord):
7615 * text2.C (setCounter):
7616 * vspace.C (asString, asLatexString):
7617 std::ostringstream -> ostringstream.
7619 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7621 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7622 * commandtags.h: add LFUN_HELP_ABOUTLYX
7623 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7625 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7627 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7629 * lyx_gui_misc.C: remove spellchecker
7630 * lyxfunc.C: showSpellchecker
7632 * sp_ispell.h: added
7633 * sp_pspell.h: added
7635 * sp_form.[Ch]: removed
7636 * spellchecker.[Ch]: removed
7638 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7640 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7642 (simpleTeXSpecialChars): Simply print the input character without
7643 any special translation if pass_thru is set.
7645 * layout.h: Added bool pass_thru to layout class for being able to
7646 implement pass through of a paragraph for Literate Programming.
7648 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7649 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7650 * layout.C (Read): add "passthru" to list of layout tags and add
7651 code to set the pass_thru boolean when it is read.
7653 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7655 * trans_decl.h: remove allowed from KmodInfo
7657 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7661 * paragraph_pimpl.C (erase): use boost::prior
7663 * Painter.C (text): use data() instead of c_str() when length is
7665 * WorkArea.C (putClipboard): ditto
7666 * font.h (width): ditto
7668 * BufferView2.C: use it-> instead of (*it). for iterators
7670 * paragraph_pimpl.C: ditto
7671 * paragraph.C: ditto
7672 * minibuffer.C: ditto
7677 * converter.C: ditto
7679 * Variables.C: ditto
7680 * TextCache.C: ditto
7681 * MenuBackend.C: ditto
7682 * LyXAction.C: ditto
7684 * FloatList.C: ditto
7686 * ColorHandler.C (LyXColorHandler): ditto
7688 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7690 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7692 * text2.C (openStuff): reintroduce this method (which had been
7693 nuked in NEW_INSETS frenzy).
7695 * lyxfunc.C (Dispatch): when an action has not been handled, use
7696 its name in the error message, not its number.
7698 * paragraph.C (inInset): change method name to begin with lowercase.
7701 * text2.C: updates because of this.
7703 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7705 * ToolbarDefaults.C (add): add spaces in error message
7707 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7709 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7710 (readLyXformat2): rename return_par to first_par, use lyxlex's
7711 pushToken and remove the manual push handling.
7712 (parseSingleLyXformat2Token): add another ert comp. variable:
7713 in_tabular, rename return_par to first_par. handle newlines better
7715 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7717 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7719 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7721 * text2.C (getParFromID): removed
7723 * buffer.C (getParFromID): new method moved form lyxtext.
7724 * BufferView2.C (insertErrors): adjust
7725 (setCursorFromRow): adjust
7726 * BufferView_pimpl.C (restorePosition): adjust
7727 * lyxfunc.C (Dispatch): adjust
7728 * undo_funcs.C (textUndo): adjust
7730 (textHandleUndo): adjust
7731 (textHandleUndo): adjust
7733 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7735 * buffer.C: up' the LYX_FORMAT
7737 * lyxfont.h: turn NO_LATEX on as default
7739 * buffer.C (insertErtContents): new methods of tex style compability.
7740 (parseSingleLyXformat2Token): use it several places.
7741 * tabular.C (OldFormatRead): and here
7743 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7745 * text2.C: remove some commented code.
7748 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7749 * trans.C: changes because of the above.
7751 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7753 * text2.C (setCounter): Fix counters bug with bibliography layout.
7755 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7757 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7758 own member functions
7759 (simpleTeXSpecialChars): ditto
7761 2001-07-06 Juergen Vigna <jug@sad.it>
7763 * a lot of files: changed the access to LyXText::status and the
7764 call of undo-functions.
7766 * undo.[Ch]: added a inset_id to the undo informations.
7768 * undo_funcs.[Ch]: added and moved here all undo functions.
7770 * lyxtext.h: give the status enum a weight, made status_ a private
7771 variable and made accessor functions for it, removed the whole bunch
7772 of undo-functions as they are now in their own file, make some
7773 functions publically available. Added function ownerParagraph with
7776 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7777 made InInset() a const function, added getParFromID() function.
7779 * buffer.[Ch]: added const version for inset_iterator functions,
7780 added getInsetFromID() function.
7782 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7783 changed undo functions for new version.
7785 2001-07-05 Juergen Vigna <jug@sad.it>
7787 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7788 unknow mechanism does not call the proper constructor but only this
7789 one also if I request the other!?
7791 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7793 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7795 * text2.C (LyXText): use initialization lists.
7797 * lyxtext.h (Selection): initialize set_ and mark_
7798 (init): remove method
7800 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7802 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7804 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7806 * screen.[Ch]: change method names to begin with lowercase
7808 * BufferView_pimpl.C (updateScrollbar): simplify further and
7809 hopefully make it a bit faster.
7811 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7813 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7814 calling directly xforms functions.
7816 * Painter.C (Painter):
7817 * lyx_cb.C (MenuWrite):
7818 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7821 * lyx_gui.C: remove bogus guiruntime extern declaration.
7823 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7825 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7827 (redoDrawingOfParagraph): ditto
7828 (redoParagraphs): ditto
7829 (cutSelection): don't create a object for CutAndPaste use the
7830 static method directly
7831 (pasteSelection): ditto
7833 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7836 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7838 * modifications to some other files because of this.
7840 * Makefile.am (lyx_SOURCES): add XFormsView
7842 * XFormsView.[Ch]: new files
7844 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7845 the main window. Move the gui dependent stuff to XFormsView
7847 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7849 * tabular.C (GetCellInset): update cur_cell also in the row/col
7850 version of this function.
7852 * lyxfunc.C: no need to include figure_form.h here.
7858 * lyxvc.C: no need to include forms.h here.
7860 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7862 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7864 * lyxfunc.C (Dispatch):
7866 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7867 constructor argument.
7869 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7871 * paragraph.C (Paragraph): dont't clear, and just set layout.
7872 (makeSameLayout): use params's copy contructor.
7874 * ParagraphParameters.[Ch] (makeSame): delete method
7876 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7878 * Variables.[Ch]: fix indentation, rename set to isSet
7880 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7882 * lyxfunc.C (Dispatch): fix typo
7884 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7886 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7889 * bufferlist.C: include assert.h for emergencyWrite().
7891 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7893 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7894 give up at last (bug #425202) !
7896 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7902 * spellchecker.C: strip spellchecker options and bring up
7903 preferences tab instead
7905 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7907 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7908 the istringstream constructor
7910 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7912 * paragraph.C (getLayout): fix return value
7914 * paragraph.h: do not declare getLayout as inline.
7916 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7918 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7920 * lyxcursor.h (operator<): new func
7921 (operator>): new func
7922 (operator>=): new func
7923 (operator<=): new func
7925 * text.C (changeCase): use selection.start and selection.end
7926 (changeRegionCase): require from to be <= to. Require par to be a
7929 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7931 2001-06-27 Juergen Vigna <jug@sad.it>
7933 * text.C (cursorLeftOneWord): changed to return the cursor and added
7934 overlay with BufferView * parameter which calls this one.
7936 (selectWord): use new getWord function.
7937 (changeCase): renamed from changeWordCase as and extended to work
7940 * lyxtext.h: added enum word_location
7942 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7943 changeCase as this operates now also on selections.
7945 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7947 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7949 * many files: send debug output to Debug::INFO instead of
7952 * converter.C (View):
7954 (Move): send debug output to Debug::FILES instead of console.
7956 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7958 * lyxfunc.C (getStatus): use func_status
7960 * func_status.h: new header, describing the results of
7963 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7966 2001-06-25 The LyX Project <jug@sad.it>
7968 * buffer.C (sgmlOpenTag):
7970 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7972 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7974 * text2.C: remove some dead code
7976 * tabular.C (GetCellInset): store the last cell checked (gotten)
7978 * tabular.h: add the helper for the speedup
7980 * lyxtext.h: remove some dead code
7982 2001-06-26 The LyX Project <Asger>
7984 * paragraph.C: Change export to LaTeX of alignment to
7985 \begin{center} and family for better roundtrip work with reLyX.
7987 * Tune the math drawing a bit.
7989 2001-06-25 The LyX Project <Asger>
7991 * LColor.C (LColor): New color for math background. New color
7994 2001-06-25 The LyX Project <jug@sad.it>
7996 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7999 * bufferlist.C (newFile): do not restrict to files ending with
8002 * BufferView_pimpl.C (MenuInsertLyXFile):
8004 2001-06-24 The LyX Project <jug@sad.it>
8006 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
8009 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8011 * lyxtext.h: rename most methods to begin with a small char.
8012 Lots of changes because of this.
8014 * paragraph.C (Paragraph): do not call fitToSize
8015 (erase): call Pimpl::erase
8016 (insertChar): call Pimpl::insertChar
8017 (insertInset): call Pipl::insertInset
8018 (breakParagraph): do not call fitToSize
8019 (breakParagraphConservative): do not call fitToSize
8020 (fitToSize): remove method
8022 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
8024 2001-06-24 The LyX Project <Asger>
8026 * Fix Qt compilation^2
8028 2001-06-24 The LyX Project <jug@sad.it>
8030 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
8031 depthHook(getDepth()-1).
8034 * ParagraphParameters.h:
8035 * ParameterStruct.h: change type of depth to unsigned int ==
8036 depth_type. Many adaptations to other files before of that.
8038 2001-06-24 The LyX Project <Asger>
8040 * Fix Qt compilation.
8042 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8044 * paragraph.h: renamed several methods to begin with small letter.
8045 several changes to many parts of the code because of this.
8047 2001-06-23 The LyX Project <jug@sad.it>
8049 * text2.C (InsertStringAsLines): renamed from InsertStringA;
8050 rewritten to discard all double spaces when KeepEmpty is off
8051 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
8052 to only handle newlines but not fiddle with spaces and friends.
8054 * lyxfunc.C (MenuNew): when doing 'new from template', use
8055 template_path as default directory
8057 2001-06-23 The LyX Project <Asger>
8059 * Clean-up of header file includes all over
8060 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
8062 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8064 * paragraph.h: renamed from lyxparagraph.h
8066 2001-06-23 Asger <lyx@violet.home.sad.it>
8068 * Buffer.h: Removed Buffer::resize
8069 * BufferList.h: Removed BufferList::resize
8070 * LyXView.h: Added LyXView::resize. This way, we will only reflow
8071 the document lazily when we change the width, or the font settings.
8073 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8075 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
8077 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8079 * buffer.h: remove out of date comment
8081 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8084 * screen.C: fix "theoretical" GC leak
8086 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8088 * LaTeX.C (scanAuxFile):
8089 (deplog): remove trailing \r when reading stream (useful under
8092 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
8094 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
8095 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
8096 and BufferView::theLockingInset(Inset*), so should use them and not
8097 access bv_->text->the_locking_inset directly.
8099 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
8101 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8104 * tex-defs.h: remove old unused file
8106 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
8108 * BufferView_pimpl.C: fix typo, remove minibuffer message
8109 when buffer has loaded
8111 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8113 * lyxfunc.C (Dispatch): use stringstream
8114 (MenuNew): use stringstream
8115 (Open): use stringstream
8117 * importer.C (Import): use stringstream
8119 * bufferview_funcs.C (CurrentState): use stringstream
8121 * LaTeX.C (run): use stringstream
8123 * BufferView_pimpl.C (savePosition): use stringstream
8124 (restorePosition): use stringstream
8125 (MenuInsertLyXFile): use stringstream
8127 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
8140 * vspace.C: removed // -*- C++ -*- as first line.
8143 * version.h: added // -*- C++ -*- as first line.
8145 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8147 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
8149 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
8152 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8154 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
8157 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8159 * gettext.C: include LString.h even when --disable-nls is on.
8161 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
8163 * converter.h (Get): changed argument type from int to
8164 FormatList::size_type to avoid unnecessary conversion.
8166 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
8169 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8171 * gettext.h: include LString.h even when --disable-nls is on.
8173 2001-06-07 Juergen Vigna <jug@sad.it>
8175 * text.C (BreakAgain): subst spaces with tabs.
8177 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
8178 (resizeInsetsLyXText): set force on resizeLyXText.
8180 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8182 * gettext.h (gettext_init):
8183 (locale_init): use a real definition instead of a macro
8185 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8187 * Bufferview_pimpl.C:
8189 * LColor.C: further lcolor tidies
8191 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8193 * BufferView_pimpl.C (updateScrollbar): simplify.
8195 * BufferView2.C: don't include insets/insetinfo.h, change
8196 prototype for insertInset and call the Pimpl version. let
8197 updateInset call Pimpl version.
8199 * BufferView.h: move inset_slept to BufferView::Pimpl, move
8200 gotoInset to BufferView::Pimpl
8202 2001-06-01 Juergen Vigna <jug@sad.it>
8204 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
8205 inside a LockingInset (is the update needed at all?).
8207 2001-05-31 Juergen Vigna <jug@sad.it>
8209 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
8210 here not the old one otherwise how should we compare it afterwards
8213 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8218 * FontInfo.C: bring C functions into global namespace when
8221 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8223 * LString.h: make sure config.h has been loaded before LString.h.
8225 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
8226 (one for each char read by EatLine!).
8228 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
8231 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8233 * paragraph.C (BreakParagraph): set the inset_owner in the new par
8234 to the same as the par we break from
8236 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
8238 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
8240 * MenuBackend.C (expand): also create menu entries for wide
8241 versions of the floats.
8243 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
8245 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
8247 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
8248 frontends/Makefile.am
8254 * tabular.C (getTokenValue): add std::
8256 * tabular-old.C (getTokenValue): add std::
8257 (getTokenValue): ditto
8258 (getTokenValue): ditto
8260 * screen.C (ToggleSelection): adjust
8262 * lyxtext.h: put selection cursors inside a Selection struct.
8264 * lyxfunc.C (moveCursorUpdate): adjust
8266 * lyxfont.C (latexWriteStartChanges): add std::
8270 * font.h: delete with(char const *, LyXFont const &)
8272 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
8274 * FontInfo.C (getFontname): add std::
8276 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8277 (workAreaButtonPress): adjust
8278 (tripleClick): adjust
8280 (moveCursorUpdate): adjust
8283 * BufferView2.C (gotoInset): adjust
8285 2001-05-30 Juergen Vigna <jug@sad.it>
8287 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
8288 to check pspell I add this as default as I now have new pspell
8289 libraries and they seem to use this.
8291 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8293 * text2.C (CutSelection): make the cursor valid before the call to
8296 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8298 * kbsequence.C (parse): de-uglify a bit the parsing code, which
8299 relied on 0 terminated strings and other horrors. Bug found due to
8300 the new assert in lyxstring!
8302 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
8305 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8307 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
8310 * lyxfunc.C (processKeySym): change method of getting to the
8313 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
8314 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
8315 * BufferView_pimpl.[Ch]: here as private methods.
8317 2001-05-28 Juergen Vigna <jug@sad.it>
8319 * text.C (SetHeightOfRow): added the update() call again as it is
8320 needed to initialize inset dimensions!
8322 2001-05-16 Juergen Vigna <jug@sad.it>
8324 * text2.C (SetCharFont): Add new function with BufferView * and
8325 bool toggleall parameters for setting insets internal fonts.
8326 (SetFont): Freeze the undo as we may change fonts in Insets and
8327 all this change should be inside only one Undo!
8329 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
8330 setting font's in insets as for them we have the SetFont function!
8332 2001-05-15 Juergen Vigna <jug@sad.it>
8334 * text2.C (ClearSelection): to be sure we REALLY don't have any
8337 * tabular.C (TeXCellPreamble): fixed the left border problem for
8340 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
8342 * LaTeX.C (deplog): Make sure that the main .tex file is in the
8345 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8347 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
8348 LFUN_BREAKPARAGRAPH.
8350 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
8351 help test to "internal only", similar for LFUN_INSERT_URL
8353 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
8354 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
8355 auto_region_delete and deadkeys.
8357 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
8360 * LColor.C: remove some dead entries, tidy a little
8362 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8364 * lyxfunc.C (processKeySym): comment the Escape handling, remove
8366 (Dispatch): implement LFUN_ESCAPE
8368 * commandtags.h: add LFUN_ESCAPE
8370 * LyXAction.C (init): add entry for LFUN_ESCAPE
8372 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
8373 Remove commented code.
8374 (insertNote): moved here
8375 (open_new_inset): moved here
8377 * BufferView[2].[Ch]: move insertNote and open_new_inset to
8380 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8382 * kbmap.C (findbinding): clean it up and make it work correctly.
8384 * lyx_main.C (init): do not pass argc and argv as parameters
8386 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
8388 * buffer.C: fix path for OS/2 & Win32
8392 * lyx_main.C: Added os:: class.
8394 * os2_defines.h: update
8396 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8398 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8399 better by trying again with reduced state.
8401 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8403 * lyxrc.C (read): print error about invalid key sequence only when
8404 debugging (because not all latinX keysyms are known to some X
8407 * kbsequence.C (getiso): add a few std:: qualifiers
8408 (getiso): comment out extra return statement.
8410 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
8412 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8414 (Dispatch): enhance the accent inset a bit. (not perfect)
8416 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8418 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8420 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8422 * bufferlist.C (emergencyWrite): fix assert() call
8424 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
8426 * text.C (InsertChar): Added trivial patch to only send the "you
8427 can not do multiple spaces this way" message once during a
8430 2001-05-08 Baruch Even <baruch@lyx.org>
8432 * Makefile.am: Changed order of libraries to get LyX to link properly
8433 with the gnome frontend.
8435 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8437 * LaTeXFeatures.h: add a std:: qualifier
8439 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8441 * paragraph.C (String): use stringstream
8443 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8445 * paragraph.C (writeFile): remove footflag arg
8447 * buffer.C (makeLaTeXFile): use stringstream
8448 (latexParagraphs): remove footnot gurba
8450 * LaTeXFeatures.C (getPackages): use stringstream
8451 (getMacros): likewise
8452 (getTClassPreamble): likewise
8453 (getFloatDefinitions): new method
8455 * paragraph.C (writeFile): reindent
8458 * WorkArea.h: revert the xpos + etc changes.
8460 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8462 * lyxparagraph.[Ch]: add copy constructor, remove Clone
8464 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8465 (pasteSelection): likewise
8466 * text2.C (CreateUndo): likewise
8468 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8470 * minibuffer.C (peek_event): temporarily reduce the functionality
8471 of the minibuffer (to allow args on lfuns)
8473 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
8474 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
8476 * buffer.C (readInset): add compability reading of old float
8477 lists, add reading of new style float list.
8478 (readInset): avoid reevaluation of inscmd.getCmdName()
8479 (getLists): reindent
8481 * MenuBackend.C (MenuItem): implement parsing of
8482 md_floatlistinsert and md_floatinsert.
8483 (expand::LastFiles): move initalizaton of iterators out of loop,
8485 (expand::Documents): introduce typdedef vector<string> Strings,
8487 (expand::ExportFormats): introduce typedef vector<Format const *>
8488 Formats, and use it.
8489 (expand): implement FloatListInsert and FloatInsert.
8491 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8492 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8493 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8495 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8497 (Dispatch::LFUN_FLOAT_LIST): implement
8499 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8501 * LaTeX.C (run): Fix problem with --export code.
8503 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8505 * BufferView.[Ch] (workarea): removed.
8506 (getClipboard) new method; wrapper for workarea()->getClipboard()
8508 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8511 * WorkArea.h (width, height, xpos, ypos): These methods all
8512 returned the dimensions of the work_area sub-area of WorkArea,
8513 resulting in a position error if the WorkArea were resized. Now
8514 return the dimensions of the entire WorkArea.
8516 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8518 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8520 * LaTeX.C (deplog): correct the syntax of regex reg1
8522 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8524 * undo.C: remove !NEW_INSETS cruft
8526 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8528 * text2.C: remove !NEW_INSETS cruft
8530 * text.C: remove !NEW_INSETS cruft
8532 * tabular.C: remove !NEW_INSETS cruft
8534 * spellchecker.C: remove !NEW_INSETS cruft
8536 * lyxtext.h: remove !NEW_INSETS cruft
8538 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8540 * lyxfunc.C: remove !NEW_INSETS cruft
8542 * lyxfind.C: remove !NEW_INSETS cruft
8544 * lyx_cb.C: remove !NEW_INSETS cruft
8546 * figureForm.C: remove !NEW_INSETS cruft
8548 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8550 * buffer.[Ch]: remove !NEW_INSETS cruft
8552 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8554 * CutAndPaste.C: remove !NEW_INSETS cruft
8556 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8558 * BufferView2.C: remove !NEW_INSETS cruft
8560 * BufferView.h: remove !NEW_INSETS cruft
8562 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8564 * Lsstream.h: include LString.h before the sstream headers to
8565 fix problem with gcc 2.95.3 and lyxstring
8567 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8569 * lyx_main.C: add using directives when needed for C functions
8570 declared in std:: namespace.
8572 2001-04-27 Juergen Vigna <jug@sad.it>
8574 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8575 (SetHeightOfRow): comment out the update call should not be needed!
8577 2001-04-13 Juergen Vigna <jug@sad.it>
8579 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8580 (LyXTabular): tried to minimize operator= operations (and realized
8581 hopfully Lars wish).
8583 2001-04-27 Juergen Vigna <jug@sad.it>
8585 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8587 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8589 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8591 * buffer.C (readInset): hack to make listof algorithm work
8593 * BufferView_pimpl.C: hack to make listof algorithm work
8595 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8597 * LyXAction.C: removed all !NEW_INSETS cruft
8598 (init): moved lfun_item in method
8600 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8602 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8604 * BufferView2.C (theLockingInset): white space.
8606 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8608 * minibuffer.C: include <iostream>
8610 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8612 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8614 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8616 * text.[Ch] (TransposeChars): new method
8618 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8620 * call message directly through LyXView instead of through LyXFunc
8621 * BufferView2.C: adjust
8622 * BufferView_pimpl.C: adjust
8623 * FontLoader.C: adjust
8625 * bufferview_funcs.C: adjust
8626 * converter.C: adjust
8627 * figureForm.C: adjust
8628 * importer.C: adjust
8630 * lyx_gui_misc.C: adjust
8634 + more files in subdirs
8636 * lyxparagraph.h (size): move up int file
8639 * adjust all uses of Assert to lyx::Assert.
8641 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8642 lyxfunctional in namespace lyx
8643 * layout.C (hasLayout): ditto
8646 (delete_layout): ditto
8647 (NumberOfClass): ditto
8648 * converter.C (GetFormat): ditto
8653 * bufferlist.C (getFileNames): ditto
8654 (emergencyWriteAll): ditto
8657 * MenuBackend.C (hasSubmenu): ditto
8660 * BufferView_pimpl.C (getInsetByCode): ditto
8662 2001-04-18 Juergen Vigna <jug@sad.it>
8664 * vspace.C (asLatexString): fixed the 100% problem.
8666 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8668 * lyxfunc.C (Dispatch):
8670 * minibuffer.h: add a few std:: qualifiers
8672 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8674 * minibuffer.[Ch]: reimplement so that commands is initiated and
8675 run from lyxfunc, simplified som handling, and made the completion
8676 and history code for complete. wip.
8678 * lyxfunc.C (processKeySym): call message
8679 (miniDispatch): new temporary method
8680 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8681 (LFUN_MESSAGE): implement
8682 (LFUN_MESSAGE_PUSH): implement
8683 (LFUN_MESSAGE_POP): implement
8684 (initMiniBuffer): the initial/defualt minibuffer message.
8686 * lyxfont.[Ch]: inline some more getters
8688 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8690 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8692 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8693 (AutoSave): use LFUN_MESSAGE
8694 (Reconfigure): ditto
8696 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8698 * figureForm.C: use LFUN_MESSAGE
8700 * converter.C (runLaTeX): use LFUN_MESSAGE
8702 * bufferview_funcs.C: use LFUN_MESSAGE
8704 (changeDepth): ditto
8706 * bufferparams.h: use boost::
8708 * bufferlist.h: inherit privately from noncopyable
8710 * bufferlist.C (loadLyXFile): remove some commented code.
8712 * buffer.C (runChktex): use LFUN_MESSAGE
8714 * ShareContainer.h: inherit privately from noncopyable
8716 * ParagraphParameters.[hC] (depth): inline it.
8718 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8720 (message): new method
8721 (messagePush): ditto
8723 (show): init minibuffer
8724 (showState): direct call
8726 * LaTeX.[Ch]: inherit privately from noncopyable
8727 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8728 instead of WriteStatus.
8730 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8732 * BufferView_pimpl.C (buffer): don't init minibuffer
8733 (workAreaButtonPress): use LFUN_MESSAGE
8734 (workAreaButtonRelease): ditto
8735 (savePosition): ditto
8736 (restorePosition): ditto
8737 (MenuInsertLyXFile): ditto
8738 (workAreaExpose): don't init minibuffer
8739 (update): remove commented code, simplify
8741 * BufferView2.C (openStuff): use LFUN_MESSAGE
8742 (toggleFloat): ditto
8745 (copyEnvironment): ditto
8746 (pasteEnvironment): ditto
8751 (updateInset): remove some commented code
8753 * lastfiles.h: inherit privately from noncopyable
8758 * lyxlex_pimpl.h: ditto
8760 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8761 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8762 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8764 * LyXAction.h: inherit privately from noncopyable, add methods
8765 func_begin, func_end, returning iterators to the func map.
8767 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8768 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8769 (func_begin): new method
8770 (func_end): new method
8772 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8774 (copySelection): ditto
8775 (pasteSelection): ditto
8777 * BufferView.C: whitespace change
8778 * BufferView.h: inherit privately from noncopyable
8780 2001-04-16 Allan Rae <rae@lyx.org>
8782 * tabular-old.C (l_getline):
8783 * spellchecker.C (sc_check_word):
8784 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8785 an unrecognised preprocessor directive. So ensure they're wrapped.
8787 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8789 * src/exporter.C (Export): Give an error message when path to file
8792 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8794 * LaTeX.C (deplog): Always check that foundfile exists.
8796 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8799 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8801 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8803 * tabular.[Ch] (getLabelList): implement new method
8805 * minibuffer.h: comment ouf setTiimer
8807 * minibuffer.C (ExecutingCB): constify res
8808 (peek_event): constify s
8809 (Set): constify ntext
8810 (Init): constify nicename
8812 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8814 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8815 (savePosition): use two params to Minibuffer::Set
8816 (restorePosition): ditto
8818 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8820 * lyx_main.C: include language.h
8822 * Makefile.am (lyx_main.o): add language.h
8824 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8830 * CutAndPaste.C: include gettext.h
8832 * lyxfont.h: remove old hack with ON and OFF.
8835 * lyxfont.h: do not include language.h...
8840 * bufferview_funcs.C:
8846 * paragraph.C: ... but do it here instead
8848 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8850 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8852 * tabular.C: small reformat
8854 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8857 (BreakParagraph): ditto
8858 (SetOnlyLayout): ditto
8861 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8864 * lastfiles.C: removed most using decl, add std:: where needed
8866 * buffer.C: ws changes
8868 * MenuBackend.C (class compare_format): put into anon namespace
8869 (expand): constify label, names, action, action2
8872 * text.C (SingleWidth): constify font
8873 (IsBoundary): constify rtl2
8874 (GetVisibleRow): constify ww
8876 * LaTeX.C (deplog): constify logfile
8878 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8880 (workAreaExpose): constify widthChange, heightChange
8882 * lyxrow.C (par): moved
8885 * lyxrow.h: as inlines here
8887 * lyxfont.h (shape): moved from lyxfont.C
8888 (emph): moved from lyxfont.C
8890 * lyxfont.C (LyXFont): use initialization list for all
8892 (shape): move to lyxfont.h as inline
8893 (emph): move to lyxfont.h as inline
8896 2001-04-04 Juergen Vigna <jug@sad.it>
8898 * vspace.C: had to include stdio.h for use of sscanf
8900 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8903 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8904 independent of xforms.
8906 2001-04-02 Juergen Vigna <jug@sad.it>
8908 * spellchecker.C: fixed namespace placing!
8910 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8912 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8913 the LyXParagraph * is 0.
8915 2001-03-29 Juergen Vigna <jug@sad.it>
8917 * vspace.C: added support for %, c%, p%, l%.
8918 (stringFromUnit): added helper function.
8919 (asLatexString): changed to give right results for the %-values.
8921 * buffer.C: convert the widthp in a width%.
8923 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8925 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8928 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8929 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8931 * lyx_cb.[Ch]: see above.
8933 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8937 * lyx.[Ch]: replaced by figure_form.[Ch].
8941 * lyxfunc.C: changed headers associated with above changes.
8943 2001-03-27 Juergen Vigna <jug@sad.it>
8945 * BufferView_pimpl.C: set the temporary cursor right!
8947 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8949 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8951 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8953 * LString.h: removed "using std::getline"!
8955 * BufferView_pimpl.C (Dispatch): changes due to changes in
8956 InsetInclude::Params.
8958 * buffer.C (tag_name): removed redundant break statements as they were
8959 producing lots of warnings with my compiler.
8961 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8963 * LString.h: add "using std::getline" when using the real <string>.
8965 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8967 * buffer.C: removed bitset usage.
8968 PAR_TAG moved to an anonymous name space.
8969 (tag_name): new funtion, also in the anonymous namespace.
8970 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8971 (makeDocBookFile): clean code. Completed transition from string arrays
8973 (SimpleDocBookOnePar): code clean.
8975 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8977 * tabular.C: add some comments.
8979 2001-03-22 Juergen Vigna <jug@sad.it>
8981 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8982 compatibility read a bit and fixed bug with minipage in different
8985 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8987 * buffer.C (pop_tag): removed.
8988 (push_tag): removed.
8989 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8990 array replaced with vector. Added support for CDATA sections.
8991 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8993 (makeDocBookFile): XML conformant declaration of CDATA section,
8994 fixed bug related to <emphasis> in the first paragraph char.
8995 (sgmlOpenTag): exclude empty tags.
8996 (sgmlCloseTag): ditto.
8998 * buffer.h (pop_tag): removed.
8999 (push_tag): removed.
9001 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
9003 * language.h (Languages): added size_type and size().
9005 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9007 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
9008 response on compability reading of minipages. One probliem is that
9009 the old usage of minipages was «flertydig»
9011 * several files here and in subdirs: don't use static at file
9012 scope use anon namespaces instead.
9014 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
9016 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
9017 LaTeX output. This is necessary for Literate document
9020 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9022 * buffer.C: insert hfill when needed.
9024 * tabular.C (l_getline): use string::erase, small whitespace change.
9026 * BufferView_pimpl.C: try the anon namespace.
9029 2001-03-16 Juergen Vigna <jug@sad.it>
9031 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
9032 otherwise it won't open options-dialogs.
9034 * buffer.C: honor pextraWidth(p) on converting minipages.
9036 * tabular.C (l_getline): changed the functions to strip trailing \r.
9038 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
9040 * BufferView_pimpl.C:
9041 * minibuffer..C: added "using SigC::slot" declaration.
9043 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9045 * lyxlex_pimpl.h: noncopyable is in namespace boost.
9051 * paragraph.C: ditto
9053 * lyxtext.h: NO_PEXTRA
9055 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
9057 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
9058 * ParameterStruct.h: ditto
9059 * ParagraphParameters.h: ditto
9060 * lyxparagraph.h: ditto
9062 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9064 * buffer.C: add compability for minipage alignment.
9065 (latexParagraphs): remove unwanted pextra check.
9067 * several files: remove CXX_WORKING_NAMESPACES
9069 * buffer.C (pop_tag): tie is in namespace boost
9071 * BufferView.h: noncopyable is in namespace boost
9076 * lastfiles.h: ditto
9077 * bufferlist.h: ditto
9078 * ShareContainer.h: ditto
9080 * LyXAction.h: ditto
9083 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9085 * Merging changes from BRANCH_MVC back into HEAD.
9087 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
9089 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
9091 * BufferView_pimpl.C: change from intl.C
9095 * Makefile.am: move combox.*
9101 * intl.C: remove dialog (covered by prefs)
9103 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9105 * lyxfunc.C (Dispatch): removed redundant break statement.
9107 2001-03-14 Juergen Vigna <jug@sad.it>
9109 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
9111 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9113 * buffer.C: add hack to fix compability reading of minipages.
9115 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
9117 * buffer.C (getLists): Cleanup.
9119 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9121 * lyxfont.C (update): don't honor toggleall on font size.
9123 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
9127 * Makefile.am: moved to frontends/xforms/
9131 * BufferView_pimpl.C: changes for moved mathpanel
9133 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9135 * gettext.h: fix gettext_init() in --disable-nls
9137 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9139 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
9141 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
9144 * lyx.h: strip external form
9146 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9148 * BufferView_pimpl.C: add comment, destroySplash()
9150 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9152 * BufferView_pimpl.C:
9156 * lyxfunc.C: use re-worked insetinclude
9158 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9160 * buffer.C: add using std::stringstream.
9162 * lyx_cb.C: readd using std::ios.
9164 * buffer.C: add using std::map.
9166 * BufferView_pimpl.C: add using std::vector.
9168 * ShareContainer.h: add std:: to swap.
9170 * buffer.h: add some typedefs
9171 * buffer.C (getLists): use them
9172 (getLists): renamed from getTocList.
9173 add a counter for the different float types and use it in the
9175 (getLists): use the same counter for the NEW_INSETS and the "non"
9178 * lyx_cb.h: remove unused items, includes, using etc.
9180 * ShareContainer.h: remove some commented code, add more comments
9181 and "documentation".
9183 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9185 * buffer.C (getTocList): make the list also when NEW_INSETS is
9188 * buffer.h: remove TocType
9190 * buffer.C (getTocList): change to return a map<string,
9191 vector<TocItem> >, implement for dynamic number of list.
9193 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
9194 * text2.C (PasteSelection): adjust
9195 * CutAndPaste.C (pasteSelection): adjust
9197 * FloatList.C (FloatList): update from the new_insets branch.
9198 * Floating.[Ch]: ditto
9199 * LaTeXFeatures.C: ditto
9201 * lyxlex_pimpl.C: ditto
9203 * paragraph.C (Last): remove when NEW_INSETS is defined.
9205 * other file: changes because of the above.
9207 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9209 * lyxparagraph.h: rename next to next_, previous to previous_,
9210 make them private for NEW_INSETS. Rename Next() to next(),
9211 Previous() to previous().
9213 * other files: changes because of the above.
9215 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
9218 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
9221 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9223 * main.C (main): pass lyx_localedir to gettext_init().
9225 * gettext.h: remove locale_init and gettext_init macros
9227 * gettext.C (locale_init): new function
9228 (gettext_init): new function
9230 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
9233 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
9235 * Moved credits to frontends:
9236 * credits.[Ch]: removed
9237 * credits_form.[Ch]: removed
9238 * lyx_gui_misc.C: remove credits stuff
9241 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9243 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
9245 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
9246 unneeded destructor.
9248 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
9249 a standalone pointer again.
9251 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
9253 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
9259 * ToolbarDefaults.C:
9268 * BufferView_pimpl.C: use new file dialog in GUII
9271 * lyx_cb.C: remove LayoutsCB to Toolbar
9273 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9275 * ShareContainer.h (get): add std:: qualifier
9277 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9279 * ShareContainer.h: define a proper ShareContainer::value_type
9280 type (and use typename to please compaq cxx)
9282 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9284 * lyxparagraph.h: move serveral local vars to
9285 ParameterStruct/ParagraphParameters., use ShareContainer in
9286 FontTable., make vars in FontTable private and add getter and
9289 * paragraph.C: changes because of the above.
9291 * lyxfont.h: remove copy constructor and copy assignment. (the
9292 default ones is ok), move number inside FontBits. move inlines to
9295 * lyxfont.C: add number to initializaton of statics, move several
9296 inlines here. constify several local vars. some whitespace
9297 cleanup. Dont hide outerscope variables.
9299 * Spacing.h: add two new constructors to match the set methods.
9301 * ShareContainer.h: new file, will perhaps be moved to support
9303 * ParameterStruct.h: new file
9305 * ParagraphParameters.h: new file
9307 * ParagraphParameters.C: new file
9309 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
9310 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
9312 * BufferView_pimpl.C: ParagraphParameter changes.
9313 * buffer.C: Likewise.
9314 * bufferview_funcs.C: Likewise.
9316 * text2.C: Likewise.
9318 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9320 * lyxfind.C (LyXReplace): do not redefine default argument in
9322 (IsStringInText): ditto
9323 (SearchForward): ditto
9324 (SearchBackward): ditto
9326 2001-03-06 Juergen Vigna <jug@sad.it>
9328 * lyxfind.C (IsStringInText): put parentes around expressions.
9330 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
9332 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
9334 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
9336 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
9338 * stl_string_fwd.h: add comment
9340 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
9343 * tabular.C: remove unused DocBook methods
9349 killed DO_USE_DEFAULT_LANGUAGE
9351 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9353 * lyx_gui.C: do not include language.h.
9355 * bufferview_funcs.C (ToggleAndShow): do not provide optional
9356 arguments in function implementation.
9358 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9360 * BufferView_pimpl.C: add <ctime>
9362 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9364 * BufferView_pimpl.C: add using std::find_if
9366 2001-02-27 José Matos <jamatos@fep.up.pt>
9368 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
9371 2001-02-11 José Matos <jamatos@fep.up.pt>
9373 * buffer.C (makeDocBookFile): command styles now have a parameter as
9376 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
9378 * layout_forms.[Ch]: removed
9379 * lyx_cb.[Ch]: out character
9380 * lyx_gui.C: out character
9381 * lyx_gui_misc.C: out character
9382 * bufferview_funcs.C: : out character,
9383 added toggleall as parameter in ToggleAndShow
9385 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
9387 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
9389 * text2.C (SetCurrentFont): Disable number property at boundary.
9391 2001-02-26 Juergen Vigna <jug@sad.it>
9393 * lyxfunc.C (getStatus): added a string argument override function so
9394 that this is correctly called from LyXFunc::Dispatch if it contains a
9395 do_not_use_argument which is used!
9396 (Dispatch): added check for "custom" export and call appropriate func.
9398 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
9400 * lyxrc.C: Add language_command_local, language_use_babel and
9401 language_global_options.
9403 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9405 * buffer.C (makeLaTeXFile): Use language_use_babel and
9406 language_global_options.
9408 2001-02-23 Juergen Vigna <jug@sad.it>
9410 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9411 which works with LyXText and putted it inside BufferView. Here now we
9412 only call for that part the BufferView::Dispatch() function.
9414 * BufferView.C (Dispatch): added.
9416 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9417 functions which needs to use a LyXText over from LyXFunc.
9418 (MenuInsertLyXFile): added
9419 (getInsetByCode): added
9420 (moveCursorUpdate): added
9421 (static TEXT): added
9423 2001-02-22 Juergen Vigna <jug@sad.it>
9425 * BufferView_pimpl.C (update): call a status update to see if LyXText
9428 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9430 * vc-backend.C (revert): implement for CVS
9431 (getLog): implement for CVS
9433 2001-02-20 Juergen Vigna <jug@sad.it>
9435 * text2.C (ClearSelection): added BufferView param for inset_owner call
9437 * lyxfunc.C (TEXT): added this function and use it instead of
9438 directly owner->view()-text of getLyXText().
9440 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
9442 * src/layout_forms.C: out preamble
9443 * src/layout_forms.h: out preamble
9444 * src/lyx_cb.C: out preamble
9445 * src/lyx_cb.h: out preamble
9446 * src/lyx_gui.C: out preamble
9447 * src/lyx_gui_misc.C: out preamble
9448 * src/lyxfunc.C: connect with guii preamble
9450 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
9452 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9454 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
9456 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9457 whether to run bibtex.
9459 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
9461 * Makefile.am (lyx_SOURCES): Remove BackStack.h
9463 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9465 * Makefile.am (lyx_SOURCES): removed bibforms.h
9469 * text.C (GetVisibleRow): make several local vars const
9471 * tabular.C: small cleanup.
9473 * lyxserver.C (callback): use compare instead of strncmp
9475 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
9476 inlines to after class or to paragraph.C
9478 * lyxfont.h: remove friend operator!=
9480 * converter.h: move friend bool operator< to non friend and after
9483 * combox.h: small cleanup
9485 * buffer.h: doxygen, remove unused constructor, move inclas inlies
9486 to inlines after class def.
9488 * buffer.C (pop_tag): use string operations instead of strcmp
9490 * bmtable.c: doxygen, small cleanup
9492 * LaTeX.h: remove friend operator==
9494 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9506 * BufferView_pimpl.C:
9507 * BufferView.[Ch]: remove cruft
9509 2001-02-14 Juergen Vigna <jug@sad.it>
9511 * lyxfunc.C: removed #if 0 unused code
9513 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9515 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9517 * text2.C (SetSelection): added a BufferView * parameter
9519 2001-02-13 Juergen Vigna <jug@sad.it>
9521 * lyxfunc.C (Dispatch): fixed protected blank problem.
9522 * BufferView2.C (protectedBlank): added LyxText * parameter.
9524 * tabular.C (AppendRow): forgot to set row_info of newly added row.
9525 (AppendColumn): same as above for column_info.
9527 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9528 (moveCursorUpdate): use a LyXText param for support of InsetText.
9530 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9531 (tripleClick): ditto
9533 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9535 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9537 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9539 * text2.C (SetSelection): set correct update status if inset_owner
9542 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9544 * tabular.C: remove some commented code.
9546 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9548 * BufferView_pimpl.C: call hideSplash()
9550 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9553 * bibforms.h: remove
9556 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9557 add LFUN_CHILD_CREATE
9559 * counters.h: fix tiny typo
9564 * lyx.C: move splash to frontends/xforms/
9566 * lyx_gui_misc.C: move Include and Bibform to frontends
9568 * lyxvc.h: clarify comment
9570 * vspace.C: tiny housekeeping
9572 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9574 * text.C (PrepareToPrint): RTL Fix.
9576 * paragraph.C (GetUChar): New method.
9577 (String): Use GetUChar.
9579 * buffer.C (asciiParagraph): Use GetUChar.
9581 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9583 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9585 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9588 * buffer.C: rename to getLogName(), handle
9589 build log / latex log nicely
9591 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9594 * MenuBackend.h: remove support for reference menuitem type.
9596 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9598 * BufferView_pimpl.C: housekeeping
9599 * BufferView_pimpl.h:
9604 * minibuffer.h: move Timeout GUI-I
9606 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9608 * lyxrc.C (read): Update converters data-structures.
9610 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9612 * LaTeX.h (operator!=): add operator != for Aux_Info
9614 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9616 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9618 * LaTeXLog.C: deleted, useful code moved to Buffer
9621 * buffer.C: new function getLatexLogName()
9627 * lyxfunc.C: use frontends for LaTeX and VC logs
9629 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9631 * LaTeX.h: yet another std:: that Allan forgot.
9633 * Variables.C (set): renamed from isset(), because this clashes
9634 with some HP-UX macros (grr).
9636 2001-02-06 Allan Rae <rae@lyx.org>
9638 * LaTeX.h: Another bug fix. Missing std:: this time.
9640 2001-02-04 Allan Rae <rae@lyx.org>
9642 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9643 floats problem. I've left it commented out because it's not quite
9644 correct. It should also test that the current object is a table or
9645 figure inset. But I haven't gotten around to figuring out how to do
9646 that. I *think* it'll be something like: "table" == inset.type()
9648 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9651 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9653 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9654 all the citation/databases/styles in the auxilary file.
9655 (run): Rerun latex if there was a babel language error.
9657 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9659 * text.C (Backspace): Preserve the font when changing newline char
9661 (BreakParagraph): If the cursor is before a space, delete the space.
9663 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9665 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9667 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9668 new argument (code).
9669 (ChangeCitationsIfUnique): New method.
9671 * paragraph.C (GetPositionOfInset): Handle bibkey.
9673 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9675 * BufferView_pimpl.h: change type of Position::par_pos to
9676 LyXParagraph::size_type.
9678 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9680 * BufferView_pimpl.C (savePosition, restorePosition): Write
9681 messages to minibuffer.
9683 2001-01-28 José Matos <jamatos@fep.up.pt>
9685 * buffer.C (makeDocBookFile): adds support for document language.
9686 A silly restriction on the name of LatexCommand types where removed.
9687 Added support for CDATA sections, allows to chars unescaped, used
9688 among others in code, to avoid escape < and >.
9690 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9692 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9693 saved positions instrad of a stack. Furthermore, a position is
9694 stored using paragraph id/paragraph position.
9696 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9697 Remove LFUN_REF_BACK.
9699 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9701 * converter.C (dvipdfm_options): New method.
9703 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9705 * vspace.C (isValidLength): Fix for empty input string.
9707 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9709 * LyXAction.C (init): change description of LFUN_FIGURE to
9712 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9714 * LaTeX.C: add using directive
9716 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9718 * MenuBackend.C (expand): Fix the sorting of the formats.
9720 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9722 * lyx_main.C: tiny error message fix
9724 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9726 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9727 calling fl_initialize(). This fixes the problem with ',' as
9728 decimal separator in text files.
9730 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9732 * trans.C (process): Fix the keymap bug.
9734 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9736 * LaTeX.C (scanAuxFiles): New method. Provides support for
9737 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9738 (scanLogFile) Scan for "run BibTeX" messages.
9740 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9741 OT1 font encoding. Also, load the aecompl package if the ae
9744 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9746 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9748 * texrow.C (increasePos): turn two error messages into debug
9751 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9753 * LaTeX.C (scanAux): Handle the \@input macro.
9754 (runBibTeX): Use scanAux().
9756 * language.C (latex_options_): New field.
9758 * LaTeXFeatures.C (getMacros): Add language macros.
9760 * buffer.C (makeLaTeXFile): Small fix.
9762 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9764 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9766 * text2.C: add a using directive.
9768 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9773 * lyxfunc.C: kill LyXBell.
9775 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9777 * text.C (IsBoundary): Remove the error message
9779 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9781 * lyxrc.C (setDefaults): Correct initialization value for
9784 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9786 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9789 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9792 * src/LyXAction.C: Added reference-next.
9794 * text.C (InsertChar): Use contains instead of strchr.
9796 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9798 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9800 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9801 alignment commands (when needed).
9803 * text.C (InsertChar): Add ':' to number separator chars.