1 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9 * lyxrow_funcs. [Ch]: new files
11 * lyxrow.[Ch]: remove next and previous pointers
12 (next,previous): remove accessor functions
13 (isParEnd): move to lyxrow_funcs
14 (lastPos): move to lyxrow_funcs
15 (nextRowIsAllInset): move to lyxrow_funcs
16 (lastPrintablePos): move to lyxrow_funcs
17 (numberOfSeparators): move to lyxrow_funcs
18 (numberOfHfills): move to lyxrow_funcs
19 (numberOfLabelHfills): move to lyxrow_funcs
20 (hfillExpansion): move to lyxrow_funcs
24 * bufferview_funcs.C (toggleAndShow): adjust
26 * RowList.h: Remove class RowList from file leave just a
29 * RowList.C: delete file
31 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
34 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
36 * text3.C (cursorPrevious): adjust
40 * text2.C (redoHeightOfParagraph): adjust
41 (redoDrawingOfParagraph): adjust
44 * text.C (breakParagraph): adjust
48 * rowpainter.C (RowPainter): adjust
49 (leftMargin): simplify and adjust
50 (most rowpainter functions): adjust.
52 * rowpainter.h: store the row as RowList::iterator not as Row*
54 * lyxcursor.C (row): taka RowList::iterator as arg
57 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
60 2003-04-01 Angus Leeming <leeming@lyx.org>
62 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
65 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
67 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
70 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
72 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
75 * lyxtext.h (rows): drop one version and leve a const variant that
76 returns a RowList::iterator.
78 2003-03-31 Angus Leeming <leeming@lyx.org>
80 * text.C (fill): ensure that the signature is the same as that in the
83 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
85 * text2.C (redoParagraphs): adjust
86 (updateCounters): adjust
87 (checkParagraph): adjust
88 (getColumnNearX): adjust and reformat a bit.
90 * text.C (top_y): adjust
93 (prepareToPrint): adjust
97 * lyxtext.h: make rowlist_ mutable.
99 * RowList.h: add const_iterator
100 * RowList.C: adjust for RowList::const_iterator.
102 * text2.C (getCursorX): make it take a RowList::iterator as arg,
105 2003-03-31 John Levon <levon@movementarian.org>
108 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
110 * lyx_main.C: set default fonts from using lyx_gui funcs
112 * exporter.C: pdf_mode moved from lyxrc
115 * lyxfunc.C: changes from above
117 2003-03-31 John Levon <levon@movementarian.org>
119 * lyx_main.C: fix to the last fix
121 2003-03-31 John Levon <levon@movementarian.org>
123 * bufferlist.C: "Load original" -> "Load Original"
129 * format.C: more Alert cleanups
131 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
133 * text2.C (removeParagraph): make it take a RowList::iterator as
135 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
136 (postRowPaint): make it take a RowList::iterator as arg, adjust.
138 * text.C (anchor_row): make it take a RowList::iterator as arg,
140 (computeBidiTables): make it take a const reference to Row instead
141 of Row pointer, adjust.
142 (leftMargin): make it take a RowList::iterator as arg, adjust.
143 (rowBreakPoint): adjust
144 (breakAgainOneRow): make it take a RowList::iterator as arg,
146 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
148 * bufferview_funcs.C (toggleAndShow): adjust
150 2003-03-30 John Levon <levon@movementarian.org>
154 * boost-inst.C: moved to support
156 * several files: changes as a result
158 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
160 * text2.C (LyXText): adjust.
162 (removeRow): make it take a RowList::iterator as arg, adjust.
163 (fullRebreak): adjust
164 (deleteEmptyParagraphMechanism): adjust
168 * text.C (top_y): adjust
169 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
170 (breakAgain): make it take a RowList::iterator as arg, adjust.
171 (breakParagraph): adjust
175 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
176 need_break_row, and refresh_row.
178 * text3.C (dispatch): adjust
180 * text2.C (checkParagraph): adjust
182 (setCursorFromCoordinates): adjust
184 * text.C (top_y): adjust
186 (getRow): make it return a RowList::iterator, adjust
187 (getRowNearY): make it return a RowList::iterator, adjust
189 * text2.C (init): adjust
190 (insertRow): remove function
191 (insertParagraph): adjust
192 (redoParagraphs): adjust
193 (fullRebreak): adjust
194 (updateCounters): adjust
196 * text.C (top_y): rewrite to use RowList iterators.
198 (setHeightOfRow): rewrite to sue RowList iterators.
199 (appendParagraph): adjust
201 (breakAgainOneRow): adjust
202 (breakParagraph): adjust
204 (getRowNearY): adjust, and remove commented code.
206 * lyxtext.h (firstRow): delete function
207 (lastRow): delete function
208 (rows): new function (const and non-const versions.)
209 (insertRow): delete function
211 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
213 2003-03-29 John Levon <levon@movementarian.org>
215 * BufferView_pimpl.C: always update scrollbar top
216 because pasting text when we're anchored could mean we
217 miss an update altogether
219 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
221 * text2.C (init): use rowlist_.end() and not 0.
222 (insertRow): change to take a RowList::iterator as arg, adjust
224 (insertParagraph): change to take a RowList::iterator as arg,
226 (redoParagraphs): remove some debug msgs.
228 * text.C (appendParagraph): change to take a RowList::iterator
229 arg, adjust for this.
230 (breakAgain): add an assert
231 (breakAgainOneRow): ditto
233 2003-03-29 John Levon <levon@movementarian.org>
235 * text2.C: do not clear selection after inc/decDepth
238 2003-03-29 John Levon <levon@movementarian.org>
241 * buffer.C: fix broken strerrors according to Lars
243 2003-03-29 John Levon <levon@movementarian.org>
245 * converters.C: more Alert cleanups
247 2003-03-29 John Levon <levon@movementarian.org>
249 * bufferview_funcs.C: remove pointless Alert
251 * buffer.C: fix confusing error message when
252 a template is chmoded 000
254 2003-03-29 John Levon <levon@movementarian.org>
258 * BufferView_pimpl.C: Alert fixes
262 * tabular-old.C: remove unused table compat reading
264 2003-03-29 John Levon <levon@movementarian.org>
269 * lyx_cb.C: more Alert cleanups
271 * lyxfunc.C: don't allow chktex if not latex document
273 2003-03-29 John Levon <levon@movementarian.org>
277 * buffer.C: warnings pushed down from support/,
280 2003-03-29 John Levon <levon@movementarian.org>
282 * lyxfunc.C: safety check for C-r (revert)
284 2003-03-29 John Levon <levon@movementarian.org>
287 * bufferlist.C: several UI fixes using Alert::prompt.
288 Fix the pointless looping quit code. Fix stupid revert
293 * lyx_cb.C: use Alert::prompt
295 * lyx_main.C: remove a silly question
297 * lyxfunc.C: remove a couple of silly questions,
300 2003-03-28 John Levon <levon@movementarian.org>
302 * text2.C: fix bug 974 (End on empty par)
304 2003-03-28 John Levon <levon@movementarian.org>
306 * BufferView_pimpl.C:
308 * lfuns.h: remove do-nothing math greek lfuns
310 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
312 * lyxgluelength.h (isValidGlueLength): add default arg on
313 parameter 2. Remove default arg from friend in class.
315 * lyxlength.h (isValidLength): add default arg on parameter 2.
316 Remove default arg from friend in class.
318 * text2.C (LyXText): adjust, initialize refresh_row.
322 (insertParagraph): adjst
323 (redoParagraphs): adjust
324 (fullRebreak): adjust
325 (updateCounters): adjust
326 (deleteEmptyParagraphMechanism): first attempt at fixing a
329 * text.C (top_y): adjust
330 (setHeightOfRow): adjust
332 (getRowNearY): adjust
334 * lyxtext.h: include RowList.h
335 (~LyXText): not needed anymore, deleted.
336 (firstRow): modify for RowList
337 (lastRow): new function
338 Delete firstrow and lastrow class variables, add a Rowlist
339 rowlist_ class variable.
341 * lyxrow.C (lastPos): use empty() and not !size() to check if a
344 * RowList.C (insert): fix case where it == begin().
346 2003-03-26 Angus Leeming <leeming@lyx.org>
348 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
349 the thesaurus dialog.
351 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
353 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
355 * RowList.[Ch]: new files
357 * ParagraphList.C (erase): handle the case where it == begin
360 2003-03-25 John Levon <levon@movementarian.org>
364 * aspell.C: add new aspell support
367 * lyxrc.C: Make use_pspell be use_spell_lib. Always
370 2003-03-25 Angus Leeming <leeming@lyx.org>
373 * LyXAction.C (init): new LFUN_INSET_INSERT.
375 * BufferView_pimpl.C (dispatch): split out part of the
376 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
378 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
381 2003-03-25 Angus Leeming <leeming@lyx.org>
383 * lyxfunc.C (dispatch): changes to the Dialogs interface.
385 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
388 * text3.C: remove useless row->height(0)
390 2003-03-25 John Levon <levon@movementarian.org>
394 * text3.C: rename the refreshing stuff to better names
396 2003-03-24 John Levon <levon@movementarian.org>
398 * BufferView_pimpl.h:
399 * BufferView_pimpl.C: update layout choice on a mouse
402 2003-03-23 John Levon <levon@movementarian.org>
404 * Makefile.am: fix commandtags.h reference
406 2003-03-22 John Levon <levon@movementarian.org>
408 * BufferView_pimpl.C:
413 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
415 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
418 * text.C: take the rtl methods out of line
420 2003-03-21 André Pönitz <poenitz@gmx.net>
422 * metricsinfo.[Ch]: new files containing structures to be passed around
423 during the two-phase-drawing...
425 2003-03-21 André Pönitz <poenitz@gmx.net>
427 * lyxtextclass.C: read 'environment' tag.
429 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
431 * text2.C (removeRow): fix bug 964
433 2003-03-20 John Levon <levon@movementarian.org>
437 * text2.C: paint cleanups. Inset::update() dropped font
440 2003-03-19 John Levon <levon@movementarian.org>
442 * lyxfunc.C: only fitcursor/markDirty if available()
444 2003-03-19 John Levon <levon@movementarian.org>
446 * commandtags.h: rename to ...
448 * lfuns.h: ... this, and renumber / cleanup
450 2003-03-19 John Levon <levon@movementarian.org>
452 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
453 fit the cursor after an lfun
457 * BufferView_pimpl.h:
458 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
460 * LyXAction.C: layout-character should have ReadOnly
462 * ParagraphParameters.C:
464 * bufferview_funcs.C:
471 * undo_funcs.C: changes from above
473 2003-03-18 John Levon <levon@movementarian.org>
475 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
476 remove it from update()
478 * lyxfunc.C: update layout choice after an lfun
480 * text3.C: remove extra updateLayoutChoice()s
482 2003-03-18 John Levon <levon@movementarian.org>
484 * text.C: top_y change means full repaint, fix
485 a drawing bug with cursor movement
487 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
491 * text2.C: anchor row on setCursor
493 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
495 * lyxtext.h: remove almost all mutable keywords
498 * text3.C: remove const keywords accordingly
500 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
502 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
504 (TeXEnvironment): ditto
507 2003-03-17 John Levon <levon@movementarian.org>
509 * text.C (rowBreakPoint): remove attempt to fix displayed
510 math insets inside a manual label
512 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
514 * lyxtext.h: remove BufferView* as first arg from almost all class
516 * other files: adjust.
518 2003-03-17 John Levon <levon@movementarian.org>
522 * text2.C: more paint cleanups
524 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
527 * rowpainter.C: remove "smart" background painting code
529 2003-03-16 John Levon <levon@movementarian.org>
534 * text3.C: add helper functions for setting refresh_row/y
536 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
538 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
539 newline inset which *can* get inserted in the pass_thru layouts.
540 This is primarily for literate documents.
542 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
544 * buffer.C: increment LYX_FORMAT to 223
546 2003-03-14 André Pönitz <poenitz@gmx.net>
548 * textclass.h: prepare for environment handling, ws changes
549 * lyxlayout.C: read latexheader and latexfooter tags
551 2003-03-14 John Levon <levon@movementarian.org>
553 * text2.C: rewrite ::status() a bit
555 2003-03-13 John Levon <levon@movementarian.org>
557 * lyxtext.h: add some docs
559 2003-03-13 John Levon <levon@movementarian.org>
564 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
566 2003-03-13 John Levon <levon@movementarian.org>
568 * text3.C: fix appendix redrawing
570 2003-03-13 John Levon <levon@movementarian.org>
572 * text.C (setHeightOfRow):
574 * rowpainter.C: make appendix mark have the text
575 "Appendix" so the user knows what it is
578 * LColor.C: s/appendixline/appendix/ from above
580 2003-03-13 John Levon <levon@movementarian.org>
582 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
584 * text.C: fix a getChar(pos) bug properly
586 2003-03-13 Angus Leeming <leeming@lyx.org>
589 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
590 Probably only temporary. Let's see how things pan out.
592 * BufferView.C (unlockInset):
593 * BufferView_pimpl.C (fitCursor):
594 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
596 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
597 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
599 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
600 new functions that convert ParagraphParameters to and from a string.
602 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
603 BufferView::Pimpl's dispatch.
604 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
606 2003-03-13 André Pönitz <poenitz@gmx.net>
610 * factory.C: make it aware of InsetEnv
612 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
614 * text2.C (setCursor): never ask for one past last
615 (setCursor): add some debugging messages.
617 * text.C (singleWidth): never ask for one past last
621 (rowBreakPoint): ditto
622 (setHeightOfRow): ditto
623 (prepareToPrint): ditto
625 * rowpainter.C (paintBackground): never ask for one past last
626 (paintText): never ask for one past last
628 * paragraph_pimpl.C (getChar): make the assert stricter, never
629 allow the one past last pos to be taken
631 * paragraph.C (getChar): ws changes only
633 * lyxrow.C (nextRowIsAllInset): never ask for one past last
634 (numberOfSeparators): ditto
635 (numberOfHfills): ditto
637 2003-03-12 John Levon <levon@movementarian.org>
643 * paragraph_funcs.C: fix per-buffer authorlists
645 2003-03-12 John Levon <levon@movementarian.org>
647 * text.C: fix newline in right address
649 2003-03-12 Angus Leeming <leeming@lyx.org>
651 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
652 duplicate those in LyXFunc::dispatch.
657 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
658 Add LFUN_FONTFREE_UPDATE.
660 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
661 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
663 * bufferview_func.[Ch]: several new functions to facilliate
664 transfer of data to and from the character dialog.
666 2003-03-12 John Levon <levon@movementarian.org>
676 * text3.C: remove META_NEWLINE in favour of an inset
679 * rowpainter.C: remove paintNewline (done by inset)
681 2003-03-12 John Levon <levon@movementarian.org>
683 * paragraph_pimpl.C: complain about bad getChar()s
686 2003-03-12 John Levon <levon@movementarian.org>
689 * buffer.C: move paragraph read into a separate function,
690 a little renaming to reflect that.
693 * bufferparams.C: remove the author_ids map, not necessary now
696 * factory.C: moved Buffer::readInset to here
699 * paragraph_funcs.C: readParagraph free function moved from
702 * tabular.C: name change
704 2003-03-12 John Levon <levon@movementarian.org>
707 * ParagraphParameters.C: move par params input to
710 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
711 behave like a normal read from the stream wrt reading
714 2003-03-12 John Levon <levon@movementarian.org>
717 * ParagraphParameters.h:
718 * ParagraphParameters.C: move output code to a
721 2003-03-12 John Levon <levon@movementarian.org>
723 * BufferView.C (insertLyXFile):
726 * tabular.C: use a parlist iterator for creating the
729 2003-03-12 John Levon <levon@movementarian.org>
731 * buffer.C: make current_change static local not
734 2003-03-12 John Levon <levon@movementarian.org>
736 * buffer.C: fix insertStringAsLines for change tracking
738 2003-03-12 John Levon <levon@movementarian.org>
745 * bufferparams.C: move author list into params. Rename some
746 functions. Move the header reading into a separate token
747 loop. Move the header token reading into BufferParams.
749 2003-03-12 John Levon <levon@movementarian.org>
751 * changes.C: put debug inside lyxerr.debugging() checks
753 2003-03-11 André Pönitz <poenitz@gmx.net>
755 * factory.C: make it aware of InsetHFill
757 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
759 * buffer.C (latexParagraphs): move function from here...
760 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
763 2003-03-10 Angus Leeming <leeming@lyx.org>
765 * LyXAction.C (init): fix bug in poplating array with multiple entries
766 with the same LFUN (spotted by JMarc).
768 2003-03-10 John Levon <levon@movementarian.org>
771 * text2.C: move getColumnNearX() near its
774 2003-03-10 John Levon <levon@movementarian.org>
776 * text.C: fix break before a minipage
778 2003-03-10 John Levon <levon@movementarian.org>
780 * text.C: fix the last commit
782 2003-03-09 John Levon <levon@movementarian.org>
786 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
787 bug 365 (don't break before insets unless needed). Don't
788 return a value > last under any circumstances.
790 2003-03-09 Angus Leeming <leeming@lyx.org>
792 * BufferView_pimpl.C (trackChanges, dispatch): call
793 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
795 2003-03-09 Angus Leeming <leeming@lyx.org>
797 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
798 than Dialogs::showAboutlyx().
800 2003-03-09 Angus Leeming <leeming@lyx.org>
802 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
803 than Dialogs::showTabularCreate().
805 2003-03-09 John Levon <levon@movementarian.org>
809 * text2.C: 3rd arg to nextBreakPoint was always the same.
812 2003-03-08 John Levon <levon@movementarian.org>
819 * text2.C: Remove the "main" bit from the "main body"
822 2003-03-08 John Levon <levon@movementarian.org>
824 * text.C (leftMargin): The left margin of an empty
825 manual label paragraph should not include the label width
828 * text.C (prepareToPrint): don't attempt to measure hfills
829 for empty manual label paragraphs - the answer should be 0
831 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
833 * CutAndPaste.C: remove commented code and reindent.
835 2003-03-08 John Levon <levon@movementarian.org>
838 * lyxfunc.C: move reloadBuffer()
841 * BufferView.C: to here
843 * lyxvc.C: add comment
846 * vc-backend.C: call bv->reload() to avoid
847 getStatus() check on MENURELOAD
849 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
851 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
852 to an old format .dep file.
854 2003-03-07 Angus Leeming <leeming@lyx.org>
856 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
857 when the LFUN_MOUSE_RELEASE should have been handled by
858 inset->localDispatch.
860 2003-03-07 Angus Leeming <leeming@lyx.org>
862 * BufferView_pimpl.C (dispatch):
863 * LyXAction.C (init):
864 * ToolbarDefaults.C (init):
866 * lyxfunc.C (getStatus):
867 remove LFUN_INSET_GRAPHICS.
869 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
871 2003-03-07 Angus Leeming <leeming@lyx.org>
874 * LyXAction.C (init):
875 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
877 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
880 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
882 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
883 localDispatch method LFUN_INSET_DIALOG_UPDATE.
885 2003-03-07 Angus Leeming <leeming@lyx.org>
887 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
890 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
892 * ParagraphList.C (front): new function
895 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
897 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
898 and top_row_offset_. removed var first_y.
900 * text2.C (LyXText, removeRow):
902 * BufferView_pimpl.C:
903 use these methods instead of using first_y
905 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
907 * text2.C (pasteSelection): adjust for checkPastePossible
909 * CutAndPaste.C: remove Paragraph * buf and replace with
910 ParagraphList paragraphs.
911 (DeleteBuffer): delete
912 (cutSelection): change the tc type to textclass_type
913 (copySelection): change the tc type to textclass_type
914 (copySelection): adjust for ParagraphList
915 (pasteSelection): change the tc type to textclass_type
916 (pasteSelection): adjust for Paragraphlist
917 (nrOfParagraphs): simplify for ParagraphList
918 (checkPastePossible): simplify for ParagraphList
919 (checkPastePossible): remove unused arg
921 * ParagraphList.C (insert): handle the case where there are no
924 * CutAndPaste.h: make CutAndPaste a namespace.
926 * text3.C (dispatch): adjust
928 * text.C (breakParagraph): add a ParagraphList as arg
930 * paragraph_funcs.C (breakParagraph): change to take a
931 BufferParams and a ParagraphList as args.
932 (breakParagraphConservative): ditto
933 (mergeParagraph): ditto
934 (TeXDeeper): add a ParagraphList arg
935 (TeXEnvironment): ditto
938 * buffer.C (readLyXformat2): adjust
939 (insertStringAsLines): adjust
940 (latexParagraphs): adjust
942 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
943 (cutSelection): adjust
944 (pasteSelection): adjust
946 * BufferView_pimpl.C (insertInset): adjust
948 2003-03-05 Angus Leeming <leeming@lyx.org>
951 * LyXAction.C (init):
952 * BufferView_pimpl.C (dispatch):
953 * lyxfunc.C (getStatus):
954 remove LFUN_CHILD_INSERT.
956 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
958 2003-03-05 Angus Leeming <leeming@lyx.org>
961 * LyXAction.C (init):
962 * src/factory.C (createInset):
963 * lyxfunc.C (getStatus):
964 * text3.C (dispatch):
965 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
967 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
969 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
971 * ParagraphList.C (insert): handle insert right before end()
972 (erase): fix cases where it can be first or last paragraph.
974 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
976 * paragraph_funcs.C (TeXEnvironment): remove all usage of
977 Paragraph::next and Paragraph::previous
980 * text.C (breakParagraph): adjust
982 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
983 BufferParams& as arg.
984 (breakParagraph): use ParagraphList::insert
985 (breakParagraphConservative): take a Buffer* instead of a
986 BufferParams& as arg.
987 (breakParagraphConservative): use ParagraphList::insert.
989 * buffer.C (insertStringAsLines): un-const it
990 (insertStringAsLines): adjust
992 * ParagraphList.C (insert): new function
994 * CutAndPaste.C (pasteSelection): adjust
996 * text.C (backspace): adjust
998 * tabular.C (SetMultiColumn): adjust
1000 * CutAndPaste.C (cutSelection): adjust
1001 (pasteSelection): adjust
1003 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
1004 Buffer const * as arg
1006 * ParagraphList.C (erase): new function
1007 * paragraph_funcs.C (mergeParagraph): use it
1008 (mergeParagraph): make it take a Buffer* instead of a
1009 BufferParams* as arg
1011 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
1013 (breakParagraphConservative): ditto
1015 * paragraph.h: remove the breakParagraph friend
1017 * paragraph.C (eraseIntern): new function
1018 (setChange): new function
1020 * paragraph_funcs.C (mergeParagraph): make it take a
1021 ParagraphList::iterator instead of a Paragraph *, adjust
1024 * paragraph.h: move an #endif so that the change tracking stuff
1025 also works in the NO_NEXT case.
1027 2003-03-04 Angus Leeming <leeming@lyx.org>
1030 * LyXAction.C: new LFUN_INSET_MODIFY.
1032 * BufferView_pimpl.C (dispatch): if an inset is found to be open
1033 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
1035 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1037 * several files: ws changes only
1039 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
1040 (TeXEnvironment): ditto
1043 * buffer.C (makeLaTeXFile): adjust
1044 (latexParagraphs): make it take ParagraphList::iterator as args
1046 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1048 * buffer.C (latexParagraphs): adjust
1050 * paragraph.C (TeXOnePar): move function...
1051 (optArgInset): move function...
1052 (TeXEnvironment): move function...
1053 * paragraph_pimpl.C (TeXDeeper): move function...
1054 * paragraph_funcs.C: ...here
1056 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
1058 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1060 * buffer.C (readInset): remove compability code for old Figure and
1063 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1065 * buffer.C: ws changes
1068 * BufferView_pimpl.C: ditto
1071 * bufferlist.h: ditto
1075 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1077 * converter.[Ch]: split into itself +
1080 * Makefile.am: += graph.[Ch] + format.[Ch]
1087 * lyxrc.C: added #include "format.h"
1089 2003-02-27 Angus Leeming <leeming@lyx.org>
1091 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
1094 * factory.C (createInset): add "label" to the factory.
1096 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
1097 string and do no more.
1099 2003-02-27 Angus Leeming <leeming@lyx.org>
1102 * LyXAction.C (init):
1103 * factory.C (createInset):
1104 * BufferView_pimpl.C (dispatch):
1105 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1107 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
1109 * lyxfunc.C (dispatch):
1110 * text3.C (dispatch): pass name to params2string.
1112 2003-02-26 Angus Leeming <leeming@lyx.org>
1114 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
1116 Rearrange the ~includes. Strip out the unnecessary ones.
1118 * factory.C (createInset): reformat.
1119 create new insets for the various LFUN_XYZ_APPLY lfuns.
1121 2003-02-26 John Levon <levon@movementarian.org>
1124 * lyxrow.C: add isParStart,isParEnd helpers
1126 * paragraph.h: make isInserted/DeletedText take refs
1128 * paragraph_funcs.h:
1129 * paragraph_funcs.C: remove #if 0'd code
1134 * text.C: use lyxrow helpers above.
1135 Move draw and paint routines to RowPainter.
1136 Make several methods use refs not pointers.
1137 Make backgroundColor() const.
1138 Add markChangeInDraw(), isInInset().
1139 Merge changeRegionCase into changeCase.
1140 Make workWidth() shouldn't-happen code into an Assert.
1143 * rowpainter.C: new class for painting a row.
1146 * vspace.C: make inPixels take a ref
1148 2003-02-26 Angus Leeming <leeming@lyx.org>
1150 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
1153 2003-02-25 John Levon <levon@movementarian.org>
1155 * ispell.C: give the forked command a more accurate name
1157 2003-02-22 John Levon <levon@movementarian.org>
1160 * toc.C: make TocItem store an id not a Paragraph *
1163 2003-02-21 Angus Leeming <leeming@lyx.org>
1165 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
1166 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
1167 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
1168 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
1169 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
1170 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
1172 * BufferView_pimpl.C (dispatch):
1173 * LyXAction.C (init):
1174 * factory.C (createInset):
1175 * lyxfunc.C (getStatus, dispatch):
1176 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
1178 2003-02-21 Angus Leeming <leeming@lyx.org>
1180 * BufferView_pimpl.C (MenuInsertLyXFile):
1181 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1182 * lyxfunc.C (menuNew, open, doImport):
1183 no longer pass a LyXView & to fileDlg.
1185 2003-02-21 Angus Leeming <leeming@lyx.org>
1187 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
1188 * LyXAction.C: change, BIBKEY to BIBITEM.
1189 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
1190 Change InsetBibKey to InsetBibitem.
1191 Change BIBKEY_CODE to BIBITEM_CODE.
1192 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1193 * factory.C: replace insetbib.h with insetbibitem.h.
1194 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1195 * paragraph.C: replace insetbib.h with insetbibitem.h.
1196 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
1197 Change bibkey() to bibitem().
1198 * text.C: remove insetbib.h.
1199 * text2.C: replace insetbib.h with insetbibitem.h.
1200 change bibkey() to bibitem().
1201 * text3.C: remove insetbib.h.
1202 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1204 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1206 * lyxrc.C (output): enclose user email in quotes (in case there are
1209 2003-02-18 John Levon <levon@movementarian.org>
1211 * buffer.h: add std::
1213 2003-02-17 John Levon <levon@movementarian.org>
1219 * pspell.C: reworking. Especially in ispell, a large
1220 number of clean ups and bug fixes.
1222 * lyxfunc.C: fix revert to behave sensibly
1224 2003-02-17 André Pönitz <poenitz@gmx.net>
1227 * commandtags.h: new LFUN_INSERT_BIBKEY
1237 * paragraph_func.C: remove special bibkey handling
1239 2003-02-17 John Levon <levon@movementarian.org>
1241 * text.C (Delete): fix case where delete at the end of
1242 the very first paragraph would not merge the pars
1244 2003-02-17 John Levon <levon@movementarian.org>
1246 * lyxrow.C: fix lastPrintablePos()
1248 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1250 * bufferparams.C (writeLaTeX): add a std:here
1252 * buffer.C: and remove a using directive there
1254 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1256 * buffer.C (makeLaTeXFile): move the code that generates the
1259 * bufferparams.C (writeLaTeX): ... in this new method
1261 * LaTeXFeatures.C (getEncodingSet): make const
1262 (getLanguages): make const
1264 * MenuBackend.C (binding): returns the binding associated to this
1266 (add): sets the status of each item by calling getStatus. Adds
1268 (read): add support for OptSubMenu
1269 (expand): remove extra separator at the end of expanded menu
1271 2003-02-15 John Levon <levon@movementarian.org>
1274 * BufferView_pimpl.C:
1276 * bufferlist.C: remove pointless BufferStorage bloat. Remove
1277 inset code that had no actual effect. Remove unneeded status
1280 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1282 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
1285 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
1287 * text.C (drawLengthMarker): also draw an arrow marker for
1288 symbolic lengths (medskip...)
1290 2003-02-14 John Levon <levon@movementarian.org>
1293 * tabular.C: better method names
1295 2003-02-14 John Levon <levon@movementarian.org>
1297 * BufferView_pimpl.C:
1302 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
1303 it's a more accurate name. Remove some pointless uses.
1305 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1307 * text2.C (LyXText): change order of initilizers to shut off
1310 2003-02-14 John Levon <levon@movementarian.org>
1312 * buffer.C: use ParIterator for getParFromID()
1316 * paragraph_pimpl.h:
1317 * paragraph_pimpl.C: remove unused getParFromID()
1319 2003-02-14 John Levon <levon@movementarian.org>
1321 * buffer.C: remove some very old #if 0'd parse code
1323 2003-02-13 John Levon <levon@movementarian.org>
1327 * text2.C: move hfillExpansion(), numberOfSeparators(),
1328 rowLast(), rowLastPrintable(), numberofHfills(),
1329 numberOfLabelHfills() ...
1332 * lyxrow.C: ... to member functions here.
1337 * text.C: remove LyXText::beginningOfMainBody(), and call
1338 p->beginningOfMainBody() directly. Move the check for
1339 LABEL_MANUAL into the latter.
1346 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1352 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1353 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1355 2003-02-13 John Levon <levon@movementarian.org>
1357 * CutAndPaste.C: remove debug
1359 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1361 * paragraph.C (asString): remove two unused variables
1363 * lyxtextclass.C (readTitleType):
1365 (LyXTextClass): handle new members titletype_ and titlename_
1367 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1369 2003-02-09 John Levon <levon@movementarian.org>
1372 * buffer.C: replace hand-coded list with a map for the dep clean
1374 2003-02-08 John Levon <levon@movementarian.org>
1376 * LaTeX.C: consolidate code into showRunMessage() helper
1378 2003-02-08 John Levon <levon@movementarian.org>
1383 * BufferView.C: change setSelectionOverString() to setSelectionRange()
1384 and pass the size in explicitly
1386 * BufferView_pimpl.h:
1387 * BufferView_pimpl.C:
1389 * BufferView.C: add getCurrentChange()
1391 * BufferView_pimpl.h:
1392 * BufferView_pimpl.C: handle change lfuns
1394 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
1395 for changes. Mark pasted paragraphs as new.
1397 * support/lyxtime.h:
1398 * support/lyxtime.C:
1399 * DepTable.C: abstract time_t as lyx::time_type
1402 * LColor.C: add colours for new text, deleted text, changebars
1404 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1405 package use "usenames" option.
1409 * LyXAction.C: add change lfuns
1413 * author.C: author handling
1416 * buffer.C: add a per-buffer author list, with first entry as
1417 current author. Handle new .lyx tokens for change tracking. Output
1418 author list to .lyx file. Output dvipost stuff to .tex preamble.
1419 Bump lyx format to 222.
1422 * bufferlist.C: add setCurrentAuthor() to reset current author details
1426 * bufferparams.C: add param for tracking
1428 * bufferview_funcs.C: output change info in minibuffer
1432 * changes.C: add change-tracking structure
1435 * debug.C: add CHANGES debug flag
1438 * lyxfind.C: add code for finding the next change piece
1441 * lyxrc.C: add user_name and user_email
1444 * lyxrow.C: add a metric for the top of the text line
1447 * text.C: implement accept/rejectChange()
1450 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1451 Strike through deleted text.
1455 * paragraph_pimpl.h:
1456 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1457 to the insert functions. Rework erase to mark text as deleted, adding
1458 an eraseIntern() and a range-based erase(). Implement
1459 per-paragraph change lookup and accept/reject.
1461 * paragraph_funcs.C: Fixup paste for change tracking.
1463 * tabular.C: mark added row/columns as new.
1465 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1466 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1468 * text2.C: leave cursor at end of selection after a cut.
1470 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1472 * text.C (getLengthMarkerHeight):
1473 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1474 visible on screen too.
1476 2003-02-07 John Levon <levon@movementarian.org>
1478 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1480 2003-02-05 Angus Leeming <leeming@lyx.org>
1482 * lyxserver.C (read_ready): revert my patch of 11 September last year
1483 as it sends PC cpu through the roof. Presumably this means that
1484 the lyxserver will no longer run on an Alpha...
1486 2003-01-30 Angus Leeming <leeming@lyx.org>
1488 * factory.C (createInset): create an InsetCommandParam of type "index"
1489 and use it to 'do the right thing'.
1491 * text2.C (getStringToIndex): ensure that cursor position is always
1492 reset to the reset_cursor position.
1494 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1496 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1499 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1503 * lyxfunc.C: Output messages with identical spelling, punctuation,
1506 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1508 * MenuBackend.C (expandFormats): List only viewable export formats
1511 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1514 * lyxfunc.C (getStatus): Make sure that formats other than
1515 "fax" can also be disabled
1517 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1519 * text3.C (dispatch): put the lfuns that insert insets in 3
1520 groups, and call doInsertInset with appropriate arguments.
1521 (doInsertInset): new function, that creates an inset and inserts
1522 it according to some boolean parameters.
1524 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1526 * buffer.C (readFile): remember to pass on 'par' when calling
1527 readFile recursively.
1529 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1531 * MenuBackend.C (expandFormats): add "..." to import formats.
1533 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1535 * paragraph.C (asString): Remove XForms RTL hacks.
1537 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1538 * buffer.C: fix typo
1540 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1542 * Makefile.am (LIBS): delete var
1543 (lyx_LDADD): add @LIBS@ here instead.
1545 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1547 * Clarify the meaning of "wheel mouse jump"
1549 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1551 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1554 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1556 * importer.C (Loaders): do not preallocate 3 elements in the
1557 vector, since one ends up with 6 elements otherwise
1559 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1561 * DepTable.C (write): write the file name as last element of the
1562 .dep file (because it may contain spaces)
1563 (read): read info in the right order
1565 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1567 * paragraph_pimpl.C (simpleTeXBlanks):
1568 (simpleTeXSpecialChars):
1569 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1571 * tabular.C (latex): add some missing case statements. Reindent.
1573 * MenuBackend.C (expandToc): remove unused variable.
1575 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1584 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1587 2003-01-05 John Levon <levon@movementarian.org>
1590 * BufferView.C: add getEncoding()
1593 * kbsequence.C: do not store last keypress
1596 * lyxfunc.C: store last keypress here instead. Pass encoding
1599 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1601 * lyx_main.C (init): remove annoying error message when following
1602 symbolic links (bug #780)
1604 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1606 * text.C (insertChar):
1607 * lyxrc.C (getDescription): remove extra spaces
1609 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1611 * lyxrc.C (getDescription): remove extra spaces
1613 2002-12-20 John Levon <levon@movementarian.org>
1615 * text3.C: hack fix for page up/down across tall rows
1617 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1619 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1622 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1624 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1625 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1626 thesaurus is not compiled in
1628 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1630 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1632 2002-12-16 Angus Leeming <leeming@lyx.org>
1635 * lyx_main.C (init): remove override_x_deadkeys stuff.
1637 2002-12-12 John Levon <levon@movementarian.org>
1639 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1640 insert. Only remove shift modifier under strict
1643 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1645 * MenuBackend.C (expandToc): fix crash.
1647 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1649 * MenuBackend.C (expandToc): gettext on float names.
1651 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1653 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1654 implement bool empty() [bug 490]
1656 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1658 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1660 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1662 * several files: ws changes
1664 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1666 * text2.C (setCounter): clean up a bit, use boost.format.
1667 (updateCounters): initialize par upon declaration.
1669 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1670 if the layout exists. We do not just store the layout any more.
1671 (SwitchLayoutsBetweenClasses): use boost.format
1673 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1675 * converter.C (convert): if from and to files are the same, use a
1676 temporary files as intermediary
1678 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1681 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1683 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1685 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1687 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1689 * tabular.C (asciiPrintCell): use string(size, char) instead of
1692 * sgml.C (openTag): fix order of arguments to string constructor
1695 * lyxfunc.C (dispatch): use boost.format
1697 * lots of files: change "c" -> 'c'
1699 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1701 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1703 2002-11-25 Angus Leeming <leeming@lyx.org>
1705 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1707 * lyx_main.C (init): compile fix.
1709 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1711 * lyx_cb.C (start): boost.formatify
1712 do not include <iostream>
1714 * lengthcommon.C: ws only
1716 * boost-inst.C,BoostFormat.h: add more explict instantations
1718 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1720 * lots of files: handle USE_BOOST_FORMAT
1722 2002-11-21 John Levon <levon@movementarian.org>
1724 * pspell.C: fix compile
1726 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1728 * lyxfunc.C (dispatch): use boost::format
1732 * lyxfont.C (stateText): use boost::format
1734 * lyx_main.C (LyX): use boost::format
1736 (queryUserLyXDir): ditto
1739 (typedef boost::function): use the recommened syntax.
1741 * importer.C (Import): use boost::format
1743 * debug.C (showLevel): use boost::format
1745 * converter.C (view): use boost::format
1750 * bufferview_funcs.C (currentState): use boost::format
1752 * bufferlist.C (emergencyWrite): use boost::format
1754 * buffer.C (readLyXformat2): use boost::format
1755 (parseSingleLyXformat2Token): ditto
1757 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1759 * LaTeX.C (run): use boost::format
1761 * Chktex.C (scanLogFile): use boost::format
1763 * BufferView_pimpl.C (savePosition): use boost::format
1764 (restorePosition): ditto
1765 (MenuInsertLyXFile): ditto
1767 * BoostFormat.h: help file for explicit instation.
1769 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1771 * tabular.C (latex): Support for block alignment in fixed width
1774 2002-11-17 John Levon <levon@movementarian.org>
1776 * BufferView_pimpl.C:
1778 * lyxfunc.C: split filedialog into open/save
1780 2002-11-08 Juergen Vigna <jug@sad.it>
1782 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1783 by my last patch (hopefully).
1785 2002-11-08 John Levon <levon@movementarian.org>
1794 * toc.C: ParConstIterator, and use it (from Lars)
1796 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1798 * lyxtextclass.[Ch]: revise and add doxygen comments
1800 2002-11-07 John Levon <levon@movementarian.org>
1802 * text.C: fix progress value for spellchecker
1804 * toc.C: fix navigate menu for insetwrap inside minipage
1806 * paragraph_funcs.C: added FIXME for suspect code
1808 2002-11-07 John Levon <levon@movementarian.org>
1810 * BufferView_pimpl.C: fix redrawing of insets
1813 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1815 * text2.C (updateCounters): fix bug 668
1817 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1819 * text3.C (dispatch): Do not make the buffer dirty when moving the
1822 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1824 * vc-backend.C: STRCONV
1827 * text2.C (setCounter): STRCONV
1829 * paragraph.C (asString): STRCONV
1831 * lyxlength.C (asString): STRCONV
1832 (asLatexString): ditto
1834 * lyxgluelength.C (asString): STRCONV
1835 (asLatexString): ditto
1837 * lyxfunc.C (dispatch): STRCONV
1840 * lyxfont.C (stateText): STRCONV
1842 * importer.C (Import): STRCONV
1844 * counters.C (labelItem): STRCONV
1845 (numberLabel): ditto
1846 (numberLabel): remove unused ostringstream o
1851 * bufferview_funcs.C (currentState): STRCONV
1853 * buffer.C (readFile): STRCONV
1854 (asciiParagraph): ditto
1855 (makeLaTeXFile): ditto
1857 * Spacing.C (writeEnvirBegin): STRCONV
1859 * LaTeXFeatures.C (getLanguages): STRCONV
1860 (getPackages): ditto
1862 (getBabelOptions): ditto
1863 (getTClassPreamble): ditto
1864 (getLyXSGMLEntities): ditto
1865 (getIncludedFiles): ditto
1869 (scanAuxFile): ditto
1872 * LString.h: add the STRCONV macros
1874 * BufferView_pimpl.C (savePosition): STRCONV
1875 (restorePosition): ditto
1876 (MenuInsertLyXFile): ditto
1878 * vc-backend.C (scanMaster): change from submatch[...] to
1881 * funcrequest.C: include config.h
1883 * factory.C: include config.h
1885 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1887 * box.C: include config.h
1889 * LaTeX.C (scanAuxFile): change from submatch[...] to
1893 2002-10-25 Angus Leeming <leeming@lyx.org>
1895 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1897 * ispell.[Ch] (setError): new method.
1898 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1899 Use setError() insetead of goto END.
1901 * lyx_cb.C (AutoSave): move out child process into new class
1904 2002-10-30 John Levon <levon@movementarian.org>
1906 * text3.C: make start appendix undoable
1908 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1910 * lyxlength.C (inPixels): Fix returned value.
1912 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1915 2002-10-24 Angus Leeming <leeming@lyx.org>
1917 * lyxgluelength.h: no need to forward declare BufferParams
1918 or BufferView, so don't.
1920 2002-10-21 John Levon <levon@movementarian.org>
1922 * BufferView.C: menuUndo ->undo, redo
1924 * BufferView.h: document, remove dead, make some methods private
1926 * paragraph_funcs.h:
1927 * paragraph_funcs.C:
1928 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1933 * sgml.C: move sgml open/close tag into sgml.C
1935 * bufferview_funcs.h: unused prototype
1938 * lyxfunc.C: remove unused
1941 * text.C: remove unused
1943 2002-10-21 John Levon <levon@movementarian.org>
1947 * BufferView_pimpl.h:
1948 * BufferView_pimpl.C: fix mouse wheel handling based on
1949 patch from Darren Freeman
1951 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
1953 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1955 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
1957 * lyxlength.C (inPixels): Fix hanfling of negative length.
1958 Fix LyXLength::MU case.
1960 2002-10-16 John Levon <levon@movementarian.org>
1962 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1964 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1966 * converter.C (view): add support for $$i (file name) and $$p
1967 (file path) for the viewer command. If $$i is not specified, then
1968 it is appended to the command (for compatibility with old syntax)
1970 2002-10-14 Juergen Vigna <jug@sad.it>
1972 * undo_funcs.C (textHandleUndo): alter the order in which the
1973 new undopar is added to the LyXText, as we have to set first
1974 the right prev/next and then add it as otherwise the rebuild of
1975 LyXText is not correct. Also reset the cursor to the right paragraph,
1976 with this IMO we could remove the hack in "redoParagraphs()".
1978 2002-10-09 Angus Leeming <leeming@lyx.org>
1980 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1981 to turn off an optimisation if a new inset is to be inserted.
1983 2002-10-11 André Pönitz <poenitz@gmx.net>
1985 * lyxtext.h: make some functions public to allow access
1986 from inset/lyxtext for handling LFUN_PRIOR/NEXT
1988 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1990 * text3.C (dispatch): when changing layout, avoid an infinite loop
1993 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1995 * lyxrc.C (read): treat a viewer or converter command of "none" as
1998 * MenuBackend.C (expandFormats): for an update, also allow the
1999 formats that are not viewable
2001 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
2002 script if it is newer than the lyxrc.defaults in user directory
2004 2002-10-07 André Pönitz <poenitz@gmx.net>
2006 * text.C: Vitaly Lipatov's small i18n fix
2008 2002-09-25 Angus Leeming <leeming@lyx.org>
2010 * ispell.h: doxygen fix.
2012 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
2014 * buffer.h (readFile): Add a new argument to the method, to allow
2015 reading of old-format templates.
2017 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2019 * toc.C (getTocList): Get TOC from InsetWrap.
2021 2002-09-16 John Levon <levon@movementarian.org>
2023 * lyxfunc.C: check tabular for cut/copy too
2025 2002-09-12 John Levon <levon@movementarian.org>
2030 * factory.C: add header
2032 * paragraph_funcs.h:
2033 * paragraph_funcs.C: cleanup
2035 2002-09-11 John Levon <levon@movementarian.org>
2037 * PrinterParams.h: odd/even default to true
2039 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2041 * PrinterParams.h: update printer parameters for new xforms dialog
2043 2002-09-11 Angus Leeming <leeming@lyx.org>
2045 * lyxserver.C (read_ready): re-write to make it more transparent
2046 and to make it work in coherent fashion under Tru64 Unix.
2048 2002-09-11 André Pönitz <poenitz@gmx.net>
2052 * text3.C: implement LFUN_WORDSEL
2054 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2056 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
2057 make floatlist_ a boost::shared_ptr<FloatList>
2059 * lyxtextclass.C: include FloatList.h
2060 (LyXTextClass): initialize floatlist_
2061 (TextClassTags): add TC_NOFLOAT
2062 (Read): match "nofloat" to TC_NOFLOAT and use it.
2063 (readFloat): modify call to floatlist_
2067 * FloatList.[Ch] (FloatList): remove commented out float
2069 (erase): new function
2071 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2073 * MenuBackend.C (expandToc): fix crash when there is no document
2076 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
2078 * many files: Add insetwrap.
2080 2002-09-09 John Levon <levon@movementarian.org>
2082 * text2.C: remove confusing and awkward depth wraparound
2084 2002-09-09 John Levon <levon@movementarian.org>
2086 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
2089 * buffer.C: remove getIncludeonlyList()
2092 * lyxfunc.C: remove headers
2094 2002-09-09 Juergen Vigna <jug@sad.it>
2096 * text.C (getColumnNearX): fix form Michael this is most
2097 probably a cut&paste bug.
2099 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2101 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
2103 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
2104 references, ws changes.
2106 * text2.C (init): update counters after init
2107 (insertParagraph): no need to set counter on idividual paragraphs.
2108 (setCounter): access the counters object in the textclass object
2109 on in the buffer object.
2110 (updateCounters): ditto
2112 * lyxtextclass.C: include counters.h, add variable ctrs_ as
2113 shared_ptr<Counters> to avoid loading counters.h in all
2115 (LyXTextClass): initialize ctrs_
2116 (TextClassTags): add TC_COUNTER, and ...
2117 (Read): use it here.
2118 (CounterTags): new tags
2119 (readCounter): new function
2120 (counters): new funtion
2121 (defaultLayoutName): return a const reference
2123 * counters.C (Counters): remove contructor
2124 (newCounter): remove a couple of unneeded statements.
2125 (newCounter): simplify a bit.
2126 (numberLabel): some small formatting changes.
2128 * buffer.[Ch]: remove all traces of counters, move the Counters
2129 object to the LyXTextClass.
2131 2002-09-06 Alain Castera <castera@in2p3.fr>
2133 * tabular.C: uses \tabularnewline; uses >{...} construct from array
2134 package to set the horizontal alignment on fixed width columns.
2137 * lyx_sty.h: added tabularnewline macro def.
2139 * LaTeXFeatures.C: added NeedTabularnewline macro feature
2141 2002-09-06 John Levon <levon@movementarian.org>
2143 * LyXAction.C: tooltips for sub/superscript
2145 * MenuBackend.C: a bit more verbose
2147 * lyxfunc.C: tiny clean
2149 * undo_funcs.C: document undo_frozen
2151 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2153 * counters.C (Counters): add missing algorithm counter.
2155 * text2.C (setCounter): lookup the counter with layouts latexname
2156 instead of by section number.
2157 (setCounter): use a hackish way to lookup the correct enum
2159 a float name->type change
2160 reset enum couners with counter name directly instead of depth value.
2162 * counters.C (Counters): remove the push_backs, change to use the
2163 float type not the float name.
2164 (labelItem): remove unused string, float name->type change
2166 * counters.h: don't include vector, loose the enums and sects vectors
2168 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2170 * lyxtextclass.C (TextClassTags): add TC_FLOAT
2171 (Read): add float->TC_FLOAT to textclassTags
2172 (Read): and handle it in the switch
2173 (readFloat): new function
2175 * FloatList.C (FloatList): comment out the hardcoded float
2178 * lyxlayout.h: ws change.
2180 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
2182 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
2184 2002-09-03 Angus Leeming <leeming@lyx.org>
2186 * BufferView_pimpl.h: qualified name is not allowed in member
2187 declaration: WorkArea & Pimpl::workarea() const;
2189 * factory.C: added using std::endl directive.
2191 * text3.C: added using std::find and std::vector directives.
2193 2002-08-29 André Pönitz <poenitz@gmx.net>
2196 * text2.C: remove unused member number_of_rows
2199 * BufferView2.C: remove file, move contents to...
2200 * BufferView.C: ... here
2202 * BufferView_pimpl.C:
2203 * factory.C: move more inset creation to factory
2205 * vspace.C: avoid direct usage of LyXText, ws changes
2208 don't provide direct access to WorkArea, use two simple
2209 acessors haveSelction() and workHeight() instead
2212 2002-08-29 John Levon <levon@movementarian.org>
2214 * BufferView_pimpl.C (dispatch): do not continue when
2217 2002-08-28 André Pönitz <poenitz@gmx.net>
2219 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
2222 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
2224 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2226 * buffer.C: increment LYX_FORMAT to 221
2228 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
2229 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
2231 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
2233 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
2235 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2237 * factory.C (createInset): use LyXTextClass::floats
2239 * MenuBackend.C (expandFloatListInsert):
2240 (expandFloatInsert):
2243 * text2.C (setCounter):
2245 * LaTeXFeatures.C (useFloat):
2246 (getFloatDefinitions):
2248 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
2250 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
2251 floatlist_, with accessor floats().
2253 * FloatList.h: remove global FloatList
2255 2002-08-26 André Pönitz <poenitz@gmx.net>
2257 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
2261 * BufferView_pimpl.C:
2262 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
2264 2002-08-25 John Levon <levon@movementarian.org>
2266 * LyXAction.C: fix margin note description
2268 2002-08-24 John Levon <levon@movementarian.org>
2272 * bufferview_funcs.C:
2274 * undo_funcs.C: cleanups
2276 * lyxfunc.C: disable CUT/COPY when no selection
2278 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2280 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
2281 in "enum UNIT"; e.g. PTW for Percent of TextWidth
2283 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
2284 Add backward compatibility to "mono", "gray" and "no".
2286 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
2288 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
2289 (and file_format >= 200).
2291 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2293 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
2295 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2297 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
2299 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
2301 * BufferView_pimpl.C:
2308 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2309 inset and code to make it work with the paragraph code. The inset
2310 can be anywhere in the paragraph, but will only do the expected
2311 thing in LaTeX if the layout file contains the parameter line
2313 (or more generally, a nonzero value) for that layout.
2315 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2317 * paragraph.h: remove the declaration of undefined counters class
2320 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
2322 * text2.C (setCounter): fixed enumeration mis-count as reported by
2323 Dr. Richard Hawkins.
2325 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2327 * paragraph_funcs.h: remove some unneeded includes
2329 * text.C (backspace): pasteParagraph now in global scipe
2331 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2332 (pasteSelection): ditto
2334 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2335 * paragraph_funcs.C (pasteParagraph): ... here
2337 2002-08-20 André Pönitz <poenitz@gmx.net>
2339 * commandtags.h: new LFUNs for swapping/copying table row/colums
2342 * lyxfunc.C: support for new lfuns
2344 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2347 * buffer.[Ch]: remove NO_COMPABILITY stuff
2349 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
2351 * boost.C (throw_exception): new file, with helper function for
2352 boost compiled without exceptions.
2357 * ParameterStruct.h:
2358 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2360 * bufferlist.C (emergencyWriteAll): use boost bind
2362 * BufferView_pimpl.C (moveCursorUpdate): remove inline
2364 * text.C: include paragraph_funcs.h
2365 (breakParagraph): breakParagraph is now in global scope
2367 * paragraph_funcs.[Ch]: new files
2369 * paragraph.C (breakParagraph,breakParagraphConservative): move to
2372 * buffer.C: include paragraph_funcs.h
2373 (insertStringAsLines): breakParagraph is now in global scope
2375 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2378 * CutAndPaste.C: include paragraph_funcs.h
2379 (cutSelection): breakParagraphConservative is now in global scope
2380 (pasteSelection): ditto
2382 * buffer.h: declare oprator== and operator!= for
2383 Buffer::inset_iterator
2385 * bufferlist.C (emergencyWrite): don't use fmt(...)
2387 * text3.C: add using std::endl
2389 * BufferView.C (moveCursorUpdate): remove default arg
2391 2002-08-20 André Pönitz <poenitz@gmx.net>
2393 * buffer.[Ch]: move inline functions to .C
2396 * BufferView_pimpl.C:
2398 * buffer.[Ch]: use improved inset_iterator
2401 * paragraph.[Ch]: write one paragraph at a time
2403 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
2405 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2406 style if style is not specified.
2408 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2410 * text2.C (setCounter): when searching for right label for a
2411 caption, make sure to recurse to parent insets (so that a caption
2412 in a minipage in a figure float works) (bug #568)
2414 2002-08-20 André Pönitz <poenitz@gmx.net>
2416 * text3.C: new file for LyXText::dispatch() and helpers
2418 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2420 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2422 2002-08-19 André Pönitz <poenitz@gmx.net>
2425 * text.C: new LyXText::dispatch()
2427 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2429 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
2431 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2433 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2436 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2438 * Makefile.am: use $(variables) instead of @substitutions@
2440 2002-08-15 André Pönitz <poenitz@gmx.net>
2443 * BufferView_pimpl.C: streamlining mathed <-> outer world
2447 * LyXAction.C: remove unused LFUN_MATH
2449 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2451 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2453 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2455 * paragraph.C (Paragraph): reformat a bit
2456 (cutIntoMinibuffer): use builtin InsetList function instad of
2460 * buffer.C: include boost/bind.hpp, add using std::for_each
2461 (writeFileAscii): use ParagraphList iterators
2462 (validate): use for_each for validate traversal of paragraphs
2463 (getBibkeyList): use ParagraphList iterators
2464 (resizeInsets): use for_each to resizeInsetsLyXText for all
2466 (getParFromID): use ParagraphList iterators
2468 * BufferView2.C (lockInset): use paragraph list and iterators
2470 2002-08-14 John Levon <levon@movementarian.org>
2472 * lyxserver.C: remove spurious xforms include
2474 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2476 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2478 2002-08-13 André Pönitz <poenitz@gmx.net>
2481 * lyxfunc.C: further cleaning
2483 2002-08-13 André Pönitz <poenitz@gmx.net>
2485 * funcrequest.h: new constructor
2487 * funcrequest.C: move stuff here from .h
2490 * BufferView_pimpl.C:
2493 * lyxfunc.C: subsequent changes
2495 * lyxfunc.h: new view() member function
2497 * lyxfunc.C: subsequent changes
2499 2002-08-13 Angus Leeming <leeming@lyx.org>
2502 * BufferView_pimpl.C:
2510 changes due to the changed LyXView interface that now returns references
2511 to member variables not pointers.
2513 2002-08-13 Angus Leeming <leeming@lyx.org>
2515 * WordLangTuple (word, lang_code): return references to strings,
2520 * lyxtext.h: forward-declare WordLangTuple.
2525 * text.C: #include "WordLangTuple.h".
2528 * text.C: (selectNextWordToSpellcheck): constify return type.
2530 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2536 * paragraph_pimpl.h:
2539 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2541 Made updateCounter always count from start of buffer, and removed
2542 second argument (par).
2543 Reverted floats number display to '#'. Perhaps I'll try again when the
2544 code base is sanitized a bit.
2546 2002-08-12 Angus Leeming <leeming@lyx.org>
2548 * buffer.[Ch] (getLabelList): constify.
2550 2002-08-07 André Pönitz <poenitz@gmx.net>
2552 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2554 * funcrequest.h: extension to keep mouse (x,y) position
2556 2002-08-12 Juergen Vigna <jug@sad.it>
2558 * BufferView2.C (insertErrors): forbid undo when inserting error
2561 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2563 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2565 * ParagraphList.[Ch]: new files
2567 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2569 * BufferView2.C (lockInset): ParagraphList changes
2572 * bufferlist.C: ditto
2576 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2578 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2579 unused class variable counter_,
2581 * paragraph.[Ch] (getFirstCounter): delete unused function
2583 * counters.C: include LAssert.h
2584 (reset): add a new function with no arg, change other version to
2585 not have def. arg and to not allow empty arg.
2587 * text2.C (setCounter): remove empty arg from call to Counters::reset
2589 2002-08-11 John Levon <levon@movementarian.org>
2591 * Makefile.am: add WordLangTuple.h
2593 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2595 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2596 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2598 * insets/insettext.C: InsetList changes
2600 * graphics/GraphicsSupport.C (operator()): InsetList changes
2602 * toc.C (getTocList): InsetList changes
2604 * paragraph_pimpl.[Ch]: InsetList changes
2606 * paragraph.[Ch]: InsetList changes
2608 * buffer.C (inset_iterator): InsetList changes
2609 (setParagraph): ditto
2610 * buffer.h (inset_iterator): ditto
2611 * iterators.C (operator++): ditto
2612 * iterators.h: ditto
2614 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2616 * InsetList.[Ch]: new files, most InsetList handling moved out of
2619 * BufferView2.C (removeAutoInsets): InsetList changes
2621 (ChangeInsets): ditto
2623 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2625 * paragraph_pimpl.h (empty): new function
2627 * paragraph.[Ch] (empty): new function
2629 * other files: use the new Paragraph::empty function
2631 2002-08-09 John Levon <levon@movementarian.org>
2633 * lyxtext.h: remove unused refresh_height
2635 2002-08-09 John Levon <levon@movementarian.org>
2642 * paragraph.C: move sgml char escaping out of paragraph
2645 * paragraph.C: remove id setter
2649 * paragraph_pimpl.C: remove dead tex_code_break_column
2651 * bufferview_funcs.C: small cleanup
2653 * lyxfunc.C: remove dead proto
2655 * lyxtext.h: make some stuff private. Remove some dead stuff.
2657 * lyxgluelength.C: make as[LyX]String() readable
2659 2002-08-08 John Levon <levon@movementarian.org>
2664 * ToolbarDefaults.C:
2667 * toc.C: lyxaction cleanup
2669 2002-08-08 John Levon <levon@movementarian.org>
2671 * BufferView2.C: small cleanup
2674 * lyxfind.C: move unnecessary header into the .C
2676 2002-08-08 John Levon <levon@movementarian.org>
2678 * funcrequest.h: just tedious nonsense
2681 * lyx_main.C: cleanups
2684 * vspace.C: remove dead header lyx_main.h
2686 2002-08-07 Angus Leeming <leeming@lyx.org>
2689 * paragraph_pimpl.h:
2690 Forward declare class Counters in paragraph.h by moving the ctrs member
2691 variable into Paragraph::Pimpl.
2692 (counters): new method, returning a reference to pimpl_->ctrs.
2694 * text2.C: ensuing changes.
2696 2002-08-07 John Levon <levon@movementarian.org>
2698 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2700 * BufferView_pimpl.C: announce X selection on double/triple
2703 * lyx_main.C: use correct bool in batch dispatch
2705 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2707 2002-08-07 André Pönitz <poenitz@gmx.net>
2709 * funcrequest.h: new class to wrap a kb_action and its argument
2712 * BufferView_pimpl[Ch]:
2716 * lyxrc.C: subsequent changes
2719 2002-08-07 John Levon <levon@movementarian.org>
2721 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2722 document options change.
2724 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2729 * makefile.am: move counters functionality over from
2730 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2732 2002-08-06 John Levon <levon@movementarian.org>
2734 * WordLangTuple.h: new file for word + language code tuple
2745 * BufferView2.C: use WordLangTuple
2748 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2750 2002-08-06 John Levon <levon@movementarian.org>
2752 * lyx_main.C: fix cmdline batch handling
2754 2002-08-06 André Pönitz <poenitz@gmx.net>
2756 * lyxrc.C: set default for show_banner to true
2758 2002-08-06 John Levon <levon@movementarian.org>
2760 * pspell.C: fix a crash, and allow new aspell to work
2762 2002-08-06 John Levon <levon@movementarian.org>
2765 * kbmap.C: small cleanup
2768 * vspace.C: add const
2770 2002-08-05 John Levon <levon@movementarian.org>
2772 * LyXAction.C: back to tabular-insert
2774 2002-08-04 John Levon <levon@movementarian.org>
2777 * BufferView.C: cosmetic change
2779 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2789 * BufferView2.C: purge all "Lyx" not "LyX" strings
2792 * lyxcursor.C: attempt to add some documentation
2797 * ToolbarDefaults.C:
2798 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2799 merge with LFUN_TABULAR_INSERT
2806 * pspell.C: split up i/pspell implementations into separate
2807 files, many cleanups
2809 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2811 * text2.C: some cleanup
2813 * lyxfunc.C: don't check for isp_command == "none" any more, it
2814 didn't make any sense
2816 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2821 * makefile.am: move counters functionality over
2822 from text2.C/paragraph.[Ch] to counters.[Ch], and
2824 2002-08-02 John Levon <levon@movementarian.org>
2826 * buffer.C: s/lyxconvert/lyx2lyx/
2828 2002-08-02 Angus Leeming <leeming@lyx.org>
2830 * lyxlex.C: revert John's change as it breaks reading of the user
2833 2002-08-02 Angus Leeming <leeming@lyx.org>
2835 * importer.C (Import):
2836 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2837 changes due to LyXView::view() now returning a boost::shared_ptr.
2839 2002-08-02 John Levon <levon@movementarian.org>
2841 * lyxlex.C: small cleanup
2843 2002-08-02 John Levon <levon@movementarian.org>
2845 * text2.C (status): small cleanup, no logic change
2847 2002-08-01 John Levon <levon@movementarian.org>
2850 * buffer.C (writeFile): don't output alerts, caller
2854 * lyx_cb.C: from above
2856 * lyxfunc.C: allow to open non-existent files
2858 2002-07-31 John Levon <levon@movementarian.org>
2860 * lyxserver.C: don't let incidental errors get
2863 2002-07-30 John Levon <levon@movementarian.org>
2865 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2867 2002-07-30 John Levon <levon@movementarian.org>
2870 * lyxserver.C: remove I/O callback too
2872 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2874 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2877 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2879 * many files: strip,frontStrip -> trim,ltrim,rtrim
2881 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2883 * PrinterParams.h: remove extern containsOnly, and include
2884 support/lstrings.h instead.
2886 * LaTeX.C (scanAuxFile): modify because of strip changes
2888 * buffer.C (makeLaTeXFile): ditto
2889 * bufferparams.C (writeFile): ditt
2890 * lyxfont.C (stateText): ditto
2891 * lyxserver.C (read_ready): ditto
2892 * vc-backend.C (scanMaster): ditto
2894 * BufferView_pimpl.h: ws changes
2896 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2898 2002-07-26 André Pönitz <poenitz@gmx.net>
2900 * kb_sequence.C: remove unnedred usings
2902 2002-07-26 Juergen Vigna <jug@sad.it>
2904 * lyxfind.C (LyXReplace): we have to check better if the returned
2905 text is not of theLockingInset()->getLockingInset().
2907 2002-07-25 Juergen Vigna <jug@sad.it>
2909 * lyxfind.C (LyXReplace): don't replace if we don't get the
2912 * undo_funcs.C (createUndo): remove debugging code.
2914 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2916 * buffer.C (parseSingleLyXformat2Token): Use default placement
2917 when reading old floats.
2919 * FloatList.C (FloatList): Change the default placement of figure
2920 and tables to "tbp".
2922 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
2924 * MenuBackend.C: using std::max
2926 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2928 * MenuBackend.C (expandToc):
2929 (expandToc2): code moved from xforms menu frontend. It is now
2930 generic and TOCs are transparent to menu frontends.
2932 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2934 * toc.C (getTocList): protect against buf=0
2936 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2937 Menu as first parameter. Now, this calls itself recursively to
2938 expand a whole tree (this will be useful for TOC handling)
2939 (expandFloatInsert): remove 'wide' version of floats
2941 * MenuBackend.h (submenuname): returns the name of the submenu.
2942 (submenu): returns the submenu itself, provided it has been
2943 created by MenuBackend::expand
2945 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2947 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2948 insets which have noFontChange == true. (bug #172)
2950 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2952 * BufferView_pimpl.C: add connection objects and use them...
2955 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2957 * MenuBackend.C (expandLastfiles):
2960 (expandFloatListInsert):
2961 (expandFloatInsert):
2962 (expand): split expand in parts
2964 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2966 * lyx_gui.C: use lyx_gui::exit()
2968 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2970 * LyXAction.C: show the failing pseudo action
2972 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
2974 * buffer.C (readFile): Run the lyxconvert script in order to read
2977 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2981 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2983 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2987 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2989 2002-07-22 Herbert Voss <voss@lyx.org>
2992 * lyxlength.[Ch]: add support for the vertical lengths
2994 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
2996 * toc.[Ch]: std:: fixes
2998 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3000 * lyxrc.C: do not include lyx_main.h
3002 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
3008 * BufferView2.C: include "lyxlex.h"
3011 * bufferparams.h: do not #include "lyxlex.h"
3013 * lyxtextclasslist.C (Add): remove method
3014 (classlist): renamed to classlist_
3016 * paragraph_pimpl.C:
3020 * bufferview_funcs.C:
3025 * toc.C (getTocList): use BufferParams::getLyXTextClass
3027 * toc.C (getTocList): use InsetFloat::addToToc
3029 * toc.[Ch]: new files, containing helper functions to handle table
3032 * lyxfunc.C (dispatch): no need to remove spaces around command
3034 (getStatus): handle LFUN_SEQUENCE by returning the status of the
3035 first command of the sequence; it is not very clever, but I do not
3036 have a better idea, actually
3038 * LyXAction.C (LookupFunc): make sure to remove space at the
3039 beginning and end of the command
3041 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3043 * MenuBackend.C (getMenubar): new method: return the menubar of
3045 (read): treat differently reading of menu and menubar (in
3046 particular, the menubar has no name now)
3047 (Menu::menubar): remove
3049 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
3052 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3054 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
3055 a bibitem inset in a RTL paragraph.
3057 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
3059 * paragraph_pimpl.C: constify
3061 * BufferView_pimpl.C:
3063 * lyxfunc.C: fix dispatch in a nicer way
3065 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3067 * lyxfunc.C (dispatch):
3068 * BufferView_pimpl.C:
3069 * BufferView_pimpl.h:
3071 * BufferView.h: rename Dispatch() to dispatch()
3073 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
3075 * lyxlayout.C (Read): honor DependsOn tag
3077 * lyxlayout.[Ch] (depends_on): new method
3079 * version.C.in: update lyx_docversion
3081 * LaTeXFeatures.C (getMacros): only define \LyX when needed
3083 * paragraph.C (validate): remove from here...
3084 * paragraph_pimpl.C (validate): ... and move here
3085 (isTextAt): make it const
3087 * buffer.C (getLists): ws cleanup
3089 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3091 * language.C (read): Use iso8859-1 encoding in latex_lang
3092 (this prevents LyX from crashing when using iso10646-1 encoding).
3094 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3096 * text2.C (toggleInset): if cursor is inside an inset, close the
3097 inset and leave cursor _after_ it
3099 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3101 * lyxfunc.C: move minibuffer completion handling out of here
3103 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3105 * BufferView_pimpl.C:
3106 * LaTeX.C: fix dispatch calls
3108 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
3110 * text.C (drawChars): Fix Arabic text rendering.
3112 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
3116 * lyxfunc.C: remove message-push/pop
3120 * lyxfunc.C: rationalise some code by removing verboseDispatch
3121 in favour of a bool argument to dispatch()
3123 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3125 * lyx_main.C (init): make sure to read symlinks as absolute paths
3127 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3130 * lyxfunc.C: no need for commandshortcut to be a member
3132 2002-07-15 André Pönitz <poenitz@gmx.net>
3134 * converter.C: add support for $$s (scripts from lib/scripts dir)
3135 * lyx_main.C: white space
3137 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3141 * lyxrc.C: remove second exit confirmation
3143 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3148 * BufferView_pimpl.h:
3149 * BufferView_pimpl.C:
3150 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
3152 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3154 * MenuBackend.C (expand): add numeric shortcuts to document menu
3156 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
3158 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3160 * lyxfont.C (setLyXFamily):
3167 * buffer.C (asciiParagraph): use ascii_lowercase
3169 2002-07-15 Mike Fabian <mfabian@suse.de>
3171 * lyxlex_pimpl.C (search_kw):
3172 * lyxlex.C (getLongString):
3173 * converter.h (operator<):
3174 * converter.C (operator<):
3175 * buffer.C (parseSingleLyXformat2Token):
3177 * ToolbarDefaults.C (read):
3178 * MenuBackend.C (checkShortcuts):
3180 * LColor.C (getFromGUIName):
3181 (getFromLyXName): use the compare_ascii_no_case instead of
3182 compare_no_case, because in turkish, 'i' is not the lowercase
3183 version of 'I', and thus turkish locale breaks parsing of tags.
3185 2002-07-16 Angus Leeming <leeming@lyx.org>
3187 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
3188 now takes a Buffer const & argument.
3190 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3192 * BufferView.C (resize): check there's a buffer to resize
3194 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
3196 * lyxfunc.C: remove dead code
3199 * lyxserver.C: use lyx_guii::set_read_callback
3201 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3203 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
3204 an inset in a RTL paragraph.
3206 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3208 * lyxfunc.C: repaint after a font size update
3210 2002-07-15 André Pönitz <poenitz@gmx.net>
3212 * lyxlength.C: inBP should be able to return negative values
3214 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3216 * lyxfunc.C: use lyx_gui::update_fonts()
3218 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3220 * lyxfunc.C: use lyx_gui::update_color()
3222 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3228 * lyxrc.C: remove file->new asks for name option, and let
3229 buffer-new take an argument
3231 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3233 * BufferView_pimpl.C: remove unneeded extra repaint()
3235 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
3237 * LyXAction.C: allow command-sequence with NoBuffer
3239 * lyxfunc.C: don't insist on trailing ';' for command-sequence
3241 2002-07-10 Angus Leeming <leeming@lyx.org>
3243 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
3245 2002-07-09 Angus Leeming <leeming@lyx.org>
3247 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
3249 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3251 * lengthcommon.h: whitespace
3253 * lyxfunc.C: update scrollbar after goto paragraph
3255 * lyxtext.h: factor out page break drawing, and fix it so
3256 page break/added space paints as selected nicely
3258 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3260 * BufferView_pimpl.C: add FIXMEs, clean up a little
3262 2002-07-09 André Pönitz <poenitz@gmx.net>
3264 * lyxfont.[Ch]: support for wasy symbols
3266 2002-07-08 André Pönitz <poenitz@gmx.net>
3268 * BufferView_pimpl.C: apply John's patch for #93.
3270 2002-07-05 Angus Leeming <leeming@lyx.org>
3272 * BufferView_pimpl.C (buffer): generate previews if desired.
3274 * LColor.h: add "preview" to the color enum.
3276 * LColor.C (LColor): add a corresponding entry to the items array.
3278 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
3281 2002-07-05 Angus Leeming <leeming@lyx.org>
3283 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
3284 The body of the code is now in the method that is passed an ostream &
3285 rather than a file name.
3286 Pass an additional only_preamble parameter, useful for the forthcoming
3289 2002-07-03 André Pönitz <poenitz@gmx.net>
3291 * lyxfunc.C: simplify getStatus() a bit for math stuff
3293 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3295 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
3297 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3299 * text.C (changeRegionCase): do not change case of all the
3300 document when region ends at paragraph end (bug #461)
3302 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3304 * paragraph.C (startTeXParParams):
3305 (endTeXParParams): add \protect when necessary
3307 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3309 * BufferView_pimpl.C (workAreaExpose): remove warning
3311 2002-06-27 Angus Leeming <leeming@lyx.org>
3313 * Makefile.am: add lyxlayout_ptr_fwd.h.
3315 2002-06-26 André Pönitz <poenitz@gmx.net>
3317 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3319 2002-06-25 Angus Leeming <leeming@lyx.org>
3321 * lyxfunc.C (dispatch): Comment out the call to
3322 grfx::GCache::changeDisplay. The method no longer exists now that the
3323 pixmap generation part of the graphics loader has been moved into
3326 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3328 * text2.C: layout as layout
3330 * text.C: layout as layout
3332 * tabular.C (OldFormatRead): layout as layout
3334 * paragraph_pimpl.C (TeXDeeper): layout as layout
3335 (realizeFont): layout as layout
3337 * paragraph.C (writeFile): layout as layout
3338 (validate): layout as layout
3339 (getFont): layout as layout
3340 (getLabelFont): layout as layout
3341 (getLayoutFont): layout as layout
3342 (breakParagraph): layout as layout
3343 (stripLeadingSpaces): layout as layout
3344 (getEndLabel): layout as layout
3345 (getMaxDepthAfter): layout as layout
3346 (applyLayout): layout as layout
3347 (TeXOnePar): layout as layout
3348 (simpleTeXOnePar): layout as layout
3349 (TeXEnvironment): layout as layout
3350 (layout): layout as layout
3351 (layout): layout as layout
3353 * lyxtextclass.C (compare_name): new functor to work with
3354 shared_ptr, layout as layout
3355 (Read): layout as layout
3356 (hasLayout): layout as layout
3357 (operator): layout as layout
3358 (delete_layout): layout as layout
3359 (defaultLayout): layout as layout
3361 * lyxlayout_ptr_fwd.h: new file
3363 * lyxlayout.C (Read): layout as layout
3365 * lyx_cb.C (MenuInsertLabel): layout as layout
3367 * bufferlist.C (newFile): layout as layout
3369 * buffer.C (readLyXformat2): layout as layout
3370 (parseSingleLyXformat2Token): layout as layout
3371 (insertStringAsLines): layout as layout
3372 (asciiParagraph): layout as layout
3373 (latexParagraphs): layout as layout
3374 (makeLinuxDocFile): layout as layout
3375 (simpleLinuxDocOnePar): layout as layout
3376 (makeDocBookFile): layout as layout
3377 (simpleDocBookOnePar): layout as layout
3378 (getLists): layout as layout
3380 * LaTeXFeatures.C (getTClassPreamble): layout as layout
3382 * CutAndPaste.C (cutSelection): layout as layout
3383 (pasteSelection): layout as layout
3384 (SwitchLayoutsBetweenClasses): layout as layout
3386 * BufferView_pimpl.C (Dispatch): layout as layout
3387 (smartQuote): layout as layout
3389 * BufferView2.C (unlockInset): layout as layout
3391 2002-06-24 André Pönitz <poenitz@gmx.net>
3393 * lyxfunc.C: fix #487
3395 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3399 * lyxfunc.C: remove display_shortcuts, show_banner
3401 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3403 * Buffer_pimpl.C: oops, update on resize
3405 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3412 * BufferView.C: use repaint()
3414 * BufferView_pimpl.h:
3415 * BufferView_pimpl.C: s/updateScreen()/repaint()/
3416 as it's a clearer description. Remove superfluous
3419 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3421 * text.C: fix bug 488. Not ideal, but getting
3422 getWord() to work properly for the insets that
3423 matter is more difficult ...
3425 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3427 * BufferView_pimpl.C:
3430 * lyxfunc.C: remove the six million index lyxfuncs to just
3431 one, and DTRT (bug 458)
3433 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3437 * BufferView_pimpl.h:
3438 * BufferView_pimpl.C: clean up resize() stuff,
3439 and unnecessary updateScreen()s
3441 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3445 * BufferView_pimpl.h:
3446 * BufferView_pimpl.C:
3449 * minibuffer.C: remove focus management of workarea,
3450 not needed. Use screen's greyOut()
3452 2002-06-17 Herbert Voss <voss@lyx.org>
3454 * converter.C: (convert) do not post a message, when converting
3455 fails, let the calling function decide what to do in this case
3457 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3459 * lyxfunc.C: tidy up a little
3461 2002-06-16 <alstrup@diku.dk>
3463 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3464 Got rid of FORMS_H_LOCATION include. Now we are
3467 2002-06-15 LyX Development team <lyx@rilke>
3469 * buffer.[Ch] (sgmlOpenTag):
3470 (sgmlCloseTag): Added support for avoiding pernicious mixed
3471 content. Return number of lines written.
3474 (makeDocBookFile): Fixed calls to sgml*Tag.
3475 Simple white space clean.
3477 (simpleDocBookOnePar): Simple white space clean.
3479 * tabular.[Ch] (docBook): Renamed to docbook and got another
3480 argument to related with the pernicious mixed content.
3482 (docbookRow): Fixed calls for docbook inset method.
3484 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3486 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3487 so it's X11 independent.
3491 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3493 2002-06-15 Lyx Development team <lyx@electronia>
3495 * intl.h: Renamed getTrans to getTransManager.
3497 2002-06-14 Angus Leeming <leeming@lyx.org>
3499 * Makefile.am: nuke forgotten stl_string_fwd.h.
3501 2002-06-12 Angus Leeming <leeming@lyx.org>
3503 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3505 2002-06-13 Angus Leeming <leeming@lyx.org>
3508 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3510 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3512 * kbmap.C (getiso): add support for cyrillic and greek
3514 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3518 * BufferView_pimpl.h:
3519 * BufferView_pimpl.C: move bogus scrolling logic
3522 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3525 * BufferView_pimpl.C: view->resize() change
3527 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3529 * BufferView_pimpl.C: topCursorVisible
3532 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3536 * lyx_gui.C: move to frontends/
3540 * lyx_main.C: changes from above
3542 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3549 * lyx_main.C: minor tidy
3551 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3553 * BufferView_pimpl.h:
3554 * BufferView_pimpl.C:
3556 * BufferView.C: make painter() const,
3559 * BufferView2.C: use screen() accessor
3562 * lyx_main.C: some minor cleanup
3564 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3566 * BufferView_pimpl.h:
3567 * BufferView_pimpl.C: remove enter/leaveView,
3570 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3575 * BufferView_pimpl.h:
3576 * BufferView_pimpl.C: only construct screen once,
3579 * lyxrc.C: remove pointless comment
3581 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3584 * BufferView.C: remove active() and belowMouse()
3586 * BufferView_pimpl.h:
3587 * BufferView_pimpl.C: use workarea() not workarea_,
3588 and make it use a scoped_ptr instead
3590 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3592 * lyx_gui.C: add debug message on BadWindow
3594 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3596 * sp_spell.C: fdopen is not part of the C++ standard.
3598 * paragraph.C (InsetIterator): use >= instead of ==
3600 2002-06-07 Angus Leeming <leeming@lyx.org>
3602 Fixes needed to compile with Compaq cxx 6.5.
3603 * BufferView_pimpl.C:
3610 * lyxtextclasslist.C:
3615 all c-library variables have been moved into namespace std. Wrap
3616 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3621 Add a using std::abs declaration.
3623 * kbmap.h (modifier_pair):
3624 * paragraph.h (InsetTable, InsetList):
3625 * lyxfont.h (FontBits):
3626 type definition made public.
3628 * bufferlist.C (emergencyWriteAll): the compiler complains that
3629 there is more than one possible lyx::class_fun template to choose from.
3630 I re-named the void specialisation as lyx::void_class_fun.
3632 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3634 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3635 the compiler is is unable to find tostr in write_attribute.
3637 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3639 * buffer.C (sgmlError): hide #warning
3641 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3643 * xtl/*: get rid of xtl, which is not in use anyway
3645 * LyXAction.C (init):
3646 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3647 were unimplemented xtl experimentation
3649 2002-06-04 André Pönitz <poenitz@gmx.net>
3651 * lyxfunc.C: disable array operation on simple formulae
3653 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3655 * converter.C: constify a bit
3657 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3659 * lyx_gui.C: check xforms version correctly
3661 2002-04-30 Herbert Voss <voss@lyx.org>
3663 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3666 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3668 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3669 attempt to register it with a VCS)
3671 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3673 * lyx_main.C (init): honor variables LYX_DIR_13x and
3676 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3680 * lyx_main.C: fix a crash on bad command line,
3681 and give a useful exit status on error
3683 * lyxfunc.C (doImport): allow -i lyx to work
3685 2002-03-30 André Pönitz <poenitz@gmx.net>
3687 * lyxfunc.C: mathed font changes
3689 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3704 * trans_mgr.h: srcdocs, and some minor cleanups
3706 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3708 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3709 call getFont all the time)
3711 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3713 * switch from SigC signals to boost::signals
3715 2002-05-29 André Pönitz <poenitz@gmx.net>
3717 * paragraph_pimpl.C (getChar): don't call size() too often...
3719 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3721 * paragraph_pimpl.C (insertChar): do not try to update tables when
3722 appending (pos == size())
3724 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3725 in order to reduce drastically the number of comparisons needed to
3726 parse a large document
3728 2002-05-29 André Pönitz <poenitz@gmx.net>
3734 * textclasslist.[Ch]:
3735 * sp_ispell.h: whitespace change
3737 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3739 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3740 lyxaction directly now.
3742 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3746 * lyxvc.C: remove unused headers
3748 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3755 * undo_funcs.C: some cleanups. Use shared_ptr
3756 and a template for the undo stacks.
3758 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3760 * BufferView_pimpl.h:
3761 * BufferView_pimpl.C:
3768 * text2.C: use key_state/mouse_state
3770 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3772 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3775 * chset.C: change include order
3776 (loadFile): use boost regex and get rid of LRegex and LSubstring
3778 * Makefile.am (BOOST_LIBS): new variable
3781 * LaTeX.C: change include order.
3782 (scanAuxFile): use boost regex and get rid of LRegex and
3786 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3791 * FontInfo.C: moved to frontends/xforms/
3794 * FontLoader.C: moved into frontends for GUIIzation
3799 * lyxfunc.C: changes from above
3801 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3803 * LColor.C: remove spurious X include
3805 * BufferView_pimpl.C:
3810 * text2.C: move font metrics to frontends/
3812 2002-05-24 Juergen Vigna <jug@sad.it>
3814 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3815 setting the undo_cursor.
3817 * ParagraphParameters.h: include local includes first.
3819 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3821 * BufferView_pimpl.C:
3822 * BufferView_pimpl.h:
3826 * screen.C: move WorkArea into frontends/
3832 * BufferView2.C: move LyXScreen into frontends/
3836 * lyx_gui.C: move lyxlookup into frontends/xforms/
3838 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3841 * BufferView_pimpl.C:
3851 * bufferview_funcs.C:
3864 * vc-backend.C: move LyX/XFormsView into frontends/
3866 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3878 * text2.C: move Painter to frontends/
3880 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3882 * buffer.C: comment out some some code that depend upon lyx_format
3885 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3886 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3888 * buffer.h (NO_COMPABILITY): turn off compability
3890 * ColorHandler.C: include scoped_array.hpp
3892 * font.C: Use more specific smart_ptr header.
3895 * ShareContainer.h: ditto
3899 * BufferView_pimpl.h: ditto
3900 * ColorHandler.h: ditto
3902 * kbmap.C (defkey): change call to shared_ptr::reset
3904 2002-05-21 Juergen Vigna <jug@sad.it>
3906 * buffer.C (insertErtContents): fix to insert ert asis if it is
3907 non empty. Skip it completely if it contains only whitespaces.
3909 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3911 * BufferView_pimpl.C:
3912 * BufferView2.C: clear selection on paste (bug 393)
3914 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3916 * DepTable.C: include ctime
3918 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3920 * buffer.C (latexParagraphs): Add new argument (moving_arg).
3922 2002-05-14 Juergen Vigna <jug@sad.it>
3924 * text.C (breakParagraph): fixed function to honor the keepempty
3925 layout in the right maner and also to permit the right breaking
3926 algorithm on empty or non empyt keepempty paragraphs.
3928 * paragraph.C (breakParagraph): we have to check also if the par
3929 is really empty (!size()) for isempty otherwise we do the wrong
3932 2002-05-10 Juergen Vigna <jug@sad.it>
3934 * buffer.[Ch] : The following are only changes to the ert
3935 compatibility read reading old LaTeX layout and font stuff and
3936 convert it to ERTInsets.
3938 * buffer.h: added isErtInset().
3940 * buffer.C (struct ErtComp): add a fromlayout bool to check
3941 if we're inside a LaTeX layout.
3942 (isErtInset): new helper function.
3943 (insertErtContents): look for other ert insets before this one
3944 and insert the contents there, so that we don't have subsequent
3945 ERT insets with nothing between them. This way we create only one
3946 inset with multiple paragraphs. Also check if we don't insert only
3947 spaces ' ' as they are ignored anyway afterwards in the .tex file
3948 so if we have only spaces we will ignore this latex part in the
3950 (parseSingleLyXformat2Token \\layout): better compatibility when
3951 reading layout-latex stuff.
3952 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3954 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3955 stuff after reading the inset only get the information back from
3958 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
3960 * buffer.C (makeLaTeXFile): Put language options after loading babel.
3962 * LaTeXFeatures.C (getBabelOptions): New method.
3964 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3966 * BufferView_pimpl.C (Dispatch): work around missing argument for
3969 2002-05-08 Juergen Vigna <jug@sad.it>
3971 * text.C (leftMargin): handle paragraph leftindent.
3973 * paragraph.C (writeFile): write the new \\leftindent tag.
3974 (validate): handle leftindent code.
3975 (TeXEnvironment): handle paragraphleftindent code again.
3977 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3979 * buffer.C (parseSingleLyXformat2Token): added compatibility code
3980 for paragrap_extra indent code and new token \\leftindent.
3981 (latexParagraphs): handle the leftindent as environment.
3983 * ParameterStruct.h: added leftindent support.
3985 * ParagraphParameters.C (leftIndent): added support functions for
3986 the paragraph left indent.
3988 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
3991 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3993 * paragraph.C (isRightToLeftPar): Return false for a paragraph
3996 * text.C (computeBidiTables): No bidi in insetERT.
3998 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
4001 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4003 * version.C.in: pre 5
4005 2002-05-02 José Matos <jamatos@fep.up.pt>
4006 * buffer.C (makeDocBookFile): white space changes, add newline to
4008 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
4010 * tabular.C (docBook): fix typo.
4012 2002-05-03 Juergen Vigna <jug@sad.it>
4014 * screen.C (drawFromTo): recalculate the rowpointer if we had a
4015 change in LyXText as we can not be sure it was not freed.
4016 (drawOneRow): remove unused code.
4018 * text.C (drawInset): redo the calculation of the need_break_row as
4019 it could have a row which was already freed.
4020 (draw): look at the return value of drawInset and return false if
4021 it also returned false.
4022 (paintRowText): look at the return value of draw and return false if
4023 it also returned false.
4025 * lyxtext.h: added bool return type to drawInset() and draw() so that
4026 if we have a change in the row so that the rowbreak has to be redone
4027 we abort drawing as it will be called again.
4029 2002-05-02 Juergen Vigna <jug@sad.it>
4031 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
4032 a change in the maintext also if we're inside an inset.
4033 (Dispatch): set the cursor again after a break line and after the
4034 screen has been updated as it could be we're in a different row.
4036 * text2.C (fixCursorAfterDelete): check to make sure we don't request
4037 to set the cursor behind the pargraph with > size().
4038 (setCursor): check also for the same paragraph when checking where
4039 to put the cursor if we have a NFR inset.
4041 * buffer.C (parseSingleLyXformat2Token): move the compatibility
4042 parts of layout read further up as it still was in the wrong
4045 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4047 * screen.C (drawFromTo): change sine fullRebreak always return
4050 * buffer.C (parseSingleLyXformat2Token): reindent some
4052 * BufferView_pimpl.C (update): change since fullRebreak always
4054 (Dispatch): git rid of the last hardcoded "Standard"s.
4056 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4058 * text2.[Ch] (fullRebreak): make it return void now that we always
4061 2002-04-30 Juergen Vigna <jug@sad.it>
4063 * buffer.C (parseSingleLyXformat2Token): reset the font before the
4064 ert compatibility check for "latex" layout.
4066 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
4068 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
4069 minipages: use col% instead of p%, and also use the current font.
4070 (makeLaTeXFile): Fix use babel condition.
4071 (parseSingleLyXformat2Token): Correct font when reading old floats.
4073 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4075 * BufferView_pimpl.C (Dispatch): Check that float type exists when
4076 inserting list of floats.
4078 2002-04-25 Herbert Voss <voss@lyx.org>
4080 * MenuBackend.C (expand): don't add the graphics extensions to the
4083 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4085 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
4086 non-existing layout, do not complain if it was the default layout
4087 of the original class (bug #342)
4089 2002-04-24 Juergen Vigna <jug@sad.it>
4091 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
4092 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
4094 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4096 * buffer.C (getBibkeyList): If using \bibliography, return the
4097 option field with the reference itself. Enables us to provide natbib
4098 support when using \bibliography.
4100 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
4102 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
4104 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
4105 natbib is provided by the LaTeX class.
4107 2002-04-23 Juergen Vigna <jug@sad.it>
4109 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
4112 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
4114 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4116 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
4118 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
4119 ensuremath around textordmasculine, textordfeminine and
4122 2002-04-19 Juergen Vigna <jug@sad.it>
4124 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
4125 reinitializing the buffer otherwise row-dimensions may be wrong.
4126 (update): reset also the selection cursors if they do exits otherwise
4127 their x/y positions may be wrong.
4129 * text2.C (cursorDown): don't enter the inset if we came from a row
4130 above and are one row over the inset.
4132 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
4133 really leaving an inset.
4135 2002-04-18 Juergen Vigna <jug@sad.it>
4137 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
4138 of the selected paragraph does not have the selected layout also if
4141 * text2.C (setLayout): fixed bug which did not change last selected
4144 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
4145 changed the read and substituted \\end_float with \\end_inset!
4147 * BufferView_pimpl.C (cursorPrevious):
4148 (cursorNext): fixed to make it work with rows heigher than the work
4149 area without moving the cursor only the draw of the row.
4150 (workAreaMotionNotify): fix jumping over high rows.
4152 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4154 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
4157 2002-04-16 Juergen Vigna <jug@sad.it>
4159 * text2.C (setCursor): set also the irow().
4160 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
4162 (cursorDown): support for locking an inset if the x_fix value goes
4163 inside it. That way I can transverse insets too with cursor up/down.
4165 * lyxrow.h: added irow helper function same as other (i) functions.
4167 * BufferView_pimpl.C (cursorPrevious):
4168 (cursorNext): fixed for insets!
4170 2002-04-15 Juergen Vigna <jug@sad.it>
4172 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
4173 position otherwise it is wrong in some cases.
4175 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
4176 inside the inset before the call.
4178 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4180 * buffer.[Ch] (getBibkeyList): make it const.
4182 2002-04-12 Juergen Vigna <jug@sad.it>
4184 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
4186 * text2.C (getCursorX): new helper function
4187 (setCursor): compute also ix_
4188 (setCursorFromCoordinates): set also ix.
4190 * lyxcursor.h: added ix_ and helper functions.
4192 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
4194 * buffer.C (insertStringAsLines): dont break paragraph if the this
4195 paragraph is inside an inset which does not permit it!
4197 * text.C (breakParagraph): honor keepempty flag and break the paragraph
4198 also with no chars on this paragraph.
4199 (paintRowText): only paint stuff if it's inside the workarea!
4201 * paragraph.C (breakParagraph): honor keepempty flag and break the
4202 paragraph always below not above.
4204 * BufferView2.C (unlockInset): update the paragraph layout on inset
4205 unlock as we changed paragraph in such a case.
4207 * lyxfind.C (LyXFind): clear the former selection if not found!
4209 * text2.C (insertInset): freeze Undo after setUndo so that it is not
4210 again called in insertChar().
4212 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
4213 an inset which uses the whole row!
4214 (rightMargin): ditto.
4215 (insertChar): force a rebreak if we inserted an inset!
4217 2002-03-28 Herbert Voss <voss@lyx.org>
4219 * lyxlength.[Ch]: add inBP() to get the right PS-point
4220 units (BigPoint). With inPixels we have rounding errors
4222 2002-04-11 Juergen Vigna <jug@sad.it>
4224 * text2.C (setCursorFromCoordinates): set iy to the right value.
4225 (setCursor): add check if row->previous exists!
4227 * buffer.C (parseSingleLyXformat2Token): reset font after read of
4228 an old float_type as this was the case in the old code!
4230 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
4232 * BufferView2.C (showLockedInsetCursor): use iy
4233 (fitLockedInsetCursor): ditto
4235 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
4236 locked insets as there we have the right value now.
4238 * lyxcursor.C: added iy_ variable and iy functions to set to the
4239 baseline of cursor-y of the locked inset.
4241 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
4242 (setCursor): fixed for insets which need a full row.
4244 * text.C (rowLastPrintable): don't ignore the last space when before
4245 an inset which needs a full row.
4246 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
4247 as last character of a row when before a inset which needs a full row.
4249 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4251 * version.C.in: update date
4253 * text2.C (fullRebreak): try to always return true and see what
4256 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4258 * MenuBackend.C (expand): use Floating::listName
4260 * FloatList.C (FloatList): add listName argument to the built-in
4263 * Floating.[Ch]: add listName member, which is the 'List of XXX'
4264 text associated with the float.
4266 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4268 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
4270 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4272 * ShareContainer.h: add a couple of missing typenames.
4274 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
4276 * lyxrc.C (getDescription): use _() correctly rather than N_().
4278 2002-03-28 Herbert Voss <voss@lyx.org>
4280 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
4281 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
4283 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4285 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
4286 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
4288 2002-03-29 Juergen Vigna <jug@sad.it>
4290 * lyxfunc.C (dispatch): add a missing fitCursor call.
4292 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
4293 it was scrolled by a cursor move, so return the bool status.
4295 * BufferView.C (fitCursor): return the bool flag also to the outside
4296 world as this is needed.
4298 * screen.C (toggleToggle): don't subtract the offset if it's positive.
4300 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
4301 call the edit() as it is not needed (and wrong) IMO.
4302 (workAreaButtonPress): set the screen_first variable before evt.
4303 unlock the inset as this may change screen_first and then we have
4304 a wrong y position for the click!
4306 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4308 * MenuBackend.C (expand): another translation that I missed
4310 2002-03-28 Juergen Vigna <jug@sad.it>
4312 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4314 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4316 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4318 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4320 * MenuBackend.C (expand): fix export/view/update when there is no
4323 2002-03-27 Herbert Voss <voss@lyx.org>
4325 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4328 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4330 * bufferview_funcs.C (currentState): only show paragraph number
4331 for is DEVEL_VERSION is set.
4333 * lyxfunc.C (dispatch): put warning in INFO channel
4335 * MenuBackend.C (expand): translate the name of floats
4337 * FloatList.C (FloatList): mark the float names for translation
4339 * converter.C (convert): use LibScriptSearch
4341 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4343 * MenuBackend.C (defaults): fix default menu (we might as well get
4346 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4348 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4351 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4353 * lyxvc.C: reorder includes.
4355 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
4357 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4360 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
4362 * CutAndPaste.C: change layouts earlier on paste
4363 to avoid crashing when calling getFont()
4365 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4367 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4370 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4372 * WorkArea.C: remove 'Pending' debug message.
4374 * most files: ws cleanup
4376 * buffer.[Ch]: ws changes
4378 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
4380 2002-03-21 Juergen Vigna <jug@sad.it>
4382 * tabular.C (SetMultiColumn): collapse also the contents of the
4383 cells and set the last border right. Added a Buffer const * param.
4385 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4387 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
4390 2002-03-19 Juergen Vigna <jug@sad.it>
4392 * text2.C (clearSelection): reset also xsel_cache.
4394 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
4395 where it needs to be called (John tells us to do so too :)
4396 (selectionLost): reset sel_cache.
4398 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
4400 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4402 * text2.C (setCursorIntern): put debuging code in INSETS channel
4404 2002-03-19 André Pönitz <poenitz@gmx.net>
4406 * lyxfunc.C: tiny whitespace change
4408 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4410 * ToolbarDefaults.C (init):
4411 * LyXAction.C (init):
4413 * BufferView_pimpl.C (Dispatch):
4414 * lyxfunc.C (dispatch): remove LFUN_DEPTH
4416 2002-03-19 Allan Rae <rae@lyx.org>
4418 * exporter.C (Export): removeAutoInsets before doing anything else.
4419 While I've just introduced a dependency on BufferView this really is
4420 the best place to clean the buffer otherwise you need to cleanup in
4421 a dozen places before calling export or cleanup in a dozen functions
4424 * converter.C (runLaTeX):
4425 (scanLog): Better handling of removeAutoInsets and screen updates.
4427 * lyxfunc.C (dispatch): small whitespace changes
4429 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4431 * WorkArea.C (C_WorkAreaEvent): return a value.
4432 (event_cb): return 1 if we handled the event, 0 otherwise.
4434 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4436 2002-03-18 Juergen Vigna <jug@sad.it>
4438 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4439 (GetAdditionalWidth): ditto.
4443 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4444 inset if we're there actually (probably not used right now but this
4445 is the direction to go for unifying code).
4446 (paste): disable code to clear the selection.
4448 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4449 inside an InsetText and move the check further up as it is in the
4452 * text2.C (pasteSelection): set a selection over the pasted text.
4454 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4456 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4457 and libgraphics to build on Cygwin.
4459 2002-03-15 Juergen Vigna <jug@sad.it>
4461 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4462 inserting an Inset into the paragraph. I know this is not the best
4463 fix but we already use current_view in CutAndPaste so we will remove
4464 all of it's using at the same time.
4466 * buffer.C (sgmlError): deactivated function till it is rewritten in
4467 the right mode, now it can create problems.
4469 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4470 before accessing it.
4472 2002-03-14 Juergen Vigna <jug@sad.it>
4474 * undo_funcs.C (textHandleUndo): do the right thing when updating
4475 the inset after the undo/redo.
4477 * text2.C (setCursor): just some testcode for #44 not ready yet.
4479 * undo_funcs.C (textHandleUndo): set the next() and previous()
4480 pointers of the paragraph to 0 before deleting otherwise we have
4481 problems with the Paragraph::[destructor].
4483 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4484 on a paragraph insertion.
4486 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4488 * buffer.C (asciiParagraph): use += operator for char append to
4491 * paragraph.C (getFontSettings): compare >= not just >
4492 (highestFontInRange): ditto
4495 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4497 * paragraph.C: change several algorithm to be more appripriate for
4498 the problem domain. This is lookip in FontList and in the InsetList.
4500 2002-03-13 André Pönitz <poenitz@gmx.net>
4503 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4505 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4510 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4512 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4514 * Painter.C (display): anon helper function, adjust code for this
4516 (pixmap): remove function.
4518 * Painter.h: remove private display variable.
4520 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4522 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4524 * WorkArea.[Ch]: remove figinset_canvas cruft.
4526 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4528 * lyxtextclass.C (operator): add one item cache optimization.
4530 * bufferlist.h: doxy changes
4532 * bufferlist.C: ws changes
4534 * DepTable.[Ch] (ext_exist): place const in the right spot.
4536 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4538 (workAreaExpose): call resizeInsets when the with BufferView changes.
4539 (Dispatch): adjust for protectedBlank removal
4540 (specialChar): call updateInset if the insert went ok.
4542 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4543 specialChar instead.
4545 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4547 * BufferView.h: doxy change
4549 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4551 * lyxtextclass.C (operator[]): remove non-const version
4552 (defaultLayout): remove non-const version
4554 2002-03-12 Juergen Vigna <jug@sad.it>
4556 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4557 did resize the LyXText too.
4559 * buffer.C (readLyXformat2): set layout information on newly allocated
4562 * tabular.C (OldFormatRead): set layout information on the paragraph.
4564 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4566 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4568 2002-03-11 Juergen Vigna <jug@sad.it>
4570 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4572 (resizeCurrentBuffer): force also the insets to resize themselfes.
4573 (moveCursorUpdate): fixed up for InsetText.
4575 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4578 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4579 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4580 value of Dialogs::tooltipsEnabled().
4581 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4583 2002-03-08 Juergen Vigna <jug@sad.it>
4585 * BufferView_pimpl.C (updateInset): update inset inside inset also
4586 if it isn't inside theLockingInset().
4588 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4590 * buffer.C (asciiParagraph): redo some of the word and line length
4592 (getLists): look for Caption instead of caption.
4594 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4596 * buffer.C (Buffer): initialize niceFile to true
4599 (makeDocBookFile): make sure niceFile is true on exit
4601 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4603 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4605 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4607 * LyXSendto.C: remove.
4608 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4609 * lyx_gui.C: remove now-redundant comment.
4610 * ColorHandler.h: remove forward declaration of class WorkArea.
4611 * lyxfunc.C: remove #include "WorkArea.h".
4613 2002-03-07 Juergen Vigna <jug@sad.it>
4615 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4616 got moved away with the DEPM and also set the inset_owner always
4617 right which before could have been omitted.
4619 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4621 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4622 wanted layout is not found.
4624 2002-03-07 Juergen Vigna <jug@sad.it>
4626 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4628 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4630 * paragraph.C (breakParagraph): use default layout not layout of
4632 (Paragraph): clear ParagraphParameters.
4634 2002-03-06 Juergen Vigna <jug@sad.it>
4636 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4637 otherwise it would not be a valid lenght. Fixed a special case in
4638 the minipage compatibility read where we end the document with a
4641 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4642 was set as it could be 0 for InsetTexts first entry.
4644 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4646 * paragraph.C (writeFile): if layout is empty write out
4647 defaultLayoutName().
4649 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4650 file without named layout we set layout to defaultLayoutName().
4652 2002-03-06 Juergen Vigna <jug@sad.it>
4654 * CutAndPaste.C (copySelection): set layout for new paragraph.
4656 * text.C (prepareToPrint): leave ERT inset left aligned
4657 (leftMargin): don't indent paragraphs inside ERT insets
4659 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4661 * paragraph.C (breakParagraph): dont call clear do the work manually
4663 * paragraph.[Ch] (clear): remove function
4665 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4667 * paragraph.C (Paragraph): dont call clear, the work has already
4670 * lyxtextclass.C (operator): assert if n is empty
4672 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4673 work manually instead.
4675 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4677 * BufferView_pimpl.C: protect selectionLost against text == 0
4679 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4681 * text.C (breakParagraph): fix a setting layout to '0' problem.
4683 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4685 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4686 final location of file, for the included files, and graphics.
4688 2002-03-05 Juergen Vigna <jug@sad.it>
4690 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4692 2002-03-04 Juergen Vigna <jug@sad.it>
4694 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4696 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4697 last column of multicolumn cells.
4698 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4700 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4702 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4703 file if it doesn't go to a temporary file.
4705 * buffer.C (sgmlOpenTag):
4706 (sgmlCloseTag): remove extra newline insertion.
4708 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4710 * text.C (getRowNearY): comment out debug msg
4712 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4714 * text2.C: first -> first_y
4716 * text.C (getRowNearY): add some attemts at a possible
4717 optimization, not working.
4719 * tabular.[Ch]: add BufferParams to several function so that newly
4720 created paragraph can be initialized to he default layotu for the
4723 * tabular-old.C (ReadOld): add buf->params to call of Init
4725 * screen.C: rename text->first to text->first_y
4727 * paragraph.C (breakParagraph): always set layout in the broken
4730 * lyxtextclass.C (Read): remove lowercase
4733 (delete_layout): ditto
4735 * lyxtext.h: rename first -> first_y
4737 * lyxlayout.C (Read): remove lowercase
4740 (obsoleted_by): ditto
4742 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4744 * buffer.C (insertErtContents): add params are to InsetERT
4745 (parseSingleLyXformat2Token): add code to check if a paragraphs
4746 layout really exist.
4747 (parseSingleLyXformat2Token): add params to several inset
4749 (asciiParagraph): remove lowercase, do the layout comparisons with
4752 * BufferView_pimpl.C (cursorNext): first -> first_y
4753 (resizeCurrentBuffer): first -> first_y
4754 (updateScrollbar): first -> first_y
4755 (scrollCB): first -> first_y
4756 (workAreaMotionNotify): first -> first_y
4757 (workAreaButtonPress): first -> first_y
4758 (checkInsetHit): first -> first_y
4759 (cursorPrevious): first -> first_y
4760 (cursorNext): first -> first_y
4761 (Dispatch): add buffer_->params to severl inset contructors
4763 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4765 * lyxlayout.C (Read): remove some debug info that I forgot.
4767 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4768 clean up the code slightly.
4769 (makeLinuxDocFile): ditto
4770 (makeDocBookFile): ditto
4772 * text2.C: layout as string
4774 * text.C: layout as string
4776 * paragraph_pimpl.C: layout as string
4778 * paragraph.[Ch]: layout as string
4780 * lyxtextclasslist.[Ch]: layout as string
4782 * lyxtextclass.[Ch]: layout as string
4784 * lyxtext.h: layout as string
4786 * lyxlayout.[Ch]: layout as string
4788 * lyx_cb.C: layout as string
4790 * bufferview_funcs.C: layout as string
4792 * bufferparams.C: layout as string
4794 * buffer.C: layout as string
4796 * LyXView.[Ch]: layout as string
4798 * LaTeXFeatures.[Ch]: layout as string
4800 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4802 * BufferView_pimpl.C: change current_layout to string, remove
4807 (workAreaButtonRelease): layout as string
4809 * BufferView2.C (unlockInset): adjust
4811 * vspace.C (asLatexCommand): use an explict temp variable.
4813 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4815 * Makefile.am: use FRONTEND_*
4817 2002-03-01 Juergen Vigna <jug@sad.it>
4819 * tabular.C (SetWidthOfMulticolCell): changed to something better
4820 I hope but still work in progress.
4821 (recalculateMulticolumnsOfColumn): renamed function from
4822 recalculateMulticolCells as it is more appropriate now.
4823 (SetWidthOfCell): calculate multicols better.
4825 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4827 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4829 * lyxfunc.C (processKeySym): print sequence also if it is
4830 `deleted' (complete)
4832 * kbsequence.C (print): print sequence even if it is deleted
4833 (complete would be a better word, actually).
4835 * lyxfunc.C (dispatch): print complete options after a prefix key
4837 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4839 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4841 * text2.C (setCharFont): eliminate setCharFont code duplication.
4843 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4845 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4846 LFUN_TABULAR_FEATURE (bug #177)
4848 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4850 * Makefile.am: remove figure.h
4852 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4854 * Bufferview_pimpl.C:
4866 * text2.C: remove #include "lyx_gui_misc.h".
4868 * LaTeX.C: added #include <cstdio>
4870 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4872 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4873 that the paragraph following this one can have.
4875 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4877 * vspace.C (asLatexCommand): fix bogus gcc warning
4879 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4881 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4883 * text2.C (setLayout): get rid of redundant code
4885 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4887 * text2.C (incDepth): make sure depth cannot be increased beyond
4890 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4892 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4893 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4895 * PainterBase.h (image):
4896 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4899 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4903 * BufferView_pimpl.C:
4904 * BufferView_pimpl.h:
4924 * sp_spell.C: remove fig inset, and the crap house of
4925 cards that follows it
4927 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4933 * nt_defines.h: move .h into support/
4935 * vms_defines.h: remove
4937 * WorkArea.C: add space in debug output
4941 * buffer.C: add WITH_WARNINGS
4945 * bufferlist.C: s/retrive/retrieve/, add docs
4956 * lyxgui.C: add ID to X error handler
4958 * lyxtestclass.c: fix typo
4960 2002-02-26 Juergen Vigna <jug@sad.it>
4962 * tabular_funcs.C (write_attribute): changed so that some default
4963 attributes are not written at all.
4964 (getTokenValue): set default values before trying to read the
4965 value so we have the return value always set as default if we don't
4966 find the token we search for.
4968 * tabular.C (Write): write bools as bools not as strings!
4970 2002-02-22 Juergen Vigna <jug@sad.it>
4972 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4973 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4975 * text.C (leftMargin): don't add an indent for paragraphs inside
4976 tabular cells (fix #208).
4978 2002-02-21 José Matos <jamatos@fep.up.pt>
4980 * tabular.C (docBook): fixed support for long tables.
4982 2002-02-20 Juergen Vigna <jug@sad.it>
4984 * text2.C (getFont): get the drawing font of the Inset if this
4985 paragraph is inside an inset (only important for InsetERT for now).
4987 * buffer.C (insertErtContents): use new lanugage params in ERT
4990 * CutAndPaste.C: commenting out seemingly uneeded code.
4992 2002-02-19 Allan Rae <rae@lyx.org>
4994 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
4995 Iterators might be simple to use but they also get invalidated.
4996 (removeAutoInsets): renamed saved cursor tracking variables and added
4997 some comments to clarify what everything does.
4999 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5006 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
5007 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
5010 * vc-backend.h: remove #include "support/syscall.h"
5014 * converter.C: rearrange #includes in Lars' approved fashion.
5016 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
5017 forward declare class Timeout in the header file.
5019 * XFormsView.C: changes due to the above.
5021 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
5024 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
5025 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
5027 2002-02-18 José Matos <jamatos@fep.up.pt>
5029 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
5032 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5034 * a lot of small ws changes
5035 * add a lot of using std::XXX
5036 * use std construcs some places where approp.
5037 * use some exisint stuff from lyxfunctional where approp.
5038 * Make file changes to use partial linking (lets test this now...)
5040 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5044 remove #include "support/syscontr.h" as it's redundant. Always has been.
5052 change Systemcalls::System to Systemcalls::Wait and
5053 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
5054 No change of functionality, just reflects the stripped down Systemcalls
5057 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5059 * debug.[Ch]: add a GRAPHICS type to the enum.
5061 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5063 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
5065 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
5068 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5070 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
5071 match the changes below.
5073 * text2.C (toggleInset): if there is not editable inset at cursor
5074 position, try to see if cursor is _inside_ a collapsable inset
5077 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5079 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
5080 document menu has a nice checkbox
5082 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5084 * lyxlength.C (asLatexString): change PW to output as percent of
5087 * lengthcommon.C: change '%' to 't%'
5089 * lyxfunc.C (dispatch): a few comments from Martin
5091 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
5095 * BufferView_pimpl.h:
5096 * BufferView_pimpl.C: clear our selection when X tells us we've lost
5099 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5101 * vspace.C (inPixels): fix compiler warning
5103 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5105 * lyxfunc.C (getStatus): fix status message for disabled commands.
5107 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
5109 * BufferView_pimpl.C: fix crash on close buffer
5110 during selection (#227)
5112 2002-01-27 Herbert Voss <voss@lyx.org>
5114 * buffer.C: link old Figure to new graphic inset
5116 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
5118 * FontLoader.C (getFontinfo): Change the latex font names in order
5119 to match the names of type1inst.
5121 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5123 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
5125 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
5128 (remove_files_with_extension): ditto
5129 (remove_file): ditto
5132 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
5133 document is smaller than the work area height. Do not initialize
5134 static variables to 0.
5136 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5138 * lyx_gui.C (init): give the toolbar tooltips a normal font.
5140 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
5141 LFUN_LAYOUT_PARAGRAPHS.
5143 * tabular.C (GetCellFromInset): new method. Finds an inset in a
5144 tabular. It is possible to provide a possible cell, which will
5145 typically be the actcell from the corresponding insettabular
5147 * lyxfunc.C (getStatus): small cleanup; disable
5148 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
5151 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5153 * tabular.C (Validate): remove broken optimization (fixes bug #201)
5155 * paragraph.C (startTeXParParams):
5156 (endTeXParParams): new methods. The LaTeX code to
5157 start/end paragraph formatting
5158 (simpleTeXOnePar): call startTeXParParams also when paragraph is
5159 empty (fixes bug #200)
5161 * vspace.C (inPixels): adapt to the change below
5162 (inPixels): [later] more cleanups (remove unused variables)
5164 * lyxlength.C (inPixels): change to use a width and a height as
5167 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5169 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
5170 Replaced with \paperwidth
5172 * DepTable.C (insert): add std:: qualifier
5174 2002-01-18 Allan Rae <rae@lyx.org>
5176 * text2.C (removeRow): add comment. Should other refresh_?? vars be
5179 * text.C (drawInset): Turned out I didn't know enough about how
5180 rebreaking worked. This fixes most of the redraw problems. I see
5181 an occasional cursor trail when a line is broken now and the cursor
5182 placement can seem out by a few pixels also after a rebreak.
5184 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5186 * buffer.C (parseSingleLyXformat2Token): update because minipage
5187 width is now a LyXLength
5189 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
5191 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
5194 2002-01-17 Juergen Vigna <jug@sad.it>
5196 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
5198 * BufferView2.C (lockInset): call edit() so that theLockingInset()
5199 is set correctly and the inset is updated correctly.
5201 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5203 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
5204 the beginning of the loop.
5206 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
5208 * lyxrc.C: improve help for use_scalable_fonts
5210 2002-01-17 Allan Rae <rae@lyx.org>
5212 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
5214 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5216 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
5217 make sure to set their inset_owner to the right value (bug #171)
5219 2001-12-12 Ben Stanley <bds02@uow.edu.au>
5222 * DepTable.C: Implement mtime checking to reduce time spent doing
5225 2002-01-16 Juergen Vigna <jug@sad.it>
5227 * tabular.C (GetAdditionalHeight): one of error fixed.
5229 * lyxrc.C (output): small fix in writing use_pspell.
5231 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
5233 * sp_base.h: #include LString.h
5235 2002-01-16 Allan Rae <rae@lyx.org>
5237 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
5238 Can someone check this please?
5240 * text.C (drawInset): It was possible that p.row would be removed by
5241 breakAgainOneRow upsetting a few other settings. There may be another
5242 small tweak possible by setting need_break_row = 0 when p.row has been
5243 removed but I don't know enough about the logic here.
5245 2002-01-15 Allan Rae <rae@lyx.org>
5247 * text.C (insertChar): removed conditional truism.
5249 * BufferView2.C (removeAutoInsets): More tweaks.
5250 cur_par_prev could be a stray pointer. Check for trailing empty line
5251 in case last line was cur_par and only had an error inset on it.
5253 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5255 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
5258 * vc-backend.C (most methods):
5259 * exporter.C (Export):
5260 * converter.C (convert):
5262 * LyXSendto.C (SendtoApplyCB):
5263 * lyxfunc.C (dispatch):
5267 * lyx_cb.C (AutoSave):
5269 * BufferView_pimpl.C (MenuInsertLyXFile):
5270 * buffer.C (runChktex): use Buffer::filePath().
5272 * buffer.h: rename filename to filename_; rename filepath to
5273 filepath_ and make it private
5274 (filePath): new method
5276 * buffer.C (writeFile): use fileName()
5279 * lyx_main.C (init): fix starting of LyX when the binary is a
5280 link from so,ewhere else.
5282 * minibuffer.C: include <cctype> for isprint
5284 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5286 * buffer.C (parseSingleLyXformat2Token): changes associated with the
5287 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
5288 name clash with InsetCollapsable's width function.
5290 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5292 * lastfiles.C: include <iterator>
5294 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5296 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
5299 * buffer.C (makeLaTeXFile): ditto.
5300 Also make loop operation more transparent.
5302 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5304 * ToolbarDefaults.C: remove trailing comma closing namespace.
5306 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
5308 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5311 * trans.C (Load): comment out unused variable, allowed.
5313 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5315 * minibuffer.[Ch] (append_char): new method to recieve input from the
5316 drop-down completion browser. If a key was pressed, then recieve this
5317 char and append it to the existing string.
5318 (peek_event): modify the positioning data passed to the completion
5319 browser so that it can be placed above the minibuffer rather than below.
5320 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5322 * LyXAction.C (init): alloe error-next for readonly documents.
5324 * BufferView2.C (ChangeRefsIfUnique): use standard version of
5327 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5329 * bufferlist.C (readFile): create the buffer _after_ checking that
5332 * lyxfunc.C (verboseDispatch): fix handling of arguments
5334 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5336 * lyxrc.C: use string::erase() instead of initializing to "".
5339 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5341 * BufferView_pimpl.h:
5342 * BufferView_pimpl.C:
5345 * text2.C: tell X when we have made a selection for copying
5347 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5349 * BufferView_pimpl.C (MenuInsertLyXFile):
5350 * lyxfunc.C (menuNew):
5352 (doImport): add shortcuts to directory buttons
5354 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5357 * lyxfunc.C (setStatusMessage):
5358 (getStatusMessage): new methods
5359 (getStatus):use setStatusMessage instead of setErrorMessage
5360 (dispatch): when function is disabled, set error message here
5361 [instead of in getStatus previously]
5363 * BufferView_pimpl.C (workAreaButtonRelease): update
5364 toolbar/menubar here too.
5366 2002-01-13 Allan Rae <rae@lyx.org>
5368 * BufferView2.C (removeAutoInsets): finished off earlier fix.
5369 Now seems indestructible. Remaining task is to audit all other
5370 code affected by deleteEmptyParagraphMechanism. One small quirk
5371 left is that an empty document with an error in the preamble can
5372 be made to report an error but no error box appears. I don't know
5374 (removeAutoInsets): Improved comments.
5376 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
5379 * Thesaurus.C: update for Aiksaurus 0.14
5381 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5383 * text2.C (firstParagraph): removed member function, all uses
5384 replaces with ownerParagraph
5385 (redoParagraphs): here
5387 (toggleAppendix): here
5388 * BufferView2.C (insertErrors): here
5389 (setCursorFromRow): here
5391 2002-01-13 Allan Rae <rae@lyx.org>
5393 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
5394 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
5395 There is still a way to segfault this although you may have to do this
5396 multiple times: Have an InsetERT with an unknown command in it.
5397 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
5398 <down-arrow>, <Enter> again, View->DVI, BANG!
5400 * text2.C (setCursor):
5401 (deleteEmptyParagraphMechanism):
5402 * lyxtext.h (setCursor):
5403 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5404 Making use of the return value may help fix other bugs.
5406 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5408 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5410 * LyXView.C (updateMenubar): call MenuBar::update here
5411 (updateToolbar): but not here
5412 (showState): do not update toolbar/menubar
5414 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5415 should need to care about that.
5417 * lyxfunc.C (verboseDispatch): simplify a bit
5418 (getStatus): have a version which takes a pseudoaction, and
5419 another which requires a (kb_action,string).
5421 * LyXAction.C (retrieveActionArg): make it work also when action
5422 is not a pseudo-action.
5423 (getActionName): simplify a bit
5426 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5428 * lyxfunc.C (verboseDispatch): new families of methods with
5429 several ways to specify a command and a bool to indicate whether
5430 the command name and shortcut should be displayed in minibuffer
5431 (eventually, we could extend that to a finer bitmask like
5432 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5433 (dispatch): the pristine dispatch command which just, well,
5434 dispatchs! Note it still sets its result to minibuffer; I'm not
5437 * lyxfunc.h: remove setHintMessage
5439 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5441 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5443 * BufferView_pimpl.C (specialChar): delete new inset if we have
5444 not been able to insert it.
5446 * kbmap.C: revert to using int instead of kb_action, since all we
5447 are dealing with is pseudo-actions.
5449 * LyXAction.C (searchActionArg): change to return int instead of
5450 kb_action, since the result is a pseudoaction.
5452 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5454 * buffer.C (insertErtContents): Fix (partially) the font bug.
5456 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5458 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5459 as the other one is broken on my machine!
5461 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5464 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5466 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5468 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5469 reflect their actual use. Provide compatibility code for older lyxrc
5472 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5474 change names of popup font variables in line with the changes to lyxrc.C
5476 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5478 * buffer.C (asciiParagraph): avoid outputing a word twice after
5481 * lyxrc.C (getDescription): document that document_path and
5482 template_path can be empty.
5484 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5486 * LaTeXFeatures.C (getMacros):
5487 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5489 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5491 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5493 (getPackages): rename feature "floats" to "float". Use an array to
5494 iterate over 'simple' features (i.e. just a \usepackage). Add
5495 handling of "amsmath" (renamed from "amsstyle").
5497 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5499 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5502 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5504 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5505 FuncStaus::FuncStatus & FuncStaus::some_method().
5507 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5509 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5510 of the func_satus stuff. Edited and massaged in various ways by
5513 * lyxfunc.C (getStatus): use FuncStatus
5515 2002-01-08 Juergen Vigna <jug@sad.it>
5517 * text.C (nextBreakPoint): use function Inset::isChar().
5519 * paragraph.C (TeXOnePar): use function
5520 Inset::forceDefaultParagraphs.
5522 * buffer.C (latexParagraphs): use function
5523 Inset::forceDefaultParagraphs.
5525 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5527 * lyx_gui.C (init): set the style of the menu popups to
5528 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5530 2002-01-07 Juergen Vigna <jug@sad.it>
5532 * text.C (setHeightOfRow): small fix
5533 (prepareToPrint): don't look at alignment if we don't have the place
5536 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5538 * box.C: New file. Move the Box methods and functions out of box.h,
5539 following Lars' suggestion.
5541 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5543 * box.h: #include "support/LOstream.h", needed for inlined function.
5546 * lyxtextclasslist.C: added some using std declarations.
5548 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5550 * box.h: make signed dimensions to allow insets wider than
5551 the screen (bug #162)
5553 * BufferView_pimpl.C: add some insetHit debug
5555 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5557 * vc-backend.C: add FIXME
5559 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5561 * lyxfunc.C (getStatus): enable code for showing math font status
5564 2002-01-07 Juergen Vigna <jug@sad.it>
5566 * text.C (nextBreakPoint): removed debug output not needed anymore.
5568 2002-01-06 Juergen Vigna <jug@sad.it>
5570 * text.C (nextBreakPoint): fixed up this function we had this bug
5571 since ever but now hopefully we break row better.
5572 (insertChar): we have to check if an inset is the next char as it
5573 could now happen that a large inset is causing a break.
5575 2002-01-05 Juergen Vigna <jug@sad.it>
5577 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5578 if it doesn't like to be drawed.
5580 2002-01-04 Juergen Vigna <jug@sad.it>
5582 * BufferView2.C (lockInset): forgot to set a cursor.
5584 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5586 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5591 * form_maths_panel.C:
5592 * form_maths_panel.h:
5593 * form_maths_panel.fd: implemented sub- and super- buttons in math
5596 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5597 (or ^ space) to be used as in TeX (req'd by André).
5599 * lyxfunc.C: Allow ^ and _ again to be used both as
5600 super/subscript (mathed) and as themselves (in text).
5602 2002-01-03 Allan Rae <rae@lyx.org>
5604 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5605 "LyX" or the filename of the current buffer if it has one. This is a
5606 modified form of John Levon's patch.
5608 * XFormsView.C (setWindowTitle): also set icon title.
5610 * LyXView.h (setWindowTitle): signature changed.
5611 * XFormsView.h (setWindowTitle): ditto.
5613 2002-01-02 Juergen Vigna <jug@sad.it>
5615 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5617 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5619 * screen.C (topCursorVisible): introduce a temp var for
5620 text->cursor.row(), handle the case where this row is null. (kindo
5623 * text2.C (setCursor): add a couple of asserts.
5625 * paragraph.h (inset_iterator): add -> operator
5627 * paragraph.[Ch] (autoDeleteInsets): remove member function
5629 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5630 cursor pos correctly and handle inset deletion by itself.
5631 (insertErrors): move iterator declaration out of for expression
5633 * lyxtextclass.C: add <algorithm>
5635 * Makefile.am: added the new files to sources, removed layout.C
5637 * layout.C: removed file
5639 * layout.h: remove LYX_DUMMY_LAYOUT
5641 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5645 * lyxtextclass.[Ch]:
5646 * lyxtextclasslist.[Ch]: new files
5648 * include order changes to a lot of files, also changes because of
5651 2001-12-27 Juergen Vigna <jug@sad.it>
5653 * buffer.C (asciiParagraph): more fixes.
5655 * tabular.C (ascii): make ascii export support export of only the
5656 data separated by a column-delimiter.
5657 (ascii): better support for ascii export.
5659 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5661 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5663 * tabular_funcs.C: use a "using std::getline" instead of the
5664 previous fix from Angus (necessary for cxx + lyxstring)
5666 2001-12-24 Juergen Vigna <jug@sad.it>
5668 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5670 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5671 problems. First check a minipage also if we have some ert-contents
5672 (not only on par->size(), second set the right depth of the paragraph
5673 on the relink to the root-paragraph-list!
5675 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5676 which then did not anymore update the main paragraphs on undo/redo!
5678 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5680 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5681 code. Support all font-changing funcs (even those which are not in
5682 menu currently). Support for reporting font settings in
5683 mathed (disabled until Andre provides a function on mathed's side).
5685 * func_status.h (toggle): small helper function to set toggle
5688 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5690 * tabular_funcs.C: getline -> std::getline
5692 2001-12-21 Juergen Vigna <jug@sad.it>
5694 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5695 accessed and could be 0 (I couldn't generate this but it seems
5698 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5700 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5701 * tabular_funcs.h: here and include iosfwd
5703 2001-12-20 Juergen Vigna <jug@sad.it>
5705 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5706 inside inset but undo_par was.
5708 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5710 * Thesaurus.C: always include <config.h> in sources.
5714 * box.h: do not include <config.h> in header files
5716 * text.C (paintLastRow): remove unused variable
5718 * text.C (transformChar):
5720 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5723 * font.C (width): rewrite to use uppercase() instead of
5726 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5728 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5730 * lyxfind.C: clean up of find failure position change
5732 2001-12-20 Juergen Vigna <jug@sad.it>
5734 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5736 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5737 (TeXRow): added to LaTeX a single tabular row.
5738 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5739 (Latex): simplified and finally good LT-h/f support.
5740 (various_functions): just small adaptions for LT-h/f support.
5742 * tabular_funcs.[hC]: added and moved here all not classfunctions
5745 2001-12-19 Juergen Vigna <jug@sad.it>
5747 * tabular.[Ch]: better support for longtabular options (not finished
5750 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5752 * text.C (paintLastRow): use the label font instead of the font of
5753 the last character to compute the size of *_BOX. This makes more
5754 sense and avoids a crash with empty paragraphs.
5755 Use Painter::rectangle to draw EMPTY_BOX.
5757 2001-12-19 Juergen Vigna <jug@sad.it>
5759 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5760 the paragraphs if the replaced paragraph is not the first one!
5761 Tried to delete not used paragraphs but does not work yet so for
5762 now it's inside #ifdef's and by default off!
5764 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5766 * MenuBackend.C: include "lyx_main.h" instead of declaring
5767 lastfiles (actually was declared as LastFiles* instead of a
5770 2001-12-17 Juergen Vigna <jug@sad.it>
5772 * tabular.C (AppendColumn): applied John's fix
5774 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5778 * BufferView_pimpl.h:
5779 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5782 * box.h: new start of class for above
5784 * lyxfunc.C: ignore space-only minibuffer dispatches.
5785 Show the command name when it doesn't exist
5787 * minibuffer.C: don't add empty lines to the history
5789 * minibuffer.C: add a space on dropdown completion
5791 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5793 * text.C: fix line above/below drawing in insets
5795 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5797 * lyxlength.C (LyXLength): Initialize private variables.
5799 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5801 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5802 when inserting error insets.
5804 2001-12-13 Juergen Vigna <jug@sad.it>
5806 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5807 actually sometimes the before-paragraph.
5808 (setUndo): don't clear the redostack if we're not actually undoing!
5810 2001-12-06 Juergen Vigna <jug@sad.it>
5812 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5813 and fixed redoing of main paragraph, so we can use it now ;)
5815 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5817 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5819 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5822 2001-12-13 André Pönitz <poenitz@gmx.net>
5825 * undo_func.C: minor cleanup
5827 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5829 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5830 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5831 font in urw-fonts package which is marked as -urw-fontspecific and
5832 does not work (incidentally, changing the encoding in the
5833 fonts.dir of this package to -adobe-fontspecific fixes the
5836 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5837 is a crash when undoing first paragraph (Juergen, please take a
5838 look). THis does not mean the undo fix is wrong, just that it
5841 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5842 the (Paragraph*) version when needed instead of duplicating the
5845 * text.C (workWidth): use Inset::parOwner to find out where the
5846 inset has been inserted. This is a huge performance gain for large
5847 documents with lots of insets. If Inset::parOwner is not set, fall
5848 back on the brute force method
5850 * paragraph_pimpl.C (insertInset):
5851 * paragraph.C (Paragraph):
5852 (cutIntoMinibuffer): set parOwner of insets when
5853 inserting/removing them
5855 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5857 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5863 * mathed/formulabase.C:
5864 * mathed/math_cursor.[Ch]:
5865 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5868 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5870 * lyxlength.[Ch] (operator!=): new function
5872 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5874 * text.C (workWidth): use Inset::parOwner to find out where the
5875 inset has been inserted. This is a huge performance gain for large
5876 documents with lots of insets. If Inset::parOwner is not set, fall
5877 back on the brute force method
5879 * paragraph_pimpl.C (insertInset):
5880 * paragraph.C (Paragraph):
5881 (cutIntoMinibuffer): set parOwner of insets when
5882 inserting/removing them
5884 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5886 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5888 * tabular-old.C (getTokenValue):
5889 * tabular.C (getTokenValue):
5890 (write_attribute): new versions for LyXLength
5891 (everywhere): adjust the use of widths
5893 * tabular.h: change the type of widths from string to LyXLength
5895 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5897 * paragraph.C: fixed missing line number count when exporting
5898 Environments to LaTeX file
5900 * buffer.C: added informational message for checking line numbers.
5902 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5904 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5905 paragraph, do the 'double space' part, but not the 'empty
5908 * text.C (workWidth): small optimization
5909 (getLengthMarkerHeight): use minimal size for negative lengths.
5911 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
5913 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5915 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5917 2001-12-11 André Pönitz <poenitz@gmx.net>
5920 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5922 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5924 * text2.C: keep selection on a setFont()
5926 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5928 * lyx_cb.C: another bv->text misuse, from insert label
5930 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5933 * kbsequence.C: re-instate nmodifier mask
5935 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
5937 * lyx_main.h: make lyxGUI private.
5939 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5941 * lyxfind.C: place the cursor correctly on failed search
5943 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5945 * text.C (getLengthMarkerHeight): for small heights, the arrows
5946 are not always on top/bottom of the text
5947 (drawLengthMarker): smaller arrows; take the left margin in
5948 account; draw also vfills.
5950 (paintLastRow): remove special code for vfill and standard spaces,
5951 since everything is handled in drawLengthMarker now.
5953 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5955 * buffer.C (insertErtContents): try to handle font and language
5956 interaction a bit better.g
5958 * ColorHandler.C (updateColor): change the hash to cover the whole
5959 LColor enum, ws cleanup
5960 (getGCLinepars): ditto
5961 (getGCLinepars): only lookup in the linecache once.
5963 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
5965 * iterators.C (operator++): Make the iterator more robust
5967 * BufferView2.C (removeAutoInsets): Use paragraph iterators
5969 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5971 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5974 * text.C: better added space drawing
5976 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5979 * BufferView2.C: fix layout combo update on inset unlock
5981 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5983 * Makefile.am: don't compile unused files
5985 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5989 * LyXAction.C: remove old LFUN_LAYOUTNO
5991 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5993 * paragraph_pimpl.h:
5994 * paragraph_pimpl.C: isTextAt() doesn't need font param
5996 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5999 * lyxlex.C: little cleanup
6001 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6003 * BufferView_pimpl.C: fix insertAscii for insets
6005 2001-12-05 Juergen Vigna <jug@sad.it>
6007 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
6008 set the right font on the "multi" paragraph paste!
6010 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6016 * lyxlength.C: remove out-commented code.
6032 * vc-backend.C: change "while(" to "while ("
6034 * lyxlength.[Ch]: add zero function to check if length is zero or
6036 * lyxgluelength.C: use it
6038 2001-12-05 Allan Rae <rae@lyx.org>
6040 * lyxlength.C: Attempted a fix for the abs(int) header selection.
6041 Works for 2.95.3, from what I understand of Garst's reports this should
6042 work for other g++ versions. We're screwed if the abs(int) definition
6043 changed between bugfix releases of gcc.
6045 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6047 * text.C: fix chapter label offset !
6049 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6052 * text.C: fix hfill at end of line, clean up
6054 2001-12-04 Juergen Vigna <jug@sad.it>
6056 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
6057 that we force an update of the inset and it's owners if neccessary.
6059 2001-12-03 Juergen Vigna <jug@sad.it>
6061 * text.C (rowLast): simplified code
6063 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6065 * lyxfunc.C: fix show options on timeout
6067 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6069 * screen.C (topCursorVisible): scroll half a page when the cursor
6070 reached top of bottom of screen
6072 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
6074 * minibuffer.C: deactivate on loss of focus
6076 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6078 * vspace.[Ch] (operator!=): add operator.
6080 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6082 * BufferView_pimpl.C: refuse to open an inset when
6083 there's a selection.
6085 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
6087 * BufferView_pimpl.C: allow to click on RHS of full row insets
6089 2001-11-30 Juergen Vigna <jug@sad.it>
6091 * tabular.C (LyXTabular): add a same_id to set the same id's in the
6092 insets for undo reasons.
6094 2001-11-28 André Pönitz <poenitz@gmx.net>
6096 * vspace.[Ch]: cosmetical changes
6098 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6108 * kbsequence.C: part re-write of old kb code
6111 * WorkArea.C: remove Lgb_bug_find_hack
6113 2001-11-30 José Matos <jamatos@fep.up.pt>
6115 * buffer.C (makeDocBookFile): add a comment to point a hack.
6116 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
6117 Fixed a double write of labels.
6119 2001-11-29 Ben Stanley <bds02@uow.edu.au>
6122 * LaTeX.h Fixed bug in LaTeX class where it would not
6123 re-run latex if no depfiles were changed, but the .dvi was removed.
6125 2001-11-28 André Pönitz <poenitz@gmx.net>
6127 * all the files from the change on 2001/11/26:
6128 use lyx::layout_type instead of LyXTextClass::size_type
6129 use lyx::textclass_type instead of LyXTextClassList::size_type
6131 2001-11-29 Juergen Vigna <jug@sad.it>
6133 * text.C: added support for paragraph::isFreeSpacing()
6135 * buffer.C: same as above
6137 * paragraph.h: inserted isFreeSpacing() function to enable
6138 FreeSpacing inside InsetERT.
6140 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
6141 of the paragraph's in the cut/copy buffer to 0!
6143 * text2.C (removeRow): remove the assert as it can!
6145 * lyxtext.h: added helper function firstRow returning firstrow and
6146 made firstrow private again.
6148 * BufferView2.C (lockInset): don't relock if we're already locked!
6150 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
6152 (removeRow): added Assert::(firstrow)
6154 * debug.C: forgot to add INSETTEXT here.
6156 2001-11-28 Juergen Vigna <jug@sad.it>
6158 * sp_spell.C (initialize): changed error text to more general
6159 spellchecker command use (not only ispell!)
6161 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
6163 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
6165 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6167 * vspace.C: initialise lyxgluelength on failure
6169 2001-11-28 Allan Rae <rae@lyx.org>
6171 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
6172 declaration & definition that looks like a function declaration.
6174 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6176 * BufferView2.C (copy):
6177 (copyEnvironment): do not clear the selection when doing a copy.
6179 * text.C (paintFirstRow): compilation fix
6181 2001-11-27 Ben Stanley <bds02@uow.edu.au>
6183 * tabular.C (Latex): correct line count when writing latex.
6185 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
6187 * paragraph_pimpl.h:
6188 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
6191 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6195 * LColor.C: change vfillline->added_space
6197 * text.C: add markers and text for added space
6199 * vspace.C: fix comment
6201 2001-11-28 André Pönitz <poenitz@gmx.net>
6203 * paragraph.C: whitespace changes
6204 * all the other files from the change on 2001/11/26:
6205 change *::pos_type into lyx::pos_type
6207 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
6209 * buffer.C (parseSingleLyXformat2Token): Set the language to the
6210 language of the document when inserting error insets.
6212 2001-11-26 André Pönitz <poenitz@gmx.net>
6214 * BufferView_pimpl.[Ch]:
6222 * paragraph_pimpl.[Ch]:
6225 * text2.C: reduce header dependencies, introduce type for positions
6227 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6229 * <various>: change to use Alert.h
6231 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
6233 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
6234 when encountering an unknown token.
6235 (readLyXformat2): Show an error message if there were unknown tokens.
6237 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6240 * BufferView_pimpl.C:
6244 * text2.C: use par->isInset()
6246 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6248 * paragraph_pimpl.h:
6249 * paragraph_pimpl.C: cleanup
6251 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6253 * text2.C (removeRow):
6254 * text.C (setHeightOfRow): remove useless (and costly) call to
6257 2001-11-20 Allan Rae <rae@lyx.org>
6259 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
6260 Now need Inset*::checkInsertChar() to return true for appropriate
6261 cases so that the characters in the minibuffer will actually be
6264 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6266 * text.C: change the order of the includes.
6267 (workWidth): initialize it at once.
6268 (workWidth): make maxw unsigned
6269 (setHeightOfRow): remove unused variable (inset)
6270 (selectSelectedWord): remove unused variable (inset)
6271 (paintRowText): fix drawing of hfill characters, and clean up a bit.
6273 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6275 * lyxserver.C (emergencyCleanup): do not try to close pipes if
6276 server is not running.
6278 (closeConnection): add debug info when server is disabled.
6280 * ColorHandler.C (getGCForeground): send debug message to GUI
6283 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
6285 * kbmap.C (bind): modify because return conventions of
6286 kb_sequence::parse have changed.
6288 * kbsequence.C (parse): only ignore spaces and not any stupid
6289 control character. This avoids tests like s[i] <= ' ', which are
6290 guaranteed to fail with 8bit characters and signed chars.
6291 Change return code to string::npos when there have been no error
6292 (0 was a bad idea when error is at first character)
6294 2001-11-14 José Matos <jamatos@fep.up.pt>
6297 * buffer.C (simpleDocBookOnePar): removed unused argument.
6299 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6301 * text.C (selectNextWordToSpellcheck): do not test explicitely for
6302 insets which are part of a word. Paragraph::isLetter takes care of
6303 that now. Use Paragraph::isInset to identify insets.
6304 (selectSelectedWord): do not test for hyphenation break.
6306 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
6307 that protected spaces are considered as spaces.
6309 * paragraph.C (isLetter): cleanup the code for ispell extras; use
6312 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
6315 * lyxserver.C: fix it. and small cleanup.
6317 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6319 * BufferView_pimpl.C: use inline helpers
6322 * LaTeXFeatures.C: fix typos
6325 * Spacing.C: move spacing_string into class
6327 * ToolbarDefaults.C: move stuff into namespace anon
6329 * layout.h: update enum
6331 * lyxfunc.C: use better debug
6333 * minibuffer.h: fix typo
6337 * WorkArea.C: add and use Debug::WORKAREA
6341 * text2.C: code re-organisation, inline helpers
6343 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
6345 * Layout.C: replaced a few cases of std::vector.size() == 0 with
6346 std::vector.empty().
6348 2001-11-09 Allan Rae <rae@lyx.org>
6350 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6351 '\n's after tables. Tabular and ERT inset work now makes this no
6354 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6357 * minibuffer.C: fix crash, improve drop-down completion
6359 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
6362 * lyxserver.C: invalidate fd's when doing endPipe()
6364 2001-11-08 José Matos <jamatos@fep.up.pt>
6366 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6367 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6370 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6372 2001-11-07 José Matos <jamatos@fep.up.pt>
6375 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6378 * buffer.C (sgmlOpenTag):
6379 * buffer.C (sgmlCloseTag): removed debug info.
6381 * buffer.h (sgmlOpenTag):
6382 * buffer.h (sgmlCloseTag): made public.
6384 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6386 * buffer.C (saveParamsAsDefaults):
6387 * lyx_cb.C (MenuLayoutSave): remove
6389 * LyXAction.C (init):
6391 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
6393 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6395 * buffer.C (setPaperStuff): removed from here...
6397 * bufferparams.C (setPaperStuff): ... and moved there.
6399 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
6403 * XFormsView.C: add support for drop-down completion
6405 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
6407 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6410 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6412 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6415 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6417 * lyx_main.C: change ref to known bugs
6419 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6421 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6422 to work around older babel problems.
6424 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6426 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6428 2001-10-24 Juergen Vigna <jug@sad.it>
6430 * tabular-old.C (ReadOld): below variable changes reflected.
6432 * tabular.[Ch]: added ltType struct for longtable header/footer
6433 defines and changed all instances where they are used. Added
6434 future support for double top/bottom rows.
6436 2001-10-24 José Matos <jamatos@fep.up.pt>
6438 * buffer.h (docbookHandleCaption):
6439 * buffer.C (docbookHandleCaption): removed unused function.
6440 (makeDocBookFile): moved docbook supported version to v4.1.
6442 2001-10-24 José Matos <jamatos@fep.up.pt>
6445 * tabular.C (docbookRow): new function to export docbook code of a row.
6446 (DocBook): now honors the longtable flags.
6448 2001-10-23 José Matos <jamatos@fep.up.pt>
6451 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6452 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6454 * buffer.C (makeLinuxDocFile):
6455 (makeDocBookFile): reworked the preamble, more clean, and with
6456 support for lyx defined entities. Changed the document declaration
6457 to be more XML friendly.
6459 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6460 if we need to output XML that should be done with a filter.
6462 2001-10-22 Juergen Vigna <jug@sad.it>
6464 * sp_pspell.h (class PSpell): add alive function needed in the
6465 controller to see if the spellchecker could be started.
6467 2001-10-22 Juergen Vigna <jug@sad.it>
6469 * buffer.C (insertStringAsLines): modify the font for inserting
6470 chars in certain conditions by calling checkInsertChar(font).
6472 2001-10-19 Juergen Vigna <jug@sad.it>
6474 * text.C (workWidth): use getRow instead of wrong algorithm.
6475 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6477 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6482 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6484 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6486 * text.C (workWidth): do not search for the exact row when
6487 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6488 optimization for big documents.
6490 2001-10-18 Juergen Vigna <jug@sad.it>
6492 * text.C (workWidth): new function with added Inset * parameter.
6494 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6496 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6498 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6499 change return type of getColumnNearX.
6502 * text.C (changeRegionCase): use uppercase/lowercase instead of
6505 (rightMargin): simplify code by factoring out the uses of
6510 (appendParagraph): use Paragraph::size_type
6512 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6514 * vspace.C (asLatexString): add a missing break
6516 2001-10-15 Herbert Voss <voss@perce.de>
6518 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6520 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6522 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6525 2001-10-10 André Pönitz <poenitz@gmx.net>
6527 * lyxfunc.C: removed greek_kb_flag.
6529 2001-10-10 Herbert Voss <voss@perce.de>
6531 * lyx_main.C: delete global string help_lyxdir.
6533 2001-10-09 Herbert Voss <voss@perce.de>
6535 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6537 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6539 * lyx_main.C: added global string help_lyxdir.
6541 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6543 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6545 * lyxrc.C (set_font_norm_type): support iso8859-4
6547 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6549 * LaTeX.C (deplog): add another regex for MikTeX
6551 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6553 * lyxrc.C (set_font_norm_type): support iso8859-3
6555 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6557 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6559 * LaTeXFeatures.C: remove special case of french and index
6561 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6562 before \begin{document}). This solves several incompatibilities.
6564 2001-10-03 Garst Reese <reese@isn.net>
6566 * lyx_cb.C: change CheckTex error msg.
6568 2001-10-03 José Matos <jamatos@fep.up.pt>
6570 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6572 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6574 * .cvsignore: update
6576 * lyx_main.C (commandLineVersionInfo): use new style version info.
6578 * buffer.C (writeFile):
6581 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6583 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6585 * version.h: update to use stuff in version.C
6587 * version.C.in: new file. Contains version information determined
6588 at compile time. This is a merging of version.h and
6591 2001-10-03 Juergen Vigna <jug@sad.it>
6593 * BufferView_pimpl.C (update): don't change "dirty" status in
6596 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6598 * WorkArea.C (c-tor): re-position version string slightly.
6600 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6602 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6603 revert to previous code.
6605 WorkArea.[Ch]: (show, destroySplash): methods removed.
6607 WorkArea.C: rework code so that it's an amalgam of the codes before and
6608 after the splash screen was moved to WorkArea.
6610 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6613 * vspace.C (inPixels):
6616 * buffer.C (insertStringAsLines):
6617 (asciiParagraph): fix types to be large enough
6619 * lyxlex_pimpl.h: change member status from short to int
6621 * layout.h: fix type of endlabeltype
6624 * kbsequence.C (parse): change return type to string::size_type
6626 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6629 * Bullet.C (bulletSize):
6630 (bulletEntry): do not use short ints as parameters
6632 * BufferView2.C (insertLyXFile): change a char to an int.
6634 * WorkArea.C (WorkArea): remove unneeded floats in computation
6636 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6638 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6640 * paragraph.C (asString): Do not ignore newline/hfill chars when
6641 copying to the clipboard.
6643 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6645 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6646 after a multi-line inset.
6648 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6650 * paragraph.C (validate): Set NeedLyXFootnoteCode
6652 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6654 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6655 and decrease-error to decrease.
6657 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6659 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6660 it more readable (should be equivalent)
6662 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6664 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6666 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6668 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6669 of a cursor (row, etc.) after a character has been deleted
6670 (deleteEmptyParagraphMechanism): call the method above on _all_
6671 cursors held by the LyXText when a double space has been
6674 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6676 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6678 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6680 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6681 background. Use greyOut() and the new show() methods to toggle between
6682 the foreground and background. Add code to remove the splash after
6683 its initial showing.
6685 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6686 (create_forms): no longer call Dialogs::showSplash.
6688 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6690 * .cvsignore: add version_info.h
6692 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6694 * version_info.h.in: new file
6696 * Makefile.am: add version_info.h.in
6698 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6699 version_info.h instead of VERSION_INFO
6701 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6703 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6704 The ERT inset now returns string().
6706 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6708 * lyxtext.h, text.C (selectNextWord): renamed as
6709 selectNextWordToSpellcheck.
6711 * text.C (selectNextWordToSpellcheck): Modified to not select
6712 words inside an ERT inset.
6714 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6716 * lyx_cb.C (MenuLayoutSave): change a bit the question
6718 * sp_base.h: include <sys/types.h>
6720 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6722 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6724 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6726 * several files: fix typos in user-visible strings
6728 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6730 * text2.C (pasteSelection): do not set the selection, since it
6731 will be cleared later. Actually, the intent was to fix the way the
6732 selection was set, but I figured rmoving the code was just as good.
6734 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6736 * FontLoader.C (available): Check if font is available without
6739 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6741 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6743 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6745 * lyxrc.[Ch]: added display_graphics variable and associated code.
6747 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6749 * bufferparams.C (hasClassDefaults): new method. Returns true if
6750 the buffer parameters correspond to known class defaults
6752 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6754 * XFormsView.C (show): set minimum size to the main window.
6756 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6758 * text2.C (copySelection):
6760 * lyxfind.C (LyXReplace):
6761 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6762 LyXText::selectionAsString.
6764 * paragraph.C (asString): add "label" argument to the second form
6766 * text2.C (selectionAsString): add "label" argument and pass it to
6767 Paragraph::asString.
6769 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6771 * lyx_main.C (commandLineHelp): remove version information
6773 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6775 * lyx_main.C: add -version commandline option
6777 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6779 * paragraph.h: make the optional constructor arg required instead.
6780 some modifications to other files because of this.
6782 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6784 * lyxserver.C (C_LyXComm_callback): make it static
6786 * lyx_main.C (error_handler): make it static
6788 * lyx_gui.C (LyX_XErrHandler): make it static
6790 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6792 * WorkArea.C: make the extern "C" methods static.
6794 * Makefile.am (lyx_LDADD): simplify
6796 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6798 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6799 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6801 * LyXAction.C (init):
6802 * lyxfunc.C (dispatch): associated code removal.
6804 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6806 * lyxfont.h (isSymbolFont): shut off warning
6808 * text.C (setHeightOfRow):
6809 (getVisibleRow): fix crash with empty paragraphs which have a
6812 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6814 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6817 2001-09-04 José Matos <jamatos@fep.up.pt>
6820 * tabular.C (docbook): rename docBook method to docbook.
6822 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6824 * Makefile.am: add dependencies to main.o.
6826 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6828 * FontLoader.C (available): Return false if !lyxrc.use_gui
6830 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6832 * FontInfo.C (query):
6833 * converter.C (view):
6834 * importer.C (Import):
6835 * exporter.C (Export): Can not -> cannot.
6837 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6839 * BufferView_pimpl.C: allow to create index inset even if
6842 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6844 * buffer.C (getLists): replace boost::tie code with an explicit pair
6845 as boost::tie can break some compilers.
6847 * iterators.h: Added a std:: declaration to the return type of
6850 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6852 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6855 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6857 * iterators.[Ch]: New files. Provide paragraph iterators.
6859 * buffer.C (changeLanguage): Use paragraph iterators.
6860 (isMultiLingual): ditto
6862 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6864 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6866 * FontLoader.C: Support for cmr font.
6868 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6870 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6871 (available): New method.
6873 * FontInfo.C (getFontname): Use scalable fonts even when
6874 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6877 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6879 * converter.C (Formats::view): reverted! Incorrect fix.
6881 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6883 * converter.C (Formats::view): only output the -paper option
6884 if the dvi viewer is xdvi, thereby fixing bug #233429.
6886 2001-08-23 Herbert Voss <voss@perce>
6888 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6890 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6892 * Spacing.h (Spacing): Set space to Default on in the default
6895 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6897 * vc-backend.h (RCS::versionString): add RCS to version
6898 (CVS::versionString): add CVS to version
6900 * vc-backend.C (scanMaster): do not add CVS to version.
6901 (scanMaster): do not add RCS to version
6903 * lyxvc.C (versionString): new method
6905 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6907 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6909 * Spacing.C (set): initialize fval
6911 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
6913 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6916 2001-08-16 Juergen Vigna <jug@sad.it>
6918 * lyxfunc.C (dispatch): implemented the new FINISHED states.
6920 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6922 * BufferView_pimpl.C:
6925 * text2.C: setParagraph takes linespacing now
6927 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
6929 * LyxAction.C: add internal LFUN_CITATION_INSERT
6931 * LyXView.C: actually apply fix
6933 * bufferlist.C: fix open non-existent file
6935 * lyxfind.C: fix indentation
6937 * lyxfunc.C: remove unneeded assert, fix typo
6939 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6941 * MenuBackend.C: use "Floatname List"
6943 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6945 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6946 when converting LaTeX layout to insetERT.
6947 Generate a non-collapsed float when reading old float
6949 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6951 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6954 2001-08-13 Juergen Vigna <jug@sad.it>
6956 * text.C (fill): return 0 instead of 20 as this seems to be the more
6959 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6961 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6964 2001-08-13 Juergen Vigna <jug@sad.it>
6966 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6968 (SearchBackward): comment out the unlocking of the inset_owner this
6969 should not be needed!
6971 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6973 * Many files: Remove inherit_language, and add latex_language
6975 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6978 2001-08-10 Juergen Vigna <jug@sad.it>
6980 * text.C (prepareToPrint): fixed hfill-width in draw!
6982 * BufferView2.C (selectLastWord): save the selection cursor as this
6983 now is cleared in the function LyXText::clearSelection!
6985 2001-08-08 Juergen Vigna <jug@sad.it>
6987 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6988 BACKSPACE type functions.
6990 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
6991 is only cutted from the document but not put in the cut-buffer, where
6992 still the old stuff should be.
6994 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
6996 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
6998 * tabular.C (SetWidthOfCell): fixed special case where the width
7000 (LeftLine): handle '|' in align_special.
7002 (LeftAlreadyDrawed): ditto
7003 (SetWidthOfCell): ditto
7005 2001-08-07 Juergen Vigna <jug@sad.it>
7007 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
7009 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7011 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
7012 * lyxlex.[hC]: ditto
7014 2001-08-06 Juergen Vigna <jug@sad.it>
7016 * text.C (getVisibleRow): fix up row clearing a bit.
7018 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7020 * minibuffer.C: make sure the X server sees the changes in the input.
7022 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7024 * paragraph.C (getFont): split into...
7025 (getLabelFont): this
7026 (getLayoutFont): and this
7027 * paragraph_pimpl.C (realizeFont): calling this
7029 * text2.C (getFont): split into...
7030 (getLayoutFont): this
7031 (getLabelFont): and this
7032 (realizeFont): all three calling this
7034 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
7037 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7039 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
7041 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
7043 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
7044 layouts from the Quote inset insertion.
7046 2001-08-03 Juergen Vigna <jug@sad.it>
7048 * BufferView_pimpl.C (update): do the fitCursor only at the end!
7050 * screen.C (drawFromTo): don't call fitcursor here and do the loop
7051 only if status not is already CHANGED_IN_DRAW (second level).
7053 * text.C (draw): don't set the need_break_row when inside an
7056 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7058 * buffer.C (parseSingleLyXformat2Token): handle more latex
7061 * bufferview_funcs.[hC]: change function names to
7062 begin with small char, adjust other files.
7064 2001-08-02 André Pönitz <poenitz@gmx.net>
7067 BufferView_pimpl.C: remove broken special code for math-greek
7069 2001-08-02 Juergen Vigna <jug@sad.it>
7071 * BufferView_pimpl.C (update): redone this function so that we
7072 update the text again if there was a CHANGE_IN_DRAW.
7074 * screen.C (cursorToggle): removed LyXText parameter and recoded.
7075 (drawFromTo): added a new internal bool which is used by draw() and
7077 (general): some cursor drawing problems fixed.
7079 2001-08-01 Juergen Vigna <jug@sad.it>
7081 * lyxfind.C (LyXFind): fixed
7082 (SearchForward): ditto
7083 (SearchBackward): ditto
7085 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
7086 spurius drawing of the cursor in the main area.
7088 * text2.C (status): small fix which could lead to a segfault!
7089 (clearSelection): remove unneeded BufferView param.
7091 2001-08-01 André Pönitz <poenitz@gmx.net>
7093 * lyxfunc.C: small change due to changed mathed interface
7095 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7097 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
7099 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
7101 * lyxfunc.c: fail gracefully if file doesn't exist
7106 * BufferView_pimpl.C: IsDirWriteable() proto changed
7108 * LyXView.C: fix updateWindowTitle() to store the last title
7110 2001-07-31 Juergen Vigna <jug@sad.it>
7112 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
7113 the font (wrong since using of Paragraph::highestFontInRange).
7115 * paragraph.C (highestFontInRange): added a default_size parameter.
7117 * text.C (getVisibleRow): minor clear row changes (still not perfect).
7118 (setHeightOfRow): reformat
7120 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7122 * converter.[hC] + affected files: move to (inital-char)lowercase
7125 * ParagraphParameters.C (ParagraphParameters): remove commented code
7127 * PainterBase.[Ch]: remove commented code
7129 * LaTeXFeatures.h: add "bool floats" for float.sty
7131 * LaTeXFeatures.C (LaTeXFeatures): init floats
7132 (require): handle float
7133 (getPackages): do it with floats
7135 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7137 * BufferView_pimpl.C (Dispatch): improve handling of
7138 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
7140 * commandtags.h: #include lyxfont.h here temporarily to avoid
7143 * bufferlist.h: include LString.h here.
7145 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7147 * text2.C (getStringToIndex): new method.
7149 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
7151 * *: Reduced header file dependencies all over.
7153 2001-07-30 Baruch Even <baruch@lyx.org>
7155 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
7157 2001-07-29 Baruch Even <baruch@lyx.org>
7159 * buffer.C (readInset): Changed GRAPHICS to Graphics.
7161 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7163 * ParameterStruct.h (endif): add a default constructor to make
7164 sure that all variables is initialized.
7166 * ParagraphParameters.C (ParagraphParameters): adjust
7168 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7170 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
7171 index; also, check that there is something to index, and that it
7172 does not span over several paragraphs.
7173 (doubleClick): use WHOLE_WORD_STRICT for double click.
7175 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
7177 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
7180 2001-07-26 Baruch Even <baruch@lyx.org>
7182 * buffer.C (readInset): Changed to call up InsetGraphics when reading
7183 an InsetFig figure, backwards compatible reading of old figure code.
7185 2001-07-27 Juergen Vigna <jug@sad.it>
7187 * text2.C: font.realize function adaption.
7189 * text.C (draw): add a warnings lyxerr text if needed.
7191 * layout.C: font.realize function adaption.
7193 * language.C: add inherit_language and implement it's handlings
7195 * bufferview_funcs.C (StyleReset): remove language parameter from
7196 font creation (should be language_inherit now).
7198 * bufferparams.C (writeFile): handle ignore_language.
7200 * paragraph.C (getFontSettings): the language has to be resolved
7201 otherwise we have problems in LyXFont!
7203 * lyxfont.C (lyxWriteChanges): added document_language parameter
7204 (update): removed unneeded language parameter
7206 * paragraph.C (validate): fixed wrong output of color-package when
7207 using interface colors for certain fonts in certain environments,
7208 which should not seen as that on the final output.
7210 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
7212 * BufferView_pimpl.C:
7217 * LyXAction.C: add thesaurus support
7220 * lyxfind.C: add "once" parameter, for thesaurus, to not
7221 move to the next match
7223 2001-07-26 Juergen Vigna <jug@sad.it>
7225 * lyxfont.C (realize): honor ignore_language too!
7228 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
7230 * text.C (draw): one place more for ignore_language to not draw
7233 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
7235 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
7237 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7239 * buffer.C (parseSingleLyXformat2Token): a more general fix for
7240 the minipage conversion problem.
7242 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7244 * buffer.C (parseSingleLyXformat2Token): check minipage if we
7247 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7249 * BufferView.h: don't forward declare WorkArea
7251 * BufferView.C: don't include WorkArea.h
7253 2001-07-25 André Pönitz <poenitz@gmx.net>
7257 * lyxfunc.C: new LFUN 'math-space'
7259 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
7261 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7263 * text2.C (toggleInset): call open/close
7265 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7267 * lyxfunc.C (dispatch): add debug for the disabled case
7269 * font.C (buttonText): make similar to rectText
7271 * buffer.C (readInset): comment out parsing of insetlist and
7274 * PainterBase.C (rectText): small correction
7276 * BufferView_pimpl.C: comment out insettheorem and insetlist
7277 * LyXAction.C: ditto
7278 * commandtags.h: ditto
7280 2001-07-24 Juergen Vigna <jug@sad.it>
7282 * text.C (draw): honor the ignore_language.
7284 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
7286 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7288 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
7291 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7293 * lyxtext.h: remove unused (and unimplemented) methods
7295 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7297 * text.C (getVisibleRow): honor background color
7300 * Painter.h: remove default color argument for fillRectangle
7302 * text.C (backgroundColor): new method
7304 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7306 * text.C (getVisibleRow): adjust
7308 * font.[Ch] (rectText): new method, metrics
7309 (buttonText): new method, metrics
7311 * PainterBase.[hC]: make rectText and buttonText always draw and take
7314 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7316 * ToolbarDefaults.C (read):
7317 * MenuBackend.C (read): allow escaping in all strings
7319 * BufferView_pimpl.C (insertAndEditInset): new method.
7320 (Dispatch): use insertAndEditInset whenever appropriate.
7322 * BufferView_pimpl.C (insertNote): removed
7324 * BufferView_pimpl.C (smartQuote): new method, moved from
7325 BufferView; if an insetquote cannot be inserted, insert a '"'
7328 * BufferView2.C: remove insertCorrectQuote();
7330 * lyxfunc.C (getStatus): Add support for all remaingin
7333 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7335 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7336 command (necessary to pass " as parameter of self-insert.
7338 * text.C (selectWordWhenUnderCursor):
7339 (selectWord): add word_location parameter
7340 (selectWordWhenUnderCursor): same + remove special code for word
7342 (selectNextWord): use kind() to guess type of insetspecialchar,
7345 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7346 (insertErtContents): create ert insets as collapsed.
7347 (readInset): better compatibility code for Info inset.
7349 2001-07-20 Juergen Vigna <jug@sad.it>
7351 * lyxfunc.C (dispatch): use always LyXFind now!
7353 * text2.C (init): add a reinit flag so that the LyXText can be
7354 reinited instead of deleted and reallocated (used in InsetText).
7356 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7362 2001-07-18 Juergen Vigna <jug@sad.it>
7364 * text.C (selectNextWord): handle insets inside inset by calling
7365 always the bv->text functions so that we can go up the_locking_inset!
7367 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7368 in strange locations when inside an inset!
7370 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7371 handling to include insets.
7373 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7375 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7377 * LyXAction.C (init):
7379 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
7380 LIGATURE_BREAK, since the name is so stupid.
7382 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7384 * buffer.C (readInset): enable reading of new InsetNotes as well as old
7387 * FontLoader.C: remove FORMS_H_LOCATION cruft.
7389 * sp_form.[Ch]: remove.
7391 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
7393 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
7396 * src/buffer.C (readInset): ditto.
7398 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7400 * BufferView_pimpl.C (specialChar): new method. Obsoletes
7401 menuSeparator(), endOfSentenceDot(), ldots() and
7402 hyphenationPoint(), which are therefore removed.
7403 (Dispatch): handle LFUN_HYPHENATION_BREAK.
7405 * LyXAction.C (init):
7406 * commandtags.h: add LFUN_HYPHENATION_BREAK.
7408 * paragraph.C (getWord): removed.
7410 * BufferView_pimpl.C (Dispatch): use last word or selection for
7411 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7413 * lyx_main.C (queryUserLyXDir): do not ask before creating
7414 user_dir, except if it has been named explicitely.
7416 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7418 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7419 a document of zero size.
7421 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7423 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7424 approriately in the c-tor and in require().
7425 (getPackages): output the appropriate LaTeX for natbib support.
7427 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7428 variables "use_natbib" and "use_numerical_citations" when reading the
7430 (readInset): read the various natbib cite commands.
7431 (validate): white-space change.
7433 * bufferparams.[Ch]: new variables "bool use_natbib" and
7434 "bool use_numerical_citations".
7435 (writeFile): output them in the LyX file.
7437 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7439 * lyxfunc.C (getStatus): add support for all the inset insertion
7442 * text2.C (insertInset):
7443 * paragraph.C (insetAllowed):
7444 * BufferView_pimpl.C (insertInset): update to take in account the
7445 renaming of insertInsetAllowed
7447 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7449 * text2.C (getInset): new method. returns inset at cursor position.
7451 * BufferView_pimpl.C (Dispatch): changes because of this.
7453 * LyXAction.C (init): rename open-stuff to inset-toggle.
7455 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7457 * text2.C (toggleInset): renamed from openStuff; use
7460 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7462 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7464 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7466 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7468 * buffer.C (readLyXformat2): Add filename to the error dialog
7470 2001-07-18 Juergen Vigna <jug@sad.it>
7472 * tabular.C (GetCellNumber): put an assert here instead of the check!
7474 2001-07-17 Juergen Vigna <jug@sad.it>
7476 * BufferView_pimpl.C (toggleSelection): adapted too.
7478 * text.C (selectNextWord): adapted for use with insets.
7479 (selectSelectedWord): ditto
7481 2001-07-17 Juergen Vigna <jug@sad.it>
7483 * sp_spell.C (PSpell): fix initialitation order.
7485 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7487 * paragraph.C: spacing
7489 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7491 * sp_spell.C: repair language selection for pspell
7493 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7495 * lyxfunc.h: change more methods to begin with lower char.
7497 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7499 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7500 for unknown layouts.
7502 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7504 * buffer.C (readLyXformat2): Generate an error dialog if there are
7507 2001-07-16 Juergen Vigna <jug@sad.it>
7509 * sp_spell.C: always compile ISpell part.
7511 * lyxrc.C: added use_pspell entry and it's handling.
7513 2001-07-13 Juergen Vigna <jug@sad.it>
7515 * sp_spell.C: removed double includes.
7517 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7519 Consistent use of Lsstream.h:
7520 * Lsstream.h: added using std::stringstream for consistencies sake.
7522 * buffer.C: removed using std::stringstream
7524 * lyxfont.C (stateText):
7525 * paragraph.C (asString):
7526 * text.C (selectNextWord, selectSelectedWord):
7527 * text2.C (setCounter):
7528 * vspace.C (asString, asLatexString):
7529 std::ostringstream -> ostringstream.
7531 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7533 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7534 * commandtags.h: add LFUN_HELP_ABOUTLYX
7535 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7537 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7539 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7541 * lyx_gui_misc.C: remove spellchecker
7542 * lyxfunc.C: showSpellchecker
7544 * sp_ispell.h: added
7545 * sp_pspell.h: added
7547 * sp_form.[Ch]: removed
7548 * spellchecker.[Ch]: removed
7550 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7552 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7554 (simpleTeXSpecialChars): Simply print the input character without
7555 any special translation if pass_thru is set.
7557 * layout.h: Added bool pass_thru to layout class for being able to
7558 implement pass through of a paragraph for Literate Programming.
7560 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7561 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7562 * layout.C (Read): add "passthru" to list of layout tags and add
7563 code to set the pass_thru boolean when it is read.
7565 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7567 * trans_decl.h: remove allowed from KmodInfo
7569 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7573 * paragraph_pimpl.C (erase): use boost::prior
7575 * Painter.C (text): use data() instead of c_str() when length is
7577 * WorkArea.C (putClipboard): ditto
7578 * font.h (width): ditto
7580 * BufferView2.C: use it-> instead of (*it). for iterators
7582 * paragraph_pimpl.C: ditto
7583 * paragraph.C: ditto
7584 * minibuffer.C: ditto
7589 * converter.C: ditto
7591 * Variables.C: ditto
7592 * TextCache.C: ditto
7593 * MenuBackend.C: ditto
7594 * LyXAction.C: ditto
7596 * FloatList.C: ditto
7598 * ColorHandler.C (LyXColorHandler): ditto
7600 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7602 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7604 * text2.C (openStuff): reintroduce this method (which had been
7605 nuked in NEW_INSETS frenzy).
7607 * lyxfunc.C (Dispatch): when an action has not been handled, use
7608 its name in the error message, not its number.
7610 * paragraph.C (inInset): change method name to begin with lowercase.
7613 * text2.C: updates because of this.
7615 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7617 * ToolbarDefaults.C (add): add spaces in error message
7619 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7621 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7622 (readLyXformat2): rename return_par to first_par, use lyxlex's
7623 pushToken and remove the manual push handling.
7624 (parseSingleLyXformat2Token): add another ert comp. variable:
7625 in_tabular, rename return_par to first_par. handle newlines better
7627 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7629 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7631 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7633 * text2.C (getParFromID): removed
7635 * buffer.C (getParFromID): new method moved form lyxtext.
7636 * BufferView2.C (insertErrors): adjust
7637 (setCursorFromRow): adjust
7638 * BufferView_pimpl.C (restorePosition): adjust
7639 * lyxfunc.C (Dispatch): adjust
7640 * undo_funcs.C (textUndo): adjust
7642 (textHandleUndo): adjust
7643 (textHandleUndo): adjust
7645 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7647 * buffer.C: up' the LYX_FORMAT
7649 * lyxfont.h: turn NO_LATEX on as default
7651 * buffer.C (insertErtContents): new methods of tex style compability.
7652 (parseSingleLyXformat2Token): use it several places.
7653 * tabular.C (OldFormatRead): and here
7655 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7657 * text2.C: remove some commented code.
7660 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7661 * trans.C: changes because of the above.
7663 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7665 * text2.C (setCounter): Fix counters bug with bibliography layout.
7667 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7669 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7670 own member functions
7671 (simpleTeXSpecialChars): ditto
7673 2001-07-06 Juergen Vigna <jug@sad.it>
7675 * a lot of files: changed the access to LyXText::status and the
7676 call of undo-functions.
7678 * undo.[Ch]: added a inset_id to the undo informations.
7680 * undo_funcs.[Ch]: added and moved here all undo functions.
7682 * lyxtext.h: give the status enum a weight, made status_ a private
7683 variable and made accessor functions for it, removed the whole bunch
7684 of undo-functions as they are now in their own file, make some
7685 functions publically available. Added function ownerParagraph with
7688 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7689 made InInset() a const function, added getParFromID() function.
7691 * buffer.[Ch]: added const version for inset_iterator functions,
7692 added getInsetFromID() function.
7694 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7695 changed undo functions for new version.
7697 2001-07-05 Juergen Vigna <jug@sad.it>
7699 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7700 unknow mechanism does not call the proper constructor but only this
7701 one also if I request the other!?
7703 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7705 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7707 * text2.C (LyXText): use initialization lists.
7709 * lyxtext.h (Selection): initialize set_ and mark_
7710 (init): remove method
7712 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7714 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7716 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7718 * screen.[Ch]: change method names to begin with lowercase
7720 * BufferView_pimpl.C (updateScrollbar): simplify further and
7721 hopefully make it a bit faster.
7723 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7725 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7726 calling directly xforms functions.
7728 * Painter.C (Painter):
7729 * lyx_cb.C (MenuWrite):
7730 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7733 * lyx_gui.C: remove bogus guiruntime extern declaration.
7735 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7737 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7739 (redoDrawingOfParagraph): ditto
7740 (redoParagraphs): ditto
7741 (cutSelection): don't create a object for CutAndPaste use the
7742 static method directly
7743 (pasteSelection): ditto
7745 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7748 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7750 * modifications to some other files because of this.
7752 * Makefile.am (lyx_SOURCES): add XFormsView
7754 * XFormsView.[Ch]: new files
7756 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7757 the main window. Move the gui dependent stuff to XFormsView
7759 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7761 * tabular.C (GetCellInset): update cur_cell also in the row/col
7762 version of this function.
7764 * lyxfunc.C: no need to include figure_form.h here.
7770 * lyxvc.C: no need to include forms.h here.
7772 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7774 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7776 * lyxfunc.C (Dispatch):
7778 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7779 constructor argument.
7781 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7783 * paragraph.C (Paragraph): dont't clear, and just set layout.
7784 (makeSameLayout): use params's copy contructor.
7786 * ParagraphParameters.[Ch] (makeSame): delete method
7788 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7790 * Variables.[Ch]: fix indentation, rename set to isSet
7792 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7794 * lyxfunc.C (Dispatch): fix typo
7796 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7798 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7801 * bufferlist.C: include assert.h for emergencyWrite().
7803 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7805 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7806 give up at last (bug #425202) !
7808 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7814 * spellchecker.C: strip spellchecker options and bring up
7815 preferences tab instead
7817 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7819 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7820 the istringstream constructor
7822 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7824 * paragraph.C (getLayout): fix return value
7826 * paragraph.h: do not declare getLayout as inline.
7828 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7830 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7832 * lyxcursor.h (operator<): new func
7833 (operator>): new func
7834 (operator>=): new func
7835 (operator<=): new func
7837 * text.C (changeCase): use selection.start and selection.end
7838 (changeRegionCase): require from to be <= to. Require par to be a
7841 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7843 2001-06-27 Juergen Vigna <jug@sad.it>
7845 * text.C (cursorLeftOneWord): changed to return the cursor and added
7846 overlay with BufferView * parameter which calls this one.
7848 (selectWord): use new getWord function.
7849 (changeCase): renamed from changeWordCase as and extended to work
7852 * lyxtext.h: added enum word_location
7854 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7855 changeCase as this operates now also on selections.
7857 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7859 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7861 * many files: send debug output to Debug::INFO instead of
7864 * converter.C (View):
7866 (Move): send debug output to Debug::FILES instead of console.
7868 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7870 * lyxfunc.C (getStatus): use func_status
7872 * func_status.h: new header, describing the results of
7875 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7878 2001-06-25 The LyX Project <jug@sad.it>
7880 * buffer.C (sgmlOpenTag):
7882 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7884 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7886 * text2.C: remove some dead code
7888 * tabular.C (GetCellInset): store the last cell checked (gotten)
7890 * tabular.h: add the helper for the speedup
7892 * lyxtext.h: remove some dead code
7894 2001-06-26 The LyX Project <Asger>
7896 * paragraph.C: Change export to LaTeX of alignment to
7897 \begin{center} and family for better roundtrip work with reLyX.
7899 * Tune the math drawing a bit.
7901 2001-06-25 The LyX Project <Asger>
7903 * LColor.C (LColor): New color for math background. New color
7906 2001-06-25 The LyX Project <jug@sad.it>
7908 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7911 * bufferlist.C (newFile): do not restrict to files ending with
7914 * BufferView_pimpl.C (MenuInsertLyXFile):
7916 2001-06-24 The LyX Project <jug@sad.it>
7918 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7921 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7923 * lyxtext.h: rename most methods to begin with a small char.
7924 Lots of changes because of this.
7926 * paragraph.C (Paragraph): do not call fitToSize
7927 (erase): call Pimpl::erase
7928 (insertChar): call Pimpl::insertChar
7929 (insertInset): call Pipl::insertInset
7930 (breakParagraph): do not call fitToSize
7931 (breakParagraphConservative): do not call fitToSize
7932 (fitToSize): remove method
7934 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7936 2001-06-24 The LyX Project <Asger>
7938 * Fix Qt compilation^2
7940 2001-06-24 The LyX Project <jug@sad.it>
7942 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7943 depthHook(getDepth()-1).
7946 * ParagraphParameters.h:
7947 * ParameterStruct.h: change type of depth to unsigned int ==
7948 depth_type. Many adaptations to other files before of that.
7950 2001-06-24 The LyX Project <Asger>
7952 * Fix Qt compilation.
7954 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7956 * paragraph.h: renamed several methods to begin with small letter.
7957 several changes to many parts of the code because of this.
7959 2001-06-23 The LyX Project <jug@sad.it>
7961 * text2.C (InsertStringAsLines): renamed from InsertStringA;
7962 rewritten to discard all double spaces when KeepEmpty is off
7963 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7964 to only handle newlines but not fiddle with spaces and friends.
7966 * lyxfunc.C (MenuNew): when doing 'new from template', use
7967 template_path as default directory
7969 2001-06-23 The LyX Project <Asger>
7971 * Clean-up of header file includes all over
7972 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7974 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7976 * paragraph.h: renamed from lyxparagraph.h
7978 2001-06-23 Asger <lyx@violet.home.sad.it>
7980 * Buffer.h: Removed Buffer::resize
7981 * BufferList.h: Removed BufferList::resize
7982 * LyXView.h: Added LyXView::resize. This way, we will only reflow
7983 the document lazily when we change the width, or the font settings.
7985 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7987 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7989 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7991 * buffer.h: remove out of date comment
7993 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7996 * screen.C: fix "theoretical" GC leak
7998 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8000 * LaTeX.C (scanAuxFile):
8001 (deplog): remove trailing \r when reading stream (useful under
8004 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
8006 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
8007 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
8008 and BufferView::theLockingInset(Inset*), so should use them and not
8009 access bv_->text->the_locking_inset directly.
8011 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
8013 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8016 * tex-defs.h: remove old unused file
8018 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
8020 * BufferView_pimpl.C: fix typo, remove minibuffer message
8021 when buffer has loaded
8023 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8025 * lyxfunc.C (Dispatch): use stringstream
8026 (MenuNew): use stringstream
8027 (Open): use stringstream
8029 * importer.C (Import): use stringstream
8031 * bufferview_funcs.C (CurrentState): use stringstream
8033 * LaTeX.C (run): use stringstream
8035 * BufferView_pimpl.C (savePosition): use stringstream
8036 (restorePosition): use stringstream
8037 (MenuInsertLyXFile): use stringstream
8039 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
8052 * vspace.C: removed // -*- C++ -*- as first line.
8055 * version.h: added // -*- C++ -*- as first line.
8057 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8059 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
8061 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
8064 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8066 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
8069 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8071 * gettext.C: include LString.h even when --disable-nls is on.
8073 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
8075 * converter.h (Get): changed argument type from int to
8076 FormatList::size_type to avoid unnecessary conversion.
8078 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
8081 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8083 * gettext.h: include LString.h even when --disable-nls is on.
8085 2001-06-07 Juergen Vigna <jug@sad.it>
8087 * text.C (BreakAgain): subst spaces with tabs.
8089 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
8090 (resizeInsetsLyXText): set force on resizeLyXText.
8092 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8094 * gettext.h (gettext_init):
8095 (locale_init): use a real definition instead of a macro
8097 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8099 * Bufferview_pimpl.C:
8101 * LColor.C: further lcolor tidies
8103 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8105 * BufferView_pimpl.C (updateScrollbar): simplify.
8107 * BufferView2.C: don't include insets/insetinfo.h, change
8108 prototype for insertInset and call the Pimpl version. let
8109 updateInset call Pimpl version.
8111 * BufferView.h: move inset_slept to BufferView::Pimpl, move
8112 gotoInset to BufferView::Pimpl
8114 2001-06-01 Juergen Vigna <jug@sad.it>
8116 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
8117 inside a LockingInset (is the update needed at all?).
8119 2001-05-31 Juergen Vigna <jug@sad.it>
8121 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
8122 here not the old one otherwise how should we compare it afterwards
8125 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8130 * FontInfo.C: bring C functions into global namespace when
8133 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8135 * LString.h: make sure config.h has been loaded before LString.h.
8137 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
8138 (one for each char read by EatLine!).
8140 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
8143 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8145 * paragraph.C (BreakParagraph): set the inset_owner in the new par
8146 to the same as the par we break from
8148 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
8150 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
8152 * MenuBackend.C (expand): also create menu entries for wide
8153 versions of the floats.
8155 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
8157 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
8159 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
8160 frontends/Makefile.am
8166 * tabular.C (getTokenValue): add std::
8168 * tabular-old.C (getTokenValue): add std::
8169 (getTokenValue): ditto
8170 (getTokenValue): ditto
8172 * screen.C (ToggleSelection): adjust
8174 * lyxtext.h: put selection cursors inside a Selection struct.
8176 * lyxfunc.C (moveCursorUpdate): adjust
8178 * lyxfont.C (latexWriteStartChanges): add std::
8182 * font.h: delete with(char const *, LyXFont const &)
8184 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
8186 * FontInfo.C (getFontname): add std::
8188 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8189 (workAreaButtonPress): adjust
8190 (tripleClick): adjust
8192 (moveCursorUpdate): adjust
8195 * BufferView2.C (gotoInset): adjust
8197 2001-05-30 Juergen Vigna <jug@sad.it>
8199 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
8200 to check pspell I add this as default as I now have new pspell
8201 libraries and they seem to use this.
8203 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8205 * text2.C (CutSelection): make the cursor valid before the call to
8208 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8210 * kbsequence.C (parse): de-uglify a bit the parsing code, which
8211 relied on 0 terminated strings and other horrors. Bug found due to
8212 the new assert in lyxstring!
8214 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
8217 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8219 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
8222 * lyxfunc.C (processKeySym): change method of getting to the
8225 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
8226 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
8227 * BufferView_pimpl.[Ch]: here as private methods.
8229 2001-05-28 Juergen Vigna <jug@sad.it>
8231 * text.C (SetHeightOfRow): added the update() call again as it is
8232 needed to initialize inset dimensions!
8234 2001-05-16 Juergen Vigna <jug@sad.it>
8236 * text2.C (SetCharFont): Add new function with BufferView * and
8237 bool toggleall parameters for setting insets internal fonts.
8238 (SetFont): Freeze the undo as we may change fonts in Insets and
8239 all this change should be inside only one Undo!
8241 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
8242 setting font's in insets as for them we have the SetFont function!
8244 2001-05-15 Juergen Vigna <jug@sad.it>
8246 * text2.C (ClearSelection): to be sure we REALLY don't have any
8249 * tabular.C (TeXCellPreamble): fixed the left border problem for
8252 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
8254 * LaTeX.C (deplog): Make sure that the main .tex file is in the
8257 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8259 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
8260 LFUN_BREAKPARAGRAPH.
8262 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
8263 help test to "internal only", similar for LFUN_INSERT_URL
8265 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
8266 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
8267 auto_region_delete and deadkeys.
8269 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
8272 * LColor.C: remove some dead entries, tidy a little
8274 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8276 * lyxfunc.C (processKeySym): comment the Escape handling, remove
8278 (Dispatch): implement LFUN_ESCAPE
8280 * commandtags.h: add LFUN_ESCAPE
8282 * LyXAction.C (init): add entry for LFUN_ESCAPE
8284 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
8285 Remove commented code.
8286 (insertNote): moved here
8287 (open_new_inset): moved here
8289 * BufferView[2].[Ch]: move insertNote and open_new_inset to
8292 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8294 * kbmap.C (findbinding): clean it up and make it work correctly.
8296 * lyx_main.C (init): do not pass argc and argv as parameters
8298 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
8300 * buffer.C: fix path for OS/2 & Win32
8304 * lyx_main.C: Added os:: class.
8306 * os2_defines.h: update
8308 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8310 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8311 better by trying again with reduced state.
8313 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8315 * lyxrc.C (read): print error about invalid key sequence only when
8316 debugging (because not all latinX keysyms are known to some X
8319 * kbsequence.C (getiso): add a few std:: qualifiers
8320 (getiso): comment out extra return statement.
8322 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
8324 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8326 (Dispatch): enhance the accent inset a bit. (not perfect)
8328 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8330 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8332 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8334 * bufferlist.C (emergencyWrite): fix assert() call
8336 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
8338 * text.C (InsertChar): Added trivial patch to only send the "you
8339 can not do multiple spaces this way" message once during a
8342 2001-05-08 Baruch Even <baruch@lyx.org>
8344 * Makefile.am: Changed order of libraries to get LyX to link properly
8345 with the gnome frontend.
8347 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8349 * LaTeXFeatures.h: add a std:: qualifier
8351 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8353 * paragraph.C (String): use stringstream
8355 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8357 * paragraph.C (writeFile): remove footflag arg
8359 * buffer.C (makeLaTeXFile): use stringstream
8360 (latexParagraphs): remove footnot gurba
8362 * LaTeXFeatures.C (getPackages): use stringstream
8363 (getMacros): likewise
8364 (getTClassPreamble): likewise
8365 (getFloatDefinitions): new method
8367 * paragraph.C (writeFile): reindent
8370 * WorkArea.h: revert the xpos + etc changes.
8372 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8374 * lyxparagraph.[Ch]: add copy constructor, remove Clone
8376 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8377 (pasteSelection): likewise
8378 * text2.C (CreateUndo): likewise
8380 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8382 * minibuffer.C (peek_event): temporarily reduce the functionality
8383 of the minibuffer (to allow args on lfuns)
8385 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
8386 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
8388 * buffer.C (readInset): add compability reading of old float
8389 lists, add reading of new style float list.
8390 (readInset): avoid reevaluation of inscmd.getCmdName()
8391 (getLists): reindent
8393 * MenuBackend.C (MenuItem): implement parsing of
8394 md_floatlistinsert and md_floatinsert.
8395 (expand::LastFiles): move initalizaton of iterators out of loop,
8397 (expand::Documents): introduce typdedef vector<string> Strings,
8399 (expand::ExportFormats): introduce typedef vector<Format const *>
8400 Formats, and use it.
8401 (expand): implement FloatListInsert and FloatInsert.
8403 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8404 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8405 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8407 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8409 (Dispatch::LFUN_FLOAT_LIST): implement
8411 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8413 * LaTeX.C (run): Fix problem with --export code.
8415 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8417 * BufferView.[Ch] (workarea): removed.
8418 (getClipboard) new method; wrapper for workarea()->getClipboard()
8420 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8423 * WorkArea.h (width, height, xpos, ypos): These methods all
8424 returned the dimensions of the work_area sub-area of WorkArea,
8425 resulting in a position error if the WorkArea were resized. Now
8426 return the dimensions of the entire WorkArea.
8428 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8430 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8432 * LaTeX.C (deplog): correct the syntax of regex reg1
8434 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8436 * undo.C: remove !NEW_INSETS cruft
8438 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8440 * text2.C: remove !NEW_INSETS cruft
8442 * text.C: remove !NEW_INSETS cruft
8444 * tabular.C: remove !NEW_INSETS cruft
8446 * spellchecker.C: remove !NEW_INSETS cruft
8448 * lyxtext.h: remove !NEW_INSETS cruft
8450 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8452 * lyxfunc.C: remove !NEW_INSETS cruft
8454 * lyxfind.C: remove !NEW_INSETS cruft
8456 * lyx_cb.C: remove !NEW_INSETS cruft
8458 * figureForm.C: remove !NEW_INSETS cruft
8460 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8462 * buffer.[Ch]: remove !NEW_INSETS cruft
8464 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8466 * CutAndPaste.C: remove !NEW_INSETS cruft
8468 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8470 * BufferView2.C: remove !NEW_INSETS cruft
8472 * BufferView.h: remove !NEW_INSETS cruft
8474 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8476 * Lsstream.h: include LString.h before the sstream headers to
8477 fix problem with gcc 2.95.3 and lyxstring
8479 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8481 * lyx_main.C: add using directives when needed for C functions
8482 declared in std:: namespace.
8484 2001-04-27 Juergen Vigna <jug@sad.it>
8486 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8487 (SetHeightOfRow): comment out the update call should not be needed!
8489 2001-04-13 Juergen Vigna <jug@sad.it>
8491 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8492 (LyXTabular): tried to minimize operator= operations (and realized
8493 hopfully Lars wish).
8495 2001-04-27 Juergen Vigna <jug@sad.it>
8497 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8499 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8501 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8503 * buffer.C (readInset): hack to make listof algorithm work
8505 * BufferView_pimpl.C: hack to make listof algorithm work
8507 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8509 * LyXAction.C: removed all !NEW_INSETS cruft
8510 (init): moved lfun_item in method
8512 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8514 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8516 * BufferView2.C (theLockingInset): white space.
8518 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8520 * minibuffer.C: include <iostream>
8522 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8524 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8526 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8528 * text.[Ch] (TransposeChars): new method
8530 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8532 * call message directly through LyXView instead of through LyXFunc
8533 * BufferView2.C: adjust
8534 * BufferView_pimpl.C: adjust
8535 * FontLoader.C: adjust
8537 * bufferview_funcs.C: adjust
8538 * converter.C: adjust
8539 * figureForm.C: adjust
8540 * importer.C: adjust
8542 * lyx_gui_misc.C: adjust
8546 + more files in subdirs
8548 * lyxparagraph.h (size): move up int file
8551 * adjust all uses of Assert to lyx::Assert.
8553 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8554 lyxfunctional in namespace lyx
8555 * layout.C (hasLayout): ditto
8558 (delete_layout): ditto
8559 (NumberOfClass): ditto
8560 * converter.C (GetFormat): ditto
8565 * bufferlist.C (getFileNames): ditto
8566 (emergencyWriteAll): ditto
8569 * MenuBackend.C (hasSubmenu): ditto
8572 * BufferView_pimpl.C (getInsetByCode): ditto
8574 2001-04-18 Juergen Vigna <jug@sad.it>
8576 * vspace.C (asLatexString): fixed the 100% problem.
8578 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8580 * lyxfunc.C (Dispatch):
8582 * minibuffer.h: add a few std:: qualifiers
8584 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8586 * minibuffer.[Ch]: reimplement so that commands is initiated and
8587 run from lyxfunc, simplified som handling, and made the completion
8588 and history code for complete. wip.
8590 * lyxfunc.C (processKeySym): call message
8591 (miniDispatch): new temporary method
8592 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8593 (LFUN_MESSAGE): implement
8594 (LFUN_MESSAGE_PUSH): implement
8595 (LFUN_MESSAGE_POP): implement
8596 (initMiniBuffer): the initial/defualt minibuffer message.
8598 * lyxfont.[Ch]: inline some more getters
8600 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8602 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8604 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8605 (AutoSave): use LFUN_MESSAGE
8606 (Reconfigure): ditto
8608 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8610 * figureForm.C: use LFUN_MESSAGE
8612 * converter.C (runLaTeX): use LFUN_MESSAGE
8614 * bufferview_funcs.C: use LFUN_MESSAGE
8616 (changeDepth): ditto
8618 * bufferparams.h: use boost::
8620 * bufferlist.h: inherit privately from noncopyable
8622 * bufferlist.C (loadLyXFile): remove some commented code.
8624 * buffer.C (runChktex): use LFUN_MESSAGE
8626 * ShareContainer.h: inherit privately from noncopyable
8628 * ParagraphParameters.[hC] (depth): inline it.
8630 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8632 (message): new method
8633 (messagePush): ditto
8635 (show): init minibuffer
8636 (showState): direct call
8638 * LaTeX.[Ch]: inherit privately from noncopyable
8639 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8640 instead of WriteStatus.
8642 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8644 * BufferView_pimpl.C (buffer): don't init minibuffer
8645 (workAreaButtonPress): use LFUN_MESSAGE
8646 (workAreaButtonRelease): ditto
8647 (savePosition): ditto
8648 (restorePosition): ditto
8649 (MenuInsertLyXFile): ditto
8650 (workAreaExpose): don't init minibuffer
8651 (update): remove commented code, simplify
8653 * BufferView2.C (openStuff): use LFUN_MESSAGE
8654 (toggleFloat): ditto
8657 (copyEnvironment): ditto
8658 (pasteEnvironment): ditto
8663 (updateInset): remove some commented code
8665 * lastfiles.h: inherit privately from noncopyable
8670 * lyxlex_pimpl.h: ditto
8672 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8673 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8674 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8676 * LyXAction.h: inherit privately from noncopyable, add methods
8677 func_begin, func_end, returning iterators to the func map.
8679 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8680 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8681 (func_begin): new method
8682 (func_end): new method
8684 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8686 (copySelection): ditto
8687 (pasteSelection): ditto
8689 * BufferView.C: whitespace change
8690 * BufferView.h: inherit privately from noncopyable
8692 2001-04-16 Allan Rae <rae@lyx.org>
8694 * tabular-old.C (l_getline):
8695 * spellchecker.C (sc_check_word):
8696 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8697 an unrecognised preprocessor directive. So ensure they're wrapped.
8699 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8701 * src/exporter.C (Export): Give an error message when path to file
8704 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8706 * LaTeX.C (deplog): Always check that foundfile exists.
8708 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8711 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8713 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8715 * tabular.[Ch] (getLabelList): implement new method
8717 * minibuffer.h: comment ouf setTiimer
8719 * minibuffer.C (ExecutingCB): constify res
8720 (peek_event): constify s
8721 (Set): constify ntext
8722 (Init): constify nicename
8724 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8726 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8727 (savePosition): use two params to Minibuffer::Set
8728 (restorePosition): ditto
8730 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8732 * lyx_main.C: include language.h
8734 * Makefile.am (lyx_main.o): add language.h
8736 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8742 * CutAndPaste.C: include gettext.h
8744 * lyxfont.h: remove old hack with ON and OFF.
8747 * lyxfont.h: do not include language.h...
8752 * bufferview_funcs.C:
8758 * paragraph.C: ... but do it here instead
8760 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8762 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8764 * tabular.C: small reformat
8766 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8769 (BreakParagraph): ditto
8770 (SetOnlyLayout): ditto
8773 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8776 * lastfiles.C: removed most using decl, add std:: where needed
8778 * buffer.C: ws changes
8780 * MenuBackend.C (class compare_format): put into anon namespace
8781 (expand): constify label, names, action, action2
8784 * text.C (SingleWidth): constify font
8785 (IsBoundary): constify rtl2
8786 (GetVisibleRow): constify ww
8788 * LaTeX.C (deplog): constify logfile
8790 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8792 (workAreaExpose): constify widthChange, heightChange
8794 * lyxrow.C (par): moved
8797 * lyxrow.h: as inlines here
8799 * lyxfont.h (shape): moved from lyxfont.C
8800 (emph): moved from lyxfont.C
8802 * lyxfont.C (LyXFont): use initialization list for all
8804 (shape): move to lyxfont.h as inline
8805 (emph): move to lyxfont.h as inline
8808 2001-04-04 Juergen Vigna <jug@sad.it>
8810 * vspace.C: had to include stdio.h for use of sscanf
8812 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8815 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8816 independent of xforms.
8818 2001-04-02 Juergen Vigna <jug@sad.it>
8820 * spellchecker.C: fixed namespace placing!
8822 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8824 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8825 the LyXParagraph * is 0.
8827 2001-03-29 Juergen Vigna <jug@sad.it>
8829 * vspace.C: added support for %, c%, p%, l%.
8830 (stringFromUnit): added helper function.
8831 (asLatexString): changed to give right results for the %-values.
8833 * buffer.C: convert the widthp in a width%.
8835 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8837 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8840 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8841 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8843 * lyx_cb.[Ch]: see above.
8845 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8849 * lyx.[Ch]: replaced by figure_form.[Ch].
8853 * lyxfunc.C: changed headers associated with above changes.
8855 2001-03-27 Juergen Vigna <jug@sad.it>
8857 * BufferView_pimpl.C: set the temporary cursor right!
8859 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8861 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8863 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8865 * LString.h: removed "using std::getline"!
8867 * BufferView_pimpl.C (Dispatch): changes due to changes in
8868 InsetInclude::Params.
8870 * buffer.C (tag_name): removed redundant break statements as they were
8871 producing lots of warnings with my compiler.
8873 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8875 * LString.h: add "using std::getline" when using the real <string>.
8877 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8879 * buffer.C: removed bitset usage.
8880 PAR_TAG moved to an anonymous name space.
8881 (tag_name): new funtion, also in the anonymous namespace.
8882 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8883 (makeDocBookFile): clean code. Completed transition from string arrays
8885 (SimpleDocBookOnePar): code clean.
8887 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8889 * tabular.C: add some comments.
8891 2001-03-22 Juergen Vigna <jug@sad.it>
8893 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8894 compatibility read a bit and fixed bug with minipage in different
8897 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8899 * buffer.C (pop_tag): removed.
8900 (push_tag): removed.
8901 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8902 array replaced with vector. Added support for CDATA sections.
8903 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8905 (makeDocBookFile): XML conformant declaration of CDATA section,
8906 fixed bug related to <emphasis> in the first paragraph char.
8907 (sgmlOpenTag): exclude empty tags.
8908 (sgmlCloseTag): ditto.
8910 * buffer.h (pop_tag): removed.
8911 (push_tag): removed.
8913 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
8915 * language.h (Languages): added size_type and size().
8917 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8919 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8920 response on compability reading of minipages. One probliem is that
8921 the old usage of minipages was «flertydig»
8923 * several files here and in subdirs: don't use static at file
8924 scope use anon namespaces instead.
8926 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
8928 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8929 LaTeX output. This is necessary for Literate document
8932 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8934 * buffer.C: insert hfill when needed.
8936 * tabular.C (l_getline): use string::erase, small whitespace change.
8938 * BufferView_pimpl.C: try the anon namespace.
8941 2001-03-16 Juergen Vigna <jug@sad.it>
8943 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8944 otherwise it won't open options-dialogs.
8946 * buffer.C: honor pextraWidth(p) on converting minipages.
8948 * tabular.C (l_getline): changed the functions to strip trailing \r.
8950 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
8952 * BufferView_pimpl.C:
8953 * minibuffer..C: added "using SigC::slot" declaration.
8955 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8957 * lyxlex_pimpl.h: noncopyable is in namespace boost.
8963 * paragraph.C: ditto
8965 * lyxtext.h: NO_PEXTRA
8967 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8969 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8970 * ParameterStruct.h: ditto
8971 * ParagraphParameters.h: ditto
8972 * lyxparagraph.h: ditto
8974 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8976 * buffer.C: add compability for minipage alignment.
8977 (latexParagraphs): remove unwanted pextra check.
8979 * several files: remove CXX_WORKING_NAMESPACES
8981 * buffer.C (pop_tag): tie is in namespace boost
8983 * BufferView.h: noncopyable is in namespace boost
8988 * lastfiles.h: ditto
8989 * bufferlist.h: ditto
8990 * ShareContainer.h: ditto
8992 * LyXAction.h: ditto
8995 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8997 * Merging changes from BRANCH_MVC back into HEAD.
8999 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
9001 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
9003 * BufferView_pimpl.C: change from intl.C
9007 * Makefile.am: move combox.*
9013 * intl.C: remove dialog (covered by prefs)
9015 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9017 * lyxfunc.C (Dispatch): removed redundant break statement.
9019 2001-03-14 Juergen Vigna <jug@sad.it>
9021 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
9023 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9025 * buffer.C: add hack to fix compability reading of minipages.
9027 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
9029 * buffer.C (getLists): Cleanup.
9031 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9033 * lyxfont.C (update): don't honor toggleall on font size.
9035 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
9039 * Makefile.am: moved to frontends/xforms/
9043 * BufferView_pimpl.C: changes for moved mathpanel
9045 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9047 * gettext.h: fix gettext_init() in --disable-nls
9049 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9051 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
9053 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
9056 * lyx.h: strip external form
9058 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9060 * BufferView_pimpl.C: add comment, destroySplash()
9062 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9064 * BufferView_pimpl.C:
9068 * lyxfunc.C: use re-worked insetinclude
9070 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9072 * buffer.C: add using std::stringstream.
9074 * lyx_cb.C: readd using std::ios.
9076 * buffer.C: add using std::map.
9078 * BufferView_pimpl.C: add using std::vector.
9080 * ShareContainer.h: add std:: to swap.
9082 * buffer.h: add some typedefs
9083 * buffer.C (getLists): use them
9084 (getLists): renamed from getTocList.
9085 add a counter for the different float types and use it in the
9087 (getLists): use the same counter for the NEW_INSETS and the "non"
9090 * lyx_cb.h: remove unused items, includes, using etc.
9092 * ShareContainer.h: remove some commented code, add more comments
9093 and "documentation".
9095 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9097 * buffer.C (getTocList): make the list also when NEW_INSETS is
9100 * buffer.h: remove TocType
9102 * buffer.C (getTocList): change to return a map<string,
9103 vector<TocItem> >, implement for dynamic number of list.
9105 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
9106 * text2.C (PasteSelection): adjust
9107 * CutAndPaste.C (pasteSelection): adjust
9109 * FloatList.C (FloatList): update from the new_insets branch.
9110 * Floating.[Ch]: ditto
9111 * LaTeXFeatures.C: ditto
9113 * lyxlex_pimpl.C: ditto
9115 * paragraph.C (Last): remove when NEW_INSETS is defined.
9117 * other file: changes because of the above.
9119 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9121 * lyxparagraph.h: rename next to next_, previous to previous_,
9122 make them private for NEW_INSETS. Rename Next() to next(),
9123 Previous() to previous().
9125 * other files: changes because of the above.
9127 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
9130 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
9133 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9135 * main.C (main): pass lyx_localedir to gettext_init().
9137 * gettext.h: remove locale_init and gettext_init macros
9139 * gettext.C (locale_init): new function
9140 (gettext_init): new function
9142 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
9145 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
9147 * Moved credits to frontends:
9148 * credits.[Ch]: removed
9149 * credits_form.[Ch]: removed
9150 * lyx_gui_misc.C: remove credits stuff
9153 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9155 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
9157 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
9158 unneeded destructor.
9160 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
9161 a standalone pointer again.
9163 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
9165 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
9171 * ToolbarDefaults.C:
9180 * BufferView_pimpl.C: use new file dialog in GUII
9183 * lyx_cb.C: remove LayoutsCB to Toolbar
9185 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9187 * ShareContainer.h (get): add std:: qualifier
9189 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9191 * ShareContainer.h: define a proper ShareContainer::value_type
9192 type (and use typename to please compaq cxx)
9194 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9196 * lyxparagraph.h: move serveral local vars to
9197 ParameterStruct/ParagraphParameters., use ShareContainer in
9198 FontTable., make vars in FontTable private and add getter and
9201 * paragraph.C: changes because of the above.
9203 * lyxfont.h: remove copy constructor and copy assignment. (the
9204 default ones is ok), move number inside FontBits. move inlines to
9207 * lyxfont.C: add number to initializaton of statics, move several
9208 inlines here. constify several local vars. some whitespace
9209 cleanup. Dont hide outerscope variables.
9211 * Spacing.h: add two new constructors to match the set methods.
9213 * ShareContainer.h: new file, will perhaps be moved to support
9215 * ParameterStruct.h: new file
9217 * ParagraphParameters.h: new file
9219 * ParagraphParameters.C: new file
9221 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
9222 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
9224 * BufferView_pimpl.C: ParagraphParameter changes.
9225 * buffer.C: Likewise.
9226 * bufferview_funcs.C: Likewise.
9228 * text2.C: Likewise.
9230 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9232 * lyxfind.C (LyXReplace): do not redefine default argument in
9234 (IsStringInText): ditto
9235 (SearchForward): ditto
9236 (SearchBackward): ditto
9238 2001-03-06 Juergen Vigna <jug@sad.it>
9240 * lyxfind.C (IsStringInText): put parentes around expressions.
9242 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
9244 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
9246 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
9248 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
9250 * stl_string_fwd.h: add comment
9252 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
9255 * tabular.C: remove unused DocBook methods
9261 killed DO_USE_DEFAULT_LANGUAGE
9263 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9265 * lyx_gui.C: do not include language.h.
9267 * bufferview_funcs.C (ToggleAndShow): do not provide optional
9268 arguments in function implementation.
9270 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9272 * BufferView_pimpl.C: add <ctime>
9274 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9276 * BufferView_pimpl.C: add using std::find_if
9278 2001-02-27 José Matos <jamatos@fep.up.pt>
9280 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
9283 2001-02-11 José Matos <jamatos@fep.up.pt>
9285 * buffer.C (makeDocBookFile): command styles now have a parameter as
9288 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
9290 * layout_forms.[Ch]: removed
9291 * lyx_cb.[Ch]: out character
9292 * lyx_gui.C: out character
9293 * lyx_gui_misc.C: out character
9294 * bufferview_funcs.C: : out character,
9295 added toggleall as parameter in ToggleAndShow
9297 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
9299 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
9301 * text2.C (SetCurrentFont): Disable number property at boundary.
9303 2001-02-26 Juergen Vigna <jug@sad.it>
9305 * lyxfunc.C (getStatus): added a string argument override function so
9306 that this is correctly called from LyXFunc::Dispatch if it contains a
9307 do_not_use_argument which is used!
9308 (Dispatch): added check for "custom" export and call appropriate func.
9310 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
9312 * lyxrc.C: Add language_command_local, language_use_babel and
9313 language_global_options.
9315 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9317 * buffer.C (makeLaTeXFile): Use language_use_babel and
9318 language_global_options.
9320 2001-02-23 Juergen Vigna <jug@sad.it>
9322 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9323 which works with LyXText and putted it inside BufferView. Here now we
9324 only call for that part the BufferView::Dispatch() function.
9326 * BufferView.C (Dispatch): added.
9328 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9329 functions which needs to use a LyXText over from LyXFunc.
9330 (MenuInsertLyXFile): added
9331 (getInsetByCode): added
9332 (moveCursorUpdate): added
9333 (static TEXT): added
9335 2001-02-22 Juergen Vigna <jug@sad.it>
9337 * BufferView_pimpl.C (update): call a status update to see if LyXText
9340 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9342 * vc-backend.C (revert): implement for CVS
9343 (getLog): implement for CVS
9345 2001-02-20 Juergen Vigna <jug@sad.it>
9347 * text2.C (ClearSelection): added BufferView param for inset_owner call
9349 * lyxfunc.C (TEXT): added this function and use it instead of
9350 directly owner->view()-text of getLyXText().
9352 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
9354 * src/layout_forms.C: out preamble
9355 * src/layout_forms.h: out preamble
9356 * src/lyx_cb.C: out preamble
9357 * src/lyx_cb.h: out preamble
9358 * src/lyx_gui.C: out preamble
9359 * src/lyx_gui_misc.C: out preamble
9360 * src/lyxfunc.C: connect with guii preamble
9362 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
9364 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9366 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
9368 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9369 whether to run bibtex.
9371 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
9373 * Makefile.am (lyx_SOURCES): Remove BackStack.h
9375 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9377 * Makefile.am (lyx_SOURCES): removed bibforms.h
9381 * text.C (GetVisibleRow): make several local vars const
9383 * tabular.C: small cleanup.
9385 * lyxserver.C (callback): use compare instead of strncmp
9387 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
9388 inlines to after class or to paragraph.C
9390 * lyxfont.h: remove friend operator!=
9392 * converter.h: move friend bool operator< to non friend and after
9395 * combox.h: small cleanup
9397 * buffer.h: doxygen, remove unused constructor, move inclas inlies
9398 to inlines after class def.
9400 * buffer.C (pop_tag): use string operations instead of strcmp
9402 * bmtable.c: doxygen, small cleanup
9404 * LaTeX.h: remove friend operator==
9406 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9418 * BufferView_pimpl.C:
9419 * BufferView.[Ch]: remove cruft
9421 2001-02-14 Juergen Vigna <jug@sad.it>
9423 * lyxfunc.C: removed #if 0 unused code
9425 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9427 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9429 * text2.C (SetSelection): added a BufferView * parameter
9431 2001-02-13 Juergen Vigna <jug@sad.it>
9433 * lyxfunc.C (Dispatch): fixed protected blank problem.
9434 * BufferView2.C (protectedBlank): added LyxText * parameter.
9436 * tabular.C (AppendRow): forgot to set row_info of newly added row.
9437 (AppendColumn): same as above for column_info.
9439 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9440 (moveCursorUpdate): use a LyXText param for support of InsetText.
9442 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9443 (tripleClick): ditto
9445 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9447 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9449 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9451 * text2.C (SetSelection): set correct update status if inset_owner
9454 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9456 * tabular.C: remove some commented code.
9458 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9460 * BufferView_pimpl.C: call hideSplash()
9462 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9465 * bibforms.h: remove
9468 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9469 add LFUN_CHILD_CREATE
9471 * counters.h: fix tiny typo
9476 * lyx.C: move splash to frontends/xforms/
9478 * lyx_gui_misc.C: move Include and Bibform to frontends
9480 * lyxvc.h: clarify comment
9482 * vspace.C: tiny housekeeping
9484 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9486 * text.C (PrepareToPrint): RTL Fix.
9488 * paragraph.C (GetUChar): New method.
9489 (String): Use GetUChar.
9491 * buffer.C (asciiParagraph): Use GetUChar.
9493 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9495 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9497 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9500 * buffer.C: rename to getLogName(), handle
9501 build log / latex log nicely
9503 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9506 * MenuBackend.h: remove support for reference menuitem type.
9508 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9510 * BufferView_pimpl.C: housekeeping
9511 * BufferView_pimpl.h:
9516 * minibuffer.h: move Timeout GUI-I
9518 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9520 * lyxrc.C (read): Update converters data-structures.
9522 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9524 * LaTeX.h (operator!=): add operator != for Aux_Info
9526 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9528 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9530 * LaTeXLog.C: deleted, useful code moved to Buffer
9533 * buffer.C: new function getLatexLogName()
9539 * lyxfunc.C: use frontends for LaTeX and VC logs
9541 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9543 * LaTeX.h: yet another std:: that Allan forgot.
9545 * Variables.C (set): renamed from isset(), because this clashes
9546 with some HP-UX macros (grr).
9548 2001-02-06 Allan Rae <rae@lyx.org>
9550 * LaTeX.h: Another bug fix. Missing std:: this time.
9552 2001-02-04 Allan Rae <rae@lyx.org>
9554 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9555 floats problem. I've left it commented out because it's not quite
9556 correct. It should also test that the current object is a table or
9557 figure inset. But I haven't gotten around to figuring out how to do
9558 that. I *think* it'll be something like: "table" == inset.type()
9560 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9563 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9565 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9566 all the citation/databases/styles in the auxilary file.
9567 (run): Rerun latex if there was a babel language error.
9569 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9571 * text.C (Backspace): Preserve the font when changing newline char
9573 (BreakParagraph): If the cursor is before a space, delete the space.
9575 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9577 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9579 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9580 new argument (code).
9581 (ChangeCitationsIfUnique): New method.
9583 * paragraph.C (GetPositionOfInset): Handle bibkey.
9585 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9587 * BufferView_pimpl.h: change type of Position::par_pos to
9588 LyXParagraph::size_type.
9590 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9592 * BufferView_pimpl.C (savePosition, restorePosition): Write
9593 messages to minibuffer.
9595 2001-01-28 José Matos <jamatos@fep.up.pt>
9597 * buffer.C (makeDocBookFile): adds support for document language.
9598 A silly restriction on the name of LatexCommand types where removed.
9599 Added support for CDATA sections, allows to chars unescaped, used
9600 among others in code, to avoid escape < and >.
9602 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9604 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9605 saved positions instrad of a stack. Furthermore, a position is
9606 stored using paragraph id/paragraph position.
9608 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9609 Remove LFUN_REF_BACK.
9611 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9613 * converter.C (dvipdfm_options): New method.
9615 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9617 * vspace.C (isValidLength): Fix for empty input string.
9619 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9621 * LyXAction.C (init): change description of LFUN_FIGURE to
9624 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9626 * LaTeX.C: add using directive
9628 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9630 * MenuBackend.C (expand): Fix the sorting of the formats.
9632 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9634 * lyx_main.C: tiny error message fix
9636 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9638 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9639 calling fl_initialize(). This fixes the problem with ',' as
9640 decimal separator in text files.
9642 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9644 * trans.C (process): Fix the keymap bug.
9646 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9648 * LaTeX.C (scanAuxFiles): New method. Provides support for
9649 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9650 (scanLogFile) Scan for "run BibTeX" messages.
9652 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9653 OT1 font encoding. Also, load the aecompl package if the ae
9656 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9658 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9660 * texrow.C (increasePos): turn two error messages into debug
9663 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9665 * LaTeX.C (scanAux): Handle the \@input macro.
9666 (runBibTeX): Use scanAux().
9668 * language.C (latex_options_): New field.
9670 * LaTeXFeatures.C (getMacros): Add language macros.
9672 * buffer.C (makeLaTeXFile): Small fix.
9674 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9676 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9678 * text2.C: add a using directive.
9680 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9685 * lyxfunc.C: kill LyXBell.
9687 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9689 * text.C (IsBoundary): Remove the error message
9691 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9693 * lyxrc.C (setDefaults): Correct initialization value for
9696 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9698 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9701 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9704 * src/LyXAction.C: Added reference-next.
9706 * text.C (InsertChar): Use contains instead of strchr.
9708 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9710 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9712 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9713 alignment commands (when needed).
9715 * text.C (InsertChar): Add ':' to number separator chars.