1 2003-04-04 Angus Leeming <leeming@lyx.org>
4 * text2.C: remove unneeded #includes.
6 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8 * text2.C (dEPM): fix the heigth of the next row
10 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
12 * text.C: squashed an invalid getChar requester + some ws changes
14 2003-04-03 John Levon <levon@movementarian.org>
20 * text2.C: make getStatus work for the env depth lfuns
22 2003-04-03 John Levon <levon@movementarian.org>
28 * text2.C: parlistize decDepth(), by merging it with incDepth()
30 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
32 * lyxrow.h: store a ParagraphList::iterator instead of a
33 Paragraph* and adjust other class functions to suit.
35 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
38 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
40 * text2.C (setCursor): do not anchor to cursor row for the time being
42 2003-04-02 John Levon <levon@movementarian.org>
49 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
51 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
53 * paragraph.h: make ParagraphList and ParagraphList::iterator
56 * buffer.C (makeLinuxDocFile): move towards ParagraphList
58 * ParagraphList.C: Use the private next_ and previous_ from
61 2003-04-01 John Levon <levon@movementarian.org>
65 * Makefile.am: rename, remove defaults gunk
68 * MenuBackend.C: remove defaults gunk
71 * Languages.C: remove defaults gunk
74 * lyx_main.C: error out if files couldn't be found.
76 2003-04-02 John Levon <levon@movementarian.org>
78 * text2.C: make incDepth() use parlist
80 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
82 * undo_funcs.C (firstUndoParagraph): adjust
84 * text3.C (gotoInset): adjust
85 (dispatch): adjust, and rewrite loop.
87 * text2.C (init): adjust, and rewrite loop.
88 (redoParagraphs): adjust
89 (updateInset): adjust, and rewrite loop.
90 (deleteEmptyParagraphMechanism): adjust
92 * tabular.C (LyXTabular): adjust
93 (SetMultiColumn): adjust
96 * lyxtext.[Ch] (ownerParagraph): delete function
97 (ownerParagraphs): new function returns a ParagraphList.
99 * BufferView.C (removeAutoInsets): adjust
100 (insertErrors): adjust
101 (setCursorFromRow): adjust
103 2003-04-01 Angus Leeming <leeming@lyx.org>
105 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
108 2003-04-02 John Levon <levon@movementarian.org>
114 * text_funcs.C: make transposeChars a free function
116 * lyxrow_funcs.C: remove wrong comment
118 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
121 * rowpainter.C: adjust
126 * lyxrow_funcs. [Ch]: new files
128 * lyxrow.[Ch]: remove next and previous pointers
129 (next,previous): remove accessor functions
130 (isParEnd): move to lyxrow_funcs
131 (lastPos): move to lyxrow_funcs
132 (nextRowIsAllInset): move to lyxrow_funcs
133 (lastPrintablePos): move to lyxrow_funcs
134 (numberOfSeparators): move to lyxrow_funcs
135 (numberOfHfills): move to lyxrow_funcs
136 (numberOfLabelHfills): move to lyxrow_funcs
137 (hfillExpansion): move to lyxrow_funcs
141 * bufferview_funcs.C (toggleAndShow): adjust
143 * RowList.h: Remove class RowList from file leave just a
146 * RowList.C: delete file
148 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
151 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
153 * text3.C (cursorPrevious): adjust
157 * text2.C (redoHeightOfParagraph): adjust
158 (redoDrawingOfParagraph): adjust
161 * text.C (breakParagraph): adjust
165 * rowpainter.C (RowPainter): adjust
166 (leftMargin): simplify and adjust
167 (most rowpainter functions): adjust.
169 * rowpainter.h: store the row as RowList::iterator not as Row*
171 * lyxcursor.C (row): taka RowList::iterator as arg
174 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
177 2003-04-01 Angus Leeming <leeming@lyx.org>
179 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
180 stuff like bool Bool.
182 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
184 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
187 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
189 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
192 * lyxtext.h (rows): drop one version and leve a const variant that
193 returns a RowList::iterator.
195 2003-03-31 Angus Leeming <leeming@lyx.org>
197 * text.C (fill): ensure that the signature is the same as that in the
200 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
202 * text2.C (redoParagraphs): adjust
203 (updateCounters): adjust
204 (checkParagraph): adjust
205 (getColumnNearX): adjust and reformat a bit.
207 * text.C (top_y): adjust
210 (prepareToPrint): adjust
212 (getRowNearY): adjust
214 * lyxtext.h: make rowlist_ mutable.
216 * RowList.h: add const_iterator
217 * RowList.C: adjust for RowList::const_iterator.
219 * text2.C (getCursorX): make it take a RowList::iterator as arg,
222 2003-03-31 John Levon <levon@movementarian.org>
225 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
227 * lyx_main.C: set default fonts from using lyx_gui funcs
229 * exporter.C: pdf_mode moved from lyxrc
232 * lyxfunc.C: changes from above
234 2003-03-31 John Levon <levon@movementarian.org>
236 * lyx_main.C: fix to the last fix
238 2003-03-31 John Levon <levon@movementarian.org>
240 * bufferlist.C: "Load original" -> "Load Original"
246 * format.C: more Alert cleanups
248 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
250 * text2.C (removeParagraph): make it take a RowList::iterator as
252 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
253 (postRowPaint): make it take a RowList::iterator as arg, adjust.
255 * text.C (anchor_row): make it take a RowList::iterator as arg,
257 (computeBidiTables): make it take a const reference to Row instead
258 of Row pointer, adjust.
259 (leftMargin): make it take a RowList::iterator as arg, adjust.
260 (rowBreakPoint): adjust
261 (breakAgainOneRow): make it take a RowList::iterator as arg,
263 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
265 * bufferview_funcs.C (toggleAndShow): adjust
267 2003-03-30 John Levon <levon@movementarian.org>
271 * boost-inst.C: moved to support
273 * several files: changes as a result
275 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
277 * text2.C (LyXText): adjust.
279 (removeRow): make it take a RowList::iterator as arg, adjust.
280 (fullRebreak): adjust
281 (deleteEmptyParagraphMechanism): adjust
285 * text.C (top_y): adjust
286 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
287 (breakAgain): make it take a RowList::iterator as arg, adjust.
288 (breakParagraph): adjust
292 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
293 need_break_row, and refresh_row.
295 * text3.C (dispatch): adjust
297 * text2.C (checkParagraph): adjust
299 (setCursorFromCoordinates): adjust
301 * text.C (top_y): adjust
303 (getRow): make it return a RowList::iterator, adjust
304 (getRowNearY): make it return a RowList::iterator, adjust
306 * text2.C (init): adjust
307 (insertRow): remove function
308 (insertParagraph): adjust
309 (redoParagraphs): adjust
310 (fullRebreak): adjust
311 (updateCounters): adjust
313 * text.C (top_y): rewrite to use RowList iterators.
315 (setHeightOfRow): rewrite to sue RowList iterators.
316 (appendParagraph): adjust
318 (breakAgainOneRow): adjust
319 (breakParagraph): adjust
321 (getRowNearY): adjust, and remove commented code.
323 * lyxtext.h (firstRow): delete function
324 (lastRow): delete function
325 (rows): new function (const and non-const versions.)
326 (insertRow): delete function
328 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
330 2003-03-29 John Levon <levon@movementarian.org>
332 * BufferView_pimpl.C: always update scrollbar top
333 because pasting text when we're anchored could mean we
334 miss an update altogether
336 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
338 * text2.C (init): use rowlist_.end() and not 0.
339 (insertRow): change to take a RowList::iterator as arg, adjust
341 (insertParagraph): change to take a RowList::iterator as arg,
343 (redoParagraphs): remove some debug msgs.
345 * text.C (appendParagraph): change to take a RowList::iterator
346 arg, adjust for this.
347 (breakAgain): add an assert
348 (breakAgainOneRow): ditto
350 2003-03-29 John Levon <levon@movementarian.org>
352 * text2.C: do not clear selection after inc/decDepth
355 2003-03-29 John Levon <levon@movementarian.org>
358 * buffer.C: fix broken strerrors according to Lars
360 2003-03-29 John Levon <levon@movementarian.org>
362 * converters.C: more Alert cleanups
364 2003-03-29 John Levon <levon@movementarian.org>
366 * bufferview_funcs.C: remove pointless Alert
368 * buffer.C: fix confusing error message when
369 a template is chmoded 000
371 2003-03-29 John Levon <levon@movementarian.org>
375 * BufferView_pimpl.C: Alert fixes
379 * tabular-old.C: remove unused table compat reading
381 2003-03-29 John Levon <levon@movementarian.org>
386 * lyx_cb.C: more Alert cleanups
388 * lyxfunc.C: don't allow chktex if not latex document
390 2003-03-29 John Levon <levon@movementarian.org>
394 * buffer.C: warnings pushed down from support/,
397 2003-03-29 John Levon <levon@movementarian.org>
399 * lyxfunc.C: safety check for C-r (revert)
401 2003-03-29 John Levon <levon@movementarian.org>
404 * bufferlist.C: several UI fixes using Alert::prompt.
405 Fix the pointless looping quit code. Fix stupid revert
410 * lyx_cb.C: use Alert::prompt
412 * lyx_main.C: remove a silly question
414 * lyxfunc.C: remove a couple of silly questions,
417 2003-03-28 John Levon <levon@movementarian.org>
419 * text2.C: fix bug 974 (End on empty par)
421 2003-03-28 John Levon <levon@movementarian.org>
423 * BufferView_pimpl.C:
425 * lfuns.h: remove do-nothing math greek lfuns
427 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
429 * lyxgluelength.h (isValidGlueLength): add default arg on
430 parameter 2. Remove default arg from friend in class.
432 * lyxlength.h (isValidLength): add default arg on parameter 2.
433 Remove default arg from friend in class.
435 * text2.C (LyXText): adjust, initialize refresh_row.
439 (insertParagraph): adjst
440 (redoParagraphs): adjust
441 (fullRebreak): adjust
442 (updateCounters): adjust
443 (deleteEmptyParagraphMechanism): first attempt at fixing a
446 * text.C (top_y): adjust
447 (setHeightOfRow): adjust
449 (getRowNearY): adjust
451 * lyxtext.h: include RowList.h
452 (~LyXText): not needed anymore, deleted.
453 (firstRow): modify for RowList
454 (lastRow): new function
455 Delete firstrow and lastrow class variables, add a Rowlist
456 rowlist_ class variable.
458 * lyxrow.C (lastPos): use empty() and not !size() to check if a
461 * RowList.C (insert): fix case where it == begin().
463 2003-03-26 Angus Leeming <leeming@lyx.org>
465 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
466 the thesaurus dialog.
468 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
470 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
472 * RowList.[Ch]: new files
474 * ParagraphList.C (erase): handle the case where it == begin
477 2003-03-25 John Levon <levon@movementarian.org>
481 * aspell.C: add new aspell support
484 * lyxrc.C: Make use_pspell be use_spell_lib. Always
487 2003-03-25 Angus Leeming <leeming@lyx.org>
490 * LyXAction.C (init): new LFUN_INSET_INSERT.
492 * BufferView_pimpl.C (dispatch): split out part of the
493 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
495 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
498 2003-03-25 Angus Leeming <leeming@lyx.org>
500 * lyxfunc.C (dispatch): changes to the Dialogs interface.
502 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
505 * text3.C: remove useless row->height(0)
507 2003-03-25 John Levon <levon@movementarian.org>
511 * text3.C: rename the refreshing stuff to better names
513 2003-03-24 John Levon <levon@movementarian.org>
515 * BufferView_pimpl.h:
516 * BufferView_pimpl.C: update layout choice on a mouse
519 2003-03-23 John Levon <levon@movementarian.org>
521 * Makefile.am: fix commandtags.h reference
523 2003-03-22 John Levon <levon@movementarian.org>
525 * BufferView_pimpl.C:
530 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
532 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
535 * text.C: take the rtl methods out of line
537 2003-03-21 André Pönitz <poenitz@gmx.net>
539 * metricsinfo.[Ch]: new files containing structures to be passed around
540 during the two-phase-drawing...
542 2003-03-21 André Pönitz <poenitz@gmx.net>
544 * lyxtextclass.C: read 'environment' tag.
546 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
548 * text2.C (removeRow): fix bug 964
550 2003-03-20 John Levon <levon@movementarian.org>
554 * text2.C: paint cleanups. Inset::update() dropped font
557 2003-03-19 John Levon <levon@movementarian.org>
559 * lyxfunc.C: only fitcursor/markDirty if available()
561 2003-03-19 John Levon <levon@movementarian.org>
563 * commandtags.h: rename to ...
565 * lfuns.h: ... this, and renumber / cleanup
567 2003-03-19 John Levon <levon@movementarian.org>
569 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
570 fit the cursor after an lfun
574 * BufferView_pimpl.h:
575 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
577 * LyXAction.C: layout-character should have ReadOnly
579 * ParagraphParameters.C:
581 * bufferview_funcs.C:
588 * undo_funcs.C: changes from above
590 2003-03-18 John Levon <levon@movementarian.org>
592 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
593 remove it from update()
595 * lyxfunc.C: update layout choice after an lfun
597 * text3.C: remove extra updateLayoutChoice()s
599 2003-03-18 John Levon <levon@movementarian.org>
601 * text.C: top_y change means full repaint, fix
602 a drawing bug with cursor movement
604 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
608 * text2.C: anchor row on setCursor
610 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
612 * lyxtext.h: remove almost all mutable keywords
615 * text3.C: remove const keywords accordingly
617 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
619 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
621 (TeXEnvironment): ditto
624 2003-03-17 John Levon <levon@movementarian.org>
626 * text.C (rowBreakPoint): remove attempt to fix displayed
627 math insets inside a manual label
629 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
631 * lyxtext.h: remove BufferView* as first arg from almost all class
633 * other files: adjust.
635 2003-03-17 John Levon <levon@movementarian.org>
639 * text2.C: more paint cleanups
641 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
644 * rowpainter.C: remove "smart" background painting code
646 2003-03-16 John Levon <levon@movementarian.org>
651 * text3.C: add helper functions for setting refresh_row/y
653 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
655 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
656 newline inset which *can* get inserted in the pass_thru layouts.
657 This is primarily for literate documents.
659 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
661 * buffer.C: increment LYX_FORMAT to 223
663 2003-03-14 André Pönitz <poenitz@gmx.net>
665 * textclass.h: prepare for environment handling, ws changes
666 * lyxlayout.C: read latexheader and latexfooter tags
668 2003-03-14 John Levon <levon@movementarian.org>
670 * text2.C: rewrite ::status() a bit
672 2003-03-13 John Levon <levon@movementarian.org>
674 * lyxtext.h: add some docs
676 2003-03-13 John Levon <levon@movementarian.org>
681 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
683 2003-03-13 John Levon <levon@movementarian.org>
685 * text3.C: fix appendix redrawing
687 2003-03-13 John Levon <levon@movementarian.org>
689 * text.C (setHeightOfRow):
691 * rowpainter.C: make appendix mark have the text
692 "Appendix" so the user knows what it is
695 * LColor.C: s/appendixline/appendix/ from above
697 2003-03-13 John Levon <levon@movementarian.org>
699 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
701 * text.C: fix a getChar(pos) bug properly
703 2003-03-13 Angus Leeming <leeming@lyx.org>
706 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
707 Probably only temporary. Let's see how things pan out.
709 * BufferView.C (unlockInset):
710 * BufferView_pimpl.C (fitCursor):
711 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
713 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
714 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
716 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
717 new functions that convert ParagraphParameters to and from a string.
719 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
720 BufferView::Pimpl's dispatch.
721 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
723 2003-03-13 André Pönitz <poenitz@gmx.net>
727 * factory.C: make it aware of InsetEnv
729 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
731 * text2.C (setCursor): never ask for one past last
732 (setCursor): add some debugging messages.
734 * text.C (singleWidth): never ask for one past last
738 (rowBreakPoint): ditto
739 (setHeightOfRow): ditto
740 (prepareToPrint): ditto
742 * rowpainter.C (paintBackground): never ask for one past last
743 (paintText): never ask for one past last
745 * paragraph_pimpl.C (getChar): make the assert stricter, never
746 allow the one past last pos to be taken
748 * paragraph.C (getChar): ws changes only
750 * lyxrow.C (nextRowIsAllInset): never ask for one past last
751 (numberOfSeparators): ditto
752 (numberOfHfills): ditto
754 2003-03-12 John Levon <levon@movementarian.org>
760 * paragraph_funcs.C: fix per-buffer authorlists
762 2003-03-12 John Levon <levon@movementarian.org>
764 * text.C: fix newline in right address
766 2003-03-12 Angus Leeming <leeming@lyx.org>
768 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
769 duplicate those in LyXFunc::dispatch.
774 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
775 Add LFUN_FONTFREE_UPDATE.
777 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
778 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
780 * bufferview_func.[Ch]: several new functions to facilliate
781 transfer of data to and from the character dialog.
783 2003-03-12 John Levon <levon@movementarian.org>
793 * text3.C: remove META_NEWLINE in favour of an inset
796 * rowpainter.C: remove paintNewline (done by inset)
798 2003-03-12 John Levon <levon@movementarian.org>
800 * paragraph_pimpl.C: complain about bad getChar()s
803 2003-03-12 John Levon <levon@movementarian.org>
806 * buffer.C: move paragraph read into a separate function,
807 a little renaming to reflect that.
810 * bufferparams.C: remove the author_ids map, not necessary now
813 * factory.C: moved Buffer::readInset to here
816 * paragraph_funcs.C: readParagraph free function moved from
819 * tabular.C: name change
821 2003-03-12 John Levon <levon@movementarian.org>
824 * ParagraphParameters.C: move par params input to
827 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
828 behave like a normal read from the stream wrt reading
831 2003-03-12 John Levon <levon@movementarian.org>
834 * ParagraphParameters.h:
835 * ParagraphParameters.C: move output code to a
838 2003-03-12 John Levon <levon@movementarian.org>
840 * BufferView.C (insertLyXFile):
843 * tabular.C: use a parlist iterator for creating the
846 2003-03-12 John Levon <levon@movementarian.org>
848 * buffer.C: make current_change static local not
851 2003-03-12 John Levon <levon@movementarian.org>
853 * buffer.C: fix insertStringAsLines for change tracking
855 2003-03-12 John Levon <levon@movementarian.org>
862 * bufferparams.C: move author list into params. Rename some
863 functions. Move the header reading into a separate token
864 loop. Move the header token reading into BufferParams.
866 2003-03-12 John Levon <levon@movementarian.org>
868 * changes.C: put debug inside lyxerr.debugging() checks
870 2003-03-11 André Pönitz <poenitz@gmx.net>
872 * factory.C: make it aware of InsetHFill
874 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
876 * buffer.C (latexParagraphs): move function from here...
877 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
880 2003-03-10 Angus Leeming <leeming@lyx.org>
882 * LyXAction.C (init): fix bug in poplating array with multiple entries
883 with the same LFUN (spotted by JMarc).
885 2003-03-10 John Levon <levon@movementarian.org>
888 * text2.C: move getColumnNearX() near its
891 2003-03-10 John Levon <levon@movementarian.org>
893 * text.C: fix break before a minipage
895 2003-03-10 John Levon <levon@movementarian.org>
897 * text.C: fix the last commit
899 2003-03-09 John Levon <levon@movementarian.org>
903 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
904 bug 365 (don't break before insets unless needed). Don't
905 return a value > last under any circumstances.
907 2003-03-09 Angus Leeming <leeming@lyx.org>
909 * BufferView_pimpl.C (trackChanges, dispatch): call
910 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
912 2003-03-09 Angus Leeming <leeming@lyx.org>
914 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
915 than Dialogs::showAboutlyx().
917 2003-03-09 Angus Leeming <leeming@lyx.org>
919 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
920 than Dialogs::showTabularCreate().
922 2003-03-09 John Levon <levon@movementarian.org>
926 * text2.C: 3rd arg to nextBreakPoint was always the same.
929 2003-03-08 John Levon <levon@movementarian.org>
936 * text2.C: Remove the "main" bit from the "main body"
939 2003-03-08 John Levon <levon@movementarian.org>
941 * text.C (leftMargin): The left margin of an empty
942 manual label paragraph should not include the label width
945 * text.C (prepareToPrint): don't attempt to measure hfills
946 for empty manual label paragraphs - the answer should be 0
948 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
950 * CutAndPaste.C: remove commented code and reindent.
952 2003-03-08 John Levon <levon@movementarian.org>
955 * lyxfunc.C: move reloadBuffer()
958 * BufferView.C: to here
960 * lyxvc.C: add comment
963 * vc-backend.C: call bv->reload() to avoid
964 getStatus() check on MENURELOAD
966 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
968 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
969 to an old format .dep file.
971 2003-03-07 Angus Leeming <leeming@lyx.org>
973 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
974 when the LFUN_MOUSE_RELEASE should have been handled by
975 inset->localDispatch.
977 2003-03-07 Angus Leeming <leeming@lyx.org>
979 * BufferView_pimpl.C (dispatch):
980 * LyXAction.C (init):
981 * ToolbarDefaults.C (init):
983 * lyxfunc.C (getStatus):
984 remove LFUN_INSET_GRAPHICS.
986 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
988 2003-03-07 Angus Leeming <leeming@lyx.org>
991 * LyXAction.C (init):
992 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
994 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
997 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
999 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
1000 localDispatch method LFUN_INSET_DIALOG_UPDATE.
1002 2003-03-07 Angus Leeming <leeming@lyx.org>
1004 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
1007 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1009 * ParagraphList.C (front): new function
1012 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1014 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
1015 and top_row_offset_. removed var first_y.
1017 * text2.C (LyXText, removeRow):
1019 * BufferView_pimpl.C:
1020 use these methods instead of using first_y
1022 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1024 * text2.C (pasteSelection): adjust for checkPastePossible
1026 * CutAndPaste.C: remove Paragraph * buf and replace with
1027 ParagraphList paragraphs.
1028 (DeleteBuffer): delete
1029 (cutSelection): change the tc type to textclass_type
1030 (copySelection): change the tc type to textclass_type
1031 (copySelection): adjust for ParagraphList
1032 (pasteSelection): change the tc type to textclass_type
1033 (pasteSelection): adjust for Paragraphlist
1034 (nrOfParagraphs): simplify for ParagraphList
1035 (checkPastePossible): simplify for ParagraphList
1036 (checkPastePossible): remove unused arg
1038 * ParagraphList.C (insert): handle the case where there are no
1041 * CutAndPaste.h: make CutAndPaste a namespace.
1043 * text3.C (dispatch): adjust
1045 * text.C (breakParagraph): add a ParagraphList as arg
1047 * paragraph_funcs.C (breakParagraph): change to take a
1048 BufferParams and a ParagraphList as args.
1049 (breakParagraphConservative): ditto
1050 (mergeParagraph): ditto
1051 (TeXDeeper): add a ParagraphList arg
1052 (TeXEnvironment): ditto
1055 * buffer.C (readLyXformat2): adjust
1056 (insertStringAsLines): adjust
1057 (latexParagraphs): adjust
1059 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
1060 (cutSelection): adjust
1061 (pasteSelection): adjust
1063 * BufferView_pimpl.C (insertInset): adjust
1065 2003-03-05 Angus Leeming <leeming@lyx.org>
1068 * LyXAction.C (init):
1069 * BufferView_pimpl.C (dispatch):
1070 * lyxfunc.C (getStatus):
1071 remove LFUN_CHILD_INSERT.
1073 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
1075 2003-03-05 Angus Leeming <leeming@lyx.org>
1078 * LyXAction.C (init):
1079 * src/factory.C (createInset):
1080 * lyxfunc.C (getStatus):
1081 * text3.C (dispatch):
1082 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
1084 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
1086 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1088 * ParagraphList.C (insert): handle insert right before end()
1089 (erase): fix cases where it can be first or last paragraph.
1091 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1093 * paragraph_funcs.C (TeXEnvironment): remove all usage of
1094 Paragraph::next and Paragraph::previous
1097 * text.C (breakParagraph): adjust
1099 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
1100 BufferParams& as arg.
1101 (breakParagraph): use ParagraphList::insert
1102 (breakParagraphConservative): take a Buffer* instead of a
1103 BufferParams& as arg.
1104 (breakParagraphConservative): use ParagraphList::insert.
1106 * buffer.C (insertStringAsLines): un-const it
1107 (insertStringAsLines): adjust
1109 * ParagraphList.C (insert): new function
1111 * CutAndPaste.C (pasteSelection): adjust
1113 * text.C (backspace): adjust
1115 * tabular.C (SetMultiColumn): adjust
1117 * CutAndPaste.C (cutSelection): adjust
1118 (pasteSelection): adjust
1120 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
1121 Buffer const * as arg
1123 * ParagraphList.C (erase): new function
1124 * paragraph_funcs.C (mergeParagraph): use it
1125 (mergeParagraph): make it take a Buffer* instead of a
1126 BufferParams* as arg
1128 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
1130 (breakParagraphConservative): ditto
1132 * paragraph.h: remove the breakParagraph friend
1134 * paragraph.C (eraseIntern): new function
1135 (setChange): new function
1137 * paragraph_funcs.C (mergeParagraph): make it take a
1138 ParagraphList::iterator instead of a Paragraph *, adjust
1141 * paragraph.h: move an #endif so that the change tracking stuff
1142 also works in the NO_NEXT case.
1144 2003-03-04 Angus Leeming <leeming@lyx.org>
1147 * LyXAction.C: new LFUN_INSET_MODIFY.
1149 * BufferView_pimpl.C (dispatch): if an inset is found to be open
1150 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
1152 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1154 * several files: ws changes only
1156 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
1157 (TeXEnvironment): ditto
1160 * buffer.C (makeLaTeXFile): adjust
1161 (latexParagraphs): make it take ParagraphList::iterator as args
1163 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1165 * buffer.C (latexParagraphs): adjust
1167 * paragraph.C (TeXOnePar): move function...
1168 (optArgInset): move function...
1169 (TeXEnvironment): move function...
1170 * paragraph_pimpl.C (TeXDeeper): move function...
1171 * paragraph_funcs.C: ...here
1173 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
1175 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1177 * buffer.C (readInset): remove compability code for old Figure and
1180 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1182 * buffer.C: ws changes
1185 * BufferView_pimpl.C: ditto
1188 * bufferlist.h: ditto
1192 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1194 * converter.[Ch]: split into itself +
1197 * Makefile.am: += graph.[Ch] + format.[Ch]
1204 * lyxrc.C: added #include "format.h"
1206 2003-02-27 Angus Leeming <leeming@lyx.org>
1208 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
1211 * factory.C (createInset): add "label" to the factory.
1213 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
1214 string and do no more.
1216 2003-02-27 Angus Leeming <leeming@lyx.org>
1219 * LyXAction.C (init):
1220 * factory.C (createInset):
1221 * BufferView_pimpl.C (dispatch):
1222 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1224 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
1226 * lyxfunc.C (dispatch):
1227 * text3.C (dispatch): pass name to params2string.
1229 2003-02-26 Angus Leeming <leeming@lyx.org>
1231 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
1233 Rearrange the ~includes. Strip out the unnecessary ones.
1235 * factory.C (createInset): reformat.
1236 create new insets for the various LFUN_XYZ_APPLY lfuns.
1238 2003-02-26 John Levon <levon@movementarian.org>
1241 * lyxrow.C: add isParStart,isParEnd helpers
1243 * paragraph.h: make isInserted/DeletedText take refs
1245 * paragraph_funcs.h:
1246 * paragraph_funcs.C: remove #if 0'd code
1251 * text.C: use lyxrow helpers above.
1252 Move draw and paint routines to RowPainter.
1253 Make several methods use refs not pointers.
1254 Make backgroundColor() const.
1255 Add markChangeInDraw(), isInInset().
1256 Merge changeRegionCase into changeCase.
1257 Make workWidth() shouldn't-happen code into an Assert.
1260 * rowpainter.C: new class for painting a row.
1263 * vspace.C: make inPixels take a ref
1265 2003-02-26 Angus Leeming <leeming@lyx.org>
1267 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
1270 2003-02-25 John Levon <levon@movementarian.org>
1272 * ispell.C: give the forked command a more accurate name
1274 2003-02-22 John Levon <levon@movementarian.org>
1277 * toc.C: make TocItem store an id not a Paragraph *
1280 2003-02-21 Angus Leeming <leeming@lyx.org>
1282 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
1283 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
1284 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
1285 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
1286 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
1287 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
1289 * BufferView_pimpl.C (dispatch):
1290 * LyXAction.C (init):
1291 * factory.C (createInset):
1292 * lyxfunc.C (getStatus, dispatch):
1293 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
1295 2003-02-21 Angus Leeming <leeming@lyx.org>
1297 * BufferView_pimpl.C (MenuInsertLyXFile):
1298 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1299 * lyxfunc.C (menuNew, open, doImport):
1300 no longer pass a LyXView & to fileDlg.
1302 2003-02-21 Angus Leeming <leeming@lyx.org>
1304 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
1305 * LyXAction.C: change, BIBKEY to BIBITEM.
1306 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
1307 Change InsetBibKey to InsetBibitem.
1308 Change BIBKEY_CODE to BIBITEM_CODE.
1309 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1310 * factory.C: replace insetbib.h with insetbibitem.h.
1311 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1312 * paragraph.C: replace insetbib.h with insetbibitem.h.
1313 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
1314 Change bibkey() to bibitem().
1315 * text.C: remove insetbib.h.
1316 * text2.C: replace insetbib.h with insetbibitem.h.
1317 change bibkey() to bibitem().
1318 * text3.C: remove insetbib.h.
1319 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1321 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1323 * lyxrc.C (output): enclose user email in quotes (in case there are
1326 2003-02-18 John Levon <levon@movementarian.org>
1328 * buffer.h: add std::
1330 2003-02-17 John Levon <levon@movementarian.org>
1336 * pspell.C: reworking. Especially in ispell, a large
1337 number of clean ups and bug fixes.
1339 * lyxfunc.C: fix revert to behave sensibly
1341 2003-02-17 André Pönitz <poenitz@gmx.net>
1344 * commandtags.h: new LFUN_INSERT_BIBKEY
1354 * paragraph_func.C: remove special bibkey handling
1356 2003-02-17 John Levon <levon@movementarian.org>
1358 * text.C (Delete): fix case where delete at the end of
1359 the very first paragraph would not merge the pars
1361 2003-02-17 John Levon <levon@movementarian.org>
1363 * lyxrow.C: fix lastPrintablePos()
1365 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1367 * bufferparams.C (writeLaTeX): add a std:here
1369 * buffer.C: and remove a using directive there
1371 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1373 * buffer.C (makeLaTeXFile): move the code that generates the
1376 * bufferparams.C (writeLaTeX): ... in this new method
1378 * LaTeXFeatures.C (getEncodingSet): make const
1379 (getLanguages): make const
1381 * MenuBackend.C (binding): returns the binding associated to this
1383 (add): sets the status of each item by calling getStatus. Adds
1385 (read): add support for OptSubMenu
1386 (expand): remove extra separator at the end of expanded menu
1388 2003-02-15 John Levon <levon@movementarian.org>
1391 * BufferView_pimpl.C:
1393 * bufferlist.C: remove pointless BufferStorage bloat. Remove
1394 inset code that had no actual effect. Remove unneeded status
1397 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1399 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
1402 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
1404 * text.C (drawLengthMarker): also draw an arrow marker for
1405 symbolic lengths (medskip...)
1407 2003-02-14 John Levon <levon@movementarian.org>
1410 * tabular.C: better method names
1412 2003-02-14 John Levon <levon@movementarian.org>
1414 * BufferView_pimpl.C:
1419 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
1420 it's a more accurate name. Remove some pointless uses.
1422 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1424 * text2.C (LyXText): change order of initilizers to shut off
1427 2003-02-14 John Levon <levon@movementarian.org>
1429 * buffer.C: use ParIterator for getParFromID()
1433 * paragraph_pimpl.h:
1434 * paragraph_pimpl.C: remove unused getParFromID()
1436 2003-02-14 John Levon <levon@movementarian.org>
1438 * buffer.C: remove some very old #if 0'd parse code
1440 2003-02-13 John Levon <levon@movementarian.org>
1444 * text2.C: move hfillExpansion(), numberOfSeparators(),
1445 rowLast(), rowLastPrintable(), numberofHfills(),
1446 numberOfLabelHfills() ...
1449 * lyxrow.C: ... to member functions here.
1454 * text.C: remove LyXText::beginningOfMainBody(), and call
1455 p->beginningOfMainBody() directly. Move the check for
1456 LABEL_MANUAL into the latter.
1463 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1469 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1470 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1472 2003-02-13 John Levon <levon@movementarian.org>
1474 * CutAndPaste.C: remove debug
1476 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1478 * paragraph.C (asString): remove two unused variables
1480 * lyxtextclass.C (readTitleType):
1482 (LyXTextClass): handle new members titletype_ and titlename_
1484 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1486 2003-02-09 John Levon <levon@movementarian.org>
1489 * buffer.C: replace hand-coded list with a map for the dep clean
1491 2003-02-08 John Levon <levon@movementarian.org>
1493 * LaTeX.C: consolidate code into showRunMessage() helper
1495 2003-02-08 John Levon <levon@movementarian.org>
1500 * BufferView.C: change setSelectionOverString() to setSelectionRange()
1501 and pass the size in explicitly
1503 * BufferView_pimpl.h:
1504 * BufferView_pimpl.C:
1506 * BufferView.C: add getCurrentChange()
1508 * BufferView_pimpl.h:
1509 * BufferView_pimpl.C: handle change lfuns
1511 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
1512 for changes. Mark pasted paragraphs as new.
1514 * support/lyxtime.h:
1515 * support/lyxtime.C:
1516 * DepTable.C: abstract time_t as lyx::time_type
1519 * LColor.C: add colours for new text, deleted text, changebars
1521 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1522 package use "usenames" option.
1526 * LyXAction.C: add change lfuns
1530 * author.C: author handling
1533 * buffer.C: add a per-buffer author list, with first entry as
1534 current author. Handle new .lyx tokens for change tracking. Output
1535 author list to .lyx file. Output dvipost stuff to .tex preamble.
1536 Bump lyx format to 222.
1539 * bufferlist.C: add setCurrentAuthor() to reset current author details
1543 * bufferparams.C: add param for tracking
1545 * bufferview_funcs.C: output change info in minibuffer
1549 * changes.C: add change-tracking structure
1552 * debug.C: add CHANGES debug flag
1555 * lyxfind.C: add code for finding the next change piece
1558 * lyxrc.C: add user_name and user_email
1561 * lyxrow.C: add a metric for the top of the text line
1564 * text.C: implement accept/rejectChange()
1567 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1568 Strike through deleted text.
1572 * paragraph_pimpl.h:
1573 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1574 to the insert functions. Rework erase to mark text as deleted, adding
1575 an eraseIntern() and a range-based erase(). Implement
1576 per-paragraph change lookup and accept/reject.
1578 * paragraph_funcs.C: Fixup paste for change tracking.
1580 * tabular.C: mark added row/columns as new.
1582 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1583 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1585 * text2.C: leave cursor at end of selection after a cut.
1587 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1589 * text.C (getLengthMarkerHeight):
1590 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1591 visible on screen too.
1593 2003-02-07 John Levon <levon@movementarian.org>
1595 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1597 2003-02-05 Angus Leeming <leeming@lyx.org>
1599 * lyxserver.C (read_ready): revert my patch of 11 September last year
1600 as it sends PC cpu through the roof. Presumably this means that
1601 the lyxserver will no longer run on an Alpha...
1603 2003-01-30 Angus Leeming <leeming@lyx.org>
1605 * factory.C (createInset): create an InsetCommandParam of type "index"
1606 and use it to 'do the right thing'.
1608 * text2.C (getStringToIndex): ensure that cursor position is always
1609 reset to the reset_cursor position.
1611 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1613 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1616 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1620 * lyxfunc.C: Output messages with identical spelling, punctuation,
1623 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1625 * MenuBackend.C (expandFormats): List only viewable export formats
1628 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1631 * lyxfunc.C (getStatus): Make sure that formats other than
1632 "fax" can also be disabled
1634 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1636 * text3.C (dispatch): put the lfuns that insert insets in 3
1637 groups, and call doInsertInset with appropriate arguments.
1638 (doInsertInset): new function, that creates an inset and inserts
1639 it according to some boolean parameters.
1641 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1643 * buffer.C (readFile): remember to pass on 'par' when calling
1644 readFile recursively.
1646 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1648 * MenuBackend.C (expandFormats): add "..." to import formats.
1650 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1652 * paragraph.C (asString): Remove XForms RTL hacks.
1654 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1655 * buffer.C: fix typo
1657 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1659 * Makefile.am (LIBS): delete var
1660 (lyx_LDADD): add @LIBS@ here instead.
1662 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1664 * Clarify the meaning of "wheel mouse jump"
1666 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1668 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1671 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1673 * importer.C (Loaders): do not preallocate 3 elements in the
1674 vector, since one ends up with 6 elements otherwise
1676 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1678 * DepTable.C (write): write the file name as last element of the
1679 .dep file (because it may contain spaces)
1680 (read): read info in the right order
1682 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1684 * paragraph_pimpl.C (simpleTeXBlanks):
1685 (simpleTeXSpecialChars):
1686 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1688 * tabular.C (latex): add some missing case statements. Reindent.
1690 * MenuBackend.C (expandToc): remove unused variable.
1692 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1701 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1704 2003-01-05 John Levon <levon@movementarian.org>
1707 * BufferView.C: add getEncoding()
1710 * kbsequence.C: do not store last keypress
1713 * lyxfunc.C: store last keypress here instead. Pass encoding
1716 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1718 * lyx_main.C (init): remove annoying error message when following
1719 symbolic links (bug #780)
1721 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1723 * text.C (insertChar):
1724 * lyxrc.C (getDescription): remove extra spaces
1726 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1728 * lyxrc.C (getDescription): remove extra spaces
1730 2002-12-20 John Levon <levon@movementarian.org>
1732 * text3.C: hack fix for page up/down across tall rows
1734 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1736 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1739 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1741 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1742 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1743 thesaurus is not compiled in
1745 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1747 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1749 2002-12-16 Angus Leeming <leeming@lyx.org>
1752 * lyx_main.C (init): remove override_x_deadkeys stuff.
1754 2002-12-12 John Levon <levon@movementarian.org>
1756 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1757 insert. Only remove shift modifier under strict
1760 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1762 * MenuBackend.C (expandToc): fix crash.
1764 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1766 * MenuBackend.C (expandToc): gettext on float names.
1768 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1770 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1771 implement bool empty() [bug 490]
1773 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1775 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1777 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1779 * several files: ws changes
1781 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1783 * text2.C (setCounter): clean up a bit, use boost.format.
1784 (updateCounters): initialize par upon declaration.
1786 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1787 if the layout exists. We do not just store the layout any more.
1788 (SwitchLayoutsBetweenClasses): use boost.format
1790 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1792 * converter.C (convert): if from and to files are the same, use a
1793 temporary files as intermediary
1795 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1798 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1800 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1802 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1804 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1806 * tabular.C (asciiPrintCell): use string(size, char) instead of
1809 * sgml.C (openTag): fix order of arguments to string constructor
1812 * lyxfunc.C (dispatch): use boost.format
1814 * lots of files: change "c" -> 'c'
1816 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1818 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1820 2002-11-25 Angus Leeming <leeming@lyx.org>
1822 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1824 * lyx_main.C (init): compile fix.
1826 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1828 * lyx_cb.C (start): boost.formatify
1829 do not include <iostream>
1831 * lengthcommon.C: ws only
1833 * boost-inst.C,BoostFormat.h: add more explict instantations
1835 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1837 * lots of files: handle USE_BOOST_FORMAT
1839 2002-11-21 John Levon <levon@movementarian.org>
1841 * pspell.C: fix compile
1843 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1845 * lyxfunc.C (dispatch): use boost::format
1849 * lyxfont.C (stateText): use boost::format
1851 * lyx_main.C (LyX): use boost::format
1853 (queryUserLyXDir): ditto
1856 (typedef boost::function): use the recommened syntax.
1858 * importer.C (Import): use boost::format
1860 * debug.C (showLevel): use boost::format
1862 * converter.C (view): use boost::format
1867 * bufferview_funcs.C (currentState): use boost::format
1869 * bufferlist.C (emergencyWrite): use boost::format
1871 * buffer.C (readLyXformat2): use boost::format
1872 (parseSingleLyXformat2Token): ditto
1874 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1876 * LaTeX.C (run): use boost::format
1878 * Chktex.C (scanLogFile): use boost::format
1880 * BufferView_pimpl.C (savePosition): use boost::format
1881 (restorePosition): ditto
1882 (MenuInsertLyXFile): ditto
1884 * BoostFormat.h: help file for explicit instation.
1886 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1888 * tabular.C (latex): Support for block alignment in fixed width
1891 2002-11-17 John Levon <levon@movementarian.org>
1893 * BufferView_pimpl.C:
1895 * lyxfunc.C: split filedialog into open/save
1897 2002-11-08 Juergen Vigna <jug@sad.it>
1899 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1900 by my last patch (hopefully).
1902 2002-11-08 John Levon <levon@movementarian.org>
1911 * toc.C: ParConstIterator, and use it (from Lars)
1913 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1915 * lyxtextclass.[Ch]: revise and add doxygen comments
1917 2002-11-07 John Levon <levon@movementarian.org>
1919 * text.C: fix progress value for spellchecker
1921 * toc.C: fix navigate menu for insetwrap inside minipage
1923 * paragraph_funcs.C: added FIXME for suspect code
1925 2002-11-07 John Levon <levon@movementarian.org>
1927 * BufferView_pimpl.C: fix redrawing of insets
1930 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1932 * text2.C (updateCounters): fix bug 668
1934 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1936 * text3.C (dispatch): Do not make the buffer dirty when moving the
1939 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1941 * vc-backend.C: STRCONV
1944 * text2.C (setCounter): STRCONV
1946 * paragraph.C (asString): STRCONV
1948 * lyxlength.C (asString): STRCONV
1949 (asLatexString): ditto
1951 * lyxgluelength.C (asString): STRCONV
1952 (asLatexString): ditto
1954 * lyxfunc.C (dispatch): STRCONV
1957 * lyxfont.C (stateText): STRCONV
1959 * importer.C (Import): STRCONV
1961 * counters.C (labelItem): STRCONV
1962 (numberLabel): ditto
1963 (numberLabel): remove unused ostringstream o
1968 * bufferview_funcs.C (currentState): STRCONV
1970 * buffer.C (readFile): STRCONV
1971 (asciiParagraph): ditto
1972 (makeLaTeXFile): ditto
1974 * Spacing.C (writeEnvirBegin): STRCONV
1976 * LaTeXFeatures.C (getLanguages): STRCONV
1977 (getPackages): ditto
1979 (getBabelOptions): ditto
1980 (getTClassPreamble): ditto
1981 (getLyXSGMLEntities): ditto
1982 (getIncludedFiles): ditto
1986 (scanAuxFile): ditto
1989 * LString.h: add the STRCONV macros
1991 * BufferView_pimpl.C (savePosition): STRCONV
1992 (restorePosition): ditto
1993 (MenuInsertLyXFile): ditto
1995 * vc-backend.C (scanMaster): change from submatch[...] to
1998 * funcrequest.C: include config.h
2000 * factory.C: include config.h
2002 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
2004 * box.C: include config.h
2006 * LaTeX.C (scanAuxFile): change from submatch[...] to
2010 2002-10-25 Angus Leeming <leeming@lyx.org>
2012 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
2014 * ispell.[Ch] (setError): new method.
2015 * ispell.C (c-tor): move out child process into new class LaunchIspell.
2016 Use setError() insetead of goto END.
2018 * lyx_cb.C (AutoSave): move out child process into new class
2021 2002-10-30 John Levon <levon@movementarian.org>
2023 * text3.C: make start appendix undoable
2025 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
2027 * lyxlength.C (inPixels): Fix returned value.
2029 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
2032 2002-10-24 Angus Leeming <leeming@lyx.org>
2034 * lyxgluelength.h: no need to forward declare BufferParams
2035 or BufferView, so don't.
2037 2002-10-21 John Levon <levon@movementarian.org>
2039 * BufferView.C: menuUndo ->undo, redo
2041 * BufferView.h: document, remove dead, make some methods private
2043 * paragraph_funcs.h:
2044 * paragraph_funcs.C:
2045 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
2050 * sgml.C: move sgml open/close tag into sgml.C
2052 * bufferview_funcs.h: unused prototype
2055 * lyxfunc.C: remove unused
2058 * text.C: remove unused
2060 2002-10-21 John Levon <levon@movementarian.org>
2064 * BufferView_pimpl.h:
2065 * BufferView_pimpl.C: fix mouse wheel handling based on
2066 patch from Darren Freeman
2068 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
2070 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
2072 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
2074 * lyxlength.C (inPixels): Fix hanfling of negative length.
2075 Fix LyXLength::MU case.
2077 2002-10-16 John Levon <levon@movementarian.org>
2079 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
2081 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2083 * converter.C (view): add support for $$i (file name) and $$p
2084 (file path) for the viewer command. If $$i is not specified, then
2085 it is appended to the command (for compatibility with old syntax)
2087 2002-10-14 Juergen Vigna <jug@sad.it>
2089 * undo_funcs.C (textHandleUndo): alter the order in which the
2090 new undopar is added to the LyXText, as we have to set first
2091 the right prev/next and then add it as otherwise the rebuild of
2092 LyXText is not correct. Also reset the cursor to the right paragraph,
2093 with this IMO we could remove the hack in "redoParagraphs()".
2095 2002-10-09 Angus Leeming <leeming@lyx.org>
2097 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
2098 to turn off an optimisation if a new inset is to be inserted.
2100 2002-10-11 André Pönitz <poenitz@gmx.net>
2102 * lyxtext.h: make some functions public to allow access
2103 from inset/lyxtext for handling LFUN_PRIOR/NEXT
2105 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2107 * text3.C (dispatch): when changing layout, avoid an infinite loop
2110 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2112 * lyxrc.C (read): treat a viewer or converter command of "none" as
2115 * MenuBackend.C (expandFormats): for an update, also allow the
2116 formats that are not viewable
2118 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
2119 script if it is newer than the lyxrc.defaults in user directory
2121 2002-10-07 André Pönitz <poenitz@gmx.net>
2123 * text.C: Vitaly Lipatov's small i18n fix
2125 2002-09-25 Angus Leeming <leeming@lyx.org>
2127 * ispell.h: doxygen fix.
2129 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
2131 * buffer.h (readFile): Add a new argument to the method, to allow
2132 reading of old-format templates.
2134 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2136 * toc.C (getTocList): Get TOC from InsetWrap.
2138 2002-09-16 John Levon <levon@movementarian.org>
2140 * lyxfunc.C: check tabular for cut/copy too
2142 2002-09-12 John Levon <levon@movementarian.org>
2147 * factory.C: add header
2149 * paragraph_funcs.h:
2150 * paragraph_funcs.C: cleanup
2152 2002-09-11 John Levon <levon@movementarian.org>
2154 * PrinterParams.h: odd/even default to true
2156 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2158 * PrinterParams.h: update printer parameters for new xforms dialog
2160 2002-09-11 Angus Leeming <leeming@lyx.org>
2162 * lyxserver.C (read_ready): re-write to make it more transparent
2163 and to make it work in coherent fashion under Tru64 Unix.
2165 2002-09-11 André Pönitz <poenitz@gmx.net>
2169 * text3.C: implement LFUN_WORDSEL
2171 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2173 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
2174 make floatlist_ a boost::shared_ptr<FloatList>
2176 * lyxtextclass.C: include FloatList.h
2177 (LyXTextClass): initialize floatlist_
2178 (TextClassTags): add TC_NOFLOAT
2179 (Read): match "nofloat" to TC_NOFLOAT and use it.
2180 (readFloat): modify call to floatlist_
2184 * FloatList.[Ch] (FloatList): remove commented out float
2186 (erase): new function
2188 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2190 * MenuBackend.C (expandToc): fix crash when there is no document
2193 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
2195 * many files: Add insetwrap.
2197 2002-09-09 John Levon <levon@movementarian.org>
2199 * text2.C: remove confusing and awkward depth wraparound
2201 2002-09-09 John Levon <levon@movementarian.org>
2203 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
2206 * buffer.C: remove getIncludeonlyList()
2209 * lyxfunc.C: remove headers
2211 2002-09-09 Juergen Vigna <jug@sad.it>
2213 * text.C (getColumnNearX): fix form Michael this is most
2214 probably a cut&paste bug.
2216 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2218 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
2220 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
2221 references, ws changes.
2223 * text2.C (init): update counters after init
2224 (insertParagraph): no need to set counter on idividual paragraphs.
2225 (setCounter): access the counters object in the textclass object
2226 on in the buffer object.
2227 (updateCounters): ditto
2229 * lyxtextclass.C: include counters.h, add variable ctrs_ as
2230 shared_ptr<Counters> to avoid loading counters.h in all
2232 (LyXTextClass): initialize ctrs_
2233 (TextClassTags): add TC_COUNTER, and ...
2234 (Read): use it here.
2235 (CounterTags): new tags
2236 (readCounter): new function
2237 (counters): new funtion
2238 (defaultLayoutName): return a const reference
2240 * counters.C (Counters): remove contructor
2241 (newCounter): remove a couple of unneeded statements.
2242 (newCounter): simplify a bit.
2243 (numberLabel): some small formatting changes.
2245 * buffer.[Ch]: remove all traces of counters, move the Counters
2246 object to the LyXTextClass.
2248 2002-09-06 Alain Castera <castera@in2p3.fr>
2250 * tabular.C: uses \tabularnewline; uses >{...} construct from array
2251 package to set the horizontal alignment on fixed width columns.
2254 * lyx_sty.h: added tabularnewline macro def.
2256 * LaTeXFeatures.C: added NeedTabularnewline macro feature
2258 2002-09-06 John Levon <levon@movementarian.org>
2260 * LyXAction.C: tooltips for sub/superscript
2262 * MenuBackend.C: a bit more verbose
2264 * lyxfunc.C: tiny clean
2266 * undo_funcs.C: document undo_frozen
2268 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2270 * counters.C (Counters): add missing algorithm counter.
2272 * text2.C (setCounter): lookup the counter with layouts latexname
2273 instead of by section number.
2274 (setCounter): use a hackish way to lookup the correct enum
2276 a float name->type change
2277 reset enum couners with counter name directly instead of depth value.
2279 * counters.C (Counters): remove the push_backs, change to use the
2280 float type not the float name.
2281 (labelItem): remove unused string, float name->type change
2283 * counters.h: don't include vector, loose the enums and sects vectors
2285 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2287 * lyxtextclass.C (TextClassTags): add TC_FLOAT
2288 (Read): add float->TC_FLOAT to textclassTags
2289 (Read): and handle it in the switch
2290 (readFloat): new function
2292 * FloatList.C (FloatList): comment out the hardcoded float
2295 * lyxlayout.h: ws change.
2297 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
2299 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
2301 2002-09-03 Angus Leeming <leeming@lyx.org>
2303 * BufferView_pimpl.h: qualified name is not allowed in member
2304 declaration: WorkArea & Pimpl::workarea() const;
2306 * factory.C: added using std::endl directive.
2308 * text3.C: added using std::find and std::vector directives.
2310 2002-08-29 André Pönitz <poenitz@gmx.net>
2313 * text2.C: remove unused member number_of_rows
2316 * BufferView2.C: remove file, move contents to...
2317 * BufferView.C: ... here
2319 * BufferView_pimpl.C:
2320 * factory.C: move more inset creation to factory
2322 * vspace.C: avoid direct usage of LyXText, ws changes
2325 don't provide direct access to WorkArea, use two simple
2326 acessors haveSelction() and workHeight() instead
2329 2002-08-29 John Levon <levon@movementarian.org>
2331 * BufferView_pimpl.C (dispatch): do not continue when
2334 2002-08-28 André Pönitz <poenitz@gmx.net>
2336 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
2339 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
2341 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2343 * buffer.C: increment LYX_FORMAT to 221
2345 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
2346 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
2348 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
2350 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
2352 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2354 * factory.C (createInset): use LyXTextClass::floats
2356 * MenuBackend.C (expandFloatListInsert):
2357 (expandFloatInsert):
2360 * text2.C (setCounter):
2362 * LaTeXFeatures.C (useFloat):
2363 (getFloatDefinitions):
2365 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
2367 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
2368 floatlist_, with accessor floats().
2370 * FloatList.h: remove global FloatList
2372 2002-08-26 André Pönitz <poenitz@gmx.net>
2374 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
2378 * BufferView_pimpl.C:
2379 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
2381 2002-08-25 John Levon <levon@movementarian.org>
2383 * LyXAction.C: fix margin note description
2385 2002-08-24 John Levon <levon@movementarian.org>
2389 * bufferview_funcs.C:
2391 * undo_funcs.C: cleanups
2393 * lyxfunc.C: disable CUT/COPY when no selection
2395 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2397 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
2398 in "enum UNIT"; e.g. PTW for Percent of TextWidth
2400 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
2401 Add backward compatibility to "mono", "gray" and "no".
2403 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
2405 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
2406 (and file_format >= 200).
2408 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2410 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
2412 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2414 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
2416 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
2418 * BufferView_pimpl.C:
2425 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2426 inset and code to make it work with the paragraph code. The inset
2427 can be anywhere in the paragraph, but will only do the expected
2428 thing in LaTeX if the layout file contains the parameter line
2430 (or more generally, a nonzero value) for that layout.
2432 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2434 * paragraph.h: remove the declaration of undefined counters class
2437 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
2439 * text2.C (setCounter): fixed enumeration mis-count as reported by
2440 Dr. Richard Hawkins.
2442 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2444 * paragraph_funcs.h: remove some unneeded includes
2446 * text.C (backspace): pasteParagraph now in global scipe
2448 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2449 (pasteSelection): ditto
2451 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2452 * paragraph_funcs.C (pasteParagraph): ... here
2454 2002-08-20 André Pönitz <poenitz@gmx.net>
2456 * commandtags.h: new LFUNs for swapping/copying table row/colums
2459 * lyxfunc.C: support for new lfuns
2461 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2464 * buffer.[Ch]: remove NO_COMPABILITY stuff
2466 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
2468 * boost.C (throw_exception): new file, with helper function for
2469 boost compiled without exceptions.
2474 * ParameterStruct.h:
2475 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2477 * bufferlist.C (emergencyWriteAll): use boost bind
2479 * BufferView_pimpl.C (moveCursorUpdate): remove inline
2481 * text.C: include paragraph_funcs.h
2482 (breakParagraph): breakParagraph is now in global scope
2484 * paragraph_funcs.[Ch]: new files
2486 * paragraph.C (breakParagraph,breakParagraphConservative): move to
2489 * buffer.C: include paragraph_funcs.h
2490 (insertStringAsLines): breakParagraph is now in global scope
2492 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2495 * CutAndPaste.C: include paragraph_funcs.h
2496 (cutSelection): breakParagraphConservative is now in global scope
2497 (pasteSelection): ditto
2499 * buffer.h: declare oprator== and operator!= for
2500 Buffer::inset_iterator
2502 * bufferlist.C (emergencyWrite): don't use fmt(...)
2504 * text3.C: add using std::endl
2506 * BufferView.C (moveCursorUpdate): remove default arg
2508 2002-08-20 André Pönitz <poenitz@gmx.net>
2510 * buffer.[Ch]: move inline functions to .C
2513 * BufferView_pimpl.C:
2515 * buffer.[Ch]: use improved inset_iterator
2518 * paragraph.[Ch]: write one paragraph at a time
2520 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
2522 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2523 style if style is not specified.
2525 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2527 * text2.C (setCounter): when searching for right label for a
2528 caption, make sure to recurse to parent insets (so that a caption
2529 in a minipage in a figure float works) (bug #568)
2531 2002-08-20 André Pönitz <poenitz@gmx.net>
2533 * text3.C: new file for LyXText::dispatch() and helpers
2535 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2537 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2539 2002-08-19 André Pönitz <poenitz@gmx.net>
2542 * text.C: new LyXText::dispatch()
2544 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2546 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
2548 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2550 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2553 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2555 * Makefile.am: use $(variables) instead of @substitutions@
2557 2002-08-15 André Pönitz <poenitz@gmx.net>
2560 * BufferView_pimpl.C: streamlining mathed <-> outer world
2564 * LyXAction.C: remove unused LFUN_MATH
2566 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2568 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2570 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2572 * paragraph.C (Paragraph): reformat a bit
2573 (cutIntoMinibuffer): use builtin InsetList function instad of
2577 * buffer.C: include boost/bind.hpp, add using std::for_each
2578 (writeFileAscii): use ParagraphList iterators
2579 (validate): use for_each for validate traversal of paragraphs
2580 (getBibkeyList): use ParagraphList iterators
2581 (resizeInsets): use for_each to resizeInsetsLyXText for all
2583 (getParFromID): use ParagraphList iterators
2585 * BufferView2.C (lockInset): use paragraph list and iterators
2587 2002-08-14 John Levon <levon@movementarian.org>
2589 * lyxserver.C: remove spurious xforms include
2591 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2593 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2595 2002-08-13 André Pönitz <poenitz@gmx.net>
2598 * lyxfunc.C: further cleaning
2600 2002-08-13 André Pönitz <poenitz@gmx.net>
2602 * funcrequest.h: new constructor
2604 * funcrequest.C: move stuff here from .h
2607 * BufferView_pimpl.C:
2610 * lyxfunc.C: subsequent changes
2612 * lyxfunc.h: new view() member function
2614 * lyxfunc.C: subsequent changes
2616 2002-08-13 Angus Leeming <leeming@lyx.org>
2619 * BufferView_pimpl.C:
2627 changes due to the changed LyXView interface that now returns references
2628 to member variables not pointers.
2630 2002-08-13 Angus Leeming <leeming@lyx.org>
2632 * WordLangTuple (word, lang_code): return references to strings,
2637 * lyxtext.h: forward-declare WordLangTuple.
2642 * text.C: #include "WordLangTuple.h".
2645 * text.C: (selectNextWordToSpellcheck): constify return type.
2647 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2653 * paragraph_pimpl.h:
2656 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2658 Made updateCounter always count from start of buffer, and removed
2659 second argument (par).
2660 Reverted floats number display to '#'. Perhaps I'll try again when the
2661 code base is sanitized a bit.
2663 2002-08-12 Angus Leeming <leeming@lyx.org>
2665 * buffer.[Ch] (getLabelList): constify.
2667 2002-08-07 André Pönitz <poenitz@gmx.net>
2669 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2671 * funcrequest.h: extension to keep mouse (x,y) position
2673 2002-08-12 Juergen Vigna <jug@sad.it>
2675 * BufferView2.C (insertErrors): forbid undo when inserting error
2678 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2680 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2682 * ParagraphList.[Ch]: new files
2684 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2686 * BufferView2.C (lockInset): ParagraphList changes
2689 * bufferlist.C: ditto
2693 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2695 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2696 unused class variable counter_,
2698 * paragraph.[Ch] (getFirstCounter): delete unused function
2700 * counters.C: include LAssert.h
2701 (reset): add a new function with no arg, change other version to
2702 not have def. arg and to not allow empty arg.
2704 * text2.C (setCounter): remove empty arg from call to Counters::reset
2706 2002-08-11 John Levon <levon@movementarian.org>
2708 * Makefile.am: add WordLangTuple.h
2710 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2712 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2713 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2715 * insets/insettext.C: InsetList changes
2717 * graphics/GraphicsSupport.C (operator()): InsetList changes
2719 * toc.C (getTocList): InsetList changes
2721 * paragraph_pimpl.[Ch]: InsetList changes
2723 * paragraph.[Ch]: InsetList changes
2725 * buffer.C (inset_iterator): InsetList changes
2726 (setParagraph): ditto
2727 * buffer.h (inset_iterator): ditto
2728 * iterators.C (operator++): ditto
2729 * iterators.h: ditto
2731 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2733 * InsetList.[Ch]: new files, most InsetList handling moved out of
2736 * BufferView2.C (removeAutoInsets): InsetList changes
2738 (ChangeInsets): ditto
2740 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2742 * paragraph_pimpl.h (empty): new function
2744 * paragraph.[Ch] (empty): new function
2746 * other files: use the new Paragraph::empty function
2748 2002-08-09 John Levon <levon@movementarian.org>
2750 * lyxtext.h: remove unused refresh_height
2752 2002-08-09 John Levon <levon@movementarian.org>
2759 * paragraph.C: move sgml char escaping out of paragraph
2762 * paragraph.C: remove id setter
2766 * paragraph_pimpl.C: remove dead tex_code_break_column
2768 * bufferview_funcs.C: small cleanup
2770 * lyxfunc.C: remove dead proto
2772 * lyxtext.h: make some stuff private. Remove some dead stuff.
2774 * lyxgluelength.C: make as[LyX]String() readable
2776 2002-08-08 John Levon <levon@movementarian.org>
2781 * ToolbarDefaults.C:
2784 * toc.C: lyxaction cleanup
2786 2002-08-08 John Levon <levon@movementarian.org>
2788 * BufferView2.C: small cleanup
2791 * lyxfind.C: move unnecessary header into the .C
2793 2002-08-08 John Levon <levon@movementarian.org>
2795 * funcrequest.h: just tedious nonsense
2798 * lyx_main.C: cleanups
2801 * vspace.C: remove dead header lyx_main.h
2803 2002-08-07 Angus Leeming <leeming@lyx.org>
2806 * paragraph_pimpl.h:
2807 Forward declare class Counters in paragraph.h by moving the ctrs member
2808 variable into Paragraph::Pimpl.
2809 (counters): new method, returning a reference to pimpl_->ctrs.
2811 * text2.C: ensuing changes.
2813 2002-08-07 John Levon <levon@movementarian.org>
2815 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2817 * BufferView_pimpl.C: announce X selection on double/triple
2820 * lyx_main.C: use correct bool in batch dispatch
2822 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2824 2002-08-07 André Pönitz <poenitz@gmx.net>
2826 * funcrequest.h: new class to wrap a kb_action and its argument
2829 * BufferView_pimpl[Ch]:
2833 * lyxrc.C: subsequent changes
2836 2002-08-07 John Levon <levon@movementarian.org>
2838 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2839 document options change.
2841 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2846 * makefile.am: move counters functionality over from
2847 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2849 2002-08-06 John Levon <levon@movementarian.org>
2851 * WordLangTuple.h: new file for word + language code tuple
2862 * BufferView2.C: use WordLangTuple
2865 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2867 2002-08-06 John Levon <levon@movementarian.org>
2869 * lyx_main.C: fix cmdline batch handling
2871 2002-08-06 André Pönitz <poenitz@gmx.net>
2873 * lyxrc.C: set default for show_banner to true
2875 2002-08-06 John Levon <levon@movementarian.org>
2877 * pspell.C: fix a crash, and allow new aspell to work
2879 2002-08-06 John Levon <levon@movementarian.org>
2882 * kbmap.C: small cleanup
2885 * vspace.C: add const
2887 2002-08-05 John Levon <levon@movementarian.org>
2889 * LyXAction.C: back to tabular-insert
2891 2002-08-04 John Levon <levon@movementarian.org>
2894 * BufferView.C: cosmetic change
2896 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2906 * BufferView2.C: purge all "Lyx" not "LyX" strings
2909 * lyxcursor.C: attempt to add some documentation
2914 * ToolbarDefaults.C:
2915 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2916 merge with LFUN_TABULAR_INSERT
2923 * pspell.C: split up i/pspell implementations into separate
2924 files, many cleanups
2926 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2928 * text2.C: some cleanup
2930 * lyxfunc.C: don't check for isp_command == "none" any more, it
2931 didn't make any sense
2933 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2938 * makefile.am: move counters functionality over
2939 from text2.C/paragraph.[Ch] to counters.[Ch], and
2941 2002-08-02 John Levon <levon@movementarian.org>
2943 * buffer.C: s/lyxconvert/lyx2lyx/
2945 2002-08-02 Angus Leeming <leeming@lyx.org>
2947 * lyxlex.C: revert John's change as it breaks reading of the user
2950 2002-08-02 Angus Leeming <leeming@lyx.org>
2952 * importer.C (Import):
2953 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2954 changes due to LyXView::view() now returning a boost::shared_ptr.
2956 2002-08-02 John Levon <levon@movementarian.org>
2958 * lyxlex.C: small cleanup
2960 2002-08-02 John Levon <levon@movementarian.org>
2962 * text2.C (status): small cleanup, no logic change
2964 2002-08-01 John Levon <levon@movementarian.org>
2967 * buffer.C (writeFile): don't output alerts, caller
2971 * lyx_cb.C: from above
2973 * lyxfunc.C: allow to open non-existent files
2975 2002-07-31 John Levon <levon@movementarian.org>
2977 * lyxserver.C: don't let incidental errors get
2980 2002-07-30 John Levon <levon@movementarian.org>
2982 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2984 2002-07-30 John Levon <levon@movementarian.org>
2987 * lyxserver.C: remove I/O callback too
2989 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2991 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2994 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2996 * many files: strip,frontStrip -> trim,ltrim,rtrim
2998 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3000 * PrinterParams.h: remove extern containsOnly, and include
3001 support/lstrings.h instead.
3003 * LaTeX.C (scanAuxFile): modify because of strip changes
3005 * buffer.C (makeLaTeXFile): ditto
3006 * bufferparams.C (writeFile): ditt
3007 * lyxfont.C (stateText): ditto
3008 * lyxserver.C (read_ready): ditto
3009 * vc-backend.C (scanMaster): ditto
3011 * BufferView_pimpl.h: ws changes
3013 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
3015 2002-07-26 André Pönitz <poenitz@gmx.net>
3017 * kb_sequence.C: remove unnedred usings
3019 2002-07-26 Juergen Vigna <jug@sad.it>
3021 * lyxfind.C (LyXReplace): we have to check better if the returned
3022 text is not of theLockingInset()->getLockingInset().
3024 2002-07-25 Juergen Vigna <jug@sad.it>
3026 * lyxfind.C (LyXReplace): don't replace if we don't get the
3029 * undo_funcs.C (createUndo): remove debugging code.
3031 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3033 * buffer.C (parseSingleLyXformat2Token): Use default placement
3034 when reading old floats.
3036 * FloatList.C (FloatList): Change the default placement of figure
3037 and tables to "tbp".
3039 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
3041 * MenuBackend.C: using std::max
3043 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3045 * MenuBackend.C (expandToc):
3046 (expandToc2): code moved from xforms menu frontend. It is now
3047 generic and TOCs are transparent to menu frontends.
3049 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3051 * toc.C (getTocList): protect against buf=0
3053 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
3054 Menu as first parameter. Now, this calls itself recursively to
3055 expand a whole tree (this will be useful for TOC handling)
3056 (expandFloatInsert): remove 'wide' version of floats
3058 * MenuBackend.h (submenuname): returns the name of the submenu.
3059 (submenu): returns the submenu itself, provided it has been
3060 created by MenuBackend::expand
3062 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3064 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
3065 insets which have noFontChange == true. (bug #172)
3067 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3069 * BufferView_pimpl.C: add connection objects and use them...
3072 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3074 * MenuBackend.C (expandLastfiles):
3077 (expandFloatListInsert):
3078 (expandFloatInsert):
3079 (expand): split expand in parts
3081 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3083 * lyx_gui.C: use lyx_gui::exit()
3085 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3087 * LyXAction.C: show the failing pseudo action
3089 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
3091 * buffer.C (readFile): Run the lyxconvert script in order to read
3094 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3098 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
3100 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3104 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
3106 2002-07-22 Herbert Voss <voss@lyx.org>
3109 * lyxlength.[Ch]: add support for the vertical lengths
3111 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
3113 * toc.[Ch]: std:: fixes
3115 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3117 * lyxrc.C: do not include lyx_main.h
3119 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
3125 * BufferView2.C: include "lyxlex.h"
3128 * bufferparams.h: do not #include "lyxlex.h"
3130 * lyxtextclasslist.C (Add): remove method
3131 (classlist): renamed to classlist_
3133 * paragraph_pimpl.C:
3137 * bufferview_funcs.C:
3142 * toc.C (getTocList): use BufferParams::getLyXTextClass
3144 * toc.C (getTocList): use InsetFloat::addToToc
3146 * toc.[Ch]: new files, containing helper functions to handle table
3149 * lyxfunc.C (dispatch): no need to remove spaces around command
3151 (getStatus): handle LFUN_SEQUENCE by returning the status of the
3152 first command of the sequence; it is not very clever, but I do not
3153 have a better idea, actually
3155 * LyXAction.C (LookupFunc): make sure to remove space at the
3156 beginning and end of the command
3158 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3160 * MenuBackend.C (getMenubar): new method: return the menubar of
3162 (read): treat differently reading of menu and menubar (in
3163 particular, the menubar has no name now)
3164 (Menu::menubar): remove
3166 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
3169 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3171 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
3172 a bibitem inset in a RTL paragraph.
3174 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
3176 * paragraph_pimpl.C: constify
3178 * BufferView_pimpl.C:
3180 * lyxfunc.C: fix dispatch in a nicer way
3182 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3184 * lyxfunc.C (dispatch):
3185 * BufferView_pimpl.C:
3186 * BufferView_pimpl.h:
3188 * BufferView.h: rename Dispatch() to dispatch()
3190 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
3192 * lyxlayout.C (Read): honor DependsOn tag
3194 * lyxlayout.[Ch] (depends_on): new method
3196 * version.C.in: update lyx_docversion
3198 * LaTeXFeatures.C (getMacros): only define \LyX when needed
3200 * paragraph.C (validate): remove from here...
3201 * paragraph_pimpl.C (validate): ... and move here
3202 (isTextAt): make it const
3204 * buffer.C (getLists): ws cleanup
3206 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3208 * language.C (read): Use iso8859-1 encoding in latex_lang
3209 (this prevents LyX from crashing when using iso10646-1 encoding).
3211 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3213 * text2.C (toggleInset): if cursor is inside an inset, close the
3214 inset and leave cursor _after_ it
3216 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3218 * lyxfunc.C: move minibuffer completion handling out of here
3220 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3222 * BufferView_pimpl.C:
3223 * LaTeX.C: fix dispatch calls
3225 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
3227 * text.C (drawChars): Fix Arabic text rendering.
3229 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
3233 * lyxfunc.C: remove message-push/pop
3237 * lyxfunc.C: rationalise some code by removing verboseDispatch
3238 in favour of a bool argument to dispatch()
3240 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3242 * lyx_main.C (init): make sure to read symlinks as absolute paths
3244 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3247 * lyxfunc.C: no need for commandshortcut to be a member
3249 2002-07-15 André Pönitz <poenitz@gmx.net>
3251 * converter.C: add support for $$s (scripts from lib/scripts dir)
3252 * lyx_main.C: white space
3254 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3258 * lyxrc.C: remove second exit confirmation
3260 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3265 * BufferView_pimpl.h:
3266 * BufferView_pimpl.C:
3267 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
3269 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3271 * MenuBackend.C (expand): add numeric shortcuts to document menu
3273 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
3275 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3277 * lyxfont.C (setLyXFamily):
3284 * buffer.C (asciiParagraph): use ascii_lowercase
3286 2002-07-15 Mike Fabian <mfabian@suse.de>
3288 * lyxlex_pimpl.C (search_kw):
3289 * lyxlex.C (getLongString):
3290 * converter.h (operator<):
3291 * converter.C (operator<):
3292 * buffer.C (parseSingleLyXformat2Token):
3294 * ToolbarDefaults.C (read):
3295 * MenuBackend.C (checkShortcuts):
3297 * LColor.C (getFromGUIName):
3298 (getFromLyXName): use the compare_ascii_no_case instead of
3299 compare_no_case, because in turkish, 'i' is not the lowercase
3300 version of 'I', and thus turkish locale breaks parsing of tags.
3302 2002-07-16 Angus Leeming <leeming@lyx.org>
3304 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
3305 now takes a Buffer const & argument.
3307 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3309 * BufferView.C (resize): check there's a buffer to resize
3311 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
3313 * lyxfunc.C: remove dead code
3316 * lyxserver.C: use lyx_guii::set_read_callback
3318 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3320 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
3321 an inset in a RTL paragraph.
3323 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3325 * lyxfunc.C: repaint after a font size update
3327 2002-07-15 André Pönitz <poenitz@gmx.net>
3329 * lyxlength.C: inBP should be able to return negative values
3331 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3333 * lyxfunc.C: use lyx_gui::update_fonts()
3335 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3337 * lyxfunc.C: use lyx_gui::update_color()
3339 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3345 * lyxrc.C: remove file->new asks for name option, and let
3346 buffer-new take an argument
3348 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3350 * BufferView_pimpl.C: remove unneeded extra repaint()
3352 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
3354 * LyXAction.C: allow command-sequence with NoBuffer
3356 * lyxfunc.C: don't insist on trailing ';' for command-sequence
3358 2002-07-10 Angus Leeming <leeming@lyx.org>
3360 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
3362 2002-07-09 Angus Leeming <leeming@lyx.org>
3364 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
3366 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3368 * lengthcommon.h: whitespace
3370 * lyxfunc.C: update scrollbar after goto paragraph
3372 * lyxtext.h: factor out page break drawing, and fix it so
3373 page break/added space paints as selected nicely
3375 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3377 * BufferView_pimpl.C: add FIXMEs, clean up a little
3379 2002-07-09 André Pönitz <poenitz@gmx.net>
3381 * lyxfont.[Ch]: support for wasy symbols
3383 2002-07-08 André Pönitz <poenitz@gmx.net>
3385 * BufferView_pimpl.C: apply John's patch for #93.
3387 2002-07-05 Angus Leeming <leeming@lyx.org>
3389 * BufferView_pimpl.C (buffer): generate previews if desired.
3391 * LColor.h: add "preview" to the color enum.
3393 * LColor.C (LColor): add a corresponding entry to the items array.
3395 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
3398 2002-07-05 Angus Leeming <leeming@lyx.org>
3400 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
3401 The body of the code is now in the method that is passed an ostream &
3402 rather than a file name.
3403 Pass an additional only_preamble parameter, useful for the forthcoming
3406 2002-07-03 André Pönitz <poenitz@gmx.net>
3408 * lyxfunc.C: simplify getStatus() a bit for math stuff
3410 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3412 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
3414 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3416 * text.C (changeRegionCase): do not change case of all the
3417 document when region ends at paragraph end (bug #461)
3419 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3421 * paragraph.C (startTeXParParams):
3422 (endTeXParParams): add \protect when necessary
3424 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3426 * BufferView_pimpl.C (workAreaExpose): remove warning
3428 2002-06-27 Angus Leeming <leeming@lyx.org>
3430 * Makefile.am: add lyxlayout_ptr_fwd.h.
3432 2002-06-26 André Pönitz <poenitz@gmx.net>
3434 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3436 2002-06-25 Angus Leeming <leeming@lyx.org>
3438 * lyxfunc.C (dispatch): Comment out the call to
3439 grfx::GCache::changeDisplay. The method no longer exists now that the
3440 pixmap generation part of the graphics loader has been moved into
3443 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3445 * text2.C: layout as layout
3447 * text.C: layout as layout
3449 * tabular.C (OldFormatRead): layout as layout
3451 * paragraph_pimpl.C (TeXDeeper): layout as layout
3452 (realizeFont): layout as layout
3454 * paragraph.C (writeFile): layout as layout
3455 (validate): layout as layout
3456 (getFont): layout as layout
3457 (getLabelFont): layout as layout
3458 (getLayoutFont): layout as layout
3459 (breakParagraph): layout as layout
3460 (stripLeadingSpaces): layout as layout
3461 (getEndLabel): layout as layout
3462 (getMaxDepthAfter): layout as layout
3463 (applyLayout): layout as layout
3464 (TeXOnePar): layout as layout
3465 (simpleTeXOnePar): layout as layout
3466 (TeXEnvironment): layout as layout
3467 (layout): layout as layout
3468 (layout): layout as layout
3470 * lyxtextclass.C (compare_name): new functor to work with
3471 shared_ptr, layout as layout
3472 (Read): layout as layout
3473 (hasLayout): layout as layout
3474 (operator): layout as layout
3475 (delete_layout): layout as layout
3476 (defaultLayout): layout as layout
3478 * lyxlayout_ptr_fwd.h: new file
3480 * lyxlayout.C (Read): layout as layout
3482 * lyx_cb.C (MenuInsertLabel): layout as layout
3484 * bufferlist.C (newFile): layout as layout
3486 * buffer.C (readLyXformat2): layout as layout
3487 (parseSingleLyXformat2Token): layout as layout
3488 (insertStringAsLines): layout as layout
3489 (asciiParagraph): layout as layout
3490 (latexParagraphs): layout as layout
3491 (makeLinuxDocFile): layout as layout
3492 (simpleLinuxDocOnePar): layout as layout
3493 (makeDocBookFile): layout as layout
3494 (simpleDocBookOnePar): layout as layout
3495 (getLists): layout as layout
3497 * LaTeXFeatures.C (getTClassPreamble): layout as layout
3499 * CutAndPaste.C (cutSelection): layout as layout
3500 (pasteSelection): layout as layout
3501 (SwitchLayoutsBetweenClasses): layout as layout
3503 * BufferView_pimpl.C (Dispatch): layout as layout
3504 (smartQuote): layout as layout
3506 * BufferView2.C (unlockInset): layout as layout
3508 2002-06-24 André Pönitz <poenitz@gmx.net>
3510 * lyxfunc.C: fix #487
3512 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3516 * lyxfunc.C: remove display_shortcuts, show_banner
3518 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3520 * Buffer_pimpl.C: oops, update on resize
3522 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3529 * BufferView.C: use repaint()
3531 * BufferView_pimpl.h:
3532 * BufferView_pimpl.C: s/updateScreen()/repaint()/
3533 as it's a clearer description. Remove superfluous
3536 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3538 * text.C: fix bug 488. Not ideal, but getting
3539 getWord() to work properly for the insets that
3540 matter is more difficult ...
3542 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3544 * BufferView_pimpl.C:
3547 * lyxfunc.C: remove the six million index lyxfuncs to just
3548 one, and DTRT (bug 458)
3550 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3554 * BufferView_pimpl.h:
3555 * BufferView_pimpl.C: clean up resize() stuff,
3556 and unnecessary updateScreen()s
3558 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3562 * BufferView_pimpl.h:
3563 * BufferView_pimpl.C:
3566 * minibuffer.C: remove focus management of workarea,
3567 not needed. Use screen's greyOut()
3569 2002-06-17 Herbert Voss <voss@lyx.org>
3571 * converter.C: (convert) do not post a message, when converting
3572 fails, let the calling function decide what to do in this case
3574 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3576 * lyxfunc.C: tidy up a little
3578 2002-06-16 <alstrup@diku.dk>
3580 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3581 Got rid of FORMS_H_LOCATION include. Now we are
3584 2002-06-15 LyX Development team <lyx@rilke>
3586 * buffer.[Ch] (sgmlOpenTag):
3587 (sgmlCloseTag): Added support for avoiding pernicious mixed
3588 content. Return number of lines written.
3591 (makeDocBookFile): Fixed calls to sgml*Tag.
3592 Simple white space clean.
3594 (simpleDocBookOnePar): Simple white space clean.
3596 * tabular.[Ch] (docBook): Renamed to docbook and got another
3597 argument to related with the pernicious mixed content.
3599 (docbookRow): Fixed calls for docbook inset method.
3601 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3603 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3604 so it's X11 independent.
3608 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3610 2002-06-15 Lyx Development team <lyx@electronia>
3612 * intl.h: Renamed getTrans to getTransManager.
3614 2002-06-14 Angus Leeming <leeming@lyx.org>
3616 * Makefile.am: nuke forgotten stl_string_fwd.h.
3618 2002-06-12 Angus Leeming <leeming@lyx.org>
3620 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3622 2002-06-13 Angus Leeming <leeming@lyx.org>
3625 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3627 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3629 * kbmap.C (getiso): add support for cyrillic and greek
3631 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3635 * BufferView_pimpl.h:
3636 * BufferView_pimpl.C: move bogus scrolling logic
3639 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3642 * BufferView_pimpl.C: view->resize() change
3644 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3646 * BufferView_pimpl.C: topCursorVisible
3649 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3653 * lyx_gui.C: move to frontends/
3657 * lyx_main.C: changes from above
3659 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3666 * lyx_main.C: minor tidy
3668 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3670 * BufferView_pimpl.h:
3671 * BufferView_pimpl.C:
3673 * BufferView.C: make painter() const,
3676 * BufferView2.C: use screen() accessor
3679 * lyx_main.C: some minor cleanup
3681 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3683 * BufferView_pimpl.h:
3684 * BufferView_pimpl.C: remove enter/leaveView,
3687 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3692 * BufferView_pimpl.h:
3693 * BufferView_pimpl.C: only construct screen once,
3696 * lyxrc.C: remove pointless comment
3698 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3701 * BufferView.C: remove active() and belowMouse()
3703 * BufferView_pimpl.h:
3704 * BufferView_pimpl.C: use workarea() not workarea_,
3705 and make it use a scoped_ptr instead
3707 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3709 * lyx_gui.C: add debug message on BadWindow
3711 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3713 * sp_spell.C: fdopen is not part of the C++ standard.
3715 * paragraph.C (InsetIterator): use >= instead of ==
3717 2002-06-07 Angus Leeming <leeming@lyx.org>
3719 Fixes needed to compile with Compaq cxx 6.5.
3720 * BufferView_pimpl.C:
3727 * lyxtextclasslist.C:
3732 all c-library variables have been moved into namespace std. Wrap
3733 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3738 Add a using std::abs declaration.
3740 * kbmap.h (modifier_pair):
3741 * paragraph.h (InsetTable, InsetList):
3742 * lyxfont.h (FontBits):
3743 type definition made public.
3745 * bufferlist.C (emergencyWriteAll): the compiler complains that
3746 there is more than one possible lyx::class_fun template to choose from.
3747 I re-named the void specialisation as lyx::void_class_fun.
3749 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3751 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3752 the compiler is is unable to find tostr in write_attribute.
3754 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3756 * buffer.C (sgmlError): hide #warning
3758 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3760 * xtl/*: get rid of xtl, which is not in use anyway
3762 * LyXAction.C (init):
3763 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3764 were unimplemented xtl experimentation
3766 2002-06-04 André Pönitz <poenitz@gmx.net>
3768 * lyxfunc.C: disable array operation on simple formulae
3770 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3772 * converter.C: constify a bit
3774 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3776 * lyx_gui.C: check xforms version correctly
3778 2002-04-30 Herbert Voss <voss@lyx.org>
3780 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3783 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3785 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3786 attempt to register it with a VCS)
3788 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3790 * lyx_main.C (init): honor variables LYX_DIR_13x and
3793 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3797 * lyx_main.C: fix a crash on bad command line,
3798 and give a useful exit status on error
3800 * lyxfunc.C (doImport): allow -i lyx to work
3802 2002-03-30 André Pönitz <poenitz@gmx.net>
3804 * lyxfunc.C: mathed font changes
3806 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3821 * trans_mgr.h: srcdocs, and some minor cleanups
3823 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3825 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3826 call getFont all the time)
3828 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3830 * switch from SigC signals to boost::signals
3832 2002-05-29 André Pönitz <poenitz@gmx.net>
3834 * paragraph_pimpl.C (getChar): don't call size() too often...
3836 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3838 * paragraph_pimpl.C (insertChar): do not try to update tables when
3839 appending (pos == size())
3841 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3842 in order to reduce drastically the number of comparisons needed to
3843 parse a large document
3845 2002-05-29 André Pönitz <poenitz@gmx.net>
3851 * textclasslist.[Ch]:
3852 * sp_ispell.h: whitespace change
3854 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3856 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3857 lyxaction directly now.
3859 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3863 * lyxvc.C: remove unused headers
3865 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3872 * undo_funcs.C: some cleanups. Use shared_ptr
3873 and a template for the undo stacks.
3875 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3877 * BufferView_pimpl.h:
3878 * BufferView_pimpl.C:
3885 * text2.C: use key_state/mouse_state
3887 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3889 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3892 * chset.C: change include order
3893 (loadFile): use boost regex and get rid of LRegex and LSubstring
3895 * Makefile.am (BOOST_LIBS): new variable
3898 * LaTeX.C: change include order.
3899 (scanAuxFile): use boost regex and get rid of LRegex and
3903 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3908 * FontInfo.C: moved to frontends/xforms/
3911 * FontLoader.C: moved into frontends for GUIIzation
3916 * lyxfunc.C: changes from above
3918 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3920 * LColor.C: remove spurious X include
3922 * BufferView_pimpl.C:
3927 * text2.C: move font metrics to frontends/
3929 2002-05-24 Juergen Vigna <jug@sad.it>
3931 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3932 setting the undo_cursor.
3934 * ParagraphParameters.h: include local includes first.
3936 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3938 * BufferView_pimpl.C:
3939 * BufferView_pimpl.h:
3943 * screen.C: move WorkArea into frontends/
3949 * BufferView2.C: move LyXScreen into frontends/
3953 * lyx_gui.C: move lyxlookup into frontends/xforms/
3955 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3958 * BufferView_pimpl.C:
3968 * bufferview_funcs.C:
3981 * vc-backend.C: move LyX/XFormsView into frontends/
3983 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3995 * text2.C: move Painter to frontends/
3997 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3999 * buffer.C: comment out some some code that depend upon lyx_format
4002 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
4003 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
4005 * buffer.h (NO_COMPABILITY): turn off compability
4007 * ColorHandler.C: include scoped_array.hpp
4009 * font.C: Use more specific smart_ptr header.
4012 * ShareContainer.h: ditto
4016 * BufferView_pimpl.h: ditto
4017 * ColorHandler.h: ditto
4019 * kbmap.C (defkey): change call to shared_ptr::reset
4021 2002-05-21 Juergen Vigna <jug@sad.it>
4023 * buffer.C (insertErtContents): fix to insert ert asis if it is
4024 non empty. Skip it completely if it contains only whitespaces.
4026 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4028 * BufferView_pimpl.C:
4029 * BufferView2.C: clear selection on paste (bug 393)
4031 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4033 * DepTable.C: include ctime
4035 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4037 * buffer.C (latexParagraphs): Add new argument (moving_arg).
4039 2002-05-14 Juergen Vigna <jug@sad.it>
4041 * text.C (breakParagraph): fixed function to honor the keepempty
4042 layout in the right maner and also to permit the right breaking
4043 algorithm on empty or non empyt keepempty paragraphs.
4045 * paragraph.C (breakParagraph): we have to check also if the par
4046 is really empty (!size()) for isempty otherwise we do the wrong
4049 2002-05-10 Juergen Vigna <jug@sad.it>
4051 * buffer.[Ch] : The following are only changes to the ert
4052 compatibility read reading old LaTeX layout and font stuff and
4053 convert it to ERTInsets.
4055 * buffer.h: added isErtInset().
4057 * buffer.C (struct ErtComp): add a fromlayout bool to check
4058 if we're inside a LaTeX layout.
4059 (isErtInset): new helper function.
4060 (insertErtContents): look for other ert insets before this one
4061 and insert the contents there, so that we don't have subsequent
4062 ERT insets with nothing between them. This way we create only one
4063 inset with multiple paragraphs. Also check if we don't insert only
4064 spaces ' ' as they are ignored anyway afterwards in the .tex file
4065 so if we have only spaces we will ignore this latex part in the
4067 (parseSingleLyXformat2Token \\layout): better compatibility when
4068 reading layout-latex stuff.
4069 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
4071 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
4072 stuff after reading the inset only get the information back from
4075 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
4077 * buffer.C (makeLaTeXFile): Put language options after loading babel.
4079 * LaTeXFeatures.C (getBabelOptions): New method.
4081 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4083 * BufferView_pimpl.C (Dispatch): work around missing argument for
4086 2002-05-08 Juergen Vigna <jug@sad.it>
4088 * text.C (leftMargin): handle paragraph leftindent.
4090 * paragraph.C (writeFile): write the new \\leftindent tag.
4091 (validate): handle leftindent code.
4092 (TeXEnvironment): handle paragraphleftindent code again.
4094 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
4096 * buffer.C (parseSingleLyXformat2Token): added compatibility code
4097 for paragrap_extra indent code and new token \\leftindent.
4098 (latexParagraphs): handle the leftindent as environment.
4100 * ParameterStruct.h: added leftindent support.
4102 * ParagraphParameters.C (leftIndent): added support functions for
4103 the paragraph left indent.
4105 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
4108 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4110 * paragraph.C (isRightToLeftPar): Return false for a paragraph
4113 * text.C (computeBidiTables): No bidi in insetERT.
4115 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
4118 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4120 * version.C.in: pre 5
4122 2002-05-02 José Matos <jamatos@fep.up.pt>
4123 * buffer.C (makeDocBookFile): white space changes, add newline to
4125 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
4127 * tabular.C (docBook): fix typo.
4129 2002-05-03 Juergen Vigna <jug@sad.it>
4131 * screen.C (drawFromTo): recalculate the rowpointer if we had a
4132 change in LyXText as we can not be sure it was not freed.
4133 (drawOneRow): remove unused code.
4135 * text.C (drawInset): redo the calculation of the need_break_row as
4136 it could have a row which was already freed.
4137 (draw): look at the return value of drawInset and return false if
4138 it also returned false.
4139 (paintRowText): look at the return value of draw and return false if
4140 it also returned false.
4142 * lyxtext.h: added bool return type to drawInset() and draw() so that
4143 if we have a change in the row so that the rowbreak has to be redone
4144 we abort drawing as it will be called again.
4146 2002-05-02 Juergen Vigna <jug@sad.it>
4148 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
4149 a change in the maintext also if we're inside an inset.
4150 (Dispatch): set the cursor again after a break line and after the
4151 screen has been updated as it could be we're in a different row.
4153 * text2.C (fixCursorAfterDelete): check to make sure we don't request
4154 to set the cursor behind the pargraph with > size().
4155 (setCursor): check also for the same paragraph when checking where
4156 to put the cursor if we have a NFR inset.
4158 * buffer.C (parseSingleLyXformat2Token): move the compatibility
4159 parts of layout read further up as it still was in the wrong
4162 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4164 * screen.C (drawFromTo): change sine fullRebreak always return
4167 * buffer.C (parseSingleLyXformat2Token): reindent some
4169 * BufferView_pimpl.C (update): change since fullRebreak always
4171 (Dispatch): git rid of the last hardcoded "Standard"s.
4173 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4175 * text2.[Ch] (fullRebreak): make it return void now that we always
4178 2002-04-30 Juergen Vigna <jug@sad.it>
4180 * buffer.C (parseSingleLyXformat2Token): reset the font before the
4181 ert compatibility check for "latex" layout.
4183 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
4185 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
4186 minipages: use col% instead of p%, and also use the current font.
4187 (makeLaTeXFile): Fix use babel condition.
4188 (parseSingleLyXformat2Token): Correct font when reading old floats.
4190 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4192 * BufferView_pimpl.C (Dispatch): Check that float type exists when
4193 inserting list of floats.
4195 2002-04-25 Herbert Voss <voss@lyx.org>
4197 * MenuBackend.C (expand): don't add the graphics extensions to the
4200 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4202 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
4203 non-existing layout, do not complain if it was the default layout
4204 of the original class (bug #342)
4206 2002-04-24 Juergen Vigna <jug@sad.it>
4208 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
4209 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
4211 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4213 * buffer.C (getBibkeyList): If using \bibliography, return the
4214 option field with the reference itself. Enables us to provide natbib
4215 support when using \bibliography.
4217 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
4219 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
4221 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
4222 natbib is provided by the LaTeX class.
4224 2002-04-23 Juergen Vigna <jug@sad.it>
4226 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
4229 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
4231 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4233 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
4235 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
4236 ensuremath around textordmasculine, textordfeminine and
4239 2002-04-19 Juergen Vigna <jug@sad.it>
4241 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
4242 reinitializing the buffer otherwise row-dimensions may be wrong.
4243 (update): reset also the selection cursors if they do exits otherwise
4244 their x/y positions may be wrong.
4246 * text2.C (cursorDown): don't enter the inset if we came from a row
4247 above and are one row over the inset.
4249 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
4250 really leaving an inset.
4252 2002-04-18 Juergen Vigna <jug@sad.it>
4254 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
4255 of the selected paragraph does not have the selected layout also if
4258 * text2.C (setLayout): fixed bug which did not change last selected
4261 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
4262 changed the read and substituted \\end_float with \\end_inset!
4264 * BufferView_pimpl.C (cursorPrevious):
4265 (cursorNext): fixed to make it work with rows heigher than the work
4266 area without moving the cursor only the draw of the row.
4267 (workAreaMotionNotify): fix jumping over high rows.
4269 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4271 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
4274 2002-04-16 Juergen Vigna <jug@sad.it>
4276 * text2.C (setCursor): set also the irow().
4277 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
4279 (cursorDown): support for locking an inset if the x_fix value goes
4280 inside it. That way I can transverse insets too with cursor up/down.
4282 * lyxrow.h: added irow helper function same as other (i) functions.
4284 * BufferView_pimpl.C (cursorPrevious):
4285 (cursorNext): fixed for insets!
4287 2002-04-15 Juergen Vigna <jug@sad.it>
4289 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
4290 position otherwise it is wrong in some cases.
4292 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
4293 inside the inset before the call.
4295 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4297 * buffer.[Ch] (getBibkeyList): make it const.
4299 2002-04-12 Juergen Vigna <jug@sad.it>
4301 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
4303 * text2.C (getCursorX): new helper function
4304 (setCursor): compute also ix_
4305 (setCursorFromCoordinates): set also ix.
4307 * lyxcursor.h: added ix_ and helper functions.
4309 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
4311 * buffer.C (insertStringAsLines): dont break paragraph if the this
4312 paragraph is inside an inset which does not permit it!
4314 * text.C (breakParagraph): honor keepempty flag and break the paragraph
4315 also with no chars on this paragraph.
4316 (paintRowText): only paint stuff if it's inside the workarea!
4318 * paragraph.C (breakParagraph): honor keepempty flag and break the
4319 paragraph always below not above.
4321 * BufferView2.C (unlockInset): update the paragraph layout on inset
4322 unlock as we changed paragraph in such a case.
4324 * lyxfind.C (LyXFind): clear the former selection if not found!
4326 * text2.C (insertInset): freeze Undo after setUndo so that it is not
4327 again called in insertChar().
4329 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
4330 an inset which uses the whole row!
4331 (rightMargin): ditto.
4332 (insertChar): force a rebreak if we inserted an inset!
4334 2002-03-28 Herbert Voss <voss@lyx.org>
4336 * lyxlength.[Ch]: add inBP() to get the right PS-point
4337 units (BigPoint). With inPixels we have rounding errors
4339 2002-04-11 Juergen Vigna <jug@sad.it>
4341 * text2.C (setCursorFromCoordinates): set iy to the right value.
4342 (setCursor): add check if row->previous exists!
4344 * buffer.C (parseSingleLyXformat2Token): reset font after read of
4345 an old float_type as this was the case in the old code!
4347 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
4349 * BufferView2.C (showLockedInsetCursor): use iy
4350 (fitLockedInsetCursor): ditto
4352 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
4353 locked insets as there we have the right value now.
4355 * lyxcursor.C: added iy_ variable and iy functions to set to the
4356 baseline of cursor-y of the locked inset.
4358 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
4359 (setCursor): fixed for insets which need a full row.
4361 * text.C (rowLastPrintable): don't ignore the last space when before
4362 an inset which needs a full row.
4363 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
4364 as last character of a row when before a inset which needs a full row.
4366 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4368 * version.C.in: update date
4370 * text2.C (fullRebreak): try to always return true and see what
4373 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4375 * MenuBackend.C (expand): use Floating::listName
4377 * FloatList.C (FloatList): add listName argument to the built-in
4380 * Floating.[Ch]: add listName member, which is the 'List of XXX'
4381 text associated with the float.
4383 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4385 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
4387 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4389 * ShareContainer.h: add a couple of missing typenames.
4391 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
4393 * lyxrc.C (getDescription): use _() correctly rather than N_().
4395 2002-03-28 Herbert Voss <voss@lyx.org>
4397 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
4398 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
4400 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4402 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
4403 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
4405 2002-03-29 Juergen Vigna <jug@sad.it>
4407 * lyxfunc.C (dispatch): add a missing fitCursor call.
4409 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
4410 it was scrolled by a cursor move, so return the bool status.
4412 * BufferView.C (fitCursor): return the bool flag also to the outside
4413 world as this is needed.
4415 * screen.C (toggleToggle): don't subtract the offset if it's positive.
4417 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
4418 call the edit() as it is not needed (and wrong) IMO.
4419 (workAreaButtonPress): set the screen_first variable before evt.
4420 unlock the inset as this may change screen_first and then we have
4421 a wrong y position for the click!
4423 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4425 * MenuBackend.C (expand): another translation that I missed
4427 2002-03-28 Juergen Vigna <jug@sad.it>
4429 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4431 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4433 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4435 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4437 * MenuBackend.C (expand): fix export/view/update when there is no
4440 2002-03-27 Herbert Voss <voss@lyx.org>
4442 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4445 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4447 * bufferview_funcs.C (currentState): only show paragraph number
4448 for is DEVEL_VERSION is set.
4450 * lyxfunc.C (dispatch): put warning in INFO channel
4452 * MenuBackend.C (expand): translate the name of floats
4454 * FloatList.C (FloatList): mark the float names for translation
4456 * converter.C (convert): use LibScriptSearch
4458 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4460 * MenuBackend.C (defaults): fix default menu (we might as well get
4463 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4465 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4468 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4470 * lyxvc.C: reorder includes.
4472 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
4474 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4477 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
4479 * CutAndPaste.C: change layouts earlier on paste
4480 to avoid crashing when calling getFont()
4482 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4484 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4487 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4489 * WorkArea.C: remove 'Pending' debug message.
4491 * most files: ws cleanup
4493 * buffer.[Ch]: ws changes
4495 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
4497 2002-03-21 Juergen Vigna <jug@sad.it>
4499 * tabular.C (SetMultiColumn): collapse also the contents of the
4500 cells and set the last border right. Added a Buffer const * param.
4502 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4504 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
4507 2002-03-19 Juergen Vigna <jug@sad.it>
4509 * text2.C (clearSelection): reset also xsel_cache.
4511 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
4512 where it needs to be called (John tells us to do so too :)
4513 (selectionLost): reset sel_cache.
4515 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
4517 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4519 * text2.C (setCursorIntern): put debuging code in INSETS channel
4521 2002-03-19 André Pönitz <poenitz@gmx.net>
4523 * lyxfunc.C: tiny whitespace change
4525 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4527 * ToolbarDefaults.C (init):
4528 * LyXAction.C (init):
4530 * BufferView_pimpl.C (Dispatch):
4531 * lyxfunc.C (dispatch): remove LFUN_DEPTH
4533 2002-03-19 Allan Rae <rae@lyx.org>
4535 * exporter.C (Export): removeAutoInsets before doing anything else.
4536 While I've just introduced a dependency on BufferView this really is
4537 the best place to clean the buffer otherwise you need to cleanup in
4538 a dozen places before calling export or cleanup in a dozen functions
4541 * converter.C (runLaTeX):
4542 (scanLog): Better handling of removeAutoInsets and screen updates.
4544 * lyxfunc.C (dispatch): small whitespace changes
4546 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4548 * WorkArea.C (C_WorkAreaEvent): return a value.
4549 (event_cb): return 1 if we handled the event, 0 otherwise.
4551 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4553 2002-03-18 Juergen Vigna <jug@sad.it>
4555 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4556 (GetAdditionalWidth): ditto.
4560 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4561 inset if we're there actually (probably not used right now but this
4562 is the direction to go for unifying code).
4563 (paste): disable code to clear the selection.
4565 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4566 inside an InsetText and move the check further up as it is in the
4569 * text2.C (pasteSelection): set a selection over the pasted text.
4571 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4573 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4574 and libgraphics to build on Cygwin.
4576 2002-03-15 Juergen Vigna <jug@sad.it>
4578 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4579 inserting an Inset into the paragraph. I know this is not the best
4580 fix but we already use current_view in CutAndPaste so we will remove
4581 all of it's using at the same time.
4583 * buffer.C (sgmlError): deactivated function till it is rewritten in
4584 the right mode, now it can create problems.
4586 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4587 before accessing it.
4589 2002-03-14 Juergen Vigna <jug@sad.it>
4591 * undo_funcs.C (textHandleUndo): do the right thing when updating
4592 the inset after the undo/redo.
4594 * text2.C (setCursor): just some testcode for #44 not ready yet.
4596 * undo_funcs.C (textHandleUndo): set the next() and previous()
4597 pointers of the paragraph to 0 before deleting otherwise we have
4598 problems with the Paragraph::[destructor].
4600 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4601 on a paragraph insertion.
4603 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4605 * buffer.C (asciiParagraph): use += operator for char append to
4608 * paragraph.C (getFontSettings): compare >= not just >
4609 (highestFontInRange): ditto
4612 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4614 * paragraph.C: change several algorithm to be more appripriate for
4615 the problem domain. This is lookip in FontList and in the InsetList.
4617 2002-03-13 André Pönitz <poenitz@gmx.net>
4620 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4622 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4627 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4629 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4631 * Painter.C (display): anon helper function, adjust code for this
4633 (pixmap): remove function.
4635 * Painter.h: remove private display variable.
4637 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4639 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4641 * WorkArea.[Ch]: remove figinset_canvas cruft.
4643 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4645 * lyxtextclass.C (operator): add one item cache optimization.
4647 * bufferlist.h: doxy changes
4649 * bufferlist.C: ws changes
4651 * DepTable.[Ch] (ext_exist): place const in the right spot.
4653 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4655 (workAreaExpose): call resizeInsets when the with BufferView changes.
4656 (Dispatch): adjust for protectedBlank removal
4657 (specialChar): call updateInset if the insert went ok.
4659 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4660 specialChar instead.
4662 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4664 * BufferView.h: doxy change
4666 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4668 * lyxtextclass.C (operator[]): remove non-const version
4669 (defaultLayout): remove non-const version
4671 2002-03-12 Juergen Vigna <jug@sad.it>
4673 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4674 did resize the LyXText too.
4676 * buffer.C (readLyXformat2): set layout information on newly allocated
4679 * tabular.C (OldFormatRead): set layout information on the paragraph.
4681 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4683 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4685 2002-03-11 Juergen Vigna <jug@sad.it>
4687 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4689 (resizeCurrentBuffer): force also the insets to resize themselfes.
4690 (moveCursorUpdate): fixed up for InsetText.
4692 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4695 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4696 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4697 value of Dialogs::tooltipsEnabled().
4698 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4700 2002-03-08 Juergen Vigna <jug@sad.it>
4702 * BufferView_pimpl.C (updateInset): update inset inside inset also
4703 if it isn't inside theLockingInset().
4705 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4707 * buffer.C (asciiParagraph): redo some of the word and line length
4709 (getLists): look for Caption instead of caption.
4711 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4713 * buffer.C (Buffer): initialize niceFile to true
4716 (makeDocBookFile): make sure niceFile is true on exit
4718 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4720 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4722 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4724 * LyXSendto.C: remove.
4725 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4726 * lyx_gui.C: remove now-redundant comment.
4727 * ColorHandler.h: remove forward declaration of class WorkArea.
4728 * lyxfunc.C: remove #include "WorkArea.h".
4730 2002-03-07 Juergen Vigna <jug@sad.it>
4732 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4733 got moved away with the DEPM and also set the inset_owner always
4734 right which before could have been omitted.
4736 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4738 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4739 wanted layout is not found.
4741 2002-03-07 Juergen Vigna <jug@sad.it>
4743 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4745 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4747 * paragraph.C (breakParagraph): use default layout not layout of
4749 (Paragraph): clear ParagraphParameters.
4751 2002-03-06 Juergen Vigna <jug@sad.it>
4753 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4754 otherwise it would not be a valid lenght. Fixed a special case in
4755 the minipage compatibility read where we end the document with a
4758 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4759 was set as it could be 0 for InsetTexts first entry.
4761 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4763 * paragraph.C (writeFile): if layout is empty write out
4764 defaultLayoutName().
4766 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4767 file without named layout we set layout to defaultLayoutName().
4769 2002-03-06 Juergen Vigna <jug@sad.it>
4771 * CutAndPaste.C (copySelection): set layout for new paragraph.
4773 * text.C (prepareToPrint): leave ERT inset left aligned
4774 (leftMargin): don't indent paragraphs inside ERT insets
4776 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4778 * paragraph.C (breakParagraph): dont call clear do the work manually
4780 * paragraph.[Ch] (clear): remove function
4782 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4784 * paragraph.C (Paragraph): dont call clear, the work has already
4787 * lyxtextclass.C (operator): assert if n is empty
4789 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4790 work manually instead.
4792 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4794 * BufferView_pimpl.C: protect selectionLost against text == 0
4796 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4798 * text.C (breakParagraph): fix a setting layout to '0' problem.
4800 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4802 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4803 final location of file, for the included files, and graphics.
4805 2002-03-05 Juergen Vigna <jug@sad.it>
4807 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4809 2002-03-04 Juergen Vigna <jug@sad.it>
4811 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4813 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4814 last column of multicolumn cells.
4815 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4817 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4819 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4820 file if it doesn't go to a temporary file.
4822 * buffer.C (sgmlOpenTag):
4823 (sgmlCloseTag): remove extra newline insertion.
4825 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4827 * text.C (getRowNearY): comment out debug msg
4829 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4831 * text2.C: first -> first_y
4833 * text.C (getRowNearY): add some attemts at a possible
4834 optimization, not working.
4836 * tabular.[Ch]: add BufferParams to several function so that newly
4837 created paragraph can be initialized to he default layotu for the
4840 * tabular-old.C (ReadOld): add buf->params to call of Init
4842 * screen.C: rename text->first to text->first_y
4844 * paragraph.C (breakParagraph): always set layout in the broken
4847 * lyxtextclass.C (Read): remove lowercase
4850 (delete_layout): ditto
4852 * lyxtext.h: rename first -> first_y
4854 * lyxlayout.C (Read): remove lowercase
4857 (obsoleted_by): ditto
4859 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4861 * buffer.C (insertErtContents): add params are to InsetERT
4862 (parseSingleLyXformat2Token): add code to check if a paragraphs
4863 layout really exist.
4864 (parseSingleLyXformat2Token): add params to several inset
4866 (asciiParagraph): remove lowercase, do the layout comparisons with
4869 * BufferView_pimpl.C (cursorNext): first -> first_y
4870 (resizeCurrentBuffer): first -> first_y
4871 (updateScrollbar): first -> first_y
4872 (scrollCB): first -> first_y
4873 (workAreaMotionNotify): first -> first_y
4874 (workAreaButtonPress): first -> first_y
4875 (checkInsetHit): first -> first_y
4876 (cursorPrevious): first -> first_y
4877 (cursorNext): first -> first_y
4878 (Dispatch): add buffer_->params to severl inset contructors
4880 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4882 * lyxlayout.C (Read): remove some debug info that I forgot.
4884 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4885 clean up the code slightly.
4886 (makeLinuxDocFile): ditto
4887 (makeDocBookFile): ditto
4889 * text2.C: layout as string
4891 * text.C: layout as string
4893 * paragraph_pimpl.C: layout as string
4895 * paragraph.[Ch]: layout as string
4897 * lyxtextclasslist.[Ch]: layout as string
4899 * lyxtextclass.[Ch]: layout as string
4901 * lyxtext.h: layout as string
4903 * lyxlayout.[Ch]: layout as string
4905 * lyx_cb.C: layout as string
4907 * bufferview_funcs.C: layout as string
4909 * bufferparams.C: layout as string
4911 * buffer.C: layout as string
4913 * LyXView.[Ch]: layout as string
4915 * LaTeXFeatures.[Ch]: layout as string
4917 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4919 * BufferView_pimpl.C: change current_layout to string, remove
4924 (workAreaButtonRelease): layout as string
4926 * BufferView2.C (unlockInset): adjust
4928 * vspace.C (asLatexCommand): use an explict temp variable.
4930 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4932 * Makefile.am: use FRONTEND_*
4934 2002-03-01 Juergen Vigna <jug@sad.it>
4936 * tabular.C (SetWidthOfMulticolCell): changed to something better
4937 I hope but still work in progress.
4938 (recalculateMulticolumnsOfColumn): renamed function from
4939 recalculateMulticolCells as it is more appropriate now.
4940 (SetWidthOfCell): calculate multicols better.
4942 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4944 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4946 * lyxfunc.C (processKeySym): print sequence also if it is
4947 `deleted' (complete)
4949 * kbsequence.C (print): print sequence even if it is deleted
4950 (complete would be a better word, actually).
4952 * lyxfunc.C (dispatch): print complete options after a prefix key
4954 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4956 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4958 * text2.C (setCharFont): eliminate setCharFont code duplication.
4960 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4962 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4963 LFUN_TABULAR_FEATURE (bug #177)
4965 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4967 * Makefile.am: remove figure.h
4969 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4971 * Bufferview_pimpl.C:
4983 * text2.C: remove #include "lyx_gui_misc.h".
4985 * LaTeX.C: added #include <cstdio>
4987 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4989 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4990 that the paragraph following this one can have.
4992 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4994 * vspace.C (asLatexCommand): fix bogus gcc warning
4996 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4998 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
5000 * text2.C (setLayout): get rid of redundant code
5002 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
5004 * text2.C (incDepth): make sure depth cannot be increased beyond
5007 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
5009 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
5010 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
5012 * PainterBase.h (image):
5013 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
5016 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5020 * BufferView_pimpl.C:
5021 * BufferView_pimpl.h:
5041 * sp_spell.C: remove fig inset, and the crap house of
5042 cards that follows it
5044 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5050 * nt_defines.h: move .h into support/
5052 * vms_defines.h: remove
5054 * WorkArea.C: add space in debug output
5058 * buffer.C: add WITH_WARNINGS
5062 * bufferlist.C: s/retrive/retrieve/, add docs
5073 * lyxgui.C: add ID to X error handler
5075 * lyxtestclass.c: fix typo
5077 2002-02-26 Juergen Vigna <jug@sad.it>
5079 * tabular_funcs.C (write_attribute): changed so that some default
5080 attributes are not written at all.
5081 (getTokenValue): set default values before trying to read the
5082 value so we have the return value always set as default if we don't
5083 find the token we search for.
5085 * tabular.C (Write): write bools as bools not as strings!
5087 2002-02-22 Juergen Vigna <jug@sad.it>
5089 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
5090 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
5092 * text.C (leftMargin): don't add an indent for paragraphs inside
5093 tabular cells (fix #208).
5095 2002-02-21 José Matos <jamatos@fep.up.pt>
5097 * tabular.C (docBook): fixed support for long tables.
5099 2002-02-20 Juergen Vigna <jug@sad.it>
5101 * text2.C (getFont): get the drawing font of the Inset if this
5102 paragraph is inside an inset (only important for InsetERT for now).
5104 * buffer.C (insertErtContents): use new lanugage params in ERT
5107 * CutAndPaste.C: commenting out seemingly uneeded code.
5109 2002-02-19 Allan Rae <rae@lyx.org>
5111 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
5112 Iterators might be simple to use but they also get invalidated.
5113 (removeAutoInsets): renamed saved cursor tracking variables and added
5114 some comments to clarify what everything does.
5116 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5123 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
5124 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
5127 * vc-backend.h: remove #include "support/syscall.h"
5131 * converter.C: rearrange #includes in Lars' approved fashion.
5133 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
5134 forward declare class Timeout in the header file.
5136 * XFormsView.C: changes due to the above.
5138 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
5141 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
5142 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
5144 2002-02-18 José Matos <jamatos@fep.up.pt>
5146 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
5149 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5151 * a lot of small ws changes
5152 * add a lot of using std::XXX
5153 * use std construcs some places where approp.
5154 * use some exisint stuff from lyxfunctional where approp.
5155 * Make file changes to use partial linking (lets test this now...)
5157 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5161 remove #include "support/syscontr.h" as it's redundant. Always has been.
5169 change Systemcalls::System to Systemcalls::Wait and
5170 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
5171 No change of functionality, just reflects the stripped down Systemcalls
5174 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5176 * debug.[Ch]: add a GRAPHICS type to the enum.
5178 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5180 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
5182 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
5185 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5187 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
5188 match the changes below.
5190 * text2.C (toggleInset): if there is not editable inset at cursor
5191 position, try to see if cursor is _inside_ a collapsable inset
5194 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5196 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
5197 document menu has a nice checkbox
5199 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5201 * lyxlength.C (asLatexString): change PW to output as percent of
5204 * lengthcommon.C: change '%' to 't%'
5206 * lyxfunc.C (dispatch): a few comments from Martin
5208 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
5212 * BufferView_pimpl.h:
5213 * BufferView_pimpl.C: clear our selection when X tells us we've lost
5216 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5218 * vspace.C (inPixels): fix compiler warning
5220 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5222 * lyxfunc.C (getStatus): fix status message for disabled commands.
5224 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
5226 * BufferView_pimpl.C: fix crash on close buffer
5227 during selection (#227)
5229 2002-01-27 Herbert Voss <voss@lyx.org>
5231 * buffer.C: link old Figure to new graphic inset
5233 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
5235 * FontLoader.C (getFontinfo): Change the latex font names in order
5236 to match the names of type1inst.
5238 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5240 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
5242 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
5245 (remove_files_with_extension): ditto
5246 (remove_file): ditto
5249 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
5250 document is smaller than the work area height. Do not initialize
5251 static variables to 0.
5253 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5255 * lyx_gui.C (init): give the toolbar tooltips a normal font.
5257 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
5258 LFUN_LAYOUT_PARAGRAPHS.
5260 * tabular.C (GetCellFromInset): new method. Finds an inset in a
5261 tabular. It is possible to provide a possible cell, which will
5262 typically be the actcell from the corresponding insettabular
5264 * lyxfunc.C (getStatus): small cleanup; disable
5265 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
5268 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5270 * tabular.C (Validate): remove broken optimization (fixes bug #201)
5272 * paragraph.C (startTeXParParams):
5273 (endTeXParParams): new methods. The LaTeX code to
5274 start/end paragraph formatting
5275 (simpleTeXOnePar): call startTeXParParams also when paragraph is
5276 empty (fixes bug #200)
5278 * vspace.C (inPixels): adapt to the change below
5279 (inPixels): [later] more cleanups (remove unused variables)
5281 * lyxlength.C (inPixels): change to use a width and a height as
5284 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5286 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
5287 Replaced with \paperwidth
5289 * DepTable.C (insert): add std:: qualifier
5291 2002-01-18 Allan Rae <rae@lyx.org>
5293 * text2.C (removeRow): add comment. Should other refresh_?? vars be
5296 * text.C (drawInset): Turned out I didn't know enough about how
5297 rebreaking worked. This fixes most of the redraw problems. I see
5298 an occasional cursor trail when a line is broken now and the cursor
5299 placement can seem out by a few pixels also after a rebreak.
5301 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5303 * buffer.C (parseSingleLyXformat2Token): update because minipage
5304 width is now a LyXLength
5306 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
5308 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
5311 2002-01-17 Juergen Vigna <jug@sad.it>
5313 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
5315 * BufferView2.C (lockInset): call edit() so that theLockingInset()
5316 is set correctly and the inset is updated correctly.
5318 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5320 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
5321 the beginning of the loop.
5323 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
5325 * lyxrc.C: improve help for use_scalable_fonts
5327 2002-01-17 Allan Rae <rae@lyx.org>
5329 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
5331 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5333 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
5334 make sure to set their inset_owner to the right value (bug #171)
5336 2001-12-12 Ben Stanley <bds02@uow.edu.au>
5339 * DepTable.C: Implement mtime checking to reduce time spent doing
5342 2002-01-16 Juergen Vigna <jug@sad.it>
5344 * tabular.C (GetAdditionalHeight): one of error fixed.
5346 * lyxrc.C (output): small fix in writing use_pspell.
5348 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
5350 * sp_base.h: #include LString.h
5352 2002-01-16 Allan Rae <rae@lyx.org>
5354 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
5355 Can someone check this please?
5357 * text.C (drawInset): It was possible that p.row would be removed by
5358 breakAgainOneRow upsetting a few other settings. There may be another
5359 small tweak possible by setting need_break_row = 0 when p.row has been
5360 removed but I don't know enough about the logic here.
5362 2002-01-15 Allan Rae <rae@lyx.org>
5364 * text.C (insertChar): removed conditional truism.
5366 * BufferView2.C (removeAutoInsets): More tweaks.
5367 cur_par_prev could be a stray pointer. Check for trailing empty line
5368 in case last line was cur_par and only had an error inset on it.
5370 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5372 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
5375 * vc-backend.C (most methods):
5376 * exporter.C (Export):
5377 * converter.C (convert):
5379 * LyXSendto.C (SendtoApplyCB):
5380 * lyxfunc.C (dispatch):
5384 * lyx_cb.C (AutoSave):
5386 * BufferView_pimpl.C (MenuInsertLyXFile):
5387 * buffer.C (runChktex): use Buffer::filePath().
5389 * buffer.h: rename filename to filename_; rename filepath to
5390 filepath_ and make it private
5391 (filePath): new method
5393 * buffer.C (writeFile): use fileName()
5396 * lyx_main.C (init): fix starting of LyX when the binary is a
5397 link from so,ewhere else.
5399 * minibuffer.C: include <cctype> for isprint
5401 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5403 * buffer.C (parseSingleLyXformat2Token): changes associated with the
5404 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
5405 name clash with InsetCollapsable's width function.
5407 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5409 * lastfiles.C: include <iterator>
5411 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5413 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
5416 * buffer.C (makeLaTeXFile): ditto.
5417 Also make loop operation more transparent.
5419 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5421 * ToolbarDefaults.C: remove trailing comma closing namespace.
5423 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
5425 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5428 * trans.C (Load): comment out unused variable, allowed.
5430 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5432 * minibuffer.[Ch] (append_char): new method to recieve input from the
5433 drop-down completion browser. If a key was pressed, then recieve this
5434 char and append it to the existing string.
5435 (peek_event): modify the positioning data passed to the completion
5436 browser so that it can be placed above the minibuffer rather than below.
5437 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5439 * LyXAction.C (init): alloe error-next for readonly documents.
5441 * BufferView2.C (ChangeRefsIfUnique): use standard version of
5444 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5446 * bufferlist.C (readFile): create the buffer _after_ checking that
5449 * lyxfunc.C (verboseDispatch): fix handling of arguments
5451 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5453 * lyxrc.C: use string::erase() instead of initializing to "".
5456 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5458 * BufferView_pimpl.h:
5459 * BufferView_pimpl.C:
5462 * text2.C: tell X when we have made a selection for copying
5464 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5466 * BufferView_pimpl.C (MenuInsertLyXFile):
5467 * lyxfunc.C (menuNew):
5469 (doImport): add shortcuts to directory buttons
5471 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5474 * lyxfunc.C (setStatusMessage):
5475 (getStatusMessage): new methods
5476 (getStatus):use setStatusMessage instead of setErrorMessage
5477 (dispatch): when function is disabled, set error message here
5478 [instead of in getStatus previously]
5480 * BufferView_pimpl.C (workAreaButtonRelease): update
5481 toolbar/menubar here too.
5483 2002-01-13 Allan Rae <rae@lyx.org>
5485 * BufferView2.C (removeAutoInsets): finished off earlier fix.
5486 Now seems indestructible. Remaining task is to audit all other
5487 code affected by deleteEmptyParagraphMechanism. One small quirk
5488 left is that an empty document with an error in the preamble can
5489 be made to report an error but no error box appears. I don't know
5491 (removeAutoInsets): Improved comments.
5493 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
5496 * Thesaurus.C: update for Aiksaurus 0.14
5498 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5500 * text2.C (firstParagraph): removed member function, all uses
5501 replaces with ownerParagraph
5502 (redoParagraphs): here
5504 (toggleAppendix): here
5505 * BufferView2.C (insertErrors): here
5506 (setCursorFromRow): here
5508 2002-01-13 Allan Rae <rae@lyx.org>
5510 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
5511 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
5512 There is still a way to segfault this although you may have to do this
5513 multiple times: Have an InsetERT with an unknown command in it.
5514 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
5515 <down-arrow>, <Enter> again, View->DVI, BANG!
5517 * text2.C (setCursor):
5518 (deleteEmptyParagraphMechanism):
5519 * lyxtext.h (setCursor):
5520 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5521 Making use of the return value may help fix other bugs.
5523 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5525 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5527 * LyXView.C (updateMenubar): call MenuBar::update here
5528 (updateToolbar): but not here
5529 (showState): do not update toolbar/menubar
5531 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5532 should need to care about that.
5534 * lyxfunc.C (verboseDispatch): simplify a bit
5535 (getStatus): have a version which takes a pseudoaction, and
5536 another which requires a (kb_action,string).
5538 * LyXAction.C (retrieveActionArg): make it work also when action
5539 is not a pseudo-action.
5540 (getActionName): simplify a bit
5543 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5545 * lyxfunc.C (verboseDispatch): new families of methods with
5546 several ways to specify a command and a bool to indicate whether
5547 the command name and shortcut should be displayed in minibuffer
5548 (eventually, we could extend that to a finer bitmask like
5549 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5550 (dispatch): the pristine dispatch command which just, well,
5551 dispatchs! Note it still sets its result to minibuffer; I'm not
5554 * lyxfunc.h: remove setHintMessage
5556 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5558 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5560 * BufferView_pimpl.C (specialChar): delete new inset if we have
5561 not been able to insert it.
5563 * kbmap.C: revert to using int instead of kb_action, since all we
5564 are dealing with is pseudo-actions.
5566 * LyXAction.C (searchActionArg): change to return int instead of
5567 kb_action, since the result is a pseudoaction.
5569 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5571 * buffer.C (insertErtContents): Fix (partially) the font bug.
5573 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5575 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5576 as the other one is broken on my machine!
5578 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5581 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5583 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5585 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5586 reflect their actual use. Provide compatibility code for older lyxrc
5589 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5591 change names of popup font variables in line with the changes to lyxrc.C
5593 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5595 * buffer.C (asciiParagraph): avoid outputing a word twice after
5598 * lyxrc.C (getDescription): document that document_path and
5599 template_path can be empty.
5601 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5603 * LaTeXFeatures.C (getMacros):
5604 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5606 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5608 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5610 (getPackages): rename feature "floats" to "float". Use an array to
5611 iterate over 'simple' features (i.e. just a \usepackage). Add
5612 handling of "amsmath" (renamed from "amsstyle").
5614 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5616 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5619 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5621 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5622 FuncStaus::FuncStatus & FuncStaus::some_method().
5624 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5626 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5627 of the func_satus stuff. Edited and massaged in various ways by
5630 * lyxfunc.C (getStatus): use FuncStatus
5632 2002-01-08 Juergen Vigna <jug@sad.it>
5634 * text.C (nextBreakPoint): use function Inset::isChar().
5636 * paragraph.C (TeXOnePar): use function
5637 Inset::forceDefaultParagraphs.
5639 * buffer.C (latexParagraphs): use function
5640 Inset::forceDefaultParagraphs.
5642 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5644 * lyx_gui.C (init): set the style of the menu popups to
5645 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5647 2002-01-07 Juergen Vigna <jug@sad.it>
5649 * text.C (setHeightOfRow): small fix
5650 (prepareToPrint): don't look at alignment if we don't have the place
5653 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5655 * box.C: New file. Move the Box methods and functions out of box.h,
5656 following Lars' suggestion.
5658 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5660 * box.h: #include "support/LOstream.h", needed for inlined function.
5663 * lyxtextclasslist.C: added some using std declarations.
5665 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5667 * box.h: make signed dimensions to allow insets wider than
5668 the screen (bug #162)
5670 * BufferView_pimpl.C: add some insetHit debug
5672 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5674 * vc-backend.C: add FIXME
5676 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5678 * lyxfunc.C (getStatus): enable code for showing math font status
5681 2002-01-07 Juergen Vigna <jug@sad.it>
5683 * text.C (nextBreakPoint): removed debug output not needed anymore.
5685 2002-01-06 Juergen Vigna <jug@sad.it>
5687 * text.C (nextBreakPoint): fixed up this function we had this bug
5688 since ever but now hopefully we break row better.
5689 (insertChar): we have to check if an inset is the next char as it
5690 could now happen that a large inset is causing a break.
5692 2002-01-05 Juergen Vigna <jug@sad.it>
5694 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5695 if it doesn't like to be drawed.
5697 2002-01-04 Juergen Vigna <jug@sad.it>
5699 * BufferView2.C (lockInset): forgot to set a cursor.
5701 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5703 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5708 * form_maths_panel.C:
5709 * form_maths_panel.h:
5710 * form_maths_panel.fd: implemented sub- and super- buttons in math
5713 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5714 (or ^ space) to be used as in TeX (req'd by André).
5716 * lyxfunc.C: Allow ^ and _ again to be used both as
5717 super/subscript (mathed) and as themselves (in text).
5719 2002-01-03 Allan Rae <rae@lyx.org>
5721 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5722 "LyX" or the filename of the current buffer if it has one. This is a
5723 modified form of John Levon's patch.
5725 * XFormsView.C (setWindowTitle): also set icon title.
5727 * LyXView.h (setWindowTitle): signature changed.
5728 * XFormsView.h (setWindowTitle): ditto.
5730 2002-01-02 Juergen Vigna <jug@sad.it>
5732 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5734 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5736 * screen.C (topCursorVisible): introduce a temp var for
5737 text->cursor.row(), handle the case where this row is null. (kindo
5740 * text2.C (setCursor): add a couple of asserts.
5742 * paragraph.h (inset_iterator): add -> operator
5744 * paragraph.[Ch] (autoDeleteInsets): remove member function
5746 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5747 cursor pos correctly and handle inset deletion by itself.
5748 (insertErrors): move iterator declaration out of for expression
5750 * lyxtextclass.C: add <algorithm>
5752 * Makefile.am: added the new files to sources, removed layout.C
5754 * layout.C: removed file
5756 * layout.h: remove LYX_DUMMY_LAYOUT
5758 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5762 * lyxtextclass.[Ch]:
5763 * lyxtextclasslist.[Ch]: new files
5765 * include order changes to a lot of files, also changes because of
5768 2001-12-27 Juergen Vigna <jug@sad.it>
5770 * buffer.C (asciiParagraph): more fixes.
5772 * tabular.C (ascii): make ascii export support export of only the
5773 data separated by a column-delimiter.
5774 (ascii): better support for ascii export.
5776 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5778 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5780 * tabular_funcs.C: use a "using std::getline" instead of the
5781 previous fix from Angus (necessary for cxx + lyxstring)
5783 2001-12-24 Juergen Vigna <jug@sad.it>
5785 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5787 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5788 problems. First check a minipage also if we have some ert-contents
5789 (not only on par->size(), second set the right depth of the paragraph
5790 on the relink to the root-paragraph-list!
5792 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5793 which then did not anymore update the main paragraphs on undo/redo!
5795 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5797 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5798 code. Support all font-changing funcs (even those which are not in
5799 menu currently). Support for reporting font settings in
5800 mathed (disabled until Andre provides a function on mathed's side).
5802 * func_status.h (toggle): small helper function to set toggle
5805 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5807 * tabular_funcs.C: getline -> std::getline
5809 2001-12-21 Juergen Vigna <jug@sad.it>
5811 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5812 accessed and could be 0 (I couldn't generate this but it seems
5815 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5817 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5818 * tabular_funcs.h: here and include iosfwd
5820 2001-12-20 Juergen Vigna <jug@sad.it>
5822 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5823 inside inset but undo_par was.
5825 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5827 * Thesaurus.C: always include <config.h> in sources.
5831 * box.h: do not include <config.h> in header files
5833 * text.C (paintLastRow): remove unused variable
5835 * text.C (transformChar):
5837 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5840 * font.C (width): rewrite to use uppercase() instead of
5843 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5845 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5847 * lyxfind.C: clean up of find failure position change
5849 2001-12-20 Juergen Vigna <jug@sad.it>
5851 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5853 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5854 (TeXRow): added to LaTeX a single tabular row.
5855 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5856 (Latex): simplified and finally good LT-h/f support.
5857 (various_functions): just small adaptions for LT-h/f support.
5859 * tabular_funcs.[hC]: added and moved here all not classfunctions
5862 2001-12-19 Juergen Vigna <jug@sad.it>
5864 * tabular.[Ch]: better support for longtabular options (not finished
5867 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5869 * text.C (paintLastRow): use the label font instead of the font of
5870 the last character to compute the size of *_BOX. This makes more
5871 sense and avoids a crash with empty paragraphs.
5872 Use Painter::rectangle to draw EMPTY_BOX.
5874 2001-12-19 Juergen Vigna <jug@sad.it>
5876 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5877 the paragraphs if the replaced paragraph is not the first one!
5878 Tried to delete not used paragraphs but does not work yet so for
5879 now it's inside #ifdef's and by default off!
5881 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5883 * MenuBackend.C: include "lyx_main.h" instead of declaring
5884 lastfiles (actually was declared as LastFiles* instead of a
5887 2001-12-17 Juergen Vigna <jug@sad.it>
5889 * tabular.C (AppendColumn): applied John's fix
5891 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5895 * BufferView_pimpl.h:
5896 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5899 * box.h: new start of class for above
5901 * lyxfunc.C: ignore space-only minibuffer dispatches.
5902 Show the command name when it doesn't exist
5904 * minibuffer.C: don't add empty lines to the history
5906 * minibuffer.C: add a space on dropdown completion
5908 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5910 * text.C: fix line above/below drawing in insets
5912 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5914 * lyxlength.C (LyXLength): Initialize private variables.
5916 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5918 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5919 when inserting error insets.
5921 2001-12-13 Juergen Vigna <jug@sad.it>
5923 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5924 actually sometimes the before-paragraph.
5925 (setUndo): don't clear the redostack if we're not actually undoing!
5927 2001-12-06 Juergen Vigna <jug@sad.it>
5929 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5930 and fixed redoing of main paragraph, so we can use it now ;)
5932 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5934 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5936 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5939 2001-12-13 André Pönitz <poenitz@gmx.net>
5942 * undo_func.C: minor cleanup
5944 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5946 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5947 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5948 font in urw-fonts package which is marked as -urw-fontspecific and
5949 does not work (incidentally, changing the encoding in the
5950 fonts.dir of this package to -adobe-fontspecific fixes the
5953 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5954 is a crash when undoing first paragraph (Juergen, please take a
5955 look). THis does not mean the undo fix is wrong, just that it
5958 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5959 the (Paragraph*) version when needed instead of duplicating the
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-12 Martin Vermeer <martin.vermeer@hut.fi>
5980 * mathed/formulabase.C:
5981 * mathed/math_cursor.[Ch]:
5982 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5985 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5987 * lyxlength.[Ch] (operator!=): new function
5989 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5991 * text.C (workWidth): use Inset::parOwner to find out where the
5992 inset has been inserted. This is a huge performance gain for large
5993 documents with lots of insets. If Inset::parOwner is not set, fall
5994 back on the brute force method
5996 * paragraph_pimpl.C (insertInset):
5997 * paragraph.C (Paragraph):
5998 (cutIntoMinibuffer): set parOwner of insets when
5999 inserting/removing them
6001 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6003 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6005 * tabular-old.C (getTokenValue):
6006 * tabular.C (getTokenValue):
6007 (write_attribute): new versions for LyXLength
6008 (everywhere): adjust the use of widths
6010 * tabular.h: change the type of widths from string to LyXLength
6012 2001-12-11 Ben Stanley <bds02@uow.edu.au>
6014 * paragraph.C: fixed missing line number count when exporting
6015 Environments to LaTeX file
6017 * buffer.C: added informational message for checking line numbers.
6019 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6021 * text2.C (deleteEmptyParagraphMechanism): if there is only one
6022 paragraph, do the 'double space' part, but not the 'empty
6025 * text.C (workWidth): small optimization
6026 (getLengthMarkerHeight): use minimal size for negative lengths.
6028 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
6030 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
6032 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
6034 2001-12-11 André Pönitz <poenitz@gmx.net>
6037 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
6039 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6041 * text2.C: keep selection on a setFont()
6043 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6045 * lyx_cb.C: another bv->text misuse, from insert label
6047 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6050 * kbsequence.C: re-instate nmodifier mask
6052 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
6054 * lyx_main.h: make lyxGUI private.
6056 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6058 * lyxfind.C: place the cursor correctly on failed search
6060 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6062 * text.C (getLengthMarkerHeight): for small heights, the arrows
6063 are not always on top/bottom of the text
6064 (drawLengthMarker): smaller arrows; take the left margin in
6065 account; draw also vfills.
6067 (paintLastRow): remove special code for vfill and standard spaces,
6068 since everything is handled in drawLengthMarker now.
6070 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6072 * buffer.C (insertErtContents): try to handle font and language
6073 interaction a bit better.g
6075 * ColorHandler.C (updateColor): change the hash to cover the whole
6076 LColor enum, ws cleanup
6077 (getGCLinepars): ditto
6078 (getGCLinepars): only lookup in the linecache once.
6080 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
6082 * iterators.C (operator++): Make the iterator more robust
6084 * BufferView2.C (removeAutoInsets): Use paragraph iterators
6086 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
6088 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6091 * text.C: better added space drawing
6093 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6096 * BufferView2.C: fix layout combo update on inset unlock
6098 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6100 * Makefile.am: don't compile unused files
6102 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6106 * LyXAction.C: remove old LFUN_LAYOUTNO
6108 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6110 * paragraph_pimpl.h:
6111 * paragraph_pimpl.C: isTextAt() doesn't need font param
6113 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6116 * lyxlex.C: little cleanup
6118 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6120 * BufferView_pimpl.C: fix insertAscii for insets
6122 2001-12-05 Juergen Vigna <jug@sad.it>
6124 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
6125 set the right font on the "multi" paragraph paste!
6127 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6133 * lyxlength.C: remove out-commented code.
6149 * vc-backend.C: change "while(" to "while ("
6151 * lyxlength.[Ch]: add zero function to check if length is zero or
6153 * lyxgluelength.C: use it
6155 2001-12-05 Allan Rae <rae@lyx.org>
6157 * lyxlength.C: Attempted a fix for the abs(int) header selection.
6158 Works for 2.95.3, from what I understand of Garst's reports this should
6159 work for other g++ versions. We're screwed if the abs(int) definition
6160 changed between bugfix releases of gcc.
6162 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6164 * text.C: fix chapter label offset !
6166 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6169 * text.C: fix hfill at end of line, clean up
6171 2001-12-04 Juergen Vigna <jug@sad.it>
6173 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
6174 that we force an update of the inset and it's owners if neccessary.
6176 2001-12-03 Juergen Vigna <jug@sad.it>
6178 * text.C (rowLast): simplified code
6180 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6182 * lyxfunc.C: fix show options on timeout
6184 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6186 * screen.C (topCursorVisible): scroll half a page when the cursor
6187 reached top of bottom of screen
6189 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
6191 * minibuffer.C: deactivate on loss of focus
6193 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6195 * vspace.[Ch] (operator!=): add operator.
6197 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6199 * BufferView_pimpl.C: refuse to open an inset when
6200 there's a selection.
6202 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
6204 * BufferView_pimpl.C: allow to click on RHS of full row insets
6206 2001-11-30 Juergen Vigna <jug@sad.it>
6208 * tabular.C (LyXTabular): add a same_id to set the same id's in the
6209 insets for undo reasons.
6211 2001-11-28 André Pönitz <poenitz@gmx.net>
6213 * vspace.[Ch]: cosmetical changes
6215 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6225 * kbsequence.C: part re-write of old kb code
6228 * WorkArea.C: remove Lgb_bug_find_hack
6230 2001-11-30 José Matos <jamatos@fep.up.pt>
6232 * buffer.C (makeDocBookFile): add a comment to point a hack.
6233 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
6234 Fixed a double write of labels.
6236 2001-11-29 Ben Stanley <bds02@uow.edu.au>
6239 * LaTeX.h Fixed bug in LaTeX class where it would not
6240 re-run latex if no depfiles were changed, but the .dvi was removed.
6242 2001-11-28 André Pönitz <poenitz@gmx.net>
6244 * all the files from the change on 2001/11/26:
6245 use lyx::layout_type instead of LyXTextClass::size_type
6246 use lyx::textclass_type instead of LyXTextClassList::size_type
6248 2001-11-29 Juergen Vigna <jug@sad.it>
6250 * text.C: added support for paragraph::isFreeSpacing()
6252 * buffer.C: same as above
6254 * paragraph.h: inserted isFreeSpacing() function to enable
6255 FreeSpacing inside InsetERT.
6257 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
6258 of the paragraph's in the cut/copy buffer to 0!
6260 * text2.C (removeRow): remove the assert as it can!
6262 * lyxtext.h: added helper function firstRow returning firstrow and
6263 made firstrow private again.
6265 * BufferView2.C (lockInset): don't relock if we're already locked!
6267 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
6269 (removeRow): added Assert::(firstrow)
6271 * debug.C: forgot to add INSETTEXT here.
6273 2001-11-28 Juergen Vigna <jug@sad.it>
6275 * sp_spell.C (initialize): changed error text to more general
6276 spellchecker command use (not only ispell!)
6278 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
6280 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
6282 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6284 * vspace.C: initialise lyxgluelength on failure
6286 2001-11-28 Allan Rae <rae@lyx.org>
6288 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
6289 declaration & definition that looks like a function declaration.
6291 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6293 * BufferView2.C (copy):
6294 (copyEnvironment): do not clear the selection when doing a copy.
6296 * text.C (paintFirstRow): compilation fix
6298 2001-11-27 Ben Stanley <bds02@uow.edu.au>
6300 * tabular.C (Latex): correct line count when writing latex.
6302 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
6304 * paragraph_pimpl.h:
6305 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
6308 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6312 * LColor.C: change vfillline->added_space
6314 * text.C: add markers and text for added space
6316 * vspace.C: fix comment
6318 2001-11-28 André Pönitz <poenitz@gmx.net>
6320 * paragraph.C: whitespace changes
6321 * all the other files from the change on 2001/11/26:
6322 change *::pos_type into lyx::pos_type
6324 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
6326 * buffer.C (parseSingleLyXformat2Token): Set the language to the
6327 language of the document when inserting error insets.
6329 2001-11-26 André Pönitz <poenitz@gmx.net>
6331 * BufferView_pimpl.[Ch]:
6339 * paragraph_pimpl.[Ch]:
6342 * text2.C: reduce header dependencies, introduce type for positions
6344 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6346 * <various>: change to use Alert.h
6348 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
6350 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
6351 when encountering an unknown token.
6352 (readLyXformat2): Show an error message if there were unknown tokens.
6354 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6357 * BufferView_pimpl.C:
6361 * text2.C: use par->isInset()
6363 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6365 * paragraph_pimpl.h:
6366 * paragraph_pimpl.C: cleanup
6368 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6370 * text2.C (removeRow):
6371 * text.C (setHeightOfRow): remove useless (and costly) call to
6374 2001-11-20 Allan Rae <rae@lyx.org>
6376 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
6377 Now need Inset*::checkInsertChar() to return true for appropriate
6378 cases so that the characters in the minibuffer will actually be
6381 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6383 * text.C: change the order of the includes.
6384 (workWidth): initialize it at once.
6385 (workWidth): make maxw unsigned
6386 (setHeightOfRow): remove unused variable (inset)
6387 (selectSelectedWord): remove unused variable (inset)
6388 (paintRowText): fix drawing of hfill characters, and clean up a bit.
6390 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6392 * lyxserver.C (emergencyCleanup): do not try to close pipes if
6393 server is not running.
6395 (closeConnection): add debug info when server is disabled.
6397 * ColorHandler.C (getGCForeground): send debug message to GUI
6400 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
6402 * kbmap.C (bind): modify because return conventions of
6403 kb_sequence::parse have changed.
6405 * kbsequence.C (parse): only ignore spaces and not any stupid
6406 control character. This avoids tests like s[i] <= ' ', which are
6407 guaranteed to fail with 8bit characters and signed chars.
6408 Change return code to string::npos when there have been no error
6409 (0 was a bad idea when error is at first character)
6411 2001-11-14 José Matos <jamatos@fep.up.pt>
6414 * buffer.C (simpleDocBookOnePar): removed unused argument.
6416 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6418 * text.C (selectNextWordToSpellcheck): do not test explicitely for
6419 insets which are part of a word. Paragraph::isLetter takes care of
6420 that now. Use Paragraph::isInset to identify insets.
6421 (selectSelectedWord): do not test for hyphenation break.
6423 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
6424 that protected spaces are considered as spaces.
6426 * paragraph.C (isLetter): cleanup the code for ispell extras; use
6429 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
6432 * lyxserver.C: fix it. and small cleanup.
6434 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6436 * BufferView_pimpl.C: use inline helpers
6439 * LaTeXFeatures.C: fix typos
6442 * Spacing.C: move spacing_string into class
6444 * ToolbarDefaults.C: move stuff into namespace anon
6446 * layout.h: update enum
6448 * lyxfunc.C: use better debug
6450 * minibuffer.h: fix typo
6454 * WorkArea.C: add and use Debug::WORKAREA
6458 * text2.C: code re-organisation, inline helpers
6460 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
6462 * Layout.C: replaced a few cases of std::vector.size() == 0 with
6463 std::vector.empty().
6465 2001-11-09 Allan Rae <rae@lyx.org>
6467 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6468 '\n's after tables. Tabular and ERT inset work now makes this no
6471 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6474 * minibuffer.C: fix crash, improve drop-down completion
6476 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
6479 * lyxserver.C: invalidate fd's when doing endPipe()
6481 2001-11-08 José Matos <jamatos@fep.up.pt>
6483 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6484 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6487 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6489 2001-11-07 José Matos <jamatos@fep.up.pt>
6492 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6495 * buffer.C (sgmlOpenTag):
6496 * buffer.C (sgmlCloseTag): removed debug info.
6498 * buffer.h (sgmlOpenTag):
6499 * buffer.h (sgmlCloseTag): made public.
6501 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6503 * buffer.C (saveParamsAsDefaults):
6504 * lyx_cb.C (MenuLayoutSave): remove
6506 * LyXAction.C (init):
6508 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
6510 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6512 * buffer.C (setPaperStuff): removed from here...
6514 * bufferparams.C (setPaperStuff): ... and moved there.
6516 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
6520 * XFormsView.C: add support for drop-down completion
6522 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
6524 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6527 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6529 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6532 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6534 * lyx_main.C: change ref to known bugs
6536 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6538 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6539 to work around older babel problems.
6541 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6543 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6545 2001-10-24 Juergen Vigna <jug@sad.it>
6547 * tabular-old.C (ReadOld): below variable changes reflected.
6549 * tabular.[Ch]: added ltType struct for longtable header/footer
6550 defines and changed all instances where they are used. Added
6551 future support for double top/bottom rows.
6553 2001-10-24 José Matos <jamatos@fep.up.pt>
6555 * buffer.h (docbookHandleCaption):
6556 * buffer.C (docbookHandleCaption): removed unused function.
6557 (makeDocBookFile): moved docbook supported version to v4.1.
6559 2001-10-24 José Matos <jamatos@fep.up.pt>
6562 * tabular.C (docbookRow): new function to export docbook code of a row.
6563 (DocBook): now honors the longtable flags.
6565 2001-10-23 José Matos <jamatos@fep.up.pt>
6568 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6569 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6571 * buffer.C (makeLinuxDocFile):
6572 (makeDocBookFile): reworked the preamble, more clean, and with
6573 support for lyx defined entities. Changed the document declaration
6574 to be more XML friendly.
6576 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6577 if we need to output XML that should be done with a filter.
6579 2001-10-22 Juergen Vigna <jug@sad.it>
6581 * sp_pspell.h (class PSpell): add alive function needed in the
6582 controller to see if the spellchecker could be started.
6584 2001-10-22 Juergen Vigna <jug@sad.it>
6586 * buffer.C (insertStringAsLines): modify the font for inserting
6587 chars in certain conditions by calling checkInsertChar(font).
6589 2001-10-19 Juergen Vigna <jug@sad.it>
6591 * text.C (workWidth): use getRow instead of wrong algorithm.
6592 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6594 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6599 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6601 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6603 * text.C (workWidth): do not search for the exact row when
6604 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6605 optimization for big documents.
6607 2001-10-18 Juergen Vigna <jug@sad.it>
6609 * text.C (workWidth): new function with added Inset * parameter.
6611 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6613 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6615 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6616 change return type of getColumnNearX.
6619 * text.C (changeRegionCase): use uppercase/lowercase instead of
6622 (rightMargin): simplify code by factoring out the uses of
6627 (appendParagraph): use Paragraph::size_type
6629 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6631 * vspace.C (asLatexString): add a missing break
6633 2001-10-15 Herbert Voss <voss@perce.de>
6635 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6637 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6639 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6642 2001-10-10 André Pönitz <poenitz@gmx.net>
6644 * lyxfunc.C: removed greek_kb_flag.
6646 2001-10-10 Herbert Voss <voss@perce.de>
6648 * lyx_main.C: delete global string help_lyxdir.
6650 2001-10-09 Herbert Voss <voss@perce.de>
6652 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6654 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6656 * lyx_main.C: added global string help_lyxdir.
6658 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6660 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6662 * lyxrc.C (set_font_norm_type): support iso8859-4
6664 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6666 * LaTeX.C (deplog): add another regex for MikTeX
6668 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6670 * lyxrc.C (set_font_norm_type): support iso8859-3
6672 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6674 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6676 * LaTeXFeatures.C: remove special case of french and index
6678 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6679 before \begin{document}). This solves several incompatibilities.
6681 2001-10-03 Garst Reese <reese@isn.net>
6683 * lyx_cb.C: change CheckTex error msg.
6685 2001-10-03 José Matos <jamatos@fep.up.pt>
6687 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6689 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6691 * .cvsignore: update
6693 * lyx_main.C (commandLineVersionInfo): use new style version info.
6695 * buffer.C (writeFile):
6698 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6700 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6702 * version.h: update to use stuff in version.C
6704 * version.C.in: new file. Contains version information determined
6705 at compile time. This is a merging of version.h and
6708 2001-10-03 Juergen Vigna <jug@sad.it>
6710 * BufferView_pimpl.C (update): don't change "dirty" status in
6713 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6715 * WorkArea.C (c-tor): re-position version string slightly.
6717 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6719 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6720 revert to previous code.
6722 WorkArea.[Ch]: (show, destroySplash): methods removed.
6724 WorkArea.C: rework code so that it's an amalgam of the codes before and
6725 after the splash screen was moved to WorkArea.
6727 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6730 * vspace.C (inPixels):
6733 * buffer.C (insertStringAsLines):
6734 (asciiParagraph): fix types to be large enough
6736 * lyxlex_pimpl.h: change member status from short to int
6738 * layout.h: fix type of endlabeltype
6741 * kbsequence.C (parse): change return type to string::size_type
6743 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6746 * Bullet.C (bulletSize):
6747 (bulletEntry): do not use short ints as parameters
6749 * BufferView2.C (insertLyXFile): change a char to an int.
6751 * WorkArea.C (WorkArea): remove unneeded floats in computation
6753 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6755 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6757 * paragraph.C (asString): Do not ignore newline/hfill chars when
6758 copying to the clipboard.
6760 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6762 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6763 after a multi-line inset.
6765 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6767 * paragraph.C (validate): Set NeedLyXFootnoteCode
6769 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6771 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6772 and decrease-error to decrease.
6774 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6776 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6777 it more readable (should be equivalent)
6779 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6781 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6783 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6785 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6786 of a cursor (row, etc.) after a character has been deleted
6787 (deleteEmptyParagraphMechanism): call the method above on _all_
6788 cursors held by the LyXText when a double space has been
6791 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6793 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6795 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6797 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6798 background. Use greyOut() and the new show() methods to toggle between
6799 the foreground and background. Add code to remove the splash after
6800 its initial showing.
6802 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6803 (create_forms): no longer call Dialogs::showSplash.
6805 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6807 * .cvsignore: add version_info.h
6809 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6811 * version_info.h.in: new file
6813 * Makefile.am: add version_info.h.in
6815 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6816 version_info.h instead of VERSION_INFO
6818 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6820 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6821 The ERT inset now returns string().
6823 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6825 * lyxtext.h, text.C (selectNextWord): renamed as
6826 selectNextWordToSpellcheck.
6828 * text.C (selectNextWordToSpellcheck): Modified to not select
6829 words inside an ERT inset.
6831 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6833 * lyx_cb.C (MenuLayoutSave): change a bit the question
6835 * sp_base.h: include <sys/types.h>
6837 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6839 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6841 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6843 * several files: fix typos in user-visible strings
6845 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6847 * text2.C (pasteSelection): do not set the selection, since it
6848 will be cleared later. Actually, the intent was to fix the way the
6849 selection was set, but I figured rmoving the code was just as good.
6851 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6853 * FontLoader.C (available): Check if font is available without
6856 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6858 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6860 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6862 * lyxrc.[Ch]: added display_graphics variable and associated code.
6864 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6866 * bufferparams.C (hasClassDefaults): new method. Returns true if
6867 the buffer parameters correspond to known class defaults
6869 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6871 * XFormsView.C (show): set minimum size to the main window.
6873 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6875 * text2.C (copySelection):
6877 * lyxfind.C (LyXReplace):
6878 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6879 LyXText::selectionAsString.
6881 * paragraph.C (asString): add "label" argument to the second form
6883 * text2.C (selectionAsString): add "label" argument and pass it to
6884 Paragraph::asString.
6886 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6888 * lyx_main.C (commandLineHelp): remove version information
6890 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6892 * lyx_main.C: add -version commandline option
6894 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6896 * paragraph.h: make the optional constructor arg required instead.
6897 some modifications to other files because of this.
6899 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6901 * lyxserver.C (C_LyXComm_callback): make it static
6903 * lyx_main.C (error_handler): make it static
6905 * lyx_gui.C (LyX_XErrHandler): make it static
6907 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6909 * WorkArea.C: make the extern "C" methods static.
6911 * Makefile.am (lyx_LDADD): simplify
6913 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6915 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6916 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6918 * LyXAction.C (init):
6919 * lyxfunc.C (dispatch): associated code removal.
6921 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6923 * lyxfont.h (isSymbolFont): shut off warning
6925 * text.C (setHeightOfRow):
6926 (getVisibleRow): fix crash with empty paragraphs which have a
6929 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6931 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6934 2001-09-04 José Matos <jamatos@fep.up.pt>
6937 * tabular.C (docbook): rename docBook method to docbook.
6939 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6941 * Makefile.am: add dependencies to main.o.
6943 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6945 * FontLoader.C (available): Return false if !lyxrc.use_gui
6947 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6949 * FontInfo.C (query):
6950 * converter.C (view):
6951 * importer.C (Import):
6952 * exporter.C (Export): Can not -> cannot.
6954 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6956 * BufferView_pimpl.C: allow to create index inset even if
6959 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6961 * buffer.C (getLists): replace boost::tie code with an explicit pair
6962 as boost::tie can break some compilers.
6964 * iterators.h: Added a std:: declaration to the return type of
6967 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6969 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6972 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6974 * iterators.[Ch]: New files. Provide paragraph iterators.
6976 * buffer.C (changeLanguage): Use paragraph iterators.
6977 (isMultiLingual): ditto
6979 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6981 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6983 * FontLoader.C: Support for cmr font.
6985 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6987 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6988 (available): New method.
6990 * FontInfo.C (getFontname): Use scalable fonts even when
6991 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6994 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6996 * converter.C (Formats::view): reverted! Incorrect fix.
6998 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7000 * converter.C (Formats::view): only output the -paper option
7001 if the dvi viewer is xdvi, thereby fixing bug #233429.
7003 2001-08-23 Herbert Voss <voss@perce>
7005 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
7007 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
7009 * Spacing.h (Spacing): Set space to Default on in the default
7012 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
7014 * vc-backend.h (RCS::versionString): add RCS to version
7015 (CVS::versionString): add CVS to version
7017 * vc-backend.C (scanMaster): do not add CVS to version.
7018 (scanMaster): do not add RCS to version
7020 * lyxvc.C (versionString): new method
7022 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
7024 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7026 * Spacing.C (set): initialize fval
7028 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
7030 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
7033 2001-08-16 Juergen Vigna <jug@sad.it>
7035 * lyxfunc.C (dispatch): implemented the new FINISHED states.
7037 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7039 * BufferView_pimpl.C:
7042 * text2.C: setParagraph takes linespacing now
7044 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
7046 * LyxAction.C: add internal LFUN_CITATION_INSERT
7048 * LyXView.C: actually apply fix
7050 * bufferlist.C: fix open non-existent file
7052 * lyxfind.C: fix indentation
7054 * lyxfunc.C: remove unneeded assert, fix typo
7056 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7058 * MenuBackend.C: use "Floatname List"
7060 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
7062 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
7063 when converting LaTeX layout to insetERT.
7064 Generate a non-collapsed float when reading old float
7066 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7068 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
7071 2001-08-13 Juergen Vigna <jug@sad.it>
7073 * text.C (fill): return 0 instead of 20 as this seems to be the more
7076 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7078 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
7081 2001-08-13 Juergen Vigna <jug@sad.it>
7083 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
7085 (SearchBackward): comment out the unlocking of the inset_owner this
7086 should not be needed!
7088 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
7090 * Many files: Remove inherit_language, and add latex_language
7092 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
7095 2001-08-10 Juergen Vigna <jug@sad.it>
7097 * text.C (prepareToPrint): fixed hfill-width in draw!
7099 * BufferView2.C (selectLastWord): save the selection cursor as this
7100 now is cleared in the function LyXText::clearSelection!
7102 2001-08-08 Juergen Vigna <jug@sad.it>
7104 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
7105 BACKSPACE type functions.
7107 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
7108 is only cutted from the document but not put in the cut-buffer, where
7109 still the old stuff should be.
7111 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
7113 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
7115 * tabular.C (SetWidthOfCell): fixed special case where the width
7117 (LeftLine): handle '|' in align_special.
7119 (LeftAlreadyDrawed): ditto
7120 (SetWidthOfCell): ditto
7122 2001-08-07 Juergen Vigna <jug@sad.it>
7124 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
7126 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7128 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
7129 * lyxlex.[hC]: ditto
7131 2001-08-06 Juergen Vigna <jug@sad.it>
7133 * text.C (getVisibleRow): fix up row clearing a bit.
7135 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7137 * minibuffer.C: make sure the X server sees the changes in the input.
7139 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7141 * paragraph.C (getFont): split into...
7142 (getLabelFont): this
7143 (getLayoutFont): and this
7144 * paragraph_pimpl.C (realizeFont): calling this
7146 * text2.C (getFont): split into...
7147 (getLayoutFont): this
7148 (getLabelFont): and this
7149 (realizeFont): all three calling this
7151 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
7154 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7156 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
7158 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
7160 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
7161 layouts from the Quote inset insertion.
7163 2001-08-03 Juergen Vigna <jug@sad.it>
7165 * BufferView_pimpl.C (update): do the fitCursor only at the end!
7167 * screen.C (drawFromTo): don't call fitcursor here and do the loop
7168 only if status not is already CHANGED_IN_DRAW (second level).
7170 * text.C (draw): don't set the need_break_row when inside an
7173 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7175 * buffer.C (parseSingleLyXformat2Token): handle more latex
7178 * bufferview_funcs.[hC]: change function names to
7179 begin with small char, adjust other files.
7181 2001-08-02 André Pönitz <poenitz@gmx.net>
7184 BufferView_pimpl.C: remove broken special code for math-greek
7186 2001-08-02 Juergen Vigna <jug@sad.it>
7188 * BufferView_pimpl.C (update): redone this function so that we
7189 update the text again if there was a CHANGE_IN_DRAW.
7191 * screen.C (cursorToggle): removed LyXText parameter and recoded.
7192 (drawFromTo): added a new internal bool which is used by draw() and
7194 (general): some cursor drawing problems fixed.
7196 2001-08-01 Juergen Vigna <jug@sad.it>
7198 * lyxfind.C (LyXFind): fixed
7199 (SearchForward): ditto
7200 (SearchBackward): ditto
7202 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
7203 spurius drawing of the cursor in the main area.
7205 * text2.C (status): small fix which could lead to a segfault!
7206 (clearSelection): remove unneeded BufferView param.
7208 2001-08-01 André Pönitz <poenitz@gmx.net>
7210 * lyxfunc.C: small change due to changed mathed interface
7212 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7214 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
7216 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
7218 * lyxfunc.c: fail gracefully if file doesn't exist
7223 * BufferView_pimpl.C: IsDirWriteable() proto changed
7225 * LyXView.C: fix updateWindowTitle() to store the last title
7227 2001-07-31 Juergen Vigna <jug@sad.it>
7229 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
7230 the font (wrong since using of Paragraph::highestFontInRange).
7232 * paragraph.C (highestFontInRange): added a default_size parameter.
7234 * text.C (getVisibleRow): minor clear row changes (still not perfect).
7235 (setHeightOfRow): reformat
7237 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7239 * converter.[hC] + affected files: move to (inital-char)lowercase
7242 * ParagraphParameters.C (ParagraphParameters): remove commented code
7244 * PainterBase.[Ch]: remove commented code
7246 * LaTeXFeatures.h: add "bool floats" for float.sty
7248 * LaTeXFeatures.C (LaTeXFeatures): init floats
7249 (require): handle float
7250 (getPackages): do it with floats
7252 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7254 * BufferView_pimpl.C (Dispatch): improve handling of
7255 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
7257 * commandtags.h: #include lyxfont.h here temporarily to avoid
7260 * bufferlist.h: include LString.h here.
7262 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7264 * text2.C (getStringToIndex): new method.
7266 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
7268 * *: Reduced header file dependencies all over.
7270 2001-07-30 Baruch Even <baruch@lyx.org>
7272 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
7274 2001-07-29 Baruch Even <baruch@lyx.org>
7276 * buffer.C (readInset): Changed GRAPHICS to Graphics.
7278 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7280 * ParameterStruct.h (endif): add a default constructor to make
7281 sure that all variables is initialized.
7283 * ParagraphParameters.C (ParagraphParameters): adjust
7285 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7287 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
7288 index; also, check that there is something to index, and that it
7289 does not span over several paragraphs.
7290 (doubleClick): use WHOLE_WORD_STRICT for double click.
7292 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
7294 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
7297 2001-07-26 Baruch Even <baruch@lyx.org>
7299 * buffer.C (readInset): Changed to call up InsetGraphics when reading
7300 an InsetFig figure, backwards compatible reading of old figure code.
7302 2001-07-27 Juergen Vigna <jug@sad.it>
7304 * text2.C: font.realize function adaption.
7306 * text.C (draw): add a warnings lyxerr text if needed.
7308 * layout.C: font.realize function adaption.
7310 * language.C: add inherit_language and implement it's handlings
7312 * bufferview_funcs.C (StyleReset): remove language parameter from
7313 font creation (should be language_inherit now).
7315 * bufferparams.C (writeFile): handle ignore_language.
7317 * paragraph.C (getFontSettings): the language has to be resolved
7318 otherwise we have problems in LyXFont!
7320 * lyxfont.C (lyxWriteChanges): added document_language parameter
7321 (update): removed unneeded language parameter
7323 * paragraph.C (validate): fixed wrong output of color-package when
7324 using interface colors for certain fonts in certain environments,
7325 which should not seen as that on the final output.
7327 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
7329 * BufferView_pimpl.C:
7334 * LyXAction.C: add thesaurus support
7337 * lyxfind.C: add "once" parameter, for thesaurus, to not
7338 move to the next match
7340 2001-07-26 Juergen Vigna <jug@sad.it>
7342 * lyxfont.C (realize): honor ignore_language too!
7345 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
7347 * text.C (draw): one place more for ignore_language to not draw
7350 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
7352 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
7354 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7356 * buffer.C (parseSingleLyXformat2Token): a more general fix for
7357 the minipage conversion problem.
7359 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7361 * buffer.C (parseSingleLyXformat2Token): check minipage if we
7364 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7366 * BufferView.h: don't forward declare WorkArea
7368 * BufferView.C: don't include WorkArea.h
7370 2001-07-25 André Pönitz <poenitz@gmx.net>
7374 * lyxfunc.C: new LFUN 'math-space'
7376 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
7378 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7380 * text2.C (toggleInset): call open/close
7382 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7384 * lyxfunc.C (dispatch): add debug for the disabled case
7386 * font.C (buttonText): make similar to rectText
7388 * buffer.C (readInset): comment out parsing of insetlist and
7391 * PainterBase.C (rectText): small correction
7393 * BufferView_pimpl.C: comment out insettheorem and insetlist
7394 * LyXAction.C: ditto
7395 * commandtags.h: ditto
7397 2001-07-24 Juergen Vigna <jug@sad.it>
7399 * text.C (draw): honor the ignore_language.
7401 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
7403 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7405 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
7408 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7410 * lyxtext.h: remove unused (and unimplemented) methods
7412 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7414 * text.C (getVisibleRow): honor background color
7417 * Painter.h: remove default color argument for fillRectangle
7419 * text.C (backgroundColor): new method
7421 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7423 * text.C (getVisibleRow): adjust
7425 * font.[Ch] (rectText): new method, metrics
7426 (buttonText): new method, metrics
7428 * PainterBase.[hC]: make rectText and buttonText always draw and take
7431 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7433 * ToolbarDefaults.C (read):
7434 * MenuBackend.C (read): allow escaping in all strings
7436 * BufferView_pimpl.C (insertAndEditInset): new method.
7437 (Dispatch): use insertAndEditInset whenever appropriate.
7439 * BufferView_pimpl.C (insertNote): removed
7441 * BufferView_pimpl.C (smartQuote): new method, moved from
7442 BufferView; if an insetquote cannot be inserted, insert a '"'
7445 * BufferView2.C: remove insertCorrectQuote();
7447 * lyxfunc.C (getStatus): Add support for all remaingin
7450 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7452 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7453 command (necessary to pass " as parameter of self-insert.
7455 * text.C (selectWordWhenUnderCursor):
7456 (selectWord): add word_location parameter
7457 (selectWordWhenUnderCursor): same + remove special code for word
7459 (selectNextWord): use kind() to guess type of insetspecialchar,
7462 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7463 (insertErtContents): create ert insets as collapsed.
7464 (readInset): better compatibility code for Info inset.
7466 2001-07-20 Juergen Vigna <jug@sad.it>
7468 * lyxfunc.C (dispatch): use always LyXFind now!
7470 * text2.C (init): add a reinit flag so that the LyXText can be
7471 reinited instead of deleted and reallocated (used in InsetText).
7473 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7479 2001-07-18 Juergen Vigna <jug@sad.it>
7481 * text.C (selectNextWord): handle insets inside inset by calling
7482 always the bv->text functions so that we can go up the_locking_inset!
7484 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7485 in strange locations when inside an inset!
7487 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7488 handling to include insets.
7490 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7492 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7494 * LyXAction.C (init):
7496 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
7497 LIGATURE_BREAK, since the name is so stupid.
7499 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7501 * buffer.C (readInset): enable reading of new InsetNotes as well as old
7504 * FontLoader.C: remove FORMS_H_LOCATION cruft.
7506 * sp_form.[Ch]: remove.
7508 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
7510 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
7513 * src/buffer.C (readInset): ditto.
7515 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7517 * BufferView_pimpl.C (specialChar): new method. Obsoletes
7518 menuSeparator(), endOfSentenceDot(), ldots() and
7519 hyphenationPoint(), which are therefore removed.
7520 (Dispatch): handle LFUN_HYPHENATION_BREAK.
7522 * LyXAction.C (init):
7523 * commandtags.h: add LFUN_HYPHENATION_BREAK.
7525 * paragraph.C (getWord): removed.
7527 * BufferView_pimpl.C (Dispatch): use last word or selection for
7528 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7530 * lyx_main.C (queryUserLyXDir): do not ask before creating
7531 user_dir, except if it has been named explicitely.
7533 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7535 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7536 a document of zero size.
7538 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7540 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7541 approriately in the c-tor and in require().
7542 (getPackages): output the appropriate LaTeX for natbib support.
7544 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7545 variables "use_natbib" and "use_numerical_citations" when reading the
7547 (readInset): read the various natbib cite commands.
7548 (validate): white-space change.
7550 * bufferparams.[Ch]: new variables "bool use_natbib" and
7551 "bool use_numerical_citations".
7552 (writeFile): output them in the LyX file.
7554 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7556 * lyxfunc.C (getStatus): add support for all the inset insertion
7559 * text2.C (insertInset):
7560 * paragraph.C (insetAllowed):
7561 * BufferView_pimpl.C (insertInset): update to take in account the
7562 renaming of insertInsetAllowed
7564 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7566 * text2.C (getInset): new method. returns inset at cursor position.
7568 * BufferView_pimpl.C (Dispatch): changes because of this.
7570 * LyXAction.C (init): rename open-stuff to inset-toggle.
7572 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7574 * text2.C (toggleInset): renamed from openStuff; use
7577 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7579 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7581 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7583 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7585 * buffer.C (readLyXformat2): Add filename to the error dialog
7587 2001-07-18 Juergen Vigna <jug@sad.it>
7589 * tabular.C (GetCellNumber): put an assert here instead of the check!
7591 2001-07-17 Juergen Vigna <jug@sad.it>
7593 * BufferView_pimpl.C (toggleSelection): adapted too.
7595 * text.C (selectNextWord): adapted for use with insets.
7596 (selectSelectedWord): ditto
7598 2001-07-17 Juergen Vigna <jug@sad.it>
7600 * sp_spell.C (PSpell): fix initialitation order.
7602 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7604 * paragraph.C: spacing
7606 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7608 * sp_spell.C: repair language selection for pspell
7610 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7612 * lyxfunc.h: change more methods to begin with lower char.
7614 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7616 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7617 for unknown layouts.
7619 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7621 * buffer.C (readLyXformat2): Generate an error dialog if there are
7624 2001-07-16 Juergen Vigna <jug@sad.it>
7626 * sp_spell.C: always compile ISpell part.
7628 * lyxrc.C: added use_pspell entry and it's handling.
7630 2001-07-13 Juergen Vigna <jug@sad.it>
7632 * sp_spell.C: removed double includes.
7634 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7636 Consistent use of Lsstream.h:
7637 * Lsstream.h: added using std::stringstream for consistencies sake.
7639 * buffer.C: removed using std::stringstream
7641 * lyxfont.C (stateText):
7642 * paragraph.C (asString):
7643 * text.C (selectNextWord, selectSelectedWord):
7644 * text2.C (setCounter):
7645 * vspace.C (asString, asLatexString):
7646 std::ostringstream -> ostringstream.
7648 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7650 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7651 * commandtags.h: add LFUN_HELP_ABOUTLYX
7652 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7654 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7656 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7658 * lyx_gui_misc.C: remove spellchecker
7659 * lyxfunc.C: showSpellchecker
7661 * sp_ispell.h: added
7662 * sp_pspell.h: added
7664 * sp_form.[Ch]: removed
7665 * spellchecker.[Ch]: removed
7667 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7669 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7671 (simpleTeXSpecialChars): Simply print the input character without
7672 any special translation if pass_thru is set.
7674 * layout.h: Added bool pass_thru to layout class for being able to
7675 implement pass through of a paragraph for Literate Programming.
7677 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7678 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7679 * layout.C (Read): add "passthru" to list of layout tags and add
7680 code to set the pass_thru boolean when it is read.
7682 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7684 * trans_decl.h: remove allowed from KmodInfo
7686 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7690 * paragraph_pimpl.C (erase): use boost::prior
7692 * Painter.C (text): use data() instead of c_str() when length is
7694 * WorkArea.C (putClipboard): ditto
7695 * font.h (width): ditto
7697 * BufferView2.C: use it-> instead of (*it). for iterators
7699 * paragraph_pimpl.C: ditto
7700 * paragraph.C: ditto
7701 * minibuffer.C: ditto
7706 * converter.C: ditto
7708 * Variables.C: ditto
7709 * TextCache.C: ditto
7710 * MenuBackend.C: ditto
7711 * LyXAction.C: ditto
7713 * FloatList.C: ditto
7715 * ColorHandler.C (LyXColorHandler): ditto
7717 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7719 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7721 * text2.C (openStuff): reintroduce this method (which had been
7722 nuked in NEW_INSETS frenzy).
7724 * lyxfunc.C (Dispatch): when an action has not been handled, use
7725 its name in the error message, not its number.
7727 * paragraph.C (inInset): change method name to begin with lowercase.
7730 * text2.C: updates because of this.
7732 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7734 * ToolbarDefaults.C (add): add spaces in error message
7736 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7738 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7739 (readLyXformat2): rename return_par to first_par, use lyxlex's
7740 pushToken and remove the manual push handling.
7741 (parseSingleLyXformat2Token): add another ert comp. variable:
7742 in_tabular, rename return_par to first_par. handle newlines better
7744 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7746 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7748 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7750 * text2.C (getParFromID): removed
7752 * buffer.C (getParFromID): new method moved form lyxtext.
7753 * BufferView2.C (insertErrors): adjust
7754 (setCursorFromRow): adjust
7755 * BufferView_pimpl.C (restorePosition): adjust
7756 * lyxfunc.C (Dispatch): adjust
7757 * undo_funcs.C (textUndo): adjust
7759 (textHandleUndo): adjust
7760 (textHandleUndo): adjust
7762 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7764 * buffer.C: up' the LYX_FORMAT
7766 * lyxfont.h: turn NO_LATEX on as default
7768 * buffer.C (insertErtContents): new methods of tex style compability.
7769 (parseSingleLyXformat2Token): use it several places.
7770 * tabular.C (OldFormatRead): and here
7772 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7774 * text2.C: remove some commented code.
7777 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7778 * trans.C: changes because of the above.
7780 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7782 * text2.C (setCounter): Fix counters bug with bibliography layout.
7784 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7786 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7787 own member functions
7788 (simpleTeXSpecialChars): ditto
7790 2001-07-06 Juergen Vigna <jug@sad.it>
7792 * a lot of files: changed the access to LyXText::status and the
7793 call of undo-functions.
7795 * undo.[Ch]: added a inset_id to the undo informations.
7797 * undo_funcs.[Ch]: added and moved here all undo functions.
7799 * lyxtext.h: give the status enum a weight, made status_ a private
7800 variable and made accessor functions for it, removed the whole bunch
7801 of undo-functions as they are now in their own file, make some
7802 functions publically available. Added function ownerParagraph with
7805 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7806 made InInset() a const function, added getParFromID() function.
7808 * buffer.[Ch]: added const version for inset_iterator functions,
7809 added getInsetFromID() function.
7811 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7812 changed undo functions for new version.
7814 2001-07-05 Juergen Vigna <jug@sad.it>
7816 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7817 unknow mechanism does not call the proper constructor but only this
7818 one also if I request the other!?
7820 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7822 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7824 * text2.C (LyXText): use initialization lists.
7826 * lyxtext.h (Selection): initialize set_ and mark_
7827 (init): remove method
7829 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7831 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7833 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7835 * screen.[Ch]: change method names to begin with lowercase
7837 * BufferView_pimpl.C (updateScrollbar): simplify further and
7838 hopefully make it a bit faster.
7840 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7842 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7843 calling directly xforms functions.
7845 * Painter.C (Painter):
7846 * lyx_cb.C (MenuWrite):
7847 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7850 * lyx_gui.C: remove bogus guiruntime extern declaration.
7852 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7854 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7856 (redoDrawingOfParagraph): ditto
7857 (redoParagraphs): ditto
7858 (cutSelection): don't create a object for CutAndPaste use the
7859 static method directly
7860 (pasteSelection): ditto
7862 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7865 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7867 * modifications to some other files because of this.
7869 * Makefile.am (lyx_SOURCES): add XFormsView
7871 * XFormsView.[Ch]: new files
7873 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7874 the main window. Move the gui dependent stuff to XFormsView
7876 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7878 * tabular.C (GetCellInset): update cur_cell also in the row/col
7879 version of this function.
7881 * lyxfunc.C: no need to include figure_form.h here.
7887 * lyxvc.C: no need to include forms.h here.
7889 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7891 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7893 * lyxfunc.C (Dispatch):
7895 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7896 constructor argument.
7898 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7900 * paragraph.C (Paragraph): dont't clear, and just set layout.
7901 (makeSameLayout): use params's copy contructor.
7903 * ParagraphParameters.[Ch] (makeSame): delete method
7905 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7907 * Variables.[Ch]: fix indentation, rename set to isSet
7909 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7911 * lyxfunc.C (Dispatch): fix typo
7913 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7915 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7918 * bufferlist.C: include assert.h for emergencyWrite().
7920 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7922 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7923 give up at last (bug #425202) !
7925 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7931 * spellchecker.C: strip spellchecker options and bring up
7932 preferences tab instead
7934 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7936 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7937 the istringstream constructor
7939 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7941 * paragraph.C (getLayout): fix return value
7943 * paragraph.h: do not declare getLayout as inline.
7945 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7947 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7949 * lyxcursor.h (operator<): new func
7950 (operator>): new func
7951 (operator>=): new func
7952 (operator<=): new func
7954 * text.C (changeCase): use selection.start and selection.end
7955 (changeRegionCase): require from to be <= to. Require par to be a
7958 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7960 2001-06-27 Juergen Vigna <jug@sad.it>
7962 * text.C (cursorLeftOneWord): changed to return the cursor and added
7963 overlay with BufferView * parameter which calls this one.
7965 (selectWord): use new getWord function.
7966 (changeCase): renamed from changeWordCase as and extended to work
7969 * lyxtext.h: added enum word_location
7971 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7972 changeCase as this operates now also on selections.
7974 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7976 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7978 * many files: send debug output to Debug::INFO instead of
7981 * converter.C (View):
7983 (Move): send debug output to Debug::FILES instead of console.
7985 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7987 * lyxfunc.C (getStatus): use func_status
7989 * func_status.h: new header, describing the results of
7992 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7995 2001-06-25 The LyX Project <jug@sad.it>
7997 * buffer.C (sgmlOpenTag):
7999 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
8001 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8003 * text2.C: remove some dead code
8005 * tabular.C (GetCellInset): store the last cell checked (gotten)
8007 * tabular.h: add the helper for the speedup
8009 * lyxtext.h: remove some dead code
8011 2001-06-26 The LyX Project <Asger>
8013 * paragraph.C: Change export to LaTeX of alignment to
8014 \begin{center} and family for better roundtrip work with reLyX.
8016 * Tune the math drawing a bit.
8018 2001-06-25 The LyX Project <Asger>
8020 * LColor.C (LColor): New color for math background. New color
8023 2001-06-25 The LyX Project <jug@sad.it>
8025 * lyxfunc.C (MenuNew): remove extra check for .lyx file
8028 * bufferlist.C (newFile): do not restrict to files ending with
8031 * BufferView_pimpl.C (MenuInsertLyXFile):
8033 2001-06-24 The LyX Project <jug@sad.it>
8035 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
8038 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8040 * lyxtext.h: rename most methods to begin with a small char.
8041 Lots of changes because of this.
8043 * paragraph.C (Paragraph): do not call fitToSize
8044 (erase): call Pimpl::erase
8045 (insertChar): call Pimpl::insertChar
8046 (insertInset): call Pipl::insertInset
8047 (breakParagraph): do not call fitToSize
8048 (breakParagraphConservative): do not call fitToSize
8049 (fitToSize): remove method
8051 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
8053 2001-06-24 The LyX Project <Asger>
8055 * Fix Qt compilation^2
8057 2001-06-24 The LyX Project <jug@sad.it>
8059 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
8060 depthHook(getDepth()-1).
8063 * ParagraphParameters.h:
8064 * ParameterStruct.h: change type of depth to unsigned int ==
8065 depth_type. Many adaptations to other files before of that.
8067 2001-06-24 The LyX Project <Asger>
8069 * Fix Qt compilation.
8071 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8073 * paragraph.h: renamed several methods to begin with small letter.
8074 several changes to many parts of the code because of this.
8076 2001-06-23 The LyX Project <jug@sad.it>
8078 * text2.C (InsertStringAsLines): renamed from InsertStringA;
8079 rewritten to discard all double spaces when KeepEmpty is off
8080 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
8081 to only handle newlines but not fiddle with spaces and friends.
8083 * lyxfunc.C (MenuNew): when doing 'new from template', use
8084 template_path as default directory
8086 2001-06-23 The LyX Project <Asger>
8088 * Clean-up of header file includes all over
8089 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
8091 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8093 * paragraph.h: renamed from lyxparagraph.h
8095 2001-06-23 Asger <lyx@violet.home.sad.it>
8097 * Buffer.h: Removed Buffer::resize
8098 * BufferList.h: Removed BufferList::resize
8099 * LyXView.h: Added LyXView::resize. This way, we will only reflow
8100 the document lazily when we change the width, or the font settings.
8102 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8104 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
8106 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8108 * buffer.h: remove out of date comment
8110 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8113 * screen.C: fix "theoretical" GC leak
8115 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8117 * LaTeX.C (scanAuxFile):
8118 (deplog): remove trailing \r when reading stream (useful under
8121 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
8123 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
8124 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
8125 and BufferView::theLockingInset(Inset*), so should use them and not
8126 access bv_->text->the_locking_inset directly.
8128 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
8130 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8133 * tex-defs.h: remove old unused file
8135 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
8137 * BufferView_pimpl.C: fix typo, remove minibuffer message
8138 when buffer has loaded
8140 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8142 * lyxfunc.C (Dispatch): use stringstream
8143 (MenuNew): use stringstream
8144 (Open): use stringstream
8146 * importer.C (Import): use stringstream
8148 * bufferview_funcs.C (CurrentState): use stringstream
8150 * LaTeX.C (run): use stringstream
8152 * BufferView_pimpl.C (savePosition): use stringstream
8153 (restorePosition): use stringstream
8154 (MenuInsertLyXFile): use stringstream
8156 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
8169 * vspace.C: removed // -*- C++ -*- as first line.
8172 * version.h: added // -*- C++ -*- as first line.
8174 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8176 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
8178 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
8181 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8183 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
8186 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8188 * gettext.C: include LString.h even when --disable-nls is on.
8190 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
8192 * converter.h (Get): changed argument type from int to
8193 FormatList::size_type to avoid unnecessary conversion.
8195 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
8198 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8200 * gettext.h: include LString.h even when --disable-nls is on.
8202 2001-06-07 Juergen Vigna <jug@sad.it>
8204 * text.C (BreakAgain): subst spaces with tabs.
8206 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
8207 (resizeInsetsLyXText): set force on resizeLyXText.
8209 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8211 * gettext.h (gettext_init):
8212 (locale_init): use a real definition instead of a macro
8214 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8216 * Bufferview_pimpl.C:
8218 * LColor.C: further lcolor tidies
8220 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8222 * BufferView_pimpl.C (updateScrollbar): simplify.
8224 * BufferView2.C: don't include insets/insetinfo.h, change
8225 prototype for insertInset and call the Pimpl version. let
8226 updateInset call Pimpl version.
8228 * BufferView.h: move inset_slept to BufferView::Pimpl, move
8229 gotoInset to BufferView::Pimpl
8231 2001-06-01 Juergen Vigna <jug@sad.it>
8233 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
8234 inside a LockingInset (is the update needed at all?).
8236 2001-05-31 Juergen Vigna <jug@sad.it>
8238 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
8239 here not the old one otherwise how should we compare it afterwards
8242 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8247 * FontInfo.C: bring C functions into global namespace when
8250 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8252 * LString.h: make sure config.h has been loaded before LString.h.
8254 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
8255 (one for each char read by EatLine!).
8257 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
8260 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8262 * paragraph.C (BreakParagraph): set the inset_owner in the new par
8263 to the same as the par we break from
8265 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
8267 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
8269 * MenuBackend.C (expand): also create menu entries for wide
8270 versions of the floats.
8272 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
8274 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
8276 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
8277 frontends/Makefile.am
8283 * tabular.C (getTokenValue): add std::
8285 * tabular-old.C (getTokenValue): add std::
8286 (getTokenValue): ditto
8287 (getTokenValue): ditto
8289 * screen.C (ToggleSelection): adjust
8291 * lyxtext.h: put selection cursors inside a Selection struct.
8293 * lyxfunc.C (moveCursorUpdate): adjust
8295 * lyxfont.C (latexWriteStartChanges): add std::
8299 * font.h: delete with(char const *, LyXFont const &)
8301 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
8303 * FontInfo.C (getFontname): add std::
8305 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8306 (workAreaButtonPress): adjust
8307 (tripleClick): adjust
8309 (moveCursorUpdate): adjust
8312 * BufferView2.C (gotoInset): adjust
8314 2001-05-30 Juergen Vigna <jug@sad.it>
8316 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
8317 to check pspell I add this as default as I now have new pspell
8318 libraries and they seem to use this.
8320 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8322 * text2.C (CutSelection): make the cursor valid before the call to
8325 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8327 * kbsequence.C (parse): de-uglify a bit the parsing code, which
8328 relied on 0 terminated strings and other horrors. Bug found due to
8329 the new assert in lyxstring!
8331 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
8334 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8336 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
8339 * lyxfunc.C (processKeySym): change method of getting to the
8342 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
8343 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
8344 * BufferView_pimpl.[Ch]: here as private methods.
8346 2001-05-28 Juergen Vigna <jug@sad.it>
8348 * text.C (SetHeightOfRow): added the update() call again as it is
8349 needed to initialize inset dimensions!
8351 2001-05-16 Juergen Vigna <jug@sad.it>
8353 * text2.C (SetCharFont): Add new function with BufferView * and
8354 bool toggleall parameters for setting insets internal fonts.
8355 (SetFont): Freeze the undo as we may change fonts in Insets and
8356 all this change should be inside only one Undo!
8358 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
8359 setting font's in insets as for them we have the SetFont function!
8361 2001-05-15 Juergen Vigna <jug@sad.it>
8363 * text2.C (ClearSelection): to be sure we REALLY don't have any
8366 * tabular.C (TeXCellPreamble): fixed the left border problem for
8369 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
8371 * LaTeX.C (deplog): Make sure that the main .tex file is in the
8374 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8376 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
8377 LFUN_BREAKPARAGRAPH.
8379 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
8380 help test to "internal only", similar for LFUN_INSERT_URL
8382 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
8383 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
8384 auto_region_delete and deadkeys.
8386 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
8389 * LColor.C: remove some dead entries, tidy a little
8391 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8393 * lyxfunc.C (processKeySym): comment the Escape handling, remove
8395 (Dispatch): implement LFUN_ESCAPE
8397 * commandtags.h: add LFUN_ESCAPE
8399 * LyXAction.C (init): add entry for LFUN_ESCAPE
8401 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
8402 Remove commented code.
8403 (insertNote): moved here
8404 (open_new_inset): moved here
8406 * BufferView[2].[Ch]: move insertNote and open_new_inset to
8409 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8411 * kbmap.C (findbinding): clean it up and make it work correctly.
8413 * lyx_main.C (init): do not pass argc and argv as parameters
8415 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
8417 * buffer.C: fix path for OS/2 & Win32
8421 * lyx_main.C: Added os:: class.
8423 * os2_defines.h: update
8425 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8427 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8428 better by trying again with reduced state.
8430 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8432 * lyxrc.C (read): print error about invalid key sequence only when
8433 debugging (because not all latinX keysyms are known to some X
8436 * kbsequence.C (getiso): add a few std:: qualifiers
8437 (getiso): comment out extra return statement.
8439 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
8441 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8443 (Dispatch): enhance the accent inset a bit. (not perfect)
8445 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8447 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8449 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8451 * bufferlist.C (emergencyWrite): fix assert() call
8453 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
8455 * text.C (InsertChar): Added trivial patch to only send the "you
8456 can not do multiple spaces this way" message once during a
8459 2001-05-08 Baruch Even <baruch@lyx.org>
8461 * Makefile.am: Changed order of libraries to get LyX to link properly
8462 with the gnome frontend.
8464 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8466 * LaTeXFeatures.h: add a std:: qualifier
8468 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8470 * paragraph.C (String): use stringstream
8472 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8474 * paragraph.C (writeFile): remove footflag arg
8476 * buffer.C (makeLaTeXFile): use stringstream
8477 (latexParagraphs): remove footnot gurba
8479 * LaTeXFeatures.C (getPackages): use stringstream
8480 (getMacros): likewise
8481 (getTClassPreamble): likewise
8482 (getFloatDefinitions): new method
8484 * paragraph.C (writeFile): reindent
8487 * WorkArea.h: revert the xpos + etc changes.
8489 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8491 * lyxparagraph.[Ch]: add copy constructor, remove Clone
8493 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8494 (pasteSelection): likewise
8495 * text2.C (CreateUndo): likewise
8497 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8499 * minibuffer.C (peek_event): temporarily reduce the functionality
8500 of the minibuffer (to allow args on lfuns)
8502 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
8503 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
8505 * buffer.C (readInset): add compability reading of old float
8506 lists, add reading of new style float list.
8507 (readInset): avoid reevaluation of inscmd.getCmdName()
8508 (getLists): reindent
8510 * MenuBackend.C (MenuItem): implement parsing of
8511 md_floatlistinsert and md_floatinsert.
8512 (expand::LastFiles): move initalizaton of iterators out of loop,
8514 (expand::Documents): introduce typdedef vector<string> Strings,
8516 (expand::ExportFormats): introduce typedef vector<Format const *>
8517 Formats, and use it.
8518 (expand): implement FloatListInsert and FloatInsert.
8520 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8521 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8522 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8524 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8526 (Dispatch::LFUN_FLOAT_LIST): implement
8528 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8530 * LaTeX.C (run): Fix problem with --export code.
8532 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8534 * BufferView.[Ch] (workarea): removed.
8535 (getClipboard) new method; wrapper for workarea()->getClipboard()
8537 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8540 * WorkArea.h (width, height, xpos, ypos): These methods all
8541 returned the dimensions of the work_area sub-area of WorkArea,
8542 resulting in a position error if the WorkArea were resized. Now
8543 return the dimensions of the entire WorkArea.
8545 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8547 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8549 * LaTeX.C (deplog): correct the syntax of regex reg1
8551 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8553 * undo.C: remove !NEW_INSETS cruft
8555 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8557 * text2.C: remove !NEW_INSETS cruft
8559 * text.C: remove !NEW_INSETS cruft
8561 * tabular.C: remove !NEW_INSETS cruft
8563 * spellchecker.C: remove !NEW_INSETS cruft
8565 * lyxtext.h: remove !NEW_INSETS cruft
8567 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8569 * lyxfunc.C: remove !NEW_INSETS cruft
8571 * lyxfind.C: remove !NEW_INSETS cruft
8573 * lyx_cb.C: remove !NEW_INSETS cruft
8575 * figureForm.C: remove !NEW_INSETS cruft
8577 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8579 * buffer.[Ch]: remove !NEW_INSETS cruft
8581 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8583 * CutAndPaste.C: remove !NEW_INSETS cruft
8585 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8587 * BufferView2.C: remove !NEW_INSETS cruft
8589 * BufferView.h: remove !NEW_INSETS cruft
8591 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8593 * Lsstream.h: include LString.h before the sstream headers to
8594 fix problem with gcc 2.95.3 and lyxstring
8596 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8598 * lyx_main.C: add using directives when needed for C functions
8599 declared in std:: namespace.
8601 2001-04-27 Juergen Vigna <jug@sad.it>
8603 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8604 (SetHeightOfRow): comment out the update call should not be needed!
8606 2001-04-13 Juergen Vigna <jug@sad.it>
8608 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8609 (LyXTabular): tried to minimize operator= operations (and realized
8610 hopfully Lars wish).
8612 2001-04-27 Juergen Vigna <jug@sad.it>
8614 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8616 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8618 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8620 * buffer.C (readInset): hack to make listof algorithm work
8622 * BufferView_pimpl.C: hack to make listof algorithm work
8624 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8626 * LyXAction.C: removed all !NEW_INSETS cruft
8627 (init): moved lfun_item in method
8629 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8631 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8633 * BufferView2.C (theLockingInset): white space.
8635 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8637 * minibuffer.C: include <iostream>
8639 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8641 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8643 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8645 * text.[Ch] (TransposeChars): new method
8647 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8649 * call message directly through LyXView instead of through LyXFunc
8650 * BufferView2.C: adjust
8651 * BufferView_pimpl.C: adjust
8652 * FontLoader.C: adjust
8654 * bufferview_funcs.C: adjust
8655 * converter.C: adjust
8656 * figureForm.C: adjust
8657 * importer.C: adjust
8659 * lyx_gui_misc.C: adjust
8663 + more files in subdirs
8665 * lyxparagraph.h (size): move up int file
8668 * adjust all uses of Assert to lyx::Assert.
8670 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8671 lyxfunctional in namespace lyx
8672 * layout.C (hasLayout): ditto
8675 (delete_layout): ditto
8676 (NumberOfClass): ditto
8677 * converter.C (GetFormat): ditto
8682 * bufferlist.C (getFileNames): ditto
8683 (emergencyWriteAll): ditto
8686 * MenuBackend.C (hasSubmenu): ditto
8689 * BufferView_pimpl.C (getInsetByCode): ditto
8691 2001-04-18 Juergen Vigna <jug@sad.it>
8693 * vspace.C (asLatexString): fixed the 100% problem.
8695 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8697 * lyxfunc.C (Dispatch):
8699 * minibuffer.h: add a few std:: qualifiers
8701 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8703 * minibuffer.[Ch]: reimplement so that commands is initiated and
8704 run from lyxfunc, simplified som handling, and made the completion
8705 and history code for complete. wip.
8707 * lyxfunc.C (processKeySym): call message
8708 (miniDispatch): new temporary method
8709 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8710 (LFUN_MESSAGE): implement
8711 (LFUN_MESSAGE_PUSH): implement
8712 (LFUN_MESSAGE_POP): implement
8713 (initMiniBuffer): the initial/defualt minibuffer message.
8715 * lyxfont.[Ch]: inline some more getters
8717 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8719 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8721 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8722 (AutoSave): use LFUN_MESSAGE
8723 (Reconfigure): ditto
8725 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8727 * figureForm.C: use LFUN_MESSAGE
8729 * converter.C (runLaTeX): use LFUN_MESSAGE
8731 * bufferview_funcs.C: use LFUN_MESSAGE
8733 (changeDepth): ditto
8735 * bufferparams.h: use boost::
8737 * bufferlist.h: inherit privately from noncopyable
8739 * bufferlist.C (loadLyXFile): remove some commented code.
8741 * buffer.C (runChktex): use LFUN_MESSAGE
8743 * ShareContainer.h: inherit privately from noncopyable
8745 * ParagraphParameters.[hC] (depth): inline it.
8747 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8749 (message): new method
8750 (messagePush): ditto
8752 (show): init minibuffer
8753 (showState): direct call
8755 * LaTeX.[Ch]: inherit privately from noncopyable
8756 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8757 instead of WriteStatus.
8759 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8761 * BufferView_pimpl.C (buffer): don't init minibuffer
8762 (workAreaButtonPress): use LFUN_MESSAGE
8763 (workAreaButtonRelease): ditto
8764 (savePosition): ditto
8765 (restorePosition): ditto
8766 (MenuInsertLyXFile): ditto
8767 (workAreaExpose): don't init minibuffer
8768 (update): remove commented code, simplify
8770 * BufferView2.C (openStuff): use LFUN_MESSAGE
8771 (toggleFloat): ditto
8774 (copyEnvironment): ditto
8775 (pasteEnvironment): ditto
8780 (updateInset): remove some commented code
8782 * lastfiles.h: inherit privately from noncopyable
8787 * lyxlex_pimpl.h: ditto
8789 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8790 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8791 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8793 * LyXAction.h: inherit privately from noncopyable, add methods
8794 func_begin, func_end, returning iterators to the func map.
8796 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8797 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8798 (func_begin): new method
8799 (func_end): new method
8801 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8803 (copySelection): ditto
8804 (pasteSelection): ditto
8806 * BufferView.C: whitespace change
8807 * BufferView.h: inherit privately from noncopyable
8809 2001-04-16 Allan Rae <rae@lyx.org>
8811 * tabular-old.C (l_getline):
8812 * spellchecker.C (sc_check_word):
8813 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8814 an unrecognised preprocessor directive. So ensure they're wrapped.
8816 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8818 * src/exporter.C (Export): Give an error message when path to file
8821 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8823 * LaTeX.C (deplog): Always check that foundfile exists.
8825 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8828 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8830 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8832 * tabular.[Ch] (getLabelList): implement new method
8834 * minibuffer.h: comment ouf setTiimer
8836 * minibuffer.C (ExecutingCB): constify res
8837 (peek_event): constify s
8838 (Set): constify ntext
8839 (Init): constify nicename
8841 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8843 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8844 (savePosition): use two params to Minibuffer::Set
8845 (restorePosition): ditto
8847 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8849 * lyx_main.C: include language.h
8851 * Makefile.am (lyx_main.o): add language.h
8853 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8859 * CutAndPaste.C: include gettext.h
8861 * lyxfont.h: remove old hack with ON and OFF.
8864 * lyxfont.h: do not include language.h...
8869 * bufferview_funcs.C:
8875 * paragraph.C: ... but do it here instead
8877 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8879 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8881 * tabular.C: small reformat
8883 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8886 (BreakParagraph): ditto
8887 (SetOnlyLayout): ditto
8890 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8893 * lastfiles.C: removed most using decl, add std:: where needed
8895 * buffer.C: ws changes
8897 * MenuBackend.C (class compare_format): put into anon namespace
8898 (expand): constify label, names, action, action2
8901 * text.C (SingleWidth): constify font
8902 (IsBoundary): constify rtl2
8903 (GetVisibleRow): constify ww
8905 * LaTeX.C (deplog): constify logfile
8907 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8909 (workAreaExpose): constify widthChange, heightChange
8911 * lyxrow.C (par): moved
8914 * lyxrow.h: as inlines here
8916 * lyxfont.h (shape): moved from lyxfont.C
8917 (emph): moved from lyxfont.C
8919 * lyxfont.C (LyXFont): use initialization list for all
8921 (shape): move to lyxfont.h as inline
8922 (emph): move to lyxfont.h as inline
8925 2001-04-04 Juergen Vigna <jug@sad.it>
8927 * vspace.C: had to include stdio.h for use of sscanf
8929 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8932 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8933 independent of xforms.
8935 2001-04-02 Juergen Vigna <jug@sad.it>
8937 * spellchecker.C: fixed namespace placing!
8939 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8941 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8942 the LyXParagraph * is 0.
8944 2001-03-29 Juergen Vigna <jug@sad.it>
8946 * vspace.C: added support for %, c%, p%, l%.
8947 (stringFromUnit): added helper function.
8948 (asLatexString): changed to give right results for the %-values.
8950 * buffer.C: convert the widthp in a width%.
8952 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8954 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8957 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8958 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8960 * lyx_cb.[Ch]: see above.
8962 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8966 * lyx.[Ch]: replaced by figure_form.[Ch].
8970 * lyxfunc.C: changed headers associated with above changes.
8972 2001-03-27 Juergen Vigna <jug@sad.it>
8974 * BufferView_pimpl.C: set the temporary cursor right!
8976 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8978 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8980 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8982 * LString.h: removed "using std::getline"!
8984 * BufferView_pimpl.C (Dispatch): changes due to changes in
8985 InsetInclude::Params.
8987 * buffer.C (tag_name): removed redundant break statements as they were
8988 producing lots of warnings with my compiler.
8990 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8992 * LString.h: add "using std::getline" when using the real <string>.
8994 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8996 * buffer.C: removed bitset usage.
8997 PAR_TAG moved to an anonymous name space.
8998 (tag_name): new funtion, also in the anonymous namespace.
8999 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
9000 (makeDocBookFile): clean code. Completed transition from string arrays
9002 (SimpleDocBookOnePar): code clean.
9004 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9006 * tabular.C: add some comments.
9008 2001-03-22 Juergen Vigna <jug@sad.it>
9010 * buffer.C (parseSingleLyXformat2Token): redone the minipage
9011 compatibility read a bit and fixed bug with minipage in different
9014 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
9016 * buffer.C (pop_tag): removed.
9017 (push_tag): removed.
9018 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
9019 array replaced with vector. Added support for CDATA sections.
9020 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
9022 (makeDocBookFile): XML conformant declaration of CDATA section,
9023 fixed bug related to <emphasis> in the first paragraph char.
9024 (sgmlOpenTag): exclude empty tags.
9025 (sgmlCloseTag): ditto.
9027 * buffer.h (pop_tag): removed.
9028 (push_tag): removed.
9030 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
9032 * language.h (Languages): added size_type and size().
9034 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9036 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
9037 response on compability reading of minipages. One probliem is that
9038 the old usage of minipages was «flertydig»
9040 * several files here and in subdirs: don't use static at file
9041 scope use anon namespaces instead.
9043 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
9045 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
9046 LaTeX output. This is necessary for Literate document
9049 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9051 * buffer.C: insert hfill when needed.
9053 * tabular.C (l_getline): use string::erase, small whitespace change.
9055 * BufferView_pimpl.C: try the anon namespace.
9058 2001-03-16 Juergen Vigna <jug@sad.it>
9060 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
9061 otherwise it won't open options-dialogs.
9063 * buffer.C: honor pextraWidth(p) on converting minipages.
9065 * tabular.C (l_getline): changed the functions to strip trailing \r.
9067 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
9069 * BufferView_pimpl.C:
9070 * minibuffer..C: added "using SigC::slot" declaration.
9072 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9074 * lyxlex_pimpl.h: noncopyable is in namespace boost.
9080 * paragraph.C: ditto
9082 * lyxtext.h: NO_PEXTRA
9084 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
9086 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
9087 * ParameterStruct.h: ditto
9088 * ParagraphParameters.h: ditto
9089 * lyxparagraph.h: ditto
9091 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9093 * buffer.C: add compability for minipage alignment.
9094 (latexParagraphs): remove unwanted pextra check.
9096 * several files: remove CXX_WORKING_NAMESPACES
9098 * buffer.C (pop_tag): tie is in namespace boost
9100 * BufferView.h: noncopyable is in namespace boost
9105 * lastfiles.h: ditto
9106 * bufferlist.h: ditto
9107 * ShareContainer.h: ditto
9109 * LyXAction.h: ditto
9112 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9114 * Merging changes from BRANCH_MVC back into HEAD.
9116 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
9118 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
9120 * BufferView_pimpl.C: change from intl.C
9124 * Makefile.am: move combox.*
9130 * intl.C: remove dialog (covered by prefs)
9132 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9134 * lyxfunc.C (Dispatch): removed redundant break statement.
9136 2001-03-14 Juergen Vigna <jug@sad.it>
9138 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
9140 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9142 * buffer.C: add hack to fix compability reading of minipages.
9144 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
9146 * buffer.C (getLists): Cleanup.
9148 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9150 * lyxfont.C (update): don't honor toggleall on font size.
9152 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
9156 * Makefile.am: moved to frontends/xforms/
9160 * BufferView_pimpl.C: changes for moved mathpanel
9162 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9164 * gettext.h: fix gettext_init() in --disable-nls
9166 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9168 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
9170 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
9173 * lyx.h: strip external form
9175 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9177 * BufferView_pimpl.C: add comment, destroySplash()
9179 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9181 * BufferView_pimpl.C:
9185 * lyxfunc.C: use re-worked insetinclude
9187 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9189 * buffer.C: add using std::stringstream.
9191 * lyx_cb.C: readd using std::ios.
9193 * buffer.C: add using std::map.
9195 * BufferView_pimpl.C: add using std::vector.
9197 * ShareContainer.h: add std:: to swap.
9199 * buffer.h: add some typedefs
9200 * buffer.C (getLists): use them
9201 (getLists): renamed from getTocList.
9202 add a counter for the different float types and use it in the
9204 (getLists): use the same counter for the NEW_INSETS and the "non"
9207 * lyx_cb.h: remove unused items, includes, using etc.
9209 * ShareContainer.h: remove some commented code, add more comments
9210 and "documentation".
9212 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9214 * buffer.C (getTocList): make the list also when NEW_INSETS is
9217 * buffer.h: remove TocType
9219 * buffer.C (getTocList): change to return a map<string,
9220 vector<TocItem> >, implement for dynamic number of list.
9222 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
9223 * text2.C (PasteSelection): adjust
9224 * CutAndPaste.C (pasteSelection): adjust
9226 * FloatList.C (FloatList): update from the new_insets branch.
9227 * Floating.[Ch]: ditto
9228 * LaTeXFeatures.C: ditto
9230 * lyxlex_pimpl.C: ditto
9232 * paragraph.C (Last): remove when NEW_INSETS is defined.
9234 * other file: changes because of the above.
9236 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9238 * lyxparagraph.h: rename next to next_, previous to previous_,
9239 make them private for NEW_INSETS. Rename Next() to next(),
9240 Previous() to previous().
9242 * other files: changes because of the above.
9244 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
9247 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
9250 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9252 * main.C (main): pass lyx_localedir to gettext_init().
9254 * gettext.h: remove locale_init and gettext_init macros
9256 * gettext.C (locale_init): new function
9257 (gettext_init): new function
9259 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
9262 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
9264 * Moved credits to frontends:
9265 * credits.[Ch]: removed
9266 * credits_form.[Ch]: removed
9267 * lyx_gui_misc.C: remove credits stuff
9270 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9272 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
9274 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
9275 unneeded destructor.
9277 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
9278 a standalone pointer again.
9280 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
9282 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
9288 * ToolbarDefaults.C:
9297 * BufferView_pimpl.C: use new file dialog in GUII
9300 * lyx_cb.C: remove LayoutsCB to Toolbar
9302 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9304 * ShareContainer.h (get): add std:: qualifier
9306 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9308 * ShareContainer.h: define a proper ShareContainer::value_type
9309 type (and use typename to please compaq cxx)
9311 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9313 * lyxparagraph.h: move serveral local vars to
9314 ParameterStruct/ParagraphParameters., use ShareContainer in
9315 FontTable., make vars in FontTable private and add getter and
9318 * paragraph.C: changes because of the above.
9320 * lyxfont.h: remove copy constructor and copy assignment. (the
9321 default ones is ok), move number inside FontBits. move inlines to
9324 * lyxfont.C: add number to initializaton of statics, move several
9325 inlines here. constify several local vars. some whitespace
9326 cleanup. Dont hide outerscope variables.
9328 * Spacing.h: add two new constructors to match the set methods.
9330 * ShareContainer.h: new file, will perhaps be moved to support
9332 * ParameterStruct.h: new file
9334 * ParagraphParameters.h: new file
9336 * ParagraphParameters.C: new file
9338 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
9339 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
9341 * BufferView_pimpl.C: ParagraphParameter changes.
9342 * buffer.C: Likewise.
9343 * bufferview_funcs.C: Likewise.
9345 * text2.C: Likewise.
9347 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9349 * lyxfind.C (LyXReplace): do not redefine default argument in
9351 (IsStringInText): ditto
9352 (SearchForward): ditto
9353 (SearchBackward): ditto
9355 2001-03-06 Juergen Vigna <jug@sad.it>
9357 * lyxfind.C (IsStringInText): put parentes around expressions.
9359 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
9361 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
9363 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
9365 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
9367 * stl_string_fwd.h: add comment
9369 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
9372 * tabular.C: remove unused DocBook methods
9378 killed DO_USE_DEFAULT_LANGUAGE
9380 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9382 * lyx_gui.C: do not include language.h.
9384 * bufferview_funcs.C (ToggleAndShow): do not provide optional
9385 arguments in function implementation.
9387 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9389 * BufferView_pimpl.C: add <ctime>
9391 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9393 * BufferView_pimpl.C: add using std::find_if
9395 2001-02-27 José Matos <jamatos@fep.up.pt>
9397 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
9400 2001-02-11 José Matos <jamatos@fep.up.pt>
9402 * buffer.C (makeDocBookFile): command styles now have a parameter as
9405 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
9407 * layout_forms.[Ch]: removed
9408 * lyx_cb.[Ch]: out character
9409 * lyx_gui.C: out character
9410 * lyx_gui_misc.C: out character
9411 * bufferview_funcs.C: : out character,
9412 added toggleall as parameter in ToggleAndShow
9414 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
9416 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
9418 * text2.C (SetCurrentFont): Disable number property at boundary.
9420 2001-02-26 Juergen Vigna <jug@sad.it>
9422 * lyxfunc.C (getStatus): added a string argument override function so
9423 that this is correctly called from LyXFunc::Dispatch if it contains a
9424 do_not_use_argument which is used!
9425 (Dispatch): added check for "custom" export and call appropriate func.
9427 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
9429 * lyxrc.C: Add language_command_local, language_use_babel and
9430 language_global_options.
9432 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9434 * buffer.C (makeLaTeXFile): Use language_use_babel and
9435 language_global_options.
9437 2001-02-23 Juergen Vigna <jug@sad.it>
9439 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9440 which works with LyXText and putted it inside BufferView. Here now we
9441 only call for that part the BufferView::Dispatch() function.
9443 * BufferView.C (Dispatch): added.
9445 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9446 functions which needs to use a LyXText over from LyXFunc.
9447 (MenuInsertLyXFile): added
9448 (getInsetByCode): added
9449 (moveCursorUpdate): added
9450 (static TEXT): added
9452 2001-02-22 Juergen Vigna <jug@sad.it>
9454 * BufferView_pimpl.C (update): call a status update to see if LyXText
9457 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9459 * vc-backend.C (revert): implement for CVS
9460 (getLog): implement for CVS
9462 2001-02-20 Juergen Vigna <jug@sad.it>
9464 * text2.C (ClearSelection): added BufferView param for inset_owner call
9466 * lyxfunc.C (TEXT): added this function and use it instead of
9467 directly owner->view()-text of getLyXText().
9469 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
9471 * src/layout_forms.C: out preamble
9472 * src/layout_forms.h: out preamble
9473 * src/lyx_cb.C: out preamble
9474 * src/lyx_cb.h: out preamble
9475 * src/lyx_gui.C: out preamble
9476 * src/lyx_gui_misc.C: out preamble
9477 * src/lyxfunc.C: connect with guii preamble
9479 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
9481 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9483 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
9485 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9486 whether to run bibtex.
9488 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
9490 * Makefile.am (lyx_SOURCES): Remove BackStack.h
9492 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9494 * Makefile.am (lyx_SOURCES): removed bibforms.h
9498 * text.C (GetVisibleRow): make several local vars const
9500 * tabular.C: small cleanup.
9502 * lyxserver.C (callback): use compare instead of strncmp
9504 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
9505 inlines to after class or to paragraph.C
9507 * lyxfont.h: remove friend operator!=
9509 * converter.h: move friend bool operator< to non friend and after
9512 * combox.h: small cleanup
9514 * buffer.h: doxygen, remove unused constructor, move inclas inlies
9515 to inlines after class def.
9517 * buffer.C (pop_tag): use string operations instead of strcmp
9519 * bmtable.c: doxygen, small cleanup
9521 * LaTeX.h: remove friend operator==
9523 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9535 * BufferView_pimpl.C:
9536 * BufferView.[Ch]: remove cruft
9538 2001-02-14 Juergen Vigna <jug@sad.it>
9540 * lyxfunc.C: removed #if 0 unused code
9542 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9544 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9546 * text2.C (SetSelection): added a BufferView * parameter
9548 2001-02-13 Juergen Vigna <jug@sad.it>
9550 * lyxfunc.C (Dispatch): fixed protected blank problem.
9551 * BufferView2.C (protectedBlank): added LyxText * parameter.
9553 * tabular.C (AppendRow): forgot to set row_info of newly added row.
9554 (AppendColumn): same as above for column_info.
9556 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9557 (moveCursorUpdate): use a LyXText param for support of InsetText.
9559 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9560 (tripleClick): ditto
9562 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9564 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9566 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9568 * text2.C (SetSelection): set correct update status if inset_owner
9571 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9573 * tabular.C: remove some commented code.
9575 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9577 * BufferView_pimpl.C: call hideSplash()
9579 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9582 * bibforms.h: remove
9585 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9586 add LFUN_CHILD_CREATE
9588 * counters.h: fix tiny typo
9593 * lyx.C: move splash to frontends/xforms/
9595 * lyx_gui_misc.C: move Include and Bibform to frontends
9597 * lyxvc.h: clarify comment
9599 * vspace.C: tiny housekeeping
9601 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9603 * text.C (PrepareToPrint): RTL Fix.
9605 * paragraph.C (GetUChar): New method.
9606 (String): Use GetUChar.
9608 * buffer.C (asciiParagraph): Use GetUChar.
9610 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9612 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9614 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9617 * buffer.C: rename to getLogName(), handle
9618 build log / latex log nicely
9620 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9623 * MenuBackend.h: remove support for reference menuitem type.
9625 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9627 * BufferView_pimpl.C: housekeeping
9628 * BufferView_pimpl.h:
9633 * minibuffer.h: move Timeout GUI-I
9635 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9637 * lyxrc.C (read): Update converters data-structures.
9639 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9641 * LaTeX.h (operator!=): add operator != for Aux_Info
9643 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9645 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9647 * LaTeXLog.C: deleted, useful code moved to Buffer
9650 * buffer.C: new function getLatexLogName()
9656 * lyxfunc.C: use frontends for LaTeX and VC logs
9658 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9660 * LaTeX.h: yet another std:: that Allan forgot.
9662 * Variables.C (set): renamed from isset(), because this clashes
9663 with some HP-UX macros (grr).
9665 2001-02-06 Allan Rae <rae@lyx.org>
9667 * LaTeX.h: Another bug fix. Missing std:: this time.
9669 2001-02-04 Allan Rae <rae@lyx.org>
9671 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9672 floats problem. I've left it commented out because it's not quite
9673 correct. It should also test that the current object is a table or
9674 figure inset. But I haven't gotten around to figuring out how to do
9675 that. I *think* it'll be something like: "table" == inset.type()
9677 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9680 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9682 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9683 all the citation/databases/styles in the auxilary file.
9684 (run): Rerun latex if there was a babel language error.
9686 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9688 * text.C (Backspace): Preserve the font when changing newline char
9690 (BreakParagraph): If the cursor is before a space, delete the space.
9692 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9694 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9696 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9697 new argument (code).
9698 (ChangeCitationsIfUnique): New method.
9700 * paragraph.C (GetPositionOfInset): Handle bibkey.
9702 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9704 * BufferView_pimpl.h: change type of Position::par_pos to
9705 LyXParagraph::size_type.
9707 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9709 * BufferView_pimpl.C (savePosition, restorePosition): Write
9710 messages to minibuffer.
9712 2001-01-28 José Matos <jamatos@fep.up.pt>
9714 * buffer.C (makeDocBookFile): adds support for document language.
9715 A silly restriction on the name of LatexCommand types where removed.
9716 Added support for CDATA sections, allows to chars unescaped, used
9717 among others in code, to avoid escape < and >.
9719 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9721 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9722 saved positions instrad of a stack. Furthermore, a position is
9723 stored using paragraph id/paragraph position.
9725 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9726 Remove LFUN_REF_BACK.
9728 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9730 * converter.C (dvipdfm_options): New method.
9732 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9734 * vspace.C (isValidLength): Fix for empty input string.
9736 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9738 * LyXAction.C (init): change description of LFUN_FIGURE to
9741 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9743 * LaTeX.C: add using directive
9745 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9747 * MenuBackend.C (expand): Fix the sorting of the formats.
9749 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9751 * lyx_main.C: tiny error message fix
9753 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9755 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9756 calling fl_initialize(). This fixes the problem with ',' as
9757 decimal separator in text files.
9759 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9761 * trans.C (process): Fix the keymap bug.
9763 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9765 * LaTeX.C (scanAuxFiles): New method. Provides support for
9766 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9767 (scanLogFile) Scan for "run BibTeX" messages.
9769 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9770 OT1 font encoding. Also, load the aecompl package if the ae
9773 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9775 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9777 * texrow.C (increasePos): turn two error messages into debug
9780 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9782 * LaTeX.C (scanAux): Handle the \@input macro.
9783 (runBibTeX): Use scanAux().
9785 * language.C (latex_options_): New field.
9787 * LaTeXFeatures.C (getMacros): Add language macros.
9789 * buffer.C (makeLaTeXFile): Small fix.
9791 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9793 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9795 * text2.C: add a using directive.
9797 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9802 * lyxfunc.C: kill LyXBell.
9804 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9806 * text.C (IsBoundary): Remove the error message
9808 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9810 * lyxrc.C (setDefaults): Correct initialization value for
9813 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9815 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9818 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9821 * src/LyXAction.C: Added reference-next.
9823 * text.C (InsertChar): Use contains instead of strchr.
9825 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9827 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9829 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9830 alignment commands (when needed).
9832 * text.C (InsertChar): Add ':' to number separator chars.