2 2003-09-16 André Pönitz <poenitz@gmx.net>
5 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
8 2003-09-16 Angus Leeming <leeming@lyx.org>
10 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
12 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
15 * paragraph.h: remove #include "lyxfont.h". Forward declare LyXFont_size.
17 2003-09-16 Angus Leeming <leeming@lyx.org>
19 * paragraph.C (IsInsetChar): new function in namespace anon, moved out of
21 (isWord): move the contents of support/textutils.h's IsWordChar here.
27 * text2.C: add #include "paragraph.h".
30 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
32 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
38 * LaTeX.C: use namespace alias for lyx::support::os
40 2003-09-16 Angus Leeming <leeming@lyx.org>
48 * text.C: add #include "LColor.h".
50 2003-09-16 Angus Leeming <leeming@lyx.org>
52 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph, setUnderbar,
53 setNoun, setNumber, setColor, setLanguage): no longer return LyXFont &.
54 Store the FontBits::color variable as an int rather than as an LColor::color
55 so that we can move LColor.h out of the lyxfont.h header file.
57 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
58 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot string
61 * lyxrc.C: add #include "LColor.h".
63 2003-09-15 Angus Leeming <leeming@lyx.org>
65 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as a cow_ptr.
67 2003-09-15 Angus Leeming <leeming@lyx.org>
69 * LColor.h: add an EnumLColor wrapper for LColor::color.
71 * lyxfont.[Ch] (color, setColor, realColor):
72 * lyxtext.h, text.C (backgroundColor):
73 pass EnumLColor args to/from the functions, rather than LColor::color ones.
76 * lyxtext.h: forward declare EnumLColor.
78 * lyx_main.C: add #include "LColor.h".
80 2003-09-15 Angus Leeming <leeming@lyx.org>
82 * .cvsignore: add lyx-gtk.
84 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
89 * ParagraphParameters.C
103 * vc-backend.C: remove usage of STRCONV
105 2003-09-15 Angus Leeming <leeming@lyx.org>
107 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
108 explicitly define the color passed to the painter.
110 2003-09-15 Angus Leeming <leeming@lyx.org>
112 * bufferparams.C (BufferParams): reorder member initializers to avoid
115 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
117 * CutAndPaste.C (pasteSelection): remove an outdated #warning
118 * text.C (updateRowPositions): remove an unusual nop
120 2003-09-12 André Pönitz <poenitz@gmx.net>
122 * BufferView_pimpl.C:
131 * Counters.[Ch]: finish the 'automatic counters' job
133 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
135 * aspell.C: include <boost/assert.cpp> (compile fix)
137 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
139 * boost.C (assertion_failed): use lyx::support::abort instead of
142 2003-09-10 Angus Leeming <leeming@lyx.org>
144 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h with their
147 2003-09-09 Angus Leeming <leeming@lyx.org>
149 134 files throughtout the source tree: replace 'using namespace abc;'
150 directives with the appropriate 'using abc::xyz;' declarations.
152 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
154 * boost.C (emergencyCleanup): moved here from LAssert.c
155 (assertion_failed): new function, called by BOOST_ASSERT
157 * several files: change Assert to BOOST_ASSERT
159 2003-09-09 Angus Leeming <leeming@lyx.org>
161 * buffer.[Ch]: Add an Impl class and move Buffer's member
162 variables into it. As a result move several header files out of
165 Add header files to lots of .C files all over the tree as a result.
167 2003-09-09 Angus Leeming <leeming@lyx.org>
169 * buffer.[Ch]: make Buffer's member variables private. Add
172 Lots of changes all over the tree as a result.
174 2003-09-08 Angus Leeming <leeming@lyx.org>
176 * graph.C: #include <config.h>.
178 2003-09-08 Angus Leeming <leeming@lyx.org>
182 * BufferView_pimpl.C:
211 * toc.C: remove redundant using directives.
213 2003-09-07 Angus Leeming <leeming@lyx.org>
215 * LaTeXFeatures.h: remove #include "support/types.h".
216 * ToolbarBackend.h: remove #include <algorithm>.
217 * changes.h: remove #include <ctime>.
218 * debug.h: remove #include <iosfwd>.
219 * graph.h: remove #include "support/std_string.h".
220 * lyx_main.h: remove #include <csignal>.
221 * lyxlex_pimpl.h: remove #include <fstream>.
222 * sgml.h: remove #include <algorithm>, <utility>.
223 * toc.h: remove #include "support/std_ostream.h". Add #include <iosfwd>.
225 2003-09-07 Angus Leeming <leeming@lyx.org>
227 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
229 * converter.h: forward declare LatexRunParams.
230 * encoding.h: remove #include "lyxrc.h".
231 * lyxtext.h: remove #include "LColor.h".
232 * lyxtextclass.h: remove #include "support/types.h".
233 * trans.h: remove #include "tex-accent.h".
234 * trans_mgr.h: remove #include "tex-accent.h".
235 * insets/inset.h: remove #include "support/types.h", <vector>.
236 * insets/insetcollapsable.h: remove #include "LColor.h".
237 * insets/insetinclude.h: remove #include "dimension.h".
238 * insets/insetlatexaccent.h: remove #include "dimension.h".
239 * insets/insetoptarg.h:: remove #include "insettext.h".
240 * insets/insettext.h: remove #include "dimension.h", <boost/shared_ptr.hpp>
242 * insets/renderers.h: add #include "dimension.h".
243 * insets/updatableinset.h: add #include "support/types.h".
245 * many .C files: Associated changes.
247 2003-09-06 Angus Leeming <leeming@lyx.org>
249 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one,
250 inside testInvariant.
252 * PrinterParams.C: new file.
253 * PrinterParams.[Ch]: move the function bodies out of line.
255 2003-09-06 Angus Leeming <leeming@lyx.org>
257 * ParagraphParameters.h: forward declare ParameterStruct rather than
258 including its header file.
259 (depth): moved out-of-line.
261 2003-09-06 Angus Leeming <leeming@lyx.org>
263 * BufferView_pimpl.h:
266 * lyxfunc.h: forward declare LyXKeySym rather than
267 #include "frontends/LyXKeySym.h".
269 * BufferView_pimpl.C:
272 * lyxfunc.C: associated changes.
274 2003-09-06 Angus Leeming <leeming@lyx.org>
276 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
277 As a result, can remove the #include "insets/inset.h" from BufferView.h
279 2003-09-06 Angus Leeming <leeming@lyx.org>
281 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
282 As a result, can remove the #include "insets/inset.h" from BufferView.h
284 2003-09-06 Angus Leeming <leeming@lyx.org>
290 * bufferview_funcs.C:
291 * BufferView_pimpl.C:
296 * ParagraphParameters.C:
301 * frontends/controllers/ControlDocument.C:
302 * insets/insetcaption.C: rearrange the #includes into some sort of
305 * buffer.h: remove #includes ErrorList.h, undo.h
307 2003-09-06 Angus Leeming <leeming@lyx.org>
309 * support/types.h: add a 'depth_type' typedef, used to store the
310 nesting depth of a paragraph.
313 * ParameterStruct.h: use this lyx::depth_type typedef rather than
318 * ParagraphParameters.h:
319 * sgml.h: use lyx::depth_type rather than Paragraph or
320 ParameterStruct's depth_type.
323 * paragraph_funcs.h: no need to #include paragraph.h anymore.
326 * BufferView_pimpl.C:
328 * ParagraphParameters.C:
331 * bufferview_funcs.C:
338 * frontends/LyXView.C:
339 * frontends/controllers/ControlDocument.C:
340 * frontends/controllers/ControlErrorList.C:
341 * insets/insetbibitem.C:
342 * insets/insetbranch.C:
343 * insets/insetcaption.C:
344 * insets/insetcollapsable.C:
347 * insets/insetfloat.C:
348 * insets/insetfoot.C:
349 * insets/insetfootlike.C:
350 * insets/insetnewline.C:
351 * insets/insetquotes.C:
352 * insets/insettabular.C:
353 * insets/insettext.C:
354 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
356 * frontends/controllers/ControlChanges.C: #include "changes.h".
358 2003-09-06 Angus Leeming <leeming@lyx.org>
360 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
361 #including paragraph.h.
364 * RowList.h: deleted. Superfluous.
374 * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
376 * paragraph.h: don't forward declare ParagraphList.
379 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
380 rather than ParagraphList.h. paragraph.h is still needed for the
381 Paragraph::depth_type parameters.
383 * textcursor.h: enable it to compile stand-alone in light of the
386 * bufferview_funcs.C:
398 * frontends/controllers/ControlParagraph.C:
399 * frontends/controllers/ControlTabular.C:
400 * insets/insetmarginal.C:
401 * insets/insetminipage.C:
402 * insets/insetnote.C:
403 * insets/insetoptarg.C: add header files needed to compile again.
405 2003-09-06 Angus Leeming <leeming@lyx.org>
407 * RowList_fwd.h: new file, forward-declaring Row rather than
413 * insets/insettext.h: use it instead of RowList.h
415 * bufferview_funcs.C:
422 * text3.C: #include "RowList.h".
424 2003-09-05 Angus Leeming <leeming@lyx.org>
426 * factory.C (createInset):
427 * vspace.C (c-tor): replace sscanf call with an istringstream.
428 * ispell.C: re-add missing HP/UX headers.
429 * lyxserver.C: re-add missing os2 headers.
431 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
440 * text3.C: re-add missing system headers, needed for 2.95.2.
442 2003-09-05 Angus Leeming <leeming@lyx.org>
444 Changes most place everywhere due to the removal of using directives
445 from support/std_sstream.h.
447 2003-09-05 Angus Leeming <leeming@lyx.org>
449 Replace LString.h with support/std_string.h,
450 Lsstream.h with support/std_sstream.h,
451 support/LIstream.h with support/std_istream.h,
452 support/LOstream.h with support/std_ostream.h.
454 Changes resulting throughout the tree.
456 2003-09-05 Angus Leeming <leeming@lyx.org>
458 * sgml.h: ensure that the header file can be compiled stand-alone.
459 * *.C: strip out redundant #includes. (320 in total.)
461 2003-09-04 Angus Leeming <leeming@lyx.org>
463 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
464 here (from getPackages).
466 * debug.[Ch]: add a new EXTERNAL tag.
468 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
470 * text2.C (cursorEnd): simplify
472 (getColumnNearX): adjust
474 * text.C (computeBidiTables): adjust
477 * rowpainter.C (paintChars): adjust
478 (paintSelection): adjust
479 (paintChangeBar): adjust
482 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
484 (numberOfSeparators): adjust
486 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
492 * text3.C: Restricts the mouse click functionality
493 of insets like bibtex, include, toc and floatlist to the visible
494 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
495 up the dialogs. Cursor has to be in front of the inset (i.e.
496 start of row) for this to function.
498 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
500 * bufferview_funcs.C (currentState): output row information
502 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
504 * bufferview_funcs.C (currentState): output paragraph position
506 2003-09-04 Angus Leeming <leeming@lyx.org>
508 * FloatList.h: move out #include "Floating.h".
509 * LaTeX.h: move out #include "DepTable.h".
510 * LyXAction.h: move out #include "funcrequest.h".
511 * buffer.h: move out #include "author.h", "iterators.h".
512 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
513 * lyx_main.h: move out #include "errorlist.h".
514 * lyxfunc.h: move out #include "FuncStatus.h".
515 * lyxtext: move out #include "lyxcursor.h".
516 * paragraph_pimpl.h: move out #include "counters.h".
518 2003-09-03 Angus Leeming <leeming@lyx.org>
520 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
521 preamble_snippets list, enabling us to add snippets to the preamble only
522 if the snippet was not there already.
524 2003-09-04 Angus Leeming <leeming@lyx.org>
526 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
528 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
530 * lyxfunc.C (dispatch): if fitCursor did something be sure to
533 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
535 * BranchList.C: point fix, earlier forgotten
537 2003-09-02 Angus Leeming <leeming@lyx.org>
539 * box.C (contains): renamed from 'contained' after a fantastic
542 2003-09-02 John Levon <levon@movementarian.org>
548 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
550 2003-09-02 John Levon <levon@movementarian.org>
552 * text2.C: simplification of cursorEnd(), including partial
555 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
557 * buffer.C (readFile): add a space
559 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
561 * BufferView_pimpl.C (update): remove bogus fitCursor() call
563 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
565 * buffer.C (readFile): new function, take a filename and a
566 ParagraphList::iterator
568 (readFile): adjust, make it private. don't use setStream, make
569 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
570 always contain the filename.
572 * BufferView.C (insertLyXFile): simplify and make it work for
575 2003-08-30 John Levon <levon@movementarian.org>
577 * Makefile.am: fix dist (from Kayvan)
579 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
581 * most files: change to use const Buffer refs
583 2003-08-27 André Pönitz <poenitz@gmx.net>
585 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
586 on top of ownerPar().
588 2003-08-27 John Levon <levon@movementarian.org>
590 * funcrequest.C: properly initialise POD members
592 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
594 * lyxtext.h (top_y): move top_y from here
599 * BufferView_pimpl.[Ch]: to here
600 * frontends/screen.C:
601 * insets/insettabular.C:
602 * insets/insettext.C: adjust
603 * rowpainter.[Ch] (paintRows): remove LyXText & argument
605 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
608 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
610 2003-08-26 André Pönitz <poenitz@gmx.net>
612 * paragraph_func.[Ch] (outerPar): new function
618 * text2.C: remove Inset::par_owner
620 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
625 * text2.C: eliminates the needFullRow/display() stuff
626 altogether, putting the logic in metrics/draw in the insets.
628 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
630 * text2.C (redoParagraphInternal, redoParagraphs):
631 * text.C (redoParagraph): add a call to updateRowPositions at the
632 end of each 'metrics-like' call. Remove all others.
633 (getRow): remove the 'y-computing' version.
634 (getRowNearY): do not compute nor return the real y. Solve the
635 'y < 0' problem and simplify.
637 2003-08-22 Angus Leeming <leeming@lyx.org>
639 * *.[Ch]: clean-up of licence and author blurbs.
640 Also move config.h out of a few .h files and into a few .C files.
642 2003-08-22 André Pönitz <poenitz@gmx.net>
644 * lyxrow.[Ch]: add x_ and *fill_ members
649 * text2.C: adjust/remove prepareToPrint() calls
651 2003-08-22 André Pönitz <poenitz@gmx.net>
653 * lyxrow.[Ch]: add end_ member
655 * lyxrow_funcs.C: use LyXRow::end_
657 * lyxtext.h (singleWidth): add LyXFont parameter
660 * text2.C: adjust LyXText::singleWidth() calls
662 * text.C (redoParagraph): simplify row breaking logic
665 2003-08-19 André Pönitz <poenitz@gmx.net>
667 * funcrequest.C: initialize button_ member
670 * rowpainter.[Ch]: interface consolidation
672 2003-08-18 André Pönitz <poenitz@gmx.net>
675 * BufferView_pimpl.C:
679 * text3.C: remove LyXScreen::draw() and fitCursor calls
681 * BranchList.h: remove spurious semicolons
683 * MenuBackend.C: fix branchlist related crash
685 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
697 * text3.C: implements the 'branch inset'
698 idea. This allows the output of various versions of a document
699 from a single source version, selectively outputing or suppressing
700 output of parts of the text.
701 This implementation contains a 'branch list editor' in a separate
702 tab of the document settings dialog. Branches are user definable
703 and have a "display colour" to distinguish them on-screen.
705 ColorHandler was somewhat cleaned up.
706 (1) make possible a dynamically growing LColor list by allowing
707 the graphic context cache to grow along (vector);
708 (2) eliminate an IMHO unnecessary step in colour allocation.
710 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
712 * BufferView_pimpl.C: compile fix
714 2003-08-15 André Pönitz <poenitz@gmx.net>
716 * rowpainter.C: remove extra metrics calls
718 * lyxtext.h: merge the two constructors into a single one,
719 pass reference to owner's par list
721 * BufferView_pimpl.C:
725 2003-08-15 André Pönitz <poenitz@gmx.net>
735 * text_funcs.C: split LyXText::rowlist_ into individual
736 Paragraph::rows_ chunks
739 * BufferView_pimpl.[Ch]:
742 * text3.C: remove toggleSelection()
744 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
746 * bufferlist.C: beautify two alerts (shorter text of buttons)
747 * buffer.C: Remove redundant ' ' from message
749 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
750 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
751 rename VALIGN_CENTER to VALIGN_MIDDLE
753 2003-08-11 André Pönitz <poenitz@gmx.net>
755 * lyxtext.h (getPar):
756 * text.C: new function
758 2003-08-11 André Pönitz <poenitz@gmx.net>
761 * tracer.[Ch]: remove unneeded files
763 * InsetList.[Ch]: remove resizeInsetsLyXText()
768 * text3.C: merge insertParagraphs() and appendParagraph()
769 remove breakAgain(), update()
771 * BufferView_pimpl.[Ch]:
772 * bufferview_funcs.[Ch]:
776 * tabular.C: adjust after text & InsetList changes.
778 2003-08-08 André Pönitz <poenitz@gmx.net>
780 * text.C (insertChar, backspace): replace rowlist fiddling
781 with rebreak of full par
784 * text.C (breakAgainOneRow, redoHeightOfParagraph,
785 checkParagraph, updateInset): removed
787 2003-08-07 André Pönitz <poenitz@gmx.net>
790 * text3.C: merge some LFUN handlers, remove dead code
792 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
794 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
796 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
798 * text2.C (DEPM): fix part of bug 1255 and 1256
800 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
802 * BufferView_pimpl.C (workAreaDispatch): change to use
803 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
804 that are no mouse related.
806 2003-08-05 André Pönitz <poenitz@gmx.net>
809 * BufferView_pimpl.[Ch]:
810 * bufferview_funcs.C:
812 * text3.C: rip out "deep update"
814 * textcursor.[Ch] (last_sel_cursor): remove unused member
816 2003-08-04 André Pönitz <poenitz@gmx.net>
819 * BufferView_pimpl.[Ch]:
820 * ParagraphParameters.C:
821 * bufferview_funcs.C:
827 * text3.C: replace "complicated" BufferView::update(...) calls with
830 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
832 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
834 * Makefile.am (lyx_SOURCES): add paper.h
836 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
838 * Makefile.am: move things around so that both lyx-qt and
839 lyx-xforms can be built (according to --with-frontend). Then lyx
840 is a symbolic link to lyx-[firstfrontend]
842 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
844 * Always use std::endl with lyxerr
846 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
848 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
850 2003-08-01 André Pönitz <poenitz@gmx.net>
853 * BufferView_pimpl.[Ch]:
855 * text3.C: merge BufferView::repaint() and BufferView::update()
857 2003-08-01 José Matos <jamatos@lyx.org>
859 * buffer.[Ch]: file_format is no longer a buffer data element.
861 2003-08-01 André Pönitz <poenitz@gmx.net>
866 * text2.C: make redoParagraph more independent of current cursor
868 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
870 * text2.C: remove unneeded members
872 2003-07-30 André Pönitz <poenitz@gmx.net>
874 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
876 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
877 create a single function...
879 * paragraph_funcs.C (moveItem): ... here.
882 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
884 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
886 * LColor.[Ch]: Add comment and greyedout logical colors.
888 2003-07-30 André Pönitz <poenitz@gmx.net>
890 * tabular.C: don't use Assert too heavily. This crashes where it
893 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
895 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
896 is disabled (bug 1232)
898 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
900 * factory.C: limited 'arg' scope
902 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
904 * factory.C: fixed Note submenu issues
906 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
908 * factory.C: submenu for Note/Comment/Greyedout
910 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
913 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
915 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
918 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
919 greyedout. Patch provided by Jürgen Spitzmüller.
921 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
923 * kbmap.C (read): fix error message when reading bind files
925 2003-07-29 Angus Leeming <leeming@lyx.org>
927 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
928 certainly does not do what it purports to do. I am doing it, and
929 us, a favour by killing it.
931 2003-07-28 José Matos <jamatos@lyx.org>
933 * buffer.C (readBody, do_writeFile):
934 * paragraph.C(readParagraph): \end_document replaces \the_end.
936 2003-07-29 André Pönitz <poenitz@gmx.net>
939 * BufferView_pimpl.[Ch]:
943 * textcursor.[Ch]: remove toggleToggle & Co
945 2003-07-28 José Matos <jamatos@fep.up.pt>
947 * buffer.C (readParagraph):
948 * params_func (readParToken, readParagraph):
949 * paragraph.C (write): \layout -> \begin_layout.
951 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
953 * lyxlex_pimpl.C (setFile): clean up slightly.
955 * bufferparams.h: add compressed var
957 * buffer_funcs.C (readFile): adjust for LyXLex change
958 (newFile): ditto + simplify
960 * buffer.C (writeFile): handle writing of compressed files
962 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
963 Check if the file is compressed and set a bufferparm if so.
965 * Makefile.am (lyx_LDADD): remove explicit -lz
967 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
969 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
970 makeDocBookFile): put the real LyX version in the first line of
974 * version.C.in: remove lyx_docversion
976 * tabular.C (write_attribute): add a template-based version to
979 2003-07-28 André Pönitz <poenitz@gmx.net>
984 * text3.C: use doubles again for x-coordinates. They are needed.
986 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
988 * messages.C (getLocaleDir): use lyx_localedir()
990 * lyxlex_pimpl.C (setFile): compress stuff
992 * buffer.C (writeFile): add some compression stuff
993 (do_writeFile): new func, dont call expliti close... will this
996 * Makefile.am (lyx_LDADD): add -lz
998 2003-07-28 José Matos <jamatos@fep.up.pt>
1000 * buffer.C: increment file format.
1001 * paragraph_funcs (readParagraph, readParToken):
1002 * paragraph.C (readParagraph): add \end_layout.
1004 2003-07-27 Angus Leeming <leeming@lyx.org>
1006 * Makefile.am: remove special casing for configure-time setting of
1007 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1009 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1010 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1012 2003-07-26 André Pönitz <poenitz@gmx.net>
1014 * paragraph_func.[Ch]:
1015 * paragraph.C (realizeFont): inline it whereever it is used
1020 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1023 2003-07-26 André Pönitz <poenitz@gmx.net>
1027 * text2.C: get rid of LyXText::need_break_row
1029 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1031 * toc.[Ch]: put namespace toc inside namespace lyx
1033 * MenuBackend.C (expandToc2): adjust for lyx::toc
1036 * lyxfunc.C (dispatch): adjust for lyx::find
1038 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1039 lyx::find instead. Reorganize a bit.
1040 (LyXReplace): rename to replace
1041 (LyXFind): rename to find
1043 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1046 2003-07-26 André Pönitz <poenitz@gmx.net>
1048 * text.C (setHeightOfRow): restrict scope of temporary variable
1050 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1051 code (never has been used?)
1053 2003-07-27 Asger Alstrup <alstrup@local>
1055 * text.C (fill): Optimise algorithm to exploit that we can reuse
1056 the LyXFont for many characters.
1057 (setHeightOfRow): Same thing.
1058 (rowBreakPoint): Same thing.
1060 2003-07-26 Asger Alstrup <alstrup@local>
1062 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1064 * text.C (singleWidth): Spurious font copying in hot-spot
1065 singleWidth avoided. Reorder tests for arabic for efficiency.
1067 * text.C (fill): handle empty paragraphs better.
1069 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1072 * encoding.h: add includes
1074 * lyxrc.C: remove reading of bind files
1076 * lyx_main.C (init): setup bindings and menus only if we have a
1079 * kbmap.C (read): new method. Do the actual reading of bind
1082 * converter.C (dvipdfm_options):
1085 (output): adapt PAPER_* enums.
1087 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1089 * bufferparams.h: remove paper-related enums from there
1091 * paper.h: New file. A trivial header file to hold paper-related
1092 enums. It should later expand to contain many paper-related
1095 * lyxrc.C: declare extern displayTranslator
1097 2003-07-27 José Matos <jamatos@fep.up.pt>
1099 * tabular.[Ch] (linuxdoc): add support for tables and figures
1102 2003-07-27 José Matos <jamatos@fep.up.pt>
1104 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1105 consistency in both functions.
1106 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1108 2003-07-26 Asger Alstrup <alstrup@local>
1110 * rowpainter.C (paintRows): Change algorithm to work directly on
1111 the insets rather than asking every character in the document
1112 whether its an inset.
1114 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1116 * buffer.C (openFileWrite): factorize some code
1118 2003-07-26 Angus Leeming <leeming@lyx.org>
1121 * lyx_main.[Ch]: replace occurances of system_tempdir with
1124 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1126 * rename Inset to InsetOld
1128 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1130 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1131 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1132 which I think is a bit clearer. EDIT is gone, since it was
1133 premature optimisation, and broken for mathed anyway.
1134 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1135 with cursor positioning in insets as well (math insets still do not
1136 work, but that's a different story anyway.) It mysteriously
1137 crashes sometimes with undo in the first paragraph, but I'm fairly
1138 confident that this is a compiler bug.
1140 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1142 * paragraph.C (Paragraph): adjust for new clone return type
1144 (copyIntoMinibuffer): ditto
1146 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1148 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1149 by not having a special case, and always doing a full rebreak of
1150 the document after undo.
1152 2003-07-23 Angus Leeming <leeming@lyx.org>
1154 * factory.C (createInset): InsetExternal::setParams now takes a
1157 2003-07-23 Angus Leeming <leeming@lyx.org>
1159 * factory.C (createInset): changed interface to the external and
1160 graphics mailers' string2params functions.
1162 2003-07-23 Angus Leeming <leeming@lyx.org>
1164 * factory.C (createInset): pass a
1165 Buffer const * parameter to InsetExternalMailer's string2params.
1167 2003-07-22 John Levon <levon@movementarian.org>
1169 * Thesaurus.h: include the right aiksaurus header
1171 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1173 * MenuBackend.C (expand): check menu shortcuts unconditionally
1175 2003-07-21 Angus Leeming <leeming@lyx.org>
1177 * factory.C (createInset): pass a
1178 buffer_path parameter to InsetGraphicsMailer's string2params.
1180 2003-07-21 Angus Leeming <leeming@lyx.org>
1182 * BufferView_pimpl.C (buffer):
1185 * lyxfunc.C (dispatch):
1186 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1187 rather than the grfx shortcut.
1189 2003-07-21 André Pönitz <poenitz@gmx.net>
1191 * rowpainter.C: remove unused variables
1194 * tabular_funcs.h: move to tabular.C
1195 * Makefile.am: adjust
1197 * tabular.[Ch]: basic optical cleaning
1199 * author.h: pass references, not values
1201 2003-07-18 André Pönitz <poenitz@gmx.net>
1209 * text3.C: two-phase drawing for InsetText and InsetTabular
1210 some float -> int changes.
1212 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1214 * lyx_main.C: fix the fix
1216 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1218 * lyx_main.C: fix a crash in batch mode if no files specified
1221 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1223 * format.[Ch] (papersize): moved to BufferParams
1224 * converter.[Ch] (dvips_options): moved to BufferParams
1225 (dvipdfm_options): moved to anon namespace
1226 * bufferparams.[Ch]: added above functions.
1228 2003-07-17 André Pönitz <poenitz@gmx.net>
1232 * text2.C: don't call inset->update() anymore
1234 * metricsinfo.[Ch]: add convenience constructor
1236 2003-07-16 André Pönitz <poenitz@gmx.net>
1241 * text2.C: replace the LyXCursor::irow_ member with
1242 on-demand computation of the value
1244 2003-07-16 John Levon <levon@movementarian.org>
1246 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1248 2003-07-15 André Pönitz <poenitz@gmx.net>
1251 * text2.C: remove no more needed refresh_row
1253 2003-07-15 André Pönitz <poenitz@gmx.net>
1258 * text3.C: refresh_status tristate -> need_update bool
1260 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1262 * lyxtext.h (init): remove reinit argument (act as if always true)
1263 * text2.C: adjust to that
1265 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1267 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1268 * text3.C: use it to delete selections in some cases
1269 (bugs 441, 673, 702, 954).
1271 2003-07-14 André Pönitz <poenitz@gmx.net>
1273 * rowpainter.[Ch]: reduce interface
1275 2003-07-14 André Pönitz <poenitz@gmx.net>
1277 * BufferView_pimpl.C:
1278 * text2.C: adjust after removing unused BufferView * argument
1280 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1282 * text2.C (init): fix a crash fired on resize
1284 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1286 * buffer.[Ch]: added new closing signal
1287 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1288 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1289 BufferView::Pimpl via the closing the signal
1291 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1293 * buffer.[Ch]: take out all bv-related from buffer
1295 * BufferView_pimpl.[Ch]: connect to new signals
1296 * CutAndPaste.C: removed useless asserts
1297 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1300 * lyxfunc.C: moved view-related funciontality from vc here
1301 * paragraph.C: removed outdated comments
1304 2003-07-10 André Pönitz <poenitz@gmx.net>
1306 * BufferView_pimpl.C:
1310 * text2.C: remove InsetText::InnerCache, clean up consequences
1312 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1314 * ispell.C: fix two typos in error messages
1316 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1318 * Extend Note inset to other forms of annotation like Comment
1319 and Greyedout. Right button click gives dialog.
1321 Files modified or added (+):
1325 * ControlNote.[Ch] +
1327 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1328 frontends/controllers
1332 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1334 * aspell.C: add missing namespace lyx::support
1336 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1338 * BufferView.[Ch] (newFile): Add
1339 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1340 * LaTeX.[Ch] (message): added this signal and use it
1341 * buffer.[Ch] (busy, message): added these signals and use them
1342 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1346 * importer.C: use buffer signals instead of direct bv calling
1347 * lyx_cb.[Ch] (ShowMessage): removed
1350 * paragraph_funcs.C:
1351 * text2.C: use buffer signals
1353 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1355 * introduce namespace lyx::graphics
1357 2003-07-02 André Pönitz <poenitz@gmx.net>
1359 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1361 2003-07-01 André Pönitz <poenitz@gmx.net>
1368 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1369 text*.C to text_func.C
1371 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1373 * introduce namespace lyx::support
1375 2003-06-30 André Pönitz <poenitz@gmx.net>
1380 * text.C: re-enable --with-included-string
1382 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1384 * textcursor.C: add <config.h>
1386 * text.C (getWord): remove const from word_location arg
1388 * lyxvc.C (getLogFile): fix const type order
1390 * lyxtext.h: remove const from word_location arg, add arg name
1392 * lyxlayout.h: currect type on labeltype.
1394 * importer.C: correct \file
1396 * converter.C (intToFormat): use std:: on ret val, ws changes
1398 * bufferlist.h: correct \file
1400 * buffer.C (makeLinuxDocFile): fix const type order
1401 (makeDocBookFile): ditto
1402 (fillWithBibKeys): use std:: on stdlib args.
1404 * CutAndPaste.C: fix authors.
1405 (availableSelections): use std:: on return vector
1407 2003-06-27 André Pönitz <poenitz@gmx.net>
1409 * BufferView_pimpl.C:
1410 * bufferview_funcs.C:
1418 * text3.C: remove LyXCursor::row_ member
1421 * text.C: rename fullRebreak() to partialRebreak() and implement
1422 a fullRebreak() that really bereks fully
1424 * textcursor.h: new struct for cursor-related data
1426 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1428 * lyx_main.C (LyX): get full path of document loaded on the
1431 2003-06-26 André Pönitz <poenitz@gmx.net>
1433 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1434 remove unused/broken operator>,<,>=.
1436 * text.C: remove only use of broken operator<= in an Assert().
1438 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1440 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1441 moved errorlist_.clear to showErrorList
1443 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1445 * converter.C (scanLog, runLaTeX):
1446 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1447 move the bv->showErrorList call to the callers
1448 * lyxfunc.C: i.e. here...
1450 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1451 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1452 namespace, the second to...
1453 * buffer_funcs (BufferFormat, parseErrors): added
1454 * errorlist.C (ErrorList(TeXErrors const &)): removed
1456 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1458 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1460 2003-06-24 "Garst R. Reese" <reese@isn.net>
1464 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1466 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1468 * version.C.in: change docversion to 1.4
1470 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1472 * buffer.C: fix a bug just introduced
1474 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1476 * buffer.[Ch]: added the parseError signal and use it, removed
1478 * BufferView.[Ch] (addError): moved to ...
1479 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1480 to the Buffer::parseError signal to catch (guess what) parse errors
1481 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1483 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1485 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1486 ability to create a buffer and to return an existing one from
1487 the list. Moved these functions to...
1488 * buffer_funcs.[Ch]: added
1489 * BufferView.[Ch] (loadLyXFile): added
1490 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1491 job removed from bufferlist::loadLyXFile.
1492 * buffer.C (setReadOnly): make it work without view
1493 (i.e added an if (users))
1495 2003-06-19 Angus Leeming <leeming@lyx.org>
1498 * LyXAction.C (init):
1499 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1500 with LFUN_DIALOG_SHOW <name> <data>.
1502 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1504 * CutAndPaste.C (availableSelections): small compilation fix for
1505 ancient (gcc 2.9x) compilers
1507 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1509 * text3.C (cursorNext): add tmp var
1511 * text2.C (updateCounters): for function calling out of for clause
1512 (replaceSelectionWithString): ditto
1513 (insertStringAsParagraphs): ditto
1514 (getColumnNearX): add tmp var
1515 (setCursorFromCoordinates): add tmp var
1516 (cursorDownParagraph): add tmp var
1517 (deleteEmptyParagraphMechanism): add tmp var
1519 * text.C (insertChar): add tmp var
1521 * rowpainter.C (paintDepthBar): add tmp var
1523 * CutAndPaste.C (availableSelections): potentially check all
1524 paragraphs in a cut to fill the shown strings.
1526 2003-06-18 André Pönitz <poenitz@gmx.net>
1528 * kbmap.[Ch]: use vector<> instead of list<>
1530 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1532 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1533 pasteSelection with index
1535 * text2.C (pasteSelection): modify, call pasteSelection with index
1537 * paragraph.C (asString): reimplement version with no interval to
1538 call the one with interval.
1540 * lyxtext.h: add index arg to pasteSelection
1542 * MenuBackend.C (MenuItem): handle PasteRecent
1543 (Menu::read::Menutags): add md_pasterecent
1545 (expandPasteRecent): new function
1548 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1550 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1552 (availableSelections): new function
1554 2003-06-17 Angus Leeming <leeming@lyx.org>
1556 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1558 2003-06-17 Angus Leeming <leeming@lyx.org>
1561 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1563 * lyxfunc.C (dispatch): invoke it.
1565 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1567 * iterators.C (operator++, ParPosition): reintroduce some
1568 const_cast for the benefit of older compilers.
1570 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1572 * text3.C (dispatch): do not modify clipboard when doing
1573 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1574 LFUN_DELETE_SKIP on a selection selection
1576 2003-06-16 André Pönitz <poenitz@gmx.net>
1582 * tabular.[Ch]: IU of clone() and getLabelList();
1584 2003-06-13 André Pönitz <poenitz@gmx.net>
1586 * tabular.h: compactification
1588 2003-06-12 André Pönitz <poenitz@gmx.net>
1592 * tabular_funcs.h: some renaming plus whitespace
1594 2003-06-12 André Pönitz <poenitz@gmx.net>
1597 * BufferView_pimpl.C:
1603 * toc.C: Return a Paragraph & for ParIterator::operator*()
1605 2003-06-11 John Levon <levon@movementarian.org>
1609 * ToolbarBackend.C: add "Toolbars" section and
1612 2003-06-10 Angus Leeming <leeming@lyx.org>
1615 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1617 * lyxfunc.C (dispatch): invoke it.
1619 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1621 * main.C: protect <ios> with HAVE_IOS
1622 (main): protect sync_with_stdio with HAVE_IOS
1624 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1626 * text2.C (cutSelection): adjust
1627 (pasteSelection): adjust
1629 * messages.C: handle get of empty string
1631 * main.C (main): use sync_with_stdio(false)
1633 * lyxfunc.C (dispatch): adjust
1635 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1636 (WriteAs): remove unneeded BufferView arg.
1638 * bufferparams.h: use correct types on papersize, papersize2 and
1641 * bufferparams.C (readToken): adjust for type
1642 (writeLaTeX): add missing cases to switch.
1644 * bufferlist.C (quitWriteBuffer): adjust
1647 * buffer.C (asciiParagraph): remove some commented code.
1649 * CutAndPaste.C: remove current_view extern variable.
1650 (cutSelection): add BufferParams arg.
1651 (eraseSelection): add BufferParams arg.
1652 (pasteSelection): add Buffer const & arg
1654 2003-06-07 John Levon <levon@movementarian.org>
1657 * paragraph_funcs.C:
1658 * paragraph_pimpl.C:
1662 * paragraph.C: allow InsetERT to freely space lines,
1663 and some consolidation of code
1665 2003-06-06 José Matos <jamatos@fep.up.pt>
1667 * buffer.C (makeDocBookFile): fix bug #821
1669 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1671 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1673 2003-06-04 Angus Leeming <leeming@lyx.org>
1675 * buffer.C: bump format to 224.
1677 2003-06-05 André Pönitz <poenitz@gmx.net>
1679 * text2.C (redoParagraphs): remove two const_cast<>
1681 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1683 * ParagraphList.h: remove last remnants of NO_STD_LIST
1685 2003-06-03 Angus Leeming <leeming@lyx.org>
1687 * factory.C (createInset): small change to the way InsetExternal's params
1690 2003-06-04 André Pönitz <poenitz@gmx.net>
1692 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1694 * paragraph_pimpl.h:
1695 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1697 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1699 * undo_funcs.C: make some simple cases of undo work again
1701 2003-06-03 John Levon <levon@movementarian.org>
1703 * ispell.C: HPUX doesn't have sys/select.h
1706 2003-06-03 John Levon <levon@movementarian.org>
1708 * CutAndPaste.C: update tabular and include inset
1713 * paragraph.C: remove owningBuffer(), don't pass Buffer
1716 * factory.C: insetGraphicsParams changed
1718 2003-06-02 John Levon <levon@movementarian.org>
1724 * text3.C: remove insetparent
1726 2003-06-02 John Levon <levon@movementarian.org>
1729 * buffer.C: fix inset_iterator.end(), move out of line
1732 2003-06-01 John Levon <levon@movementarian.org>
1734 * text3.C: use a proper cut/paste when doing inset
1735 insert (from Jürgen Spitzmüller)
1737 2003-06-01 John Levon <levon@movementarian.org>
1739 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1741 2003-05-30 André Pönitz <poenitz@gmx.net>
1743 * rowpainter.C: unify second drawing phase
1745 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1747 * trans_mgr.C: remove one case of current_view
1749 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1751 * paragraph_funcs.h: remove paragraph.h include
1753 * paragraph.h: delete NO_STD_LIST stuff
1755 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1757 * buffer.h: remove paragraph.h include
1759 * ParagraphList.C: delete file
1761 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1763 * toc.C (getTocList): adjust
1765 * paragraph_pimpl.C (validate): adjust
1767 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1769 * paragraph.C (Paragraph): adjust
1770 (getPositionOfInset): use const_iterator, adjust
1771 (bibitem): use const_iterator, adjust
1772 (setInsetOwner): adjust
1774 * iterators.C (operator++): adjust
1776 * InsetList.[Ch]: Replace selfmade iterator with standard
1777 vector::iterator also introduce const_iterator. Remove getPos,
1778 getInset and setInset from InsetTable. Adjust accordingly.
1780 * BufferView.C (lockInset): adjust
1781 (ChangeInsets): adjust
1783 * tabular.[Ch]: delete commented same_id functions
1785 2003-05-28 John Levon <levon@movementarian.org>
1787 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1789 2003-05-28 André Pönitz <poenitz@gmx.net>
1791 * metricsinfo.[Ch]: remove 'fullredraw' member
1793 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1795 * lyxtextclass.C (operator): remove caching.
1797 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1801 * text2.C (cursorBottom): adjust
1802 (setCounter): use ParagraphList::find, adjust
1804 * text.C (workWidth): use ParagraphList::find, adjust
1806 * lyxcursor.C (LyXCursor): adjust
1808 * buffer.C (inset_iterator): adjust
1810 * ParagraphList.h: make iterator(value_type) private, make
1811 ParagraphList a friend of iterator.
1813 * ParagraphList.C (find): new function
1815 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1817 2003-05-27 André Pönitz <poenitz@gmx.net>
1819 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1821 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1823 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1825 2003-05-26 John Levon <levon@movementarian.org>
1827 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1829 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1831 * remove same_id from function signatures, adjust.
1833 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1835 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1837 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1839 * paragraph.C (Paragraph): get rid of same_ids parameter
1841 * ParagraphList.C (insert): adjust
1844 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1846 * paragraph_funcs.C (breakParagraph): adjust
1847 (breakParagraphConservative): adjust
1849 * buffer.C (readParagraph): adjust
1851 * ParagraphList.C (insert): take a reference instead of a pointer
1854 * paragraph.[Ch] (id): new function
1856 * bufferlist.C (newFile): adjust
1858 * ParagraphList.C (ParagraphList): adjust
1860 (push_back): take a reference instead of a pointer.
1862 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1864 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1867 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1868 set else use old code.
1870 * ParagraphList.C: remove all NO_NEXT code and only compile this
1871 code of NO_STD_LIST is set.
1873 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1875 * BufferView_pimpl.C:
1885 * graphics/GraphicsConverter.C:
1886 * graphics/PreviewLoader.C: header adjustment
1888 2003-05-23 Angus Leeming <leeming@lyx.org>
1890 * LaTeXFeatures.[Ch] (useBabel): new method.
1891 * bufferparams.C (writeLaTeX): use it.
1893 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1895 * ParagraphList.h (set): remove unused function.
1897 2003-05-23 André Pönitz <poenitz@gmx.net>
1900 * BufferView_pimpl.C:
1904 * undo_funcs.C: setUndo reworked
1906 * iterators.[Ch]: add access to topmost ParagraphList
1908 * lyxtext.[Ch] (workWidth): add a const
1910 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1912 * texrow.[Ch] (increasePos): remove function
1913 * exporter.C (export): removed unused var and outdated comment
1915 2003-05-23 Angus Leeming <leeming@lyx.org>
1917 * latexrunparams.h: rename fragile as moving_arg.
1918 * paragraph.C (simpleTeXOnePar): ditto.
1919 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1921 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1923 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1925 (textUndoOrRedo): comment out a currently unused var.
1927 * paragraph.h (NO_NEXT): enable NO_NEXT
1929 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1931 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1933 * exporter.C (Export): adjust for removeAutoInsets removal.
1935 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1937 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1939 * BufferView.[Ch] (removeAutoInsets): delete function
1941 2003-05-22 Angus Leeming <leeming@lyx.org>
1943 * latexrunparams.h: add a free_spacing variable.
1945 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1946 to pass moving_arg, as the data is stored in runparams.fragile.
1948 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1949 to Inset::latexOptional or to simpleTeXOnePar.
1951 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1952 free_spacing arg to Inset::latexOptional.
1954 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1957 2003-05-22 Angus Leeming <leeming@lyx.org>
1959 * latexrunparams.h: add fragile and use_babel variables.
1961 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1962 * buffer.C (makeLaTeXFile): store this returned value in
1963 runparams.use_babel, thus passing it to the inset::latex methods.
1965 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1966 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1968 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1969 longer has a fragile arg, as it is stored in runparams.fragile.
1971 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1972 moving_arg parameter as the data is stored in runparams.fragile.
1974 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1975 a fragile parameter as the data is stored in runparams.fragile.
1977 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1979 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1981 2003-05-22 Angus Leeming <leeming@lyx.org>
1983 * latexrunparams.h: add a 'bool nice' which defaults to false.
1985 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1986 now encapsulated within runparams.
1988 * bufferlist.C (updateIncludedTeXfiles):
1989 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1991 2003-05-22 Angus Leeming <leeming@lyx.org>
1993 * latexrunparams.h: new file containing struct LatexRunParams.
1994 * Makefile.am: add new file.
1996 * LaTeX.[Ch] (c-tor, run):
1997 * buffer.[Ch] (makeLaTeXFile):
1998 * bufferlist.[Ch] (updateIncludedTeXfiles):
1999 * converter.C (convert, scanLog):
2000 * converter.[Ch] (runLaTeX):
2001 * exporter.C (Export):
2002 * paragraph.[Ch] (simpleTeXOnePar):
2003 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2004 * paragraph_funcs.[Ch] (latexParagraphs):
2005 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2006 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2007 pass around a LatexRunParams parameter.
2009 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2011 * paragraph.[Ch]: remove unused constructor
2013 * ParagraphList.C (erase): new function, taking two iterators
2015 2003-05-22 André Pönitz <poenitz@gmx.net>
2017 * undo_funcs.C: remove duplicated code
2019 * iterator.[Ch]: operator=
2021 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2023 * tabular.C (SetMultiColumn): ws changes
2025 * rowpainter.C (paintFirst): get rid of a ->previous
2027 * lyx_cb.C (getPossibleLabel): parlist simplification
2029 * BufferView.C (ChangeInsets): simplify slightly.
2031 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2033 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2034 * lfuns.h: new LFUN_SPACE
2035 * lyxfunc.C: protected space has a new lfun
2036 * paragraph_funcs.C: read new space insets
2038 * factory.C: handle new space insets
2040 2003-05-22 André Pönitz <poenitz@gmx.net>
2043 * BufferView_pimpl.C:
2046 * undo_funcs.C: return a ParIterator from getParFromID.
2048 * iterators.[Ch]: add two const's
2050 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2052 * toc.C (getTocList): adjust
2054 * iterators.[Ch]: rework for parlist
2056 * buffer.C (par_iterator_begin): adjust
2057 (par_iterator_end): adjust
2059 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2061 * BufferView.C (removeAutoInsets): adjust
2062 (ChangeInsets): adjust
2064 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2066 * text.C (top_y): fix bug 1110
2068 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2070 * errorlist.[Ch]: added
2073 * BufferView_pimpl.C:
2074 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2077 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2079 * Makefile.am: ensure that lyx is relinked upon changes to the
2080 various "convenience" libs.
2082 2003-05-20 Angus Leeming <leeming@lyx.org>
2084 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2085 files are compiled in alphabetical order again.
2087 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2089 2003-05-19 Angus Leeming <leeming@lyx.org>
2091 * gettext.[Ch]: remove "char const * _(char const *)".
2093 2003-05-19 André Pönitz <poenitz@gmx.net>
2095 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2104 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2106 2003-05-19 André Pönitz <poenitz@gmx.net>
2110 * lyxtextclass.[Ch]:
2112 * paragraph_funcs.[Ch]:
2114 * text3.C: more insetenv work
2116 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2118 * ParagraphParameters.C (params2string): small bug fixed
2120 2003-05-16 André Pönitz <poenitz@gmx.net>
2123 * bufferview_funcs.C: patch from Kornel Benko to prevent
2124 crash when _(...) is called twice in a statement
2126 2003-05-16 André Pönitz <poenitz@gmx.net>
2133 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2135 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2137 * lyx_main.C (init): remove spurious static_cast
2139 2003-05-14 André Pönitz <poenitz@gmx.net>
2141 * BufferView.C: fix format string
2143 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2145 * BufferView.[Ch] (insertErrors): removed
2146 * BufferView.[Ch] (showErrorList): added
2147 * buffer.C (runChkTeX):
2148 * converter.C (scanLog): call showErrorList instead of inserterrors
2150 2003-05-13 André Pönitz <poenitz@gmx.net>
2152 * BufferView_pimpl.C:
2154 * bufferview_func.C:
2161 * tabular_funcs.h: tostr() from its own header
2163 * ParagraphParameters.C:
2168 * text3.C: STRCONV()
2170 2003-05-12 André Pönitz <poenitz@gmx.net>
2173 * BufferView_pimpl.C:
2177 * ParagraphParameters.C:
2181 * bufferview_funcs.C:
2194 * paragraph_funcs.C:
2198 * text3.C: boost::format -> bformat all over the place
2201 2003-05-09 André Pönitz <poenitz@gmx.net>
2203 * LColor.[Ch]: Pimpl the #include <map> away
2205 2003-05-09 John Levon <levon@movementarian.org>
2207 * bufferlist.C: never remove emergency saves
2209 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2211 * Makefile.am: better lib building
2213 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2215 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2217 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2218 (simpleTeXSpecialChars): adjust
2219 (simpleTeXSpecialChars): adjust
2220 * paragraph.C (simpleTeXOnePar): adjust
2221 * buffer.C (makeLaTeXFile): adjust
2223 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2225 * text2.C (changeDepth): parlist cleanup
2226 (getColumnNearX): ditto
2228 * rowpainter.C (getLabelFont): parlist cleanup
2230 * bufferlist.C (newFile): parlist cleanup
2232 * CutAndPaste.C (eraseSelection): parlist cleanup
2234 * BufferView_pimpl.C (trackChanges): parlist cleanup
2237 * BufferView.C (lockInset): parlist cleanup.
2238 (ChangeInsets): ditto
2240 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2242 * CutAndPaste.h: Update file header.
2244 * CutAndPaste.C: Update file header.
2245 Store the parts cut out of the Document in a limited_stack.
2246 (copySelection): adjust
2247 (pasteSelection): new function, takes the index in the limited stack.
2248 (nrOfParagraphs): adjust
2249 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2250 simplify error inset insertion.
2251 (checkPastePossible): adjust
2253 2003-05-06 John Levon <levon@movementarian.org>
2255 * text2.C: don't cast wrap inset to float
2257 2003-05-05 André Pönitz <poenitz@gmx.net>
2260 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2262 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2263 few naked Paragraph *.
2265 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2267 * bufferparams.C: Output warning if a document with missing
2268 TeX document class is loaded
2269 * exporter.C: Disable TeX exports if the document class is missing
2272 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2273 isTeXClassAvailable()
2275 2003-05-03 John Levon <levon@movementarian.org>
2278 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2279 explicit cursor show/hide
2281 * BufferView_pimpl.h:
2282 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2283 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2285 * lyxfunc.C: hide cursor before dispatching.
2290 * text3.C: remove explicit cursor hides
2292 2003-05-02 André Pönitz <poenitz@gmx.net>
2294 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2297 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2300 * text2.C: tiny whitespace
2302 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2304 * undo_funcs.C: almost only ws changes.
2306 * ParagraphList.C (splice): just return if pl is empty.
2308 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2310 * ParagraphList.C (splice): new function.
2312 * CutAndPaste.C (pasteSelection): use it
2314 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2316 * CutAndPaste.C (pasteSelection): remove the last next and
2317 previous from this file.
2319 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2321 * CutAndPaste.C (pasteSelection): more clean up, user proper
2322 ParagraphList functions for pasteing.
2324 * ParagraphList.C (insert): new function, three arg insert
2326 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2328 * ParagraphList.C (insert): new function, three arg insert
2330 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2333 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2335 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2337 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2339 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2341 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2343 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2344 (copySelection): clean up a bit.
2345 (pasteSelection): use make_pair
2347 * ParagraphList.C (ParagraphList): implement copy constructor
2348 (operator=): implement, base on copy constructor.
2351 * paragraph.C (erase): return a bool
2353 * paragraph_pimpl.C (erasePos): remove function, move contents...
2354 (erase): ... here. Return a bool.
2355 (erase): call erase instead of erasePos.
2357 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2359 * ParagraphList.h: define PitPosPair
2360 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2361 ParagraphList, fix a bug on pasting multiple pars
2362 * text2.C: change interface to C&P
2364 2003-04-30 André Pönitz <poenitz@gmx.net>
2366 * undo_func.C: revert part of yesterday's patch 2
2368 2003-04-30 John Levon <levon@movementarian.org>
2370 * LColor.C: s/tabular/table/
2372 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2374 * text3.C (dispatch): do not convert iterator -> pointer
2375 * undo_funcs.C (setCursorParUndo): ditto
2376 * text_funcs.C (transposeChars): ditto
2378 * text2.C (setLayout): ws changes only
2380 * text.C (breakParagraph): do not convert iterator -> pointer
2382 (acceptChange): ditto
2383 (rejectChange): ditto
2388 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2391 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2393 * text3.C (gotoInset): YABG (yet another bad getChar)
2395 2003-04-29 André Pönitz <poenitz@gmx.net>
2397 * paragraph.h: make operator= private unimplemented as long as
2400 * ParagraphList.C: whitespace
2403 * paragraph_pimpl.[Ch]:
2404 * paragraph_funcs.C:
2406 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2409 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2411 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2413 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2414 * paragraph.[Ch] (erase):
2415 * paragraph_pimpl.[Ch] (erase): change return type and value
2416 * text2.C (cutSelection): some rework
2418 2003-04-28 John Levon <levon@movementarian.org>
2420 * bufferlist.C: changes for unsaved changes dialog
2422 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2424 * bufferlist.C (newFile): set language (messages_) for new
2427 * buffer.C (readFile): ws changes only.
2429 2003-04-28 André Pönitz <poenitz@gmx.net>
2434 * BufferView_pimpl.C:
2435 * BufferView.C: getParFromID related ParagraphList::iterator changes
2437 2003-04-28 André Pönitz <poenitz@gmx.net>
2439 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2442 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2444 * messages.C: remove one more localedir class variable.
2446 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2448 * messages.C (getLocaleDir): singleton generation function
2450 (Messages): add a default constructor.
2452 * main.C (main): do not setup localedir here, do not call
2455 * gettext.C (_): use it.
2456 (gettext_init): delete funciton
2458 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2460 * gettext.C (getLyXMessages): new singleton generating function.
2462 * buffer.C (updateDocLang): adjust
2464 * Makefile.am (messages.o): add target
2465 (main.o): remove target
2467 2003-04-27 John Levon <levon@movementarian.org>
2472 * lyxvc.C: specify cancel button in Alert::prompt
2474 2003-04-26 John Levon <levon@movementarian.org>
2479 * LyXAction.C: add LFUN_INSET_SETTINGS
2481 * lyxfunc.C: don't enable tabular-feature when there's
2482 just any locking inset
2484 2003-04-26 John Levon <levon@movementarian.org>
2486 * bufferlist.C: re-add Cancel to buffer close question
2488 * lyxfunc.C: fix import UI a bit
2490 2003-04-25 John Levon <levon@movementarian.org>
2492 * gettext.C: remove the broken asserts for now
2494 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2496 * messages.C: make case where setlocale cannot comply work better.
2498 * buffer.C (updateDocLang): new function
2499 (changeLanguage): use it
2502 * text2.C (setCounter): use B_ a bit.
2504 * lyxlayout.C (Read): be sure to trim the label strings.
2506 * messages.C (Messages): fix typo in comment
2508 * buffer.C (readFile): set message_ after file is loaded.
2509 (makeDocBookFile): remove double return
2510 (changeLanguage): reset message_ upon language change.
2511 (B_): new func, use this to get translated buffer strings.
2513 * main.C: add myself and Jean Marc as authors.
2515 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2517 * messages.[hC]: pimplify Messages, and three different pimpls to be
2518 used in different circumstances.
2520 * gettext.[Ch]: change for use with new message code.
2522 2003-04-24 André Pönitz <poenitz@gmx.net>
2524 * factory.C: support for eqref
2526 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2528 * messages.[Ch]: add missing char
2530 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2532 * messages.[Ch]: New files
2534 2003-04-18 John Levon <levon@movementarian.org>
2538 * BufferView_pimpl.C:
2542 * text2.C: remove layout-copy/paste (bug 778)
2544 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2546 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2548 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2550 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2551 if they succeed. Act accordingly.
2553 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2555 * text2.C (setCharFont): adjust
2556 (setCounter): adjust
2557 (insertStringAsLines): adjust
2559 * text.C (leftMargin): adjust
2560 (setHeightOfRow): adjust
2562 * rowpainter.C (paintFirst): adjust
2565 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2567 (isFirstInSequence): ditto
2568 (getEndLabel): ditto
2571 * paragraph.C (getParLanguage): comment out some hard stuff.
2573 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2575 (simpleDocBookOnePar): ditto
2576 (makeDocBookFile): use ParagraphList::iterator
2578 * CutAndPaste.C (pasteSelection): adjust
2580 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2582 * text2.C (getFont): adjust
2583 (getLayoutFont): adjust
2584 (getLabelFont): adjust
2586 * paragraph_funcs.C (TeXOnePar): adjust
2588 * buffer.C (simpleLinuxDocOnePar): adjust
2589 (simpleDocBookOnePar): adjust
2591 * CutAndPaste.C (pasteSelection): adjust
2593 * BufferView.C (getEncoding): adjust
2595 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2597 2003-04-16 John Levon <levon@movementarian.org>
2599 * lyxfind.C: use parlist stuff for search/changes
2601 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2603 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2605 * text2.C (deleteEmptyParagraphMechanism): adjust
2607 * text2.[Ch] (ownerParagraph): delete func (both of them
2609 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2611 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2613 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2615 * ParagraphList.C: prepare for NO_NEXT
2617 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2619 * text2.C (getFont): adjust
2620 (getLayoutFont): adjust
2621 (getLabelFont): adjust
2623 * paragraph.C (getFont): adjust
2624 (getLabelFont): adjust
2625 (getLayoutFont): adjust
2627 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2629 2003-04-15 John Levon <levon@movementarian.org>
2633 * lyx_main.C: handle Include in .ui files
2635 2003-04-15 John Levon <levon@movementarian.org>
2637 * MenuBackend.C: make the doc files length shorter
2640 * ToolbarBackend.C: handle toolbar placement flags,
2643 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2645 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2648 * paragraph_funcs.C (TeXOnePar): adjust
2650 * paragraph.C (getLabelFont): add outerfont arg, adjust
2651 (getLayoutFont): ditto
2652 (simpleTeXOnePar): adjust
2654 * paragraph_pimpl.C (realizeFont): delete func
2656 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2658 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2659 row argument, constify cur argument.
2661 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2663 * text2.C (getFont): adjust
2664 (getLayoutFont): adjust
2665 (getLabelFont): adjust
2667 * paragraph_funcs.C (TeXOnePar): adjust
2668 (outerFont): new func...
2669 (realizeFont): ...moved out from here, changed this to facilitate
2672 * paragraph.C (getFont): take outerfont as arg, adjust
2673 (simpleTeXOnePar): add outerfont arg, adjust
2675 * buffer.C (simpleLinuxDocOnePar): adjust
2676 (simpleDocBookOnePar): adjust
2678 * CutAndPaste.C (pasteSelection): adjust
2680 * BufferView.C (getEncoding): adjust
2682 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2684 * text2.C (setCharFont): adjust
2685 (setCounter): adjust
2687 * text.C (leftMargin): adjust
2688 (setHeightOfRow): adjust
2690 * rowpainter.C (paintFirst): adjust
2693 * paragraph_pimpl.C (realizeFont): adjust
2695 * paragraph.C (isFirstInSequence): move from here...
2696 * paragraph_funcs.C (isFirstInSequence): ...to here
2698 * paragraph.C (outerHook): move from here...
2699 * paragraph_funcs.C (outerHook): ...to here
2701 * paragraph.C (depthHook): move from here...
2702 * paragraph_funcs.C (depthHook): ...to here
2704 * paragraph.C (getEndLabel): move from here...
2705 * paragraph_funcs.C (getEndLabel): ...to here
2707 * text2.C (realizeFont): move from here...
2708 * paragraph_funcs.C (realizeFont): ...to here
2710 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2712 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2714 2003-04-14 Angus Leeming <leeming@lyx.org>
2716 * LColor.[Ch]: scrap LColor mathcursor.
2718 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2720 * lyxlex.[Ch] (text): delete function
2721 * trans.C (Load): adjust
2722 * paragraph_funcs.C (readParToken): adjust
2724 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2726 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2727 vector<char> instead of a char[].
2729 * lyxlex_pimpl.C (getString): adjust
2731 (lex): use getString
2735 * lyxlex.C (text): use pimpl_->getString()
2739 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2741 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2742 (makeFontEntriesLayoutSpecific): temp var for par.size()
2743 (setLayout): temp var for ownerParagraphs().end()
2744 (fullRebreak): temp var for rows().end()
2745 (selectionAsString): temp var for boost::next(startpit), realize
2746 that the while really is a regular for loop.
2747 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2748 setCursor in one place.
2749 (setParagraph): temp vr for ownerParagraphs().end()
2750 (updateCounters): make the while loop a for loop
2751 (cutSelection): temp var for ownerParagraphs().end()
2752 (updateInset): make the do {} while() a regular for loop
2753 (getCursorX): use temp vars
2754 (setCurrentFont): use temp vars
2755 (getColumnNearX): use temp vars
2757 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2759 * text.C (transformChar): use temp var for getChar
2760 (computeBidiTables): use temp var for row->par()
2761 (fill): move temp vars for row->par() and pit->layout() earlier in
2763 (labelFill): use temp var for row->par()
2764 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2765 asc and desc, realize that pit never changes and that firstpit is
2766 just a duplicate and not needed. Exchange rit->par() with pit in a
2768 (breakAgain): use a temp var for boost::next(rit)
2769 (breakAgainOneRow): ditto
2770 (breakParagraph): use a temp var for rows().begin()
2771 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2772 (cursorRightOneWord): use temp var for cursor.par() and
2773 cursor.pos(), remove usage of tmpcursor.
2774 (cursorLeftOneWord): use temp var for cursor.par() and
2775 cursor.pos() only set cur at end of function.
2777 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2779 * text.C, text2.C: exchange all usage of Paragraph::next with
2780 boost::next(ParagraphList::iterator)
2782 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2784 * text2.C (cursorTop): simplify implementation
2785 (cursorBottom): ditto
2786 (setParagraph): use ParagraphList::iterator
2787 (setCurrentFont): adjust
2788 (getColumnNearX): adjust
2789 (cursorRight): adjust
2790 (cursorLeft): remove usage of Paragraph::previous
2791 (cursorUpParagraph): ditto
2792 (deleteEmptyParagraphMechanism): slight cleanup
2794 * text.C (isBoundary): take a Paragraph const & instead of a
2796 (addressBreakPoint): ditto
2797 (leftMargin): remove usage of Paragraph::previous.
2798 (setHeightOfRow): ditto
2799 (cursorLeftOneWord): ditto
2800 (selectNextWordToSpellcheck): ditto
2803 (breakParagraph): remove one usage of Paragraph::next
2804 (redoParagraph): ditto
2805 (acceptChange): ditto
2806 (insertChar): adjust
2807 (rowBreakPoint): adjust
2809 * bufferview_funcs.C (toggleAndShow): adjust
2811 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2813 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2814 methods to access it.
2816 * text.C: Added updateRowPositions to compute all row positions.
2817 Make top_y and getRowNearY() to use the cached y position
2819 2003-04-11 John Levon <levon@movementarian.org>
2821 * text.C (rowBreakPoint): reintroduce the labelEnd
2822 checks, code copied from the row fill stuff. Deep voodoo.
2824 * text.C (fill): add a comment and debugging for the
2827 2003-04-11 John Levon <levon@movementarian.org>
2829 * text.C: make sure fullrow insets get wrapped to the next line,
2830 even when they're in a manual label
2832 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2834 * text2.C (insertParagraph): make it take ParagraphList::iterator
2836 (setLayout): make it return ParagraphList::iterator
2837 (redoParagraphs): ditto
2839 (checkParagraph): ditto
2841 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2843 * text2.C: adjust several funcs.
2844 (realizeFont): take a ParagraphList::iterator as arg.
2845 (getLayoutFont): ditto
2846 (getLabelFont): ditto
2847 (setCharFont): ditto
2849 * text.C: adjust several funcs.
2851 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2853 * text.C (selectNextWordToSpellcheck): don't accidentally
2856 2003-04-10 John Levon <levon@movementarian.org>
2858 * ToolbarBackend.C (getIcon): special handling for
2861 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2863 * text2.C (cursorRight): a getChar assert fixed
2865 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2867 * text2.C (getFont): change to take a ParagraphList::iterator
2868 instead of Paragraph*
2869 Adjust several functions.
2871 * text.C (transformChar): change to take a ParagraphList::iterator
2872 instead of Paragraph*
2873 (singleWidth): ditto
2874 Adjust several functions.
2876 * rowpainter.C: adjust several functions
2877 * rowpainter.h:store a ParagraphList::iterator and not a
2881 2003-04-09 John Levon <levon@movementarian.org>
2886 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2887 and the "help" bits as well
2889 2003-04-09 John Levon <levon@movementarian.org>
2892 * ToolbarBackend.C: allow multiple toolbars
2894 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2896 * undo_funcs.C (setCursorParUndo): adjust
2898 * text_funcs.C (transposeChars): adjust
2900 * text3.C (gotoNextInset): adjust
2903 * text2.C (setLayout): adjust
2904 (changeDepth): adjust
2906 (redoParagraphs): adjust
2907 (selectionAsString): adjust
2908 (setParagraph): adjust
2909 (insertInset): adjust
2910 (cutSelection): adjust
2911 (copySelection): adjust
2912 (pasteSelection): adjust
2913 (insertStringAsLines): adjust
2914 (updateInset): adjust
2915 (setCursor): change to take a ParagraphList::iterator parameter
2916 (setCursorIntern): change to take a ParagraphList::iterator parameter
2917 (setCurrentFont): adjust
2918 (cursorLeft): adjust
2919 (cursorRight): adjust
2920 (deleteEmptyParagraphMechanism): adjust
2922 * text.C (breakParagraph): adjust
2923 (insertChar): adjust
2924 (acceptChange): adjust
2925 (rejectChange): adjust
2926 (selectNextWordToSpellcheck): adjust
2927 (changeCase): adjust
2931 * lyxfind.C (SearchForward): adjust
2932 (SearchBackward): adjust
2933 (nextChange): adjust
2935 * lyxcursor.C (par): adjust
2937 * lyxcursor.h: store a ParagraphList::iterator instead of a
2940 * lyx_cb.C (getPossibleLabel): adjust
2942 * bufferview_funcs.C (toggleAndShow): adjust
2944 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2947 * BufferView.C (removeAutoInsets): adjust
2948 (lockedInsetStoreUndo): adjust
2950 2003-04-09 John Levon <levon@movementarian.org>
2952 * ToolbarBackend.C: try icon without argument
2953 if with argument fails
2955 2003-04-08 John Levon <levon@movementarian.org>
2958 * ToolbarBackend.C: add getIcon(), handle tooltip,
2959 and change from "Icon" to "Item".
2961 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2963 * BufferView.C (lockInset): another bad getchar crunched
2965 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2967 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2970 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2972 * lyxfind.C (searchForward, searchBackwards): bug 782
2974 2003-04-07 John Levon <levon@movementarian.org>
2976 * paragraph.C: remove dead comment
2978 * text.C: remove troublesome depth-fiddling code
2979 in leftMargin() and rightMargin() (bug 1017)
2981 * text.C: fix breaking of rows in nested lists
2984 * text2.C (updateCounters): fix up depth values
2987 2003-04-07 John Levon <levon@movementarian.org>
2989 * BufferView_pimpl.C: clear message when doc finishes resizing,
2990 and after a mouse event
2992 * lyxfunc.C: clear message after exiting inset
2994 2003-04-07 John Levon <levon@movementarian.org>
2996 * bufferview_funcs.C: show math status not outside
2997 status in the statusbar
2999 2003-04-07 John Levon <levon@movementarian.org>
3001 * lyxfunc.C: note status changed after a depth change
3003 2003-04-04 Angus Leeming <leeming@lyx.org>
3005 * LaTeX.h: move AuxInfo operator==, != out of line.
3006 Remove LaTeX virtual destructor; nothing derives from it.
3007 Move operator()() out of public area and rename it startscript().
3008 Change protected for private.
3010 2003-04-04 Angus Leeming <leeming@lyx.org>
3013 * text2.C: remove unneeded #includes.
3015 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3017 * text2.C (dEPM): fix the heigth of the next row
3019 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3021 * text.C: squashed an invalid getChar requester + some ws changes
3023 2003-04-03 John Levon <levon@movementarian.org>
3025 * bufferview_funcs.h:
3026 * bufferview_funcs.C:
3029 * text2.C: make getStatus work for the env depth lfuns
3031 2003-04-03 John Levon <levon@movementarian.org>
3033 * bufferview_funcs.h:
3034 * bufferview_funcs.C:
3037 * text2.C: parlistize decDepth(), by merging it with incDepth()
3039 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3041 * lyxrow.h: store a ParagraphList::iterator instead of a
3042 Paragraph* and adjust other class functions to suit.
3044 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3047 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3049 * text2.C (setCursor): do not anchor to cursor row for the time being
3051 2003-04-02 John Levon <levon@movementarian.org>
3058 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3060 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3062 * paragraph.h: make ParagraphList and ParagraphList::iterator
3063 friends of Paragraph.
3065 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3067 * ParagraphList.C: Use the private next_ and previous_ from
3070 2003-04-01 John Levon <levon@movementarian.org>
3074 * Makefile.am: rename, remove defaults gunk
3077 * MenuBackend.C: remove defaults gunk
3080 * Languages.C: remove defaults gunk
3083 * lyx_main.C: error out if files couldn't be found.
3085 2003-04-02 John Levon <levon@movementarian.org>
3087 * text2.C: make incDepth() use parlist
3089 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3091 * undo_funcs.C (firstUndoParagraph): adjust
3093 * text3.C (gotoInset): adjust
3094 (dispatch): adjust, and rewrite loop.
3096 * text2.C (init): adjust, and rewrite loop.
3097 (redoParagraphs): adjust
3098 (updateInset): adjust, and rewrite loop.
3099 (deleteEmptyParagraphMechanism): adjust
3101 * tabular.C (LyXTabular): adjust
3102 (SetMultiColumn): adjust
3105 * lyxtext.[Ch] (ownerParagraph): delete function
3106 (ownerParagraphs): new function returns a ParagraphList.
3108 * BufferView.C (removeAutoInsets): adjust
3109 (insertErrors): adjust
3110 (setCursorFromRow): adjust
3112 2003-04-01 Angus Leeming <leeming@lyx.org>
3114 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3117 2003-04-02 John Levon <levon@movementarian.org>
3123 * text_funcs.C: make transposeChars a free function
3125 * lyxrow_funcs.C: remove wrong comment
3127 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3130 * rowpainter.C: adjust
3135 * lyxrow_funcs. [Ch]: new files
3137 * lyxrow.[Ch]: remove next and previous pointers
3138 (next,previous): remove accessor functions
3139 (isParEnd): move to lyxrow_funcs
3140 (lastPos): move to lyxrow_funcs
3141 (nextRowIsAllInset): move to lyxrow_funcs
3142 (lastPrintablePos): move to lyxrow_funcs
3143 (numberOfSeparators): move to lyxrow_funcs
3144 (numberOfHfills): move to lyxrow_funcs
3145 (numberOfLabelHfills): move to lyxrow_funcs
3146 (hfillExpansion): move to lyxrow_funcs
3150 * bufferview_funcs.C (toggleAndShow): adjust
3152 * RowList.h: Remove class RowList from file leave just a
3155 * RowList.C: delete file
3157 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3160 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3162 * text3.C (cursorPrevious): adjust
3163 (cursorNext): adjust
3166 * text2.C (redoHeightOfParagraph): adjust
3167 (redoDrawingOfParagraph): adjust
3170 * text.C (breakParagraph): adjust
3171 (insertChar): adjust
3174 * rowpainter.C (RowPainter): adjust
3175 (leftMargin): simplify and adjust
3176 (most rowpainter functions): adjust.
3178 * rowpainter.h: store the row as RowList::iterator not as Row*
3180 * lyxcursor.C (row): taka RowList::iterator as arg
3183 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3186 2003-04-01 Angus Leeming <leeming@lyx.org>
3188 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3189 stuff like bool Bool.
3191 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3193 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3196 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3198 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3201 * lyxtext.h (rows): drop one version and leve a const variant that
3202 returns a RowList::iterator.
3204 2003-03-31 Angus Leeming <leeming@lyx.org>
3206 * text.C (fill): ensure that the signature is the same as that in the
3209 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3211 * text2.C (redoParagraphs): adjust
3212 (updateCounters): adjust
3213 (checkParagraph): adjust
3214 (getColumnNearX): adjust and reformat a bit.
3216 * text.C (top_y): adjust
3218 (leftMargin): adjust
3219 (prepareToPrint): adjust
3221 (getRowNearY): adjust
3223 * lyxtext.h: make rowlist_ mutable.
3225 * RowList.h: add const_iterator
3226 * RowList.C: adjust for RowList::const_iterator.
3228 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3231 2003-03-31 John Levon <levon@movementarian.org>
3234 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3236 * lyx_main.C: set default fonts from using lyx_gui funcs
3238 * exporter.C: pdf_mode moved from lyxrc
3241 * lyxfunc.C: changes from above
3243 2003-03-31 John Levon <levon@movementarian.org>
3245 * lyx_main.C: fix to the last fix
3247 2003-03-31 John Levon <levon@movementarian.org>
3249 * bufferlist.C: "Load original" -> "Load Original"
3255 * format.C: more Alert cleanups
3257 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3259 * text2.C (removeParagraph): make it take a RowList::iterator as
3261 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3262 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3264 * text.C (anchor_row): make it take a RowList::iterator as arg,
3266 (computeBidiTables): make it take a const reference to Row instead
3267 of Row pointer, adjust.
3268 (leftMargin): make it take a RowList::iterator as arg, adjust.
3269 (rowBreakPoint): adjust
3270 (breakAgainOneRow): make it take a RowList::iterator as arg,
3272 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3274 * bufferview_funcs.C (toggleAndShow): adjust
3276 2003-03-30 John Levon <levon@movementarian.org>
3280 * boost-inst.C: moved to support
3282 * several files: changes as a result
3284 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3286 * text2.C (LyXText): adjust.
3288 (removeRow): make it take a RowList::iterator as arg, adjust.
3289 (fullRebreak): adjust
3290 (deleteEmptyParagraphMechanism): adjust
3291 (clearPaint): adjust
3294 * text.C (top_y): adjust
3295 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3296 (breakAgain): make it take a RowList::iterator as arg, adjust.
3297 (breakParagraph): adjust
3298 (insertChar): adjust
3301 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3302 need_break_row, and refresh_row.
3304 * text3.C (dispatch): adjust
3306 * text2.C (checkParagraph): adjust
3308 (setCursorFromCoordinates): adjust
3310 * text.C (top_y): adjust
3312 (getRow): make it return a RowList::iterator, adjust
3313 (getRowNearY): make it return a RowList::iterator, adjust
3315 * text2.C (init): adjust
3316 (insertRow): remove function
3317 (insertParagraph): adjust
3318 (redoParagraphs): adjust
3319 (fullRebreak): adjust
3320 (updateCounters): adjust
3322 * text.C (top_y): rewrite to use RowList iterators.
3324 (setHeightOfRow): rewrite to sue RowList iterators.
3325 (appendParagraph): adjust
3326 (breakAgain): adjust
3327 (breakAgainOneRow): adjust
3328 (breakParagraph): adjust
3330 (getRowNearY): adjust, and remove commented code.
3332 * lyxtext.h (firstRow): delete function
3333 (lastRow): delete function
3334 (rows): new function (const and non-const versions.)
3335 (insertRow): delete function
3337 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3339 2003-03-29 John Levon <levon@movementarian.org>
3341 * BufferView_pimpl.C: always update scrollbar top
3342 because pasting text when we're anchored could mean we
3343 miss an update altogether
3345 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3347 * text2.C (init): use rowlist_.end() and not 0.
3348 (insertRow): change to take a RowList::iterator as arg, adjust
3350 (insertParagraph): change to take a RowList::iterator as arg,
3352 (redoParagraphs): remove some debug msgs.
3354 * text.C (appendParagraph): change to take a RowList::iterator
3355 arg, adjust for this.
3356 (breakAgain): add an assert
3357 (breakAgainOneRow): ditto
3359 2003-03-29 John Levon <levon@movementarian.org>
3361 * text2.C: do not clear selection after inc/decDepth
3364 2003-03-29 John Levon <levon@movementarian.org>
3367 * buffer.C: fix broken strerrors according to Lars
3369 2003-03-29 John Levon <levon@movementarian.org>
3371 * converters.C: more Alert cleanups
3373 2003-03-29 John Levon <levon@movementarian.org>
3375 * bufferview_funcs.C: remove pointless Alert
3377 * buffer.C: fix confusing error message when
3378 a template is chmoded 000
3380 2003-03-29 John Levon <levon@movementarian.org>
3384 * BufferView_pimpl.C: Alert fixes
3388 * tabular-old.C: remove unused table compat reading
3390 2003-03-29 John Levon <levon@movementarian.org>
3395 * lyx_cb.C: more Alert cleanups
3397 * lyxfunc.C: don't allow chktex if not latex document
3399 2003-03-29 John Levon <levon@movementarian.org>
3403 * buffer.C: warnings pushed down from support/,
3406 2003-03-29 John Levon <levon@movementarian.org>
3408 * lyxfunc.C: safety check for C-r (revert)
3410 2003-03-29 John Levon <levon@movementarian.org>
3413 * bufferlist.C: several UI fixes using Alert::prompt.
3414 Fix the pointless looping quit code. Fix stupid revert
3419 * lyx_cb.C: use Alert::prompt
3421 * lyx_main.C: remove a silly question
3423 * lyxfunc.C: remove a couple of silly questions,
3426 2003-03-28 John Levon <levon@movementarian.org>
3428 * text2.C: fix bug 974 (End on empty par)
3430 2003-03-28 John Levon <levon@movementarian.org>
3432 * BufferView_pimpl.C:
3434 * lfuns.h: remove do-nothing math greek lfuns
3436 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3438 * lyxgluelength.h (isValidGlueLength): add default arg on
3439 parameter 2. Remove default arg from friend in class.
3441 * lyxlength.h (isValidLength): add default arg on parameter 2.
3442 Remove default arg from friend in class.
3444 * text2.C (LyXText): adjust, initialize refresh_row.
3448 (insertParagraph): adjst
3449 (redoParagraphs): adjust
3450 (fullRebreak): adjust
3451 (updateCounters): adjust
3452 (deleteEmptyParagraphMechanism): first attempt at fixing a
3455 * text.C (top_y): adjust
3456 (setHeightOfRow): adjust
3458 (getRowNearY): adjust
3460 * lyxtext.h: include RowList.h
3461 (~LyXText): not needed anymore, deleted.
3462 (firstRow): modify for RowList
3463 (lastRow): new function
3464 Delete firstrow and lastrow class variables, add a Rowlist
3465 rowlist_ class variable.
3467 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3470 * RowList.C (insert): fix case where it == begin().
3472 2003-03-26 Angus Leeming <leeming@lyx.org>
3474 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3475 the thesaurus dialog.
3477 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3479 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3481 * RowList.[Ch]: new files
3483 * ParagraphList.C (erase): handle the case where it == begin
3486 2003-03-25 John Levon <levon@movementarian.org>
3490 * aspell.C: add new aspell support
3493 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3496 2003-03-25 Angus Leeming <leeming@lyx.org>
3499 * LyXAction.C (init): new LFUN_INSET_INSERT.
3501 * BufferView_pimpl.C (dispatch): split out part of the
3502 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3504 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3507 2003-03-25 Angus Leeming <leeming@lyx.org>
3509 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3511 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3514 * text3.C: remove useless row->height(0)
3516 2003-03-25 John Levon <levon@movementarian.org>
3520 * text3.C: rename the refreshing stuff to better names
3522 2003-03-24 John Levon <levon@movementarian.org>
3524 * BufferView_pimpl.h:
3525 * BufferView_pimpl.C: update layout choice on a mouse
3528 2003-03-23 John Levon <levon@movementarian.org>
3530 * Makefile.am: fix commandtags.h reference
3532 2003-03-22 John Levon <levon@movementarian.org>
3534 * BufferView_pimpl.C:
3539 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3541 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3544 * text.C: take the rtl methods out of line
3546 2003-03-21 André Pönitz <poenitz@gmx.net>
3548 * metricsinfo.[Ch]: new files containing structures to be passed around
3549 during the two-phase-drawing...
3551 2003-03-21 André Pönitz <poenitz@gmx.net>
3553 * lyxtextclass.C: read 'environment' tag.
3555 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3557 * text2.C (removeRow): fix bug 964
3559 2003-03-20 John Levon <levon@movementarian.org>
3563 * text2.C: paint cleanups. Inset::update() dropped font
3566 2003-03-19 John Levon <levon@movementarian.org>
3568 * lyxfunc.C: only fitcursor/markDirty if available()
3570 2003-03-19 John Levon <levon@movementarian.org>
3572 * commandtags.h: rename to ...
3574 * lfuns.h: ... this, and renumber / cleanup
3576 2003-03-19 John Levon <levon@movementarian.org>
3578 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3579 fit the cursor after an lfun
3583 * BufferView_pimpl.h:
3584 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3586 * LyXAction.C: layout-character should have ReadOnly
3588 * ParagraphParameters.C:
3590 * bufferview_funcs.C:
3597 * undo_funcs.C: changes from above
3599 2003-03-18 John Levon <levon@movementarian.org>
3601 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3602 remove it from update()
3604 * lyxfunc.C: update layout choice after an lfun
3606 * text3.C: remove extra updateLayoutChoice()s
3608 2003-03-18 John Levon <levon@movementarian.org>
3610 * text.C: top_y change means full repaint, fix
3611 a drawing bug with cursor movement
3613 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3617 * text2.C: anchor row on setCursor
3619 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3621 * lyxtext.h: remove almost all mutable keywords
3624 * text3.C: remove const keywords accordingly
3626 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3628 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3630 (TeXEnvironment): ditto
3633 2003-03-17 John Levon <levon@movementarian.org>
3635 * text.C (rowBreakPoint): remove attempt to fix displayed
3636 math insets inside a manual label
3638 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3640 * lyxtext.h: remove BufferView* as first arg from almost all class
3642 * other files: adjust.
3644 2003-03-17 John Levon <levon@movementarian.org>
3648 * text2.C: more paint cleanups
3650 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3653 * rowpainter.C: remove "smart" background painting code
3655 2003-03-16 John Levon <levon@movementarian.org>
3660 * text3.C: add helper functions for setting refresh_row/y
3662 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3664 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3665 newline inset which *can* get inserted in the pass_thru layouts.
3666 This is primarily for literate documents.
3668 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3670 * buffer.C: increment LYX_FORMAT to 223
3672 2003-03-14 André Pönitz <poenitz@gmx.net>
3674 * textclass.h: prepare for environment handling, ws changes
3675 * lyxlayout.C: read latexheader and latexfooter tags
3677 2003-03-14 John Levon <levon@movementarian.org>
3679 * text2.C: rewrite ::status() a bit
3681 2003-03-13 John Levon <levon@movementarian.org>
3683 * lyxtext.h: add some docs
3685 2003-03-13 John Levon <levon@movementarian.org>
3690 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3692 2003-03-13 John Levon <levon@movementarian.org>
3694 * text3.C: fix appendix redrawing
3696 2003-03-13 John Levon <levon@movementarian.org>
3698 * text.C (setHeightOfRow):
3700 * rowpainter.C: make appendix mark have the text
3701 "Appendix" so the user knows what it is
3704 * LColor.C: s/appendixline/appendix/ from above
3706 2003-03-13 John Levon <levon@movementarian.org>
3708 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3710 * text.C: fix a getChar(pos) bug properly
3712 2003-03-13 Angus Leeming <leeming@lyx.org>
3715 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3716 Probably only temporary. Let's see how things pan out.
3718 * BufferView.C (unlockInset):
3719 * BufferView_pimpl.C (fitCursor):
3720 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3722 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3723 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3725 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3726 new functions that convert ParagraphParameters to and from a string.
3728 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3729 BufferView::Pimpl's dispatch.
3730 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3732 2003-03-13 André Pönitz <poenitz@gmx.net>
3736 * factory.C: make it aware of InsetEnv
3738 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3740 * text2.C (setCursor): never ask for one past last
3741 (setCursor): add some debugging messages.
3743 * text.C (singleWidth): never ask for one past last
3744 (singleWidth): ditto
3746 (rightMargin): ditto
3747 (rowBreakPoint): ditto
3748 (setHeightOfRow): ditto
3749 (prepareToPrint): ditto
3751 * rowpainter.C (paintBackground): never ask for one past last
3752 (paintText): never ask for one past last
3754 * paragraph_pimpl.C (getChar): make the assert stricter, never
3755 allow the one past last pos to be taken
3757 * paragraph.C (getChar): ws changes only
3759 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3760 (numberOfSeparators): ditto
3761 (numberOfHfills): ditto
3763 2003-03-12 John Levon <levon@movementarian.org>
3769 * paragraph_funcs.C: fix per-buffer authorlists
3771 2003-03-12 John Levon <levon@movementarian.org>
3773 * text.C: fix newline in right address
3775 2003-03-12 Angus Leeming <leeming@lyx.org>
3777 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3778 duplicate those in LyXFunc::dispatch.
3782 * ToolbarDefaults.C:
3783 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3784 Add LFUN_FONTFREE_UPDATE.
3786 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3787 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3789 * bufferview_func.[Ch]: several new functions to facilliate
3790 transfer of data to and from the character dialog.
3792 2003-03-12 John Levon <levon@movementarian.org>
3797 * paragraph_funcs.C:
3798 * paragraph_pimpl.C:
3802 * text3.C: remove META_NEWLINE in favour of an inset
3805 * rowpainter.C: remove paintNewline (done by inset)
3807 2003-03-12 John Levon <levon@movementarian.org>
3809 * paragraph_pimpl.C: complain about bad getChar()s
3810 for a while at least
3812 2003-03-12 John Levon <levon@movementarian.org>
3815 * buffer.C: move paragraph read into a separate function,
3816 a little renaming to reflect that.
3819 * bufferparams.C: remove the author_ids map, not necessary now
3822 * factory.C: moved Buffer::readInset to here
3824 * paragraph_funcs.h:
3825 * paragraph_funcs.C: readParagraph free function moved from
3828 * tabular.C: name change
3830 2003-03-12 John Levon <levon@movementarian.org>
3833 * ParagraphParameters.C: move par params input to
3836 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3837 behave like a normal read from the stream wrt reading
3838 a line vs. a \\token
3840 2003-03-12 John Levon <levon@movementarian.org>
3843 * ParagraphParameters.h:
3844 * ParagraphParameters.C: move output code to a
3847 2003-03-12 John Levon <levon@movementarian.org>
3849 * BufferView.C (insertLyXFile):
3852 * tabular.C: use a parlist iterator for creating the
3855 2003-03-12 John Levon <levon@movementarian.org>
3857 * buffer.C: make current_change static local not
3860 2003-03-12 John Levon <levon@movementarian.org>
3862 * buffer.C: fix insertStringAsLines for change tracking
3864 2003-03-12 John Levon <levon@movementarian.org>
3871 * bufferparams.C: move author list into params. Rename some
3872 functions. Move the header reading into a separate token
3873 loop. Move the header token reading into BufferParams.
3875 2003-03-12 John Levon <levon@movementarian.org>
3877 * changes.C: put debug inside lyxerr.debugging() checks
3879 2003-03-11 André Pönitz <poenitz@gmx.net>
3881 * factory.C: make it aware of InsetHFill
3883 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3885 * buffer.C (latexParagraphs): move function from here...
3886 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3889 2003-03-10 Angus Leeming <leeming@lyx.org>
3891 * LyXAction.C (init): fix bug in poplating array with multiple entries
3892 with the same LFUN (spotted by JMarc).
3894 2003-03-10 John Levon <levon@movementarian.org>
3897 * text2.C: move getColumnNearX() near its
3900 2003-03-10 John Levon <levon@movementarian.org>
3902 * text.C: fix break before a minipage
3904 2003-03-10 John Levon <levon@movementarian.org>
3906 * text.C: fix the last commit
3908 2003-03-09 John Levon <levon@movementarian.org>
3912 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3913 bug 365 (don't break before insets unless needed). Don't
3914 return a value > last under any circumstances.
3916 2003-03-09 Angus Leeming <leeming@lyx.org>
3918 * BufferView_pimpl.C (trackChanges, dispatch): call
3919 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3921 2003-03-09 Angus Leeming <leeming@lyx.org>
3923 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3924 than Dialogs::showAboutlyx().
3926 2003-03-09 Angus Leeming <leeming@lyx.org>
3928 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3929 than Dialogs::showTabularCreate().
3931 2003-03-09 John Levon <levon@movementarian.org>
3935 * text2.C: 3rd arg to nextBreakPoint was always the same.
3938 2003-03-08 John Levon <levon@movementarian.org>
3945 * text2.C: Remove the "main" bit from the "main body"
3948 2003-03-08 John Levon <levon@movementarian.org>
3950 * text.C (leftMargin): The left margin of an empty
3951 manual label paragraph should not include the label width
3954 * text.C (prepareToPrint): don't attempt to measure hfills
3955 for empty manual label paragraphs - the answer should be 0
3957 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3959 * CutAndPaste.C: remove commented code and reindent.
3961 2003-03-08 John Levon <levon@movementarian.org>
3964 * lyxfunc.C: move reloadBuffer()
3967 * BufferView.C: to here
3969 * lyxvc.C: add comment
3972 * vc-backend.C: call bv->reload() to avoid
3973 getStatus() check on MENURELOAD
3975 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3977 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3978 to an old format .dep file.
3980 2003-03-07 Angus Leeming <leeming@lyx.org>
3982 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3983 when the LFUN_MOUSE_RELEASE should have been handled by
3984 inset->localDispatch.
3986 2003-03-07 Angus Leeming <leeming@lyx.org>
3988 * BufferView_pimpl.C (dispatch):
3989 * LyXAction.C (init):
3990 * ToolbarDefaults.C (init):
3992 * lyxfunc.C (getStatus):
3993 remove LFUN_INSET_GRAPHICS.
3995 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3997 2003-03-07 Angus Leeming <leeming@lyx.org>
4000 * LyXAction.C (init):
4001 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4003 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4006 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4008 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4009 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4011 2003-03-07 Angus Leeming <leeming@lyx.org>
4013 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4016 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4018 * ParagraphList.C (front): new function
4021 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4023 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4024 and top_row_offset_. removed var first_y.
4026 * text2.C (LyXText, removeRow):
4028 * BufferView_pimpl.C:
4029 use these methods instead of using first_y
4031 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4033 * text2.C (pasteSelection): adjust for checkPastePossible
4035 * CutAndPaste.C: remove Paragraph * buf and replace with
4036 ParagraphList paragraphs.
4037 (DeleteBuffer): delete
4038 (cutSelection): change the tc type to textclass_type
4039 (copySelection): change the tc type to textclass_type
4040 (copySelection): adjust for ParagraphList
4041 (pasteSelection): change the tc type to textclass_type
4042 (pasteSelection): adjust for Paragraphlist
4043 (nrOfParagraphs): simplify for ParagraphList
4044 (checkPastePossible): simplify for ParagraphList
4045 (checkPastePossible): remove unused arg
4047 * ParagraphList.C (insert): handle the case where there are no
4050 * CutAndPaste.h: make CutAndPaste a namespace.
4052 * text3.C (dispatch): adjust
4054 * text.C (breakParagraph): add a ParagraphList as arg
4056 * paragraph_funcs.C (breakParagraph): change to take a
4057 BufferParams and a ParagraphList as args.
4058 (breakParagraphConservative): ditto
4059 (mergeParagraph): ditto
4060 (TeXDeeper): add a ParagraphList arg
4061 (TeXEnvironment): ditto
4064 * buffer.C (readLyXformat2): adjust
4065 (insertStringAsLines): adjust
4066 (latexParagraphs): adjust
4068 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4069 (cutSelection): adjust
4070 (pasteSelection): adjust
4072 * BufferView_pimpl.C (insertInset): adjust
4074 2003-03-05 Angus Leeming <leeming@lyx.org>
4077 * LyXAction.C (init):
4078 * BufferView_pimpl.C (dispatch):
4079 * lyxfunc.C (getStatus):
4080 remove LFUN_CHILD_INSERT.
4082 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4084 2003-03-05 Angus Leeming <leeming@lyx.org>
4087 * LyXAction.C (init):
4088 * src/factory.C (createInset):
4089 * lyxfunc.C (getStatus):
4090 * text3.C (dispatch):
4091 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4093 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4095 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4097 * ParagraphList.C (insert): handle insert right before end()
4098 (erase): fix cases where it can be first or last paragraph.
4100 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4102 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4103 Paragraph::next and Paragraph::previous
4106 * text.C (breakParagraph): adjust
4108 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4109 BufferParams& as arg.
4110 (breakParagraph): use ParagraphList::insert
4111 (breakParagraphConservative): take a Buffer* instead of a
4112 BufferParams& as arg.
4113 (breakParagraphConservative): use ParagraphList::insert.
4115 * buffer.C (insertStringAsLines): un-const it
4116 (insertStringAsLines): adjust
4118 * ParagraphList.C (insert): new function
4120 * CutAndPaste.C (pasteSelection): adjust
4122 * text.C (backspace): adjust
4124 * tabular.C (SetMultiColumn): adjust
4126 * CutAndPaste.C (cutSelection): adjust
4127 (pasteSelection): adjust
4129 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4130 Buffer const * as arg
4132 * ParagraphList.C (erase): new function
4133 * paragraph_funcs.C (mergeParagraph): use it
4134 (mergeParagraph): make it take a Buffer* instead of a
4135 BufferParams* as arg
4137 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4139 (breakParagraphConservative): ditto
4141 * paragraph.h: remove the breakParagraph friend
4143 * paragraph.C (eraseIntern): new function
4144 (setChange): new function
4146 * paragraph_funcs.C (mergeParagraph): make it take a
4147 ParagraphList::iterator instead of a Paragraph *, adjust
4150 * paragraph.h: move an #endif so that the change tracking stuff
4151 also works in the NO_NEXT case.
4153 2003-03-04 Angus Leeming <leeming@lyx.org>
4156 * LyXAction.C: new LFUN_INSET_MODIFY.
4158 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4159 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4161 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4163 * several files: ws changes only
4165 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4166 (TeXEnvironment): ditto
4169 * buffer.C (makeLaTeXFile): adjust
4170 (latexParagraphs): make it take ParagraphList::iterator as args
4172 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4174 * buffer.C (latexParagraphs): adjust
4176 * paragraph.C (TeXOnePar): move function...
4177 (optArgInset): move function...
4178 (TeXEnvironment): move function...
4179 * paragraph_pimpl.C (TeXDeeper): move function...
4180 * paragraph_funcs.C: ...here
4182 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4184 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4186 * buffer.C (readInset): remove compability code for old Figure and
4189 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4191 * buffer.C: ws changes
4194 * BufferView_pimpl.C: ditto
4197 * bufferlist.h: ditto
4201 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4203 * converter.[Ch]: split into itself +
4206 * Makefile.am: += graph.[Ch] + format.[Ch]
4213 * lyxrc.C: added #include "format.h"
4215 2003-02-27 Angus Leeming <leeming@lyx.org>
4217 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4220 * factory.C (createInset): add "label" to the factory.
4222 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4223 string and do no more.
4225 2003-02-27 Angus Leeming <leeming@lyx.org>
4228 * LyXAction.C (init):
4229 * factory.C (createInset):
4230 * BufferView_pimpl.C (dispatch):
4231 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4233 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4235 * lyxfunc.C (dispatch):
4236 * text3.C (dispatch): pass name to params2string.
4238 2003-02-26 Angus Leeming <leeming@lyx.org>
4240 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4242 Rearrange the ~includes. Strip out the unnecessary ones.
4244 * factory.C (createInset): reformat.
4245 create new insets for the various LFUN_XYZ_APPLY lfuns.
4247 2003-02-26 John Levon <levon@movementarian.org>
4250 * lyxrow.C: add isParStart,isParEnd helpers
4252 * paragraph.h: make isInserted/DeletedText take refs
4254 * paragraph_funcs.h:
4255 * paragraph_funcs.C: remove #if 0'd code
4260 * text.C: use lyxrow helpers above.
4261 Move draw and paint routines to RowPainter.
4262 Make several methods use refs not pointers.
4263 Make backgroundColor() const.
4264 Add markChangeInDraw(), isInInset().
4265 Merge changeRegionCase into changeCase.
4266 Make workWidth() shouldn't-happen code into an Assert.
4269 * rowpainter.C: new class for painting a row.
4272 * vspace.C: make inPixels take a ref
4274 2003-02-26 Angus Leeming <leeming@lyx.org>
4276 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4279 2003-02-25 John Levon <levon@movementarian.org>
4281 * ispell.C: give the forked command a more accurate name
4283 2003-02-22 John Levon <levon@movementarian.org>
4286 * toc.C: make TocItem store an id not a Paragraph *
4289 2003-02-21 Angus Leeming <leeming@lyx.org>
4291 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4292 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4293 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4294 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4295 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4296 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4298 * BufferView_pimpl.C (dispatch):
4299 * LyXAction.C (init):
4300 * factory.C (createInset):
4301 * lyxfunc.C (getStatus, dispatch):
4302 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4304 2003-02-21 Angus Leeming <leeming@lyx.org>
4306 * BufferView_pimpl.C (MenuInsertLyXFile):
4307 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4308 * lyxfunc.C (menuNew, open, doImport):
4309 no longer pass a LyXView & to fileDlg.
4311 2003-02-21 Angus Leeming <leeming@lyx.org>
4313 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4314 * LyXAction.C: change, BIBKEY to BIBITEM.
4315 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4316 Change InsetBibKey to InsetBibitem.
4317 Change BIBKEY_CODE to BIBITEM_CODE.
4318 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4319 * factory.C: replace insetbib.h with insetbibitem.h.
4320 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4321 * paragraph.C: replace insetbib.h with insetbibitem.h.
4322 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4323 Change bibkey() to bibitem().
4324 * text.C: remove insetbib.h.
4325 * text2.C: replace insetbib.h with insetbibitem.h.
4326 change bibkey() to bibitem().
4327 * text3.C: remove insetbib.h.
4328 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4330 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4332 * lyxrc.C (output): enclose user email in quotes (in case there are
4335 2003-02-18 John Levon <levon@movementarian.org>
4337 * buffer.h: add std::
4339 2003-02-17 John Levon <levon@movementarian.org>
4345 * pspell.C: reworking. Especially in ispell, a large
4346 number of clean ups and bug fixes.
4348 * lyxfunc.C: fix revert to behave sensibly
4350 2003-02-17 André Pönitz <poenitz@gmx.net>
4353 * commandtags.h: new LFUN_INSERT_BIBKEY
4363 * paragraph_func.C: remove special bibkey handling
4365 2003-02-17 John Levon <levon@movementarian.org>
4367 * text.C (Delete): fix case where delete at the end of
4368 the very first paragraph would not merge the pars
4370 2003-02-17 John Levon <levon@movementarian.org>
4372 * lyxrow.C: fix lastPrintablePos()
4374 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4376 * bufferparams.C (writeLaTeX): add a std:here
4378 * buffer.C: and remove a using directive there
4380 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4382 * buffer.C (makeLaTeXFile): move the code that generates the
4385 * bufferparams.C (writeLaTeX): ... in this new method
4387 * LaTeXFeatures.C (getEncodingSet): make const
4388 (getLanguages): make const
4390 * MenuBackend.C (binding): returns the binding associated to this
4392 (add): sets the status of each item by calling getStatus. Adds
4394 (read): add support for OptSubMenu
4395 (expand): remove extra separator at the end of expanded menu
4397 2003-02-15 John Levon <levon@movementarian.org>
4400 * BufferView_pimpl.C:
4402 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4403 inset code that had no actual effect. Remove unneeded status
4406 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4408 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4411 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4413 * text.C (drawLengthMarker): also draw an arrow marker for
4414 symbolic lengths (medskip...)
4416 2003-02-14 John Levon <levon@movementarian.org>
4419 * tabular.C: better method names
4421 2003-02-14 John Levon <levon@movementarian.org>
4423 * BufferView_pimpl.C:
4428 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4429 it's a more accurate name. Remove some pointless uses.
4431 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4433 * text2.C (LyXText): change order of initilizers to shut off
4436 2003-02-14 John Levon <levon@movementarian.org>
4438 * buffer.C: use ParIterator for getParFromID()
4442 * paragraph_pimpl.h:
4443 * paragraph_pimpl.C: remove unused getParFromID()
4445 2003-02-14 John Levon <levon@movementarian.org>
4447 * buffer.C: remove some very old #if 0'd parse code
4449 2003-02-13 John Levon <levon@movementarian.org>
4453 * text2.C: move hfillExpansion(), numberOfSeparators(),
4454 rowLast(), rowLastPrintable(), numberofHfills(),
4455 numberOfLabelHfills() ...
4458 * lyxrow.C: ... to member functions here.
4463 * text.C: remove LyXText::beginningOfMainBody(), and call
4464 p->beginningOfMainBody() directly. Move the check for
4465 LABEL_MANUAL into the latter.
4472 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4478 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4479 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4481 2003-02-13 John Levon <levon@movementarian.org>
4483 * CutAndPaste.C: remove debug
4485 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4487 * paragraph.C (asString): remove two unused variables
4489 * lyxtextclass.C (readTitleType):
4491 (LyXTextClass): handle new members titletype_ and titlename_
4493 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4495 2003-02-09 John Levon <levon@movementarian.org>
4498 * buffer.C: replace hand-coded list with a map for the dep clean
4500 2003-02-08 John Levon <levon@movementarian.org>
4502 * LaTeX.C: consolidate code into showRunMessage() helper
4504 2003-02-08 John Levon <levon@movementarian.org>
4509 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4510 and pass the size in explicitly
4512 * BufferView_pimpl.h:
4513 * BufferView_pimpl.C:
4515 * BufferView.C: add getCurrentChange()
4517 * BufferView_pimpl.h:
4518 * BufferView_pimpl.C: handle change lfuns
4520 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4521 for changes. Mark pasted paragraphs as new.
4523 * support/lyxtime.h:
4524 * support/lyxtime.C:
4525 * DepTable.C: abstract time_t as lyx::time_type
4528 * LColor.C: add colours for new text, deleted text, changebars
4530 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4531 package use "usenames" option.
4535 * LyXAction.C: add change lfuns
4539 * author.C: author handling
4542 * buffer.C: add a per-buffer author list, with first entry as
4543 current author. Handle new .lyx tokens for change tracking. Output
4544 author list to .lyx file. Output dvipost stuff to .tex preamble.
4545 Bump lyx format to 222.
4548 * bufferlist.C: add setCurrentAuthor() to reset current author details
4552 * bufferparams.C: add param for tracking
4554 * bufferview_funcs.C: output change info in minibuffer
4558 * changes.C: add change-tracking structure
4561 * debug.C: add CHANGES debug flag
4564 * lyxfind.C: add code for finding the next change piece
4567 * lyxrc.C: add user_name and user_email
4570 * lyxrow.C: add a metric for the top of the text line
4573 * text.C: implement accept/rejectChange()
4576 * text.C: paint changebars. Paint new/deleted text in the chosen
4577 colours. Strike through deleted text.
4581 * paragraph_pimpl.h:
4582 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4583 in the current change to the insert functions. Rework erase to
4584 mark text as deleted, adding an eraseIntern() and a range-based
4585 erase(). Implement per-paragraph change lookup and
4588 * paragraph_funcs.C: Fixup paste for change tracking.
4590 * tabular.C: mark added row/columns as new.
4592 * text.C: fix rowLast() to never return -1. Don't allow
4593 spellchecking of deleted text. Track transpose changes. Don't
4594 allow paragraph break or merge where appropriate.
4596 * text2.C: leave cursor at end of selection after a cut.
4598 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4600 * text.C (getLengthMarkerHeight):
4601 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4602 visible on screen too.
4604 2003-02-07 John Levon <levon@movementarian.org>
4606 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4608 2003-02-05 Angus Leeming <leeming@lyx.org>
4610 * lyxserver.C (read_ready): revert my patch of 11 September last year
4611 as it sends PC cpu through the roof. Presumably this means that
4612 the lyxserver will no longer run on an Alpha...
4614 2003-01-30 Angus Leeming <leeming@lyx.org>
4616 * factory.C (createInset): create an InsetCommandParam of type "index"
4617 and use it to 'do the right thing'.
4619 * text2.C (getStringToIndex): ensure that cursor position is always
4620 reset to the reset_cursor position.
4622 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4624 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4627 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4631 * lyxfunc.C: Output messages with identical spelling, punctuation,
4634 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4636 * MenuBackend.C (expandFormats): List only viewable export formats
4639 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4642 * lyxfunc.C (getStatus): Make sure that formats other than
4643 "fax" can also be disabled
4645 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4647 * text3.C (dispatch): put the lfuns that insert insets in 3
4648 groups, and call doInsertInset with appropriate arguments.
4649 (doInsertInset): new function, that creates an inset and inserts
4650 it according to some boolean parameters.
4652 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4654 * buffer.C (readFile): remember to pass on 'par' when calling
4655 readFile recursively.
4657 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4659 * MenuBackend.C (expandFormats): add "..." to import formats.
4661 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4663 * paragraph.C (asString): Remove XForms RTL hacks.
4665 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4666 * buffer.C: fix typo
4668 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4670 * Makefile.am (LIBS): delete var
4671 (lyx_LDADD): add @LIBS@ here instead.
4673 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4675 * Clarify the meaning of "wheel mouse jump"
4677 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4679 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4682 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4684 * importer.C (Loaders): do not preallocate 3 elements in the
4685 vector, since one ends up with 6 elements otherwise
4687 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4689 * DepTable.C (write): write the file name as last element of the
4690 .dep file (because it may contain spaces)
4691 (read): read info in the right order
4693 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4695 * paragraph_pimpl.C (simpleTeXBlanks):
4696 (simpleTeXSpecialChars):
4697 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4699 * tabular.C (latex): add some missing case statements. Reindent.
4701 * MenuBackend.C (expandToc): remove unused variable.
4703 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4712 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4715 2003-01-05 John Levon <levon@movementarian.org>
4718 * BufferView.C: add getEncoding()
4721 * kbsequence.C: do not store last keypress
4724 * lyxfunc.C: store last keypress here instead. Pass encoding
4727 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4729 * lyx_main.C (init): remove annoying error message when following
4730 symbolic links (bug #780)
4732 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4734 * text.C (insertChar):
4735 * lyxrc.C (getDescription): remove extra spaces
4737 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4739 * lyxrc.C (getDescription): remove extra spaces
4741 2002-12-20 John Levon <levon@movementarian.org>
4743 * text3.C: hack fix for page up/down across tall rows
4745 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4747 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4750 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4752 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4753 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4754 thesaurus is not compiled in
4756 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4758 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4760 2002-12-16 Angus Leeming <leeming@lyx.org>
4763 * lyx_main.C (init): remove override_x_deadkeys stuff.
4765 2002-12-12 John Levon <levon@movementarian.org>
4767 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4768 insert. Only remove shift modifier under strict
4771 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4773 * MenuBackend.C (expandToc): fix crash.
4775 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4777 * MenuBackend.C (expandToc): gettext on float names.
4779 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4781 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4782 implement bool empty() [bug 490]
4784 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4786 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4788 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4790 * several files: ws changes
4792 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4794 * text2.C (setCounter): clean up a bit, use boost.format.
4795 (updateCounters): initialize par upon declaration.
4797 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4798 if the layout exists. We do not just store the layout any more.
4799 (SwitchLayoutsBetweenClasses): use boost.format
4801 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4803 * converter.C (convert): if from and to files are the same, use a
4804 temporary files as intermediary
4806 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4809 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4811 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4813 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4815 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4817 * tabular.C (asciiPrintCell): use string(size, char) instead of
4820 * sgml.C (openTag): fix order of arguments to string constructor
4823 * lyxfunc.C (dispatch): use boost.format
4825 * lots of files: change "c" -> 'c'
4827 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4829 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4831 2002-11-25 Angus Leeming <leeming@lyx.org>
4833 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4835 * lyx_main.C (init): compile fix.
4837 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4839 * lyx_cb.C (start): boost.formatify
4840 do not include <iostream>
4842 * lengthcommon.C: ws only
4844 * boost-inst.C,BoostFormat.h: add more explict instantations
4846 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4848 * lots of files: handle USE_BOOST_FORMAT
4850 2002-11-21 John Levon <levon@movementarian.org>
4852 * pspell.C: fix compile
4854 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4856 * lyxfunc.C (dispatch): use boost::format
4860 * lyxfont.C (stateText): use boost::format
4862 * lyx_main.C (LyX): use boost::format
4864 (queryUserLyXDir): ditto
4867 (typedef boost::function): use the recommened syntax.
4869 * importer.C (Import): use boost::format
4871 * debug.C (showLevel): use boost::format
4873 * converter.C (view): use boost::format
4878 * bufferview_funcs.C (currentState): use boost::format
4880 * bufferlist.C (emergencyWrite): use boost::format
4882 * buffer.C (readLyXformat2): use boost::format
4883 (parseSingleLyXformat2Token): ditto
4885 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4887 * LaTeX.C (run): use boost::format
4889 * Chktex.C (scanLogFile): use boost::format
4891 * BufferView_pimpl.C (savePosition): use boost::format
4892 (restorePosition): ditto
4893 (MenuInsertLyXFile): ditto
4895 * BoostFormat.h: help file for explicit instation.
4897 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4899 * tabular.C (latex): Support for block alignment in fixed width
4902 2002-11-17 John Levon <levon@movementarian.org>
4904 * BufferView_pimpl.C:
4906 * lyxfunc.C: split filedialog into open/save
4908 2002-11-08 Juergen Vigna <jug@sad.it>
4910 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4911 by my last patch (hopefully).
4913 2002-11-08 John Levon <levon@movementarian.org>
4922 * toc.C: ParConstIterator, and use it (from Lars)
4924 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4926 * lyxtextclass.[Ch]: revise and add doxygen comments
4928 2002-11-07 John Levon <levon@movementarian.org>
4930 * text.C: fix progress value for spellchecker
4932 * toc.C: fix navigate menu for insetwrap inside minipage
4934 * paragraph_funcs.C: added FIXME for suspect code
4936 2002-11-07 John Levon <levon@movementarian.org>
4938 * BufferView_pimpl.C: fix redrawing of insets
4941 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4943 * text2.C (updateCounters): fix bug 668
4945 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4947 * text3.C (dispatch): Do not make the buffer dirty when moving the
4950 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4952 * vc-backend.C: STRCONV
4955 * text2.C (setCounter): STRCONV
4957 * paragraph.C (asString): STRCONV
4959 * lyxlength.C (asString): STRCONV
4960 (asLatexString): ditto
4962 * lyxgluelength.C (asString): STRCONV
4963 (asLatexString): ditto
4965 * lyxfunc.C (dispatch): STRCONV
4968 * lyxfont.C (stateText): STRCONV
4970 * importer.C (Import): STRCONV
4972 * counters.C (labelItem): STRCONV
4973 (numberLabel): ditto
4974 (numberLabel): remove unused ostringstream o
4979 * bufferview_funcs.C (currentState): STRCONV
4981 * buffer.C (readFile): STRCONV
4982 (asciiParagraph): ditto
4983 (makeLaTeXFile): ditto
4985 * Spacing.C (writeEnvirBegin): STRCONV
4987 * LaTeXFeatures.C (getLanguages): STRCONV
4988 (getPackages): ditto
4990 (getBabelOptions): ditto
4991 (getTClassPreamble): ditto
4992 (getLyXSGMLEntities): ditto
4993 (getIncludedFiles): ditto
4997 (scanAuxFile): ditto
5000 * LString.h: add the STRCONV macros
5002 * BufferView_pimpl.C (savePosition): STRCONV
5003 (restorePosition): ditto
5004 (MenuInsertLyXFile): ditto
5006 * vc-backend.C (scanMaster): change from submatch[...] to
5009 * funcrequest.C: include config.h
5011 * factory.C: include config.h
5013 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5015 * box.C: include config.h
5017 * LaTeX.C (scanAuxFile): change from submatch[...] to
5021 2002-10-25 Angus Leeming <leeming@lyx.org>
5023 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5025 * ispell.[Ch] (setError): new method.
5026 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5027 Use setError() insetead of goto END.
5029 * lyx_cb.C (AutoSave): move out child process into new class
5032 2002-10-30 John Levon <levon@movementarian.org>
5034 * text3.C: make start appendix undoable
5036 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5038 * lyxlength.C (inPixels): Fix returned value.
5040 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5043 2002-10-24 Angus Leeming <leeming@lyx.org>
5045 * lyxgluelength.h: no need to forward declare BufferParams
5046 or BufferView, so don't.
5048 2002-10-21 John Levon <levon@movementarian.org>
5050 * BufferView.C: menuUndo ->undo, redo
5052 * BufferView.h: document, remove dead, make some methods private
5054 * paragraph_funcs.h:
5055 * paragraph_funcs.C:
5056 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5061 * sgml.C: move sgml open/close tag into sgml.C
5063 * bufferview_funcs.h: unused prototype
5066 * lyxfunc.C: remove unused
5069 * text.C: remove unused
5071 2002-10-21 John Levon <levon@movementarian.org>
5075 * BufferView_pimpl.h:
5076 * BufferView_pimpl.C: fix mouse wheel handling based on
5077 patch from Darren Freeman
5079 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5081 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5083 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5085 * lyxlength.C (inPixels): Fix hanfling of negative length.
5086 Fix LyXLength::MU case.
5088 2002-10-16 John Levon <levon@movementarian.org>
5090 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5092 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5094 * converter.C (view): add support for $$i (file name) and $$p
5095 (file path) for the viewer command. If $$i is not specified, then
5096 it is appended to the command (for compatibility with old syntax)
5098 2002-10-14 Juergen Vigna <jug@sad.it>
5100 * undo_funcs.C (textHandleUndo): alter the order in which the
5101 new undopar is added to the LyXText, as we have to set first
5102 the right prev/next and then add it as otherwise the rebuild of
5103 LyXText is not correct. Also reset the cursor to the right paragraph,
5104 with this IMO we could remove the hack in "redoParagraphs()".
5106 2002-10-09 Angus Leeming <leeming@lyx.org>
5108 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5109 to turn off an optimisation if a new inset is to be inserted.
5111 2002-10-11 André Pönitz <poenitz@gmx.net>
5113 * lyxtext.h: make some functions public to allow access
5114 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5116 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5118 * text3.C (dispatch): when changing layout, avoid an infinite loop
5121 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5123 * lyxrc.C (read): treat a viewer or converter command of "none" as
5126 * MenuBackend.C (expandFormats): for an update, also allow the
5127 formats that are not viewable
5129 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5130 script if it is newer than the lyxrc.defaults in user directory
5132 2002-10-07 André Pönitz <poenitz@gmx.net>
5134 * text.C: Vitaly Lipatov's small i18n fix
5136 2002-09-25 Angus Leeming <leeming@lyx.org>
5138 * ispell.h: doxygen fix.
5140 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5142 * buffer.h (readFile): Add a new argument to the method, to allow
5143 reading of old-format templates.
5145 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5147 * toc.C (getTocList): Get TOC from InsetWrap.
5149 2002-09-16 John Levon <levon@movementarian.org>
5151 * lyxfunc.C: check tabular for cut/copy too
5153 2002-09-12 John Levon <levon@movementarian.org>
5158 * factory.C: add header
5160 * paragraph_funcs.h:
5161 * paragraph_funcs.C: cleanup
5163 2002-09-11 John Levon <levon@movementarian.org>
5165 * PrinterParams.h: odd/even default to true
5167 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5169 * PrinterParams.h: update printer parameters for new xforms dialog
5171 2002-09-11 Angus Leeming <leeming@lyx.org>
5173 * lyxserver.C (read_ready): re-write to make it more transparent
5174 and to make it work in coherent fashion under Tru64 Unix.
5176 2002-09-11 André Pönitz <poenitz@gmx.net>
5180 * text3.C: implement LFUN_WORDSEL
5182 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5184 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5185 make floatlist_ a boost::shared_ptr<FloatList>
5187 * lyxtextclass.C: include FloatList.h
5188 (LyXTextClass): initialize floatlist_
5189 (TextClassTags): add TC_NOFLOAT
5190 (Read): match "nofloat" to TC_NOFLOAT and use it.
5191 (readFloat): modify call to floatlist_
5195 * FloatList.[Ch] (FloatList): remove commented out float
5197 (erase): new function
5199 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5201 * MenuBackend.C (expandToc): fix crash when there is no document
5204 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5206 * many files: Add insetwrap.
5208 2002-09-09 John Levon <levon@movementarian.org>
5210 * text2.C: remove confusing and awkward depth wraparound
5212 2002-09-09 John Levon <levon@movementarian.org>
5214 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5217 * buffer.C: remove getIncludeonlyList()
5220 * lyxfunc.C: remove headers
5222 2002-09-09 Juergen Vigna <jug@sad.it>
5224 * text.C (getColumnNearX): fix form Michael this is most
5225 probably a cut&paste bug.
5227 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5229 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5231 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5232 references, ws changes.
5234 * text2.C (init): update counters after init
5235 (insertParagraph): no need to set counter on idividual paragraphs.
5236 (setCounter): access the counters object in the textclass object
5237 on in the buffer object.
5238 (updateCounters): ditto
5240 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5241 shared_ptr<Counters> to avoid loading counters.h in all
5243 (LyXTextClass): initialize ctrs_
5244 (TextClassTags): add TC_COUNTER, and ...
5245 (Read): use it here.
5246 (CounterTags): new tags
5247 (readCounter): new function
5248 (counters): new funtion
5249 (defaultLayoutName): return a const reference
5251 * counters.C (Counters): remove contructor
5252 (newCounter): remove a couple of unneeded statements.
5253 (newCounter): simplify a bit.
5254 (numberLabel): some small formatting changes.
5256 * buffer.[Ch]: remove all traces of counters, move the Counters
5257 object to the LyXTextClass.
5259 2002-09-06 Alain Castera <castera@in2p3.fr>
5261 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5262 package to set the horizontal alignment on fixed width columns.
5265 * lyx_sty.h: added tabularnewline macro def.
5267 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5269 2002-09-06 John Levon <levon@movementarian.org>
5271 * LyXAction.C: tooltips for sub/superscript
5273 * MenuBackend.C: a bit more verbose
5275 * lyxfunc.C: tiny clean
5277 * undo_funcs.C: document undo_frozen
5279 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5281 * counters.C (Counters): add missing algorithm counter.
5283 * text2.C (setCounter): lookup the counter with layouts latexname
5284 instead of by section number.
5285 (setCounter): use a hackish way to lookup the correct enum
5287 a float name->type change
5288 reset enum couners with counter name directly instead of depth value.
5290 * counters.C (Counters): remove the push_backs, change to use the
5291 float type not the float name.
5292 (labelItem): remove unused string, float name->type change
5294 * counters.h: don't include vector, loose the enums and sects vectors
5296 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5298 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5299 (Read): add float->TC_FLOAT to textclassTags
5300 (Read): and handle it in the switch
5301 (readFloat): new function
5303 * FloatList.C (FloatList): comment out the hardcoded float
5306 * lyxlayout.h: ws change.
5308 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5310 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5312 2002-09-03 Angus Leeming <leeming@lyx.org>
5314 * BufferView_pimpl.h: qualified name is not allowed in member
5315 declaration: WorkArea & Pimpl::workarea() const;
5317 * factory.C: added using std::endl directive.
5319 * text3.C: added using std::find and std::vector directives.
5321 2002-08-29 André Pönitz <poenitz@gmx.net>
5324 * text2.C: remove unused member number_of_rows
5327 * BufferView2.C: remove file, move contents to...
5328 * BufferView.C: ... here
5330 * BufferView_pimpl.C:
5331 * factory.C: move more inset creation to factory
5333 * vspace.C: avoid direct usage of LyXText, ws changes
5336 don't provide direct access to WorkArea, use two simple
5337 acessors haveSelction() and workHeight() instead
5340 2002-08-29 John Levon <levon@movementarian.org>
5342 * BufferView_pimpl.C (dispatch): do not continue when
5345 2002-08-28 André Pönitz <poenitz@gmx.net>
5347 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5350 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5352 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5354 * buffer.C: increment LYX_FORMAT to 221
5356 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5357 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5359 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5361 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5363 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5365 * factory.C (createInset): use LyXTextClass::floats
5367 * MenuBackend.C (expandFloatListInsert):
5368 (expandFloatInsert):
5371 * text2.C (setCounter):
5373 * LaTeXFeatures.C (useFloat):
5374 (getFloatDefinitions):
5376 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5378 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5379 floatlist_, with accessor floats().
5381 * FloatList.h: remove global FloatList
5383 2002-08-26 André Pönitz <poenitz@gmx.net>
5385 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5389 * BufferView_pimpl.C:
5390 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5392 2002-08-25 John Levon <levon@movementarian.org>
5394 * LyXAction.C: fix margin note description
5396 2002-08-24 John Levon <levon@movementarian.org>
5400 * bufferview_funcs.C:
5402 * undo_funcs.C: cleanups
5404 * lyxfunc.C: disable CUT/COPY when no selection
5406 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5408 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5409 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5411 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5412 Add backward compatibility to "mono", "gray" and "no".
5414 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5416 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5417 (and file_format >= 200).
5419 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5421 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5423 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5425 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5427 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5429 * BufferView_pimpl.C:
5436 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5437 inset and code to make it work with the paragraph code. The inset
5438 can be anywhere in the paragraph, but will only do the expected
5439 thing in LaTeX if the layout file contains the parameter line
5441 (or more generally, a nonzero value) for that layout.
5443 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5445 * paragraph.h: remove the declaration of undefined counters class
5448 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5450 * text2.C (setCounter): fixed enumeration mis-count as reported by
5451 Dr. Richard Hawkins.
5453 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5455 * paragraph_funcs.h: remove some unneeded includes
5457 * text.C (backspace): pasteParagraph now in global scipe
5459 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5460 (pasteSelection): ditto
5462 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5463 * paragraph_funcs.C (pasteParagraph): ... here
5465 2002-08-20 André Pönitz <poenitz@gmx.net>
5467 * commandtags.h: new LFUNs for swapping/copying table row/colums
5470 * lyxfunc.C: support for new lfuns
5472 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5475 * buffer.[Ch]: remove NO_COMPABILITY stuff
5477 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5479 * boost.C (throw_exception): new file, with helper function for
5480 boost compiled without exceptions.
5485 * ParameterStruct.h:
5486 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5488 * bufferlist.C (emergencyWriteAll): use boost bind
5490 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5492 * text.C: include paragraph_funcs.h
5493 (breakParagraph): breakParagraph is now in global scope
5495 * paragraph_funcs.[Ch]: new files
5497 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5500 * buffer.C: include paragraph_funcs.h
5501 (insertStringAsLines): breakParagraph is now in global scope
5503 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5506 * CutAndPaste.C: include paragraph_funcs.h
5507 (cutSelection): breakParagraphConservative is now in global scope
5508 (pasteSelection): ditto
5510 * buffer.h: declare oprator== and operator!= for
5511 Buffer::inset_iterator
5513 * bufferlist.C (emergencyWrite): don't use fmt(...)
5515 * text3.C: add using std::endl
5517 * BufferView.C (moveCursorUpdate): remove default arg
5519 2002-08-20 André Pönitz <poenitz@gmx.net>
5521 * buffer.[Ch]: move inline functions to .C
5524 * BufferView_pimpl.C:
5526 * buffer.[Ch]: use improved inset_iterator
5529 * paragraph.[Ch]: write one paragraph at a time
5531 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5533 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5534 style if style is not specified.
5536 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5538 * text2.C (setCounter): when searching for right label for a
5539 caption, make sure to recurse to parent insets (so that a caption
5540 in a minipage in a figure float works) (bug #568)
5542 2002-08-20 André Pönitz <poenitz@gmx.net>
5544 * text3.C: new file for LyXText::dispatch() and helpers
5546 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5548 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5550 2002-08-19 André Pönitz <poenitz@gmx.net>
5553 * text.C: new LyXText::dispatch()
5555 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5557 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5559 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5561 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5564 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5566 * Makefile.am: use $(variables) instead of @substitutions@
5568 2002-08-15 André Pönitz <poenitz@gmx.net>
5571 * BufferView_pimpl.C: streamlining mathed <-> outer world
5575 * LyXAction.C: remove unused LFUN_MATH
5577 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5579 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5581 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5583 * paragraph.C (Paragraph): reformat a bit
5584 (cutIntoMinibuffer): use builtin InsetList function instad of
5588 * buffer.C: include boost/bind.hpp, add using std::for_each
5589 (writeFileAscii): use ParagraphList iterators
5590 (validate): use for_each for validate traversal of paragraphs
5591 (getBibkeyList): use ParagraphList iterators
5592 (resizeInsets): use for_each to resizeInsetsLyXText for all
5594 (getParFromID): use ParagraphList iterators
5596 * BufferView2.C (lockInset): use paragraph list and iterators
5598 2002-08-14 John Levon <levon@movementarian.org>
5600 * lyxserver.C: remove spurious xforms include
5602 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5604 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5606 2002-08-13 André Pönitz <poenitz@gmx.net>
5609 * lyxfunc.C: further cleaning
5611 2002-08-13 André Pönitz <poenitz@gmx.net>
5613 * funcrequest.h: new constructor
5615 * funcrequest.C: move stuff here from .h
5618 * BufferView_pimpl.C:
5621 * lyxfunc.C: subsequent changes
5623 * lyxfunc.h: new view() member function
5625 * lyxfunc.C: subsequent changes
5627 2002-08-13 Angus Leeming <leeming@lyx.org>
5630 * BufferView_pimpl.C:
5638 changes due to the changed LyXView interface that now returns references
5639 to member variables not pointers.
5641 2002-08-13 Angus Leeming <leeming@lyx.org>
5643 * WordLangTuple (word, lang_code): return references to strings,
5648 * lyxtext.h: forward-declare WordLangTuple.
5653 * text.C: #include "WordLangTuple.h".
5656 * text.C: (selectNextWordToSpellcheck): constify return type.
5658 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5664 * paragraph_pimpl.h:
5667 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5669 Made updateCounter always count from start of buffer, and removed
5670 second argument (par).
5671 Reverted floats number display to '#'. Perhaps I'll try again when the
5672 code base is sanitized a bit.
5674 2002-08-12 Angus Leeming <leeming@lyx.org>
5676 * buffer.[Ch] (getLabelList): constify.
5678 2002-08-07 André Pönitz <poenitz@gmx.net>
5680 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5682 * funcrequest.h: extension to keep mouse (x,y) position
5684 2002-08-12 Juergen Vigna <jug@sad.it>
5686 * BufferView2.C (insertErrors): forbid undo when inserting error
5689 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5691 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5693 * ParagraphList.[Ch]: new files
5695 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5697 * BufferView2.C (lockInset): ParagraphList changes
5700 * bufferlist.C: ditto
5704 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5706 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5707 unused class variable counter_,
5709 * paragraph.[Ch] (getFirstCounter): delete unused function
5711 * counters.C: include LAssert.h
5712 (reset): add a new function with no arg, change other version to
5713 not have def. arg and to not allow empty arg.
5715 * text2.C (setCounter): remove empty arg from call to Counters::reset
5717 2002-08-11 John Levon <levon@movementarian.org>
5719 * Makefile.am: add WordLangTuple.h
5721 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5723 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5724 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5726 * insets/insettext.C: InsetList changes
5728 * graphics/GraphicsSupport.C (operator()): InsetList changes
5730 * toc.C (getTocList): InsetList changes
5732 * paragraph_pimpl.[Ch]: InsetList changes
5734 * paragraph.[Ch]: InsetList changes
5736 * buffer.C (inset_iterator): InsetList changes
5737 (setParagraph): ditto
5738 * buffer.h (inset_iterator): ditto
5739 * iterators.C (operator++): ditto
5740 * iterators.h: ditto
5742 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5744 * InsetList.[Ch]: new files, most InsetList handling moved out of
5747 * BufferView2.C (removeAutoInsets): InsetList changes
5749 (ChangeInsets): ditto
5751 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5753 * paragraph_pimpl.h (empty): new function
5755 * paragraph.[Ch] (empty): new function
5757 * other files: use the new Paragraph::empty function
5759 2002-08-09 John Levon <levon@movementarian.org>
5761 * lyxtext.h: remove unused refresh_height
5763 2002-08-09 John Levon <levon@movementarian.org>
5770 * paragraph.C: move sgml char escaping out of paragraph
5773 * paragraph.C: remove id setter
5777 * paragraph_pimpl.C: remove dead tex_code_break_column
5779 * bufferview_funcs.C: small cleanup
5781 * lyxfunc.C: remove dead proto
5783 * lyxtext.h: make some stuff private. Remove some dead stuff.
5785 * lyxgluelength.C: make as[LyX]String() readable
5787 2002-08-08 John Levon <levon@movementarian.org>
5792 * ToolbarDefaults.C:
5795 * toc.C: lyxaction cleanup
5797 2002-08-08 John Levon <levon@movementarian.org>
5799 * BufferView2.C: small cleanup
5802 * lyxfind.C: move unnecessary header into the .C
5804 2002-08-08 John Levon <levon@movementarian.org>
5806 * funcrequest.h: just tedious nonsense
5809 * lyx_main.C: cleanups
5812 * vspace.C: remove dead header lyx_main.h
5814 2002-08-07 Angus Leeming <leeming@lyx.org>
5817 * paragraph_pimpl.h:
5818 Forward declare class Counters in paragraph.h by moving the ctrs member
5819 variable into Paragraph::Pimpl.
5820 (counters): new method, returning a reference to pimpl_->ctrs.
5822 * text2.C: ensuing changes.
5824 2002-08-07 John Levon <levon@movementarian.org>
5826 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5828 * BufferView_pimpl.C: announce X selection on double/triple
5831 * lyx_main.C: use correct bool in batch dispatch
5833 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5835 2002-08-07 André Pönitz <poenitz@gmx.net>
5837 * funcrequest.h: new class to wrap a kb_action and its argument
5840 * BufferView_pimpl[Ch]:
5844 * lyxrc.C: subsequent changes
5847 2002-08-07 John Levon <levon@movementarian.org>
5849 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5850 document options change.
5852 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5857 * makefile.am: move counters functionality over from
5858 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5860 2002-08-06 John Levon <levon@movementarian.org>
5862 * WordLangTuple.h: new file for word + language code tuple
5873 * BufferView2.C: use WordLangTuple
5876 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5878 2002-08-06 John Levon <levon@movementarian.org>
5880 * lyx_main.C: fix cmdline batch handling
5882 2002-08-06 André Pönitz <poenitz@gmx.net>
5884 * lyxrc.C: set default for show_banner to true
5886 2002-08-06 John Levon <levon@movementarian.org>
5888 * pspell.C: fix a crash, and allow new aspell to work
5890 2002-08-06 John Levon <levon@movementarian.org>
5893 * kbmap.C: small cleanup
5896 * vspace.C: add const
5898 2002-08-05 John Levon <levon@movementarian.org>
5900 * LyXAction.C: back to tabular-insert
5902 2002-08-04 John Levon <levon@movementarian.org>
5905 * BufferView.C: cosmetic change
5907 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5917 * BufferView2.C: purge all "Lyx" not "LyX" strings
5920 * lyxcursor.C: attempt to add some documentation
5925 * ToolbarDefaults.C:
5926 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5927 merge with LFUN_TABULAR_INSERT
5934 * pspell.C: split up i/pspell implementations into separate
5935 files, many cleanups
5937 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5939 * text2.C: some cleanup
5941 * lyxfunc.C: don't check for isp_command == "none" any more, it
5942 didn't make any sense
5944 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5949 * makefile.am: move counters functionality over
5950 from text2.C/paragraph.[Ch] to counters.[Ch], and
5952 2002-08-02 John Levon <levon@movementarian.org>
5954 * buffer.C: s/lyxconvert/lyx2lyx/
5956 2002-08-02 Angus Leeming <leeming@lyx.org>
5958 * lyxlex.C: revert John's change as it breaks reading of the user
5961 2002-08-02 Angus Leeming <leeming@lyx.org>
5963 * importer.C (Import):
5964 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5965 changes due to LyXView::view() now returning a boost::shared_ptr.
5967 2002-08-02 John Levon <levon@movementarian.org>
5969 * lyxlex.C: small cleanup
5971 2002-08-02 John Levon <levon@movementarian.org>
5973 * text2.C (status): small cleanup, no logic change
5975 2002-08-01 John Levon <levon@movementarian.org>
5978 * buffer.C (writeFile): don't output alerts, caller
5982 * lyx_cb.C: from above
5984 * lyxfunc.C: allow to open non-existent files
5986 2002-07-31 John Levon <levon@movementarian.org>
5988 * lyxserver.C: don't let incidental errors get
5991 2002-07-30 John Levon <levon@movementarian.org>
5993 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5995 2002-07-30 John Levon <levon@movementarian.org>
5998 * lyxserver.C: remove I/O callback too
6000 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6002 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6005 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6007 * many files: strip,frontStrip -> trim,ltrim,rtrim
6009 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6011 * PrinterParams.h: remove extern containsOnly, and include
6012 support/lstrings.h instead.
6014 * LaTeX.C (scanAuxFile): modify because of strip changes
6016 * buffer.C (makeLaTeXFile): ditto
6017 * bufferparams.C (writeFile): ditt
6018 * lyxfont.C (stateText): ditto
6019 * lyxserver.C (read_ready): ditto
6020 * vc-backend.C (scanMaster): ditto
6022 * BufferView_pimpl.h: ws changes
6024 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6026 2002-07-26 André Pönitz <poenitz@gmx.net>
6028 * kb_sequence.C: remove unnedred usings
6030 2002-07-26 Juergen Vigna <jug@sad.it>
6032 * lyxfind.C (LyXReplace): we have to check better if the returned
6033 text is not of theLockingInset()->getLockingInset().
6035 2002-07-25 Juergen Vigna <jug@sad.it>
6037 * lyxfind.C (LyXReplace): don't replace if we don't get the
6040 * undo_funcs.C (createUndo): remove debugging code.
6042 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6044 * buffer.C (parseSingleLyXformat2Token): Use default placement
6045 when reading old floats.
6047 * FloatList.C (FloatList): Change the default placement of figure
6048 and tables to "tbp".
6050 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6052 * MenuBackend.C: using std::max
6054 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6056 * MenuBackend.C (expandToc):
6057 (expandToc2): code moved from xforms menu frontend. It is now
6058 generic and TOCs are transparent to menu frontends.
6060 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6062 * toc.C (getTocList): protect against buf=0
6064 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6065 Menu as first parameter. Now, this calls itself recursively to
6066 expand a whole tree (this will be useful for TOC handling)
6067 (expandFloatInsert): remove 'wide' version of floats
6069 * MenuBackend.h (submenuname): returns the name of the submenu.
6070 (submenu): returns the submenu itself, provided it has been
6071 created by MenuBackend::expand
6073 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6075 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6076 insets which have noFontChange == true. (bug #172)
6078 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6080 * BufferView_pimpl.C: add connection objects and use them...
6083 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6085 * MenuBackend.C (expandLastfiles):
6088 (expandFloatListInsert):
6089 (expandFloatInsert):
6090 (expand): split expand in parts
6092 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6094 * lyx_gui.C: use lyx_gui::exit()
6096 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6098 * LyXAction.C: show the failing pseudo action
6100 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6102 * buffer.C (readFile): Run the lyxconvert script in order to read
6105 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6109 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6111 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6115 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6117 2002-07-22 Herbert Voss <voss@lyx.org>
6120 * lyxlength.[Ch]: add support for the vertical lengths
6122 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6124 * toc.[Ch]: std:: fixes
6126 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6128 * lyxrc.C: do not include lyx_main.h
6130 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6136 * BufferView2.C: include "lyxlex.h"
6139 * bufferparams.h: do not #include "lyxlex.h"
6141 * lyxtextclasslist.C (Add): remove method
6142 (classlist): renamed to classlist_
6144 * paragraph_pimpl.C:
6148 * bufferview_funcs.C:
6153 * toc.C (getTocList): use BufferParams::getLyXTextClass
6155 * toc.C (getTocList): use InsetFloat::addToToc
6157 * toc.[Ch]: new files, containing helper functions to handle table
6160 * lyxfunc.C (dispatch): no need to remove spaces around command
6162 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6163 first command of the sequence; it is not very clever, but I do not
6164 have a better idea, actually
6166 * LyXAction.C (LookupFunc): make sure to remove space at the
6167 beginning and end of the command
6169 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6171 * MenuBackend.C (getMenubar): new method: return the menubar of
6173 (read): treat differently reading of menu and menubar (in
6174 particular, the menubar has no name now)
6175 (Menu::menubar): remove
6177 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6180 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6182 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6183 a bibitem inset in a RTL paragraph.
6185 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6187 * paragraph_pimpl.C: constify
6189 * BufferView_pimpl.C:
6191 * lyxfunc.C: fix dispatch in a nicer way
6193 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6195 * lyxfunc.C (dispatch):
6196 * BufferView_pimpl.C:
6197 * BufferView_pimpl.h:
6199 * BufferView.h: rename Dispatch() to dispatch()
6201 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6203 * lyxlayout.C (Read): honor DependsOn tag
6205 * lyxlayout.[Ch] (depends_on): new method
6207 * version.C.in: update lyx_docversion
6209 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6211 * paragraph.C (validate): remove from here...
6212 * paragraph_pimpl.C (validate): ... and move here
6213 (isTextAt): make it const
6215 * buffer.C (getLists): ws cleanup
6217 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6219 * language.C (read): Use iso8859-1 encoding in latex_lang
6220 (this prevents LyX from crashing when using iso10646-1 encoding).
6222 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6224 * text2.C (toggleInset): if cursor is inside an inset, close the
6225 inset and leave cursor _after_ it
6227 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6229 * lyxfunc.C: move minibuffer completion handling out of here
6231 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6233 * BufferView_pimpl.C:
6234 * LaTeX.C: fix dispatch calls
6236 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6238 * text.C (drawChars): Fix Arabic text rendering.
6240 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6244 * lyxfunc.C: remove message-push/pop
6248 * lyxfunc.C: rationalise some code by removing verboseDispatch
6249 in favour of a bool argument to dispatch()
6251 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6253 * lyx_main.C (init): make sure to read symlinks as absolute paths
6255 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6258 * lyxfunc.C: no need for commandshortcut to be a member
6260 2002-07-15 André Pönitz <poenitz@gmx.net>
6262 * converter.C: add support for $$s (scripts from lib/scripts dir)
6263 * lyx_main.C: white space
6265 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6269 * lyxrc.C: remove second exit confirmation
6271 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6276 * BufferView_pimpl.h:
6277 * BufferView_pimpl.C:
6278 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6280 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6282 * MenuBackend.C (expand): add numeric shortcuts to document menu
6284 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6286 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6288 * lyxfont.C (setLyXFamily):
6295 * buffer.C (asciiParagraph): use ascii_lowercase
6297 2002-07-15 Mike Fabian <mfabian@suse.de>
6299 * lyxlex_pimpl.C (search_kw):
6300 * lyxlex.C (getLongString):
6301 * converter.h (operator<):
6302 * converter.C (operator<):
6303 * buffer.C (parseSingleLyXformat2Token):
6305 * ToolbarDefaults.C (read):
6306 * MenuBackend.C (checkShortcuts):
6308 * LColor.C (getFromGUIName):
6309 (getFromLyXName): use the compare_ascii_no_case instead of
6310 compare_no_case, because in turkish, 'i' is not the lowercase
6311 version of 'I', and thus turkish locale breaks parsing of tags.
6313 2002-07-16 Angus Leeming <leeming@lyx.org>
6315 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6316 now takes a Buffer const & argument.
6318 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6320 * BufferView.C (resize): check there's a buffer to resize
6322 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6324 * lyxfunc.C: remove dead code
6327 * lyxserver.C: use lyx_guii::set_read_callback
6329 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6331 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6332 an inset in a RTL paragraph.
6334 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6336 * lyxfunc.C: repaint after a font size update
6338 2002-07-15 André Pönitz <poenitz@gmx.net>
6340 * lyxlength.C: inBP should be able to return negative values
6342 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6344 * lyxfunc.C: use lyx_gui::update_fonts()
6346 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6348 * lyxfunc.C: use lyx_gui::update_color()
6350 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6356 * lyxrc.C: remove file->new asks for name option, and let
6357 buffer-new take an argument
6359 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6361 * BufferView_pimpl.C: remove unneeded extra repaint()
6363 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6365 * LyXAction.C: allow command-sequence with NoBuffer
6367 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6369 2002-07-10 Angus Leeming <leeming@lyx.org>
6371 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6373 2002-07-09 Angus Leeming <leeming@lyx.org>
6375 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6377 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6379 * lengthcommon.h: whitespace
6381 * lyxfunc.C: update scrollbar after goto paragraph
6383 * lyxtext.h: factor out page break drawing, and fix it so
6384 page break/added space paints as selected nicely
6386 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6388 * BufferView_pimpl.C: add FIXMEs, clean up a little
6390 2002-07-09 André Pönitz <poenitz@gmx.net>
6392 * lyxfont.[Ch]: support for wasy symbols
6394 2002-07-08 André Pönitz <poenitz@gmx.net>
6396 * BufferView_pimpl.C: apply John's patch for #93.
6398 2002-07-05 Angus Leeming <leeming@lyx.org>
6400 * BufferView_pimpl.C (buffer): generate previews if desired.
6402 * LColor.h: add "preview" to the color enum.
6404 * LColor.C (LColor): add a corresponding entry to the items array.
6406 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6409 2002-07-05 Angus Leeming <leeming@lyx.org>
6411 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6412 The body of the code is now in the method that is passed an ostream &
6413 rather than a file name.
6414 Pass an additional only_preamble parameter, useful for the forthcoming
6417 2002-07-03 André Pönitz <poenitz@gmx.net>
6419 * lyxfunc.C: simplify getStatus() a bit for math stuff
6421 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6423 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6425 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6427 * text.C (changeRegionCase): do not change case of all the
6428 document when region ends at paragraph end (bug #461)
6430 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6432 * paragraph.C (startTeXParParams):
6433 (endTeXParParams): add \protect when necessary
6435 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6437 * BufferView_pimpl.C (workAreaExpose): remove warning
6439 2002-06-27 Angus Leeming <leeming@lyx.org>
6441 * Makefile.am: add lyxlayout_ptr_fwd.h.
6443 2002-06-26 André Pönitz <poenitz@gmx.net>
6445 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6447 2002-06-25 Angus Leeming <leeming@lyx.org>
6449 * lyxfunc.C (dispatch): Comment out the call to
6450 grfx::GCache::changeDisplay. The method no longer exists now that the
6451 pixmap generation part of the graphics loader has been moved into
6454 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6456 * text2.C: layout as layout
6458 * text.C: layout as layout
6460 * tabular.C (OldFormatRead): layout as layout
6462 * paragraph_pimpl.C (TeXDeeper): layout as layout
6463 (realizeFont): layout as layout
6465 * paragraph.C (writeFile): layout as layout
6466 (validate): layout as layout
6467 (getFont): layout as layout
6468 (getLabelFont): layout as layout
6469 (getLayoutFont): layout as layout
6470 (breakParagraph): layout as layout
6471 (stripLeadingSpaces): layout as layout
6472 (getEndLabel): layout as layout
6473 (getMaxDepthAfter): layout as layout
6474 (applyLayout): layout as layout
6475 (TeXOnePar): layout as layout
6476 (simpleTeXOnePar): layout as layout
6477 (TeXEnvironment): layout as layout
6478 (layout): layout as layout
6479 (layout): layout as layout
6481 * lyxtextclass.C (compare_name): new functor to work with
6482 shared_ptr, layout as layout
6483 (Read): layout as layout
6484 (hasLayout): layout as layout
6485 (operator): layout as layout
6486 (delete_layout): layout as layout
6487 (defaultLayout): layout as layout
6489 * lyxlayout_ptr_fwd.h: new file
6491 * lyxlayout.C (Read): layout as layout
6493 * lyx_cb.C (MenuInsertLabel): layout as layout
6495 * bufferlist.C (newFile): layout as layout
6497 * buffer.C (readLyXformat2): layout as layout
6498 (parseSingleLyXformat2Token): layout as layout
6499 (insertStringAsLines): layout as layout
6500 (asciiParagraph): layout as layout
6501 (latexParagraphs): layout as layout
6502 (makeLinuxDocFile): layout as layout
6503 (simpleLinuxDocOnePar): layout as layout
6504 (makeDocBookFile): layout as layout
6505 (simpleDocBookOnePar): layout as layout
6506 (getLists): layout as layout
6508 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6510 * CutAndPaste.C (cutSelection): layout as layout
6511 (pasteSelection): layout as layout
6512 (SwitchLayoutsBetweenClasses): layout as layout
6514 * BufferView_pimpl.C (Dispatch): layout as layout
6515 (smartQuote): layout as layout
6517 * BufferView2.C (unlockInset): layout as layout
6519 2002-06-24 André Pönitz <poenitz@gmx.net>
6521 * lyxfunc.C: fix #487
6523 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6527 * lyxfunc.C: remove display_shortcuts, show_banner
6529 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6531 * Buffer_pimpl.C: oops, update on resize
6533 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6540 * BufferView.C: use repaint()
6542 * BufferView_pimpl.h:
6543 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6544 as it's a clearer description. Remove superfluous
6547 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6549 * text.C: fix bug 488. Not ideal, but getting
6550 getWord() to work properly for the insets that
6551 matter is more difficult ...
6553 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6555 * BufferView_pimpl.C:
6558 * lyxfunc.C: remove the six million index lyxfuncs to just
6559 one, and DTRT (bug 458)
6561 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6565 * BufferView_pimpl.h:
6566 * BufferView_pimpl.C: clean up resize() stuff,
6567 and unnecessary updateScreen()s
6569 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6573 * BufferView_pimpl.h:
6574 * BufferView_pimpl.C:
6577 * minibuffer.C: remove focus management of workarea,
6578 not needed. Use screen's greyOut()
6580 2002-06-17 Herbert Voss <voss@lyx.org>
6582 * converter.C: (convert) do not post a message, when converting
6583 fails, let the calling function decide what to do in this case
6585 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6587 * lyxfunc.C: tidy up a little
6589 2002-06-16 <alstrup@diku.dk>
6591 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6592 Got rid of FORMS_H_LOCATION include. Now we are
6595 2002-06-15 LyX Development team <lyx@rilke>
6597 * buffer.[Ch] (sgmlOpenTag):
6598 (sgmlCloseTag): Added support for avoiding pernicious mixed
6599 content. Return number of lines written.
6602 (makeDocBookFile): Fixed calls to sgml*Tag.
6603 Simple white space clean.
6605 (simpleDocBookOnePar): Simple white space clean.
6607 * tabular.[Ch] (docBook): Renamed to docbook and got another
6608 argument to related with the pernicious mixed content.
6610 (docbookRow): Fixed calls for docbook inset method.
6612 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6614 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6615 so it's X11 independent.
6619 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6621 2002-06-15 Lyx Development team <lyx@electronia>
6623 * intl.h: Renamed getTrans to getTransManager.
6625 2002-06-14 Angus Leeming <leeming@lyx.org>
6627 * Makefile.am: nuke forgotten stl_string_fwd.h.
6629 2002-06-12 Angus Leeming <leeming@lyx.org>
6631 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6633 2002-06-13 Angus Leeming <leeming@lyx.org>
6636 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6638 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6640 * kbmap.C (getiso): add support for cyrillic and greek
6642 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6646 * BufferView_pimpl.h:
6647 * BufferView_pimpl.C: move bogus scrolling logic
6650 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6653 * BufferView_pimpl.C: view->resize() change
6655 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6657 * BufferView_pimpl.C: topCursorVisible
6660 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6664 * lyx_gui.C: move to frontends/
6668 * lyx_main.C: changes from above
6670 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6677 * lyx_main.C: minor tidy
6679 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6681 * BufferView_pimpl.h:
6682 * BufferView_pimpl.C:
6684 * BufferView.C: make painter() const,
6687 * BufferView2.C: use screen() accessor
6690 * lyx_main.C: some minor cleanup
6692 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6694 * BufferView_pimpl.h:
6695 * BufferView_pimpl.C: remove enter/leaveView,
6698 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6703 * BufferView_pimpl.h:
6704 * BufferView_pimpl.C: only construct screen once,
6707 * lyxrc.C: remove pointless comment
6709 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6712 * BufferView.C: remove active() and belowMouse()
6714 * BufferView_pimpl.h:
6715 * BufferView_pimpl.C: use workarea() not workarea_,
6716 and make it use a scoped_ptr instead
6718 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6720 * lyx_gui.C: add debug message on BadWindow
6722 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6724 * sp_spell.C: fdopen is not part of the C++ standard.
6726 * paragraph.C (InsetIterator): use >= instead of ==
6728 2002-06-07 Angus Leeming <leeming@lyx.org>
6730 Fixes needed to compile with Compaq cxx 6.5.
6731 * BufferView_pimpl.C:
6738 * lyxtextclasslist.C:
6743 all c-library variables have been moved into namespace std. Wrap
6744 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6749 Add a using std::abs declaration.
6751 * kbmap.h (modifier_pair):
6752 * paragraph.h (InsetTable, InsetList):
6753 * lyxfont.h (FontBits):
6754 type definition made public.
6756 * bufferlist.C (emergencyWriteAll): the compiler complains that
6757 there is more than one possible lyx::class_fun template to choose from.
6758 I re-named the void specialisation as lyx::void_class_fun.
6760 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6762 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6763 the compiler is is unable to find tostr in write_attribute.
6765 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6767 * buffer.C (sgmlError): hide #warning
6769 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6771 * xtl/*: get rid of xtl, which is not in use anyway
6773 * LyXAction.C (init):
6774 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6775 were unimplemented xtl experimentation
6777 2002-06-04 André Pönitz <poenitz@gmx.net>
6779 * lyxfunc.C: disable array operation on simple formulae
6781 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6783 * converter.C: constify a bit
6785 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6787 * lyx_gui.C: check xforms version correctly
6789 2002-04-30 Herbert Voss <voss@lyx.org>
6791 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6794 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6796 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6797 attempt to register it with a VCS)
6799 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6801 * lyx_main.C (init): honor variables LYX_DIR_13x and
6804 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6808 * lyx_main.C: fix a crash on bad command line,
6809 and give a useful exit status on error
6811 * lyxfunc.C (doImport): allow -i lyx to work
6813 2002-03-30 André Pönitz <poenitz@gmx.net>
6815 * lyxfunc.C: mathed font changes
6817 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6832 * trans_mgr.h: srcdocs, and some minor cleanups
6834 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6836 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6837 call getFont all the time)
6839 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6841 * switch from SigC signals to boost::signals
6843 2002-05-29 André Pönitz <poenitz@gmx.net>
6845 * paragraph_pimpl.C (getChar): don't call size() too often...
6847 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6849 * paragraph_pimpl.C (insertChar): do not try to update tables when
6850 appending (pos == size())
6852 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6853 in order to reduce drastically the number of comparisons needed to
6854 parse a large document
6856 2002-05-29 André Pönitz <poenitz@gmx.net>
6862 * textclasslist.[Ch]:
6863 * sp_ispell.h: whitespace change
6865 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6867 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6868 lyxaction directly now.
6870 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6874 * lyxvc.C: remove unused headers
6876 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6883 * undo_funcs.C: some cleanups. Use shared_ptr
6884 and a template for the undo stacks.
6886 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6888 * BufferView_pimpl.h:
6889 * BufferView_pimpl.C:
6896 * text2.C: use key_state/mouse_state
6898 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6900 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6903 * chset.C: change include order
6904 (loadFile): use boost regex and get rid of LRegex and LSubstring
6906 * Makefile.am (BOOST_LIBS): new variable
6909 * LaTeX.C: change include order.
6910 (scanAuxFile): use boost regex and get rid of LRegex and
6914 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6919 * FontInfo.C: moved to frontends/xforms/
6922 * FontLoader.C: moved into frontends for GUIIzation
6927 * lyxfunc.C: changes from above
6929 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6931 * LColor.C: remove spurious X include
6933 * BufferView_pimpl.C:
6938 * text2.C: move font metrics to frontends/
6940 2002-05-24 Juergen Vigna <jug@sad.it>
6942 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6943 setting the undo_cursor.
6945 * ParagraphParameters.h: include local includes first.
6947 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6949 * BufferView_pimpl.C:
6950 * BufferView_pimpl.h:
6954 * screen.C: move WorkArea into frontends/
6960 * BufferView2.C: move LyXScreen into frontends/
6964 * lyx_gui.C: move lyxlookup into frontends/xforms/
6966 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6969 * BufferView_pimpl.C:
6979 * bufferview_funcs.C:
6992 * vc-backend.C: move LyX/XFormsView into frontends/
6994 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7006 * text2.C: move Painter to frontends/
7008 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7010 * buffer.C: comment out some some code that depend upon lyx_format
7013 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7014 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7016 * buffer.h (NO_COMPABILITY): turn off compability
7018 * ColorHandler.C: include scoped_array.hpp
7020 * font.C: Use more specific smart_ptr header.
7023 * ShareContainer.h: ditto
7027 * BufferView_pimpl.h: ditto
7028 * ColorHandler.h: ditto
7030 * kbmap.C (defkey): change call to shared_ptr::reset
7032 2002-05-21 Juergen Vigna <jug@sad.it>
7034 * buffer.C (insertErtContents): fix to insert ert asis if it is
7035 non empty. Skip it completely if it contains only whitespaces.
7037 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7039 * BufferView_pimpl.C:
7040 * BufferView2.C: clear selection on paste (bug 393)
7042 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7044 * DepTable.C: include ctime
7046 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7048 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7050 2002-05-14 Juergen Vigna <jug@sad.it>
7052 * text.C (breakParagraph): fixed function to honor the keepempty
7053 layout in the right maner and also to permit the right breaking
7054 algorithm on empty or non empyt keepempty paragraphs.
7056 * paragraph.C (breakParagraph): we have to check also if the par
7057 is really empty (!size()) for isempty otherwise we do the wrong
7060 2002-05-10 Juergen Vigna <jug@sad.it>
7062 * buffer.[Ch] : The following are only changes to the ert
7063 compatibility read reading old LaTeX layout and font stuff and
7064 convert it to ERTInsets.
7066 * buffer.h: added isErtInset().
7068 * buffer.C (struct ErtComp): add a fromlayout bool to check
7069 if we're inside a LaTeX layout.
7070 (isErtInset): new helper function.
7071 (insertErtContents): look for other ert insets before this one
7072 and insert the contents there, so that we don't have subsequent
7073 ERT insets with nothing between them. This way we create only one
7074 inset with multiple paragraphs. Also check if we don't insert only
7075 spaces ' ' as they are ignored anyway afterwards in the .tex file
7076 so if we have only spaces we will ignore this latex part in the
7078 (parseSingleLyXformat2Token \\layout): better compatibility when
7079 reading layout-latex stuff.
7080 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7082 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7083 stuff after reading the inset only get the information back from
7086 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7088 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7090 * LaTeXFeatures.C (getBabelOptions): New method.
7092 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7094 * BufferView_pimpl.C (Dispatch): work around missing argument for
7097 2002-05-08 Juergen Vigna <jug@sad.it>
7099 * text.C (leftMargin): handle paragraph leftindent.
7101 * paragraph.C (writeFile): write the new \\leftindent tag.
7102 (validate): handle leftindent code.
7103 (TeXEnvironment): handle paragraphleftindent code again.
7105 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7107 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7108 for paragrap_extra indent code and new token \\leftindent.
7109 (latexParagraphs): handle the leftindent as environment.
7111 * ParameterStruct.h: added leftindent support.
7113 * ParagraphParameters.C (leftIndent): added support functions for
7114 the paragraph left indent.
7116 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7119 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7121 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7124 * text.C (computeBidiTables): No bidi in insetERT.
7126 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7129 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7131 * version.C.in: pre 5
7133 2002-05-02 José Matos <jamatos@fep.up.pt>
7134 * buffer.C (makeDocBookFile): white space changes, add newline to
7136 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7138 * tabular.C (docBook): fix typo.
7140 2002-05-03 Juergen Vigna <jug@sad.it>
7142 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7143 change in LyXText as we can not be sure it was not freed.
7144 (drawOneRow): remove unused code.
7146 * text.C (drawInset): redo the calculation of the need_break_row as
7147 it could have a row which was already freed.
7148 (draw): look at the return value of drawInset and return false if
7149 it also returned false.
7150 (paintRowText): look at the return value of draw and return false if
7151 it also returned false.
7153 * lyxtext.h: added bool return type to drawInset() and draw() so that
7154 if we have a change in the row so that the rowbreak has to be redone
7155 we abort drawing as it will be called again.
7157 2002-05-02 Juergen Vigna <jug@sad.it>
7159 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7160 a change in the maintext also if we're inside an inset.
7161 (Dispatch): set the cursor again after a break line and after the
7162 screen has been updated as it could be we're in a different row.
7164 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7165 to set the cursor behind the pargraph with > size().
7166 (setCursor): check also for the same paragraph when checking where
7167 to put the cursor if we have a NFR inset.
7169 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7170 parts of layout read further up as it still was in the wrong
7173 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7175 * screen.C (drawFromTo): change sine fullRebreak always return
7178 * buffer.C (parseSingleLyXformat2Token): reindent some
7180 * BufferView_pimpl.C (update): change since fullRebreak always
7182 (Dispatch): git rid of the last hardcoded "Standard"s.
7184 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7186 * text2.[Ch] (fullRebreak): make it return void now that we always
7189 2002-04-30 Juergen Vigna <jug@sad.it>
7191 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7192 ert compatibility check for "latex" layout.
7194 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7196 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7197 minipages: use col% instead of p%, and also use the current font.
7198 (makeLaTeXFile): Fix use babel condition.
7199 (parseSingleLyXformat2Token): Correct font when reading old floats.
7201 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7203 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7204 inserting list of floats.
7206 2002-04-25 Herbert Voss <voss@lyx.org>
7208 * MenuBackend.C (expand): don't add the graphics extensions to the
7211 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7213 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7214 non-existing layout, do not complain if it was the default layout
7215 of the original class (bug #342)
7217 2002-04-24 Juergen Vigna <jug@sad.it>
7219 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7220 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7222 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7224 * buffer.C (getBibkeyList): If using \bibliography, return the
7225 option field with the reference itself. Enables us to provide natbib
7226 support when using \bibliography.
7228 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7230 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7232 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7233 natbib is provided by the LaTeX class.
7235 2002-04-23 Juergen Vigna <jug@sad.it>
7237 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7240 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7242 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7244 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7246 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7247 ensuremath around textordmasculine, textordfeminine and
7250 2002-04-19 Juergen Vigna <jug@sad.it>
7252 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7253 reinitializing the buffer otherwise row-dimensions may be wrong.
7254 (update): reset also the selection cursors if they do exits otherwise
7255 their x/y positions may be wrong.
7257 * text2.C (cursorDown): don't enter the inset if we came from a row
7258 above and are one row over the inset.
7260 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7261 really leaving an inset.
7263 2002-04-18 Juergen Vigna <jug@sad.it>
7265 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7266 of the selected paragraph does not have the selected layout also if
7269 * text2.C (setLayout): fixed bug which did not change last selected
7272 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7273 changed the read and substituted \\end_float with \\end_inset!
7275 * BufferView_pimpl.C (cursorPrevious):
7276 (cursorNext): fixed to make it work with rows heigher than the work
7277 area without moving the cursor only the draw of the row.
7278 (workAreaMotionNotify): fix jumping over high rows.
7280 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7282 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7285 2002-04-16 Juergen Vigna <jug@sad.it>
7287 * text2.C (setCursor): set also the irow().
7288 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7290 (cursorDown): support for locking an inset if the x_fix value goes
7291 inside it. That way I can transverse insets too with cursor up/down.
7293 * lyxrow.h: added irow helper function same as other (i) functions.
7295 * BufferView_pimpl.C (cursorPrevious):
7296 (cursorNext): fixed for insets!
7298 2002-04-15 Juergen Vigna <jug@sad.it>
7300 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7301 position otherwise it is wrong in some cases.
7303 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7304 inside the inset before the call.
7306 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7308 * buffer.[Ch] (getBibkeyList): make it const.
7310 2002-04-12 Juergen Vigna <jug@sad.it>
7312 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7314 * text2.C (getCursorX): new helper function
7315 (setCursor): compute also ix_
7316 (setCursorFromCoordinates): set also ix.
7318 * lyxcursor.h: added ix_ and helper functions.
7320 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7322 * buffer.C (insertStringAsLines): dont break paragraph if the this
7323 paragraph is inside an inset which does not permit it!
7325 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7326 also with no chars on this paragraph.
7327 (paintRowText): only paint stuff if it's inside the workarea!
7329 * paragraph.C (breakParagraph): honor keepempty flag and break the
7330 paragraph always below not above.
7332 * BufferView2.C (unlockInset): update the paragraph layout on inset
7333 unlock as we changed paragraph in such a case.
7335 * lyxfind.C (LyXFind): clear the former selection if not found!
7337 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7338 again called in insertChar().
7340 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7341 an inset which uses the whole row!
7342 (rightMargin): ditto.
7343 (insertChar): force a rebreak if we inserted an inset!
7345 2002-03-28 Herbert Voss <voss@lyx.org>
7347 * lyxlength.[Ch]: add inBP() to get the right PS-point
7348 units (BigPoint). With inPixels we have rounding errors
7350 2002-04-11 Juergen Vigna <jug@sad.it>
7352 * text2.C (setCursorFromCoordinates): set iy to the right value.
7353 (setCursor): add check if row->previous exists!
7355 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7356 an old float_type as this was the case in the old code!
7358 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7360 * BufferView2.C (showLockedInsetCursor): use iy
7361 (fitLockedInsetCursor): ditto
7363 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7364 locked insets as there we have the right value now.
7366 * lyxcursor.C: added iy_ variable and iy functions to set to the
7367 baseline of cursor-y of the locked inset.
7369 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7370 (setCursor): fixed for insets which need a full row.
7372 * text.C (rowLastPrintable): don't ignore the last space when before
7373 an inset which needs a full row.
7374 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7375 as last character of a row when before a inset which needs a full row.
7377 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7379 * version.C.in: update date
7381 * text2.C (fullRebreak): try to always return true and see what
7384 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7386 * MenuBackend.C (expand): use Floating::listName
7388 * FloatList.C (FloatList): add listName argument to the built-in
7391 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7392 text associated with the float.
7394 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7396 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7398 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7400 * ShareContainer.h: add a couple of missing typenames.
7402 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7404 * lyxrc.C (getDescription): use _() correctly rather than N_().
7406 2002-03-28 Herbert Voss <voss@lyx.org>
7408 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7409 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7411 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7413 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7414 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7416 2002-03-29 Juergen Vigna <jug@sad.it>
7418 * lyxfunc.C (dispatch): add a missing fitCursor call.
7420 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7421 it was scrolled by a cursor move, so return the bool status.
7423 * BufferView.C (fitCursor): return the bool flag also to the outside
7424 world as this is needed.
7426 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7428 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7429 call the edit() as it is not needed (and wrong) IMO.
7430 (workAreaButtonPress): set the screen_first variable before evt.
7431 unlock the inset as this may change screen_first and then we have
7432 a wrong y position for the click!
7434 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7436 * MenuBackend.C (expand): another translation that I missed
7438 2002-03-28 Juergen Vigna <jug@sad.it>
7440 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7442 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7444 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7446 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7448 * MenuBackend.C (expand): fix export/view/update when there is no
7451 2002-03-27 Herbert Voss <voss@lyx.org>
7453 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7456 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7458 * bufferview_funcs.C (currentState): only show paragraph number
7459 for is DEVEL_VERSION is set.
7461 * lyxfunc.C (dispatch): put warning in INFO channel
7463 * MenuBackend.C (expand): translate the name of floats
7465 * FloatList.C (FloatList): mark the float names for translation
7467 * converter.C (convert): use LibScriptSearch
7469 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7471 * MenuBackend.C (defaults): fix default menu (we might as well get
7474 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7476 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7479 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7481 * lyxvc.C: reorder includes.
7483 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7485 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7488 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7490 * CutAndPaste.C: change layouts earlier on paste
7491 to avoid crashing when calling getFont()
7493 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7495 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7498 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7500 * WorkArea.C: remove 'Pending' debug message.
7502 * most files: ws cleanup
7504 * buffer.[Ch]: ws changes
7506 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7508 2002-03-21 Juergen Vigna <jug@sad.it>
7510 * tabular.C (SetMultiColumn): collapse also the contents of the
7511 cells and set the last border right. Added a Buffer const * param.
7513 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7515 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7518 2002-03-19 Juergen Vigna <jug@sad.it>
7520 * text2.C (clearSelection): reset also xsel_cache.
7522 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7523 where it needs to be called (John tells us to do so too :)
7524 (selectionLost): reset sel_cache.
7526 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7528 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7530 * text2.C (setCursorIntern): put debuging code in INSETS channel
7532 2002-03-19 André Pönitz <poenitz@gmx.net>
7534 * lyxfunc.C: tiny whitespace change
7536 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7538 * ToolbarDefaults.C (init):
7539 * LyXAction.C (init):
7541 * BufferView_pimpl.C (Dispatch):
7542 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7544 2002-03-19 Allan Rae <rae@lyx.org>
7546 * exporter.C (Export): removeAutoInsets before doing anything else.
7547 While I've just introduced a dependency on BufferView this really is
7548 the best place to clean the buffer otherwise you need to cleanup in
7549 a dozen places before calling export or cleanup in a dozen functions
7552 * converter.C (runLaTeX):
7553 (scanLog): Better handling of removeAutoInsets and screen updates.
7555 * lyxfunc.C (dispatch): small whitespace changes
7557 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7559 * WorkArea.C (C_WorkAreaEvent): return a value.
7560 (event_cb): return 1 if we handled the event, 0 otherwise.
7562 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7564 2002-03-18 Juergen Vigna <jug@sad.it>
7566 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7567 (GetAdditionalWidth): ditto.
7571 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7572 inset if we're there actually (probably not used right now but this
7573 is the direction to go for unifying code).
7574 (paste): disable code to clear the selection.
7576 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7577 inside an InsetText and move the check further up as it is in the
7580 * text2.C (pasteSelection): set a selection over the pasted text.
7582 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7584 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7585 and libgraphics to build on Cygwin.
7587 2002-03-15 Juergen Vigna <jug@sad.it>
7589 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7590 inserting an Inset into the paragraph. I know this is not the best
7591 fix but we already use current_view in CutAndPaste so we will remove
7592 all of it's using at the same time.
7594 * buffer.C (sgmlError): deactivated function till it is rewritten in
7595 the right mode, now it can create problems.
7597 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7598 before accessing it.
7600 2002-03-14 Juergen Vigna <jug@sad.it>
7602 * undo_funcs.C (textHandleUndo): do the right thing when updating
7603 the inset after the undo/redo.
7605 * text2.C (setCursor): just some testcode for #44 not ready yet.
7607 * undo_funcs.C (textHandleUndo): set the next() and previous()
7608 pointers of the paragraph to 0 before deleting otherwise we have
7609 problems with the Paragraph::[destructor].
7611 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7612 on a paragraph insertion.
7614 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7616 * buffer.C (asciiParagraph): use += operator for char append to
7619 * paragraph.C (getFontSettings): compare >= not just >
7620 (highestFontInRange): ditto
7623 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7625 * paragraph.C: change several algorithm to be more appripriate for
7626 the problem domain. This is lookip in FontList and in the InsetList.
7628 2002-03-13 André Pönitz <poenitz@gmx.net>
7631 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7633 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7638 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7640 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7642 * Painter.C (display): anon helper function, adjust code for this
7644 (pixmap): remove function.
7646 * Painter.h: remove private display variable.
7648 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7650 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7652 * WorkArea.[Ch]: remove figinset_canvas cruft.
7654 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7656 * lyxtextclass.C (operator): add one item cache optimization.
7658 * bufferlist.h: doxy changes
7660 * bufferlist.C: ws changes
7662 * DepTable.[Ch] (ext_exist): place const in the right spot.
7664 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7666 (workAreaExpose): call resizeInsets when the with BufferView changes.
7667 (Dispatch): adjust for protectedBlank removal
7668 (specialChar): call updateInset if the insert went ok.
7670 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7671 specialChar instead.
7673 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7675 * BufferView.h: doxy change
7677 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7679 * lyxtextclass.C (operator[]): remove non-const version
7680 (defaultLayout): remove non-const version
7682 2002-03-12 Juergen Vigna <jug@sad.it>
7684 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7685 did resize the LyXText too.
7687 * buffer.C (readLyXformat2): set layout information on newly allocated
7690 * tabular.C (OldFormatRead): set layout information on the paragraph.
7692 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7694 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7696 2002-03-11 Juergen Vigna <jug@sad.it>
7698 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7700 (resizeCurrentBuffer): force also the insets to resize themselfes.
7701 (moveCursorUpdate): fixed up for InsetText.
7703 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7706 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7707 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7708 value of Dialogs::tooltipsEnabled().
7709 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7711 2002-03-08 Juergen Vigna <jug@sad.it>
7713 * BufferView_pimpl.C (updateInset): update inset inside inset also
7714 if it isn't inside theLockingInset().
7716 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7718 * buffer.C (asciiParagraph): redo some of the word and line length
7720 (getLists): look for Caption instead of caption.
7722 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7724 * buffer.C (Buffer): initialize niceFile to true
7727 (makeDocBookFile): make sure niceFile is true on exit
7729 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7731 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7733 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7735 * LyXSendto.C: remove.
7736 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7737 * lyx_gui.C: remove now-redundant comment.
7738 * ColorHandler.h: remove forward declaration of class WorkArea.
7739 * lyxfunc.C: remove #include "WorkArea.h".
7741 2002-03-07 Juergen Vigna <jug@sad.it>
7743 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7744 got moved away with the DEPM and also set the inset_owner always
7745 right which before could have been omitted.
7747 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7749 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7750 wanted layout is not found.
7752 2002-03-07 Juergen Vigna <jug@sad.it>
7754 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7756 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7758 * paragraph.C (breakParagraph): use default layout not layout of
7760 (Paragraph): clear ParagraphParameters.
7762 2002-03-06 Juergen Vigna <jug@sad.it>
7764 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7765 otherwise it would not be a valid lenght. Fixed a special case in
7766 the minipage compatibility read where we end the document with a
7769 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7770 was set as it could be 0 for InsetTexts first entry.
7772 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7774 * paragraph.C (writeFile): if layout is empty write out
7775 defaultLayoutName().
7777 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7778 file without named layout we set layout to defaultLayoutName().
7780 2002-03-06 Juergen Vigna <jug@sad.it>
7782 * CutAndPaste.C (copySelection): set layout for new paragraph.
7784 * text.C (prepareToPrint): leave ERT inset left aligned
7785 (leftMargin): don't indent paragraphs inside ERT insets
7787 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7789 * paragraph.C (breakParagraph): dont call clear do the work manually
7791 * paragraph.[Ch] (clear): remove function
7793 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7795 * paragraph.C (Paragraph): dont call clear, the work has already
7798 * lyxtextclass.C (operator): assert if n is empty
7800 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7801 work manually instead.
7803 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7805 * BufferView_pimpl.C: protect selectionLost against text == 0
7807 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7809 * text.C (breakParagraph): fix a setting layout to '0' problem.
7811 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7813 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7814 final location of file, for the included files, and graphics.
7816 2002-03-05 Juergen Vigna <jug@sad.it>
7818 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7820 2002-03-04 Juergen Vigna <jug@sad.it>
7822 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7824 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7825 last column of multicolumn cells.
7826 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7828 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7830 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7831 file if it doesn't go to a temporary file.
7833 * buffer.C (sgmlOpenTag):
7834 (sgmlCloseTag): remove extra newline insertion.
7836 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7838 * text.C (getRowNearY): comment out debug msg
7840 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7842 * text2.C: first -> first_y
7844 * text.C (getRowNearY): add some attemts at a possible
7845 optimization, not working.
7847 * tabular.[Ch]: add BufferParams to several function so that newly
7848 created paragraph can be initialized to he default layotu for the
7851 * tabular-old.C (ReadOld): add buf->params to call of Init
7853 * screen.C: rename text->first to text->first_y
7855 * paragraph.C (breakParagraph): always set layout in the broken
7858 * lyxtextclass.C (Read): remove lowercase
7861 (delete_layout): ditto
7863 * lyxtext.h: rename first -> first_y
7865 * lyxlayout.C (Read): remove lowercase
7868 (obsoleted_by): ditto
7870 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7872 * buffer.C (insertErtContents): add params are to InsetERT
7873 (parseSingleLyXformat2Token): add code to check if a paragraphs
7874 layout really exist.
7875 (parseSingleLyXformat2Token): add params to several inset
7877 (asciiParagraph): remove lowercase, do the layout comparisons with
7880 * BufferView_pimpl.C (cursorNext): first -> first_y
7881 (resizeCurrentBuffer): first -> first_y
7882 (updateScrollbar): first -> first_y
7883 (scrollCB): first -> first_y
7884 (workAreaMotionNotify): first -> first_y
7885 (workAreaButtonPress): first -> first_y
7886 (checkInsetHit): first -> first_y
7887 (cursorPrevious): first -> first_y
7888 (cursorNext): first -> first_y
7889 (Dispatch): add buffer_->params to severl inset contructors
7891 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7893 * lyxlayout.C (Read): remove some debug info that I forgot.
7895 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7896 clean up the code slightly.
7897 (makeLinuxDocFile): ditto
7898 (makeDocBookFile): ditto
7900 * text2.C: layout as string
7902 * text.C: layout as string
7904 * paragraph_pimpl.C: layout as string
7906 * paragraph.[Ch]: layout as string
7908 * lyxtextclasslist.[Ch]: layout as string
7910 * lyxtextclass.[Ch]: layout as string
7912 * lyxtext.h: layout as string
7914 * lyxlayout.[Ch]: layout as string
7916 * lyx_cb.C: layout as string
7918 * bufferview_funcs.C: layout as string
7920 * bufferparams.C: layout as string
7922 * buffer.C: layout as string
7924 * LyXView.[Ch]: layout as string
7926 * LaTeXFeatures.[Ch]: layout as string
7928 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7930 * BufferView_pimpl.C: change current_layout to string, remove
7935 (workAreaButtonRelease): layout as string
7937 * BufferView2.C (unlockInset): adjust
7939 * vspace.C (asLatexCommand): use an explict temp variable.
7941 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7943 * Makefile.am: use FRONTEND_*
7945 2002-03-01 Juergen Vigna <jug@sad.it>
7947 * tabular.C (SetWidthOfMulticolCell): changed to something better
7948 I hope but still work in progress.
7949 (recalculateMulticolumnsOfColumn): renamed function from
7950 recalculateMulticolCells as it is more appropriate now.
7951 (SetWidthOfCell): calculate multicols better.
7953 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7955 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7957 * lyxfunc.C (processKeySym): print sequence also if it is
7958 `deleted' (complete)
7960 * kbsequence.C (print): print sequence even if it is deleted
7961 (complete would be a better word, actually).
7963 * lyxfunc.C (dispatch): print complete options after a prefix key
7965 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7967 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7969 * text2.C (setCharFont): eliminate setCharFont code duplication.
7971 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7973 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7974 LFUN_TABULAR_FEATURE (bug #177)
7976 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7978 * Makefile.am: remove figure.h
7980 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7982 * Bufferview_pimpl.C:
7994 * text2.C: remove #include "lyx_gui_misc.h".
7996 * LaTeX.C: added #include <cstdio>
7998 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8000 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8001 that the paragraph following this one can have.
8003 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8005 * vspace.C (asLatexCommand): fix bogus gcc warning
8007 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8009 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8011 * text2.C (setLayout): get rid of redundant code
8013 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8015 * text2.C (incDepth): make sure depth cannot be increased beyond
8018 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8020 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8021 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8023 * PainterBase.h (image):
8024 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8027 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8031 * BufferView_pimpl.C:
8032 * BufferView_pimpl.h:
8052 * sp_spell.C: remove fig inset, and the crap house of
8053 cards that follows it
8055 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8061 * nt_defines.h: move .h into support/
8063 * vms_defines.h: remove
8065 * WorkArea.C: add space in debug output
8069 * buffer.C: add WITH_WARNINGS
8073 * bufferlist.C: s/retrive/retrieve/, add docs
8084 * lyxgui.C: add ID to X error handler
8086 * lyxtestclass.c: fix typo
8088 2002-02-26 Juergen Vigna <jug@sad.it>
8090 * tabular_funcs.C (write_attribute): changed so that some default
8091 attributes are not written at all.
8092 (getTokenValue): set default values before trying to read the
8093 value so we have the return value always set as default if we don't
8094 find the token we search for.
8096 * tabular.C (Write): write bools as bools not as strings!
8098 2002-02-22 Juergen Vigna <jug@sad.it>
8100 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8101 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8103 * text.C (leftMargin): don't add an indent for paragraphs inside
8104 tabular cells (fix #208).
8106 2002-02-21 José Matos <jamatos@fep.up.pt>
8108 * tabular.C (docBook): fixed support for long tables.
8110 2002-02-20 Juergen Vigna <jug@sad.it>
8112 * text2.C (getFont): get the drawing font of the Inset if this
8113 paragraph is inside an inset (only important for InsetERT for now).
8115 * buffer.C (insertErtContents): use new lanugage params in ERT
8118 * CutAndPaste.C: commenting out seemingly uneeded code.
8120 2002-02-19 Allan Rae <rae@lyx.org>
8122 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8123 Iterators might be simple to use but they also get invalidated.
8124 (removeAutoInsets): renamed saved cursor tracking variables and added
8125 some comments to clarify what everything does.
8127 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8134 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8135 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8138 * vc-backend.h: remove #include "support/syscall.h"
8142 * converter.C: rearrange #includes in Lars' approved fashion.
8144 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8145 forward declare class Timeout in the header file.
8147 * XFormsView.C: changes due to the above.
8149 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8152 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8153 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8155 2002-02-18 José Matos <jamatos@fep.up.pt>
8157 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8160 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8162 * a lot of small ws changes
8163 * add a lot of using std::XXX
8164 * use std construcs some places where approp.
8165 * use some exisint stuff from lyxfunctional where approp.
8166 * Make file changes to use partial linking (lets test this now...)
8168 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8172 remove #include "support/syscontr.h" as it's redundant. Always has been.
8180 change Systemcalls::System to Systemcalls::Wait and
8181 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8182 No change of functionality, just reflects the stripped down Systemcalls
8185 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8187 * debug.[Ch]: add a GRAPHICS type to the enum.
8189 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8191 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8193 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8196 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8198 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8199 match the changes below.
8201 * text2.C (toggleInset): if there is not editable inset at cursor
8202 position, try to see if cursor is _inside_ a collapsable inset
8205 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8207 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8208 document menu has a nice checkbox
8210 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8212 * lyxlength.C (asLatexString): change PW to output as percent of
8215 * lengthcommon.C: change '%' to 't%'
8217 * lyxfunc.C (dispatch): a few comments from Martin
8219 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8223 * BufferView_pimpl.h:
8224 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8227 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8229 * vspace.C (inPixels): fix compiler warning
8231 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8233 * lyxfunc.C (getStatus): fix status message for disabled commands.
8235 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8237 * BufferView_pimpl.C: fix crash on close buffer
8238 during selection (#227)
8240 2002-01-27 Herbert Voss <voss@lyx.org>
8242 * buffer.C: link old Figure to new graphic inset
8244 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8246 * FontLoader.C (getFontinfo): Change the latex font names in order
8247 to match the names of type1inst.
8249 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8251 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8253 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8256 (remove_files_with_extension): ditto
8257 (remove_file): ditto
8260 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8261 document is smaller than the work area height. Do not initialize
8262 static variables to 0.
8264 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8266 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8268 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8269 LFUN_LAYOUT_PARAGRAPHS.
8271 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8272 tabular. It is possible to provide a possible cell, which will
8273 typically be the actcell from the corresponding insettabular
8275 * lyxfunc.C (getStatus): small cleanup; disable
8276 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8279 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8281 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8283 * paragraph.C (startTeXParParams):
8284 (endTeXParParams): new methods. The LaTeX code to
8285 start/end paragraph formatting
8286 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8287 empty (fixes bug #200)
8289 * vspace.C (inPixels): adapt to the change below
8290 (inPixels): [later] more cleanups (remove unused variables)
8292 * lyxlength.C (inPixels): change to use a width and a height as
8295 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8297 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8298 Replaced with \paperwidth
8300 * DepTable.C (insert): add std:: qualifier
8302 2002-01-18 Allan Rae <rae@lyx.org>
8304 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8307 * text.C (drawInset): Turned out I didn't know enough about how
8308 rebreaking worked. This fixes most of the redraw problems. I see
8309 an occasional cursor trail when a line is broken now and the cursor
8310 placement can seem out by a few pixels also after a rebreak.
8312 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8314 * buffer.C (parseSingleLyXformat2Token): update because minipage
8315 width is now a LyXLength
8317 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8319 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8322 2002-01-17 Juergen Vigna <jug@sad.it>
8324 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8326 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8327 is set correctly and the inset is updated correctly.
8329 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8331 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8332 the beginning of the loop.
8334 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8336 * lyxrc.C: improve help for use_scalable_fonts
8338 2002-01-17 Allan Rae <rae@lyx.org>
8340 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8342 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8344 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8345 make sure to set their inset_owner to the right value (bug #171)
8347 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8350 * DepTable.C: Implement mtime checking to reduce time spent doing
8353 2002-01-16 Juergen Vigna <jug@sad.it>
8355 * tabular.C (GetAdditionalHeight): one of error fixed.
8357 * lyxrc.C (output): small fix in writing use_pspell.
8359 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8361 * sp_base.h: #include LString.h
8363 2002-01-16 Allan Rae <rae@lyx.org>
8365 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8366 Can someone check this please?
8368 * text.C (drawInset): It was possible that p.row would be removed by
8369 breakAgainOneRow upsetting a few other settings. There may be another
8370 small tweak possible by setting need_break_row = 0 when p.row has been
8371 removed but I don't know enough about the logic here.
8373 2002-01-15 Allan Rae <rae@lyx.org>
8375 * text.C (insertChar): removed conditional truism.
8377 * BufferView2.C (removeAutoInsets): More tweaks.
8378 cur_par_prev could be a stray pointer. Check for trailing empty line
8379 in case last line was cur_par and only had an error inset on it.
8381 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8383 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8386 * vc-backend.C (most methods):
8387 * exporter.C (Export):
8388 * converter.C (convert):
8390 * LyXSendto.C (SendtoApplyCB):
8391 * lyxfunc.C (dispatch):
8395 * lyx_cb.C (AutoSave):
8397 * BufferView_pimpl.C (MenuInsertLyXFile):
8398 * buffer.C (runChktex): use Buffer::filePath().
8400 * buffer.h: rename filename to filename_; rename filepath to
8401 filepath_ and make it private
8402 (filePath): new method
8404 * buffer.C (writeFile): use fileName()
8407 * lyx_main.C (init): fix starting of LyX when the binary is a
8408 link from so,ewhere else.
8410 * minibuffer.C: include <cctype> for isprint
8412 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8414 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8415 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8416 name clash with InsetCollapsable's width function.
8418 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8420 * lastfiles.C: include <iterator>
8422 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8424 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8427 * buffer.C (makeLaTeXFile): ditto.
8428 Also make loop operation more transparent.
8430 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8432 * ToolbarDefaults.C: remove trailing comma closing namespace.
8434 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8436 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8439 * trans.C (Load): comment out unused variable, allowed.
8441 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8443 * minibuffer.[Ch] (append_char): new method to recieve input from the
8444 drop-down completion browser. If a key was pressed, then recieve this
8445 char and append it to the existing string.
8446 (peek_event): modify the positioning data passed to the completion
8447 browser so that it can be placed above the minibuffer rather than below.
8448 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8450 * LyXAction.C (init): alloe error-next for readonly documents.
8452 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8455 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8457 * bufferlist.C (readFile): create the buffer _after_ checking that
8460 * lyxfunc.C (verboseDispatch): fix handling of arguments
8462 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8464 * lyxrc.C: use string::erase() instead of initializing to "".
8467 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8469 * BufferView_pimpl.h:
8470 * BufferView_pimpl.C:
8473 * text2.C: tell X when we have made a selection for copying
8475 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8477 * BufferView_pimpl.C (MenuInsertLyXFile):
8478 * lyxfunc.C (menuNew):
8480 (doImport): add shortcuts to directory buttons
8482 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8485 * lyxfunc.C (setStatusMessage):
8486 (getStatusMessage): new methods
8487 (getStatus):use setStatusMessage instead of setErrorMessage
8488 (dispatch): when function is disabled, set error message here
8489 [instead of in getStatus previously]
8491 * BufferView_pimpl.C (workAreaButtonRelease): update
8492 toolbar/menubar here too.
8494 2002-01-13 Allan Rae <rae@lyx.org>
8496 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8497 Now seems indestructible. Remaining task is to audit all other
8498 code affected by deleteEmptyParagraphMechanism. One small quirk
8499 left is that an empty document with an error in the preamble can
8500 be made to report an error but no error box appears. I don't know
8502 (removeAutoInsets): Improved comments.
8504 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8507 * Thesaurus.C: update for Aiksaurus 0.14
8509 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8511 * text2.C (firstParagraph): removed member function, all uses
8512 replaces with ownerParagraph
8513 (redoParagraphs): here
8515 (toggleAppendix): here
8516 * BufferView2.C (insertErrors): here
8517 (setCursorFromRow): here
8519 2002-01-13 Allan Rae <rae@lyx.org>
8521 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8522 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8523 There is still a way to segfault this although you may have to do this
8524 multiple times: Have an InsetERT with an unknown command in it.
8525 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8526 <down-arrow>, <Enter> again, View->DVI, BANG!
8528 * text2.C (setCursor):
8529 (deleteEmptyParagraphMechanism):
8530 * lyxtext.h (setCursor):
8531 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8532 Making use of the return value may help fix other bugs.
8534 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8536 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8538 * LyXView.C (updateMenubar): call MenuBar::update here
8539 (updateToolbar): but not here
8540 (showState): do not update toolbar/menubar
8542 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8543 should need to care about that.
8545 * lyxfunc.C (verboseDispatch): simplify a bit
8546 (getStatus): have a version which takes a pseudoaction, and
8547 another which requires a (kb_action,string).
8549 * LyXAction.C (retrieveActionArg): make it work also when action
8550 is not a pseudo-action.
8551 (getActionName): simplify a bit
8554 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8556 * lyxfunc.C (verboseDispatch): new families of methods with
8557 several ways to specify a command and a bool to indicate whether
8558 the command name and shortcut should be displayed in minibuffer
8559 (eventually, we could extend that to a finer bitmask like
8560 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8561 (dispatch): the pristine dispatch command which just, well,
8562 dispatchs! Note it still sets its result to minibuffer; I'm not
8565 * lyxfunc.h: remove setHintMessage
8567 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8569 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8571 * BufferView_pimpl.C (specialChar): delete new inset if we have
8572 not been able to insert it.
8574 * kbmap.C: revert to using int instead of kb_action, since all we
8575 are dealing with is pseudo-actions.
8577 * LyXAction.C (searchActionArg): change to return int instead of
8578 kb_action, since the result is a pseudoaction.
8580 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8582 * buffer.C (insertErtContents): Fix (partially) the font bug.
8584 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8586 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8587 as the other one is broken on my machine!
8589 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8592 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8594 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8596 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8597 reflect their actual use. Provide compatibility code for older lyxrc
8600 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8602 change names of popup font variables in line with the changes to lyxrc.C
8604 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8606 * buffer.C (asciiParagraph): avoid outputing a word twice after
8609 * lyxrc.C (getDescription): document that document_path and
8610 template_path can be empty.
8612 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8614 * LaTeXFeatures.C (getMacros):
8615 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8617 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8619 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8621 (getPackages): rename feature "floats" to "float". Use an array to
8622 iterate over 'simple' features (i.e. just a \usepackage). Add
8623 handling of "amsmath" (renamed from "amsstyle").
8625 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8627 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8630 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8632 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8633 FuncStaus::FuncStatus & FuncStaus::some_method().
8635 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8637 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8638 of the func_satus stuff. Edited and massaged in various ways by
8641 * lyxfunc.C (getStatus): use FuncStatus
8643 2002-01-08 Juergen Vigna <jug@sad.it>
8645 * text.C (nextBreakPoint): use function Inset::isChar().
8647 * paragraph.C (TeXOnePar): use function
8648 Inset::forceDefaultParagraphs.
8650 * buffer.C (latexParagraphs): use function
8651 Inset::forceDefaultParagraphs.
8653 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8655 * lyx_gui.C (init): set the style of the menu popups to
8656 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8658 2002-01-07 Juergen Vigna <jug@sad.it>
8660 * text.C (setHeightOfRow): small fix
8661 (prepareToPrint): don't look at alignment if we don't have the place
8664 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8666 * box.C: New file. Move the Box methods and functions out of box.h,
8667 following Lars' suggestion.
8669 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8671 * box.h: #include "support/LOstream.h", needed for inlined function.
8674 * lyxtextclasslist.C: added some using std declarations.
8676 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8678 * box.h: make signed dimensions to allow insets wider than
8679 the screen (bug #162)
8681 * BufferView_pimpl.C: add some insetHit debug
8683 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8685 * vc-backend.C: add FIXME
8687 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8689 * lyxfunc.C (getStatus): enable code for showing math font status
8692 2002-01-07 Juergen Vigna <jug@sad.it>
8694 * text.C (nextBreakPoint): removed debug output not needed anymore.
8696 2002-01-06 Juergen Vigna <jug@sad.it>
8698 * text.C (nextBreakPoint): fixed up this function we had this bug
8699 since ever but now hopefully we break row better.
8700 (insertChar): we have to check if an inset is the next char as it
8701 could now happen that a large inset is causing a break.
8703 2002-01-05 Juergen Vigna <jug@sad.it>
8705 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8706 if it doesn't like to be drawed.
8708 2002-01-04 Juergen Vigna <jug@sad.it>
8710 * BufferView2.C (lockInset): forgot to set a cursor.
8712 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8714 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8719 * form_maths_panel.C:
8720 * form_maths_panel.h:
8721 * form_maths_panel.fd: implemented sub- and super- buttons in math
8724 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8725 (or ^ space) to be used as in TeX (req'd by André).
8727 * lyxfunc.C: Allow ^ and _ again to be used both as
8728 super/subscript (mathed) and as themselves (in text).
8730 2002-01-03 Allan Rae <rae@lyx.org>
8732 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8733 "LyX" or the filename of the current buffer if it has one. This is a
8734 modified form of John Levon's patch.
8736 * XFormsView.C (setWindowTitle): also set icon title.
8738 * LyXView.h (setWindowTitle): signature changed.
8739 * XFormsView.h (setWindowTitle): ditto.
8741 2002-01-02 Juergen Vigna <jug@sad.it>
8743 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8745 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8747 * screen.C (topCursorVisible): introduce a temp var for
8748 text->cursor.row(), handle the case where this row is null. (kindo
8751 * text2.C (setCursor): add a couple of asserts.
8753 * paragraph.h (inset_iterator): add -> operator
8755 * paragraph.[Ch] (autoDeleteInsets): remove member function
8757 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8758 cursor pos correctly and handle inset deletion by itself.
8759 (insertErrors): move iterator declaration out of for expression
8761 * lyxtextclass.C: add <algorithm>
8763 * Makefile.am: added the new files to sources, removed layout.C
8765 * layout.C: removed file
8767 * layout.h: remove LYX_DUMMY_LAYOUT
8769 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8773 * lyxtextclass.[Ch]:
8774 * lyxtextclasslist.[Ch]: new files
8776 * include order changes to a lot of files, also changes because of
8779 2001-12-27 Juergen Vigna <jug@sad.it>
8781 * buffer.C (asciiParagraph): more fixes.
8783 * tabular.C (ascii): make ascii export support export of only the
8784 data separated by a column-delimiter.
8785 (ascii): better support for ascii export.
8787 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8789 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8791 * tabular_funcs.C: use a "using std::getline" instead of the
8792 previous fix from Angus (necessary for cxx + lyxstring)
8794 2001-12-24 Juergen Vigna <jug@sad.it>
8796 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8798 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8799 problems. First check a minipage also if we have some ert-contents
8800 (not only on par->size(), second set the right depth of the paragraph
8801 on the relink to the root-paragraph-list!
8803 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8804 which then did not anymore update the main paragraphs on undo/redo!
8806 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8808 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8809 code. Support all font-changing funcs (even those which are not in
8810 menu currently). Support for reporting font settings in
8811 mathed (disabled until Andre provides a function on mathed's side).
8813 * func_status.h (toggle): small helper function to set toggle
8816 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8818 * tabular_funcs.C: getline -> std::getline
8820 2001-12-21 Juergen Vigna <jug@sad.it>
8822 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8823 accessed and could be 0 (I couldn't generate this but it seems
8826 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8828 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8829 * tabular_funcs.h: here and include iosfwd
8831 2001-12-20 Juergen Vigna <jug@sad.it>
8833 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8834 inside inset but undo_par was.
8836 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8838 * Thesaurus.C: always include <config.h> in sources.
8842 * box.h: do not include <config.h> in header files
8844 * text.C (paintLastRow): remove unused variable
8846 * text.C (transformChar):
8848 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8851 * font.C (width): rewrite to use uppercase() instead of
8854 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8856 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8858 * lyxfind.C: clean up of find failure position change
8860 2001-12-20 Juergen Vigna <jug@sad.it>
8862 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8864 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8865 (TeXRow): added to LaTeX a single tabular row.
8866 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8867 (Latex): simplified and finally good LT-h/f support.
8868 (various_functions): just small adaptions for LT-h/f support.
8870 * tabular_funcs.[hC]: added and moved here all not classfunctions
8873 2001-12-19 Juergen Vigna <jug@sad.it>
8875 * tabular.[Ch]: better support for longtabular options (not finished
8878 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8880 * text.C (paintLastRow): use the label font instead of the font of
8881 the last character to compute the size of *_BOX. This makes more
8882 sense and avoids a crash with empty paragraphs.
8883 Use Painter::rectangle to draw EMPTY_BOX.
8885 2001-12-19 Juergen Vigna <jug@sad.it>
8887 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8888 the paragraphs if the replaced paragraph is not the first one!
8889 Tried to delete not used paragraphs but does not work yet so for
8890 now it's inside #ifdef's and by default off!
8892 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8894 * MenuBackend.C: include "lyx_main.h" instead of declaring
8895 lastfiles (actually was declared as LastFiles* instead of a
8898 2001-12-17 Juergen Vigna <jug@sad.it>
8900 * tabular.C (AppendColumn): applied John's fix
8902 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8906 * BufferView_pimpl.h:
8907 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8910 * box.h: new start of class for above
8912 * lyxfunc.C: ignore space-only minibuffer dispatches.
8913 Show the command name when it doesn't exist
8915 * minibuffer.C: don't add empty lines to the history
8917 * minibuffer.C: add a space on dropdown completion
8919 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8921 * text.C: fix line above/below drawing in insets
8923 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8925 * lyxlength.C (LyXLength): Initialize private variables.
8927 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8929 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8930 when inserting error insets.
8932 2001-12-13 Juergen Vigna <jug@sad.it>
8934 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8935 actually sometimes the before-paragraph.
8936 (setUndo): don't clear the redostack if we're not actually undoing!
8938 2001-12-06 Juergen Vigna <jug@sad.it>
8940 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8941 and fixed redoing of main paragraph, so we can use it now ;)
8943 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8945 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8947 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8950 2001-12-13 André Pönitz <poenitz@gmx.net>
8953 * undo_func.C: minor cleanup
8955 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8957 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8958 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8959 font in urw-fonts package which is marked as -urw-fontspecific and
8960 does not work (incidentally, changing the encoding in the
8961 fonts.dir of this package to -adobe-fontspecific fixes the
8964 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8965 is a crash when undoing first paragraph (Juergen, please take a
8966 look). THis does not mean the undo fix is wrong, just that it
8969 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8970 the (Paragraph*) version when needed instead of duplicating the
8973 * text.C (workWidth): use Inset::parOwner to find out where the
8974 inset has been inserted. This is a huge performance gain for large
8975 documents with lots of insets. If Inset::parOwner is not set, fall
8976 back on the brute force method
8978 * paragraph_pimpl.C (insertInset):
8979 * paragraph.C (Paragraph):
8980 (cutIntoMinibuffer): set parOwner of insets when
8981 inserting/removing them
8983 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8985 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8991 * mathed/formulabase.C:
8992 * mathed/math_cursor.[Ch]:
8993 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8996 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8998 * lyxlength.[Ch] (operator!=): new function
9000 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9002 * text.C (workWidth): use Inset::parOwner to find out where the
9003 inset has been inserted. This is a huge performance gain for large
9004 documents with lots of insets. If Inset::parOwner is not set, fall
9005 back on the brute force method
9007 * paragraph_pimpl.C (insertInset):
9008 * paragraph.C (Paragraph):
9009 (cutIntoMinibuffer): set parOwner of insets when
9010 inserting/removing them
9012 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9014 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9016 * tabular-old.C (getTokenValue):
9017 * tabular.C (getTokenValue):
9018 (write_attribute): new versions for LyXLength
9019 (everywhere): adjust the use of widths
9021 * tabular.h: change the type of widths from string to LyXLength
9023 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9025 * paragraph.C: fixed missing line number count when exporting
9026 Environments to LaTeX file
9028 * buffer.C: added informational message for checking line numbers.
9030 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9032 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9033 paragraph, do the 'double space' part, but not the 'empty
9036 * text.C (workWidth): small optimization
9037 (getLengthMarkerHeight): use minimal size for negative lengths.
9039 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9041 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9043 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9045 2001-12-11 André Pönitz <poenitz@gmx.net>
9048 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9050 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9052 * text2.C: keep selection on a setFont()
9054 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9056 * lyx_cb.C: another bv->text misuse, from insert label
9058 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9061 * kbsequence.C: re-instate nmodifier mask
9063 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9065 * lyx_main.h: make lyxGUI private.
9067 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9069 * lyxfind.C: place the cursor correctly on failed search
9071 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9073 * text.C (getLengthMarkerHeight): for small heights, the arrows
9074 are not always on top/bottom of the text
9075 (drawLengthMarker): smaller arrows; take the left margin in
9076 account; draw also vfills.
9078 (paintLastRow): remove special code for vfill and standard spaces,
9079 since everything is handled in drawLengthMarker now.
9081 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9083 * buffer.C (insertErtContents): try to handle font and language
9084 interaction a bit better.g
9086 * ColorHandler.C (updateColor): change the hash to cover the whole
9087 LColor enum, ws cleanup
9088 (getGCLinepars): ditto
9089 (getGCLinepars): only lookup in the linecache once.
9091 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9093 * iterators.C (operator++): Make the iterator more robust
9095 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9097 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9099 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9102 * text.C: better added space drawing
9104 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9107 * BufferView2.C: fix layout combo update on inset unlock
9109 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9111 * Makefile.am: don't compile unused files
9113 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9117 * LyXAction.C: remove old LFUN_LAYOUTNO
9119 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9121 * paragraph_pimpl.h:
9122 * paragraph_pimpl.C: isTextAt() doesn't need font param
9124 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9127 * lyxlex.C: little cleanup
9129 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9131 * BufferView_pimpl.C: fix insertAscii for insets
9133 2001-12-05 Juergen Vigna <jug@sad.it>
9135 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9136 set the right font on the "multi" paragraph paste!
9138 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9144 * lyxlength.C: remove out-commented code.
9160 * vc-backend.C: change "while(" to "while ("
9162 * lyxlength.[Ch]: add zero function to check if length is zero or
9164 * lyxgluelength.C: use it
9166 2001-12-05 Allan Rae <rae@lyx.org>
9168 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9169 Works for 2.95.3, from what I understand of Garst's reports this should
9170 work for other g++ versions. We're screwed if the abs(int) definition
9171 changed between bugfix releases of gcc.
9173 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9175 * text.C: fix chapter label offset !
9177 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9180 * text.C: fix hfill at end of line, clean up
9182 2001-12-04 Juergen Vigna <jug@sad.it>
9184 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9185 that we force an update of the inset and it's owners if neccessary.
9187 2001-12-03 Juergen Vigna <jug@sad.it>
9189 * text.C (rowLast): simplified code
9191 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9193 * lyxfunc.C: fix show options on timeout
9195 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9197 * screen.C (topCursorVisible): scroll half a page when the cursor
9198 reached top of bottom of screen
9200 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9202 * minibuffer.C: deactivate on loss of focus
9204 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9206 * vspace.[Ch] (operator!=): add operator.
9208 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9210 * BufferView_pimpl.C: refuse to open an inset when
9211 there's a selection.
9213 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9215 * BufferView_pimpl.C: allow to click on RHS of full row insets
9217 2001-11-30 Juergen Vigna <jug@sad.it>
9219 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9220 insets for undo reasons.
9222 2001-11-28 André Pönitz <poenitz@gmx.net>
9224 * vspace.[Ch]: cosmetical changes
9226 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9236 * kbsequence.C: part re-write of old kb code
9239 * WorkArea.C: remove Lgb_bug_find_hack
9241 2001-11-30 José Matos <jamatos@fep.up.pt>
9243 * buffer.C (makeDocBookFile): add a comment to point a hack.
9244 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9245 Fixed a double write of labels.
9247 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9250 * LaTeX.h Fixed bug in LaTeX class where it would not
9251 re-run latex if no depfiles were changed, but the .dvi was removed.
9253 2001-11-28 André Pönitz <poenitz@gmx.net>
9255 * all the files from the change on 2001/11/26:
9256 use lyx::layout_type instead of LyXTextClass::size_type
9257 use lyx::textclass_type instead of LyXTextClassList::size_type
9259 2001-11-29 Juergen Vigna <jug@sad.it>
9261 * text.C: added support for paragraph::isFreeSpacing()
9263 * buffer.C: same as above
9265 * paragraph.h: inserted isFreeSpacing() function to enable
9266 FreeSpacing inside InsetERT.
9268 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9269 of the paragraph's in the cut/copy buffer to 0!
9271 * text2.C (removeRow): remove the assert as it can!
9273 * lyxtext.h: added helper function firstRow returning firstrow and
9274 made firstrow private again.
9276 * BufferView2.C (lockInset): don't relock if we're already locked!
9278 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9280 (removeRow): added Assert::(firstrow)
9282 * debug.C: forgot to add INSETTEXT here.
9284 2001-11-28 Juergen Vigna <jug@sad.it>
9286 * sp_spell.C (initialize): changed error text to more general
9287 spellchecker command use (not only ispell!)
9289 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9291 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9293 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9295 * vspace.C: initialise lyxgluelength on failure
9297 2001-11-28 Allan Rae <rae@lyx.org>
9299 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9300 declaration & definition that looks like a function declaration.
9302 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9304 * BufferView2.C (copy):
9305 (copyEnvironment): do not clear the selection when doing a copy.
9307 * text.C (paintFirstRow): compilation fix
9309 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9311 * tabular.C (Latex): correct line count when writing latex.
9313 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9315 * paragraph_pimpl.h:
9316 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9319 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9323 * LColor.C: change vfillline->added_space
9325 * text.C: add markers and text for added space
9327 * vspace.C: fix comment
9329 2001-11-28 André Pönitz <poenitz@gmx.net>
9331 * paragraph.C: whitespace changes
9332 * all the other files from the change on 2001/11/26:
9333 change *::pos_type into lyx::pos_type
9335 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9337 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9338 language of the document when inserting error insets.
9340 2001-11-26 André Pönitz <poenitz@gmx.net>
9342 * BufferView_pimpl.[Ch]:
9350 * paragraph_pimpl.[Ch]:
9353 * text2.C: reduce header dependencies, introduce type for positions
9355 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9357 * <various>: change to use Alert.h
9359 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9361 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9362 when encountering an unknown token.
9363 (readLyXformat2): Show an error message if there were unknown tokens.
9365 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9368 * BufferView_pimpl.C:
9372 * text2.C: use par->isInset()
9374 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9376 * paragraph_pimpl.h:
9377 * paragraph_pimpl.C: cleanup
9379 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9381 * text2.C (removeRow):
9382 * text.C (setHeightOfRow): remove useless (and costly) call to
9385 2001-11-20 Allan Rae <rae@lyx.org>
9387 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9388 Now need Inset*::checkInsertChar() to return true for appropriate
9389 cases so that the characters in the minibuffer will actually be
9392 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9394 * text.C: change the order of the includes.
9395 (workWidth): initialize it at once.
9396 (workWidth): make maxw unsigned
9397 (setHeightOfRow): remove unused variable (inset)
9398 (selectSelectedWord): remove unused variable (inset)
9399 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9401 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9403 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9404 server is not running.
9406 (closeConnection): add debug info when server is disabled.
9408 * ColorHandler.C (getGCForeground): send debug message to GUI
9411 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9413 * kbmap.C (bind): modify because return conventions of
9414 kb_sequence::parse have changed.
9416 * kbsequence.C (parse): only ignore spaces and not any stupid
9417 control character. This avoids tests like s[i] <= ' ', which are
9418 guaranteed to fail with 8bit characters and signed chars.
9419 Change return code to string::npos when there have been no error
9420 (0 was a bad idea when error is at first character)
9422 2001-11-14 José Matos <jamatos@fep.up.pt>
9425 * buffer.C (simpleDocBookOnePar): removed unused argument.
9427 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9429 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9430 insets which are part of a word. Paragraph::isLetter takes care of
9431 that now. Use Paragraph::isInset to identify insets.
9432 (selectSelectedWord): do not test for hyphenation break.
9434 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9435 that protected spaces are considered as spaces.
9437 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9440 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9443 * lyxserver.C: fix it. and small cleanup.
9445 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9447 * BufferView_pimpl.C: use inline helpers
9450 * LaTeXFeatures.C: fix typos
9453 * Spacing.C: move spacing_string into class
9455 * ToolbarDefaults.C: move stuff into namespace anon
9457 * layout.h: update enum
9459 * lyxfunc.C: use better debug
9461 * minibuffer.h: fix typo
9465 * WorkArea.C: add and use Debug::WORKAREA
9469 * text2.C: code re-organisation, inline helpers
9471 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9473 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9474 std::vector.empty().
9476 2001-11-09 Allan Rae <rae@lyx.org>
9478 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9479 '\n's after tables. Tabular and ERT inset work now makes this no
9482 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9485 * minibuffer.C: fix crash, improve drop-down completion
9487 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9490 * lyxserver.C: invalidate fd's when doing endPipe()
9492 2001-11-08 José Matos <jamatos@fep.up.pt>
9494 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9495 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9498 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9500 2001-11-07 José Matos <jamatos@fep.up.pt>
9503 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9506 * buffer.C (sgmlOpenTag):
9507 * buffer.C (sgmlCloseTag): removed debug info.
9509 * buffer.h (sgmlOpenTag):
9510 * buffer.h (sgmlCloseTag): made public.
9512 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9514 * buffer.C (saveParamsAsDefaults):
9515 * lyx_cb.C (MenuLayoutSave): remove
9517 * LyXAction.C (init):
9519 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9521 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9523 * buffer.C (setPaperStuff): removed from here...
9525 * bufferparams.C (setPaperStuff): ... and moved there.
9527 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9531 * XFormsView.C: add support for drop-down completion
9533 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9535 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9538 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9540 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9543 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9545 * lyx_main.C: change ref to known bugs
9547 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9549 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9550 to work around older babel problems.
9552 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9554 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9556 2001-10-24 Juergen Vigna <jug@sad.it>
9558 * tabular-old.C (ReadOld): below variable changes reflected.
9560 * tabular.[Ch]: added ltType struct for longtable header/footer
9561 defines and changed all instances where they are used. Added
9562 future support for double top/bottom rows.
9564 2001-10-24 José Matos <jamatos@fep.up.pt>
9566 * buffer.h (docbookHandleCaption):
9567 * buffer.C (docbookHandleCaption): removed unused function.
9568 (makeDocBookFile): moved docbook supported version to v4.1.
9570 2001-10-24 José Matos <jamatos@fep.up.pt>
9573 * tabular.C (docbookRow): new function to export docbook code of a row.
9574 (DocBook): now honors the longtable flags.
9576 2001-10-23 José Matos <jamatos@fep.up.pt>
9579 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9580 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9582 * buffer.C (makeLinuxDocFile):
9583 (makeDocBookFile): reworked the preamble, more clean, and with
9584 support for lyx defined entities. Changed the document declaration
9585 to be more XML friendly.
9587 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9588 if we need to output XML that should be done with a filter.
9590 2001-10-22 Juergen Vigna <jug@sad.it>
9592 * sp_pspell.h (class PSpell): add alive function needed in the
9593 controller to see if the spellchecker could be started.
9595 2001-10-22 Juergen Vigna <jug@sad.it>
9597 * buffer.C (insertStringAsLines): modify the font for inserting
9598 chars in certain conditions by calling checkInsertChar(font).
9600 2001-10-19 Juergen Vigna <jug@sad.it>
9602 * text.C (workWidth): use getRow instead of wrong algorithm.
9603 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9605 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9610 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9612 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9614 * text.C (workWidth): do not search for the exact row when
9615 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9616 optimization for big documents.
9618 2001-10-18 Juergen Vigna <jug@sad.it>
9620 * text.C (workWidth): new function with added Inset * parameter.
9622 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9624 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9626 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9627 change return type of getColumnNearX.
9630 * text.C (changeRegionCase): use uppercase/lowercase instead of
9633 (rightMargin): simplify code by factoring out the uses of
9638 (appendParagraph): use Paragraph::size_type
9640 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9642 * vspace.C (asLatexString): add a missing break
9644 2001-10-15 Herbert Voss <voss@perce.de>
9646 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9648 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9650 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9653 2001-10-10 André Pönitz <poenitz@gmx.net>
9655 * lyxfunc.C: removed greek_kb_flag.
9657 2001-10-10 Herbert Voss <voss@perce.de>
9659 * lyx_main.C: delete global string help_lyxdir.
9661 2001-10-09 Herbert Voss <voss@perce.de>
9663 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9665 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9667 * lyx_main.C: added global string help_lyxdir.
9669 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9671 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9673 * lyxrc.C (set_font_norm_type): support iso8859-4
9675 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9677 * LaTeX.C (deplog): add another regex for MikTeX
9679 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9681 * lyxrc.C (set_font_norm_type): support iso8859-3
9683 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9685 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9687 * LaTeXFeatures.C: remove special case of french and index
9689 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9690 before \begin{document}). This solves several incompatibilities.
9692 2001-10-03 Garst Reese <reese@isn.net>
9694 * lyx_cb.C: change CheckTex error msg.
9696 2001-10-03 José Matos <jamatos@fep.up.pt>
9698 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9700 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9702 * .cvsignore: update
9704 * lyx_main.C (commandLineVersionInfo): use new style version info.
9706 * buffer.C (writeFile):
9709 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9711 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9713 * version.h: update to use stuff in version.C
9715 * version.C.in: new file. Contains version information determined
9716 at compile time. This is a merging of version.h and
9719 2001-10-03 Juergen Vigna <jug@sad.it>
9721 * BufferView_pimpl.C (update): don't change "dirty" status in
9724 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9726 * WorkArea.C (c-tor): re-position version string slightly.
9728 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9730 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9731 revert to previous code.
9733 WorkArea.[Ch]: (show, destroySplash): methods removed.
9735 WorkArea.C: rework code so that it's an amalgam of the codes before and
9736 after the splash screen was moved to WorkArea.
9738 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9741 * vspace.C (inPixels):
9744 * buffer.C (insertStringAsLines):
9745 (asciiParagraph): fix types to be large enough
9747 * lyxlex_pimpl.h: change member status from short to int
9749 * layout.h: fix type of endlabeltype
9752 * kbsequence.C (parse): change return type to string::size_type
9754 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9757 * Bullet.C (bulletSize):
9758 (bulletEntry): do not use short ints as parameters
9760 * BufferView2.C (insertLyXFile): change a char to an int.
9762 * WorkArea.C (WorkArea): remove unneeded floats in computation
9764 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9766 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9768 * paragraph.C (asString): Do not ignore newline/hfill chars when
9769 copying to the clipboard.
9771 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9773 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9774 after a multi-line inset.
9776 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9778 * paragraph.C (validate): Set NeedLyXFootnoteCode
9780 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9782 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9783 and decrease-error to decrease.
9785 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9787 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9788 it more readable (should be equivalent)
9790 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9792 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9794 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9796 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9797 of a cursor (row, etc.) after a character has been deleted
9798 (deleteEmptyParagraphMechanism): call the method above on _all_
9799 cursors held by the LyXText when a double space has been
9802 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9804 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9806 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9808 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9809 background. Use greyOut() and the new show() methods to toggle between
9810 the foreground and background. Add code to remove the splash after
9811 its initial showing.
9813 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9814 (create_forms): no longer call Dialogs::showSplash.
9816 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9818 * .cvsignore: add version_info.h
9820 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9822 * version_info.h.in: new file
9824 * Makefile.am: add version_info.h.in
9826 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9827 version_info.h instead of VERSION_INFO
9829 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9831 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9832 The ERT inset now returns string().
9834 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9836 * lyxtext.h, text.C (selectNextWord): renamed as
9837 selectNextWordToSpellcheck.
9839 * text.C (selectNextWordToSpellcheck): Modified to not select
9840 words inside an ERT inset.
9842 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9844 * lyx_cb.C (MenuLayoutSave): change a bit the question
9846 * sp_base.h: include <sys/types.h>
9848 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9850 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9852 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9854 * several files: fix typos in user-visible strings
9856 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9858 * text2.C (pasteSelection): do not set the selection, since it
9859 will be cleared later. Actually, the intent was to fix the way the
9860 selection was set, but I figured rmoving the code was just as good.
9862 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9864 * FontLoader.C (available): Check if font is available without
9867 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9869 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9871 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9873 * lyxrc.[Ch]: added display_graphics variable and associated code.
9875 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9877 * bufferparams.C (hasClassDefaults): new method. Returns true if
9878 the buffer parameters correspond to known class defaults
9880 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9882 * XFormsView.C (show): set minimum size to the main window.
9884 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9886 * text2.C (copySelection):
9888 * lyxfind.C (LyXReplace):
9889 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9890 LyXText::selectionAsString.
9892 * paragraph.C (asString): add "label" argument to the second form
9894 * text2.C (selectionAsString): add "label" argument and pass it to
9895 Paragraph::asString.
9897 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9899 * lyx_main.C (commandLineHelp): remove version information
9901 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9903 * lyx_main.C: add -version commandline option
9905 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9907 * paragraph.h: make the optional constructor arg required instead.
9908 some modifications to other files because of this.
9910 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9912 * lyxserver.C (C_LyXComm_callback): make it static
9914 * lyx_main.C (error_handler): make it static
9916 * lyx_gui.C (LyX_XErrHandler): make it static
9918 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9920 * WorkArea.C: make the extern "C" methods static.
9922 * Makefile.am (lyx_LDADD): simplify
9924 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9926 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9927 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9929 * LyXAction.C (init):
9930 * lyxfunc.C (dispatch): associated code removal.
9932 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9934 * lyxfont.h (isSymbolFont): shut off warning
9936 * text.C (setHeightOfRow):
9937 (getVisibleRow): fix crash with empty paragraphs which have a
9940 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9942 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9945 2001-09-04 José Matos <jamatos@fep.up.pt>
9948 * tabular.C (docbook): rename docBook method to docbook.
9950 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9952 * Makefile.am: add dependencies to main.o.
9954 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9956 * FontLoader.C (available): Return false if !lyxrc.use_gui
9958 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9960 * FontInfo.C (query):
9961 * converter.C (view):
9962 * importer.C (Import):
9963 * exporter.C (Export): Can not -> cannot.
9965 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9967 * BufferView_pimpl.C: allow to create index inset even if
9970 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9972 * buffer.C (getLists): replace boost::tie code with an explicit pair
9973 as boost::tie can break some compilers.
9975 * iterators.h: Added a std:: declaration to the return type of
9978 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9980 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9983 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9985 * iterators.[Ch]: New files. Provide paragraph iterators.
9987 * buffer.C (changeLanguage): Use paragraph iterators.
9988 (isMultiLingual): ditto
9990 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9992 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9994 * FontLoader.C: Support for cmr font.
9996 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9998 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9999 (available): New method.
10001 * FontInfo.C (getFontname): Use scalable fonts even when
10002 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10005 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10007 * converter.C (Formats::view): reverted! Incorrect fix.
10009 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10011 * converter.C (Formats::view): only output the -paper option
10012 if the dvi viewer is xdvi, thereby fixing bug #233429.
10014 2001-08-23 Herbert Voss <voss@perce>
10016 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10018 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10020 * Spacing.h (Spacing): Set space to Default on in the default
10023 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10025 * vc-backend.h (RCS::versionString): add RCS to version
10026 (CVS::versionString): add CVS to version
10028 * vc-backend.C (scanMaster): do not add CVS to version.
10029 (scanMaster): do not add RCS to version
10031 * lyxvc.C (versionString): new method
10033 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10035 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10037 * Spacing.C (set): initialize fval
10039 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10041 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10044 2001-08-16 Juergen Vigna <jug@sad.it>
10046 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10048 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10050 * BufferView_pimpl.C:
10053 * text2.C: setParagraph takes linespacing now
10055 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10057 * LyxAction.C: add internal LFUN_CITATION_INSERT
10059 * LyXView.C: actually apply fix
10061 * bufferlist.C: fix open non-existent file
10063 * lyxfind.C: fix indentation
10065 * lyxfunc.C: remove unneeded assert, fix typo
10067 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10069 * MenuBackend.C: use "Floatname List"
10071 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10073 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10074 when converting LaTeX layout to insetERT.
10075 Generate a non-collapsed float when reading old float
10077 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10079 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10082 2001-08-13 Juergen Vigna <jug@sad.it>
10084 * text.C (fill): return 0 instead of 20 as this seems to be the more
10087 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10089 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10092 2001-08-13 Juergen Vigna <jug@sad.it>
10094 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10096 (SearchBackward): comment out the unlocking of the inset_owner this
10097 should not be needed!
10099 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10101 * Many files: Remove inherit_language, and add latex_language
10103 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10104 collapsible insets.
10106 2001-08-10 Juergen Vigna <jug@sad.it>
10108 * text.C (prepareToPrint): fixed hfill-width in draw!
10110 * BufferView2.C (selectLastWord): save the selection cursor as this
10111 now is cleared in the function LyXText::clearSelection!
10113 2001-08-08 Juergen Vigna <jug@sad.it>
10115 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10116 BACKSPACE type functions.
10118 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10119 is only cutted from the document but not put in the cut-buffer, where
10120 still the old stuff should be.
10122 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10124 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10126 * tabular.C (SetWidthOfCell): fixed special case where the width
10128 (LeftLine): handle '|' in align_special.
10130 (LeftAlreadyDrawed): ditto
10131 (SetWidthOfCell): ditto
10133 2001-08-07 Juergen Vigna <jug@sad.it>
10135 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10137 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10139 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10140 * lyxlex.[hC]: ditto
10142 2001-08-06 Juergen Vigna <jug@sad.it>
10144 * text.C (getVisibleRow): fix up row clearing a bit.
10146 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10148 * minibuffer.C: make sure the X server sees the changes in the input.
10150 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10152 * paragraph.C (getFont): split into...
10153 (getLabelFont): this
10154 (getLayoutFont): and this
10155 * paragraph_pimpl.C (realizeFont): calling this
10157 * text2.C (getFont): split into...
10158 (getLayoutFont): this
10159 (getLabelFont): and this
10160 (realizeFont): all three calling this
10162 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10165 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10167 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10169 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10171 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10172 layouts from the Quote inset insertion.
10174 2001-08-03 Juergen Vigna <jug@sad.it>
10176 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10178 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10179 only if status not is already CHANGED_IN_DRAW (second level).
10181 * text.C (draw): don't set the need_break_row when inside an
10184 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10186 * buffer.C (parseSingleLyXformat2Token): handle more latex
10189 * bufferview_funcs.[hC]: change function names to
10190 begin with small char, adjust other files.
10192 2001-08-02 André Pönitz <poenitz@gmx.net>
10195 BufferView_pimpl.C: remove broken special code for math-greek
10197 2001-08-02 Juergen Vigna <jug@sad.it>
10199 * BufferView_pimpl.C (update): redone this function so that we
10200 update the text again if there was a CHANGE_IN_DRAW.
10202 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10203 (drawFromTo): added a new internal bool which is used by draw() and
10205 (general): some cursor drawing problems fixed.
10207 2001-08-01 Juergen Vigna <jug@sad.it>
10209 * lyxfind.C (LyXFind): fixed
10210 (SearchForward): ditto
10211 (SearchBackward): ditto
10213 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10214 spurius drawing of the cursor in the main area.
10216 * text2.C (status): small fix which could lead to a segfault!
10217 (clearSelection): remove unneeded BufferView param.
10219 2001-08-01 André Pönitz <poenitz@gmx.net>
10221 * lyxfunc.C: small change due to changed mathed interface
10223 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10225 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10227 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10229 * lyxfunc.c: fail gracefully if file doesn't exist
10234 * BufferView_pimpl.C: IsDirWriteable() proto changed
10236 * LyXView.C: fix updateWindowTitle() to store the last title
10238 2001-07-31 Juergen Vigna <jug@sad.it>
10240 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10241 the font (wrong since using of Paragraph::highestFontInRange).
10243 * paragraph.C (highestFontInRange): added a default_size parameter.
10245 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10246 (setHeightOfRow): reformat
10248 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10250 * converter.[hC] + affected files: move to (inital-char)lowercase
10253 * ParagraphParameters.C (ParagraphParameters): remove commented code
10255 * PainterBase.[Ch]: remove commented code
10257 * LaTeXFeatures.h: add "bool floats" for float.sty
10259 * LaTeXFeatures.C (LaTeXFeatures): init floats
10260 (require): handle float
10261 (getPackages): do it with floats
10263 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10265 * BufferView_pimpl.C (Dispatch): improve handling of
10266 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10268 * commandtags.h: #include lyxfont.h here temporarily to avoid
10271 * bufferlist.h: include LString.h here.
10273 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10275 * text2.C (getStringToIndex): new method.
10277 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10279 * *: Reduced header file dependencies all over.
10281 2001-07-30 Baruch Even <baruch@lyx.org>
10283 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10285 2001-07-29 Baruch Even <baruch@lyx.org>
10287 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10289 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10291 * ParameterStruct.h (endif): add a default constructor to make
10292 sure that all variables is initialized.
10294 * ParagraphParameters.C (ParagraphParameters): adjust
10296 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10298 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10299 index; also, check that there is something to index, and that it
10300 does not span over several paragraphs.
10301 (doubleClick): use WHOLE_WORD_STRICT for double click.
10303 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10305 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10308 2001-07-26 Baruch Even <baruch@lyx.org>
10310 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10311 an InsetFig figure, backwards compatible reading of old figure code.
10313 2001-07-27 Juergen Vigna <jug@sad.it>
10315 * text2.C: font.realize function adaption.
10317 * text.C (draw): add a warnings lyxerr text if needed.
10319 * layout.C: font.realize function adaption.
10321 * language.C: add inherit_language and implement it's handlings
10323 * bufferview_funcs.C (StyleReset): remove language parameter from
10324 font creation (should be language_inherit now).
10326 * bufferparams.C (writeFile): handle ignore_language.
10328 * paragraph.C (getFontSettings): the language has to be resolved
10329 otherwise we have problems in LyXFont!
10331 * lyxfont.C (lyxWriteChanges): added document_language parameter
10332 (update): removed unneeded language parameter
10334 * paragraph.C (validate): fixed wrong output of color-package when
10335 using interface colors for certain fonts in certain environments,
10336 which should not seen as that on the final output.
10338 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10340 * BufferView_pimpl.C:
10345 * LyXAction.C: add thesaurus support
10348 * lyxfind.C: add "once" parameter, for thesaurus, to not
10349 move to the next match
10351 2001-07-26 Juergen Vigna <jug@sad.it>
10353 * lyxfont.C (realize): honor ignore_language too!
10356 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10358 * text.C (draw): one place more for ignore_language to not draw
10361 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10363 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10365 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10367 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10368 the minipage conversion problem.
10370 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10372 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10375 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10377 * BufferView.h: don't forward declare WorkArea
10379 * BufferView.C: don't include WorkArea.h
10381 2001-07-25 André Pönitz <poenitz@gmx.net>
10385 * lyxfunc.C: new LFUN 'math-space'
10387 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10389 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10391 * text2.C (toggleInset): call open/close
10393 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10395 * lyxfunc.C (dispatch): add debug for the disabled case
10397 * font.C (buttonText): make similar to rectText
10399 * buffer.C (readInset): comment out parsing of insetlist and
10402 * PainterBase.C (rectText): small correction
10404 * BufferView_pimpl.C: comment out insettheorem and insetlist
10405 * LyXAction.C: ditto
10406 * commandtags.h: ditto
10408 2001-07-24 Juergen Vigna <jug@sad.it>
10410 * text.C (draw): honor the ignore_language.
10412 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10414 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10416 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10419 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10421 * lyxtext.h: remove unused (and unimplemented) methods
10423 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10425 * text.C (getVisibleRow): honor background color
10428 * Painter.h: remove default color argument for fillRectangle
10430 * text.C (backgroundColor): new method
10432 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10434 * text.C (getVisibleRow): adjust
10436 * font.[Ch] (rectText): new method, metrics
10437 (buttonText): new method, metrics
10439 * PainterBase.[hC]: make rectText and buttonText always draw and take
10442 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10444 * ToolbarDefaults.C (read):
10445 * MenuBackend.C (read): allow escaping in all strings
10447 * BufferView_pimpl.C (insertAndEditInset): new method.
10448 (Dispatch): use insertAndEditInset whenever appropriate.
10450 * BufferView_pimpl.C (insertNote): removed
10452 * BufferView_pimpl.C (smartQuote): new method, moved from
10453 BufferView; if an insetquote cannot be inserted, insert a '"'
10456 * BufferView2.C: remove insertCorrectQuote();
10458 * lyxfunc.C (getStatus): Add support for all remaingin
10459 inset-insert lfuns.
10461 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10463 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10464 command (necessary to pass " as parameter of self-insert.
10466 * text.C (selectWordWhenUnderCursor):
10467 (selectWord): add word_location parameter
10468 (selectWordWhenUnderCursor): same + remove special code for word
10470 (selectNextWord): use kind() to guess type of insetspecialchar,
10473 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10474 (insertErtContents): create ert insets as collapsed.
10475 (readInset): better compatibility code for Info inset.
10477 2001-07-20 Juergen Vigna <jug@sad.it>
10479 * lyxfunc.C (dispatch): use always LyXFind now!
10481 * text2.C (init): add a reinit flag so that the LyXText can be
10482 reinited instead of deleted and reallocated (used in InsetText).
10484 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10490 2001-07-18 Juergen Vigna <jug@sad.it>
10492 * text.C (selectNextWord): handle insets inside inset by calling
10493 always the bv->text functions so that we can go up the_locking_inset!
10495 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10496 in strange locations when inside an inset!
10498 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10499 handling to include insets.
10501 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10503 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10505 * LyXAction.C (init):
10507 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10508 LIGATURE_BREAK, since the name is so stupid.
10510 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10512 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10515 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10517 * sp_form.[Ch]: remove.
10519 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10521 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10524 * src/buffer.C (readInset): ditto.
10526 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10528 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10529 menuSeparator(), endOfSentenceDot(), ldots() and
10530 hyphenationPoint(), which are therefore removed.
10531 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10533 * LyXAction.C (init):
10534 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10536 * paragraph.C (getWord): removed.
10538 * BufferView_pimpl.C (Dispatch): use last word or selection for
10539 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10541 * lyx_main.C (queryUserLyXDir): do not ask before creating
10542 user_dir, except if it has been named explicitely.
10544 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10546 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10547 a document of zero size.
10549 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10551 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10552 approriately in the c-tor and in require().
10553 (getPackages): output the appropriate LaTeX for natbib support.
10555 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10556 variables "use_natbib" and "use_numerical_citations" when reading the
10558 (readInset): read the various natbib cite commands.
10559 (validate): white-space change.
10561 * bufferparams.[Ch]: new variables "bool use_natbib" and
10562 "bool use_numerical_citations".
10563 (writeFile): output them in the LyX file.
10565 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10567 * lyxfunc.C (getStatus): add support for all the inset insertion
10570 * text2.C (insertInset):
10571 * paragraph.C (insetAllowed):
10572 * BufferView_pimpl.C (insertInset): update to take in account the
10573 renaming of insertInsetAllowed
10575 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10577 * text2.C (getInset): new method. returns inset at cursor position.
10579 * BufferView_pimpl.C (Dispatch): changes because of this.
10581 * LyXAction.C (init): rename open-stuff to inset-toggle.
10583 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10585 * text2.C (toggleInset): renamed from openStuff; use
10588 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10590 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10592 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10594 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10596 * buffer.C (readLyXformat2): Add filename to the error dialog
10598 2001-07-18 Juergen Vigna <jug@sad.it>
10600 * tabular.C (GetCellNumber): put an assert here instead of the check!
10602 2001-07-17 Juergen Vigna <jug@sad.it>
10604 * BufferView_pimpl.C (toggleSelection): adapted too.
10606 * text.C (selectNextWord): adapted for use with insets.
10607 (selectSelectedWord): ditto
10609 2001-07-17 Juergen Vigna <jug@sad.it>
10611 * sp_spell.C (PSpell): fix initialitation order.
10613 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10615 * paragraph.C: spacing
10617 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10619 * sp_spell.C: repair language selection for pspell
10621 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10623 * lyxfunc.h: change more methods to begin with lower char.
10625 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10627 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10628 for unknown layouts.
10630 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10632 * buffer.C (readLyXformat2): Generate an error dialog if there are
10635 2001-07-16 Juergen Vigna <jug@sad.it>
10637 * sp_spell.C: always compile ISpell part.
10639 * lyxrc.C: added use_pspell entry and it's handling.
10641 2001-07-13 Juergen Vigna <jug@sad.it>
10643 * sp_spell.C: removed double includes.
10645 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10647 Consistent use of Lsstream.h:
10648 * Lsstream.h: added using std::stringstream for consistencies sake.
10650 * buffer.C: removed using std::stringstream
10652 * lyxfont.C (stateText):
10653 * paragraph.C (asString):
10654 * text.C (selectNextWord, selectSelectedWord):
10655 * text2.C (setCounter):
10656 * vspace.C (asString, asLatexString):
10657 std::ostringstream -> ostringstream.
10659 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10661 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10662 * commandtags.h: add LFUN_HELP_ABOUTLYX
10663 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10665 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10667 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10669 * lyx_gui_misc.C: remove spellchecker
10670 * lyxfunc.C: showSpellchecker
10672 * sp_ispell.h: added
10673 * sp_pspell.h: added
10674 * sp_spell.C: added
10675 * sp_form.[Ch]: removed
10676 * spellchecker.[Ch]: removed
10678 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10680 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10682 (simpleTeXSpecialChars): Simply print the input character without
10683 any special translation if pass_thru is set.
10685 * layout.h: Added bool pass_thru to layout class for being able to
10686 implement pass through of a paragraph for Literate Programming.
10688 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10689 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10690 * layout.C (Read): add "passthru" to list of layout tags and add
10691 code to set the pass_thru boolean when it is read.
10693 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10695 * trans_decl.h: remove allowed from KmodInfo
10697 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10698 remove allowed code
10701 * paragraph_pimpl.C (erase): use boost::prior
10703 * Painter.C (text): use data() instead of c_str() when length is
10705 * WorkArea.C (putClipboard): ditto
10706 * font.h (width): ditto
10708 * BufferView2.C: use it-> instead of (*it). for iterators
10710 * paragraph_pimpl.C: ditto
10711 * paragraph.C: ditto
10712 * minibuffer.C: ditto
10713 * language.C: ditto
10715 * encoding.C: ditto
10716 * counters.C: ditto
10717 * converter.C: ditto
10719 * Variables.C: ditto
10720 * TextCache.C: ditto
10721 * MenuBackend.C: ditto
10722 * LyXAction.C: ditto
10724 * FloatList.C: ditto
10725 * DepTable.C: ditto
10726 * ColorHandler.C (LyXColorHandler): ditto
10728 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10730 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10732 * text2.C (openStuff): reintroduce this method (which had been
10733 nuked in NEW_INSETS frenzy).
10735 * lyxfunc.C (Dispatch): when an action has not been handled, use
10736 its name in the error message, not its number.
10738 * paragraph.C (inInset): change method name to begin with lowercase.
10741 * text2.C: updates because of this.
10743 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10745 * ToolbarDefaults.C (add): add spaces in error message
10747 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10749 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10750 (readLyXformat2): rename return_par to first_par, use lyxlex's
10751 pushToken and remove the manual push handling.
10752 (parseSingleLyXformat2Token): add another ert comp. variable:
10753 in_tabular, rename return_par to first_par. handle newlines better
10755 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10757 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10759 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10761 * text2.C (getParFromID): removed
10763 * buffer.C (getParFromID): new method moved form lyxtext.
10764 * BufferView2.C (insertErrors): adjust
10765 (setCursorFromRow): adjust
10766 * BufferView_pimpl.C (restorePosition): adjust
10767 * lyxfunc.C (Dispatch): adjust
10768 * undo_funcs.C (textUndo): adjust
10770 (textHandleUndo): adjust
10771 (textHandleUndo): adjust
10773 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10775 * buffer.C: up' the LYX_FORMAT
10777 * lyxfont.h: turn NO_LATEX on as default
10779 * buffer.C (insertErtContents): new methods of tex style compability.
10780 (parseSingleLyXformat2Token): use it several places.
10781 * tabular.C (OldFormatRead): and here
10783 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10785 * text2.C: remove some commented code.
10788 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10789 * trans.C: changes because of the above.
10791 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10793 * text2.C (setCounter): Fix counters bug with bibliography layout.
10795 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10797 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10798 own member functions
10799 (simpleTeXSpecialChars): ditto
10801 2001-07-06 Juergen Vigna <jug@sad.it>
10803 * a lot of files: changed the access to LyXText::status and the
10804 call of undo-functions.
10806 * undo.[Ch]: added a inset_id to the undo informations.
10808 * undo_funcs.[Ch]: added and moved here all undo functions.
10810 * lyxtext.h: give the status enum a weight, made status_ a private
10811 variable and made accessor functions for it, removed the whole bunch
10812 of undo-functions as they are now in their own file, make some
10813 functions publically available. Added function ownerParagraph with
10816 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10817 made InInset() a const function, added getParFromID() function.
10819 * buffer.[Ch]: added const version for inset_iterator functions,
10820 added getInsetFromID() function.
10822 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10823 changed undo functions for new version.
10825 2001-07-05 Juergen Vigna <jug@sad.it>
10827 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10828 unknow mechanism does not call the proper constructor but only this
10829 one also if I request the other!?
10831 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10833 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10835 * text2.C (LyXText): use initialization lists.
10837 * lyxtext.h (Selection): initialize set_ and mark_
10838 (init): remove method
10840 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10842 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10844 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10846 * screen.[Ch]: change method names to begin with lowercase
10848 * BufferView_pimpl.C (updateScrollbar): simplify further and
10849 hopefully make it a bit faster.
10851 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10853 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10854 calling directly xforms functions.
10856 * Painter.C (Painter):
10857 * lyx_cb.C (MenuWrite):
10858 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10861 * lyx_gui.C: remove bogus guiruntime extern declaration.
10863 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10865 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10867 (redoDrawingOfParagraph): ditto
10868 (redoParagraphs): ditto
10869 (cutSelection): don't create a object for CutAndPaste use the
10870 static method directly
10871 (pasteSelection): ditto
10873 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10876 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10878 * modifications to some other files because of this.
10880 * Makefile.am (lyx_SOURCES): add XFormsView
10882 * XFormsView.[Ch]: new files
10884 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10885 the main window. Move the gui dependent stuff to XFormsView
10887 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10889 * tabular.C (GetCellInset): update cur_cell also in the row/col
10890 version of this function.
10892 * lyxfunc.C: no need to include figure_form.h here.
10898 * lyxvc.C: no need to include forms.h here.
10900 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10902 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10904 * lyxfunc.C (Dispatch):
10906 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10907 constructor argument.
10909 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10911 * paragraph.C (Paragraph): dont't clear, and just set layout.
10912 (makeSameLayout): use params's copy contructor.
10914 * ParagraphParameters.[Ch] (makeSame): delete method
10916 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10918 * Variables.[Ch]: fix indentation, rename set to isSet
10920 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10922 * lyxfunc.C (Dispatch): fix typo
10924 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10926 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10929 * bufferlist.C: include assert.h for emergencyWrite().
10931 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10933 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10934 give up at last (bug #425202) !
10936 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10942 * spellchecker.C: strip spellchecker options and bring up
10943 preferences tab instead
10945 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10947 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10948 the istringstream constructor
10950 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10952 * paragraph.C (getLayout): fix return value
10954 * paragraph.h: do not declare getLayout as inline.
10956 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10958 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10960 * lyxcursor.h (operator<): new func
10961 (operator>): new func
10962 (operator>=): new func
10963 (operator<=): new func
10965 * text.C (changeCase): use selection.start and selection.end
10966 (changeRegionCase): require from to be <= to. Require par to be a
10969 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10971 2001-06-27 Juergen Vigna <jug@sad.it>
10973 * text.C (cursorLeftOneWord): changed to return the cursor and added
10974 overlay with BufferView * parameter which calls this one.
10976 (selectWord): use new getWord function.
10977 (changeCase): renamed from changeWordCase as and extended to work
10978 also on selections.
10980 * lyxtext.h: added enum word_location
10982 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10983 changeCase as this operates now also on selections.
10985 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10987 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10989 * many files: send debug output to Debug::INFO instead of
10992 * converter.C (View):
10994 (Move): send debug output to Debug::FILES instead of console.
10996 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10998 * lyxfunc.C (getStatus): use func_status
11000 * func_status.h: new header, describing the results of
11001 LyXFunc::getStatus;
11003 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11006 2001-06-25 The LyX Project <jug@sad.it>
11008 * buffer.C (sgmlOpenTag):
11010 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11012 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11014 * text2.C: remove some dead code
11016 * tabular.C (GetCellInset): store the last cell checked (gotten)
11018 * tabular.h: add the helper for the speedup
11020 * lyxtext.h: remove some dead code
11022 2001-06-26 The LyX Project <Asger>
11024 * paragraph.C: Change export to LaTeX of alignment to
11025 \begin{center} and family for better roundtrip work with reLyX.
11027 * Tune the math drawing a bit.
11029 2001-06-25 The LyX Project <Asger>
11031 * LColor.C (LColor): New color for math background. New color
11034 2001-06-25 The LyX Project <jug@sad.it>
11036 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11038 * lyxfunc.C (Open):
11039 * bufferlist.C (newFile): do not restrict to files ending with
11042 * BufferView_pimpl.C (MenuInsertLyXFile):
11044 2001-06-24 The LyX Project <jug@sad.it>
11046 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11049 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11051 * lyxtext.h: rename most methods to begin with a small char.
11052 Lots of changes because of this.
11054 * paragraph.C (Paragraph): do not call fitToSize
11055 (erase): call Pimpl::erase
11056 (insertChar): call Pimpl::insertChar
11057 (insertInset): call Pipl::insertInset
11058 (breakParagraph): do not call fitToSize
11059 (breakParagraphConservative): do not call fitToSize
11060 (fitToSize): remove method
11062 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11064 2001-06-24 The LyX Project <Asger>
11066 * Fix Qt compilation^2
11068 2001-06-24 The LyX Project <jug@sad.it>
11070 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11071 depthHook(getDepth()-1).
11074 * ParagraphParameters.h:
11075 * ParameterStruct.h: change type of depth to unsigned int ==
11076 depth_type. Many adaptations to other files before of that.
11078 2001-06-24 The LyX Project <Asger>
11080 * Fix Qt compilation.
11082 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11084 * paragraph.h: renamed several methods to begin with small letter.
11085 several changes to many parts of the code because of this.
11087 2001-06-23 The LyX Project <jug@sad.it>
11089 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11090 rewritten to discard all double spaces when KeepEmpty is off
11091 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11092 to only handle newlines but not fiddle with spaces and friends.
11094 * lyxfunc.C (MenuNew): when doing 'new from template', use
11095 template_path as default directory
11097 2001-06-23 The LyX Project <Asger>
11099 * Clean-up of header file includes all over
11100 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11102 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11104 * paragraph.h: renamed from lyxparagraph.h
11106 2001-06-23 Asger <lyx@violet.home.sad.it>
11108 * Buffer.h: Removed Buffer::resize
11109 * BufferList.h: Removed BufferList::resize
11110 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11111 the document lazily when we change the width, or the font settings.
11113 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11115 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11117 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11119 * buffer.h: remove out of date comment
11121 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11124 * screen.C: fix "theoretical" GC leak
11126 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11128 * LaTeX.C (scanAuxFile):
11129 (deplog): remove trailing \r when reading stream (useful under
11132 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11134 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11135 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11136 and BufferView::theLockingInset(Inset*), so should use them and not
11137 access bv_->text->the_locking_inset directly.
11139 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11141 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11144 * tex-defs.h: remove old unused file
11146 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11148 * BufferView_pimpl.C: fix typo, remove minibuffer message
11149 when buffer has loaded
11151 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11153 * lyxfunc.C (Dispatch): use stringstream
11154 (MenuNew): use stringstream
11155 (Open): use stringstream
11157 * importer.C (Import): use stringstream
11159 * bufferview_funcs.C (CurrentState): use stringstream
11161 * LaTeX.C (run): use stringstream
11163 * BufferView_pimpl.C (savePosition): use stringstream
11164 (restorePosition): use stringstream
11165 (MenuInsertLyXFile): use stringstream
11167 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11180 * vspace.C: removed // -*- C++ -*- as first line.
11183 * version.h: added // -*- C++ -*- as first line.
11185 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11187 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11189 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11192 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11194 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11197 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11199 * gettext.C: include LString.h even when --disable-nls is on.
11201 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11203 * converter.h (Get): changed argument type from int to
11204 FormatList::size_type to avoid unnecessary conversion.
11206 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11209 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11211 * gettext.h: include LString.h even when --disable-nls is on.
11213 2001-06-07 Juergen Vigna <jug@sad.it>
11215 * text.C (BreakAgain): subst spaces with tabs.
11217 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11218 (resizeInsetsLyXText): set force on resizeLyXText.
11220 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11222 * gettext.h (gettext_init):
11223 (locale_init): use a real definition instead of a macro
11225 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11227 * Bufferview_pimpl.C:
11229 * LColor.C: further lcolor tidies
11231 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11233 * BufferView_pimpl.C (updateScrollbar): simplify.
11235 * BufferView2.C: don't include insets/insetinfo.h, change
11236 prototype for insertInset and call the Pimpl version. let
11237 updateInset call Pimpl version.
11239 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11240 gotoInset to BufferView::Pimpl
11242 2001-06-01 Juergen Vigna <jug@sad.it>
11244 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11245 inside a LockingInset (is the update needed at all?).
11247 2001-05-31 Juergen Vigna <jug@sad.it>
11249 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11250 here not the old one otherwise how should we compare it afterwards
11253 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11258 * FontInfo.C: bring C functions into global namespace when
11261 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11263 * LString.h: make sure config.h has been loaded before LString.h.
11265 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11266 (one for each char read by EatLine!).
11268 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11271 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11273 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11274 to the same as the par we break from
11276 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11278 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11280 * MenuBackend.C (expand): also create menu entries for wide
11281 versions of the floats.
11283 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11285 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11287 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11288 frontends/Makefile.am
11294 * tabular.C (getTokenValue): add std::
11296 * tabular-old.C (getTokenValue): add std::
11297 (getTokenValue): ditto
11298 (getTokenValue): ditto
11300 * screen.C (ToggleSelection): adjust
11302 * lyxtext.h: put selection cursors inside a Selection struct.
11304 * lyxfunc.C (moveCursorUpdate): adjust
11306 * lyxfont.C (latexWriteStartChanges): add std::
11308 * lyxfind.C: adjust
11310 * font.h: delete with(char const *, LyXFont const &)
11312 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11314 * FontInfo.C (getFontname): add std::
11316 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11317 (workAreaButtonPress): adjust
11318 (tripleClick): adjust
11320 (moveCursorUpdate): adjust
11323 * BufferView2.C (gotoInset): adjust
11325 2001-05-30 Juergen Vigna <jug@sad.it>
11327 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11328 to check pspell I add this as default as I now have new pspell
11329 libraries and they seem to use this.
11331 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11333 * text2.C (CutSelection): make the cursor valid before the call to
11336 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11338 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11339 relied on 0 terminated strings and other horrors. Bug found due to
11340 the new assert in lyxstring!
11342 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11345 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11347 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11350 * lyxfunc.C (processKeySym): change method of getting to the
11353 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11354 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11355 * BufferView_pimpl.[Ch]: here as private methods.
11357 2001-05-28 Juergen Vigna <jug@sad.it>
11359 * text.C (SetHeightOfRow): added the update() call again as it is
11360 needed to initialize inset dimensions!
11362 2001-05-16 Juergen Vigna <jug@sad.it>
11364 * text2.C (SetCharFont): Add new function with BufferView * and
11365 bool toggleall parameters for setting insets internal fonts.
11366 (SetFont): Freeze the undo as we may change fonts in Insets and
11367 all this change should be inside only one Undo!
11369 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11370 setting font's in insets as for them we have the SetFont function!
11372 2001-05-15 Juergen Vigna <jug@sad.it>
11374 * text2.C (ClearSelection): to be sure we REALLY don't have any
11377 * tabular.C (TeXCellPreamble): fixed the left border problem for
11380 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11382 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11385 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11387 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11388 LFUN_BREAKPARAGRAPH.
11390 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11391 help test to "internal only", similar for LFUN_INSERT_URL
11393 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11394 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11395 auto_region_delete and deadkeys.
11397 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11400 * LColor.C: remove some dead entries, tidy a little
11402 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11404 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11406 (Dispatch): implement LFUN_ESCAPE
11408 * commandtags.h: add LFUN_ESCAPE
11410 * LyXAction.C (init): add entry for LFUN_ESCAPE
11412 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11413 Remove commented code.
11414 (insertNote): moved here
11415 (open_new_inset): moved here
11417 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11420 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11422 * kbmap.C (findbinding): clean it up and make it work correctly.
11424 * lyx_main.C (init): do not pass argc and argv as parameters
11426 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11428 * buffer.C: fix path for OS/2 & Win32
11432 * lyx_main.C: Added os:: class.
11434 * os2_defines.h: update
11436 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11438 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11439 better by trying again with reduced state.
11441 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11443 * lyxrc.C (read): print error about invalid key sequence only when
11444 debugging (because not all latinX keysyms are known to some X
11447 * kbsequence.C (getiso): add a few std:: qualifiers
11448 (getiso): comment out extra return statement.
11450 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11452 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11454 (Dispatch): enhance the accent inset a bit. (not perfect)
11456 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11458 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11460 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11462 * bufferlist.C (emergencyWrite): fix assert() call
11464 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11466 * text.C (InsertChar): Added trivial patch to only send the "you
11467 can not do multiple spaces this way" message once during a
11470 2001-05-08 Baruch Even <baruch@lyx.org>
11472 * Makefile.am: Changed order of libraries to get LyX to link properly
11473 with the gnome frontend.
11475 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11477 * LaTeXFeatures.h: add a std:: qualifier
11479 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11481 * paragraph.C (String): use stringstream
11483 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11485 * paragraph.C (writeFile): remove footflag arg
11487 * buffer.C (makeLaTeXFile): use stringstream
11488 (latexParagraphs): remove footnot gurba
11490 * LaTeXFeatures.C (getPackages): use stringstream
11491 (getMacros): likewise
11492 (getTClassPreamble): likewise
11493 (getFloatDefinitions): new method
11495 * paragraph.C (writeFile): reindent
11498 * WorkArea.h: revert the xpos + etc changes.
11500 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11502 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11504 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11505 (pasteSelection): likewise
11506 * text2.C (CreateUndo): likewise
11508 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11510 * minibuffer.C (peek_event): temporarily reduce the functionality
11511 of the minibuffer (to allow args on lfuns)
11513 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11514 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11516 * buffer.C (readInset): add compability reading of old float
11517 lists, add reading of new style float list.
11518 (readInset): avoid reevaluation of inscmd.getCmdName()
11519 (getLists): reindent
11521 * MenuBackend.C (MenuItem): implement parsing of
11522 md_floatlistinsert and md_floatinsert.
11523 (expand::LastFiles): move initalizaton of iterators out of loop,
11524 avoid reevaluation.
11525 (expand::Documents): introduce typdedef vector<string> Strings,
11527 (expand::ExportFormats): introduce typedef vector<Format const *>
11528 Formats, and use it.
11529 (expand): implement FloatListInsert and FloatInsert.
11531 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11532 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11533 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11535 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11537 (Dispatch::LFUN_FLOAT_LIST): implement
11539 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11541 * LaTeX.C (run): Fix problem with --export code.
11543 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11545 * BufferView.[Ch] (workarea): removed.
11546 (getClipboard) new method; wrapper for workarea()->getClipboard()
11548 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11551 * WorkArea.h (width, height, xpos, ypos): These methods all
11552 returned the dimensions of the work_area sub-area of WorkArea,
11553 resulting in a position error if the WorkArea were resized. Now
11554 return the dimensions of the entire WorkArea.
11556 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11558 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11560 * LaTeX.C (deplog): correct the syntax of regex reg1
11562 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11564 * undo.C: remove !NEW_INSETS cruft
11566 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11568 * text2.C: remove !NEW_INSETS cruft
11570 * text.C: remove !NEW_INSETS cruft
11572 * tabular.C: remove !NEW_INSETS cruft
11574 * spellchecker.C: remove !NEW_INSETS cruft
11576 * lyxtext.h: remove !NEW_INSETS cruft
11578 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11580 * lyxfunc.C: remove !NEW_INSETS cruft
11582 * lyxfind.C: remove !NEW_INSETS cruft
11584 * lyx_cb.C: remove !NEW_INSETS cruft
11586 * figureForm.C: remove !NEW_INSETS cruft
11588 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11590 * buffer.[Ch]: remove !NEW_INSETS cruft
11592 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11594 * CutAndPaste.C: remove !NEW_INSETS cruft
11596 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11598 * BufferView2.C: remove !NEW_INSETS cruft
11600 * BufferView.h: remove !NEW_INSETS cruft
11602 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11604 * Lsstream.h: include LString.h before the sstream headers to
11605 fix problem with gcc 2.95.3 and lyxstring
11607 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11609 * lyx_main.C: add using directives when needed for C functions
11610 declared in std:: namespace.
11612 2001-04-27 Juergen Vigna <jug@sad.it>
11614 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11615 (SetHeightOfRow): comment out the update call should not be needed!
11617 2001-04-13 Juergen Vigna <jug@sad.it>
11619 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11620 (LyXTabular): tried to minimize operator= operations (and realized
11621 hopfully Lars wish).
11623 2001-04-27 Juergen Vigna <jug@sad.it>
11625 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11627 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11629 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11631 * buffer.C (readInset): hack to make listof algorithm work
11633 * BufferView_pimpl.C: hack to make listof algorithm work
11635 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11637 * LyXAction.C: removed all !NEW_INSETS cruft
11638 (init): moved lfun_item in method
11640 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11642 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11644 * BufferView2.C (theLockingInset): white space.
11646 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11648 * minibuffer.C: include <iostream>
11650 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11652 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11654 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11656 * text.[Ch] (TransposeChars): new method
11658 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11660 * call message directly through LyXView instead of through LyXFunc
11661 * BufferView2.C: adjust
11662 * BufferView_pimpl.C: adjust
11663 * FontLoader.C: adjust
11665 * bufferview_funcs.C: adjust
11666 * converter.C: adjust
11667 * figureForm.C: adjust
11668 * importer.C: adjust
11670 * lyx_gui_misc.C: adjust
11671 * lyxfunc.C: adjust
11674 + more files in subdirs
11676 * lyxparagraph.h (size): move up int file
11679 * adjust all uses of Assert to lyx::Assert.
11681 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11682 lyxfunctional in namespace lyx
11683 * layout.C (hasLayout): ditto
11686 (delete_layout): ditto
11687 (NumberOfClass): ditto
11688 * converter.C (GetFormat): ditto
11693 * bufferlist.C (getFileNames): ditto
11694 (emergencyWriteAll): ditto
11697 * MenuBackend.C (hasSubmenu): ditto
11700 * BufferView_pimpl.C (getInsetByCode): ditto
11702 2001-04-18 Juergen Vigna <jug@sad.it>
11704 * vspace.C (asLatexString): fixed the 100% problem.
11706 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11708 * lyxfunc.C (Dispatch):
11710 * minibuffer.h: add a few std:: qualifiers
11712 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11714 * minibuffer.[Ch]: reimplement so that commands is initiated and
11715 run from lyxfunc, simplified som handling, and made the completion
11716 and history code for complete. wip.
11718 * lyxfunc.C (processKeySym): call message
11719 (miniDispatch): new temporary method
11720 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11721 (LFUN_MESSAGE): implement
11722 (LFUN_MESSAGE_PUSH): implement
11723 (LFUN_MESSAGE_POP): implement
11724 (initMiniBuffer): the initial/defualt minibuffer message.
11726 * lyxfont.[Ch]: inline some more getters
11728 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11730 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11732 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11733 (AutoSave): use LFUN_MESSAGE
11734 (Reconfigure): ditto
11736 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11738 * figureForm.C: use LFUN_MESSAGE
11740 * converter.C (runLaTeX): use LFUN_MESSAGE
11742 * bufferview_funcs.C: use LFUN_MESSAGE
11744 (changeDepth): ditto
11746 * bufferparams.h: use boost::
11748 * bufferlist.h: inherit privately from noncopyable
11750 * bufferlist.C (loadLyXFile): remove some commented code.
11752 * buffer.C (runChktex): use LFUN_MESSAGE
11754 * ShareContainer.h: inherit privately from noncopyable
11756 * ParagraphParameters.[hC] (depth): inline it.
11758 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11760 (message): new method
11761 (messagePush): ditto
11762 (messagePop): ditto
11763 (show): init minibuffer
11764 (showState): direct call
11766 * LaTeX.[Ch]: inherit privately from noncopyable
11767 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11768 instead of WriteStatus.
11770 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11772 * BufferView_pimpl.C (buffer): don't init minibuffer
11773 (workAreaButtonPress): use LFUN_MESSAGE
11774 (workAreaButtonRelease): ditto
11775 (savePosition): ditto
11776 (restorePosition): ditto
11777 (MenuInsertLyXFile): ditto
11778 (workAreaExpose): don't init minibuffer
11779 (update): remove commented code, simplify
11781 * BufferView2.C (openStuff): use LFUN_MESSAGE
11782 (toggleFloat): ditto
11785 (copyEnvironment): ditto
11786 (pasteEnvironment): ditto
11791 (updateInset): remove some commented code
11793 * lastfiles.h: inherit privately from noncopyable
11796 * lyx_main.h: ditto
11798 * lyxlex_pimpl.h: ditto
11800 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11801 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11802 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11804 * LyXAction.h: inherit privately from noncopyable, add methods
11805 func_begin, func_end, returning iterators to the func map.
11807 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11808 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11809 (func_begin): new method
11810 (func_end): new method
11812 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11814 (copySelection): ditto
11815 (pasteSelection): ditto
11817 * BufferView.C: whitespace change
11818 * BufferView.h: inherit privately from noncopyable
11820 2001-04-16 Allan Rae <rae@lyx.org>
11822 * tabular-old.C (l_getline):
11823 * spellchecker.C (sc_check_word):
11824 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11825 an unrecognised preprocessor directive. So ensure they're wrapped.
11827 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11829 * src/exporter.C (Export): Give an error message when path to file
11832 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11834 * LaTeX.C (deplog): Always check that foundfile exists.
11836 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11839 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11841 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11843 * tabular.[Ch] (getLabelList): implement new method
11845 * minibuffer.h: comment ouf setTiimer
11847 * minibuffer.C (ExecutingCB): constify res
11848 (peek_event): constify s
11849 (Set): constify ntext
11850 (Init): constify nicename
11852 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11854 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11855 (savePosition): use two params to Minibuffer::Set
11856 (restorePosition): ditto
11858 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11860 * lyx_main.C: include language.h
11862 * Makefile.am (lyx_main.o): add language.h
11864 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11870 * CutAndPaste.C: include gettext.h
11872 * lyxfont.h: remove old hack with ON and OFF.
11875 * lyxfont.h: do not include language.h...
11880 * bufferview_funcs.C:
11886 * paragraph.C: ... but do it here instead
11888 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11890 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11892 * tabular.C: small reformat
11894 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11897 (BreakParagraph): ditto
11898 (SetOnlyLayout): ditto
11901 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11904 * lastfiles.C: removed most using decl, add std:: where needed
11906 * buffer.C: ws changes
11908 * MenuBackend.C (class compare_format): put into anon namespace
11909 (expand): constify label, names, action, action2
11912 * text.C (SingleWidth): constify font
11913 (IsBoundary): constify rtl2
11914 (GetVisibleRow): constify ww
11916 * LaTeX.C (deplog): constify logfile
11918 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11920 (workAreaExpose): constify widthChange, heightChange
11922 * lyxrow.C (par): moved
11925 * lyxrow.h: as inlines here
11927 * lyxfont.h (shape): moved from lyxfont.C
11928 (emph): moved from lyxfont.C
11930 * lyxfont.C (LyXFont): use initialization list for all
11932 (shape): move to lyxfont.h as inline
11933 (emph): move to lyxfont.h as inline
11936 2001-04-04 Juergen Vigna <jug@sad.it>
11938 * vspace.C: had to include stdio.h for use of sscanf
11940 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11943 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11944 independent of xforms.
11946 2001-04-02 Juergen Vigna <jug@sad.it>
11948 * spellchecker.C: fixed namespace placing!
11950 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11952 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11953 the LyXParagraph * is 0.
11955 2001-03-29 Juergen Vigna <jug@sad.it>
11957 * vspace.C: added support for %, c%, p%, l%.
11958 (stringFromUnit): added helper function.
11959 (asLatexString): changed to give right results for the %-values.
11961 * buffer.C: convert the widthp in a width%.
11963 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11965 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11968 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11969 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11971 * lyx_cb.[Ch]: see above.
11973 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11977 * lyx.[Ch]: replaced by figure_form.[Ch].
11981 * lyxfunc.C: changed headers associated with above changes.
11983 2001-03-27 Juergen Vigna <jug@sad.it>
11985 * BufferView_pimpl.C: set the temporary cursor right!
11987 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11989 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11991 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11993 * LString.h: removed "using std::getline"!
11995 * BufferView_pimpl.C (Dispatch): changes due to changes in
11996 InsetInclude::Params.
11998 * buffer.C (tag_name): removed redundant break statements as they were
11999 producing lots of warnings with my compiler.
12001 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12003 * LString.h: add "using std::getline" when using the real <string>.
12005 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12007 * buffer.C: removed bitset usage.
12008 PAR_TAG moved to an anonymous name space.
12009 (tag_name): new funtion, also in the anonymous namespace.
12010 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12011 (makeDocBookFile): clean code. Completed transition from string arrays
12013 (SimpleDocBookOnePar): code clean.
12015 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12017 * tabular.C: add some comments.
12019 2001-03-22 Juergen Vigna <jug@sad.it>
12021 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12022 compatibility read a bit and fixed bug with minipage in different
12025 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12027 * buffer.C (pop_tag): removed.
12028 (push_tag): removed.
12029 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12030 array replaced with vector. Added support for CDATA sections.
12031 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12033 (makeDocBookFile): XML conformant declaration of CDATA section,
12034 fixed bug related to <emphasis> in the first paragraph char.
12035 (sgmlOpenTag): exclude empty tags.
12036 (sgmlCloseTag): ditto.
12038 * buffer.h (pop_tag): removed.
12039 (push_tag): removed.
12041 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12043 * language.h (Languages): added size_type and size().
12045 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12047 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12048 response on compability reading of minipages. One probliem is that
12049 the old usage of minipages was «flertydig»
12051 * several files here and in subdirs: don't use static at file
12052 scope use anon namespaces instead.
12054 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12056 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12057 LaTeX output. This is necessary for Literate document
12060 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12062 * buffer.C: insert hfill when needed.
12064 * tabular.C (l_getline): use string::erase, small whitespace change.
12066 * BufferView_pimpl.C: try the anon namespace.
12067 * WorkArea.C: ditto
12069 2001-03-16 Juergen Vigna <jug@sad.it>
12071 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12072 otherwise it won't open options-dialogs.
12074 * buffer.C: honor pextraWidth(p) on converting minipages.
12076 * tabular.C (l_getline): changed the functions to strip trailing \r.
12078 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12080 * BufferView_pimpl.C:
12081 * minibuffer..C: added "using SigC::slot" declaration.
12083 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12085 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12091 * paragraph.C: ditto
12093 * lyxtext.h: NO_PEXTRA
12095 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12097 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12098 * ParameterStruct.h: ditto
12099 * ParagraphParameters.h: ditto
12100 * lyxparagraph.h: ditto
12102 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12104 * buffer.C: add compability for minipage alignment.
12105 (latexParagraphs): remove unwanted pextra check.
12107 * several files: remove CXX_WORKING_NAMESPACES
12109 * buffer.C (pop_tag): tie is in namespace boost
12111 * BufferView.h: noncopyable is in namespace boost
12113 * lyx_main.h: ditto
12116 * lastfiles.h: ditto
12117 * bufferlist.h: ditto
12118 * ShareContainer.h: ditto
12120 * LyXAction.h: ditto
12123 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12125 * Merging changes from BRANCH_MVC back into HEAD.
12127 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12129 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12131 * BufferView_pimpl.C: change from intl.C
12135 * Makefile.am: move combox.*
12141 * intl.C: remove dialog (covered by prefs)
12143 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12145 * lyxfunc.C (Dispatch): removed redundant break statement.
12147 2001-03-14 Juergen Vigna <jug@sad.it>
12149 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12151 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12153 * buffer.C: add hack to fix compability reading of minipages.
12155 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12157 * buffer.C (getLists): Cleanup.
12159 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12161 * lyxfont.C (update): don't honor toggleall on font size.
12163 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12167 * Makefile.am: moved to frontends/xforms/
12171 * BufferView_pimpl.C: changes for moved mathpanel
12173 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12175 * gettext.h: fix gettext_init() in --disable-nls
12177 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12179 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12181 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12184 * lyx.h: strip external form
12186 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12188 * BufferView_pimpl.C: add comment, destroySplash()
12190 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12192 * BufferView_pimpl.C:
12196 * lyxfunc.C: use re-worked insetinclude
12198 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12200 * buffer.C: add using std::stringstream.
12202 * lyx_cb.C: readd using std::ios.
12204 * buffer.C: add using std::map.
12206 * BufferView_pimpl.C: add using std::vector.
12208 * ShareContainer.h: add std:: to swap.
12210 * buffer.h: add some typedefs
12211 * buffer.C (getLists): use them
12212 (getLists): renamed from getTocList.
12213 add a counter for the different float types and use it in the
12215 (getLists): use the same counter for the NEW_INSETS and the "non"
12218 * lyx_cb.h: remove unused items, includes, using etc.
12220 * ShareContainer.h: remove some commented code, add more comments
12221 and "documentation".
12223 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12225 * buffer.C (getTocList): make the list also when NEW_INSETS is
12228 * buffer.h: remove TocType
12230 * buffer.C (getTocList): change to return a map<string,
12231 vector<TocItem> >, implement for dynamic number of list.
12233 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12234 * text2.C (PasteSelection): adjust
12235 * CutAndPaste.C (pasteSelection): adjust
12237 * FloatList.C (FloatList): update from the new_insets branch.
12238 * Floating.[Ch]: ditto
12239 * LaTeXFeatures.C: ditto
12241 * lyxlex_pimpl.C: ditto
12243 * paragraph.C (Last): remove when NEW_INSETS is defined.
12245 * other file: changes because of the above.
12247 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12249 * lyxparagraph.h: rename next to next_, previous to previous_,
12250 make them private for NEW_INSETS. Rename Next() to next(),
12251 Previous() to previous().
12253 * other files: changes because of the above.
12255 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12258 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12261 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12263 * main.C (main): pass lyx_localedir to gettext_init().
12265 * gettext.h: remove locale_init and gettext_init macros
12267 * gettext.C (locale_init): new function
12268 (gettext_init): new function
12270 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12273 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12275 * Moved credits to frontends:
12276 * credits.[Ch]: removed
12277 * credits_form.[Ch]: removed
12278 * lyx_gui_misc.C: remove credits stuff
12281 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12283 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12285 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12286 unneeded destructor.
12288 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12289 a standalone pointer again.
12291 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12293 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12299 * ToolbarDefaults.C:
12308 * BufferView_pimpl.C: use new file dialog in GUII
12311 * lyx_cb.C: remove LayoutsCB to Toolbar
12313 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12315 * ShareContainer.h (get): add std:: qualifier
12317 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12319 * ShareContainer.h: define a proper ShareContainer::value_type
12320 type (and use typename to please compaq cxx)
12322 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12324 * lyxparagraph.h: move serveral local vars to
12325 ParameterStruct/ParagraphParameters., use ShareContainer in
12326 FontTable., make vars in FontTable private and add getter and
12329 * paragraph.C: changes because of the above.
12331 * lyxfont.h: remove copy constructor and copy assignment. (the
12332 default ones is ok), move number inside FontBits. move inlines to
12335 * lyxfont.C: add number to initializaton of statics, move several
12336 inlines here. constify several local vars. some whitespace
12337 cleanup. Dont hide outerscope variables.
12339 * Spacing.h: add two new constructors to match the set methods.
12341 * ShareContainer.h: new file, will perhaps be moved to support
12343 * ParameterStruct.h: new file
12345 * ParagraphParameters.h: new file
12347 * ParagraphParameters.C: new file
12349 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12350 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12352 * BufferView_pimpl.C: ParagraphParameter changes.
12353 * buffer.C: Likewise.
12354 * bufferview_funcs.C: Likewise.
12355 * text.C: Likewise.
12356 * text2.C: Likewise.
12358 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12360 * lyxfind.C (LyXReplace): do not redefine default argument in
12362 (IsStringInText): ditto
12363 (SearchForward): ditto
12364 (SearchBackward): ditto
12366 2001-03-06 Juergen Vigna <jug@sad.it>
12368 * lyxfind.C (IsStringInText): put parentes around expressions.
12370 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12372 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12374 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12376 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12378 * stl_string_fwd.h: add comment
12380 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12383 * tabular.C: remove unused DocBook methods
12389 killed DO_USE_DEFAULT_LANGUAGE
12391 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12393 * lyx_gui.C: do not include language.h.
12395 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12396 arguments in function implementation.
12398 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12400 * BufferView_pimpl.C: add <ctime>
12402 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12404 * BufferView_pimpl.C: add using std::find_if
12406 2001-02-27 José Matos <jamatos@fep.up.pt>
12408 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12411 2001-02-11 José Matos <jamatos@fep.up.pt>
12413 * buffer.C (makeDocBookFile): command styles now have a parameter as
12414 "title" by default.
12416 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12418 * layout_forms.[Ch]: removed
12419 * lyx_cb.[Ch]: out character
12420 * lyx_gui.C: out character
12421 * lyx_gui_misc.C: out character
12422 * bufferview_funcs.C: : out character,
12423 added toggleall as parameter in ToggleAndShow
12425 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12427 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12429 * text2.C (SetCurrentFont): Disable number property at boundary.
12431 2001-02-26 Juergen Vigna <jug@sad.it>
12433 * lyxfunc.C (getStatus): added a string argument override function so
12434 that this is correctly called from LyXFunc::Dispatch if it contains a
12435 do_not_use_argument which is used!
12436 (Dispatch): added check for "custom" export and call appropriate func.
12438 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12440 * lyxrc.C: Add language_command_local, language_use_babel and
12441 language_global_options.
12443 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12445 * buffer.C (makeLaTeXFile): Use language_use_babel and
12446 language_global_options.
12448 2001-02-23 Juergen Vigna <jug@sad.it>
12450 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12451 which works with LyXText and putted it inside BufferView. Here now we
12452 only call for that part the BufferView::Dispatch() function.
12454 * BufferView.C (Dispatch): added.
12456 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12457 functions which needs to use a LyXText over from LyXFunc.
12458 (MenuInsertLyXFile): added
12459 (getInsetByCode): added
12460 (moveCursorUpdate): added
12461 (static TEXT): added
12463 2001-02-22 Juergen Vigna <jug@sad.it>
12465 * BufferView_pimpl.C (update): call a status update to see if LyXText
12468 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12470 * vc-backend.C (revert): implement for CVS
12471 (getLog): implement for CVS
12473 2001-02-20 Juergen Vigna <jug@sad.it>
12475 * text2.C (ClearSelection): added BufferView param for inset_owner call
12477 * lyxfunc.C (TEXT): added this function and use it instead of
12478 directly owner->view()-text of getLyXText().
12480 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12482 * src/layout_forms.C: out preamble
12483 * src/layout_forms.h: out preamble
12484 * src/lyx_cb.C: out preamble
12485 * src/lyx_cb.h: out preamble
12486 * src/lyx_gui.C: out preamble
12487 * src/lyx_gui_misc.C: out preamble
12488 * src/lyxfunc.C: connect with guii preamble
12490 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12492 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12494 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12496 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12497 whether to run bibtex.
12499 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12501 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12503 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12505 * Makefile.am (lyx_SOURCES): removed bibforms.h
12507 * vspace.h: doxygen
12509 * text.C (GetVisibleRow): make several local vars const
12511 * tabular.C: small cleanup.
12513 * lyxserver.C (callback): use compare instead of strncmp
12515 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12516 inlines to after class or to paragraph.C
12518 * lyxfont.h: remove friend operator!=
12520 * converter.h: move friend bool operator< to non friend and after
12523 * combox.h: small cleanup
12525 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12526 to inlines after class def.
12528 * buffer.C (pop_tag): use string operations instead of strcmp
12530 * bmtable.c: doxygen, small cleanup
12532 * LaTeX.h: remove friend operator==
12534 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12546 * BufferView_pimpl.C:
12547 * BufferView.[Ch]: remove cruft
12549 2001-02-14 Juergen Vigna <jug@sad.it>
12551 * lyxfunc.C: removed #if 0 unused code
12553 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12555 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12557 * text2.C (SetSelection): added a BufferView * parameter
12559 2001-02-13 Juergen Vigna <jug@sad.it>
12561 * lyxfunc.C (Dispatch): fixed protected blank problem.
12562 * BufferView2.C (protectedBlank): added LyxText * parameter.
12564 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12565 (AppendColumn): same as above for column_info.
12567 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12568 (moveCursorUpdate): use a LyXText param for support of InsetText.
12570 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12571 (tripleClick): ditto
12573 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12575 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12577 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12579 * text2.C (SetSelection): set correct update status if inset_owner
12580 (ToggleFree): ditto
12582 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12584 * tabular.C: remove some commented code.
12586 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12588 * BufferView_pimpl.C: call hideSplash()
12590 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12593 * bibforms.h: remove
12596 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12597 add LFUN_CHILD_CREATE
12599 * counters.h: fix tiny typo
12604 * lyx.C: move splash to frontends/xforms/
12606 * lyx_gui_misc.C: move Include and Bibform to frontends
12608 * lyxvc.h: clarify comment
12610 * vspace.C: tiny housekeeping
12612 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12614 * text.C (PrepareToPrint): RTL Fix.
12616 * paragraph.C (GetUChar): New method.
12617 (String): Use GetUChar.
12619 * buffer.C (asciiParagraph): Use GetUChar.
12621 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12623 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12625 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12628 * buffer.C: rename to getLogName(), handle
12629 build log / latex log nicely
12631 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12634 * MenuBackend.h: remove support for reference menuitem type.
12636 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12638 * BufferView_pimpl.C: housekeeping
12639 * BufferView_pimpl.h:
12644 * minibuffer.h: move Timeout GUI-I
12646 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12648 * lyxrc.C (read): Update converters data-structures.
12650 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12652 * LaTeX.h (operator!=): add operator != for Aux_Info
12654 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12656 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12658 * LaTeXLog.C: deleted, useful code moved to Buffer
12661 * buffer.C: new function getLatexLogName()
12667 * lyxfunc.C: use frontends for LaTeX and VC logs
12669 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12671 * LaTeX.h: yet another std:: that Allan forgot.
12673 * Variables.C (set): renamed from isset(), because this clashes
12674 with some HP-UX macros (grr).
12676 2001-02-06 Allan Rae <rae@lyx.org>
12678 * LaTeX.h: Another bug fix. Missing std:: this time.
12680 2001-02-04 Allan Rae <rae@lyx.org>
12682 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12683 floats problem. I've left it commented out because it's not quite
12684 correct. It should also test that the current object is a table or
12685 figure inset. But I haven't gotten around to figuring out how to do
12686 that. I *think* it'll be something like: "table" == inset.type()
12688 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12691 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12693 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12694 all the citation/databases/styles in the auxilary file.
12695 (run): Rerun latex if there was a babel language error.
12697 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12699 * text.C (Backspace): Preserve the font when changing newline char
12701 (BreakParagraph): If the cursor is before a space, delete the space.
12703 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12705 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12707 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12708 new argument (code).
12709 (ChangeCitationsIfUnique): New method.
12711 * paragraph.C (GetPositionOfInset): Handle bibkey.
12713 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12715 * BufferView_pimpl.h: change type of Position::par_pos to
12716 LyXParagraph::size_type.
12718 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12720 * BufferView_pimpl.C (savePosition, restorePosition): Write
12721 messages to minibuffer.
12723 2001-01-28 José Matos <jamatos@fep.up.pt>
12725 * buffer.C (makeDocBookFile): adds support for document language.
12726 A silly restriction on the name of LatexCommand types where removed.
12727 Added support for CDATA sections, allows to chars unescaped, used
12728 among others in code, to avoid escape < and >.
12730 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12732 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12733 saved positions instrad of a stack. Furthermore, a position is
12734 stored using paragraph id/paragraph position.
12736 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12737 Remove LFUN_REF_BACK.
12739 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12741 * converter.C (dvipdfm_options): New method.
12743 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12745 * vspace.C (isValidLength): Fix for empty input string.
12747 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12749 * LyXAction.C (init): change description of LFUN_FIGURE to
12752 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12754 * LaTeX.C: add using directive
12756 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12758 * MenuBackend.C (expand): Fix the sorting of the formats.
12760 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12762 * lyx_main.C: tiny error message fix
12764 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12766 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12767 calling fl_initialize(). This fixes the problem with ',' as
12768 decimal separator in text files.
12770 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12772 * trans.C (process): Fix the keymap bug.
12774 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12776 * LaTeX.C (scanAuxFiles): New method. Provides support for
12777 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12778 (scanLogFile) Scan for "run BibTeX" messages.
12780 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12781 OT1 font encoding. Also, load the aecompl package if the ae
12784 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12786 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12788 * texrow.C (increasePos): turn two error messages into debug
12791 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12793 * LaTeX.C (scanAux): Handle the \@input macro.
12794 (runBibTeX): Use scanAux().
12796 * language.C (latex_options_): New field.
12798 * LaTeXFeatures.C (getMacros): Add language macros.
12800 * buffer.C (makeLaTeXFile): Small fix.
12802 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12804 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12806 * text2.C: add a using directive.
12808 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12813 * lyxfunc.C: kill LyXBell.
12815 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12817 * text.C (IsBoundary): Remove the error message
12819 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12821 * lyxrc.C (setDefaults): Correct initialization value for
12824 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12826 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12829 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12830 and GotoNextNote().
12832 * src/LyXAction.C: Added reference-next.
12834 * text.C (InsertChar): Use contains instead of strchr.
12836 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12838 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12840 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12841 alignment commands (when needed).
12843 * text.C (InsertChar): Add ':' to number separator chars.