1 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5 2003-09-18 Angus Leeming <leeming@lyx.org>
8 * BufferView.C: pass the buffer when calling Inset::getLabelList,
9 Inset::fillWithBibKeys.
10 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
12 2003-09-18 Angus Leeming <leeming@lyx.org>
14 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
16 (ctor): pass and store a 'Buffer const &'
17 (buffer): new member function.
19 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
20 '*this' to the LaTeXFeatures ctor.
22 2003-09-18 Angus Leeming <leeming@lyx.org>
28 * text.C: rename EnumLColor as LColor_color.
30 2003-09-18 Angus Leeming <leeming@lyx.org>
32 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
33 remove #include "insets/insetbase.h" from cursor.h.
35 2003-09-18 Angus Leeming <leeming@lyx.org>
37 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
38 InsetOld_code to remove #include "inset.h".
40 * iterators.C: add #include "insets/inset.h"
42 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
44 * BufferView.C: remove more locking stuff that apparently doesn't
47 2003-09-16 André Pönitz <poenitz@gmx.net>
50 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
53 2003-09-16 Angus Leeming <leeming@lyx.org>
55 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
57 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
60 * paragraph.h: remove #include "lyxfont.h". Forward declare
63 2003-09-16 Angus Leeming <leeming@lyx.org>
65 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
66 of support/textutils.h.
67 (isWord): move the contents of support/textutils.h's IsWordChar here.
73 * text2.C: add #include "paragraph.h".
76 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
78 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
84 * LaTeX.C: use namespace alias for lyx::support::os
86 2003-09-16 Angus Leeming <leeming@lyx.org>
94 * text.C: add #include "LColor.h".
96 2003-09-16 Angus Leeming <leeming@lyx.org>
98 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
99 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
101 Store the FontBits::color variable as an int rather than as an
102 LColor::colorso that we can move LColor.h out of the lyxfont.h header
105 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
106 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
107 string calls together.
109 * lyxrc.C: add #include "LColor.h".
111 2003-09-15 Angus Leeming <leeming@lyx.org>
113 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
116 2003-09-15 Angus Leeming <leeming@lyx.org>
118 * LColor.h: add an EnumLColor wrapper for LColor::color.
120 * lyxfont.[Ch] (color, setColor, realColor):
121 * lyxtext.h, text.C (backgroundColor):
122 pass EnumLColor args to/from the functions, rather than LColor::color
126 * lyxtext.h: forward declare EnumLColor.
128 * lyx_main.C: add #include "LColor.h".
130 2003-09-15 Angus Leeming <leeming@lyx.org>
132 * .cvsignore: add lyx-gtk.
134 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
139 * ParagraphParameters.C
153 * vc-backend.C: remove usage of STRCONV
155 2003-09-15 Angus Leeming <leeming@lyx.org>
157 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
158 explicitly define the color passed to the painter.
160 2003-09-15 Angus Leeming <leeming@lyx.org>
162 * bufferparams.C (BufferParams): reorder member initializers to avoid
165 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
167 * CutAndPaste.C (pasteSelection): remove an outdated #warning
168 * text.C (updateRowPositions): remove an unusual nop
170 2003-09-12 André Pönitz <poenitz@gmx.net>
172 * BufferView_pimpl.C:
181 * Counters.[Ch]: finish the 'automatic counters' job
183 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
185 * aspell.C: include <boost/assert.cpp> (compile fix)
187 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
189 * boost.C (assertion_failed): use lyx::support::abort instead of
192 2003-09-10 Angus Leeming <leeming@lyx.org>
194 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
195 with their _fwd progeny.
197 2003-09-09 Angus Leeming <leeming@lyx.org>
199 134 files throughtout the source tree: replace 'using namespace abc;'
200 directives with the appropriate 'using abc::xyz;' declarations.
202 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
204 * boost.C (emergencyCleanup): moved here from LAssert.c
205 (assertion_failed): new function, called by BOOST_ASSERT
207 * several files: change Assert to BOOST_ASSERT
209 2003-09-09 Angus Leeming <leeming@lyx.org>
211 * buffer.[Ch]: Add an Impl class and move Buffer's member
212 variables into it. As a result move several header files out of
215 Add header files to lots of .C files all over the tree as a result.
217 2003-09-09 Angus Leeming <leeming@lyx.org>
219 * buffer.[Ch]: make Buffer's member variables private. Add
222 Lots of changes all over the tree as a result.
224 2003-09-08 Angus Leeming <leeming@lyx.org>
226 * graph.C: #include <config.h>.
228 2003-09-08 Angus Leeming <leeming@lyx.org>
232 * BufferView_pimpl.C:
261 * toc.C: remove redundant using directives.
263 2003-09-07 Angus Leeming <leeming@lyx.org>
265 * LaTeXFeatures.h: remove #include "support/types.h".
266 * ToolbarBackend.h: remove #include <algorithm>.
267 * changes.h: remove #include <ctime>.
268 * debug.h: remove #include <iosfwd>.
269 * graph.h: remove #include "support/std_string.h".
270 * lyx_main.h: remove #include <csignal>.
271 * lyxlex_pimpl.h: remove #include <fstream>.
272 * sgml.h: remove #include <algorithm>, <utility>.
273 * toc.h: remove #include "support/std_ostream.h".
274 Add #include <iosfwd>.
276 2003-09-07 Angus Leeming <leeming@lyx.org>
278 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
280 * converter.h: forward declare LatexRunParams.
281 * encoding.h: remove #include "lyxrc.h".
282 * lyxtext.h: remove #include "LColor.h".
283 * lyxtextclass.h: remove #include "support/types.h".
284 * trans.h: remove #include "tex-accent.h".
285 * trans_mgr.h: remove #include "tex-accent.h".
286 * insets/inset.h: remove #include "support/types.h", <vector>.
287 * insets/insetcollapsable.h: remove #include "LColor.h".
288 * insets/insetinclude.h: remove #include "dimension.h".
289 * insets/insetlatexaccent.h: remove #include "dimension.h".
290 * insets/insetoptarg.h:: remove #include "insettext.h".
291 * insets/insettext.h: remove #include "dimension.h",
292 <boost/shared_ptr.hpp>
294 * insets/renderers.h: add #include "dimension.h".
295 * insets/updatableinset.h: add #include "support/types.h".
297 * many .C files: Associated changes.
299 2003-09-06 Angus Leeming <leeming@lyx.org>
301 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
302 one, inside testInvariant.
304 * PrinterParams.C: new file.
305 * PrinterParams.[Ch]: move the function bodies out of line.
307 2003-09-06 Angus Leeming <leeming@lyx.org>
309 * ParagraphParameters.h: forward declare ParameterStruct rather than
310 including its header file.
311 (depth): moved out-of-line.
313 2003-09-06 Angus Leeming <leeming@lyx.org>
315 * BufferView_pimpl.h:
318 * lyxfunc.h: forward declare LyXKeySym rather than
319 #include "frontends/LyXKeySym.h".
321 * BufferView_pimpl.C:
324 * lyxfunc.C: associated changes.
326 2003-09-06 Angus Leeming <leeming@lyx.org>
328 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
329 As a result, can remove the #include "insets/inset.h" from BufferView.h
331 2003-09-06 Angus Leeming <leeming@lyx.org>
333 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
334 As a result, can remove the #include "insets/inset.h" from BufferView.h
336 2003-09-06 Angus Leeming <leeming@lyx.org>
342 * bufferview_funcs.C:
343 * BufferView_pimpl.C:
348 * ParagraphParameters.C:
353 * frontends/controllers/ControlDocument.C:
354 * insets/insetcaption.C: rearrange the #includes into some sort of
357 * buffer.h: remove #includes ErrorList.h, undo.h
359 2003-09-06 Angus Leeming <leeming@lyx.org>
361 * support/types.h: add a 'depth_type' typedef, used to store the
362 nesting depth of a paragraph.
365 * ParameterStruct.h: use this lyx::depth_type typedef rather than
370 * ParagraphParameters.h:
371 * sgml.h: use lyx::depth_type rather than Paragraph or
372 ParameterStruct's depth_type.
375 * paragraph_funcs.h: no need to #include paragraph.h anymore.
378 * BufferView_pimpl.C:
380 * ParagraphParameters.C:
383 * bufferview_funcs.C:
390 * frontends/LyXView.C:
391 * frontends/controllers/ControlDocument.C:
392 * frontends/controllers/ControlErrorList.C:
393 * insets/insetbibitem.C:
394 * insets/insetbranch.C:
395 * insets/insetcaption.C:
396 * insets/insetcollapsable.C:
399 * insets/insetfloat.C:
400 * insets/insetfoot.C:
401 * insets/insetfootlike.C:
402 * insets/insetnewline.C:
403 * insets/insetquotes.C:
404 * insets/insettabular.C:
405 * insets/insettext.C:
406 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
408 * frontends/controllers/ControlChanges.C: #include "changes.h".
410 2003-09-06 Angus Leeming <leeming@lyx.org>
412 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
413 than #including paragraph.h.
416 * RowList.h: deleted. Superfluous.
426 * insets/insettext.h: use ParagraphList_fwd.h rather than
429 * paragraph.h: don't forward declare ParagraphList.
432 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
433 rather than ParagraphList.h. paragraph.h is still needed for the
434 Paragraph::depth_type parameters.
436 * textcursor.h: enable it to compile stand-alone in light of the
439 * bufferview_funcs.C:
451 * frontends/controllers/ControlParagraph.C:
452 * frontends/controllers/ControlTabular.C:
453 * insets/insetmarginal.C:
454 * insets/insetminipage.C:
455 * insets/insetnote.C:
456 * insets/insetoptarg.C: add header files needed to compile again.
458 2003-09-06 Angus Leeming <leeming@lyx.org>
460 * RowList_fwd.h: new file, forward-declaring Row rather than
466 * insets/insettext.h: use it instead of RowList.h
468 * bufferview_funcs.C:
475 * text3.C: #include "RowList.h".
477 2003-09-05 Angus Leeming <leeming@lyx.org>
479 * factory.C (createInset):
480 * vspace.C (c-tor): replace sscanf call with an istringstream.
481 * ispell.C: re-add missing HP/UX headers.
482 * lyxserver.C: re-add missing os2 headers.
484 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
493 * text3.C: re-add missing system headers, needed for 2.95.2.
495 2003-09-05 Angus Leeming <leeming@lyx.org>
497 Changes most place everywhere due to the removal of using directives
498 from support/std_sstream.h.
500 2003-09-05 Angus Leeming <leeming@lyx.org>
502 Replace LString.h with support/std_string.h,
503 Lsstream.h with support/std_sstream.h,
504 support/LIstream.h with support/std_istream.h,
505 support/LOstream.h with support/std_ostream.h.
507 Changes resulting throughout the tree.
509 2003-09-05 Angus Leeming <leeming@lyx.org>
511 * sgml.h: ensure that the header file can be compiled stand-alone.
512 * *.C: strip out redundant #includes. (320 in total.)
514 2003-09-04 Angus Leeming <leeming@lyx.org>
516 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
517 here (from getPackages).
519 * debug.[Ch]: add a new EXTERNAL tag.
521 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
523 * text2.C (cursorEnd): simplify
525 (getColumnNearX): adjust
527 * text.C (computeBidiTables): adjust
530 * rowpainter.C (paintChars): adjust
531 (paintSelection): adjust
532 (paintChangeBar): adjust
535 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
537 (numberOfSeparators): adjust
539 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
545 * text3.C: Restricts the mouse click functionality
546 of insets like bibtex, include, toc and floatlist to the visible
547 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
548 up the dialogs. Cursor has to be in front of the inset (i.e.
549 start of row) for this to function.
551 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
553 * bufferview_funcs.C (currentState): output row information
555 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
557 * bufferview_funcs.C (currentState): output paragraph position
559 2003-09-04 Angus Leeming <leeming@lyx.org>
561 * FloatList.h: move out #include "Floating.h".
562 * LaTeX.h: move out #include "DepTable.h".
563 * LyXAction.h: move out #include "funcrequest.h".
564 * buffer.h: move out #include "author.h", "iterators.h".
565 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
566 * lyx_main.h: move out #include "errorlist.h".
567 * lyxfunc.h: move out #include "FuncStatus.h".
568 * lyxtext: move out #include "lyxcursor.h".
569 * paragraph_pimpl.h: move out #include "counters.h".
571 2003-09-03 Angus Leeming <leeming@lyx.org>
573 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
574 preamble_snippets list, enabling us to add snippets to the preamble
575 only if the snippet was not there already.
577 2003-09-04 Angus Leeming <leeming@lyx.org>
579 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
581 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
583 * lyxfunc.C (dispatch): if fitCursor did something be sure to
586 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
588 * BranchList.C: point fix, earlier forgotten
590 2003-09-02 Angus Leeming <leeming@lyx.org>
592 * box.C (contains): renamed from 'contained' after a fantastic
595 2003-09-02 John Levon <levon@movementarian.org>
601 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
603 2003-09-02 John Levon <levon@movementarian.org>
605 * text2.C: simplification of cursorEnd(), including partial
608 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
610 * buffer.C (readFile): add a space
612 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
614 * BufferView_pimpl.C (update): remove bogus fitCursor() call
616 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
618 * buffer.C (readFile): new function, take a filename and a
619 ParagraphList::iterator
621 (readFile): adjust, make it private. don't use setStream, make
622 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
623 always contain the filename.
625 * BufferView.C (insertLyXFile): simplify and make it work for
628 2003-08-30 John Levon <levon@movementarian.org>
630 * Makefile.am: fix dist (from Kayvan)
632 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
634 * most files: change to use const Buffer refs
636 2003-08-27 André Pönitz <poenitz@gmx.net>
638 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
639 on top of ownerPar().
641 2003-08-27 John Levon <levon@movementarian.org>
643 * funcrequest.C: properly initialise POD members
645 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
647 * lyxtext.h (top_y): move top_y from here
652 * BufferView_pimpl.[Ch]: to here
653 * frontends/screen.C:
654 * insets/insettabular.C:
655 * insets/insettext.C: adjust
656 * rowpainter.[Ch] (paintRows): remove LyXText & argument
658 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
661 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
663 2003-08-26 André Pönitz <poenitz@gmx.net>
665 * paragraph_func.[Ch] (outerPar): new function
671 * text2.C: remove Inset::par_owner
673 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
678 * text2.C: eliminates the needFullRow/display() stuff
679 altogether, putting the logic in metrics/draw in the insets.
681 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
683 * text2.C (redoParagraphInternal, redoParagraphs):
684 * text.C (redoParagraph): add a call to updateRowPositions at the
685 end of each 'metrics-like' call. Remove all others.
686 (getRow): remove the 'y-computing' version.
687 (getRowNearY): do not compute nor return the real y. Solve the
688 'y < 0' problem and simplify.
690 2003-08-22 Angus Leeming <leeming@lyx.org>
692 * *.[Ch]: clean-up of licence and author blurbs.
693 Also move config.h out of a few .h files and into a few .C files.
695 2003-08-22 André Pönitz <poenitz@gmx.net>
697 * lyxrow.[Ch]: add x_ and *fill_ members
702 * text2.C: adjust/remove prepareToPrint() calls
704 2003-08-22 André Pönitz <poenitz@gmx.net>
706 * lyxrow.[Ch]: add end_ member
708 * lyxrow_funcs.C: use LyXRow::end_
710 * lyxtext.h (singleWidth): add LyXFont parameter
713 * text2.C: adjust LyXText::singleWidth() calls
715 * text.C (redoParagraph): simplify row breaking logic
718 2003-08-19 André Pönitz <poenitz@gmx.net>
720 * funcrequest.C: initialize button_ member
723 * rowpainter.[Ch]: interface consolidation
725 2003-08-18 André Pönitz <poenitz@gmx.net>
728 * BufferView_pimpl.C:
732 * text3.C: remove LyXScreen::draw() and fitCursor calls
734 * BranchList.h: remove spurious semicolons
736 * MenuBackend.C: fix branchlist related crash
738 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
750 * text3.C: implements the 'branch inset'
751 idea. This allows the output of various versions of a document
752 from a single source version, selectively outputing or suppressing
753 output of parts of the text.
754 This implementation contains a 'branch list editor' in a separate
755 tab of the document settings dialog. Branches are user definable
756 and have a "display colour" to distinguish them on-screen.
758 ColorHandler was somewhat cleaned up.
759 (1) make possible a dynamically growing LColor list by allowing
760 the graphic context cache to grow along (vector);
761 (2) eliminate an IMHO unnecessary step in colour allocation.
763 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
765 * BufferView_pimpl.C: compile fix
767 2003-08-15 André Pönitz <poenitz@gmx.net>
769 * rowpainter.C: remove extra metrics calls
771 * lyxtext.h: merge the two constructors into a single one,
772 pass reference to owner's par list
774 * BufferView_pimpl.C:
778 2003-08-15 André Pönitz <poenitz@gmx.net>
788 * text_funcs.C: split LyXText::rowlist_ into individual
789 Paragraph::rows_ chunks
792 * BufferView_pimpl.[Ch]:
795 * text3.C: remove toggleSelection()
797 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
799 * bufferlist.C: beautify two alerts (shorter text of buttons)
800 * buffer.C: Remove redundant ' ' from message
802 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
803 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
804 rename VALIGN_CENTER to VALIGN_MIDDLE
806 2003-08-11 André Pönitz <poenitz@gmx.net>
808 * lyxtext.h (getPar):
809 * text.C: new function
811 2003-08-11 André Pönitz <poenitz@gmx.net>
814 * tracer.[Ch]: remove unneeded files
816 * InsetList.[Ch]: remove resizeInsetsLyXText()
821 * text3.C: merge insertParagraphs() and appendParagraph()
822 remove breakAgain(), update()
824 * BufferView_pimpl.[Ch]:
825 * bufferview_funcs.[Ch]:
829 * tabular.C: adjust after text & InsetList changes.
831 2003-08-08 André Pönitz <poenitz@gmx.net>
833 * text.C (insertChar, backspace): replace rowlist fiddling
834 with rebreak of full par
837 * text.C (breakAgainOneRow, redoHeightOfParagraph,
838 checkParagraph, updateInset): removed
840 2003-08-07 André Pönitz <poenitz@gmx.net>
843 * text3.C: merge some LFUN handlers, remove dead code
845 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
847 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
849 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
851 * text2.C (DEPM): fix part of bug 1255 and 1256
853 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
855 * BufferView_pimpl.C (workAreaDispatch): change to use
856 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
857 that are no mouse related.
859 2003-08-05 André Pönitz <poenitz@gmx.net>
862 * BufferView_pimpl.[Ch]:
863 * bufferview_funcs.C:
865 * text3.C: rip out "deep update"
867 * textcursor.[Ch] (last_sel_cursor): remove unused member
869 2003-08-04 André Pönitz <poenitz@gmx.net>
872 * BufferView_pimpl.[Ch]:
873 * ParagraphParameters.C:
874 * bufferview_funcs.C:
880 * text3.C: replace "complicated" BufferView::update(...) calls with
883 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
885 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
887 * Makefile.am (lyx_SOURCES): add paper.h
889 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
891 * Makefile.am: move things around so that both lyx-qt and
892 lyx-xforms can be built (according to --with-frontend). Then lyx
893 is a symbolic link to lyx-[firstfrontend]
895 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
897 * Always use std::endl with lyxerr
899 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
901 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
903 2003-08-01 André Pönitz <poenitz@gmx.net>
906 * BufferView_pimpl.[Ch]:
908 * text3.C: merge BufferView::repaint() and BufferView::update()
910 2003-08-01 José Matos <jamatos@lyx.org>
912 * buffer.[Ch]: file_format is no longer a buffer data element.
914 2003-08-01 André Pönitz <poenitz@gmx.net>
919 * text2.C: make redoParagraph more independent of current cursor
921 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
923 * text2.C: remove unneeded members
925 2003-07-30 André Pönitz <poenitz@gmx.net>
927 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
929 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
930 create a single function...
932 * paragraph_funcs.C (moveItem): ... here.
935 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
937 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
939 * LColor.[Ch]: Add comment and greyedout logical colors.
941 2003-07-30 André Pönitz <poenitz@gmx.net>
943 * tabular.C: don't use Assert too heavily. This crashes where it
946 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
948 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
949 is disabled (bug 1232)
951 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
953 * factory.C: limited 'arg' scope
955 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
957 * factory.C: fixed Note submenu issues
959 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
961 * factory.C: submenu for Note/Comment/Greyedout
963 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
966 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
968 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
971 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
972 greyedout. Patch provided by Jürgen Spitzmüller.
974 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
976 * kbmap.C (read): fix error message when reading bind files
978 2003-07-29 Angus Leeming <leeming@lyx.org>
980 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
981 certainly does not do what it purports to do. I am doing it, and
982 us, a favour by killing it.
984 2003-07-28 José Matos <jamatos@lyx.org>
986 * buffer.C (readBody, do_writeFile):
987 * paragraph.C(readParagraph): \end_document replaces \the_end.
989 2003-07-29 André Pönitz <poenitz@gmx.net>
992 * BufferView_pimpl.[Ch]:
996 * textcursor.[Ch]: remove toggleToggle & Co
998 2003-07-28 José Matos <jamatos@fep.up.pt>
1000 * buffer.C (readParagraph):
1001 * params_func (readParToken, readParagraph):
1002 * paragraph.C (write): \layout -> \begin_layout.
1004 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1006 * lyxlex_pimpl.C (setFile): clean up slightly.
1008 * bufferparams.h: add compressed var
1010 * buffer_funcs.C (readFile): adjust for LyXLex change
1011 (newFile): ditto + simplify
1013 * buffer.C (writeFile): handle writing of compressed files
1015 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1016 Check if the file is compressed and set a bufferparm if so.
1018 * Makefile.am (lyx_LDADD): remove explicit -lz
1020 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1022 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1023 makeDocBookFile): put the real LyX version in the first line of
1027 * version.C.in: remove lyx_docversion
1029 * tabular.C (write_attribute): add a template-based version to
1030 write enums properly
1032 2003-07-28 André Pönitz <poenitz@gmx.net>
1037 * text3.C: use doubles again for x-coordinates. They are needed.
1039 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1041 * messages.C (getLocaleDir): use lyx_localedir()
1043 * lyxlex_pimpl.C (setFile): compress stuff
1045 * buffer.C (writeFile): add some compression stuff
1046 (do_writeFile): new func, dont call expliti close... will this
1049 * Makefile.am (lyx_LDADD): add -lz
1051 2003-07-28 José Matos <jamatos@fep.up.pt>
1053 * buffer.C: increment file format.
1054 * paragraph_funcs (readParagraph, readParToken):
1055 * paragraph.C (readParagraph): add \end_layout.
1057 2003-07-27 Angus Leeming <leeming@lyx.org>
1059 * Makefile.am: remove special casing for configure-time setting of
1060 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1062 * lyx_main.C (init): remove all Jean-Marc's magic setting of
1063 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1065 2003-07-26 André Pönitz <poenitz@gmx.net>
1067 * paragraph_func.[Ch]:
1068 * paragraph.C (realizeFont): inline it whereever it is used
1073 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1076 2003-07-26 André Pönitz <poenitz@gmx.net>
1080 * text2.C: get rid of LyXText::need_break_row
1082 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1084 * toc.[Ch]: put namespace toc inside namespace lyx
1086 * MenuBackend.C (expandToc2): adjust for lyx::toc
1089 * lyxfunc.C (dispatch): adjust for lyx::find
1091 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1092 lyx::find instead. Reorganize a bit.
1093 (LyXReplace): rename to replace
1094 (LyXFind): rename to find
1096 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1099 2003-07-26 André Pönitz <poenitz@gmx.net>
1101 * text.C (setHeightOfRow): restrict scope of temporary variable
1103 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1104 code (never has been used?)
1106 2003-07-27 Asger Alstrup <alstrup@local>
1108 * text.C (fill): Optimise algorithm to exploit that we can reuse
1109 the LyXFont for many characters.
1110 (setHeightOfRow): Same thing.
1111 (rowBreakPoint): Same thing.
1113 2003-07-26 Asger Alstrup <alstrup@local>
1115 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1117 * text.C (singleWidth): Spurious font copying in hot-spot
1118 singleWidth avoided. Reorder tests for arabic for efficiency.
1120 * text.C (fill): handle empty paragraphs better.
1122 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1125 * encoding.h: add includes
1127 * lyxrc.C: remove reading of bind files
1129 * lyx_main.C (init): setup bindings and menus only if we have a
1132 * kbmap.C (read): new method. Do the actual reading of bind
1135 * converter.C (dvipdfm_options):
1138 (output): adapt PAPER_* enums.
1140 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1142 * bufferparams.h: remove paper-related enums from there
1144 * paper.h: New file. A trivial header file to hold paper-related
1145 enums. It should later expand to contain many paper-related
1148 * lyxrc.C: declare extern displayTranslator
1150 2003-07-27 José Matos <jamatos@fep.up.pt>
1152 * tabular.[Ch] (linuxdoc): add support for tables and figures
1155 2003-07-27 José Matos <jamatos@fep.up.pt>
1157 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1158 consistency in both functions.
1159 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1161 2003-07-26 Asger Alstrup <alstrup@local>
1163 * rowpainter.C (paintRows): Change algorithm to work directly on
1164 the insets rather than asking every character in the document
1165 whether its an inset.
1167 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1169 * buffer.C (openFileWrite): factorize some code
1171 2003-07-26 Angus Leeming <leeming@lyx.org>
1174 * lyx_main.[Ch]: replace occurances of system_tempdir with
1177 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1179 * rename Inset to InsetOld
1181 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1183 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1184 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1185 which I think is a bit clearer. EDIT is gone, since it was
1186 premature optimisation, and broken for mathed anyway.
1187 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1188 with cursor positioning in insets as well (math insets still do not
1189 work, but that's a different story anyway.) It mysteriously
1190 crashes sometimes with undo in the first paragraph, but I'm fairly
1191 confident that this is a compiler bug.
1193 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1195 * paragraph.C (Paragraph): adjust for new clone return type
1197 (copyIntoMinibuffer): ditto
1199 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1201 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1202 by not having a special case, and always doing a full rebreak of
1203 the document after undo.
1205 2003-07-23 Angus Leeming <leeming@lyx.org>
1207 * factory.C (createInset): InsetExternal::setParams now takes a
1210 2003-07-23 Angus Leeming <leeming@lyx.org>
1212 * factory.C (createInset): changed interface to the external and
1213 graphics mailers' string2params functions.
1215 2003-07-23 Angus Leeming <leeming@lyx.org>
1217 * factory.C (createInset): pass a
1218 Buffer const * parameter to InsetExternalMailer's string2params.
1220 2003-07-22 John Levon <levon@movementarian.org>
1222 * Thesaurus.h: include the right aiksaurus header
1224 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1226 * MenuBackend.C (expand): check menu shortcuts unconditionally
1228 2003-07-21 Angus Leeming <leeming@lyx.org>
1230 * factory.C (createInset): pass a
1231 buffer_path parameter to InsetGraphicsMailer's string2params.
1233 2003-07-21 Angus Leeming <leeming@lyx.org>
1235 * BufferView_pimpl.C (buffer):
1238 * lyxfunc.C (dispatch):
1239 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1240 rather than the grfx shortcut.
1242 2003-07-21 André Pönitz <poenitz@gmx.net>
1244 * rowpainter.C: remove unused variables
1247 * tabular_funcs.h: move to tabular.C
1248 * Makefile.am: adjust
1250 * tabular.[Ch]: basic optical cleaning
1252 * author.h: pass references, not values
1254 2003-07-18 André Pönitz <poenitz@gmx.net>
1262 * text3.C: two-phase drawing for InsetText and InsetTabular
1263 some float -> int changes.
1265 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1267 * lyx_main.C: fix the fix
1269 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1271 * lyx_main.C: fix a crash in batch mode if no files specified
1274 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1276 * format.[Ch] (papersize): moved to BufferParams
1277 * converter.[Ch] (dvips_options): moved to BufferParams
1278 (dvipdfm_options): moved to anon namespace
1279 * bufferparams.[Ch]: added above functions.
1281 2003-07-17 André Pönitz <poenitz@gmx.net>
1285 * text2.C: don't call inset->update() anymore
1287 * metricsinfo.[Ch]: add convenience constructor
1289 2003-07-16 André Pönitz <poenitz@gmx.net>
1294 * text2.C: replace the LyXCursor::irow_ member with
1295 on-demand computation of the value
1297 2003-07-16 John Levon <levon@movementarian.org>
1299 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1301 2003-07-15 André Pönitz <poenitz@gmx.net>
1304 * text2.C: remove no more needed refresh_row
1306 2003-07-15 André Pönitz <poenitz@gmx.net>
1311 * text3.C: refresh_status tristate -> need_update bool
1313 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1315 * lyxtext.h (init): remove reinit argument (act as if always true)
1316 * text2.C: adjust to that
1318 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1320 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1321 * text3.C: use it to delete selections in some cases
1322 (bugs 441, 673, 702, 954).
1324 2003-07-14 André Pönitz <poenitz@gmx.net>
1326 * rowpainter.[Ch]: reduce interface
1328 2003-07-14 André Pönitz <poenitz@gmx.net>
1330 * BufferView_pimpl.C:
1331 * text2.C: adjust after removing unused BufferView * argument
1333 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1335 * text2.C (init): fix a crash fired on resize
1337 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1339 * buffer.[Ch]: added new closing signal
1340 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1341 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1342 BufferView::Pimpl via the closing the signal
1344 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1346 * buffer.[Ch]: take out all bv-related from buffer
1348 * BufferView_pimpl.[Ch]: connect to new signals
1349 * CutAndPaste.C: removed useless asserts
1350 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1353 * lyxfunc.C: moved view-related funciontality from vc here
1354 * paragraph.C: removed outdated comments
1357 2003-07-10 André Pönitz <poenitz@gmx.net>
1359 * BufferView_pimpl.C:
1363 * text2.C: remove InsetText::InnerCache, clean up consequences
1365 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1367 * ispell.C: fix two typos in error messages
1369 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1371 * Extend Note inset to other forms of annotation like Comment
1372 and Greyedout. Right button click gives dialog.
1374 Files modified or added (+):
1378 * ControlNote.[Ch] +
1380 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1381 frontends/controllers
1385 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1387 * aspell.C: add missing namespace lyx::support
1389 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1391 * BufferView.[Ch] (newFile): Add
1392 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1393 * LaTeX.[Ch] (message): added this signal and use it
1394 * buffer.[Ch] (busy, message): added these signals and use them
1395 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1399 * importer.C: use buffer signals instead of direct bv calling
1400 * lyx_cb.[Ch] (ShowMessage): removed
1403 * paragraph_funcs.C:
1404 * text2.C: use buffer signals
1406 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1408 * introduce namespace lyx::graphics
1410 2003-07-02 André Pönitz <poenitz@gmx.net>
1412 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1414 2003-07-01 André Pönitz <poenitz@gmx.net>
1421 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1422 text*.C to text_func.C
1424 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1426 * introduce namespace lyx::support
1428 2003-06-30 André Pönitz <poenitz@gmx.net>
1433 * text.C: re-enable --with-included-string
1435 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1437 * textcursor.C: add <config.h>
1439 * text.C (getWord): remove const from word_location arg
1441 * lyxvc.C (getLogFile): fix const type order
1443 * lyxtext.h: remove const from word_location arg, add arg name
1445 * lyxlayout.h: currect type on labeltype.
1447 * importer.C: correct \file
1449 * converter.C (intToFormat): use std:: on ret val, ws changes
1451 * bufferlist.h: correct \file
1453 * buffer.C (makeLinuxDocFile): fix const type order
1454 (makeDocBookFile): ditto
1455 (fillWithBibKeys): use std:: on stdlib args.
1457 * CutAndPaste.C: fix authors.
1458 (availableSelections): use std:: on return vector
1460 2003-06-27 André Pönitz <poenitz@gmx.net>
1462 * BufferView_pimpl.C:
1463 * bufferview_funcs.C:
1471 * text3.C: remove LyXCursor::row_ member
1474 * text.C: rename fullRebreak() to partialRebreak() and implement
1475 a fullRebreak() that really bereks fully
1477 * textcursor.h: new struct for cursor-related data
1479 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1481 * lyx_main.C (LyX): get full path of document loaded on the
1484 2003-06-26 André Pönitz <poenitz@gmx.net>
1486 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1487 remove unused/broken operator>,<,>=.
1489 * text.C: remove only use of broken operator<= in an Assert().
1491 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1493 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1494 moved errorlist_.clear to showErrorList
1496 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1498 * converter.C (scanLog, runLaTeX):
1499 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1500 move the bv->showErrorList call to the callers
1501 * lyxfunc.C: i.e. here...
1503 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1504 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1505 namespace, the second to...
1506 * buffer_funcs (BufferFormat, parseErrors): added
1507 * errorlist.C (ErrorList(TeXErrors const &)): removed
1509 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1511 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1513 2003-06-24 "Garst R. Reese" <reese@isn.net>
1517 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1519 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1521 * version.C.in: change docversion to 1.4
1523 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1525 * buffer.C: fix a bug just introduced
1527 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1529 * buffer.[Ch]: added the parseError signal and use it, removed
1531 * BufferView.[Ch] (addError): moved to ...
1532 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1533 to the Buffer::parseError signal to catch (guess what) parse errors
1534 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1536 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1538 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1539 ability to create a buffer and to return an existing one from
1540 the list. Moved these functions to...
1541 * buffer_funcs.[Ch]: added
1542 * BufferView.[Ch] (loadLyXFile): added
1543 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1544 job removed from bufferlist::loadLyXFile.
1545 * buffer.C (setReadOnly): make it work without view
1546 (i.e added an if (users))
1548 2003-06-19 Angus Leeming <leeming@lyx.org>
1551 * LyXAction.C (init):
1552 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1553 with LFUN_DIALOG_SHOW <name> <data>.
1555 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1557 * CutAndPaste.C (availableSelections): small compilation fix for
1558 ancient (gcc 2.9x) compilers
1560 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1562 * text3.C (cursorNext): add tmp var
1564 * text2.C (updateCounters): for function calling out of for clause
1565 (replaceSelectionWithString): ditto
1566 (insertStringAsParagraphs): ditto
1567 (getColumnNearX): add tmp var
1568 (setCursorFromCoordinates): add tmp var
1569 (cursorDownParagraph): add tmp var
1570 (deleteEmptyParagraphMechanism): add tmp var
1572 * text.C (insertChar): add tmp var
1574 * rowpainter.C (paintDepthBar): add tmp var
1576 * CutAndPaste.C (availableSelections): potentially check all
1577 paragraphs in a cut to fill the shown strings.
1579 2003-06-18 André Pönitz <poenitz@gmx.net>
1581 * kbmap.[Ch]: use vector<> instead of list<>
1583 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1585 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1586 pasteSelection with index
1588 * text2.C (pasteSelection): modify, call pasteSelection with index
1590 * paragraph.C (asString): reimplement version with no interval to
1591 call the one with interval.
1593 * lyxtext.h: add index arg to pasteSelection
1595 * MenuBackend.C (MenuItem): handle PasteRecent
1596 (Menu::read::Menutags): add md_pasterecent
1598 (expandPasteRecent): new function
1601 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1603 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1605 (availableSelections): new function
1607 2003-06-17 Angus Leeming <leeming@lyx.org>
1609 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1611 2003-06-17 Angus Leeming <leeming@lyx.org>
1614 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1616 * lyxfunc.C (dispatch): invoke it.
1618 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1620 * iterators.C (operator++, ParPosition): reintroduce some
1621 const_cast for the benefit of older compilers.
1623 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1625 * text3.C (dispatch): do not modify clipboard when doing
1626 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1627 LFUN_DELETE_SKIP on a selection selection
1629 2003-06-16 André Pönitz <poenitz@gmx.net>
1635 * tabular.[Ch]: IU of clone() and getLabelList();
1637 2003-06-13 André Pönitz <poenitz@gmx.net>
1639 * tabular.h: compactification
1641 2003-06-12 André Pönitz <poenitz@gmx.net>
1645 * tabular_funcs.h: some renaming plus whitespace
1647 2003-06-12 André Pönitz <poenitz@gmx.net>
1650 * BufferView_pimpl.C:
1656 * toc.C: Return a Paragraph & for ParIterator::operator*()
1658 2003-06-11 John Levon <levon@movementarian.org>
1662 * ToolbarBackend.C: add "Toolbars" section and
1665 2003-06-10 Angus Leeming <leeming@lyx.org>
1668 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1670 * lyxfunc.C (dispatch): invoke it.
1672 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1674 * main.C: protect <ios> with HAVE_IOS
1675 (main): protect sync_with_stdio with HAVE_IOS
1677 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1679 * text2.C (cutSelection): adjust
1680 (pasteSelection): adjust
1682 * messages.C: handle get of empty string
1684 * main.C (main): use sync_with_stdio(false)
1686 * lyxfunc.C (dispatch): adjust
1688 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1689 (WriteAs): remove unneeded BufferView arg.
1691 * bufferparams.h: use correct types on papersize, papersize2 and
1694 * bufferparams.C (readToken): adjust for type
1695 (writeLaTeX): add missing cases to switch.
1697 * bufferlist.C (quitWriteBuffer): adjust
1700 * buffer.C (asciiParagraph): remove some commented code.
1702 * CutAndPaste.C: remove current_view extern variable.
1703 (cutSelection): add BufferParams arg.
1704 (eraseSelection): add BufferParams arg.
1705 (pasteSelection): add Buffer const & arg
1707 2003-06-07 John Levon <levon@movementarian.org>
1710 * paragraph_funcs.C:
1711 * paragraph_pimpl.C:
1715 * paragraph.C: allow InsetERT to freely space lines,
1716 and some consolidation of code
1718 2003-06-06 José Matos <jamatos@fep.up.pt>
1720 * buffer.C (makeDocBookFile): fix bug #821
1722 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1724 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1726 2003-06-04 Angus Leeming <leeming@lyx.org>
1728 * buffer.C: bump format to 224.
1730 2003-06-05 André Pönitz <poenitz@gmx.net>
1732 * text2.C (redoParagraphs): remove two const_cast<>
1734 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1736 * ParagraphList.h: remove last remnants of NO_STD_LIST
1738 2003-06-03 Angus Leeming <leeming@lyx.org>
1740 * factory.C (createInset): small change to the way InsetExternal's params
1743 2003-06-04 André Pönitz <poenitz@gmx.net>
1745 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1747 * paragraph_pimpl.h:
1748 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1750 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1752 * undo_funcs.C: make some simple cases of undo work again
1754 2003-06-03 John Levon <levon@movementarian.org>
1756 * ispell.C: HPUX doesn't have sys/select.h
1759 2003-06-03 John Levon <levon@movementarian.org>
1761 * CutAndPaste.C: update tabular and include inset
1766 * paragraph.C: remove owningBuffer(), don't pass Buffer
1769 * factory.C: insetGraphicsParams changed
1771 2003-06-02 John Levon <levon@movementarian.org>
1777 * text3.C: remove insetparent
1779 2003-06-02 John Levon <levon@movementarian.org>
1782 * buffer.C: fix inset_iterator.end(), move out of line
1785 2003-06-01 John Levon <levon@movementarian.org>
1787 * text3.C: use a proper cut/paste when doing inset
1788 insert (from Jürgen Spitzmüller)
1790 2003-06-01 John Levon <levon@movementarian.org>
1792 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1794 2003-05-30 André Pönitz <poenitz@gmx.net>
1796 * rowpainter.C: unify second drawing phase
1798 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1800 * trans_mgr.C: remove one case of current_view
1802 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1804 * paragraph_funcs.h: remove paragraph.h include
1806 * paragraph.h: delete NO_STD_LIST stuff
1808 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1810 * buffer.h: remove paragraph.h include
1812 * ParagraphList.C: delete file
1814 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1816 * toc.C (getTocList): adjust
1818 * paragraph_pimpl.C (validate): adjust
1820 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1822 * paragraph.C (Paragraph): adjust
1823 (getPositionOfInset): use const_iterator, adjust
1824 (bibitem): use const_iterator, adjust
1825 (setInsetOwner): adjust
1827 * iterators.C (operator++): adjust
1829 * InsetList.[Ch]: Replace selfmade iterator with standard
1830 vector::iterator also introduce const_iterator. Remove getPos,
1831 getInset and setInset from InsetTable. Adjust accordingly.
1833 * BufferView.C (lockInset): adjust
1834 (ChangeInsets): adjust
1836 * tabular.[Ch]: delete commented same_id functions
1838 2003-05-28 John Levon <levon@movementarian.org>
1840 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1842 2003-05-28 André Pönitz <poenitz@gmx.net>
1844 * metricsinfo.[Ch]: remove 'fullredraw' member
1846 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1848 * lyxtextclass.C (operator): remove caching.
1850 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1854 * text2.C (cursorBottom): adjust
1855 (setCounter): use ParagraphList::find, adjust
1857 * text.C (workWidth): use ParagraphList::find, adjust
1859 * lyxcursor.C (LyXCursor): adjust
1861 * buffer.C (inset_iterator): adjust
1863 * ParagraphList.h: make iterator(value_type) private, make
1864 ParagraphList a friend of iterator.
1866 * ParagraphList.C (find): new function
1868 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1870 2003-05-27 André Pönitz <poenitz@gmx.net>
1872 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1874 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1876 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1878 2003-05-26 John Levon <levon@movementarian.org>
1880 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1882 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1884 * remove same_id from function signatures, adjust.
1886 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1888 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1890 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1892 * paragraph.C (Paragraph): get rid of same_ids parameter
1894 * ParagraphList.C (insert): adjust
1897 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1899 * paragraph_funcs.C (breakParagraph): adjust
1900 (breakParagraphConservative): adjust
1902 * buffer.C (readParagraph): adjust
1904 * ParagraphList.C (insert): take a reference instead of a pointer
1907 * paragraph.[Ch] (id): new function
1909 * bufferlist.C (newFile): adjust
1911 * ParagraphList.C (ParagraphList): adjust
1913 (push_back): take a reference instead of a pointer.
1915 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1917 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1920 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1921 set else use old code.
1923 * ParagraphList.C: remove all NO_NEXT code and only compile this
1924 code of NO_STD_LIST is set.
1926 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1928 * BufferView_pimpl.C:
1938 * graphics/GraphicsConverter.C:
1939 * graphics/PreviewLoader.C: header adjustment
1941 2003-05-23 Angus Leeming <leeming@lyx.org>
1943 * LaTeXFeatures.[Ch] (useBabel): new method.
1944 * bufferparams.C (writeLaTeX): use it.
1946 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1948 * ParagraphList.h (set): remove unused function.
1950 2003-05-23 André Pönitz <poenitz@gmx.net>
1953 * BufferView_pimpl.C:
1957 * undo_funcs.C: setUndo reworked
1959 * iterators.[Ch]: add access to topmost ParagraphList
1961 * lyxtext.[Ch] (workWidth): add a const
1963 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1965 * texrow.[Ch] (increasePos): remove function
1966 * exporter.C (export): removed unused var and outdated comment
1968 2003-05-23 Angus Leeming <leeming@lyx.org>
1970 * latexrunparams.h: rename fragile as moving_arg.
1971 * paragraph.C (simpleTeXOnePar): ditto.
1972 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1974 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1976 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1978 (textUndoOrRedo): comment out a currently unused var.
1980 * paragraph.h (NO_NEXT): enable NO_NEXT
1982 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1984 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1986 * exporter.C (Export): adjust for removeAutoInsets removal.
1988 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1990 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1992 * BufferView.[Ch] (removeAutoInsets): delete function
1994 2003-05-22 Angus Leeming <leeming@lyx.org>
1996 * latexrunparams.h: add a free_spacing variable.
1998 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1999 to pass moving_arg, as the data is stored in runparams.fragile.
2001 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2002 to Inset::latexOptional or to simpleTeXOnePar.
2004 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2005 free_spacing arg to Inset::latexOptional.
2007 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2010 2003-05-22 Angus Leeming <leeming@lyx.org>
2012 * latexrunparams.h: add fragile and use_babel variables.
2014 * bufferparams.[Ch] (writeLaTeX): return use_babel.
2015 * buffer.C (makeLaTeXFile): store this returned value in
2016 runparams.use_babel, thus passing it to the inset::latex methods.
2018 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2019 simpleTeXSpecialChars as it is now stored in runparams.fragile.
2021 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2022 longer has a fragile arg, as it is stored in runparams.fragile.
2024 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2025 moving_arg parameter as the data is stored in runparams.fragile.
2027 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2028 a fragile parameter as the data is stored in runparams.fragile.
2030 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2032 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2034 2003-05-22 Angus Leeming <leeming@lyx.org>
2036 * latexrunparams.h: add a 'bool nice' which defaults to false.
2038 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2039 now encapsulated within runparams.
2041 * bufferlist.C (updateIncludedTeXfiles):
2042 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2044 2003-05-22 Angus Leeming <leeming@lyx.org>
2046 * latexrunparams.h: new file containing struct LatexRunParams.
2047 * Makefile.am: add new file.
2049 * LaTeX.[Ch] (c-tor, run):
2050 * buffer.[Ch] (makeLaTeXFile):
2051 * bufferlist.[Ch] (updateIncludedTeXfiles):
2052 * converter.C (convert, scanLog):
2053 * converter.[Ch] (runLaTeX):
2054 * exporter.C (Export):
2055 * paragraph.[Ch] (simpleTeXOnePar):
2056 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2057 * paragraph_funcs.[Ch] (latexParagraphs):
2058 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2059 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2060 pass around a LatexRunParams parameter.
2062 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2064 * paragraph.[Ch]: remove unused constructor
2066 * ParagraphList.C (erase): new function, taking two iterators
2068 2003-05-22 André Pönitz <poenitz@gmx.net>
2070 * undo_funcs.C: remove duplicated code
2072 * iterator.[Ch]: operator=
2074 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2076 * tabular.C (SetMultiColumn): ws changes
2078 * rowpainter.C (paintFirst): get rid of a ->previous
2080 * lyx_cb.C (getPossibleLabel): parlist simplification
2082 * BufferView.C (ChangeInsets): simplify slightly.
2084 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2086 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2087 * lfuns.h: new LFUN_SPACE
2088 * lyxfunc.C: protected space has a new lfun
2089 * paragraph_funcs.C: read new space insets
2091 * factory.C: handle new space insets
2093 2003-05-22 André Pönitz <poenitz@gmx.net>
2096 * BufferView_pimpl.C:
2099 * undo_funcs.C: return a ParIterator from getParFromID.
2101 * iterators.[Ch]: add two const's
2103 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2105 * toc.C (getTocList): adjust
2107 * iterators.[Ch]: rework for parlist
2109 * buffer.C (par_iterator_begin): adjust
2110 (par_iterator_end): adjust
2112 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2114 * BufferView.C (removeAutoInsets): adjust
2115 (ChangeInsets): adjust
2117 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2119 * text.C (top_y): fix bug 1110
2121 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2123 * errorlist.[Ch]: added
2126 * BufferView_pimpl.C:
2127 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2130 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2132 * Makefile.am: ensure that lyx is relinked upon changes to the
2133 various "convenience" libs.
2135 2003-05-20 Angus Leeming <leeming@lyx.org>
2137 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2138 files are compiled in alphabetical order again.
2140 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2142 2003-05-19 Angus Leeming <leeming@lyx.org>
2144 * gettext.[Ch]: remove "char const * _(char const *)".
2146 2003-05-19 André Pönitz <poenitz@gmx.net>
2148 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2157 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2159 2003-05-19 André Pönitz <poenitz@gmx.net>
2163 * lyxtextclass.[Ch]:
2165 * paragraph_funcs.[Ch]:
2167 * text3.C: more insetenv work
2169 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2171 * ParagraphParameters.C (params2string): small bug fixed
2173 2003-05-16 André Pönitz <poenitz@gmx.net>
2176 * bufferview_funcs.C: patch from Kornel Benko to prevent
2177 crash when _(...) is called twice in a statement
2179 2003-05-16 André Pönitz <poenitz@gmx.net>
2186 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2188 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2190 * lyx_main.C (init): remove spurious static_cast
2192 2003-05-14 André Pönitz <poenitz@gmx.net>
2194 * BufferView.C: fix format string
2196 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2198 * BufferView.[Ch] (insertErrors): removed
2199 * BufferView.[Ch] (showErrorList): added
2200 * buffer.C (runChkTeX):
2201 * converter.C (scanLog): call showErrorList instead of inserterrors
2203 2003-05-13 André Pönitz <poenitz@gmx.net>
2205 * BufferView_pimpl.C:
2207 * bufferview_func.C:
2214 * tabular_funcs.h: tostr() from its own header
2216 * ParagraphParameters.C:
2221 * text3.C: STRCONV()
2223 2003-05-12 André Pönitz <poenitz@gmx.net>
2226 * BufferView_pimpl.C:
2230 * ParagraphParameters.C:
2234 * bufferview_funcs.C:
2247 * paragraph_funcs.C:
2251 * text3.C: boost::format -> bformat all over the place
2254 2003-05-09 André Pönitz <poenitz@gmx.net>
2256 * LColor.[Ch]: Pimpl the #include <map> away
2258 2003-05-09 John Levon <levon@movementarian.org>
2260 * bufferlist.C: never remove emergency saves
2262 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2264 * Makefile.am: better lib building
2266 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2268 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2270 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2271 (simpleTeXSpecialChars): adjust
2272 (simpleTeXSpecialChars): adjust
2273 * paragraph.C (simpleTeXOnePar): adjust
2274 * buffer.C (makeLaTeXFile): adjust
2276 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2278 * text2.C (changeDepth): parlist cleanup
2279 (getColumnNearX): ditto
2281 * rowpainter.C (getLabelFont): parlist cleanup
2283 * bufferlist.C (newFile): parlist cleanup
2285 * CutAndPaste.C (eraseSelection): parlist cleanup
2287 * BufferView_pimpl.C (trackChanges): parlist cleanup
2290 * BufferView.C (lockInset): parlist cleanup.
2291 (ChangeInsets): ditto
2293 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2295 * CutAndPaste.h: Update file header.
2297 * CutAndPaste.C: Update file header.
2298 Store the parts cut out of the Document in a limited_stack.
2299 (copySelection): adjust
2300 (pasteSelection): new function, takes the index in the limited stack.
2301 (nrOfParagraphs): adjust
2302 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2303 simplify error inset insertion.
2304 (checkPastePossible): adjust
2306 2003-05-06 John Levon <levon@movementarian.org>
2308 * text2.C: don't cast wrap inset to float
2310 2003-05-05 André Pönitz <poenitz@gmx.net>
2313 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2315 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2316 few naked Paragraph *.
2318 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2320 * bufferparams.C: Output warning if a document with missing
2321 TeX document class is loaded
2322 * exporter.C: Disable TeX exports if the document class is missing
2325 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2326 isTeXClassAvailable()
2328 2003-05-03 John Levon <levon@movementarian.org>
2331 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2332 explicit cursor show/hide
2334 * BufferView_pimpl.h:
2335 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2336 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2338 * lyxfunc.C: hide cursor before dispatching.
2343 * text3.C: remove explicit cursor hides
2345 2003-05-02 André Pönitz <poenitz@gmx.net>
2347 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2350 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2353 * text2.C: tiny whitespace
2355 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2357 * undo_funcs.C: almost only ws changes.
2359 * ParagraphList.C (splice): just return if pl is empty.
2361 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2363 * ParagraphList.C (splice): new function.
2365 * CutAndPaste.C (pasteSelection): use it
2367 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2369 * CutAndPaste.C (pasteSelection): remove the last next and
2370 previous from this file.
2372 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2374 * CutAndPaste.C (pasteSelection): more clean up, user proper
2375 ParagraphList functions for pasteing.
2377 * ParagraphList.C (insert): new function, three arg insert
2379 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2381 * ParagraphList.C (insert): new function, three arg insert
2383 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2386 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2388 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2390 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2392 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2394 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2396 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2397 (copySelection): clean up a bit.
2398 (pasteSelection): use make_pair
2400 * ParagraphList.C (ParagraphList): implement copy constructor
2401 (operator=): implement, base on copy constructor.
2404 * paragraph.C (erase): return a bool
2406 * paragraph_pimpl.C (erasePos): remove function, move contents...
2407 (erase): ... here. Return a bool.
2408 (erase): call erase instead of erasePos.
2410 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2412 * ParagraphList.h: define PitPosPair
2413 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2414 ParagraphList, fix a bug on pasting multiple pars
2415 * text2.C: change interface to C&P
2417 2003-04-30 André Pönitz <poenitz@gmx.net>
2419 * undo_func.C: revert part of yesterday's patch 2
2421 2003-04-30 John Levon <levon@movementarian.org>
2423 * LColor.C: s/tabular/table/
2425 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2427 * text3.C (dispatch): do not convert iterator -> pointer
2428 * undo_funcs.C (setCursorParUndo): ditto
2429 * text_funcs.C (transposeChars): ditto
2431 * text2.C (setLayout): ws changes only
2433 * text.C (breakParagraph): do not convert iterator -> pointer
2435 (acceptChange): ditto
2436 (rejectChange): ditto
2441 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2444 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2446 * text3.C (gotoInset): YABG (yet another bad getChar)
2448 2003-04-29 André Pönitz <poenitz@gmx.net>
2450 * paragraph.h: make operator= private unimplemented as long as
2453 * ParagraphList.C: whitespace
2456 * paragraph_pimpl.[Ch]:
2457 * paragraph_funcs.C:
2459 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2462 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2464 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2466 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2467 * paragraph.[Ch] (erase):
2468 * paragraph_pimpl.[Ch] (erase): change return type and value
2469 * text2.C (cutSelection): some rework
2471 2003-04-28 John Levon <levon@movementarian.org>
2473 * bufferlist.C: changes for unsaved changes dialog
2475 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2477 * bufferlist.C (newFile): set language (messages_) for new
2480 * buffer.C (readFile): ws changes only.
2482 2003-04-28 André Pönitz <poenitz@gmx.net>
2487 * BufferView_pimpl.C:
2488 * BufferView.C: getParFromID related ParagraphList::iterator changes
2490 2003-04-28 André Pönitz <poenitz@gmx.net>
2492 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2495 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2497 * messages.C: remove one more localedir class variable.
2499 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2501 * messages.C (getLocaleDir): singleton generation function
2503 (Messages): add a default constructor.
2505 * main.C (main): do not setup localedir here, do not call
2508 * gettext.C (_): use it.
2509 (gettext_init): delete funciton
2511 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2513 * gettext.C (getLyXMessages): new singleton generating function.
2515 * buffer.C (updateDocLang): adjust
2517 * Makefile.am (messages.o): add target
2518 (main.o): remove target
2520 2003-04-27 John Levon <levon@movementarian.org>
2525 * lyxvc.C: specify cancel button in Alert::prompt
2527 2003-04-26 John Levon <levon@movementarian.org>
2532 * LyXAction.C: add LFUN_INSET_SETTINGS
2534 * lyxfunc.C: don't enable tabular-feature when there's
2535 just any locking inset
2537 2003-04-26 John Levon <levon@movementarian.org>
2539 * bufferlist.C: re-add Cancel to buffer close question
2541 * lyxfunc.C: fix import UI a bit
2543 2003-04-25 John Levon <levon@movementarian.org>
2545 * gettext.C: remove the broken asserts for now
2547 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2549 * messages.C: make case where setlocale cannot comply work better.
2551 * buffer.C (updateDocLang): new function
2552 (changeLanguage): use it
2555 * text2.C (setCounter): use B_ a bit.
2557 * lyxlayout.C (Read): be sure to trim the label strings.
2559 * messages.C (Messages): fix typo in comment
2561 * buffer.C (readFile): set message_ after file is loaded.
2562 (makeDocBookFile): remove double return
2563 (changeLanguage): reset message_ upon language change.
2564 (B_): new func, use this to get translated buffer strings.
2566 * main.C: add myself and Jean Marc as authors.
2568 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2570 * messages.[hC]: pimplify Messages, and three different pimpls to be
2571 used in different circumstances.
2573 * gettext.[Ch]: change for use with new message code.
2575 2003-04-24 André Pönitz <poenitz@gmx.net>
2577 * factory.C: support for eqref
2579 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2581 * messages.[Ch]: add missing char
2583 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2585 * messages.[Ch]: New files
2587 2003-04-18 John Levon <levon@movementarian.org>
2591 * BufferView_pimpl.C:
2595 * text2.C: remove layout-copy/paste (bug 778)
2597 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2599 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2601 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2603 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2604 if they succeed. Act accordingly.
2606 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2608 * text2.C (setCharFont): adjust
2609 (setCounter): adjust
2610 (insertStringAsLines): adjust
2612 * text.C (leftMargin): adjust
2613 (setHeightOfRow): adjust
2615 * rowpainter.C (paintFirst): adjust
2618 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2620 (isFirstInSequence): ditto
2621 (getEndLabel): ditto
2624 * paragraph.C (getParLanguage): comment out some hard stuff.
2626 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2628 (simpleDocBookOnePar): ditto
2629 (makeDocBookFile): use ParagraphList::iterator
2631 * CutAndPaste.C (pasteSelection): adjust
2633 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2635 * text2.C (getFont): adjust
2636 (getLayoutFont): adjust
2637 (getLabelFont): adjust
2639 * paragraph_funcs.C (TeXOnePar): adjust
2641 * buffer.C (simpleLinuxDocOnePar): adjust
2642 (simpleDocBookOnePar): adjust
2644 * CutAndPaste.C (pasteSelection): adjust
2646 * BufferView.C (getEncoding): adjust
2648 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2650 2003-04-16 John Levon <levon@movementarian.org>
2652 * lyxfind.C: use parlist stuff for search/changes
2654 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2656 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2658 * text2.C (deleteEmptyParagraphMechanism): adjust
2660 * text2.[Ch] (ownerParagraph): delete func (both of them
2662 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2664 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2666 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2668 * ParagraphList.C: prepare for NO_NEXT
2670 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2672 * text2.C (getFont): adjust
2673 (getLayoutFont): adjust
2674 (getLabelFont): adjust
2676 * paragraph.C (getFont): adjust
2677 (getLabelFont): adjust
2678 (getLayoutFont): adjust
2680 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2682 2003-04-15 John Levon <levon@movementarian.org>
2686 * lyx_main.C: handle Include in .ui files
2688 2003-04-15 John Levon <levon@movementarian.org>
2690 * MenuBackend.C: make the doc files length shorter
2693 * ToolbarBackend.C: handle toolbar placement flags,
2696 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2698 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2701 * paragraph_funcs.C (TeXOnePar): adjust
2703 * paragraph.C (getLabelFont): add outerfont arg, adjust
2704 (getLayoutFont): ditto
2705 (simpleTeXOnePar): adjust
2707 * paragraph_pimpl.C (realizeFont): delete func
2709 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2711 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2712 row argument, constify cur argument.
2714 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2716 * text2.C (getFont): adjust
2717 (getLayoutFont): adjust
2718 (getLabelFont): adjust
2720 * paragraph_funcs.C (TeXOnePar): adjust
2721 (outerFont): new func...
2722 (realizeFont): ...moved out from here, changed this to facilitate
2725 * paragraph.C (getFont): take outerfont as arg, adjust
2726 (simpleTeXOnePar): add outerfont arg, adjust
2728 * buffer.C (simpleLinuxDocOnePar): adjust
2729 (simpleDocBookOnePar): adjust
2731 * CutAndPaste.C (pasteSelection): adjust
2733 * BufferView.C (getEncoding): adjust
2735 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2737 * text2.C (setCharFont): adjust
2738 (setCounter): adjust
2740 * text.C (leftMargin): adjust
2741 (setHeightOfRow): adjust
2743 * rowpainter.C (paintFirst): adjust
2746 * paragraph_pimpl.C (realizeFont): adjust
2748 * paragraph.C (isFirstInSequence): move from here...
2749 * paragraph_funcs.C (isFirstInSequence): ...to here
2751 * paragraph.C (outerHook): move from here...
2752 * paragraph_funcs.C (outerHook): ...to here
2754 * paragraph.C (depthHook): move from here...
2755 * paragraph_funcs.C (depthHook): ...to here
2757 * paragraph.C (getEndLabel): move from here...
2758 * paragraph_funcs.C (getEndLabel): ...to here
2760 * text2.C (realizeFont): move from here...
2761 * paragraph_funcs.C (realizeFont): ...to here
2763 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2765 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2767 2003-04-14 Angus Leeming <leeming@lyx.org>
2769 * LColor.[Ch]: scrap LColor mathcursor.
2771 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2773 * lyxlex.[Ch] (text): delete function
2774 * trans.C (Load): adjust
2775 * paragraph_funcs.C (readParToken): adjust
2777 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2779 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2780 vector<char> instead of a char[].
2782 * lyxlex_pimpl.C (getString): adjust
2784 (lex): use getString
2788 * lyxlex.C (text): use pimpl_->getString()
2792 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2794 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2795 (makeFontEntriesLayoutSpecific): temp var for par.size()
2796 (setLayout): temp var for ownerParagraphs().end()
2797 (fullRebreak): temp var for rows().end()
2798 (selectionAsString): temp var for boost::next(startpit), realize
2799 that the while really is a regular for loop.
2800 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2801 setCursor in one place.
2802 (setParagraph): temp vr for ownerParagraphs().end()
2803 (updateCounters): make the while loop a for loop
2804 (cutSelection): temp var for ownerParagraphs().end()
2805 (updateInset): make the do {} while() a regular for loop
2806 (getCursorX): use temp vars
2807 (setCurrentFont): use temp vars
2808 (getColumnNearX): use temp vars
2810 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2812 * text.C (transformChar): use temp var for getChar
2813 (computeBidiTables): use temp var for row->par()
2814 (fill): move temp vars for row->par() and pit->layout() earlier in
2816 (labelFill): use temp var for row->par()
2817 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2818 asc and desc, realize that pit never changes and that firstpit is
2819 just a duplicate and not needed. Exchange rit->par() with pit in a
2821 (breakAgain): use a temp var for boost::next(rit)
2822 (breakAgainOneRow): ditto
2823 (breakParagraph): use a temp var for rows().begin()
2824 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2825 (cursorRightOneWord): use temp var for cursor.par() and
2826 cursor.pos(), remove usage of tmpcursor.
2827 (cursorLeftOneWord): use temp var for cursor.par() and
2828 cursor.pos() only set cur at end of function.
2830 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2832 * text.C, text2.C: exchange all usage of Paragraph::next with
2833 boost::next(ParagraphList::iterator)
2835 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2837 * text2.C (cursorTop): simplify implementation
2838 (cursorBottom): ditto
2839 (setParagraph): use ParagraphList::iterator
2840 (setCurrentFont): adjust
2841 (getColumnNearX): adjust
2842 (cursorRight): adjust
2843 (cursorLeft): remove usage of Paragraph::previous
2844 (cursorUpParagraph): ditto
2845 (deleteEmptyParagraphMechanism): slight cleanup
2847 * text.C (isBoundary): take a Paragraph const & instead of a
2849 (addressBreakPoint): ditto
2850 (leftMargin): remove usage of Paragraph::previous.
2851 (setHeightOfRow): ditto
2852 (cursorLeftOneWord): ditto
2853 (selectNextWordToSpellcheck): ditto
2856 (breakParagraph): remove one usage of Paragraph::next
2857 (redoParagraph): ditto
2858 (acceptChange): ditto
2859 (insertChar): adjust
2860 (rowBreakPoint): adjust
2862 * bufferview_funcs.C (toggleAndShow): adjust
2864 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2866 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2867 methods to access it.
2869 * text.C: Added updateRowPositions to compute all row positions.
2870 Make top_y and getRowNearY() to use the cached y position
2872 2003-04-11 John Levon <levon@movementarian.org>
2874 * text.C (rowBreakPoint): reintroduce the labelEnd
2875 checks, code copied from the row fill stuff. Deep voodoo.
2877 * text.C (fill): add a comment and debugging for the
2880 2003-04-11 John Levon <levon@movementarian.org>
2882 * text.C: make sure fullrow insets get wrapped to the next line,
2883 even when they're in a manual label
2885 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2887 * text2.C (insertParagraph): make it take ParagraphList::iterator
2889 (setLayout): make it return ParagraphList::iterator
2890 (redoParagraphs): ditto
2892 (checkParagraph): ditto
2894 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2896 * text2.C: adjust several funcs.
2897 (realizeFont): take a ParagraphList::iterator as arg.
2898 (getLayoutFont): ditto
2899 (getLabelFont): ditto
2900 (setCharFont): ditto
2902 * text.C: adjust several funcs.
2904 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2906 * text.C (selectNextWordToSpellcheck): don't accidentally
2909 2003-04-10 John Levon <levon@movementarian.org>
2911 * ToolbarBackend.C (getIcon): special handling for
2914 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2916 * text2.C (cursorRight): a getChar assert fixed
2918 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2920 * text2.C (getFont): change to take a ParagraphList::iterator
2921 instead of Paragraph*
2922 Adjust several functions.
2924 * text.C (transformChar): change to take a ParagraphList::iterator
2925 instead of Paragraph*
2926 (singleWidth): ditto
2927 Adjust several functions.
2929 * rowpainter.C: adjust several functions
2930 * rowpainter.h:store a ParagraphList::iterator and not a
2934 2003-04-09 John Levon <levon@movementarian.org>
2939 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2940 and the "help" bits as well
2942 2003-04-09 John Levon <levon@movementarian.org>
2945 * ToolbarBackend.C: allow multiple toolbars
2947 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2949 * undo_funcs.C (setCursorParUndo): adjust
2951 * text_funcs.C (transposeChars): adjust
2953 * text3.C (gotoNextInset): adjust
2956 * text2.C (setLayout): adjust
2957 (changeDepth): adjust
2959 (redoParagraphs): adjust
2960 (selectionAsString): adjust
2961 (setParagraph): adjust
2962 (insertInset): adjust
2963 (cutSelection): adjust
2964 (copySelection): adjust
2965 (pasteSelection): adjust
2966 (insertStringAsLines): adjust
2967 (updateInset): adjust
2968 (setCursor): change to take a ParagraphList::iterator parameter
2969 (setCursorIntern): change to take a ParagraphList::iterator parameter
2970 (setCurrentFont): adjust
2971 (cursorLeft): adjust
2972 (cursorRight): adjust
2973 (deleteEmptyParagraphMechanism): adjust
2975 * text.C (breakParagraph): adjust
2976 (insertChar): adjust
2977 (acceptChange): adjust
2978 (rejectChange): adjust
2979 (selectNextWordToSpellcheck): adjust
2980 (changeCase): adjust
2984 * lyxfind.C (SearchForward): adjust
2985 (SearchBackward): adjust
2986 (nextChange): adjust
2988 * lyxcursor.C (par): adjust
2990 * lyxcursor.h: store a ParagraphList::iterator instead of a
2993 * lyx_cb.C (getPossibleLabel): adjust
2995 * bufferview_funcs.C (toggleAndShow): adjust
2997 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3000 * BufferView.C (removeAutoInsets): adjust
3001 (lockedInsetStoreUndo): adjust
3003 2003-04-09 John Levon <levon@movementarian.org>
3005 * ToolbarBackend.C: try icon without argument
3006 if with argument fails
3008 2003-04-08 John Levon <levon@movementarian.org>
3011 * ToolbarBackend.C: add getIcon(), handle tooltip,
3012 and change from "Icon" to "Item".
3014 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3016 * BufferView.C (lockInset): another bad getchar crunched
3018 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
3020 * text2.C (changeDepth): do not setUndo on test_only (make undo work
3023 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3025 * lyxfind.C (searchForward, searchBackwards): bug 782
3027 2003-04-07 John Levon <levon@movementarian.org>
3029 * paragraph.C: remove dead comment
3031 * text.C: remove troublesome depth-fiddling code
3032 in leftMargin() and rightMargin() (bug 1017)
3034 * text.C: fix breaking of rows in nested lists
3037 * text2.C (updateCounters): fix up depth values
3040 2003-04-07 John Levon <levon@movementarian.org>
3042 * BufferView_pimpl.C: clear message when doc finishes resizing,
3043 and after a mouse event
3045 * lyxfunc.C: clear message after exiting inset
3047 2003-04-07 John Levon <levon@movementarian.org>
3049 * bufferview_funcs.C: show math status not outside
3050 status in the statusbar
3052 2003-04-07 John Levon <levon@movementarian.org>
3054 * lyxfunc.C: note status changed after a depth change
3056 2003-04-04 Angus Leeming <leeming@lyx.org>
3058 * LaTeX.h: move AuxInfo operator==, != out of line.
3059 Remove LaTeX virtual destructor; nothing derives from it.
3060 Move operator()() out of public area and rename it startscript().
3061 Change protected for private.
3063 2003-04-04 Angus Leeming <leeming@lyx.org>
3066 * text2.C: remove unneeded #includes.
3068 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3070 * text2.C (dEPM): fix the heigth of the next row
3072 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
3074 * text.C: squashed an invalid getChar requester + some ws changes
3076 2003-04-03 John Levon <levon@movementarian.org>
3078 * bufferview_funcs.h:
3079 * bufferview_funcs.C:
3082 * text2.C: make getStatus work for the env depth lfuns
3084 2003-04-03 John Levon <levon@movementarian.org>
3086 * bufferview_funcs.h:
3087 * bufferview_funcs.C:
3090 * text2.C: parlistize decDepth(), by merging it with incDepth()
3092 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3094 * lyxrow.h: store a ParagraphList::iterator instead of a
3095 Paragraph* and adjust other class functions to suit.
3097 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3100 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3102 * text2.C (setCursor): do not anchor to cursor row for the time being
3104 2003-04-02 John Levon <levon@movementarian.org>
3111 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3113 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3115 * paragraph.h: make ParagraphList and ParagraphList::iterator
3116 friends of Paragraph.
3118 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3120 * ParagraphList.C: Use the private next_ and previous_ from
3123 2003-04-01 John Levon <levon@movementarian.org>
3127 * Makefile.am: rename, remove defaults gunk
3130 * MenuBackend.C: remove defaults gunk
3133 * Languages.C: remove defaults gunk
3136 * lyx_main.C: error out if files couldn't be found.
3138 2003-04-02 John Levon <levon@movementarian.org>
3140 * text2.C: make incDepth() use parlist
3142 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3144 * undo_funcs.C (firstUndoParagraph): adjust
3146 * text3.C (gotoInset): adjust
3147 (dispatch): adjust, and rewrite loop.
3149 * text2.C (init): adjust, and rewrite loop.
3150 (redoParagraphs): adjust
3151 (updateInset): adjust, and rewrite loop.
3152 (deleteEmptyParagraphMechanism): adjust
3154 * tabular.C (LyXTabular): adjust
3155 (SetMultiColumn): adjust
3158 * lyxtext.[Ch] (ownerParagraph): delete function
3159 (ownerParagraphs): new function returns a ParagraphList.
3161 * BufferView.C (removeAutoInsets): adjust
3162 (insertErrors): adjust
3163 (setCursorFromRow): adjust
3165 2003-04-01 Angus Leeming <leeming@lyx.org>
3167 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3170 2003-04-02 John Levon <levon@movementarian.org>
3176 * text_funcs.C: make transposeChars a free function
3178 * lyxrow_funcs.C: remove wrong comment
3180 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3183 * rowpainter.C: adjust
3188 * lyxrow_funcs. [Ch]: new files
3190 * lyxrow.[Ch]: remove next and previous pointers
3191 (next,previous): remove accessor functions
3192 (isParEnd): move to lyxrow_funcs
3193 (lastPos): move to lyxrow_funcs
3194 (nextRowIsAllInset): move to lyxrow_funcs
3195 (lastPrintablePos): move to lyxrow_funcs
3196 (numberOfSeparators): move to lyxrow_funcs
3197 (numberOfHfills): move to lyxrow_funcs
3198 (numberOfLabelHfills): move to lyxrow_funcs
3199 (hfillExpansion): move to lyxrow_funcs
3203 * bufferview_funcs.C (toggleAndShow): adjust
3205 * RowList.h: Remove class RowList from file leave just a
3208 * RowList.C: delete file
3210 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3213 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3215 * text3.C (cursorPrevious): adjust
3216 (cursorNext): adjust
3219 * text2.C (redoHeightOfParagraph): adjust
3220 (redoDrawingOfParagraph): adjust
3223 * text.C (breakParagraph): adjust
3224 (insertChar): adjust
3227 * rowpainter.C (RowPainter): adjust
3228 (leftMargin): simplify and adjust
3229 (most rowpainter functions): adjust.
3231 * rowpainter.h: store the row as RowList::iterator not as Row*
3233 * lyxcursor.C (row): taka RowList::iterator as arg
3236 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3239 2003-04-01 Angus Leeming <leeming@lyx.org>
3241 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3242 stuff like bool Bool.
3244 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3246 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3249 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3251 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3254 * lyxtext.h (rows): drop one version and leve a const variant that
3255 returns a RowList::iterator.
3257 2003-03-31 Angus Leeming <leeming@lyx.org>
3259 * text.C (fill): ensure that the signature is the same as that in the
3262 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3264 * text2.C (redoParagraphs): adjust
3265 (updateCounters): adjust
3266 (checkParagraph): adjust
3267 (getColumnNearX): adjust and reformat a bit.
3269 * text.C (top_y): adjust
3271 (leftMargin): adjust
3272 (prepareToPrint): adjust
3274 (getRowNearY): adjust
3276 * lyxtext.h: make rowlist_ mutable.
3278 * RowList.h: add const_iterator
3279 * RowList.C: adjust for RowList::const_iterator.
3281 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3284 2003-03-31 John Levon <levon@movementarian.org>
3287 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3289 * lyx_main.C: set default fonts from using lyx_gui funcs
3291 * exporter.C: pdf_mode moved from lyxrc
3294 * lyxfunc.C: changes from above
3296 2003-03-31 John Levon <levon@movementarian.org>
3298 * lyx_main.C: fix to the last fix
3300 2003-03-31 John Levon <levon@movementarian.org>
3302 * bufferlist.C: "Load original" -> "Load Original"
3308 * format.C: more Alert cleanups
3310 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3312 * text2.C (removeParagraph): make it take a RowList::iterator as
3314 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3315 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3317 * text.C (anchor_row): make it take a RowList::iterator as arg,
3319 (computeBidiTables): make it take a const reference to Row instead
3320 of Row pointer, adjust.
3321 (leftMargin): make it take a RowList::iterator as arg, adjust.
3322 (rowBreakPoint): adjust
3323 (breakAgainOneRow): make it take a RowList::iterator as arg,
3325 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3327 * bufferview_funcs.C (toggleAndShow): adjust
3329 2003-03-30 John Levon <levon@movementarian.org>
3333 * boost-inst.C: moved to support
3335 * several files: changes as a result
3337 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3339 * text2.C (LyXText): adjust.
3341 (removeRow): make it take a RowList::iterator as arg, adjust.
3342 (fullRebreak): adjust
3343 (deleteEmptyParagraphMechanism): adjust
3344 (clearPaint): adjust
3347 * text.C (top_y): adjust
3348 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3349 (breakAgain): make it take a RowList::iterator as arg, adjust.
3350 (breakParagraph): adjust
3351 (insertChar): adjust
3354 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3355 need_break_row, and refresh_row.
3357 * text3.C (dispatch): adjust
3359 * text2.C (checkParagraph): adjust
3361 (setCursorFromCoordinates): adjust
3363 * text.C (top_y): adjust
3365 (getRow): make it return a RowList::iterator, adjust
3366 (getRowNearY): make it return a RowList::iterator, adjust
3368 * text2.C (init): adjust
3369 (insertRow): remove function
3370 (insertParagraph): adjust
3371 (redoParagraphs): adjust
3372 (fullRebreak): adjust
3373 (updateCounters): adjust
3375 * text.C (top_y): rewrite to use RowList iterators.
3377 (setHeightOfRow): rewrite to sue RowList iterators.
3378 (appendParagraph): adjust
3379 (breakAgain): adjust
3380 (breakAgainOneRow): adjust
3381 (breakParagraph): adjust
3383 (getRowNearY): adjust, and remove commented code.
3385 * lyxtext.h (firstRow): delete function
3386 (lastRow): delete function
3387 (rows): new function (const and non-const versions.)
3388 (insertRow): delete function
3390 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3392 2003-03-29 John Levon <levon@movementarian.org>
3394 * BufferView_pimpl.C: always update scrollbar top
3395 because pasting text when we're anchored could mean we
3396 miss an update altogether
3398 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3400 * text2.C (init): use rowlist_.end() and not 0.
3401 (insertRow): change to take a RowList::iterator as arg, adjust
3403 (insertParagraph): change to take a RowList::iterator as arg,
3405 (redoParagraphs): remove some debug msgs.
3407 * text.C (appendParagraph): change to take a RowList::iterator
3408 arg, adjust for this.
3409 (breakAgain): add an assert
3410 (breakAgainOneRow): ditto
3412 2003-03-29 John Levon <levon@movementarian.org>
3414 * text2.C: do not clear selection after inc/decDepth
3417 2003-03-29 John Levon <levon@movementarian.org>
3420 * buffer.C: fix broken strerrors according to Lars
3422 2003-03-29 John Levon <levon@movementarian.org>
3424 * converters.C: more Alert cleanups
3426 2003-03-29 John Levon <levon@movementarian.org>
3428 * bufferview_funcs.C: remove pointless Alert
3430 * buffer.C: fix confusing error message when
3431 a template is chmoded 000
3433 2003-03-29 John Levon <levon@movementarian.org>
3437 * BufferView_pimpl.C: Alert fixes
3441 * tabular-old.C: remove unused table compat reading
3443 2003-03-29 John Levon <levon@movementarian.org>
3448 * lyx_cb.C: more Alert cleanups
3450 * lyxfunc.C: don't allow chktex if not latex document
3452 2003-03-29 John Levon <levon@movementarian.org>
3456 * buffer.C: warnings pushed down from support/,
3459 2003-03-29 John Levon <levon@movementarian.org>
3461 * lyxfunc.C: safety check for C-r (revert)
3463 2003-03-29 John Levon <levon@movementarian.org>
3466 * bufferlist.C: several UI fixes using Alert::prompt.
3467 Fix the pointless looping quit code. Fix stupid revert
3472 * lyx_cb.C: use Alert::prompt
3474 * lyx_main.C: remove a silly question
3476 * lyxfunc.C: remove a couple of silly questions,
3479 2003-03-28 John Levon <levon@movementarian.org>
3481 * text2.C: fix bug 974 (End on empty par)
3483 2003-03-28 John Levon <levon@movementarian.org>
3485 * BufferView_pimpl.C:
3487 * lfuns.h: remove do-nothing math greek lfuns
3489 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3491 * lyxgluelength.h (isValidGlueLength): add default arg on
3492 parameter 2. Remove default arg from friend in class.
3494 * lyxlength.h (isValidLength): add default arg on parameter 2.
3495 Remove default arg from friend in class.
3497 * text2.C (LyXText): adjust, initialize refresh_row.
3501 (insertParagraph): adjst
3502 (redoParagraphs): adjust
3503 (fullRebreak): adjust
3504 (updateCounters): adjust
3505 (deleteEmptyParagraphMechanism): first attempt at fixing a
3508 * text.C (top_y): adjust
3509 (setHeightOfRow): adjust
3511 (getRowNearY): adjust
3513 * lyxtext.h: include RowList.h
3514 (~LyXText): not needed anymore, deleted.
3515 (firstRow): modify for RowList
3516 (lastRow): new function
3517 Delete firstrow and lastrow class variables, add a Rowlist
3518 rowlist_ class variable.
3520 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3523 * RowList.C (insert): fix case where it == begin().
3525 2003-03-26 Angus Leeming <leeming@lyx.org>
3527 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3528 the thesaurus dialog.
3530 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3532 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3534 * RowList.[Ch]: new files
3536 * ParagraphList.C (erase): handle the case where it == begin
3539 2003-03-25 John Levon <levon@movementarian.org>
3543 * aspell.C: add new aspell support
3546 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3549 2003-03-25 Angus Leeming <leeming@lyx.org>
3552 * LyXAction.C (init): new LFUN_INSET_INSERT.
3554 * BufferView_pimpl.C (dispatch): split out part of the
3555 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3557 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3560 2003-03-25 Angus Leeming <leeming@lyx.org>
3562 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3564 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3567 * text3.C: remove useless row->height(0)
3569 2003-03-25 John Levon <levon@movementarian.org>
3573 * text3.C: rename the refreshing stuff to better names
3575 2003-03-24 John Levon <levon@movementarian.org>
3577 * BufferView_pimpl.h:
3578 * BufferView_pimpl.C: update layout choice on a mouse
3581 2003-03-23 John Levon <levon@movementarian.org>
3583 * Makefile.am: fix commandtags.h reference
3585 2003-03-22 John Levon <levon@movementarian.org>
3587 * BufferView_pimpl.C:
3592 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3594 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3597 * text.C: take the rtl methods out of line
3599 2003-03-21 André Pönitz <poenitz@gmx.net>
3601 * metricsinfo.[Ch]: new files containing structures to be passed around
3602 during the two-phase-drawing...
3604 2003-03-21 André Pönitz <poenitz@gmx.net>
3606 * lyxtextclass.C: read 'environment' tag.
3608 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3610 * text2.C (removeRow): fix bug 964
3612 2003-03-20 John Levon <levon@movementarian.org>
3616 * text2.C: paint cleanups. Inset::update() dropped font
3619 2003-03-19 John Levon <levon@movementarian.org>
3621 * lyxfunc.C: only fitcursor/markDirty if available()
3623 2003-03-19 John Levon <levon@movementarian.org>
3625 * commandtags.h: rename to ...
3627 * lfuns.h: ... this, and renumber / cleanup
3629 2003-03-19 John Levon <levon@movementarian.org>
3631 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3632 fit the cursor after an lfun
3636 * BufferView_pimpl.h:
3637 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3639 * LyXAction.C: layout-character should have ReadOnly
3641 * ParagraphParameters.C:
3643 * bufferview_funcs.C:
3650 * undo_funcs.C: changes from above
3652 2003-03-18 John Levon <levon@movementarian.org>
3654 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3655 remove it from update()
3657 * lyxfunc.C: update layout choice after an lfun
3659 * text3.C: remove extra updateLayoutChoice()s
3661 2003-03-18 John Levon <levon@movementarian.org>
3663 * text.C: top_y change means full repaint, fix
3664 a drawing bug with cursor movement
3666 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3670 * text2.C: anchor row on setCursor
3672 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3674 * lyxtext.h: remove almost all mutable keywords
3677 * text3.C: remove const keywords accordingly
3679 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3681 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3683 (TeXEnvironment): ditto
3686 2003-03-17 John Levon <levon@movementarian.org>
3688 * text.C (rowBreakPoint): remove attempt to fix displayed
3689 math insets inside a manual label
3691 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3693 * lyxtext.h: remove BufferView* as first arg from almost all class
3695 * other files: adjust.
3697 2003-03-17 John Levon <levon@movementarian.org>
3701 * text2.C: more paint cleanups
3703 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3706 * rowpainter.C: remove "smart" background painting code
3708 2003-03-16 John Levon <levon@movementarian.org>
3713 * text3.C: add helper functions for setting refresh_row/y
3715 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3717 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3718 newline inset which *can* get inserted in the pass_thru layouts.
3719 This is primarily for literate documents.
3721 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3723 * buffer.C: increment LYX_FORMAT to 223
3725 2003-03-14 André Pönitz <poenitz@gmx.net>
3727 * textclass.h: prepare for environment handling, ws changes
3728 * lyxlayout.C: read latexheader and latexfooter tags
3730 2003-03-14 John Levon <levon@movementarian.org>
3732 * text2.C: rewrite ::status() a bit
3734 2003-03-13 John Levon <levon@movementarian.org>
3736 * lyxtext.h: add some docs
3738 2003-03-13 John Levon <levon@movementarian.org>
3743 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3745 2003-03-13 John Levon <levon@movementarian.org>
3747 * text3.C: fix appendix redrawing
3749 2003-03-13 John Levon <levon@movementarian.org>
3751 * text.C (setHeightOfRow):
3753 * rowpainter.C: make appendix mark have the text
3754 "Appendix" so the user knows what it is
3757 * LColor.C: s/appendixline/appendix/ from above
3759 2003-03-13 John Levon <levon@movementarian.org>
3761 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3763 * text.C: fix a getChar(pos) bug properly
3765 2003-03-13 Angus Leeming <leeming@lyx.org>
3768 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3769 Probably only temporary. Let's see how things pan out.
3771 * BufferView.C (unlockInset):
3772 * BufferView_pimpl.C (fitCursor):
3773 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3775 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3776 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3778 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3779 new functions that convert ParagraphParameters to and from a string.
3781 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3782 BufferView::Pimpl's dispatch.
3783 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3785 2003-03-13 André Pönitz <poenitz@gmx.net>
3789 * factory.C: make it aware of InsetEnv
3791 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3793 * text2.C (setCursor): never ask for one past last
3794 (setCursor): add some debugging messages.
3796 * text.C (singleWidth): never ask for one past last
3797 (singleWidth): ditto
3799 (rightMargin): ditto
3800 (rowBreakPoint): ditto
3801 (setHeightOfRow): ditto
3802 (prepareToPrint): ditto
3804 * rowpainter.C (paintBackground): never ask for one past last
3805 (paintText): never ask for one past last
3807 * paragraph_pimpl.C (getChar): make the assert stricter, never
3808 allow the one past last pos to be taken
3810 * paragraph.C (getChar): ws changes only
3812 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3813 (numberOfSeparators): ditto
3814 (numberOfHfills): ditto
3816 2003-03-12 John Levon <levon@movementarian.org>
3822 * paragraph_funcs.C: fix per-buffer authorlists
3824 2003-03-12 John Levon <levon@movementarian.org>
3826 * text.C: fix newline in right address
3828 2003-03-12 Angus Leeming <leeming@lyx.org>
3830 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3831 duplicate those in LyXFunc::dispatch.
3835 * ToolbarDefaults.C:
3836 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3837 Add LFUN_FONTFREE_UPDATE.
3839 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3840 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3842 * bufferview_func.[Ch]: several new functions to facilliate
3843 transfer of data to and from the character dialog.
3845 2003-03-12 John Levon <levon@movementarian.org>
3850 * paragraph_funcs.C:
3851 * paragraph_pimpl.C:
3855 * text3.C: remove META_NEWLINE in favour of an inset
3858 * rowpainter.C: remove paintNewline (done by inset)
3860 2003-03-12 John Levon <levon@movementarian.org>
3862 * paragraph_pimpl.C: complain about bad getChar()s
3863 for a while at least
3865 2003-03-12 John Levon <levon@movementarian.org>
3868 * buffer.C: move paragraph read into a separate function,
3869 a little renaming to reflect that.
3872 * bufferparams.C: remove the author_ids map, not necessary now
3875 * factory.C: moved Buffer::readInset to here
3877 * paragraph_funcs.h:
3878 * paragraph_funcs.C: readParagraph free function moved from
3881 * tabular.C: name change
3883 2003-03-12 John Levon <levon@movementarian.org>
3886 * ParagraphParameters.C: move par params input to
3889 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3890 behave like a normal read from the stream wrt reading
3891 a line vs. a \\token
3893 2003-03-12 John Levon <levon@movementarian.org>
3896 * ParagraphParameters.h:
3897 * ParagraphParameters.C: move output code to a
3900 2003-03-12 John Levon <levon@movementarian.org>
3902 * BufferView.C (insertLyXFile):
3905 * tabular.C: use a parlist iterator for creating the
3908 2003-03-12 John Levon <levon@movementarian.org>
3910 * buffer.C: make current_change static local not
3913 2003-03-12 John Levon <levon@movementarian.org>
3915 * buffer.C: fix insertStringAsLines for change tracking
3917 2003-03-12 John Levon <levon@movementarian.org>
3924 * bufferparams.C: move author list into params. Rename some
3925 functions. Move the header reading into a separate token
3926 loop. Move the header token reading into BufferParams.
3928 2003-03-12 John Levon <levon@movementarian.org>
3930 * changes.C: put debug inside lyxerr.debugging() checks
3932 2003-03-11 André Pönitz <poenitz@gmx.net>
3934 * factory.C: make it aware of InsetHFill
3936 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3938 * buffer.C (latexParagraphs): move function from here...
3939 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3942 2003-03-10 Angus Leeming <leeming@lyx.org>
3944 * LyXAction.C (init): fix bug in poplating array with multiple entries
3945 with the same LFUN (spotted by JMarc).
3947 2003-03-10 John Levon <levon@movementarian.org>
3950 * text2.C: move getColumnNearX() near its
3953 2003-03-10 John Levon <levon@movementarian.org>
3955 * text.C: fix break before a minipage
3957 2003-03-10 John Levon <levon@movementarian.org>
3959 * text.C: fix the last commit
3961 2003-03-09 John Levon <levon@movementarian.org>
3965 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3966 bug 365 (don't break before insets unless needed). Don't
3967 return a value > last under any circumstances.
3969 2003-03-09 Angus Leeming <leeming@lyx.org>
3971 * BufferView_pimpl.C (trackChanges, dispatch): call
3972 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3974 2003-03-09 Angus Leeming <leeming@lyx.org>
3976 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3977 than Dialogs::showAboutlyx().
3979 2003-03-09 Angus Leeming <leeming@lyx.org>
3981 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3982 than Dialogs::showTabularCreate().
3984 2003-03-09 John Levon <levon@movementarian.org>
3988 * text2.C: 3rd arg to nextBreakPoint was always the same.
3991 2003-03-08 John Levon <levon@movementarian.org>
3998 * text2.C: Remove the "main" bit from the "main body"
4001 2003-03-08 John Levon <levon@movementarian.org>
4003 * text.C (leftMargin): The left margin of an empty
4004 manual label paragraph should not include the label width
4007 * text.C (prepareToPrint): don't attempt to measure hfills
4008 for empty manual label paragraphs - the answer should be 0
4010 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4012 * CutAndPaste.C: remove commented code and reindent.
4014 2003-03-08 John Levon <levon@movementarian.org>
4017 * lyxfunc.C: move reloadBuffer()
4020 * BufferView.C: to here
4022 * lyxvc.C: add comment
4025 * vc-backend.C: call bv->reload() to avoid
4026 getStatus() check on MENURELOAD
4028 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
4030 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4031 to an old format .dep file.
4033 2003-03-07 Angus Leeming <leeming@lyx.org>
4035 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4036 when the LFUN_MOUSE_RELEASE should have been handled by
4037 inset->localDispatch.
4039 2003-03-07 Angus Leeming <leeming@lyx.org>
4041 * BufferView_pimpl.C (dispatch):
4042 * LyXAction.C (init):
4043 * ToolbarDefaults.C (init):
4045 * lyxfunc.C (getStatus):
4046 remove LFUN_INSET_GRAPHICS.
4048 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4050 2003-03-07 Angus Leeming <leeming@lyx.org>
4053 * LyXAction.C (init):
4054 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4056 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4059 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4061 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4062 localDispatch method LFUN_INSET_DIALOG_UPDATE.
4064 2003-03-07 Angus Leeming <leeming@lyx.org>
4066 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4069 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4071 * ParagraphList.C (front): new function
4074 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
4076 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4077 and top_row_offset_. removed var first_y.
4079 * text2.C (LyXText, removeRow):
4081 * BufferView_pimpl.C:
4082 use these methods instead of using first_y
4084 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4086 * text2.C (pasteSelection): adjust for checkPastePossible
4088 * CutAndPaste.C: remove Paragraph * buf and replace with
4089 ParagraphList paragraphs.
4090 (DeleteBuffer): delete
4091 (cutSelection): change the tc type to textclass_type
4092 (copySelection): change the tc type to textclass_type
4093 (copySelection): adjust for ParagraphList
4094 (pasteSelection): change the tc type to textclass_type
4095 (pasteSelection): adjust for Paragraphlist
4096 (nrOfParagraphs): simplify for ParagraphList
4097 (checkPastePossible): simplify for ParagraphList
4098 (checkPastePossible): remove unused arg
4100 * ParagraphList.C (insert): handle the case where there are no
4103 * CutAndPaste.h: make CutAndPaste a namespace.
4105 * text3.C (dispatch): adjust
4107 * text.C (breakParagraph): add a ParagraphList as arg
4109 * paragraph_funcs.C (breakParagraph): change to take a
4110 BufferParams and a ParagraphList as args.
4111 (breakParagraphConservative): ditto
4112 (mergeParagraph): ditto
4113 (TeXDeeper): add a ParagraphList arg
4114 (TeXEnvironment): ditto
4117 * buffer.C (readLyXformat2): adjust
4118 (insertStringAsLines): adjust
4119 (latexParagraphs): adjust
4121 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4122 (cutSelection): adjust
4123 (pasteSelection): adjust
4125 * BufferView_pimpl.C (insertInset): adjust
4127 2003-03-05 Angus Leeming <leeming@lyx.org>
4130 * LyXAction.C (init):
4131 * BufferView_pimpl.C (dispatch):
4132 * lyxfunc.C (getStatus):
4133 remove LFUN_CHILD_INSERT.
4135 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4137 2003-03-05 Angus Leeming <leeming@lyx.org>
4140 * LyXAction.C (init):
4141 * src/factory.C (createInset):
4142 * lyxfunc.C (getStatus):
4143 * text3.C (dispatch):
4144 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4146 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4148 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4150 * ParagraphList.C (insert): handle insert right before end()
4151 (erase): fix cases where it can be first or last paragraph.
4153 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4155 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4156 Paragraph::next and Paragraph::previous
4159 * text.C (breakParagraph): adjust
4161 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4162 BufferParams& as arg.
4163 (breakParagraph): use ParagraphList::insert
4164 (breakParagraphConservative): take a Buffer* instead of a
4165 BufferParams& as arg.
4166 (breakParagraphConservative): use ParagraphList::insert.
4168 * buffer.C (insertStringAsLines): un-const it
4169 (insertStringAsLines): adjust
4171 * ParagraphList.C (insert): new function
4173 * CutAndPaste.C (pasteSelection): adjust
4175 * text.C (backspace): adjust
4177 * tabular.C (SetMultiColumn): adjust
4179 * CutAndPaste.C (cutSelection): adjust
4180 (pasteSelection): adjust
4182 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4183 Buffer const * as arg
4185 * ParagraphList.C (erase): new function
4186 * paragraph_funcs.C (mergeParagraph): use it
4187 (mergeParagraph): make it take a Buffer* instead of a
4188 BufferParams* as arg
4190 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4192 (breakParagraphConservative): ditto
4194 * paragraph.h: remove the breakParagraph friend
4196 * paragraph.C (eraseIntern): new function
4197 (setChange): new function
4199 * paragraph_funcs.C (mergeParagraph): make it take a
4200 ParagraphList::iterator instead of a Paragraph *, adjust
4203 * paragraph.h: move an #endif so that the change tracking stuff
4204 also works in the NO_NEXT case.
4206 2003-03-04 Angus Leeming <leeming@lyx.org>
4209 * LyXAction.C: new LFUN_INSET_MODIFY.
4211 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4212 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4214 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4216 * several files: ws changes only
4218 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4219 (TeXEnvironment): ditto
4222 * buffer.C (makeLaTeXFile): adjust
4223 (latexParagraphs): make it take ParagraphList::iterator as args
4225 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4227 * buffer.C (latexParagraphs): adjust
4229 * paragraph.C (TeXOnePar): move function...
4230 (optArgInset): move function...
4231 (TeXEnvironment): move function...
4232 * paragraph_pimpl.C (TeXDeeper): move function...
4233 * paragraph_funcs.C: ...here
4235 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4237 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4239 * buffer.C (readInset): remove compability code for old Figure and
4242 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4244 * buffer.C: ws changes
4247 * BufferView_pimpl.C: ditto
4250 * bufferlist.h: ditto
4254 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4256 * converter.[Ch]: split into itself +
4259 * Makefile.am: += graph.[Ch] + format.[Ch]
4266 * lyxrc.C: added #include "format.h"
4268 2003-02-27 Angus Leeming <leeming@lyx.org>
4270 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4273 * factory.C (createInset): add "label" to the factory.
4275 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4276 string and do no more.
4278 2003-02-27 Angus Leeming <leeming@lyx.org>
4281 * LyXAction.C (init):
4282 * factory.C (createInset):
4283 * BufferView_pimpl.C (dispatch):
4284 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4286 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4288 * lyxfunc.C (dispatch):
4289 * text3.C (dispatch): pass name to params2string.
4291 2003-02-26 Angus Leeming <leeming@lyx.org>
4293 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4295 Rearrange the ~includes. Strip out the unnecessary ones.
4297 * factory.C (createInset): reformat.
4298 create new insets for the various LFUN_XYZ_APPLY lfuns.
4300 2003-02-26 John Levon <levon@movementarian.org>
4303 * lyxrow.C: add isParStart,isParEnd helpers
4305 * paragraph.h: make isInserted/DeletedText take refs
4307 * paragraph_funcs.h:
4308 * paragraph_funcs.C: remove #if 0'd code
4313 * text.C: use lyxrow helpers above.
4314 Move draw and paint routines to RowPainter.
4315 Make several methods use refs not pointers.
4316 Make backgroundColor() const.
4317 Add markChangeInDraw(), isInInset().
4318 Merge changeRegionCase into changeCase.
4319 Make workWidth() shouldn't-happen code into an Assert.
4322 * rowpainter.C: new class for painting a row.
4325 * vspace.C: make inPixels take a ref
4327 2003-02-26 Angus Leeming <leeming@lyx.org>
4329 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4332 2003-02-25 John Levon <levon@movementarian.org>
4334 * ispell.C: give the forked command a more accurate name
4336 2003-02-22 John Levon <levon@movementarian.org>
4339 * toc.C: make TocItem store an id not a Paragraph *
4342 2003-02-21 Angus Leeming <leeming@lyx.org>
4344 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4345 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4346 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4347 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4348 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4349 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4351 * BufferView_pimpl.C (dispatch):
4352 * LyXAction.C (init):
4353 * factory.C (createInset):
4354 * lyxfunc.C (getStatus, dispatch):
4355 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4357 2003-02-21 Angus Leeming <leeming@lyx.org>
4359 * BufferView_pimpl.C (MenuInsertLyXFile):
4360 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4361 * lyxfunc.C (menuNew, open, doImport):
4362 no longer pass a LyXView & to fileDlg.
4364 2003-02-21 Angus Leeming <leeming@lyx.org>
4366 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4367 * LyXAction.C: change, BIBKEY to BIBITEM.
4368 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4369 Change InsetBibKey to InsetBibitem.
4370 Change BIBKEY_CODE to BIBITEM_CODE.
4371 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4372 * factory.C: replace insetbib.h with insetbibitem.h.
4373 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4374 * paragraph.C: replace insetbib.h with insetbibitem.h.
4375 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4376 Change bibkey() to bibitem().
4377 * text.C: remove insetbib.h.
4378 * text2.C: replace insetbib.h with insetbibitem.h.
4379 change bibkey() to bibitem().
4380 * text3.C: remove insetbib.h.
4381 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4383 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4385 * lyxrc.C (output): enclose user email in quotes (in case there are
4388 2003-02-18 John Levon <levon@movementarian.org>
4390 * buffer.h: add std::
4392 2003-02-17 John Levon <levon@movementarian.org>
4398 * pspell.C: reworking. Especially in ispell, a large
4399 number of clean ups and bug fixes.
4401 * lyxfunc.C: fix revert to behave sensibly
4403 2003-02-17 André Pönitz <poenitz@gmx.net>
4406 * commandtags.h: new LFUN_INSERT_BIBKEY
4416 * paragraph_func.C: remove special bibkey handling
4418 2003-02-17 John Levon <levon@movementarian.org>
4420 * text.C (Delete): fix case where delete at the end of
4421 the very first paragraph would not merge the pars
4423 2003-02-17 John Levon <levon@movementarian.org>
4425 * lyxrow.C: fix lastPrintablePos()
4427 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4429 * bufferparams.C (writeLaTeX): add a std:here
4431 * buffer.C: and remove a using directive there
4433 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4435 * buffer.C (makeLaTeXFile): move the code that generates the
4438 * bufferparams.C (writeLaTeX): ... in this new method
4440 * LaTeXFeatures.C (getEncodingSet): make const
4441 (getLanguages): make const
4443 * MenuBackend.C (binding): returns the binding associated to this
4445 (add): sets the status of each item by calling getStatus. Adds
4447 (read): add support for OptSubMenu
4448 (expand): remove extra separator at the end of expanded menu
4450 2003-02-15 John Levon <levon@movementarian.org>
4453 * BufferView_pimpl.C:
4455 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4456 inset code that had no actual effect. Remove unneeded status
4459 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4461 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4464 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4466 * text.C (drawLengthMarker): also draw an arrow marker for
4467 symbolic lengths (medskip...)
4469 2003-02-14 John Levon <levon@movementarian.org>
4472 * tabular.C: better method names
4474 2003-02-14 John Levon <levon@movementarian.org>
4476 * BufferView_pimpl.C:
4481 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4482 it's a more accurate name. Remove some pointless uses.
4484 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4486 * text2.C (LyXText): change order of initilizers to shut off
4489 2003-02-14 John Levon <levon@movementarian.org>
4491 * buffer.C: use ParIterator for getParFromID()
4495 * paragraph_pimpl.h:
4496 * paragraph_pimpl.C: remove unused getParFromID()
4498 2003-02-14 John Levon <levon@movementarian.org>
4500 * buffer.C: remove some very old #if 0'd parse code
4502 2003-02-13 John Levon <levon@movementarian.org>
4506 * text2.C: move hfillExpansion(), numberOfSeparators(),
4507 rowLast(), rowLastPrintable(), numberofHfills(),
4508 numberOfLabelHfills() ...
4511 * lyxrow.C: ... to member functions here.
4516 * text.C: remove LyXText::beginningOfMainBody(), and call
4517 p->beginningOfMainBody() directly. Move the check for
4518 LABEL_MANUAL into the latter.
4525 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4531 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4532 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4534 2003-02-13 John Levon <levon@movementarian.org>
4536 * CutAndPaste.C: remove debug
4538 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4540 * paragraph.C (asString): remove two unused variables
4542 * lyxtextclass.C (readTitleType):
4544 (LyXTextClass): handle new members titletype_ and titlename_
4546 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4548 2003-02-09 John Levon <levon@movementarian.org>
4551 * buffer.C: replace hand-coded list with a map for the dep clean
4553 2003-02-08 John Levon <levon@movementarian.org>
4555 * LaTeX.C: consolidate code into showRunMessage() helper
4557 2003-02-08 John Levon <levon@movementarian.org>
4562 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4563 and pass the size in explicitly
4565 * BufferView_pimpl.h:
4566 * BufferView_pimpl.C:
4568 * BufferView.C: add getCurrentChange()
4570 * BufferView_pimpl.h:
4571 * BufferView_pimpl.C: handle change lfuns
4573 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4574 for changes. Mark pasted paragraphs as new.
4576 * support/lyxtime.h:
4577 * support/lyxtime.C:
4578 * DepTable.C: abstract time_t as lyx::time_type
4581 * LColor.C: add colours for new text, deleted text, changebars
4583 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4584 package use "usenames" option.
4588 * LyXAction.C: add change lfuns
4592 * author.C: author handling
4595 * buffer.C: add a per-buffer author list, with first entry as
4596 current author. Handle new .lyx tokens for change tracking. Output
4597 author list to .lyx file. Output dvipost stuff to .tex preamble.
4598 Bump lyx format to 222.
4601 * bufferlist.C: add setCurrentAuthor() to reset current author details
4605 * bufferparams.C: add param for tracking
4607 * bufferview_funcs.C: output change info in minibuffer
4611 * changes.C: add change-tracking structure
4614 * debug.C: add CHANGES debug flag
4617 * lyxfind.C: add code for finding the next change piece
4620 * lyxrc.C: add user_name and user_email
4623 * lyxrow.C: add a metric for the top of the text line
4626 * text.C: implement accept/rejectChange()
4629 * text.C: paint changebars. Paint new/deleted text in the chosen
4630 colours. Strike through deleted text.
4634 * paragraph_pimpl.h:
4635 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4636 in the current change to the insert functions. Rework erase to
4637 mark text as deleted, adding an eraseIntern() and a range-based
4638 erase(). Implement per-paragraph change lookup and
4641 * paragraph_funcs.C: Fixup paste for change tracking.
4643 * tabular.C: mark added row/columns as new.
4645 * text.C: fix rowLast() to never return -1. Don't allow
4646 spellchecking of deleted text. Track transpose changes. Don't
4647 allow paragraph break or merge where appropriate.
4649 * text2.C: leave cursor at end of selection after a cut.
4651 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4653 * text.C (getLengthMarkerHeight):
4654 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4655 visible on screen too.
4657 2003-02-07 John Levon <levon@movementarian.org>
4659 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4661 2003-02-05 Angus Leeming <leeming@lyx.org>
4663 * lyxserver.C (read_ready): revert my patch of 11 September last year
4664 as it sends PC cpu through the roof. Presumably this means that
4665 the lyxserver will no longer run on an Alpha...
4667 2003-01-30 Angus Leeming <leeming@lyx.org>
4669 * factory.C (createInset): create an InsetCommandParam of type "index"
4670 and use it to 'do the right thing'.
4672 * text2.C (getStringToIndex): ensure that cursor position is always
4673 reset to the reset_cursor position.
4675 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4677 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4680 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4684 * lyxfunc.C: Output messages with identical spelling, punctuation,
4687 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4689 * MenuBackend.C (expandFormats): List only viewable export formats
4692 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4695 * lyxfunc.C (getStatus): Make sure that formats other than
4696 "fax" can also be disabled
4698 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4700 * text3.C (dispatch): put the lfuns that insert insets in 3
4701 groups, and call doInsertInset with appropriate arguments.
4702 (doInsertInset): new function, that creates an inset and inserts
4703 it according to some boolean parameters.
4705 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4707 * buffer.C (readFile): remember to pass on 'par' when calling
4708 readFile recursively.
4710 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4712 * MenuBackend.C (expandFormats): add "..." to import formats.
4714 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4716 * paragraph.C (asString): Remove XForms RTL hacks.
4718 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4719 * buffer.C: fix typo
4721 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4723 * Makefile.am (LIBS): delete var
4724 (lyx_LDADD): add @LIBS@ here instead.
4726 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4728 * Clarify the meaning of "wheel mouse jump"
4730 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4732 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4735 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4737 * importer.C (Loaders): do not preallocate 3 elements in the
4738 vector, since one ends up with 6 elements otherwise
4740 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4742 * DepTable.C (write): write the file name as last element of the
4743 .dep file (because it may contain spaces)
4744 (read): read info in the right order
4746 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4748 * paragraph_pimpl.C (simpleTeXBlanks):
4749 (simpleTeXSpecialChars):
4750 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4752 * tabular.C (latex): add some missing case statements. Reindent.
4754 * MenuBackend.C (expandToc): remove unused variable.
4756 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4765 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4768 2003-01-05 John Levon <levon@movementarian.org>
4771 * BufferView.C: add getEncoding()
4774 * kbsequence.C: do not store last keypress
4777 * lyxfunc.C: store last keypress here instead. Pass encoding
4780 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4782 * lyx_main.C (init): remove annoying error message when following
4783 symbolic links (bug #780)
4785 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4787 * text.C (insertChar):
4788 * lyxrc.C (getDescription): remove extra spaces
4790 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4792 * lyxrc.C (getDescription): remove extra spaces
4794 2002-12-20 John Levon <levon@movementarian.org>
4796 * text3.C: hack fix for page up/down across tall rows
4798 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4800 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4803 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4805 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4806 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4807 thesaurus is not compiled in
4809 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4811 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4813 2002-12-16 Angus Leeming <leeming@lyx.org>
4816 * lyx_main.C (init): remove override_x_deadkeys stuff.
4818 2002-12-12 John Levon <levon@movementarian.org>
4820 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4821 insert. Only remove shift modifier under strict
4824 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4826 * MenuBackend.C (expandToc): fix crash.
4828 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4830 * MenuBackend.C (expandToc): gettext on float names.
4832 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4834 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4835 implement bool empty() [bug 490]
4837 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4839 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4841 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4843 * several files: ws changes
4845 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4847 * text2.C (setCounter): clean up a bit, use boost.format.
4848 (updateCounters): initialize par upon declaration.
4850 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4851 if the layout exists. We do not just store the layout any more.
4852 (SwitchLayoutsBetweenClasses): use boost.format
4854 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4856 * converter.C (convert): if from and to files are the same, use a
4857 temporary files as intermediary
4859 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4862 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4864 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4866 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4868 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4870 * tabular.C (asciiPrintCell): use string(size, char) instead of
4873 * sgml.C (openTag): fix order of arguments to string constructor
4876 * lyxfunc.C (dispatch): use boost.format
4878 * lots of files: change "c" -> 'c'
4880 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4882 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4884 2002-11-25 Angus Leeming <leeming@lyx.org>
4886 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4888 * lyx_main.C (init): compile fix.
4890 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4892 * lyx_cb.C (start): boost.formatify
4893 do not include <iostream>
4895 * lengthcommon.C: ws only
4897 * boost-inst.C,BoostFormat.h: add more explict instantations
4899 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4901 * lots of files: handle USE_BOOST_FORMAT
4903 2002-11-21 John Levon <levon@movementarian.org>
4905 * pspell.C: fix compile
4907 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4909 * lyxfunc.C (dispatch): use boost::format
4913 * lyxfont.C (stateText): use boost::format
4915 * lyx_main.C (LyX): use boost::format
4917 (queryUserLyXDir): ditto
4920 (typedef boost::function): use the recommened syntax.
4922 * importer.C (Import): use boost::format
4924 * debug.C (showLevel): use boost::format
4926 * converter.C (view): use boost::format
4931 * bufferview_funcs.C (currentState): use boost::format
4933 * bufferlist.C (emergencyWrite): use boost::format
4935 * buffer.C (readLyXformat2): use boost::format
4936 (parseSingleLyXformat2Token): ditto
4938 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4940 * LaTeX.C (run): use boost::format
4942 * Chktex.C (scanLogFile): use boost::format
4944 * BufferView_pimpl.C (savePosition): use boost::format
4945 (restorePosition): ditto
4946 (MenuInsertLyXFile): ditto
4948 * BoostFormat.h: help file for explicit instation.
4950 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4952 * tabular.C (latex): Support for block alignment in fixed width
4955 2002-11-17 John Levon <levon@movementarian.org>
4957 * BufferView_pimpl.C:
4959 * lyxfunc.C: split filedialog into open/save
4961 2002-11-08 Juergen Vigna <jug@sad.it>
4963 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4964 by my last patch (hopefully).
4966 2002-11-08 John Levon <levon@movementarian.org>
4975 * toc.C: ParConstIterator, and use it (from Lars)
4977 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4979 * lyxtextclass.[Ch]: revise and add doxygen comments
4981 2002-11-07 John Levon <levon@movementarian.org>
4983 * text.C: fix progress value for spellchecker
4985 * toc.C: fix navigate menu for insetwrap inside minipage
4987 * paragraph_funcs.C: added FIXME for suspect code
4989 2002-11-07 John Levon <levon@movementarian.org>
4991 * BufferView_pimpl.C: fix redrawing of insets
4994 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4996 * text2.C (updateCounters): fix bug 668
4998 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
5000 * text3.C (dispatch): Do not make the buffer dirty when moving the
5003 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5005 * vc-backend.C: STRCONV
5008 * text2.C (setCounter): STRCONV
5010 * paragraph.C (asString): STRCONV
5012 * lyxlength.C (asString): STRCONV
5013 (asLatexString): ditto
5015 * lyxgluelength.C (asString): STRCONV
5016 (asLatexString): ditto
5018 * lyxfunc.C (dispatch): STRCONV
5021 * lyxfont.C (stateText): STRCONV
5023 * importer.C (Import): STRCONV
5025 * counters.C (labelItem): STRCONV
5026 (numberLabel): ditto
5027 (numberLabel): remove unused ostringstream o
5032 * bufferview_funcs.C (currentState): STRCONV
5034 * buffer.C (readFile): STRCONV
5035 (asciiParagraph): ditto
5036 (makeLaTeXFile): ditto
5038 * Spacing.C (writeEnvirBegin): STRCONV
5040 * LaTeXFeatures.C (getLanguages): STRCONV
5041 (getPackages): ditto
5043 (getBabelOptions): ditto
5044 (getTClassPreamble): ditto
5045 (getLyXSGMLEntities): ditto
5046 (getIncludedFiles): ditto
5050 (scanAuxFile): ditto
5053 * LString.h: add the STRCONV macros
5055 * BufferView_pimpl.C (savePosition): STRCONV
5056 (restorePosition): ditto
5057 (MenuInsertLyXFile): ditto
5059 * vc-backend.C (scanMaster): change from submatch[...] to
5062 * funcrequest.C: include config.h
5064 * factory.C: include config.h
5066 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5068 * box.C: include config.h
5070 * LaTeX.C (scanAuxFile): change from submatch[...] to
5074 2002-10-25 Angus Leeming <leeming@lyx.org>
5076 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5078 * ispell.[Ch] (setError): new method.
5079 * ispell.C (c-tor): move out child process into new class LaunchIspell.
5080 Use setError() insetead of goto END.
5082 * lyx_cb.C (AutoSave): move out child process into new class
5085 2002-10-30 John Levon <levon@movementarian.org>
5087 * text3.C: make start appendix undoable
5089 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5091 * lyxlength.C (inPixels): Fix returned value.
5093 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5096 2002-10-24 Angus Leeming <leeming@lyx.org>
5098 * lyxgluelength.h: no need to forward declare BufferParams
5099 or BufferView, so don't.
5101 2002-10-21 John Levon <levon@movementarian.org>
5103 * BufferView.C: menuUndo ->undo, redo
5105 * BufferView.h: document, remove dead, make some methods private
5107 * paragraph_funcs.h:
5108 * paragraph_funcs.C:
5109 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5114 * sgml.C: move sgml open/close tag into sgml.C
5116 * bufferview_funcs.h: unused prototype
5119 * lyxfunc.C: remove unused
5122 * text.C: remove unused
5124 2002-10-21 John Levon <levon@movementarian.org>
5128 * BufferView_pimpl.h:
5129 * BufferView_pimpl.C: fix mouse wheel handling based on
5130 patch from Darren Freeman
5132 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5134 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5136 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5138 * lyxlength.C (inPixels): Fix hanfling of negative length.
5139 Fix LyXLength::MU case.
5141 2002-10-16 John Levon <levon@movementarian.org>
5143 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5145 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5147 * converter.C (view): add support for $$i (file name) and $$p
5148 (file path) for the viewer command. If $$i is not specified, then
5149 it is appended to the command (for compatibility with old syntax)
5151 2002-10-14 Juergen Vigna <jug@sad.it>
5153 * undo_funcs.C (textHandleUndo): alter the order in which the
5154 new undopar is added to the LyXText, as we have to set first
5155 the right prev/next and then add it as otherwise the rebuild of
5156 LyXText is not correct. Also reset the cursor to the right paragraph,
5157 with this IMO we could remove the hack in "redoParagraphs()".
5159 2002-10-09 Angus Leeming <leeming@lyx.org>
5161 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5162 to turn off an optimisation if a new inset is to be inserted.
5164 2002-10-11 André Pönitz <poenitz@gmx.net>
5166 * lyxtext.h: make some functions public to allow access
5167 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5169 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5171 * text3.C (dispatch): when changing layout, avoid an infinite loop
5174 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5176 * lyxrc.C (read): treat a viewer or converter command of "none" as
5179 * MenuBackend.C (expandFormats): for an update, also allow the
5180 formats that are not viewable
5182 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5183 script if it is newer than the lyxrc.defaults in user directory
5185 2002-10-07 André Pönitz <poenitz@gmx.net>
5187 * text.C: Vitaly Lipatov's small i18n fix
5189 2002-09-25 Angus Leeming <leeming@lyx.org>
5191 * ispell.h: doxygen fix.
5193 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5195 * buffer.h (readFile): Add a new argument to the method, to allow
5196 reading of old-format templates.
5198 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5200 * toc.C (getTocList): Get TOC from InsetWrap.
5202 2002-09-16 John Levon <levon@movementarian.org>
5204 * lyxfunc.C: check tabular for cut/copy too
5206 2002-09-12 John Levon <levon@movementarian.org>
5211 * factory.C: add header
5213 * paragraph_funcs.h:
5214 * paragraph_funcs.C: cleanup
5216 2002-09-11 John Levon <levon@movementarian.org>
5218 * PrinterParams.h: odd/even default to true
5220 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5222 * PrinterParams.h: update printer parameters for new xforms dialog
5224 2002-09-11 Angus Leeming <leeming@lyx.org>
5226 * lyxserver.C (read_ready): re-write to make it more transparent
5227 and to make it work in coherent fashion under Tru64 Unix.
5229 2002-09-11 André Pönitz <poenitz@gmx.net>
5233 * text3.C: implement LFUN_WORDSEL
5235 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5237 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5238 make floatlist_ a boost::shared_ptr<FloatList>
5240 * lyxtextclass.C: include FloatList.h
5241 (LyXTextClass): initialize floatlist_
5242 (TextClassTags): add TC_NOFLOAT
5243 (Read): match "nofloat" to TC_NOFLOAT and use it.
5244 (readFloat): modify call to floatlist_
5248 * FloatList.[Ch] (FloatList): remove commented out float
5250 (erase): new function
5252 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5254 * MenuBackend.C (expandToc): fix crash when there is no document
5257 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5259 * many files: Add insetwrap.
5261 2002-09-09 John Levon <levon@movementarian.org>
5263 * text2.C: remove confusing and awkward depth wraparound
5265 2002-09-09 John Levon <levon@movementarian.org>
5267 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5270 * buffer.C: remove getIncludeonlyList()
5273 * lyxfunc.C: remove headers
5275 2002-09-09 Juergen Vigna <jug@sad.it>
5277 * text.C (getColumnNearX): fix form Michael this is most
5278 probably a cut&paste bug.
5280 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5282 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5284 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5285 references, ws changes.
5287 * text2.C (init): update counters after init
5288 (insertParagraph): no need to set counter on idividual paragraphs.
5289 (setCounter): access the counters object in the textclass object
5290 on in the buffer object.
5291 (updateCounters): ditto
5293 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5294 shared_ptr<Counters> to avoid loading counters.h in all
5296 (LyXTextClass): initialize ctrs_
5297 (TextClassTags): add TC_COUNTER, and ...
5298 (Read): use it here.
5299 (CounterTags): new tags
5300 (readCounter): new function
5301 (counters): new funtion
5302 (defaultLayoutName): return a const reference
5304 * counters.C (Counters): remove contructor
5305 (newCounter): remove a couple of unneeded statements.
5306 (newCounter): simplify a bit.
5307 (numberLabel): some small formatting changes.
5309 * buffer.[Ch]: remove all traces of counters, move the Counters
5310 object to the LyXTextClass.
5312 2002-09-06 Alain Castera <castera@in2p3.fr>
5314 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5315 package to set the horizontal alignment on fixed width columns.
5318 * lyx_sty.h: added tabularnewline macro def.
5320 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5322 2002-09-06 John Levon <levon@movementarian.org>
5324 * LyXAction.C: tooltips for sub/superscript
5326 * MenuBackend.C: a bit more verbose
5328 * lyxfunc.C: tiny clean
5330 * undo_funcs.C: document undo_frozen
5332 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5334 * counters.C (Counters): add missing algorithm counter.
5336 * text2.C (setCounter): lookup the counter with layouts latexname
5337 instead of by section number.
5338 (setCounter): use a hackish way to lookup the correct enum
5340 a float name->type change
5341 reset enum couners with counter name directly instead of depth value.
5343 * counters.C (Counters): remove the push_backs, change to use the
5344 float type not the float name.
5345 (labelItem): remove unused string, float name->type change
5347 * counters.h: don't include vector, loose the enums and sects vectors
5349 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5351 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5352 (Read): add float->TC_FLOAT to textclassTags
5353 (Read): and handle it in the switch
5354 (readFloat): new function
5356 * FloatList.C (FloatList): comment out the hardcoded float
5359 * lyxlayout.h: ws change.
5361 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5363 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5365 2002-09-03 Angus Leeming <leeming@lyx.org>
5367 * BufferView_pimpl.h: qualified name is not allowed in member
5368 declaration: WorkArea & Pimpl::workarea() const;
5370 * factory.C: added using std::endl directive.
5372 * text3.C: added using std::find and std::vector directives.
5374 2002-08-29 André Pönitz <poenitz@gmx.net>
5377 * text2.C: remove unused member number_of_rows
5380 * BufferView2.C: remove file, move contents to...
5381 * BufferView.C: ... here
5383 * BufferView_pimpl.C:
5384 * factory.C: move more inset creation to factory
5386 * vspace.C: avoid direct usage of LyXText, ws changes
5389 don't provide direct access to WorkArea, use two simple
5390 acessors haveSelction() and workHeight() instead
5393 2002-08-29 John Levon <levon@movementarian.org>
5395 * BufferView_pimpl.C (dispatch): do not continue when
5398 2002-08-28 André Pönitz <poenitz@gmx.net>
5400 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5403 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5405 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5407 * buffer.C: increment LYX_FORMAT to 221
5409 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5410 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5412 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5414 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5416 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5418 * factory.C (createInset): use LyXTextClass::floats
5420 * MenuBackend.C (expandFloatListInsert):
5421 (expandFloatInsert):
5424 * text2.C (setCounter):
5426 * LaTeXFeatures.C (useFloat):
5427 (getFloatDefinitions):
5429 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5431 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5432 floatlist_, with accessor floats().
5434 * FloatList.h: remove global FloatList
5436 2002-08-26 André Pönitz <poenitz@gmx.net>
5438 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5442 * BufferView_pimpl.C:
5443 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5445 2002-08-25 John Levon <levon@movementarian.org>
5447 * LyXAction.C: fix margin note description
5449 2002-08-24 John Levon <levon@movementarian.org>
5453 * bufferview_funcs.C:
5455 * undo_funcs.C: cleanups
5457 * lyxfunc.C: disable CUT/COPY when no selection
5459 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5461 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5462 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5464 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5465 Add backward compatibility to "mono", "gray" and "no".
5467 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5469 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5470 (and file_format >= 200).
5472 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5474 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5476 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5478 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5480 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5482 * BufferView_pimpl.C:
5489 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5490 inset and code to make it work with the paragraph code. The inset
5491 can be anywhere in the paragraph, but will only do the expected
5492 thing in LaTeX if the layout file contains the parameter line
5494 (or more generally, a nonzero value) for that layout.
5496 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5498 * paragraph.h: remove the declaration of undefined counters class
5501 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5503 * text2.C (setCounter): fixed enumeration mis-count as reported by
5504 Dr. Richard Hawkins.
5506 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5508 * paragraph_funcs.h: remove some unneeded includes
5510 * text.C (backspace): pasteParagraph now in global scipe
5512 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5513 (pasteSelection): ditto
5515 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5516 * paragraph_funcs.C (pasteParagraph): ... here
5518 2002-08-20 André Pönitz <poenitz@gmx.net>
5520 * commandtags.h: new LFUNs for swapping/copying table row/colums
5523 * lyxfunc.C: support for new lfuns
5525 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5528 * buffer.[Ch]: remove NO_COMPABILITY stuff
5530 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5532 * boost.C (throw_exception): new file, with helper function for
5533 boost compiled without exceptions.
5538 * ParameterStruct.h:
5539 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5541 * bufferlist.C (emergencyWriteAll): use boost bind
5543 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5545 * text.C: include paragraph_funcs.h
5546 (breakParagraph): breakParagraph is now in global scope
5548 * paragraph_funcs.[Ch]: new files
5550 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5553 * buffer.C: include paragraph_funcs.h
5554 (insertStringAsLines): breakParagraph is now in global scope
5556 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5559 * CutAndPaste.C: include paragraph_funcs.h
5560 (cutSelection): breakParagraphConservative is now in global scope
5561 (pasteSelection): ditto
5563 * buffer.h: declare oprator== and operator!= for
5564 Buffer::inset_iterator
5566 * bufferlist.C (emergencyWrite): don't use fmt(...)
5568 * text3.C: add using std::endl
5570 * BufferView.C (moveCursorUpdate): remove default arg
5572 2002-08-20 André Pönitz <poenitz@gmx.net>
5574 * buffer.[Ch]: move inline functions to .C
5577 * BufferView_pimpl.C:
5579 * buffer.[Ch]: use improved inset_iterator
5582 * paragraph.[Ch]: write one paragraph at a time
5584 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5586 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5587 style if style is not specified.
5589 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5591 * text2.C (setCounter): when searching for right label for a
5592 caption, make sure to recurse to parent insets (so that a caption
5593 in a minipage in a figure float works) (bug #568)
5595 2002-08-20 André Pönitz <poenitz@gmx.net>
5597 * text3.C: new file for LyXText::dispatch() and helpers
5599 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5601 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5603 2002-08-19 André Pönitz <poenitz@gmx.net>
5606 * text.C: new LyXText::dispatch()
5608 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5610 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5612 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5614 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5617 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5619 * Makefile.am: use $(variables) instead of @substitutions@
5621 2002-08-15 André Pönitz <poenitz@gmx.net>
5624 * BufferView_pimpl.C: streamlining mathed <-> outer world
5628 * LyXAction.C: remove unused LFUN_MATH
5630 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5632 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5634 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5636 * paragraph.C (Paragraph): reformat a bit
5637 (cutIntoMinibuffer): use builtin InsetList function instad of
5641 * buffer.C: include boost/bind.hpp, add using std::for_each
5642 (writeFileAscii): use ParagraphList iterators
5643 (validate): use for_each for validate traversal of paragraphs
5644 (getBibkeyList): use ParagraphList iterators
5645 (resizeInsets): use for_each to resizeInsetsLyXText for all
5647 (getParFromID): use ParagraphList iterators
5649 * BufferView2.C (lockInset): use paragraph list and iterators
5651 2002-08-14 John Levon <levon@movementarian.org>
5653 * lyxserver.C: remove spurious xforms include
5655 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5657 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5659 2002-08-13 André Pönitz <poenitz@gmx.net>
5662 * lyxfunc.C: further cleaning
5664 2002-08-13 André Pönitz <poenitz@gmx.net>
5666 * funcrequest.h: new constructor
5668 * funcrequest.C: move stuff here from .h
5671 * BufferView_pimpl.C:
5674 * lyxfunc.C: subsequent changes
5676 * lyxfunc.h: new view() member function
5678 * lyxfunc.C: subsequent changes
5680 2002-08-13 Angus Leeming <leeming@lyx.org>
5683 * BufferView_pimpl.C:
5691 changes due to the changed LyXView interface that now returns references
5692 to member variables not pointers.
5694 2002-08-13 Angus Leeming <leeming@lyx.org>
5696 * WordLangTuple (word, lang_code): return references to strings,
5701 * lyxtext.h: forward-declare WordLangTuple.
5706 * text.C: #include "WordLangTuple.h".
5709 * text.C: (selectNextWordToSpellcheck): constify return type.
5711 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5717 * paragraph_pimpl.h:
5720 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5722 Made updateCounter always count from start of buffer, and removed
5723 second argument (par).
5724 Reverted floats number display to '#'. Perhaps I'll try again when the
5725 code base is sanitized a bit.
5727 2002-08-12 Angus Leeming <leeming@lyx.org>
5729 * buffer.[Ch] (getLabelList): constify.
5731 2002-08-07 André Pönitz <poenitz@gmx.net>
5733 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5735 * funcrequest.h: extension to keep mouse (x,y) position
5737 2002-08-12 Juergen Vigna <jug@sad.it>
5739 * BufferView2.C (insertErrors): forbid undo when inserting error
5742 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5744 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5746 * ParagraphList.[Ch]: new files
5748 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5750 * BufferView2.C (lockInset): ParagraphList changes
5753 * bufferlist.C: ditto
5757 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5759 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5760 unused class variable counter_,
5762 * paragraph.[Ch] (getFirstCounter): delete unused function
5764 * counters.C: include LAssert.h
5765 (reset): add a new function with no arg, change other version to
5766 not have def. arg and to not allow empty arg.
5768 * text2.C (setCounter): remove empty arg from call to Counters::reset
5770 2002-08-11 John Levon <levon@movementarian.org>
5772 * Makefile.am: add WordLangTuple.h
5774 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5776 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5777 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5779 * insets/insettext.C: InsetList changes
5781 * graphics/GraphicsSupport.C (operator()): InsetList changes
5783 * toc.C (getTocList): InsetList changes
5785 * paragraph_pimpl.[Ch]: InsetList changes
5787 * paragraph.[Ch]: InsetList changes
5789 * buffer.C (inset_iterator): InsetList changes
5790 (setParagraph): ditto
5791 * buffer.h (inset_iterator): ditto
5792 * iterators.C (operator++): ditto
5793 * iterators.h: ditto
5795 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5797 * InsetList.[Ch]: new files, most InsetList handling moved out of
5800 * BufferView2.C (removeAutoInsets): InsetList changes
5802 (ChangeInsets): ditto
5804 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5806 * paragraph_pimpl.h (empty): new function
5808 * paragraph.[Ch] (empty): new function
5810 * other files: use the new Paragraph::empty function
5812 2002-08-09 John Levon <levon@movementarian.org>
5814 * lyxtext.h: remove unused refresh_height
5816 2002-08-09 John Levon <levon@movementarian.org>
5823 * paragraph.C: move sgml char escaping out of paragraph
5826 * paragraph.C: remove id setter
5830 * paragraph_pimpl.C: remove dead tex_code_break_column
5832 * bufferview_funcs.C: small cleanup
5834 * lyxfunc.C: remove dead proto
5836 * lyxtext.h: make some stuff private. Remove some dead stuff.
5838 * lyxgluelength.C: make as[LyX]String() readable
5840 2002-08-08 John Levon <levon@movementarian.org>
5845 * ToolbarDefaults.C:
5848 * toc.C: lyxaction cleanup
5850 2002-08-08 John Levon <levon@movementarian.org>
5852 * BufferView2.C: small cleanup
5855 * lyxfind.C: move unnecessary header into the .C
5857 2002-08-08 John Levon <levon@movementarian.org>
5859 * funcrequest.h: just tedious nonsense
5862 * lyx_main.C: cleanups
5865 * vspace.C: remove dead header lyx_main.h
5867 2002-08-07 Angus Leeming <leeming@lyx.org>
5870 * paragraph_pimpl.h:
5871 Forward declare class Counters in paragraph.h by moving the ctrs member
5872 variable into Paragraph::Pimpl.
5873 (counters): new method, returning a reference to pimpl_->ctrs.
5875 * text2.C: ensuing changes.
5877 2002-08-07 John Levon <levon@movementarian.org>
5879 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5881 * BufferView_pimpl.C: announce X selection on double/triple
5884 * lyx_main.C: use correct bool in batch dispatch
5886 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5888 2002-08-07 André Pönitz <poenitz@gmx.net>
5890 * funcrequest.h: new class to wrap a kb_action and its argument
5893 * BufferView_pimpl[Ch]:
5897 * lyxrc.C: subsequent changes
5900 2002-08-07 John Levon <levon@movementarian.org>
5902 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5903 document options change.
5905 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5910 * makefile.am: move counters functionality over from
5911 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5913 2002-08-06 John Levon <levon@movementarian.org>
5915 * WordLangTuple.h: new file for word + language code tuple
5926 * BufferView2.C: use WordLangTuple
5929 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5931 2002-08-06 John Levon <levon@movementarian.org>
5933 * lyx_main.C: fix cmdline batch handling
5935 2002-08-06 André Pönitz <poenitz@gmx.net>
5937 * lyxrc.C: set default for show_banner to true
5939 2002-08-06 John Levon <levon@movementarian.org>
5941 * pspell.C: fix a crash, and allow new aspell to work
5943 2002-08-06 John Levon <levon@movementarian.org>
5946 * kbmap.C: small cleanup
5949 * vspace.C: add const
5951 2002-08-05 John Levon <levon@movementarian.org>
5953 * LyXAction.C: back to tabular-insert
5955 2002-08-04 John Levon <levon@movementarian.org>
5958 * BufferView.C: cosmetic change
5960 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5970 * BufferView2.C: purge all "Lyx" not "LyX" strings
5973 * lyxcursor.C: attempt to add some documentation
5978 * ToolbarDefaults.C:
5979 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5980 merge with LFUN_TABULAR_INSERT
5987 * pspell.C: split up i/pspell implementations into separate
5988 files, many cleanups
5990 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5992 * text2.C: some cleanup
5994 * lyxfunc.C: don't check for isp_command == "none" any more, it
5995 didn't make any sense
5997 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
6002 * makefile.am: move counters functionality over
6003 from text2.C/paragraph.[Ch] to counters.[Ch], and
6005 2002-08-02 John Levon <levon@movementarian.org>
6007 * buffer.C: s/lyxconvert/lyx2lyx/
6009 2002-08-02 Angus Leeming <leeming@lyx.org>
6011 * lyxlex.C: revert John's change as it breaks reading of the user
6014 2002-08-02 Angus Leeming <leeming@lyx.org>
6016 * importer.C (Import):
6017 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6018 changes due to LyXView::view() now returning a boost::shared_ptr.
6020 2002-08-02 John Levon <levon@movementarian.org>
6022 * lyxlex.C: small cleanup
6024 2002-08-02 John Levon <levon@movementarian.org>
6026 * text2.C (status): small cleanup, no logic change
6028 2002-08-01 John Levon <levon@movementarian.org>
6031 * buffer.C (writeFile): don't output alerts, caller
6035 * lyx_cb.C: from above
6037 * lyxfunc.C: allow to open non-existent files
6039 2002-07-31 John Levon <levon@movementarian.org>
6041 * lyxserver.C: don't let incidental errors get
6044 2002-07-30 John Levon <levon@movementarian.org>
6046 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6048 2002-07-30 John Levon <levon@movementarian.org>
6051 * lyxserver.C: remove I/O callback too
6053 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6055 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6058 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6060 * many files: strip,frontStrip -> trim,ltrim,rtrim
6062 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6064 * PrinterParams.h: remove extern containsOnly, and include
6065 support/lstrings.h instead.
6067 * LaTeX.C (scanAuxFile): modify because of strip changes
6069 * buffer.C (makeLaTeXFile): ditto
6070 * bufferparams.C (writeFile): ditt
6071 * lyxfont.C (stateText): ditto
6072 * lyxserver.C (read_ready): ditto
6073 * vc-backend.C (scanMaster): ditto
6075 * BufferView_pimpl.h: ws changes
6077 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6079 2002-07-26 André Pönitz <poenitz@gmx.net>
6081 * kb_sequence.C: remove unnedred usings
6083 2002-07-26 Juergen Vigna <jug@sad.it>
6085 * lyxfind.C (LyXReplace): we have to check better if the returned
6086 text is not of theLockingInset()->getLockingInset().
6088 2002-07-25 Juergen Vigna <jug@sad.it>
6090 * lyxfind.C (LyXReplace): don't replace if we don't get the
6093 * undo_funcs.C (createUndo): remove debugging code.
6095 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6097 * buffer.C (parseSingleLyXformat2Token): Use default placement
6098 when reading old floats.
6100 * FloatList.C (FloatList): Change the default placement of figure
6101 and tables to "tbp".
6103 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6105 * MenuBackend.C: using std::max
6107 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6109 * MenuBackend.C (expandToc):
6110 (expandToc2): code moved from xforms menu frontend. It is now
6111 generic and TOCs are transparent to menu frontends.
6113 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6115 * toc.C (getTocList): protect against buf=0
6117 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6118 Menu as first parameter. Now, this calls itself recursively to
6119 expand a whole tree (this will be useful for TOC handling)
6120 (expandFloatInsert): remove 'wide' version of floats
6122 * MenuBackend.h (submenuname): returns the name of the submenu.
6123 (submenu): returns the submenu itself, provided it has been
6124 created by MenuBackend::expand
6126 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6128 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6129 insets which have noFontChange == true. (bug #172)
6131 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6133 * BufferView_pimpl.C: add connection objects and use them...
6136 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6138 * MenuBackend.C (expandLastfiles):
6141 (expandFloatListInsert):
6142 (expandFloatInsert):
6143 (expand): split expand in parts
6145 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6147 * lyx_gui.C: use lyx_gui::exit()
6149 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6151 * LyXAction.C: show the failing pseudo action
6153 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6155 * buffer.C (readFile): Run the lyxconvert script in order to read
6158 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6162 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6164 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6168 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6170 2002-07-22 Herbert Voss <voss@lyx.org>
6173 * lyxlength.[Ch]: add support for the vertical lengths
6175 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6177 * toc.[Ch]: std:: fixes
6179 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6181 * lyxrc.C: do not include lyx_main.h
6183 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6189 * BufferView2.C: include "lyxlex.h"
6192 * bufferparams.h: do not #include "lyxlex.h"
6194 * lyxtextclasslist.C (Add): remove method
6195 (classlist): renamed to classlist_
6197 * paragraph_pimpl.C:
6201 * bufferview_funcs.C:
6206 * toc.C (getTocList): use BufferParams::getLyXTextClass
6208 * toc.C (getTocList): use InsetFloat::addToToc
6210 * toc.[Ch]: new files, containing helper functions to handle table
6213 * lyxfunc.C (dispatch): no need to remove spaces around command
6215 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6216 first command of the sequence; it is not very clever, but I do not
6217 have a better idea, actually
6219 * LyXAction.C (LookupFunc): make sure to remove space at the
6220 beginning and end of the command
6222 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6224 * MenuBackend.C (getMenubar): new method: return the menubar of
6226 (read): treat differently reading of menu and menubar (in
6227 particular, the menubar has no name now)
6228 (Menu::menubar): remove
6230 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6233 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6235 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6236 a bibitem inset in a RTL paragraph.
6238 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6240 * paragraph_pimpl.C: constify
6242 * BufferView_pimpl.C:
6244 * lyxfunc.C: fix dispatch in a nicer way
6246 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6248 * lyxfunc.C (dispatch):
6249 * BufferView_pimpl.C:
6250 * BufferView_pimpl.h:
6252 * BufferView.h: rename Dispatch() to dispatch()
6254 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6256 * lyxlayout.C (Read): honor DependsOn tag
6258 * lyxlayout.[Ch] (depends_on): new method
6260 * version.C.in: update lyx_docversion
6262 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6264 * paragraph.C (validate): remove from here...
6265 * paragraph_pimpl.C (validate): ... and move here
6266 (isTextAt): make it const
6268 * buffer.C (getLists): ws cleanup
6270 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6272 * language.C (read): Use iso8859-1 encoding in latex_lang
6273 (this prevents LyX from crashing when using iso10646-1 encoding).
6275 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6277 * text2.C (toggleInset): if cursor is inside an inset, close the
6278 inset and leave cursor _after_ it
6280 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6282 * lyxfunc.C: move minibuffer completion handling out of here
6284 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6286 * BufferView_pimpl.C:
6287 * LaTeX.C: fix dispatch calls
6289 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6291 * text.C (drawChars): Fix Arabic text rendering.
6293 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6297 * lyxfunc.C: remove message-push/pop
6301 * lyxfunc.C: rationalise some code by removing verboseDispatch
6302 in favour of a bool argument to dispatch()
6304 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6306 * lyx_main.C (init): make sure to read symlinks as absolute paths
6308 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6311 * lyxfunc.C: no need for commandshortcut to be a member
6313 2002-07-15 André Pönitz <poenitz@gmx.net>
6315 * converter.C: add support for $$s (scripts from lib/scripts dir)
6316 * lyx_main.C: white space
6318 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6322 * lyxrc.C: remove second exit confirmation
6324 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6329 * BufferView_pimpl.h:
6330 * BufferView_pimpl.C:
6331 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6333 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6335 * MenuBackend.C (expand): add numeric shortcuts to document menu
6337 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6339 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6341 * lyxfont.C (setLyXFamily):
6348 * buffer.C (asciiParagraph): use ascii_lowercase
6350 2002-07-15 Mike Fabian <mfabian@suse.de>
6352 * lyxlex_pimpl.C (search_kw):
6353 * lyxlex.C (getLongString):
6354 * converter.h (operator<):
6355 * converter.C (operator<):
6356 * buffer.C (parseSingleLyXformat2Token):
6358 * ToolbarDefaults.C (read):
6359 * MenuBackend.C (checkShortcuts):
6361 * LColor.C (getFromGUIName):
6362 (getFromLyXName): use the compare_ascii_no_case instead of
6363 compare_no_case, because in turkish, 'i' is not the lowercase
6364 version of 'I', and thus turkish locale breaks parsing of tags.
6366 2002-07-16 Angus Leeming <leeming@lyx.org>
6368 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6369 now takes a Buffer const & argument.
6371 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6373 * BufferView.C (resize): check there's a buffer to resize
6375 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6377 * lyxfunc.C: remove dead code
6380 * lyxserver.C: use lyx_guii::set_read_callback
6382 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6384 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6385 an inset in a RTL paragraph.
6387 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6389 * lyxfunc.C: repaint after a font size update
6391 2002-07-15 André Pönitz <poenitz@gmx.net>
6393 * lyxlength.C: inBP should be able to return negative values
6395 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6397 * lyxfunc.C: use lyx_gui::update_fonts()
6399 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6401 * lyxfunc.C: use lyx_gui::update_color()
6403 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6409 * lyxrc.C: remove file->new asks for name option, and let
6410 buffer-new take an argument
6412 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6414 * BufferView_pimpl.C: remove unneeded extra repaint()
6416 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6418 * LyXAction.C: allow command-sequence with NoBuffer
6420 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6422 2002-07-10 Angus Leeming <leeming@lyx.org>
6424 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6426 2002-07-09 Angus Leeming <leeming@lyx.org>
6428 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6430 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6432 * lengthcommon.h: whitespace
6434 * lyxfunc.C: update scrollbar after goto paragraph
6436 * lyxtext.h: factor out page break drawing, and fix it so
6437 page break/added space paints as selected nicely
6439 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6441 * BufferView_pimpl.C: add FIXMEs, clean up a little
6443 2002-07-09 André Pönitz <poenitz@gmx.net>
6445 * lyxfont.[Ch]: support for wasy symbols
6447 2002-07-08 André Pönitz <poenitz@gmx.net>
6449 * BufferView_pimpl.C: apply John's patch for #93.
6451 2002-07-05 Angus Leeming <leeming@lyx.org>
6453 * BufferView_pimpl.C (buffer): generate previews if desired.
6455 * LColor.h: add "preview" to the color enum.
6457 * LColor.C (LColor): add a corresponding entry to the items array.
6459 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6462 2002-07-05 Angus Leeming <leeming@lyx.org>
6464 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6465 The body of the code is now in the method that is passed an ostream &
6466 rather than a file name.
6467 Pass an additional only_preamble parameter, useful for the forthcoming
6470 2002-07-03 André Pönitz <poenitz@gmx.net>
6472 * lyxfunc.C: simplify getStatus() a bit for math stuff
6474 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6476 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6478 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6480 * text.C (changeRegionCase): do not change case of all the
6481 document when region ends at paragraph end (bug #461)
6483 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6485 * paragraph.C (startTeXParParams):
6486 (endTeXParParams): add \protect when necessary
6488 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6490 * BufferView_pimpl.C (workAreaExpose): remove warning
6492 2002-06-27 Angus Leeming <leeming@lyx.org>
6494 * Makefile.am: add lyxlayout_ptr_fwd.h.
6496 2002-06-26 André Pönitz <poenitz@gmx.net>
6498 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6500 2002-06-25 Angus Leeming <leeming@lyx.org>
6502 * lyxfunc.C (dispatch): Comment out the call to
6503 grfx::GCache::changeDisplay. The method no longer exists now that the
6504 pixmap generation part of the graphics loader has been moved into
6507 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6509 * text2.C: layout as layout
6511 * text.C: layout as layout
6513 * tabular.C (OldFormatRead): layout as layout
6515 * paragraph_pimpl.C (TeXDeeper): layout as layout
6516 (realizeFont): layout as layout
6518 * paragraph.C (writeFile): layout as layout
6519 (validate): layout as layout
6520 (getFont): layout as layout
6521 (getLabelFont): layout as layout
6522 (getLayoutFont): layout as layout
6523 (breakParagraph): layout as layout
6524 (stripLeadingSpaces): layout as layout
6525 (getEndLabel): layout as layout
6526 (getMaxDepthAfter): layout as layout
6527 (applyLayout): layout as layout
6528 (TeXOnePar): layout as layout
6529 (simpleTeXOnePar): layout as layout
6530 (TeXEnvironment): layout as layout
6531 (layout): layout as layout
6532 (layout): layout as layout
6534 * lyxtextclass.C (compare_name): new functor to work with
6535 shared_ptr, layout as layout
6536 (Read): layout as layout
6537 (hasLayout): layout as layout
6538 (operator): layout as layout
6539 (delete_layout): layout as layout
6540 (defaultLayout): layout as layout
6542 * lyxlayout_ptr_fwd.h: new file
6544 * lyxlayout.C (Read): layout as layout
6546 * lyx_cb.C (MenuInsertLabel): layout as layout
6548 * bufferlist.C (newFile): layout as layout
6550 * buffer.C (readLyXformat2): layout as layout
6551 (parseSingleLyXformat2Token): layout as layout
6552 (insertStringAsLines): layout as layout
6553 (asciiParagraph): layout as layout
6554 (latexParagraphs): layout as layout
6555 (makeLinuxDocFile): layout as layout
6556 (simpleLinuxDocOnePar): layout as layout
6557 (makeDocBookFile): layout as layout
6558 (simpleDocBookOnePar): layout as layout
6559 (getLists): layout as layout
6561 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6563 * CutAndPaste.C (cutSelection): layout as layout
6564 (pasteSelection): layout as layout
6565 (SwitchLayoutsBetweenClasses): layout as layout
6567 * BufferView_pimpl.C (Dispatch): layout as layout
6568 (smartQuote): layout as layout
6570 * BufferView2.C (unlockInset): layout as layout
6572 2002-06-24 André Pönitz <poenitz@gmx.net>
6574 * lyxfunc.C: fix #487
6576 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6580 * lyxfunc.C: remove display_shortcuts, show_banner
6582 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6584 * Buffer_pimpl.C: oops, update on resize
6586 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6593 * BufferView.C: use repaint()
6595 * BufferView_pimpl.h:
6596 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6597 as it's a clearer description. Remove superfluous
6600 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6602 * text.C: fix bug 488. Not ideal, but getting
6603 getWord() to work properly for the insets that
6604 matter is more difficult ...
6606 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6608 * BufferView_pimpl.C:
6611 * lyxfunc.C: remove the six million index lyxfuncs to just
6612 one, and DTRT (bug 458)
6614 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6618 * BufferView_pimpl.h:
6619 * BufferView_pimpl.C: clean up resize() stuff,
6620 and unnecessary updateScreen()s
6622 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6626 * BufferView_pimpl.h:
6627 * BufferView_pimpl.C:
6630 * minibuffer.C: remove focus management of workarea,
6631 not needed. Use screen's greyOut()
6633 2002-06-17 Herbert Voss <voss@lyx.org>
6635 * converter.C: (convert) do not post a message, when converting
6636 fails, let the calling function decide what to do in this case
6638 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6640 * lyxfunc.C: tidy up a little
6642 2002-06-16 <alstrup@diku.dk>
6644 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6645 Got rid of FORMS_H_LOCATION include. Now we are
6648 2002-06-15 LyX Development team <lyx@rilke>
6650 * buffer.[Ch] (sgmlOpenTag):
6651 (sgmlCloseTag): Added support for avoiding pernicious mixed
6652 content. Return number of lines written.
6655 (makeDocBookFile): Fixed calls to sgml*Tag.
6656 Simple white space clean.
6658 (simpleDocBookOnePar): Simple white space clean.
6660 * tabular.[Ch] (docBook): Renamed to docbook and got another
6661 argument to related with the pernicious mixed content.
6663 (docbookRow): Fixed calls for docbook inset method.
6665 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6667 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6668 so it's X11 independent.
6672 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6674 2002-06-15 Lyx Development team <lyx@electronia>
6676 * intl.h: Renamed getTrans to getTransManager.
6678 2002-06-14 Angus Leeming <leeming@lyx.org>
6680 * Makefile.am: nuke forgotten stl_string_fwd.h.
6682 2002-06-12 Angus Leeming <leeming@lyx.org>
6684 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6686 2002-06-13 Angus Leeming <leeming@lyx.org>
6689 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6691 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6693 * kbmap.C (getiso): add support for cyrillic and greek
6695 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6699 * BufferView_pimpl.h:
6700 * BufferView_pimpl.C: move bogus scrolling logic
6703 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6706 * BufferView_pimpl.C: view->resize() change
6708 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6710 * BufferView_pimpl.C: topCursorVisible
6713 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6717 * lyx_gui.C: move to frontends/
6721 * lyx_main.C: changes from above
6723 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6730 * lyx_main.C: minor tidy
6732 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6734 * BufferView_pimpl.h:
6735 * BufferView_pimpl.C:
6737 * BufferView.C: make painter() const,
6740 * BufferView2.C: use screen() accessor
6743 * lyx_main.C: some minor cleanup
6745 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6747 * BufferView_pimpl.h:
6748 * BufferView_pimpl.C: remove enter/leaveView,
6751 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6756 * BufferView_pimpl.h:
6757 * BufferView_pimpl.C: only construct screen once,
6760 * lyxrc.C: remove pointless comment
6762 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6765 * BufferView.C: remove active() and belowMouse()
6767 * BufferView_pimpl.h:
6768 * BufferView_pimpl.C: use workarea() not workarea_,
6769 and make it use a scoped_ptr instead
6771 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6773 * lyx_gui.C: add debug message on BadWindow
6775 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6777 * sp_spell.C: fdopen is not part of the C++ standard.
6779 * paragraph.C (InsetIterator): use >= instead of ==
6781 2002-06-07 Angus Leeming <leeming@lyx.org>
6783 Fixes needed to compile with Compaq cxx 6.5.
6784 * BufferView_pimpl.C:
6791 * lyxtextclasslist.C:
6796 all c-library variables have been moved into namespace std. Wrap
6797 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6802 Add a using std::abs declaration.
6804 * kbmap.h (modifier_pair):
6805 * paragraph.h (InsetTable, InsetList):
6806 * lyxfont.h (FontBits):
6807 type definition made public.
6809 * bufferlist.C (emergencyWriteAll): the compiler complains that
6810 there is more than one possible lyx::class_fun template to choose from.
6811 I re-named the void specialisation as lyx::void_class_fun.
6813 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6815 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6816 the compiler is is unable to find tostr in write_attribute.
6818 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6820 * buffer.C (sgmlError): hide #warning
6822 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6824 * xtl/*: get rid of xtl, which is not in use anyway
6826 * LyXAction.C (init):
6827 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6828 were unimplemented xtl experimentation
6830 2002-06-04 André Pönitz <poenitz@gmx.net>
6832 * lyxfunc.C: disable array operation on simple formulae
6834 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6836 * converter.C: constify a bit
6838 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6840 * lyx_gui.C: check xforms version correctly
6842 2002-04-30 Herbert Voss <voss@lyx.org>
6844 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6847 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6849 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6850 attempt to register it with a VCS)
6852 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6854 * lyx_main.C (init): honor variables LYX_DIR_13x and
6857 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6861 * lyx_main.C: fix a crash on bad command line,
6862 and give a useful exit status on error
6864 * lyxfunc.C (doImport): allow -i lyx to work
6866 2002-03-30 André Pönitz <poenitz@gmx.net>
6868 * lyxfunc.C: mathed font changes
6870 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6885 * trans_mgr.h: srcdocs, and some minor cleanups
6887 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6889 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6890 call getFont all the time)
6892 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6894 * switch from SigC signals to boost::signals
6896 2002-05-29 André Pönitz <poenitz@gmx.net>
6898 * paragraph_pimpl.C (getChar): don't call size() too often...
6900 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6902 * paragraph_pimpl.C (insertChar): do not try to update tables when
6903 appending (pos == size())
6905 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6906 in order to reduce drastically the number of comparisons needed to
6907 parse a large document
6909 2002-05-29 André Pönitz <poenitz@gmx.net>
6915 * textclasslist.[Ch]:
6916 * sp_ispell.h: whitespace change
6918 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6920 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6921 lyxaction directly now.
6923 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6927 * lyxvc.C: remove unused headers
6929 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6936 * undo_funcs.C: some cleanups. Use shared_ptr
6937 and a template for the undo stacks.
6939 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6941 * BufferView_pimpl.h:
6942 * BufferView_pimpl.C:
6949 * text2.C: use key_state/mouse_state
6951 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6953 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6956 * chset.C: change include order
6957 (loadFile): use boost regex and get rid of LRegex and LSubstring
6959 * Makefile.am (BOOST_LIBS): new variable
6962 * LaTeX.C: change include order.
6963 (scanAuxFile): use boost regex and get rid of LRegex and
6967 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6972 * FontInfo.C: moved to frontends/xforms/
6975 * FontLoader.C: moved into frontends for GUIIzation
6980 * lyxfunc.C: changes from above
6982 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6984 * LColor.C: remove spurious X include
6986 * BufferView_pimpl.C:
6991 * text2.C: move font metrics to frontends/
6993 2002-05-24 Juergen Vigna <jug@sad.it>
6995 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6996 setting the undo_cursor.
6998 * ParagraphParameters.h: include local includes first.
7000 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7002 * BufferView_pimpl.C:
7003 * BufferView_pimpl.h:
7007 * screen.C: move WorkArea into frontends/
7013 * BufferView2.C: move LyXScreen into frontends/
7017 * lyx_gui.C: move lyxlookup into frontends/xforms/
7019 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7022 * BufferView_pimpl.C:
7032 * bufferview_funcs.C:
7045 * vc-backend.C: move LyX/XFormsView into frontends/
7047 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
7059 * text2.C: move Painter to frontends/
7061 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
7063 * buffer.C: comment out some some code that depend upon lyx_format
7066 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7067 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7069 * buffer.h (NO_COMPABILITY): turn off compability
7071 * ColorHandler.C: include scoped_array.hpp
7073 * font.C: Use more specific smart_ptr header.
7076 * ShareContainer.h: ditto
7080 * BufferView_pimpl.h: ditto
7081 * ColorHandler.h: ditto
7083 * kbmap.C (defkey): change call to shared_ptr::reset
7085 2002-05-21 Juergen Vigna <jug@sad.it>
7087 * buffer.C (insertErtContents): fix to insert ert asis if it is
7088 non empty. Skip it completely if it contains only whitespaces.
7090 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7092 * BufferView_pimpl.C:
7093 * BufferView2.C: clear selection on paste (bug 393)
7095 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7097 * DepTable.C: include ctime
7099 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7101 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7103 2002-05-14 Juergen Vigna <jug@sad.it>
7105 * text.C (breakParagraph): fixed function to honor the keepempty
7106 layout in the right maner and also to permit the right breaking
7107 algorithm on empty or non empyt keepempty paragraphs.
7109 * paragraph.C (breakParagraph): we have to check also if the par
7110 is really empty (!size()) for isempty otherwise we do the wrong
7113 2002-05-10 Juergen Vigna <jug@sad.it>
7115 * buffer.[Ch] : The following are only changes to the ert
7116 compatibility read reading old LaTeX layout and font stuff and
7117 convert it to ERTInsets.
7119 * buffer.h: added isErtInset().
7121 * buffer.C (struct ErtComp): add a fromlayout bool to check
7122 if we're inside a LaTeX layout.
7123 (isErtInset): new helper function.
7124 (insertErtContents): look for other ert insets before this one
7125 and insert the contents there, so that we don't have subsequent
7126 ERT insets with nothing between them. This way we create only one
7127 inset with multiple paragraphs. Also check if we don't insert only
7128 spaces ' ' as they are ignored anyway afterwards in the .tex file
7129 so if we have only spaces we will ignore this latex part in the
7131 (parseSingleLyXformat2Token \\layout): better compatibility when
7132 reading layout-latex stuff.
7133 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7135 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7136 stuff after reading the inset only get the information back from
7139 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7141 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7143 * LaTeXFeatures.C (getBabelOptions): New method.
7145 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7147 * BufferView_pimpl.C (Dispatch): work around missing argument for
7150 2002-05-08 Juergen Vigna <jug@sad.it>
7152 * text.C (leftMargin): handle paragraph leftindent.
7154 * paragraph.C (writeFile): write the new \\leftindent tag.
7155 (validate): handle leftindent code.
7156 (TeXEnvironment): handle paragraphleftindent code again.
7158 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7160 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7161 for paragrap_extra indent code and new token \\leftindent.
7162 (latexParagraphs): handle the leftindent as environment.
7164 * ParameterStruct.h: added leftindent support.
7166 * ParagraphParameters.C (leftIndent): added support functions for
7167 the paragraph left indent.
7169 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7172 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7174 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7177 * text.C (computeBidiTables): No bidi in insetERT.
7179 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7182 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7184 * version.C.in: pre 5
7186 2002-05-02 José Matos <jamatos@fep.up.pt>
7187 * buffer.C (makeDocBookFile): white space changes, add newline to
7189 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7191 * tabular.C (docBook): fix typo.
7193 2002-05-03 Juergen Vigna <jug@sad.it>
7195 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7196 change in LyXText as we can not be sure it was not freed.
7197 (drawOneRow): remove unused code.
7199 * text.C (drawInset): redo the calculation of the need_break_row as
7200 it could have a row which was already freed.
7201 (draw): look at the return value of drawInset and return false if
7202 it also returned false.
7203 (paintRowText): look at the return value of draw and return false if
7204 it also returned false.
7206 * lyxtext.h: added bool return type to drawInset() and draw() so that
7207 if we have a change in the row so that the rowbreak has to be redone
7208 we abort drawing as it will be called again.
7210 2002-05-02 Juergen Vigna <jug@sad.it>
7212 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7213 a change in the maintext also if we're inside an inset.
7214 (Dispatch): set the cursor again after a break line and after the
7215 screen has been updated as it could be we're in a different row.
7217 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7218 to set the cursor behind the pargraph with > size().
7219 (setCursor): check also for the same paragraph when checking where
7220 to put the cursor if we have a NFR inset.
7222 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7223 parts of layout read further up as it still was in the wrong
7226 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7228 * screen.C (drawFromTo): change sine fullRebreak always return
7231 * buffer.C (parseSingleLyXformat2Token): reindent some
7233 * BufferView_pimpl.C (update): change since fullRebreak always
7235 (Dispatch): git rid of the last hardcoded "Standard"s.
7237 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7239 * text2.[Ch] (fullRebreak): make it return void now that we always
7242 2002-04-30 Juergen Vigna <jug@sad.it>
7244 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7245 ert compatibility check for "latex" layout.
7247 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7249 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7250 minipages: use col% instead of p%, and also use the current font.
7251 (makeLaTeXFile): Fix use babel condition.
7252 (parseSingleLyXformat2Token): Correct font when reading old floats.
7254 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7256 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7257 inserting list of floats.
7259 2002-04-25 Herbert Voss <voss@lyx.org>
7261 * MenuBackend.C (expand): don't add the graphics extensions to the
7264 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7266 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7267 non-existing layout, do not complain if it was the default layout
7268 of the original class (bug #342)
7270 2002-04-24 Juergen Vigna <jug@sad.it>
7272 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7273 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7275 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7277 * buffer.C (getBibkeyList): If using \bibliography, return the
7278 option field with the reference itself. Enables us to provide natbib
7279 support when using \bibliography.
7281 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7283 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7285 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7286 natbib is provided by the LaTeX class.
7288 2002-04-23 Juergen Vigna <jug@sad.it>
7290 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7293 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7295 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7297 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7299 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7300 ensuremath around textordmasculine, textordfeminine and
7303 2002-04-19 Juergen Vigna <jug@sad.it>
7305 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7306 reinitializing the buffer otherwise row-dimensions may be wrong.
7307 (update): reset also the selection cursors if they do exits otherwise
7308 their x/y positions may be wrong.
7310 * text2.C (cursorDown): don't enter the inset if we came from a row
7311 above and are one row over the inset.
7313 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7314 really leaving an inset.
7316 2002-04-18 Juergen Vigna <jug@sad.it>
7318 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7319 of the selected paragraph does not have the selected layout also if
7322 * text2.C (setLayout): fixed bug which did not change last selected
7325 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7326 changed the read and substituted \\end_float with \\end_inset!
7328 * BufferView_pimpl.C (cursorPrevious):
7329 (cursorNext): fixed to make it work with rows heigher than the work
7330 area without moving the cursor only the draw of the row.
7331 (workAreaMotionNotify): fix jumping over high rows.
7333 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7335 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7338 2002-04-16 Juergen Vigna <jug@sad.it>
7340 * text2.C (setCursor): set also the irow().
7341 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7343 (cursorDown): support for locking an inset if the x_fix value goes
7344 inside it. That way I can transverse insets too with cursor up/down.
7346 * lyxrow.h: added irow helper function same as other (i) functions.
7348 * BufferView_pimpl.C (cursorPrevious):
7349 (cursorNext): fixed for insets!
7351 2002-04-15 Juergen Vigna <jug@sad.it>
7353 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7354 position otherwise it is wrong in some cases.
7356 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7357 inside the inset before the call.
7359 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7361 * buffer.[Ch] (getBibkeyList): make it const.
7363 2002-04-12 Juergen Vigna <jug@sad.it>
7365 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7367 * text2.C (getCursorX): new helper function
7368 (setCursor): compute also ix_
7369 (setCursorFromCoordinates): set also ix.
7371 * lyxcursor.h: added ix_ and helper functions.
7373 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7375 * buffer.C (insertStringAsLines): dont break paragraph if the this
7376 paragraph is inside an inset which does not permit it!
7378 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7379 also with no chars on this paragraph.
7380 (paintRowText): only paint stuff if it's inside the workarea!
7382 * paragraph.C (breakParagraph): honor keepempty flag and break the
7383 paragraph always below not above.
7385 * BufferView2.C (unlockInset): update the paragraph layout on inset
7386 unlock as we changed paragraph in such a case.
7388 * lyxfind.C (LyXFind): clear the former selection if not found!
7390 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7391 again called in insertChar().
7393 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7394 an inset which uses the whole row!
7395 (rightMargin): ditto.
7396 (insertChar): force a rebreak if we inserted an inset!
7398 2002-03-28 Herbert Voss <voss@lyx.org>
7400 * lyxlength.[Ch]: add inBP() to get the right PS-point
7401 units (BigPoint). With inPixels we have rounding errors
7403 2002-04-11 Juergen Vigna <jug@sad.it>
7405 * text2.C (setCursorFromCoordinates): set iy to the right value.
7406 (setCursor): add check if row->previous exists!
7408 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7409 an old float_type as this was the case in the old code!
7411 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7413 * BufferView2.C (showLockedInsetCursor): use iy
7414 (fitLockedInsetCursor): ditto
7416 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7417 locked insets as there we have the right value now.
7419 * lyxcursor.C: added iy_ variable and iy functions to set to the
7420 baseline of cursor-y of the locked inset.
7422 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7423 (setCursor): fixed for insets which need a full row.
7425 * text.C (rowLastPrintable): don't ignore the last space when before
7426 an inset which needs a full row.
7427 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7428 as last character of a row when before a inset which needs a full row.
7430 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7432 * version.C.in: update date
7434 * text2.C (fullRebreak): try to always return true and see what
7437 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7439 * MenuBackend.C (expand): use Floating::listName
7441 * FloatList.C (FloatList): add listName argument to the built-in
7444 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7445 text associated with the float.
7447 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7449 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7451 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7453 * ShareContainer.h: add a couple of missing typenames.
7455 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7457 * lyxrc.C (getDescription): use _() correctly rather than N_().
7459 2002-03-28 Herbert Voss <voss@lyx.org>
7461 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7462 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7464 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7466 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7467 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7469 2002-03-29 Juergen Vigna <jug@sad.it>
7471 * lyxfunc.C (dispatch): add a missing fitCursor call.
7473 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7474 it was scrolled by a cursor move, so return the bool status.
7476 * BufferView.C (fitCursor): return the bool flag also to the outside
7477 world as this is needed.
7479 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7481 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7482 call the edit() as it is not needed (and wrong) IMO.
7483 (workAreaButtonPress): set the screen_first variable before evt.
7484 unlock the inset as this may change screen_first and then we have
7485 a wrong y position for the click!
7487 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7489 * MenuBackend.C (expand): another translation that I missed
7491 2002-03-28 Juergen Vigna <jug@sad.it>
7493 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7495 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7497 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7499 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7501 * MenuBackend.C (expand): fix export/view/update when there is no
7504 2002-03-27 Herbert Voss <voss@lyx.org>
7506 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7509 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7511 * bufferview_funcs.C (currentState): only show paragraph number
7512 for is DEVEL_VERSION is set.
7514 * lyxfunc.C (dispatch): put warning in INFO channel
7516 * MenuBackend.C (expand): translate the name of floats
7518 * FloatList.C (FloatList): mark the float names for translation
7520 * converter.C (convert): use LibScriptSearch
7522 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7524 * MenuBackend.C (defaults): fix default menu (we might as well get
7527 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7529 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7532 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7534 * lyxvc.C: reorder includes.
7536 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7538 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7541 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7543 * CutAndPaste.C: change layouts earlier on paste
7544 to avoid crashing when calling getFont()
7546 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7548 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7551 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7553 * WorkArea.C: remove 'Pending' debug message.
7555 * most files: ws cleanup
7557 * buffer.[Ch]: ws changes
7559 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7561 2002-03-21 Juergen Vigna <jug@sad.it>
7563 * tabular.C (SetMultiColumn): collapse also the contents of the
7564 cells and set the last border right. Added a Buffer const * param.
7566 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7568 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7571 2002-03-19 Juergen Vigna <jug@sad.it>
7573 * text2.C (clearSelection): reset also xsel_cache.
7575 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7576 where it needs to be called (John tells us to do so too :)
7577 (selectionLost): reset sel_cache.
7579 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7581 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7583 * text2.C (setCursorIntern): put debuging code in INSETS channel
7585 2002-03-19 André Pönitz <poenitz@gmx.net>
7587 * lyxfunc.C: tiny whitespace change
7589 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7591 * ToolbarDefaults.C (init):
7592 * LyXAction.C (init):
7594 * BufferView_pimpl.C (Dispatch):
7595 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7597 2002-03-19 Allan Rae <rae@lyx.org>
7599 * exporter.C (Export): removeAutoInsets before doing anything else.
7600 While I've just introduced a dependency on BufferView this really is
7601 the best place to clean the buffer otherwise you need to cleanup in
7602 a dozen places before calling export or cleanup in a dozen functions
7605 * converter.C (runLaTeX):
7606 (scanLog): Better handling of removeAutoInsets and screen updates.
7608 * lyxfunc.C (dispatch): small whitespace changes
7610 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7612 * WorkArea.C (C_WorkAreaEvent): return a value.
7613 (event_cb): return 1 if we handled the event, 0 otherwise.
7615 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7617 2002-03-18 Juergen Vigna <jug@sad.it>
7619 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7620 (GetAdditionalWidth): ditto.
7624 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7625 inset if we're there actually (probably not used right now but this
7626 is the direction to go for unifying code).
7627 (paste): disable code to clear the selection.
7629 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7630 inside an InsetText and move the check further up as it is in the
7633 * text2.C (pasteSelection): set a selection over the pasted text.
7635 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7637 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7638 and libgraphics to build on Cygwin.
7640 2002-03-15 Juergen Vigna <jug@sad.it>
7642 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7643 inserting an Inset into the paragraph. I know this is not the best
7644 fix but we already use current_view in CutAndPaste so we will remove
7645 all of it's using at the same time.
7647 * buffer.C (sgmlError): deactivated function till it is rewritten in
7648 the right mode, now it can create problems.
7650 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7651 before accessing it.
7653 2002-03-14 Juergen Vigna <jug@sad.it>
7655 * undo_funcs.C (textHandleUndo): do the right thing when updating
7656 the inset after the undo/redo.
7658 * text2.C (setCursor): just some testcode for #44 not ready yet.
7660 * undo_funcs.C (textHandleUndo): set the next() and previous()
7661 pointers of the paragraph to 0 before deleting otherwise we have
7662 problems with the Paragraph::[destructor].
7664 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7665 on a paragraph insertion.
7667 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7669 * buffer.C (asciiParagraph): use += operator for char append to
7672 * paragraph.C (getFontSettings): compare >= not just >
7673 (highestFontInRange): ditto
7676 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7678 * paragraph.C: change several algorithm to be more appripriate for
7679 the problem domain. This is lookip in FontList and in the InsetList.
7681 2002-03-13 André Pönitz <poenitz@gmx.net>
7684 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7686 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7691 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7693 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7695 * Painter.C (display): anon helper function, adjust code for this
7697 (pixmap): remove function.
7699 * Painter.h: remove private display variable.
7701 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7703 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7705 * WorkArea.[Ch]: remove figinset_canvas cruft.
7707 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7709 * lyxtextclass.C (operator): add one item cache optimization.
7711 * bufferlist.h: doxy changes
7713 * bufferlist.C: ws changes
7715 * DepTable.[Ch] (ext_exist): place const in the right spot.
7717 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7719 (workAreaExpose): call resizeInsets when the with BufferView changes.
7720 (Dispatch): adjust for protectedBlank removal
7721 (specialChar): call updateInset if the insert went ok.
7723 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7724 specialChar instead.
7726 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7728 * BufferView.h: doxy change
7730 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7732 * lyxtextclass.C (operator[]): remove non-const version
7733 (defaultLayout): remove non-const version
7735 2002-03-12 Juergen Vigna <jug@sad.it>
7737 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7738 did resize the LyXText too.
7740 * buffer.C (readLyXformat2): set layout information on newly allocated
7743 * tabular.C (OldFormatRead): set layout information on the paragraph.
7745 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7747 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7749 2002-03-11 Juergen Vigna <jug@sad.it>
7751 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7753 (resizeCurrentBuffer): force also the insets to resize themselfes.
7754 (moveCursorUpdate): fixed up for InsetText.
7756 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7759 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7760 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7761 value of Dialogs::tooltipsEnabled().
7762 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7764 2002-03-08 Juergen Vigna <jug@sad.it>
7766 * BufferView_pimpl.C (updateInset): update inset inside inset also
7767 if it isn't inside theLockingInset().
7769 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7771 * buffer.C (asciiParagraph): redo some of the word and line length
7773 (getLists): look for Caption instead of caption.
7775 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7777 * buffer.C (Buffer): initialize niceFile to true
7780 (makeDocBookFile): make sure niceFile is true on exit
7782 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7784 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7786 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7788 * LyXSendto.C: remove.
7789 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7790 * lyx_gui.C: remove now-redundant comment.
7791 * ColorHandler.h: remove forward declaration of class WorkArea.
7792 * lyxfunc.C: remove #include "WorkArea.h".
7794 2002-03-07 Juergen Vigna <jug@sad.it>
7796 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7797 got moved away with the DEPM and also set the inset_owner always
7798 right which before could have been omitted.
7800 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7802 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7803 wanted layout is not found.
7805 2002-03-07 Juergen Vigna <jug@sad.it>
7807 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7809 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7811 * paragraph.C (breakParagraph): use default layout not layout of
7813 (Paragraph): clear ParagraphParameters.
7815 2002-03-06 Juergen Vigna <jug@sad.it>
7817 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7818 otherwise it would not be a valid lenght. Fixed a special case in
7819 the minipage compatibility read where we end the document with a
7822 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7823 was set as it could be 0 for InsetTexts first entry.
7825 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7827 * paragraph.C (writeFile): if layout is empty write out
7828 defaultLayoutName().
7830 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7831 file without named layout we set layout to defaultLayoutName().
7833 2002-03-06 Juergen Vigna <jug@sad.it>
7835 * CutAndPaste.C (copySelection): set layout for new paragraph.
7837 * text.C (prepareToPrint): leave ERT inset left aligned
7838 (leftMargin): don't indent paragraphs inside ERT insets
7840 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7842 * paragraph.C (breakParagraph): dont call clear do the work manually
7844 * paragraph.[Ch] (clear): remove function
7846 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7848 * paragraph.C (Paragraph): dont call clear, the work has already
7851 * lyxtextclass.C (operator): assert if n is empty
7853 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7854 work manually instead.
7856 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7858 * BufferView_pimpl.C: protect selectionLost against text == 0
7860 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7862 * text.C (breakParagraph): fix a setting layout to '0' problem.
7864 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7866 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7867 final location of file, for the included files, and graphics.
7869 2002-03-05 Juergen Vigna <jug@sad.it>
7871 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7873 2002-03-04 Juergen Vigna <jug@sad.it>
7875 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7877 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7878 last column of multicolumn cells.
7879 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7881 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7883 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7884 file if it doesn't go to a temporary file.
7886 * buffer.C (sgmlOpenTag):
7887 (sgmlCloseTag): remove extra newline insertion.
7889 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7891 * text.C (getRowNearY): comment out debug msg
7893 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7895 * text2.C: first -> first_y
7897 * text.C (getRowNearY): add some attemts at a possible
7898 optimization, not working.
7900 * tabular.[Ch]: add BufferParams to several function so that newly
7901 created paragraph can be initialized to he default layotu for the
7904 * tabular-old.C (ReadOld): add buf->params to call of Init
7906 * screen.C: rename text->first to text->first_y
7908 * paragraph.C (breakParagraph): always set layout in the broken
7911 * lyxtextclass.C (Read): remove lowercase
7914 (delete_layout): ditto
7916 * lyxtext.h: rename first -> first_y
7918 * lyxlayout.C (Read): remove lowercase
7921 (obsoleted_by): ditto
7923 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7925 * buffer.C (insertErtContents): add params are to InsetERT
7926 (parseSingleLyXformat2Token): add code to check if a paragraphs
7927 layout really exist.
7928 (parseSingleLyXformat2Token): add params to several inset
7930 (asciiParagraph): remove lowercase, do the layout comparisons with
7933 * BufferView_pimpl.C (cursorNext): first -> first_y
7934 (resizeCurrentBuffer): first -> first_y
7935 (updateScrollbar): first -> first_y
7936 (scrollCB): first -> first_y
7937 (workAreaMotionNotify): first -> first_y
7938 (workAreaButtonPress): first -> first_y
7939 (checkInsetHit): first -> first_y
7940 (cursorPrevious): first -> first_y
7941 (cursorNext): first -> first_y
7942 (Dispatch): add buffer_->params to severl inset contructors
7944 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7946 * lyxlayout.C (Read): remove some debug info that I forgot.
7948 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7949 clean up the code slightly.
7950 (makeLinuxDocFile): ditto
7951 (makeDocBookFile): ditto
7953 * text2.C: layout as string
7955 * text.C: layout as string
7957 * paragraph_pimpl.C: layout as string
7959 * paragraph.[Ch]: layout as string
7961 * lyxtextclasslist.[Ch]: layout as string
7963 * lyxtextclass.[Ch]: layout as string
7965 * lyxtext.h: layout as string
7967 * lyxlayout.[Ch]: layout as string
7969 * lyx_cb.C: layout as string
7971 * bufferview_funcs.C: layout as string
7973 * bufferparams.C: layout as string
7975 * buffer.C: layout as string
7977 * LyXView.[Ch]: layout as string
7979 * LaTeXFeatures.[Ch]: layout as string
7981 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7983 * BufferView_pimpl.C: change current_layout to string, remove
7988 (workAreaButtonRelease): layout as string
7990 * BufferView2.C (unlockInset): adjust
7992 * vspace.C (asLatexCommand): use an explict temp variable.
7994 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7996 * Makefile.am: use FRONTEND_*
7998 2002-03-01 Juergen Vigna <jug@sad.it>
8000 * tabular.C (SetWidthOfMulticolCell): changed to something better
8001 I hope but still work in progress.
8002 (recalculateMulticolumnsOfColumn): renamed function from
8003 recalculateMulticolCells as it is more appropriate now.
8004 (SetWidthOfCell): calculate multicols better.
8006 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8008 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8010 * lyxfunc.C (processKeySym): print sequence also if it is
8011 `deleted' (complete)
8013 * kbsequence.C (print): print sequence even if it is deleted
8014 (complete would be a better word, actually).
8016 * lyxfunc.C (dispatch): print complete options after a prefix key
8018 * vspace.C (asLatexCommand): rewrite in a slightly different form.
8020 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
8022 * text2.C (setCharFont): eliminate setCharFont code duplication.
8024 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8026 * BufferView_pimpl.C (Dispatch): remove bogus handling of
8027 LFUN_TABULAR_FEATURE (bug #177)
8029 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
8031 * Makefile.am: remove figure.h
8033 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
8035 * Bufferview_pimpl.C:
8047 * text2.C: remove #include "lyx_gui_misc.h".
8049 * LaTeX.C: added #include <cstdio>
8051 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8053 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8054 that the paragraph following this one can have.
8056 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8058 * vspace.C (asLatexCommand): fix bogus gcc warning
8060 * Makefile.am (lyx_SOURCES): remove vms_defines.h
8062 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
8064 * text2.C (setLayout): get rid of redundant code
8066 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
8068 * text2.C (incDepth): make sure depth cannot be increased beyond
8071 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
8073 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8074 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8076 * PainterBase.h (image):
8077 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8080 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8084 * BufferView_pimpl.C:
8085 * BufferView_pimpl.h:
8105 * sp_spell.C: remove fig inset, and the crap house of
8106 cards that follows it
8108 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8114 * nt_defines.h: move .h into support/
8116 * vms_defines.h: remove
8118 * WorkArea.C: add space in debug output
8122 * buffer.C: add WITH_WARNINGS
8126 * bufferlist.C: s/retrive/retrieve/, add docs
8137 * lyxgui.C: add ID to X error handler
8139 * lyxtestclass.c: fix typo
8141 2002-02-26 Juergen Vigna <jug@sad.it>
8143 * tabular_funcs.C (write_attribute): changed so that some default
8144 attributes are not written at all.
8145 (getTokenValue): set default values before trying to read the
8146 value so we have the return value always set as default if we don't
8147 find the token we search for.
8149 * tabular.C (Write): write bools as bools not as strings!
8151 2002-02-22 Juergen Vigna <jug@sad.it>
8153 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8154 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8156 * text.C (leftMargin): don't add an indent for paragraphs inside
8157 tabular cells (fix #208).
8159 2002-02-21 José Matos <jamatos@fep.up.pt>
8161 * tabular.C (docBook): fixed support for long tables.
8163 2002-02-20 Juergen Vigna <jug@sad.it>
8165 * text2.C (getFont): get the drawing font of the Inset if this
8166 paragraph is inside an inset (only important for InsetERT for now).
8168 * buffer.C (insertErtContents): use new lanugage params in ERT
8171 * CutAndPaste.C: commenting out seemingly uneeded code.
8173 2002-02-19 Allan Rae <rae@lyx.org>
8175 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8176 Iterators might be simple to use but they also get invalidated.
8177 (removeAutoInsets): renamed saved cursor tracking variables and added
8178 some comments to clarify what everything does.
8180 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8187 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8188 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8191 * vc-backend.h: remove #include "support/syscall.h"
8195 * converter.C: rearrange #includes in Lars' approved fashion.
8197 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8198 forward declare class Timeout in the header file.
8200 * XFormsView.C: changes due to the above.
8202 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8205 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8206 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8208 2002-02-18 José Matos <jamatos@fep.up.pt>
8210 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8213 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8215 * a lot of small ws changes
8216 * add a lot of using std::XXX
8217 * use std construcs some places where approp.
8218 * use some exisint stuff from lyxfunctional where approp.
8219 * Make file changes to use partial linking (lets test this now...)
8221 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8225 remove #include "support/syscontr.h" as it's redundant. Always has been.
8233 change Systemcalls::System to Systemcalls::Wait and
8234 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8235 No change of functionality, just reflects the stripped down Systemcalls
8238 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8240 * debug.[Ch]: add a GRAPHICS type to the enum.
8242 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8244 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8246 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8249 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8251 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8252 match the changes below.
8254 * text2.C (toggleInset): if there is not editable inset at cursor
8255 position, try to see if cursor is _inside_ a collapsable inset
8258 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8260 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8261 document menu has a nice checkbox
8263 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8265 * lyxlength.C (asLatexString): change PW to output as percent of
8268 * lengthcommon.C: change '%' to 't%'
8270 * lyxfunc.C (dispatch): a few comments from Martin
8272 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8276 * BufferView_pimpl.h:
8277 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8280 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8282 * vspace.C (inPixels): fix compiler warning
8284 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8286 * lyxfunc.C (getStatus): fix status message for disabled commands.
8288 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8290 * BufferView_pimpl.C: fix crash on close buffer
8291 during selection (#227)
8293 2002-01-27 Herbert Voss <voss@lyx.org>
8295 * buffer.C: link old Figure to new graphic inset
8297 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8299 * FontLoader.C (getFontinfo): Change the latex font names in order
8300 to match the names of type1inst.
8302 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8304 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8306 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8309 (remove_files_with_extension): ditto
8310 (remove_file): ditto
8313 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8314 document is smaller than the work area height. Do not initialize
8315 static variables to 0.
8317 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8319 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8321 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8322 LFUN_LAYOUT_PARAGRAPHS.
8324 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8325 tabular. It is possible to provide a possible cell, which will
8326 typically be the actcell from the corresponding insettabular
8328 * lyxfunc.C (getStatus): small cleanup; disable
8329 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8332 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8334 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8336 * paragraph.C (startTeXParParams):
8337 (endTeXParParams): new methods. The LaTeX code to
8338 start/end paragraph formatting
8339 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8340 empty (fixes bug #200)
8342 * vspace.C (inPixels): adapt to the change below
8343 (inPixels): [later] more cleanups (remove unused variables)
8345 * lyxlength.C (inPixels): change to use a width and a height as
8348 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8350 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8351 Replaced with \paperwidth
8353 * DepTable.C (insert): add std:: qualifier
8355 2002-01-18 Allan Rae <rae@lyx.org>
8357 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8360 * text.C (drawInset): Turned out I didn't know enough about how
8361 rebreaking worked. This fixes most of the redraw problems. I see
8362 an occasional cursor trail when a line is broken now and the cursor
8363 placement can seem out by a few pixels also after a rebreak.
8365 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8367 * buffer.C (parseSingleLyXformat2Token): update because minipage
8368 width is now a LyXLength
8370 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8372 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8375 2002-01-17 Juergen Vigna <jug@sad.it>
8377 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8379 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8380 is set correctly and the inset is updated correctly.
8382 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8384 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8385 the beginning of the loop.
8387 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8389 * lyxrc.C: improve help for use_scalable_fonts
8391 2002-01-17 Allan Rae <rae@lyx.org>
8393 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8395 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8397 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8398 make sure to set their inset_owner to the right value (bug #171)
8400 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8403 * DepTable.C: Implement mtime checking to reduce time spent doing
8406 2002-01-16 Juergen Vigna <jug@sad.it>
8408 * tabular.C (GetAdditionalHeight): one of error fixed.
8410 * lyxrc.C (output): small fix in writing use_pspell.
8412 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8414 * sp_base.h: #include LString.h
8416 2002-01-16 Allan Rae <rae@lyx.org>
8418 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8419 Can someone check this please?
8421 * text.C (drawInset): It was possible that p.row would be removed by
8422 breakAgainOneRow upsetting a few other settings. There may be another
8423 small tweak possible by setting need_break_row = 0 when p.row has been
8424 removed but I don't know enough about the logic here.
8426 2002-01-15 Allan Rae <rae@lyx.org>
8428 * text.C (insertChar): removed conditional truism.
8430 * BufferView2.C (removeAutoInsets): More tweaks.
8431 cur_par_prev could be a stray pointer. Check for trailing empty line
8432 in case last line was cur_par and only had an error inset on it.
8434 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8436 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8439 * vc-backend.C (most methods):
8440 * exporter.C (Export):
8441 * converter.C (convert):
8443 * LyXSendto.C (SendtoApplyCB):
8444 * lyxfunc.C (dispatch):
8448 * lyx_cb.C (AutoSave):
8450 * BufferView_pimpl.C (MenuInsertLyXFile):
8451 * buffer.C (runChktex): use Buffer::filePath().
8453 * buffer.h: rename filename to filename_; rename filepath to
8454 filepath_ and make it private
8455 (filePath): new method
8457 * buffer.C (writeFile): use fileName()
8460 * lyx_main.C (init): fix starting of LyX when the binary is a
8461 link from so,ewhere else.
8463 * minibuffer.C: include <cctype> for isprint
8465 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8467 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8468 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8469 name clash with InsetCollapsable's width function.
8471 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8473 * lastfiles.C: include <iterator>
8475 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8477 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8480 * buffer.C (makeLaTeXFile): ditto.
8481 Also make loop operation more transparent.
8483 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8485 * ToolbarDefaults.C: remove trailing comma closing namespace.
8487 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8489 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8492 * trans.C (Load): comment out unused variable, allowed.
8494 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8496 * minibuffer.[Ch] (append_char): new method to recieve input from the
8497 drop-down completion browser. If a key was pressed, then recieve this
8498 char and append it to the existing string.
8499 (peek_event): modify the positioning data passed to the completion
8500 browser so that it can be placed above the minibuffer rather than below.
8501 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8503 * LyXAction.C (init): alloe error-next for readonly documents.
8505 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8508 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8510 * bufferlist.C (readFile): create the buffer _after_ checking that
8513 * lyxfunc.C (verboseDispatch): fix handling of arguments
8515 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8517 * lyxrc.C: use string::erase() instead of initializing to "".
8520 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8522 * BufferView_pimpl.h:
8523 * BufferView_pimpl.C:
8526 * text2.C: tell X when we have made a selection for copying
8528 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8530 * BufferView_pimpl.C (MenuInsertLyXFile):
8531 * lyxfunc.C (menuNew):
8533 (doImport): add shortcuts to directory buttons
8535 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8538 * lyxfunc.C (setStatusMessage):
8539 (getStatusMessage): new methods
8540 (getStatus):use setStatusMessage instead of setErrorMessage
8541 (dispatch): when function is disabled, set error message here
8542 [instead of in getStatus previously]
8544 * BufferView_pimpl.C (workAreaButtonRelease): update
8545 toolbar/menubar here too.
8547 2002-01-13 Allan Rae <rae@lyx.org>
8549 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8550 Now seems indestructible. Remaining task is to audit all other
8551 code affected by deleteEmptyParagraphMechanism. One small quirk
8552 left is that an empty document with an error in the preamble can
8553 be made to report an error but no error box appears. I don't know
8555 (removeAutoInsets): Improved comments.
8557 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8560 * Thesaurus.C: update for Aiksaurus 0.14
8562 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8564 * text2.C (firstParagraph): removed member function, all uses
8565 replaces with ownerParagraph
8566 (redoParagraphs): here
8568 (toggleAppendix): here
8569 * BufferView2.C (insertErrors): here
8570 (setCursorFromRow): here
8572 2002-01-13 Allan Rae <rae@lyx.org>
8574 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8575 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8576 There is still a way to segfault this although you may have to do this
8577 multiple times: Have an InsetERT with an unknown command in it.
8578 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8579 <down-arrow>, <Enter> again, View->DVI, BANG!
8581 * text2.C (setCursor):
8582 (deleteEmptyParagraphMechanism):
8583 * lyxtext.h (setCursor):
8584 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8585 Making use of the return value may help fix other bugs.
8587 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8589 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8591 * LyXView.C (updateMenubar): call MenuBar::update here
8592 (updateToolbar): but not here
8593 (showState): do not update toolbar/menubar
8595 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8596 should need to care about that.
8598 * lyxfunc.C (verboseDispatch): simplify a bit
8599 (getStatus): have a version which takes a pseudoaction, and
8600 another which requires a (kb_action,string).
8602 * LyXAction.C (retrieveActionArg): make it work also when action
8603 is not a pseudo-action.
8604 (getActionName): simplify a bit
8607 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8609 * lyxfunc.C (verboseDispatch): new families of methods with
8610 several ways to specify a command and a bool to indicate whether
8611 the command name and shortcut should be displayed in minibuffer
8612 (eventually, we could extend that to a finer bitmask like
8613 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8614 (dispatch): the pristine dispatch command which just, well,
8615 dispatchs! Note it still sets its result to minibuffer; I'm not
8618 * lyxfunc.h: remove setHintMessage
8620 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8622 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8624 * BufferView_pimpl.C (specialChar): delete new inset if we have
8625 not been able to insert it.
8627 * kbmap.C: revert to using int instead of kb_action, since all we
8628 are dealing with is pseudo-actions.
8630 * LyXAction.C (searchActionArg): change to return int instead of
8631 kb_action, since the result is a pseudoaction.
8633 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8635 * buffer.C (insertErtContents): Fix (partially) the font bug.
8637 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8639 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8640 as the other one is broken on my machine!
8642 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8645 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8647 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8649 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8650 reflect their actual use. Provide compatibility code for older lyxrc
8653 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8655 change names of popup font variables in line with the changes to lyxrc.C
8657 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8659 * buffer.C (asciiParagraph): avoid outputing a word twice after
8662 * lyxrc.C (getDescription): document that document_path and
8663 template_path can be empty.
8665 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8667 * LaTeXFeatures.C (getMacros):
8668 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8670 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8672 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8674 (getPackages): rename feature "floats" to "float". Use an array to
8675 iterate over 'simple' features (i.e. just a \usepackage). Add
8676 handling of "amsmath" (renamed from "amsstyle").
8678 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8680 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8683 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8685 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8686 FuncStaus::FuncStatus & FuncStaus::some_method().
8688 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8690 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8691 of the func_satus stuff. Edited and massaged in various ways by
8694 * lyxfunc.C (getStatus): use FuncStatus
8696 2002-01-08 Juergen Vigna <jug@sad.it>
8698 * text.C (nextBreakPoint): use function Inset::isChar().
8700 * paragraph.C (TeXOnePar): use function
8701 Inset::forceDefaultParagraphs.
8703 * buffer.C (latexParagraphs): use function
8704 Inset::forceDefaultParagraphs.
8706 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8708 * lyx_gui.C (init): set the style of the menu popups to
8709 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8711 2002-01-07 Juergen Vigna <jug@sad.it>
8713 * text.C (setHeightOfRow): small fix
8714 (prepareToPrint): don't look at alignment if we don't have the place
8717 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8719 * box.C: New file. Move the Box methods and functions out of box.h,
8720 following Lars' suggestion.
8722 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8724 * box.h: #include "support/LOstream.h", needed for inlined function.
8727 * lyxtextclasslist.C: added some using std declarations.
8729 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8731 * box.h: make signed dimensions to allow insets wider than
8732 the screen (bug #162)
8734 * BufferView_pimpl.C: add some insetHit debug
8736 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8738 * vc-backend.C: add FIXME
8740 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8742 * lyxfunc.C (getStatus): enable code for showing math font status
8745 2002-01-07 Juergen Vigna <jug@sad.it>
8747 * text.C (nextBreakPoint): removed debug output not needed anymore.
8749 2002-01-06 Juergen Vigna <jug@sad.it>
8751 * text.C (nextBreakPoint): fixed up this function we had this bug
8752 since ever but now hopefully we break row better.
8753 (insertChar): we have to check if an inset is the next char as it
8754 could now happen that a large inset is causing a break.
8756 2002-01-05 Juergen Vigna <jug@sad.it>
8758 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8759 if it doesn't like to be drawed.
8761 2002-01-04 Juergen Vigna <jug@sad.it>
8763 * BufferView2.C (lockInset): forgot to set a cursor.
8765 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8767 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8772 * form_maths_panel.C:
8773 * form_maths_panel.h:
8774 * form_maths_panel.fd: implemented sub- and super- buttons in math
8777 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8778 (or ^ space) to be used as in TeX (req'd by André).
8780 * lyxfunc.C: Allow ^ and _ again to be used both as
8781 super/subscript (mathed) and as themselves (in text).
8783 2002-01-03 Allan Rae <rae@lyx.org>
8785 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8786 "LyX" or the filename of the current buffer if it has one. This is a
8787 modified form of John Levon's patch.
8789 * XFormsView.C (setWindowTitle): also set icon title.
8791 * LyXView.h (setWindowTitle): signature changed.
8792 * XFormsView.h (setWindowTitle): ditto.
8794 2002-01-02 Juergen Vigna <jug@sad.it>
8796 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8798 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8800 * screen.C (topCursorVisible): introduce a temp var for
8801 text->cursor.row(), handle the case where this row is null. (kindo
8804 * text2.C (setCursor): add a couple of asserts.
8806 * paragraph.h (inset_iterator): add -> operator
8808 * paragraph.[Ch] (autoDeleteInsets): remove member function
8810 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8811 cursor pos correctly and handle inset deletion by itself.
8812 (insertErrors): move iterator declaration out of for expression
8814 * lyxtextclass.C: add <algorithm>
8816 * Makefile.am: added the new files to sources, removed layout.C
8818 * layout.C: removed file
8820 * layout.h: remove LYX_DUMMY_LAYOUT
8822 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8826 * lyxtextclass.[Ch]:
8827 * lyxtextclasslist.[Ch]: new files
8829 * include order changes to a lot of files, also changes because of
8832 2001-12-27 Juergen Vigna <jug@sad.it>
8834 * buffer.C (asciiParagraph): more fixes.
8836 * tabular.C (ascii): make ascii export support export of only the
8837 data separated by a column-delimiter.
8838 (ascii): better support for ascii export.
8840 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8842 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8844 * tabular_funcs.C: use a "using std::getline" instead of the
8845 previous fix from Angus (necessary for cxx + lyxstring)
8847 2001-12-24 Juergen Vigna <jug@sad.it>
8849 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8851 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8852 problems. First check a minipage also if we have some ert-contents
8853 (not only on par->size(), second set the right depth of the paragraph
8854 on the relink to the root-paragraph-list!
8856 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8857 which then did not anymore update the main paragraphs on undo/redo!
8859 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8861 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8862 code. Support all font-changing funcs (even those which are not in
8863 menu currently). Support for reporting font settings in
8864 mathed (disabled until Andre provides a function on mathed's side).
8866 * func_status.h (toggle): small helper function to set toggle
8869 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8871 * tabular_funcs.C: getline -> std::getline
8873 2001-12-21 Juergen Vigna <jug@sad.it>
8875 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8876 accessed and could be 0 (I couldn't generate this but it seems
8879 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8881 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8882 * tabular_funcs.h: here and include iosfwd
8884 2001-12-20 Juergen Vigna <jug@sad.it>
8886 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8887 inside inset but undo_par was.
8889 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8891 * Thesaurus.C: always include <config.h> in sources.
8895 * box.h: do not include <config.h> in header files
8897 * text.C (paintLastRow): remove unused variable
8899 * text.C (transformChar):
8901 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8904 * font.C (width): rewrite to use uppercase() instead of
8907 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8909 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8911 * lyxfind.C: clean up of find failure position change
8913 2001-12-20 Juergen Vigna <jug@sad.it>
8915 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8917 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8918 (TeXRow): added to LaTeX a single tabular row.
8919 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8920 (Latex): simplified and finally good LT-h/f support.
8921 (various_functions): just small adaptions for LT-h/f support.
8923 * tabular_funcs.[hC]: added and moved here all not classfunctions
8926 2001-12-19 Juergen Vigna <jug@sad.it>
8928 * tabular.[Ch]: better support for longtabular options (not finished
8931 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8933 * text.C (paintLastRow): use the label font instead of the font of
8934 the last character to compute the size of *_BOX. This makes more
8935 sense and avoids a crash with empty paragraphs.
8936 Use Painter::rectangle to draw EMPTY_BOX.
8938 2001-12-19 Juergen Vigna <jug@sad.it>
8940 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8941 the paragraphs if the replaced paragraph is not the first one!
8942 Tried to delete not used paragraphs but does not work yet so for
8943 now it's inside #ifdef's and by default off!
8945 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8947 * MenuBackend.C: include "lyx_main.h" instead of declaring
8948 lastfiles (actually was declared as LastFiles* instead of a
8951 2001-12-17 Juergen Vigna <jug@sad.it>
8953 * tabular.C (AppendColumn): applied John's fix
8955 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8959 * BufferView_pimpl.h:
8960 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8963 * box.h: new start of class for above
8965 * lyxfunc.C: ignore space-only minibuffer dispatches.
8966 Show the command name when it doesn't exist
8968 * minibuffer.C: don't add empty lines to the history
8970 * minibuffer.C: add a space on dropdown completion
8972 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8974 * text.C: fix line above/below drawing in insets
8976 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8978 * lyxlength.C (LyXLength): Initialize private variables.
8980 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8982 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8983 when inserting error insets.
8985 2001-12-13 Juergen Vigna <jug@sad.it>
8987 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8988 actually sometimes the before-paragraph.
8989 (setUndo): don't clear the redostack if we're not actually undoing!
8991 2001-12-06 Juergen Vigna <jug@sad.it>
8993 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8994 and fixed redoing of main paragraph, so we can use it now ;)
8996 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8998 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9000 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9003 2001-12-13 André Pönitz <poenitz@gmx.net>
9006 * undo_func.C: minor cleanup
9008 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9010 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9011 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9012 font in urw-fonts package which is marked as -urw-fontspecific and
9013 does not work (incidentally, changing the encoding in the
9014 fonts.dir of this package to -adobe-fontspecific fixes the
9017 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9018 is a crash when undoing first paragraph (Juergen, please take a
9019 look). THis does not mean the undo fix is wrong, just that it
9022 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9023 the (Paragraph*) version when needed instead of duplicating the
9026 * text.C (workWidth): use Inset::parOwner to find out where the
9027 inset has been inserted. This is a huge performance gain for large
9028 documents with lots of insets. If Inset::parOwner is not set, fall
9029 back on the brute force method
9031 * paragraph_pimpl.C (insertInset):
9032 * paragraph.C (Paragraph):
9033 (cutIntoMinibuffer): set parOwner of insets when
9034 inserting/removing them
9036 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9038 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
9044 * mathed/formulabase.C:
9045 * mathed/math_cursor.[Ch]:
9046 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9049 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9051 * lyxlength.[Ch] (operator!=): new function
9053 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9055 * text.C (workWidth): use Inset::parOwner to find out where the
9056 inset has been inserted. This is a huge performance gain for large
9057 documents with lots of insets. If Inset::parOwner is not set, fall
9058 back on the brute force method
9060 * paragraph_pimpl.C (insertInset):
9061 * paragraph.C (Paragraph):
9062 (cutIntoMinibuffer): set parOwner of insets when
9063 inserting/removing them
9065 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9067 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9069 * tabular-old.C (getTokenValue):
9070 * tabular.C (getTokenValue):
9071 (write_attribute): new versions for LyXLength
9072 (everywhere): adjust the use of widths
9074 * tabular.h: change the type of widths from string to LyXLength
9076 2001-12-11 Ben Stanley <bds02@uow.edu.au>
9078 * paragraph.C: fixed missing line number count when exporting
9079 Environments to LaTeX file
9081 * buffer.C: added informational message for checking line numbers.
9083 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9085 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9086 paragraph, do the 'double space' part, but not the 'empty
9089 * text.C (workWidth): small optimization
9090 (getLengthMarkerHeight): use minimal size for negative lengths.
9092 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9094 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9096 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9098 2001-12-11 André Pönitz <poenitz@gmx.net>
9101 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9103 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9105 * text2.C: keep selection on a setFont()
9107 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9109 * lyx_cb.C: another bv->text misuse, from insert label
9111 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9114 * kbsequence.C: re-instate nmodifier mask
9116 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9118 * lyx_main.h: make lyxGUI private.
9120 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9122 * lyxfind.C: place the cursor correctly on failed search
9124 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9126 * text.C (getLengthMarkerHeight): for small heights, the arrows
9127 are not always on top/bottom of the text
9128 (drawLengthMarker): smaller arrows; take the left margin in
9129 account; draw also vfills.
9131 (paintLastRow): remove special code for vfill and standard spaces,
9132 since everything is handled in drawLengthMarker now.
9134 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9136 * buffer.C (insertErtContents): try to handle font and language
9137 interaction a bit better.g
9139 * ColorHandler.C (updateColor): change the hash to cover the whole
9140 LColor enum, ws cleanup
9141 (getGCLinepars): ditto
9142 (getGCLinepars): only lookup in the linecache once.
9144 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9146 * iterators.C (operator++): Make the iterator more robust
9148 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9150 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9152 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9155 * text.C: better added space drawing
9157 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9160 * BufferView2.C: fix layout combo update on inset unlock
9162 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9164 * Makefile.am: don't compile unused files
9166 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9170 * LyXAction.C: remove old LFUN_LAYOUTNO
9172 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9174 * paragraph_pimpl.h:
9175 * paragraph_pimpl.C: isTextAt() doesn't need font param
9177 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9180 * lyxlex.C: little cleanup
9182 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9184 * BufferView_pimpl.C: fix insertAscii for insets
9186 2001-12-05 Juergen Vigna <jug@sad.it>
9188 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9189 set the right font on the "multi" paragraph paste!
9191 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9197 * lyxlength.C: remove out-commented code.
9213 * vc-backend.C: change "while(" to "while ("
9215 * lyxlength.[Ch]: add zero function to check if length is zero or
9217 * lyxgluelength.C: use it
9219 2001-12-05 Allan Rae <rae@lyx.org>
9221 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9222 Works for 2.95.3, from what I understand of Garst's reports this should
9223 work for other g++ versions. We're screwed if the abs(int) definition
9224 changed between bugfix releases of gcc.
9226 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9228 * text.C: fix chapter label offset !
9230 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9233 * text.C: fix hfill at end of line, clean up
9235 2001-12-04 Juergen Vigna <jug@sad.it>
9237 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9238 that we force an update of the inset and it's owners if neccessary.
9240 2001-12-03 Juergen Vigna <jug@sad.it>
9242 * text.C (rowLast): simplified code
9244 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9246 * lyxfunc.C: fix show options on timeout
9248 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9250 * screen.C (topCursorVisible): scroll half a page when the cursor
9251 reached top of bottom of screen
9253 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9255 * minibuffer.C: deactivate on loss of focus
9257 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9259 * vspace.[Ch] (operator!=): add operator.
9261 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9263 * BufferView_pimpl.C: refuse to open an inset when
9264 there's a selection.
9266 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9268 * BufferView_pimpl.C: allow to click on RHS of full row insets
9270 2001-11-30 Juergen Vigna <jug@sad.it>
9272 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9273 insets for undo reasons.
9275 2001-11-28 André Pönitz <poenitz@gmx.net>
9277 * vspace.[Ch]: cosmetical changes
9279 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9289 * kbsequence.C: part re-write of old kb code
9292 * WorkArea.C: remove Lgb_bug_find_hack
9294 2001-11-30 José Matos <jamatos@fep.up.pt>
9296 * buffer.C (makeDocBookFile): add a comment to point a hack.
9297 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9298 Fixed a double write of labels.
9300 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9303 * LaTeX.h Fixed bug in LaTeX class where it would not
9304 re-run latex if no depfiles were changed, but the .dvi was removed.
9306 2001-11-28 André Pönitz <poenitz@gmx.net>
9308 * all the files from the change on 2001/11/26:
9309 use lyx::layout_type instead of LyXTextClass::size_type
9310 use lyx::textclass_type instead of LyXTextClassList::size_type
9312 2001-11-29 Juergen Vigna <jug@sad.it>
9314 * text.C: added support for paragraph::isFreeSpacing()
9316 * buffer.C: same as above
9318 * paragraph.h: inserted isFreeSpacing() function to enable
9319 FreeSpacing inside InsetERT.
9321 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9322 of the paragraph's in the cut/copy buffer to 0!
9324 * text2.C (removeRow): remove the assert as it can!
9326 * lyxtext.h: added helper function firstRow returning firstrow and
9327 made firstrow private again.
9329 * BufferView2.C (lockInset): don't relock if we're already locked!
9331 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9333 (removeRow): added Assert::(firstrow)
9335 * debug.C: forgot to add INSETTEXT here.
9337 2001-11-28 Juergen Vigna <jug@sad.it>
9339 * sp_spell.C (initialize): changed error text to more general
9340 spellchecker command use (not only ispell!)
9342 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9344 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9346 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9348 * vspace.C: initialise lyxgluelength on failure
9350 2001-11-28 Allan Rae <rae@lyx.org>
9352 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9353 declaration & definition that looks like a function declaration.
9355 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9357 * BufferView2.C (copy):
9358 (copyEnvironment): do not clear the selection when doing a copy.
9360 * text.C (paintFirstRow): compilation fix
9362 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9364 * tabular.C (Latex): correct line count when writing latex.
9366 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9368 * paragraph_pimpl.h:
9369 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9372 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9376 * LColor.C: change vfillline->added_space
9378 * text.C: add markers and text for added space
9380 * vspace.C: fix comment
9382 2001-11-28 André Pönitz <poenitz@gmx.net>
9384 * paragraph.C: whitespace changes
9385 * all the other files from the change on 2001/11/26:
9386 change *::pos_type into lyx::pos_type
9388 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9390 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9391 language of the document when inserting error insets.
9393 2001-11-26 André Pönitz <poenitz@gmx.net>
9395 * BufferView_pimpl.[Ch]:
9403 * paragraph_pimpl.[Ch]:
9406 * text2.C: reduce header dependencies, introduce type for positions
9408 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9410 * <various>: change to use Alert.h
9412 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9414 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9415 when encountering an unknown token.
9416 (readLyXformat2): Show an error message if there were unknown tokens.
9418 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9421 * BufferView_pimpl.C:
9425 * text2.C: use par->isInset()
9427 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9429 * paragraph_pimpl.h:
9430 * paragraph_pimpl.C: cleanup
9432 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9434 * text2.C (removeRow):
9435 * text.C (setHeightOfRow): remove useless (and costly) call to
9438 2001-11-20 Allan Rae <rae@lyx.org>
9440 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9441 Now need Inset*::checkInsertChar() to return true for appropriate
9442 cases so that the characters in the minibuffer will actually be
9445 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9447 * text.C: change the order of the includes.
9448 (workWidth): initialize it at once.
9449 (workWidth): make maxw unsigned
9450 (setHeightOfRow): remove unused variable (inset)
9451 (selectSelectedWord): remove unused variable (inset)
9452 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9454 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9456 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9457 server is not running.
9459 (closeConnection): add debug info when server is disabled.
9461 * ColorHandler.C (getGCForeground): send debug message to GUI
9464 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9466 * kbmap.C (bind): modify because return conventions of
9467 kb_sequence::parse have changed.
9469 * kbsequence.C (parse): only ignore spaces and not any stupid
9470 control character. This avoids tests like s[i] <= ' ', which are
9471 guaranteed to fail with 8bit characters and signed chars.
9472 Change return code to string::npos when there have been no error
9473 (0 was a bad idea when error is at first character)
9475 2001-11-14 José Matos <jamatos@fep.up.pt>
9478 * buffer.C (simpleDocBookOnePar): removed unused argument.
9480 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9482 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9483 insets which are part of a word. Paragraph::isLetter takes care of
9484 that now. Use Paragraph::isInset to identify insets.
9485 (selectSelectedWord): do not test for hyphenation break.
9487 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9488 that protected spaces are considered as spaces.
9490 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9493 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9496 * lyxserver.C: fix it. and small cleanup.
9498 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9500 * BufferView_pimpl.C: use inline helpers
9503 * LaTeXFeatures.C: fix typos
9506 * Spacing.C: move spacing_string into class
9508 * ToolbarDefaults.C: move stuff into namespace anon
9510 * layout.h: update enum
9512 * lyxfunc.C: use better debug
9514 * minibuffer.h: fix typo
9518 * WorkArea.C: add and use Debug::WORKAREA
9522 * text2.C: code re-organisation, inline helpers
9524 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9526 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9527 std::vector.empty().
9529 2001-11-09 Allan Rae <rae@lyx.org>
9531 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9532 '\n's after tables. Tabular and ERT inset work now makes this no
9535 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9538 * minibuffer.C: fix crash, improve drop-down completion
9540 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9543 * lyxserver.C: invalidate fd's when doing endPipe()
9545 2001-11-08 José Matos <jamatos@fep.up.pt>
9547 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9548 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9551 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9553 2001-11-07 José Matos <jamatos@fep.up.pt>
9556 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9559 * buffer.C (sgmlOpenTag):
9560 * buffer.C (sgmlCloseTag): removed debug info.
9562 * buffer.h (sgmlOpenTag):
9563 * buffer.h (sgmlCloseTag): made public.
9565 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9567 * buffer.C (saveParamsAsDefaults):
9568 * lyx_cb.C (MenuLayoutSave): remove
9570 * LyXAction.C (init):
9572 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9574 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9576 * buffer.C (setPaperStuff): removed from here...
9578 * bufferparams.C (setPaperStuff): ... and moved there.
9580 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9584 * XFormsView.C: add support for drop-down completion
9586 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9588 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9591 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9593 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9596 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9598 * lyx_main.C: change ref to known bugs
9600 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9602 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9603 to work around older babel problems.
9605 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9607 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9609 2001-10-24 Juergen Vigna <jug@sad.it>
9611 * tabular-old.C (ReadOld): below variable changes reflected.
9613 * tabular.[Ch]: added ltType struct for longtable header/footer
9614 defines and changed all instances where they are used. Added
9615 future support for double top/bottom rows.
9617 2001-10-24 José Matos <jamatos@fep.up.pt>
9619 * buffer.h (docbookHandleCaption):
9620 * buffer.C (docbookHandleCaption): removed unused function.
9621 (makeDocBookFile): moved docbook supported version to v4.1.
9623 2001-10-24 José Matos <jamatos@fep.up.pt>
9626 * tabular.C (docbookRow): new function to export docbook code of a row.
9627 (DocBook): now honors the longtable flags.
9629 2001-10-23 José Matos <jamatos@fep.up.pt>
9632 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9633 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9635 * buffer.C (makeLinuxDocFile):
9636 (makeDocBookFile): reworked the preamble, more clean, and with
9637 support for lyx defined entities. Changed the document declaration
9638 to be more XML friendly.
9640 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9641 if we need to output XML that should be done with a filter.
9643 2001-10-22 Juergen Vigna <jug@sad.it>
9645 * sp_pspell.h (class PSpell): add alive function needed in the
9646 controller to see if the spellchecker could be started.
9648 2001-10-22 Juergen Vigna <jug@sad.it>
9650 * buffer.C (insertStringAsLines): modify the font for inserting
9651 chars in certain conditions by calling checkInsertChar(font).
9653 2001-10-19 Juergen Vigna <jug@sad.it>
9655 * text.C (workWidth): use getRow instead of wrong algorithm.
9656 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9658 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9663 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9665 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9667 * text.C (workWidth): do not search for the exact row when
9668 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9669 optimization for big documents.
9671 2001-10-18 Juergen Vigna <jug@sad.it>
9673 * text.C (workWidth): new function with added Inset * parameter.
9675 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9677 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9679 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9680 change return type of getColumnNearX.
9683 * text.C (changeRegionCase): use uppercase/lowercase instead of
9686 (rightMargin): simplify code by factoring out the uses of
9691 (appendParagraph): use Paragraph::size_type
9693 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9695 * vspace.C (asLatexString): add a missing break
9697 2001-10-15 Herbert Voss <voss@perce.de>
9699 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9701 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9703 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9706 2001-10-10 André Pönitz <poenitz@gmx.net>
9708 * lyxfunc.C: removed greek_kb_flag.
9710 2001-10-10 Herbert Voss <voss@perce.de>
9712 * lyx_main.C: delete global string help_lyxdir.
9714 2001-10-09 Herbert Voss <voss@perce.de>
9716 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9718 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9720 * lyx_main.C: added global string help_lyxdir.
9722 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9724 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9726 * lyxrc.C (set_font_norm_type): support iso8859-4
9728 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9730 * LaTeX.C (deplog): add another regex for MikTeX
9732 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9734 * lyxrc.C (set_font_norm_type): support iso8859-3
9736 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9738 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9740 * LaTeXFeatures.C: remove special case of french and index
9742 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9743 before \begin{document}). This solves several incompatibilities.
9745 2001-10-03 Garst Reese <reese@isn.net>
9747 * lyx_cb.C: change CheckTex error msg.
9749 2001-10-03 José Matos <jamatos@fep.up.pt>
9751 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9753 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9755 * .cvsignore: update
9757 * lyx_main.C (commandLineVersionInfo): use new style version info.
9759 * buffer.C (writeFile):
9762 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9764 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9766 * version.h: update to use stuff in version.C
9768 * version.C.in: new file. Contains version information determined
9769 at compile time. This is a merging of version.h and
9772 2001-10-03 Juergen Vigna <jug@sad.it>
9774 * BufferView_pimpl.C (update): don't change "dirty" status in
9777 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9779 * WorkArea.C (c-tor): re-position version string slightly.
9781 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9783 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9784 revert to previous code.
9786 WorkArea.[Ch]: (show, destroySplash): methods removed.
9788 WorkArea.C: rework code so that it's an amalgam of the codes before and
9789 after the splash screen was moved to WorkArea.
9791 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9794 * vspace.C (inPixels):
9797 * buffer.C (insertStringAsLines):
9798 (asciiParagraph): fix types to be large enough
9800 * lyxlex_pimpl.h: change member status from short to int
9802 * layout.h: fix type of endlabeltype
9805 * kbsequence.C (parse): change return type to string::size_type
9807 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9810 * Bullet.C (bulletSize):
9811 (bulletEntry): do not use short ints as parameters
9813 * BufferView2.C (insertLyXFile): change a char to an int.
9815 * WorkArea.C (WorkArea): remove unneeded floats in computation
9817 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9819 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9821 * paragraph.C (asString): Do not ignore newline/hfill chars when
9822 copying to the clipboard.
9824 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9826 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9827 after a multi-line inset.
9829 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9831 * paragraph.C (validate): Set NeedLyXFootnoteCode
9833 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9835 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9836 and decrease-error to decrease.
9838 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9840 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9841 it more readable (should be equivalent)
9843 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9845 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9847 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9849 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9850 of a cursor (row, etc.) after a character has been deleted
9851 (deleteEmptyParagraphMechanism): call the method above on _all_
9852 cursors held by the LyXText when a double space has been
9855 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9857 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9859 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9861 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9862 background. Use greyOut() and the new show() methods to toggle between
9863 the foreground and background. Add code to remove the splash after
9864 its initial showing.
9866 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9867 (create_forms): no longer call Dialogs::showSplash.
9869 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9871 * .cvsignore: add version_info.h
9873 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9875 * version_info.h.in: new file
9877 * Makefile.am: add version_info.h.in
9879 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9880 version_info.h instead of VERSION_INFO
9882 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9884 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9885 The ERT inset now returns string().
9887 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9889 * lyxtext.h, text.C (selectNextWord): renamed as
9890 selectNextWordToSpellcheck.
9892 * text.C (selectNextWordToSpellcheck): Modified to not select
9893 words inside an ERT inset.
9895 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9897 * lyx_cb.C (MenuLayoutSave): change a bit the question
9899 * sp_base.h: include <sys/types.h>
9901 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9903 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9905 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9907 * several files: fix typos in user-visible strings
9909 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9911 * text2.C (pasteSelection): do not set the selection, since it
9912 will be cleared later. Actually, the intent was to fix the way the
9913 selection was set, but I figured rmoving the code was just as good.
9915 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9917 * FontLoader.C (available): Check if font is available without
9920 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9922 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9924 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9926 * lyxrc.[Ch]: added display_graphics variable and associated code.
9928 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9930 * bufferparams.C (hasClassDefaults): new method. Returns true if
9931 the buffer parameters correspond to known class defaults
9933 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9935 * XFormsView.C (show): set minimum size to the main window.
9937 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9939 * text2.C (copySelection):
9941 * lyxfind.C (LyXReplace):
9942 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9943 LyXText::selectionAsString.
9945 * paragraph.C (asString): add "label" argument to the second form
9947 * text2.C (selectionAsString): add "label" argument and pass it to
9948 Paragraph::asString.
9950 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9952 * lyx_main.C (commandLineHelp): remove version information
9954 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9956 * lyx_main.C: add -version commandline option
9958 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9960 * paragraph.h: make the optional constructor arg required instead.
9961 some modifications to other files because of this.
9963 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9965 * lyxserver.C (C_LyXComm_callback): make it static
9967 * lyx_main.C (error_handler): make it static
9969 * lyx_gui.C (LyX_XErrHandler): make it static
9971 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9973 * WorkArea.C: make the extern "C" methods static.
9975 * Makefile.am (lyx_LDADD): simplify
9977 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9979 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9980 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9982 * LyXAction.C (init):
9983 * lyxfunc.C (dispatch): associated code removal.
9985 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9987 * lyxfont.h (isSymbolFont): shut off warning
9989 * text.C (setHeightOfRow):
9990 (getVisibleRow): fix crash with empty paragraphs which have a
9993 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9995 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9998 2001-09-04 José Matos <jamatos@fep.up.pt>
10001 * tabular.C (docbook): rename docBook method to docbook.
10003 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10005 * Makefile.am: add dependencies to main.o.
10007 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
10009 * FontLoader.C (available): Return false if !lyxrc.use_gui
10011 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
10013 * FontInfo.C (query):
10014 * converter.C (view):
10015 * importer.C (Import):
10016 * exporter.C (Export): Can not -> cannot.
10018 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
10020 * BufferView_pimpl.C: allow to create index inset even if
10023 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
10025 * buffer.C (getLists): replace boost::tie code with an explicit pair
10026 as boost::tie can break some compilers.
10028 * iterators.h: Added a std:: declaration to the return type of
10031 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
10033 * lyxrc.C: add help for view_dvi_paper_option, default to safe
10036 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
10038 * iterators.[Ch]: New files. Provide paragraph iterators.
10040 * buffer.C (changeLanguage): Use paragraph iterators.
10041 (isMultiLingual): ditto
10043 * BufferView2.C (ChangeInsets): Use paragraph iterators.
10045 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
10047 * FontLoader.C: Support for cmr font.
10049 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
10051 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10052 (available): New method.
10054 * FontInfo.C (getFontname): Use scalable fonts even when
10055 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10058 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10060 * converter.C (Formats::view): reverted! Incorrect fix.
10062 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
10064 * converter.C (Formats::view): only output the -paper option
10065 if the dvi viewer is xdvi, thereby fixing bug #233429.
10067 2001-08-23 Herbert Voss <voss@perce>
10069 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10071 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
10073 * Spacing.h (Spacing): Set space to Default on in the default
10076 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
10078 * vc-backend.h (RCS::versionString): add RCS to version
10079 (CVS::versionString): add CVS to version
10081 * vc-backend.C (scanMaster): do not add CVS to version.
10082 (scanMaster): do not add RCS to version
10084 * lyxvc.C (versionString): new method
10086 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10088 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10090 * Spacing.C (set): initialize fval
10092 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10094 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10097 2001-08-16 Juergen Vigna <jug@sad.it>
10099 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10101 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10103 * BufferView_pimpl.C:
10106 * text2.C: setParagraph takes linespacing now
10108 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10110 * LyxAction.C: add internal LFUN_CITATION_INSERT
10112 * LyXView.C: actually apply fix
10114 * bufferlist.C: fix open non-existent file
10116 * lyxfind.C: fix indentation
10118 * lyxfunc.C: remove unneeded assert, fix typo
10120 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10122 * MenuBackend.C: use "Floatname List"
10124 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10126 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10127 when converting LaTeX layout to insetERT.
10128 Generate a non-collapsed float when reading old float
10130 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10132 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10135 2001-08-13 Juergen Vigna <jug@sad.it>
10137 * text.C (fill): return 0 instead of 20 as this seems to be the more
10140 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10142 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10145 2001-08-13 Juergen Vigna <jug@sad.it>
10147 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10149 (SearchBackward): comment out the unlocking of the inset_owner this
10150 should not be needed!
10152 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10154 * Many files: Remove inherit_language, and add latex_language
10156 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10157 collapsible insets.
10159 2001-08-10 Juergen Vigna <jug@sad.it>
10161 * text.C (prepareToPrint): fixed hfill-width in draw!
10163 * BufferView2.C (selectLastWord): save the selection cursor as this
10164 now is cleared in the function LyXText::clearSelection!
10166 2001-08-08 Juergen Vigna <jug@sad.it>
10168 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10169 BACKSPACE type functions.
10171 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10172 is only cutted from the document but not put in the cut-buffer, where
10173 still the old stuff should be.
10175 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10177 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10179 * tabular.C (SetWidthOfCell): fixed special case where the width
10181 (LeftLine): handle '|' in align_special.
10183 (LeftAlreadyDrawed): ditto
10184 (SetWidthOfCell): ditto
10186 2001-08-07 Juergen Vigna <jug@sad.it>
10188 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10190 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10192 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10193 * lyxlex.[hC]: ditto
10195 2001-08-06 Juergen Vigna <jug@sad.it>
10197 * text.C (getVisibleRow): fix up row clearing a bit.
10199 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10201 * minibuffer.C: make sure the X server sees the changes in the input.
10203 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10205 * paragraph.C (getFont): split into...
10206 (getLabelFont): this
10207 (getLayoutFont): and this
10208 * paragraph_pimpl.C (realizeFont): calling this
10210 * text2.C (getFont): split into...
10211 (getLayoutFont): this
10212 (getLabelFont): and this
10213 (realizeFont): all three calling this
10215 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10218 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10220 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10222 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10224 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10225 layouts from the Quote inset insertion.
10227 2001-08-03 Juergen Vigna <jug@sad.it>
10229 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10231 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10232 only if status not is already CHANGED_IN_DRAW (second level).
10234 * text.C (draw): don't set the need_break_row when inside an
10237 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10239 * buffer.C (parseSingleLyXformat2Token): handle more latex
10242 * bufferview_funcs.[hC]: change function names to
10243 begin with small char, adjust other files.
10245 2001-08-02 André Pönitz <poenitz@gmx.net>
10248 BufferView_pimpl.C: remove broken special code for math-greek
10250 2001-08-02 Juergen Vigna <jug@sad.it>
10252 * BufferView_pimpl.C (update): redone this function so that we
10253 update the text again if there was a CHANGE_IN_DRAW.
10255 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10256 (drawFromTo): added a new internal bool which is used by draw() and
10258 (general): some cursor drawing problems fixed.
10260 2001-08-01 Juergen Vigna <jug@sad.it>
10262 * lyxfind.C (LyXFind): fixed
10263 (SearchForward): ditto
10264 (SearchBackward): ditto
10266 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10267 spurius drawing of the cursor in the main area.
10269 * text2.C (status): small fix which could lead to a segfault!
10270 (clearSelection): remove unneeded BufferView param.
10272 2001-08-01 André Pönitz <poenitz@gmx.net>
10274 * lyxfunc.C: small change due to changed mathed interface
10276 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10278 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10280 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10282 * lyxfunc.c: fail gracefully if file doesn't exist
10287 * BufferView_pimpl.C: IsDirWriteable() proto changed
10289 * LyXView.C: fix updateWindowTitle() to store the last title
10291 2001-07-31 Juergen Vigna <jug@sad.it>
10293 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10294 the font (wrong since using of Paragraph::highestFontInRange).
10296 * paragraph.C (highestFontInRange): added a default_size parameter.
10298 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10299 (setHeightOfRow): reformat
10301 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10303 * converter.[hC] + affected files: move to (inital-char)lowercase
10306 * ParagraphParameters.C (ParagraphParameters): remove commented code
10308 * PainterBase.[Ch]: remove commented code
10310 * LaTeXFeatures.h: add "bool floats" for float.sty
10312 * LaTeXFeatures.C (LaTeXFeatures): init floats
10313 (require): handle float
10314 (getPackages): do it with floats
10316 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10318 * BufferView_pimpl.C (Dispatch): improve handling of
10319 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10321 * commandtags.h: #include lyxfont.h here temporarily to avoid
10324 * bufferlist.h: include LString.h here.
10326 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10328 * text2.C (getStringToIndex): new method.
10330 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10332 * *: Reduced header file dependencies all over.
10334 2001-07-30 Baruch Even <baruch@lyx.org>
10336 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10338 2001-07-29 Baruch Even <baruch@lyx.org>
10340 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10342 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10344 * ParameterStruct.h (endif): add a default constructor to make
10345 sure that all variables is initialized.
10347 * ParagraphParameters.C (ParagraphParameters): adjust
10349 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10351 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10352 index; also, check that there is something to index, and that it
10353 does not span over several paragraphs.
10354 (doubleClick): use WHOLE_WORD_STRICT for double click.
10356 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10358 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10361 2001-07-26 Baruch Even <baruch@lyx.org>
10363 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10364 an InsetFig figure, backwards compatible reading of old figure code.
10366 2001-07-27 Juergen Vigna <jug@sad.it>
10368 * text2.C: font.realize function adaption.
10370 * text.C (draw): add a warnings lyxerr text if needed.
10372 * layout.C: font.realize function adaption.
10374 * language.C: add inherit_language and implement it's handlings
10376 * bufferview_funcs.C (StyleReset): remove language parameter from
10377 font creation (should be language_inherit now).
10379 * bufferparams.C (writeFile): handle ignore_language.
10381 * paragraph.C (getFontSettings): the language has to be resolved
10382 otherwise we have problems in LyXFont!
10384 * lyxfont.C (lyxWriteChanges): added document_language parameter
10385 (update): removed unneeded language parameter
10387 * paragraph.C (validate): fixed wrong output of color-package when
10388 using interface colors for certain fonts in certain environments,
10389 which should not seen as that on the final output.
10391 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10393 * BufferView_pimpl.C:
10398 * LyXAction.C: add thesaurus support
10401 * lyxfind.C: add "once" parameter, for thesaurus, to not
10402 move to the next match
10404 2001-07-26 Juergen Vigna <jug@sad.it>
10406 * lyxfont.C (realize): honor ignore_language too!
10409 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10411 * text.C (draw): one place more for ignore_language to not draw
10414 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10416 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10418 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10420 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10421 the minipage conversion problem.
10423 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10425 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10428 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10430 * BufferView.h: don't forward declare WorkArea
10432 * BufferView.C: don't include WorkArea.h
10434 2001-07-25 André Pönitz <poenitz@gmx.net>
10438 * lyxfunc.C: new LFUN 'math-space'
10440 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10442 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10444 * text2.C (toggleInset): call open/close
10446 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10448 * lyxfunc.C (dispatch): add debug for the disabled case
10450 * font.C (buttonText): make similar to rectText
10452 * buffer.C (readInset): comment out parsing of insetlist and
10455 * PainterBase.C (rectText): small correction
10457 * BufferView_pimpl.C: comment out insettheorem and insetlist
10458 * LyXAction.C: ditto
10459 * commandtags.h: ditto
10461 2001-07-24 Juergen Vigna <jug@sad.it>
10463 * text.C (draw): honor the ignore_language.
10465 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10467 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10469 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10472 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10474 * lyxtext.h: remove unused (and unimplemented) methods
10476 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10478 * text.C (getVisibleRow): honor background color
10481 * Painter.h: remove default color argument for fillRectangle
10483 * text.C (backgroundColor): new method
10485 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10487 * text.C (getVisibleRow): adjust
10489 * font.[Ch] (rectText): new method, metrics
10490 (buttonText): new method, metrics
10492 * PainterBase.[hC]: make rectText and buttonText always draw and take
10495 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10497 * ToolbarDefaults.C (read):
10498 * MenuBackend.C (read): allow escaping in all strings
10500 * BufferView_pimpl.C (insertAndEditInset): new method.
10501 (Dispatch): use insertAndEditInset whenever appropriate.
10503 * BufferView_pimpl.C (insertNote): removed
10505 * BufferView_pimpl.C (smartQuote): new method, moved from
10506 BufferView; if an insetquote cannot be inserted, insert a '"'
10509 * BufferView2.C: remove insertCorrectQuote();
10511 * lyxfunc.C (getStatus): Add support for all remaingin
10512 inset-insert lfuns.
10514 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10516 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10517 command (necessary to pass " as parameter of self-insert.
10519 * text.C (selectWordWhenUnderCursor):
10520 (selectWord): add word_location parameter
10521 (selectWordWhenUnderCursor): same + remove special code for word
10523 (selectNextWord): use kind() to guess type of insetspecialchar,
10526 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10527 (insertErtContents): create ert insets as collapsed.
10528 (readInset): better compatibility code for Info inset.
10530 2001-07-20 Juergen Vigna <jug@sad.it>
10532 * lyxfunc.C (dispatch): use always LyXFind now!
10534 * text2.C (init): add a reinit flag so that the LyXText can be
10535 reinited instead of deleted and reallocated (used in InsetText).
10537 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10543 2001-07-18 Juergen Vigna <jug@sad.it>
10545 * text.C (selectNextWord): handle insets inside inset by calling
10546 always the bv->text functions so that we can go up the_locking_inset!
10548 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10549 in strange locations when inside an inset!
10551 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10552 handling to include insets.
10554 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10556 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10558 * LyXAction.C (init):
10560 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10561 LIGATURE_BREAK, since the name is so stupid.
10563 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10565 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10568 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10570 * sp_form.[Ch]: remove.
10572 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10574 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10577 * src/buffer.C (readInset): ditto.
10579 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10581 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10582 menuSeparator(), endOfSentenceDot(), ldots() and
10583 hyphenationPoint(), which are therefore removed.
10584 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10586 * LyXAction.C (init):
10587 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10589 * paragraph.C (getWord): removed.
10591 * BufferView_pimpl.C (Dispatch): use last word or selection for
10592 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10594 * lyx_main.C (queryUserLyXDir): do not ask before creating
10595 user_dir, except if it has been named explicitely.
10597 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10599 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10600 a document of zero size.
10602 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10604 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10605 approriately in the c-tor and in require().
10606 (getPackages): output the appropriate LaTeX for natbib support.
10608 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10609 variables "use_natbib" and "use_numerical_citations" when reading the
10611 (readInset): read the various natbib cite commands.
10612 (validate): white-space change.
10614 * bufferparams.[Ch]: new variables "bool use_natbib" and
10615 "bool use_numerical_citations".
10616 (writeFile): output them in the LyX file.
10618 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10620 * lyxfunc.C (getStatus): add support for all the inset insertion
10623 * text2.C (insertInset):
10624 * paragraph.C (insetAllowed):
10625 * BufferView_pimpl.C (insertInset): update to take in account the
10626 renaming of insertInsetAllowed
10628 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10630 * text2.C (getInset): new method. returns inset at cursor position.
10632 * BufferView_pimpl.C (Dispatch): changes because of this.
10634 * LyXAction.C (init): rename open-stuff to inset-toggle.
10636 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10638 * text2.C (toggleInset): renamed from openStuff; use
10641 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10643 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10645 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10647 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10649 * buffer.C (readLyXformat2): Add filename to the error dialog
10651 2001-07-18 Juergen Vigna <jug@sad.it>
10653 * tabular.C (GetCellNumber): put an assert here instead of the check!
10655 2001-07-17 Juergen Vigna <jug@sad.it>
10657 * BufferView_pimpl.C (toggleSelection): adapted too.
10659 * text.C (selectNextWord): adapted for use with insets.
10660 (selectSelectedWord): ditto
10662 2001-07-17 Juergen Vigna <jug@sad.it>
10664 * sp_spell.C (PSpell): fix initialitation order.
10666 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10668 * paragraph.C: spacing
10670 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10672 * sp_spell.C: repair language selection for pspell
10674 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10676 * lyxfunc.h: change more methods to begin with lower char.
10678 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10680 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10681 for unknown layouts.
10683 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10685 * buffer.C (readLyXformat2): Generate an error dialog if there are
10688 2001-07-16 Juergen Vigna <jug@sad.it>
10690 * sp_spell.C: always compile ISpell part.
10692 * lyxrc.C: added use_pspell entry and it's handling.
10694 2001-07-13 Juergen Vigna <jug@sad.it>
10696 * sp_spell.C: removed double includes.
10698 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10700 Consistent use of Lsstream.h:
10701 * Lsstream.h: added using std::stringstream for consistencies sake.
10703 * buffer.C: removed using std::stringstream
10705 * lyxfont.C (stateText):
10706 * paragraph.C (asString):
10707 * text.C (selectNextWord, selectSelectedWord):
10708 * text2.C (setCounter):
10709 * vspace.C (asString, asLatexString):
10710 std::ostringstream -> ostringstream.
10712 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10714 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10715 * commandtags.h: add LFUN_HELP_ABOUTLYX
10716 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10718 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10720 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10722 * lyx_gui_misc.C: remove spellchecker
10723 * lyxfunc.C: showSpellchecker
10725 * sp_ispell.h: added
10726 * sp_pspell.h: added
10727 * sp_spell.C: added
10728 * sp_form.[Ch]: removed
10729 * spellchecker.[Ch]: removed
10731 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10733 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10735 (simpleTeXSpecialChars): Simply print the input character without
10736 any special translation if pass_thru is set.
10738 * layout.h: Added bool pass_thru to layout class for being able to
10739 implement pass through of a paragraph for Literate Programming.
10741 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10742 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10743 * layout.C (Read): add "passthru" to list of layout tags and add
10744 code to set the pass_thru boolean when it is read.
10746 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10748 * trans_decl.h: remove allowed from KmodInfo
10750 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10751 remove allowed code
10754 * paragraph_pimpl.C (erase): use boost::prior
10756 * Painter.C (text): use data() instead of c_str() when length is
10758 * WorkArea.C (putClipboard): ditto
10759 * font.h (width): ditto
10761 * BufferView2.C: use it-> instead of (*it). for iterators
10763 * paragraph_pimpl.C: ditto
10764 * paragraph.C: ditto
10765 * minibuffer.C: ditto
10766 * language.C: ditto
10768 * encoding.C: ditto
10769 * counters.C: ditto
10770 * converter.C: ditto
10772 * Variables.C: ditto
10773 * TextCache.C: ditto
10774 * MenuBackend.C: ditto
10775 * LyXAction.C: ditto
10777 * FloatList.C: ditto
10778 * DepTable.C: ditto
10779 * ColorHandler.C (LyXColorHandler): ditto
10781 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10783 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10785 * text2.C (openStuff): reintroduce this method (which had been
10786 nuked in NEW_INSETS frenzy).
10788 * lyxfunc.C (Dispatch): when an action has not been handled, use
10789 its name in the error message, not its number.
10791 * paragraph.C (inInset): change method name to begin with lowercase.
10794 * text2.C: updates because of this.
10796 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10798 * ToolbarDefaults.C (add): add spaces in error message
10800 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10802 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10803 (readLyXformat2): rename return_par to first_par, use lyxlex's
10804 pushToken and remove the manual push handling.
10805 (parseSingleLyXformat2Token): add another ert comp. variable:
10806 in_tabular, rename return_par to first_par. handle newlines better
10808 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10810 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10812 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10814 * text2.C (getParFromID): removed
10816 * buffer.C (getParFromID): new method moved form lyxtext.
10817 * BufferView2.C (insertErrors): adjust
10818 (setCursorFromRow): adjust
10819 * BufferView_pimpl.C (restorePosition): adjust
10820 * lyxfunc.C (Dispatch): adjust
10821 * undo_funcs.C (textUndo): adjust
10823 (textHandleUndo): adjust
10824 (textHandleUndo): adjust
10826 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10828 * buffer.C: up' the LYX_FORMAT
10830 * lyxfont.h: turn NO_LATEX on as default
10832 * buffer.C (insertErtContents): new methods of tex style compability.
10833 (parseSingleLyXformat2Token): use it several places.
10834 * tabular.C (OldFormatRead): and here
10836 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10838 * text2.C: remove some commented code.
10841 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10842 * trans.C: changes because of the above.
10844 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10846 * text2.C (setCounter): Fix counters bug with bibliography layout.
10848 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10850 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10851 own member functions
10852 (simpleTeXSpecialChars): ditto
10854 2001-07-06 Juergen Vigna <jug@sad.it>
10856 * a lot of files: changed the access to LyXText::status and the
10857 call of undo-functions.
10859 * undo.[Ch]: added a inset_id to the undo informations.
10861 * undo_funcs.[Ch]: added and moved here all undo functions.
10863 * lyxtext.h: give the status enum a weight, made status_ a private
10864 variable and made accessor functions for it, removed the whole bunch
10865 of undo-functions as they are now in their own file, make some
10866 functions publically available. Added function ownerParagraph with
10869 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10870 made InInset() a const function, added getParFromID() function.
10872 * buffer.[Ch]: added const version for inset_iterator functions,
10873 added getInsetFromID() function.
10875 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10876 changed undo functions for new version.
10878 2001-07-05 Juergen Vigna <jug@sad.it>
10880 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10881 unknow mechanism does not call the proper constructor but only this
10882 one also if I request the other!?
10884 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10886 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10888 * text2.C (LyXText): use initialization lists.
10890 * lyxtext.h (Selection): initialize set_ and mark_
10891 (init): remove method
10893 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10895 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10897 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10899 * screen.[Ch]: change method names to begin with lowercase
10901 * BufferView_pimpl.C (updateScrollbar): simplify further and
10902 hopefully make it a bit faster.
10904 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10906 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10907 calling directly xforms functions.
10909 * Painter.C (Painter):
10910 * lyx_cb.C (MenuWrite):
10911 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10914 * lyx_gui.C: remove bogus guiruntime extern declaration.
10916 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10918 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10920 (redoDrawingOfParagraph): ditto
10921 (redoParagraphs): ditto
10922 (cutSelection): don't create a object for CutAndPaste use the
10923 static method directly
10924 (pasteSelection): ditto
10926 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10929 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10931 * modifications to some other files because of this.
10933 * Makefile.am (lyx_SOURCES): add XFormsView
10935 * XFormsView.[Ch]: new files
10937 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10938 the main window. Move the gui dependent stuff to XFormsView
10940 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10942 * tabular.C (GetCellInset): update cur_cell also in the row/col
10943 version of this function.
10945 * lyxfunc.C: no need to include figure_form.h here.
10951 * lyxvc.C: no need to include forms.h here.
10953 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10955 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10957 * lyxfunc.C (Dispatch):
10959 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10960 constructor argument.
10962 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10964 * paragraph.C (Paragraph): dont't clear, and just set layout.
10965 (makeSameLayout): use params's copy contructor.
10967 * ParagraphParameters.[Ch] (makeSame): delete method
10969 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10971 * Variables.[Ch]: fix indentation, rename set to isSet
10973 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10975 * lyxfunc.C (Dispatch): fix typo
10977 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10979 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10982 * bufferlist.C: include assert.h for emergencyWrite().
10984 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10986 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10987 give up at last (bug #425202) !
10989 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10995 * spellchecker.C: strip spellchecker options and bring up
10996 preferences tab instead
10998 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11000 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11001 the istringstream constructor
11003 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11005 * paragraph.C (getLayout): fix return value
11007 * paragraph.h: do not declare getLayout as inline.
11009 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11011 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11013 * lyxcursor.h (operator<): new func
11014 (operator>): new func
11015 (operator>=): new func
11016 (operator<=): new func
11018 * text.C (changeCase): use selection.start and selection.end
11019 (changeRegionCase): require from to be <= to. Require par to be a
11022 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11024 2001-06-27 Juergen Vigna <jug@sad.it>
11026 * text.C (cursorLeftOneWord): changed to return the cursor and added
11027 overlay with BufferView * parameter which calls this one.
11029 (selectWord): use new getWord function.
11030 (changeCase): renamed from changeWordCase as and extended to work
11031 also on selections.
11033 * lyxtext.h: added enum word_location
11035 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11036 changeCase as this operates now also on selections.
11038 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
11040 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11042 * many files: send debug output to Debug::INFO instead of
11045 * converter.C (View):
11047 (Move): send debug output to Debug::FILES instead of console.
11049 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
11051 * lyxfunc.C (getStatus): use func_status
11053 * func_status.h: new header, describing the results of
11054 LyXFunc::getStatus;
11056 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11059 2001-06-25 The LyX Project <jug@sad.it>
11061 * buffer.C (sgmlOpenTag):
11063 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
11065 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11067 * text2.C: remove some dead code
11069 * tabular.C (GetCellInset): store the last cell checked (gotten)
11071 * tabular.h: add the helper for the speedup
11073 * lyxtext.h: remove some dead code
11075 2001-06-26 The LyX Project <Asger>
11077 * paragraph.C: Change export to LaTeX of alignment to
11078 \begin{center} and family for better roundtrip work with reLyX.
11080 * Tune the math drawing a bit.
11082 2001-06-25 The LyX Project <Asger>
11084 * LColor.C (LColor): New color for math background. New color
11087 2001-06-25 The LyX Project <jug@sad.it>
11089 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11091 * lyxfunc.C (Open):
11092 * bufferlist.C (newFile): do not restrict to files ending with
11095 * BufferView_pimpl.C (MenuInsertLyXFile):
11097 2001-06-24 The LyX Project <jug@sad.it>
11099 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11102 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11104 * lyxtext.h: rename most methods to begin with a small char.
11105 Lots of changes because of this.
11107 * paragraph.C (Paragraph): do not call fitToSize
11108 (erase): call Pimpl::erase
11109 (insertChar): call Pimpl::insertChar
11110 (insertInset): call Pipl::insertInset
11111 (breakParagraph): do not call fitToSize
11112 (breakParagraphConservative): do not call fitToSize
11113 (fitToSize): remove method
11115 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11117 2001-06-24 The LyX Project <Asger>
11119 * Fix Qt compilation^2
11121 2001-06-24 The LyX Project <jug@sad.it>
11123 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11124 depthHook(getDepth()-1).
11127 * ParagraphParameters.h:
11128 * ParameterStruct.h: change type of depth to unsigned int ==
11129 depth_type. Many adaptations to other files before of that.
11131 2001-06-24 The LyX Project <Asger>
11133 * Fix Qt compilation.
11135 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11137 * paragraph.h: renamed several methods to begin with small letter.
11138 several changes to many parts of the code because of this.
11140 2001-06-23 The LyX Project <jug@sad.it>
11142 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11143 rewritten to discard all double spaces when KeepEmpty is off
11144 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11145 to only handle newlines but not fiddle with spaces and friends.
11147 * lyxfunc.C (MenuNew): when doing 'new from template', use
11148 template_path as default directory
11150 2001-06-23 The LyX Project <Asger>
11152 * Clean-up of header file includes all over
11153 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11155 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11157 * paragraph.h: renamed from lyxparagraph.h
11159 2001-06-23 Asger <lyx@violet.home.sad.it>
11161 * Buffer.h: Removed Buffer::resize
11162 * BufferList.h: Removed BufferList::resize
11163 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11164 the document lazily when we change the width, or the font settings.
11166 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11168 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11170 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11172 * buffer.h: remove out of date comment
11174 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11177 * screen.C: fix "theoretical" GC leak
11179 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11181 * LaTeX.C (scanAuxFile):
11182 (deplog): remove trailing \r when reading stream (useful under
11185 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11187 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11188 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11189 and BufferView::theLockingInset(Inset*), so should use them and not
11190 access bv_->text->the_locking_inset directly.
11192 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11194 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11197 * tex-defs.h: remove old unused file
11199 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11201 * BufferView_pimpl.C: fix typo, remove minibuffer message
11202 when buffer has loaded
11204 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11206 * lyxfunc.C (Dispatch): use stringstream
11207 (MenuNew): use stringstream
11208 (Open): use stringstream
11210 * importer.C (Import): use stringstream
11212 * bufferview_funcs.C (CurrentState): use stringstream
11214 * LaTeX.C (run): use stringstream
11216 * BufferView_pimpl.C (savePosition): use stringstream
11217 (restorePosition): use stringstream
11218 (MenuInsertLyXFile): use stringstream
11220 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11233 * vspace.C: removed // -*- C++ -*- as first line.
11236 * version.h: added // -*- C++ -*- as first line.
11238 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11240 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11242 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11245 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11247 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11250 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11252 * gettext.C: include LString.h even when --disable-nls is on.
11254 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11256 * converter.h (Get): changed argument type from int to
11257 FormatList::size_type to avoid unnecessary conversion.
11259 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11262 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11264 * gettext.h: include LString.h even when --disable-nls is on.
11266 2001-06-07 Juergen Vigna <jug@sad.it>
11268 * text.C (BreakAgain): subst spaces with tabs.
11270 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11271 (resizeInsetsLyXText): set force on resizeLyXText.
11273 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11275 * gettext.h (gettext_init):
11276 (locale_init): use a real definition instead of a macro
11278 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11280 * Bufferview_pimpl.C:
11282 * LColor.C: further lcolor tidies
11284 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11286 * BufferView_pimpl.C (updateScrollbar): simplify.
11288 * BufferView2.C: don't include insets/insetinfo.h, change
11289 prototype for insertInset and call the Pimpl version. let
11290 updateInset call Pimpl version.
11292 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11293 gotoInset to BufferView::Pimpl
11295 2001-06-01 Juergen Vigna <jug@sad.it>
11297 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11298 inside a LockingInset (is the update needed at all?).
11300 2001-05-31 Juergen Vigna <jug@sad.it>
11302 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11303 here not the old one otherwise how should we compare it afterwards
11306 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11311 * FontInfo.C: bring C functions into global namespace when
11314 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11316 * LString.h: make sure config.h has been loaded before LString.h.
11318 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11319 (one for each char read by EatLine!).
11321 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11324 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11326 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11327 to the same as the par we break from
11329 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11331 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11333 * MenuBackend.C (expand): also create menu entries for wide
11334 versions of the floats.
11336 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11338 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11340 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11341 frontends/Makefile.am
11347 * tabular.C (getTokenValue): add std::
11349 * tabular-old.C (getTokenValue): add std::
11350 (getTokenValue): ditto
11351 (getTokenValue): ditto
11353 * screen.C (ToggleSelection): adjust
11355 * lyxtext.h: put selection cursors inside a Selection struct.
11357 * lyxfunc.C (moveCursorUpdate): adjust
11359 * lyxfont.C (latexWriteStartChanges): add std::
11361 * lyxfind.C: adjust
11363 * font.h: delete with(char const *, LyXFont const &)
11365 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11367 * FontInfo.C (getFontname): add std::
11369 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11370 (workAreaButtonPress): adjust
11371 (tripleClick): adjust
11373 (moveCursorUpdate): adjust
11376 * BufferView2.C (gotoInset): adjust
11378 2001-05-30 Juergen Vigna <jug@sad.it>
11380 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11381 to check pspell I add this as default as I now have new pspell
11382 libraries and they seem to use this.
11384 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11386 * text2.C (CutSelection): make the cursor valid before the call to
11389 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11391 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11392 relied on 0 terminated strings and other horrors. Bug found due to
11393 the new assert in lyxstring!
11395 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11398 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11400 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11403 * lyxfunc.C (processKeySym): change method of getting to the
11406 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11407 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11408 * BufferView_pimpl.[Ch]: here as private methods.
11410 2001-05-28 Juergen Vigna <jug@sad.it>
11412 * text.C (SetHeightOfRow): added the update() call again as it is
11413 needed to initialize inset dimensions!
11415 2001-05-16 Juergen Vigna <jug@sad.it>
11417 * text2.C (SetCharFont): Add new function with BufferView * and
11418 bool toggleall parameters for setting insets internal fonts.
11419 (SetFont): Freeze the undo as we may change fonts in Insets and
11420 all this change should be inside only one Undo!
11422 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11423 setting font's in insets as for them we have the SetFont function!
11425 2001-05-15 Juergen Vigna <jug@sad.it>
11427 * text2.C (ClearSelection): to be sure we REALLY don't have any
11430 * tabular.C (TeXCellPreamble): fixed the left border problem for
11433 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11435 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11438 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11440 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11441 LFUN_BREAKPARAGRAPH.
11443 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11444 help test to "internal only", similar for LFUN_INSERT_URL
11446 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11447 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11448 auto_region_delete and deadkeys.
11450 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11453 * LColor.C: remove some dead entries, tidy a little
11455 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11457 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11459 (Dispatch): implement LFUN_ESCAPE
11461 * commandtags.h: add LFUN_ESCAPE
11463 * LyXAction.C (init): add entry for LFUN_ESCAPE
11465 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11466 Remove commented code.
11467 (insertNote): moved here
11468 (open_new_inset): moved here
11470 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11473 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11475 * kbmap.C (findbinding): clean it up and make it work correctly.
11477 * lyx_main.C (init): do not pass argc and argv as parameters
11479 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11481 * buffer.C: fix path for OS/2 & Win32
11485 * lyx_main.C: Added os:: class.
11487 * os2_defines.h: update
11489 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11491 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11492 better by trying again with reduced state.
11494 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11496 * lyxrc.C (read): print error about invalid key sequence only when
11497 debugging (because not all latinX keysyms are known to some X
11500 * kbsequence.C (getiso): add a few std:: qualifiers
11501 (getiso): comment out extra return statement.
11503 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11505 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11507 (Dispatch): enhance the accent inset a bit. (not perfect)
11509 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11511 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11513 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11515 * bufferlist.C (emergencyWrite): fix assert() call
11517 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11519 * text.C (InsertChar): Added trivial patch to only send the "you
11520 can not do multiple spaces this way" message once during a
11523 2001-05-08 Baruch Even <baruch@lyx.org>
11525 * Makefile.am: Changed order of libraries to get LyX to link properly
11526 with the gnome frontend.
11528 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11530 * LaTeXFeatures.h: add a std:: qualifier
11532 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11534 * paragraph.C (String): use stringstream
11536 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11538 * paragraph.C (writeFile): remove footflag arg
11540 * buffer.C (makeLaTeXFile): use stringstream
11541 (latexParagraphs): remove footnot gurba
11543 * LaTeXFeatures.C (getPackages): use stringstream
11544 (getMacros): likewise
11545 (getTClassPreamble): likewise
11546 (getFloatDefinitions): new method
11548 * paragraph.C (writeFile): reindent
11551 * WorkArea.h: revert the xpos + etc changes.
11553 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11555 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11557 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11558 (pasteSelection): likewise
11559 * text2.C (CreateUndo): likewise
11561 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11563 * minibuffer.C (peek_event): temporarily reduce the functionality
11564 of the minibuffer (to allow args on lfuns)
11566 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11567 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11569 * buffer.C (readInset): add compability reading of old float
11570 lists, add reading of new style float list.
11571 (readInset): avoid reevaluation of inscmd.getCmdName()
11572 (getLists): reindent
11574 * MenuBackend.C (MenuItem): implement parsing of
11575 md_floatlistinsert and md_floatinsert.
11576 (expand::LastFiles): move initalizaton of iterators out of loop,
11577 avoid reevaluation.
11578 (expand::Documents): introduce typdedef vector<string> Strings,
11580 (expand::ExportFormats): introduce typedef vector<Format const *>
11581 Formats, and use it.
11582 (expand): implement FloatListInsert and FloatInsert.
11584 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11585 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11586 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11588 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11590 (Dispatch::LFUN_FLOAT_LIST): implement
11592 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11594 * LaTeX.C (run): Fix problem with --export code.
11596 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11598 * BufferView.[Ch] (workarea): removed.
11599 (getClipboard) new method; wrapper for workarea()->getClipboard()
11601 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11604 * WorkArea.h (width, height, xpos, ypos): These methods all
11605 returned the dimensions of the work_area sub-area of WorkArea,
11606 resulting in a position error if the WorkArea were resized. Now
11607 return the dimensions of the entire WorkArea.
11609 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11611 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11613 * LaTeX.C (deplog): correct the syntax of regex reg1
11615 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11617 * undo.C: remove !NEW_INSETS cruft
11619 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11621 * text2.C: remove !NEW_INSETS cruft
11623 * text.C: remove !NEW_INSETS cruft
11625 * tabular.C: remove !NEW_INSETS cruft
11627 * spellchecker.C: remove !NEW_INSETS cruft
11629 * lyxtext.h: remove !NEW_INSETS cruft
11631 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11633 * lyxfunc.C: remove !NEW_INSETS cruft
11635 * lyxfind.C: remove !NEW_INSETS cruft
11637 * lyx_cb.C: remove !NEW_INSETS cruft
11639 * figureForm.C: remove !NEW_INSETS cruft
11641 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11643 * buffer.[Ch]: remove !NEW_INSETS cruft
11645 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11647 * CutAndPaste.C: remove !NEW_INSETS cruft
11649 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11651 * BufferView2.C: remove !NEW_INSETS cruft
11653 * BufferView.h: remove !NEW_INSETS cruft
11655 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11657 * Lsstream.h: include LString.h before the sstream headers to
11658 fix problem with gcc 2.95.3 and lyxstring
11660 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11662 * lyx_main.C: add using directives when needed for C functions
11663 declared in std:: namespace.
11665 2001-04-27 Juergen Vigna <jug@sad.it>
11667 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11668 (SetHeightOfRow): comment out the update call should not be needed!
11670 2001-04-13 Juergen Vigna <jug@sad.it>
11672 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11673 (LyXTabular): tried to minimize operator= operations (and realized
11674 hopfully Lars wish).
11676 2001-04-27 Juergen Vigna <jug@sad.it>
11678 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11680 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11682 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11684 * buffer.C (readInset): hack to make listof algorithm work
11686 * BufferView_pimpl.C: hack to make listof algorithm work
11688 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11690 * LyXAction.C: removed all !NEW_INSETS cruft
11691 (init): moved lfun_item in method
11693 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11695 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11697 * BufferView2.C (theLockingInset): white space.
11699 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11701 * minibuffer.C: include <iostream>
11703 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11705 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11707 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11709 * text.[Ch] (TransposeChars): new method
11711 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11713 * call message directly through LyXView instead of through LyXFunc
11714 * BufferView2.C: adjust
11715 * BufferView_pimpl.C: adjust
11716 * FontLoader.C: adjust
11718 * bufferview_funcs.C: adjust
11719 * converter.C: adjust
11720 * figureForm.C: adjust
11721 * importer.C: adjust
11723 * lyx_gui_misc.C: adjust
11724 * lyxfunc.C: adjust
11727 + more files in subdirs
11729 * lyxparagraph.h (size): move up int file
11732 * adjust all uses of Assert to lyx::Assert.
11734 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11735 lyxfunctional in namespace lyx
11736 * layout.C (hasLayout): ditto
11739 (delete_layout): ditto
11740 (NumberOfClass): ditto
11741 * converter.C (GetFormat): ditto
11746 * bufferlist.C (getFileNames): ditto
11747 (emergencyWriteAll): ditto
11750 * MenuBackend.C (hasSubmenu): ditto
11753 * BufferView_pimpl.C (getInsetByCode): ditto
11755 2001-04-18 Juergen Vigna <jug@sad.it>
11757 * vspace.C (asLatexString): fixed the 100% problem.
11759 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11761 * lyxfunc.C (Dispatch):
11763 * minibuffer.h: add a few std:: qualifiers
11765 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11767 * minibuffer.[Ch]: reimplement so that commands is initiated and
11768 run from lyxfunc, simplified som handling, and made the completion
11769 and history code for complete. wip.
11771 * lyxfunc.C (processKeySym): call message
11772 (miniDispatch): new temporary method
11773 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11774 (LFUN_MESSAGE): implement
11775 (LFUN_MESSAGE_PUSH): implement
11776 (LFUN_MESSAGE_POP): implement
11777 (initMiniBuffer): the initial/defualt minibuffer message.
11779 * lyxfont.[Ch]: inline some more getters
11781 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11783 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11785 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11786 (AutoSave): use LFUN_MESSAGE
11787 (Reconfigure): ditto
11789 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11791 * figureForm.C: use LFUN_MESSAGE
11793 * converter.C (runLaTeX): use LFUN_MESSAGE
11795 * bufferview_funcs.C: use LFUN_MESSAGE
11797 (changeDepth): ditto
11799 * bufferparams.h: use boost::
11801 * bufferlist.h: inherit privately from noncopyable
11803 * bufferlist.C (loadLyXFile): remove some commented code.
11805 * buffer.C (runChktex): use LFUN_MESSAGE
11807 * ShareContainer.h: inherit privately from noncopyable
11809 * ParagraphParameters.[hC] (depth): inline it.
11811 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11813 (message): new method
11814 (messagePush): ditto
11815 (messagePop): ditto
11816 (show): init minibuffer
11817 (showState): direct call
11819 * LaTeX.[Ch]: inherit privately from noncopyable
11820 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11821 instead of WriteStatus.
11823 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11825 * BufferView_pimpl.C (buffer): don't init minibuffer
11826 (workAreaButtonPress): use LFUN_MESSAGE
11827 (workAreaButtonRelease): ditto
11828 (savePosition): ditto
11829 (restorePosition): ditto
11830 (MenuInsertLyXFile): ditto
11831 (workAreaExpose): don't init minibuffer
11832 (update): remove commented code, simplify
11834 * BufferView2.C (openStuff): use LFUN_MESSAGE
11835 (toggleFloat): ditto
11838 (copyEnvironment): ditto
11839 (pasteEnvironment): ditto
11844 (updateInset): remove some commented code
11846 * lastfiles.h: inherit privately from noncopyable
11849 * lyx_main.h: ditto
11851 * lyxlex_pimpl.h: ditto
11853 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11854 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11855 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11857 * LyXAction.h: inherit privately from noncopyable, add methods
11858 func_begin, func_end, returning iterators to the func map.
11860 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11861 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11862 (func_begin): new method
11863 (func_end): new method
11865 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11867 (copySelection): ditto
11868 (pasteSelection): ditto
11870 * BufferView.C: whitespace change
11871 * BufferView.h: inherit privately from noncopyable
11873 2001-04-16 Allan Rae <rae@lyx.org>
11875 * tabular-old.C (l_getline):
11876 * spellchecker.C (sc_check_word):
11877 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11878 an unrecognised preprocessor directive. So ensure they're wrapped.
11880 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11882 * src/exporter.C (Export): Give an error message when path to file
11885 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11887 * LaTeX.C (deplog): Always check that foundfile exists.
11889 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11892 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11894 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11896 * tabular.[Ch] (getLabelList): implement new method
11898 * minibuffer.h: comment ouf setTiimer
11900 * minibuffer.C (ExecutingCB): constify res
11901 (peek_event): constify s
11902 (Set): constify ntext
11903 (Init): constify nicename
11905 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11907 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11908 (savePosition): use two params to Minibuffer::Set
11909 (restorePosition): ditto
11911 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11913 * lyx_main.C: include language.h
11915 * Makefile.am (lyx_main.o): add language.h
11917 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11923 * CutAndPaste.C: include gettext.h
11925 * lyxfont.h: remove old hack with ON and OFF.
11928 * lyxfont.h: do not include language.h...
11933 * bufferview_funcs.C:
11939 * paragraph.C: ... but do it here instead
11941 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11943 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11945 * tabular.C: small reformat
11947 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11950 (BreakParagraph): ditto
11951 (SetOnlyLayout): ditto
11954 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11957 * lastfiles.C: removed most using decl, add std:: where needed
11959 * buffer.C: ws changes
11961 * MenuBackend.C (class compare_format): put into anon namespace
11962 (expand): constify label, names, action, action2
11965 * text.C (SingleWidth): constify font
11966 (IsBoundary): constify rtl2
11967 (GetVisibleRow): constify ww
11969 * LaTeX.C (deplog): constify logfile
11971 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11973 (workAreaExpose): constify widthChange, heightChange
11975 * lyxrow.C (par): moved
11978 * lyxrow.h: as inlines here
11980 * lyxfont.h (shape): moved from lyxfont.C
11981 (emph): moved from lyxfont.C
11983 * lyxfont.C (LyXFont): use initialization list for all
11985 (shape): move to lyxfont.h as inline
11986 (emph): move to lyxfont.h as inline
11989 2001-04-04 Juergen Vigna <jug@sad.it>
11991 * vspace.C: had to include stdio.h for use of sscanf
11993 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11996 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11997 independent of xforms.
11999 2001-04-02 Juergen Vigna <jug@sad.it>
12001 * spellchecker.C: fixed namespace placing!
12003 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
12005 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12006 the LyXParagraph * is 0.
12008 2001-03-29 Juergen Vigna <jug@sad.it>
12010 * vspace.C: added support for %, c%, p%, l%.
12011 (stringFromUnit): added helper function.
12012 (asLatexString): changed to give right results for the %-values.
12014 * buffer.C: convert the widthp in a width%.
12016 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
12018 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12021 * figureForm.[Ch]: stripped the FD_from_figure manipulation
12022 code out of lux_cb.[Ch], ready for its (imminent?) removal.
12024 * lyx_cb.[Ch]: see above.
12026 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12030 * lyx.[Ch]: replaced by figure_form.[Ch].
12034 * lyxfunc.C: changed headers associated with above changes.
12036 2001-03-27 Juergen Vigna <jug@sad.it>
12038 * BufferView_pimpl.C: set the temporary cursor right!
12040 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
12042 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12044 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
12046 * LString.h: removed "using std::getline"!
12048 * BufferView_pimpl.C (Dispatch): changes due to changes in
12049 InsetInclude::Params.
12051 * buffer.C (tag_name): removed redundant break statements as they were
12052 producing lots of warnings with my compiler.
12054 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12056 * LString.h: add "using std::getline" when using the real <string>.
12058 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
12060 * buffer.C: removed bitset usage.
12061 PAR_TAG moved to an anonymous name space.
12062 (tag_name): new funtion, also in the anonymous namespace.
12063 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12064 (makeDocBookFile): clean code. Completed transition from string arrays
12066 (SimpleDocBookOnePar): code clean.
12068 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12070 * tabular.C: add some comments.
12072 2001-03-22 Juergen Vigna <jug@sad.it>
12074 * buffer.C (parseSingleLyXformat2Token): redone the minipage
12075 compatibility read a bit and fixed bug with minipage in different
12078 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
12080 * buffer.C (pop_tag): removed.
12081 (push_tag): removed.
12082 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12083 array replaced with vector. Added support for CDATA sections.
12084 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12086 (makeDocBookFile): XML conformant declaration of CDATA section,
12087 fixed bug related to <emphasis> in the first paragraph char.
12088 (sgmlOpenTag): exclude empty tags.
12089 (sgmlCloseTag): ditto.
12091 * buffer.h (pop_tag): removed.
12092 (push_tag): removed.
12094 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12096 * language.h (Languages): added size_type and size().
12098 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12100 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12101 response on compability reading of minipages. One probliem is that
12102 the old usage of minipages was «flertydig»
12104 * several files here and in subdirs: don't use static at file
12105 scope use anon namespaces instead.
12107 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12109 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12110 LaTeX output. This is necessary for Literate document
12113 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12115 * buffer.C: insert hfill when needed.
12117 * tabular.C (l_getline): use string::erase, small whitespace change.
12119 * BufferView_pimpl.C: try the anon namespace.
12120 * WorkArea.C: ditto
12122 2001-03-16 Juergen Vigna <jug@sad.it>
12124 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12125 otherwise it won't open options-dialogs.
12127 * buffer.C: honor pextraWidth(p) on converting minipages.
12129 * tabular.C (l_getline): changed the functions to strip trailing \r.
12131 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12133 * BufferView_pimpl.C:
12134 * minibuffer..C: added "using SigC::slot" declaration.
12136 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12138 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12144 * paragraph.C: ditto
12146 * lyxtext.h: NO_PEXTRA
12148 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12150 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12151 * ParameterStruct.h: ditto
12152 * ParagraphParameters.h: ditto
12153 * lyxparagraph.h: ditto
12155 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12157 * buffer.C: add compability for minipage alignment.
12158 (latexParagraphs): remove unwanted pextra check.
12160 * several files: remove CXX_WORKING_NAMESPACES
12162 * buffer.C (pop_tag): tie is in namespace boost
12164 * BufferView.h: noncopyable is in namespace boost
12166 * lyx_main.h: ditto
12169 * lastfiles.h: ditto
12170 * bufferlist.h: ditto
12171 * ShareContainer.h: ditto
12173 * LyXAction.h: ditto
12176 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12178 * Merging changes from BRANCH_MVC back into HEAD.
12180 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12182 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12184 * BufferView_pimpl.C: change from intl.C
12188 * Makefile.am: move combox.*
12194 * intl.C: remove dialog (covered by prefs)
12196 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12198 * lyxfunc.C (Dispatch): removed redundant break statement.
12200 2001-03-14 Juergen Vigna <jug@sad.it>
12202 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12204 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12206 * buffer.C: add hack to fix compability reading of minipages.
12208 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12210 * buffer.C (getLists): Cleanup.
12212 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12214 * lyxfont.C (update): don't honor toggleall on font size.
12216 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12220 * Makefile.am: moved to frontends/xforms/
12224 * BufferView_pimpl.C: changes for moved mathpanel
12226 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12228 * gettext.h: fix gettext_init() in --disable-nls
12230 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12232 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12234 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12237 * lyx.h: strip external form
12239 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12241 * BufferView_pimpl.C: add comment, destroySplash()
12243 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12245 * BufferView_pimpl.C:
12249 * lyxfunc.C: use re-worked insetinclude
12251 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12253 * buffer.C: add using std::stringstream.
12255 * lyx_cb.C: readd using std::ios.
12257 * buffer.C: add using std::map.
12259 * BufferView_pimpl.C: add using std::vector.
12261 * ShareContainer.h: add std:: to swap.
12263 * buffer.h: add some typedefs
12264 * buffer.C (getLists): use them
12265 (getLists): renamed from getTocList.
12266 add a counter for the different float types and use it in the
12268 (getLists): use the same counter for the NEW_INSETS and the "non"
12271 * lyx_cb.h: remove unused items, includes, using etc.
12273 * ShareContainer.h: remove some commented code, add more comments
12274 and "documentation".
12276 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12278 * buffer.C (getTocList): make the list also when NEW_INSETS is
12281 * buffer.h: remove TocType
12283 * buffer.C (getTocList): change to return a map<string,
12284 vector<TocItem> >, implement for dynamic number of list.
12286 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12287 * text2.C (PasteSelection): adjust
12288 * CutAndPaste.C (pasteSelection): adjust
12290 * FloatList.C (FloatList): update from the new_insets branch.
12291 * Floating.[Ch]: ditto
12292 * LaTeXFeatures.C: ditto
12294 * lyxlex_pimpl.C: ditto
12296 * paragraph.C (Last): remove when NEW_INSETS is defined.
12298 * other file: changes because of the above.
12300 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12302 * lyxparagraph.h: rename next to next_, previous to previous_,
12303 make them private for NEW_INSETS. Rename Next() to next(),
12304 Previous() to previous().
12306 * other files: changes because of the above.
12308 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12311 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12314 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12316 * main.C (main): pass lyx_localedir to gettext_init().
12318 * gettext.h: remove locale_init and gettext_init macros
12320 * gettext.C (locale_init): new function
12321 (gettext_init): new function
12323 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12326 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12328 * Moved credits to frontends:
12329 * credits.[Ch]: removed
12330 * credits_form.[Ch]: removed
12331 * lyx_gui_misc.C: remove credits stuff
12334 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12336 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12338 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12339 unneeded destructor.
12341 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12342 a standalone pointer again.
12344 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12346 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12352 * ToolbarDefaults.C:
12361 * BufferView_pimpl.C: use new file dialog in GUII
12364 * lyx_cb.C: remove LayoutsCB to Toolbar
12366 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12368 * ShareContainer.h (get): add std:: qualifier
12370 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12372 * ShareContainer.h: define a proper ShareContainer::value_type
12373 type (and use typename to please compaq cxx)
12375 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12377 * lyxparagraph.h: move serveral local vars to
12378 ParameterStruct/ParagraphParameters., use ShareContainer in
12379 FontTable., make vars in FontTable private and add getter and
12382 * paragraph.C: changes because of the above.
12384 * lyxfont.h: remove copy constructor and copy assignment. (the
12385 default ones is ok), move number inside FontBits. move inlines to
12388 * lyxfont.C: add number to initializaton of statics, move several
12389 inlines here. constify several local vars. some whitespace
12390 cleanup. Dont hide outerscope variables.
12392 * Spacing.h: add two new constructors to match the set methods.
12394 * ShareContainer.h: new file, will perhaps be moved to support
12396 * ParameterStruct.h: new file
12398 * ParagraphParameters.h: new file
12400 * ParagraphParameters.C: new file
12402 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12403 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12405 * BufferView_pimpl.C: ParagraphParameter changes.
12406 * buffer.C: Likewise.
12407 * bufferview_funcs.C: Likewise.
12408 * text.C: Likewise.
12409 * text2.C: Likewise.
12411 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12413 * lyxfind.C (LyXReplace): do not redefine default argument in
12415 (IsStringInText): ditto
12416 (SearchForward): ditto
12417 (SearchBackward): ditto
12419 2001-03-06 Juergen Vigna <jug@sad.it>
12421 * lyxfind.C (IsStringInText): put parentes around expressions.
12423 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12425 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12427 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12429 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12431 * stl_string_fwd.h: add comment
12433 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12436 * tabular.C: remove unused DocBook methods
12442 killed DO_USE_DEFAULT_LANGUAGE
12444 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12446 * lyx_gui.C: do not include language.h.
12448 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12449 arguments in function implementation.
12451 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12453 * BufferView_pimpl.C: add <ctime>
12455 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12457 * BufferView_pimpl.C: add using std::find_if
12459 2001-02-27 José Matos <jamatos@fep.up.pt>
12461 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12464 2001-02-11 José Matos <jamatos@fep.up.pt>
12466 * buffer.C (makeDocBookFile): command styles now have a parameter as
12467 "title" by default.
12469 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12471 * layout_forms.[Ch]: removed
12472 * lyx_cb.[Ch]: out character
12473 * lyx_gui.C: out character
12474 * lyx_gui_misc.C: out character
12475 * bufferview_funcs.C: : out character,
12476 added toggleall as parameter in ToggleAndShow
12478 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12480 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12482 * text2.C (SetCurrentFont): Disable number property at boundary.
12484 2001-02-26 Juergen Vigna <jug@sad.it>
12486 * lyxfunc.C (getStatus): added a string argument override function so
12487 that this is correctly called from LyXFunc::Dispatch if it contains a
12488 do_not_use_argument which is used!
12489 (Dispatch): added check for "custom" export and call appropriate func.
12491 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12493 * lyxrc.C: Add language_command_local, language_use_babel and
12494 language_global_options.
12496 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12498 * buffer.C (makeLaTeXFile): Use language_use_babel and
12499 language_global_options.
12501 2001-02-23 Juergen Vigna <jug@sad.it>
12503 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12504 which works with LyXText and putted it inside BufferView. Here now we
12505 only call for that part the BufferView::Dispatch() function.
12507 * BufferView.C (Dispatch): added.
12509 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12510 functions which needs to use a LyXText over from LyXFunc.
12511 (MenuInsertLyXFile): added
12512 (getInsetByCode): added
12513 (moveCursorUpdate): added
12514 (static TEXT): added
12516 2001-02-22 Juergen Vigna <jug@sad.it>
12518 * BufferView_pimpl.C (update): call a status update to see if LyXText
12521 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12523 * vc-backend.C (revert): implement for CVS
12524 (getLog): implement for CVS
12526 2001-02-20 Juergen Vigna <jug@sad.it>
12528 * text2.C (ClearSelection): added BufferView param for inset_owner call
12530 * lyxfunc.C (TEXT): added this function and use it instead of
12531 directly owner->view()-text of getLyXText().
12533 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12535 * src/layout_forms.C: out preamble
12536 * src/layout_forms.h: out preamble
12537 * src/lyx_cb.C: out preamble
12538 * src/lyx_cb.h: out preamble
12539 * src/lyx_gui.C: out preamble
12540 * src/lyx_gui_misc.C: out preamble
12541 * src/lyxfunc.C: connect with guii preamble
12543 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12545 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12547 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12549 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12550 whether to run bibtex.
12552 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12554 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12556 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12558 * Makefile.am (lyx_SOURCES): removed bibforms.h
12560 * vspace.h: doxygen
12562 * text.C (GetVisibleRow): make several local vars const
12564 * tabular.C: small cleanup.
12566 * lyxserver.C (callback): use compare instead of strncmp
12568 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12569 inlines to after class or to paragraph.C
12571 * lyxfont.h: remove friend operator!=
12573 * converter.h: move friend bool operator< to non friend and after
12576 * combox.h: small cleanup
12578 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12579 to inlines after class def.
12581 * buffer.C (pop_tag): use string operations instead of strcmp
12583 * bmtable.c: doxygen, small cleanup
12585 * LaTeX.h: remove friend operator==
12587 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12599 * BufferView_pimpl.C:
12600 * BufferView.[Ch]: remove cruft
12602 2001-02-14 Juergen Vigna <jug@sad.it>
12604 * lyxfunc.C: removed #if 0 unused code
12606 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12608 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12610 * text2.C (SetSelection): added a BufferView * parameter
12612 2001-02-13 Juergen Vigna <jug@sad.it>
12614 * lyxfunc.C (Dispatch): fixed protected blank problem.
12615 * BufferView2.C (protectedBlank): added LyxText * parameter.
12617 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12618 (AppendColumn): same as above for column_info.
12620 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12621 (moveCursorUpdate): use a LyXText param for support of InsetText.
12623 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12624 (tripleClick): ditto
12626 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12628 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12630 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12632 * text2.C (SetSelection): set correct update status if inset_owner
12633 (ToggleFree): ditto
12635 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12637 * tabular.C: remove some commented code.
12639 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12641 * BufferView_pimpl.C: call hideSplash()
12643 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12646 * bibforms.h: remove
12649 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12650 add LFUN_CHILD_CREATE
12652 * counters.h: fix tiny typo
12657 * lyx.C: move splash to frontends/xforms/
12659 * lyx_gui_misc.C: move Include and Bibform to frontends
12661 * lyxvc.h: clarify comment
12663 * vspace.C: tiny housekeeping
12665 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12667 * text.C (PrepareToPrint): RTL Fix.
12669 * paragraph.C (GetUChar): New method.
12670 (String): Use GetUChar.
12672 * buffer.C (asciiParagraph): Use GetUChar.
12674 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12676 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12678 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12681 * buffer.C: rename to getLogName(), handle
12682 build log / latex log nicely
12684 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12687 * MenuBackend.h: remove support for reference menuitem type.
12689 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12691 * BufferView_pimpl.C: housekeeping
12692 * BufferView_pimpl.h:
12697 * minibuffer.h: move Timeout GUI-I
12699 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12701 * lyxrc.C (read): Update converters data-structures.
12703 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12705 * LaTeX.h (operator!=): add operator != for Aux_Info
12707 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12709 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12711 * LaTeXLog.C: deleted, useful code moved to Buffer
12714 * buffer.C: new function getLatexLogName()
12720 * lyxfunc.C: use frontends for LaTeX and VC logs
12722 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12724 * LaTeX.h: yet another std:: that Allan forgot.
12726 * Variables.C (set): renamed from isset(), because this clashes
12727 with some HP-UX macros (grr).
12729 2001-02-06 Allan Rae <rae@lyx.org>
12731 * LaTeX.h: Another bug fix. Missing std:: this time.
12733 2001-02-04 Allan Rae <rae@lyx.org>
12735 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12736 floats problem. I've left it commented out because it's not quite
12737 correct. It should also test that the current object is a table or
12738 figure inset. But I haven't gotten around to figuring out how to do
12739 that. I *think* it'll be something like: "table" == inset.type()
12741 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12744 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12746 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12747 all the citation/databases/styles in the auxilary file.
12748 (run): Rerun latex if there was a babel language error.
12750 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12752 * text.C (Backspace): Preserve the font when changing newline char
12754 (BreakParagraph): If the cursor is before a space, delete the space.
12756 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12758 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12760 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12761 new argument (code).
12762 (ChangeCitationsIfUnique): New method.
12764 * paragraph.C (GetPositionOfInset): Handle bibkey.
12766 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12768 * BufferView_pimpl.h: change type of Position::par_pos to
12769 LyXParagraph::size_type.
12771 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12773 * BufferView_pimpl.C (savePosition, restorePosition): Write
12774 messages to minibuffer.
12776 2001-01-28 José Matos <jamatos@fep.up.pt>
12778 * buffer.C (makeDocBookFile): adds support for document language.
12779 A silly restriction on the name of LatexCommand types where removed.
12780 Added support for CDATA sections, allows to chars unescaped, used
12781 among others in code, to avoid escape < and >.
12783 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12785 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12786 saved positions instrad of a stack. Furthermore, a position is
12787 stored using paragraph id/paragraph position.
12789 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12790 Remove LFUN_REF_BACK.
12792 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12794 * converter.C (dvipdfm_options): New method.
12796 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12798 * vspace.C (isValidLength): Fix for empty input string.
12800 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12802 * LyXAction.C (init): change description of LFUN_FIGURE to
12805 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12807 * LaTeX.C: add using directive
12809 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12811 * MenuBackend.C (expand): Fix the sorting of the formats.
12813 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12815 * lyx_main.C: tiny error message fix
12817 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12819 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12820 calling fl_initialize(). This fixes the problem with ',' as
12821 decimal separator in text files.
12823 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12825 * trans.C (process): Fix the keymap bug.
12827 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12829 * LaTeX.C (scanAuxFiles): New method. Provides support for
12830 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12831 (scanLogFile) Scan for "run BibTeX" messages.
12833 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12834 OT1 font encoding. Also, load the aecompl package if the ae
12837 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12839 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12841 * texrow.C (increasePos): turn two error messages into debug
12844 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12846 * LaTeX.C (scanAux): Handle the \@input macro.
12847 (runBibTeX): Use scanAux().
12849 * language.C (latex_options_): New field.
12851 * LaTeXFeatures.C (getMacros): Add language macros.
12853 * buffer.C (makeLaTeXFile): Small fix.
12855 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12857 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12859 * text2.C: add a using directive.
12861 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12866 * lyxfunc.C: kill LyXBell.
12868 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12870 * text.C (IsBoundary): Remove the error message
12872 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12874 * lyxrc.C (setDefaults): Correct initialization value for
12877 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12879 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12882 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12883 and GotoNextNote().
12885 * src/LyXAction.C: Added reference-next.
12887 * text.C (InsertChar): Use contains instead of strchr.
12889 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12891 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12893 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12894 alignment commands (when needed).
12896 * text.C (InsertChar): Add ':' to number separator chars.