1 2003-09-16 Angus Leeming <leeming@lyx.org>
3 * paragraph.C (IsInsetChar): new function in namespace anon, moved out of
5 (isWord): move the contents of support/textutils.h's IsWordChar here.
11 * text2.C: add #include "paragraph.h".
14 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
16 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
22 * LaTeX.C: use namespace alias for lyx::support::os
24 2003-09-16 Angus Leeming <leeming@lyx.org>
32 * text.C: add #include "LColor.h".
34 2003-09-16 Angus Leeming <leeming@lyx.org>
36 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph, setUnderbar,
37 setNoun, setNumber, setColor, setLanguage): no longer return LyXFont &.
38 Store the FontBits::color variable as an int rather than as an LColor::color
39 so that we can move LColor.h out of the lyxfont.h header file.
41 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
42 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot string
45 * lyxrc.C: add #include "LColor.h".
47 2003-09-15 Angus Leeming <leeming@lyx.org>
49 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as a cow_ptr.
51 2003-09-15 Angus Leeming <leeming@lyx.org>
53 * LColor.h: add an EnumLColor wrapper for LColor::color.
55 * lyxfont.[Ch] (color, setColor, realColor):
56 * lyxtext.h, text.C (backgroundColor):
57 pass EnumLColor args to/from the functions, rather than LColor::color ones.
60 * lyxtext.h: forward declare EnumLColor.
62 * lyx_main.C: add #include "LColor.h".
64 2003-09-15 Angus Leeming <leeming@lyx.org>
66 * .cvsignore: add lyx-gtk.
68 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
73 * ParagraphParameters.C
87 * vc-backend.C: remove usage of STRCONV
89 2003-09-15 Angus Leeming <leeming@lyx.org>
91 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
92 explicitly define the color passed to the painter.
94 2003-09-15 Angus Leeming <leeming@lyx.org>
96 * bufferparams.C (BufferParams): reorder member initializers to avoid
99 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
101 * CutAndPaste.C (pasteSelection): remove an outdated #warning
102 * text.C (updateRowPositions): remove an unusual nop
104 2003-09-12 André Pönitz <poenitz@gmx.net>
106 * BufferView_pimpl.C:
115 * Counters.[Ch]: finish the 'automatic counters' job
117 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
119 * aspell.C: include <boost/assert.cpp> (compile fix)
121 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
123 * boost.C (assertion_failed): use lyx::support::abort instead of
126 2003-09-10 Angus Leeming <leeming@lyx.org>
128 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h with their
131 2003-09-09 Angus Leeming <leeming@lyx.org>
133 134 files throughtout the source tree: replace 'using namespace abc;'
134 directives with the appropriate 'using abc::xyz;' declarations.
136 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
138 * boost.C (emergencyCleanup): moved here from LAssert.c
139 (assertion_failed): new function, called by BOOST_ASSERT
141 * several files: change Assert to BOOST_ASSERT
143 2003-09-09 Angus Leeming <leeming@lyx.org>
145 * buffer.[Ch]: Add an Impl class and move Buffer's member
146 variables into it. As a result move several header files out of
149 Add header files to lots of .C files all over the tree as a result.
151 2003-09-09 Angus Leeming <leeming@lyx.org>
153 * buffer.[Ch]: make Buffer's member variables private. Add
156 Lots of changes all over the tree as a result.
158 2003-09-08 Angus Leeming <leeming@lyx.org>
160 * graph.C: #include <config.h>.
162 2003-09-08 Angus Leeming <leeming@lyx.org>
166 * BufferView_pimpl.C:
195 * toc.C: remove redundant using directives.
197 2003-09-07 Angus Leeming <leeming@lyx.org>
199 * LaTeXFeatures.h: remove #include "support/types.h".
200 * ToolbarBackend.h: remove #include <algorithm>.
201 * changes.h: remove #include <ctime>.
202 * debug.h: remove #include <iosfwd>.
203 * graph.h: remove #include "support/std_string.h".
204 * lyx_main.h: remove #include <csignal>.
205 * lyxlex_pimpl.h: remove #include <fstream>.
206 * sgml.h: remove #include <algorithm>, <utility>.
207 * toc.h: remove #include "support/std_ostream.h". Add #include <iosfwd>.
209 2003-09-07 Angus Leeming <leeming@lyx.org>
211 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
213 * converter.h: forward declare LatexRunParams.
214 * encoding.h: remove #include "lyxrc.h".
215 * lyxtext.h: remove #include "LColor.h".
216 * lyxtextclass.h: remove #include "support/types.h".
217 * trans.h: remove #include "tex-accent.h".
218 * trans_mgr.h: remove #include "tex-accent.h".
219 * insets/inset.h: remove #include "support/types.h", <vector>.
220 * insets/insetcollapsable.h: remove #include "LColor.h".
221 * insets/insetinclude.h: remove #include "dimension.h".
222 * insets/insetlatexaccent.h: remove #include "dimension.h".
223 * insets/insetoptarg.h:: remove #include "insettext.h".
224 * insets/insettext.h: remove #include "dimension.h", <boost/shared_ptr.hpp>
226 * insets/renderers.h: add #include "dimension.h".
227 * insets/updatableinset.h: add #include "support/types.h".
229 * many .C files: Associated changes.
231 2003-09-06 Angus Leeming <leeming@lyx.org>
233 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one,
234 inside testInvariant.
236 * PrinterParams.C: new file.
237 * PrinterParams.[Ch]: move the function bodies out of line.
239 2003-09-06 Angus Leeming <leeming@lyx.org>
241 * ParagraphParameters.h: forward declare ParameterStruct rather than
242 including its header file.
243 (depth): moved out-of-line.
245 2003-09-06 Angus Leeming <leeming@lyx.org>
247 * BufferView_pimpl.h:
250 * lyxfunc.h: forward declare LyXKeySym rather than
251 #include "frontends/LyXKeySym.h".
253 * BufferView_pimpl.C:
256 * lyxfunc.C: associated changes.
258 2003-09-06 Angus Leeming <leeming@lyx.org>
260 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
261 As a result, can remove the #include "insets/inset.h" from BufferView.h
263 2003-09-06 Angus Leeming <leeming@lyx.org>
265 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
266 As a result, can remove the #include "insets/inset.h" from BufferView.h
268 2003-09-06 Angus Leeming <leeming@lyx.org>
274 * bufferview_funcs.C:
275 * BufferView_pimpl.C:
280 * ParagraphParameters.C:
285 * frontends/controllers/ControlDocument.C:
286 * insets/insetcaption.C: rearrange the #includes into some sort of
289 * buffer.h: remove #includes ErrorList.h, undo.h
291 2003-09-06 Angus Leeming <leeming@lyx.org>
293 * support/types.h: add a 'depth_type' typedef, used to store the
294 nesting depth of a paragraph.
297 * ParameterStruct.h: use this lyx::depth_type typedef rather than
302 * ParagraphParameters.h:
303 * sgml.h: use lyx::depth_type rather than Paragraph or
304 ParameterStruct's depth_type.
307 * paragraph_funcs.h: no need to #include paragraph.h anymore.
310 * BufferView_pimpl.C:
312 * ParagraphParameters.C:
315 * bufferview_funcs.C:
322 * frontends/LyXView.C:
323 * frontends/controllers/ControlDocument.C:
324 * frontends/controllers/ControlErrorList.C:
325 * insets/insetbibitem.C:
326 * insets/insetbranch.C:
327 * insets/insetcaption.C:
328 * insets/insetcollapsable.C:
331 * insets/insetfloat.C:
332 * insets/insetfoot.C:
333 * insets/insetfootlike.C:
334 * insets/insetnewline.C:
335 * insets/insetquotes.C:
336 * insets/insettabular.C:
337 * insets/insettext.C:
338 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
340 * frontends/controllers/ControlChanges.C: #include "changes.h".
342 2003-09-06 Angus Leeming <leeming@lyx.org>
344 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
345 #including paragraph.h.
348 * RowList.h: deleted. Superfluous.
358 * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
360 * paragraph.h: don't forward declare ParagraphList.
363 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
364 rather than ParagraphList.h. paragraph.h is still needed for the
365 Paragraph::depth_type parameters.
367 * textcursor.h: enable it to compile stand-alone in light of the
370 * bufferview_funcs.C:
382 * frontends/controllers/ControlParagraph.C:
383 * frontends/controllers/ControlTabular.C:
384 * insets/insetmarginal.C:
385 * insets/insetminipage.C:
386 * insets/insetnote.C:
387 * insets/insetoptarg.C: add header files needed to compile again.
389 2003-09-06 Angus Leeming <leeming@lyx.org>
391 * RowList_fwd.h: new file, forward-declaring Row rather than
397 * insets/insettext.h: use it instead of RowList.h
399 * bufferview_funcs.C:
406 * text3.C: #include "RowList.h".
408 2003-09-05 Angus Leeming <leeming@lyx.org>
410 * factory.C (createInset):
411 * vspace.C (c-tor): replace sscanf call with an istringstream.
412 * ispell.C: re-add missing HP/UX headers.
413 * lyxserver.C: re-add missing os2 headers.
415 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
424 * text3.C: re-add missing system headers, needed for 2.95.2.
426 2003-09-05 Angus Leeming <leeming@lyx.org>
428 Changes most place everywhere due to the removal of using directives
429 from support/std_sstream.h.
431 2003-09-05 Angus Leeming <leeming@lyx.org>
433 Replace LString.h with support/std_string.h,
434 Lsstream.h with support/std_sstream.h,
435 support/LIstream.h with support/std_istream.h,
436 support/LOstream.h with support/std_ostream.h.
438 Changes resulting throughout the tree.
440 2003-09-05 Angus Leeming <leeming@lyx.org>
442 * sgml.h: ensure that the header file can be compiled stand-alone.
443 * *.C: strip out redundant #includes. (320 in total.)
445 2003-09-04 Angus Leeming <leeming@lyx.org>
447 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
448 here (from getPackages).
450 * debug.[Ch]: add a new EXTERNAL tag.
452 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
454 * text2.C (cursorEnd): simplify
456 (getColumnNearX): adjust
458 * text.C (computeBidiTables): adjust
461 * rowpainter.C (paintChars): adjust
462 (paintSelection): adjust
463 (paintChangeBar): adjust
466 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
468 (numberOfSeparators): adjust
470 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
476 * text3.C: Restricts the mouse click functionality
477 of insets like bibtex, include, toc and floatlist to the visible
478 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
479 up the dialogs. Cursor has to be in front of the inset (i.e.
480 start of row) for this to function.
482 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
484 * bufferview_funcs.C (currentState): output row information
486 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
488 * bufferview_funcs.C (currentState): output paragraph position
490 2003-09-04 Angus Leeming <leeming@lyx.org>
492 * FloatList.h: move out #include "Floating.h".
493 * LaTeX.h: move out #include "DepTable.h".
494 * LyXAction.h: move out #include "funcrequest.h".
495 * buffer.h: move out #include "author.h", "iterators.h".
496 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
497 * lyx_main.h: move out #include "errorlist.h".
498 * lyxfunc.h: move out #include "FuncStatus.h".
499 * lyxtext: move out #include "lyxcursor.h".
500 * paragraph_pimpl.h: move out #include "counters.h".
502 2003-09-03 Angus Leeming <leeming@lyx.org>
504 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
505 preamble_snippets list, enabling us to add snippets to the preamble only
506 if the snippet was not there already.
508 2003-09-04 Angus Leeming <leeming@lyx.org>
510 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
512 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
514 * lyxfunc.C (dispatch): if fitCursor did something be sure to
517 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
519 * BranchList.C: point fix, earlier forgotten
521 2003-09-02 Angus Leeming <leeming@lyx.org>
523 * box.C (contains): renamed from 'contained' after a fantastic
526 2003-09-02 John Levon <levon@movementarian.org>
532 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
534 2003-09-02 John Levon <levon@movementarian.org>
536 * text2.C: simplification of cursorEnd(), including partial
539 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
541 * buffer.C (readFile): add a space
543 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
545 * BufferView_pimpl.C (update): remove bogus fitCursor() call
547 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
549 * buffer.C (readFile): new function, take a filename and a
550 ParagraphList::iterator
552 (readFile): adjust, make it private. don't use setStream, make
553 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
554 always contain the filename.
556 * BufferView.C (insertLyXFile): simplify and make it work for
559 2003-08-30 John Levon <levon@movementarian.org>
561 * Makefile.am: fix dist (from Kayvan)
563 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
565 * most files: change to use const Buffer refs
567 2003-08-27 André Pönitz <poenitz@gmx.net>
569 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
570 on top of ownerPar().
572 2003-08-27 John Levon <levon@movementarian.org>
574 * funcrequest.C: properly initialise POD members
576 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
578 * lyxtext.h (top_y): move top_y from here
583 * BufferView_pimpl.[Ch]: to here
584 * frontends/screen.C:
585 * insets/insettabular.C:
586 * insets/insettext.C: adjust
587 * rowpainter.[Ch] (paintRows): remove LyXText & argument
589 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
592 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
594 2003-08-26 André Pönitz <poenitz@gmx.net>
596 * paragraph_func.[Ch] (outerPar): new function
602 * text2.C: remove Inset::par_owner
604 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
609 * text2.C: eliminates the needFullRow/display() stuff
610 altogether, putting the logic in metrics/draw in the insets.
612 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
614 * text2.C (redoParagraphInternal, redoParagraphs):
615 * text.C (redoParagraph): add a call to updateRowPositions at the
616 end of each 'metrics-like' call. Remove all others.
617 (getRow): remove the 'y-computing' version.
618 (getRowNearY): do not compute nor return the real y. Solve the
619 'y < 0' problem and simplify.
621 2003-08-22 Angus Leeming <leeming@lyx.org>
623 * *.[Ch]: clean-up of licence and author blurbs.
624 Also move config.h out of a few .h files and into a few .C files.
626 2003-08-22 André Pönitz <poenitz@gmx.net>
628 * lyxrow.[Ch]: add x_ and *fill_ members
633 * text2.C: adjust/remove prepareToPrint() calls
635 2003-08-22 André Pönitz <poenitz@gmx.net>
637 * lyxrow.[Ch]: add end_ member
639 * lyxrow_funcs.C: use LyXRow::end_
641 * lyxtext.h (singleWidth): add LyXFont parameter
644 * text2.C: adjust LyXText::singleWidth() calls
646 * text.C (redoParagraph): simplify row breaking logic
649 2003-08-19 André Pönitz <poenitz@gmx.net>
651 * funcrequest.C: initialize button_ member
654 * rowpainter.[Ch]: interface consolidation
656 2003-08-18 André Pönitz <poenitz@gmx.net>
659 * BufferView_pimpl.C:
663 * text3.C: remove LyXScreen::draw() and fitCursor calls
665 * BranchList.h: remove spurious semicolons
667 * MenuBackend.C: fix branchlist related crash
669 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
681 * text3.C: implements the 'branch inset'
682 idea. This allows the output of various versions of a document
683 from a single source version, selectively outputing or suppressing
684 output of parts of the text.
685 This implementation contains a 'branch list editor' in a separate
686 tab of the document settings dialog. Branches are user definable
687 and have a "display colour" to distinguish them on-screen.
689 ColorHandler was somewhat cleaned up.
690 (1) make possible a dynamically growing LColor list by allowing
691 the graphic context cache to grow along (vector);
692 (2) eliminate an IMHO unnecessary step in colour allocation.
694 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
696 * BufferView_pimpl.C: compile fix
698 2003-08-15 André Pönitz <poenitz@gmx.net>
700 * rowpainter.C: remove extra metrics calls
702 * lyxtext.h: merge the two constructors into a single one,
703 pass reference to owner's par list
705 * BufferView_pimpl.C:
709 2003-08-15 André Pönitz <poenitz@gmx.net>
719 * text_funcs.C: split LyXText::rowlist_ into individual
720 Paragraph::rows_ chunks
723 * BufferView_pimpl.[Ch]:
726 * text3.C: remove toggleSelection()
728 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
730 * bufferlist.C: beautify two alerts (shorter text of buttons)
731 * buffer.C: Remove redundant ' ' from message
733 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
734 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
735 rename VALIGN_CENTER to VALIGN_MIDDLE
737 2003-08-11 André Pönitz <poenitz@gmx.net>
739 * lyxtext.h (getPar):
740 * text.C: new function
742 2003-08-11 André Pönitz <poenitz@gmx.net>
745 * tracer.[Ch]: remove unneeded files
747 * InsetList.[Ch]: remove resizeInsetsLyXText()
752 * text3.C: merge insertParagraphs() and appendParagraph()
753 remove breakAgain(), update()
755 * BufferView_pimpl.[Ch]:
756 * bufferview_funcs.[Ch]:
760 * tabular.C: adjust after text & InsetList changes.
762 2003-08-08 André Pönitz <poenitz@gmx.net>
764 * text.C (insertChar, backspace): replace rowlist fiddling
765 with rebreak of full par
768 * text.C (breakAgainOneRow, redoHeightOfParagraph,
769 checkParagraph, updateInset): removed
771 2003-08-07 André Pönitz <poenitz@gmx.net>
774 * text3.C: merge some LFUN handlers, remove dead code
776 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
778 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
780 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
782 * text2.C (DEPM): fix part of bug 1255 and 1256
784 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
786 * BufferView_pimpl.C (workAreaDispatch): change to use
787 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
788 that are no mouse related.
790 2003-08-05 André Pönitz <poenitz@gmx.net>
793 * BufferView_pimpl.[Ch]:
794 * bufferview_funcs.C:
796 * text3.C: rip out "deep update"
798 * textcursor.[Ch] (last_sel_cursor): remove unused member
800 2003-08-04 André Pönitz <poenitz@gmx.net>
803 * BufferView_pimpl.[Ch]:
804 * ParagraphParameters.C:
805 * bufferview_funcs.C:
811 * text3.C: replace "complicated" BufferView::update(...) calls with
814 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
816 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
818 * Makefile.am (lyx_SOURCES): add paper.h
820 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
822 * Makefile.am: move things around so that both lyx-qt and
823 lyx-xforms can be built (according to --with-frontend). Then lyx
824 is a symbolic link to lyx-[firstfrontend]
826 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
828 * Always use std::endl with lyxerr
830 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
832 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
834 2003-08-01 André Pönitz <poenitz@gmx.net>
837 * BufferView_pimpl.[Ch]:
839 * text3.C: merge BufferView::repaint() and BufferView::update()
841 2003-08-01 José Matos <jamatos@lyx.org>
843 * buffer.[Ch]: file_format is no longer a buffer data element.
845 2003-08-01 André Pönitz <poenitz@gmx.net>
850 * text2.C: make redoParagraph more independent of current cursor
852 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
854 * text2.C: remove unneeded members
856 2003-07-30 André Pönitz <poenitz@gmx.net>
858 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
860 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
861 create a single function...
863 * paragraph_funcs.C (moveItem): ... here.
866 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
868 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
870 * LColor.[Ch]: Add comment and greyedout logical colors.
872 2003-07-30 André Pönitz <poenitz@gmx.net>
874 * tabular.C: don't use Assert too heavily. This crashes where it
877 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
879 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
880 is disabled (bug 1232)
882 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
884 * factory.C: limited 'arg' scope
886 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
888 * factory.C: fixed Note submenu issues
890 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
892 * factory.C: submenu for Note/Comment/Greyedout
894 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
897 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
899 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
902 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
903 greyedout. Patch provided by Jürgen Spitzmüller.
905 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
907 * kbmap.C (read): fix error message when reading bind files
909 2003-07-29 Angus Leeming <leeming@lyx.org>
911 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
912 certainly does not do what it purports to do. I am doing it, and
913 us, a favour by killing it.
915 2003-07-28 José Matos <jamatos@lyx.org>
917 * buffer.C (readBody, do_writeFile):
918 * paragraph.C(readParagraph): \end_document replaces \the_end.
920 2003-07-29 André Pönitz <poenitz@gmx.net>
923 * BufferView_pimpl.[Ch]:
927 * textcursor.[Ch]: remove toggleToggle & Co
929 2003-07-28 José Matos <jamatos@fep.up.pt>
931 * buffer.C (readParagraph):
932 * params_func (readParToken, readParagraph):
933 * paragraph.C (write): \layout -> \begin_layout.
935 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
937 * lyxlex_pimpl.C (setFile): clean up slightly.
939 * bufferparams.h: add compressed var
941 * buffer_funcs.C (readFile): adjust for LyXLex change
942 (newFile): ditto + simplify
944 * buffer.C (writeFile): handle writing of compressed files
946 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
947 Check if the file is compressed and set a bufferparm if so.
949 * Makefile.am (lyx_LDADD): remove explicit -lz
951 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
953 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
954 makeDocBookFile): put the real LyX version in the first line of
958 * version.C.in: remove lyx_docversion
960 * tabular.C (write_attribute): add a template-based version to
963 2003-07-28 André Pönitz <poenitz@gmx.net>
968 * text3.C: use doubles again for x-coordinates. They are needed.
970 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
972 * messages.C (getLocaleDir): use lyx_localedir()
974 * lyxlex_pimpl.C (setFile): compress stuff
976 * buffer.C (writeFile): add some compression stuff
977 (do_writeFile): new func, dont call expliti close... will this
980 * Makefile.am (lyx_LDADD): add -lz
982 2003-07-28 José Matos <jamatos@fep.up.pt>
984 * buffer.C: increment file format.
985 * paragraph_funcs (readParagraph, readParToken):
986 * paragraph.C (readParagraph): add \end_layout.
988 2003-07-27 Angus Leeming <leeming@lyx.org>
990 * Makefile.am: remove special casing for configure-time setting of
991 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
993 * lyx_main.C (init): remove all Jean-Marc's magic setting of
994 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
996 2003-07-26 André Pönitz <poenitz@gmx.net>
998 * paragraph_func.[Ch]:
999 * paragraph.C (realizeFont): inline it whereever it is used
1004 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1007 2003-07-26 André Pönitz <poenitz@gmx.net>
1011 * text2.C: get rid of LyXText::need_break_row
1013 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1015 * toc.[Ch]: put namespace toc inside namespace lyx
1017 * MenuBackend.C (expandToc2): adjust for lyx::toc
1020 * lyxfunc.C (dispatch): adjust for lyx::find
1022 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1023 lyx::find instead. Reorganize a bit.
1024 (LyXReplace): rename to replace
1025 (LyXFind): rename to find
1027 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1030 2003-07-26 André Pönitz <poenitz@gmx.net>
1032 * text.C (setHeightOfRow): restrict scope of temporary variable
1034 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1035 code (never has been used?)
1037 2003-07-27 Asger Alstrup <alstrup@local>
1039 * text.C (fill): Optimise algorithm to exploit that we can reuse
1040 the LyXFont for many characters.
1041 (setHeightOfRow): Same thing.
1042 (rowBreakPoint): Same thing.
1044 2003-07-26 Asger Alstrup <alstrup@local>
1046 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1048 * text.C (singleWidth): Spurious font copying in hot-spot
1049 singleWidth avoided. Reorder tests for arabic for efficiency.
1051 * text.C (fill): handle empty paragraphs better.
1053 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1056 * encoding.h: add includes
1058 * lyxrc.C: remove reading of bind files
1060 * lyx_main.C (init): setup bindings and menus only if we have a
1063 * kbmap.C (read): new method. Do the actual reading of bind
1066 * converter.C (dvipdfm_options):
1069 (output): adapt PAPER_* enums.
1071 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1073 * bufferparams.h: remove paper-related enums from there
1075 * paper.h: New file. A trivial header file to hold paper-related
1076 enums. It should later expand to contain many paper-related
1079 * lyxrc.C: declare extern displayTranslator
1081 2003-07-27 José Matos <jamatos@fep.up.pt>
1083 * tabular.[Ch] (linuxdoc): add support for tables and figures
1086 2003-07-27 José Matos <jamatos@fep.up.pt>
1088 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1089 consistency in both functions.
1090 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1092 2003-07-26 Asger Alstrup <alstrup@local>
1094 * rowpainter.C (paintRows): Change algorithm to work directly on
1095 the insets rather than asking every character in the document
1096 whether its an inset.
1098 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1100 * buffer.C (openFileWrite): factorize some code
1102 2003-07-26 Angus Leeming <leeming@lyx.org>
1105 * lyx_main.[Ch]: replace occurances of system_tempdir with
1108 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1110 * rename Inset to InsetOld
1112 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1114 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1115 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1116 which I think is a bit clearer. EDIT is gone, since it was
1117 premature optimisation, and broken for mathed anyway.
1118 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1119 with cursor positioning in insets as well (math insets still do not
1120 work, but that's a different story anyway.) It mysteriously
1121 crashes sometimes with undo in the first paragraph, but I'm fairly
1122 confident that this is a compiler bug.
1124 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1126 * paragraph.C (Paragraph): adjust for new clone return type
1128 (copyIntoMinibuffer): ditto
1130 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1132 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1133 by not having a special case, and always doing a full rebreak of
1134 the document after undo.
1136 2003-07-23 Angus Leeming <leeming@lyx.org>
1138 * factory.C (createInset): InsetExternal::setParams now takes a
1141 2003-07-23 Angus Leeming <leeming@lyx.org>
1143 * factory.C (createInset): changed interface to the external and
1144 graphics mailers' string2params functions.
1146 2003-07-23 Angus Leeming <leeming@lyx.org>
1148 * factory.C (createInset): pass a
1149 Buffer const * parameter to InsetExternalMailer's string2params.
1151 2003-07-22 John Levon <levon@movementarian.org>
1153 * Thesaurus.h: include the right aiksaurus header
1155 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1157 * MenuBackend.C (expand): check menu shortcuts unconditionally
1159 2003-07-21 Angus Leeming <leeming@lyx.org>
1161 * factory.C (createInset): pass a
1162 buffer_path parameter to InsetGraphicsMailer's string2params.
1164 2003-07-21 Angus Leeming <leeming@lyx.org>
1166 * BufferView_pimpl.C (buffer):
1169 * lyxfunc.C (dispatch):
1170 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1171 rather than the grfx shortcut.
1173 2003-07-21 André Pönitz <poenitz@gmx.net>
1175 * rowpainter.C: remove unused variables
1178 * tabular_funcs.h: move to tabular.C
1179 * Makefile.am: adjust
1181 * tabular.[Ch]: basic optical cleaning
1183 * author.h: pass references, not values
1185 2003-07-18 André Pönitz <poenitz@gmx.net>
1193 * text3.C: two-phase drawing for InsetText and InsetTabular
1194 some float -> int changes.
1196 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1198 * lyx_main.C: fix the fix
1200 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1202 * lyx_main.C: fix a crash in batch mode if no files specified
1205 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1207 * format.[Ch] (papersize): moved to BufferParams
1208 * converter.[Ch] (dvips_options): moved to BufferParams
1209 (dvipdfm_options): moved to anon namespace
1210 * bufferparams.[Ch]: added above functions.
1212 2003-07-17 André Pönitz <poenitz@gmx.net>
1216 * text2.C: don't call inset->update() anymore
1218 * metricsinfo.[Ch]: add convenience constructor
1220 2003-07-16 André Pönitz <poenitz@gmx.net>
1225 * text2.C: replace the LyXCursor::irow_ member with
1226 on-demand computation of the value
1228 2003-07-16 John Levon <levon@movementarian.org>
1230 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1232 2003-07-15 André Pönitz <poenitz@gmx.net>
1235 * text2.C: remove no more needed refresh_row
1237 2003-07-15 André Pönitz <poenitz@gmx.net>
1242 * text3.C: refresh_status tristate -> need_update bool
1244 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1246 * lyxtext.h (init): remove reinit argument (act as if always true)
1247 * text2.C: adjust to that
1249 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1251 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1252 * text3.C: use it to delete selections in some cases
1253 (bugs 441, 673, 702, 954).
1255 2003-07-14 André Pönitz <poenitz@gmx.net>
1257 * rowpainter.[Ch]: reduce interface
1259 2003-07-14 André Pönitz <poenitz@gmx.net>
1261 * BufferView_pimpl.C:
1262 * text2.C: adjust after removing unused BufferView * argument
1264 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1266 * text2.C (init): fix a crash fired on resize
1268 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1270 * buffer.[Ch]: added new closing signal
1271 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1272 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1273 BufferView::Pimpl via the closing the signal
1275 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1277 * buffer.[Ch]: take out all bv-related from buffer
1279 * BufferView_pimpl.[Ch]: connect to new signals
1280 * CutAndPaste.C: removed useless asserts
1281 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1284 * lyxfunc.C: moved view-related funciontality from vc here
1285 * paragraph.C: removed outdated comments
1288 2003-07-10 André Pönitz <poenitz@gmx.net>
1290 * BufferView_pimpl.C:
1294 * text2.C: remove InsetText::InnerCache, clean up consequences
1296 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1298 * ispell.C: fix two typos in error messages
1300 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1302 * Extend Note inset to other forms of annotation like Comment
1303 and Greyedout. Right button click gives dialog.
1305 Files modified or added (+):
1309 * ControlNote.[Ch] +
1311 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1312 frontends/controllers
1316 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1318 * aspell.C: add missing namespace lyx::support
1320 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1322 * BufferView.[Ch] (newFile): Add
1323 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1324 * LaTeX.[Ch] (message): added this signal and use it
1325 * buffer.[Ch] (busy, message): added these signals and use them
1326 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1330 * importer.C: use buffer signals instead of direct bv calling
1331 * lyx_cb.[Ch] (ShowMessage): removed
1334 * paragraph_funcs.C:
1335 * text2.C: use buffer signals
1337 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1339 * introduce namespace lyx::graphics
1341 2003-07-02 André Pönitz <poenitz@gmx.net>
1343 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1345 2003-07-01 André Pönitz <poenitz@gmx.net>
1352 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1353 text*.C to text_func.C
1355 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1357 * introduce namespace lyx::support
1359 2003-06-30 André Pönitz <poenitz@gmx.net>
1364 * text.C: re-enable --with-included-string
1366 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1368 * textcursor.C: add <config.h>
1370 * text.C (getWord): remove const from word_location arg
1372 * lyxvc.C (getLogFile): fix const type order
1374 * lyxtext.h: remove const from word_location arg, add arg name
1376 * lyxlayout.h: currect type on labeltype.
1378 * importer.C: correct \file
1380 * converter.C (intToFormat): use std:: on ret val, ws changes
1382 * bufferlist.h: correct \file
1384 * buffer.C (makeLinuxDocFile): fix const type order
1385 (makeDocBookFile): ditto
1386 (fillWithBibKeys): use std:: on stdlib args.
1388 * CutAndPaste.C: fix authors.
1389 (availableSelections): use std:: on return vector
1391 2003-06-27 André Pönitz <poenitz@gmx.net>
1393 * BufferView_pimpl.C:
1394 * bufferview_funcs.C:
1402 * text3.C: remove LyXCursor::row_ member
1405 * text.C: rename fullRebreak() to partialRebreak() and implement
1406 a fullRebreak() that really bereks fully
1408 * textcursor.h: new struct for cursor-related data
1410 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1412 * lyx_main.C (LyX): get full path of document loaded on the
1415 2003-06-26 André Pönitz <poenitz@gmx.net>
1417 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1418 remove unused/broken operator>,<,>=.
1420 * text.C: remove only use of broken operator<= in an Assert().
1422 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1424 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1425 moved errorlist_.clear to showErrorList
1427 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1429 * converter.C (scanLog, runLaTeX):
1430 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1431 move the bv->showErrorList call to the callers
1432 * lyxfunc.C: i.e. here...
1434 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1435 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1436 namespace, the second to...
1437 * buffer_funcs (BufferFormat, parseErrors): added
1438 * errorlist.C (ErrorList(TeXErrors const &)): removed
1440 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1442 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1444 2003-06-24 "Garst R. Reese" <reese@isn.net>
1448 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1450 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1452 * version.C.in: change docversion to 1.4
1454 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1456 * buffer.C: fix a bug just introduced
1458 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1460 * buffer.[Ch]: added the parseError signal and use it, removed
1462 * BufferView.[Ch] (addError): moved to ...
1463 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1464 to the Buffer::parseError signal to catch (guess what) parse errors
1465 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1467 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1469 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1470 ability to create a buffer and to return an existing one from
1471 the list. Moved these functions to...
1472 * buffer_funcs.[Ch]: added
1473 * BufferView.[Ch] (loadLyXFile): added
1474 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1475 job removed from bufferlist::loadLyXFile.
1476 * buffer.C (setReadOnly): make it work without view
1477 (i.e added an if (users))
1479 2003-06-19 Angus Leeming <leeming@lyx.org>
1482 * LyXAction.C (init):
1483 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1484 with LFUN_DIALOG_SHOW <name> <data>.
1486 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1488 * CutAndPaste.C (availableSelections): small compilation fix for
1489 ancient (gcc 2.9x) compilers
1491 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1493 * text3.C (cursorNext): add tmp var
1495 * text2.C (updateCounters): for function calling out of for clause
1496 (replaceSelectionWithString): ditto
1497 (insertStringAsParagraphs): ditto
1498 (getColumnNearX): add tmp var
1499 (setCursorFromCoordinates): add tmp var
1500 (cursorDownParagraph): add tmp var
1501 (deleteEmptyParagraphMechanism): add tmp var
1503 * text.C (insertChar): add tmp var
1505 * rowpainter.C (paintDepthBar): add tmp var
1507 * CutAndPaste.C (availableSelections): potentially check all
1508 paragraphs in a cut to fill the shown strings.
1510 2003-06-18 André Pönitz <poenitz@gmx.net>
1512 * kbmap.[Ch]: use vector<> instead of list<>
1514 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1516 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1517 pasteSelection with index
1519 * text2.C (pasteSelection): modify, call pasteSelection with index
1521 * paragraph.C (asString): reimplement version with no interval to
1522 call the one with interval.
1524 * lyxtext.h: add index arg to pasteSelection
1526 * MenuBackend.C (MenuItem): handle PasteRecent
1527 (Menu::read::Menutags): add md_pasterecent
1529 (expandPasteRecent): new function
1532 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1534 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1536 (availableSelections): new function
1538 2003-06-17 Angus Leeming <leeming@lyx.org>
1540 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1542 2003-06-17 Angus Leeming <leeming@lyx.org>
1545 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1547 * lyxfunc.C (dispatch): invoke it.
1549 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1551 * iterators.C (operator++, ParPosition): reintroduce some
1552 const_cast for the benefit of older compilers.
1554 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1556 * text3.C (dispatch): do not modify clipboard when doing
1557 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1558 LFUN_DELETE_SKIP on a selection selection
1560 2003-06-16 André Pönitz <poenitz@gmx.net>
1566 * tabular.[Ch]: IU of clone() and getLabelList();
1568 2003-06-13 André Pönitz <poenitz@gmx.net>
1570 * tabular.h: compactification
1572 2003-06-12 André Pönitz <poenitz@gmx.net>
1576 * tabular_funcs.h: some renaming plus whitespace
1578 2003-06-12 André Pönitz <poenitz@gmx.net>
1581 * BufferView_pimpl.C:
1587 * toc.C: Return a Paragraph & for ParIterator::operator*()
1589 2003-06-11 John Levon <levon@movementarian.org>
1593 * ToolbarBackend.C: add "Toolbars" section and
1596 2003-06-10 Angus Leeming <leeming@lyx.org>
1599 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1601 * lyxfunc.C (dispatch): invoke it.
1603 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1605 * main.C: protect <ios> with HAVE_IOS
1606 (main): protect sync_with_stdio with HAVE_IOS
1608 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1610 * text2.C (cutSelection): adjust
1611 (pasteSelection): adjust
1613 * messages.C: handle get of empty string
1615 * main.C (main): use sync_with_stdio(false)
1617 * lyxfunc.C (dispatch): adjust
1619 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1620 (WriteAs): remove unneeded BufferView arg.
1622 * bufferparams.h: use correct types on papersize, papersize2 and
1625 * bufferparams.C (readToken): adjust for type
1626 (writeLaTeX): add missing cases to switch.
1628 * bufferlist.C (quitWriteBuffer): adjust
1631 * buffer.C (asciiParagraph): remove some commented code.
1633 * CutAndPaste.C: remove current_view extern variable.
1634 (cutSelection): add BufferParams arg.
1635 (eraseSelection): add BufferParams arg.
1636 (pasteSelection): add Buffer const & arg
1638 2003-06-07 John Levon <levon@movementarian.org>
1641 * paragraph_funcs.C:
1642 * paragraph_pimpl.C:
1646 * paragraph.C: allow InsetERT to freely space lines,
1647 and some consolidation of code
1649 2003-06-06 José Matos <jamatos@fep.up.pt>
1651 * buffer.C (makeDocBookFile): fix bug #821
1653 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1655 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1657 2003-06-04 Angus Leeming <leeming@lyx.org>
1659 * buffer.C: bump format to 224.
1661 2003-06-05 André Pönitz <poenitz@gmx.net>
1663 * text2.C (redoParagraphs): remove two const_cast<>
1665 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1667 * ParagraphList.h: remove last remnants of NO_STD_LIST
1669 2003-06-03 Angus Leeming <leeming@lyx.org>
1671 * factory.C (createInset): small change to the way InsetExternal's params
1674 2003-06-04 André Pönitz <poenitz@gmx.net>
1676 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1678 * paragraph_pimpl.h:
1679 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1681 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1683 * undo_funcs.C: make some simple cases of undo work again
1685 2003-06-03 John Levon <levon@movementarian.org>
1687 * ispell.C: HPUX doesn't have sys/select.h
1690 2003-06-03 John Levon <levon@movementarian.org>
1692 * CutAndPaste.C: update tabular and include inset
1697 * paragraph.C: remove owningBuffer(), don't pass Buffer
1700 * factory.C: insetGraphicsParams changed
1702 2003-06-02 John Levon <levon@movementarian.org>
1708 * text3.C: remove insetparent
1710 2003-06-02 John Levon <levon@movementarian.org>
1713 * buffer.C: fix inset_iterator.end(), move out of line
1716 2003-06-01 John Levon <levon@movementarian.org>
1718 * text3.C: use a proper cut/paste when doing inset
1719 insert (from Jürgen Spitzmüller)
1721 2003-06-01 John Levon <levon@movementarian.org>
1723 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1725 2003-05-30 André Pönitz <poenitz@gmx.net>
1727 * rowpainter.C: unify second drawing phase
1729 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1731 * trans_mgr.C: remove one case of current_view
1733 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1735 * paragraph_funcs.h: remove paragraph.h include
1737 * paragraph.h: delete NO_STD_LIST stuff
1739 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1741 * buffer.h: remove paragraph.h include
1743 * ParagraphList.C: delete file
1745 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1747 * toc.C (getTocList): adjust
1749 * paragraph_pimpl.C (validate): adjust
1751 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1753 * paragraph.C (Paragraph): adjust
1754 (getPositionOfInset): use const_iterator, adjust
1755 (bibitem): use const_iterator, adjust
1756 (setInsetOwner): adjust
1758 * iterators.C (operator++): adjust
1760 * InsetList.[Ch]: Replace selfmade iterator with standard
1761 vector::iterator also introduce const_iterator. Remove getPos,
1762 getInset and setInset from InsetTable. Adjust accordingly.
1764 * BufferView.C (lockInset): adjust
1765 (ChangeInsets): adjust
1767 * tabular.[Ch]: delete commented same_id functions
1769 2003-05-28 John Levon <levon@movementarian.org>
1771 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1773 2003-05-28 André Pönitz <poenitz@gmx.net>
1775 * metricsinfo.[Ch]: remove 'fullredraw' member
1777 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1779 * lyxtextclass.C (operator): remove caching.
1781 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1785 * text2.C (cursorBottom): adjust
1786 (setCounter): use ParagraphList::find, adjust
1788 * text.C (workWidth): use ParagraphList::find, adjust
1790 * lyxcursor.C (LyXCursor): adjust
1792 * buffer.C (inset_iterator): adjust
1794 * ParagraphList.h: make iterator(value_type) private, make
1795 ParagraphList a friend of iterator.
1797 * ParagraphList.C (find): new function
1799 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1801 2003-05-27 André Pönitz <poenitz@gmx.net>
1803 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1805 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1807 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1809 2003-05-26 John Levon <levon@movementarian.org>
1811 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1813 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1815 * remove same_id from function signatures, adjust.
1817 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1819 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1821 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1823 * paragraph.C (Paragraph): get rid of same_ids parameter
1825 * ParagraphList.C (insert): adjust
1828 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1830 * paragraph_funcs.C (breakParagraph): adjust
1831 (breakParagraphConservative): adjust
1833 * buffer.C (readParagraph): adjust
1835 * ParagraphList.C (insert): take a reference instead of a pointer
1838 * paragraph.[Ch] (id): new function
1840 * bufferlist.C (newFile): adjust
1842 * ParagraphList.C (ParagraphList): adjust
1844 (push_back): take a reference instead of a pointer.
1846 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1848 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1851 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1852 set else use old code.
1854 * ParagraphList.C: remove all NO_NEXT code and only compile this
1855 code of NO_STD_LIST is set.
1857 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1859 * BufferView_pimpl.C:
1869 * graphics/GraphicsConverter.C:
1870 * graphics/PreviewLoader.C: header adjustment
1872 2003-05-23 Angus Leeming <leeming@lyx.org>
1874 * LaTeXFeatures.[Ch] (useBabel): new method.
1875 * bufferparams.C (writeLaTeX): use it.
1877 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1879 * ParagraphList.h (set): remove unused function.
1881 2003-05-23 André Pönitz <poenitz@gmx.net>
1884 * BufferView_pimpl.C:
1888 * undo_funcs.C: setUndo reworked
1890 * iterators.[Ch]: add access to topmost ParagraphList
1892 * lyxtext.[Ch] (workWidth): add a const
1894 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1896 * texrow.[Ch] (increasePos): remove function
1897 * exporter.C (export): removed unused var and outdated comment
1899 2003-05-23 Angus Leeming <leeming@lyx.org>
1901 * latexrunparams.h: rename fragile as moving_arg.
1902 * paragraph.C (simpleTeXOnePar): ditto.
1903 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1905 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1907 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1909 (textUndoOrRedo): comment out a currently unused var.
1911 * paragraph.h (NO_NEXT): enable NO_NEXT
1913 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1915 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1917 * exporter.C (Export): adjust for removeAutoInsets removal.
1919 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1921 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1923 * BufferView.[Ch] (removeAutoInsets): delete function
1925 2003-05-22 Angus Leeming <leeming@lyx.org>
1927 * latexrunparams.h: add a free_spacing variable.
1929 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1930 to pass moving_arg, as the data is stored in runparams.fragile.
1932 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1933 to Inset::latexOptional or to simpleTeXOnePar.
1935 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1936 free_spacing arg to Inset::latexOptional.
1938 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1941 2003-05-22 Angus Leeming <leeming@lyx.org>
1943 * latexrunparams.h: add fragile and use_babel variables.
1945 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1946 * buffer.C (makeLaTeXFile): store this returned value in
1947 runparams.use_babel, thus passing it to the inset::latex methods.
1949 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1950 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1952 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1953 longer has a fragile arg, as it is stored in runparams.fragile.
1955 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1956 moving_arg parameter as the data is stored in runparams.fragile.
1958 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1959 a fragile parameter as the data is stored in runparams.fragile.
1961 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1963 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1965 2003-05-22 Angus Leeming <leeming@lyx.org>
1967 * latexrunparams.h: add a 'bool nice' which defaults to false.
1969 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1970 now encapsulated within runparams.
1972 * bufferlist.C (updateIncludedTeXfiles):
1973 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1975 2003-05-22 Angus Leeming <leeming@lyx.org>
1977 * latexrunparams.h: new file containing struct LatexRunParams.
1978 * Makefile.am: add new file.
1980 * LaTeX.[Ch] (c-tor, run):
1981 * buffer.[Ch] (makeLaTeXFile):
1982 * bufferlist.[Ch] (updateIncludedTeXfiles):
1983 * converter.C (convert, scanLog):
1984 * converter.[Ch] (runLaTeX):
1985 * exporter.C (Export):
1986 * paragraph.[Ch] (simpleTeXOnePar):
1987 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1988 * paragraph_funcs.[Ch] (latexParagraphs):
1989 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1990 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1991 pass around a LatexRunParams parameter.
1993 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1995 * paragraph.[Ch]: remove unused constructor
1997 * ParagraphList.C (erase): new function, taking two iterators
1999 2003-05-22 André Pönitz <poenitz@gmx.net>
2001 * undo_funcs.C: remove duplicated code
2003 * iterator.[Ch]: operator=
2005 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2007 * tabular.C (SetMultiColumn): ws changes
2009 * rowpainter.C (paintFirst): get rid of a ->previous
2011 * lyx_cb.C (getPossibleLabel): parlist simplification
2013 * BufferView.C (ChangeInsets): simplify slightly.
2015 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2017 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2018 * lfuns.h: new LFUN_SPACE
2019 * lyxfunc.C: protected space has a new lfun
2020 * paragraph_funcs.C: read new space insets
2022 * factory.C: handle new space insets
2024 2003-05-22 André Pönitz <poenitz@gmx.net>
2027 * BufferView_pimpl.C:
2030 * undo_funcs.C: return a ParIterator from getParFromID.
2032 * iterators.[Ch]: add two const's
2034 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2036 * toc.C (getTocList): adjust
2038 * iterators.[Ch]: rework for parlist
2040 * buffer.C (par_iterator_begin): adjust
2041 (par_iterator_end): adjust
2043 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2045 * BufferView.C (removeAutoInsets): adjust
2046 (ChangeInsets): adjust
2048 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2050 * text.C (top_y): fix bug 1110
2052 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2054 * errorlist.[Ch]: added
2057 * BufferView_pimpl.C:
2058 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2061 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2063 * Makefile.am: ensure that lyx is relinked upon changes to the
2064 various "convenience" libs.
2066 2003-05-20 Angus Leeming <leeming@lyx.org>
2068 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2069 files are compiled in alphabetical order again.
2071 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2073 2003-05-19 Angus Leeming <leeming@lyx.org>
2075 * gettext.[Ch]: remove "char const * _(char const *)".
2077 2003-05-19 André Pönitz <poenitz@gmx.net>
2079 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2088 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2090 2003-05-19 André Pönitz <poenitz@gmx.net>
2094 * lyxtextclass.[Ch]:
2096 * paragraph_funcs.[Ch]:
2098 * text3.C: more insetenv work
2100 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2102 * ParagraphParameters.C (params2string): small bug fixed
2104 2003-05-16 André Pönitz <poenitz@gmx.net>
2107 * bufferview_funcs.C: patch from Kornel Benko to prevent
2108 crash when _(...) is called twice in a statement
2110 2003-05-16 André Pönitz <poenitz@gmx.net>
2117 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2119 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2121 * lyx_main.C (init): remove spurious static_cast
2123 2003-05-14 André Pönitz <poenitz@gmx.net>
2125 * BufferView.C: fix format string
2127 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2129 * BufferView.[Ch] (insertErrors): removed
2130 * BufferView.[Ch] (showErrorList): added
2131 * buffer.C (runChkTeX):
2132 * converter.C (scanLog): call showErrorList instead of inserterrors
2134 2003-05-13 André Pönitz <poenitz@gmx.net>
2136 * BufferView_pimpl.C:
2138 * bufferview_func.C:
2145 * tabular_funcs.h: tostr() from its own header
2147 * ParagraphParameters.C:
2152 * text3.C: STRCONV()
2154 2003-05-12 André Pönitz <poenitz@gmx.net>
2157 * BufferView_pimpl.C:
2161 * ParagraphParameters.C:
2165 * bufferview_funcs.C:
2178 * paragraph_funcs.C:
2182 * text3.C: boost::format -> bformat all over the place
2185 2003-05-09 André Pönitz <poenitz@gmx.net>
2187 * LColor.[Ch]: Pimpl the #include <map> away
2189 2003-05-09 John Levon <levon@movementarian.org>
2191 * bufferlist.C: never remove emergency saves
2193 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2195 * Makefile.am: better lib building
2197 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2199 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2201 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2202 (simpleTeXSpecialChars): adjust
2203 (simpleTeXSpecialChars): adjust
2204 * paragraph.C (simpleTeXOnePar): adjust
2205 * buffer.C (makeLaTeXFile): adjust
2207 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2209 * text2.C (changeDepth): parlist cleanup
2210 (getColumnNearX): ditto
2212 * rowpainter.C (getLabelFont): parlist cleanup
2214 * bufferlist.C (newFile): parlist cleanup
2216 * CutAndPaste.C (eraseSelection): parlist cleanup
2218 * BufferView_pimpl.C (trackChanges): parlist cleanup
2221 * BufferView.C (lockInset): parlist cleanup.
2222 (ChangeInsets): ditto
2224 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2226 * CutAndPaste.h: Update file header.
2228 * CutAndPaste.C: Update file header.
2229 Store the parts cut out of the Document in a limited_stack.
2230 (copySelection): adjust
2231 (pasteSelection): new function, takes the index in the limited stack.
2232 (nrOfParagraphs): adjust
2233 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2234 simplify error inset insertion.
2235 (checkPastePossible): adjust
2237 2003-05-06 John Levon <levon@movementarian.org>
2239 * text2.C: don't cast wrap inset to float
2241 2003-05-05 André Pönitz <poenitz@gmx.net>
2244 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2246 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2247 few naked Paragraph *.
2249 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2251 * bufferparams.C: Output warning if a document with missing
2252 TeX document class is loaded
2253 * exporter.C: Disable TeX exports if the document class is missing
2256 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2257 isTeXClassAvailable()
2259 2003-05-03 John Levon <levon@movementarian.org>
2262 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2263 explicit cursor show/hide
2265 * BufferView_pimpl.h:
2266 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2267 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2269 * lyxfunc.C: hide cursor before dispatching.
2274 * text3.C: remove explicit cursor hides
2276 2003-05-02 André Pönitz <poenitz@gmx.net>
2278 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2281 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2284 * text2.C: tiny whitespace
2286 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2288 * undo_funcs.C: almost only ws changes.
2290 * ParagraphList.C (splice): just return if pl is empty.
2292 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2294 * ParagraphList.C (splice): new function.
2296 * CutAndPaste.C (pasteSelection): use it
2298 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2300 * CutAndPaste.C (pasteSelection): remove the last next and
2301 previous from this file.
2303 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2305 * CutAndPaste.C (pasteSelection): more clean up, user proper
2306 ParagraphList functions for pasteing.
2308 * ParagraphList.C (insert): new function, three arg insert
2310 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2312 * ParagraphList.C (insert): new function, three arg insert
2314 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2317 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2319 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2321 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2323 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2325 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2327 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2328 (copySelection): clean up a bit.
2329 (pasteSelection): use make_pair
2331 * ParagraphList.C (ParagraphList): implement copy constructor
2332 (operator=): implement, base on copy constructor.
2335 * paragraph.C (erase): return a bool
2337 * paragraph_pimpl.C (erasePos): remove function, move contents...
2338 (erase): ... here. Return a bool.
2339 (erase): call erase instead of erasePos.
2341 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2343 * ParagraphList.h: define PitPosPair
2344 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2345 ParagraphList, fix a bug on pasting multiple pars
2346 * text2.C: change interface to C&P
2348 2003-04-30 André Pönitz <poenitz@gmx.net>
2350 * undo_func.C: revert part of yesterday's patch 2
2352 2003-04-30 John Levon <levon@movementarian.org>
2354 * LColor.C: s/tabular/table/
2356 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2358 * text3.C (dispatch): do not convert iterator -> pointer
2359 * undo_funcs.C (setCursorParUndo): ditto
2360 * text_funcs.C (transposeChars): ditto
2362 * text2.C (setLayout): ws changes only
2364 * text.C (breakParagraph): do not convert iterator -> pointer
2366 (acceptChange): ditto
2367 (rejectChange): ditto
2372 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2375 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2377 * text3.C (gotoInset): YABG (yet another bad getChar)
2379 2003-04-29 André Pönitz <poenitz@gmx.net>
2381 * paragraph.h: make operator= private unimplemented as long as
2384 * ParagraphList.C: whitespace
2387 * paragraph_pimpl.[Ch]:
2388 * paragraph_funcs.C:
2390 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2393 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2395 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2397 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2398 * paragraph.[Ch] (erase):
2399 * paragraph_pimpl.[Ch] (erase): change return type and value
2400 * text2.C (cutSelection): some rework
2402 2003-04-28 John Levon <levon@movementarian.org>
2404 * bufferlist.C: changes for unsaved changes dialog
2406 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2408 * bufferlist.C (newFile): set language (messages_) for new
2411 * buffer.C (readFile): ws changes only.
2413 2003-04-28 André Pönitz <poenitz@gmx.net>
2418 * BufferView_pimpl.C:
2419 * BufferView.C: getParFromID related ParagraphList::iterator changes
2421 2003-04-28 André Pönitz <poenitz@gmx.net>
2423 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2426 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2428 * messages.C: remove one more localedir class variable.
2430 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2432 * messages.C (getLocaleDir): singleton generation function
2434 (Messages): add a default constructor.
2436 * main.C (main): do not setup localedir here, do not call
2439 * gettext.C (_): use it.
2440 (gettext_init): delete funciton
2442 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2444 * gettext.C (getLyXMessages): new singleton generating function.
2446 * buffer.C (updateDocLang): adjust
2448 * Makefile.am (messages.o): add target
2449 (main.o): remove target
2451 2003-04-27 John Levon <levon@movementarian.org>
2456 * lyxvc.C: specify cancel button in Alert::prompt
2458 2003-04-26 John Levon <levon@movementarian.org>
2463 * LyXAction.C: add LFUN_INSET_SETTINGS
2465 * lyxfunc.C: don't enable tabular-feature when there's
2466 just any locking inset
2468 2003-04-26 John Levon <levon@movementarian.org>
2470 * bufferlist.C: re-add Cancel to buffer close question
2472 * lyxfunc.C: fix import UI a bit
2474 2003-04-25 John Levon <levon@movementarian.org>
2476 * gettext.C: remove the broken asserts for now
2478 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2480 * messages.C: make case where setlocale cannot comply work better.
2482 * buffer.C (updateDocLang): new function
2483 (changeLanguage): use it
2486 * text2.C (setCounter): use B_ a bit.
2488 * lyxlayout.C (Read): be sure to trim the label strings.
2490 * messages.C (Messages): fix typo in comment
2492 * buffer.C (readFile): set message_ after file is loaded.
2493 (makeDocBookFile): remove double return
2494 (changeLanguage): reset message_ upon language change.
2495 (B_): new func, use this to get translated buffer strings.
2497 * main.C: add myself and Jean Marc as authors.
2499 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2501 * messages.[hC]: pimplify Messages, and three different pimpls to be
2502 used in different circumstances.
2504 * gettext.[Ch]: change for use with new message code.
2506 2003-04-24 André Pönitz <poenitz@gmx.net>
2508 * factory.C: support for eqref
2510 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2512 * messages.[Ch]: add missing char
2514 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2516 * messages.[Ch]: New files
2518 2003-04-18 John Levon <levon@movementarian.org>
2522 * BufferView_pimpl.C:
2526 * text2.C: remove layout-copy/paste (bug 778)
2528 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2530 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2532 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2534 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2535 if they succeed. Act accordingly.
2537 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2539 * text2.C (setCharFont): adjust
2540 (setCounter): adjust
2541 (insertStringAsLines): adjust
2543 * text.C (leftMargin): adjust
2544 (setHeightOfRow): adjust
2546 * rowpainter.C (paintFirst): adjust
2549 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2551 (isFirstInSequence): ditto
2552 (getEndLabel): ditto
2555 * paragraph.C (getParLanguage): comment out some hard stuff.
2557 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2559 (simpleDocBookOnePar): ditto
2560 (makeDocBookFile): use ParagraphList::iterator
2562 * CutAndPaste.C (pasteSelection): adjust
2564 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2566 * text2.C (getFont): adjust
2567 (getLayoutFont): adjust
2568 (getLabelFont): adjust
2570 * paragraph_funcs.C (TeXOnePar): adjust
2572 * buffer.C (simpleLinuxDocOnePar): adjust
2573 (simpleDocBookOnePar): adjust
2575 * CutAndPaste.C (pasteSelection): adjust
2577 * BufferView.C (getEncoding): adjust
2579 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2581 2003-04-16 John Levon <levon@movementarian.org>
2583 * lyxfind.C: use parlist stuff for search/changes
2585 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2587 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2589 * text2.C (deleteEmptyParagraphMechanism): adjust
2591 * text2.[Ch] (ownerParagraph): delete func (both of them
2593 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2595 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2597 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2599 * ParagraphList.C: prepare for NO_NEXT
2601 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2603 * text2.C (getFont): adjust
2604 (getLayoutFont): adjust
2605 (getLabelFont): adjust
2607 * paragraph.C (getFont): adjust
2608 (getLabelFont): adjust
2609 (getLayoutFont): adjust
2611 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2613 2003-04-15 John Levon <levon@movementarian.org>
2617 * lyx_main.C: handle Include in .ui files
2619 2003-04-15 John Levon <levon@movementarian.org>
2621 * MenuBackend.C: make the doc files length shorter
2624 * ToolbarBackend.C: handle toolbar placement flags,
2627 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2629 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2632 * paragraph_funcs.C (TeXOnePar): adjust
2634 * paragraph.C (getLabelFont): add outerfont arg, adjust
2635 (getLayoutFont): ditto
2636 (simpleTeXOnePar): adjust
2638 * paragraph_pimpl.C (realizeFont): delete func
2640 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2642 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2643 row argument, constify cur argument.
2645 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2647 * text2.C (getFont): adjust
2648 (getLayoutFont): adjust
2649 (getLabelFont): adjust
2651 * paragraph_funcs.C (TeXOnePar): adjust
2652 (outerFont): new func...
2653 (realizeFont): ...moved out from here, changed this to facilitate
2656 * paragraph.C (getFont): take outerfont as arg, adjust
2657 (simpleTeXOnePar): add outerfont arg, adjust
2659 * buffer.C (simpleLinuxDocOnePar): adjust
2660 (simpleDocBookOnePar): adjust
2662 * CutAndPaste.C (pasteSelection): adjust
2664 * BufferView.C (getEncoding): adjust
2666 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2668 * text2.C (setCharFont): adjust
2669 (setCounter): adjust
2671 * text.C (leftMargin): adjust
2672 (setHeightOfRow): adjust
2674 * rowpainter.C (paintFirst): adjust
2677 * paragraph_pimpl.C (realizeFont): adjust
2679 * paragraph.C (isFirstInSequence): move from here...
2680 * paragraph_funcs.C (isFirstInSequence): ...to here
2682 * paragraph.C (outerHook): move from here...
2683 * paragraph_funcs.C (outerHook): ...to here
2685 * paragraph.C (depthHook): move from here...
2686 * paragraph_funcs.C (depthHook): ...to here
2688 * paragraph.C (getEndLabel): move from here...
2689 * paragraph_funcs.C (getEndLabel): ...to here
2691 * text2.C (realizeFont): move from here...
2692 * paragraph_funcs.C (realizeFont): ...to here
2694 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2696 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2698 2003-04-14 Angus Leeming <leeming@lyx.org>
2700 * LColor.[Ch]: scrap LColor mathcursor.
2702 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2704 * lyxlex.[Ch] (text): delete function
2705 * trans.C (Load): adjust
2706 * paragraph_funcs.C (readParToken): adjust
2708 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2710 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2711 vector<char> instead of a char[].
2713 * lyxlex_pimpl.C (getString): adjust
2715 (lex): use getString
2719 * lyxlex.C (text): use pimpl_->getString()
2723 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2725 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2726 (makeFontEntriesLayoutSpecific): temp var for par.size()
2727 (setLayout): temp var for ownerParagraphs().end()
2728 (fullRebreak): temp var for rows().end()
2729 (selectionAsString): temp var for boost::next(startpit), realize
2730 that the while really is a regular for loop.
2731 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2732 setCursor in one place.
2733 (setParagraph): temp vr for ownerParagraphs().end()
2734 (updateCounters): make the while loop a for loop
2735 (cutSelection): temp var for ownerParagraphs().end()
2736 (updateInset): make the do {} while() a regular for loop
2737 (getCursorX): use temp vars
2738 (setCurrentFont): use temp vars
2739 (getColumnNearX): use temp vars
2741 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2743 * text.C (transformChar): use temp var for getChar
2744 (computeBidiTables): use temp var for row->par()
2745 (fill): move temp vars for row->par() and pit->layout() earlier in
2747 (labelFill): use temp var for row->par()
2748 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2749 asc and desc, realize that pit never changes and that firstpit is
2750 just a duplicate and not needed. Exchange rit->par() with pit in a
2752 (breakAgain): use a temp var for boost::next(rit)
2753 (breakAgainOneRow): ditto
2754 (breakParagraph): use a temp var for rows().begin()
2755 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2756 (cursorRightOneWord): use temp var for cursor.par() and
2757 cursor.pos(), remove usage of tmpcursor.
2758 (cursorLeftOneWord): use temp var for cursor.par() and
2759 cursor.pos() only set cur at end of function.
2761 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2763 * text.C, text2.C: exchange all usage of Paragraph::next with
2764 boost::next(ParagraphList::iterator)
2766 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2768 * text2.C (cursorTop): simplify implementation
2769 (cursorBottom): ditto
2770 (setParagraph): use ParagraphList::iterator
2771 (setCurrentFont): adjust
2772 (getColumnNearX): adjust
2773 (cursorRight): adjust
2774 (cursorLeft): remove usage of Paragraph::previous
2775 (cursorUpParagraph): ditto
2776 (deleteEmptyParagraphMechanism): slight cleanup
2778 * text.C (isBoundary): take a Paragraph const & instead of a
2780 (addressBreakPoint): ditto
2781 (leftMargin): remove usage of Paragraph::previous.
2782 (setHeightOfRow): ditto
2783 (cursorLeftOneWord): ditto
2784 (selectNextWordToSpellcheck): ditto
2787 (breakParagraph): remove one usage of Paragraph::next
2788 (redoParagraph): ditto
2789 (acceptChange): ditto
2790 (insertChar): adjust
2791 (rowBreakPoint): adjust
2793 * bufferview_funcs.C (toggleAndShow): adjust
2795 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2797 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2798 methods to access it.
2800 * text.C: Added updateRowPositions to compute all row positions.
2801 Make top_y and getRowNearY() to use the cached y position
2803 2003-04-11 John Levon <levon@movementarian.org>
2805 * text.C (rowBreakPoint): reintroduce the labelEnd
2806 checks, code copied from the row fill stuff. Deep voodoo.
2808 * text.C (fill): add a comment and debugging for the
2811 2003-04-11 John Levon <levon@movementarian.org>
2813 * text.C: make sure fullrow insets get wrapped to the next line,
2814 even when they're in a manual label
2816 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2818 * text2.C (insertParagraph): make it take ParagraphList::iterator
2820 (setLayout): make it return ParagraphList::iterator
2821 (redoParagraphs): ditto
2823 (checkParagraph): ditto
2825 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2827 * text2.C: adjust several funcs.
2828 (realizeFont): take a ParagraphList::iterator as arg.
2829 (getLayoutFont): ditto
2830 (getLabelFont): ditto
2831 (setCharFont): ditto
2833 * text.C: adjust several funcs.
2835 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2837 * text.C (selectNextWordToSpellcheck): don't accidentally
2840 2003-04-10 John Levon <levon@movementarian.org>
2842 * ToolbarBackend.C (getIcon): special handling for
2845 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2847 * text2.C (cursorRight): a getChar assert fixed
2849 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2851 * text2.C (getFont): change to take a ParagraphList::iterator
2852 instead of Paragraph*
2853 Adjust several functions.
2855 * text.C (transformChar): change to take a ParagraphList::iterator
2856 instead of Paragraph*
2857 (singleWidth): ditto
2858 Adjust several functions.
2860 * rowpainter.C: adjust several functions
2861 * rowpainter.h:store a ParagraphList::iterator and not a
2865 2003-04-09 John Levon <levon@movementarian.org>
2870 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2871 and the "help" bits as well
2873 2003-04-09 John Levon <levon@movementarian.org>
2876 * ToolbarBackend.C: allow multiple toolbars
2878 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2880 * undo_funcs.C (setCursorParUndo): adjust
2882 * text_funcs.C (transposeChars): adjust
2884 * text3.C (gotoNextInset): adjust
2887 * text2.C (setLayout): adjust
2888 (changeDepth): adjust
2890 (redoParagraphs): adjust
2891 (selectionAsString): adjust
2892 (setParagraph): adjust
2893 (insertInset): adjust
2894 (cutSelection): adjust
2895 (copySelection): adjust
2896 (pasteSelection): adjust
2897 (insertStringAsLines): adjust
2898 (updateInset): adjust
2899 (setCursor): change to take a ParagraphList::iterator parameter
2900 (setCursorIntern): change to take a ParagraphList::iterator parameter
2901 (setCurrentFont): adjust
2902 (cursorLeft): adjust
2903 (cursorRight): adjust
2904 (deleteEmptyParagraphMechanism): adjust
2906 * text.C (breakParagraph): adjust
2907 (insertChar): adjust
2908 (acceptChange): adjust
2909 (rejectChange): adjust
2910 (selectNextWordToSpellcheck): adjust
2911 (changeCase): adjust
2915 * lyxfind.C (SearchForward): adjust
2916 (SearchBackward): adjust
2917 (nextChange): adjust
2919 * lyxcursor.C (par): adjust
2921 * lyxcursor.h: store a ParagraphList::iterator instead of a
2924 * lyx_cb.C (getPossibleLabel): adjust
2926 * bufferview_funcs.C (toggleAndShow): adjust
2928 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2931 * BufferView.C (removeAutoInsets): adjust
2932 (lockedInsetStoreUndo): adjust
2934 2003-04-09 John Levon <levon@movementarian.org>
2936 * ToolbarBackend.C: try icon without argument
2937 if with argument fails
2939 2003-04-08 John Levon <levon@movementarian.org>
2942 * ToolbarBackend.C: add getIcon(), handle tooltip,
2943 and change from "Icon" to "Item".
2945 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2947 * BufferView.C (lockInset): another bad getchar crunched
2949 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2951 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2954 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2956 * lyxfind.C (searchForward, searchBackwards): bug 782
2958 2003-04-07 John Levon <levon@movementarian.org>
2960 * paragraph.C: remove dead comment
2962 * text.C: remove troublesome depth-fiddling code
2963 in leftMargin() and rightMargin() (bug 1017)
2965 * text.C: fix breaking of rows in nested lists
2968 * text2.C (updateCounters): fix up depth values
2971 2003-04-07 John Levon <levon@movementarian.org>
2973 * BufferView_pimpl.C: clear message when doc finishes resizing,
2974 and after a mouse event
2976 * lyxfunc.C: clear message after exiting inset
2978 2003-04-07 John Levon <levon@movementarian.org>
2980 * bufferview_funcs.C: show math status not outside
2981 status in the statusbar
2983 2003-04-07 John Levon <levon@movementarian.org>
2985 * lyxfunc.C: note status changed after a depth change
2987 2003-04-04 Angus Leeming <leeming@lyx.org>
2989 * LaTeX.h: move AuxInfo operator==, != out of line.
2990 Remove LaTeX virtual destructor; nothing derives from it.
2991 Move operator()() out of public area and rename it startscript().
2992 Change protected for private.
2994 2003-04-04 Angus Leeming <leeming@lyx.org>
2997 * text2.C: remove unneeded #includes.
2999 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3001 * text2.C (dEPM): fix the heigth of the next row
3003 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3005 * text.C: squashed an invalid getChar requester + some ws changes
3007 2003-04-03 John Levon <levon@movementarian.org>
3009 * bufferview_funcs.h:
3010 * bufferview_funcs.C:
3013 * text2.C: make getStatus work for the env depth lfuns
3015 2003-04-03 John Levon <levon@movementarian.org>
3017 * bufferview_funcs.h:
3018 * bufferview_funcs.C:
3021 * text2.C: parlistize decDepth(), by merging it with incDepth()
3023 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3025 * lyxrow.h: store a ParagraphList::iterator instead of a
3026 Paragraph* and adjust other class functions to suit.
3028 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3031 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3033 * text2.C (setCursor): do not anchor to cursor row for the time being
3035 2003-04-02 John Levon <levon@movementarian.org>
3042 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3044 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3046 * paragraph.h: make ParagraphList and ParagraphList::iterator
3047 friends of Paragraph.
3049 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3051 * ParagraphList.C: Use the private next_ and previous_ from
3054 2003-04-01 John Levon <levon@movementarian.org>
3058 * Makefile.am: rename, remove defaults gunk
3061 * MenuBackend.C: remove defaults gunk
3064 * Languages.C: remove defaults gunk
3067 * lyx_main.C: error out if files couldn't be found.
3069 2003-04-02 John Levon <levon@movementarian.org>
3071 * text2.C: make incDepth() use parlist
3073 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3075 * undo_funcs.C (firstUndoParagraph): adjust
3077 * text3.C (gotoInset): adjust
3078 (dispatch): adjust, and rewrite loop.
3080 * text2.C (init): adjust, and rewrite loop.
3081 (redoParagraphs): adjust
3082 (updateInset): adjust, and rewrite loop.
3083 (deleteEmptyParagraphMechanism): adjust
3085 * tabular.C (LyXTabular): adjust
3086 (SetMultiColumn): adjust
3089 * lyxtext.[Ch] (ownerParagraph): delete function
3090 (ownerParagraphs): new function returns a ParagraphList.
3092 * BufferView.C (removeAutoInsets): adjust
3093 (insertErrors): adjust
3094 (setCursorFromRow): adjust
3096 2003-04-01 Angus Leeming <leeming@lyx.org>
3098 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3101 2003-04-02 John Levon <levon@movementarian.org>
3107 * text_funcs.C: make transposeChars a free function
3109 * lyxrow_funcs.C: remove wrong comment
3111 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3114 * rowpainter.C: adjust
3119 * lyxrow_funcs. [Ch]: new files
3121 * lyxrow.[Ch]: remove next and previous pointers
3122 (next,previous): remove accessor functions
3123 (isParEnd): move to lyxrow_funcs
3124 (lastPos): move to lyxrow_funcs
3125 (nextRowIsAllInset): move to lyxrow_funcs
3126 (lastPrintablePos): move to lyxrow_funcs
3127 (numberOfSeparators): move to lyxrow_funcs
3128 (numberOfHfills): move to lyxrow_funcs
3129 (numberOfLabelHfills): move to lyxrow_funcs
3130 (hfillExpansion): move to lyxrow_funcs
3134 * bufferview_funcs.C (toggleAndShow): adjust
3136 * RowList.h: Remove class RowList from file leave just a
3139 * RowList.C: delete file
3141 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3144 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3146 * text3.C (cursorPrevious): adjust
3147 (cursorNext): adjust
3150 * text2.C (redoHeightOfParagraph): adjust
3151 (redoDrawingOfParagraph): adjust
3154 * text.C (breakParagraph): adjust
3155 (insertChar): adjust
3158 * rowpainter.C (RowPainter): adjust
3159 (leftMargin): simplify and adjust
3160 (most rowpainter functions): adjust.
3162 * rowpainter.h: store the row as RowList::iterator not as Row*
3164 * lyxcursor.C (row): taka RowList::iterator as arg
3167 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3170 2003-04-01 Angus Leeming <leeming@lyx.org>
3172 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3173 stuff like bool Bool.
3175 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3177 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3180 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3182 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3185 * lyxtext.h (rows): drop one version and leve a const variant that
3186 returns a RowList::iterator.
3188 2003-03-31 Angus Leeming <leeming@lyx.org>
3190 * text.C (fill): ensure that the signature is the same as that in the
3193 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3195 * text2.C (redoParagraphs): adjust
3196 (updateCounters): adjust
3197 (checkParagraph): adjust
3198 (getColumnNearX): adjust and reformat a bit.
3200 * text.C (top_y): adjust
3202 (leftMargin): adjust
3203 (prepareToPrint): adjust
3205 (getRowNearY): adjust
3207 * lyxtext.h: make rowlist_ mutable.
3209 * RowList.h: add const_iterator
3210 * RowList.C: adjust for RowList::const_iterator.
3212 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3215 2003-03-31 John Levon <levon@movementarian.org>
3218 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3220 * lyx_main.C: set default fonts from using lyx_gui funcs
3222 * exporter.C: pdf_mode moved from lyxrc
3225 * lyxfunc.C: changes from above
3227 2003-03-31 John Levon <levon@movementarian.org>
3229 * lyx_main.C: fix to the last fix
3231 2003-03-31 John Levon <levon@movementarian.org>
3233 * bufferlist.C: "Load original" -> "Load Original"
3239 * format.C: more Alert cleanups
3241 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3243 * text2.C (removeParagraph): make it take a RowList::iterator as
3245 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3246 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3248 * text.C (anchor_row): make it take a RowList::iterator as arg,
3250 (computeBidiTables): make it take a const reference to Row instead
3251 of Row pointer, adjust.
3252 (leftMargin): make it take a RowList::iterator as arg, adjust.
3253 (rowBreakPoint): adjust
3254 (breakAgainOneRow): make it take a RowList::iterator as arg,
3256 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3258 * bufferview_funcs.C (toggleAndShow): adjust
3260 2003-03-30 John Levon <levon@movementarian.org>
3264 * boost-inst.C: moved to support
3266 * several files: changes as a result
3268 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3270 * text2.C (LyXText): adjust.
3272 (removeRow): make it take a RowList::iterator as arg, adjust.
3273 (fullRebreak): adjust
3274 (deleteEmptyParagraphMechanism): adjust
3275 (clearPaint): adjust
3278 * text.C (top_y): adjust
3279 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3280 (breakAgain): make it take a RowList::iterator as arg, adjust.
3281 (breakParagraph): adjust
3282 (insertChar): adjust
3285 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3286 need_break_row, and refresh_row.
3288 * text3.C (dispatch): adjust
3290 * text2.C (checkParagraph): adjust
3292 (setCursorFromCoordinates): adjust
3294 * text.C (top_y): adjust
3296 (getRow): make it return a RowList::iterator, adjust
3297 (getRowNearY): make it return a RowList::iterator, adjust
3299 * text2.C (init): adjust
3300 (insertRow): remove function
3301 (insertParagraph): adjust
3302 (redoParagraphs): adjust
3303 (fullRebreak): adjust
3304 (updateCounters): adjust
3306 * text.C (top_y): rewrite to use RowList iterators.
3308 (setHeightOfRow): rewrite to sue RowList iterators.
3309 (appendParagraph): adjust
3310 (breakAgain): adjust
3311 (breakAgainOneRow): adjust
3312 (breakParagraph): adjust
3314 (getRowNearY): adjust, and remove commented code.
3316 * lyxtext.h (firstRow): delete function
3317 (lastRow): delete function
3318 (rows): new function (const and non-const versions.)
3319 (insertRow): delete function
3321 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3323 2003-03-29 John Levon <levon@movementarian.org>
3325 * BufferView_pimpl.C: always update scrollbar top
3326 because pasting text when we're anchored could mean we
3327 miss an update altogether
3329 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3331 * text2.C (init): use rowlist_.end() and not 0.
3332 (insertRow): change to take a RowList::iterator as arg, adjust
3334 (insertParagraph): change to take a RowList::iterator as arg,
3336 (redoParagraphs): remove some debug msgs.
3338 * text.C (appendParagraph): change to take a RowList::iterator
3339 arg, adjust for this.
3340 (breakAgain): add an assert
3341 (breakAgainOneRow): ditto
3343 2003-03-29 John Levon <levon@movementarian.org>
3345 * text2.C: do not clear selection after inc/decDepth
3348 2003-03-29 John Levon <levon@movementarian.org>
3351 * buffer.C: fix broken strerrors according to Lars
3353 2003-03-29 John Levon <levon@movementarian.org>
3355 * converters.C: more Alert cleanups
3357 2003-03-29 John Levon <levon@movementarian.org>
3359 * bufferview_funcs.C: remove pointless Alert
3361 * buffer.C: fix confusing error message when
3362 a template is chmoded 000
3364 2003-03-29 John Levon <levon@movementarian.org>
3368 * BufferView_pimpl.C: Alert fixes
3372 * tabular-old.C: remove unused table compat reading
3374 2003-03-29 John Levon <levon@movementarian.org>
3379 * lyx_cb.C: more Alert cleanups
3381 * lyxfunc.C: don't allow chktex if not latex document
3383 2003-03-29 John Levon <levon@movementarian.org>
3387 * buffer.C: warnings pushed down from support/,
3390 2003-03-29 John Levon <levon@movementarian.org>
3392 * lyxfunc.C: safety check for C-r (revert)
3394 2003-03-29 John Levon <levon@movementarian.org>
3397 * bufferlist.C: several UI fixes using Alert::prompt.
3398 Fix the pointless looping quit code. Fix stupid revert
3403 * lyx_cb.C: use Alert::prompt
3405 * lyx_main.C: remove a silly question
3407 * lyxfunc.C: remove a couple of silly questions,
3410 2003-03-28 John Levon <levon@movementarian.org>
3412 * text2.C: fix bug 974 (End on empty par)
3414 2003-03-28 John Levon <levon@movementarian.org>
3416 * BufferView_pimpl.C:
3418 * lfuns.h: remove do-nothing math greek lfuns
3420 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3422 * lyxgluelength.h (isValidGlueLength): add default arg on
3423 parameter 2. Remove default arg from friend in class.
3425 * lyxlength.h (isValidLength): add default arg on parameter 2.
3426 Remove default arg from friend in class.
3428 * text2.C (LyXText): adjust, initialize refresh_row.
3432 (insertParagraph): adjst
3433 (redoParagraphs): adjust
3434 (fullRebreak): adjust
3435 (updateCounters): adjust
3436 (deleteEmptyParagraphMechanism): first attempt at fixing a
3439 * text.C (top_y): adjust
3440 (setHeightOfRow): adjust
3442 (getRowNearY): adjust
3444 * lyxtext.h: include RowList.h
3445 (~LyXText): not needed anymore, deleted.
3446 (firstRow): modify for RowList
3447 (lastRow): new function
3448 Delete firstrow and lastrow class variables, add a Rowlist
3449 rowlist_ class variable.
3451 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3454 * RowList.C (insert): fix case where it == begin().
3456 2003-03-26 Angus Leeming <leeming@lyx.org>
3458 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3459 the thesaurus dialog.
3461 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3463 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3465 * RowList.[Ch]: new files
3467 * ParagraphList.C (erase): handle the case where it == begin
3470 2003-03-25 John Levon <levon@movementarian.org>
3474 * aspell.C: add new aspell support
3477 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3480 2003-03-25 Angus Leeming <leeming@lyx.org>
3483 * LyXAction.C (init): new LFUN_INSET_INSERT.
3485 * BufferView_pimpl.C (dispatch): split out part of the
3486 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3488 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3491 2003-03-25 Angus Leeming <leeming@lyx.org>
3493 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3495 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3498 * text3.C: remove useless row->height(0)
3500 2003-03-25 John Levon <levon@movementarian.org>
3504 * text3.C: rename the refreshing stuff to better names
3506 2003-03-24 John Levon <levon@movementarian.org>
3508 * BufferView_pimpl.h:
3509 * BufferView_pimpl.C: update layout choice on a mouse
3512 2003-03-23 John Levon <levon@movementarian.org>
3514 * Makefile.am: fix commandtags.h reference
3516 2003-03-22 John Levon <levon@movementarian.org>
3518 * BufferView_pimpl.C:
3523 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3525 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3528 * text.C: take the rtl methods out of line
3530 2003-03-21 André Pönitz <poenitz@gmx.net>
3532 * metricsinfo.[Ch]: new files containing structures to be passed around
3533 during the two-phase-drawing...
3535 2003-03-21 André Pönitz <poenitz@gmx.net>
3537 * lyxtextclass.C: read 'environment' tag.
3539 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3541 * text2.C (removeRow): fix bug 964
3543 2003-03-20 John Levon <levon@movementarian.org>
3547 * text2.C: paint cleanups. Inset::update() dropped font
3550 2003-03-19 John Levon <levon@movementarian.org>
3552 * lyxfunc.C: only fitcursor/markDirty if available()
3554 2003-03-19 John Levon <levon@movementarian.org>
3556 * commandtags.h: rename to ...
3558 * lfuns.h: ... this, and renumber / cleanup
3560 2003-03-19 John Levon <levon@movementarian.org>
3562 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3563 fit the cursor after an lfun
3567 * BufferView_pimpl.h:
3568 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3570 * LyXAction.C: layout-character should have ReadOnly
3572 * ParagraphParameters.C:
3574 * bufferview_funcs.C:
3581 * undo_funcs.C: changes from above
3583 2003-03-18 John Levon <levon@movementarian.org>
3585 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3586 remove it from update()
3588 * lyxfunc.C: update layout choice after an lfun
3590 * text3.C: remove extra updateLayoutChoice()s
3592 2003-03-18 John Levon <levon@movementarian.org>
3594 * text.C: top_y change means full repaint, fix
3595 a drawing bug with cursor movement
3597 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3601 * text2.C: anchor row on setCursor
3603 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3605 * lyxtext.h: remove almost all mutable keywords
3608 * text3.C: remove const keywords accordingly
3610 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3612 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3614 (TeXEnvironment): ditto
3617 2003-03-17 John Levon <levon@movementarian.org>
3619 * text.C (rowBreakPoint): remove attempt to fix displayed
3620 math insets inside a manual label
3622 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3624 * lyxtext.h: remove BufferView* as first arg from almost all class
3626 * other files: adjust.
3628 2003-03-17 John Levon <levon@movementarian.org>
3632 * text2.C: more paint cleanups
3634 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3637 * rowpainter.C: remove "smart" background painting code
3639 2003-03-16 John Levon <levon@movementarian.org>
3644 * text3.C: add helper functions for setting refresh_row/y
3646 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3648 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3649 newline inset which *can* get inserted in the pass_thru layouts.
3650 This is primarily for literate documents.
3652 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3654 * buffer.C: increment LYX_FORMAT to 223
3656 2003-03-14 André Pönitz <poenitz@gmx.net>
3658 * textclass.h: prepare for environment handling, ws changes
3659 * lyxlayout.C: read latexheader and latexfooter tags
3661 2003-03-14 John Levon <levon@movementarian.org>
3663 * text2.C: rewrite ::status() a bit
3665 2003-03-13 John Levon <levon@movementarian.org>
3667 * lyxtext.h: add some docs
3669 2003-03-13 John Levon <levon@movementarian.org>
3674 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3676 2003-03-13 John Levon <levon@movementarian.org>
3678 * text3.C: fix appendix redrawing
3680 2003-03-13 John Levon <levon@movementarian.org>
3682 * text.C (setHeightOfRow):
3684 * rowpainter.C: make appendix mark have the text
3685 "Appendix" so the user knows what it is
3688 * LColor.C: s/appendixline/appendix/ from above
3690 2003-03-13 John Levon <levon@movementarian.org>
3692 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3694 * text.C: fix a getChar(pos) bug properly
3696 2003-03-13 Angus Leeming <leeming@lyx.org>
3699 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3700 Probably only temporary. Let's see how things pan out.
3702 * BufferView.C (unlockInset):
3703 * BufferView_pimpl.C (fitCursor):
3704 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3706 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3707 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3709 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3710 new functions that convert ParagraphParameters to and from a string.
3712 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3713 BufferView::Pimpl's dispatch.
3714 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3716 2003-03-13 André Pönitz <poenitz@gmx.net>
3720 * factory.C: make it aware of InsetEnv
3722 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3724 * text2.C (setCursor): never ask for one past last
3725 (setCursor): add some debugging messages.
3727 * text.C (singleWidth): never ask for one past last
3728 (singleWidth): ditto
3730 (rightMargin): ditto
3731 (rowBreakPoint): ditto
3732 (setHeightOfRow): ditto
3733 (prepareToPrint): ditto
3735 * rowpainter.C (paintBackground): never ask for one past last
3736 (paintText): never ask for one past last
3738 * paragraph_pimpl.C (getChar): make the assert stricter, never
3739 allow the one past last pos to be taken
3741 * paragraph.C (getChar): ws changes only
3743 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3744 (numberOfSeparators): ditto
3745 (numberOfHfills): ditto
3747 2003-03-12 John Levon <levon@movementarian.org>
3753 * paragraph_funcs.C: fix per-buffer authorlists
3755 2003-03-12 John Levon <levon@movementarian.org>
3757 * text.C: fix newline in right address
3759 2003-03-12 Angus Leeming <leeming@lyx.org>
3761 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3762 duplicate those in LyXFunc::dispatch.
3766 * ToolbarDefaults.C:
3767 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3768 Add LFUN_FONTFREE_UPDATE.
3770 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3771 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3773 * bufferview_func.[Ch]: several new functions to facilliate
3774 transfer of data to and from the character dialog.
3776 2003-03-12 John Levon <levon@movementarian.org>
3781 * paragraph_funcs.C:
3782 * paragraph_pimpl.C:
3786 * text3.C: remove META_NEWLINE in favour of an inset
3789 * rowpainter.C: remove paintNewline (done by inset)
3791 2003-03-12 John Levon <levon@movementarian.org>
3793 * paragraph_pimpl.C: complain about bad getChar()s
3794 for a while at least
3796 2003-03-12 John Levon <levon@movementarian.org>
3799 * buffer.C: move paragraph read into a separate function,
3800 a little renaming to reflect that.
3803 * bufferparams.C: remove the author_ids map, not necessary now
3806 * factory.C: moved Buffer::readInset to here
3808 * paragraph_funcs.h:
3809 * paragraph_funcs.C: readParagraph free function moved from
3812 * tabular.C: name change
3814 2003-03-12 John Levon <levon@movementarian.org>
3817 * ParagraphParameters.C: move par params input to
3820 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3821 behave like a normal read from the stream wrt reading
3822 a line vs. a \\token
3824 2003-03-12 John Levon <levon@movementarian.org>
3827 * ParagraphParameters.h:
3828 * ParagraphParameters.C: move output code to a
3831 2003-03-12 John Levon <levon@movementarian.org>
3833 * BufferView.C (insertLyXFile):
3836 * tabular.C: use a parlist iterator for creating the
3839 2003-03-12 John Levon <levon@movementarian.org>
3841 * buffer.C: make current_change static local not
3844 2003-03-12 John Levon <levon@movementarian.org>
3846 * buffer.C: fix insertStringAsLines for change tracking
3848 2003-03-12 John Levon <levon@movementarian.org>
3855 * bufferparams.C: move author list into params. Rename some
3856 functions. Move the header reading into a separate token
3857 loop. Move the header token reading into BufferParams.
3859 2003-03-12 John Levon <levon@movementarian.org>
3861 * changes.C: put debug inside lyxerr.debugging() checks
3863 2003-03-11 André Pönitz <poenitz@gmx.net>
3865 * factory.C: make it aware of InsetHFill
3867 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3869 * buffer.C (latexParagraphs): move function from here...
3870 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3873 2003-03-10 Angus Leeming <leeming@lyx.org>
3875 * LyXAction.C (init): fix bug in poplating array with multiple entries
3876 with the same LFUN (spotted by JMarc).
3878 2003-03-10 John Levon <levon@movementarian.org>
3881 * text2.C: move getColumnNearX() near its
3884 2003-03-10 John Levon <levon@movementarian.org>
3886 * text.C: fix break before a minipage
3888 2003-03-10 John Levon <levon@movementarian.org>
3890 * text.C: fix the last commit
3892 2003-03-09 John Levon <levon@movementarian.org>
3896 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3897 bug 365 (don't break before insets unless needed). Don't
3898 return a value > last under any circumstances.
3900 2003-03-09 Angus Leeming <leeming@lyx.org>
3902 * BufferView_pimpl.C (trackChanges, dispatch): call
3903 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3905 2003-03-09 Angus Leeming <leeming@lyx.org>
3907 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3908 than Dialogs::showAboutlyx().
3910 2003-03-09 Angus Leeming <leeming@lyx.org>
3912 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3913 than Dialogs::showTabularCreate().
3915 2003-03-09 John Levon <levon@movementarian.org>
3919 * text2.C: 3rd arg to nextBreakPoint was always the same.
3922 2003-03-08 John Levon <levon@movementarian.org>
3929 * text2.C: Remove the "main" bit from the "main body"
3932 2003-03-08 John Levon <levon@movementarian.org>
3934 * text.C (leftMargin): The left margin of an empty
3935 manual label paragraph should not include the label width
3938 * text.C (prepareToPrint): don't attempt to measure hfills
3939 for empty manual label paragraphs - the answer should be 0
3941 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3943 * CutAndPaste.C: remove commented code and reindent.
3945 2003-03-08 John Levon <levon@movementarian.org>
3948 * lyxfunc.C: move reloadBuffer()
3951 * BufferView.C: to here
3953 * lyxvc.C: add comment
3956 * vc-backend.C: call bv->reload() to avoid
3957 getStatus() check on MENURELOAD
3959 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3961 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3962 to an old format .dep file.
3964 2003-03-07 Angus Leeming <leeming@lyx.org>
3966 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3967 when the LFUN_MOUSE_RELEASE should have been handled by
3968 inset->localDispatch.
3970 2003-03-07 Angus Leeming <leeming@lyx.org>
3972 * BufferView_pimpl.C (dispatch):
3973 * LyXAction.C (init):
3974 * ToolbarDefaults.C (init):
3976 * lyxfunc.C (getStatus):
3977 remove LFUN_INSET_GRAPHICS.
3979 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3981 2003-03-07 Angus Leeming <leeming@lyx.org>
3984 * LyXAction.C (init):
3985 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3987 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3990 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3992 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3993 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3995 2003-03-07 Angus Leeming <leeming@lyx.org>
3997 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4000 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4002 * ParagraphList.C (front): new function
4005 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4007 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4008 and top_row_offset_. removed var first_y.
4010 * text2.C (LyXText, removeRow):
4012 * BufferView_pimpl.C:
4013 use these methods instead of using first_y
4015 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4017 * text2.C (pasteSelection): adjust for checkPastePossible
4019 * CutAndPaste.C: remove Paragraph * buf and replace with
4020 ParagraphList paragraphs.
4021 (DeleteBuffer): delete
4022 (cutSelection): change the tc type to textclass_type
4023 (copySelection): change the tc type to textclass_type
4024 (copySelection): adjust for ParagraphList
4025 (pasteSelection): change the tc type to textclass_type
4026 (pasteSelection): adjust for Paragraphlist
4027 (nrOfParagraphs): simplify for ParagraphList
4028 (checkPastePossible): simplify for ParagraphList
4029 (checkPastePossible): remove unused arg
4031 * ParagraphList.C (insert): handle the case where there are no
4034 * CutAndPaste.h: make CutAndPaste a namespace.
4036 * text3.C (dispatch): adjust
4038 * text.C (breakParagraph): add a ParagraphList as arg
4040 * paragraph_funcs.C (breakParagraph): change to take a
4041 BufferParams and a ParagraphList as args.
4042 (breakParagraphConservative): ditto
4043 (mergeParagraph): ditto
4044 (TeXDeeper): add a ParagraphList arg
4045 (TeXEnvironment): ditto
4048 * buffer.C (readLyXformat2): adjust
4049 (insertStringAsLines): adjust
4050 (latexParagraphs): adjust
4052 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4053 (cutSelection): adjust
4054 (pasteSelection): adjust
4056 * BufferView_pimpl.C (insertInset): adjust
4058 2003-03-05 Angus Leeming <leeming@lyx.org>
4061 * LyXAction.C (init):
4062 * BufferView_pimpl.C (dispatch):
4063 * lyxfunc.C (getStatus):
4064 remove LFUN_CHILD_INSERT.
4066 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4068 2003-03-05 Angus Leeming <leeming@lyx.org>
4071 * LyXAction.C (init):
4072 * src/factory.C (createInset):
4073 * lyxfunc.C (getStatus):
4074 * text3.C (dispatch):
4075 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4077 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4079 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4081 * ParagraphList.C (insert): handle insert right before end()
4082 (erase): fix cases where it can be first or last paragraph.
4084 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4086 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4087 Paragraph::next and Paragraph::previous
4090 * text.C (breakParagraph): adjust
4092 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4093 BufferParams& as arg.
4094 (breakParagraph): use ParagraphList::insert
4095 (breakParagraphConservative): take a Buffer* instead of a
4096 BufferParams& as arg.
4097 (breakParagraphConservative): use ParagraphList::insert.
4099 * buffer.C (insertStringAsLines): un-const it
4100 (insertStringAsLines): adjust
4102 * ParagraphList.C (insert): new function
4104 * CutAndPaste.C (pasteSelection): adjust
4106 * text.C (backspace): adjust
4108 * tabular.C (SetMultiColumn): adjust
4110 * CutAndPaste.C (cutSelection): adjust
4111 (pasteSelection): adjust
4113 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4114 Buffer const * as arg
4116 * ParagraphList.C (erase): new function
4117 * paragraph_funcs.C (mergeParagraph): use it
4118 (mergeParagraph): make it take a Buffer* instead of a
4119 BufferParams* as arg
4121 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4123 (breakParagraphConservative): ditto
4125 * paragraph.h: remove the breakParagraph friend
4127 * paragraph.C (eraseIntern): new function
4128 (setChange): new function
4130 * paragraph_funcs.C (mergeParagraph): make it take a
4131 ParagraphList::iterator instead of a Paragraph *, adjust
4134 * paragraph.h: move an #endif so that the change tracking stuff
4135 also works in the NO_NEXT case.
4137 2003-03-04 Angus Leeming <leeming@lyx.org>
4140 * LyXAction.C: new LFUN_INSET_MODIFY.
4142 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4143 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4145 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4147 * several files: ws changes only
4149 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4150 (TeXEnvironment): ditto
4153 * buffer.C (makeLaTeXFile): adjust
4154 (latexParagraphs): make it take ParagraphList::iterator as args
4156 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4158 * buffer.C (latexParagraphs): adjust
4160 * paragraph.C (TeXOnePar): move function...
4161 (optArgInset): move function...
4162 (TeXEnvironment): move function...
4163 * paragraph_pimpl.C (TeXDeeper): move function...
4164 * paragraph_funcs.C: ...here
4166 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4168 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4170 * buffer.C (readInset): remove compability code for old Figure and
4173 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4175 * buffer.C: ws changes
4178 * BufferView_pimpl.C: ditto
4181 * bufferlist.h: ditto
4185 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4187 * converter.[Ch]: split into itself +
4190 * Makefile.am: += graph.[Ch] + format.[Ch]
4197 * lyxrc.C: added #include "format.h"
4199 2003-02-27 Angus Leeming <leeming@lyx.org>
4201 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4204 * factory.C (createInset): add "label" to the factory.
4206 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4207 string and do no more.
4209 2003-02-27 Angus Leeming <leeming@lyx.org>
4212 * LyXAction.C (init):
4213 * factory.C (createInset):
4214 * BufferView_pimpl.C (dispatch):
4215 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4217 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4219 * lyxfunc.C (dispatch):
4220 * text3.C (dispatch): pass name to params2string.
4222 2003-02-26 Angus Leeming <leeming@lyx.org>
4224 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4226 Rearrange the ~includes. Strip out the unnecessary ones.
4228 * factory.C (createInset): reformat.
4229 create new insets for the various LFUN_XYZ_APPLY lfuns.
4231 2003-02-26 John Levon <levon@movementarian.org>
4234 * lyxrow.C: add isParStart,isParEnd helpers
4236 * paragraph.h: make isInserted/DeletedText take refs
4238 * paragraph_funcs.h:
4239 * paragraph_funcs.C: remove #if 0'd code
4244 * text.C: use lyxrow helpers above.
4245 Move draw and paint routines to RowPainter.
4246 Make several methods use refs not pointers.
4247 Make backgroundColor() const.
4248 Add markChangeInDraw(), isInInset().
4249 Merge changeRegionCase into changeCase.
4250 Make workWidth() shouldn't-happen code into an Assert.
4253 * rowpainter.C: new class for painting a row.
4256 * vspace.C: make inPixels take a ref
4258 2003-02-26 Angus Leeming <leeming@lyx.org>
4260 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4263 2003-02-25 John Levon <levon@movementarian.org>
4265 * ispell.C: give the forked command a more accurate name
4267 2003-02-22 John Levon <levon@movementarian.org>
4270 * toc.C: make TocItem store an id not a Paragraph *
4273 2003-02-21 Angus Leeming <leeming@lyx.org>
4275 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4276 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4277 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4278 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4279 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4280 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4282 * BufferView_pimpl.C (dispatch):
4283 * LyXAction.C (init):
4284 * factory.C (createInset):
4285 * lyxfunc.C (getStatus, dispatch):
4286 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4288 2003-02-21 Angus Leeming <leeming@lyx.org>
4290 * BufferView_pimpl.C (MenuInsertLyXFile):
4291 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4292 * lyxfunc.C (menuNew, open, doImport):
4293 no longer pass a LyXView & to fileDlg.
4295 2003-02-21 Angus Leeming <leeming@lyx.org>
4297 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4298 * LyXAction.C: change, BIBKEY to BIBITEM.
4299 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4300 Change InsetBibKey to InsetBibitem.
4301 Change BIBKEY_CODE to BIBITEM_CODE.
4302 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4303 * factory.C: replace insetbib.h with insetbibitem.h.
4304 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4305 * paragraph.C: replace insetbib.h with insetbibitem.h.
4306 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4307 Change bibkey() to bibitem().
4308 * text.C: remove insetbib.h.
4309 * text2.C: replace insetbib.h with insetbibitem.h.
4310 change bibkey() to bibitem().
4311 * text3.C: remove insetbib.h.
4312 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4314 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4316 * lyxrc.C (output): enclose user email in quotes (in case there are
4319 2003-02-18 John Levon <levon@movementarian.org>
4321 * buffer.h: add std::
4323 2003-02-17 John Levon <levon@movementarian.org>
4329 * pspell.C: reworking. Especially in ispell, a large
4330 number of clean ups and bug fixes.
4332 * lyxfunc.C: fix revert to behave sensibly
4334 2003-02-17 André Pönitz <poenitz@gmx.net>
4337 * commandtags.h: new LFUN_INSERT_BIBKEY
4347 * paragraph_func.C: remove special bibkey handling
4349 2003-02-17 John Levon <levon@movementarian.org>
4351 * text.C (Delete): fix case where delete at the end of
4352 the very first paragraph would not merge the pars
4354 2003-02-17 John Levon <levon@movementarian.org>
4356 * lyxrow.C: fix lastPrintablePos()
4358 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4360 * bufferparams.C (writeLaTeX): add a std:here
4362 * buffer.C: and remove a using directive there
4364 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4366 * buffer.C (makeLaTeXFile): move the code that generates the
4369 * bufferparams.C (writeLaTeX): ... in this new method
4371 * LaTeXFeatures.C (getEncodingSet): make const
4372 (getLanguages): make const
4374 * MenuBackend.C (binding): returns the binding associated to this
4376 (add): sets the status of each item by calling getStatus. Adds
4378 (read): add support for OptSubMenu
4379 (expand): remove extra separator at the end of expanded menu
4381 2003-02-15 John Levon <levon@movementarian.org>
4384 * BufferView_pimpl.C:
4386 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4387 inset code that had no actual effect. Remove unneeded status
4390 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4392 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4395 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4397 * text.C (drawLengthMarker): also draw an arrow marker for
4398 symbolic lengths (medskip...)
4400 2003-02-14 John Levon <levon@movementarian.org>
4403 * tabular.C: better method names
4405 2003-02-14 John Levon <levon@movementarian.org>
4407 * BufferView_pimpl.C:
4412 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4413 it's a more accurate name. Remove some pointless uses.
4415 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4417 * text2.C (LyXText): change order of initilizers to shut off
4420 2003-02-14 John Levon <levon@movementarian.org>
4422 * buffer.C: use ParIterator for getParFromID()
4426 * paragraph_pimpl.h:
4427 * paragraph_pimpl.C: remove unused getParFromID()
4429 2003-02-14 John Levon <levon@movementarian.org>
4431 * buffer.C: remove some very old #if 0'd parse code
4433 2003-02-13 John Levon <levon@movementarian.org>
4437 * text2.C: move hfillExpansion(), numberOfSeparators(),
4438 rowLast(), rowLastPrintable(), numberofHfills(),
4439 numberOfLabelHfills() ...
4442 * lyxrow.C: ... to member functions here.
4447 * text.C: remove LyXText::beginningOfMainBody(), and call
4448 p->beginningOfMainBody() directly. Move the check for
4449 LABEL_MANUAL into the latter.
4456 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4462 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4463 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4465 2003-02-13 John Levon <levon@movementarian.org>
4467 * CutAndPaste.C: remove debug
4469 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4471 * paragraph.C (asString): remove two unused variables
4473 * lyxtextclass.C (readTitleType):
4475 (LyXTextClass): handle new members titletype_ and titlename_
4477 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4479 2003-02-09 John Levon <levon@movementarian.org>
4482 * buffer.C: replace hand-coded list with a map for the dep clean
4484 2003-02-08 John Levon <levon@movementarian.org>
4486 * LaTeX.C: consolidate code into showRunMessage() helper
4488 2003-02-08 John Levon <levon@movementarian.org>
4493 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4494 and pass the size in explicitly
4496 * BufferView_pimpl.h:
4497 * BufferView_pimpl.C:
4499 * BufferView.C: add getCurrentChange()
4501 * BufferView_pimpl.h:
4502 * BufferView_pimpl.C: handle change lfuns
4504 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4505 for changes. Mark pasted paragraphs as new.
4507 * support/lyxtime.h:
4508 * support/lyxtime.C:
4509 * DepTable.C: abstract time_t as lyx::time_type
4512 * LColor.C: add colours for new text, deleted text, changebars
4514 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4515 package use "usenames" option.
4519 * LyXAction.C: add change lfuns
4523 * author.C: author handling
4526 * buffer.C: add a per-buffer author list, with first entry as
4527 current author. Handle new .lyx tokens for change tracking. Output
4528 author list to .lyx file. Output dvipost stuff to .tex preamble.
4529 Bump lyx format to 222.
4532 * bufferlist.C: add setCurrentAuthor() to reset current author details
4536 * bufferparams.C: add param for tracking
4538 * bufferview_funcs.C: output change info in minibuffer
4542 * changes.C: add change-tracking structure
4545 * debug.C: add CHANGES debug flag
4548 * lyxfind.C: add code for finding the next change piece
4551 * lyxrc.C: add user_name and user_email
4554 * lyxrow.C: add a metric for the top of the text line
4557 * text.C: implement accept/rejectChange()
4560 * text.C: paint changebars. Paint new/deleted text in the chosen
4561 colours. Strike through deleted text.
4565 * paragraph_pimpl.h:
4566 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4567 in the current change to the insert functions. Rework erase to
4568 mark text as deleted, adding an eraseIntern() and a range-based
4569 erase(). Implement per-paragraph change lookup and
4572 * paragraph_funcs.C: Fixup paste for change tracking.
4574 * tabular.C: mark added row/columns as new.
4576 * text.C: fix rowLast() to never return -1. Don't allow
4577 spellchecking of deleted text. Track transpose changes. Don't
4578 allow paragraph break or merge where appropriate.
4580 * text2.C: leave cursor at end of selection after a cut.
4582 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4584 * text.C (getLengthMarkerHeight):
4585 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4586 visible on screen too.
4588 2003-02-07 John Levon <levon@movementarian.org>
4590 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4592 2003-02-05 Angus Leeming <leeming@lyx.org>
4594 * lyxserver.C (read_ready): revert my patch of 11 September last year
4595 as it sends PC cpu through the roof. Presumably this means that
4596 the lyxserver will no longer run on an Alpha...
4598 2003-01-30 Angus Leeming <leeming@lyx.org>
4600 * factory.C (createInset): create an InsetCommandParam of type "index"
4601 and use it to 'do the right thing'.
4603 * text2.C (getStringToIndex): ensure that cursor position is always
4604 reset to the reset_cursor position.
4606 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4608 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4611 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4615 * lyxfunc.C: Output messages with identical spelling, punctuation,
4618 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4620 * MenuBackend.C (expandFormats): List only viewable export formats
4623 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4626 * lyxfunc.C (getStatus): Make sure that formats other than
4627 "fax" can also be disabled
4629 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4631 * text3.C (dispatch): put the lfuns that insert insets in 3
4632 groups, and call doInsertInset with appropriate arguments.
4633 (doInsertInset): new function, that creates an inset and inserts
4634 it according to some boolean parameters.
4636 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4638 * buffer.C (readFile): remember to pass on 'par' when calling
4639 readFile recursively.
4641 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4643 * MenuBackend.C (expandFormats): add "..." to import formats.
4645 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4647 * paragraph.C (asString): Remove XForms RTL hacks.
4649 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4650 * buffer.C: fix typo
4652 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4654 * Makefile.am (LIBS): delete var
4655 (lyx_LDADD): add @LIBS@ here instead.
4657 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4659 * Clarify the meaning of "wheel mouse jump"
4661 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4663 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4666 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4668 * importer.C (Loaders): do not preallocate 3 elements in the
4669 vector, since one ends up with 6 elements otherwise
4671 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4673 * DepTable.C (write): write the file name as last element of the
4674 .dep file (because it may contain spaces)
4675 (read): read info in the right order
4677 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4679 * paragraph_pimpl.C (simpleTeXBlanks):
4680 (simpleTeXSpecialChars):
4681 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4683 * tabular.C (latex): add some missing case statements. Reindent.
4685 * MenuBackend.C (expandToc): remove unused variable.
4687 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4696 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4699 2003-01-05 John Levon <levon@movementarian.org>
4702 * BufferView.C: add getEncoding()
4705 * kbsequence.C: do not store last keypress
4708 * lyxfunc.C: store last keypress here instead. Pass encoding
4711 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4713 * lyx_main.C (init): remove annoying error message when following
4714 symbolic links (bug #780)
4716 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4718 * text.C (insertChar):
4719 * lyxrc.C (getDescription): remove extra spaces
4721 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4723 * lyxrc.C (getDescription): remove extra spaces
4725 2002-12-20 John Levon <levon@movementarian.org>
4727 * text3.C: hack fix for page up/down across tall rows
4729 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4731 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4734 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4736 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4737 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4738 thesaurus is not compiled in
4740 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4742 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4744 2002-12-16 Angus Leeming <leeming@lyx.org>
4747 * lyx_main.C (init): remove override_x_deadkeys stuff.
4749 2002-12-12 John Levon <levon@movementarian.org>
4751 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4752 insert. Only remove shift modifier under strict
4755 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4757 * MenuBackend.C (expandToc): fix crash.
4759 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4761 * MenuBackend.C (expandToc): gettext on float names.
4763 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4765 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4766 implement bool empty() [bug 490]
4768 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4770 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4772 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4774 * several files: ws changes
4776 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4778 * text2.C (setCounter): clean up a bit, use boost.format.
4779 (updateCounters): initialize par upon declaration.
4781 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4782 if the layout exists. We do not just store the layout any more.
4783 (SwitchLayoutsBetweenClasses): use boost.format
4785 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4787 * converter.C (convert): if from and to files are the same, use a
4788 temporary files as intermediary
4790 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4793 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4795 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4797 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4799 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4801 * tabular.C (asciiPrintCell): use string(size, char) instead of
4804 * sgml.C (openTag): fix order of arguments to string constructor
4807 * lyxfunc.C (dispatch): use boost.format
4809 * lots of files: change "c" -> 'c'
4811 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4813 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4815 2002-11-25 Angus Leeming <leeming@lyx.org>
4817 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4819 * lyx_main.C (init): compile fix.
4821 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4823 * lyx_cb.C (start): boost.formatify
4824 do not include <iostream>
4826 * lengthcommon.C: ws only
4828 * boost-inst.C,BoostFormat.h: add more explict instantations
4830 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4832 * lots of files: handle USE_BOOST_FORMAT
4834 2002-11-21 John Levon <levon@movementarian.org>
4836 * pspell.C: fix compile
4838 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4840 * lyxfunc.C (dispatch): use boost::format
4844 * lyxfont.C (stateText): use boost::format
4846 * lyx_main.C (LyX): use boost::format
4848 (queryUserLyXDir): ditto
4851 (typedef boost::function): use the recommened syntax.
4853 * importer.C (Import): use boost::format
4855 * debug.C (showLevel): use boost::format
4857 * converter.C (view): use boost::format
4862 * bufferview_funcs.C (currentState): use boost::format
4864 * bufferlist.C (emergencyWrite): use boost::format
4866 * buffer.C (readLyXformat2): use boost::format
4867 (parseSingleLyXformat2Token): ditto
4869 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4871 * LaTeX.C (run): use boost::format
4873 * Chktex.C (scanLogFile): use boost::format
4875 * BufferView_pimpl.C (savePosition): use boost::format
4876 (restorePosition): ditto
4877 (MenuInsertLyXFile): ditto
4879 * BoostFormat.h: help file for explicit instation.
4881 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4883 * tabular.C (latex): Support for block alignment in fixed width
4886 2002-11-17 John Levon <levon@movementarian.org>
4888 * BufferView_pimpl.C:
4890 * lyxfunc.C: split filedialog into open/save
4892 2002-11-08 Juergen Vigna <jug@sad.it>
4894 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4895 by my last patch (hopefully).
4897 2002-11-08 John Levon <levon@movementarian.org>
4906 * toc.C: ParConstIterator, and use it (from Lars)
4908 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4910 * lyxtextclass.[Ch]: revise and add doxygen comments
4912 2002-11-07 John Levon <levon@movementarian.org>
4914 * text.C: fix progress value for spellchecker
4916 * toc.C: fix navigate menu for insetwrap inside minipage
4918 * paragraph_funcs.C: added FIXME for suspect code
4920 2002-11-07 John Levon <levon@movementarian.org>
4922 * BufferView_pimpl.C: fix redrawing of insets
4925 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4927 * text2.C (updateCounters): fix bug 668
4929 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4931 * text3.C (dispatch): Do not make the buffer dirty when moving the
4934 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4936 * vc-backend.C: STRCONV
4939 * text2.C (setCounter): STRCONV
4941 * paragraph.C (asString): STRCONV
4943 * lyxlength.C (asString): STRCONV
4944 (asLatexString): ditto
4946 * lyxgluelength.C (asString): STRCONV
4947 (asLatexString): ditto
4949 * lyxfunc.C (dispatch): STRCONV
4952 * lyxfont.C (stateText): STRCONV
4954 * importer.C (Import): STRCONV
4956 * counters.C (labelItem): STRCONV
4957 (numberLabel): ditto
4958 (numberLabel): remove unused ostringstream o
4963 * bufferview_funcs.C (currentState): STRCONV
4965 * buffer.C (readFile): STRCONV
4966 (asciiParagraph): ditto
4967 (makeLaTeXFile): ditto
4969 * Spacing.C (writeEnvirBegin): STRCONV
4971 * LaTeXFeatures.C (getLanguages): STRCONV
4972 (getPackages): ditto
4974 (getBabelOptions): ditto
4975 (getTClassPreamble): ditto
4976 (getLyXSGMLEntities): ditto
4977 (getIncludedFiles): ditto
4981 (scanAuxFile): ditto
4984 * LString.h: add the STRCONV macros
4986 * BufferView_pimpl.C (savePosition): STRCONV
4987 (restorePosition): ditto
4988 (MenuInsertLyXFile): ditto
4990 * vc-backend.C (scanMaster): change from submatch[...] to
4993 * funcrequest.C: include config.h
4995 * factory.C: include config.h
4997 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4999 * box.C: include config.h
5001 * LaTeX.C (scanAuxFile): change from submatch[...] to
5005 2002-10-25 Angus Leeming <leeming@lyx.org>
5007 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5009 * ispell.[Ch] (setError): new method.
5010 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5011 Use setError() insetead of goto END.
5013 * lyx_cb.C (AutoSave): move out child process into new class
5016 2002-10-30 John Levon <levon@movementarian.org>
5018 * text3.C: make start appendix undoable
5020 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5022 * lyxlength.C (inPixels): Fix returned value.
5024 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5027 2002-10-24 Angus Leeming <leeming@lyx.org>
5029 * lyxgluelength.h: no need to forward declare BufferParams
5030 or BufferView, so don't.
5032 2002-10-21 John Levon <levon@movementarian.org>
5034 * BufferView.C: menuUndo ->undo, redo
5036 * BufferView.h: document, remove dead, make some methods private
5038 * paragraph_funcs.h:
5039 * paragraph_funcs.C:
5040 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5045 * sgml.C: move sgml open/close tag into sgml.C
5047 * bufferview_funcs.h: unused prototype
5050 * lyxfunc.C: remove unused
5053 * text.C: remove unused
5055 2002-10-21 John Levon <levon@movementarian.org>
5059 * BufferView_pimpl.h:
5060 * BufferView_pimpl.C: fix mouse wheel handling based on
5061 patch from Darren Freeman
5063 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5065 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5067 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5069 * lyxlength.C (inPixels): Fix hanfling of negative length.
5070 Fix LyXLength::MU case.
5072 2002-10-16 John Levon <levon@movementarian.org>
5074 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5076 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5078 * converter.C (view): add support for $$i (file name) and $$p
5079 (file path) for the viewer command. If $$i is not specified, then
5080 it is appended to the command (for compatibility with old syntax)
5082 2002-10-14 Juergen Vigna <jug@sad.it>
5084 * undo_funcs.C (textHandleUndo): alter the order in which the
5085 new undopar is added to the LyXText, as we have to set first
5086 the right prev/next and then add it as otherwise the rebuild of
5087 LyXText is not correct. Also reset the cursor to the right paragraph,
5088 with this IMO we could remove the hack in "redoParagraphs()".
5090 2002-10-09 Angus Leeming <leeming@lyx.org>
5092 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5093 to turn off an optimisation if a new inset is to be inserted.
5095 2002-10-11 André Pönitz <poenitz@gmx.net>
5097 * lyxtext.h: make some functions public to allow access
5098 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5100 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5102 * text3.C (dispatch): when changing layout, avoid an infinite loop
5105 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5107 * lyxrc.C (read): treat a viewer or converter command of "none" as
5110 * MenuBackend.C (expandFormats): for an update, also allow the
5111 formats that are not viewable
5113 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5114 script if it is newer than the lyxrc.defaults in user directory
5116 2002-10-07 André Pönitz <poenitz@gmx.net>
5118 * text.C: Vitaly Lipatov's small i18n fix
5120 2002-09-25 Angus Leeming <leeming@lyx.org>
5122 * ispell.h: doxygen fix.
5124 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5126 * buffer.h (readFile): Add a new argument to the method, to allow
5127 reading of old-format templates.
5129 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5131 * toc.C (getTocList): Get TOC from InsetWrap.
5133 2002-09-16 John Levon <levon@movementarian.org>
5135 * lyxfunc.C: check tabular for cut/copy too
5137 2002-09-12 John Levon <levon@movementarian.org>
5142 * factory.C: add header
5144 * paragraph_funcs.h:
5145 * paragraph_funcs.C: cleanup
5147 2002-09-11 John Levon <levon@movementarian.org>
5149 * PrinterParams.h: odd/even default to true
5151 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5153 * PrinterParams.h: update printer parameters for new xforms dialog
5155 2002-09-11 Angus Leeming <leeming@lyx.org>
5157 * lyxserver.C (read_ready): re-write to make it more transparent
5158 and to make it work in coherent fashion under Tru64 Unix.
5160 2002-09-11 André Pönitz <poenitz@gmx.net>
5164 * text3.C: implement LFUN_WORDSEL
5166 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5168 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5169 make floatlist_ a boost::shared_ptr<FloatList>
5171 * lyxtextclass.C: include FloatList.h
5172 (LyXTextClass): initialize floatlist_
5173 (TextClassTags): add TC_NOFLOAT
5174 (Read): match "nofloat" to TC_NOFLOAT and use it.
5175 (readFloat): modify call to floatlist_
5179 * FloatList.[Ch] (FloatList): remove commented out float
5181 (erase): new function
5183 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5185 * MenuBackend.C (expandToc): fix crash when there is no document
5188 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5190 * many files: Add insetwrap.
5192 2002-09-09 John Levon <levon@movementarian.org>
5194 * text2.C: remove confusing and awkward depth wraparound
5196 2002-09-09 John Levon <levon@movementarian.org>
5198 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5201 * buffer.C: remove getIncludeonlyList()
5204 * lyxfunc.C: remove headers
5206 2002-09-09 Juergen Vigna <jug@sad.it>
5208 * text.C (getColumnNearX): fix form Michael this is most
5209 probably a cut&paste bug.
5211 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5213 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5215 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5216 references, ws changes.
5218 * text2.C (init): update counters after init
5219 (insertParagraph): no need to set counter on idividual paragraphs.
5220 (setCounter): access the counters object in the textclass object
5221 on in the buffer object.
5222 (updateCounters): ditto
5224 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5225 shared_ptr<Counters> to avoid loading counters.h in all
5227 (LyXTextClass): initialize ctrs_
5228 (TextClassTags): add TC_COUNTER, and ...
5229 (Read): use it here.
5230 (CounterTags): new tags
5231 (readCounter): new function
5232 (counters): new funtion
5233 (defaultLayoutName): return a const reference
5235 * counters.C (Counters): remove contructor
5236 (newCounter): remove a couple of unneeded statements.
5237 (newCounter): simplify a bit.
5238 (numberLabel): some small formatting changes.
5240 * buffer.[Ch]: remove all traces of counters, move the Counters
5241 object to the LyXTextClass.
5243 2002-09-06 Alain Castera <castera@in2p3.fr>
5245 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5246 package to set the horizontal alignment on fixed width columns.
5249 * lyx_sty.h: added tabularnewline macro def.
5251 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5253 2002-09-06 John Levon <levon@movementarian.org>
5255 * LyXAction.C: tooltips for sub/superscript
5257 * MenuBackend.C: a bit more verbose
5259 * lyxfunc.C: tiny clean
5261 * undo_funcs.C: document undo_frozen
5263 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5265 * counters.C (Counters): add missing algorithm counter.
5267 * text2.C (setCounter): lookup the counter with layouts latexname
5268 instead of by section number.
5269 (setCounter): use a hackish way to lookup the correct enum
5271 a float name->type change
5272 reset enum couners with counter name directly instead of depth value.
5274 * counters.C (Counters): remove the push_backs, change to use the
5275 float type not the float name.
5276 (labelItem): remove unused string, float name->type change
5278 * counters.h: don't include vector, loose the enums and sects vectors
5280 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5282 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5283 (Read): add float->TC_FLOAT to textclassTags
5284 (Read): and handle it in the switch
5285 (readFloat): new function
5287 * FloatList.C (FloatList): comment out the hardcoded float
5290 * lyxlayout.h: ws change.
5292 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5294 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5296 2002-09-03 Angus Leeming <leeming@lyx.org>
5298 * BufferView_pimpl.h: qualified name is not allowed in member
5299 declaration: WorkArea & Pimpl::workarea() const;
5301 * factory.C: added using std::endl directive.
5303 * text3.C: added using std::find and std::vector directives.
5305 2002-08-29 André Pönitz <poenitz@gmx.net>
5308 * text2.C: remove unused member number_of_rows
5311 * BufferView2.C: remove file, move contents to...
5312 * BufferView.C: ... here
5314 * BufferView_pimpl.C:
5315 * factory.C: move more inset creation to factory
5317 * vspace.C: avoid direct usage of LyXText, ws changes
5320 don't provide direct access to WorkArea, use two simple
5321 acessors haveSelction() and workHeight() instead
5324 2002-08-29 John Levon <levon@movementarian.org>
5326 * BufferView_pimpl.C (dispatch): do not continue when
5329 2002-08-28 André Pönitz <poenitz@gmx.net>
5331 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5334 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5336 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5338 * buffer.C: increment LYX_FORMAT to 221
5340 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5341 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5343 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5345 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5347 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5349 * factory.C (createInset): use LyXTextClass::floats
5351 * MenuBackend.C (expandFloatListInsert):
5352 (expandFloatInsert):
5355 * text2.C (setCounter):
5357 * LaTeXFeatures.C (useFloat):
5358 (getFloatDefinitions):
5360 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5362 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5363 floatlist_, with accessor floats().
5365 * FloatList.h: remove global FloatList
5367 2002-08-26 André Pönitz <poenitz@gmx.net>
5369 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5373 * BufferView_pimpl.C:
5374 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5376 2002-08-25 John Levon <levon@movementarian.org>
5378 * LyXAction.C: fix margin note description
5380 2002-08-24 John Levon <levon@movementarian.org>
5384 * bufferview_funcs.C:
5386 * undo_funcs.C: cleanups
5388 * lyxfunc.C: disable CUT/COPY when no selection
5390 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5392 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5393 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5395 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5396 Add backward compatibility to "mono", "gray" and "no".
5398 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5400 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5401 (and file_format >= 200).
5403 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5405 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5407 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5409 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5411 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5413 * BufferView_pimpl.C:
5420 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5421 inset and code to make it work with the paragraph code. The inset
5422 can be anywhere in the paragraph, but will only do the expected
5423 thing in LaTeX if the layout file contains the parameter line
5425 (or more generally, a nonzero value) for that layout.
5427 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5429 * paragraph.h: remove the declaration of undefined counters class
5432 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5434 * text2.C (setCounter): fixed enumeration mis-count as reported by
5435 Dr. Richard Hawkins.
5437 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5439 * paragraph_funcs.h: remove some unneeded includes
5441 * text.C (backspace): pasteParagraph now in global scipe
5443 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5444 (pasteSelection): ditto
5446 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5447 * paragraph_funcs.C (pasteParagraph): ... here
5449 2002-08-20 André Pönitz <poenitz@gmx.net>
5451 * commandtags.h: new LFUNs for swapping/copying table row/colums
5454 * lyxfunc.C: support for new lfuns
5456 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5459 * buffer.[Ch]: remove NO_COMPABILITY stuff
5461 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5463 * boost.C (throw_exception): new file, with helper function for
5464 boost compiled without exceptions.
5469 * ParameterStruct.h:
5470 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5472 * bufferlist.C (emergencyWriteAll): use boost bind
5474 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5476 * text.C: include paragraph_funcs.h
5477 (breakParagraph): breakParagraph is now in global scope
5479 * paragraph_funcs.[Ch]: new files
5481 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5484 * buffer.C: include paragraph_funcs.h
5485 (insertStringAsLines): breakParagraph is now in global scope
5487 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5490 * CutAndPaste.C: include paragraph_funcs.h
5491 (cutSelection): breakParagraphConservative is now in global scope
5492 (pasteSelection): ditto
5494 * buffer.h: declare oprator== and operator!= for
5495 Buffer::inset_iterator
5497 * bufferlist.C (emergencyWrite): don't use fmt(...)
5499 * text3.C: add using std::endl
5501 * BufferView.C (moveCursorUpdate): remove default arg
5503 2002-08-20 André Pönitz <poenitz@gmx.net>
5505 * buffer.[Ch]: move inline functions to .C
5508 * BufferView_pimpl.C:
5510 * buffer.[Ch]: use improved inset_iterator
5513 * paragraph.[Ch]: write one paragraph at a time
5515 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5517 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5518 style if style is not specified.
5520 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5522 * text2.C (setCounter): when searching for right label for a
5523 caption, make sure to recurse to parent insets (so that a caption
5524 in a minipage in a figure float works) (bug #568)
5526 2002-08-20 André Pönitz <poenitz@gmx.net>
5528 * text3.C: new file for LyXText::dispatch() and helpers
5530 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5532 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5534 2002-08-19 André Pönitz <poenitz@gmx.net>
5537 * text.C: new LyXText::dispatch()
5539 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5541 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5543 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5545 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5548 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5550 * Makefile.am: use $(variables) instead of @substitutions@
5552 2002-08-15 André Pönitz <poenitz@gmx.net>
5555 * BufferView_pimpl.C: streamlining mathed <-> outer world
5559 * LyXAction.C: remove unused LFUN_MATH
5561 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5563 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5565 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5567 * paragraph.C (Paragraph): reformat a bit
5568 (cutIntoMinibuffer): use builtin InsetList function instad of
5572 * buffer.C: include boost/bind.hpp, add using std::for_each
5573 (writeFileAscii): use ParagraphList iterators
5574 (validate): use for_each for validate traversal of paragraphs
5575 (getBibkeyList): use ParagraphList iterators
5576 (resizeInsets): use for_each to resizeInsetsLyXText for all
5578 (getParFromID): use ParagraphList iterators
5580 * BufferView2.C (lockInset): use paragraph list and iterators
5582 2002-08-14 John Levon <levon@movementarian.org>
5584 * lyxserver.C: remove spurious xforms include
5586 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5588 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5590 2002-08-13 André Pönitz <poenitz@gmx.net>
5593 * lyxfunc.C: further cleaning
5595 2002-08-13 André Pönitz <poenitz@gmx.net>
5597 * funcrequest.h: new constructor
5599 * funcrequest.C: move stuff here from .h
5602 * BufferView_pimpl.C:
5605 * lyxfunc.C: subsequent changes
5607 * lyxfunc.h: new view() member function
5609 * lyxfunc.C: subsequent changes
5611 2002-08-13 Angus Leeming <leeming@lyx.org>
5614 * BufferView_pimpl.C:
5622 changes due to the changed LyXView interface that now returns references
5623 to member variables not pointers.
5625 2002-08-13 Angus Leeming <leeming@lyx.org>
5627 * WordLangTuple (word, lang_code): return references to strings,
5632 * lyxtext.h: forward-declare WordLangTuple.
5637 * text.C: #include "WordLangTuple.h".
5640 * text.C: (selectNextWordToSpellcheck): constify return type.
5642 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5648 * paragraph_pimpl.h:
5651 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5653 Made updateCounter always count from start of buffer, and removed
5654 second argument (par).
5655 Reverted floats number display to '#'. Perhaps I'll try again when the
5656 code base is sanitized a bit.
5658 2002-08-12 Angus Leeming <leeming@lyx.org>
5660 * buffer.[Ch] (getLabelList): constify.
5662 2002-08-07 André Pönitz <poenitz@gmx.net>
5664 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5666 * funcrequest.h: extension to keep mouse (x,y) position
5668 2002-08-12 Juergen Vigna <jug@sad.it>
5670 * BufferView2.C (insertErrors): forbid undo when inserting error
5673 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5675 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5677 * ParagraphList.[Ch]: new files
5679 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5681 * BufferView2.C (lockInset): ParagraphList changes
5684 * bufferlist.C: ditto
5688 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5690 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5691 unused class variable counter_,
5693 * paragraph.[Ch] (getFirstCounter): delete unused function
5695 * counters.C: include LAssert.h
5696 (reset): add a new function with no arg, change other version to
5697 not have def. arg and to not allow empty arg.
5699 * text2.C (setCounter): remove empty arg from call to Counters::reset
5701 2002-08-11 John Levon <levon@movementarian.org>
5703 * Makefile.am: add WordLangTuple.h
5705 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5707 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5708 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5710 * insets/insettext.C: InsetList changes
5712 * graphics/GraphicsSupport.C (operator()): InsetList changes
5714 * toc.C (getTocList): InsetList changes
5716 * paragraph_pimpl.[Ch]: InsetList changes
5718 * paragraph.[Ch]: InsetList changes
5720 * buffer.C (inset_iterator): InsetList changes
5721 (setParagraph): ditto
5722 * buffer.h (inset_iterator): ditto
5723 * iterators.C (operator++): ditto
5724 * iterators.h: ditto
5726 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5728 * InsetList.[Ch]: new files, most InsetList handling moved out of
5731 * BufferView2.C (removeAutoInsets): InsetList changes
5733 (ChangeInsets): ditto
5735 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5737 * paragraph_pimpl.h (empty): new function
5739 * paragraph.[Ch] (empty): new function
5741 * other files: use the new Paragraph::empty function
5743 2002-08-09 John Levon <levon@movementarian.org>
5745 * lyxtext.h: remove unused refresh_height
5747 2002-08-09 John Levon <levon@movementarian.org>
5754 * paragraph.C: move sgml char escaping out of paragraph
5757 * paragraph.C: remove id setter
5761 * paragraph_pimpl.C: remove dead tex_code_break_column
5763 * bufferview_funcs.C: small cleanup
5765 * lyxfunc.C: remove dead proto
5767 * lyxtext.h: make some stuff private. Remove some dead stuff.
5769 * lyxgluelength.C: make as[LyX]String() readable
5771 2002-08-08 John Levon <levon@movementarian.org>
5776 * ToolbarDefaults.C:
5779 * toc.C: lyxaction cleanup
5781 2002-08-08 John Levon <levon@movementarian.org>
5783 * BufferView2.C: small cleanup
5786 * lyxfind.C: move unnecessary header into the .C
5788 2002-08-08 John Levon <levon@movementarian.org>
5790 * funcrequest.h: just tedious nonsense
5793 * lyx_main.C: cleanups
5796 * vspace.C: remove dead header lyx_main.h
5798 2002-08-07 Angus Leeming <leeming@lyx.org>
5801 * paragraph_pimpl.h:
5802 Forward declare class Counters in paragraph.h by moving the ctrs member
5803 variable into Paragraph::Pimpl.
5804 (counters): new method, returning a reference to pimpl_->ctrs.
5806 * text2.C: ensuing changes.
5808 2002-08-07 John Levon <levon@movementarian.org>
5810 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5812 * BufferView_pimpl.C: announce X selection on double/triple
5815 * lyx_main.C: use correct bool in batch dispatch
5817 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5819 2002-08-07 André Pönitz <poenitz@gmx.net>
5821 * funcrequest.h: new class to wrap a kb_action and its argument
5824 * BufferView_pimpl[Ch]:
5828 * lyxrc.C: subsequent changes
5831 2002-08-07 John Levon <levon@movementarian.org>
5833 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5834 document options change.
5836 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5841 * makefile.am: move counters functionality over from
5842 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5844 2002-08-06 John Levon <levon@movementarian.org>
5846 * WordLangTuple.h: new file for word + language code tuple
5857 * BufferView2.C: use WordLangTuple
5860 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5862 2002-08-06 John Levon <levon@movementarian.org>
5864 * lyx_main.C: fix cmdline batch handling
5866 2002-08-06 André Pönitz <poenitz@gmx.net>
5868 * lyxrc.C: set default for show_banner to true
5870 2002-08-06 John Levon <levon@movementarian.org>
5872 * pspell.C: fix a crash, and allow new aspell to work
5874 2002-08-06 John Levon <levon@movementarian.org>
5877 * kbmap.C: small cleanup
5880 * vspace.C: add const
5882 2002-08-05 John Levon <levon@movementarian.org>
5884 * LyXAction.C: back to tabular-insert
5886 2002-08-04 John Levon <levon@movementarian.org>
5889 * BufferView.C: cosmetic change
5891 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5901 * BufferView2.C: purge all "Lyx" not "LyX" strings
5904 * lyxcursor.C: attempt to add some documentation
5909 * ToolbarDefaults.C:
5910 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5911 merge with LFUN_TABULAR_INSERT
5918 * pspell.C: split up i/pspell implementations into separate
5919 files, many cleanups
5921 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5923 * text2.C: some cleanup
5925 * lyxfunc.C: don't check for isp_command == "none" any more, it
5926 didn't make any sense
5928 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5933 * makefile.am: move counters functionality over
5934 from text2.C/paragraph.[Ch] to counters.[Ch], and
5936 2002-08-02 John Levon <levon@movementarian.org>
5938 * buffer.C: s/lyxconvert/lyx2lyx/
5940 2002-08-02 Angus Leeming <leeming@lyx.org>
5942 * lyxlex.C: revert John's change as it breaks reading of the user
5945 2002-08-02 Angus Leeming <leeming@lyx.org>
5947 * importer.C (Import):
5948 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5949 changes due to LyXView::view() now returning a boost::shared_ptr.
5951 2002-08-02 John Levon <levon@movementarian.org>
5953 * lyxlex.C: small cleanup
5955 2002-08-02 John Levon <levon@movementarian.org>
5957 * text2.C (status): small cleanup, no logic change
5959 2002-08-01 John Levon <levon@movementarian.org>
5962 * buffer.C (writeFile): don't output alerts, caller
5966 * lyx_cb.C: from above
5968 * lyxfunc.C: allow to open non-existent files
5970 2002-07-31 John Levon <levon@movementarian.org>
5972 * lyxserver.C: don't let incidental errors get
5975 2002-07-30 John Levon <levon@movementarian.org>
5977 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5979 2002-07-30 John Levon <levon@movementarian.org>
5982 * lyxserver.C: remove I/O callback too
5984 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5986 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5989 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5991 * many files: strip,frontStrip -> trim,ltrim,rtrim
5993 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5995 * PrinterParams.h: remove extern containsOnly, and include
5996 support/lstrings.h instead.
5998 * LaTeX.C (scanAuxFile): modify because of strip changes
6000 * buffer.C (makeLaTeXFile): ditto
6001 * bufferparams.C (writeFile): ditt
6002 * lyxfont.C (stateText): ditto
6003 * lyxserver.C (read_ready): ditto
6004 * vc-backend.C (scanMaster): ditto
6006 * BufferView_pimpl.h: ws changes
6008 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6010 2002-07-26 André Pönitz <poenitz@gmx.net>
6012 * kb_sequence.C: remove unnedred usings
6014 2002-07-26 Juergen Vigna <jug@sad.it>
6016 * lyxfind.C (LyXReplace): we have to check better if the returned
6017 text is not of theLockingInset()->getLockingInset().
6019 2002-07-25 Juergen Vigna <jug@sad.it>
6021 * lyxfind.C (LyXReplace): don't replace if we don't get the
6024 * undo_funcs.C (createUndo): remove debugging code.
6026 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6028 * buffer.C (parseSingleLyXformat2Token): Use default placement
6029 when reading old floats.
6031 * FloatList.C (FloatList): Change the default placement of figure
6032 and tables to "tbp".
6034 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6036 * MenuBackend.C: using std::max
6038 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6040 * MenuBackend.C (expandToc):
6041 (expandToc2): code moved from xforms menu frontend. It is now
6042 generic and TOCs are transparent to menu frontends.
6044 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6046 * toc.C (getTocList): protect against buf=0
6048 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6049 Menu as first parameter. Now, this calls itself recursively to
6050 expand a whole tree (this will be useful for TOC handling)
6051 (expandFloatInsert): remove 'wide' version of floats
6053 * MenuBackend.h (submenuname): returns the name of the submenu.
6054 (submenu): returns the submenu itself, provided it has been
6055 created by MenuBackend::expand
6057 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6059 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6060 insets which have noFontChange == true. (bug #172)
6062 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6064 * BufferView_pimpl.C: add connection objects and use them...
6067 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6069 * MenuBackend.C (expandLastfiles):
6072 (expandFloatListInsert):
6073 (expandFloatInsert):
6074 (expand): split expand in parts
6076 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6078 * lyx_gui.C: use lyx_gui::exit()
6080 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6082 * LyXAction.C: show the failing pseudo action
6084 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6086 * buffer.C (readFile): Run the lyxconvert script in order to read
6089 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6093 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6095 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6099 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6101 2002-07-22 Herbert Voss <voss@lyx.org>
6104 * lyxlength.[Ch]: add support for the vertical lengths
6106 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6108 * toc.[Ch]: std:: fixes
6110 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6112 * lyxrc.C: do not include lyx_main.h
6114 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6120 * BufferView2.C: include "lyxlex.h"
6123 * bufferparams.h: do not #include "lyxlex.h"
6125 * lyxtextclasslist.C (Add): remove method
6126 (classlist): renamed to classlist_
6128 * paragraph_pimpl.C:
6132 * bufferview_funcs.C:
6137 * toc.C (getTocList): use BufferParams::getLyXTextClass
6139 * toc.C (getTocList): use InsetFloat::addToToc
6141 * toc.[Ch]: new files, containing helper functions to handle table
6144 * lyxfunc.C (dispatch): no need to remove spaces around command
6146 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6147 first command of the sequence; it is not very clever, but I do not
6148 have a better idea, actually
6150 * LyXAction.C (LookupFunc): make sure to remove space at the
6151 beginning and end of the command
6153 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6155 * MenuBackend.C (getMenubar): new method: return the menubar of
6157 (read): treat differently reading of menu and menubar (in
6158 particular, the menubar has no name now)
6159 (Menu::menubar): remove
6161 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6164 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6166 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6167 a bibitem inset in a RTL paragraph.
6169 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6171 * paragraph_pimpl.C: constify
6173 * BufferView_pimpl.C:
6175 * lyxfunc.C: fix dispatch in a nicer way
6177 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6179 * lyxfunc.C (dispatch):
6180 * BufferView_pimpl.C:
6181 * BufferView_pimpl.h:
6183 * BufferView.h: rename Dispatch() to dispatch()
6185 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6187 * lyxlayout.C (Read): honor DependsOn tag
6189 * lyxlayout.[Ch] (depends_on): new method
6191 * version.C.in: update lyx_docversion
6193 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6195 * paragraph.C (validate): remove from here...
6196 * paragraph_pimpl.C (validate): ... and move here
6197 (isTextAt): make it const
6199 * buffer.C (getLists): ws cleanup
6201 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6203 * language.C (read): Use iso8859-1 encoding in latex_lang
6204 (this prevents LyX from crashing when using iso10646-1 encoding).
6206 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6208 * text2.C (toggleInset): if cursor is inside an inset, close the
6209 inset and leave cursor _after_ it
6211 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6213 * lyxfunc.C: move minibuffer completion handling out of here
6215 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6217 * BufferView_pimpl.C:
6218 * LaTeX.C: fix dispatch calls
6220 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6222 * text.C (drawChars): Fix Arabic text rendering.
6224 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6228 * lyxfunc.C: remove message-push/pop
6232 * lyxfunc.C: rationalise some code by removing verboseDispatch
6233 in favour of a bool argument to dispatch()
6235 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6237 * lyx_main.C (init): make sure to read symlinks as absolute paths
6239 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6242 * lyxfunc.C: no need for commandshortcut to be a member
6244 2002-07-15 André Pönitz <poenitz@gmx.net>
6246 * converter.C: add support for $$s (scripts from lib/scripts dir)
6247 * lyx_main.C: white space
6249 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6253 * lyxrc.C: remove second exit confirmation
6255 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6260 * BufferView_pimpl.h:
6261 * BufferView_pimpl.C:
6262 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6264 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6266 * MenuBackend.C (expand): add numeric shortcuts to document menu
6268 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6270 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6272 * lyxfont.C (setLyXFamily):
6279 * buffer.C (asciiParagraph): use ascii_lowercase
6281 2002-07-15 Mike Fabian <mfabian@suse.de>
6283 * lyxlex_pimpl.C (search_kw):
6284 * lyxlex.C (getLongString):
6285 * converter.h (operator<):
6286 * converter.C (operator<):
6287 * buffer.C (parseSingleLyXformat2Token):
6289 * ToolbarDefaults.C (read):
6290 * MenuBackend.C (checkShortcuts):
6292 * LColor.C (getFromGUIName):
6293 (getFromLyXName): use the compare_ascii_no_case instead of
6294 compare_no_case, because in turkish, 'i' is not the lowercase
6295 version of 'I', and thus turkish locale breaks parsing of tags.
6297 2002-07-16 Angus Leeming <leeming@lyx.org>
6299 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6300 now takes a Buffer const & argument.
6302 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6304 * BufferView.C (resize): check there's a buffer to resize
6306 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6308 * lyxfunc.C: remove dead code
6311 * lyxserver.C: use lyx_guii::set_read_callback
6313 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6315 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6316 an inset in a RTL paragraph.
6318 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6320 * lyxfunc.C: repaint after a font size update
6322 2002-07-15 André Pönitz <poenitz@gmx.net>
6324 * lyxlength.C: inBP should be able to return negative values
6326 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6328 * lyxfunc.C: use lyx_gui::update_fonts()
6330 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6332 * lyxfunc.C: use lyx_gui::update_color()
6334 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6340 * lyxrc.C: remove file->new asks for name option, and let
6341 buffer-new take an argument
6343 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6345 * BufferView_pimpl.C: remove unneeded extra repaint()
6347 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6349 * LyXAction.C: allow command-sequence with NoBuffer
6351 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6353 2002-07-10 Angus Leeming <leeming@lyx.org>
6355 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6357 2002-07-09 Angus Leeming <leeming@lyx.org>
6359 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6361 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6363 * lengthcommon.h: whitespace
6365 * lyxfunc.C: update scrollbar after goto paragraph
6367 * lyxtext.h: factor out page break drawing, and fix it so
6368 page break/added space paints as selected nicely
6370 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6372 * BufferView_pimpl.C: add FIXMEs, clean up a little
6374 2002-07-09 André Pönitz <poenitz@gmx.net>
6376 * lyxfont.[Ch]: support for wasy symbols
6378 2002-07-08 André Pönitz <poenitz@gmx.net>
6380 * BufferView_pimpl.C: apply John's patch for #93.
6382 2002-07-05 Angus Leeming <leeming@lyx.org>
6384 * BufferView_pimpl.C (buffer): generate previews if desired.
6386 * LColor.h: add "preview" to the color enum.
6388 * LColor.C (LColor): add a corresponding entry to the items array.
6390 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6393 2002-07-05 Angus Leeming <leeming@lyx.org>
6395 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6396 The body of the code is now in the method that is passed an ostream &
6397 rather than a file name.
6398 Pass an additional only_preamble parameter, useful for the forthcoming
6401 2002-07-03 André Pönitz <poenitz@gmx.net>
6403 * lyxfunc.C: simplify getStatus() a bit for math stuff
6405 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6407 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6409 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6411 * text.C (changeRegionCase): do not change case of all the
6412 document when region ends at paragraph end (bug #461)
6414 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6416 * paragraph.C (startTeXParParams):
6417 (endTeXParParams): add \protect when necessary
6419 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6421 * BufferView_pimpl.C (workAreaExpose): remove warning
6423 2002-06-27 Angus Leeming <leeming@lyx.org>
6425 * Makefile.am: add lyxlayout_ptr_fwd.h.
6427 2002-06-26 André Pönitz <poenitz@gmx.net>
6429 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6431 2002-06-25 Angus Leeming <leeming@lyx.org>
6433 * lyxfunc.C (dispatch): Comment out the call to
6434 grfx::GCache::changeDisplay. The method no longer exists now that the
6435 pixmap generation part of the graphics loader has been moved into
6438 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6440 * text2.C: layout as layout
6442 * text.C: layout as layout
6444 * tabular.C (OldFormatRead): layout as layout
6446 * paragraph_pimpl.C (TeXDeeper): layout as layout
6447 (realizeFont): layout as layout
6449 * paragraph.C (writeFile): layout as layout
6450 (validate): layout as layout
6451 (getFont): layout as layout
6452 (getLabelFont): layout as layout
6453 (getLayoutFont): layout as layout
6454 (breakParagraph): layout as layout
6455 (stripLeadingSpaces): layout as layout
6456 (getEndLabel): layout as layout
6457 (getMaxDepthAfter): layout as layout
6458 (applyLayout): layout as layout
6459 (TeXOnePar): layout as layout
6460 (simpleTeXOnePar): layout as layout
6461 (TeXEnvironment): layout as layout
6462 (layout): layout as layout
6463 (layout): layout as layout
6465 * lyxtextclass.C (compare_name): new functor to work with
6466 shared_ptr, layout as layout
6467 (Read): layout as layout
6468 (hasLayout): layout as layout
6469 (operator): layout as layout
6470 (delete_layout): layout as layout
6471 (defaultLayout): layout as layout
6473 * lyxlayout_ptr_fwd.h: new file
6475 * lyxlayout.C (Read): layout as layout
6477 * lyx_cb.C (MenuInsertLabel): layout as layout
6479 * bufferlist.C (newFile): layout as layout
6481 * buffer.C (readLyXformat2): layout as layout
6482 (parseSingleLyXformat2Token): layout as layout
6483 (insertStringAsLines): layout as layout
6484 (asciiParagraph): layout as layout
6485 (latexParagraphs): layout as layout
6486 (makeLinuxDocFile): layout as layout
6487 (simpleLinuxDocOnePar): layout as layout
6488 (makeDocBookFile): layout as layout
6489 (simpleDocBookOnePar): layout as layout
6490 (getLists): layout as layout
6492 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6494 * CutAndPaste.C (cutSelection): layout as layout
6495 (pasteSelection): layout as layout
6496 (SwitchLayoutsBetweenClasses): layout as layout
6498 * BufferView_pimpl.C (Dispatch): layout as layout
6499 (smartQuote): layout as layout
6501 * BufferView2.C (unlockInset): layout as layout
6503 2002-06-24 André Pönitz <poenitz@gmx.net>
6505 * lyxfunc.C: fix #487
6507 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6511 * lyxfunc.C: remove display_shortcuts, show_banner
6513 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6515 * Buffer_pimpl.C: oops, update on resize
6517 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6524 * BufferView.C: use repaint()
6526 * BufferView_pimpl.h:
6527 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6528 as it's a clearer description. Remove superfluous
6531 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6533 * text.C: fix bug 488. Not ideal, but getting
6534 getWord() to work properly for the insets that
6535 matter is more difficult ...
6537 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6539 * BufferView_pimpl.C:
6542 * lyxfunc.C: remove the six million index lyxfuncs to just
6543 one, and DTRT (bug 458)
6545 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6549 * BufferView_pimpl.h:
6550 * BufferView_pimpl.C: clean up resize() stuff,
6551 and unnecessary updateScreen()s
6553 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6557 * BufferView_pimpl.h:
6558 * BufferView_pimpl.C:
6561 * minibuffer.C: remove focus management of workarea,
6562 not needed. Use screen's greyOut()
6564 2002-06-17 Herbert Voss <voss@lyx.org>
6566 * converter.C: (convert) do not post a message, when converting
6567 fails, let the calling function decide what to do in this case
6569 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6571 * lyxfunc.C: tidy up a little
6573 2002-06-16 <alstrup@diku.dk>
6575 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6576 Got rid of FORMS_H_LOCATION include. Now we are
6579 2002-06-15 LyX Development team <lyx@rilke>
6581 * buffer.[Ch] (sgmlOpenTag):
6582 (sgmlCloseTag): Added support for avoiding pernicious mixed
6583 content. Return number of lines written.
6586 (makeDocBookFile): Fixed calls to sgml*Tag.
6587 Simple white space clean.
6589 (simpleDocBookOnePar): Simple white space clean.
6591 * tabular.[Ch] (docBook): Renamed to docbook and got another
6592 argument to related with the pernicious mixed content.
6594 (docbookRow): Fixed calls for docbook inset method.
6596 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6598 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6599 so it's X11 independent.
6603 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6605 2002-06-15 Lyx Development team <lyx@electronia>
6607 * intl.h: Renamed getTrans to getTransManager.
6609 2002-06-14 Angus Leeming <leeming@lyx.org>
6611 * Makefile.am: nuke forgotten stl_string_fwd.h.
6613 2002-06-12 Angus Leeming <leeming@lyx.org>
6615 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6617 2002-06-13 Angus Leeming <leeming@lyx.org>
6620 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6622 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6624 * kbmap.C (getiso): add support for cyrillic and greek
6626 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6630 * BufferView_pimpl.h:
6631 * BufferView_pimpl.C: move bogus scrolling logic
6634 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6637 * BufferView_pimpl.C: view->resize() change
6639 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6641 * BufferView_pimpl.C: topCursorVisible
6644 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6648 * lyx_gui.C: move to frontends/
6652 * lyx_main.C: changes from above
6654 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6661 * lyx_main.C: minor tidy
6663 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6665 * BufferView_pimpl.h:
6666 * BufferView_pimpl.C:
6668 * BufferView.C: make painter() const,
6671 * BufferView2.C: use screen() accessor
6674 * lyx_main.C: some minor cleanup
6676 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6678 * BufferView_pimpl.h:
6679 * BufferView_pimpl.C: remove enter/leaveView,
6682 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6687 * BufferView_pimpl.h:
6688 * BufferView_pimpl.C: only construct screen once,
6691 * lyxrc.C: remove pointless comment
6693 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6696 * BufferView.C: remove active() and belowMouse()
6698 * BufferView_pimpl.h:
6699 * BufferView_pimpl.C: use workarea() not workarea_,
6700 and make it use a scoped_ptr instead
6702 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6704 * lyx_gui.C: add debug message on BadWindow
6706 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6708 * sp_spell.C: fdopen is not part of the C++ standard.
6710 * paragraph.C (InsetIterator): use >= instead of ==
6712 2002-06-07 Angus Leeming <leeming@lyx.org>
6714 Fixes needed to compile with Compaq cxx 6.5.
6715 * BufferView_pimpl.C:
6722 * lyxtextclasslist.C:
6727 all c-library variables have been moved into namespace std. Wrap
6728 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6733 Add a using std::abs declaration.
6735 * kbmap.h (modifier_pair):
6736 * paragraph.h (InsetTable, InsetList):
6737 * lyxfont.h (FontBits):
6738 type definition made public.
6740 * bufferlist.C (emergencyWriteAll): the compiler complains that
6741 there is more than one possible lyx::class_fun template to choose from.
6742 I re-named the void specialisation as lyx::void_class_fun.
6744 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6746 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6747 the compiler is is unable to find tostr in write_attribute.
6749 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6751 * buffer.C (sgmlError): hide #warning
6753 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6755 * xtl/*: get rid of xtl, which is not in use anyway
6757 * LyXAction.C (init):
6758 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6759 were unimplemented xtl experimentation
6761 2002-06-04 André Pönitz <poenitz@gmx.net>
6763 * lyxfunc.C: disable array operation on simple formulae
6765 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6767 * converter.C: constify a bit
6769 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6771 * lyx_gui.C: check xforms version correctly
6773 2002-04-30 Herbert Voss <voss@lyx.org>
6775 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6778 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6780 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6781 attempt to register it with a VCS)
6783 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6785 * lyx_main.C (init): honor variables LYX_DIR_13x and
6788 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6792 * lyx_main.C: fix a crash on bad command line,
6793 and give a useful exit status on error
6795 * lyxfunc.C (doImport): allow -i lyx to work
6797 2002-03-30 André Pönitz <poenitz@gmx.net>
6799 * lyxfunc.C: mathed font changes
6801 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6816 * trans_mgr.h: srcdocs, and some minor cleanups
6818 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6820 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6821 call getFont all the time)
6823 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6825 * switch from SigC signals to boost::signals
6827 2002-05-29 André Pönitz <poenitz@gmx.net>
6829 * paragraph_pimpl.C (getChar): don't call size() too often...
6831 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6833 * paragraph_pimpl.C (insertChar): do not try to update tables when
6834 appending (pos == size())
6836 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6837 in order to reduce drastically the number of comparisons needed to
6838 parse a large document
6840 2002-05-29 André Pönitz <poenitz@gmx.net>
6846 * textclasslist.[Ch]:
6847 * sp_ispell.h: whitespace change
6849 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6851 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6852 lyxaction directly now.
6854 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6858 * lyxvc.C: remove unused headers
6860 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6867 * undo_funcs.C: some cleanups. Use shared_ptr
6868 and a template for the undo stacks.
6870 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6872 * BufferView_pimpl.h:
6873 * BufferView_pimpl.C:
6880 * text2.C: use key_state/mouse_state
6882 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6884 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6887 * chset.C: change include order
6888 (loadFile): use boost regex and get rid of LRegex and LSubstring
6890 * Makefile.am (BOOST_LIBS): new variable
6893 * LaTeX.C: change include order.
6894 (scanAuxFile): use boost regex and get rid of LRegex and
6898 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6903 * FontInfo.C: moved to frontends/xforms/
6906 * FontLoader.C: moved into frontends for GUIIzation
6911 * lyxfunc.C: changes from above
6913 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6915 * LColor.C: remove spurious X include
6917 * BufferView_pimpl.C:
6922 * text2.C: move font metrics to frontends/
6924 2002-05-24 Juergen Vigna <jug@sad.it>
6926 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6927 setting the undo_cursor.
6929 * ParagraphParameters.h: include local includes first.
6931 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6933 * BufferView_pimpl.C:
6934 * BufferView_pimpl.h:
6938 * screen.C: move WorkArea into frontends/
6944 * BufferView2.C: move LyXScreen into frontends/
6948 * lyx_gui.C: move lyxlookup into frontends/xforms/
6950 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6953 * BufferView_pimpl.C:
6963 * bufferview_funcs.C:
6976 * vc-backend.C: move LyX/XFormsView into frontends/
6978 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6990 * text2.C: move Painter to frontends/
6992 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6994 * buffer.C: comment out some some code that depend upon lyx_format
6997 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6998 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7000 * buffer.h (NO_COMPABILITY): turn off compability
7002 * ColorHandler.C: include scoped_array.hpp
7004 * font.C: Use more specific smart_ptr header.
7007 * ShareContainer.h: ditto
7011 * BufferView_pimpl.h: ditto
7012 * ColorHandler.h: ditto
7014 * kbmap.C (defkey): change call to shared_ptr::reset
7016 2002-05-21 Juergen Vigna <jug@sad.it>
7018 * buffer.C (insertErtContents): fix to insert ert asis if it is
7019 non empty. Skip it completely if it contains only whitespaces.
7021 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7023 * BufferView_pimpl.C:
7024 * BufferView2.C: clear selection on paste (bug 393)
7026 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7028 * DepTable.C: include ctime
7030 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7032 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7034 2002-05-14 Juergen Vigna <jug@sad.it>
7036 * text.C (breakParagraph): fixed function to honor the keepempty
7037 layout in the right maner and also to permit the right breaking
7038 algorithm on empty or non empyt keepempty paragraphs.
7040 * paragraph.C (breakParagraph): we have to check also if the par
7041 is really empty (!size()) for isempty otherwise we do the wrong
7044 2002-05-10 Juergen Vigna <jug@sad.it>
7046 * buffer.[Ch] : The following are only changes to the ert
7047 compatibility read reading old LaTeX layout and font stuff and
7048 convert it to ERTInsets.
7050 * buffer.h: added isErtInset().
7052 * buffer.C (struct ErtComp): add a fromlayout bool to check
7053 if we're inside a LaTeX layout.
7054 (isErtInset): new helper function.
7055 (insertErtContents): look for other ert insets before this one
7056 and insert the contents there, so that we don't have subsequent
7057 ERT insets with nothing between them. This way we create only one
7058 inset with multiple paragraphs. Also check if we don't insert only
7059 spaces ' ' as they are ignored anyway afterwards in the .tex file
7060 so if we have only spaces we will ignore this latex part in the
7062 (parseSingleLyXformat2Token \\layout): better compatibility when
7063 reading layout-latex stuff.
7064 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7066 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7067 stuff after reading the inset only get the information back from
7070 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7072 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7074 * LaTeXFeatures.C (getBabelOptions): New method.
7076 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7078 * BufferView_pimpl.C (Dispatch): work around missing argument for
7081 2002-05-08 Juergen Vigna <jug@sad.it>
7083 * text.C (leftMargin): handle paragraph leftindent.
7085 * paragraph.C (writeFile): write the new \\leftindent tag.
7086 (validate): handle leftindent code.
7087 (TeXEnvironment): handle paragraphleftindent code again.
7089 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7091 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7092 for paragrap_extra indent code and new token \\leftindent.
7093 (latexParagraphs): handle the leftindent as environment.
7095 * ParameterStruct.h: added leftindent support.
7097 * ParagraphParameters.C (leftIndent): added support functions for
7098 the paragraph left indent.
7100 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7103 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7105 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7108 * text.C (computeBidiTables): No bidi in insetERT.
7110 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7113 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7115 * version.C.in: pre 5
7117 2002-05-02 José Matos <jamatos@fep.up.pt>
7118 * buffer.C (makeDocBookFile): white space changes, add newline to
7120 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7122 * tabular.C (docBook): fix typo.
7124 2002-05-03 Juergen Vigna <jug@sad.it>
7126 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7127 change in LyXText as we can not be sure it was not freed.
7128 (drawOneRow): remove unused code.
7130 * text.C (drawInset): redo the calculation of the need_break_row as
7131 it could have a row which was already freed.
7132 (draw): look at the return value of drawInset and return false if
7133 it also returned false.
7134 (paintRowText): look at the return value of draw and return false if
7135 it also returned false.
7137 * lyxtext.h: added bool return type to drawInset() and draw() so that
7138 if we have a change in the row so that the rowbreak has to be redone
7139 we abort drawing as it will be called again.
7141 2002-05-02 Juergen Vigna <jug@sad.it>
7143 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7144 a change in the maintext also if we're inside an inset.
7145 (Dispatch): set the cursor again after a break line and after the
7146 screen has been updated as it could be we're in a different row.
7148 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7149 to set the cursor behind the pargraph with > size().
7150 (setCursor): check also for the same paragraph when checking where
7151 to put the cursor if we have a NFR inset.
7153 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7154 parts of layout read further up as it still was in the wrong
7157 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7159 * screen.C (drawFromTo): change sine fullRebreak always return
7162 * buffer.C (parseSingleLyXformat2Token): reindent some
7164 * BufferView_pimpl.C (update): change since fullRebreak always
7166 (Dispatch): git rid of the last hardcoded "Standard"s.
7168 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7170 * text2.[Ch] (fullRebreak): make it return void now that we always
7173 2002-04-30 Juergen Vigna <jug@sad.it>
7175 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7176 ert compatibility check for "latex" layout.
7178 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7180 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7181 minipages: use col% instead of p%, and also use the current font.
7182 (makeLaTeXFile): Fix use babel condition.
7183 (parseSingleLyXformat2Token): Correct font when reading old floats.
7185 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7187 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7188 inserting list of floats.
7190 2002-04-25 Herbert Voss <voss@lyx.org>
7192 * MenuBackend.C (expand): don't add the graphics extensions to the
7195 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7197 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7198 non-existing layout, do not complain if it was the default layout
7199 of the original class (bug #342)
7201 2002-04-24 Juergen Vigna <jug@sad.it>
7203 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7204 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7206 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7208 * buffer.C (getBibkeyList): If using \bibliography, return the
7209 option field with the reference itself. Enables us to provide natbib
7210 support when using \bibliography.
7212 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7214 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7216 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7217 natbib is provided by the LaTeX class.
7219 2002-04-23 Juergen Vigna <jug@sad.it>
7221 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7224 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7226 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7228 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7230 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7231 ensuremath around textordmasculine, textordfeminine and
7234 2002-04-19 Juergen Vigna <jug@sad.it>
7236 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7237 reinitializing the buffer otherwise row-dimensions may be wrong.
7238 (update): reset also the selection cursors if they do exits otherwise
7239 their x/y positions may be wrong.
7241 * text2.C (cursorDown): don't enter the inset if we came from a row
7242 above and are one row over the inset.
7244 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7245 really leaving an inset.
7247 2002-04-18 Juergen Vigna <jug@sad.it>
7249 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7250 of the selected paragraph does not have the selected layout also if
7253 * text2.C (setLayout): fixed bug which did not change last selected
7256 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7257 changed the read and substituted \\end_float with \\end_inset!
7259 * BufferView_pimpl.C (cursorPrevious):
7260 (cursorNext): fixed to make it work with rows heigher than the work
7261 area without moving the cursor only the draw of the row.
7262 (workAreaMotionNotify): fix jumping over high rows.
7264 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7266 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7269 2002-04-16 Juergen Vigna <jug@sad.it>
7271 * text2.C (setCursor): set also the irow().
7272 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7274 (cursorDown): support for locking an inset if the x_fix value goes
7275 inside it. That way I can transverse insets too with cursor up/down.
7277 * lyxrow.h: added irow helper function same as other (i) functions.
7279 * BufferView_pimpl.C (cursorPrevious):
7280 (cursorNext): fixed for insets!
7282 2002-04-15 Juergen Vigna <jug@sad.it>
7284 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7285 position otherwise it is wrong in some cases.
7287 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7288 inside the inset before the call.
7290 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7292 * buffer.[Ch] (getBibkeyList): make it const.
7294 2002-04-12 Juergen Vigna <jug@sad.it>
7296 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7298 * text2.C (getCursorX): new helper function
7299 (setCursor): compute also ix_
7300 (setCursorFromCoordinates): set also ix.
7302 * lyxcursor.h: added ix_ and helper functions.
7304 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7306 * buffer.C (insertStringAsLines): dont break paragraph if the this
7307 paragraph is inside an inset which does not permit it!
7309 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7310 also with no chars on this paragraph.
7311 (paintRowText): only paint stuff if it's inside the workarea!
7313 * paragraph.C (breakParagraph): honor keepempty flag and break the
7314 paragraph always below not above.
7316 * BufferView2.C (unlockInset): update the paragraph layout on inset
7317 unlock as we changed paragraph in such a case.
7319 * lyxfind.C (LyXFind): clear the former selection if not found!
7321 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7322 again called in insertChar().
7324 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7325 an inset which uses the whole row!
7326 (rightMargin): ditto.
7327 (insertChar): force a rebreak if we inserted an inset!
7329 2002-03-28 Herbert Voss <voss@lyx.org>
7331 * lyxlength.[Ch]: add inBP() to get the right PS-point
7332 units (BigPoint). With inPixels we have rounding errors
7334 2002-04-11 Juergen Vigna <jug@sad.it>
7336 * text2.C (setCursorFromCoordinates): set iy to the right value.
7337 (setCursor): add check if row->previous exists!
7339 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7340 an old float_type as this was the case in the old code!
7342 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7344 * BufferView2.C (showLockedInsetCursor): use iy
7345 (fitLockedInsetCursor): ditto
7347 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7348 locked insets as there we have the right value now.
7350 * lyxcursor.C: added iy_ variable and iy functions to set to the
7351 baseline of cursor-y of the locked inset.
7353 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7354 (setCursor): fixed for insets which need a full row.
7356 * text.C (rowLastPrintable): don't ignore the last space when before
7357 an inset which needs a full row.
7358 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7359 as last character of a row when before a inset which needs a full row.
7361 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7363 * version.C.in: update date
7365 * text2.C (fullRebreak): try to always return true and see what
7368 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7370 * MenuBackend.C (expand): use Floating::listName
7372 * FloatList.C (FloatList): add listName argument to the built-in
7375 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7376 text associated with the float.
7378 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7380 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7382 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7384 * ShareContainer.h: add a couple of missing typenames.
7386 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7388 * lyxrc.C (getDescription): use _() correctly rather than N_().
7390 2002-03-28 Herbert Voss <voss@lyx.org>
7392 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7393 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7395 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7397 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7398 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7400 2002-03-29 Juergen Vigna <jug@sad.it>
7402 * lyxfunc.C (dispatch): add a missing fitCursor call.
7404 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7405 it was scrolled by a cursor move, so return the bool status.
7407 * BufferView.C (fitCursor): return the bool flag also to the outside
7408 world as this is needed.
7410 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7412 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7413 call the edit() as it is not needed (and wrong) IMO.
7414 (workAreaButtonPress): set the screen_first variable before evt.
7415 unlock the inset as this may change screen_first and then we have
7416 a wrong y position for the click!
7418 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7420 * MenuBackend.C (expand): another translation that I missed
7422 2002-03-28 Juergen Vigna <jug@sad.it>
7424 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7426 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7428 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7430 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7432 * MenuBackend.C (expand): fix export/view/update when there is no
7435 2002-03-27 Herbert Voss <voss@lyx.org>
7437 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7440 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7442 * bufferview_funcs.C (currentState): only show paragraph number
7443 for is DEVEL_VERSION is set.
7445 * lyxfunc.C (dispatch): put warning in INFO channel
7447 * MenuBackend.C (expand): translate the name of floats
7449 * FloatList.C (FloatList): mark the float names for translation
7451 * converter.C (convert): use LibScriptSearch
7453 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7455 * MenuBackend.C (defaults): fix default menu (we might as well get
7458 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7460 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7463 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7465 * lyxvc.C: reorder includes.
7467 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7469 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7472 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7474 * CutAndPaste.C: change layouts earlier on paste
7475 to avoid crashing when calling getFont()
7477 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7479 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7482 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7484 * WorkArea.C: remove 'Pending' debug message.
7486 * most files: ws cleanup
7488 * buffer.[Ch]: ws changes
7490 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7492 2002-03-21 Juergen Vigna <jug@sad.it>
7494 * tabular.C (SetMultiColumn): collapse also the contents of the
7495 cells and set the last border right. Added a Buffer const * param.
7497 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7499 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7502 2002-03-19 Juergen Vigna <jug@sad.it>
7504 * text2.C (clearSelection): reset also xsel_cache.
7506 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7507 where it needs to be called (John tells us to do so too :)
7508 (selectionLost): reset sel_cache.
7510 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7512 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7514 * text2.C (setCursorIntern): put debuging code in INSETS channel
7516 2002-03-19 André Pönitz <poenitz@gmx.net>
7518 * lyxfunc.C: tiny whitespace change
7520 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7522 * ToolbarDefaults.C (init):
7523 * LyXAction.C (init):
7525 * BufferView_pimpl.C (Dispatch):
7526 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7528 2002-03-19 Allan Rae <rae@lyx.org>
7530 * exporter.C (Export): removeAutoInsets before doing anything else.
7531 While I've just introduced a dependency on BufferView this really is
7532 the best place to clean the buffer otherwise you need to cleanup in
7533 a dozen places before calling export or cleanup in a dozen functions
7536 * converter.C (runLaTeX):
7537 (scanLog): Better handling of removeAutoInsets and screen updates.
7539 * lyxfunc.C (dispatch): small whitespace changes
7541 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7543 * WorkArea.C (C_WorkAreaEvent): return a value.
7544 (event_cb): return 1 if we handled the event, 0 otherwise.
7546 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7548 2002-03-18 Juergen Vigna <jug@sad.it>
7550 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7551 (GetAdditionalWidth): ditto.
7555 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7556 inset if we're there actually (probably not used right now but this
7557 is the direction to go for unifying code).
7558 (paste): disable code to clear the selection.
7560 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7561 inside an InsetText and move the check further up as it is in the
7564 * text2.C (pasteSelection): set a selection over the pasted text.
7566 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7568 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7569 and libgraphics to build on Cygwin.
7571 2002-03-15 Juergen Vigna <jug@sad.it>
7573 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7574 inserting an Inset into the paragraph. I know this is not the best
7575 fix but we already use current_view in CutAndPaste so we will remove
7576 all of it's using at the same time.
7578 * buffer.C (sgmlError): deactivated function till it is rewritten in
7579 the right mode, now it can create problems.
7581 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7582 before accessing it.
7584 2002-03-14 Juergen Vigna <jug@sad.it>
7586 * undo_funcs.C (textHandleUndo): do the right thing when updating
7587 the inset after the undo/redo.
7589 * text2.C (setCursor): just some testcode for #44 not ready yet.
7591 * undo_funcs.C (textHandleUndo): set the next() and previous()
7592 pointers of the paragraph to 0 before deleting otherwise we have
7593 problems with the Paragraph::[destructor].
7595 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7596 on a paragraph insertion.
7598 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7600 * buffer.C (asciiParagraph): use += operator for char append to
7603 * paragraph.C (getFontSettings): compare >= not just >
7604 (highestFontInRange): ditto
7607 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7609 * paragraph.C: change several algorithm to be more appripriate for
7610 the problem domain. This is lookip in FontList and in the InsetList.
7612 2002-03-13 André Pönitz <poenitz@gmx.net>
7615 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7617 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7622 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7624 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7626 * Painter.C (display): anon helper function, adjust code for this
7628 (pixmap): remove function.
7630 * Painter.h: remove private display variable.
7632 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7634 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7636 * WorkArea.[Ch]: remove figinset_canvas cruft.
7638 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7640 * lyxtextclass.C (operator): add one item cache optimization.
7642 * bufferlist.h: doxy changes
7644 * bufferlist.C: ws changes
7646 * DepTable.[Ch] (ext_exist): place const in the right spot.
7648 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7650 (workAreaExpose): call resizeInsets when the with BufferView changes.
7651 (Dispatch): adjust for protectedBlank removal
7652 (specialChar): call updateInset if the insert went ok.
7654 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7655 specialChar instead.
7657 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7659 * BufferView.h: doxy change
7661 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7663 * lyxtextclass.C (operator[]): remove non-const version
7664 (defaultLayout): remove non-const version
7666 2002-03-12 Juergen Vigna <jug@sad.it>
7668 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7669 did resize the LyXText too.
7671 * buffer.C (readLyXformat2): set layout information on newly allocated
7674 * tabular.C (OldFormatRead): set layout information on the paragraph.
7676 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7678 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7680 2002-03-11 Juergen Vigna <jug@sad.it>
7682 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7684 (resizeCurrentBuffer): force also the insets to resize themselfes.
7685 (moveCursorUpdate): fixed up for InsetText.
7687 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7690 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7691 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7692 value of Dialogs::tooltipsEnabled().
7693 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7695 2002-03-08 Juergen Vigna <jug@sad.it>
7697 * BufferView_pimpl.C (updateInset): update inset inside inset also
7698 if it isn't inside theLockingInset().
7700 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7702 * buffer.C (asciiParagraph): redo some of the word and line length
7704 (getLists): look for Caption instead of caption.
7706 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7708 * buffer.C (Buffer): initialize niceFile to true
7711 (makeDocBookFile): make sure niceFile is true on exit
7713 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7715 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7717 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7719 * LyXSendto.C: remove.
7720 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7721 * lyx_gui.C: remove now-redundant comment.
7722 * ColorHandler.h: remove forward declaration of class WorkArea.
7723 * lyxfunc.C: remove #include "WorkArea.h".
7725 2002-03-07 Juergen Vigna <jug@sad.it>
7727 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7728 got moved away with the DEPM and also set the inset_owner always
7729 right which before could have been omitted.
7731 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7733 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7734 wanted layout is not found.
7736 2002-03-07 Juergen Vigna <jug@sad.it>
7738 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7740 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7742 * paragraph.C (breakParagraph): use default layout not layout of
7744 (Paragraph): clear ParagraphParameters.
7746 2002-03-06 Juergen Vigna <jug@sad.it>
7748 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7749 otherwise it would not be a valid lenght. Fixed a special case in
7750 the minipage compatibility read where we end the document with a
7753 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7754 was set as it could be 0 for InsetTexts first entry.
7756 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7758 * paragraph.C (writeFile): if layout is empty write out
7759 defaultLayoutName().
7761 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7762 file without named layout we set layout to defaultLayoutName().
7764 2002-03-06 Juergen Vigna <jug@sad.it>
7766 * CutAndPaste.C (copySelection): set layout for new paragraph.
7768 * text.C (prepareToPrint): leave ERT inset left aligned
7769 (leftMargin): don't indent paragraphs inside ERT insets
7771 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7773 * paragraph.C (breakParagraph): dont call clear do the work manually
7775 * paragraph.[Ch] (clear): remove function
7777 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7779 * paragraph.C (Paragraph): dont call clear, the work has already
7782 * lyxtextclass.C (operator): assert if n is empty
7784 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7785 work manually instead.
7787 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7789 * BufferView_pimpl.C: protect selectionLost against text == 0
7791 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7793 * text.C (breakParagraph): fix a setting layout to '0' problem.
7795 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7797 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7798 final location of file, for the included files, and graphics.
7800 2002-03-05 Juergen Vigna <jug@sad.it>
7802 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7804 2002-03-04 Juergen Vigna <jug@sad.it>
7806 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7808 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7809 last column of multicolumn cells.
7810 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7812 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7814 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7815 file if it doesn't go to a temporary file.
7817 * buffer.C (sgmlOpenTag):
7818 (sgmlCloseTag): remove extra newline insertion.
7820 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7822 * text.C (getRowNearY): comment out debug msg
7824 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7826 * text2.C: first -> first_y
7828 * text.C (getRowNearY): add some attemts at a possible
7829 optimization, not working.
7831 * tabular.[Ch]: add BufferParams to several function so that newly
7832 created paragraph can be initialized to he default layotu for the
7835 * tabular-old.C (ReadOld): add buf->params to call of Init
7837 * screen.C: rename text->first to text->first_y
7839 * paragraph.C (breakParagraph): always set layout in the broken
7842 * lyxtextclass.C (Read): remove lowercase
7845 (delete_layout): ditto
7847 * lyxtext.h: rename first -> first_y
7849 * lyxlayout.C (Read): remove lowercase
7852 (obsoleted_by): ditto
7854 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7856 * buffer.C (insertErtContents): add params are to InsetERT
7857 (parseSingleLyXformat2Token): add code to check if a paragraphs
7858 layout really exist.
7859 (parseSingleLyXformat2Token): add params to several inset
7861 (asciiParagraph): remove lowercase, do the layout comparisons with
7864 * BufferView_pimpl.C (cursorNext): first -> first_y
7865 (resizeCurrentBuffer): first -> first_y
7866 (updateScrollbar): first -> first_y
7867 (scrollCB): first -> first_y
7868 (workAreaMotionNotify): first -> first_y
7869 (workAreaButtonPress): first -> first_y
7870 (checkInsetHit): first -> first_y
7871 (cursorPrevious): first -> first_y
7872 (cursorNext): first -> first_y
7873 (Dispatch): add buffer_->params to severl inset contructors
7875 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7877 * lyxlayout.C (Read): remove some debug info that I forgot.
7879 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7880 clean up the code slightly.
7881 (makeLinuxDocFile): ditto
7882 (makeDocBookFile): ditto
7884 * text2.C: layout as string
7886 * text.C: layout as string
7888 * paragraph_pimpl.C: layout as string
7890 * paragraph.[Ch]: layout as string
7892 * lyxtextclasslist.[Ch]: layout as string
7894 * lyxtextclass.[Ch]: layout as string
7896 * lyxtext.h: layout as string
7898 * lyxlayout.[Ch]: layout as string
7900 * lyx_cb.C: layout as string
7902 * bufferview_funcs.C: layout as string
7904 * bufferparams.C: layout as string
7906 * buffer.C: layout as string
7908 * LyXView.[Ch]: layout as string
7910 * LaTeXFeatures.[Ch]: layout as string
7912 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7914 * BufferView_pimpl.C: change current_layout to string, remove
7919 (workAreaButtonRelease): layout as string
7921 * BufferView2.C (unlockInset): adjust
7923 * vspace.C (asLatexCommand): use an explict temp variable.
7925 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7927 * Makefile.am: use FRONTEND_*
7929 2002-03-01 Juergen Vigna <jug@sad.it>
7931 * tabular.C (SetWidthOfMulticolCell): changed to something better
7932 I hope but still work in progress.
7933 (recalculateMulticolumnsOfColumn): renamed function from
7934 recalculateMulticolCells as it is more appropriate now.
7935 (SetWidthOfCell): calculate multicols better.
7937 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7939 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7941 * lyxfunc.C (processKeySym): print sequence also if it is
7942 `deleted' (complete)
7944 * kbsequence.C (print): print sequence even if it is deleted
7945 (complete would be a better word, actually).
7947 * lyxfunc.C (dispatch): print complete options after a prefix key
7949 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7951 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7953 * text2.C (setCharFont): eliminate setCharFont code duplication.
7955 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7957 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7958 LFUN_TABULAR_FEATURE (bug #177)
7960 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7962 * Makefile.am: remove figure.h
7964 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7966 * Bufferview_pimpl.C:
7978 * text2.C: remove #include "lyx_gui_misc.h".
7980 * LaTeX.C: added #include <cstdio>
7982 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7984 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7985 that the paragraph following this one can have.
7987 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7989 * vspace.C (asLatexCommand): fix bogus gcc warning
7991 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7993 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7995 * text2.C (setLayout): get rid of redundant code
7997 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7999 * text2.C (incDepth): make sure depth cannot be increased beyond
8002 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8004 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8005 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8007 * PainterBase.h (image):
8008 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8011 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8015 * BufferView_pimpl.C:
8016 * BufferView_pimpl.h:
8036 * sp_spell.C: remove fig inset, and the crap house of
8037 cards that follows it
8039 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8045 * nt_defines.h: move .h into support/
8047 * vms_defines.h: remove
8049 * WorkArea.C: add space in debug output
8053 * buffer.C: add WITH_WARNINGS
8057 * bufferlist.C: s/retrive/retrieve/, add docs
8068 * lyxgui.C: add ID to X error handler
8070 * lyxtestclass.c: fix typo
8072 2002-02-26 Juergen Vigna <jug@sad.it>
8074 * tabular_funcs.C (write_attribute): changed so that some default
8075 attributes are not written at all.
8076 (getTokenValue): set default values before trying to read the
8077 value so we have the return value always set as default if we don't
8078 find the token we search for.
8080 * tabular.C (Write): write bools as bools not as strings!
8082 2002-02-22 Juergen Vigna <jug@sad.it>
8084 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8085 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8087 * text.C (leftMargin): don't add an indent for paragraphs inside
8088 tabular cells (fix #208).
8090 2002-02-21 José Matos <jamatos@fep.up.pt>
8092 * tabular.C (docBook): fixed support for long tables.
8094 2002-02-20 Juergen Vigna <jug@sad.it>
8096 * text2.C (getFont): get the drawing font of the Inset if this
8097 paragraph is inside an inset (only important for InsetERT for now).
8099 * buffer.C (insertErtContents): use new lanugage params in ERT
8102 * CutAndPaste.C: commenting out seemingly uneeded code.
8104 2002-02-19 Allan Rae <rae@lyx.org>
8106 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8107 Iterators might be simple to use but they also get invalidated.
8108 (removeAutoInsets): renamed saved cursor tracking variables and added
8109 some comments to clarify what everything does.
8111 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8118 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8119 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8122 * vc-backend.h: remove #include "support/syscall.h"
8126 * converter.C: rearrange #includes in Lars' approved fashion.
8128 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8129 forward declare class Timeout in the header file.
8131 * XFormsView.C: changes due to the above.
8133 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8136 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8137 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8139 2002-02-18 José Matos <jamatos@fep.up.pt>
8141 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8144 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8146 * a lot of small ws changes
8147 * add a lot of using std::XXX
8148 * use std construcs some places where approp.
8149 * use some exisint stuff from lyxfunctional where approp.
8150 * Make file changes to use partial linking (lets test this now...)
8152 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8156 remove #include "support/syscontr.h" as it's redundant. Always has been.
8164 change Systemcalls::System to Systemcalls::Wait and
8165 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8166 No change of functionality, just reflects the stripped down Systemcalls
8169 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8171 * debug.[Ch]: add a GRAPHICS type to the enum.
8173 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8175 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8177 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8180 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8182 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8183 match the changes below.
8185 * text2.C (toggleInset): if there is not editable inset at cursor
8186 position, try to see if cursor is _inside_ a collapsable inset
8189 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8191 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8192 document menu has a nice checkbox
8194 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8196 * lyxlength.C (asLatexString): change PW to output as percent of
8199 * lengthcommon.C: change '%' to 't%'
8201 * lyxfunc.C (dispatch): a few comments from Martin
8203 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8207 * BufferView_pimpl.h:
8208 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8211 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8213 * vspace.C (inPixels): fix compiler warning
8215 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8217 * lyxfunc.C (getStatus): fix status message for disabled commands.
8219 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8221 * BufferView_pimpl.C: fix crash on close buffer
8222 during selection (#227)
8224 2002-01-27 Herbert Voss <voss@lyx.org>
8226 * buffer.C: link old Figure to new graphic inset
8228 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8230 * FontLoader.C (getFontinfo): Change the latex font names in order
8231 to match the names of type1inst.
8233 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8235 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8237 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8240 (remove_files_with_extension): ditto
8241 (remove_file): ditto
8244 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8245 document is smaller than the work area height. Do not initialize
8246 static variables to 0.
8248 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8250 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8252 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8253 LFUN_LAYOUT_PARAGRAPHS.
8255 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8256 tabular. It is possible to provide a possible cell, which will
8257 typically be the actcell from the corresponding insettabular
8259 * lyxfunc.C (getStatus): small cleanup; disable
8260 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8263 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8265 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8267 * paragraph.C (startTeXParParams):
8268 (endTeXParParams): new methods. The LaTeX code to
8269 start/end paragraph formatting
8270 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8271 empty (fixes bug #200)
8273 * vspace.C (inPixels): adapt to the change below
8274 (inPixels): [later] more cleanups (remove unused variables)
8276 * lyxlength.C (inPixels): change to use a width and a height as
8279 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8281 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8282 Replaced with \paperwidth
8284 * DepTable.C (insert): add std:: qualifier
8286 2002-01-18 Allan Rae <rae@lyx.org>
8288 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8291 * text.C (drawInset): Turned out I didn't know enough about how
8292 rebreaking worked. This fixes most of the redraw problems. I see
8293 an occasional cursor trail when a line is broken now and the cursor
8294 placement can seem out by a few pixels also after a rebreak.
8296 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8298 * buffer.C (parseSingleLyXformat2Token): update because minipage
8299 width is now a LyXLength
8301 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8303 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8306 2002-01-17 Juergen Vigna <jug@sad.it>
8308 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8310 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8311 is set correctly and the inset is updated correctly.
8313 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8315 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8316 the beginning of the loop.
8318 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8320 * lyxrc.C: improve help for use_scalable_fonts
8322 2002-01-17 Allan Rae <rae@lyx.org>
8324 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8326 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8328 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8329 make sure to set their inset_owner to the right value (bug #171)
8331 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8334 * DepTable.C: Implement mtime checking to reduce time spent doing
8337 2002-01-16 Juergen Vigna <jug@sad.it>
8339 * tabular.C (GetAdditionalHeight): one of error fixed.
8341 * lyxrc.C (output): small fix in writing use_pspell.
8343 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8345 * sp_base.h: #include LString.h
8347 2002-01-16 Allan Rae <rae@lyx.org>
8349 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8350 Can someone check this please?
8352 * text.C (drawInset): It was possible that p.row would be removed by
8353 breakAgainOneRow upsetting a few other settings. There may be another
8354 small tweak possible by setting need_break_row = 0 when p.row has been
8355 removed but I don't know enough about the logic here.
8357 2002-01-15 Allan Rae <rae@lyx.org>
8359 * text.C (insertChar): removed conditional truism.
8361 * BufferView2.C (removeAutoInsets): More tweaks.
8362 cur_par_prev could be a stray pointer. Check for trailing empty line
8363 in case last line was cur_par and only had an error inset on it.
8365 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8367 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8370 * vc-backend.C (most methods):
8371 * exporter.C (Export):
8372 * converter.C (convert):
8374 * LyXSendto.C (SendtoApplyCB):
8375 * lyxfunc.C (dispatch):
8379 * lyx_cb.C (AutoSave):
8381 * BufferView_pimpl.C (MenuInsertLyXFile):
8382 * buffer.C (runChktex): use Buffer::filePath().
8384 * buffer.h: rename filename to filename_; rename filepath to
8385 filepath_ and make it private
8386 (filePath): new method
8388 * buffer.C (writeFile): use fileName()
8391 * lyx_main.C (init): fix starting of LyX when the binary is a
8392 link from so,ewhere else.
8394 * minibuffer.C: include <cctype> for isprint
8396 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8398 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8399 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8400 name clash with InsetCollapsable's width function.
8402 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8404 * lastfiles.C: include <iterator>
8406 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8408 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8411 * buffer.C (makeLaTeXFile): ditto.
8412 Also make loop operation more transparent.
8414 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8416 * ToolbarDefaults.C: remove trailing comma closing namespace.
8418 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8420 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8423 * trans.C (Load): comment out unused variable, allowed.
8425 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8427 * minibuffer.[Ch] (append_char): new method to recieve input from the
8428 drop-down completion browser. If a key was pressed, then recieve this
8429 char and append it to the existing string.
8430 (peek_event): modify the positioning data passed to the completion
8431 browser so that it can be placed above the minibuffer rather than below.
8432 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8434 * LyXAction.C (init): alloe error-next for readonly documents.
8436 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8439 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8441 * bufferlist.C (readFile): create the buffer _after_ checking that
8444 * lyxfunc.C (verboseDispatch): fix handling of arguments
8446 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8448 * lyxrc.C: use string::erase() instead of initializing to "".
8451 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8453 * BufferView_pimpl.h:
8454 * BufferView_pimpl.C:
8457 * text2.C: tell X when we have made a selection for copying
8459 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8461 * BufferView_pimpl.C (MenuInsertLyXFile):
8462 * lyxfunc.C (menuNew):
8464 (doImport): add shortcuts to directory buttons
8466 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8469 * lyxfunc.C (setStatusMessage):
8470 (getStatusMessage): new methods
8471 (getStatus):use setStatusMessage instead of setErrorMessage
8472 (dispatch): when function is disabled, set error message here
8473 [instead of in getStatus previously]
8475 * BufferView_pimpl.C (workAreaButtonRelease): update
8476 toolbar/menubar here too.
8478 2002-01-13 Allan Rae <rae@lyx.org>
8480 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8481 Now seems indestructible. Remaining task is to audit all other
8482 code affected by deleteEmptyParagraphMechanism. One small quirk
8483 left is that an empty document with an error in the preamble can
8484 be made to report an error but no error box appears. I don't know
8486 (removeAutoInsets): Improved comments.
8488 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8491 * Thesaurus.C: update for Aiksaurus 0.14
8493 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8495 * text2.C (firstParagraph): removed member function, all uses
8496 replaces with ownerParagraph
8497 (redoParagraphs): here
8499 (toggleAppendix): here
8500 * BufferView2.C (insertErrors): here
8501 (setCursorFromRow): here
8503 2002-01-13 Allan Rae <rae@lyx.org>
8505 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8506 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8507 There is still a way to segfault this although you may have to do this
8508 multiple times: Have an InsetERT with an unknown command in it.
8509 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8510 <down-arrow>, <Enter> again, View->DVI, BANG!
8512 * text2.C (setCursor):
8513 (deleteEmptyParagraphMechanism):
8514 * lyxtext.h (setCursor):
8515 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8516 Making use of the return value may help fix other bugs.
8518 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8520 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8522 * LyXView.C (updateMenubar): call MenuBar::update here
8523 (updateToolbar): but not here
8524 (showState): do not update toolbar/menubar
8526 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8527 should need to care about that.
8529 * lyxfunc.C (verboseDispatch): simplify a bit
8530 (getStatus): have a version which takes a pseudoaction, and
8531 another which requires a (kb_action,string).
8533 * LyXAction.C (retrieveActionArg): make it work also when action
8534 is not a pseudo-action.
8535 (getActionName): simplify a bit
8538 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8540 * lyxfunc.C (verboseDispatch): new families of methods with
8541 several ways to specify a command and a bool to indicate whether
8542 the command name and shortcut should be displayed in minibuffer
8543 (eventually, we could extend that to a finer bitmask like
8544 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8545 (dispatch): the pristine dispatch command which just, well,
8546 dispatchs! Note it still sets its result to minibuffer; I'm not
8549 * lyxfunc.h: remove setHintMessage
8551 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8553 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8555 * BufferView_pimpl.C (specialChar): delete new inset if we have
8556 not been able to insert it.
8558 * kbmap.C: revert to using int instead of kb_action, since all we
8559 are dealing with is pseudo-actions.
8561 * LyXAction.C (searchActionArg): change to return int instead of
8562 kb_action, since the result is a pseudoaction.
8564 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8566 * buffer.C (insertErtContents): Fix (partially) the font bug.
8568 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8570 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8571 as the other one is broken on my machine!
8573 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8576 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8578 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8580 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8581 reflect their actual use. Provide compatibility code for older lyxrc
8584 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8586 change names of popup font variables in line with the changes to lyxrc.C
8588 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8590 * buffer.C (asciiParagraph): avoid outputing a word twice after
8593 * lyxrc.C (getDescription): document that document_path and
8594 template_path can be empty.
8596 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8598 * LaTeXFeatures.C (getMacros):
8599 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8601 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8603 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8605 (getPackages): rename feature "floats" to "float". Use an array to
8606 iterate over 'simple' features (i.e. just a \usepackage). Add
8607 handling of "amsmath" (renamed from "amsstyle").
8609 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8611 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8614 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8616 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8617 FuncStaus::FuncStatus & FuncStaus::some_method().
8619 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8621 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8622 of the func_satus stuff. Edited and massaged in various ways by
8625 * lyxfunc.C (getStatus): use FuncStatus
8627 2002-01-08 Juergen Vigna <jug@sad.it>
8629 * text.C (nextBreakPoint): use function Inset::isChar().
8631 * paragraph.C (TeXOnePar): use function
8632 Inset::forceDefaultParagraphs.
8634 * buffer.C (latexParagraphs): use function
8635 Inset::forceDefaultParagraphs.
8637 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8639 * lyx_gui.C (init): set the style of the menu popups to
8640 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8642 2002-01-07 Juergen Vigna <jug@sad.it>
8644 * text.C (setHeightOfRow): small fix
8645 (prepareToPrint): don't look at alignment if we don't have the place
8648 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8650 * box.C: New file. Move the Box methods and functions out of box.h,
8651 following Lars' suggestion.
8653 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8655 * box.h: #include "support/LOstream.h", needed for inlined function.
8658 * lyxtextclasslist.C: added some using std declarations.
8660 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8662 * box.h: make signed dimensions to allow insets wider than
8663 the screen (bug #162)
8665 * BufferView_pimpl.C: add some insetHit debug
8667 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8669 * vc-backend.C: add FIXME
8671 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8673 * lyxfunc.C (getStatus): enable code for showing math font status
8676 2002-01-07 Juergen Vigna <jug@sad.it>
8678 * text.C (nextBreakPoint): removed debug output not needed anymore.
8680 2002-01-06 Juergen Vigna <jug@sad.it>
8682 * text.C (nextBreakPoint): fixed up this function we had this bug
8683 since ever but now hopefully we break row better.
8684 (insertChar): we have to check if an inset is the next char as it
8685 could now happen that a large inset is causing a break.
8687 2002-01-05 Juergen Vigna <jug@sad.it>
8689 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8690 if it doesn't like to be drawed.
8692 2002-01-04 Juergen Vigna <jug@sad.it>
8694 * BufferView2.C (lockInset): forgot to set a cursor.
8696 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8698 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8703 * form_maths_panel.C:
8704 * form_maths_panel.h:
8705 * form_maths_panel.fd: implemented sub- and super- buttons in math
8708 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8709 (or ^ space) to be used as in TeX (req'd by André).
8711 * lyxfunc.C: Allow ^ and _ again to be used both as
8712 super/subscript (mathed) and as themselves (in text).
8714 2002-01-03 Allan Rae <rae@lyx.org>
8716 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8717 "LyX" or the filename of the current buffer if it has one. This is a
8718 modified form of John Levon's patch.
8720 * XFormsView.C (setWindowTitle): also set icon title.
8722 * LyXView.h (setWindowTitle): signature changed.
8723 * XFormsView.h (setWindowTitle): ditto.
8725 2002-01-02 Juergen Vigna <jug@sad.it>
8727 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8729 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8731 * screen.C (topCursorVisible): introduce a temp var for
8732 text->cursor.row(), handle the case where this row is null. (kindo
8735 * text2.C (setCursor): add a couple of asserts.
8737 * paragraph.h (inset_iterator): add -> operator
8739 * paragraph.[Ch] (autoDeleteInsets): remove member function
8741 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8742 cursor pos correctly and handle inset deletion by itself.
8743 (insertErrors): move iterator declaration out of for expression
8745 * lyxtextclass.C: add <algorithm>
8747 * Makefile.am: added the new files to sources, removed layout.C
8749 * layout.C: removed file
8751 * layout.h: remove LYX_DUMMY_LAYOUT
8753 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8757 * lyxtextclass.[Ch]:
8758 * lyxtextclasslist.[Ch]: new files
8760 * include order changes to a lot of files, also changes because of
8763 2001-12-27 Juergen Vigna <jug@sad.it>
8765 * buffer.C (asciiParagraph): more fixes.
8767 * tabular.C (ascii): make ascii export support export of only the
8768 data separated by a column-delimiter.
8769 (ascii): better support for ascii export.
8771 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8773 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8775 * tabular_funcs.C: use a "using std::getline" instead of the
8776 previous fix from Angus (necessary for cxx + lyxstring)
8778 2001-12-24 Juergen Vigna <jug@sad.it>
8780 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8782 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8783 problems. First check a minipage also if we have some ert-contents
8784 (not only on par->size(), second set the right depth of the paragraph
8785 on the relink to the root-paragraph-list!
8787 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8788 which then did not anymore update the main paragraphs on undo/redo!
8790 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8792 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8793 code. Support all font-changing funcs (even those which are not in
8794 menu currently). Support for reporting font settings in
8795 mathed (disabled until Andre provides a function on mathed's side).
8797 * func_status.h (toggle): small helper function to set toggle
8800 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8802 * tabular_funcs.C: getline -> std::getline
8804 2001-12-21 Juergen Vigna <jug@sad.it>
8806 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8807 accessed and could be 0 (I couldn't generate this but it seems
8810 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8812 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8813 * tabular_funcs.h: here and include iosfwd
8815 2001-12-20 Juergen Vigna <jug@sad.it>
8817 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8818 inside inset but undo_par was.
8820 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8822 * Thesaurus.C: always include <config.h> in sources.
8826 * box.h: do not include <config.h> in header files
8828 * text.C (paintLastRow): remove unused variable
8830 * text.C (transformChar):
8832 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8835 * font.C (width): rewrite to use uppercase() instead of
8838 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8840 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8842 * lyxfind.C: clean up of find failure position change
8844 2001-12-20 Juergen Vigna <jug@sad.it>
8846 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8848 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8849 (TeXRow): added to LaTeX a single tabular row.
8850 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8851 (Latex): simplified and finally good LT-h/f support.
8852 (various_functions): just small adaptions for LT-h/f support.
8854 * tabular_funcs.[hC]: added and moved here all not classfunctions
8857 2001-12-19 Juergen Vigna <jug@sad.it>
8859 * tabular.[Ch]: better support for longtabular options (not finished
8862 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8864 * text.C (paintLastRow): use the label font instead of the font of
8865 the last character to compute the size of *_BOX. This makes more
8866 sense and avoids a crash with empty paragraphs.
8867 Use Painter::rectangle to draw EMPTY_BOX.
8869 2001-12-19 Juergen Vigna <jug@sad.it>
8871 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8872 the paragraphs if the replaced paragraph is not the first one!
8873 Tried to delete not used paragraphs but does not work yet so for
8874 now it's inside #ifdef's and by default off!
8876 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8878 * MenuBackend.C: include "lyx_main.h" instead of declaring
8879 lastfiles (actually was declared as LastFiles* instead of a
8882 2001-12-17 Juergen Vigna <jug@sad.it>
8884 * tabular.C (AppendColumn): applied John's fix
8886 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8890 * BufferView_pimpl.h:
8891 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8894 * box.h: new start of class for above
8896 * lyxfunc.C: ignore space-only minibuffer dispatches.
8897 Show the command name when it doesn't exist
8899 * minibuffer.C: don't add empty lines to the history
8901 * minibuffer.C: add a space on dropdown completion
8903 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8905 * text.C: fix line above/below drawing in insets
8907 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8909 * lyxlength.C (LyXLength): Initialize private variables.
8911 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8913 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8914 when inserting error insets.
8916 2001-12-13 Juergen Vigna <jug@sad.it>
8918 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8919 actually sometimes the before-paragraph.
8920 (setUndo): don't clear the redostack if we're not actually undoing!
8922 2001-12-06 Juergen Vigna <jug@sad.it>
8924 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8925 and fixed redoing of main paragraph, so we can use it now ;)
8927 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8929 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8931 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8934 2001-12-13 André Pönitz <poenitz@gmx.net>
8937 * undo_func.C: minor cleanup
8939 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8941 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8942 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8943 font in urw-fonts package which is marked as -urw-fontspecific and
8944 does not work (incidentally, changing the encoding in the
8945 fonts.dir of this package to -adobe-fontspecific fixes the
8948 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8949 is a crash when undoing first paragraph (Juergen, please take a
8950 look). THis does not mean the undo fix is wrong, just that it
8953 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8954 the (Paragraph*) version when needed instead of duplicating the
8957 * text.C (workWidth): use Inset::parOwner to find out where the
8958 inset has been inserted. This is a huge performance gain for large
8959 documents with lots of insets. If Inset::parOwner is not set, fall
8960 back on the brute force method
8962 * paragraph_pimpl.C (insertInset):
8963 * paragraph.C (Paragraph):
8964 (cutIntoMinibuffer): set parOwner of insets when
8965 inserting/removing them
8967 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8969 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8975 * mathed/formulabase.C:
8976 * mathed/math_cursor.[Ch]:
8977 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8980 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8982 * lyxlength.[Ch] (operator!=): new function
8984 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8986 * text.C (workWidth): use Inset::parOwner to find out where the
8987 inset has been inserted. This is a huge performance gain for large
8988 documents with lots of insets. If Inset::parOwner is not set, fall
8989 back on the brute force method
8991 * paragraph_pimpl.C (insertInset):
8992 * paragraph.C (Paragraph):
8993 (cutIntoMinibuffer): set parOwner of insets when
8994 inserting/removing them
8996 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8998 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9000 * tabular-old.C (getTokenValue):
9001 * tabular.C (getTokenValue):
9002 (write_attribute): new versions for LyXLength
9003 (everywhere): adjust the use of widths
9005 * tabular.h: change the type of widths from string to LyXLength
9007 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9009 * paragraph.C: fixed missing line number count when exporting
9010 Environments to LaTeX file
9012 * buffer.C: added informational message for checking line numbers.
9014 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9016 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9017 paragraph, do the 'double space' part, but not the 'empty
9020 * text.C (workWidth): small optimization
9021 (getLengthMarkerHeight): use minimal size for negative lengths.
9023 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9025 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9027 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9029 2001-12-11 André Pönitz <poenitz@gmx.net>
9032 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9034 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9036 * text2.C: keep selection on a setFont()
9038 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9040 * lyx_cb.C: another bv->text misuse, from insert label
9042 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9045 * kbsequence.C: re-instate nmodifier mask
9047 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9049 * lyx_main.h: make lyxGUI private.
9051 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9053 * lyxfind.C: place the cursor correctly on failed search
9055 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9057 * text.C (getLengthMarkerHeight): for small heights, the arrows
9058 are not always on top/bottom of the text
9059 (drawLengthMarker): smaller arrows; take the left margin in
9060 account; draw also vfills.
9062 (paintLastRow): remove special code for vfill and standard spaces,
9063 since everything is handled in drawLengthMarker now.
9065 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9067 * buffer.C (insertErtContents): try to handle font and language
9068 interaction a bit better.g
9070 * ColorHandler.C (updateColor): change the hash to cover the whole
9071 LColor enum, ws cleanup
9072 (getGCLinepars): ditto
9073 (getGCLinepars): only lookup in the linecache once.
9075 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9077 * iterators.C (operator++): Make the iterator more robust
9079 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9081 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9083 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9086 * text.C: better added space drawing
9088 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9091 * BufferView2.C: fix layout combo update on inset unlock
9093 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9095 * Makefile.am: don't compile unused files
9097 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9101 * LyXAction.C: remove old LFUN_LAYOUTNO
9103 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9105 * paragraph_pimpl.h:
9106 * paragraph_pimpl.C: isTextAt() doesn't need font param
9108 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9111 * lyxlex.C: little cleanup
9113 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9115 * BufferView_pimpl.C: fix insertAscii for insets
9117 2001-12-05 Juergen Vigna <jug@sad.it>
9119 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9120 set the right font on the "multi" paragraph paste!
9122 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9128 * lyxlength.C: remove out-commented code.
9144 * vc-backend.C: change "while(" to "while ("
9146 * lyxlength.[Ch]: add zero function to check if length is zero or
9148 * lyxgluelength.C: use it
9150 2001-12-05 Allan Rae <rae@lyx.org>
9152 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9153 Works for 2.95.3, from what I understand of Garst's reports this should
9154 work for other g++ versions. We're screwed if the abs(int) definition
9155 changed between bugfix releases of gcc.
9157 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9159 * text.C: fix chapter label offset !
9161 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9164 * text.C: fix hfill at end of line, clean up
9166 2001-12-04 Juergen Vigna <jug@sad.it>
9168 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9169 that we force an update of the inset and it's owners if neccessary.
9171 2001-12-03 Juergen Vigna <jug@sad.it>
9173 * text.C (rowLast): simplified code
9175 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9177 * lyxfunc.C: fix show options on timeout
9179 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9181 * screen.C (topCursorVisible): scroll half a page when the cursor
9182 reached top of bottom of screen
9184 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9186 * minibuffer.C: deactivate on loss of focus
9188 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9190 * vspace.[Ch] (operator!=): add operator.
9192 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9194 * BufferView_pimpl.C: refuse to open an inset when
9195 there's a selection.
9197 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9199 * BufferView_pimpl.C: allow to click on RHS of full row insets
9201 2001-11-30 Juergen Vigna <jug@sad.it>
9203 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9204 insets for undo reasons.
9206 2001-11-28 André Pönitz <poenitz@gmx.net>
9208 * vspace.[Ch]: cosmetical changes
9210 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9220 * kbsequence.C: part re-write of old kb code
9223 * WorkArea.C: remove Lgb_bug_find_hack
9225 2001-11-30 José Matos <jamatos@fep.up.pt>
9227 * buffer.C (makeDocBookFile): add a comment to point a hack.
9228 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9229 Fixed a double write of labels.
9231 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9234 * LaTeX.h Fixed bug in LaTeX class where it would not
9235 re-run latex if no depfiles were changed, but the .dvi was removed.
9237 2001-11-28 André Pönitz <poenitz@gmx.net>
9239 * all the files from the change on 2001/11/26:
9240 use lyx::layout_type instead of LyXTextClass::size_type
9241 use lyx::textclass_type instead of LyXTextClassList::size_type
9243 2001-11-29 Juergen Vigna <jug@sad.it>
9245 * text.C: added support for paragraph::isFreeSpacing()
9247 * buffer.C: same as above
9249 * paragraph.h: inserted isFreeSpacing() function to enable
9250 FreeSpacing inside InsetERT.
9252 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9253 of the paragraph's in the cut/copy buffer to 0!
9255 * text2.C (removeRow): remove the assert as it can!
9257 * lyxtext.h: added helper function firstRow returning firstrow and
9258 made firstrow private again.
9260 * BufferView2.C (lockInset): don't relock if we're already locked!
9262 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9264 (removeRow): added Assert::(firstrow)
9266 * debug.C: forgot to add INSETTEXT here.
9268 2001-11-28 Juergen Vigna <jug@sad.it>
9270 * sp_spell.C (initialize): changed error text to more general
9271 spellchecker command use (not only ispell!)
9273 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9275 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9277 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9279 * vspace.C: initialise lyxgluelength on failure
9281 2001-11-28 Allan Rae <rae@lyx.org>
9283 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9284 declaration & definition that looks like a function declaration.
9286 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9288 * BufferView2.C (copy):
9289 (copyEnvironment): do not clear the selection when doing a copy.
9291 * text.C (paintFirstRow): compilation fix
9293 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9295 * tabular.C (Latex): correct line count when writing latex.
9297 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9299 * paragraph_pimpl.h:
9300 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9303 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9307 * LColor.C: change vfillline->added_space
9309 * text.C: add markers and text for added space
9311 * vspace.C: fix comment
9313 2001-11-28 André Pönitz <poenitz@gmx.net>
9315 * paragraph.C: whitespace changes
9316 * all the other files from the change on 2001/11/26:
9317 change *::pos_type into lyx::pos_type
9319 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9321 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9322 language of the document when inserting error insets.
9324 2001-11-26 André Pönitz <poenitz@gmx.net>
9326 * BufferView_pimpl.[Ch]:
9334 * paragraph_pimpl.[Ch]:
9337 * text2.C: reduce header dependencies, introduce type for positions
9339 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9341 * <various>: change to use Alert.h
9343 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9345 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9346 when encountering an unknown token.
9347 (readLyXformat2): Show an error message if there were unknown tokens.
9349 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9352 * BufferView_pimpl.C:
9356 * text2.C: use par->isInset()
9358 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9360 * paragraph_pimpl.h:
9361 * paragraph_pimpl.C: cleanup
9363 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9365 * text2.C (removeRow):
9366 * text.C (setHeightOfRow): remove useless (and costly) call to
9369 2001-11-20 Allan Rae <rae@lyx.org>
9371 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9372 Now need Inset*::checkInsertChar() to return true for appropriate
9373 cases so that the characters in the minibuffer will actually be
9376 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9378 * text.C: change the order of the includes.
9379 (workWidth): initialize it at once.
9380 (workWidth): make maxw unsigned
9381 (setHeightOfRow): remove unused variable (inset)
9382 (selectSelectedWord): remove unused variable (inset)
9383 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9385 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9387 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9388 server is not running.
9390 (closeConnection): add debug info when server is disabled.
9392 * ColorHandler.C (getGCForeground): send debug message to GUI
9395 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9397 * kbmap.C (bind): modify because return conventions of
9398 kb_sequence::parse have changed.
9400 * kbsequence.C (parse): only ignore spaces and not any stupid
9401 control character. This avoids tests like s[i] <= ' ', which are
9402 guaranteed to fail with 8bit characters and signed chars.
9403 Change return code to string::npos when there have been no error
9404 (0 was a bad idea when error is at first character)
9406 2001-11-14 José Matos <jamatos@fep.up.pt>
9409 * buffer.C (simpleDocBookOnePar): removed unused argument.
9411 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9413 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9414 insets which are part of a word. Paragraph::isLetter takes care of
9415 that now. Use Paragraph::isInset to identify insets.
9416 (selectSelectedWord): do not test for hyphenation break.
9418 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9419 that protected spaces are considered as spaces.
9421 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9424 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9427 * lyxserver.C: fix it. and small cleanup.
9429 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9431 * BufferView_pimpl.C: use inline helpers
9434 * LaTeXFeatures.C: fix typos
9437 * Spacing.C: move spacing_string into class
9439 * ToolbarDefaults.C: move stuff into namespace anon
9441 * layout.h: update enum
9443 * lyxfunc.C: use better debug
9445 * minibuffer.h: fix typo
9449 * WorkArea.C: add and use Debug::WORKAREA
9453 * text2.C: code re-organisation, inline helpers
9455 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9457 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9458 std::vector.empty().
9460 2001-11-09 Allan Rae <rae@lyx.org>
9462 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9463 '\n's after tables. Tabular and ERT inset work now makes this no
9466 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9469 * minibuffer.C: fix crash, improve drop-down completion
9471 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9474 * lyxserver.C: invalidate fd's when doing endPipe()
9476 2001-11-08 José Matos <jamatos@fep.up.pt>
9478 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9479 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9482 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9484 2001-11-07 José Matos <jamatos@fep.up.pt>
9487 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9490 * buffer.C (sgmlOpenTag):
9491 * buffer.C (sgmlCloseTag): removed debug info.
9493 * buffer.h (sgmlOpenTag):
9494 * buffer.h (sgmlCloseTag): made public.
9496 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9498 * buffer.C (saveParamsAsDefaults):
9499 * lyx_cb.C (MenuLayoutSave): remove
9501 * LyXAction.C (init):
9503 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9505 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9507 * buffer.C (setPaperStuff): removed from here...
9509 * bufferparams.C (setPaperStuff): ... and moved there.
9511 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9515 * XFormsView.C: add support for drop-down completion
9517 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9519 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9522 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9524 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9527 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9529 * lyx_main.C: change ref to known bugs
9531 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9533 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9534 to work around older babel problems.
9536 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9538 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9540 2001-10-24 Juergen Vigna <jug@sad.it>
9542 * tabular-old.C (ReadOld): below variable changes reflected.
9544 * tabular.[Ch]: added ltType struct for longtable header/footer
9545 defines and changed all instances where they are used. Added
9546 future support for double top/bottom rows.
9548 2001-10-24 José Matos <jamatos@fep.up.pt>
9550 * buffer.h (docbookHandleCaption):
9551 * buffer.C (docbookHandleCaption): removed unused function.
9552 (makeDocBookFile): moved docbook supported version to v4.1.
9554 2001-10-24 José Matos <jamatos@fep.up.pt>
9557 * tabular.C (docbookRow): new function to export docbook code of a row.
9558 (DocBook): now honors the longtable flags.
9560 2001-10-23 José Matos <jamatos@fep.up.pt>
9563 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9564 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9566 * buffer.C (makeLinuxDocFile):
9567 (makeDocBookFile): reworked the preamble, more clean, and with
9568 support for lyx defined entities. Changed the document declaration
9569 to be more XML friendly.
9571 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9572 if we need to output XML that should be done with a filter.
9574 2001-10-22 Juergen Vigna <jug@sad.it>
9576 * sp_pspell.h (class PSpell): add alive function needed in the
9577 controller to see if the spellchecker could be started.
9579 2001-10-22 Juergen Vigna <jug@sad.it>
9581 * buffer.C (insertStringAsLines): modify the font for inserting
9582 chars in certain conditions by calling checkInsertChar(font).
9584 2001-10-19 Juergen Vigna <jug@sad.it>
9586 * text.C (workWidth): use getRow instead of wrong algorithm.
9587 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9589 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9594 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9596 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9598 * text.C (workWidth): do not search for the exact row when
9599 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9600 optimization for big documents.
9602 2001-10-18 Juergen Vigna <jug@sad.it>
9604 * text.C (workWidth): new function with added Inset * parameter.
9606 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9608 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9610 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9611 change return type of getColumnNearX.
9614 * text.C (changeRegionCase): use uppercase/lowercase instead of
9617 (rightMargin): simplify code by factoring out the uses of
9622 (appendParagraph): use Paragraph::size_type
9624 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9626 * vspace.C (asLatexString): add a missing break
9628 2001-10-15 Herbert Voss <voss@perce.de>
9630 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9632 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9634 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9637 2001-10-10 André Pönitz <poenitz@gmx.net>
9639 * lyxfunc.C: removed greek_kb_flag.
9641 2001-10-10 Herbert Voss <voss@perce.de>
9643 * lyx_main.C: delete global string help_lyxdir.
9645 2001-10-09 Herbert Voss <voss@perce.de>
9647 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9649 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9651 * lyx_main.C: added global string help_lyxdir.
9653 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9655 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9657 * lyxrc.C (set_font_norm_type): support iso8859-4
9659 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9661 * LaTeX.C (deplog): add another regex for MikTeX
9663 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9665 * lyxrc.C (set_font_norm_type): support iso8859-3
9667 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9669 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9671 * LaTeXFeatures.C: remove special case of french and index
9673 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9674 before \begin{document}). This solves several incompatibilities.
9676 2001-10-03 Garst Reese <reese@isn.net>
9678 * lyx_cb.C: change CheckTex error msg.
9680 2001-10-03 José Matos <jamatos@fep.up.pt>
9682 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9684 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9686 * .cvsignore: update
9688 * lyx_main.C (commandLineVersionInfo): use new style version info.
9690 * buffer.C (writeFile):
9693 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9695 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9697 * version.h: update to use stuff in version.C
9699 * version.C.in: new file. Contains version information determined
9700 at compile time. This is a merging of version.h and
9703 2001-10-03 Juergen Vigna <jug@sad.it>
9705 * BufferView_pimpl.C (update): don't change "dirty" status in
9708 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9710 * WorkArea.C (c-tor): re-position version string slightly.
9712 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9714 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9715 revert to previous code.
9717 WorkArea.[Ch]: (show, destroySplash): methods removed.
9719 WorkArea.C: rework code so that it's an amalgam of the codes before and
9720 after the splash screen was moved to WorkArea.
9722 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9725 * vspace.C (inPixels):
9728 * buffer.C (insertStringAsLines):
9729 (asciiParagraph): fix types to be large enough
9731 * lyxlex_pimpl.h: change member status from short to int
9733 * layout.h: fix type of endlabeltype
9736 * kbsequence.C (parse): change return type to string::size_type
9738 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9741 * Bullet.C (bulletSize):
9742 (bulletEntry): do not use short ints as parameters
9744 * BufferView2.C (insertLyXFile): change a char to an int.
9746 * WorkArea.C (WorkArea): remove unneeded floats in computation
9748 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9750 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9752 * paragraph.C (asString): Do not ignore newline/hfill chars when
9753 copying to the clipboard.
9755 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9757 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9758 after a multi-line inset.
9760 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9762 * paragraph.C (validate): Set NeedLyXFootnoteCode
9764 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9766 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9767 and decrease-error to decrease.
9769 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9771 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9772 it more readable (should be equivalent)
9774 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9776 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9778 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9780 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9781 of a cursor (row, etc.) after a character has been deleted
9782 (deleteEmptyParagraphMechanism): call the method above on _all_
9783 cursors held by the LyXText when a double space has been
9786 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9788 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9790 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9792 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9793 background. Use greyOut() and the new show() methods to toggle between
9794 the foreground and background. Add code to remove the splash after
9795 its initial showing.
9797 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9798 (create_forms): no longer call Dialogs::showSplash.
9800 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9802 * .cvsignore: add version_info.h
9804 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9806 * version_info.h.in: new file
9808 * Makefile.am: add version_info.h.in
9810 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9811 version_info.h instead of VERSION_INFO
9813 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9815 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9816 The ERT inset now returns string().
9818 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9820 * lyxtext.h, text.C (selectNextWord): renamed as
9821 selectNextWordToSpellcheck.
9823 * text.C (selectNextWordToSpellcheck): Modified to not select
9824 words inside an ERT inset.
9826 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9828 * lyx_cb.C (MenuLayoutSave): change a bit the question
9830 * sp_base.h: include <sys/types.h>
9832 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9834 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9836 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9838 * several files: fix typos in user-visible strings
9840 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9842 * text2.C (pasteSelection): do not set the selection, since it
9843 will be cleared later. Actually, the intent was to fix the way the
9844 selection was set, but I figured rmoving the code was just as good.
9846 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9848 * FontLoader.C (available): Check if font is available without
9851 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9853 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9855 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9857 * lyxrc.[Ch]: added display_graphics variable and associated code.
9859 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9861 * bufferparams.C (hasClassDefaults): new method. Returns true if
9862 the buffer parameters correspond to known class defaults
9864 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9866 * XFormsView.C (show): set minimum size to the main window.
9868 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9870 * text2.C (copySelection):
9872 * lyxfind.C (LyXReplace):
9873 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9874 LyXText::selectionAsString.
9876 * paragraph.C (asString): add "label" argument to the second form
9878 * text2.C (selectionAsString): add "label" argument and pass it to
9879 Paragraph::asString.
9881 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9883 * lyx_main.C (commandLineHelp): remove version information
9885 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9887 * lyx_main.C: add -version commandline option
9889 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9891 * paragraph.h: make the optional constructor arg required instead.
9892 some modifications to other files because of this.
9894 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9896 * lyxserver.C (C_LyXComm_callback): make it static
9898 * lyx_main.C (error_handler): make it static
9900 * lyx_gui.C (LyX_XErrHandler): make it static
9902 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9904 * WorkArea.C: make the extern "C" methods static.
9906 * Makefile.am (lyx_LDADD): simplify
9908 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9910 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9911 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9913 * LyXAction.C (init):
9914 * lyxfunc.C (dispatch): associated code removal.
9916 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9918 * lyxfont.h (isSymbolFont): shut off warning
9920 * text.C (setHeightOfRow):
9921 (getVisibleRow): fix crash with empty paragraphs which have a
9924 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9926 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9929 2001-09-04 José Matos <jamatos@fep.up.pt>
9932 * tabular.C (docbook): rename docBook method to docbook.
9934 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9936 * Makefile.am: add dependencies to main.o.
9938 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9940 * FontLoader.C (available): Return false if !lyxrc.use_gui
9942 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9944 * FontInfo.C (query):
9945 * converter.C (view):
9946 * importer.C (Import):
9947 * exporter.C (Export): Can not -> cannot.
9949 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9951 * BufferView_pimpl.C: allow to create index inset even if
9954 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9956 * buffer.C (getLists): replace boost::tie code with an explicit pair
9957 as boost::tie can break some compilers.
9959 * iterators.h: Added a std:: declaration to the return type of
9962 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9964 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9967 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9969 * iterators.[Ch]: New files. Provide paragraph iterators.
9971 * buffer.C (changeLanguage): Use paragraph iterators.
9972 (isMultiLingual): ditto
9974 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9976 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9978 * FontLoader.C: Support for cmr font.
9980 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9982 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9983 (available): New method.
9985 * FontInfo.C (getFontname): Use scalable fonts even when
9986 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9989 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9991 * converter.C (Formats::view): reverted! Incorrect fix.
9993 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9995 * converter.C (Formats::view): only output the -paper option
9996 if the dvi viewer is xdvi, thereby fixing bug #233429.
9998 2001-08-23 Herbert Voss <voss@perce>
10000 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10002 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10004 * Spacing.h (Spacing): Set space to Default on in the default
10007 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10009 * vc-backend.h (RCS::versionString): add RCS to version
10010 (CVS::versionString): add CVS to version
10012 * vc-backend.C (scanMaster): do not add CVS to version.
10013 (scanMaster): do not add RCS to version
10015 * lyxvc.C (versionString): new method
10017 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10019 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10021 * Spacing.C (set): initialize fval
10023 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10025 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10028 2001-08-16 Juergen Vigna <jug@sad.it>
10030 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10032 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10034 * BufferView_pimpl.C:
10037 * text2.C: setParagraph takes linespacing now
10039 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10041 * LyxAction.C: add internal LFUN_CITATION_INSERT
10043 * LyXView.C: actually apply fix
10045 * bufferlist.C: fix open non-existent file
10047 * lyxfind.C: fix indentation
10049 * lyxfunc.C: remove unneeded assert, fix typo
10051 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10053 * MenuBackend.C: use "Floatname List"
10055 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10057 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10058 when converting LaTeX layout to insetERT.
10059 Generate a non-collapsed float when reading old float
10061 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10063 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10066 2001-08-13 Juergen Vigna <jug@sad.it>
10068 * text.C (fill): return 0 instead of 20 as this seems to be the more
10071 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10073 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10076 2001-08-13 Juergen Vigna <jug@sad.it>
10078 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10080 (SearchBackward): comment out the unlocking of the inset_owner this
10081 should not be needed!
10083 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10085 * Many files: Remove inherit_language, and add latex_language
10087 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10088 collapsible insets.
10090 2001-08-10 Juergen Vigna <jug@sad.it>
10092 * text.C (prepareToPrint): fixed hfill-width in draw!
10094 * BufferView2.C (selectLastWord): save the selection cursor as this
10095 now is cleared in the function LyXText::clearSelection!
10097 2001-08-08 Juergen Vigna <jug@sad.it>
10099 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10100 BACKSPACE type functions.
10102 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10103 is only cutted from the document but not put in the cut-buffer, where
10104 still the old stuff should be.
10106 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10108 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10110 * tabular.C (SetWidthOfCell): fixed special case where the width
10112 (LeftLine): handle '|' in align_special.
10114 (LeftAlreadyDrawed): ditto
10115 (SetWidthOfCell): ditto
10117 2001-08-07 Juergen Vigna <jug@sad.it>
10119 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10121 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10123 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10124 * lyxlex.[hC]: ditto
10126 2001-08-06 Juergen Vigna <jug@sad.it>
10128 * text.C (getVisibleRow): fix up row clearing a bit.
10130 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10132 * minibuffer.C: make sure the X server sees the changes in the input.
10134 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10136 * paragraph.C (getFont): split into...
10137 (getLabelFont): this
10138 (getLayoutFont): and this
10139 * paragraph_pimpl.C (realizeFont): calling this
10141 * text2.C (getFont): split into...
10142 (getLayoutFont): this
10143 (getLabelFont): and this
10144 (realizeFont): all three calling this
10146 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10149 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10151 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10153 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10155 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10156 layouts from the Quote inset insertion.
10158 2001-08-03 Juergen Vigna <jug@sad.it>
10160 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10162 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10163 only if status not is already CHANGED_IN_DRAW (second level).
10165 * text.C (draw): don't set the need_break_row when inside an
10168 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10170 * buffer.C (parseSingleLyXformat2Token): handle more latex
10173 * bufferview_funcs.[hC]: change function names to
10174 begin with small char, adjust other files.
10176 2001-08-02 André Pönitz <poenitz@gmx.net>
10179 BufferView_pimpl.C: remove broken special code for math-greek
10181 2001-08-02 Juergen Vigna <jug@sad.it>
10183 * BufferView_pimpl.C (update): redone this function so that we
10184 update the text again if there was a CHANGE_IN_DRAW.
10186 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10187 (drawFromTo): added a new internal bool which is used by draw() and
10189 (general): some cursor drawing problems fixed.
10191 2001-08-01 Juergen Vigna <jug@sad.it>
10193 * lyxfind.C (LyXFind): fixed
10194 (SearchForward): ditto
10195 (SearchBackward): ditto
10197 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10198 spurius drawing of the cursor in the main area.
10200 * text2.C (status): small fix which could lead to a segfault!
10201 (clearSelection): remove unneeded BufferView param.
10203 2001-08-01 André Pönitz <poenitz@gmx.net>
10205 * lyxfunc.C: small change due to changed mathed interface
10207 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10209 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10211 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10213 * lyxfunc.c: fail gracefully if file doesn't exist
10218 * BufferView_pimpl.C: IsDirWriteable() proto changed
10220 * LyXView.C: fix updateWindowTitle() to store the last title
10222 2001-07-31 Juergen Vigna <jug@sad.it>
10224 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10225 the font (wrong since using of Paragraph::highestFontInRange).
10227 * paragraph.C (highestFontInRange): added a default_size parameter.
10229 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10230 (setHeightOfRow): reformat
10232 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10234 * converter.[hC] + affected files: move to (inital-char)lowercase
10237 * ParagraphParameters.C (ParagraphParameters): remove commented code
10239 * PainterBase.[Ch]: remove commented code
10241 * LaTeXFeatures.h: add "bool floats" for float.sty
10243 * LaTeXFeatures.C (LaTeXFeatures): init floats
10244 (require): handle float
10245 (getPackages): do it with floats
10247 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10249 * BufferView_pimpl.C (Dispatch): improve handling of
10250 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10252 * commandtags.h: #include lyxfont.h here temporarily to avoid
10255 * bufferlist.h: include LString.h here.
10257 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10259 * text2.C (getStringToIndex): new method.
10261 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10263 * *: Reduced header file dependencies all over.
10265 2001-07-30 Baruch Even <baruch@lyx.org>
10267 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10269 2001-07-29 Baruch Even <baruch@lyx.org>
10271 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10273 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10275 * ParameterStruct.h (endif): add a default constructor to make
10276 sure that all variables is initialized.
10278 * ParagraphParameters.C (ParagraphParameters): adjust
10280 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10282 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10283 index; also, check that there is something to index, and that it
10284 does not span over several paragraphs.
10285 (doubleClick): use WHOLE_WORD_STRICT for double click.
10287 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10289 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10292 2001-07-26 Baruch Even <baruch@lyx.org>
10294 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10295 an InsetFig figure, backwards compatible reading of old figure code.
10297 2001-07-27 Juergen Vigna <jug@sad.it>
10299 * text2.C: font.realize function adaption.
10301 * text.C (draw): add a warnings lyxerr text if needed.
10303 * layout.C: font.realize function adaption.
10305 * language.C: add inherit_language and implement it's handlings
10307 * bufferview_funcs.C (StyleReset): remove language parameter from
10308 font creation (should be language_inherit now).
10310 * bufferparams.C (writeFile): handle ignore_language.
10312 * paragraph.C (getFontSettings): the language has to be resolved
10313 otherwise we have problems in LyXFont!
10315 * lyxfont.C (lyxWriteChanges): added document_language parameter
10316 (update): removed unneeded language parameter
10318 * paragraph.C (validate): fixed wrong output of color-package when
10319 using interface colors for certain fonts in certain environments,
10320 which should not seen as that on the final output.
10322 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10324 * BufferView_pimpl.C:
10329 * LyXAction.C: add thesaurus support
10332 * lyxfind.C: add "once" parameter, for thesaurus, to not
10333 move to the next match
10335 2001-07-26 Juergen Vigna <jug@sad.it>
10337 * lyxfont.C (realize): honor ignore_language too!
10340 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10342 * text.C (draw): one place more for ignore_language to not draw
10345 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10347 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10349 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10351 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10352 the minipage conversion problem.
10354 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10356 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10359 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10361 * BufferView.h: don't forward declare WorkArea
10363 * BufferView.C: don't include WorkArea.h
10365 2001-07-25 André Pönitz <poenitz@gmx.net>
10369 * lyxfunc.C: new LFUN 'math-space'
10371 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10373 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10375 * text2.C (toggleInset): call open/close
10377 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10379 * lyxfunc.C (dispatch): add debug for the disabled case
10381 * font.C (buttonText): make similar to rectText
10383 * buffer.C (readInset): comment out parsing of insetlist and
10386 * PainterBase.C (rectText): small correction
10388 * BufferView_pimpl.C: comment out insettheorem and insetlist
10389 * LyXAction.C: ditto
10390 * commandtags.h: ditto
10392 2001-07-24 Juergen Vigna <jug@sad.it>
10394 * text.C (draw): honor the ignore_language.
10396 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10398 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10400 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10403 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10405 * lyxtext.h: remove unused (and unimplemented) methods
10407 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10409 * text.C (getVisibleRow): honor background color
10412 * Painter.h: remove default color argument for fillRectangle
10414 * text.C (backgroundColor): new method
10416 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10418 * text.C (getVisibleRow): adjust
10420 * font.[Ch] (rectText): new method, metrics
10421 (buttonText): new method, metrics
10423 * PainterBase.[hC]: make rectText and buttonText always draw and take
10426 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10428 * ToolbarDefaults.C (read):
10429 * MenuBackend.C (read): allow escaping in all strings
10431 * BufferView_pimpl.C (insertAndEditInset): new method.
10432 (Dispatch): use insertAndEditInset whenever appropriate.
10434 * BufferView_pimpl.C (insertNote): removed
10436 * BufferView_pimpl.C (smartQuote): new method, moved from
10437 BufferView; if an insetquote cannot be inserted, insert a '"'
10440 * BufferView2.C: remove insertCorrectQuote();
10442 * lyxfunc.C (getStatus): Add support for all remaingin
10443 inset-insert lfuns.
10445 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10447 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10448 command (necessary to pass " as parameter of self-insert.
10450 * text.C (selectWordWhenUnderCursor):
10451 (selectWord): add word_location parameter
10452 (selectWordWhenUnderCursor): same + remove special code for word
10454 (selectNextWord): use kind() to guess type of insetspecialchar,
10457 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10458 (insertErtContents): create ert insets as collapsed.
10459 (readInset): better compatibility code for Info inset.
10461 2001-07-20 Juergen Vigna <jug@sad.it>
10463 * lyxfunc.C (dispatch): use always LyXFind now!
10465 * text2.C (init): add a reinit flag so that the LyXText can be
10466 reinited instead of deleted and reallocated (used in InsetText).
10468 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10474 2001-07-18 Juergen Vigna <jug@sad.it>
10476 * text.C (selectNextWord): handle insets inside inset by calling
10477 always the bv->text functions so that we can go up the_locking_inset!
10479 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10480 in strange locations when inside an inset!
10482 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10483 handling to include insets.
10485 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10487 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10489 * LyXAction.C (init):
10491 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10492 LIGATURE_BREAK, since the name is so stupid.
10494 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10496 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10499 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10501 * sp_form.[Ch]: remove.
10503 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10505 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10508 * src/buffer.C (readInset): ditto.
10510 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10512 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10513 menuSeparator(), endOfSentenceDot(), ldots() and
10514 hyphenationPoint(), which are therefore removed.
10515 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10517 * LyXAction.C (init):
10518 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10520 * paragraph.C (getWord): removed.
10522 * BufferView_pimpl.C (Dispatch): use last word or selection for
10523 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10525 * lyx_main.C (queryUserLyXDir): do not ask before creating
10526 user_dir, except if it has been named explicitely.
10528 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10530 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10531 a document of zero size.
10533 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10535 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10536 approriately in the c-tor and in require().
10537 (getPackages): output the appropriate LaTeX for natbib support.
10539 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10540 variables "use_natbib" and "use_numerical_citations" when reading the
10542 (readInset): read the various natbib cite commands.
10543 (validate): white-space change.
10545 * bufferparams.[Ch]: new variables "bool use_natbib" and
10546 "bool use_numerical_citations".
10547 (writeFile): output them in the LyX file.
10549 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10551 * lyxfunc.C (getStatus): add support for all the inset insertion
10554 * text2.C (insertInset):
10555 * paragraph.C (insetAllowed):
10556 * BufferView_pimpl.C (insertInset): update to take in account the
10557 renaming of insertInsetAllowed
10559 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10561 * text2.C (getInset): new method. returns inset at cursor position.
10563 * BufferView_pimpl.C (Dispatch): changes because of this.
10565 * LyXAction.C (init): rename open-stuff to inset-toggle.
10567 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10569 * text2.C (toggleInset): renamed from openStuff; use
10572 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10574 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10576 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10578 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10580 * buffer.C (readLyXformat2): Add filename to the error dialog
10582 2001-07-18 Juergen Vigna <jug@sad.it>
10584 * tabular.C (GetCellNumber): put an assert here instead of the check!
10586 2001-07-17 Juergen Vigna <jug@sad.it>
10588 * BufferView_pimpl.C (toggleSelection): adapted too.
10590 * text.C (selectNextWord): adapted for use with insets.
10591 (selectSelectedWord): ditto
10593 2001-07-17 Juergen Vigna <jug@sad.it>
10595 * sp_spell.C (PSpell): fix initialitation order.
10597 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10599 * paragraph.C: spacing
10601 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10603 * sp_spell.C: repair language selection for pspell
10605 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10607 * lyxfunc.h: change more methods to begin with lower char.
10609 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10611 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10612 for unknown layouts.
10614 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10616 * buffer.C (readLyXformat2): Generate an error dialog if there are
10619 2001-07-16 Juergen Vigna <jug@sad.it>
10621 * sp_spell.C: always compile ISpell part.
10623 * lyxrc.C: added use_pspell entry and it's handling.
10625 2001-07-13 Juergen Vigna <jug@sad.it>
10627 * sp_spell.C: removed double includes.
10629 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10631 Consistent use of Lsstream.h:
10632 * Lsstream.h: added using std::stringstream for consistencies sake.
10634 * buffer.C: removed using std::stringstream
10636 * lyxfont.C (stateText):
10637 * paragraph.C (asString):
10638 * text.C (selectNextWord, selectSelectedWord):
10639 * text2.C (setCounter):
10640 * vspace.C (asString, asLatexString):
10641 std::ostringstream -> ostringstream.
10643 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10645 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10646 * commandtags.h: add LFUN_HELP_ABOUTLYX
10647 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10649 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10651 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10653 * lyx_gui_misc.C: remove spellchecker
10654 * lyxfunc.C: showSpellchecker
10656 * sp_ispell.h: added
10657 * sp_pspell.h: added
10658 * sp_spell.C: added
10659 * sp_form.[Ch]: removed
10660 * spellchecker.[Ch]: removed
10662 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10664 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10666 (simpleTeXSpecialChars): Simply print the input character without
10667 any special translation if pass_thru is set.
10669 * layout.h: Added bool pass_thru to layout class for being able to
10670 implement pass through of a paragraph for Literate Programming.
10672 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10673 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10674 * layout.C (Read): add "passthru" to list of layout tags and add
10675 code to set the pass_thru boolean when it is read.
10677 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10679 * trans_decl.h: remove allowed from KmodInfo
10681 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10682 remove allowed code
10685 * paragraph_pimpl.C (erase): use boost::prior
10687 * Painter.C (text): use data() instead of c_str() when length is
10689 * WorkArea.C (putClipboard): ditto
10690 * font.h (width): ditto
10692 * BufferView2.C: use it-> instead of (*it). for iterators
10694 * paragraph_pimpl.C: ditto
10695 * paragraph.C: ditto
10696 * minibuffer.C: ditto
10697 * language.C: ditto
10699 * encoding.C: ditto
10700 * counters.C: ditto
10701 * converter.C: ditto
10703 * Variables.C: ditto
10704 * TextCache.C: ditto
10705 * MenuBackend.C: ditto
10706 * LyXAction.C: ditto
10708 * FloatList.C: ditto
10709 * DepTable.C: ditto
10710 * ColorHandler.C (LyXColorHandler): ditto
10712 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10714 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10716 * text2.C (openStuff): reintroduce this method (which had been
10717 nuked in NEW_INSETS frenzy).
10719 * lyxfunc.C (Dispatch): when an action has not been handled, use
10720 its name in the error message, not its number.
10722 * paragraph.C (inInset): change method name to begin with lowercase.
10725 * text2.C: updates because of this.
10727 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10729 * ToolbarDefaults.C (add): add spaces in error message
10731 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10733 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10734 (readLyXformat2): rename return_par to first_par, use lyxlex's
10735 pushToken and remove the manual push handling.
10736 (parseSingleLyXformat2Token): add another ert comp. variable:
10737 in_tabular, rename return_par to first_par. handle newlines better
10739 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10741 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10743 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10745 * text2.C (getParFromID): removed
10747 * buffer.C (getParFromID): new method moved form lyxtext.
10748 * BufferView2.C (insertErrors): adjust
10749 (setCursorFromRow): adjust
10750 * BufferView_pimpl.C (restorePosition): adjust
10751 * lyxfunc.C (Dispatch): adjust
10752 * undo_funcs.C (textUndo): adjust
10754 (textHandleUndo): adjust
10755 (textHandleUndo): adjust
10757 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10759 * buffer.C: up' the LYX_FORMAT
10761 * lyxfont.h: turn NO_LATEX on as default
10763 * buffer.C (insertErtContents): new methods of tex style compability.
10764 (parseSingleLyXformat2Token): use it several places.
10765 * tabular.C (OldFormatRead): and here
10767 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10769 * text2.C: remove some commented code.
10772 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10773 * trans.C: changes because of the above.
10775 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10777 * text2.C (setCounter): Fix counters bug with bibliography layout.
10779 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10781 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10782 own member functions
10783 (simpleTeXSpecialChars): ditto
10785 2001-07-06 Juergen Vigna <jug@sad.it>
10787 * a lot of files: changed the access to LyXText::status and the
10788 call of undo-functions.
10790 * undo.[Ch]: added a inset_id to the undo informations.
10792 * undo_funcs.[Ch]: added and moved here all undo functions.
10794 * lyxtext.h: give the status enum a weight, made status_ a private
10795 variable and made accessor functions for it, removed the whole bunch
10796 of undo-functions as they are now in their own file, make some
10797 functions publically available. Added function ownerParagraph with
10800 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10801 made InInset() a const function, added getParFromID() function.
10803 * buffer.[Ch]: added const version for inset_iterator functions,
10804 added getInsetFromID() function.
10806 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10807 changed undo functions for new version.
10809 2001-07-05 Juergen Vigna <jug@sad.it>
10811 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10812 unknow mechanism does not call the proper constructor but only this
10813 one also if I request the other!?
10815 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10817 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10819 * text2.C (LyXText): use initialization lists.
10821 * lyxtext.h (Selection): initialize set_ and mark_
10822 (init): remove method
10824 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10826 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10828 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10830 * screen.[Ch]: change method names to begin with lowercase
10832 * BufferView_pimpl.C (updateScrollbar): simplify further and
10833 hopefully make it a bit faster.
10835 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10837 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10838 calling directly xforms functions.
10840 * Painter.C (Painter):
10841 * lyx_cb.C (MenuWrite):
10842 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10845 * lyx_gui.C: remove bogus guiruntime extern declaration.
10847 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10849 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10851 (redoDrawingOfParagraph): ditto
10852 (redoParagraphs): ditto
10853 (cutSelection): don't create a object for CutAndPaste use the
10854 static method directly
10855 (pasteSelection): ditto
10857 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10860 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10862 * modifications to some other files because of this.
10864 * Makefile.am (lyx_SOURCES): add XFormsView
10866 * XFormsView.[Ch]: new files
10868 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10869 the main window. Move the gui dependent stuff to XFormsView
10871 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10873 * tabular.C (GetCellInset): update cur_cell also in the row/col
10874 version of this function.
10876 * lyxfunc.C: no need to include figure_form.h here.
10882 * lyxvc.C: no need to include forms.h here.
10884 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10886 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10888 * lyxfunc.C (Dispatch):
10890 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10891 constructor argument.
10893 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10895 * paragraph.C (Paragraph): dont't clear, and just set layout.
10896 (makeSameLayout): use params's copy contructor.
10898 * ParagraphParameters.[Ch] (makeSame): delete method
10900 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10902 * Variables.[Ch]: fix indentation, rename set to isSet
10904 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10906 * lyxfunc.C (Dispatch): fix typo
10908 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10910 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10913 * bufferlist.C: include assert.h for emergencyWrite().
10915 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10917 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10918 give up at last (bug #425202) !
10920 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10926 * spellchecker.C: strip spellchecker options and bring up
10927 preferences tab instead
10929 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10931 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10932 the istringstream constructor
10934 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10936 * paragraph.C (getLayout): fix return value
10938 * paragraph.h: do not declare getLayout as inline.
10940 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10942 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10944 * lyxcursor.h (operator<): new func
10945 (operator>): new func
10946 (operator>=): new func
10947 (operator<=): new func
10949 * text.C (changeCase): use selection.start and selection.end
10950 (changeRegionCase): require from to be <= to. Require par to be a
10953 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10955 2001-06-27 Juergen Vigna <jug@sad.it>
10957 * text.C (cursorLeftOneWord): changed to return the cursor and added
10958 overlay with BufferView * parameter which calls this one.
10960 (selectWord): use new getWord function.
10961 (changeCase): renamed from changeWordCase as and extended to work
10962 also on selections.
10964 * lyxtext.h: added enum word_location
10966 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10967 changeCase as this operates now also on selections.
10969 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10971 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10973 * many files: send debug output to Debug::INFO instead of
10976 * converter.C (View):
10978 (Move): send debug output to Debug::FILES instead of console.
10980 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10982 * lyxfunc.C (getStatus): use func_status
10984 * func_status.h: new header, describing the results of
10985 LyXFunc::getStatus;
10987 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10990 2001-06-25 The LyX Project <jug@sad.it>
10992 * buffer.C (sgmlOpenTag):
10994 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10996 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10998 * text2.C: remove some dead code
11000 * tabular.C (GetCellInset): store the last cell checked (gotten)
11002 * tabular.h: add the helper for the speedup
11004 * lyxtext.h: remove some dead code
11006 2001-06-26 The LyX Project <Asger>
11008 * paragraph.C: Change export to LaTeX of alignment to
11009 \begin{center} and family for better roundtrip work with reLyX.
11011 * Tune the math drawing a bit.
11013 2001-06-25 The LyX Project <Asger>
11015 * LColor.C (LColor): New color for math background. New color
11018 2001-06-25 The LyX Project <jug@sad.it>
11020 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11022 * lyxfunc.C (Open):
11023 * bufferlist.C (newFile): do not restrict to files ending with
11026 * BufferView_pimpl.C (MenuInsertLyXFile):
11028 2001-06-24 The LyX Project <jug@sad.it>
11030 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11033 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11035 * lyxtext.h: rename most methods to begin with a small char.
11036 Lots of changes because of this.
11038 * paragraph.C (Paragraph): do not call fitToSize
11039 (erase): call Pimpl::erase
11040 (insertChar): call Pimpl::insertChar
11041 (insertInset): call Pipl::insertInset
11042 (breakParagraph): do not call fitToSize
11043 (breakParagraphConservative): do not call fitToSize
11044 (fitToSize): remove method
11046 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11048 2001-06-24 The LyX Project <Asger>
11050 * Fix Qt compilation^2
11052 2001-06-24 The LyX Project <jug@sad.it>
11054 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11055 depthHook(getDepth()-1).
11058 * ParagraphParameters.h:
11059 * ParameterStruct.h: change type of depth to unsigned int ==
11060 depth_type. Many adaptations to other files before of that.
11062 2001-06-24 The LyX Project <Asger>
11064 * Fix Qt compilation.
11066 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11068 * paragraph.h: renamed several methods to begin with small letter.
11069 several changes to many parts of the code because of this.
11071 2001-06-23 The LyX Project <jug@sad.it>
11073 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11074 rewritten to discard all double spaces when KeepEmpty is off
11075 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11076 to only handle newlines but not fiddle with spaces and friends.
11078 * lyxfunc.C (MenuNew): when doing 'new from template', use
11079 template_path as default directory
11081 2001-06-23 The LyX Project <Asger>
11083 * Clean-up of header file includes all over
11084 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11086 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11088 * paragraph.h: renamed from lyxparagraph.h
11090 2001-06-23 Asger <lyx@violet.home.sad.it>
11092 * Buffer.h: Removed Buffer::resize
11093 * BufferList.h: Removed BufferList::resize
11094 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11095 the document lazily when we change the width, or the font settings.
11097 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11099 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11101 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11103 * buffer.h: remove out of date comment
11105 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11108 * screen.C: fix "theoretical" GC leak
11110 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11112 * LaTeX.C (scanAuxFile):
11113 (deplog): remove trailing \r when reading stream (useful under
11116 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11118 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11119 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11120 and BufferView::theLockingInset(Inset*), so should use them and not
11121 access bv_->text->the_locking_inset directly.
11123 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11125 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11128 * tex-defs.h: remove old unused file
11130 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11132 * BufferView_pimpl.C: fix typo, remove minibuffer message
11133 when buffer has loaded
11135 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11137 * lyxfunc.C (Dispatch): use stringstream
11138 (MenuNew): use stringstream
11139 (Open): use stringstream
11141 * importer.C (Import): use stringstream
11143 * bufferview_funcs.C (CurrentState): use stringstream
11145 * LaTeX.C (run): use stringstream
11147 * BufferView_pimpl.C (savePosition): use stringstream
11148 (restorePosition): use stringstream
11149 (MenuInsertLyXFile): use stringstream
11151 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11164 * vspace.C: removed // -*- C++ -*- as first line.
11167 * version.h: added // -*- C++ -*- as first line.
11169 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11171 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11173 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11176 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11178 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11181 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11183 * gettext.C: include LString.h even when --disable-nls is on.
11185 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11187 * converter.h (Get): changed argument type from int to
11188 FormatList::size_type to avoid unnecessary conversion.
11190 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11193 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11195 * gettext.h: include LString.h even when --disable-nls is on.
11197 2001-06-07 Juergen Vigna <jug@sad.it>
11199 * text.C (BreakAgain): subst spaces with tabs.
11201 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11202 (resizeInsetsLyXText): set force on resizeLyXText.
11204 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11206 * gettext.h (gettext_init):
11207 (locale_init): use a real definition instead of a macro
11209 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11211 * Bufferview_pimpl.C:
11213 * LColor.C: further lcolor tidies
11215 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11217 * BufferView_pimpl.C (updateScrollbar): simplify.
11219 * BufferView2.C: don't include insets/insetinfo.h, change
11220 prototype for insertInset and call the Pimpl version. let
11221 updateInset call Pimpl version.
11223 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11224 gotoInset to BufferView::Pimpl
11226 2001-06-01 Juergen Vigna <jug@sad.it>
11228 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11229 inside a LockingInset (is the update needed at all?).
11231 2001-05-31 Juergen Vigna <jug@sad.it>
11233 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11234 here not the old one otherwise how should we compare it afterwards
11237 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11242 * FontInfo.C: bring C functions into global namespace when
11245 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11247 * LString.h: make sure config.h has been loaded before LString.h.
11249 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11250 (one for each char read by EatLine!).
11252 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11255 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11257 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11258 to the same as the par we break from
11260 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11262 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11264 * MenuBackend.C (expand): also create menu entries for wide
11265 versions of the floats.
11267 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11269 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11271 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11272 frontends/Makefile.am
11278 * tabular.C (getTokenValue): add std::
11280 * tabular-old.C (getTokenValue): add std::
11281 (getTokenValue): ditto
11282 (getTokenValue): ditto
11284 * screen.C (ToggleSelection): adjust
11286 * lyxtext.h: put selection cursors inside a Selection struct.
11288 * lyxfunc.C (moveCursorUpdate): adjust
11290 * lyxfont.C (latexWriteStartChanges): add std::
11292 * lyxfind.C: adjust
11294 * font.h: delete with(char const *, LyXFont const &)
11296 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11298 * FontInfo.C (getFontname): add std::
11300 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11301 (workAreaButtonPress): adjust
11302 (tripleClick): adjust
11304 (moveCursorUpdate): adjust
11307 * BufferView2.C (gotoInset): adjust
11309 2001-05-30 Juergen Vigna <jug@sad.it>
11311 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11312 to check pspell I add this as default as I now have new pspell
11313 libraries and they seem to use this.
11315 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11317 * text2.C (CutSelection): make the cursor valid before the call to
11320 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11322 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11323 relied on 0 terminated strings and other horrors. Bug found due to
11324 the new assert in lyxstring!
11326 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11329 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11331 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11334 * lyxfunc.C (processKeySym): change method of getting to the
11337 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11338 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11339 * BufferView_pimpl.[Ch]: here as private methods.
11341 2001-05-28 Juergen Vigna <jug@sad.it>
11343 * text.C (SetHeightOfRow): added the update() call again as it is
11344 needed to initialize inset dimensions!
11346 2001-05-16 Juergen Vigna <jug@sad.it>
11348 * text2.C (SetCharFont): Add new function with BufferView * and
11349 bool toggleall parameters for setting insets internal fonts.
11350 (SetFont): Freeze the undo as we may change fonts in Insets and
11351 all this change should be inside only one Undo!
11353 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11354 setting font's in insets as for them we have the SetFont function!
11356 2001-05-15 Juergen Vigna <jug@sad.it>
11358 * text2.C (ClearSelection): to be sure we REALLY don't have any
11361 * tabular.C (TeXCellPreamble): fixed the left border problem for
11364 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11366 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11369 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11371 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11372 LFUN_BREAKPARAGRAPH.
11374 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11375 help test to "internal only", similar for LFUN_INSERT_URL
11377 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11378 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11379 auto_region_delete and deadkeys.
11381 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11384 * LColor.C: remove some dead entries, tidy a little
11386 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11388 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11390 (Dispatch): implement LFUN_ESCAPE
11392 * commandtags.h: add LFUN_ESCAPE
11394 * LyXAction.C (init): add entry for LFUN_ESCAPE
11396 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11397 Remove commented code.
11398 (insertNote): moved here
11399 (open_new_inset): moved here
11401 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11404 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11406 * kbmap.C (findbinding): clean it up and make it work correctly.
11408 * lyx_main.C (init): do not pass argc and argv as parameters
11410 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11412 * buffer.C: fix path for OS/2 & Win32
11416 * lyx_main.C: Added os:: class.
11418 * os2_defines.h: update
11420 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11422 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11423 better by trying again with reduced state.
11425 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11427 * lyxrc.C (read): print error about invalid key sequence only when
11428 debugging (because not all latinX keysyms are known to some X
11431 * kbsequence.C (getiso): add a few std:: qualifiers
11432 (getiso): comment out extra return statement.
11434 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11436 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11438 (Dispatch): enhance the accent inset a bit. (not perfect)
11440 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11442 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11444 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11446 * bufferlist.C (emergencyWrite): fix assert() call
11448 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11450 * text.C (InsertChar): Added trivial patch to only send the "you
11451 can not do multiple spaces this way" message once during a
11454 2001-05-08 Baruch Even <baruch@lyx.org>
11456 * Makefile.am: Changed order of libraries to get LyX to link properly
11457 with the gnome frontend.
11459 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11461 * LaTeXFeatures.h: add a std:: qualifier
11463 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11465 * paragraph.C (String): use stringstream
11467 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11469 * paragraph.C (writeFile): remove footflag arg
11471 * buffer.C (makeLaTeXFile): use stringstream
11472 (latexParagraphs): remove footnot gurba
11474 * LaTeXFeatures.C (getPackages): use stringstream
11475 (getMacros): likewise
11476 (getTClassPreamble): likewise
11477 (getFloatDefinitions): new method
11479 * paragraph.C (writeFile): reindent
11482 * WorkArea.h: revert the xpos + etc changes.
11484 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11486 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11488 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11489 (pasteSelection): likewise
11490 * text2.C (CreateUndo): likewise
11492 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11494 * minibuffer.C (peek_event): temporarily reduce the functionality
11495 of the minibuffer (to allow args on lfuns)
11497 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11498 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11500 * buffer.C (readInset): add compability reading of old float
11501 lists, add reading of new style float list.
11502 (readInset): avoid reevaluation of inscmd.getCmdName()
11503 (getLists): reindent
11505 * MenuBackend.C (MenuItem): implement parsing of
11506 md_floatlistinsert and md_floatinsert.
11507 (expand::LastFiles): move initalizaton of iterators out of loop,
11508 avoid reevaluation.
11509 (expand::Documents): introduce typdedef vector<string> Strings,
11511 (expand::ExportFormats): introduce typedef vector<Format const *>
11512 Formats, and use it.
11513 (expand): implement FloatListInsert and FloatInsert.
11515 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11516 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11517 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11519 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11521 (Dispatch::LFUN_FLOAT_LIST): implement
11523 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11525 * LaTeX.C (run): Fix problem with --export code.
11527 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11529 * BufferView.[Ch] (workarea): removed.
11530 (getClipboard) new method; wrapper for workarea()->getClipboard()
11532 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11535 * WorkArea.h (width, height, xpos, ypos): These methods all
11536 returned the dimensions of the work_area sub-area of WorkArea,
11537 resulting in a position error if the WorkArea were resized. Now
11538 return the dimensions of the entire WorkArea.
11540 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11542 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11544 * LaTeX.C (deplog): correct the syntax of regex reg1
11546 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11548 * undo.C: remove !NEW_INSETS cruft
11550 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11552 * text2.C: remove !NEW_INSETS cruft
11554 * text.C: remove !NEW_INSETS cruft
11556 * tabular.C: remove !NEW_INSETS cruft
11558 * spellchecker.C: remove !NEW_INSETS cruft
11560 * lyxtext.h: remove !NEW_INSETS cruft
11562 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11564 * lyxfunc.C: remove !NEW_INSETS cruft
11566 * lyxfind.C: remove !NEW_INSETS cruft
11568 * lyx_cb.C: remove !NEW_INSETS cruft
11570 * figureForm.C: remove !NEW_INSETS cruft
11572 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11574 * buffer.[Ch]: remove !NEW_INSETS cruft
11576 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11578 * CutAndPaste.C: remove !NEW_INSETS cruft
11580 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11582 * BufferView2.C: remove !NEW_INSETS cruft
11584 * BufferView.h: remove !NEW_INSETS cruft
11586 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11588 * Lsstream.h: include LString.h before the sstream headers to
11589 fix problem with gcc 2.95.3 and lyxstring
11591 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11593 * lyx_main.C: add using directives when needed for C functions
11594 declared in std:: namespace.
11596 2001-04-27 Juergen Vigna <jug@sad.it>
11598 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11599 (SetHeightOfRow): comment out the update call should not be needed!
11601 2001-04-13 Juergen Vigna <jug@sad.it>
11603 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11604 (LyXTabular): tried to minimize operator= operations (and realized
11605 hopfully Lars wish).
11607 2001-04-27 Juergen Vigna <jug@sad.it>
11609 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11611 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11613 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11615 * buffer.C (readInset): hack to make listof algorithm work
11617 * BufferView_pimpl.C: hack to make listof algorithm work
11619 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11621 * LyXAction.C: removed all !NEW_INSETS cruft
11622 (init): moved lfun_item in method
11624 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11626 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11628 * BufferView2.C (theLockingInset): white space.
11630 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11632 * minibuffer.C: include <iostream>
11634 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11636 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11638 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11640 * text.[Ch] (TransposeChars): new method
11642 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11644 * call message directly through LyXView instead of through LyXFunc
11645 * BufferView2.C: adjust
11646 * BufferView_pimpl.C: adjust
11647 * FontLoader.C: adjust
11649 * bufferview_funcs.C: adjust
11650 * converter.C: adjust
11651 * figureForm.C: adjust
11652 * importer.C: adjust
11654 * lyx_gui_misc.C: adjust
11655 * lyxfunc.C: adjust
11658 + more files in subdirs
11660 * lyxparagraph.h (size): move up int file
11663 * adjust all uses of Assert to lyx::Assert.
11665 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11666 lyxfunctional in namespace lyx
11667 * layout.C (hasLayout): ditto
11670 (delete_layout): ditto
11671 (NumberOfClass): ditto
11672 * converter.C (GetFormat): ditto
11677 * bufferlist.C (getFileNames): ditto
11678 (emergencyWriteAll): ditto
11681 * MenuBackend.C (hasSubmenu): ditto
11684 * BufferView_pimpl.C (getInsetByCode): ditto
11686 2001-04-18 Juergen Vigna <jug@sad.it>
11688 * vspace.C (asLatexString): fixed the 100% problem.
11690 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11692 * lyxfunc.C (Dispatch):
11694 * minibuffer.h: add a few std:: qualifiers
11696 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11698 * minibuffer.[Ch]: reimplement so that commands is initiated and
11699 run from lyxfunc, simplified som handling, and made the completion
11700 and history code for complete. wip.
11702 * lyxfunc.C (processKeySym): call message
11703 (miniDispatch): new temporary method
11704 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11705 (LFUN_MESSAGE): implement
11706 (LFUN_MESSAGE_PUSH): implement
11707 (LFUN_MESSAGE_POP): implement
11708 (initMiniBuffer): the initial/defualt minibuffer message.
11710 * lyxfont.[Ch]: inline some more getters
11712 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11714 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11716 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11717 (AutoSave): use LFUN_MESSAGE
11718 (Reconfigure): ditto
11720 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11722 * figureForm.C: use LFUN_MESSAGE
11724 * converter.C (runLaTeX): use LFUN_MESSAGE
11726 * bufferview_funcs.C: use LFUN_MESSAGE
11728 (changeDepth): ditto
11730 * bufferparams.h: use boost::
11732 * bufferlist.h: inherit privately from noncopyable
11734 * bufferlist.C (loadLyXFile): remove some commented code.
11736 * buffer.C (runChktex): use LFUN_MESSAGE
11738 * ShareContainer.h: inherit privately from noncopyable
11740 * ParagraphParameters.[hC] (depth): inline it.
11742 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11744 (message): new method
11745 (messagePush): ditto
11746 (messagePop): ditto
11747 (show): init minibuffer
11748 (showState): direct call
11750 * LaTeX.[Ch]: inherit privately from noncopyable
11751 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11752 instead of WriteStatus.
11754 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11756 * BufferView_pimpl.C (buffer): don't init minibuffer
11757 (workAreaButtonPress): use LFUN_MESSAGE
11758 (workAreaButtonRelease): ditto
11759 (savePosition): ditto
11760 (restorePosition): ditto
11761 (MenuInsertLyXFile): ditto
11762 (workAreaExpose): don't init minibuffer
11763 (update): remove commented code, simplify
11765 * BufferView2.C (openStuff): use LFUN_MESSAGE
11766 (toggleFloat): ditto
11769 (copyEnvironment): ditto
11770 (pasteEnvironment): ditto
11775 (updateInset): remove some commented code
11777 * lastfiles.h: inherit privately from noncopyable
11780 * lyx_main.h: ditto
11782 * lyxlex_pimpl.h: ditto
11784 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11785 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11786 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11788 * LyXAction.h: inherit privately from noncopyable, add methods
11789 func_begin, func_end, returning iterators to the func map.
11791 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11792 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11793 (func_begin): new method
11794 (func_end): new method
11796 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11798 (copySelection): ditto
11799 (pasteSelection): ditto
11801 * BufferView.C: whitespace change
11802 * BufferView.h: inherit privately from noncopyable
11804 2001-04-16 Allan Rae <rae@lyx.org>
11806 * tabular-old.C (l_getline):
11807 * spellchecker.C (sc_check_word):
11808 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11809 an unrecognised preprocessor directive. So ensure they're wrapped.
11811 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11813 * src/exporter.C (Export): Give an error message when path to file
11816 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11818 * LaTeX.C (deplog): Always check that foundfile exists.
11820 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11823 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11825 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11827 * tabular.[Ch] (getLabelList): implement new method
11829 * minibuffer.h: comment ouf setTiimer
11831 * minibuffer.C (ExecutingCB): constify res
11832 (peek_event): constify s
11833 (Set): constify ntext
11834 (Init): constify nicename
11836 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11838 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11839 (savePosition): use two params to Minibuffer::Set
11840 (restorePosition): ditto
11842 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11844 * lyx_main.C: include language.h
11846 * Makefile.am (lyx_main.o): add language.h
11848 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11854 * CutAndPaste.C: include gettext.h
11856 * lyxfont.h: remove old hack with ON and OFF.
11859 * lyxfont.h: do not include language.h...
11864 * bufferview_funcs.C:
11870 * paragraph.C: ... but do it here instead
11872 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11874 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11876 * tabular.C: small reformat
11878 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11881 (BreakParagraph): ditto
11882 (SetOnlyLayout): ditto
11885 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11888 * lastfiles.C: removed most using decl, add std:: where needed
11890 * buffer.C: ws changes
11892 * MenuBackend.C (class compare_format): put into anon namespace
11893 (expand): constify label, names, action, action2
11896 * text.C (SingleWidth): constify font
11897 (IsBoundary): constify rtl2
11898 (GetVisibleRow): constify ww
11900 * LaTeX.C (deplog): constify logfile
11902 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11904 (workAreaExpose): constify widthChange, heightChange
11906 * lyxrow.C (par): moved
11909 * lyxrow.h: as inlines here
11911 * lyxfont.h (shape): moved from lyxfont.C
11912 (emph): moved from lyxfont.C
11914 * lyxfont.C (LyXFont): use initialization list for all
11916 (shape): move to lyxfont.h as inline
11917 (emph): move to lyxfont.h as inline
11920 2001-04-04 Juergen Vigna <jug@sad.it>
11922 * vspace.C: had to include stdio.h for use of sscanf
11924 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11927 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11928 independent of xforms.
11930 2001-04-02 Juergen Vigna <jug@sad.it>
11932 * spellchecker.C: fixed namespace placing!
11934 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11936 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11937 the LyXParagraph * is 0.
11939 2001-03-29 Juergen Vigna <jug@sad.it>
11941 * vspace.C: added support for %, c%, p%, l%.
11942 (stringFromUnit): added helper function.
11943 (asLatexString): changed to give right results for the %-values.
11945 * buffer.C: convert the widthp in a width%.
11947 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11949 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11952 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11953 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11955 * lyx_cb.[Ch]: see above.
11957 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11961 * lyx.[Ch]: replaced by figure_form.[Ch].
11965 * lyxfunc.C: changed headers associated with above changes.
11967 2001-03-27 Juergen Vigna <jug@sad.it>
11969 * BufferView_pimpl.C: set the temporary cursor right!
11971 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11973 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11975 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11977 * LString.h: removed "using std::getline"!
11979 * BufferView_pimpl.C (Dispatch): changes due to changes in
11980 InsetInclude::Params.
11982 * buffer.C (tag_name): removed redundant break statements as they were
11983 producing lots of warnings with my compiler.
11985 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11987 * LString.h: add "using std::getline" when using the real <string>.
11989 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11991 * buffer.C: removed bitset usage.
11992 PAR_TAG moved to an anonymous name space.
11993 (tag_name): new funtion, also in the anonymous namespace.
11994 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11995 (makeDocBookFile): clean code. Completed transition from string arrays
11997 (SimpleDocBookOnePar): code clean.
11999 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12001 * tabular.C: add some comments.
12003 2001-03-22 Juergen Vigna <jug@sad.it>
12005 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12006 compatibility read a bit and fixed bug with minipage in different
12009 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12011 * buffer.C (pop_tag): removed.
12012 (push_tag): removed.
12013 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12014 array replaced with vector. Added support for CDATA sections.
12015 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12017 (makeDocBookFile): XML conformant declaration of CDATA section,
12018 fixed bug related to <emphasis> in the first paragraph char.
12019 (sgmlOpenTag): exclude empty tags.
12020 (sgmlCloseTag): ditto.
12022 * buffer.h (pop_tag): removed.
12023 (push_tag): removed.
12025 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12027 * language.h (Languages): added size_type and size().
12029 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12031 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12032 response on compability reading of minipages. One probliem is that
12033 the old usage of minipages was «flertydig»
12035 * several files here and in subdirs: don't use static at file
12036 scope use anon namespaces instead.
12038 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12040 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12041 LaTeX output. This is necessary for Literate document
12044 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12046 * buffer.C: insert hfill when needed.
12048 * tabular.C (l_getline): use string::erase, small whitespace change.
12050 * BufferView_pimpl.C: try the anon namespace.
12051 * WorkArea.C: ditto
12053 2001-03-16 Juergen Vigna <jug@sad.it>
12055 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12056 otherwise it won't open options-dialogs.
12058 * buffer.C: honor pextraWidth(p) on converting minipages.
12060 * tabular.C (l_getline): changed the functions to strip trailing \r.
12062 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12064 * BufferView_pimpl.C:
12065 * minibuffer..C: added "using SigC::slot" declaration.
12067 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12069 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12075 * paragraph.C: ditto
12077 * lyxtext.h: NO_PEXTRA
12079 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12081 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12082 * ParameterStruct.h: ditto
12083 * ParagraphParameters.h: ditto
12084 * lyxparagraph.h: ditto
12086 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12088 * buffer.C: add compability for minipage alignment.
12089 (latexParagraphs): remove unwanted pextra check.
12091 * several files: remove CXX_WORKING_NAMESPACES
12093 * buffer.C (pop_tag): tie is in namespace boost
12095 * BufferView.h: noncopyable is in namespace boost
12097 * lyx_main.h: ditto
12100 * lastfiles.h: ditto
12101 * bufferlist.h: ditto
12102 * ShareContainer.h: ditto
12104 * LyXAction.h: ditto
12107 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12109 * Merging changes from BRANCH_MVC back into HEAD.
12111 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12113 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12115 * BufferView_pimpl.C: change from intl.C
12119 * Makefile.am: move combox.*
12125 * intl.C: remove dialog (covered by prefs)
12127 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12129 * lyxfunc.C (Dispatch): removed redundant break statement.
12131 2001-03-14 Juergen Vigna <jug@sad.it>
12133 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12135 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12137 * buffer.C: add hack to fix compability reading of minipages.
12139 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12141 * buffer.C (getLists): Cleanup.
12143 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12145 * lyxfont.C (update): don't honor toggleall on font size.
12147 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12151 * Makefile.am: moved to frontends/xforms/
12155 * BufferView_pimpl.C: changes for moved mathpanel
12157 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12159 * gettext.h: fix gettext_init() in --disable-nls
12161 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12163 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12165 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12168 * lyx.h: strip external form
12170 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12172 * BufferView_pimpl.C: add comment, destroySplash()
12174 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12176 * BufferView_pimpl.C:
12180 * lyxfunc.C: use re-worked insetinclude
12182 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12184 * buffer.C: add using std::stringstream.
12186 * lyx_cb.C: readd using std::ios.
12188 * buffer.C: add using std::map.
12190 * BufferView_pimpl.C: add using std::vector.
12192 * ShareContainer.h: add std:: to swap.
12194 * buffer.h: add some typedefs
12195 * buffer.C (getLists): use them
12196 (getLists): renamed from getTocList.
12197 add a counter for the different float types and use it in the
12199 (getLists): use the same counter for the NEW_INSETS and the "non"
12202 * lyx_cb.h: remove unused items, includes, using etc.
12204 * ShareContainer.h: remove some commented code, add more comments
12205 and "documentation".
12207 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12209 * buffer.C (getTocList): make the list also when NEW_INSETS is
12212 * buffer.h: remove TocType
12214 * buffer.C (getTocList): change to return a map<string,
12215 vector<TocItem> >, implement for dynamic number of list.
12217 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12218 * text2.C (PasteSelection): adjust
12219 * CutAndPaste.C (pasteSelection): adjust
12221 * FloatList.C (FloatList): update from the new_insets branch.
12222 * Floating.[Ch]: ditto
12223 * LaTeXFeatures.C: ditto
12225 * lyxlex_pimpl.C: ditto
12227 * paragraph.C (Last): remove when NEW_INSETS is defined.
12229 * other file: changes because of the above.
12231 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12233 * lyxparagraph.h: rename next to next_, previous to previous_,
12234 make them private for NEW_INSETS. Rename Next() to next(),
12235 Previous() to previous().
12237 * other files: changes because of the above.
12239 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12242 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12245 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12247 * main.C (main): pass lyx_localedir to gettext_init().
12249 * gettext.h: remove locale_init and gettext_init macros
12251 * gettext.C (locale_init): new function
12252 (gettext_init): new function
12254 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12257 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12259 * Moved credits to frontends:
12260 * credits.[Ch]: removed
12261 * credits_form.[Ch]: removed
12262 * lyx_gui_misc.C: remove credits stuff
12265 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12267 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12269 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12270 unneeded destructor.
12272 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12273 a standalone pointer again.
12275 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12277 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12283 * ToolbarDefaults.C:
12292 * BufferView_pimpl.C: use new file dialog in GUII
12295 * lyx_cb.C: remove LayoutsCB to Toolbar
12297 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12299 * ShareContainer.h (get): add std:: qualifier
12301 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12303 * ShareContainer.h: define a proper ShareContainer::value_type
12304 type (and use typename to please compaq cxx)
12306 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12308 * lyxparagraph.h: move serveral local vars to
12309 ParameterStruct/ParagraphParameters., use ShareContainer in
12310 FontTable., make vars in FontTable private and add getter and
12313 * paragraph.C: changes because of the above.
12315 * lyxfont.h: remove copy constructor and copy assignment. (the
12316 default ones is ok), move number inside FontBits. move inlines to
12319 * lyxfont.C: add number to initializaton of statics, move several
12320 inlines here. constify several local vars. some whitespace
12321 cleanup. Dont hide outerscope variables.
12323 * Spacing.h: add two new constructors to match the set methods.
12325 * ShareContainer.h: new file, will perhaps be moved to support
12327 * ParameterStruct.h: new file
12329 * ParagraphParameters.h: new file
12331 * ParagraphParameters.C: new file
12333 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12334 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12336 * BufferView_pimpl.C: ParagraphParameter changes.
12337 * buffer.C: Likewise.
12338 * bufferview_funcs.C: Likewise.
12339 * text.C: Likewise.
12340 * text2.C: Likewise.
12342 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12344 * lyxfind.C (LyXReplace): do not redefine default argument in
12346 (IsStringInText): ditto
12347 (SearchForward): ditto
12348 (SearchBackward): ditto
12350 2001-03-06 Juergen Vigna <jug@sad.it>
12352 * lyxfind.C (IsStringInText): put parentes around expressions.
12354 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12356 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12358 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12360 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12362 * stl_string_fwd.h: add comment
12364 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12367 * tabular.C: remove unused DocBook methods
12373 killed DO_USE_DEFAULT_LANGUAGE
12375 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12377 * lyx_gui.C: do not include language.h.
12379 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12380 arguments in function implementation.
12382 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12384 * BufferView_pimpl.C: add <ctime>
12386 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12388 * BufferView_pimpl.C: add using std::find_if
12390 2001-02-27 José Matos <jamatos@fep.up.pt>
12392 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12395 2001-02-11 José Matos <jamatos@fep.up.pt>
12397 * buffer.C (makeDocBookFile): command styles now have a parameter as
12398 "title" by default.
12400 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12402 * layout_forms.[Ch]: removed
12403 * lyx_cb.[Ch]: out character
12404 * lyx_gui.C: out character
12405 * lyx_gui_misc.C: out character
12406 * bufferview_funcs.C: : out character,
12407 added toggleall as parameter in ToggleAndShow
12409 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12411 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12413 * text2.C (SetCurrentFont): Disable number property at boundary.
12415 2001-02-26 Juergen Vigna <jug@sad.it>
12417 * lyxfunc.C (getStatus): added a string argument override function so
12418 that this is correctly called from LyXFunc::Dispatch if it contains a
12419 do_not_use_argument which is used!
12420 (Dispatch): added check for "custom" export and call appropriate func.
12422 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12424 * lyxrc.C: Add language_command_local, language_use_babel and
12425 language_global_options.
12427 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12429 * buffer.C (makeLaTeXFile): Use language_use_babel and
12430 language_global_options.
12432 2001-02-23 Juergen Vigna <jug@sad.it>
12434 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12435 which works with LyXText and putted it inside BufferView. Here now we
12436 only call for that part the BufferView::Dispatch() function.
12438 * BufferView.C (Dispatch): added.
12440 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12441 functions which needs to use a LyXText over from LyXFunc.
12442 (MenuInsertLyXFile): added
12443 (getInsetByCode): added
12444 (moveCursorUpdate): added
12445 (static TEXT): added
12447 2001-02-22 Juergen Vigna <jug@sad.it>
12449 * BufferView_pimpl.C (update): call a status update to see if LyXText
12452 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12454 * vc-backend.C (revert): implement for CVS
12455 (getLog): implement for CVS
12457 2001-02-20 Juergen Vigna <jug@sad.it>
12459 * text2.C (ClearSelection): added BufferView param for inset_owner call
12461 * lyxfunc.C (TEXT): added this function and use it instead of
12462 directly owner->view()-text of getLyXText().
12464 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12466 * src/layout_forms.C: out preamble
12467 * src/layout_forms.h: out preamble
12468 * src/lyx_cb.C: out preamble
12469 * src/lyx_cb.h: out preamble
12470 * src/lyx_gui.C: out preamble
12471 * src/lyx_gui_misc.C: out preamble
12472 * src/lyxfunc.C: connect with guii preamble
12474 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12476 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12478 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12480 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12481 whether to run bibtex.
12483 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12485 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12487 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12489 * Makefile.am (lyx_SOURCES): removed bibforms.h
12491 * vspace.h: doxygen
12493 * text.C (GetVisibleRow): make several local vars const
12495 * tabular.C: small cleanup.
12497 * lyxserver.C (callback): use compare instead of strncmp
12499 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12500 inlines to after class or to paragraph.C
12502 * lyxfont.h: remove friend operator!=
12504 * converter.h: move friend bool operator< to non friend and after
12507 * combox.h: small cleanup
12509 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12510 to inlines after class def.
12512 * buffer.C (pop_tag): use string operations instead of strcmp
12514 * bmtable.c: doxygen, small cleanup
12516 * LaTeX.h: remove friend operator==
12518 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12530 * BufferView_pimpl.C:
12531 * BufferView.[Ch]: remove cruft
12533 2001-02-14 Juergen Vigna <jug@sad.it>
12535 * lyxfunc.C: removed #if 0 unused code
12537 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12539 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12541 * text2.C (SetSelection): added a BufferView * parameter
12543 2001-02-13 Juergen Vigna <jug@sad.it>
12545 * lyxfunc.C (Dispatch): fixed protected blank problem.
12546 * BufferView2.C (protectedBlank): added LyxText * parameter.
12548 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12549 (AppendColumn): same as above for column_info.
12551 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12552 (moveCursorUpdate): use a LyXText param for support of InsetText.
12554 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12555 (tripleClick): ditto
12557 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12559 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12561 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12563 * text2.C (SetSelection): set correct update status if inset_owner
12564 (ToggleFree): ditto
12566 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12568 * tabular.C: remove some commented code.
12570 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12572 * BufferView_pimpl.C: call hideSplash()
12574 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12577 * bibforms.h: remove
12580 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12581 add LFUN_CHILD_CREATE
12583 * counters.h: fix tiny typo
12588 * lyx.C: move splash to frontends/xforms/
12590 * lyx_gui_misc.C: move Include and Bibform to frontends
12592 * lyxvc.h: clarify comment
12594 * vspace.C: tiny housekeeping
12596 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12598 * text.C (PrepareToPrint): RTL Fix.
12600 * paragraph.C (GetUChar): New method.
12601 (String): Use GetUChar.
12603 * buffer.C (asciiParagraph): Use GetUChar.
12605 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12607 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12609 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12612 * buffer.C: rename to getLogName(), handle
12613 build log / latex log nicely
12615 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12618 * MenuBackend.h: remove support for reference menuitem type.
12620 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12622 * BufferView_pimpl.C: housekeeping
12623 * BufferView_pimpl.h:
12628 * minibuffer.h: move Timeout GUI-I
12630 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12632 * lyxrc.C (read): Update converters data-structures.
12634 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12636 * LaTeX.h (operator!=): add operator != for Aux_Info
12638 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12640 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12642 * LaTeXLog.C: deleted, useful code moved to Buffer
12645 * buffer.C: new function getLatexLogName()
12651 * lyxfunc.C: use frontends for LaTeX and VC logs
12653 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12655 * LaTeX.h: yet another std:: that Allan forgot.
12657 * Variables.C (set): renamed from isset(), because this clashes
12658 with some HP-UX macros (grr).
12660 2001-02-06 Allan Rae <rae@lyx.org>
12662 * LaTeX.h: Another bug fix. Missing std:: this time.
12664 2001-02-04 Allan Rae <rae@lyx.org>
12666 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12667 floats problem. I've left it commented out because it's not quite
12668 correct. It should also test that the current object is a table or
12669 figure inset. But I haven't gotten around to figuring out how to do
12670 that. I *think* it'll be something like: "table" == inset.type()
12672 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12675 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12677 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12678 all the citation/databases/styles in the auxilary file.
12679 (run): Rerun latex if there was a babel language error.
12681 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12683 * text.C (Backspace): Preserve the font when changing newline char
12685 (BreakParagraph): If the cursor is before a space, delete the space.
12687 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12689 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12691 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12692 new argument (code).
12693 (ChangeCitationsIfUnique): New method.
12695 * paragraph.C (GetPositionOfInset): Handle bibkey.
12697 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12699 * BufferView_pimpl.h: change type of Position::par_pos to
12700 LyXParagraph::size_type.
12702 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12704 * BufferView_pimpl.C (savePosition, restorePosition): Write
12705 messages to minibuffer.
12707 2001-01-28 José Matos <jamatos@fep.up.pt>
12709 * buffer.C (makeDocBookFile): adds support for document language.
12710 A silly restriction on the name of LatexCommand types where removed.
12711 Added support for CDATA sections, allows to chars unescaped, used
12712 among others in code, to avoid escape < and >.
12714 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12716 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12717 saved positions instrad of a stack. Furthermore, a position is
12718 stored using paragraph id/paragraph position.
12720 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12721 Remove LFUN_REF_BACK.
12723 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12725 * converter.C (dvipdfm_options): New method.
12727 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12729 * vspace.C (isValidLength): Fix for empty input string.
12731 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12733 * LyXAction.C (init): change description of LFUN_FIGURE to
12736 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12738 * LaTeX.C: add using directive
12740 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12742 * MenuBackend.C (expand): Fix the sorting of the formats.
12744 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12746 * lyx_main.C: tiny error message fix
12748 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12750 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12751 calling fl_initialize(). This fixes the problem with ',' as
12752 decimal separator in text files.
12754 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12756 * trans.C (process): Fix the keymap bug.
12758 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12760 * LaTeX.C (scanAuxFiles): New method. Provides support for
12761 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12762 (scanLogFile) Scan for "run BibTeX" messages.
12764 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12765 OT1 font encoding. Also, load the aecompl package if the ae
12768 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12770 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12772 * texrow.C (increasePos): turn two error messages into debug
12775 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12777 * LaTeX.C (scanAux): Handle the \@input macro.
12778 (runBibTeX): Use scanAux().
12780 * language.C (latex_options_): New field.
12782 * LaTeXFeatures.C (getMacros): Add language macros.
12784 * buffer.C (makeLaTeXFile): Small fix.
12786 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12788 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12790 * text2.C: add a using directive.
12792 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12797 * lyxfunc.C: kill LyXBell.
12799 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12801 * text.C (IsBoundary): Remove the error message
12803 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12805 * lyxrc.C (setDefaults): Correct initialization value for
12808 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12810 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12813 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12814 and GotoNextNote().
12816 * src/LyXAction.C: Added reference-next.
12818 * text.C (InsertChar): Use contains instead of strchr.
12820 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12822 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12824 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12825 alignment commands (when needed).
12827 * text.C (InsertChar): Add ':' to number separator chars.