1 2003-09-15 Angus Leeming <leeming@lyx.org>
3 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4 explicitly define the color passed to the painter.
6 2003-09-15 Angus Leeming <leeming@lyx.org>
8 * bufferparams.C (BufferParams): reorder member initializers to avoid
11 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
13 * CutAndPaste.C (pasteSelection): remove an outdated #warning
14 * text.C (updateRowPositions): remove an unusual nop
16 2003-09-12 André Pönitz <poenitz@gmx.net>
27 * Counters.[Ch]: finish the 'automatic counters' job
29 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
31 * aspell.C: include <boost/assert.cpp> (compile fix)
33 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
35 * boost.C (assertion_failed): use lyx::support::abort instead of
38 2003-09-10 Angus Leeming <leeming@lyx.org>
40 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h with their
43 2003-09-09 Angus Leeming <leeming@lyx.org>
45 134 files throughtout the source tree: replace 'using namespace abc;'
46 directives with the appropriate 'using abc::xyz;' declarations.
48 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
50 * boost.C (emergencyCleanup): moved here from LAssert.c
51 (assertion_failed): new function, called by BOOST_ASSERT
53 * several files: change Assert to BOOST_ASSERT
55 2003-09-09 Angus Leeming <leeming@lyx.org>
57 * buffer.[Ch]: Add an Impl class and move Buffer's member
58 variables into it. As a result move several header files out of
61 Add header files to lots of .C files all over the tree as a result.
63 2003-09-09 Angus Leeming <leeming@lyx.org>
65 * buffer.[Ch]: make Buffer's member variables private. Add
68 Lots of changes all over the tree as a result.
70 2003-09-08 Angus Leeming <leeming@lyx.org>
72 * graph.C: #include <config.h>.
74 2003-09-08 Angus Leeming <leeming@lyx.org>
107 * toc.C: remove redundant using directives.
109 2003-09-07 Angus Leeming <leeming@lyx.org>
111 * LaTeXFeatures.h: remove #include "support/types.h".
112 * ToolbarBackend.h: remove #include <algorithm>.
113 * changes.h: remove #include <ctime>.
114 * debug.h: remove #include <iosfwd>.
115 * graph.h: remove #include "support/std_string.h".
116 * lyx_main.h: remove #include <csignal>.
117 * lyxlex_pimpl.h: remove #include <fstream>.
118 * sgml.h: remove #include <algorithm>, <utility>.
119 * toc.h: remove #include "support/std_ostream.h". Add #include <iosfwd>.
121 2003-09-07 Angus Leeming <leeming@lyx.org>
123 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
125 * converter.h: forward declare LatexRunParams.
126 * encoding.h: remove #include "lyxrc.h".
127 * lyxtext.h: remove #include "LColor.h".
128 * lyxtextclass.h: remove #include "support/types.h".
129 * trans.h: remove #include "tex-accent.h".
130 * trans_mgr.h: remove #include "tex-accent.h".
131 * insets/inset.h: remove #include "support/types.h", <vector>.
132 * insets/insetcollapsable.h: remove #include "LColor.h".
133 * insets/insetinclude.h: remove #include "dimension.h".
134 * insets/insetlatexaccent.h: remove #include "dimension.h".
135 * insets/insetoptarg.h:: remove #include "insettext.h".
136 * insets/insettext.h: remove #include "dimension.h", <boost/shared_ptr.hpp>
138 * insets/renderers.h: add #include "dimension.h".
139 * insets/updatableinset.h: add #include "support/types.h".
141 * many .C files: Associated changes.
143 2003-09-06 Angus Leeming <leeming@lyx.org>
145 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one,
146 inside testInvariant.
148 * PrinterParams.C: new file.
149 * PrinterParams.[Ch]: move the function bodies out of line.
151 2003-09-06 Angus Leeming <leeming@lyx.org>
153 * ParagraphParameters.h: forward declare ParameterStruct rather than
154 including its header file.
155 (depth): moved out-of-line.
157 2003-09-06 Angus Leeming <leeming@lyx.org>
159 * BufferView_pimpl.h:
162 * lyxfunc.h: forward declare LyXKeySym rather than
163 #include "frontends/LyXKeySym.h".
165 * BufferView_pimpl.C:
168 * lyxfunc.C: associated changes.
170 2003-09-06 Angus Leeming <leeming@lyx.org>
172 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
173 As a result, can remove the #include "insets/inset.h" from BufferView.h
175 2003-09-06 Angus Leeming <leeming@lyx.org>
177 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
178 As a result, can remove the #include "insets/inset.h" from BufferView.h
180 2003-09-06 Angus Leeming <leeming@lyx.org>
186 * bufferview_funcs.C:
187 * BufferView_pimpl.C:
192 * ParagraphParameters.C:
197 * frontends/controllers/ControlDocument.C:
198 * insets/insetcaption.C: rearrange the #includes into some sort of
201 * buffer.h: remove #includes ErrorList.h, undo.h
203 2003-09-06 Angus Leeming <leeming@lyx.org>
205 * support/types.h: add a 'depth_type' typedef, used to store the
206 nesting depth of a paragraph.
209 * ParameterStruct.h: use this lyx::depth_type typedef rather than
214 * ParagraphParameters.h:
215 * sgml.h: use lyx::depth_type rather than Paragraph or
216 ParameterStruct's depth_type.
219 * paragraph_funcs.h: no need to #include paragraph.h anymore.
222 * BufferView_pimpl.C:
224 * ParagraphParameters.C:
227 * bufferview_funcs.C:
234 * frontends/LyXView.C:
235 * frontends/controllers/ControlDocument.C:
236 * frontends/controllers/ControlErrorList.C:
237 * insets/insetbibitem.C:
238 * insets/insetbranch.C:
239 * insets/insetcaption.C:
240 * insets/insetcollapsable.C:
243 * insets/insetfloat.C:
244 * insets/insetfoot.C:
245 * insets/insetfootlike.C:
246 * insets/insetnewline.C:
247 * insets/insetquotes.C:
248 * insets/insettabular.C:
249 * insets/insettext.C:
250 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
252 * frontends/controllers/ControlChanges.C: #include "changes.h".
254 2003-09-06 Angus Leeming <leeming@lyx.org>
256 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
257 #including paragraph.h.
260 * RowList.h: deleted. Superfluous.
270 * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
272 * paragraph.h: don't forward declare ParagraphList.
275 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
276 rather than ParagraphList.h. paragraph.h is still needed for the
277 Paragraph::depth_type parameters.
279 * textcursor.h: enable it to compile stand-alone in light of the
282 * bufferview_funcs.C:
294 * frontends/controllers/ControlParagraph.C:
295 * frontends/controllers/ControlTabular.C:
296 * insets/insetmarginal.C:
297 * insets/insetminipage.C:
298 * insets/insetnote.C:
299 * insets/insetoptarg.C: add header files needed to compile again.
301 2003-09-06 Angus Leeming <leeming@lyx.org>
303 * RowList_fwd.h: new file, forward-declaring Row rather than
309 * insets/insettext.h: use it instead of RowList.h
311 * bufferview_funcs.C:
318 * text3.C: #include "RowList.h".
320 2003-09-05 Angus Leeming <leeming@lyx.org>
322 * factory.C (createInset):
323 * vspace.C (c-tor): replace sscanf call with an istringstream.
324 * ispell.C: re-add missing HP/UX headers.
325 * lyxserver.C: re-add missing os2 headers.
327 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
336 * text3.C: re-add missing system headers, needed for 2.95.2.
338 2003-09-05 Angus Leeming <leeming@lyx.org>
340 Changes most place everywhere due to the removal of using directives
341 from support/std_sstream.h.
343 2003-09-05 Angus Leeming <leeming@lyx.org>
345 Replace LString.h with support/std_string.h,
346 Lsstream.h with support/std_sstream.h,
347 support/LIstream.h with support/std_istream.h,
348 support/LOstream.h with support/std_ostream.h.
350 Changes resulting throughout the tree.
352 2003-09-05 Angus Leeming <leeming@lyx.org>
354 * sgml.h: ensure that the header file can be compiled stand-alone.
355 * *.C: strip out redundant #includes. (320 in total.)
357 2003-09-04 Angus Leeming <leeming@lyx.org>
359 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
360 here (from getPackages).
362 * debug.[Ch]: add a new EXTERNAL tag.
364 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
366 * text2.C (cursorEnd): simplify
368 (getColumnNearX): adjust
370 * text.C (computeBidiTables): adjust
373 * rowpainter.C (paintChars): adjust
374 (paintSelection): adjust
375 (paintChangeBar): adjust
378 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
380 (numberOfSeparators): adjust
382 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
388 * text3.C: Restricts the mouse click functionality
389 of insets like bibtex, include, toc and floatlist to the visible
390 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
391 up the dialogs. Cursor has to be in front of the inset (i.e.
392 start of row) for this to function.
394 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
396 * bufferview_funcs.C (currentState): output row information
398 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
400 * bufferview_funcs.C (currentState): output paragraph position
402 2003-09-04 Angus Leeming <leeming@lyx.org>
404 * FloatList.h: move out #include "Floating.h".
405 * LaTeX.h: move out #include "DepTable.h".
406 * LyXAction.h: move out #include "funcrequest.h".
407 * buffer.h: move out #include "author.h", "iterators.h".
408 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
409 * lyx_main.h: move out #include "errorlist.h".
410 * lyxfunc.h: move out #include "FuncStatus.h".
411 * lyxtext: move out #include "lyxcursor.h".
412 * paragraph_pimpl.h: move out #include "counters.h".
414 2003-09-03 Angus Leeming <leeming@lyx.org>
416 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
417 preamble_snippets list, enabling us to add snippets to the preamble only
418 if the snippet was not there already.
420 2003-09-04 Angus Leeming <leeming@lyx.org>
422 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
424 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
426 * lyxfunc.C (dispatch): if fitCursor did something be sure to
429 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
431 * BranchList.C: point fix, earlier forgotten
433 2003-09-02 Angus Leeming <leeming@lyx.org>
435 * box.C (contains): renamed from 'contained' after a fantastic
438 2003-09-02 John Levon <levon@movementarian.org>
444 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
446 2003-09-02 John Levon <levon@movementarian.org>
448 * text2.C: simplification of cursorEnd(), including partial
451 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
453 * buffer.C (readFile): add a space
455 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
457 * BufferView_pimpl.C (update): remove bogus fitCursor() call
459 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
461 * buffer.C (readFile): new function, take a filename and a
462 ParagraphList::iterator
464 (readFile): adjust, make it private. don't use setStream, make
465 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
466 always contain the filename.
468 * BufferView.C (insertLyXFile): simplify and make it work for
471 2003-08-30 John Levon <levon@movementarian.org>
473 * Makefile.am: fix dist (from Kayvan)
475 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
477 * most files: change to use const Buffer refs
479 2003-08-27 André Pönitz <poenitz@gmx.net>
481 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
482 on top of ownerPar().
484 2003-08-27 John Levon <levon@movementarian.org>
486 * funcrequest.C: properly initialise POD members
488 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
490 * lyxtext.h (top_y): move top_y from here
495 * BufferView_pimpl.[Ch]: to here
496 * frontends/screen.C:
497 * insets/insettabular.C:
498 * insets/insettext.C: adjust
499 * rowpainter.[Ch] (paintRows): remove LyXText & argument
501 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
504 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
506 2003-08-26 André Pönitz <poenitz@gmx.net>
508 * paragraph_func.[Ch] (outerPar): new function
514 * text2.C: remove Inset::par_owner
516 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
521 * text2.C: eliminates the needFullRow/display() stuff
522 altogether, putting the logic in metrics/draw in the insets.
524 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
526 * text2.C (redoParagraphInternal, redoParagraphs):
527 * text.C (redoParagraph): add a call to updateRowPositions at the
528 end of each 'metrics-like' call. Remove all others.
529 (getRow): remove the 'y-computing' version.
530 (getRowNearY): do not compute nor return the real y. Solve the
531 'y < 0' problem and simplify.
533 2003-08-22 Angus Leeming <leeming@lyx.org>
535 * *.[Ch]: clean-up of licence and author blurbs.
536 Also move config.h out of a few .h files and into a few .C files.
538 2003-08-22 André Pönitz <poenitz@gmx.net>
540 * lyxrow.[Ch]: add x_ and *fill_ members
545 * text2.C: adjust/remove prepareToPrint() calls
547 2003-08-22 André Pönitz <poenitz@gmx.net>
549 * lyxrow.[Ch]: add end_ member
551 * lyxrow_funcs.C: use LyXRow::end_
553 * lyxtext.h (singleWidth): add LyXFont parameter
556 * text2.C: adjust LyXText::singleWidth() calls
558 * text.C (redoParagraph): simplify row breaking logic
561 2003-08-19 André Pönitz <poenitz@gmx.net>
563 * funcrequest.C: initialize button_ member
566 * rowpainter.[Ch]: interface consolidation
568 2003-08-18 André Pönitz <poenitz@gmx.net>
571 * BufferView_pimpl.C:
575 * text3.C: remove LyXScreen::draw() and fitCursor calls
577 * BranchList.h: remove spurious semicolons
579 * MenuBackend.C: fix branchlist related crash
581 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
593 * text3.C: implements the 'branch inset'
594 idea. This allows the output of various versions of a document
595 from a single source version, selectively outputing or suppressing
596 output of parts of the text.
597 This implementation contains a 'branch list editor' in a separate
598 tab of the document settings dialog. Branches are user definable
599 and have a "display colour" to distinguish them on-screen.
601 ColorHandler was somewhat cleaned up.
602 (1) make possible a dynamically growing LColor list by allowing
603 the graphic context cache to grow along (vector);
604 (2) eliminate an IMHO unnecessary step in colour allocation.
606 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
608 * BufferView_pimpl.C: compile fix
610 2003-08-15 André Pönitz <poenitz@gmx.net>
612 * rowpainter.C: remove extra metrics calls
614 * lyxtext.h: merge the two constructors into a single one,
615 pass reference to owner's par list
617 * BufferView_pimpl.C:
621 2003-08-15 André Pönitz <poenitz@gmx.net>
631 * text_funcs.C: split LyXText::rowlist_ into individual
632 Paragraph::rows_ chunks
635 * BufferView_pimpl.[Ch]:
638 * text3.C: remove toggleSelection()
640 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
642 * bufferlist.C: beautify two alerts (shorter text of buttons)
643 * buffer.C: Remove redundant ' ' from message
645 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
646 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
647 rename VALIGN_CENTER to VALIGN_MIDDLE
649 2003-08-11 André Pönitz <poenitz@gmx.net>
651 * lyxtext.h (getPar):
652 * text.C: new function
654 2003-08-11 André Pönitz <poenitz@gmx.net>
657 * tracer.[Ch]: remove unneeded files
659 * InsetList.[Ch]: remove resizeInsetsLyXText()
664 * text3.C: merge insertParagraphs() and appendParagraph()
665 remove breakAgain(), update()
667 * BufferView_pimpl.[Ch]:
668 * bufferview_funcs.[Ch]:
672 * tabular.C: adjust after text & InsetList changes.
674 2003-08-08 André Pönitz <poenitz@gmx.net>
676 * text.C (insertChar, backspace): replace rowlist fiddling
677 with rebreak of full par
680 * text.C (breakAgainOneRow, redoHeightOfParagraph,
681 checkParagraph, updateInset): removed
683 2003-08-07 André Pönitz <poenitz@gmx.net>
686 * text3.C: merge some LFUN handlers, remove dead code
688 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
690 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
692 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
694 * text2.C (DEPM): fix part of bug 1255 and 1256
696 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
698 * BufferView_pimpl.C (workAreaDispatch): change to use
699 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
700 that are no mouse related.
702 2003-08-05 André Pönitz <poenitz@gmx.net>
705 * BufferView_pimpl.[Ch]:
706 * bufferview_funcs.C:
708 * text3.C: rip out "deep update"
710 * textcursor.[Ch] (last_sel_cursor): remove unused member
712 2003-08-04 André Pönitz <poenitz@gmx.net>
715 * BufferView_pimpl.[Ch]:
716 * ParagraphParameters.C:
717 * bufferview_funcs.C:
723 * text3.C: replace "complicated" BufferView::update(...) calls with
726 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
728 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
730 * Makefile.am (lyx_SOURCES): add paper.h
732 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
734 * Makefile.am: move things around so that both lyx-qt and
735 lyx-xforms can be built (according to --with-frontend). Then lyx
736 is a symbolic link to lyx-[firstfrontend]
738 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
740 * Always use std::endl with lyxerr
742 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
744 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
746 2003-08-01 André Pönitz <poenitz@gmx.net>
749 * BufferView_pimpl.[Ch]:
751 * text3.C: merge BufferView::repaint() and BufferView::update()
753 2003-08-01 José Matos <jamatos@lyx.org>
755 * buffer.[Ch]: file_format is no longer a buffer data element.
757 2003-08-01 André Pönitz <poenitz@gmx.net>
762 * text2.C: make redoParagraph more independent of current cursor
764 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
766 * text2.C: remove unneeded members
768 2003-07-30 André Pönitz <poenitz@gmx.net>
770 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
772 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
773 create a single function...
775 * paragraph_funcs.C (moveItem): ... here.
778 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
780 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
782 * LColor.[Ch]: Add comment and greyedout logical colors.
784 2003-07-30 André Pönitz <poenitz@gmx.net>
786 * tabular.C: don't use Assert too heavily. This crashes where it
789 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
791 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
792 is disabled (bug 1232)
794 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
796 * factory.C: limited 'arg' scope
798 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
800 * factory.C: fixed Note submenu issues
802 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
804 * factory.C: submenu for Note/Comment/Greyedout
806 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
809 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
811 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
814 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
815 greyedout. Patch provided by Jürgen Spitzmüller.
817 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
819 * kbmap.C (read): fix error message when reading bind files
821 2003-07-29 Angus Leeming <leeming@lyx.org>
823 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
824 certainly does not do what it purports to do. I am doing it, and
825 us, a favour by killing it.
827 2003-07-28 José Matos <jamatos@lyx.org>
829 * buffer.C (readBody, do_writeFile):
830 * paragraph.C(readParagraph): \end_document replaces \the_end.
832 2003-07-29 André Pönitz <poenitz@gmx.net>
835 * BufferView_pimpl.[Ch]:
839 * textcursor.[Ch]: remove toggleToggle & Co
841 2003-07-28 José Matos <jamatos@fep.up.pt>
843 * buffer.C (readParagraph):
844 * params_func (readParToken, readParagraph):
845 * paragraph.C (write): \layout -> \begin_layout.
847 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
849 * lyxlex_pimpl.C (setFile): clean up slightly.
851 * bufferparams.h: add compressed var
853 * buffer_funcs.C (readFile): adjust for LyXLex change
854 (newFile): ditto + simplify
856 * buffer.C (writeFile): handle writing of compressed files
858 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
859 Check if the file is compressed and set a bufferparm if so.
861 * Makefile.am (lyx_LDADD): remove explicit -lz
863 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
865 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
866 makeDocBookFile): put the real LyX version in the first line of
870 * version.C.in: remove lyx_docversion
872 * tabular.C (write_attribute): add a template-based version to
875 2003-07-28 André Pönitz <poenitz@gmx.net>
880 * text3.C: use doubles again for x-coordinates. They are needed.
882 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
884 * messages.C (getLocaleDir): use lyx_localedir()
886 * lyxlex_pimpl.C (setFile): compress stuff
888 * buffer.C (writeFile): add some compression stuff
889 (do_writeFile): new func, dont call expliti close... will this
892 * Makefile.am (lyx_LDADD): add -lz
894 2003-07-28 José Matos <jamatos@fep.up.pt>
896 * buffer.C: increment file format.
897 * paragraph_funcs (readParagraph, readParToken):
898 * paragraph.C (readParagraph): add \end_layout.
900 2003-07-27 Angus Leeming <leeming@lyx.org>
902 * Makefile.am: remove special casing for configure-time setting of
903 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
905 * lyx_main.C (init): remove all Jean-Marc's magic setting of
906 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
908 2003-07-26 André Pönitz <poenitz@gmx.net>
910 * paragraph_func.[Ch]:
911 * paragraph.C (realizeFont): inline it whereever it is used
916 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
919 2003-07-26 André Pönitz <poenitz@gmx.net>
923 * text2.C: get rid of LyXText::need_break_row
925 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
927 * toc.[Ch]: put namespace toc inside namespace lyx
929 * MenuBackend.C (expandToc2): adjust for lyx::toc
932 * lyxfunc.C (dispatch): adjust for lyx::find
934 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
935 lyx::find instead. Reorganize a bit.
936 (LyXReplace): rename to replace
937 (LyXFind): rename to find
939 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
942 2003-07-26 André Pönitz <poenitz@gmx.net>
944 * text.C (setHeightOfRow): restrict scope of temporary variable
946 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
947 code (never has been used?)
949 2003-07-27 Asger Alstrup <alstrup@local>
951 * text.C (fill): Optimise algorithm to exploit that we can reuse
952 the LyXFont for many characters.
953 (setHeightOfRow): Same thing.
954 (rowBreakPoint): Same thing.
956 2003-07-26 Asger Alstrup <alstrup@local>
958 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
960 * text.C (singleWidth): Spurious font copying in hot-spot
961 singleWidth avoided. Reorder tests for arabic for efficiency.
963 * text.C (fill): handle empty paragraphs better.
965 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
968 * encoding.h: add includes
970 * lyxrc.C: remove reading of bind files
972 * lyx_main.C (init): setup bindings and menus only if we have a
975 * kbmap.C (read): new method. Do the actual reading of bind
978 * converter.C (dvipdfm_options):
981 (output): adapt PAPER_* enums.
983 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
985 * bufferparams.h: remove paper-related enums from there
987 * paper.h: New file. A trivial header file to hold paper-related
988 enums. It should later expand to contain many paper-related
991 * lyxrc.C: declare extern displayTranslator
993 2003-07-27 José Matos <jamatos@fep.up.pt>
995 * tabular.[Ch] (linuxdoc): add support for tables and figures
998 2003-07-27 José Matos <jamatos@fep.up.pt>
1000 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1001 consistency in both functions.
1002 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1004 2003-07-26 Asger Alstrup <alstrup@local>
1006 * rowpainter.C (paintRows): Change algorithm to work directly on
1007 the insets rather than asking every character in the document
1008 whether its an inset.
1010 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1012 * buffer.C (openFileWrite): factorize some code
1014 2003-07-26 Angus Leeming <leeming@lyx.org>
1017 * lyx_main.[Ch]: replace occurances of system_tempdir with
1020 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1022 * rename Inset to InsetOld
1024 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1026 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1027 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1028 which I think is a bit clearer. EDIT is gone, since it was
1029 premature optimisation, and broken for mathed anyway.
1030 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1031 with cursor positioning in insets as well (math insets still do not
1032 work, but that's a different story anyway.) It mysteriously
1033 crashes sometimes with undo in the first paragraph, but I'm fairly
1034 confident that this is a compiler bug.
1036 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1038 * paragraph.C (Paragraph): adjust for new clone return type
1040 (copyIntoMinibuffer): ditto
1042 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1044 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1045 by not having a special case, and always doing a full rebreak of
1046 the document after undo.
1048 2003-07-23 Angus Leeming <leeming@lyx.org>
1050 * factory.C (createInset): InsetExternal::setParams now takes a
1053 2003-07-23 Angus Leeming <leeming@lyx.org>
1055 * factory.C (createInset): changed interface to the external and
1056 graphics mailers' string2params functions.
1058 2003-07-23 Angus Leeming <leeming@lyx.org>
1060 * factory.C (createInset): pass a
1061 Buffer const * parameter to InsetExternalMailer's string2params.
1063 2003-07-22 John Levon <levon@movementarian.org>
1065 * Thesaurus.h: include the right aiksaurus header
1067 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1069 * MenuBackend.C (expand): check menu shortcuts unconditionally
1071 2003-07-21 Angus Leeming <leeming@lyx.org>
1073 * factory.C (createInset): pass a
1074 buffer_path parameter to InsetGraphicsMailer's string2params.
1076 2003-07-21 Angus Leeming <leeming@lyx.org>
1078 * BufferView_pimpl.C (buffer):
1081 * lyxfunc.C (dispatch):
1082 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1083 rather than the grfx shortcut.
1085 2003-07-21 André Pönitz <poenitz@gmx.net>
1087 * rowpainter.C: remove unused variables
1090 * tabular_funcs.h: move to tabular.C
1091 * Makefile.am: adjust
1093 * tabular.[Ch]: basic optical cleaning
1095 * author.h: pass references, not values
1097 2003-07-18 André Pönitz <poenitz@gmx.net>
1105 * text3.C: two-phase drawing for InsetText and InsetTabular
1106 some float -> int changes.
1108 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1110 * lyx_main.C: fix the fix
1112 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1114 * lyx_main.C: fix a crash in batch mode if no files specified
1117 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1119 * format.[Ch] (papersize): moved to BufferParams
1120 * converter.[Ch] (dvips_options): moved to BufferParams
1121 (dvipdfm_options): moved to anon namespace
1122 * bufferparams.[Ch]: added above functions.
1124 2003-07-17 André Pönitz <poenitz@gmx.net>
1128 * text2.C: don't call inset->update() anymore
1130 * metricsinfo.[Ch]: add convenience constructor
1132 2003-07-16 André Pönitz <poenitz@gmx.net>
1137 * text2.C: replace the LyXCursor::irow_ member with
1138 on-demand computation of the value
1140 2003-07-16 John Levon <levon@movementarian.org>
1142 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1144 2003-07-15 André Pönitz <poenitz@gmx.net>
1147 * text2.C: remove no more needed refresh_row
1149 2003-07-15 André Pönitz <poenitz@gmx.net>
1154 * text3.C: refresh_status tristate -> need_update bool
1156 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1158 * lyxtext.h (init): remove reinit argument (act as if always true)
1159 * text2.C: adjust to that
1161 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1163 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1164 * text3.C: use it to delete selections in some cases
1165 (bugs 441, 673, 702, 954).
1167 2003-07-14 André Pönitz <poenitz@gmx.net>
1169 * rowpainter.[Ch]: reduce interface
1171 2003-07-14 André Pönitz <poenitz@gmx.net>
1173 * BufferView_pimpl.C:
1174 * text2.C: adjust after removing unused BufferView * argument
1176 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1178 * text2.C (init): fix a crash fired on resize
1180 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1182 * buffer.[Ch]: added new closing signal
1183 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1184 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1185 BufferView::Pimpl via the closing the signal
1187 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1189 * buffer.[Ch]: take out all bv-related from buffer
1191 * BufferView_pimpl.[Ch]: connect to new signals
1192 * CutAndPaste.C: removed useless asserts
1193 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1196 * lyxfunc.C: moved view-related funciontality from vc here
1197 * paragraph.C: removed outdated comments
1200 2003-07-10 André Pönitz <poenitz@gmx.net>
1202 * BufferView_pimpl.C:
1206 * text2.C: remove InsetText::InnerCache, clean up consequences
1208 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1210 * ispell.C: fix two typos in error messages
1212 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1214 * Extend Note inset to other forms of annotation like Comment
1215 and Greyedout. Right button click gives dialog.
1217 Files modified or added (+):
1221 * ControlNote.[Ch] +
1223 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1224 frontends/controllers
1228 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1230 * aspell.C: add missing namespace lyx::support
1232 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1234 * BufferView.[Ch] (newFile): Add
1235 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1236 * LaTeX.[Ch] (message): added this signal and use it
1237 * buffer.[Ch] (busy, message): added these signals and use them
1238 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1242 * importer.C: use buffer signals instead of direct bv calling
1243 * lyx_cb.[Ch] (ShowMessage): removed
1246 * paragraph_funcs.C:
1247 * text2.C: use buffer signals
1249 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1251 * introduce namespace lyx::graphics
1253 2003-07-02 André Pönitz <poenitz@gmx.net>
1255 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1257 2003-07-01 André Pönitz <poenitz@gmx.net>
1264 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1265 text*.C to text_func.C
1267 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1269 * introduce namespace lyx::support
1271 2003-06-30 André Pönitz <poenitz@gmx.net>
1276 * text.C: re-enable --with-included-string
1278 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1280 * textcursor.C: add <config.h>
1282 * text.C (getWord): remove const from word_location arg
1284 * lyxvc.C (getLogFile): fix const type order
1286 * lyxtext.h: remove const from word_location arg, add arg name
1288 * lyxlayout.h: currect type on labeltype.
1290 * importer.C: correct \file
1292 * converter.C (intToFormat): use std:: on ret val, ws changes
1294 * bufferlist.h: correct \file
1296 * buffer.C (makeLinuxDocFile): fix const type order
1297 (makeDocBookFile): ditto
1298 (fillWithBibKeys): use std:: on stdlib args.
1300 * CutAndPaste.C: fix authors.
1301 (availableSelections): use std:: on return vector
1303 2003-06-27 André Pönitz <poenitz@gmx.net>
1305 * BufferView_pimpl.C:
1306 * bufferview_funcs.C:
1314 * text3.C: remove LyXCursor::row_ member
1317 * text.C: rename fullRebreak() to partialRebreak() and implement
1318 a fullRebreak() that really bereks fully
1320 * textcursor.h: new struct for cursor-related data
1322 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1324 * lyx_main.C (LyX): get full path of document loaded on the
1327 2003-06-26 André Pönitz <poenitz@gmx.net>
1329 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1330 remove unused/broken operator>,<,>=.
1332 * text.C: remove only use of broken operator<= in an Assert().
1334 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1336 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1337 moved errorlist_.clear to showErrorList
1339 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1341 * converter.C (scanLog, runLaTeX):
1342 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1343 move the bv->showErrorList call to the callers
1344 * lyxfunc.C: i.e. here...
1346 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1347 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1348 namespace, the second to...
1349 * buffer_funcs (BufferFormat, parseErrors): added
1350 * errorlist.C (ErrorList(TeXErrors const &)): removed
1352 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1354 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1356 2003-06-24 "Garst R. Reese" <reese@isn.net>
1360 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1362 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1364 * version.C.in: change docversion to 1.4
1366 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1368 * buffer.C: fix a bug just introduced
1370 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1372 * buffer.[Ch]: added the parseError signal and use it, removed
1374 * BufferView.[Ch] (addError): moved to ...
1375 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1376 to the Buffer::parseError signal to catch (guess what) parse errors
1377 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1379 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1381 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1382 ability to create a buffer and to return an existing one from
1383 the list. Moved these functions to...
1384 * buffer_funcs.[Ch]: added
1385 * BufferView.[Ch] (loadLyXFile): added
1386 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1387 job removed from bufferlist::loadLyXFile.
1388 * buffer.C (setReadOnly): make it work without view
1389 (i.e added an if (users))
1391 2003-06-19 Angus Leeming <leeming@lyx.org>
1394 * LyXAction.C (init):
1395 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1396 with LFUN_DIALOG_SHOW <name> <data>.
1398 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1400 * CutAndPaste.C (availableSelections): small compilation fix for
1401 ancient (gcc 2.9x) compilers
1403 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1405 * text3.C (cursorNext): add tmp var
1407 * text2.C (updateCounters): for function calling out of for clause
1408 (replaceSelectionWithString): ditto
1409 (insertStringAsParagraphs): ditto
1410 (getColumnNearX): add tmp var
1411 (setCursorFromCoordinates): add tmp var
1412 (cursorDownParagraph): add tmp var
1413 (deleteEmptyParagraphMechanism): add tmp var
1415 * text.C (insertChar): add tmp var
1417 * rowpainter.C (paintDepthBar): add tmp var
1419 * CutAndPaste.C (availableSelections): potentially check all
1420 paragraphs in a cut to fill the shown strings.
1422 2003-06-18 André Pönitz <poenitz@gmx.net>
1424 * kbmap.[Ch]: use vector<> instead of list<>
1426 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1428 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1429 pasteSelection with index
1431 * text2.C (pasteSelection): modify, call pasteSelection with index
1433 * paragraph.C (asString): reimplement version with no interval to
1434 call the one with interval.
1436 * lyxtext.h: add index arg to pasteSelection
1438 * MenuBackend.C (MenuItem): handle PasteRecent
1439 (Menu::read::Menutags): add md_pasterecent
1441 (expandPasteRecent): new function
1444 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1446 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1448 (availableSelections): new function
1450 2003-06-17 Angus Leeming <leeming@lyx.org>
1452 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1454 2003-06-17 Angus Leeming <leeming@lyx.org>
1457 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1459 * lyxfunc.C (dispatch): invoke it.
1461 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1463 * iterators.C (operator++, ParPosition): reintroduce some
1464 const_cast for the benefit of older compilers.
1466 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1468 * text3.C (dispatch): do not modify clipboard when doing
1469 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1470 LFUN_DELETE_SKIP on a selection selection
1472 2003-06-16 André Pönitz <poenitz@gmx.net>
1478 * tabular.[Ch]: IU of clone() and getLabelList();
1480 2003-06-13 André Pönitz <poenitz@gmx.net>
1482 * tabular.h: compactification
1484 2003-06-12 André Pönitz <poenitz@gmx.net>
1488 * tabular_funcs.h: some renaming plus whitespace
1490 2003-06-12 André Pönitz <poenitz@gmx.net>
1493 * BufferView_pimpl.C:
1499 * toc.C: Return a Paragraph & for ParIterator::operator*()
1501 2003-06-11 John Levon <levon@movementarian.org>
1505 * ToolbarBackend.C: add "Toolbars" section and
1508 2003-06-10 Angus Leeming <leeming@lyx.org>
1511 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1513 * lyxfunc.C (dispatch): invoke it.
1515 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1517 * main.C: protect <ios> with HAVE_IOS
1518 (main): protect sync_with_stdio with HAVE_IOS
1520 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1522 * text2.C (cutSelection): adjust
1523 (pasteSelection): adjust
1525 * messages.C: handle get of empty string
1527 * main.C (main): use sync_with_stdio(false)
1529 * lyxfunc.C (dispatch): adjust
1531 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1532 (WriteAs): remove unneeded BufferView arg.
1534 * bufferparams.h: use correct types on papersize, papersize2 and
1537 * bufferparams.C (readToken): adjust for type
1538 (writeLaTeX): add missing cases to switch.
1540 * bufferlist.C (quitWriteBuffer): adjust
1543 * buffer.C (asciiParagraph): remove some commented code.
1545 * CutAndPaste.C: remove current_view extern variable.
1546 (cutSelection): add BufferParams arg.
1547 (eraseSelection): add BufferParams arg.
1548 (pasteSelection): add Buffer const & arg
1550 2003-06-07 John Levon <levon@movementarian.org>
1553 * paragraph_funcs.C:
1554 * paragraph_pimpl.C:
1558 * paragraph.C: allow InsetERT to freely space lines,
1559 and some consolidation of code
1561 2003-06-06 José Matos <jamatos@fep.up.pt>
1563 * buffer.C (makeDocBookFile): fix bug #821
1565 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1567 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1569 2003-06-04 Angus Leeming <leeming@lyx.org>
1571 * buffer.C: bump format to 224.
1573 2003-06-05 André Pönitz <poenitz@gmx.net>
1575 * text2.C (redoParagraphs): remove two const_cast<>
1577 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1579 * ParagraphList.h: remove last remnants of NO_STD_LIST
1581 2003-06-03 Angus Leeming <leeming@lyx.org>
1583 * factory.C (createInset): small change to the way InsetExternal's params
1586 2003-06-04 André Pönitz <poenitz@gmx.net>
1588 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1590 * paragraph_pimpl.h:
1591 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1593 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1595 * undo_funcs.C: make some simple cases of undo work again
1597 2003-06-03 John Levon <levon@movementarian.org>
1599 * ispell.C: HPUX doesn't have sys/select.h
1602 2003-06-03 John Levon <levon@movementarian.org>
1604 * CutAndPaste.C: update tabular and include inset
1609 * paragraph.C: remove owningBuffer(), don't pass Buffer
1612 * factory.C: insetGraphicsParams changed
1614 2003-06-02 John Levon <levon@movementarian.org>
1620 * text3.C: remove insetparent
1622 2003-06-02 John Levon <levon@movementarian.org>
1625 * buffer.C: fix inset_iterator.end(), move out of line
1628 2003-06-01 John Levon <levon@movementarian.org>
1630 * text3.C: use a proper cut/paste when doing inset
1631 insert (from Jürgen Spitzmüller)
1633 2003-06-01 John Levon <levon@movementarian.org>
1635 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1637 2003-05-30 André Pönitz <poenitz@gmx.net>
1639 * rowpainter.C: unify second drawing phase
1641 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1643 * trans_mgr.C: remove one case of current_view
1645 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1647 * paragraph_funcs.h: remove paragraph.h include
1649 * paragraph.h: delete NO_STD_LIST stuff
1651 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1653 * buffer.h: remove paragraph.h include
1655 * ParagraphList.C: delete file
1657 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1659 * toc.C (getTocList): adjust
1661 * paragraph_pimpl.C (validate): adjust
1663 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1665 * paragraph.C (Paragraph): adjust
1666 (getPositionOfInset): use const_iterator, adjust
1667 (bibitem): use const_iterator, adjust
1668 (setInsetOwner): adjust
1670 * iterators.C (operator++): adjust
1672 * InsetList.[Ch]: Replace selfmade iterator with standard
1673 vector::iterator also introduce const_iterator. Remove getPos,
1674 getInset and setInset from InsetTable. Adjust accordingly.
1676 * BufferView.C (lockInset): adjust
1677 (ChangeInsets): adjust
1679 * tabular.[Ch]: delete commented same_id functions
1681 2003-05-28 John Levon <levon@movementarian.org>
1683 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1685 2003-05-28 André Pönitz <poenitz@gmx.net>
1687 * metricsinfo.[Ch]: remove 'fullredraw' member
1689 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1691 * lyxtextclass.C (operator): remove caching.
1693 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1697 * text2.C (cursorBottom): adjust
1698 (setCounter): use ParagraphList::find, adjust
1700 * text.C (workWidth): use ParagraphList::find, adjust
1702 * lyxcursor.C (LyXCursor): adjust
1704 * buffer.C (inset_iterator): adjust
1706 * ParagraphList.h: make iterator(value_type) private, make
1707 ParagraphList a friend of iterator.
1709 * ParagraphList.C (find): new function
1711 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1713 2003-05-27 André Pönitz <poenitz@gmx.net>
1715 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1717 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1719 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1721 2003-05-26 John Levon <levon@movementarian.org>
1723 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1725 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1727 * remove same_id from function signatures, adjust.
1729 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1731 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1733 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1735 * paragraph.C (Paragraph): get rid of same_ids parameter
1737 * ParagraphList.C (insert): adjust
1740 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1742 * paragraph_funcs.C (breakParagraph): adjust
1743 (breakParagraphConservative): adjust
1745 * buffer.C (readParagraph): adjust
1747 * ParagraphList.C (insert): take a reference instead of a pointer
1750 * paragraph.[Ch] (id): new function
1752 * bufferlist.C (newFile): adjust
1754 * ParagraphList.C (ParagraphList): adjust
1756 (push_back): take a reference instead of a pointer.
1758 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1760 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1763 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1764 set else use old code.
1766 * ParagraphList.C: remove all NO_NEXT code and only compile this
1767 code of NO_STD_LIST is set.
1769 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1771 * BufferView_pimpl.C:
1781 * graphics/GraphicsConverter.C:
1782 * graphics/PreviewLoader.C: header adjustment
1784 2003-05-23 Angus Leeming <leeming@lyx.org>
1786 * LaTeXFeatures.[Ch] (useBabel): new method.
1787 * bufferparams.C (writeLaTeX): use it.
1789 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1791 * ParagraphList.h (set): remove unused function.
1793 2003-05-23 André Pönitz <poenitz@gmx.net>
1796 * BufferView_pimpl.C:
1800 * undo_funcs.C: setUndo reworked
1802 * iterators.[Ch]: add access to topmost ParagraphList
1804 * lyxtext.[Ch] (workWidth): add a const
1806 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1808 * texrow.[Ch] (increasePos): remove function
1809 * exporter.C (export): removed unused var and outdated comment
1811 2003-05-23 Angus Leeming <leeming@lyx.org>
1813 * latexrunparams.h: rename fragile as moving_arg.
1814 * paragraph.C (simpleTeXOnePar): ditto.
1815 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1817 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1819 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1821 (textUndoOrRedo): comment out a currently unused var.
1823 * paragraph.h (NO_NEXT): enable NO_NEXT
1825 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1827 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1829 * exporter.C (Export): adjust for removeAutoInsets removal.
1831 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1833 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1835 * BufferView.[Ch] (removeAutoInsets): delete function
1837 2003-05-22 Angus Leeming <leeming@lyx.org>
1839 * latexrunparams.h: add a free_spacing variable.
1841 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1842 to pass moving_arg, as the data is stored in runparams.fragile.
1844 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1845 to Inset::latexOptional or to simpleTeXOnePar.
1847 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1848 free_spacing arg to Inset::latexOptional.
1850 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1853 2003-05-22 Angus Leeming <leeming@lyx.org>
1855 * latexrunparams.h: add fragile and use_babel variables.
1857 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1858 * buffer.C (makeLaTeXFile): store this returned value in
1859 runparams.use_babel, thus passing it to the inset::latex methods.
1861 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1862 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1864 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1865 longer has a fragile arg, as it is stored in runparams.fragile.
1867 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1868 moving_arg parameter as the data is stored in runparams.fragile.
1870 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1871 a fragile parameter as the data is stored in runparams.fragile.
1873 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1875 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1877 2003-05-22 Angus Leeming <leeming@lyx.org>
1879 * latexrunparams.h: add a 'bool nice' which defaults to false.
1881 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1882 now encapsulated within runparams.
1884 * bufferlist.C (updateIncludedTeXfiles):
1885 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1887 2003-05-22 Angus Leeming <leeming@lyx.org>
1889 * latexrunparams.h: new file containing struct LatexRunParams.
1890 * Makefile.am: add new file.
1892 * LaTeX.[Ch] (c-tor, run):
1893 * buffer.[Ch] (makeLaTeXFile):
1894 * bufferlist.[Ch] (updateIncludedTeXfiles):
1895 * converter.C (convert, scanLog):
1896 * converter.[Ch] (runLaTeX):
1897 * exporter.C (Export):
1898 * paragraph.[Ch] (simpleTeXOnePar):
1899 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1900 * paragraph_funcs.[Ch] (latexParagraphs):
1901 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1902 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1903 pass around a LatexRunParams parameter.
1905 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1907 * paragraph.[Ch]: remove unused constructor
1909 * ParagraphList.C (erase): new function, taking two iterators
1911 2003-05-22 André Pönitz <poenitz@gmx.net>
1913 * undo_funcs.C: remove duplicated code
1915 * iterator.[Ch]: operator=
1917 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1919 * tabular.C (SetMultiColumn): ws changes
1921 * rowpainter.C (paintFirst): get rid of a ->previous
1923 * lyx_cb.C (getPossibleLabel): parlist simplification
1925 * BufferView.C (ChangeInsets): simplify slightly.
1927 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1929 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1930 * lfuns.h: new LFUN_SPACE
1931 * lyxfunc.C: protected space has a new lfun
1932 * paragraph_funcs.C: read new space insets
1934 * factory.C: handle new space insets
1936 2003-05-22 André Pönitz <poenitz@gmx.net>
1939 * BufferView_pimpl.C:
1942 * undo_funcs.C: return a ParIterator from getParFromID.
1944 * iterators.[Ch]: add two const's
1946 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1948 * toc.C (getTocList): adjust
1950 * iterators.[Ch]: rework for parlist
1952 * buffer.C (par_iterator_begin): adjust
1953 (par_iterator_end): adjust
1955 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1957 * BufferView.C (removeAutoInsets): adjust
1958 (ChangeInsets): adjust
1960 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1962 * text.C (top_y): fix bug 1110
1964 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1966 * errorlist.[Ch]: added
1969 * BufferView_pimpl.C:
1970 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1973 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1975 * Makefile.am: ensure that lyx is relinked upon changes to the
1976 various "convenience" libs.
1978 2003-05-20 Angus Leeming <leeming@lyx.org>
1980 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1981 files are compiled in alphabetical order again.
1983 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1985 2003-05-19 Angus Leeming <leeming@lyx.org>
1987 * gettext.[Ch]: remove "char const * _(char const *)".
1989 2003-05-19 André Pönitz <poenitz@gmx.net>
1991 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2000 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2002 2003-05-19 André Pönitz <poenitz@gmx.net>
2006 * lyxtextclass.[Ch]:
2008 * paragraph_funcs.[Ch]:
2010 * text3.C: more insetenv work
2012 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2014 * ParagraphParameters.C (params2string): small bug fixed
2016 2003-05-16 André Pönitz <poenitz@gmx.net>
2019 * bufferview_funcs.C: patch from Kornel Benko to prevent
2020 crash when _(...) is called twice in a statement
2022 2003-05-16 André Pönitz <poenitz@gmx.net>
2029 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2031 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2033 * lyx_main.C (init): remove spurious static_cast
2035 2003-05-14 André Pönitz <poenitz@gmx.net>
2037 * BufferView.C: fix format string
2039 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2041 * BufferView.[Ch] (insertErrors): removed
2042 * BufferView.[Ch] (showErrorList): added
2043 * buffer.C (runChkTeX):
2044 * converter.C (scanLog): call showErrorList instead of inserterrors
2046 2003-05-13 André Pönitz <poenitz@gmx.net>
2048 * BufferView_pimpl.C:
2050 * bufferview_func.C:
2057 * tabular_funcs.h: tostr() from its own header
2059 * ParagraphParameters.C:
2064 * text3.C: STRCONV()
2066 2003-05-12 André Pönitz <poenitz@gmx.net>
2069 * BufferView_pimpl.C:
2073 * ParagraphParameters.C:
2077 * bufferview_funcs.C:
2090 * paragraph_funcs.C:
2094 * text3.C: boost::format -> bformat all over the place
2097 2003-05-09 André Pönitz <poenitz@gmx.net>
2099 * LColor.[Ch]: Pimpl the #include <map> away
2101 2003-05-09 John Levon <levon@movementarian.org>
2103 * bufferlist.C: never remove emergency saves
2105 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2107 * Makefile.am: better lib building
2109 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2111 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2113 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2114 (simpleTeXSpecialChars): adjust
2115 (simpleTeXSpecialChars): adjust
2116 * paragraph.C (simpleTeXOnePar): adjust
2117 * buffer.C (makeLaTeXFile): adjust
2119 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2121 * text2.C (changeDepth): parlist cleanup
2122 (getColumnNearX): ditto
2124 * rowpainter.C (getLabelFont): parlist cleanup
2126 * bufferlist.C (newFile): parlist cleanup
2128 * CutAndPaste.C (eraseSelection): parlist cleanup
2130 * BufferView_pimpl.C (trackChanges): parlist cleanup
2133 * BufferView.C (lockInset): parlist cleanup.
2134 (ChangeInsets): ditto
2136 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2138 * CutAndPaste.h: Update file header.
2140 * CutAndPaste.C: Update file header.
2141 Store the parts cut out of the Document in a limited_stack.
2142 (copySelection): adjust
2143 (pasteSelection): new function, takes the index in the limited stack.
2144 (nrOfParagraphs): adjust
2145 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2146 simplify error inset insertion.
2147 (checkPastePossible): adjust
2149 2003-05-06 John Levon <levon@movementarian.org>
2151 * text2.C: don't cast wrap inset to float
2153 2003-05-05 André Pönitz <poenitz@gmx.net>
2156 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2158 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2159 few naked Paragraph *.
2161 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2163 * bufferparams.C: Output warning if a document with missing
2164 TeX document class is loaded
2165 * exporter.C: Disable TeX exports if the document class is missing
2168 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2169 isTeXClassAvailable()
2171 2003-05-03 John Levon <levon@movementarian.org>
2174 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2175 explicit cursor show/hide
2177 * BufferView_pimpl.h:
2178 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2179 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2181 * lyxfunc.C: hide cursor before dispatching.
2186 * text3.C: remove explicit cursor hides
2188 2003-05-02 André Pönitz <poenitz@gmx.net>
2190 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2193 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2196 * text2.C: tiny whitespace
2198 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2200 * undo_funcs.C: almost only ws changes.
2202 * ParagraphList.C (splice): just return if pl is empty.
2204 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2206 * ParagraphList.C (splice): new function.
2208 * CutAndPaste.C (pasteSelection): use it
2210 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2212 * CutAndPaste.C (pasteSelection): remove the last next and
2213 previous from this file.
2215 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2217 * CutAndPaste.C (pasteSelection): more clean up, user proper
2218 ParagraphList functions for pasteing.
2220 * ParagraphList.C (insert): new function, three arg insert
2222 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2224 * ParagraphList.C (insert): new function, three arg insert
2226 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2229 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2231 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2233 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2235 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2237 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2239 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2240 (copySelection): clean up a bit.
2241 (pasteSelection): use make_pair
2243 * ParagraphList.C (ParagraphList): implement copy constructor
2244 (operator=): implement, base on copy constructor.
2247 * paragraph.C (erase): return a bool
2249 * paragraph_pimpl.C (erasePos): remove function, move contents...
2250 (erase): ... here. Return a bool.
2251 (erase): call erase instead of erasePos.
2253 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2255 * ParagraphList.h: define PitPosPair
2256 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2257 ParagraphList, fix a bug on pasting multiple pars
2258 * text2.C: change interface to C&P
2260 2003-04-30 André Pönitz <poenitz@gmx.net>
2262 * undo_func.C: revert part of yesterday's patch 2
2264 2003-04-30 John Levon <levon@movementarian.org>
2266 * LColor.C: s/tabular/table/
2268 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2270 * text3.C (dispatch): do not convert iterator -> pointer
2271 * undo_funcs.C (setCursorParUndo): ditto
2272 * text_funcs.C (transposeChars): ditto
2274 * text2.C (setLayout): ws changes only
2276 * text.C (breakParagraph): do not convert iterator -> pointer
2278 (acceptChange): ditto
2279 (rejectChange): ditto
2284 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2287 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2289 * text3.C (gotoInset): YABG (yet another bad getChar)
2291 2003-04-29 André Pönitz <poenitz@gmx.net>
2293 * paragraph.h: make operator= private unimplemented as long as
2296 * ParagraphList.C: whitespace
2299 * paragraph_pimpl.[Ch]:
2300 * paragraph_funcs.C:
2302 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2305 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2307 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2309 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2310 * paragraph.[Ch] (erase):
2311 * paragraph_pimpl.[Ch] (erase): change return type and value
2312 * text2.C (cutSelection): some rework
2314 2003-04-28 John Levon <levon@movementarian.org>
2316 * bufferlist.C: changes for unsaved changes dialog
2318 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2320 * bufferlist.C (newFile): set language (messages_) for new
2323 * buffer.C (readFile): ws changes only.
2325 2003-04-28 André Pönitz <poenitz@gmx.net>
2330 * BufferView_pimpl.C:
2331 * BufferView.C: getParFromID related ParagraphList::iterator changes
2333 2003-04-28 André Pönitz <poenitz@gmx.net>
2335 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2338 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2340 * messages.C: remove one more localedir class variable.
2342 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2344 * messages.C (getLocaleDir): singleton generation function
2346 (Messages): add a default constructor.
2348 * main.C (main): do not setup localedir here, do not call
2351 * gettext.C (_): use it.
2352 (gettext_init): delete funciton
2354 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2356 * gettext.C (getLyXMessages): new singleton generating function.
2358 * buffer.C (updateDocLang): adjust
2360 * Makefile.am (messages.o): add target
2361 (main.o): remove target
2363 2003-04-27 John Levon <levon@movementarian.org>
2368 * lyxvc.C: specify cancel button in Alert::prompt
2370 2003-04-26 John Levon <levon@movementarian.org>
2375 * LyXAction.C: add LFUN_INSET_SETTINGS
2377 * lyxfunc.C: don't enable tabular-feature when there's
2378 just any locking inset
2380 2003-04-26 John Levon <levon@movementarian.org>
2382 * bufferlist.C: re-add Cancel to buffer close question
2384 * lyxfunc.C: fix import UI a bit
2386 2003-04-25 John Levon <levon@movementarian.org>
2388 * gettext.C: remove the broken asserts for now
2390 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2392 * messages.C: make case where setlocale cannot comply work better.
2394 * buffer.C (updateDocLang): new function
2395 (changeLanguage): use it
2398 * text2.C (setCounter): use B_ a bit.
2400 * lyxlayout.C (Read): be sure to trim the label strings.
2402 * messages.C (Messages): fix typo in comment
2404 * buffer.C (readFile): set message_ after file is loaded.
2405 (makeDocBookFile): remove double return
2406 (changeLanguage): reset message_ upon language change.
2407 (B_): new func, use this to get translated buffer strings.
2409 * main.C: add myself and Jean Marc as authors.
2411 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2413 * messages.[hC]: pimplify Messages, and three different pimpls to be
2414 used in different circumstances.
2416 * gettext.[Ch]: change for use with new message code.
2418 2003-04-24 André Pönitz <poenitz@gmx.net>
2420 * factory.C: support for eqref
2422 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2424 * messages.[Ch]: add missing char
2426 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2428 * messages.[Ch]: New files
2430 2003-04-18 John Levon <levon@movementarian.org>
2434 * BufferView_pimpl.C:
2438 * text2.C: remove layout-copy/paste (bug 778)
2440 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2442 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2444 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2446 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2447 if they succeed. Act accordingly.
2449 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2451 * text2.C (setCharFont): adjust
2452 (setCounter): adjust
2453 (insertStringAsLines): adjust
2455 * text.C (leftMargin): adjust
2456 (setHeightOfRow): adjust
2458 * rowpainter.C (paintFirst): adjust
2461 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2463 (isFirstInSequence): ditto
2464 (getEndLabel): ditto
2467 * paragraph.C (getParLanguage): comment out some hard stuff.
2469 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2471 (simpleDocBookOnePar): ditto
2472 (makeDocBookFile): use ParagraphList::iterator
2474 * CutAndPaste.C (pasteSelection): adjust
2476 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2478 * text2.C (getFont): adjust
2479 (getLayoutFont): adjust
2480 (getLabelFont): adjust
2482 * paragraph_funcs.C (TeXOnePar): adjust
2484 * buffer.C (simpleLinuxDocOnePar): adjust
2485 (simpleDocBookOnePar): adjust
2487 * CutAndPaste.C (pasteSelection): adjust
2489 * BufferView.C (getEncoding): adjust
2491 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2493 2003-04-16 John Levon <levon@movementarian.org>
2495 * lyxfind.C: use parlist stuff for search/changes
2497 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2499 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2501 * text2.C (deleteEmptyParagraphMechanism): adjust
2503 * text2.[Ch] (ownerParagraph): delete func (both of them
2505 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2507 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2509 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2511 * ParagraphList.C: prepare for NO_NEXT
2513 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2515 * text2.C (getFont): adjust
2516 (getLayoutFont): adjust
2517 (getLabelFont): adjust
2519 * paragraph.C (getFont): adjust
2520 (getLabelFont): adjust
2521 (getLayoutFont): adjust
2523 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2525 2003-04-15 John Levon <levon@movementarian.org>
2529 * lyx_main.C: handle Include in .ui files
2531 2003-04-15 John Levon <levon@movementarian.org>
2533 * MenuBackend.C: make the doc files length shorter
2536 * ToolbarBackend.C: handle toolbar placement flags,
2539 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2541 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2544 * paragraph_funcs.C (TeXOnePar): adjust
2546 * paragraph.C (getLabelFont): add outerfont arg, adjust
2547 (getLayoutFont): ditto
2548 (simpleTeXOnePar): adjust
2550 * paragraph_pimpl.C (realizeFont): delete func
2552 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2554 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2555 row argument, constify cur argument.
2557 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2559 * text2.C (getFont): adjust
2560 (getLayoutFont): adjust
2561 (getLabelFont): adjust
2563 * paragraph_funcs.C (TeXOnePar): adjust
2564 (outerFont): new func...
2565 (realizeFont): ...moved out from here, changed this to facilitate
2568 * paragraph.C (getFont): take outerfont as arg, adjust
2569 (simpleTeXOnePar): add outerfont arg, adjust
2571 * buffer.C (simpleLinuxDocOnePar): adjust
2572 (simpleDocBookOnePar): adjust
2574 * CutAndPaste.C (pasteSelection): adjust
2576 * BufferView.C (getEncoding): adjust
2578 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2580 * text2.C (setCharFont): adjust
2581 (setCounter): adjust
2583 * text.C (leftMargin): adjust
2584 (setHeightOfRow): adjust
2586 * rowpainter.C (paintFirst): adjust
2589 * paragraph_pimpl.C (realizeFont): adjust
2591 * paragraph.C (isFirstInSequence): move from here...
2592 * paragraph_funcs.C (isFirstInSequence): ...to here
2594 * paragraph.C (outerHook): move from here...
2595 * paragraph_funcs.C (outerHook): ...to here
2597 * paragraph.C (depthHook): move from here...
2598 * paragraph_funcs.C (depthHook): ...to here
2600 * paragraph.C (getEndLabel): move from here...
2601 * paragraph_funcs.C (getEndLabel): ...to here
2603 * text2.C (realizeFont): move from here...
2604 * paragraph_funcs.C (realizeFont): ...to here
2606 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2608 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2610 2003-04-14 Angus Leeming <leeming@lyx.org>
2612 * LColor.[Ch]: scrap LColor mathcursor.
2614 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2616 * lyxlex.[Ch] (text): delete function
2617 * trans.C (Load): adjust
2618 * paragraph_funcs.C (readParToken): adjust
2620 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2622 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2623 vector<char> instead of a char[].
2625 * lyxlex_pimpl.C (getString): adjust
2627 (lex): use getString
2631 * lyxlex.C (text): use pimpl_->getString()
2635 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2637 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2638 (makeFontEntriesLayoutSpecific): temp var for par.size()
2639 (setLayout): temp var for ownerParagraphs().end()
2640 (fullRebreak): temp var for rows().end()
2641 (selectionAsString): temp var for boost::next(startpit), realize
2642 that the while really is a regular for loop.
2643 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2644 setCursor in one place.
2645 (setParagraph): temp vr for ownerParagraphs().end()
2646 (updateCounters): make the while loop a for loop
2647 (cutSelection): temp var for ownerParagraphs().end()
2648 (updateInset): make the do {} while() a regular for loop
2649 (getCursorX): use temp vars
2650 (setCurrentFont): use temp vars
2651 (getColumnNearX): use temp vars
2653 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2655 * text.C (transformChar): use temp var for getChar
2656 (computeBidiTables): use temp var for row->par()
2657 (fill): move temp vars for row->par() and pit->layout() earlier in
2659 (labelFill): use temp var for row->par()
2660 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2661 asc and desc, realize that pit never changes and that firstpit is
2662 just a duplicate and not needed. Exchange rit->par() with pit in a
2664 (breakAgain): use a temp var for boost::next(rit)
2665 (breakAgainOneRow): ditto
2666 (breakParagraph): use a temp var for rows().begin()
2667 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2668 (cursorRightOneWord): use temp var for cursor.par() and
2669 cursor.pos(), remove usage of tmpcursor.
2670 (cursorLeftOneWord): use temp var for cursor.par() and
2671 cursor.pos() only set cur at end of function.
2673 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2675 * text.C, text2.C: exchange all usage of Paragraph::next with
2676 boost::next(ParagraphList::iterator)
2678 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2680 * text2.C (cursorTop): simplify implementation
2681 (cursorBottom): ditto
2682 (setParagraph): use ParagraphList::iterator
2683 (setCurrentFont): adjust
2684 (getColumnNearX): adjust
2685 (cursorRight): adjust
2686 (cursorLeft): remove usage of Paragraph::previous
2687 (cursorUpParagraph): ditto
2688 (deleteEmptyParagraphMechanism): slight cleanup
2690 * text.C (isBoundary): take a Paragraph const & instead of a
2692 (addressBreakPoint): ditto
2693 (leftMargin): remove usage of Paragraph::previous.
2694 (setHeightOfRow): ditto
2695 (cursorLeftOneWord): ditto
2696 (selectNextWordToSpellcheck): ditto
2699 (breakParagraph): remove one usage of Paragraph::next
2700 (redoParagraph): ditto
2701 (acceptChange): ditto
2702 (insertChar): adjust
2703 (rowBreakPoint): adjust
2705 * bufferview_funcs.C (toggleAndShow): adjust
2707 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2709 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2710 methods to access it.
2712 * text.C: Added updateRowPositions to compute all row positions.
2713 Make top_y and getRowNearY() to use the cached y position
2715 2003-04-11 John Levon <levon@movementarian.org>
2717 * text.C (rowBreakPoint): reintroduce the labelEnd
2718 checks, code copied from the row fill stuff. Deep voodoo.
2720 * text.C (fill): add a comment and debugging for the
2723 2003-04-11 John Levon <levon@movementarian.org>
2725 * text.C: make sure fullrow insets get wrapped to the next line,
2726 even when they're in a manual label
2728 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2730 * text2.C (insertParagraph): make it take ParagraphList::iterator
2732 (setLayout): make it return ParagraphList::iterator
2733 (redoParagraphs): ditto
2735 (checkParagraph): ditto
2737 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2739 * text2.C: adjust several funcs.
2740 (realizeFont): take a ParagraphList::iterator as arg.
2741 (getLayoutFont): ditto
2742 (getLabelFont): ditto
2743 (setCharFont): ditto
2745 * text.C: adjust several funcs.
2747 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2749 * text.C (selectNextWordToSpellcheck): don't accidentally
2752 2003-04-10 John Levon <levon@movementarian.org>
2754 * ToolbarBackend.C (getIcon): special handling for
2757 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2759 * text2.C (cursorRight): a getChar assert fixed
2761 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2763 * text2.C (getFont): change to take a ParagraphList::iterator
2764 instead of Paragraph*
2765 Adjust several functions.
2767 * text.C (transformChar): change to take a ParagraphList::iterator
2768 instead of Paragraph*
2769 (singleWidth): ditto
2770 Adjust several functions.
2772 * rowpainter.C: adjust several functions
2773 * rowpainter.h:store a ParagraphList::iterator and not a
2777 2003-04-09 John Levon <levon@movementarian.org>
2782 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2783 and the "help" bits as well
2785 2003-04-09 John Levon <levon@movementarian.org>
2788 * ToolbarBackend.C: allow multiple toolbars
2790 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2792 * undo_funcs.C (setCursorParUndo): adjust
2794 * text_funcs.C (transposeChars): adjust
2796 * text3.C (gotoNextInset): adjust
2799 * text2.C (setLayout): adjust
2800 (changeDepth): adjust
2802 (redoParagraphs): adjust
2803 (selectionAsString): adjust
2804 (setParagraph): adjust
2805 (insertInset): adjust
2806 (cutSelection): adjust
2807 (copySelection): adjust
2808 (pasteSelection): adjust
2809 (insertStringAsLines): adjust
2810 (updateInset): adjust
2811 (setCursor): change to take a ParagraphList::iterator parameter
2812 (setCursorIntern): change to take a ParagraphList::iterator parameter
2813 (setCurrentFont): adjust
2814 (cursorLeft): adjust
2815 (cursorRight): adjust
2816 (deleteEmptyParagraphMechanism): adjust
2818 * text.C (breakParagraph): adjust
2819 (insertChar): adjust
2820 (acceptChange): adjust
2821 (rejectChange): adjust
2822 (selectNextWordToSpellcheck): adjust
2823 (changeCase): adjust
2827 * lyxfind.C (SearchForward): adjust
2828 (SearchBackward): adjust
2829 (nextChange): adjust
2831 * lyxcursor.C (par): adjust
2833 * lyxcursor.h: store a ParagraphList::iterator instead of a
2836 * lyx_cb.C (getPossibleLabel): adjust
2838 * bufferview_funcs.C (toggleAndShow): adjust
2840 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2843 * BufferView.C (removeAutoInsets): adjust
2844 (lockedInsetStoreUndo): adjust
2846 2003-04-09 John Levon <levon@movementarian.org>
2848 * ToolbarBackend.C: try icon without argument
2849 if with argument fails
2851 2003-04-08 John Levon <levon@movementarian.org>
2854 * ToolbarBackend.C: add getIcon(), handle tooltip,
2855 and change from "Icon" to "Item".
2857 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2859 * BufferView.C (lockInset): another bad getchar crunched
2861 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2863 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2866 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2868 * lyxfind.C (searchForward, searchBackwards): bug 782
2870 2003-04-07 John Levon <levon@movementarian.org>
2872 * paragraph.C: remove dead comment
2874 * text.C: remove troublesome depth-fiddling code
2875 in leftMargin() and rightMargin() (bug 1017)
2877 * text.C: fix breaking of rows in nested lists
2880 * text2.C (updateCounters): fix up depth values
2883 2003-04-07 John Levon <levon@movementarian.org>
2885 * BufferView_pimpl.C: clear message when doc finishes resizing,
2886 and after a mouse event
2888 * lyxfunc.C: clear message after exiting inset
2890 2003-04-07 John Levon <levon@movementarian.org>
2892 * bufferview_funcs.C: show math status not outside
2893 status in the statusbar
2895 2003-04-07 John Levon <levon@movementarian.org>
2897 * lyxfunc.C: note status changed after a depth change
2899 2003-04-04 Angus Leeming <leeming@lyx.org>
2901 * LaTeX.h: move AuxInfo operator==, != out of line.
2902 Remove LaTeX virtual destructor; nothing derives from it.
2903 Move operator()() out of public area and rename it startscript().
2904 Change protected for private.
2906 2003-04-04 Angus Leeming <leeming@lyx.org>
2909 * text2.C: remove unneeded #includes.
2911 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2913 * text2.C (dEPM): fix the heigth of the next row
2915 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2917 * text.C: squashed an invalid getChar requester + some ws changes
2919 2003-04-03 John Levon <levon@movementarian.org>
2921 * bufferview_funcs.h:
2922 * bufferview_funcs.C:
2925 * text2.C: make getStatus work for the env depth lfuns
2927 2003-04-03 John Levon <levon@movementarian.org>
2929 * bufferview_funcs.h:
2930 * bufferview_funcs.C:
2933 * text2.C: parlistize decDepth(), by merging it with incDepth()
2935 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2937 * lyxrow.h: store a ParagraphList::iterator instead of a
2938 Paragraph* and adjust other class functions to suit.
2940 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2943 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2945 * text2.C (setCursor): do not anchor to cursor row for the time being
2947 2003-04-02 John Levon <levon@movementarian.org>
2954 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2956 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2958 * paragraph.h: make ParagraphList and ParagraphList::iterator
2959 friends of Paragraph.
2961 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2963 * ParagraphList.C: Use the private next_ and previous_ from
2966 2003-04-01 John Levon <levon@movementarian.org>
2970 * Makefile.am: rename, remove defaults gunk
2973 * MenuBackend.C: remove defaults gunk
2976 * Languages.C: remove defaults gunk
2979 * lyx_main.C: error out if files couldn't be found.
2981 2003-04-02 John Levon <levon@movementarian.org>
2983 * text2.C: make incDepth() use parlist
2985 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2987 * undo_funcs.C (firstUndoParagraph): adjust
2989 * text3.C (gotoInset): adjust
2990 (dispatch): adjust, and rewrite loop.
2992 * text2.C (init): adjust, and rewrite loop.
2993 (redoParagraphs): adjust
2994 (updateInset): adjust, and rewrite loop.
2995 (deleteEmptyParagraphMechanism): adjust
2997 * tabular.C (LyXTabular): adjust
2998 (SetMultiColumn): adjust
3001 * lyxtext.[Ch] (ownerParagraph): delete function
3002 (ownerParagraphs): new function returns a ParagraphList.
3004 * BufferView.C (removeAutoInsets): adjust
3005 (insertErrors): adjust
3006 (setCursorFromRow): adjust
3008 2003-04-01 Angus Leeming <leeming@lyx.org>
3010 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3013 2003-04-02 John Levon <levon@movementarian.org>
3019 * text_funcs.C: make transposeChars a free function
3021 * lyxrow_funcs.C: remove wrong comment
3023 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3026 * rowpainter.C: adjust
3031 * lyxrow_funcs. [Ch]: new files
3033 * lyxrow.[Ch]: remove next and previous pointers
3034 (next,previous): remove accessor functions
3035 (isParEnd): move to lyxrow_funcs
3036 (lastPos): move to lyxrow_funcs
3037 (nextRowIsAllInset): move to lyxrow_funcs
3038 (lastPrintablePos): move to lyxrow_funcs
3039 (numberOfSeparators): move to lyxrow_funcs
3040 (numberOfHfills): move to lyxrow_funcs
3041 (numberOfLabelHfills): move to lyxrow_funcs
3042 (hfillExpansion): move to lyxrow_funcs
3046 * bufferview_funcs.C (toggleAndShow): adjust
3048 * RowList.h: Remove class RowList from file leave just a
3051 * RowList.C: delete file
3053 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3056 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3058 * text3.C (cursorPrevious): adjust
3059 (cursorNext): adjust
3062 * text2.C (redoHeightOfParagraph): adjust
3063 (redoDrawingOfParagraph): adjust
3066 * text.C (breakParagraph): adjust
3067 (insertChar): adjust
3070 * rowpainter.C (RowPainter): adjust
3071 (leftMargin): simplify and adjust
3072 (most rowpainter functions): adjust.
3074 * rowpainter.h: store the row as RowList::iterator not as Row*
3076 * lyxcursor.C (row): taka RowList::iterator as arg
3079 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3082 2003-04-01 Angus Leeming <leeming@lyx.org>
3084 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3085 stuff like bool Bool.
3087 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3089 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3092 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3094 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3097 * lyxtext.h (rows): drop one version and leve a const variant that
3098 returns a RowList::iterator.
3100 2003-03-31 Angus Leeming <leeming@lyx.org>
3102 * text.C (fill): ensure that the signature is the same as that in the
3105 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3107 * text2.C (redoParagraphs): adjust
3108 (updateCounters): adjust
3109 (checkParagraph): adjust
3110 (getColumnNearX): adjust and reformat a bit.
3112 * text.C (top_y): adjust
3114 (leftMargin): adjust
3115 (prepareToPrint): adjust
3117 (getRowNearY): adjust
3119 * lyxtext.h: make rowlist_ mutable.
3121 * RowList.h: add const_iterator
3122 * RowList.C: adjust for RowList::const_iterator.
3124 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3127 2003-03-31 John Levon <levon@movementarian.org>
3130 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3132 * lyx_main.C: set default fonts from using lyx_gui funcs
3134 * exporter.C: pdf_mode moved from lyxrc
3137 * lyxfunc.C: changes from above
3139 2003-03-31 John Levon <levon@movementarian.org>
3141 * lyx_main.C: fix to the last fix
3143 2003-03-31 John Levon <levon@movementarian.org>
3145 * bufferlist.C: "Load original" -> "Load Original"
3151 * format.C: more Alert cleanups
3153 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3155 * text2.C (removeParagraph): make it take a RowList::iterator as
3157 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3158 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3160 * text.C (anchor_row): make it take a RowList::iterator as arg,
3162 (computeBidiTables): make it take a const reference to Row instead
3163 of Row pointer, adjust.
3164 (leftMargin): make it take a RowList::iterator as arg, adjust.
3165 (rowBreakPoint): adjust
3166 (breakAgainOneRow): make it take a RowList::iterator as arg,
3168 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3170 * bufferview_funcs.C (toggleAndShow): adjust
3172 2003-03-30 John Levon <levon@movementarian.org>
3176 * boost-inst.C: moved to support
3178 * several files: changes as a result
3180 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3182 * text2.C (LyXText): adjust.
3184 (removeRow): make it take a RowList::iterator as arg, adjust.
3185 (fullRebreak): adjust
3186 (deleteEmptyParagraphMechanism): adjust
3187 (clearPaint): adjust
3190 * text.C (top_y): adjust
3191 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3192 (breakAgain): make it take a RowList::iterator as arg, adjust.
3193 (breakParagraph): adjust
3194 (insertChar): adjust
3197 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3198 need_break_row, and refresh_row.
3200 * text3.C (dispatch): adjust
3202 * text2.C (checkParagraph): adjust
3204 (setCursorFromCoordinates): adjust
3206 * text.C (top_y): adjust
3208 (getRow): make it return a RowList::iterator, adjust
3209 (getRowNearY): make it return a RowList::iterator, adjust
3211 * text2.C (init): adjust
3212 (insertRow): remove function
3213 (insertParagraph): adjust
3214 (redoParagraphs): adjust
3215 (fullRebreak): adjust
3216 (updateCounters): adjust
3218 * text.C (top_y): rewrite to use RowList iterators.
3220 (setHeightOfRow): rewrite to sue RowList iterators.
3221 (appendParagraph): adjust
3222 (breakAgain): adjust
3223 (breakAgainOneRow): adjust
3224 (breakParagraph): adjust
3226 (getRowNearY): adjust, and remove commented code.
3228 * lyxtext.h (firstRow): delete function
3229 (lastRow): delete function
3230 (rows): new function (const and non-const versions.)
3231 (insertRow): delete function
3233 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3235 2003-03-29 John Levon <levon@movementarian.org>
3237 * BufferView_pimpl.C: always update scrollbar top
3238 because pasting text when we're anchored could mean we
3239 miss an update altogether
3241 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3243 * text2.C (init): use rowlist_.end() and not 0.
3244 (insertRow): change to take a RowList::iterator as arg, adjust
3246 (insertParagraph): change to take a RowList::iterator as arg,
3248 (redoParagraphs): remove some debug msgs.
3250 * text.C (appendParagraph): change to take a RowList::iterator
3251 arg, adjust for this.
3252 (breakAgain): add an assert
3253 (breakAgainOneRow): ditto
3255 2003-03-29 John Levon <levon@movementarian.org>
3257 * text2.C: do not clear selection after inc/decDepth
3260 2003-03-29 John Levon <levon@movementarian.org>
3263 * buffer.C: fix broken strerrors according to Lars
3265 2003-03-29 John Levon <levon@movementarian.org>
3267 * converters.C: more Alert cleanups
3269 2003-03-29 John Levon <levon@movementarian.org>
3271 * bufferview_funcs.C: remove pointless Alert
3273 * buffer.C: fix confusing error message when
3274 a template is chmoded 000
3276 2003-03-29 John Levon <levon@movementarian.org>
3280 * BufferView_pimpl.C: Alert fixes
3284 * tabular-old.C: remove unused table compat reading
3286 2003-03-29 John Levon <levon@movementarian.org>
3291 * lyx_cb.C: more Alert cleanups
3293 * lyxfunc.C: don't allow chktex if not latex document
3295 2003-03-29 John Levon <levon@movementarian.org>
3299 * buffer.C: warnings pushed down from support/,
3302 2003-03-29 John Levon <levon@movementarian.org>
3304 * lyxfunc.C: safety check for C-r (revert)
3306 2003-03-29 John Levon <levon@movementarian.org>
3309 * bufferlist.C: several UI fixes using Alert::prompt.
3310 Fix the pointless looping quit code. Fix stupid revert
3315 * lyx_cb.C: use Alert::prompt
3317 * lyx_main.C: remove a silly question
3319 * lyxfunc.C: remove a couple of silly questions,
3322 2003-03-28 John Levon <levon@movementarian.org>
3324 * text2.C: fix bug 974 (End on empty par)
3326 2003-03-28 John Levon <levon@movementarian.org>
3328 * BufferView_pimpl.C:
3330 * lfuns.h: remove do-nothing math greek lfuns
3332 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3334 * lyxgluelength.h (isValidGlueLength): add default arg on
3335 parameter 2. Remove default arg from friend in class.
3337 * lyxlength.h (isValidLength): add default arg on parameter 2.
3338 Remove default arg from friend in class.
3340 * text2.C (LyXText): adjust, initialize refresh_row.
3344 (insertParagraph): adjst
3345 (redoParagraphs): adjust
3346 (fullRebreak): adjust
3347 (updateCounters): adjust
3348 (deleteEmptyParagraphMechanism): first attempt at fixing a
3351 * text.C (top_y): adjust
3352 (setHeightOfRow): adjust
3354 (getRowNearY): adjust
3356 * lyxtext.h: include RowList.h
3357 (~LyXText): not needed anymore, deleted.
3358 (firstRow): modify for RowList
3359 (lastRow): new function
3360 Delete firstrow and lastrow class variables, add a Rowlist
3361 rowlist_ class variable.
3363 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3366 * RowList.C (insert): fix case where it == begin().
3368 2003-03-26 Angus Leeming <leeming@lyx.org>
3370 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3371 the thesaurus dialog.
3373 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3375 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3377 * RowList.[Ch]: new files
3379 * ParagraphList.C (erase): handle the case where it == begin
3382 2003-03-25 John Levon <levon@movementarian.org>
3386 * aspell.C: add new aspell support
3389 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3392 2003-03-25 Angus Leeming <leeming@lyx.org>
3395 * LyXAction.C (init): new LFUN_INSET_INSERT.
3397 * BufferView_pimpl.C (dispatch): split out part of the
3398 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3400 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3403 2003-03-25 Angus Leeming <leeming@lyx.org>
3405 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3407 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3410 * text3.C: remove useless row->height(0)
3412 2003-03-25 John Levon <levon@movementarian.org>
3416 * text3.C: rename the refreshing stuff to better names
3418 2003-03-24 John Levon <levon@movementarian.org>
3420 * BufferView_pimpl.h:
3421 * BufferView_pimpl.C: update layout choice on a mouse
3424 2003-03-23 John Levon <levon@movementarian.org>
3426 * Makefile.am: fix commandtags.h reference
3428 2003-03-22 John Levon <levon@movementarian.org>
3430 * BufferView_pimpl.C:
3435 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3437 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3440 * text.C: take the rtl methods out of line
3442 2003-03-21 André Pönitz <poenitz@gmx.net>
3444 * metricsinfo.[Ch]: new files containing structures to be passed around
3445 during the two-phase-drawing...
3447 2003-03-21 André Pönitz <poenitz@gmx.net>
3449 * lyxtextclass.C: read 'environment' tag.
3451 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3453 * text2.C (removeRow): fix bug 964
3455 2003-03-20 John Levon <levon@movementarian.org>
3459 * text2.C: paint cleanups. Inset::update() dropped font
3462 2003-03-19 John Levon <levon@movementarian.org>
3464 * lyxfunc.C: only fitcursor/markDirty if available()
3466 2003-03-19 John Levon <levon@movementarian.org>
3468 * commandtags.h: rename to ...
3470 * lfuns.h: ... this, and renumber / cleanup
3472 2003-03-19 John Levon <levon@movementarian.org>
3474 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3475 fit the cursor after an lfun
3479 * BufferView_pimpl.h:
3480 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3482 * LyXAction.C: layout-character should have ReadOnly
3484 * ParagraphParameters.C:
3486 * bufferview_funcs.C:
3493 * undo_funcs.C: changes from above
3495 2003-03-18 John Levon <levon@movementarian.org>
3497 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3498 remove it from update()
3500 * lyxfunc.C: update layout choice after an lfun
3502 * text3.C: remove extra updateLayoutChoice()s
3504 2003-03-18 John Levon <levon@movementarian.org>
3506 * text.C: top_y change means full repaint, fix
3507 a drawing bug with cursor movement
3509 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3513 * text2.C: anchor row on setCursor
3515 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3517 * lyxtext.h: remove almost all mutable keywords
3520 * text3.C: remove const keywords accordingly
3522 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3524 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3526 (TeXEnvironment): ditto
3529 2003-03-17 John Levon <levon@movementarian.org>
3531 * text.C (rowBreakPoint): remove attempt to fix displayed
3532 math insets inside a manual label
3534 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3536 * lyxtext.h: remove BufferView* as first arg from almost all class
3538 * other files: adjust.
3540 2003-03-17 John Levon <levon@movementarian.org>
3544 * text2.C: more paint cleanups
3546 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3549 * rowpainter.C: remove "smart" background painting code
3551 2003-03-16 John Levon <levon@movementarian.org>
3556 * text3.C: add helper functions for setting refresh_row/y
3558 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3560 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3561 newline inset which *can* get inserted in the pass_thru layouts.
3562 This is primarily for literate documents.
3564 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3566 * buffer.C: increment LYX_FORMAT to 223
3568 2003-03-14 André Pönitz <poenitz@gmx.net>
3570 * textclass.h: prepare for environment handling, ws changes
3571 * lyxlayout.C: read latexheader and latexfooter tags
3573 2003-03-14 John Levon <levon@movementarian.org>
3575 * text2.C: rewrite ::status() a bit
3577 2003-03-13 John Levon <levon@movementarian.org>
3579 * lyxtext.h: add some docs
3581 2003-03-13 John Levon <levon@movementarian.org>
3586 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3588 2003-03-13 John Levon <levon@movementarian.org>
3590 * text3.C: fix appendix redrawing
3592 2003-03-13 John Levon <levon@movementarian.org>
3594 * text.C (setHeightOfRow):
3596 * rowpainter.C: make appendix mark have the text
3597 "Appendix" so the user knows what it is
3600 * LColor.C: s/appendixline/appendix/ from above
3602 2003-03-13 John Levon <levon@movementarian.org>
3604 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3606 * text.C: fix a getChar(pos) bug properly
3608 2003-03-13 Angus Leeming <leeming@lyx.org>
3611 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3612 Probably only temporary. Let's see how things pan out.
3614 * BufferView.C (unlockInset):
3615 * BufferView_pimpl.C (fitCursor):
3616 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3618 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3619 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3621 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3622 new functions that convert ParagraphParameters to and from a string.
3624 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3625 BufferView::Pimpl's dispatch.
3626 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3628 2003-03-13 André Pönitz <poenitz@gmx.net>
3632 * factory.C: make it aware of InsetEnv
3634 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3636 * text2.C (setCursor): never ask for one past last
3637 (setCursor): add some debugging messages.
3639 * text.C (singleWidth): never ask for one past last
3640 (singleWidth): ditto
3642 (rightMargin): ditto
3643 (rowBreakPoint): ditto
3644 (setHeightOfRow): ditto
3645 (prepareToPrint): ditto
3647 * rowpainter.C (paintBackground): never ask for one past last
3648 (paintText): never ask for one past last
3650 * paragraph_pimpl.C (getChar): make the assert stricter, never
3651 allow the one past last pos to be taken
3653 * paragraph.C (getChar): ws changes only
3655 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3656 (numberOfSeparators): ditto
3657 (numberOfHfills): ditto
3659 2003-03-12 John Levon <levon@movementarian.org>
3665 * paragraph_funcs.C: fix per-buffer authorlists
3667 2003-03-12 John Levon <levon@movementarian.org>
3669 * text.C: fix newline in right address
3671 2003-03-12 Angus Leeming <leeming@lyx.org>
3673 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3674 duplicate those in LyXFunc::dispatch.
3678 * ToolbarDefaults.C:
3679 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3680 Add LFUN_FONTFREE_UPDATE.
3682 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3683 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3685 * bufferview_func.[Ch]: several new functions to facilliate
3686 transfer of data to and from the character dialog.
3688 2003-03-12 John Levon <levon@movementarian.org>
3693 * paragraph_funcs.C:
3694 * paragraph_pimpl.C:
3698 * text3.C: remove META_NEWLINE in favour of an inset
3701 * rowpainter.C: remove paintNewline (done by inset)
3703 2003-03-12 John Levon <levon@movementarian.org>
3705 * paragraph_pimpl.C: complain about bad getChar()s
3706 for a while at least
3708 2003-03-12 John Levon <levon@movementarian.org>
3711 * buffer.C: move paragraph read into a separate function,
3712 a little renaming to reflect that.
3715 * bufferparams.C: remove the author_ids map, not necessary now
3718 * factory.C: moved Buffer::readInset to here
3720 * paragraph_funcs.h:
3721 * paragraph_funcs.C: readParagraph free function moved from
3724 * tabular.C: name change
3726 2003-03-12 John Levon <levon@movementarian.org>
3729 * ParagraphParameters.C: move par params input to
3732 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3733 behave like a normal read from the stream wrt reading
3734 a line vs. a \\token
3736 2003-03-12 John Levon <levon@movementarian.org>
3739 * ParagraphParameters.h:
3740 * ParagraphParameters.C: move output code to a
3743 2003-03-12 John Levon <levon@movementarian.org>
3745 * BufferView.C (insertLyXFile):
3748 * tabular.C: use a parlist iterator for creating the
3751 2003-03-12 John Levon <levon@movementarian.org>
3753 * buffer.C: make current_change static local not
3756 2003-03-12 John Levon <levon@movementarian.org>
3758 * buffer.C: fix insertStringAsLines for change tracking
3760 2003-03-12 John Levon <levon@movementarian.org>
3767 * bufferparams.C: move author list into params. Rename some
3768 functions. Move the header reading into a separate token
3769 loop. Move the header token reading into BufferParams.
3771 2003-03-12 John Levon <levon@movementarian.org>
3773 * changes.C: put debug inside lyxerr.debugging() checks
3775 2003-03-11 André Pönitz <poenitz@gmx.net>
3777 * factory.C: make it aware of InsetHFill
3779 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3781 * buffer.C (latexParagraphs): move function from here...
3782 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3785 2003-03-10 Angus Leeming <leeming@lyx.org>
3787 * LyXAction.C (init): fix bug in poplating array with multiple entries
3788 with the same LFUN (spotted by JMarc).
3790 2003-03-10 John Levon <levon@movementarian.org>
3793 * text2.C: move getColumnNearX() near its
3796 2003-03-10 John Levon <levon@movementarian.org>
3798 * text.C: fix break before a minipage
3800 2003-03-10 John Levon <levon@movementarian.org>
3802 * text.C: fix the last commit
3804 2003-03-09 John Levon <levon@movementarian.org>
3808 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3809 bug 365 (don't break before insets unless needed). Don't
3810 return a value > last under any circumstances.
3812 2003-03-09 Angus Leeming <leeming@lyx.org>
3814 * BufferView_pimpl.C (trackChanges, dispatch): call
3815 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3817 2003-03-09 Angus Leeming <leeming@lyx.org>
3819 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3820 than Dialogs::showAboutlyx().
3822 2003-03-09 Angus Leeming <leeming@lyx.org>
3824 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3825 than Dialogs::showTabularCreate().
3827 2003-03-09 John Levon <levon@movementarian.org>
3831 * text2.C: 3rd arg to nextBreakPoint was always the same.
3834 2003-03-08 John Levon <levon@movementarian.org>
3841 * text2.C: Remove the "main" bit from the "main body"
3844 2003-03-08 John Levon <levon@movementarian.org>
3846 * text.C (leftMargin): The left margin of an empty
3847 manual label paragraph should not include the label width
3850 * text.C (prepareToPrint): don't attempt to measure hfills
3851 for empty manual label paragraphs - the answer should be 0
3853 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3855 * CutAndPaste.C: remove commented code and reindent.
3857 2003-03-08 John Levon <levon@movementarian.org>
3860 * lyxfunc.C: move reloadBuffer()
3863 * BufferView.C: to here
3865 * lyxvc.C: add comment
3868 * vc-backend.C: call bv->reload() to avoid
3869 getStatus() check on MENURELOAD
3871 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3873 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3874 to an old format .dep file.
3876 2003-03-07 Angus Leeming <leeming@lyx.org>
3878 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3879 when the LFUN_MOUSE_RELEASE should have been handled by
3880 inset->localDispatch.
3882 2003-03-07 Angus Leeming <leeming@lyx.org>
3884 * BufferView_pimpl.C (dispatch):
3885 * LyXAction.C (init):
3886 * ToolbarDefaults.C (init):
3888 * lyxfunc.C (getStatus):
3889 remove LFUN_INSET_GRAPHICS.
3891 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3893 2003-03-07 Angus Leeming <leeming@lyx.org>
3896 * LyXAction.C (init):
3897 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3899 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3902 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3904 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3905 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3907 2003-03-07 Angus Leeming <leeming@lyx.org>
3909 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3912 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3914 * ParagraphList.C (front): new function
3917 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3919 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3920 and top_row_offset_. removed var first_y.
3922 * text2.C (LyXText, removeRow):
3924 * BufferView_pimpl.C:
3925 use these methods instead of using first_y
3927 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3929 * text2.C (pasteSelection): adjust for checkPastePossible
3931 * CutAndPaste.C: remove Paragraph * buf and replace with
3932 ParagraphList paragraphs.
3933 (DeleteBuffer): delete
3934 (cutSelection): change the tc type to textclass_type
3935 (copySelection): change the tc type to textclass_type
3936 (copySelection): adjust for ParagraphList
3937 (pasteSelection): change the tc type to textclass_type
3938 (pasteSelection): adjust for Paragraphlist
3939 (nrOfParagraphs): simplify for ParagraphList
3940 (checkPastePossible): simplify for ParagraphList
3941 (checkPastePossible): remove unused arg
3943 * ParagraphList.C (insert): handle the case where there are no
3946 * CutAndPaste.h: make CutAndPaste a namespace.
3948 * text3.C (dispatch): adjust
3950 * text.C (breakParagraph): add a ParagraphList as arg
3952 * paragraph_funcs.C (breakParagraph): change to take a
3953 BufferParams and a ParagraphList as args.
3954 (breakParagraphConservative): ditto
3955 (mergeParagraph): ditto
3956 (TeXDeeper): add a ParagraphList arg
3957 (TeXEnvironment): ditto
3960 * buffer.C (readLyXformat2): adjust
3961 (insertStringAsLines): adjust
3962 (latexParagraphs): adjust
3964 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3965 (cutSelection): adjust
3966 (pasteSelection): adjust
3968 * BufferView_pimpl.C (insertInset): adjust
3970 2003-03-05 Angus Leeming <leeming@lyx.org>
3973 * LyXAction.C (init):
3974 * BufferView_pimpl.C (dispatch):
3975 * lyxfunc.C (getStatus):
3976 remove LFUN_CHILD_INSERT.
3978 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3980 2003-03-05 Angus Leeming <leeming@lyx.org>
3983 * LyXAction.C (init):
3984 * src/factory.C (createInset):
3985 * lyxfunc.C (getStatus):
3986 * text3.C (dispatch):
3987 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3989 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3991 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3993 * ParagraphList.C (insert): handle insert right before end()
3994 (erase): fix cases where it can be first or last paragraph.
3996 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3998 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3999 Paragraph::next and Paragraph::previous
4002 * text.C (breakParagraph): adjust
4004 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4005 BufferParams& as arg.
4006 (breakParagraph): use ParagraphList::insert
4007 (breakParagraphConservative): take a Buffer* instead of a
4008 BufferParams& as arg.
4009 (breakParagraphConservative): use ParagraphList::insert.
4011 * buffer.C (insertStringAsLines): un-const it
4012 (insertStringAsLines): adjust
4014 * ParagraphList.C (insert): new function
4016 * CutAndPaste.C (pasteSelection): adjust
4018 * text.C (backspace): adjust
4020 * tabular.C (SetMultiColumn): adjust
4022 * CutAndPaste.C (cutSelection): adjust
4023 (pasteSelection): adjust
4025 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4026 Buffer const * as arg
4028 * ParagraphList.C (erase): new function
4029 * paragraph_funcs.C (mergeParagraph): use it
4030 (mergeParagraph): make it take a Buffer* instead of a
4031 BufferParams* as arg
4033 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4035 (breakParagraphConservative): ditto
4037 * paragraph.h: remove the breakParagraph friend
4039 * paragraph.C (eraseIntern): new function
4040 (setChange): new function
4042 * paragraph_funcs.C (mergeParagraph): make it take a
4043 ParagraphList::iterator instead of a Paragraph *, adjust
4046 * paragraph.h: move an #endif so that the change tracking stuff
4047 also works in the NO_NEXT case.
4049 2003-03-04 Angus Leeming <leeming@lyx.org>
4052 * LyXAction.C: new LFUN_INSET_MODIFY.
4054 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4055 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4057 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4059 * several files: ws changes only
4061 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4062 (TeXEnvironment): ditto
4065 * buffer.C (makeLaTeXFile): adjust
4066 (latexParagraphs): make it take ParagraphList::iterator as args
4068 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4070 * buffer.C (latexParagraphs): adjust
4072 * paragraph.C (TeXOnePar): move function...
4073 (optArgInset): move function...
4074 (TeXEnvironment): move function...
4075 * paragraph_pimpl.C (TeXDeeper): move function...
4076 * paragraph_funcs.C: ...here
4078 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4080 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4082 * buffer.C (readInset): remove compability code for old Figure and
4085 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4087 * buffer.C: ws changes
4090 * BufferView_pimpl.C: ditto
4093 * bufferlist.h: ditto
4097 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4099 * converter.[Ch]: split into itself +
4102 * Makefile.am: += graph.[Ch] + format.[Ch]
4109 * lyxrc.C: added #include "format.h"
4111 2003-02-27 Angus Leeming <leeming@lyx.org>
4113 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4116 * factory.C (createInset): add "label" to the factory.
4118 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4119 string and do no more.
4121 2003-02-27 Angus Leeming <leeming@lyx.org>
4124 * LyXAction.C (init):
4125 * factory.C (createInset):
4126 * BufferView_pimpl.C (dispatch):
4127 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4129 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4131 * lyxfunc.C (dispatch):
4132 * text3.C (dispatch): pass name to params2string.
4134 2003-02-26 Angus Leeming <leeming@lyx.org>
4136 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4138 Rearrange the ~includes. Strip out the unnecessary ones.
4140 * factory.C (createInset): reformat.
4141 create new insets for the various LFUN_XYZ_APPLY lfuns.
4143 2003-02-26 John Levon <levon@movementarian.org>
4146 * lyxrow.C: add isParStart,isParEnd helpers
4148 * paragraph.h: make isInserted/DeletedText take refs
4150 * paragraph_funcs.h:
4151 * paragraph_funcs.C: remove #if 0'd code
4156 * text.C: use lyxrow helpers above.
4157 Move draw and paint routines to RowPainter.
4158 Make several methods use refs not pointers.
4159 Make backgroundColor() const.
4160 Add markChangeInDraw(), isInInset().
4161 Merge changeRegionCase into changeCase.
4162 Make workWidth() shouldn't-happen code into an Assert.
4165 * rowpainter.C: new class for painting a row.
4168 * vspace.C: make inPixels take a ref
4170 2003-02-26 Angus Leeming <leeming@lyx.org>
4172 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4175 2003-02-25 John Levon <levon@movementarian.org>
4177 * ispell.C: give the forked command a more accurate name
4179 2003-02-22 John Levon <levon@movementarian.org>
4182 * toc.C: make TocItem store an id not a Paragraph *
4185 2003-02-21 Angus Leeming <leeming@lyx.org>
4187 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4188 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4189 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4190 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4191 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4192 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4194 * BufferView_pimpl.C (dispatch):
4195 * LyXAction.C (init):
4196 * factory.C (createInset):
4197 * lyxfunc.C (getStatus, dispatch):
4198 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4200 2003-02-21 Angus Leeming <leeming@lyx.org>
4202 * BufferView_pimpl.C (MenuInsertLyXFile):
4203 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4204 * lyxfunc.C (menuNew, open, doImport):
4205 no longer pass a LyXView & to fileDlg.
4207 2003-02-21 Angus Leeming <leeming@lyx.org>
4209 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4210 * LyXAction.C: change, BIBKEY to BIBITEM.
4211 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4212 Change InsetBibKey to InsetBibitem.
4213 Change BIBKEY_CODE to BIBITEM_CODE.
4214 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4215 * factory.C: replace insetbib.h with insetbibitem.h.
4216 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4217 * paragraph.C: replace insetbib.h with insetbibitem.h.
4218 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4219 Change bibkey() to bibitem().
4220 * text.C: remove insetbib.h.
4221 * text2.C: replace insetbib.h with insetbibitem.h.
4222 change bibkey() to bibitem().
4223 * text3.C: remove insetbib.h.
4224 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4226 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4228 * lyxrc.C (output): enclose user email in quotes (in case there are
4231 2003-02-18 John Levon <levon@movementarian.org>
4233 * buffer.h: add std::
4235 2003-02-17 John Levon <levon@movementarian.org>
4241 * pspell.C: reworking. Especially in ispell, a large
4242 number of clean ups and bug fixes.
4244 * lyxfunc.C: fix revert to behave sensibly
4246 2003-02-17 André Pönitz <poenitz@gmx.net>
4249 * commandtags.h: new LFUN_INSERT_BIBKEY
4259 * paragraph_func.C: remove special bibkey handling
4261 2003-02-17 John Levon <levon@movementarian.org>
4263 * text.C (Delete): fix case where delete at the end of
4264 the very first paragraph would not merge the pars
4266 2003-02-17 John Levon <levon@movementarian.org>
4268 * lyxrow.C: fix lastPrintablePos()
4270 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4272 * bufferparams.C (writeLaTeX): add a std:here
4274 * buffer.C: and remove a using directive there
4276 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4278 * buffer.C (makeLaTeXFile): move the code that generates the
4281 * bufferparams.C (writeLaTeX): ... in this new method
4283 * LaTeXFeatures.C (getEncodingSet): make const
4284 (getLanguages): make const
4286 * MenuBackend.C (binding): returns the binding associated to this
4288 (add): sets the status of each item by calling getStatus. Adds
4290 (read): add support for OptSubMenu
4291 (expand): remove extra separator at the end of expanded menu
4293 2003-02-15 John Levon <levon@movementarian.org>
4296 * BufferView_pimpl.C:
4298 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4299 inset code that had no actual effect. Remove unneeded status
4302 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4304 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4307 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4309 * text.C (drawLengthMarker): also draw an arrow marker for
4310 symbolic lengths (medskip...)
4312 2003-02-14 John Levon <levon@movementarian.org>
4315 * tabular.C: better method names
4317 2003-02-14 John Levon <levon@movementarian.org>
4319 * BufferView_pimpl.C:
4324 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4325 it's a more accurate name. Remove some pointless uses.
4327 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4329 * text2.C (LyXText): change order of initilizers to shut off
4332 2003-02-14 John Levon <levon@movementarian.org>
4334 * buffer.C: use ParIterator for getParFromID()
4338 * paragraph_pimpl.h:
4339 * paragraph_pimpl.C: remove unused getParFromID()
4341 2003-02-14 John Levon <levon@movementarian.org>
4343 * buffer.C: remove some very old #if 0'd parse code
4345 2003-02-13 John Levon <levon@movementarian.org>
4349 * text2.C: move hfillExpansion(), numberOfSeparators(),
4350 rowLast(), rowLastPrintable(), numberofHfills(),
4351 numberOfLabelHfills() ...
4354 * lyxrow.C: ... to member functions here.
4359 * text.C: remove LyXText::beginningOfMainBody(), and call
4360 p->beginningOfMainBody() directly. Move the check for
4361 LABEL_MANUAL into the latter.
4368 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4374 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4375 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4377 2003-02-13 John Levon <levon@movementarian.org>
4379 * CutAndPaste.C: remove debug
4381 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4383 * paragraph.C (asString): remove two unused variables
4385 * lyxtextclass.C (readTitleType):
4387 (LyXTextClass): handle new members titletype_ and titlename_
4389 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4391 2003-02-09 John Levon <levon@movementarian.org>
4394 * buffer.C: replace hand-coded list with a map for the dep clean
4396 2003-02-08 John Levon <levon@movementarian.org>
4398 * LaTeX.C: consolidate code into showRunMessage() helper
4400 2003-02-08 John Levon <levon@movementarian.org>
4405 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4406 and pass the size in explicitly
4408 * BufferView_pimpl.h:
4409 * BufferView_pimpl.C:
4411 * BufferView.C: add getCurrentChange()
4413 * BufferView_pimpl.h:
4414 * BufferView_pimpl.C: handle change lfuns
4416 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4417 for changes. Mark pasted paragraphs as new.
4419 * support/lyxtime.h:
4420 * support/lyxtime.C:
4421 * DepTable.C: abstract time_t as lyx::time_type
4424 * LColor.C: add colours for new text, deleted text, changebars
4426 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4427 package use "usenames" option.
4431 * LyXAction.C: add change lfuns
4435 * author.C: author handling
4438 * buffer.C: add a per-buffer author list, with first entry as
4439 current author. Handle new .lyx tokens for change tracking. Output
4440 author list to .lyx file. Output dvipost stuff to .tex preamble.
4441 Bump lyx format to 222.
4444 * bufferlist.C: add setCurrentAuthor() to reset current author details
4448 * bufferparams.C: add param for tracking
4450 * bufferview_funcs.C: output change info in minibuffer
4454 * changes.C: add change-tracking structure
4457 * debug.C: add CHANGES debug flag
4460 * lyxfind.C: add code for finding the next change piece
4463 * lyxrc.C: add user_name and user_email
4466 * lyxrow.C: add a metric for the top of the text line
4469 * text.C: implement accept/rejectChange()
4472 * text.C: paint changebars. Paint new/deleted text in the chosen
4473 colours. Strike through deleted text.
4477 * paragraph_pimpl.h:
4478 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4479 in the current change to the insert functions. Rework erase to
4480 mark text as deleted, adding an eraseIntern() and a range-based
4481 erase(). Implement per-paragraph change lookup and
4484 * paragraph_funcs.C: Fixup paste for change tracking.
4486 * tabular.C: mark added row/columns as new.
4488 * text.C: fix rowLast() to never return -1. Don't allow
4489 spellchecking of deleted text. Track transpose changes. Don't
4490 allow paragraph break or merge where appropriate.
4492 * text2.C: leave cursor at end of selection after a cut.
4494 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4496 * text.C (getLengthMarkerHeight):
4497 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4498 visible on screen too.
4500 2003-02-07 John Levon <levon@movementarian.org>
4502 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4504 2003-02-05 Angus Leeming <leeming@lyx.org>
4506 * lyxserver.C (read_ready): revert my patch of 11 September last year
4507 as it sends PC cpu through the roof. Presumably this means that
4508 the lyxserver will no longer run on an Alpha...
4510 2003-01-30 Angus Leeming <leeming@lyx.org>
4512 * factory.C (createInset): create an InsetCommandParam of type "index"
4513 and use it to 'do the right thing'.
4515 * text2.C (getStringToIndex): ensure that cursor position is always
4516 reset to the reset_cursor position.
4518 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4520 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4523 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4527 * lyxfunc.C: Output messages with identical spelling, punctuation,
4530 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4532 * MenuBackend.C (expandFormats): List only viewable export formats
4535 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4538 * lyxfunc.C (getStatus): Make sure that formats other than
4539 "fax" can also be disabled
4541 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4543 * text3.C (dispatch): put the lfuns that insert insets in 3
4544 groups, and call doInsertInset with appropriate arguments.
4545 (doInsertInset): new function, that creates an inset and inserts
4546 it according to some boolean parameters.
4548 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4550 * buffer.C (readFile): remember to pass on 'par' when calling
4551 readFile recursively.
4553 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4555 * MenuBackend.C (expandFormats): add "..." to import formats.
4557 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4559 * paragraph.C (asString): Remove XForms RTL hacks.
4561 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4562 * buffer.C: fix typo
4564 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4566 * Makefile.am (LIBS): delete var
4567 (lyx_LDADD): add @LIBS@ here instead.
4569 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4571 * Clarify the meaning of "wheel mouse jump"
4573 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4575 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4578 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4580 * importer.C (Loaders): do not preallocate 3 elements in the
4581 vector, since one ends up with 6 elements otherwise
4583 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4585 * DepTable.C (write): write the file name as last element of the
4586 .dep file (because it may contain spaces)
4587 (read): read info in the right order
4589 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4591 * paragraph_pimpl.C (simpleTeXBlanks):
4592 (simpleTeXSpecialChars):
4593 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4595 * tabular.C (latex): add some missing case statements. Reindent.
4597 * MenuBackend.C (expandToc): remove unused variable.
4599 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4608 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4611 2003-01-05 John Levon <levon@movementarian.org>
4614 * BufferView.C: add getEncoding()
4617 * kbsequence.C: do not store last keypress
4620 * lyxfunc.C: store last keypress here instead. Pass encoding
4623 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4625 * lyx_main.C (init): remove annoying error message when following
4626 symbolic links (bug #780)
4628 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4630 * text.C (insertChar):
4631 * lyxrc.C (getDescription): remove extra spaces
4633 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4635 * lyxrc.C (getDescription): remove extra spaces
4637 2002-12-20 John Levon <levon@movementarian.org>
4639 * text3.C: hack fix for page up/down across tall rows
4641 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4643 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4646 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4648 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4649 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4650 thesaurus is not compiled in
4652 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4654 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4656 2002-12-16 Angus Leeming <leeming@lyx.org>
4659 * lyx_main.C (init): remove override_x_deadkeys stuff.
4661 2002-12-12 John Levon <levon@movementarian.org>
4663 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4664 insert. Only remove shift modifier under strict
4667 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4669 * MenuBackend.C (expandToc): fix crash.
4671 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4673 * MenuBackend.C (expandToc): gettext on float names.
4675 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4677 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4678 implement bool empty() [bug 490]
4680 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4682 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4684 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4686 * several files: ws changes
4688 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4690 * text2.C (setCounter): clean up a bit, use boost.format.
4691 (updateCounters): initialize par upon declaration.
4693 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4694 if the layout exists. We do not just store the layout any more.
4695 (SwitchLayoutsBetweenClasses): use boost.format
4697 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4699 * converter.C (convert): if from and to files are the same, use a
4700 temporary files as intermediary
4702 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4705 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4707 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4709 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4711 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4713 * tabular.C (asciiPrintCell): use string(size, char) instead of
4716 * sgml.C (openTag): fix order of arguments to string constructor
4719 * lyxfunc.C (dispatch): use boost.format
4721 * lots of files: change "c" -> 'c'
4723 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4725 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4727 2002-11-25 Angus Leeming <leeming@lyx.org>
4729 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4731 * lyx_main.C (init): compile fix.
4733 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4735 * lyx_cb.C (start): boost.formatify
4736 do not include <iostream>
4738 * lengthcommon.C: ws only
4740 * boost-inst.C,BoostFormat.h: add more explict instantations
4742 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4744 * lots of files: handle USE_BOOST_FORMAT
4746 2002-11-21 John Levon <levon@movementarian.org>
4748 * pspell.C: fix compile
4750 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4752 * lyxfunc.C (dispatch): use boost::format
4756 * lyxfont.C (stateText): use boost::format
4758 * lyx_main.C (LyX): use boost::format
4760 (queryUserLyXDir): ditto
4763 (typedef boost::function): use the recommened syntax.
4765 * importer.C (Import): use boost::format
4767 * debug.C (showLevel): use boost::format
4769 * converter.C (view): use boost::format
4774 * bufferview_funcs.C (currentState): use boost::format
4776 * bufferlist.C (emergencyWrite): use boost::format
4778 * buffer.C (readLyXformat2): use boost::format
4779 (parseSingleLyXformat2Token): ditto
4781 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4783 * LaTeX.C (run): use boost::format
4785 * Chktex.C (scanLogFile): use boost::format
4787 * BufferView_pimpl.C (savePosition): use boost::format
4788 (restorePosition): ditto
4789 (MenuInsertLyXFile): ditto
4791 * BoostFormat.h: help file for explicit instation.
4793 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4795 * tabular.C (latex): Support for block alignment in fixed width
4798 2002-11-17 John Levon <levon@movementarian.org>
4800 * BufferView_pimpl.C:
4802 * lyxfunc.C: split filedialog into open/save
4804 2002-11-08 Juergen Vigna <jug@sad.it>
4806 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4807 by my last patch (hopefully).
4809 2002-11-08 John Levon <levon@movementarian.org>
4818 * toc.C: ParConstIterator, and use it (from Lars)
4820 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4822 * lyxtextclass.[Ch]: revise and add doxygen comments
4824 2002-11-07 John Levon <levon@movementarian.org>
4826 * text.C: fix progress value for spellchecker
4828 * toc.C: fix navigate menu for insetwrap inside minipage
4830 * paragraph_funcs.C: added FIXME for suspect code
4832 2002-11-07 John Levon <levon@movementarian.org>
4834 * BufferView_pimpl.C: fix redrawing of insets
4837 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4839 * text2.C (updateCounters): fix bug 668
4841 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4843 * text3.C (dispatch): Do not make the buffer dirty when moving the
4846 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4848 * vc-backend.C: STRCONV
4851 * text2.C (setCounter): STRCONV
4853 * paragraph.C (asString): STRCONV
4855 * lyxlength.C (asString): STRCONV
4856 (asLatexString): ditto
4858 * lyxgluelength.C (asString): STRCONV
4859 (asLatexString): ditto
4861 * lyxfunc.C (dispatch): STRCONV
4864 * lyxfont.C (stateText): STRCONV
4866 * importer.C (Import): STRCONV
4868 * counters.C (labelItem): STRCONV
4869 (numberLabel): ditto
4870 (numberLabel): remove unused ostringstream o
4875 * bufferview_funcs.C (currentState): STRCONV
4877 * buffer.C (readFile): STRCONV
4878 (asciiParagraph): ditto
4879 (makeLaTeXFile): ditto
4881 * Spacing.C (writeEnvirBegin): STRCONV
4883 * LaTeXFeatures.C (getLanguages): STRCONV
4884 (getPackages): ditto
4886 (getBabelOptions): ditto
4887 (getTClassPreamble): ditto
4888 (getLyXSGMLEntities): ditto
4889 (getIncludedFiles): ditto
4893 (scanAuxFile): ditto
4896 * LString.h: add the STRCONV macros
4898 * BufferView_pimpl.C (savePosition): STRCONV
4899 (restorePosition): ditto
4900 (MenuInsertLyXFile): ditto
4902 * vc-backend.C (scanMaster): change from submatch[...] to
4905 * funcrequest.C: include config.h
4907 * factory.C: include config.h
4909 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4911 * box.C: include config.h
4913 * LaTeX.C (scanAuxFile): change from submatch[...] to
4917 2002-10-25 Angus Leeming <leeming@lyx.org>
4919 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4921 * ispell.[Ch] (setError): new method.
4922 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4923 Use setError() insetead of goto END.
4925 * lyx_cb.C (AutoSave): move out child process into new class
4928 2002-10-30 John Levon <levon@movementarian.org>
4930 * text3.C: make start appendix undoable
4932 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4934 * lyxlength.C (inPixels): Fix returned value.
4936 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4939 2002-10-24 Angus Leeming <leeming@lyx.org>
4941 * lyxgluelength.h: no need to forward declare BufferParams
4942 or BufferView, so don't.
4944 2002-10-21 John Levon <levon@movementarian.org>
4946 * BufferView.C: menuUndo ->undo, redo
4948 * BufferView.h: document, remove dead, make some methods private
4950 * paragraph_funcs.h:
4951 * paragraph_funcs.C:
4952 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4957 * sgml.C: move sgml open/close tag into sgml.C
4959 * bufferview_funcs.h: unused prototype
4962 * lyxfunc.C: remove unused
4965 * text.C: remove unused
4967 2002-10-21 John Levon <levon@movementarian.org>
4971 * BufferView_pimpl.h:
4972 * BufferView_pimpl.C: fix mouse wheel handling based on
4973 patch from Darren Freeman
4975 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4977 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4979 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4981 * lyxlength.C (inPixels): Fix hanfling of negative length.
4982 Fix LyXLength::MU case.
4984 2002-10-16 John Levon <levon@movementarian.org>
4986 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4988 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4990 * converter.C (view): add support for $$i (file name) and $$p
4991 (file path) for the viewer command. If $$i is not specified, then
4992 it is appended to the command (for compatibility with old syntax)
4994 2002-10-14 Juergen Vigna <jug@sad.it>
4996 * undo_funcs.C (textHandleUndo): alter the order in which the
4997 new undopar is added to the LyXText, as we have to set first
4998 the right prev/next and then add it as otherwise the rebuild of
4999 LyXText is not correct. Also reset the cursor to the right paragraph,
5000 with this IMO we could remove the hack in "redoParagraphs()".
5002 2002-10-09 Angus Leeming <leeming@lyx.org>
5004 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5005 to turn off an optimisation if a new inset is to be inserted.
5007 2002-10-11 André Pönitz <poenitz@gmx.net>
5009 * lyxtext.h: make some functions public to allow access
5010 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5012 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5014 * text3.C (dispatch): when changing layout, avoid an infinite loop
5017 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5019 * lyxrc.C (read): treat a viewer or converter command of "none" as
5022 * MenuBackend.C (expandFormats): for an update, also allow the
5023 formats that are not viewable
5025 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5026 script if it is newer than the lyxrc.defaults in user directory
5028 2002-10-07 André Pönitz <poenitz@gmx.net>
5030 * text.C: Vitaly Lipatov's small i18n fix
5032 2002-09-25 Angus Leeming <leeming@lyx.org>
5034 * ispell.h: doxygen fix.
5036 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5038 * buffer.h (readFile): Add a new argument to the method, to allow
5039 reading of old-format templates.
5041 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5043 * toc.C (getTocList): Get TOC from InsetWrap.
5045 2002-09-16 John Levon <levon@movementarian.org>
5047 * lyxfunc.C: check tabular for cut/copy too
5049 2002-09-12 John Levon <levon@movementarian.org>
5054 * factory.C: add header
5056 * paragraph_funcs.h:
5057 * paragraph_funcs.C: cleanup
5059 2002-09-11 John Levon <levon@movementarian.org>
5061 * PrinterParams.h: odd/even default to true
5063 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5065 * PrinterParams.h: update printer parameters for new xforms dialog
5067 2002-09-11 Angus Leeming <leeming@lyx.org>
5069 * lyxserver.C (read_ready): re-write to make it more transparent
5070 and to make it work in coherent fashion under Tru64 Unix.
5072 2002-09-11 André Pönitz <poenitz@gmx.net>
5076 * text3.C: implement LFUN_WORDSEL
5078 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5080 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5081 make floatlist_ a boost::shared_ptr<FloatList>
5083 * lyxtextclass.C: include FloatList.h
5084 (LyXTextClass): initialize floatlist_
5085 (TextClassTags): add TC_NOFLOAT
5086 (Read): match "nofloat" to TC_NOFLOAT and use it.
5087 (readFloat): modify call to floatlist_
5091 * FloatList.[Ch] (FloatList): remove commented out float
5093 (erase): new function
5095 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5097 * MenuBackend.C (expandToc): fix crash when there is no document
5100 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5102 * many files: Add insetwrap.
5104 2002-09-09 John Levon <levon@movementarian.org>
5106 * text2.C: remove confusing and awkward depth wraparound
5108 2002-09-09 John Levon <levon@movementarian.org>
5110 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5113 * buffer.C: remove getIncludeonlyList()
5116 * lyxfunc.C: remove headers
5118 2002-09-09 Juergen Vigna <jug@sad.it>
5120 * text.C (getColumnNearX): fix form Michael this is most
5121 probably a cut&paste bug.
5123 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5125 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5127 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5128 references, ws changes.
5130 * text2.C (init): update counters after init
5131 (insertParagraph): no need to set counter on idividual paragraphs.
5132 (setCounter): access the counters object in the textclass object
5133 on in the buffer object.
5134 (updateCounters): ditto
5136 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5137 shared_ptr<Counters> to avoid loading counters.h in all
5139 (LyXTextClass): initialize ctrs_
5140 (TextClassTags): add TC_COUNTER, and ...
5141 (Read): use it here.
5142 (CounterTags): new tags
5143 (readCounter): new function
5144 (counters): new funtion
5145 (defaultLayoutName): return a const reference
5147 * counters.C (Counters): remove contructor
5148 (newCounter): remove a couple of unneeded statements.
5149 (newCounter): simplify a bit.
5150 (numberLabel): some small formatting changes.
5152 * buffer.[Ch]: remove all traces of counters, move the Counters
5153 object to the LyXTextClass.
5155 2002-09-06 Alain Castera <castera@in2p3.fr>
5157 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5158 package to set the horizontal alignment on fixed width columns.
5161 * lyx_sty.h: added tabularnewline macro def.
5163 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5165 2002-09-06 John Levon <levon@movementarian.org>
5167 * LyXAction.C: tooltips for sub/superscript
5169 * MenuBackend.C: a bit more verbose
5171 * lyxfunc.C: tiny clean
5173 * undo_funcs.C: document undo_frozen
5175 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5177 * counters.C (Counters): add missing algorithm counter.
5179 * text2.C (setCounter): lookup the counter with layouts latexname
5180 instead of by section number.
5181 (setCounter): use a hackish way to lookup the correct enum
5183 a float name->type change
5184 reset enum couners with counter name directly instead of depth value.
5186 * counters.C (Counters): remove the push_backs, change to use the
5187 float type not the float name.
5188 (labelItem): remove unused string, float name->type change
5190 * counters.h: don't include vector, loose the enums and sects vectors
5192 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5194 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5195 (Read): add float->TC_FLOAT to textclassTags
5196 (Read): and handle it in the switch
5197 (readFloat): new function
5199 * FloatList.C (FloatList): comment out the hardcoded float
5202 * lyxlayout.h: ws change.
5204 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5206 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5208 2002-09-03 Angus Leeming <leeming@lyx.org>
5210 * BufferView_pimpl.h: qualified name is not allowed in member
5211 declaration: WorkArea & Pimpl::workarea() const;
5213 * factory.C: added using std::endl directive.
5215 * text3.C: added using std::find and std::vector directives.
5217 2002-08-29 André Pönitz <poenitz@gmx.net>
5220 * text2.C: remove unused member number_of_rows
5223 * BufferView2.C: remove file, move contents to...
5224 * BufferView.C: ... here
5226 * BufferView_pimpl.C:
5227 * factory.C: move more inset creation to factory
5229 * vspace.C: avoid direct usage of LyXText, ws changes
5232 don't provide direct access to WorkArea, use two simple
5233 acessors haveSelction() and workHeight() instead
5236 2002-08-29 John Levon <levon@movementarian.org>
5238 * BufferView_pimpl.C (dispatch): do not continue when
5241 2002-08-28 André Pönitz <poenitz@gmx.net>
5243 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5246 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5248 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5250 * buffer.C: increment LYX_FORMAT to 221
5252 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5253 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5255 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5257 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5259 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5261 * factory.C (createInset): use LyXTextClass::floats
5263 * MenuBackend.C (expandFloatListInsert):
5264 (expandFloatInsert):
5267 * text2.C (setCounter):
5269 * LaTeXFeatures.C (useFloat):
5270 (getFloatDefinitions):
5272 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5274 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5275 floatlist_, with accessor floats().
5277 * FloatList.h: remove global FloatList
5279 2002-08-26 André Pönitz <poenitz@gmx.net>
5281 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5285 * BufferView_pimpl.C:
5286 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5288 2002-08-25 John Levon <levon@movementarian.org>
5290 * LyXAction.C: fix margin note description
5292 2002-08-24 John Levon <levon@movementarian.org>
5296 * bufferview_funcs.C:
5298 * undo_funcs.C: cleanups
5300 * lyxfunc.C: disable CUT/COPY when no selection
5302 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5304 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5305 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5307 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5308 Add backward compatibility to "mono", "gray" and "no".
5310 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5312 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5313 (and file_format >= 200).
5315 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5317 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5319 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5321 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5323 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5325 * BufferView_pimpl.C:
5332 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5333 inset and code to make it work with the paragraph code. The inset
5334 can be anywhere in the paragraph, but will only do the expected
5335 thing in LaTeX if the layout file contains the parameter line
5337 (or more generally, a nonzero value) for that layout.
5339 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5341 * paragraph.h: remove the declaration of undefined counters class
5344 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5346 * text2.C (setCounter): fixed enumeration mis-count as reported by
5347 Dr. Richard Hawkins.
5349 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5351 * paragraph_funcs.h: remove some unneeded includes
5353 * text.C (backspace): pasteParagraph now in global scipe
5355 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5356 (pasteSelection): ditto
5358 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5359 * paragraph_funcs.C (pasteParagraph): ... here
5361 2002-08-20 André Pönitz <poenitz@gmx.net>
5363 * commandtags.h: new LFUNs for swapping/copying table row/colums
5366 * lyxfunc.C: support for new lfuns
5368 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5371 * buffer.[Ch]: remove NO_COMPABILITY stuff
5373 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5375 * boost.C (throw_exception): new file, with helper function for
5376 boost compiled without exceptions.
5381 * ParameterStruct.h:
5382 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5384 * bufferlist.C (emergencyWriteAll): use boost bind
5386 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5388 * text.C: include paragraph_funcs.h
5389 (breakParagraph): breakParagraph is now in global scope
5391 * paragraph_funcs.[Ch]: new files
5393 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5396 * buffer.C: include paragraph_funcs.h
5397 (insertStringAsLines): breakParagraph is now in global scope
5399 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5402 * CutAndPaste.C: include paragraph_funcs.h
5403 (cutSelection): breakParagraphConservative is now in global scope
5404 (pasteSelection): ditto
5406 * buffer.h: declare oprator== and operator!= for
5407 Buffer::inset_iterator
5409 * bufferlist.C (emergencyWrite): don't use fmt(...)
5411 * text3.C: add using std::endl
5413 * BufferView.C (moveCursorUpdate): remove default arg
5415 2002-08-20 André Pönitz <poenitz@gmx.net>
5417 * buffer.[Ch]: move inline functions to .C
5420 * BufferView_pimpl.C:
5422 * buffer.[Ch]: use improved inset_iterator
5425 * paragraph.[Ch]: write one paragraph at a time
5427 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5429 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5430 style if style is not specified.
5432 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5434 * text2.C (setCounter): when searching for right label for a
5435 caption, make sure to recurse to parent insets (so that a caption
5436 in a minipage in a figure float works) (bug #568)
5438 2002-08-20 André Pönitz <poenitz@gmx.net>
5440 * text3.C: new file for LyXText::dispatch() and helpers
5442 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5444 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5446 2002-08-19 André Pönitz <poenitz@gmx.net>
5449 * text.C: new LyXText::dispatch()
5451 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5453 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5455 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5457 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5460 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5462 * Makefile.am: use $(variables) instead of @substitutions@
5464 2002-08-15 André Pönitz <poenitz@gmx.net>
5467 * BufferView_pimpl.C: streamlining mathed <-> outer world
5471 * LyXAction.C: remove unused LFUN_MATH
5473 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5475 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5477 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5479 * paragraph.C (Paragraph): reformat a bit
5480 (cutIntoMinibuffer): use builtin InsetList function instad of
5484 * buffer.C: include boost/bind.hpp, add using std::for_each
5485 (writeFileAscii): use ParagraphList iterators
5486 (validate): use for_each for validate traversal of paragraphs
5487 (getBibkeyList): use ParagraphList iterators
5488 (resizeInsets): use for_each to resizeInsetsLyXText for all
5490 (getParFromID): use ParagraphList iterators
5492 * BufferView2.C (lockInset): use paragraph list and iterators
5494 2002-08-14 John Levon <levon@movementarian.org>
5496 * lyxserver.C: remove spurious xforms include
5498 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5500 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5502 2002-08-13 André Pönitz <poenitz@gmx.net>
5505 * lyxfunc.C: further cleaning
5507 2002-08-13 André Pönitz <poenitz@gmx.net>
5509 * funcrequest.h: new constructor
5511 * funcrequest.C: move stuff here from .h
5514 * BufferView_pimpl.C:
5517 * lyxfunc.C: subsequent changes
5519 * lyxfunc.h: new view() member function
5521 * lyxfunc.C: subsequent changes
5523 2002-08-13 Angus Leeming <leeming@lyx.org>
5526 * BufferView_pimpl.C:
5534 changes due to the changed LyXView interface that now returns references
5535 to member variables not pointers.
5537 2002-08-13 Angus Leeming <leeming@lyx.org>
5539 * WordLangTuple (word, lang_code): return references to strings,
5544 * lyxtext.h: forward-declare WordLangTuple.
5549 * text.C: #include "WordLangTuple.h".
5552 * text.C: (selectNextWordToSpellcheck): constify return type.
5554 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5560 * paragraph_pimpl.h:
5563 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5565 Made updateCounter always count from start of buffer, and removed
5566 second argument (par).
5567 Reverted floats number display to '#'. Perhaps I'll try again when the
5568 code base is sanitized a bit.
5570 2002-08-12 Angus Leeming <leeming@lyx.org>
5572 * buffer.[Ch] (getLabelList): constify.
5574 2002-08-07 André Pönitz <poenitz@gmx.net>
5576 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5578 * funcrequest.h: extension to keep mouse (x,y) position
5580 2002-08-12 Juergen Vigna <jug@sad.it>
5582 * BufferView2.C (insertErrors): forbid undo when inserting error
5585 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5587 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5589 * ParagraphList.[Ch]: new files
5591 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5593 * BufferView2.C (lockInset): ParagraphList changes
5596 * bufferlist.C: ditto
5600 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5602 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5603 unused class variable counter_,
5605 * paragraph.[Ch] (getFirstCounter): delete unused function
5607 * counters.C: include LAssert.h
5608 (reset): add a new function with no arg, change other version to
5609 not have def. arg and to not allow empty arg.
5611 * text2.C (setCounter): remove empty arg from call to Counters::reset
5613 2002-08-11 John Levon <levon@movementarian.org>
5615 * Makefile.am: add WordLangTuple.h
5617 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5619 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5620 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5622 * insets/insettext.C: InsetList changes
5624 * graphics/GraphicsSupport.C (operator()): InsetList changes
5626 * toc.C (getTocList): InsetList changes
5628 * paragraph_pimpl.[Ch]: InsetList changes
5630 * paragraph.[Ch]: InsetList changes
5632 * buffer.C (inset_iterator): InsetList changes
5633 (setParagraph): ditto
5634 * buffer.h (inset_iterator): ditto
5635 * iterators.C (operator++): ditto
5636 * iterators.h: ditto
5638 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5640 * InsetList.[Ch]: new files, most InsetList handling moved out of
5643 * BufferView2.C (removeAutoInsets): InsetList changes
5645 (ChangeInsets): ditto
5647 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5649 * paragraph_pimpl.h (empty): new function
5651 * paragraph.[Ch] (empty): new function
5653 * other files: use the new Paragraph::empty function
5655 2002-08-09 John Levon <levon@movementarian.org>
5657 * lyxtext.h: remove unused refresh_height
5659 2002-08-09 John Levon <levon@movementarian.org>
5666 * paragraph.C: move sgml char escaping out of paragraph
5669 * paragraph.C: remove id setter
5673 * paragraph_pimpl.C: remove dead tex_code_break_column
5675 * bufferview_funcs.C: small cleanup
5677 * lyxfunc.C: remove dead proto
5679 * lyxtext.h: make some stuff private. Remove some dead stuff.
5681 * lyxgluelength.C: make as[LyX]String() readable
5683 2002-08-08 John Levon <levon@movementarian.org>
5688 * ToolbarDefaults.C:
5691 * toc.C: lyxaction cleanup
5693 2002-08-08 John Levon <levon@movementarian.org>
5695 * BufferView2.C: small cleanup
5698 * lyxfind.C: move unnecessary header into the .C
5700 2002-08-08 John Levon <levon@movementarian.org>
5702 * funcrequest.h: just tedious nonsense
5705 * lyx_main.C: cleanups
5708 * vspace.C: remove dead header lyx_main.h
5710 2002-08-07 Angus Leeming <leeming@lyx.org>
5713 * paragraph_pimpl.h:
5714 Forward declare class Counters in paragraph.h by moving the ctrs member
5715 variable into Paragraph::Pimpl.
5716 (counters): new method, returning a reference to pimpl_->ctrs.
5718 * text2.C: ensuing changes.
5720 2002-08-07 John Levon <levon@movementarian.org>
5722 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5724 * BufferView_pimpl.C: announce X selection on double/triple
5727 * lyx_main.C: use correct bool in batch dispatch
5729 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5731 2002-08-07 André Pönitz <poenitz@gmx.net>
5733 * funcrequest.h: new class to wrap a kb_action and its argument
5736 * BufferView_pimpl[Ch]:
5740 * lyxrc.C: subsequent changes
5743 2002-08-07 John Levon <levon@movementarian.org>
5745 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5746 document options change.
5748 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5753 * makefile.am: move counters functionality over from
5754 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5756 2002-08-06 John Levon <levon@movementarian.org>
5758 * WordLangTuple.h: new file for word + language code tuple
5769 * BufferView2.C: use WordLangTuple
5772 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5774 2002-08-06 John Levon <levon@movementarian.org>
5776 * lyx_main.C: fix cmdline batch handling
5778 2002-08-06 André Pönitz <poenitz@gmx.net>
5780 * lyxrc.C: set default for show_banner to true
5782 2002-08-06 John Levon <levon@movementarian.org>
5784 * pspell.C: fix a crash, and allow new aspell to work
5786 2002-08-06 John Levon <levon@movementarian.org>
5789 * kbmap.C: small cleanup
5792 * vspace.C: add const
5794 2002-08-05 John Levon <levon@movementarian.org>
5796 * LyXAction.C: back to tabular-insert
5798 2002-08-04 John Levon <levon@movementarian.org>
5801 * BufferView.C: cosmetic change
5803 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5813 * BufferView2.C: purge all "Lyx" not "LyX" strings
5816 * lyxcursor.C: attempt to add some documentation
5821 * ToolbarDefaults.C:
5822 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5823 merge with LFUN_TABULAR_INSERT
5830 * pspell.C: split up i/pspell implementations into separate
5831 files, many cleanups
5833 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5835 * text2.C: some cleanup
5837 * lyxfunc.C: don't check for isp_command == "none" any more, it
5838 didn't make any sense
5840 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5845 * makefile.am: move counters functionality over
5846 from text2.C/paragraph.[Ch] to counters.[Ch], and
5848 2002-08-02 John Levon <levon@movementarian.org>
5850 * buffer.C: s/lyxconvert/lyx2lyx/
5852 2002-08-02 Angus Leeming <leeming@lyx.org>
5854 * lyxlex.C: revert John's change as it breaks reading of the user
5857 2002-08-02 Angus Leeming <leeming@lyx.org>
5859 * importer.C (Import):
5860 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5861 changes due to LyXView::view() now returning a boost::shared_ptr.
5863 2002-08-02 John Levon <levon@movementarian.org>
5865 * lyxlex.C: small cleanup
5867 2002-08-02 John Levon <levon@movementarian.org>
5869 * text2.C (status): small cleanup, no logic change
5871 2002-08-01 John Levon <levon@movementarian.org>
5874 * buffer.C (writeFile): don't output alerts, caller
5878 * lyx_cb.C: from above
5880 * lyxfunc.C: allow to open non-existent files
5882 2002-07-31 John Levon <levon@movementarian.org>
5884 * lyxserver.C: don't let incidental errors get
5887 2002-07-30 John Levon <levon@movementarian.org>
5889 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5891 2002-07-30 John Levon <levon@movementarian.org>
5894 * lyxserver.C: remove I/O callback too
5896 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5898 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5901 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5903 * many files: strip,frontStrip -> trim,ltrim,rtrim
5905 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5907 * PrinterParams.h: remove extern containsOnly, and include
5908 support/lstrings.h instead.
5910 * LaTeX.C (scanAuxFile): modify because of strip changes
5912 * buffer.C (makeLaTeXFile): ditto
5913 * bufferparams.C (writeFile): ditt
5914 * lyxfont.C (stateText): ditto
5915 * lyxserver.C (read_ready): ditto
5916 * vc-backend.C (scanMaster): ditto
5918 * BufferView_pimpl.h: ws changes
5920 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5922 2002-07-26 André Pönitz <poenitz@gmx.net>
5924 * kb_sequence.C: remove unnedred usings
5926 2002-07-26 Juergen Vigna <jug@sad.it>
5928 * lyxfind.C (LyXReplace): we have to check better if the returned
5929 text is not of theLockingInset()->getLockingInset().
5931 2002-07-25 Juergen Vigna <jug@sad.it>
5933 * lyxfind.C (LyXReplace): don't replace if we don't get the
5936 * undo_funcs.C (createUndo): remove debugging code.
5938 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5940 * buffer.C (parseSingleLyXformat2Token): Use default placement
5941 when reading old floats.
5943 * FloatList.C (FloatList): Change the default placement of figure
5944 and tables to "tbp".
5946 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5948 * MenuBackend.C: using std::max
5950 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5952 * MenuBackend.C (expandToc):
5953 (expandToc2): code moved from xforms menu frontend. It is now
5954 generic and TOCs are transparent to menu frontends.
5956 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5958 * toc.C (getTocList): protect against buf=0
5960 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5961 Menu as first parameter. Now, this calls itself recursively to
5962 expand a whole tree (this will be useful for TOC handling)
5963 (expandFloatInsert): remove 'wide' version of floats
5965 * MenuBackend.h (submenuname): returns the name of the submenu.
5966 (submenu): returns the submenu itself, provided it has been
5967 created by MenuBackend::expand
5969 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5971 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5972 insets which have noFontChange == true. (bug #172)
5974 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5976 * BufferView_pimpl.C: add connection objects and use them...
5979 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5981 * MenuBackend.C (expandLastfiles):
5984 (expandFloatListInsert):
5985 (expandFloatInsert):
5986 (expand): split expand in parts
5988 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5990 * lyx_gui.C: use lyx_gui::exit()
5992 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5994 * LyXAction.C: show the failing pseudo action
5996 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5998 * buffer.C (readFile): Run the lyxconvert script in order to read
6001 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6005 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6007 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6011 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6013 2002-07-22 Herbert Voss <voss@lyx.org>
6016 * lyxlength.[Ch]: add support for the vertical lengths
6018 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6020 * toc.[Ch]: std:: fixes
6022 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6024 * lyxrc.C: do not include lyx_main.h
6026 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6032 * BufferView2.C: include "lyxlex.h"
6035 * bufferparams.h: do not #include "lyxlex.h"
6037 * lyxtextclasslist.C (Add): remove method
6038 (classlist): renamed to classlist_
6040 * paragraph_pimpl.C:
6044 * bufferview_funcs.C:
6049 * toc.C (getTocList): use BufferParams::getLyXTextClass
6051 * toc.C (getTocList): use InsetFloat::addToToc
6053 * toc.[Ch]: new files, containing helper functions to handle table
6056 * lyxfunc.C (dispatch): no need to remove spaces around command
6058 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6059 first command of the sequence; it is not very clever, but I do not
6060 have a better idea, actually
6062 * LyXAction.C (LookupFunc): make sure to remove space at the
6063 beginning and end of the command
6065 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6067 * MenuBackend.C (getMenubar): new method: return the menubar of
6069 (read): treat differently reading of menu and menubar (in
6070 particular, the menubar has no name now)
6071 (Menu::menubar): remove
6073 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6076 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6078 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6079 a bibitem inset in a RTL paragraph.
6081 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6083 * paragraph_pimpl.C: constify
6085 * BufferView_pimpl.C:
6087 * lyxfunc.C: fix dispatch in a nicer way
6089 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6091 * lyxfunc.C (dispatch):
6092 * BufferView_pimpl.C:
6093 * BufferView_pimpl.h:
6095 * BufferView.h: rename Dispatch() to dispatch()
6097 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6099 * lyxlayout.C (Read): honor DependsOn tag
6101 * lyxlayout.[Ch] (depends_on): new method
6103 * version.C.in: update lyx_docversion
6105 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6107 * paragraph.C (validate): remove from here...
6108 * paragraph_pimpl.C (validate): ... and move here
6109 (isTextAt): make it const
6111 * buffer.C (getLists): ws cleanup
6113 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6115 * language.C (read): Use iso8859-1 encoding in latex_lang
6116 (this prevents LyX from crashing when using iso10646-1 encoding).
6118 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6120 * text2.C (toggleInset): if cursor is inside an inset, close the
6121 inset and leave cursor _after_ it
6123 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6125 * lyxfunc.C: move minibuffer completion handling out of here
6127 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6129 * BufferView_pimpl.C:
6130 * LaTeX.C: fix dispatch calls
6132 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6134 * text.C (drawChars): Fix Arabic text rendering.
6136 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6140 * lyxfunc.C: remove message-push/pop
6144 * lyxfunc.C: rationalise some code by removing verboseDispatch
6145 in favour of a bool argument to dispatch()
6147 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6149 * lyx_main.C (init): make sure to read symlinks as absolute paths
6151 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6154 * lyxfunc.C: no need for commandshortcut to be a member
6156 2002-07-15 André Pönitz <poenitz@gmx.net>
6158 * converter.C: add support for $$s (scripts from lib/scripts dir)
6159 * lyx_main.C: white space
6161 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6165 * lyxrc.C: remove second exit confirmation
6167 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6172 * BufferView_pimpl.h:
6173 * BufferView_pimpl.C:
6174 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6176 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6178 * MenuBackend.C (expand): add numeric shortcuts to document menu
6180 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6182 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6184 * lyxfont.C (setLyXFamily):
6191 * buffer.C (asciiParagraph): use ascii_lowercase
6193 2002-07-15 Mike Fabian <mfabian@suse.de>
6195 * lyxlex_pimpl.C (search_kw):
6196 * lyxlex.C (getLongString):
6197 * converter.h (operator<):
6198 * converter.C (operator<):
6199 * buffer.C (parseSingleLyXformat2Token):
6201 * ToolbarDefaults.C (read):
6202 * MenuBackend.C (checkShortcuts):
6204 * LColor.C (getFromGUIName):
6205 (getFromLyXName): use the compare_ascii_no_case instead of
6206 compare_no_case, because in turkish, 'i' is not the lowercase
6207 version of 'I', and thus turkish locale breaks parsing of tags.
6209 2002-07-16 Angus Leeming <leeming@lyx.org>
6211 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6212 now takes a Buffer const & argument.
6214 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6216 * BufferView.C (resize): check there's a buffer to resize
6218 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6220 * lyxfunc.C: remove dead code
6223 * lyxserver.C: use lyx_guii::set_read_callback
6225 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6227 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6228 an inset in a RTL paragraph.
6230 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6232 * lyxfunc.C: repaint after a font size update
6234 2002-07-15 André Pönitz <poenitz@gmx.net>
6236 * lyxlength.C: inBP should be able to return negative values
6238 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6240 * lyxfunc.C: use lyx_gui::update_fonts()
6242 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6244 * lyxfunc.C: use lyx_gui::update_color()
6246 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6252 * lyxrc.C: remove file->new asks for name option, and let
6253 buffer-new take an argument
6255 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6257 * BufferView_pimpl.C: remove unneeded extra repaint()
6259 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6261 * LyXAction.C: allow command-sequence with NoBuffer
6263 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6265 2002-07-10 Angus Leeming <leeming@lyx.org>
6267 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6269 2002-07-09 Angus Leeming <leeming@lyx.org>
6271 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6273 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6275 * lengthcommon.h: whitespace
6277 * lyxfunc.C: update scrollbar after goto paragraph
6279 * lyxtext.h: factor out page break drawing, and fix it so
6280 page break/added space paints as selected nicely
6282 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6284 * BufferView_pimpl.C: add FIXMEs, clean up a little
6286 2002-07-09 André Pönitz <poenitz@gmx.net>
6288 * lyxfont.[Ch]: support for wasy symbols
6290 2002-07-08 André Pönitz <poenitz@gmx.net>
6292 * BufferView_pimpl.C: apply John's patch for #93.
6294 2002-07-05 Angus Leeming <leeming@lyx.org>
6296 * BufferView_pimpl.C (buffer): generate previews if desired.
6298 * LColor.h: add "preview" to the color enum.
6300 * LColor.C (LColor): add a corresponding entry to the items array.
6302 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6305 2002-07-05 Angus Leeming <leeming@lyx.org>
6307 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6308 The body of the code is now in the method that is passed an ostream &
6309 rather than a file name.
6310 Pass an additional only_preamble parameter, useful for the forthcoming
6313 2002-07-03 André Pönitz <poenitz@gmx.net>
6315 * lyxfunc.C: simplify getStatus() a bit for math stuff
6317 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6319 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6321 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6323 * text.C (changeRegionCase): do not change case of all the
6324 document when region ends at paragraph end (bug #461)
6326 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6328 * paragraph.C (startTeXParParams):
6329 (endTeXParParams): add \protect when necessary
6331 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6333 * BufferView_pimpl.C (workAreaExpose): remove warning
6335 2002-06-27 Angus Leeming <leeming@lyx.org>
6337 * Makefile.am: add lyxlayout_ptr_fwd.h.
6339 2002-06-26 André Pönitz <poenitz@gmx.net>
6341 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6343 2002-06-25 Angus Leeming <leeming@lyx.org>
6345 * lyxfunc.C (dispatch): Comment out the call to
6346 grfx::GCache::changeDisplay. The method no longer exists now that the
6347 pixmap generation part of the graphics loader has been moved into
6350 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6352 * text2.C: layout as layout
6354 * text.C: layout as layout
6356 * tabular.C (OldFormatRead): layout as layout
6358 * paragraph_pimpl.C (TeXDeeper): layout as layout
6359 (realizeFont): layout as layout
6361 * paragraph.C (writeFile): layout as layout
6362 (validate): layout as layout
6363 (getFont): layout as layout
6364 (getLabelFont): layout as layout
6365 (getLayoutFont): layout as layout
6366 (breakParagraph): layout as layout
6367 (stripLeadingSpaces): layout as layout
6368 (getEndLabel): layout as layout
6369 (getMaxDepthAfter): layout as layout
6370 (applyLayout): layout as layout
6371 (TeXOnePar): layout as layout
6372 (simpleTeXOnePar): layout as layout
6373 (TeXEnvironment): layout as layout
6374 (layout): layout as layout
6375 (layout): layout as layout
6377 * lyxtextclass.C (compare_name): new functor to work with
6378 shared_ptr, layout as layout
6379 (Read): layout as layout
6380 (hasLayout): layout as layout
6381 (operator): layout as layout
6382 (delete_layout): layout as layout
6383 (defaultLayout): layout as layout
6385 * lyxlayout_ptr_fwd.h: new file
6387 * lyxlayout.C (Read): layout as layout
6389 * lyx_cb.C (MenuInsertLabel): layout as layout
6391 * bufferlist.C (newFile): layout as layout
6393 * buffer.C (readLyXformat2): layout as layout
6394 (parseSingleLyXformat2Token): layout as layout
6395 (insertStringAsLines): layout as layout
6396 (asciiParagraph): layout as layout
6397 (latexParagraphs): layout as layout
6398 (makeLinuxDocFile): layout as layout
6399 (simpleLinuxDocOnePar): layout as layout
6400 (makeDocBookFile): layout as layout
6401 (simpleDocBookOnePar): layout as layout
6402 (getLists): layout as layout
6404 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6406 * CutAndPaste.C (cutSelection): layout as layout
6407 (pasteSelection): layout as layout
6408 (SwitchLayoutsBetweenClasses): layout as layout
6410 * BufferView_pimpl.C (Dispatch): layout as layout
6411 (smartQuote): layout as layout
6413 * BufferView2.C (unlockInset): layout as layout
6415 2002-06-24 André Pönitz <poenitz@gmx.net>
6417 * lyxfunc.C: fix #487
6419 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6423 * lyxfunc.C: remove display_shortcuts, show_banner
6425 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6427 * Buffer_pimpl.C: oops, update on resize
6429 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6436 * BufferView.C: use repaint()
6438 * BufferView_pimpl.h:
6439 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6440 as it's a clearer description. Remove superfluous
6443 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6445 * text.C: fix bug 488. Not ideal, but getting
6446 getWord() to work properly for the insets that
6447 matter is more difficult ...
6449 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6451 * BufferView_pimpl.C:
6454 * lyxfunc.C: remove the six million index lyxfuncs to just
6455 one, and DTRT (bug 458)
6457 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6461 * BufferView_pimpl.h:
6462 * BufferView_pimpl.C: clean up resize() stuff,
6463 and unnecessary updateScreen()s
6465 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6469 * BufferView_pimpl.h:
6470 * BufferView_pimpl.C:
6473 * minibuffer.C: remove focus management of workarea,
6474 not needed. Use screen's greyOut()
6476 2002-06-17 Herbert Voss <voss@lyx.org>
6478 * converter.C: (convert) do not post a message, when converting
6479 fails, let the calling function decide what to do in this case
6481 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6483 * lyxfunc.C: tidy up a little
6485 2002-06-16 <alstrup@diku.dk>
6487 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6488 Got rid of FORMS_H_LOCATION include. Now we are
6491 2002-06-15 LyX Development team <lyx@rilke>
6493 * buffer.[Ch] (sgmlOpenTag):
6494 (sgmlCloseTag): Added support for avoiding pernicious mixed
6495 content. Return number of lines written.
6498 (makeDocBookFile): Fixed calls to sgml*Tag.
6499 Simple white space clean.
6501 (simpleDocBookOnePar): Simple white space clean.
6503 * tabular.[Ch] (docBook): Renamed to docbook and got another
6504 argument to related with the pernicious mixed content.
6506 (docbookRow): Fixed calls for docbook inset method.
6508 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6510 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6511 so it's X11 independent.
6515 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6517 2002-06-15 Lyx Development team <lyx@electronia>
6519 * intl.h: Renamed getTrans to getTransManager.
6521 2002-06-14 Angus Leeming <leeming@lyx.org>
6523 * Makefile.am: nuke forgotten stl_string_fwd.h.
6525 2002-06-12 Angus Leeming <leeming@lyx.org>
6527 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6529 2002-06-13 Angus Leeming <leeming@lyx.org>
6532 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6534 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6536 * kbmap.C (getiso): add support for cyrillic and greek
6538 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6542 * BufferView_pimpl.h:
6543 * BufferView_pimpl.C: move bogus scrolling logic
6546 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6549 * BufferView_pimpl.C: view->resize() change
6551 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6553 * BufferView_pimpl.C: topCursorVisible
6556 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6560 * lyx_gui.C: move to frontends/
6564 * lyx_main.C: changes from above
6566 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6573 * lyx_main.C: minor tidy
6575 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6577 * BufferView_pimpl.h:
6578 * BufferView_pimpl.C:
6580 * BufferView.C: make painter() const,
6583 * BufferView2.C: use screen() accessor
6586 * lyx_main.C: some minor cleanup
6588 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6590 * BufferView_pimpl.h:
6591 * BufferView_pimpl.C: remove enter/leaveView,
6594 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6599 * BufferView_pimpl.h:
6600 * BufferView_pimpl.C: only construct screen once,
6603 * lyxrc.C: remove pointless comment
6605 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6608 * BufferView.C: remove active() and belowMouse()
6610 * BufferView_pimpl.h:
6611 * BufferView_pimpl.C: use workarea() not workarea_,
6612 and make it use a scoped_ptr instead
6614 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6616 * lyx_gui.C: add debug message on BadWindow
6618 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6620 * sp_spell.C: fdopen is not part of the C++ standard.
6622 * paragraph.C (InsetIterator): use >= instead of ==
6624 2002-06-07 Angus Leeming <leeming@lyx.org>
6626 Fixes needed to compile with Compaq cxx 6.5.
6627 * BufferView_pimpl.C:
6634 * lyxtextclasslist.C:
6639 all c-library variables have been moved into namespace std. Wrap
6640 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6645 Add a using std::abs declaration.
6647 * kbmap.h (modifier_pair):
6648 * paragraph.h (InsetTable, InsetList):
6649 * lyxfont.h (FontBits):
6650 type definition made public.
6652 * bufferlist.C (emergencyWriteAll): the compiler complains that
6653 there is more than one possible lyx::class_fun template to choose from.
6654 I re-named the void specialisation as lyx::void_class_fun.
6656 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6658 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6659 the compiler is is unable to find tostr in write_attribute.
6661 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6663 * buffer.C (sgmlError): hide #warning
6665 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6667 * xtl/*: get rid of xtl, which is not in use anyway
6669 * LyXAction.C (init):
6670 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6671 were unimplemented xtl experimentation
6673 2002-06-04 André Pönitz <poenitz@gmx.net>
6675 * lyxfunc.C: disable array operation on simple formulae
6677 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6679 * converter.C: constify a bit
6681 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6683 * lyx_gui.C: check xforms version correctly
6685 2002-04-30 Herbert Voss <voss@lyx.org>
6687 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6690 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6692 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6693 attempt to register it with a VCS)
6695 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6697 * lyx_main.C (init): honor variables LYX_DIR_13x and
6700 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6704 * lyx_main.C: fix a crash on bad command line,
6705 and give a useful exit status on error
6707 * lyxfunc.C (doImport): allow -i lyx to work
6709 2002-03-30 André Pönitz <poenitz@gmx.net>
6711 * lyxfunc.C: mathed font changes
6713 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6728 * trans_mgr.h: srcdocs, and some minor cleanups
6730 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6732 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6733 call getFont all the time)
6735 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6737 * switch from SigC signals to boost::signals
6739 2002-05-29 André Pönitz <poenitz@gmx.net>
6741 * paragraph_pimpl.C (getChar): don't call size() too often...
6743 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6745 * paragraph_pimpl.C (insertChar): do not try to update tables when
6746 appending (pos == size())
6748 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6749 in order to reduce drastically the number of comparisons needed to
6750 parse a large document
6752 2002-05-29 André Pönitz <poenitz@gmx.net>
6758 * textclasslist.[Ch]:
6759 * sp_ispell.h: whitespace change
6761 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6763 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6764 lyxaction directly now.
6766 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6770 * lyxvc.C: remove unused headers
6772 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6779 * undo_funcs.C: some cleanups. Use shared_ptr
6780 and a template for the undo stacks.
6782 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6784 * BufferView_pimpl.h:
6785 * BufferView_pimpl.C:
6792 * text2.C: use key_state/mouse_state
6794 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6796 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6799 * chset.C: change include order
6800 (loadFile): use boost regex and get rid of LRegex and LSubstring
6802 * Makefile.am (BOOST_LIBS): new variable
6805 * LaTeX.C: change include order.
6806 (scanAuxFile): use boost regex and get rid of LRegex and
6810 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6815 * FontInfo.C: moved to frontends/xforms/
6818 * FontLoader.C: moved into frontends for GUIIzation
6823 * lyxfunc.C: changes from above
6825 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6827 * LColor.C: remove spurious X include
6829 * BufferView_pimpl.C:
6834 * text2.C: move font metrics to frontends/
6836 2002-05-24 Juergen Vigna <jug@sad.it>
6838 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6839 setting the undo_cursor.
6841 * ParagraphParameters.h: include local includes first.
6843 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6845 * BufferView_pimpl.C:
6846 * BufferView_pimpl.h:
6850 * screen.C: move WorkArea into frontends/
6856 * BufferView2.C: move LyXScreen into frontends/
6860 * lyx_gui.C: move lyxlookup into frontends/xforms/
6862 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6865 * BufferView_pimpl.C:
6875 * bufferview_funcs.C:
6888 * vc-backend.C: move LyX/XFormsView into frontends/
6890 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6902 * text2.C: move Painter to frontends/
6904 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6906 * buffer.C: comment out some some code that depend upon lyx_format
6909 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6910 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6912 * buffer.h (NO_COMPABILITY): turn off compability
6914 * ColorHandler.C: include scoped_array.hpp
6916 * font.C: Use more specific smart_ptr header.
6919 * ShareContainer.h: ditto
6923 * BufferView_pimpl.h: ditto
6924 * ColorHandler.h: ditto
6926 * kbmap.C (defkey): change call to shared_ptr::reset
6928 2002-05-21 Juergen Vigna <jug@sad.it>
6930 * buffer.C (insertErtContents): fix to insert ert asis if it is
6931 non empty. Skip it completely if it contains only whitespaces.
6933 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6935 * BufferView_pimpl.C:
6936 * BufferView2.C: clear selection on paste (bug 393)
6938 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6940 * DepTable.C: include ctime
6942 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6944 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6946 2002-05-14 Juergen Vigna <jug@sad.it>
6948 * text.C (breakParagraph): fixed function to honor the keepempty
6949 layout in the right maner and also to permit the right breaking
6950 algorithm on empty or non empyt keepempty paragraphs.
6952 * paragraph.C (breakParagraph): we have to check also if the par
6953 is really empty (!size()) for isempty otherwise we do the wrong
6956 2002-05-10 Juergen Vigna <jug@sad.it>
6958 * buffer.[Ch] : The following are only changes to the ert
6959 compatibility read reading old LaTeX layout and font stuff and
6960 convert it to ERTInsets.
6962 * buffer.h: added isErtInset().
6964 * buffer.C (struct ErtComp): add a fromlayout bool to check
6965 if we're inside a LaTeX layout.
6966 (isErtInset): new helper function.
6967 (insertErtContents): look for other ert insets before this one
6968 and insert the contents there, so that we don't have subsequent
6969 ERT insets with nothing between them. This way we create only one
6970 inset with multiple paragraphs. Also check if we don't insert only
6971 spaces ' ' as they are ignored anyway afterwards in the .tex file
6972 so if we have only spaces we will ignore this latex part in the
6974 (parseSingleLyXformat2Token \\layout): better compatibility when
6975 reading layout-latex stuff.
6976 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6978 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6979 stuff after reading the inset only get the information back from
6982 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6984 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6986 * LaTeXFeatures.C (getBabelOptions): New method.
6988 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6990 * BufferView_pimpl.C (Dispatch): work around missing argument for
6993 2002-05-08 Juergen Vigna <jug@sad.it>
6995 * text.C (leftMargin): handle paragraph leftindent.
6997 * paragraph.C (writeFile): write the new \\leftindent tag.
6998 (validate): handle leftindent code.
6999 (TeXEnvironment): handle paragraphleftindent code again.
7001 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7003 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7004 for paragrap_extra indent code and new token \\leftindent.
7005 (latexParagraphs): handle the leftindent as environment.
7007 * ParameterStruct.h: added leftindent support.
7009 * ParagraphParameters.C (leftIndent): added support functions for
7010 the paragraph left indent.
7012 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7015 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7017 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7020 * text.C (computeBidiTables): No bidi in insetERT.
7022 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7025 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7027 * version.C.in: pre 5
7029 2002-05-02 José Matos <jamatos@fep.up.pt>
7030 * buffer.C (makeDocBookFile): white space changes, add newline to
7032 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7034 * tabular.C (docBook): fix typo.
7036 2002-05-03 Juergen Vigna <jug@sad.it>
7038 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7039 change in LyXText as we can not be sure it was not freed.
7040 (drawOneRow): remove unused code.
7042 * text.C (drawInset): redo the calculation of the need_break_row as
7043 it could have a row which was already freed.
7044 (draw): look at the return value of drawInset and return false if
7045 it also returned false.
7046 (paintRowText): look at the return value of draw and return false if
7047 it also returned false.
7049 * lyxtext.h: added bool return type to drawInset() and draw() so that
7050 if we have a change in the row so that the rowbreak has to be redone
7051 we abort drawing as it will be called again.
7053 2002-05-02 Juergen Vigna <jug@sad.it>
7055 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7056 a change in the maintext also if we're inside an inset.
7057 (Dispatch): set the cursor again after a break line and after the
7058 screen has been updated as it could be we're in a different row.
7060 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7061 to set the cursor behind the pargraph with > size().
7062 (setCursor): check also for the same paragraph when checking where
7063 to put the cursor if we have a NFR inset.
7065 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7066 parts of layout read further up as it still was in the wrong
7069 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7071 * screen.C (drawFromTo): change sine fullRebreak always return
7074 * buffer.C (parseSingleLyXformat2Token): reindent some
7076 * BufferView_pimpl.C (update): change since fullRebreak always
7078 (Dispatch): git rid of the last hardcoded "Standard"s.
7080 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7082 * text2.[Ch] (fullRebreak): make it return void now that we always
7085 2002-04-30 Juergen Vigna <jug@sad.it>
7087 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7088 ert compatibility check for "latex" layout.
7090 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7092 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7093 minipages: use col% instead of p%, and also use the current font.
7094 (makeLaTeXFile): Fix use babel condition.
7095 (parseSingleLyXformat2Token): Correct font when reading old floats.
7097 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7099 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7100 inserting list of floats.
7102 2002-04-25 Herbert Voss <voss@lyx.org>
7104 * MenuBackend.C (expand): don't add the graphics extensions to the
7107 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7109 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7110 non-existing layout, do not complain if it was the default layout
7111 of the original class (bug #342)
7113 2002-04-24 Juergen Vigna <jug@sad.it>
7115 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7116 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7118 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7120 * buffer.C (getBibkeyList): If using \bibliography, return the
7121 option field with the reference itself. Enables us to provide natbib
7122 support when using \bibliography.
7124 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7126 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7128 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7129 natbib is provided by the LaTeX class.
7131 2002-04-23 Juergen Vigna <jug@sad.it>
7133 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7136 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7138 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7140 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7142 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7143 ensuremath around textordmasculine, textordfeminine and
7146 2002-04-19 Juergen Vigna <jug@sad.it>
7148 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7149 reinitializing the buffer otherwise row-dimensions may be wrong.
7150 (update): reset also the selection cursors if they do exits otherwise
7151 their x/y positions may be wrong.
7153 * text2.C (cursorDown): don't enter the inset if we came from a row
7154 above and are one row over the inset.
7156 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7157 really leaving an inset.
7159 2002-04-18 Juergen Vigna <jug@sad.it>
7161 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7162 of the selected paragraph does not have the selected layout also if
7165 * text2.C (setLayout): fixed bug which did not change last selected
7168 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7169 changed the read and substituted \\end_float with \\end_inset!
7171 * BufferView_pimpl.C (cursorPrevious):
7172 (cursorNext): fixed to make it work with rows heigher than the work
7173 area without moving the cursor only the draw of the row.
7174 (workAreaMotionNotify): fix jumping over high rows.
7176 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7178 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7181 2002-04-16 Juergen Vigna <jug@sad.it>
7183 * text2.C (setCursor): set also the irow().
7184 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7186 (cursorDown): support for locking an inset if the x_fix value goes
7187 inside it. That way I can transverse insets too with cursor up/down.
7189 * lyxrow.h: added irow helper function same as other (i) functions.
7191 * BufferView_pimpl.C (cursorPrevious):
7192 (cursorNext): fixed for insets!
7194 2002-04-15 Juergen Vigna <jug@sad.it>
7196 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7197 position otherwise it is wrong in some cases.
7199 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7200 inside the inset before the call.
7202 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7204 * buffer.[Ch] (getBibkeyList): make it const.
7206 2002-04-12 Juergen Vigna <jug@sad.it>
7208 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7210 * text2.C (getCursorX): new helper function
7211 (setCursor): compute also ix_
7212 (setCursorFromCoordinates): set also ix.
7214 * lyxcursor.h: added ix_ and helper functions.
7216 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7218 * buffer.C (insertStringAsLines): dont break paragraph if the this
7219 paragraph is inside an inset which does not permit it!
7221 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7222 also with no chars on this paragraph.
7223 (paintRowText): only paint stuff if it's inside the workarea!
7225 * paragraph.C (breakParagraph): honor keepempty flag and break the
7226 paragraph always below not above.
7228 * BufferView2.C (unlockInset): update the paragraph layout on inset
7229 unlock as we changed paragraph in such a case.
7231 * lyxfind.C (LyXFind): clear the former selection if not found!
7233 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7234 again called in insertChar().
7236 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7237 an inset which uses the whole row!
7238 (rightMargin): ditto.
7239 (insertChar): force a rebreak if we inserted an inset!
7241 2002-03-28 Herbert Voss <voss@lyx.org>
7243 * lyxlength.[Ch]: add inBP() to get the right PS-point
7244 units (BigPoint). With inPixels we have rounding errors
7246 2002-04-11 Juergen Vigna <jug@sad.it>
7248 * text2.C (setCursorFromCoordinates): set iy to the right value.
7249 (setCursor): add check if row->previous exists!
7251 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7252 an old float_type as this was the case in the old code!
7254 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7256 * BufferView2.C (showLockedInsetCursor): use iy
7257 (fitLockedInsetCursor): ditto
7259 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7260 locked insets as there we have the right value now.
7262 * lyxcursor.C: added iy_ variable and iy functions to set to the
7263 baseline of cursor-y of the locked inset.
7265 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7266 (setCursor): fixed for insets which need a full row.
7268 * text.C (rowLastPrintable): don't ignore the last space when before
7269 an inset which needs a full row.
7270 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7271 as last character of a row when before a inset which needs a full row.
7273 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7275 * version.C.in: update date
7277 * text2.C (fullRebreak): try to always return true and see what
7280 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7282 * MenuBackend.C (expand): use Floating::listName
7284 * FloatList.C (FloatList): add listName argument to the built-in
7287 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7288 text associated with the float.
7290 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7292 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7294 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7296 * ShareContainer.h: add a couple of missing typenames.
7298 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7300 * lyxrc.C (getDescription): use _() correctly rather than N_().
7302 2002-03-28 Herbert Voss <voss@lyx.org>
7304 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7305 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7307 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7309 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7310 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7312 2002-03-29 Juergen Vigna <jug@sad.it>
7314 * lyxfunc.C (dispatch): add a missing fitCursor call.
7316 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7317 it was scrolled by a cursor move, so return the bool status.
7319 * BufferView.C (fitCursor): return the bool flag also to the outside
7320 world as this is needed.
7322 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7324 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7325 call the edit() as it is not needed (and wrong) IMO.
7326 (workAreaButtonPress): set the screen_first variable before evt.
7327 unlock the inset as this may change screen_first and then we have
7328 a wrong y position for the click!
7330 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7332 * MenuBackend.C (expand): another translation that I missed
7334 2002-03-28 Juergen Vigna <jug@sad.it>
7336 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7338 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7340 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7342 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7344 * MenuBackend.C (expand): fix export/view/update when there is no
7347 2002-03-27 Herbert Voss <voss@lyx.org>
7349 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7352 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7354 * bufferview_funcs.C (currentState): only show paragraph number
7355 for is DEVEL_VERSION is set.
7357 * lyxfunc.C (dispatch): put warning in INFO channel
7359 * MenuBackend.C (expand): translate the name of floats
7361 * FloatList.C (FloatList): mark the float names for translation
7363 * converter.C (convert): use LibScriptSearch
7365 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7367 * MenuBackend.C (defaults): fix default menu (we might as well get
7370 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7372 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7375 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7377 * lyxvc.C: reorder includes.
7379 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7381 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7384 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7386 * CutAndPaste.C: change layouts earlier on paste
7387 to avoid crashing when calling getFont()
7389 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7391 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7394 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7396 * WorkArea.C: remove 'Pending' debug message.
7398 * most files: ws cleanup
7400 * buffer.[Ch]: ws changes
7402 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7404 2002-03-21 Juergen Vigna <jug@sad.it>
7406 * tabular.C (SetMultiColumn): collapse also the contents of the
7407 cells and set the last border right. Added a Buffer const * param.
7409 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7411 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7414 2002-03-19 Juergen Vigna <jug@sad.it>
7416 * text2.C (clearSelection): reset also xsel_cache.
7418 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7419 where it needs to be called (John tells us to do so too :)
7420 (selectionLost): reset sel_cache.
7422 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7424 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7426 * text2.C (setCursorIntern): put debuging code in INSETS channel
7428 2002-03-19 André Pönitz <poenitz@gmx.net>
7430 * lyxfunc.C: tiny whitespace change
7432 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7434 * ToolbarDefaults.C (init):
7435 * LyXAction.C (init):
7437 * BufferView_pimpl.C (Dispatch):
7438 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7440 2002-03-19 Allan Rae <rae@lyx.org>
7442 * exporter.C (Export): removeAutoInsets before doing anything else.
7443 While I've just introduced a dependency on BufferView this really is
7444 the best place to clean the buffer otherwise you need to cleanup in
7445 a dozen places before calling export or cleanup in a dozen functions
7448 * converter.C (runLaTeX):
7449 (scanLog): Better handling of removeAutoInsets and screen updates.
7451 * lyxfunc.C (dispatch): small whitespace changes
7453 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7455 * WorkArea.C (C_WorkAreaEvent): return a value.
7456 (event_cb): return 1 if we handled the event, 0 otherwise.
7458 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7460 2002-03-18 Juergen Vigna <jug@sad.it>
7462 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7463 (GetAdditionalWidth): ditto.
7467 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7468 inset if we're there actually (probably not used right now but this
7469 is the direction to go for unifying code).
7470 (paste): disable code to clear the selection.
7472 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7473 inside an InsetText and move the check further up as it is in the
7476 * text2.C (pasteSelection): set a selection over the pasted text.
7478 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7480 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7481 and libgraphics to build on Cygwin.
7483 2002-03-15 Juergen Vigna <jug@sad.it>
7485 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7486 inserting an Inset into the paragraph. I know this is not the best
7487 fix but we already use current_view in CutAndPaste so we will remove
7488 all of it's using at the same time.
7490 * buffer.C (sgmlError): deactivated function till it is rewritten in
7491 the right mode, now it can create problems.
7493 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7494 before accessing it.
7496 2002-03-14 Juergen Vigna <jug@sad.it>
7498 * undo_funcs.C (textHandleUndo): do the right thing when updating
7499 the inset after the undo/redo.
7501 * text2.C (setCursor): just some testcode for #44 not ready yet.
7503 * undo_funcs.C (textHandleUndo): set the next() and previous()
7504 pointers of the paragraph to 0 before deleting otherwise we have
7505 problems with the Paragraph::[destructor].
7507 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7508 on a paragraph insertion.
7510 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7512 * buffer.C (asciiParagraph): use += operator for char append to
7515 * paragraph.C (getFontSettings): compare >= not just >
7516 (highestFontInRange): ditto
7519 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7521 * paragraph.C: change several algorithm to be more appripriate for
7522 the problem domain. This is lookip in FontList and in the InsetList.
7524 2002-03-13 André Pönitz <poenitz@gmx.net>
7527 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7529 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7534 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7536 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7538 * Painter.C (display): anon helper function, adjust code for this
7540 (pixmap): remove function.
7542 * Painter.h: remove private display variable.
7544 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7546 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7548 * WorkArea.[Ch]: remove figinset_canvas cruft.
7550 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7552 * lyxtextclass.C (operator): add one item cache optimization.
7554 * bufferlist.h: doxy changes
7556 * bufferlist.C: ws changes
7558 * DepTable.[Ch] (ext_exist): place const in the right spot.
7560 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7562 (workAreaExpose): call resizeInsets when the with BufferView changes.
7563 (Dispatch): adjust for protectedBlank removal
7564 (specialChar): call updateInset if the insert went ok.
7566 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7567 specialChar instead.
7569 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7571 * BufferView.h: doxy change
7573 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7575 * lyxtextclass.C (operator[]): remove non-const version
7576 (defaultLayout): remove non-const version
7578 2002-03-12 Juergen Vigna <jug@sad.it>
7580 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7581 did resize the LyXText too.
7583 * buffer.C (readLyXformat2): set layout information on newly allocated
7586 * tabular.C (OldFormatRead): set layout information on the paragraph.
7588 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7590 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7592 2002-03-11 Juergen Vigna <jug@sad.it>
7594 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7596 (resizeCurrentBuffer): force also the insets to resize themselfes.
7597 (moveCursorUpdate): fixed up for InsetText.
7599 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7602 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7603 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7604 value of Dialogs::tooltipsEnabled().
7605 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7607 2002-03-08 Juergen Vigna <jug@sad.it>
7609 * BufferView_pimpl.C (updateInset): update inset inside inset also
7610 if it isn't inside theLockingInset().
7612 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7614 * buffer.C (asciiParagraph): redo some of the word and line length
7616 (getLists): look for Caption instead of caption.
7618 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7620 * buffer.C (Buffer): initialize niceFile to true
7623 (makeDocBookFile): make sure niceFile is true on exit
7625 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7627 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7629 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7631 * LyXSendto.C: remove.
7632 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7633 * lyx_gui.C: remove now-redundant comment.
7634 * ColorHandler.h: remove forward declaration of class WorkArea.
7635 * lyxfunc.C: remove #include "WorkArea.h".
7637 2002-03-07 Juergen Vigna <jug@sad.it>
7639 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7640 got moved away with the DEPM and also set the inset_owner always
7641 right which before could have been omitted.
7643 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7645 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7646 wanted layout is not found.
7648 2002-03-07 Juergen Vigna <jug@sad.it>
7650 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7652 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7654 * paragraph.C (breakParagraph): use default layout not layout of
7656 (Paragraph): clear ParagraphParameters.
7658 2002-03-06 Juergen Vigna <jug@sad.it>
7660 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7661 otherwise it would not be a valid lenght. Fixed a special case in
7662 the minipage compatibility read where we end the document with a
7665 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7666 was set as it could be 0 for InsetTexts first entry.
7668 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7670 * paragraph.C (writeFile): if layout is empty write out
7671 defaultLayoutName().
7673 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7674 file without named layout we set layout to defaultLayoutName().
7676 2002-03-06 Juergen Vigna <jug@sad.it>
7678 * CutAndPaste.C (copySelection): set layout for new paragraph.
7680 * text.C (prepareToPrint): leave ERT inset left aligned
7681 (leftMargin): don't indent paragraphs inside ERT insets
7683 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7685 * paragraph.C (breakParagraph): dont call clear do the work manually
7687 * paragraph.[Ch] (clear): remove function
7689 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7691 * paragraph.C (Paragraph): dont call clear, the work has already
7694 * lyxtextclass.C (operator): assert if n is empty
7696 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7697 work manually instead.
7699 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7701 * BufferView_pimpl.C: protect selectionLost against text == 0
7703 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7705 * text.C (breakParagraph): fix a setting layout to '0' problem.
7707 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7709 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7710 final location of file, for the included files, and graphics.
7712 2002-03-05 Juergen Vigna <jug@sad.it>
7714 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7716 2002-03-04 Juergen Vigna <jug@sad.it>
7718 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7720 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7721 last column of multicolumn cells.
7722 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7724 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7726 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7727 file if it doesn't go to a temporary file.
7729 * buffer.C (sgmlOpenTag):
7730 (sgmlCloseTag): remove extra newline insertion.
7732 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7734 * text.C (getRowNearY): comment out debug msg
7736 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7738 * text2.C: first -> first_y
7740 * text.C (getRowNearY): add some attemts at a possible
7741 optimization, not working.
7743 * tabular.[Ch]: add BufferParams to several function so that newly
7744 created paragraph can be initialized to he default layotu for the
7747 * tabular-old.C (ReadOld): add buf->params to call of Init
7749 * screen.C: rename text->first to text->first_y
7751 * paragraph.C (breakParagraph): always set layout in the broken
7754 * lyxtextclass.C (Read): remove lowercase
7757 (delete_layout): ditto
7759 * lyxtext.h: rename first -> first_y
7761 * lyxlayout.C (Read): remove lowercase
7764 (obsoleted_by): ditto
7766 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7768 * buffer.C (insertErtContents): add params are to InsetERT
7769 (parseSingleLyXformat2Token): add code to check if a paragraphs
7770 layout really exist.
7771 (parseSingleLyXformat2Token): add params to several inset
7773 (asciiParagraph): remove lowercase, do the layout comparisons with
7776 * BufferView_pimpl.C (cursorNext): first -> first_y
7777 (resizeCurrentBuffer): first -> first_y
7778 (updateScrollbar): first -> first_y
7779 (scrollCB): first -> first_y
7780 (workAreaMotionNotify): first -> first_y
7781 (workAreaButtonPress): first -> first_y
7782 (checkInsetHit): first -> first_y
7783 (cursorPrevious): first -> first_y
7784 (cursorNext): first -> first_y
7785 (Dispatch): add buffer_->params to severl inset contructors
7787 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7789 * lyxlayout.C (Read): remove some debug info that I forgot.
7791 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7792 clean up the code slightly.
7793 (makeLinuxDocFile): ditto
7794 (makeDocBookFile): ditto
7796 * text2.C: layout as string
7798 * text.C: layout as string
7800 * paragraph_pimpl.C: layout as string
7802 * paragraph.[Ch]: layout as string
7804 * lyxtextclasslist.[Ch]: layout as string
7806 * lyxtextclass.[Ch]: layout as string
7808 * lyxtext.h: layout as string
7810 * lyxlayout.[Ch]: layout as string
7812 * lyx_cb.C: layout as string
7814 * bufferview_funcs.C: layout as string
7816 * bufferparams.C: layout as string
7818 * buffer.C: layout as string
7820 * LyXView.[Ch]: layout as string
7822 * LaTeXFeatures.[Ch]: layout as string
7824 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7826 * BufferView_pimpl.C: change current_layout to string, remove
7831 (workAreaButtonRelease): layout as string
7833 * BufferView2.C (unlockInset): adjust
7835 * vspace.C (asLatexCommand): use an explict temp variable.
7837 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7839 * Makefile.am: use FRONTEND_*
7841 2002-03-01 Juergen Vigna <jug@sad.it>
7843 * tabular.C (SetWidthOfMulticolCell): changed to something better
7844 I hope but still work in progress.
7845 (recalculateMulticolumnsOfColumn): renamed function from
7846 recalculateMulticolCells as it is more appropriate now.
7847 (SetWidthOfCell): calculate multicols better.
7849 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7851 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7853 * lyxfunc.C (processKeySym): print sequence also if it is
7854 `deleted' (complete)
7856 * kbsequence.C (print): print sequence even if it is deleted
7857 (complete would be a better word, actually).
7859 * lyxfunc.C (dispatch): print complete options after a prefix key
7861 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7863 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7865 * text2.C (setCharFont): eliminate setCharFont code duplication.
7867 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7869 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7870 LFUN_TABULAR_FEATURE (bug #177)
7872 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7874 * Makefile.am: remove figure.h
7876 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7878 * Bufferview_pimpl.C:
7890 * text2.C: remove #include "lyx_gui_misc.h".
7892 * LaTeX.C: added #include <cstdio>
7894 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7896 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7897 that the paragraph following this one can have.
7899 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7901 * vspace.C (asLatexCommand): fix bogus gcc warning
7903 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7905 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7907 * text2.C (setLayout): get rid of redundant code
7909 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7911 * text2.C (incDepth): make sure depth cannot be increased beyond
7914 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7916 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7917 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7919 * PainterBase.h (image):
7920 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7923 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7927 * BufferView_pimpl.C:
7928 * BufferView_pimpl.h:
7948 * sp_spell.C: remove fig inset, and the crap house of
7949 cards that follows it
7951 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7957 * nt_defines.h: move .h into support/
7959 * vms_defines.h: remove
7961 * WorkArea.C: add space in debug output
7965 * buffer.C: add WITH_WARNINGS
7969 * bufferlist.C: s/retrive/retrieve/, add docs
7980 * lyxgui.C: add ID to X error handler
7982 * lyxtestclass.c: fix typo
7984 2002-02-26 Juergen Vigna <jug@sad.it>
7986 * tabular_funcs.C (write_attribute): changed so that some default
7987 attributes are not written at all.
7988 (getTokenValue): set default values before trying to read the
7989 value so we have the return value always set as default if we don't
7990 find the token we search for.
7992 * tabular.C (Write): write bools as bools not as strings!
7994 2002-02-22 Juergen Vigna <jug@sad.it>
7996 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7997 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7999 * text.C (leftMargin): don't add an indent for paragraphs inside
8000 tabular cells (fix #208).
8002 2002-02-21 José Matos <jamatos@fep.up.pt>
8004 * tabular.C (docBook): fixed support for long tables.
8006 2002-02-20 Juergen Vigna <jug@sad.it>
8008 * text2.C (getFont): get the drawing font of the Inset if this
8009 paragraph is inside an inset (only important for InsetERT for now).
8011 * buffer.C (insertErtContents): use new lanugage params in ERT
8014 * CutAndPaste.C: commenting out seemingly uneeded code.
8016 2002-02-19 Allan Rae <rae@lyx.org>
8018 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8019 Iterators might be simple to use but they also get invalidated.
8020 (removeAutoInsets): renamed saved cursor tracking variables and added
8021 some comments to clarify what everything does.
8023 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8030 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8031 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8034 * vc-backend.h: remove #include "support/syscall.h"
8038 * converter.C: rearrange #includes in Lars' approved fashion.
8040 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8041 forward declare class Timeout in the header file.
8043 * XFormsView.C: changes due to the above.
8045 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8048 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8049 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8051 2002-02-18 José Matos <jamatos@fep.up.pt>
8053 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8056 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8058 * a lot of small ws changes
8059 * add a lot of using std::XXX
8060 * use std construcs some places where approp.
8061 * use some exisint stuff from lyxfunctional where approp.
8062 * Make file changes to use partial linking (lets test this now...)
8064 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8068 remove #include "support/syscontr.h" as it's redundant. Always has been.
8076 change Systemcalls::System to Systemcalls::Wait and
8077 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8078 No change of functionality, just reflects the stripped down Systemcalls
8081 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8083 * debug.[Ch]: add a GRAPHICS type to the enum.
8085 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8087 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8089 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8092 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8094 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8095 match the changes below.
8097 * text2.C (toggleInset): if there is not editable inset at cursor
8098 position, try to see if cursor is _inside_ a collapsable inset
8101 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8103 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8104 document menu has a nice checkbox
8106 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8108 * lyxlength.C (asLatexString): change PW to output as percent of
8111 * lengthcommon.C: change '%' to 't%'
8113 * lyxfunc.C (dispatch): a few comments from Martin
8115 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8119 * BufferView_pimpl.h:
8120 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8123 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8125 * vspace.C (inPixels): fix compiler warning
8127 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8129 * lyxfunc.C (getStatus): fix status message for disabled commands.
8131 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8133 * BufferView_pimpl.C: fix crash on close buffer
8134 during selection (#227)
8136 2002-01-27 Herbert Voss <voss@lyx.org>
8138 * buffer.C: link old Figure to new graphic inset
8140 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8142 * FontLoader.C (getFontinfo): Change the latex font names in order
8143 to match the names of type1inst.
8145 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8147 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8149 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8152 (remove_files_with_extension): ditto
8153 (remove_file): ditto
8156 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8157 document is smaller than the work area height. Do not initialize
8158 static variables to 0.
8160 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8162 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8164 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8165 LFUN_LAYOUT_PARAGRAPHS.
8167 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8168 tabular. It is possible to provide a possible cell, which will
8169 typically be the actcell from the corresponding insettabular
8171 * lyxfunc.C (getStatus): small cleanup; disable
8172 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8175 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8177 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8179 * paragraph.C (startTeXParParams):
8180 (endTeXParParams): new methods. The LaTeX code to
8181 start/end paragraph formatting
8182 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8183 empty (fixes bug #200)
8185 * vspace.C (inPixels): adapt to the change below
8186 (inPixels): [later] more cleanups (remove unused variables)
8188 * lyxlength.C (inPixels): change to use a width and a height as
8191 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8193 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8194 Replaced with \paperwidth
8196 * DepTable.C (insert): add std:: qualifier
8198 2002-01-18 Allan Rae <rae@lyx.org>
8200 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8203 * text.C (drawInset): Turned out I didn't know enough about how
8204 rebreaking worked. This fixes most of the redraw problems. I see
8205 an occasional cursor trail when a line is broken now and the cursor
8206 placement can seem out by a few pixels also after a rebreak.
8208 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8210 * buffer.C (parseSingleLyXformat2Token): update because minipage
8211 width is now a LyXLength
8213 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8215 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8218 2002-01-17 Juergen Vigna <jug@sad.it>
8220 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8222 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8223 is set correctly and the inset is updated correctly.
8225 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8227 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8228 the beginning of the loop.
8230 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8232 * lyxrc.C: improve help for use_scalable_fonts
8234 2002-01-17 Allan Rae <rae@lyx.org>
8236 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8238 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8240 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8241 make sure to set their inset_owner to the right value (bug #171)
8243 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8246 * DepTable.C: Implement mtime checking to reduce time spent doing
8249 2002-01-16 Juergen Vigna <jug@sad.it>
8251 * tabular.C (GetAdditionalHeight): one of error fixed.
8253 * lyxrc.C (output): small fix in writing use_pspell.
8255 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8257 * sp_base.h: #include LString.h
8259 2002-01-16 Allan Rae <rae@lyx.org>
8261 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8262 Can someone check this please?
8264 * text.C (drawInset): It was possible that p.row would be removed by
8265 breakAgainOneRow upsetting a few other settings. There may be another
8266 small tweak possible by setting need_break_row = 0 when p.row has been
8267 removed but I don't know enough about the logic here.
8269 2002-01-15 Allan Rae <rae@lyx.org>
8271 * text.C (insertChar): removed conditional truism.
8273 * BufferView2.C (removeAutoInsets): More tweaks.
8274 cur_par_prev could be a stray pointer. Check for trailing empty line
8275 in case last line was cur_par and only had an error inset on it.
8277 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8279 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8282 * vc-backend.C (most methods):
8283 * exporter.C (Export):
8284 * converter.C (convert):
8286 * LyXSendto.C (SendtoApplyCB):
8287 * lyxfunc.C (dispatch):
8291 * lyx_cb.C (AutoSave):
8293 * BufferView_pimpl.C (MenuInsertLyXFile):
8294 * buffer.C (runChktex): use Buffer::filePath().
8296 * buffer.h: rename filename to filename_; rename filepath to
8297 filepath_ and make it private
8298 (filePath): new method
8300 * buffer.C (writeFile): use fileName()
8303 * lyx_main.C (init): fix starting of LyX when the binary is a
8304 link from so,ewhere else.
8306 * minibuffer.C: include <cctype> for isprint
8308 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8310 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8311 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8312 name clash with InsetCollapsable's width function.
8314 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8316 * lastfiles.C: include <iterator>
8318 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8320 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8323 * buffer.C (makeLaTeXFile): ditto.
8324 Also make loop operation more transparent.
8326 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8328 * ToolbarDefaults.C: remove trailing comma closing namespace.
8330 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8332 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8335 * trans.C (Load): comment out unused variable, allowed.
8337 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8339 * minibuffer.[Ch] (append_char): new method to recieve input from the
8340 drop-down completion browser. If a key was pressed, then recieve this
8341 char and append it to the existing string.
8342 (peek_event): modify the positioning data passed to the completion
8343 browser so that it can be placed above the minibuffer rather than below.
8344 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8346 * LyXAction.C (init): alloe error-next for readonly documents.
8348 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8351 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8353 * bufferlist.C (readFile): create the buffer _after_ checking that
8356 * lyxfunc.C (verboseDispatch): fix handling of arguments
8358 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8360 * lyxrc.C: use string::erase() instead of initializing to "".
8363 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8365 * BufferView_pimpl.h:
8366 * BufferView_pimpl.C:
8369 * text2.C: tell X when we have made a selection for copying
8371 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8373 * BufferView_pimpl.C (MenuInsertLyXFile):
8374 * lyxfunc.C (menuNew):
8376 (doImport): add shortcuts to directory buttons
8378 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8381 * lyxfunc.C (setStatusMessage):
8382 (getStatusMessage): new methods
8383 (getStatus):use setStatusMessage instead of setErrorMessage
8384 (dispatch): when function is disabled, set error message here
8385 [instead of in getStatus previously]
8387 * BufferView_pimpl.C (workAreaButtonRelease): update
8388 toolbar/menubar here too.
8390 2002-01-13 Allan Rae <rae@lyx.org>
8392 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8393 Now seems indestructible. Remaining task is to audit all other
8394 code affected by deleteEmptyParagraphMechanism. One small quirk
8395 left is that an empty document with an error in the preamble can
8396 be made to report an error but no error box appears. I don't know
8398 (removeAutoInsets): Improved comments.
8400 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8403 * Thesaurus.C: update for Aiksaurus 0.14
8405 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8407 * text2.C (firstParagraph): removed member function, all uses
8408 replaces with ownerParagraph
8409 (redoParagraphs): here
8411 (toggleAppendix): here
8412 * BufferView2.C (insertErrors): here
8413 (setCursorFromRow): here
8415 2002-01-13 Allan Rae <rae@lyx.org>
8417 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8418 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8419 There is still a way to segfault this although you may have to do this
8420 multiple times: Have an InsetERT with an unknown command in it.
8421 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8422 <down-arrow>, <Enter> again, View->DVI, BANG!
8424 * text2.C (setCursor):
8425 (deleteEmptyParagraphMechanism):
8426 * lyxtext.h (setCursor):
8427 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8428 Making use of the return value may help fix other bugs.
8430 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8432 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8434 * LyXView.C (updateMenubar): call MenuBar::update here
8435 (updateToolbar): but not here
8436 (showState): do not update toolbar/menubar
8438 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8439 should need to care about that.
8441 * lyxfunc.C (verboseDispatch): simplify a bit
8442 (getStatus): have a version which takes a pseudoaction, and
8443 another which requires a (kb_action,string).
8445 * LyXAction.C (retrieveActionArg): make it work also when action
8446 is not a pseudo-action.
8447 (getActionName): simplify a bit
8450 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8452 * lyxfunc.C (verboseDispatch): new families of methods with
8453 several ways to specify a command and a bool to indicate whether
8454 the command name and shortcut should be displayed in minibuffer
8455 (eventually, we could extend that to a finer bitmask like
8456 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8457 (dispatch): the pristine dispatch command which just, well,
8458 dispatchs! Note it still sets its result to minibuffer; I'm not
8461 * lyxfunc.h: remove setHintMessage
8463 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8465 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8467 * BufferView_pimpl.C (specialChar): delete new inset if we have
8468 not been able to insert it.
8470 * kbmap.C: revert to using int instead of kb_action, since all we
8471 are dealing with is pseudo-actions.
8473 * LyXAction.C (searchActionArg): change to return int instead of
8474 kb_action, since the result is a pseudoaction.
8476 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8478 * buffer.C (insertErtContents): Fix (partially) the font bug.
8480 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8482 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8483 as the other one is broken on my machine!
8485 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8488 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8490 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8492 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8493 reflect their actual use. Provide compatibility code for older lyxrc
8496 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8498 change names of popup font variables in line with the changes to lyxrc.C
8500 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8502 * buffer.C (asciiParagraph): avoid outputing a word twice after
8505 * lyxrc.C (getDescription): document that document_path and
8506 template_path can be empty.
8508 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8510 * LaTeXFeatures.C (getMacros):
8511 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8513 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8515 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8517 (getPackages): rename feature "floats" to "float". Use an array to
8518 iterate over 'simple' features (i.e. just a \usepackage). Add
8519 handling of "amsmath" (renamed from "amsstyle").
8521 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8523 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8526 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8528 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8529 FuncStaus::FuncStatus & FuncStaus::some_method().
8531 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8533 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8534 of the func_satus stuff. Edited and massaged in various ways by
8537 * lyxfunc.C (getStatus): use FuncStatus
8539 2002-01-08 Juergen Vigna <jug@sad.it>
8541 * text.C (nextBreakPoint): use function Inset::isChar().
8543 * paragraph.C (TeXOnePar): use function
8544 Inset::forceDefaultParagraphs.
8546 * buffer.C (latexParagraphs): use function
8547 Inset::forceDefaultParagraphs.
8549 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8551 * lyx_gui.C (init): set the style of the menu popups to
8552 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8554 2002-01-07 Juergen Vigna <jug@sad.it>
8556 * text.C (setHeightOfRow): small fix
8557 (prepareToPrint): don't look at alignment if we don't have the place
8560 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8562 * box.C: New file. Move the Box methods and functions out of box.h,
8563 following Lars' suggestion.
8565 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8567 * box.h: #include "support/LOstream.h", needed for inlined function.
8570 * lyxtextclasslist.C: added some using std declarations.
8572 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8574 * box.h: make signed dimensions to allow insets wider than
8575 the screen (bug #162)
8577 * BufferView_pimpl.C: add some insetHit debug
8579 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8581 * vc-backend.C: add FIXME
8583 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8585 * lyxfunc.C (getStatus): enable code for showing math font status
8588 2002-01-07 Juergen Vigna <jug@sad.it>
8590 * text.C (nextBreakPoint): removed debug output not needed anymore.
8592 2002-01-06 Juergen Vigna <jug@sad.it>
8594 * text.C (nextBreakPoint): fixed up this function we had this bug
8595 since ever but now hopefully we break row better.
8596 (insertChar): we have to check if an inset is the next char as it
8597 could now happen that a large inset is causing a break.
8599 2002-01-05 Juergen Vigna <jug@sad.it>
8601 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8602 if it doesn't like to be drawed.
8604 2002-01-04 Juergen Vigna <jug@sad.it>
8606 * BufferView2.C (lockInset): forgot to set a cursor.
8608 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8610 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8615 * form_maths_panel.C:
8616 * form_maths_panel.h:
8617 * form_maths_panel.fd: implemented sub- and super- buttons in math
8620 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8621 (or ^ space) to be used as in TeX (req'd by André).
8623 * lyxfunc.C: Allow ^ and _ again to be used both as
8624 super/subscript (mathed) and as themselves (in text).
8626 2002-01-03 Allan Rae <rae@lyx.org>
8628 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8629 "LyX" or the filename of the current buffer if it has one. This is a
8630 modified form of John Levon's patch.
8632 * XFormsView.C (setWindowTitle): also set icon title.
8634 * LyXView.h (setWindowTitle): signature changed.
8635 * XFormsView.h (setWindowTitle): ditto.
8637 2002-01-02 Juergen Vigna <jug@sad.it>
8639 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8641 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8643 * screen.C (topCursorVisible): introduce a temp var for
8644 text->cursor.row(), handle the case where this row is null. (kindo
8647 * text2.C (setCursor): add a couple of asserts.
8649 * paragraph.h (inset_iterator): add -> operator
8651 * paragraph.[Ch] (autoDeleteInsets): remove member function
8653 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8654 cursor pos correctly and handle inset deletion by itself.
8655 (insertErrors): move iterator declaration out of for expression
8657 * lyxtextclass.C: add <algorithm>
8659 * Makefile.am: added the new files to sources, removed layout.C
8661 * layout.C: removed file
8663 * layout.h: remove LYX_DUMMY_LAYOUT
8665 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8669 * lyxtextclass.[Ch]:
8670 * lyxtextclasslist.[Ch]: new files
8672 * include order changes to a lot of files, also changes because of
8675 2001-12-27 Juergen Vigna <jug@sad.it>
8677 * buffer.C (asciiParagraph): more fixes.
8679 * tabular.C (ascii): make ascii export support export of only the
8680 data separated by a column-delimiter.
8681 (ascii): better support for ascii export.
8683 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8685 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8687 * tabular_funcs.C: use a "using std::getline" instead of the
8688 previous fix from Angus (necessary for cxx + lyxstring)
8690 2001-12-24 Juergen Vigna <jug@sad.it>
8692 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8694 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8695 problems. First check a minipage also if we have some ert-contents
8696 (not only on par->size(), second set the right depth of the paragraph
8697 on the relink to the root-paragraph-list!
8699 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8700 which then did not anymore update the main paragraphs on undo/redo!
8702 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8704 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8705 code. Support all font-changing funcs (even those which are not in
8706 menu currently). Support for reporting font settings in
8707 mathed (disabled until Andre provides a function on mathed's side).
8709 * func_status.h (toggle): small helper function to set toggle
8712 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8714 * tabular_funcs.C: getline -> std::getline
8716 2001-12-21 Juergen Vigna <jug@sad.it>
8718 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8719 accessed and could be 0 (I couldn't generate this but it seems
8722 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8724 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8725 * tabular_funcs.h: here and include iosfwd
8727 2001-12-20 Juergen Vigna <jug@sad.it>
8729 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8730 inside inset but undo_par was.
8732 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8734 * Thesaurus.C: always include <config.h> in sources.
8738 * box.h: do not include <config.h> in header files
8740 * text.C (paintLastRow): remove unused variable
8742 * text.C (transformChar):
8744 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8747 * font.C (width): rewrite to use uppercase() instead of
8750 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8752 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8754 * lyxfind.C: clean up of find failure position change
8756 2001-12-20 Juergen Vigna <jug@sad.it>
8758 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8760 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8761 (TeXRow): added to LaTeX a single tabular row.
8762 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8763 (Latex): simplified and finally good LT-h/f support.
8764 (various_functions): just small adaptions for LT-h/f support.
8766 * tabular_funcs.[hC]: added and moved here all not classfunctions
8769 2001-12-19 Juergen Vigna <jug@sad.it>
8771 * tabular.[Ch]: better support for longtabular options (not finished
8774 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8776 * text.C (paintLastRow): use the label font instead of the font of
8777 the last character to compute the size of *_BOX. This makes more
8778 sense and avoids a crash with empty paragraphs.
8779 Use Painter::rectangle to draw EMPTY_BOX.
8781 2001-12-19 Juergen Vigna <jug@sad.it>
8783 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8784 the paragraphs if the replaced paragraph is not the first one!
8785 Tried to delete not used paragraphs but does not work yet so for
8786 now it's inside #ifdef's and by default off!
8788 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8790 * MenuBackend.C: include "lyx_main.h" instead of declaring
8791 lastfiles (actually was declared as LastFiles* instead of a
8794 2001-12-17 Juergen Vigna <jug@sad.it>
8796 * tabular.C (AppendColumn): applied John's fix
8798 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8802 * BufferView_pimpl.h:
8803 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8806 * box.h: new start of class for above
8808 * lyxfunc.C: ignore space-only minibuffer dispatches.
8809 Show the command name when it doesn't exist
8811 * minibuffer.C: don't add empty lines to the history
8813 * minibuffer.C: add a space on dropdown completion
8815 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8817 * text.C: fix line above/below drawing in insets
8819 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8821 * lyxlength.C (LyXLength): Initialize private variables.
8823 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8825 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8826 when inserting error insets.
8828 2001-12-13 Juergen Vigna <jug@sad.it>
8830 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8831 actually sometimes the before-paragraph.
8832 (setUndo): don't clear the redostack if we're not actually undoing!
8834 2001-12-06 Juergen Vigna <jug@sad.it>
8836 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8837 and fixed redoing of main paragraph, so we can use it now ;)
8839 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8841 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8843 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8846 2001-12-13 André Pönitz <poenitz@gmx.net>
8849 * undo_func.C: minor cleanup
8851 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8853 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8854 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8855 font in urw-fonts package which is marked as -urw-fontspecific and
8856 does not work (incidentally, changing the encoding in the
8857 fonts.dir of this package to -adobe-fontspecific fixes the
8860 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8861 is a crash when undoing first paragraph (Juergen, please take a
8862 look). THis does not mean the undo fix is wrong, just that it
8865 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8866 the (Paragraph*) version when needed instead of duplicating the
8869 * text.C (workWidth): use Inset::parOwner to find out where the
8870 inset has been inserted. This is a huge performance gain for large
8871 documents with lots of insets. If Inset::parOwner is not set, fall
8872 back on the brute force method
8874 * paragraph_pimpl.C (insertInset):
8875 * paragraph.C (Paragraph):
8876 (cutIntoMinibuffer): set parOwner of insets when
8877 inserting/removing them
8879 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8881 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8887 * mathed/formulabase.C:
8888 * mathed/math_cursor.[Ch]:
8889 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8892 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8894 * lyxlength.[Ch] (operator!=): new function
8896 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8898 * text.C (workWidth): use Inset::parOwner to find out where the
8899 inset has been inserted. This is a huge performance gain for large
8900 documents with lots of insets. If Inset::parOwner is not set, fall
8901 back on the brute force method
8903 * paragraph_pimpl.C (insertInset):
8904 * paragraph.C (Paragraph):
8905 (cutIntoMinibuffer): set parOwner of insets when
8906 inserting/removing them
8908 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8910 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8912 * tabular-old.C (getTokenValue):
8913 * tabular.C (getTokenValue):
8914 (write_attribute): new versions for LyXLength
8915 (everywhere): adjust the use of widths
8917 * tabular.h: change the type of widths from string to LyXLength
8919 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8921 * paragraph.C: fixed missing line number count when exporting
8922 Environments to LaTeX file
8924 * buffer.C: added informational message for checking line numbers.
8926 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8928 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8929 paragraph, do the 'double space' part, but not the 'empty
8932 * text.C (workWidth): small optimization
8933 (getLengthMarkerHeight): use minimal size for negative lengths.
8935 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8937 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8939 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8941 2001-12-11 André Pönitz <poenitz@gmx.net>
8944 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8946 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8948 * text2.C: keep selection on a setFont()
8950 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8952 * lyx_cb.C: another bv->text misuse, from insert label
8954 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8957 * kbsequence.C: re-instate nmodifier mask
8959 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8961 * lyx_main.h: make lyxGUI private.
8963 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8965 * lyxfind.C: place the cursor correctly on failed search
8967 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8969 * text.C (getLengthMarkerHeight): for small heights, the arrows
8970 are not always on top/bottom of the text
8971 (drawLengthMarker): smaller arrows; take the left margin in
8972 account; draw also vfills.
8974 (paintLastRow): remove special code for vfill and standard spaces,
8975 since everything is handled in drawLengthMarker now.
8977 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8979 * buffer.C (insertErtContents): try to handle font and language
8980 interaction a bit better.g
8982 * ColorHandler.C (updateColor): change the hash to cover the whole
8983 LColor enum, ws cleanup
8984 (getGCLinepars): ditto
8985 (getGCLinepars): only lookup in the linecache once.
8987 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8989 * iterators.C (operator++): Make the iterator more robust
8991 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8993 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8995 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8998 * text.C: better added space drawing
9000 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9003 * BufferView2.C: fix layout combo update on inset unlock
9005 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9007 * Makefile.am: don't compile unused files
9009 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9013 * LyXAction.C: remove old LFUN_LAYOUTNO
9015 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9017 * paragraph_pimpl.h:
9018 * paragraph_pimpl.C: isTextAt() doesn't need font param
9020 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9023 * lyxlex.C: little cleanup
9025 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9027 * BufferView_pimpl.C: fix insertAscii for insets
9029 2001-12-05 Juergen Vigna <jug@sad.it>
9031 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9032 set the right font on the "multi" paragraph paste!
9034 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9040 * lyxlength.C: remove out-commented code.
9056 * vc-backend.C: change "while(" to "while ("
9058 * lyxlength.[Ch]: add zero function to check if length is zero or
9060 * lyxgluelength.C: use it
9062 2001-12-05 Allan Rae <rae@lyx.org>
9064 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9065 Works for 2.95.3, from what I understand of Garst's reports this should
9066 work for other g++ versions. We're screwed if the abs(int) definition
9067 changed between bugfix releases of gcc.
9069 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9071 * text.C: fix chapter label offset !
9073 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9076 * text.C: fix hfill at end of line, clean up
9078 2001-12-04 Juergen Vigna <jug@sad.it>
9080 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9081 that we force an update of the inset and it's owners if neccessary.
9083 2001-12-03 Juergen Vigna <jug@sad.it>
9085 * text.C (rowLast): simplified code
9087 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9089 * lyxfunc.C: fix show options on timeout
9091 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9093 * screen.C (topCursorVisible): scroll half a page when the cursor
9094 reached top of bottom of screen
9096 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9098 * minibuffer.C: deactivate on loss of focus
9100 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9102 * vspace.[Ch] (operator!=): add operator.
9104 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9106 * BufferView_pimpl.C: refuse to open an inset when
9107 there's a selection.
9109 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9111 * BufferView_pimpl.C: allow to click on RHS of full row insets
9113 2001-11-30 Juergen Vigna <jug@sad.it>
9115 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9116 insets for undo reasons.
9118 2001-11-28 André Pönitz <poenitz@gmx.net>
9120 * vspace.[Ch]: cosmetical changes
9122 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9132 * kbsequence.C: part re-write of old kb code
9135 * WorkArea.C: remove Lgb_bug_find_hack
9137 2001-11-30 José Matos <jamatos@fep.up.pt>
9139 * buffer.C (makeDocBookFile): add a comment to point a hack.
9140 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9141 Fixed a double write of labels.
9143 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9146 * LaTeX.h Fixed bug in LaTeX class where it would not
9147 re-run latex if no depfiles were changed, but the .dvi was removed.
9149 2001-11-28 André Pönitz <poenitz@gmx.net>
9151 * all the files from the change on 2001/11/26:
9152 use lyx::layout_type instead of LyXTextClass::size_type
9153 use lyx::textclass_type instead of LyXTextClassList::size_type
9155 2001-11-29 Juergen Vigna <jug@sad.it>
9157 * text.C: added support for paragraph::isFreeSpacing()
9159 * buffer.C: same as above
9161 * paragraph.h: inserted isFreeSpacing() function to enable
9162 FreeSpacing inside InsetERT.
9164 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9165 of the paragraph's in the cut/copy buffer to 0!
9167 * text2.C (removeRow): remove the assert as it can!
9169 * lyxtext.h: added helper function firstRow returning firstrow and
9170 made firstrow private again.
9172 * BufferView2.C (lockInset): don't relock if we're already locked!
9174 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9176 (removeRow): added Assert::(firstrow)
9178 * debug.C: forgot to add INSETTEXT here.
9180 2001-11-28 Juergen Vigna <jug@sad.it>
9182 * sp_spell.C (initialize): changed error text to more general
9183 spellchecker command use (not only ispell!)
9185 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9187 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9189 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9191 * vspace.C: initialise lyxgluelength on failure
9193 2001-11-28 Allan Rae <rae@lyx.org>
9195 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9196 declaration & definition that looks like a function declaration.
9198 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9200 * BufferView2.C (copy):
9201 (copyEnvironment): do not clear the selection when doing a copy.
9203 * text.C (paintFirstRow): compilation fix
9205 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9207 * tabular.C (Latex): correct line count when writing latex.
9209 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9211 * paragraph_pimpl.h:
9212 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9215 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9219 * LColor.C: change vfillline->added_space
9221 * text.C: add markers and text for added space
9223 * vspace.C: fix comment
9225 2001-11-28 André Pönitz <poenitz@gmx.net>
9227 * paragraph.C: whitespace changes
9228 * all the other files from the change on 2001/11/26:
9229 change *::pos_type into lyx::pos_type
9231 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9233 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9234 language of the document when inserting error insets.
9236 2001-11-26 André Pönitz <poenitz@gmx.net>
9238 * BufferView_pimpl.[Ch]:
9246 * paragraph_pimpl.[Ch]:
9249 * text2.C: reduce header dependencies, introduce type for positions
9251 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9253 * <various>: change to use Alert.h
9255 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9257 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9258 when encountering an unknown token.
9259 (readLyXformat2): Show an error message if there were unknown tokens.
9261 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9264 * BufferView_pimpl.C:
9268 * text2.C: use par->isInset()
9270 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9272 * paragraph_pimpl.h:
9273 * paragraph_pimpl.C: cleanup
9275 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9277 * text2.C (removeRow):
9278 * text.C (setHeightOfRow): remove useless (and costly) call to
9281 2001-11-20 Allan Rae <rae@lyx.org>
9283 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9284 Now need Inset*::checkInsertChar() to return true for appropriate
9285 cases so that the characters in the minibuffer will actually be
9288 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9290 * text.C: change the order of the includes.
9291 (workWidth): initialize it at once.
9292 (workWidth): make maxw unsigned
9293 (setHeightOfRow): remove unused variable (inset)
9294 (selectSelectedWord): remove unused variable (inset)
9295 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9297 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9299 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9300 server is not running.
9302 (closeConnection): add debug info when server is disabled.
9304 * ColorHandler.C (getGCForeground): send debug message to GUI
9307 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9309 * kbmap.C (bind): modify because return conventions of
9310 kb_sequence::parse have changed.
9312 * kbsequence.C (parse): only ignore spaces and not any stupid
9313 control character. This avoids tests like s[i] <= ' ', which are
9314 guaranteed to fail with 8bit characters and signed chars.
9315 Change return code to string::npos when there have been no error
9316 (0 was a bad idea when error is at first character)
9318 2001-11-14 José Matos <jamatos@fep.up.pt>
9321 * buffer.C (simpleDocBookOnePar): removed unused argument.
9323 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9325 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9326 insets which are part of a word. Paragraph::isLetter takes care of
9327 that now. Use Paragraph::isInset to identify insets.
9328 (selectSelectedWord): do not test for hyphenation break.
9330 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9331 that protected spaces are considered as spaces.
9333 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9336 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9339 * lyxserver.C: fix it. and small cleanup.
9341 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9343 * BufferView_pimpl.C: use inline helpers
9346 * LaTeXFeatures.C: fix typos
9349 * Spacing.C: move spacing_string into class
9351 * ToolbarDefaults.C: move stuff into namespace anon
9353 * layout.h: update enum
9355 * lyxfunc.C: use better debug
9357 * minibuffer.h: fix typo
9361 * WorkArea.C: add and use Debug::WORKAREA
9365 * text2.C: code re-organisation, inline helpers
9367 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9369 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9370 std::vector.empty().
9372 2001-11-09 Allan Rae <rae@lyx.org>
9374 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9375 '\n's after tables. Tabular and ERT inset work now makes this no
9378 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9381 * minibuffer.C: fix crash, improve drop-down completion
9383 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9386 * lyxserver.C: invalidate fd's when doing endPipe()
9388 2001-11-08 José Matos <jamatos@fep.up.pt>
9390 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9391 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9394 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9396 2001-11-07 José Matos <jamatos@fep.up.pt>
9399 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9402 * buffer.C (sgmlOpenTag):
9403 * buffer.C (sgmlCloseTag): removed debug info.
9405 * buffer.h (sgmlOpenTag):
9406 * buffer.h (sgmlCloseTag): made public.
9408 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9410 * buffer.C (saveParamsAsDefaults):
9411 * lyx_cb.C (MenuLayoutSave): remove
9413 * LyXAction.C (init):
9415 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9417 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9419 * buffer.C (setPaperStuff): removed from here...
9421 * bufferparams.C (setPaperStuff): ... and moved there.
9423 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9427 * XFormsView.C: add support for drop-down completion
9429 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9431 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9434 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9436 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9439 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9441 * lyx_main.C: change ref to known bugs
9443 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9445 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9446 to work around older babel problems.
9448 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9450 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9452 2001-10-24 Juergen Vigna <jug@sad.it>
9454 * tabular-old.C (ReadOld): below variable changes reflected.
9456 * tabular.[Ch]: added ltType struct for longtable header/footer
9457 defines and changed all instances where they are used. Added
9458 future support for double top/bottom rows.
9460 2001-10-24 José Matos <jamatos@fep.up.pt>
9462 * buffer.h (docbookHandleCaption):
9463 * buffer.C (docbookHandleCaption): removed unused function.
9464 (makeDocBookFile): moved docbook supported version to v4.1.
9466 2001-10-24 José Matos <jamatos@fep.up.pt>
9469 * tabular.C (docbookRow): new function to export docbook code of a row.
9470 (DocBook): now honors the longtable flags.
9472 2001-10-23 José Matos <jamatos@fep.up.pt>
9475 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9476 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9478 * buffer.C (makeLinuxDocFile):
9479 (makeDocBookFile): reworked the preamble, more clean, and with
9480 support for lyx defined entities. Changed the document declaration
9481 to be more XML friendly.
9483 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9484 if we need to output XML that should be done with a filter.
9486 2001-10-22 Juergen Vigna <jug@sad.it>
9488 * sp_pspell.h (class PSpell): add alive function needed in the
9489 controller to see if the spellchecker could be started.
9491 2001-10-22 Juergen Vigna <jug@sad.it>
9493 * buffer.C (insertStringAsLines): modify the font for inserting
9494 chars in certain conditions by calling checkInsertChar(font).
9496 2001-10-19 Juergen Vigna <jug@sad.it>
9498 * text.C (workWidth): use getRow instead of wrong algorithm.
9499 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9501 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9506 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9508 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9510 * text.C (workWidth): do not search for the exact row when
9511 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9512 optimization for big documents.
9514 2001-10-18 Juergen Vigna <jug@sad.it>
9516 * text.C (workWidth): new function with added Inset * parameter.
9518 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9520 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9522 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9523 change return type of getColumnNearX.
9526 * text.C (changeRegionCase): use uppercase/lowercase instead of
9529 (rightMargin): simplify code by factoring out the uses of
9534 (appendParagraph): use Paragraph::size_type
9536 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9538 * vspace.C (asLatexString): add a missing break
9540 2001-10-15 Herbert Voss <voss@perce.de>
9542 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9544 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9546 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9549 2001-10-10 André Pönitz <poenitz@gmx.net>
9551 * lyxfunc.C: removed greek_kb_flag.
9553 2001-10-10 Herbert Voss <voss@perce.de>
9555 * lyx_main.C: delete global string help_lyxdir.
9557 2001-10-09 Herbert Voss <voss@perce.de>
9559 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9561 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9563 * lyx_main.C: added global string help_lyxdir.
9565 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9567 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9569 * lyxrc.C (set_font_norm_type): support iso8859-4
9571 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9573 * LaTeX.C (deplog): add another regex for MikTeX
9575 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9577 * lyxrc.C (set_font_norm_type): support iso8859-3
9579 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9581 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9583 * LaTeXFeatures.C: remove special case of french and index
9585 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9586 before \begin{document}). This solves several incompatibilities.
9588 2001-10-03 Garst Reese <reese@isn.net>
9590 * lyx_cb.C: change CheckTex error msg.
9592 2001-10-03 José Matos <jamatos@fep.up.pt>
9594 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9596 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9598 * .cvsignore: update
9600 * lyx_main.C (commandLineVersionInfo): use new style version info.
9602 * buffer.C (writeFile):
9605 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9607 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9609 * version.h: update to use stuff in version.C
9611 * version.C.in: new file. Contains version information determined
9612 at compile time. This is a merging of version.h and
9615 2001-10-03 Juergen Vigna <jug@sad.it>
9617 * BufferView_pimpl.C (update): don't change "dirty" status in
9620 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9622 * WorkArea.C (c-tor): re-position version string slightly.
9624 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9626 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9627 revert to previous code.
9629 WorkArea.[Ch]: (show, destroySplash): methods removed.
9631 WorkArea.C: rework code so that it's an amalgam of the codes before and
9632 after the splash screen was moved to WorkArea.
9634 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9637 * vspace.C (inPixels):
9640 * buffer.C (insertStringAsLines):
9641 (asciiParagraph): fix types to be large enough
9643 * lyxlex_pimpl.h: change member status from short to int
9645 * layout.h: fix type of endlabeltype
9648 * kbsequence.C (parse): change return type to string::size_type
9650 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9653 * Bullet.C (bulletSize):
9654 (bulletEntry): do not use short ints as parameters
9656 * BufferView2.C (insertLyXFile): change a char to an int.
9658 * WorkArea.C (WorkArea): remove unneeded floats in computation
9660 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9662 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9664 * paragraph.C (asString): Do not ignore newline/hfill chars when
9665 copying to the clipboard.
9667 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9669 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9670 after a multi-line inset.
9672 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9674 * paragraph.C (validate): Set NeedLyXFootnoteCode
9676 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9678 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9679 and decrease-error to decrease.
9681 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9683 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9684 it more readable (should be equivalent)
9686 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9688 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9690 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9692 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9693 of a cursor (row, etc.) after a character has been deleted
9694 (deleteEmptyParagraphMechanism): call the method above on _all_
9695 cursors held by the LyXText when a double space has been
9698 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9700 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9702 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9704 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9705 background. Use greyOut() and the new show() methods to toggle between
9706 the foreground and background. Add code to remove the splash after
9707 its initial showing.
9709 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9710 (create_forms): no longer call Dialogs::showSplash.
9712 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9714 * .cvsignore: add version_info.h
9716 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9718 * version_info.h.in: new file
9720 * Makefile.am: add version_info.h.in
9722 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9723 version_info.h instead of VERSION_INFO
9725 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9727 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9728 The ERT inset now returns string().
9730 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9732 * lyxtext.h, text.C (selectNextWord): renamed as
9733 selectNextWordToSpellcheck.
9735 * text.C (selectNextWordToSpellcheck): Modified to not select
9736 words inside an ERT inset.
9738 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9740 * lyx_cb.C (MenuLayoutSave): change a bit the question
9742 * sp_base.h: include <sys/types.h>
9744 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9746 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9748 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9750 * several files: fix typos in user-visible strings
9752 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9754 * text2.C (pasteSelection): do not set the selection, since it
9755 will be cleared later. Actually, the intent was to fix the way the
9756 selection was set, but I figured rmoving the code was just as good.
9758 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9760 * FontLoader.C (available): Check if font is available without
9763 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9765 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9767 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9769 * lyxrc.[Ch]: added display_graphics variable and associated code.
9771 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9773 * bufferparams.C (hasClassDefaults): new method. Returns true if
9774 the buffer parameters correspond to known class defaults
9776 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9778 * XFormsView.C (show): set minimum size to the main window.
9780 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9782 * text2.C (copySelection):
9784 * lyxfind.C (LyXReplace):
9785 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9786 LyXText::selectionAsString.
9788 * paragraph.C (asString): add "label" argument to the second form
9790 * text2.C (selectionAsString): add "label" argument and pass it to
9791 Paragraph::asString.
9793 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9795 * lyx_main.C (commandLineHelp): remove version information
9797 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9799 * lyx_main.C: add -version commandline option
9801 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9803 * paragraph.h: make the optional constructor arg required instead.
9804 some modifications to other files because of this.
9806 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9808 * lyxserver.C (C_LyXComm_callback): make it static
9810 * lyx_main.C (error_handler): make it static
9812 * lyx_gui.C (LyX_XErrHandler): make it static
9814 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9816 * WorkArea.C: make the extern "C" methods static.
9818 * Makefile.am (lyx_LDADD): simplify
9820 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9822 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9823 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9825 * LyXAction.C (init):
9826 * lyxfunc.C (dispatch): associated code removal.
9828 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9830 * lyxfont.h (isSymbolFont): shut off warning
9832 * text.C (setHeightOfRow):
9833 (getVisibleRow): fix crash with empty paragraphs which have a
9836 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9838 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9841 2001-09-04 José Matos <jamatos@fep.up.pt>
9844 * tabular.C (docbook): rename docBook method to docbook.
9846 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9848 * Makefile.am: add dependencies to main.o.
9850 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9852 * FontLoader.C (available): Return false if !lyxrc.use_gui
9854 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9856 * FontInfo.C (query):
9857 * converter.C (view):
9858 * importer.C (Import):
9859 * exporter.C (Export): Can not -> cannot.
9861 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9863 * BufferView_pimpl.C: allow to create index inset even if
9866 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9868 * buffer.C (getLists): replace boost::tie code with an explicit pair
9869 as boost::tie can break some compilers.
9871 * iterators.h: Added a std:: declaration to the return type of
9874 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9876 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9879 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9881 * iterators.[Ch]: New files. Provide paragraph iterators.
9883 * buffer.C (changeLanguage): Use paragraph iterators.
9884 (isMultiLingual): ditto
9886 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9888 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9890 * FontLoader.C: Support for cmr font.
9892 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9894 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9895 (available): New method.
9897 * FontInfo.C (getFontname): Use scalable fonts even when
9898 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9901 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9903 * converter.C (Formats::view): reverted! Incorrect fix.
9905 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9907 * converter.C (Formats::view): only output the -paper option
9908 if the dvi viewer is xdvi, thereby fixing bug #233429.
9910 2001-08-23 Herbert Voss <voss@perce>
9912 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9914 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9916 * Spacing.h (Spacing): Set space to Default on in the default
9919 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9921 * vc-backend.h (RCS::versionString): add RCS to version
9922 (CVS::versionString): add CVS to version
9924 * vc-backend.C (scanMaster): do not add CVS to version.
9925 (scanMaster): do not add RCS to version
9927 * lyxvc.C (versionString): new method
9929 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9931 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9933 * Spacing.C (set): initialize fval
9935 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9937 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9940 2001-08-16 Juergen Vigna <jug@sad.it>
9942 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9944 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9946 * BufferView_pimpl.C:
9949 * text2.C: setParagraph takes linespacing now
9951 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9953 * LyxAction.C: add internal LFUN_CITATION_INSERT
9955 * LyXView.C: actually apply fix
9957 * bufferlist.C: fix open non-existent file
9959 * lyxfind.C: fix indentation
9961 * lyxfunc.C: remove unneeded assert, fix typo
9963 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9965 * MenuBackend.C: use "Floatname List"
9967 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9969 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9970 when converting LaTeX layout to insetERT.
9971 Generate a non-collapsed float when reading old float
9973 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9975 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9978 2001-08-13 Juergen Vigna <jug@sad.it>
9980 * text.C (fill): return 0 instead of 20 as this seems to be the more
9983 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9985 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9988 2001-08-13 Juergen Vigna <jug@sad.it>
9990 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9992 (SearchBackward): comment out the unlocking of the inset_owner this
9993 should not be needed!
9995 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9997 * Many files: Remove inherit_language, and add latex_language
9999 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10000 collapsible insets.
10002 2001-08-10 Juergen Vigna <jug@sad.it>
10004 * text.C (prepareToPrint): fixed hfill-width in draw!
10006 * BufferView2.C (selectLastWord): save the selection cursor as this
10007 now is cleared in the function LyXText::clearSelection!
10009 2001-08-08 Juergen Vigna <jug@sad.it>
10011 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10012 BACKSPACE type functions.
10014 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10015 is only cutted from the document but not put in the cut-buffer, where
10016 still the old stuff should be.
10018 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10020 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10022 * tabular.C (SetWidthOfCell): fixed special case where the width
10024 (LeftLine): handle '|' in align_special.
10026 (LeftAlreadyDrawed): ditto
10027 (SetWidthOfCell): ditto
10029 2001-08-07 Juergen Vigna <jug@sad.it>
10031 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10033 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10035 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10036 * lyxlex.[hC]: ditto
10038 2001-08-06 Juergen Vigna <jug@sad.it>
10040 * text.C (getVisibleRow): fix up row clearing a bit.
10042 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10044 * minibuffer.C: make sure the X server sees the changes in the input.
10046 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10048 * paragraph.C (getFont): split into...
10049 (getLabelFont): this
10050 (getLayoutFont): and this
10051 * paragraph_pimpl.C (realizeFont): calling this
10053 * text2.C (getFont): split into...
10054 (getLayoutFont): this
10055 (getLabelFont): and this
10056 (realizeFont): all three calling this
10058 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10061 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10063 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10065 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10067 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10068 layouts from the Quote inset insertion.
10070 2001-08-03 Juergen Vigna <jug@sad.it>
10072 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10074 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10075 only if status not is already CHANGED_IN_DRAW (second level).
10077 * text.C (draw): don't set the need_break_row when inside an
10080 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10082 * buffer.C (parseSingleLyXformat2Token): handle more latex
10085 * bufferview_funcs.[hC]: change function names to
10086 begin with small char, adjust other files.
10088 2001-08-02 André Pönitz <poenitz@gmx.net>
10091 BufferView_pimpl.C: remove broken special code for math-greek
10093 2001-08-02 Juergen Vigna <jug@sad.it>
10095 * BufferView_pimpl.C (update): redone this function so that we
10096 update the text again if there was a CHANGE_IN_DRAW.
10098 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10099 (drawFromTo): added a new internal bool which is used by draw() and
10101 (general): some cursor drawing problems fixed.
10103 2001-08-01 Juergen Vigna <jug@sad.it>
10105 * lyxfind.C (LyXFind): fixed
10106 (SearchForward): ditto
10107 (SearchBackward): ditto
10109 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10110 spurius drawing of the cursor in the main area.
10112 * text2.C (status): small fix which could lead to a segfault!
10113 (clearSelection): remove unneeded BufferView param.
10115 2001-08-01 André Pönitz <poenitz@gmx.net>
10117 * lyxfunc.C: small change due to changed mathed interface
10119 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10121 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10123 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10125 * lyxfunc.c: fail gracefully if file doesn't exist
10130 * BufferView_pimpl.C: IsDirWriteable() proto changed
10132 * LyXView.C: fix updateWindowTitle() to store the last title
10134 2001-07-31 Juergen Vigna <jug@sad.it>
10136 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10137 the font (wrong since using of Paragraph::highestFontInRange).
10139 * paragraph.C (highestFontInRange): added a default_size parameter.
10141 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10142 (setHeightOfRow): reformat
10144 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10146 * converter.[hC] + affected files: move to (inital-char)lowercase
10149 * ParagraphParameters.C (ParagraphParameters): remove commented code
10151 * PainterBase.[Ch]: remove commented code
10153 * LaTeXFeatures.h: add "bool floats" for float.sty
10155 * LaTeXFeatures.C (LaTeXFeatures): init floats
10156 (require): handle float
10157 (getPackages): do it with floats
10159 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10161 * BufferView_pimpl.C (Dispatch): improve handling of
10162 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10164 * commandtags.h: #include lyxfont.h here temporarily to avoid
10167 * bufferlist.h: include LString.h here.
10169 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10171 * text2.C (getStringToIndex): new method.
10173 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10175 * *: Reduced header file dependencies all over.
10177 2001-07-30 Baruch Even <baruch@lyx.org>
10179 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10181 2001-07-29 Baruch Even <baruch@lyx.org>
10183 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10185 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10187 * ParameterStruct.h (endif): add a default constructor to make
10188 sure that all variables is initialized.
10190 * ParagraphParameters.C (ParagraphParameters): adjust
10192 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10194 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10195 index; also, check that there is something to index, and that it
10196 does not span over several paragraphs.
10197 (doubleClick): use WHOLE_WORD_STRICT for double click.
10199 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10201 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10204 2001-07-26 Baruch Even <baruch@lyx.org>
10206 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10207 an InsetFig figure, backwards compatible reading of old figure code.
10209 2001-07-27 Juergen Vigna <jug@sad.it>
10211 * text2.C: font.realize function adaption.
10213 * text.C (draw): add a warnings lyxerr text if needed.
10215 * layout.C: font.realize function adaption.
10217 * language.C: add inherit_language and implement it's handlings
10219 * bufferview_funcs.C (StyleReset): remove language parameter from
10220 font creation (should be language_inherit now).
10222 * bufferparams.C (writeFile): handle ignore_language.
10224 * paragraph.C (getFontSettings): the language has to be resolved
10225 otherwise we have problems in LyXFont!
10227 * lyxfont.C (lyxWriteChanges): added document_language parameter
10228 (update): removed unneeded language parameter
10230 * paragraph.C (validate): fixed wrong output of color-package when
10231 using interface colors for certain fonts in certain environments,
10232 which should not seen as that on the final output.
10234 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10236 * BufferView_pimpl.C:
10241 * LyXAction.C: add thesaurus support
10244 * lyxfind.C: add "once" parameter, for thesaurus, to not
10245 move to the next match
10247 2001-07-26 Juergen Vigna <jug@sad.it>
10249 * lyxfont.C (realize): honor ignore_language too!
10252 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10254 * text.C (draw): one place more for ignore_language to not draw
10257 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10259 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10261 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10263 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10264 the minipage conversion problem.
10266 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10268 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10271 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10273 * BufferView.h: don't forward declare WorkArea
10275 * BufferView.C: don't include WorkArea.h
10277 2001-07-25 André Pönitz <poenitz@gmx.net>
10281 * lyxfunc.C: new LFUN 'math-space'
10283 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10285 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10287 * text2.C (toggleInset): call open/close
10289 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10291 * lyxfunc.C (dispatch): add debug for the disabled case
10293 * font.C (buttonText): make similar to rectText
10295 * buffer.C (readInset): comment out parsing of insetlist and
10298 * PainterBase.C (rectText): small correction
10300 * BufferView_pimpl.C: comment out insettheorem and insetlist
10301 * LyXAction.C: ditto
10302 * commandtags.h: ditto
10304 2001-07-24 Juergen Vigna <jug@sad.it>
10306 * text.C (draw): honor the ignore_language.
10308 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10310 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10312 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10315 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10317 * lyxtext.h: remove unused (and unimplemented) methods
10319 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10321 * text.C (getVisibleRow): honor background color
10324 * Painter.h: remove default color argument for fillRectangle
10326 * text.C (backgroundColor): new method
10328 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10330 * text.C (getVisibleRow): adjust
10332 * font.[Ch] (rectText): new method, metrics
10333 (buttonText): new method, metrics
10335 * PainterBase.[hC]: make rectText and buttonText always draw and take
10338 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10340 * ToolbarDefaults.C (read):
10341 * MenuBackend.C (read): allow escaping in all strings
10343 * BufferView_pimpl.C (insertAndEditInset): new method.
10344 (Dispatch): use insertAndEditInset whenever appropriate.
10346 * BufferView_pimpl.C (insertNote): removed
10348 * BufferView_pimpl.C (smartQuote): new method, moved from
10349 BufferView; if an insetquote cannot be inserted, insert a '"'
10352 * BufferView2.C: remove insertCorrectQuote();
10354 * lyxfunc.C (getStatus): Add support for all remaingin
10355 inset-insert lfuns.
10357 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10359 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10360 command (necessary to pass " as parameter of self-insert.
10362 * text.C (selectWordWhenUnderCursor):
10363 (selectWord): add word_location parameter
10364 (selectWordWhenUnderCursor): same + remove special code for word
10366 (selectNextWord): use kind() to guess type of insetspecialchar,
10369 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10370 (insertErtContents): create ert insets as collapsed.
10371 (readInset): better compatibility code for Info inset.
10373 2001-07-20 Juergen Vigna <jug@sad.it>
10375 * lyxfunc.C (dispatch): use always LyXFind now!
10377 * text2.C (init): add a reinit flag so that the LyXText can be
10378 reinited instead of deleted and reallocated (used in InsetText).
10380 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10386 2001-07-18 Juergen Vigna <jug@sad.it>
10388 * text.C (selectNextWord): handle insets inside inset by calling
10389 always the bv->text functions so that we can go up the_locking_inset!
10391 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10392 in strange locations when inside an inset!
10394 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10395 handling to include insets.
10397 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10399 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10401 * LyXAction.C (init):
10403 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10404 LIGATURE_BREAK, since the name is so stupid.
10406 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10408 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10411 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10413 * sp_form.[Ch]: remove.
10415 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10417 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10420 * src/buffer.C (readInset): ditto.
10422 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10424 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10425 menuSeparator(), endOfSentenceDot(), ldots() and
10426 hyphenationPoint(), which are therefore removed.
10427 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10429 * LyXAction.C (init):
10430 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10432 * paragraph.C (getWord): removed.
10434 * BufferView_pimpl.C (Dispatch): use last word or selection for
10435 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10437 * lyx_main.C (queryUserLyXDir): do not ask before creating
10438 user_dir, except if it has been named explicitely.
10440 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10442 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10443 a document of zero size.
10445 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10447 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10448 approriately in the c-tor and in require().
10449 (getPackages): output the appropriate LaTeX for natbib support.
10451 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10452 variables "use_natbib" and "use_numerical_citations" when reading the
10454 (readInset): read the various natbib cite commands.
10455 (validate): white-space change.
10457 * bufferparams.[Ch]: new variables "bool use_natbib" and
10458 "bool use_numerical_citations".
10459 (writeFile): output them in the LyX file.
10461 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10463 * lyxfunc.C (getStatus): add support for all the inset insertion
10466 * text2.C (insertInset):
10467 * paragraph.C (insetAllowed):
10468 * BufferView_pimpl.C (insertInset): update to take in account the
10469 renaming of insertInsetAllowed
10471 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10473 * text2.C (getInset): new method. returns inset at cursor position.
10475 * BufferView_pimpl.C (Dispatch): changes because of this.
10477 * LyXAction.C (init): rename open-stuff to inset-toggle.
10479 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10481 * text2.C (toggleInset): renamed from openStuff; use
10484 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10486 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10488 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10490 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10492 * buffer.C (readLyXformat2): Add filename to the error dialog
10494 2001-07-18 Juergen Vigna <jug@sad.it>
10496 * tabular.C (GetCellNumber): put an assert here instead of the check!
10498 2001-07-17 Juergen Vigna <jug@sad.it>
10500 * BufferView_pimpl.C (toggleSelection): adapted too.
10502 * text.C (selectNextWord): adapted for use with insets.
10503 (selectSelectedWord): ditto
10505 2001-07-17 Juergen Vigna <jug@sad.it>
10507 * sp_spell.C (PSpell): fix initialitation order.
10509 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10511 * paragraph.C: spacing
10513 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10515 * sp_spell.C: repair language selection for pspell
10517 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10519 * lyxfunc.h: change more methods to begin with lower char.
10521 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10523 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10524 for unknown layouts.
10526 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10528 * buffer.C (readLyXformat2): Generate an error dialog if there are
10531 2001-07-16 Juergen Vigna <jug@sad.it>
10533 * sp_spell.C: always compile ISpell part.
10535 * lyxrc.C: added use_pspell entry and it's handling.
10537 2001-07-13 Juergen Vigna <jug@sad.it>
10539 * sp_spell.C: removed double includes.
10541 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10543 Consistent use of Lsstream.h:
10544 * Lsstream.h: added using std::stringstream for consistencies sake.
10546 * buffer.C: removed using std::stringstream
10548 * lyxfont.C (stateText):
10549 * paragraph.C (asString):
10550 * text.C (selectNextWord, selectSelectedWord):
10551 * text2.C (setCounter):
10552 * vspace.C (asString, asLatexString):
10553 std::ostringstream -> ostringstream.
10555 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10557 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10558 * commandtags.h: add LFUN_HELP_ABOUTLYX
10559 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10561 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10563 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10565 * lyx_gui_misc.C: remove spellchecker
10566 * lyxfunc.C: showSpellchecker
10568 * sp_ispell.h: added
10569 * sp_pspell.h: added
10570 * sp_spell.C: added
10571 * sp_form.[Ch]: removed
10572 * spellchecker.[Ch]: removed
10574 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10576 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10578 (simpleTeXSpecialChars): Simply print the input character without
10579 any special translation if pass_thru is set.
10581 * layout.h: Added bool pass_thru to layout class for being able to
10582 implement pass through of a paragraph for Literate Programming.
10584 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10585 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10586 * layout.C (Read): add "passthru" to list of layout tags and add
10587 code to set the pass_thru boolean when it is read.
10589 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10591 * trans_decl.h: remove allowed from KmodInfo
10593 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10594 remove allowed code
10597 * paragraph_pimpl.C (erase): use boost::prior
10599 * Painter.C (text): use data() instead of c_str() when length is
10601 * WorkArea.C (putClipboard): ditto
10602 * font.h (width): ditto
10604 * BufferView2.C: use it-> instead of (*it). for iterators
10606 * paragraph_pimpl.C: ditto
10607 * paragraph.C: ditto
10608 * minibuffer.C: ditto
10609 * language.C: ditto
10611 * encoding.C: ditto
10612 * counters.C: ditto
10613 * converter.C: ditto
10615 * Variables.C: ditto
10616 * TextCache.C: ditto
10617 * MenuBackend.C: ditto
10618 * LyXAction.C: ditto
10620 * FloatList.C: ditto
10621 * DepTable.C: ditto
10622 * ColorHandler.C (LyXColorHandler): ditto
10624 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10626 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10628 * text2.C (openStuff): reintroduce this method (which had been
10629 nuked in NEW_INSETS frenzy).
10631 * lyxfunc.C (Dispatch): when an action has not been handled, use
10632 its name in the error message, not its number.
10634 * paragraph.C (inInset): change method name to begin with lowercase.
10637 * text2.C: updates because of this.
10639 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10641 * ToolbarDefaults.C (add): add spaces in error message
10643 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10645 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10646 (readLyXformat2): rename return_par to first_par, use lyxlex's
10647 pushToken and remove the manual push handling.
10648 (parseSingleLyXformat2Token): add another ert comp. variable:
10649 in_tabular, rename return_par to first_par. handle newlines better
10651 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10653 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10655 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10657 * text2.C (getParFromID): removed
10659 * buffer.C (getParFromID): new method moved form lyxtext.
10660 * BufferView2.C (insertErrors): adjust
10661 (setCursorFromRow): adjust
10662 * BufferView_pimpl.C (restorePosition): adjust
10663 * lyxfunc.C (Dispatch): adjust
10664 * undo_funcs.C (textUndo): adjust
10666 (textHandleUndo): adjust
10667 (textHandleUndo): adjust
10669 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10671 * buffer.C: up' the LYX_FORMAT
10673 * lyxfont.h: turn NO_LATEX on as default
10675 * buffer.C (insertErtContents): new methods of tex style compability.
10676 (parseSingleLyXformat2Token): use it several places.
10677 * tabular.C (OldFormatRead): and here
10679 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10681 * text2.C: remove some commented code.
10684 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10685 * trans.C: changes because of the above.
10687 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10689 * text2.C (setCounter): Fix counters bug with bibliography layout.
10691 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10693 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10694 own member functions
10695 (simpleTeXSpecialChars): ditto
10697 2001-07-06 Juergen Vigna <jug@sad.it>
10699 * a lot of files: changed the access to LyXText::status and the
10700 call of undo-functions.
10702 * undo.[Ch]: added a inset_id to the undo informations.
10704 * undo_funcs.[Ch]: added and moved here all undo functions.
10706 * lyxtext.h: give the status enum a weight, made status_ a private
10707 variable and made accessor functions for it, removed the whole bunch
10708 of undo-functions as they are now in their own file, make some
10709 functions publically available. Added function ownerParagraph with
10712 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10713 made InInset() a const function, added getParFromID() function.
10715 * buffer.[Ch]: added const version for inset_iterator functions,
10716 added getInsetFromID() function.
10718 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10719 changed undo functions for new version.
10721 2001-07-05 Juergen Vigna <jug@sad.it>
10723 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10724 unknow mechanism does not call the proper constructor but only this
10725 one also if I request the other!?
10727 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10729 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10731 * text2.C (LyXText): use initialization lists.
10733 * lyxtext.h (Selection): initialize set_ and mark_
10734 (init): remove method
10736 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10738 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10740 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10742 * screen.[Ch]: change method names to begin with lowercase
10744 * BufferView_pimpl.C (updateScrollbar): simplify further and
10745 hopefully make it a bit faster.
10747 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10749 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10750 calling directly xforms functions.
10752 * Painter.C (Painter):
10753 * lyx_cb.C (MenuWrite):
10754 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10757 * lyx_gui.C: remove bogus guiruntime extern declaration.
10759 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10761 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10763 (redoDrawingOfParagraph): ditto
10764 (redoParagraphs): ditto
10765 (cutSelection): don't create a object for CutAndPaste use the
10766 static method directly
10767 (pasteSelection): ditto
10769 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10772 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10774 * modifications to some other files because of this.
10776 * Makefile.am (lyx_SOURCES): add XFormsView
10778 * XFormsView.[Ch]: new files
10780 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10781 the main window. Move the gui dependent stuff to XFormsView
10783 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10785 * tabular.C (GetCellInset): update cur_cell also in the row/col
10786 version of this function.
10788 * lyxfunc.C: no need to include figure_form.h here.
10794 * lyxvc.C: no need to include forms.h here.
10796 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10798 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10800 * lyxfunc.C (Dispatch):
10802 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10803 constructor argument.
10805 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10807 * paragraph.C (Paragraph): dont't clear, and just set layout.
10808 (makeSameLayout): use params's copy contructor.
10810 * ParagraphParameters.[Ch] (makeSame): delete method
10812 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10814 * Variables.[Ch]: fix indentation, rename set to isSet
10816 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10818 * lyxfunc.C (Dispatch): fix typo
10820 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10822 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10825 * bufferlist.C: include assert.h for emergencyWrite().
10827 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10829 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10830 give up at last (bug #425202) !
10832 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10838 * spellchecker.C: strip spellchecker options and bring up
10839 preferences tab instead
10841 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10843 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10844 the istringstream constructor
10846 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10848 * paragraph.C (getLayout): fix return value
10850 * paragraph.h: do not declare getLayout as inline.
10852 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10854 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10856 * lyxcursor.h (operator<): new func
10857 (operator>): new func
10858 (operator>=): new func
10859 (operator<=): new func
10861 * text.C (changeCase): use selection.start and selection.end
10862 (changeRegionCase): require from to be <= to. Require par to be a
10865 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10867 2001-06-27 Juergen Vigna <jug@sad.it>
10869 * text.C (cursorLeftOneWord): changed to return the cursor and added
10870 overlay with BufferView * parameter which calls this one.
10872 (selectWord): use new getWord function.
10873 (changeCase): renamed from changeWordCase as and extended to work
10874 also on selections.
10876 * lyxtext.h: added enum word_location
10878 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10879 changeCase as this operates now also on selections.
10881 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10883 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10885 * many files: send debug output to Debug::INFO instead of
10888 * converter.C (View):
10890 (Move): send debug output to Debug::FILES instead of console.
10892 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10894 * lyxfunc.C (getStatus): use func_status
10896 * func_status.h: new header, describing the results of
10897 LyXFunc::getStatus;
10899 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10902 2001-06-25 The LyX Project <jug@sad.it>
10904 * buffer.C (sgmlOpenTag):
10906 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10908 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10910 * text2.C: remove some dead code
10912 * tabular.C (GetCellInset): store the last cell checked (gotten)
10914 * tabular.h: add the helper for the speedup
10916 * lyxtext.h: remove some dead code
10918 2001-06-26 The LyX Project <Asger>
10920 * paragraph.C: Change export to LaTeX of alignment to
10921 \begin{center} and family for better roundtrip work with reLyX.
10923 * Tune the math drawing a bit.
10925 2001-06-25 The LyX Project <Asger>
10927 * LColor.C (LColor): New color for math background. New color
10930 2001-06-25 The LyX Project <jug@sad.it>
10932 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10934 * lyxfunc.C (Open):
10935 * bufferlist.C (newFile): do not restrict to files ending with
10938 * BufferView_pimpl.C (MenuInsertLyXFile):
10940 2001-06-24 The LyX Project <jug@sad.it>
10942 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10945 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10947 * lyxtext.h: rename most methods to begin with a small char.
10948 Lots of changes because of this.
10950 * paragraph.C (Paragraph): do not call fitToSize
10951 (erase): call Pimpl::erase
10952 (insertChar): call Pimpl::insertChar
10953 (insertInset): call Pipl::insertInset
10954 (breakParagraph): do not call fitToSize
10955 (breakParagraphConservative): do not call fitToSize
10956 (fitToSize): remove method
10958 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10960 2001-06-24 The LyX Project <Asger>
10962 * Fix Qt compilation^2
10964 2001-06-24 The LyX Project <jug@sad.it>
10966 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10967 depthHook(getDepth()-1).
10970 * ParagraphParameters.h:
10971 * ParameterStruct.h: change type of depth to unsigned int ==
10972 depth_type. Many adaptations to other files before of that.
10974 2001-06-24 The LyX Project <Asger>
10976 * Fix Qt compilation.
10978 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10980 * paragraph.h: renamed several methods to begin with small letter.
10981 several changes to many parts of the code because of this.
10983 2001-06-23 The LyX Project <jug@sad.it>
10985 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10986 rewritten to discard all double spaces when KeepEmpty is off
10987 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10988 to only handle newlines but not fiddle with spaces and friends.
10990 * lyxfunc.C (MenuNew): when doing 'new from template', use
10991 template_path as default directory
10993 2001-06-23 The LyX Project <Asger>
10995 * Clean-up of header file includes all over
10996 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10998 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11000 * paragraph.h: renamed from lyxparagraph.h
11002 2001-06-23 Asger <lyx@violet.home.sad.it>
11004 * Buffer.h: Removed Buffer::resize
11005 * BufferList.h: Removed BufferList::resize
11006 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11007 the document lazily when we change the width, or the font settings.
11009 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11011 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11013 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11015 * buffer.h: remove out of date comment
11017 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11020 * screen.C: fix "theoretical" GC leak
11022 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11024 * LaTeX.C (scanAuxFile):
11025 (deplog): remove trailing \r when reading stream (useful under
11028 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11030 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11031 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11032 and BufferView::theLockingInset(Inset*), so should use them and not
11033 access bv_->text->the_locking_inset directly.
11035 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11037 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11040 * tex-defs.h: remove old unused file
11042 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11044 * BufferView_pimpl.C: fix typo, remove minibuffer message
11045 when buffer has loaded
11047 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11049 * lyxfunc.C (Dispatch): use stringstream
11050 (MenuNew): use stringstream
11051 (Open): use stringstream
11053 * importer.C (Import): use stringstream
11055 * bufferview_funcs.C (CurrentState): use stringstream
11057 * LaTeX.C (run): use stringstream
11059 * BufferView_pimpl.C (savePosition): use stringstream
11060 (restorePosition): use stringstream
11061 (MenuInsertLyXFile): use stringstream
11063 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11076 * vspace.C: removed // -*- C++ -*- as first line.
11079 * version.h: added // -*- C++ -*- as first line.
11081 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11083 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11085 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11088 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11090 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11093 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11095 * gettext.C: include LString.h even when --disable-nls is on.
11097 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11099 * converter.h (Get): changed argument type from int to
11100 FormatList::size_type to avoid unnecessary conversion.
11102 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11105 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11107 * gettext.h: include LString.h even when --disable-nls is on.
11109 2001-06-07 Juergen Vigna <jug@sad.it>
11111 * text.C (BreakAgain): subst spaces with tabs.
11113 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11114 (resizeInsetsLyXText): set force on resizeLyXText.
11116 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11118 * gettext.h (gettext_init):
11119 (locale_init): use a real definition instead of a macro
11121 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11123 * Bufferview_pimpl.C:
11125 * LColor.C: further lcolor tidies
11127 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11129 * BufferView_pimpl.C (updateScrollbar): simplify.
11131 * BufferView2.C: don't include insets/insetinfo.h, change
11132 prototype for insertInset and call the Pimpl version. let
11133 updateInset call Pimpl version.
11135 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11136 gotoInset to BufferView::Pimpl
11138 2001-06-01 Juergen Vigna <jug@sad.it>
11140 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11141 inside a LockingInset (is the update needed at all?).
11143 2001-05-31 Juergen Vigna <jug@sad.it>
11145 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11146 here not the old one otherwise how should we compare it afterwards
11149 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11154 * FontInfo.C: bring C functions into global namespace when
11157 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11159 * LString.h: make sure config.h has been loaded before LString.h.
11161 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11162 (one for each char read by EatLine!).
11164 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11167 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11169 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11170 to the same as the par we break from
11172 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11174 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11176 * MenuBackend.C (expand): also create menu entries for wide
11177 versions of the floats.
11179 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11181 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11183 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11184 frontends/Makefile.am
11190 * tabular.C (getTokenValue): add std::
11192 * tabular-old.C (getTokenValue): add std::
11193 (getTokenValue): ditto
11194 (getTokenValue): ditto
11196 * screen.C (ToggleSelection): adjust
11198 * lyxtext.h: put selection cursors inside a Selection struct.
11200 * lyxfunc.C (moveCursorUpdate): adjust
11202 * lyxfont.C (latexWriteStartChanges): add std::
11204 * lyxfind.C: adjust
11206 * font.h: delete with(char const *, LyXFont const &)
11208 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11210 * FontInfo.C (getFontname): add std::
11212 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11213 (workAreaButtonPress): adjust
11214 (tripleClick): adjust
11216 (moveCursorUpdate): adjust
11219 * BufferView2.C (gotoInset): adjust
11221 2001-05-30 Juergen Vigna <jug@sad.it>
11223 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11224 to check pspell I add this as default as I now have new pspell
11225 libraries and they seem to use this.
11227 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11229 * text2.C (CutSelection): make the cursor valid before the call to
11232 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11234 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11235 relied on 0 terminated strings and other horrors. Bug found due to
11236 the new assert in lyxstring!
11238 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11241 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11243 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11246 * lyxfunc.C (processKeySym): change method of getting to the
11249 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11250 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11251 * BufferView_pimpl.[Ch]: here as private methods.
11253 2001-05-28 Juergen Vigna <jug@sad.it>
11255 * text.C (SetHeightOfRow): added the update() call again as it is
11256 needed to initialize inset dimensions!
11258 2001-05-16 Juergen Vigna <jug@sad.it>
11260 * text2.C (SetCharFont): Add new function with BufferView * and
11261 bool toggleall parameters for setting insets internal fonts.
11262 (SetFont): Freeze the undo as we may change fonts in Insets and
11263 all this change should be inside only one Undo!
11265 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11266 setting font's in insets as for them we have the SetFont function!
11268 2001-05-15 Juergen Vigna <jug@sad.it>
11270 * text2.C (ClearSelection): to be sure we REALLY don't have any
11273 * tabular.C (TeXCellPreamble): fixed the left border problem for
11276 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11278 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11281 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11283 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11284 LFUN_BREAKPARAGRAPH.
11286 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11287 help test to "internal only", similar for LFUN_INSERT_URL
11289 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11290 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11291 auto_region_delete and deadkeys.
11293 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11296 * LColor.C: remove some dead entries, tidy a little
11298 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11300 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11302 (Dispatch): implement LFUN_ESCAPE
11304 * commandtags.h: add LFUN_ESCAPE
11306 * LyXAction.C (init): add entry for LFUN_ESCAPE
11308 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11309 Remove commented code.
11310 (insertNote): moved here
11311 (open_new_inset): moved here
11313 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11316 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11318 * kbmap.C (findbinding): clean it up and make it work correctly.
11320 * lyx_main.C (init): do not pass argc and argv as parameters
11322 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11324 * buffer.C: fix path for OS/2 & Win32
11328 * lyx_main.C: Added os:: class.
11330 * os2_defines.h: update
11332 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11334 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11335 better by trying again with reduced state.
11337 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11339 * lyxrc.C (read): print error about invalid key sequence only when
11340 debugging (because not all latinX keysyms are known to some X
11343 * kbsequence.C (getiso): add a few std:: qualifiers
11344 (getiso): comment out extra return statement.
11346 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11348 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11350 (Dispatch): enhance the accent inset a bit. (not perfect)
11352 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11354 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11356 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11358 * bufferlist.C (emergencyWrite): fix assert() call
11360 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11362 * text.C (InsertChar): Added trivial patch to only send the "you
11363 can not do multiple spaces this way" message once during a
11366 2001-05-08 Baruch Even <baruch@lyx.org>
11368 * Makefile.am: Changed order of libraries to get LyX to link properly
11369 with the gnome frontend.
11371 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11373 * LaTeXFeatures.h: add a std:: qualifier
11375 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11377 * paragraph.C (String): use stringstream
11379 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11381 * paragraph.C (writeFile): remove footflag arg
11383 * buffer.C (makeLaTeXFile): use stringstream
11384 (latexParagraphs): remove footnot gurba
11386 * LaTeXFeatures.C (getPackages): use stringstream
11387 (getMacros): likewise
11388 (getTClassPreamble): likewise
11389 (getFloatDefinitions): new method
11391 * paragraph.C (writeFile): reindent
11394 * WorkArea.h: revert the xpos + etc changes.
11396 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11398 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11400 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11401 (pasteSelection): likewise
11402 * text2.C (CreateUndo): likewise
11404 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11406 * minibuffer.C (peek_event): temporarily reduce the functionality
11407 of the minibuffer (to allow args on lfuns)
11409 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11410 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11412 * buffer.C (readInset): add compability reading of old float
11413 lists, add reading of new style float list.
11414 (readInset): avoid reevaluation of inscmd.getCmdName()
11415 (getLists): reindent
11417 * MenuBackend.C (MenuItem): implement parsing of
11418 md_floatlistinsert and md_floatinsert.
11419 (expand::LastFiles): move initalizaton of iterators out of loop,
11420 avoid reevaluation.
11421 (expand::Documents): introduce typdedef vector<string> Strings,
11423 (expand::ExportFormats): introduce typedef vector<Format const *>
11424 Formats, and use it.
11425 (expand): implement FloatListInsert and FloatInsert.
11427 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11428 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11429 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11431 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11433 (Dispatch::LFUN_FLOAT_LIST): implement
11435 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11437 * LaTeX.C (run): Fix problem with --export code.
11439 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11441 * BufferView.[Ch] (workarea): removed.
11442 (getClipboard) new method; wrapper for workarea()->getClipboard()
11444 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11447 * WorkArea.h (width, height, xpos, ypos): These methods all
11448 returned the dimensions of the work_area sub-area of WorkArea,
11449 resulting in a position error if the WorkArea were resized. Now
11450 return the dimensions of the entire WorkArea.
11452 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11454 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11456 * LaTeX.C (deplog): correct the syntax of regex reg1
11458 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11460 * undo.C: remove !NEW_INSETS cruft
11462 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11464 * text2.C: remove !NEW_INSETS cruft
11466 * text.C: remove !NEW_INSETS cruft
11468 * tabular.C: remove !NEW_INSETS cruft
11470 * spellchecker.C: remove !NEW_INSETS cruft
11472 * lyxtext.h: remove !NEW_INSETS cruft
11474 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11476 * lyxfunc.C: remove !NEW_INSETS cruft
11478 * lyxfind.C: remove !NEW_INSETS cruft
11480 * lyx_cb.C: remove !NEW_INSETS cruft
11482 * figureForm.C: remove !NEW_INSETS cruft
11484 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11486 * buffer.[Ch]: remove !NEW_INSETS cruft
11488 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11490 * CutAndPaste.C: remove !NEW_INSETS cruft
11492 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11494 * BufferView2.C: remove !NEW_INSETS cruft
11496 * BufferView.h: remove !NEW_INSETS cruft
11498 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11500 * Lsstream.h: include LString.h before the sstream headers to
11501 fix problem with gcc 2.95.3 and lyxstring
11503 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11505 * lyx_main.C: add using directives when needed for C functions
11506 declared in std:: namespace.
11508 2001-04-27 Juergen Vigna <jug@sad.it>
11510 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11511 (SetHeightOfRow): comment out the update call should not be needed!
11513 2001-04-13 Juergen Vigna <jug@sad.it>
11515 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11516 (LyXTabular): tried to minimize operator= operations (and realized
11517 hopfully Lars wish).
11519 2001-04-27 Juergen Vigna <jug@sad.it>
11521 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11523 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11525 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11527 * buffer.C (readInset): hack to make listof algorithm work
11529 * BufferView_pimpl.C: hack to make listof algorithm work
11531 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11533 * LyXAction.C: removed all !NEW_INSETS cruft
11534 (init): moved lfun_item in method
11536 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11538 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11540 * BufferView2.C (theLockingInset): white space.
11542 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11544 * minibuffer.C: include <iostream>
11546 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11548 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11550 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11552 * text.[Ch] (TransposeChars): new method
11554 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11556 * call message directly through LyXView instead of through LyXFunc
11557 * BufferView2.C: adjust
11558 * BufferView_pimpl.C: adjust
11559 * FontLoader.C: adjust
11561 * bufferview_funcs.C: adjust
11562 * converter.C: adjust
11563 * figureForm.C: adjust
11564 * importer.C: adjust
11566 * lyx_gui_misc.C: adjust
11567 * lyxfunc.C: adjust
11570 + more files in subdirs
11572 * lyxparagraph.h (size): move up int file
11575 * adjust all uses of Assert to lyx::Assert.
11577 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11578 lyxfunctional in namespace lyx
11579 * layout.C (hasLayout): ditto
11582 (delete_layout): ditto
11583 (NumberOfClass): ditto
11584 * converter.C (GetFormat): ditto
11589 * bufferlist.C (getFileNames): ditto
11590 (emergencyWriteAll): ditto
11593 * MenuBackend.C (hasSubmenu): ditto
11596 * BufferView_pimpl.C (getInsetByCode): ditto
11598 2001-04-18 Juergen Vigna <jug@sad.it>
11600 * vspace.C (asLatexString): fixed the 100% problem.
11602 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11604 * lyxfunc.C (Dispatch):
11606 * minibuffer.h: add a few std:: qualifiers
11608 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11610 * minibuffer.[Ch]: reimplement so that commands is initiated and
11611 run from lyxfunc, simplified som handling, and made the completion
11612 and history code for complete. wip.
11614 * lyxfunc.C (processKeySym): call message
11615 (miniDispatch): new temporary method
11616 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11617 (LFUN_MESSAGE): implement
11618 (LFUN_MESSAGE_PUSH): implement
11619 (LFUN_MESSAGE_POP): implement
11620 (initMiniBuffer): the initial/defualt minibuffer message.
11622 * lyxfont.[Ch]: inline some more getters
11624 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11626 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11628 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11629 (AutoSave): use LFUN_MESSAGE
11630 (Reconfigure): ditto
11632 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11634 * figureForm.C: use LFUN_MESSAGE
11636 * converter.C (runLaTeX): use LFUN_MESSAGE
11638 * bufferview_funcs.C: use LFUN_MESSAGE
11640 (changeDepth): ditto
11642 * bufferparams.h: use boost::
11644 * bufferlist.h: inherit privately from noncopyable
11646 * bufferlist.C (loadLyXFile): remove some commented code.
11648 * buffer.C (runChktex): use LFUN_MESSAGE
11650 * ShareContainer.h: inherit privately from noncopyable
11652 * ParagraphParameters.[hC] (depth): inline it.
11654 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11656 (message): new method
11657 (messagePush): ditto
11658 (messagePop): ditto
11659 (show): init minibuffer
11660 (showState): direct call
11662 * LaTeX.[Ch]: inherit privately from noncopyable
11663 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11664 instead of WriteStatus.
11666 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11668 * BufferView_pimpl.C (buffer): don't init minibuffer
11669 (workAreaButtonPress): use LFUN_MESSAGE
11670 (workAreaButtonRelease): ditto
11671 (savePosition): ditto
11672 (restorePosition): ditto
11673 (MenuInsertLyXFile): ditto
11674 (workAreaExpose): don't init minibuffer
11675 (update): remove commented code, simplify
11677 * BufferView2.C (openStuff): use LFUN_MESSAGE
11678 (toggleFloat): ditto
11681 (copyEnvironment): ditto
11682 (pasteEnvironment): ditto
11687 (updateInset): remove some commented code
11689 * lastfiles.h: inherit privately from noncopyable
11692 * lyx_main.h: ditto
11694 * lyxlex_pimpl.h: ditto
11696 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11697 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11698 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11700 * LyXAction.h: inherit privately from noncopyable, add methods
11701 func_begin, func_end, returning iterators to the func map.
11703 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11704 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11705 (func_begin): new method
11706 (func_end): new method
11708 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11710 (copySelection): ditto
11711 (pasteSelection): ditto
11713 * BufferView.C: whitespace change
11714 * BufferView.h: inherit privately from noncopyable
11716 2001-04-16 Allan Rae <rae@lyx.org>
11718 * tabular-old.C (l_getline):
11719 * spellchecker.C (sc_check_word):
11720 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11721 an unrecognised preprocessor directive. So ensure they're wrapped.
11723 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11725 * src/exporter.C (Export): Give an error message when path to file
11728 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11730 * LaTeX.C (deplog): Always check that foundfile exists.
11732 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11735 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11737 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11739 * tabular.[Ch] (getLabelList): implement new method
11741 * minibuffer.h: comment ouf setTiimer
11743 * minibuffer.C (ExecutingCB): constify res
11744 (peek_event): constify s
11745 (Set): constify ntext
11746 (Init): constify nicename
11748 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11750 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11751 (savePosition): use two params to Minibuffer::Set
11752 (restorePosition): ditto
11754 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11756 * lyx_main.C: include language.h
11758 * Makefile.am (lyx_main.o): add language.h
11760 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11766 * CutAndPaste.C: include gettext.h
11768 * lyxfont.h: remove old hack with ON and OFF.
11771 * lyxfont.h: do not include language.h...
11776 * bufferview_funcs.C:
11782 * paragraph.C: ... but do it here instead
11784 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11786 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11788 * tabular.C: small reformat
11790 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11793 (BreakParagraph): ditto
11794 (SetOnlyLayout): ditto
11797 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11800 * lastfiles.C: removed most using decl, add std:: where needed
11802 * buffer.C: ws changes
11804 * MenuBackend.C (class compare_format): put into anon namespace
11805 (expand): constify label, names, action, action2
11808 * text.C (SingleWidth): constify font
11809 (IsBoundary): constify rtl2
11810 (GetVisibleRow): constify ww
11812 * LaTeX.C (deplog): constify logfile
11814 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11816 (workAreaExpose): constify widthChange, heightChange
11818 * lyxrow.C (par): moved
11821 * lyxrow.h: as inlines here
11823 * lyxfont.h (shape): moved from lyxfont.C
11824 (emph): moved from lyxfont.C
11826 * lyxfont.C (LyXFont): use initialization list for all
11828 (shape): move to lyxfont.h as inline
11829 (emph): move to lyxfont.h as inline
11832 2001-04-04 Juergen Vigna <jug@sad.it>
11834 * vspace.C: had to include stdio.h for use of sscanf
11836 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11839 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11840 independent of xforms.
11842 2001-04-02 Juergen Vigna <jug@sad.it>
11844 * spellchecker.C: fixed namespace placing!
11846 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11848 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11849 the LyXParagraph * is 0.
11851 2001-03-29 Juergen Vigna <jug@sad.it>
11853 * vspace.C: added support for %, c%, p%, l%.
11854 (stringFromUnit): added helper function.
11855 (asLatexString): changed to give right results for the %-values.
11857 * buffer.C: convert the widthp in a width%.
11859 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11861 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11864 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11865 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11867 * lyx_cb.[Ch]: see above.
11869 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11873 * lyx.[Ch]: replaced by figure_form.[Ch].
11877 * lyxfunc.C: changed headers associated with above changes.
11879 2001-03-27 Juergen Vigna <jug@sad.it>
11881 * BufferView_pimpl.C: set the temporary cursor right!
11883 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11885 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11887 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11889 * LString.h: removed "using std::getline"!
11891 * BufferView_pimpl.C (Dispatch): changes due to changes in
11892 InsetInclude::Params.
11894 * buffer.C (tag_name): removed redundant break statements as they were
11895 producing lots of warnings with my compiler.
11897 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11899 * LString.h: add "using std::getline" when using the real <string>.
11901 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11903 * buffer.C: removed bitset usage.
11904 PAR_TAG moved to an anonymous name space.
11905 (tag_name): new funtion, also in the anonymous namespace.
11906 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11907 (makeDocBookFile): clean code. Completed transition from string arrays
11909 (SimpleDocBookOnePar): code clean.
11911 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11913 * tabular.C: add some comments.
11915 2001-03-22 Juergen Vigna <jug@sad.it>
11917 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11918 compatibility read a bit and fixed bug with minipage in different
11921 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11923 * buffer.C (pop_tag): removed.
11924 (push_tag): removed.
11925 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11926 array replaced with vector. Added support for CDATA sections.
11927 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11929 (makeDocBookFile): XML conformant declaration of CDATA section,
11930 fixed bug related to <emphasis> in the first paragraph char.
11931 (sgmlOpenTag): exclude empty tags.
11932 (sgmlCloseTag): ditto.
11934 * buffer.h (pop_tag): removed.
11935 (push_tag): removed.
11937 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11939 * language.h (Languages): added size_type and size().
11941 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11943 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11944 response on compability reading of minipages. One probliem is that
11945 the old usage of minipages was «flertydig»
11947 * several files here and in subdirs: don't use static at file
11948 scope use anon namespaces instead.
11950 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11952 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11953 LaTeX output. This is necessary for Literate document
11956 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11958 * buffer.C: insert hfill when needed.
11960 * tabular.C (l_getline): use string::erase, small whitespace change.
11962 * BufferView_pimpl.C: try the anon namespace.
11963 * WorkArea.C: ditto
11965 2001-03-16 Juergen Vigna <jug@sad.it>
11967 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11968 otherwise it won't open options-dialogs.
11970 * buffer.C: honor pextraWidth(p) on converting minipages.
11972 * tabular.C (l_getline): changed the functions to strip trailing \r.
11974 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11976 * BufferView_pimpl.C:
11977 * minibuffer..C: added "using SigC::slot" declaration.
11979 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11981 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11987 * paragraph.C: ditto
11989 * lyxtext.h: NO_PEXTRA
11991 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11993 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11994 * ParameterStruct.h: ditto
11995 * ParagraphParameters.h: ditto
11996 * lyxparagraph.h: ditto
11998 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12000 * buffer.C: add compability for minipage alignment.
12001 (latexParagraphs): remove unwanted pextra check.
12003 * several files: remove CXX_WORKING_NAMESPACES
12005 * buffer.C (pop_tag): tie is in namespace boost
12007 * BufferView.h: noncopyable is in namespace boost
12009 * lyx_main.h: ditto
12012 * lastfiles.h: ditto
12013 * bufferlist.h: ditto
12014 * ShareContainer.h: ditto
12016 * LyXAction.h: ditto
12019 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12021 * Merging changes from BRANCH_MVC back into HEAD.
12023 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12025 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12027 * BufferView_pimpl.C: change from intl.C
12031 * Makefile.am: move combox.*
12037 * intl.C: remove dialog (covered by prefs)
12039 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12041 * lyxfunc.C (Dispatch): removed redundant break statement.
12043 2001-03-14 Juergen Vigna <jug@sad.it>
12045 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12047 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12049 * buffer.C: add hack to fix compability reading of minipages.
12051 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12053 * buffer.C (getLists): Cleanup.
12055 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12057 * lyxfont.C (update): don't honor toggleall on font size.
12059 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12063 * Makefile.am: moved to frontends/xforms/
12067 * BufferView_pimpl.C: changes for moved mathpanel
12069 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12071 * gettext.h: fix gettext_init() in --disable-nls
12073 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12075 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12077 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12080 * lyx.h: strip external form
12082 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12084 * BufferView_pimpl.C: add comment, destroySplash()
12086 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12088 * BufferView_pimpl.C:
12092 * lyxfunc.C: use re-worked insetinclude
12094 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12096 * buffer.C: add using std::stringstream.
12098 * lyx_cb.C: readd using std::ios.
12100 * buffer.C: add using std::map.
12102 * BufferView_pimpl.C: add using std::vector.
12104 * ShareContainer.h: add std:: to swap.
12106 * buffer.h: add some typedefs
12107 * buffer.C (getLists): use them
12108 (getLists): renamed from getTocList.
12109 add a counter for the different float types and use it in the
12111 (getLists): use the same counter for the NEW_INSETS and the "non"
12114 * lyx_cb.h: remove unused items, includes, using etc.
12116 * ShareContainer.h: remove some commented code, add more comments
12117 and "documentation".
12119 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12121 * buffer.C (getTocList): make the list also when NEW_INSETS is
12124 * buffer.h: remove TocType
12126 * buffer.C (getTocList): change to return a map<string,
12127 vector<TocItem> >, implement for dynamic number of list.
12129 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12130 * text2.C (PasteSelection): adjust
12131 * CutAndPaste.C (pasteSelection): adjust
12133 * FloatList.C (FloatList): update from the new_insets branch.
12134 * Floating.[Ch]: ditto
12135 * LaTeXFeatures.C: ditto
12137 * lyxlex_pimpl.C: ditto
12139 * paragraph.C (Last): remove when NEW_INSETS is defined.
12141 * other file: changes because of the above.
12143 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12145 * lyxparagraph.h: rename next to next_, previous to previous_,
12146 make them private for NEW_INSETS. Rename Next() to next(),
12147 Previous() to previous().
12149 * other files: changes because of the above.
12151 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12154 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12157 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12159 * main.C (main): pass lyx_localedir to gettext_init().
12161 * gettext.h: remove locale_init and gettext_init macros
12163 * gettext.C (locale_init): new function
12164 (gettext_init): new function
12166 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12169 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12171 * Moved credits to frontends:
12172 * credits.[Ch]: removed
12173 * credits_form.[Ch]: removed
12174 * lyx_gui_misc.C: remove credits stuff
12177 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12179 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12181 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12182 unneeded destructor.
12184 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12185 a standalone pointer again.
12187 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12189 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12195 * ToolbarDefaults.C:
12204 * BufferView_pimpl.C: use new file dialog in GUII
12207 * lyx_cb.C: remove LayoutsCB to Toolbar
12209 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12211 * ShareContainer.h (get): add std:: qualifier
12213 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12215 * ShareContainer.h: define a proper ShareContainer::value_type
12216 type (and use typename to please compaq cxx)
12218 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12220 * lyxparagraph.h: move serveral local vars to
12221 ParameterStruct/ParagraphParameters., use ShareContainer in
12222 FontTable., make vars in FontTable private and add getter and
12225 * paragraph.C: changes because of the above.
12227 * lyxfont.h: remove copy constructor and copy assignment. (the
12228 default ones is ok), move number inside FontBits. move inlines to
12231 * lyxfont.C: add number to initializaton of statics, move several
12232 inlines here. constify several local vars. some whitespace
12233 cleanup. Dont hide outerscope variables.
12235 * Spacing.h: add two new constructors to match the set methods.
12237 * ShareContainer.h: new file, will perhaps be moved to support
12239 * ParameterStruct.h: new file
12241 * ParagraphParameters.h: new file
12243 * ParagraphParameters.C: new file
12245 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12246 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12248 * BufferView_pimpl.C: ParagraphParameter changes.
12249 * buffer.C: Likewise.
12250 * bufferview_funcs.C: Likewise.
12251 * text.C: Likewise.
12252 * text2.C: Likewise.
12254 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12256 * lyxfind.C (LyXReplace): do not redefine default argument in
12258 (IsStringInText): ditto
12259 (SearchForward): ditto
12260 (SearchBackward): ditto
12262 2001-03-06 Juergen Vigna <jug@sad.it>
12264 * lyxfind.C (IsStringInText): put parentes around expressions.
12266 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12268 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12270 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12272 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12274 * stl_string_fwd.h: add comment
12276 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12279 * tabular.C: remove unused DocBook methods
12285 killed DO_USE_DEFAULT_LANGUAGE
12287 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12289 * lyx_gui.C: do not include language.h.
12291 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12292 arguments in function implementation.
12294 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12296 * BufferView_pimpl.C: add <ctime>
12298 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12300 * BufferView_pimpl.C: add using std::find_if
12302 2001-02-27 José Matos <jamatos@fep.up.pt>
12304 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12307 2001-02-11 José Matos <jamatos@fep.up.pt>
12309 * buffer.C (makeDocBookFile): command styles now have a parameter as
12310 "title" by default.
12312 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12314 * layout_forms.[Ch]: removed
12315 * lyx_cb.[Ch]: out character
12316 * lyx_gui.C: out character
12317 * lyx_gui_misc.C: out character
12318 * bufferview_funcs.C: : out character,
12319 added toggleall as parameter in ToggleAndShow
12321 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12323 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12325 * text2.C (SetCurrentFont): Disable number property at boundary.
12327 2001-02-26 Juergen Vigna <jug@sad.it>
12329 * lyxfunc.C (getStatus): added a string argument override function so
12330 that this is correctly called from LyXFunc::Dispatch if it contains a
12331 do_not_use_argument which is used!
12332 (Dispatch): added check for "custom" export and call appropriate func.
12334 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12336 * lyxrc.C: Add language_command_local, language_use_babel and
12337 language_global_options.
12339 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12341 * buffer.C (makeLaTeXFile): Use language_use_babel and
12342 language_global_options.
12344 2001-02-23 Juergen Vigna <jug@sad.it>
12346 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12347 which works with LyXText and putted it inside BufferView. Here now we
12348 only call for that part the BufferView::Dispatch() function.
12350 * BufferView.C (Dispatch): added.
12352 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12353 functions which needs to use a LyXText over from LyXFunc.
12354 (MenuInsertLyXFile): added
12355 (getInsetByCode): added
12356 (moveCursorUpdate): added
12357 (static TEXT): added
12359 2001-02-22 Juergen Vigna <jug@sad.it>
12361 * BufferView_pimpl.C (update): call a status update to see if LyXText
12364 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12366 * vc-backend.C (revert): implement for CVS
12367 (getLog): implement for CVS
12369 2001-02-20 Juergen Vigna <jug@sad.it>
12371 * text2.C (ClearSelection): added BufferView param for inset_owner call
12373 * lyxfunc.C (TEXT): added this function and use it instead of
12374 directly owner->view()-text of getLyXText().
12376 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12378 * src/layout_forms.C: out preamble
12379 * src/layout_forms.h: out preamble
12380 * src/lyx_cb.C: out preamble
12381 * src/lyx_cb.h: out preamble
12382 * src/lyx_gui.C: out preamble
12383 * src/lyx_gui_misc.C: out preamble
12384 * src/lyxfunc.C: connect with guii preamble
12386 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12388 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12390 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12392 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12393 whether to run bibtex.
12395 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12397 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12399 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12401 * Makefile.am (lyx_SOURCES): removed bibforms.h
12403 * vspace.h: doxygen
12405 * text.C (GetVisibleRow): make several local vars const
12407 * tabular.C: small cleanup.
12409 * lyxserver.C (callback): use compare instead of strncmp
12411 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12412 inlines to after class or to paragraph.C
12414 * lyxfont.h: remove friend operator!=
12416 * converter.h: move friend bool operator< to non friend and after
12419 * combox.h: small cleanup
12421 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12422 to inlines after class def.
12424 * buffer.C (pop_tag): use string operations instead of strcmp
12426 * bmtable.c: doxygen, small cleanup
12428 * LaTeX.h: remove friend operator==
12430 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12442 * BufferView_pimpl.C:
12443 * BufferView.[Ch]: remove cruft
12445 2001-02-14 Juergen Vigna <jug@sad.it>
12447 * lyxfunc.C: removed #if 0 unused code
12449 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12451 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12453 * text2.C (SetSelection): added a BufferView * parameter
12455 2001-02-13 Juergen Vigna <jug@sad.it>
12457 * lyxfunc.C (Dispatch): fixed protected blank problem.
12458 * BufferView2.C (protectedBlank): added LyxText * parameter.
12460 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12461 (AppendColumn): same as above for column_info.
12463 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12464 (moveCursorUpdate): use a LyXText param for support of InsetText.
12466 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12467 (tripleClick): ditto
12469 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12471 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12473 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12475 * text2.C (SetSelection): set correct update status if inset_owner
12476 (ToggleFree): ditto
12478 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12480 * tabular.C: remove some commented code.
12482 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12484 * BufferView_pimpl.C: call hideSplash()
12486 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12489 * bibforms.h: remove
12492 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12493 add LFUN_CHILD_CREATE
12495 * counters.h: fix tiny typo
12500 * lyx.C: move splash to frontends/xforms/
12502 * lyx_gui_misc.C: move Include and Bibform to frontends
12504 * lyxvc.h: clarify comment
12506 * vspace.C: tiny housekeeping
12508 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12510 * text.C (PrepareToPrint): RTL Fix.
12512 * paragraph.C (GetUChar): New method.
12513 (String): Use GetUChar.
12515 * buffer.C (asciiParagraph): Use GetUChar.
12517 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12519 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12521 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12524 * buffer.C: rename to getLogName(), handle
12525 build log / latex log nicely
12527 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12530 * MenuBackend.h: remove support for reference menuitem type.
12532 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12534 * BufferView_pimpl.C: housekeeping
12535 * BufferView_pimpl.h:
12540 * minibuffer.h: move Timeout GUI-I
12542 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12544 * lyxrc.C (read): Update converters data-structures.
12546 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12548 * LaTeX.h (operator!=): add operator != for Aux_Info
12550 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12552 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12554 * LaTeXLog.C: deleted, useful code moved to Buffer
12557 * buffer.C: new function getLatexLogName()
12563 * lyxfunc.C: use frontends for LaTeX and VC logs
12565 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12567 * LaTeX.h: yet another std:: that Allan forgot.
12569 * Variables.C (set): renamed from isset(), because this clashes
12570 with some HP-UX macros (grr).
12572 2001-02-06 Allan Rae <rae@lyx.org>
12574 * LaTeX.h: Another bug fix. Missing std:: this time.
12576 2001-02-04 Allan Rae <rae@lyx.org>
12578 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12579 floats problem. I've left it commented out because it's not quite
12580 correct. It should also test that the current object is a table or
12581 figure inset. But I haven't gotten around to figuring out how to do
12582 that. I *think* it'll be something like: "table" == inset.type()
12584 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12587 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12589 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12590 all the citation/databases/styles in the auxilary file.
12591 (run): Rerun latex if there was a babel language error.
12593 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12595 * text.C (Backspace): Preserve the font when changing newline char
12597 (BreakParagraph): If the cursor is before a space, delete the space.
12599 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12601 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12603 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12604 new argument (code).
12605 (ChangeCitationsIfUnique): New method.
12607 * paragraph.C (GetPositionOfInset): Handle bibkey.
12609 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12611 * BufferView_pimpl.h: change type of Position::par_pos to
12612 LyXParagraph::size_type.
12614 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12616 * BufferView_pimpl.C (savePosition, restorePosition): Write
12617 messages to minibuffer.
12619 2001-01-28 José Matos <jamatos@fep.up.pt>
12621 * buffer.C (makeDocBookFile): adds support for document language.
12622 A silly restriction on the name of LatexCommand types where removed.
12623 Added support for CDATA sections, allows to chars unescaped, used
12624 among others in code, to avoid escape < and >.
12626 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12628 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12629 saved positions instrad of a stack. Furthermore, a position is
12630 stored using paragraph id/paragraph position.
12632 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12633 Remove LFUN_REF_BACK.
12635 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12637 * converter.C (dvipdfm_options): New method.
12639 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12641 * vspace.C (isValidLength): Fix for empty input string.
12643 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12645 * LyXAction.C (init): change description of LFUN_FIGURE to
12648 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12650 * LaTeX.C: add using directive
12652 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12654 * MenuBackend.C (expand): Fix the sorting of the formats.
12656 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12658 * lyx_main.C: tiny error message fix
12660 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12662 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12663 calling fl_initialize(). This fixes the problem with ',' as
12664 decimal separator in text files.
12666 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12668 * trans.C (process): Fix the keymap bug.
12670 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12672 * LaTeX.C (scanAuxFiles): New method. Provides support for
12673 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12674 (scanLogFile) Scan for "run BibTeX" messages.
12676 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12677 OT1 font encoding. Also, load the aecompl package if the ae
12680 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12682 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12684 * texrow.C (increasePos): turn two error messages into debug
12687 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12689 * LaTeX.C (scanAux): Handle the \@input macro.
12690 (runBibTeX): Use scanAux().
12692 * language.C (latex_options_): New field.
12694 * LaTeXFeatures.C (getMacros): Add language macros.
12696 * buffer.C (makeLaTeXFile): Small fix.
12698 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12700 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12702 * text2.C: add a using directive.
12704 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12709 * lyxfunc.C: kill LyXBell.
12711 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12713 * text.C (IsBoundary): Remove the error message
12715 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12717 * lyxrc.C (setDefaults): Correct initialization value for
12720 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12722 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12725 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12726 and GotoNextNote().
12728 * src/LyXAction.C: Added reference-next.
12730 * text.C (InsertChar): Use contains instead of strchr.
12732 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12734 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12736 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12737 alignment commands (when needed).
12739 * text.C (InsertChar): Add ':' to number separator chars.