1 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7 * LaTeX.C: use namespace alias for lyx::support::os
9 2003-09-16 Angus Leeming <leeming@lyx.org>
17 * text.C: add #include "LColor.h".
19 2003-09-16 Angus Leeming <leeming@lyx.org>
21 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph, setUnderbar,
22 setNoun, setNumber, setColor, setLanguage): no longer return LyXFont &.
23 Store the FontBits::color variable as an int rather than as an LColor::color
24 so that we can move LColor.h out of the lyxfont.h header file.
26 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
27 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot string
30 * lyxrc.C: add #include "LColor.h".
32 2003-09-15 Angus Leeming <leeming@lyx.org>
34 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as a cow_ptr.
36 2003-09-15 Angus Leeming <leeming@lyx.org>
38 * LColor.h: add an EnumLColor wrapper for LColor::color.
40 * lyxfont.[Ch] (color, setColor, realColor):
41 * lyxtext.h, text.C (backgroundColor):
42 pass EnumLColor args to/from the functions, rather than LColor::color ones.
45 * lyxtext.h: forward declare EnumLColor.
47 * lyx_main.C: add #include "LColor.h".
49 2003-09-15 Angus Leeming <leeming@lyx.org>
51 * .cvsignore: add lyx-gtk.
53 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
58 * ParagraphParameters.C
72 * vc-backend.C: remove usage of STRCONV
74 2003-09-15 Angus Leeming <leeming@lyx.org>
76 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
77 explicitly define the color passed to the painter.
79 2003-09-15 Angus Leeming <leeming@lyx.org>
81 * bufferparams.C (BufferParams): reorder member initializers to avoid
84 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
86 * CutAndPaste.C (pasteSelection): remove an outdated #warning
87 * text.C (updateRowPositions): remove an unusual nop
89 2003-09-12 André Pönitz <poenitz@gmx.net>
100 * Counters.[Ch]: finish the 'automatic counters' job
102 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
104 * aspell.C: include <boost/assert.cpp> (compile fix)
106 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
108 * boost.C (assertion_failed): use lyx::support::abort instead of
111 2003-09-10 Angus Leeming <leeming@lyx.org>
113 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h with their
116 2003-09-09 Angus Leeming <leeming@lyx.org>
118 134 files throughtout the source tree: replace 'using namespace abc;'
119 directives with the appropriate 'using abc::xyz;' declarations.
121 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
123 * boost.C (emergencyCleanup): moved here from LAssert.c
124 (assertion_failed): new function, called by BOOST_ASSERT
126 * several files: change Assert to BOOST_ASSERT
128 2003-09-09 Angus Leeming <leeming@lyx.org>
130 * buffer.[Ch]: Add an Impl class and move Buffer's member
131 variables into it. As a result move several header files out of
134 Add header files to lots of .C files all over the tree as a result.
136 2003-09-09 Angus Leeming <leeming@lyx.org>
138 * buffer.[Ch]: make Buffer's member variables private. Add
141 Lots of changes all over the tree as a result.
143 2003-09-08 Angus Leeming <leeming@lyx.org>
145 * graph.C: #include <config.h>.
147 2003-09-08 Angus Leeming <leeming@lyx.org>
151 * BufferView_pimpl.C:
180 * toc.C: remove redundant using directives.
182 2003-09-07 Angus Leeming <leeming@lyx.org>
184 * LaTeXFeatures.h: remove #include "support/types.h".
185 * ToolbarBackend.h: remove #include <algorithm>.
186 * changes.h: remove #include <ctime>.
187 * debug.h: remove #include <iosfwd>.
188 * graph.h: remove #include "support/std_string.h".
189 * lyx_main.h: remove #include <csignal>.
190 * lyxlex_pimpl.h: remove #include <fstream>.
191 * sgml.h: remove #include <algorithm>, <utility>.
192 * toc.h: remove #include "support/std_ostream.h". Add #include <iosfwd>.
194 2003-09-07 Angus Leeming <leeming@lyx.org>
196 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
198 * converter.h: forward declare LatexRunParams.
199 * encoding.h: remove #include "lyxrc.h".
200 * lyxtext.h: remove #include "LColor.h".
201 * lyxtextclass.h: remove #include "support/types.h".
202 * trans.h: remove #include "tex-accent.h".
203 * trans_mgr.h: remove #include "tex-accent.h".
204 * insets/inset.h: remove #include "support/types.h", <vector>.
205 * insets/insetcollapsable.h: remove #include "LColor.h".
206 * insets/insetinclude.h: remove #include "dimension.h".
207 * insets/insetlatexaccent.h: remove #include "dimension.h".
208 * insets/insetoptarg.h:: remove #include "insettext.h".
209 * insets/insettext.h: remove #include "dimension.h", <boost/shared_ptr.hpp>
211 * insets/renderers.h: add #include "dimension.h".
212 * insets/updatableinset.h: add #include "support/types.h".
214 * many .C files: Associated changes.
216 2003-09-06 Angus Leeming <leeming@lyx.org>
218 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one,
219 inside testInvariant.
221 * PrinterParams.C: new file.
222 * PrinterParams.[Ch]: move the function bodies out of line.
224 2003-09-06 Angus Leeming <leeming@lyx.org>
226 * ParagraphParameters.h: forward declare ParameterStruct rather than
227 including its header file.
228 (depth): moved out-of-line.
230 2003-09-06 Angus Leeming <leeming@lyx.org>
232 * BufferView_pimpl.h:
235 * lyxfunc.h: forward declare LyXKeySym rather than
236 #include "frontends/LyXKeySym.h".
238 * BufferView_pimpl.C:
241 * lyxfunc.C: associated changes.
243 2003-09-06 Angus Leeming <leeming@lyx.org>
245 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
246 As a result, can remove the #include "insets/inset.h" from BufferView.h
248 2003-09-06 Angus Leeming <leeming@lyx.org>
250 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
251 As a result, can remove the #include "insets/inset.h" from BufferView.h
253 2003-09-06 Angus Leeming <leeming@lyx.org>
259 * bufferview_funcs.C:
260 * BufferView_pimpl.C:
265 * ParagraphParameters.C:
270 * frontends/controllers/ControlDocument.C:
271 * insets/insetcaption.C: rearrange the #includes into some sort of
274 * buffer.h: remove #includes ErrorList.h, undo.h
276 2003-09-06 Angus Leeming <leeming@lyx.org>
278 * support/types.h: add a 'depth_type' typedef, used to store the
279 nesting depth of a paragraph.
282 * ParameterStruct.h: use this lyx::depth_type typedef rather than
287 * ParagraphParameters.h:
288 * sgml.h: use lyx::depth_type rather than Paragraph or
289 ParameterStruct's depth_type.
292 * paragraph_funcs.h: no need to #include paragraph.h anymore.
295 * BufferView_pimpl.C:
297 * ParagraphParameters.C:
300 * bufferview_funcs.C:
307 * frontends/LyXView.C:
308 * frontends/controllers/ControlDocument.C:
309 * frontends/controllers/ControlErrorList.C:
310 * insets/insetbibitem.C:
311 * insets/insetbranch.C:
312 * insets/insetcaption.C:
313 * insets/insetcollapsable.C:
316 * insets/insetfloat.C:
317 * insets/insetfoot.C:
318 * insets/insetfootlike.C:
319 * insets/insetnewline.C:
320 * insets/insetquotes.C:
321 * insets/insettabular.C:
322 * insets/insettext.C:
323 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
325 * frontends/controllers/ControlChanges.C: #include "changes.h".
327 2003-09-06 Angus Leeming <leeming@lyx.org>
329 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
330 #including paragraph.h.
333 * RowList.h: deleted. Superfluous.
343 * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
345 * paragraph.h: don't forward declare ParagraphList.
348 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
349 rather than ParagraphList.h. paragraph.h is still needed for the
350 Paragraph::depth_type parameters.
352 * textcursor.h: enable it to compile stand-alone in light of the
355 * bufferview_funcs.C:
367 * frontends/controllers/ControlParagraph.C:
368 * frontends/controllers/ControlTabular.C:
369 * insets/insetmarginal.C:
370 * insets/insetminipage.C:
371 * insets/insetnote.C:
372 * insets/insetoptarg.C: add header files needed to compile again.
374 2003-09-06 Angus Leeming <leeming@lyx.org>
376 * RowList_fwd.h: new file, forward-declaring Row rather than
382 * insets/insettext.h: use it instead of RowList.h
384 * bufferview_funcs.C:
391 * text3.C: #include "RowList.h".
393 2003-09-05 Angus Leeming <leeming@lyx.org>
395 * factory.C (createInset):
396 * vspace.C (c-tor): replace sscanf call with an istringstream.
397 * ispell.C: re-add missing HP/UX headers.
398 * lyxserver.C: re-add missing os2 headers.
400 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
409 * text3.C: re-add missing system headers, needed for 2.95.2.
411 2003-09-05 Angus Leeming <leeming@lyx.org>
413 Changes most place everywhere due to the removal of using directives
414 from support/std_sstream.h.
416 2003-09-05 Angus Leeming <leeming@lyx.org>
418 Replace LString.h with support/std_string.h,
419 Lsstream.h with support/std_sstream.h,
420 support/LIstream.h with support/std_istream.h,
421 support/LOstream.h with support/std_ostream.h.
423 Changes resulting throughout the tree.
425 2003-09-05 Angus Leeming <leeming@lyx.org>
427 * sgml.h: ensure that the header file can be compiled stand-alone.
428 * *.C: strip out redundant #includes. (320 in total.)
430 2003-09-04 Angus Leeming <leeming@lyx.org>
432 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
433 here (from getPackages).
435 * debug.[Ch]: add a new EXTERNAL tag.
437 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
439 * text2.C (cursorEnd): simplify
441 (getColumnNearX): adjust
443 * text.C (computeBidiTables): adjust
446 * rowpainter.C (paintChars): adjust
447 (paintSelection): adjust
448 (paintChangeBar): adjust
451 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
453 (numberOfSeparators): adjust
455 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
461 * text3.C: Restricts the mouse click functionality
462 of insets like bibtex, include, toc and floatlist to the visible
463 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
464 up the dialogs. Cursor has to be in front of the inset (i.e.
465 start of row) for this to function.
467 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
469 * bufferview_funcs.C (currentState): output row information
471 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
473 * bufferview_funcs.C (currentState): output paragraph position
475 2003-09-04 Angus Leeming <leeming@lyx.org>
477 * FloatList.h: move out #include "Floating.h".
478 * LaTeX.h: move out #include "DepTable.h".
479 * LyXAction.h: move out #include "funcrequest.h".
480 * buffer.h: move out #include "author.h", "iterators.h".
481 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
482 * lyx_main.h: move out #include "errorlist.h".
483 * lyxfunc.h: move out #include "FuncStatus.h".
484 * lyxtext: move out #include "lyxcursor.h".
485 * paragraph_pimpl.h: move out #include "counters.h".
487 2003-09-03 Angus Leeming <leeming@lyx.org>
489 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
490 preamble_snippets list, enabling us to add snippets to the preamble only
491 if the snippet was not there already.
493 2003-09-04 Angus Leeming <leeming@lyx.org>
495 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
497 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
499 * lyxfunc.C (dispatch): if fitCursor did something be sure to
502 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
504 * BranchList.C: point fix, earlier forgotten
506 2003-09-02 Angus Leeming <leeming@lyx.org>
508 * box.C (contains): renamed from 'contained' after a fantastic
511 2003-09-02 John Levon <levon@movementarian.org>
517 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
519 2003-09-02 John Levon <levon@movementarian.org>
521 * text2.C: simplification of cursorEnd(), including partial
524 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
526 * buffer.C (readFile): add a space
528 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
530 * BufferView_pimpl.C (update): remove bogus fitCursor() call
532 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
534 * buffer.C (readFile): new function, take a filename and a
535 ParagraphList::iterator
537 (readFile): adjust, make it private. don't use setStream, make
538 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
539 always contain the filename.
541 * BufferView.C (insertLyXFile): simplify and make it work for
544 2003-08-30 John Levon <levon@movementarian.org>
546 * Makefile.am: fix dist (from Kayvan)
548 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
550 * most files: change to use const Buffer refs
552 2003-08-27 André Pönitz <poenitz@gmx.net>
554 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
555 on top of ownerPar().
557 2003-08-27 John Levon <levon@movementarian.org>
559 * funcrequest.C: properly initialise POD members
561 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
563 * lyxtext.h (top_y): move top_y from here
568 * BufferView_pimpl.[Ch]: to here
569 * frontends/screen.C:
570 * insets/insettabular.C:
571 * insets/insettext.C: adjust
572 * rowpainter.[Ch] (paintRows): remove LyXText & argument
574 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
577 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
579 2003-08-26 André Pönitz <poenitz@gmx.net>
581 * paragraph_func.[Ch] (outerPar): new function
587 * text2.C: remove Inset::par_owner
589 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
594 * text2.C: eliminates the needFullRow/display() stuff
595 altogether, putting the logic in metrics/draw in the insets.
597 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
599 * text2.C (redoParagraphInternal, redoParagraphs):
600 * text.C (redoParagraph): add a call to updateRowPositions at the
601 end of each 'metrics-like' call. Remove all others.
602 (getRow): remove the 'y-computing' version.
603 (getRowNearY): do not compute nor return the real y. Solve the
604 'y < 0' problem and simplify.
606 2003-08-22 Angus Leeming <leeming@lyx.org>
608 * *.[Ch]: clean-up of licence and author blurbs.
609 Also move config.h out of a few .h files and into a few .C files.
611 2003-08-22 André Pönitz <poenitz@gmx.net>
613 * lyxrow.[Ch]: add x_ and *fill_ members
618 * text2.C: adjust/remove prepareToPrint() calls
620 2003-08-22 André Pönitz <poenitz@gmx.net>
622 * lyxrow.[Ch]: add end_ member
624 * lyxrow_funcs.C: use LyXRow::end_
626 * lyxtext.h (singleWidth): add LyXFont parameter
629 * text2.C: adjust LyXText::singleWidth() calls
631 * text.C (redoParagraph): simplify row breaking logic
634 2003-08-19 André Pönitz <poenitz@gmx.net>
636 * funcrequest.C: initialize button_ member
639 * rowpainter.[Ch]: interface consolidation
641 2003-08-18 André Pönitz <poenitz@gmx.net>
644 * BufferView_pimpl.C:
648 * text3.C: remove LyXScreen::draw() and fitCursor calls
650 * BranchList.h: remove spurious semicolons
652 * MenuBackend.C: fix branchlist related crash
654 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
666 * text3.C: implements the 'branch inset'
667 idea. This allows the output of various versions of a document
668 from a single source version, selectively outputing or suppressing
669 output of parts of the text.
670 This implementation contains a 'branch list editor' in a separate
671 tab of the document settings dialog. Branches are user definable
672 and have a "display colour" to distinguish them on-screen.
674 ColorHandler was somewhat cleaned up.
675 (1) make possible a dynamically growing LColor list by allowing
676 the graphic context cache to grow along (vector);
677 (2) eliminate an IMHO unnecessary step in colour allocation.
679 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
681 * BufferView_pimpl.C: compile fix
683 2003-08-15 André Pönitz <poenitz@gmx.net>
685 * rowpainter.C: remove extra metrics calls
687 * lyxtext.h: merge the two constructors into a single one,
688 pass reference to owner's par list
690 * BufferView_pimpl.C:
694 2003-08-15 André Pönitz <poenitz@gmx.net>
704 * text_funcs.C: split LyXText::rowlist_ into individual
705 Paragraph::rows_ chunks
708 * BufferView_pimpl.[Ch]:
711 * text3.C: remove toggleSelection()
713 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
715 * bufferlist.C: beautify two alerts (shorter text of buttons)
716 * buffer.C: Remove redundant ' ' from message
718 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
719 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
720 rename VALIGN_CENTER to VALIGN_MIDDLE
722 2003-08-11 André Pönitz <poenitz@gmx.net>
724 * lyxtext.h (getPar):
725 * text.C: new function
727 2003-08-11 André Pönitz <poenitz@gmx.net>
730 * tracer.[Ch]: remove unneeded files
732 * InsetList.[Ch]: remove resizeInsetsLyXText()
737 * text3.C: merge insertParagraphs() and appendParagraph()
738 remove breakAgain(), update()
740 * BufferView_pimpl.[Ch]:
741 * bufferview_funcs.[Ch]:
745 * tabular.C: adjust after text & InsetList changes.
747 2003-08-08 André Pönitz <poenitz@gmx.net>
749 * text.C (insertChar, backspace): replace rowlist fiddling
750 with rebreak of full par
753 * text.C (breakAgainOneRow, redoHeightOfParagraph,
754 checkParagraph, updateInset): removed
756 2003-08-07 André Pönitz <poenitz@gmx.net>
759 * text3.C: merge some LFUN handlers, remove dead code
761 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
763 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
765 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
767 * text2.C (DEPM): fix part of bug 1255 and 1256
769 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
771 * BufferView_pimpl.C (workAreaDispatch): change to use
772 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
773 that are no mouse related.
775 2003-08-05 André Pönitz <poenitz@gmx.net>
778 * BufferView_pimpl.[Ch]:
779 * bufferview_funcs.C:
781 * text3.C: rip out "deep update"
783 * textcursor.[Ch] (last_sel_cursor): remove unused member
785 2003-08-04 André Pönitz <poenitz@gmx.net>
788 * BufferView_pimpl.[Ch]:
789 * ParagraphParameters.C:
790 * bufferview_funcs.C:
796 * text3.C: replace "complicated" BufferView::update(...) calls with
799 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
801 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
803 * Makefile.am (lyx_SOURCES): add paper.h
805 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
807 * Makefile.am: move things around so that both lyx-qt and
808 lyx-xforms can be built (according to --with-frontend). Then lyx
809 is a symbolic link to lyx-[firstfrontend]
811 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
813 * Always use std::endl with lyxerr
815 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
817 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
819 2003-08-01 André Pönitz <poenitz@gmx.net>
822 * BufferView_pimpl.[Ch]:
824 * text3.C: merge BufferView::repaint() and BufferView::update()
826 2003-08-01 José Matos <jamatos@lyx.org>
828 * buffer.[Ch]: file_format is no longer a buffer data element.
830 2003-08-01 André Pönitz <poenitz@gmx.net>
835 * text2.C: make redoParagraph more independent of current cursor
837 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
839 * text2.C: remove unneeded members
841 2003-07-30 André Pönitz <poenitz@gmx.net>
843 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
845 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
846 create a single function...
848 * paragraph_funcs.C (moveItem): ... here.
851 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
853 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
855 * LColor.[Ch]: Add comment and greyedout logical colors.
857 2003-07-30 André Pönitz <poenitz@gmx.net>
859 * tabular.C: don't use Assert too heavily. This crashes where it
862 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
864 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
865 is disabled (bug 1232)
867 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
869 * factory.C: limited 'arg' scope
871 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
873 * factory.C: fixed Note submenu issues
875 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
877 * factory.C: submenu for Note/Comment/Greyedout
879 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
882 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
884 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
887 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
888 greyedout. Patch provided by Jürgen Spitzmüller.
890 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
892 * kbmap.C (read): fix error message when reading bind files
894 2003-07-29 Angus Leeming <leeming@lyx.org>
896 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
897 certainly does not do what it purports to do. I am doing it, and
898 us, a favour by killing it.
900 2003-07-28 José Matos <jamatos@lyx.org>
902 * buffer.C (readBody, do_writeFile):
903 * paragraph.C(readParagraph): \end_document replaces \the_end.
905 2003-07-29 André Pönitz <poenitz@gmx.net>
908 * BufferView_pimpl.[Ch]:
912 * textcursor.[Ch]: remove toggleToggle & Co
914 2003-07-28 José Matos <jamatos@fep.up.pt>
916 * buffer.C (readParagraph):
917 * params_func (readParToken, readParagraph):
918 * paragraph.C (write): \layout -> \begin_layout.
920 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
922 * lyxlex_pimpl.C (setFile): clean up slightly.
924 * bufferparams.h: add compressed var
926 * buffer_funcs.C (readFile): adjust for LyXLex change
927 (newFile): ditto + simplify
929 * buffer.C (writeFile): handle writing of compressed files
931 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
932 Check if the file is compressed and set a bufferparm if so.
934 * Makefile.am (lyx_LDADD): remove explicit -lz
936 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
938 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
939 makeDocBookFile): put the real LyX version in the first line of
943 * version.C.in: remove lyx_docversion
945 * tabular.C (write_attribute): add a template-based version to
948 2003-07-28 André Pönitz <poenitz@gmx.net>
953 * text3.C: use doubles again for x-coordinates. They are needed.
955 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
957 * messages.C (getLocaleDir): use lyx_localedir()
959 * lyxlex_pimpl.C (setFile): compress stuff
961 * buffer.C (writeFile): add some compression stuff
962 (do_writeFile): new func, dont call expliti close... will this
965 * Makefile.am (lyx_LDADD): add -lz
967 2003-07-28 José Matos <jamatos@fep.up.pt>
969 * buffer.C: increment file format.
970 * paragraph_funcs (readParagraph, readParToken):
971 * paragraph.C (readParagraph): add \end_layout.
973 2003-07-27 Angus Leeming <leeming@lyx.org>
975 * Makefile.am: remove special casing for configure-time setting of
976 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
978 * lyx_main.C (init): remove all Jean-Marc's magic setting of
979 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
981 2003-07-26 André Pönitz <poenitz@gmx.net>
983 * paragraph_func.[Ch]:
984 * paragraph.C (realizeFont): inline it whereever it is used
989 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
992 2003-07-26 André Pönitz <poenitz@gmx.net>
996 * text2.C: get rid of LyXText::need_break_row
998 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1000 * toc.[Ch]: put namespace toc inside namespace lyx
1002 * MenuBackend.C (expandToc2): adjust for lyx::toc
1005 * lyxfunc.C (dispatch): adjust for lyx::find
1007 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1008 lyx::find instead. Reorganize a bit.
1009 (LyXReplace): rename to replace
1010 (LyXFind): rename to find
1012 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1015 2003-07-26 André Pönitz <poenitz@gmx.net>
1017 * text.C (setHeightOfRow): restrict scope of temporary variable
1019 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
1020 code (never has been used?)
1022 2003-07-27 Asger Alstrup <alstrup@local>
1024 * text.C (fill): Optimise algorithm to exploit that we can reuse
1025 the LyXFont for many characters.
1026 (setHeightOfRow): Same thing.
1027 (rowBreakPoint): Same thing.
1029 2003-07-26 Asger Alstrup <alstrup@local>
1031 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1033 * text.C (singleWidth): Spurious font copying in hot-spot
1034 singleWidth avoided. Reorder tests for arabic for efficiency.
1036 * text.C (fill): handle empty paragraphs better.
1038 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1041 * encoding.h: add includes
1043 * lyxrc.C: remove reading of bind files
1045 * lyx_main.C (init): setup bindings and menus only if we have a
1048 * kbmap.C (read): new method. Do the actual reading of bind
1051 * converter.C (dvipdfm_options):
1054 (output): adapt PAPER_* enums.
1056 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1058 * bufferparams.h: remove paper-related enums from there
1060 * paper.h: New file. A trivial header file to hold paper-related
1061 enums. It should later expand to contain many paper-related
1064 * lyxrc.C: declare extern displayTranslator
1066 2003-07-27 José Matos <jamatos@fep.up.pt>
1068 * tabular.[Ch] (linuxdoc): add support for tables and figures
1071 2003-07-27 José Matos <jamatos@fep.up.pt>
1073 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1074 consistency in both functions.
1075 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1077 2003-07-26 Asger Alstrup <alstrup@local>
1079 * rowpainter.C (paintRows): Change algorithm to work directly on
1080 the insets rather than asking every character in the document
1081 whether its an inset.
1083 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
1085 * buffer.C (openFileWrite): factorize some code
1087 2003-07-26 Angus Leeming <leeming@lyx.org>
1090 * lyx_main.[Ch]: replace occurances of system_tempdir with
1093 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1095 * rename Inset to InsetOld
1097 2003-07-25 Asger Alstrup <alstrup@diku.dk>
1099 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1100 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1101 which I think is a bit clearer. EDIT is gone, since it was
1102 premature optimisation, and broken for mathed anyway.
1103 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1104 with cursor positioning in insets as well (math insets still do not
1105 work, but that's a different story anyway.) It mysteriously
1106 crashes sometimes with undo in the first paragraph, but I'm fairly
1107 confident that this is a compiler bug.
1109 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1111 * paragraph.C (Paragraph): adjust for new clone return type
1113 (copyIntoMinibuffer): ditto
1115 2003-07-25 Asger Alstrup <alstrup@lyx.org>
1117 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1118 by not having a special case, and always doing a full rebreak of
1119 the document after undo.
1121 2003-07-23 Angus Leeming <leeming@lyx.org>
1123 * factory.C (createInset): InsetExternal::setParams now takes a
1126 2003-07-23 Angus Leeming <leeming@lyx.org>
1128 * factory.C (createInset): changed interface to the external and
1129 graphics mailers' string2params functions.
1131 2003-07-23 Angus Leeming <leeming@lyx.org>
1133 * factory.C (createInset): pass a
1134 Buffer const * parameter to InsetExternalMailer's string2params.
1136 2003-07-22 John Levon <levon@movementarian.org>
1138 * Thesaurus.h: include the right aiksaurus header
1140 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1142 * MenuBackend.C (expand): check menu shortcuts unconditionally
1144 2003-07-21 Angus Leeming <leeming@lyx.org>
1146 * factory.C (createInset): pass a
1147 buffer_path parameter to InsetGraphicsMailer's string2params.
1149 2003-07-21 Angus Leeming <leeming@lyx.org>
1151 * BufferView_pimpl.C (buffer):
1154 * lyxfunc.C (dispatch):
1155 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1156 rather than the grfx shortcut.
1158 2003-07-21 André Pönitz <poenitz@gmx.net>
1160 * rowpainter.C: remove unused variables
1163 * tabular_funcs.h: move to tabular.C
1164 * Makefile.am: adjust
1166 * tabular.[Ch]: basic optical cleaning
1168 * author.h: pass references, not values
1170 2003-07-18 André Pönitz <poenitz@gmx.net>
1178 * text3.C: two-phase drawing for InsetText and InsetTabular
1179 some float -> int changes.
1181 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1183 * lyx_main.C: fix the fix
1185 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
1187 * lyx_main.C: fix a crash in batch mode if no files specified
1190 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
1192 * format.[Ch] (papersize): moved to BufferParams
1193 * converter.[Ch] (dvips_options): moved to BufferParams
1194 (dvipdfm_options): moved to anon namespace
1195 * bufferparams.[Ch]: added above functions.
1197 2003-07-17 André Pönitz <poenitz@gmx.net>
1201 * text2.C: don't call inset->update() anymore
1203 * metricsinfo.[Ch]: add convenience constructor
1205 2003-07-16 André Pönitz <poenitz@gmx.net>
1210 * text2.C: replace the LyXCursor::irow_ member with
1211 on-demand computation of the value
1213 2003-07-16 John Levon <levon@movementarian.org>
1215 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1217 2003-07-15 André Pönitz <poenitz@gmx.net>
1220 * text2.C: remove no more needed refresh_row
1222 2003-07-15 André Pönitz <poenitz@gmx.net>
1227 * text3.C: refresh_status tristate -> need_update bool
1229 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1231 * lyxtext.h (init): remove reinit argument (act as if always true)
1232 * text2.C: adjust to that
1234 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1236 * bufferview_funcs.[Ch]: introduce function replaceSelection()
1237 * text3.C: use it to delete selections in some cases
1238 (bugs 441, 673, 702, 954).
1240 2003-07-14 André Pönitz <poenitz@gmx.net>
1242 * rowpainter.[Ch]: reduce interface
1244 2003-07-14 André Pönitz <poenitz@gmx.net>
1246 * BufferView_pimpl.C:
1247 * text2.C: adjust after removing unused BufferView * argument
1249 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
1251 * text2.C (init): fix a crash fired on resize
1253 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
1255 * buffer.[Ch]: added new closing signal
1256 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1257 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1258 BufferView::Pimpl via the closing the signal
1260 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
1262 * buffer.[Ch]: take out all bv-related from buffer
1264 * BufferView_pimpl.[Ch]: connect to new signals
1265 * CutAndPaste.C: removed useless asserts
1266 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1269 * lyxfunc.C: moved view-related funciontality from vc here
1270 * paragraph.C: removed outdated comments
1273 2003-07-10 André Pönitz <poenitz@gmx.net>
1275 * BufferView_pimpl.C:
1279 * text2.C: remove InsetText::InnerCache, clean up consequences
1281 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
1283 * ispell.C: fix two typos in error messages
1285 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
1287 * Extend Note inset to other forms of annotation like Comment
1288 and Greyedout. Right button click gives dialog.
1290 Files modified or added (+):
1294 * ControlNote.[Ch] +
1296 * Makefile.am in frontends/xforms, frontends/xforms/forms,
1297 frontends/controllers
1301 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1303 * aspell.C: add missing namespace lyx::support
1305 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
1307 * BufferView.[Ch] (newFile): Add
1308 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1309 * LaTeX.[Ch] (message): added this signal and use it
1310 * buffer.[Ch] (busy, message): added these signals and use them
1311 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1315 * importer.C: use buffer signals instead of direct bv calling
1316 * lyx_cb.[Ch] (ShowMessage): removed
1319 * paragraph_funcs.C:
1320 * text2.C: use buffer signals
1322 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1324 * introduce namespace lyx::graphics
1326 2003-07-02 André Pönitz <poenitz@gmx.net>
1328 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1330 2003-07-01 André Pönitz <poenitz@gmx.net>
1337 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1338 text*.C to text_func.C
1340 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1342 * introduce namespace lyx::support
1344 2003-06-30 André Pönitz <poenitz@gmx.net>
1349 * text.C: re-enable --with-included-string
1351 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1353 * textcursor.C: add <config.h>
1355 * text.C (getWord): remove const from word_location arg
1357 * lyxvc.C (getLogFile): fix const type order
1359 * lyxtext.h: remove const from word_location arg, add arg name
1361 * lyxlayout.h: currect type on labeltype.
1363 * importer.C: correct \file
1365 * converter.C (intToFormat): use std:: on ret val, ws changes
1367 * bufferlist.h: correct \file
1369 * buffer.C (makeLinuxDocFile): fix const type order
1370 (makeDocBookFile): ditto
1371 (fillWithBibKeys): use std:: on stdlib args.
1373 * CutAndPaste.C: fix authors.
1374 (availableSelections): use std:: on return vector
1376 2003-06-27 André Pönitz <poenitz@gmx.net>
1378 * BufferView_pimpl.C:
1379 * bufferview_funcs.C:
1387 * text3.C: remove LyXCursor::row_ member
1390 * text.C: rename fullRebreak() to partialRebreak() and implement
1391 a fullRebreak() that really bereks fully
1393 * textcursor.h: new struct for cursor-related data
1395 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
1397 * lyx_main.C (LyX): get full path of document loaded on the
1400 2003-06-26 André Pönitz <poenitz@gmx.net>
1402 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1403 remove unused/broken operator>,<,>=.
1405 * text.C: remove only use of broken operator<= in an Assert().
1407 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1409 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1410 moved errorlist_.clear to showErrorList
1412 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1414 * converter.C (scanLog, runLaTeX):
1415 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1416 move the bv->showErrorList call to the callers
1417 * lyxfunc.C: i.e. here...
1419 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1420 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1421 namespace, the second to...
1422 * buffer_funcs (BufferFormat, parseErrors): added
1423 * errorlist.C (ErrorList(TeXErrors const &)): removed
1425 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1427 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1429 2003-06-24 "Garst R. Reese" <reese@isn.net>
1433 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1435 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1437 * version.C.in: change docversion to 1.4
1439 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1441 * buffer.C: fix a bug just introduced
1443 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1445 * buffer.[Ch]: added the parseError signal and use it, removed
1447 * BufferView.[Ch] (addError): moved to ...
1448 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1449 to the Buffer::parseError signal to catch (guess what) parse errors
1450 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1452 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1454 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1455 ability to create a buffer and to return an existing one from
1456 the list. Moved these functions to...
1457 * buffer_funcs.[Ch]: added
1458 * BufferView.[Ch] (loadLyXFile): added
1459 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1460 job removed from bufferlist::loadLyXFile.
1461 * buffer.C (setReadOnly): make it work without view
1462 (i.e added an if (users))
1464 2003-06-19 Angus Leeming <leeming@lyx.org>
1467 * LyXAction.C (init):
1468 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1469 with LFUN_DIALOG_SHOW <name> <data>.
1471 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1473 * CutAndPaste.C (availableSelections): small compilation fix for
1474 ancient (gcc 2.9x) compilers
1476 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1478 * text3.C (cursorNext): add tmp var
1480 * text2.C (updateCounters): for function calling out of for clause
1481 (replaceSelectionWithString): ditto
1482 (insertStringAsParagraphs): ditto
1483 (getColumnNearX): add tmp var
1484 (setCursorFromCoordinates): add tmp var
1485 (cursorDownParagraph): add tmp var
1486 (deleteEmptyParagraphMechanism): add tmp var
1488 * text.C (insertChar): add tmp var
1490 * rowpainter.C (paintDepthBar): add tmp var
1492 * CutAndPaste.C (availableSelections): potentially check all
1493 paragraphs in a cut to fill the shown strings.
1495 2003-06-18 André Pönitz <poenitz@gmx.net>
1497 * kbmap.[Ch]: use vector<> instead of list<>
1499 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1501 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1502 pasteSelection with index
1504 * text2.C (pasteSelection): modify, call pasteSelection with index
1506 * paragraph.C (asString): reimplement version with no interval to
1507 call the one with interval.
1509 * lyxtext.h: add index arg to pasteSelection
1511 * MenuBackend.C (MenuItem): handle PasteRecent
1512 (Menu::read::Menutags): add md_pasterecent
1514 (expandPasteRecent): new function
1517 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1519 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1521 (availableSelections): new function
1523 2003-06-17 Angus Leeming <leeming@lyx.org>
1525 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1527 2003-06-17 Angus Leeming <leeming@lyx.org>
1530 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1532 * lyxfunc.C (dispatch): invoke it.
1534 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1536 * iterators.C (operator++, ParPosition): reintroduce some
1537 const_cast for the benefit of older compilers.
1539 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1541 * text3.C (dispatch): do not modify clipboard when doing
1542 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1543 LFUN_DELETE_SKIP on a selection selection
1545 2003-06-16 André Pönitz <poenitz@gmx.net>
1551 * tabular.[Ch]: IU of clone() and getLabelList();
1553 2003-06-13 André Pönitz <poenitz@gmx.net>
1555 * tabular.h: compactification
1557 2003-06-12 André Pönitz <poenitz@gmx.net>
1561 * tabular_funcs.h: some renaming plus whitespace
1563 2003-06-12 André Pönitz <poenitz@gmx.net>
1566 * BufferView_pimpl.C:
1572 * toc.C: Return a Paragraph & for ParIterator::operator*()
1574 2003-06-11 John Levon <levon@movementarian.org>
1578 * ToolbarBackend.C: add "Toolbars" section and
1581 2003-06-10 Angus Leeming <leeming@lyx.org>
1584 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1586 * lyxfunc.C (dispatch): invoke it.
1588 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1590 * main.C: protect <ios> with HAVE_IOS
1591 (main): protect sync_with_stdio with HAVE_IOS
1593 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1595 * text2.C (cutSelection): adjust
1596 (pasteSelection): adjust
1598 * messages.C: handle get of empty string
1600 * main.C (main): use sync_with_stdio(false)
1602 * lyxfunc.C (dispatch): adjust
1604 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1605 (WriteAs): remove unneeded BufferView arg.
1607 * bufferparams.h: use correct types on papersize, papersize2 and
1610 * bufferparams.C (readToken): adjust for type
1611 (writeLaTeX): add missing cases to switch.
1613 * bufferlist.C (quitWriteBuffer): adjust
1616 * buffer.C (asciiParagraph): remove some commented code.
1618 * CutAndPaste.C: remove current_view extern variable.
1619 (cutSelection): add BufferParams arg.
1620 (eraseSelection): add BufferParams arg.
1621 (pasteSelection): add Buffer const & arg
1623 2003-06-07 John Levon <levon@movementarian.org>
1626 * paragraph_funcs.C:
1627 * paragraph_pimpl.C:
1631 * paragraph.C: allow InsetERT to freely space lines,
1632 and some consolidation of code
1634 2003-06-06 José Matos <jamatos@fep.up.pt>
1636 * buffer.C (makeDocBookFile): fix bug #821
1638 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1640 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1642 2003-06-04 Angus Leeming <leeming@lyx.org>
1644 * buffer.C: bump format to 224.
1646 2003-06-05 André Pönitz <poenitz@gmx.net>
1648 * text2.C (redoParagraphs): remove two const_cast<>
1650 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1652 * ParagraphList.h: remove last remnants of NO_STD_LIST
1654 2003-06-03 Angus Leeming <leeming@lyx.org>
1656 * factory.C (createInset): small change to the way InsetExternal's params
1659 2003-06-04 André Pönitz <poenitz@gmx.net>
1661 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1663 * paragraph_pimpl.h:
1664 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1666 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1668 * undo_funcs.C: make some simple cases of undo work again
1670 2003-06-03 John Levon <levon@movementarian.org>
1672 * ispell.C: HPUX doesn't have sys/select.h
1675 2003-06-03 John Levon <levon@movementarian.org>
1677 * CutAndPaste.C: update tabular and include inset
1682 * paragraph.C: remove owningBuffer(), don't pass Buffer
1685 * factory.C: insetGraphicsParams changed
1687 2003-06-02 John Levon <levon@movementarian.org>
1693 * text3.C: remove insetparent
1695 2003-06-02 John Levon <levon@movementarian.org>
1698 * buffer.C: fix inset_iterator.end(), move out of line
1701 2003-06-01 John Levon <levon@movementarian.org>
1703 * text3.C: use a proper cut/paste when doing inset
1704 insert (from Jürgen Spitzmüller)
1706 2003-06-01 John Levon <levon@movementarian.org>
1708 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1710 2003-05-30 André Pönitz <poenitz@gmx.net>
1712 * rowpainter.C: unify second drawing phase
1714 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1716 * trans_mgr.C: remove one case of current_view
1718 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1720 * paragraph_funcs.h: remove paragraph.h include
1722 * paragraph.h: delete NO_STD_LIST stuff
1724 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1726 * buffer.h: remove paragraph.h include
1728 * ParagraphList.C: delete file
1730 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1732 * toc.C (getTocList): adjust
1734 * paragraph_pimpl.C (validate): adjust
1736 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1738 * paragraph.C (Paragraph): adjust
1739 (getPositionOfInset): use const_iterator, adjust
1740 (bibitem): use const_iterator, adjust
1741 (setInsetOwner): adjust
1743 * iterators.C (operator++): adjust
1745 * InsetList.[Ch]: Replace selfmade iterator with standard
1746 vector::iterator also introduce const_iterator. Remove getPos,
1747 getInset and setInset from InsetTable. Adjust accordingly.
1749 * BufferView.C (lockInset): adjust
1750 (ChangeInsets): adjust
1752 * tabular.[Ch]: delete commented same_id functions
1754 2003-05-28 John Levon <levon@movementarian.org>
1756 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1758 2003-05-28 André Pönitz <poenitz@gmx.net>
1760 * metricsinfo.[Ch]: remove 'fullredraw' member
1762 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1764 * lyxtextclass.C (operator): remove caching.
1766 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1770 * text2.C (cursorBottom): adjust
1771 (setCounter): use ParagraphList::find, adjust
1773 * text.C (workWidth): use ParagraphList::find, adjust
1775 * lyxcursor.C (LyXCursor): adjust
1777 * buffer.C (inset_iterator): adjust
1779 * ParagraphList.h: make iterator(value_type) private, make
1780 ParagraphList a friend of iterator.
1782 * ParagraphList.C (find): new function
1784 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1786 2003-05-27 André Pönitz <poenitz@gmx.net>
1788 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1790 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1792 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1794 2003-05-26 John Levon <levon@movementarian.org>
1796 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1798 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1800 * remove same_id from function signatures, adjust.
1802 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1804 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1806 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1808 * paragraph.C (Paragraph): get rid of same_ids parameter
1810 * ParagraphList.C (insert): adjust
1813 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1815 * paragraph_funcs.C (breakParagraph): adjust
1816 (breakParagraphConservative): adjust
1818 * buffer.C (readParagraph): adjust
1820 * ParagraphList.C (insert): take a reference instead of a pointer
1823 * paragraph.[Ch] (id): new function
1825 * bufferlist.C (newFile): adjust
1827 * ParagraphList.C (ParagraphList): adjust
1829 (push_back): take a reference instead of a pointer.
1831 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1833 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1836 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1837 set else use old code.
1839 * ParagraphList.C: remove all NO_NEXT code and only compile this
1840 code of NO_STD_LIST is set.
1842 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1844 * BufferView_pimpl.C:
1854 * graphics/GraphicsConverter.C:
1855 * graphics/PreviewLoader.C: header adjustment
1857 2003-05-23 Angus Leeming <leeming@lyx.org>
1859 * LaTeXFeatures.[Ch] (useBabel): new method.
1860 * bufferparams.C (writeLaTeX): use it.
1862 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1864 * ParagraphList.h (set): remove unused function.
1866 2003-05-23 André Pönitz <poenitz@gmx.net>
1869 * BufferView_pimpl.C:
1873 * undo_funcs.C: setUndo reworked
1875 * iterators.[Ch]: add access to topmost ParagraphList
1877 * lyxtext.[Ch] (workWidth): add a const
1879 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1881 * texrow.[Ch] (increasePos): remove function
1882 * exporter.C (export): removed unused var and outdated comment
1884 2003-05-23 Angus Leeming <leeming@lyx.org>
1886 * latexrunparams.h: rename fragile as moving_arg.
1887 * paragraph.C (simpleTeXOnePar): ditto.
1888 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1890 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1892 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1894 (textUndoOrRedo): comment out a currently unused var.
1896 * paragraph.h (NO_NEXT): enable NO_NEXT
1898 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1900 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1902 * exporter.C (Export): adjust for removeAutoInsets removal.
1904 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1906 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1908 * BufferView.[Ch] (removeAutoInsets): delete function
1910 2003-05-22 Angus Leeming <leeming@lyx.org>
1912 * latexrunparams.h: add a free_spacing variable.
1914 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1915 to pass moving_arg, as the data is stored in runparams.fragile.
1917 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1918 to Inset::latexOptional or to simpleTeXOnePar.
1920 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1921 free_spacing arg to Inset::latexOptional.
1923 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1926 2003-05-22 Angus Leeming <leeming@lyx.org>
1928 * latexrunparams.h: add fragile and use_babel variables.
1930 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1931 * buffer.C (makeLaTeXFile): store this returned value in
1932 runparams.use_babel, thus passing it to the inset::latex methods.
1934 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1935 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1937 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1938 longer has a fragile arg, as it is stored in runparams.fragile.
1940 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1941 moving_arg parameter as the data is stored in runparams.fragile.
1943 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1944 a fragile parameter as the data is stored in runparams.fragile.
1946 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1948 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1950 2003-05-22 Angus Leeming <leeming@lyx.org>
1952 * latexrunparams.h: add a 'bool nice' which defaults to false.
1954 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1955 now encapsulated within runparams.
1957 * bufferlist.C (updateIncludedTeXfiles):
1958 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1960 2003-05-22 Angus Leeming <leeming@lyx.org>
1962 * latexrunparams.h: new file containing struct LatexRunParams.
1963 * Makefile.am: add new file.
1965 * LaTeX.[Ch] (c-tor, run):
1966 * buffer.[Ch] (makeLaTeXFile):
1967 * bufferlist.[Ch] (updateIncludedTeXfiles):
1968 * converter.C (convert, scanLog):
1969 * converter.[Ch] (runLaTeX):
1970 * exporter.C (Export):
1971 * paragraph.[Ch] (simpleTeXOnePar):
1972 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1973 * paragraph_funcs.[Ch] (latexParagraphs):
1974 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1975 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1976 pass around a LatexRunParams parameter.
1978 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1980 * paragraph.[Ch]: remove unused constructor
1982 * ParagraphList.C (erase): new function, taking two iterators
1984 2003-05-22 André Pönitz <poenitz@gmx.net>
1986 * undo_funcs.C: remove duplicated code
1988 * iterator.[Ch]: operator=
1990 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1992 * tabular.C (SetMultiColumn): ws changes
1994 * rowpainter.C (paintFirst): get rid of a ->previous
1996 * lyx_cb.C (getPossibleLabel): parlist simplification
1998 * BufferView.C (ChangeInsets): simplify slightly.
2000 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2002 * LyXAction.C: new lfun space-insert, kill protected-space-insert
2003 * lfuns.h: new LFUN_SPACE
2004 * lyxfunc.C: protected space has a new lfun
2005 * paragraph_funcs.C: read new space insets
2007 * factory.C: handle new space insets
2009 2003-05-22 André Pönitz <poenitz@gmx.net>
2012 * BufferView_pimpl.C:
2015 * undo_funcs.C: return a ParIterator from getParFromID.
2017 * iterators.[Ch]: add two const's
2019 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2021 * toc.C (getTocList): adjust
2023 * iterators.[Ch]: rework for parlist
2025 * buffer.C (par_iterator_begin): adjust
2026 (par_iterator_end): adjust
2028 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2030 * BufferView.C (removeAutoInsets): adjust
2031 (ChangeInsets): adjust
2033 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
2035 * text.C (top_y): fix bug 1110
2037 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
2039 * errorlist.[Ch]: added
2042 * BufferView_pimpl.C:
2043 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2046 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2048 * Makefile.am: ensure that lyx is relinked upon changes to the
2049 various "convenience" libs.
2051 2003-05-20 Angus Leeming <leeming@lyx.org>
2053 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2054 files are compiled in alphabetical order again.
2056 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2058 2003-05-19 Angus Leeming <leeming@lyx.org>
2060 * gettext.[Ch]: remove "char const * _(char const *)".
2062 2003-05-19 André Pönitz <poenitz@gmx.net>
2064 * dimension.[Ch]: promote from mathed/dimension.[Ch]
2073 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2075 2003-05-19 André Pönitz <poenitz@gmx.net>
2079 * lyxtextclass.[Ch]:
2081 * paragraph_funcs.[Ch]:
2083 * text3.C: more insetenv work
2085 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
2087 * ParagraphParameters.C (params2string): small bug fixed
2089 2003-05-16 André Pönitz <poenitz@gmx.net>
2092 * bufferview_funcs.C: patch from Kornel Benko to prevent
2093 crash when _(...) is called twice in a statement
2095 2003-05-16 André Pönitz <poenitz@gmx.net>
2102 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2104 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
2106 * lyx_main.C (init): remove spurious static_cast
2108 2003-05-14 André Pönitz <poenitz@gmx.net>
2110 * BufferView.C: fix format string
2112 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
2114 * BufferView.[Ch] (insertErrors): removed
2115 * BufferView.[Ch] (showErrorList): added
2116 * buffer.C (runChkTeX):
2117 * converter.C (scanLog): call showErrorList instead of inserterrors
2119 2003-05-13 André Pönitz <poenitz@gmx.net>
2121 * BufferView_pimpl.C:
2123 * bufferview_func.C:
2130 * tabular_funcs.h: tostr() from its own header
2132 * ParagraphParameters.C:
2137 * text3.C: STRCONV()
2139 2003-05-12 André Pönitz <poenitz@gmx.net>
2142 * BufferView_pimpl.C:
2146 * ParagraphParameters.C:
2150 * bufferview_funcs.C:
2163 * paragraph_funcs.C:
2167 * text3.C: boost::format -> bformat all over the place
2170 2003-05-09 André Pönitz <poenitz@gmx.net>
2172 * LColor.[Ch]: Pimpl the #include <map> away
2174 2003-05-09 John Levon <levon@movementarian.org>
2176 * bufferlist.C: never remove emergency saves
2178 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2180 * Makefile.am: better lib building
2182 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2184 * texrow.[Ch]: remove dependency on Paragraph and just store a id
2186 * paragraph_pimpl.C (simpleTeXBlanks): adjust
2187 (simpleTeXSpecialChars): adjust
2188 (simpleTeXSpecialChars): adjust
2189 * paragraph.C (simpleTeXOnePar): adjust
2190 * buffer.C (makeLaTeXFile): adjust
2192 * Makefile.am (BOOST_LIBS): allow boost as system lib.
2194 * text2.C (changeDepth): parlist cleanup
2195 (getColumnNearX): ditto
2197 * rowpainter.C (getLabelFont): parlist cleanup
2199 * bufferlist.C (newFile): parlist cleanup
2201 * CutAndPaste.C (eraseSelection): parlist cleanup
2203 * BufferView_pimpl.C (trackChanges): parlist cleanup
2206 * BufferView.C (lockInset): parlist cleanup.
2207 (ChangeInsets): ditto
2209 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2211 * CutAndPaste.h: Update file header.
2213 * CutAndPaste.C: Update file header.
2214 Store the parts cut out of the Document in a limited_stack.
2215 (copySelection): adjust
2216 (pasteSelection): new function, takes the index in the limited stack.
2217 (nrOfParagraphs): adjust
2218 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2219 simplify error inset insertion.
2220 (checkPastePossible): adjust
2222 2003-05-06 John Levon <levon@movementarian.org>
2224 * text2.C: don't cast wrap inset to float
2226 2003-05-05 André Pönitz <poenitz@gmx.net>
2229 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2231 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2232 few naked Paragraph *.
2234 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
2236 * bufferparams.C: Output warning if a document with missing
2237 TeX document class is loaded
2238 * exporter.C: Disable TeX exports if the document class is missing
2241 * lyxtextclasslist.C: Handle new textclass.lst format; new method
2242 isTeXClassAvailable()
2244 2003-05-03 John Levon <levon@movementarian.org>
2247 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2248 explicit cursor show/hide
2250 * BufferView_pimpl.h:
2251 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2252 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2254 * lyxfunc.C: hide cursor before dispatching.
2259 * text3.C: remove explicit cursor hides
2261 2003-05-02 André Pönitz <poenitz@gmx.net>
2263 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2266 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2269 * text2.C: tiny whitespace
2271 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2273 * undo_funcs.C: almost only ws changes.
2275 * ParagraphList.C (splice): just return if pl is empty.
2277 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2279 * ParagraphList.C (splice): new function.
2281 * CutAndPaste.C (pasteSelection): use it
2283 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2285 * CutAndPaste.C (pasteSelection): remove the last next and
2286 previous from this file.
2288 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2290 * CutAndPaste.C (pasteSelection): more clean up, user proper
2291 ParagraphList functions for pasteing.
2293 * ParagraphList.C (insert): new function, three arg insert
2295 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2297 * ParagraphList.C (insert): new function, three arg insert
2299 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2302 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2304 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2306 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2308 * CutAndPaste.C (pasteSelection): remove some unneeded code.
2310 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2312 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2313 (copySelection): clean up a bit.
2314 (pasteSelection): use make_pair
2316 * ParagraphList.C (ParagraphList): implement copy constructor
2317 (operator=): implement, base on copy constructor.
2320 * paragraph.C (erase): return a bool
2322 * paragraph_pimpl.C (erasePos): remove function, move contents...
2323 (erase): ... here. Return a bool.
2324 (erase): call erase instead of erasePos.
2326 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
2328 * ParagraphList.h: define PitPosPair
2329 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2330 ParagraphList, fix a bug on pasting multiple pars
2331 * text2.C: change interface to C&P
2333 2003-04-30 André Pönitz <poenitz@gmx.net>
2335 * undo_func.C: revert part of yesterday's patch 2
2337 2003-04-30 John Levon <levon@movementarian.org>
2339 * LColor.C: s/tabular/table/
2341 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2343 * text3.C (dispatch): do not convert iterator -> pointer
2344 * undo_funcs.C (setCursorParUndo): ditto
2345 * text_funcs.C (transposeChars): ditto
2347 * text2.C (setLayout): ws changes only
2349 * text.C (breakParagraph): do not convert iterator -> pointer
2351 (acceptChange): ditto
2352 (rejectChange): ditto
2357 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2360 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2362 * text3.C (gotoInset): YABG (yet another bad getChar)
2364 2003-04-29 André Pönitz <poenitz@gmx.net>
2366 * paragraph.h: make operator= private unimplemented as long as
2369 * ParagraphList.C: whitespace
2372 * paragraph_pimpl.[Ch]:
2373 * paragraph_funcs.C:
2375 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
2378 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2380 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
2382 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2383 * paragraph.[Ch] (erase):
2384 * paragraph_pimpl.[Ch] (erase): change return type and value
2385 * text2.C (cutSelection): some rework
2387 2003-04-28 John Levon <levon@movementarian.org>
2389 * bufferlist.C: changes for unsaved changes dialog
2391 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2393 * bufferlist.C (newFile): set language (messages_) for new
2396 * buffer.C (readFile): ws changes only.
2398 2003-04-28 André Pönitz <poenitz@gmx.net>
2403 * BufferView_pimpl.C:
2404 * BufferView.C: getParFromID related ParagraphList::iterator changes
2406 2003-04-28 André Pönitz <poenitz@gmx.net>
2408 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2411 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2413 * messages.C: remove one more localedir class variable.
2415 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2417 * messages.C (getLocaleDir): singleton generation function
2419 (Messages): add a default constructor.
2421 * main.C (main): do not setup localedir here, do not call
2424 * gettext.C (_): use it.
2425 (gettext_init): delete funciton
2427 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2429 * gettext.C (getLyXMessages): new singleton generating function.
2431 * buffer.C (updateDocLang): adjust
2433 * Makefile.am (messages.o): add target
2434 (main.o): remove target
2436 2003-04-27 John Levon <levon@movementarian.org>
2441 * lyxvc.C: specify cancel button in Alert::prompt
2443 2003-04-26 John Levon <levon@movementarian.org>
2448 * LyXAction.C: add LFUN_INSET_SETTINGS
2450 * lyxfunc.C: don't enable tabular-feature when there's
2451 just any locking inset
2453 2003-04-26 John Levon <levon@movementarian.org>
2455 * bufferlist.C: re-add Cancel to buffer close question
2457 * lyxfunc.C: fix import UI a bit
2459 2003-04-25 John Levon <levon@movementarian.org>
2461 * gettext.C: remove the broken asserts for now
2463 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2465 * messages.C: make case where setlocale cannot comply work better.
2467 * buffer.C (updateDocLang): new function
2468 (changeLanguage): use it
2471 * text2.C (setCounter): use B_ a bit.
2473 * lyxlayout.C (Read): be sure to trim the label strings.
2475 * messages.C (Messages): fix typo in comment
2477 * buffer.C (readFile): set message_ after file is loaded.
2478 (makeDocBookFile): remove double return
2479 (changeLanguage): reset message_ upon language change.
2480 (B_): new func, use this to get translated buffer strings.
2482 * main.C: add myself and Jean Marc as authors.
2484 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2486 * messages.[hC]: pimplify Messages, and three different pimpls to be
2487 used in different circumstances.
2489 * gettext.[Ch]: change for use with new message code.
2491 2003-04-24 André Pönitz <poenitz@gmx.net>
2493 * factory.C: support for eqref
2495 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2497 * messages.[Ch]: add missing char
2499 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2501 * messages.[Ch]: New files
2503 2003-04-18 John Levon <levon@movementarian.org>
2507 * BufferView_pimpl.C:
2511 * text2.C: remove layout-copy/paste (bug 778)
2513 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2515 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2517 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2519 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2520 if they succeed. Act accordingly.
2522 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2524 * text2.C (setCharFont): adjust
2525 (setCounter): adjust
2526 (insertStringAsLines): adjust
2528 * text.C (leftMargin): adjust
2529 (setHeightOfRow): adjust
2531 * rowpainter.C (paintFirst): adjust
2534 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2536 (isFirstInSequence): ditto
2537 (getEndLabel): ditto
2540 * paragraph.C (getParLanguage): comment out some hard stuff.
2542 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2544 (simpleDocBookOnePar): ditto
2545 (makeDocBookFile): use ParagraphList::iterator
2547 * CutAndPaste.C (pasteSelection): adjust
2549 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2551 * text2.C (getFont): adjust
2552 (getLayoutFont): adjust
2553 (getLabelFont): adjust
2555 * paragraph_funcs.C (TeXOnePar): adjust
2557 * buffer.C (simpleLinuxDocOnePar): adjust
2558 (simpleDocBookOnePar): adjust
2560 * CutAndPaste.C (pasteSelection): adjust
2562 * BufferView.C (getEncoding): adjust
2564 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2566 2003-04-16 John Levon <levon@movementarian.org>
2568 * lyxfind.C: use parlist stuff for search/changes
2570 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2572 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2574 * text2.C (deleteEmptyParagraphMechanism): adjust
2576 * text2.[Ch] (ownerParagraph): delete func (both of them
2578 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2580 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2582 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2584 * ParagraphList.C: prepare for NO_NEXT
2586 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2588 * text2.C (getFont): adjust
2589 (getLayoutFont): adjust
2590 (getLabelFont): adjust
2592 * paragraph.C (getFont): adjust
2593 (getLabelFont): adjust
2594 (getLayoutFont): adjust
2596 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2598 2003-04-15 John Levon <levon@movementarian.org>
2602 * lyx_main.C: handle Include in .ui files
2604 2003-04-15 John Levon <levon@movementarian.org>
2606 * MenuBackend.C: make the doc files length shorter
2609 * ToolbarBackend.C: handle toolbar placement flags,
2612 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2614 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2617 * paragraph_funcs.C (TeXOnePar): adjust
2619 * paragraph.C (getLabelFont): add outerfont arg, adjust
2620 (getLayoutFont): ditto
2621 (simpleTeXOnePar): adjust
2623 * paragraph_pimpl.C (realizeFont): delete func
2625 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2627 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2628 row argument, constify cur argument.
2630 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2632 * text2.C (getFont): adjust
2633 (getLayoutFont): adjust
2634 (getLabelFont): adjust
2636 * paragraph_funcs.C (TeXOnePar): adjust
2637 (outerFont): new func...
2638 (realizeFont): ...moved out from here, changed this to facilitate
2641 * paragraph.C (getFont): take outerfont as arg, adjust
2642 (simpleTeXOnePar): add outerfont arg, adjust
2644 * buffer.C (simpleLinuxDocOnePar): adjust
2645 (simpleDocBookOnePar): adjust
2647 * CutAndPaste.C (pasteSelection): adjust
2649 * BufferView.C (getEncoding): adjust
2651 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2653 * text2.C (setCharFont): adjust
2654 (setCounter): adjust
2656 * text.C (leftMargin): adjust
2657 (setHeightOfRow): adjust
2659 * rowpainter.C (paintFirst): adjust
2662 * paragraph_pimpl.C (realizeFont): adjust
2664 * paragraph.C (isFirstInSequence): move from here...
2665 * paragraph_funcs.C (isFirstInSequence): ...to here
2667 * paragraph.C (outerHook): move from here...
2668 * paragraph_funcs.C (outerHook): ...to here
2670 * paragraph.C (depthHook): move from here...
2671 * paragraph_funcs.C (depthHook): ...to here
2673 * paragraph.C (getEndLabel): move from here...
2674 * paragraph_funcs.C (getEndLabel): ...to here
2676 * text2.C (realizeFont): move from here...
2677 * paragraph_funcs.C (realizeFont): ...to here
2679 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2681 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2683 2003-04-14 Angus Leeming <leeming@lyx.org>
2685 * LColor.[Ch]: scrap LColor mathcursor.
2687 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2689 * lyxlex.[Ch] (text): delete function
2690 * trans.C (Load): adjust
2691 * paragraph_funcs.C (readParToken): adjust
2693 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2695 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2696 vector<char> instead of a char[].
2698 * lyxlex_pimpl.C (getString): adjust
2700 (lex): use getString
2704 * lyxlex.C (text): use pimpl_->getString()
2708 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2710 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2711 (makeFontEntriesLayoutSpecific): temp var for par.size()
2712 (setLayout): temp var for ownerParagraphs().end()
2713 (fullRebreak): temp var for rows().end()
2714 (selectionAsString): temp var for boost::next(startpit), realize
2715 that the while really is a regular for loop.
2716 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2717 setCursor in one place.
2718 (setParagraph): temp vr for ownerParagraphs().end()
2719 (updateCounters): make the while loop a for loop
2720 (cutSelection): temp var for ownerParagraphs().end()
2721 (updateInset): make the do {} while() a regular for loop
2722 (getCursorX): use temp vars
2723 (setCurrentFont): use temp vars
2724 (getColumnNearX): use temp vars
2726 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2728 * text.C (transformChar): use temp var for getChar
2729 (computeBidiTables): use temp var for row->par()
2730 (fill): move temp vars for row->par() and pit->layout() earlier in
2732 (labelFill): use temp var for row->par()
2733 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2734 asc and desc, realize that pit never changes and that firstpit is
2735 just a duplicate and not needed. Exchange rit->par() with pit in a
2737 (breakAgain): use a temp var for boost::next(rit)
2738 (breakAgainOneRow): ditto
2739 (breakParagraph): use a temp var for rows().begin()
2740 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2741 (cursorRightOneWord): use temp var for cursor.par() and
2742 cursor.pos(), remove usage of tmpcursor.
2743 (cursorLeftOneWord): use temp var for cursor.par() and
2744 cursor.pos() only set cur at end of function.
2746 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2748 * text.C, text2.C: exchange all usage of Paragraph::next with
2749 boost::next(ParagraphList::iterator)
2751 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2753 * text2.C (cursorTop): simplify implementation
2754 (cursorBottom): ditto
2755 (setParagraph): use ParagraphList::iterator
2756 (setCurrentFont): adjust
2757 (getColumnNearX): adjust
2758 (cursorRight): adjust
2759 (cursorLeft): remove usage of Paragraph::previous
2760 (cursorUpParagraph): ditto
2761 (deleteEmptyParagraphMechanism): slight cleanup
2763 * text.C (isBoundary): take a Paragraph const & instead of a
2765 (addressBreakPoint): ditto
2766 (leftMargin): remove usage of Paragraph::previous.
2767 (setHeightOfRow): ditto
2768 (cursorLeftOneWord): ditto
2769 (selectNextWordToSpellcheck): ditto
2772 (breakParagraph): remove one usage of Paragraph::next
2773 (redoParagraph): ditto
2774 (acceptChange): ditto
2775 (insertChar): adjust
2776 (rowBreakPoint): adjust
2778 * bufferview_funcs.C (toggleAndShow): adjust
2780 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2782 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2783 methods to access it.
2785 * text.C: Added updateRowPositions to compute all row positions.
2786 Make top_y and getRowNearY() to use the cached y position
2788 2003-04-11 John Levon <levon@movementarian.org>
2790 * text.C (rowBreakPoint): reintroduce the labelEnd
2791 checks, code copied from the row fill stuff. Deep voodoo.
2793 * text.C (fill): add a comment and debugging for the
2796 2003-04-11 John Levon <levon@movementarian.org>
2798 * text.C: make sure fullrow insets get wrapped to the next line,
2799 even when they're in a manual label
2801 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2803 * text2.C (insertParagraph): make it take ParagraphList::iterator
2805 (setLayout): make it return ParagraphList::iterator
2806 (redoParagraphs): ditto
2808 (checkParagraph): ditto
2810 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2812 * text2.C: adjust several funcs.
2813 (realizeFont): take a ParagraphList::iterator as arg.
2814 (getLayoutFont): ditto
2815 (getLabelFont): ditto
2816 (setCharFont): ditto
2818 * text.C: adjust several funcs.
2820 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2822 * text.C (selectNextWordToSpellcheck): don't accidentally
2825 2003-04-10 John Levon <levon@movementarian.org>
2827 * ToolbarBackend.C (getIcon): special handling for
2830 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2832 * text2.C (cursorRight): a getChar assert fixed
2834 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2836 * text2.C (getFont): change to take a ParagraphList::iterator
2837 instead of Paragraph*
2838 Adjust several functions.
2840 * text.C (transformChar): change to take a ParagraphList::iterator
2841 instead of Paragraph*
2842 (singleWidth): ditto
2843 Adjust several functions.
2845 * rowpainter.C: adjust several functions
2846 * rowpainter.h:store a ParagraphList::iterator and not a
2850 2003-04-09 John Levon <levon@movementarian.org>
2855 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2856 and the "help" bits as well
2858 2003-04-09 John Levon <levon@movementarian.org>
2861 * ToolbarBackend.C: allow multiple toolbars
2863 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2865 * undo_funcs.C (setCursorParUndo): adjust
2867 * text_funcs.C (transposeChars): adjust
2869 * text3.C (gotoNextInset): adjust
2872 * text2.C (setLayout): adjust
2873 (changeDepth): adjust
2875 (redoParagraphs): adjust
2876 (selectionAsString): adjust
2877 (setParagraph): adjust
2878 (insertInset): adjust
2879 (cutSelection): adjust
2880 (copySelection): adjust
2881 (pasteSelection): adjust
2882 (insertStringAsLines): adjust
2883 (updateInset): adjust
2884 (setCursor): change to take a ParagraphList::iterator parameter
2885 (setCursorIntern): change to take a ParagraphList::iterator parameter
2886 (setCurrentFont): adjust
2887 (cursorLeft): adjust
2888 (cursorRight): adjust
2889 (deleteEmptyParagraphMechanism): adjust
2891 * text.C (breakParagraph): adjust
2892 (insertChar): adjust
2893 (acceptChange): adjust
2894 (rejectChange): adjust
2895 (selectNextWordToSpellcheck): adjust
2896 (changeCase): adjust
2900 * lyxfind.C (SearchForward): adjust
2901 (SearchBackward): adjust
2902 (nextChange): adjust
2904 * lyxcursor.C (par): adjust
2906 * lyxcursor.h: store a ParagraphList::iterator instead of a
2909 * lyx_cb.C (getPossibleLabel): adjust
2911 * bufferview_funcs.C (toggleAndShow): adjust
2913 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2916 * BufferView.C (removeAutoInsets): adjust
2917 (lockedInsetStoreUndo): adjust
2919 2003-04-09 John Levon <levon@movementarian.org>
2921 * ToolbarBackend.C: try icon without argument
2922 if with argument fails
2924 2003-04-08 John Levon <levon@movementarian.org>
2927 * ToolbarBackend.C: add getIcon(), handle tooltip,
2928 and change from "Icon" to "Item".
2930 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2932 * BufferView.C (lockInset): another bad getchar crunched
2934 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2936 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2939 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2941 * lyxfind.C (searchForward, searchBackwards): bug 782
2943 2003-04-07 John Levon <levon@movementarian.org>
2945 * paragraph.C: remove dead comment
2947 * text.C: remove troublesome depth-fiddling code
2948 in leftMargin() and rightMargin() (bug 1017)
2950 * text.C: fix breaking of rows in nested lists
2953 * text2.C (updateCounters): fix up depth values
2956 2003-04-07 John Levon <levon@movementarian.org>
2958 * BufferView_pimpl.C: clear message when doc finishes resizing,
2959 and after a mouse event
2961 * lyxfunc.C: clear message after exiting inset
2963 2003-04-07 John Levon <levon@movementarian.org>
2965 * bufferview_funcs.C: show math status not outside
2966 status in the statusbar
2968 2003-04-07 John Levon <levon@movementarian.org>
2970 * lyxfunc.C: note status changed after a depth change
2972 2003-04-04 Angus Leeming <leeming@lyx.org>
2974 * LaTeX.h: move AuxInfo operator==, != out of line.
2975 Remove LaTeX virtual destructor; nothing derives from it.
2976 Move operator()() out of public area and rename it startscript().
2977 Change protected for private.
2979 2003-04-04 Angus Leeming <leeming@lyx.org>
2982 * text2.C: remove unneeded #includes.
2984 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2986 * text2.C (dEPM): fix the heigth of the next row
2988 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2990 * text.C: squashed an invalid getChar requester + some ws changes
2992 2003-04-03 John Levon <levon@movementarian.org>
2994 * bufferview_funcs.h:
2995 * bufferview_funcs.C:
2998 * text2.C: make getStatus work for the env depth lfuns
3000 2003-04-03 John Levon <levon@movementarian.org>
3002 * bufferview_funcs.h:
3003 * bufferview_funcs.C:
3006 * text2.C: parlistize decDepth(), by merging it with incDepth()
3008 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3010 * lyxrow.h: store a ParagraphList::iterator instead of a
3011 Paragraph* and adjust other class functions to suit.
3013 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3016 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3018 * text2.C (setCursor): do not anchor to cursor row for the time being
3020 2003-04-02 John Levon <levon@movementarian.org>
3027 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3029 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3031 * paragraph.h: make ParagraphList and ParagraphList::iterator
3032 friends of Paragraph.
3034 * buffer.C (makeLinuxDocFile): move towards ParagraphList
3036 * ParagraphList.C: Use the private next_ and previous_ from
3039 2003-04-01 John Levon <levon@movementarian.org>
3043 * Makefile.am: rename, remove defaults gunk
3046 * MenuBackend.C: remove defaults gunk
3049 * Languages.C: remove defaults gunk
3052 * lyx_main.C: error out if files couldn't be found.
3054 2003-04-02 John Levon <levon@movementarian.org>
3056 * text2.C: make incDepth() use parlist
3058 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3060 * undo_funcs.C (firstUndoParagraph): adjust
3062 * text3.C (gotoInset): adjust
3063 (dispatch): adjust, and rewrite loop.
3065 * text2.C (init): adjust, and rewrite loop.
3066 (redoParagraphs): adjust
3067 (updateInset): adjust, and rewrite loop.
3068 (deleteEmptyParagraphMechanism): adjust
3070 * tabular.C (LyXTabular): adjust
3071 (SetMultiColumn): adjust
3074 * lyxtext.[Ch] (ownerParagraph): delete function
3075 (ownerParagraphs): new function returns a ParagraphList.
3077 * BufferView.C (removeAutoInsets): adjust
3078 (insertErrors): adjust
3079 (setCursorFromRow): adjust
3081 2003-04-01 Angus Leeming <leeming@lyx.org>
3083 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3086 2003-04-02 John Levon <levon@movementarian.org>
3092 * text_funcs.C: make transposeChars a free function
3094 * lyxrow_funcs.C: remove wrong comment
3096 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3099 * rowpainter.C: adjust
3104 * lyxrow_funcs. [Ch]: new files
3106 * lyxrow.[Ch]: remove next and previous pointers
3107 (next,previous): remove accessor functions
3108 (isParEnd): move to lyxrow_funcs
3109 (lastPos): move to lyxrow_funcs
3110 (nextRowIsAllInset): move to lyxrow_funcs
3111 (lastPrintablePos): move to lyxrow_funcs
3112 (numberOfSeparators): move to lyxrow_funcs
3113 (numberOfHfills): move to lyxrow_funcs
3114 (numberOfLabelHfills): move to lyxrow_funcs
3115 (hfillExpansion): move to lyxrow_funcs
3119 * bufferview_funcs.C (toggleAndShow): adjust
3121 * RowList.h: Remove class RowList from file leave just a
3124 * RowList.C: delete file
3126 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3129 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3131 * text3.C (cursorPrevious): adjust
3132 (cursorNext): adjust
3135 * text2.C (redoHeightOfParagraph): adjust
3136 (redoDrawingOfParagraph): adjust
3139 * text.C (breakParagraph): adjust
3140 (insertChar): adjust
3143 * rowpainter.C (RowPainter): adjust
3144 (leftMargin): simplify and adjust
3145 (most rowpainter functions): adjust.
3147 * rowpainter.h: store the row as RowList::iterator not as Row*
3149 * lyxcursor.C (row): taka RowList::iterator as arg
3152 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3155 2003-04-01 Angus Leeming <leeming@lyx.org>
3157 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3158 stuff like bool Bool.
3160 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
3162 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3165 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3167 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3170 * lyxtext.h (rows): drop one version and leve a const variant that
3171 returns a RowList::iterator.
3173 2003-03-31 Angus Leeming <leeming@lyx.org>
3175 * text.C (fill): ensure that the signature is the same as that in the
3178 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3180 * text2.C (redoParagraphs): adjust
3181 (updateCounters): adjust
3182 (checkParagraph): adjust
3183 (getColumnNearX): adjust and reformat a bit.
3185 * text.C (top_y): adjust
3187 (leftMargin): adjust
3188 (prepareToPrint): adjust
3190 (getRowNearY): adjust
3192 * lyxtext.h: make rowlist_ mutable.
3194 * RowList.h: add const_iterator
3195 * RowList.C: adjust for RowList::const_iterator.
3197 * text2.C (getCursorX): make it take a RowList::iterator as arg,
3200 2003-03-31 John Levon <levon@movementarian.org>
3203 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3205 * lyx_main.C: set default fonts from using lyx_gui funcs
3207 * exporter.C: pdf_mode moved from lyxrc
3210 * lyxfunc.C: changes from above
3212 2003-03-31 John Levon <levon@movementarian.org>
3214 * lyx_main.C: fix to the last fix
3216 2003-03-31 John Levon <levon@movementarian.org>
3218 * bufferlist.C: "Load original" -> "Load Original"
3224 * format.C: more Alert cleanups
3226 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3228 * text2.C (removeParagraph): make it take a RowList::iterator as
3230 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3231 (postRowPaint): make it take a RowList::iterator as arg, adjust.
3233 * text.C (anchor_row): make it take a RowList::iterator as arg,
3235 (computeBidiTables): make it take a const reference to Row instead
3236 of Row pointer, adjust.
3237 (leftMargin): make it take a RowList::iterator as arg, adjust.
3238 (rowBreakPoint): adjust
3239 (breakAgainOneRow): make it take a RowList::iterator as arg,
3241 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3243 * bufferview_funcs.C (toggleAndShow): adjust
3245 2003-03-30 John Levon <levon@movementarian.org>
3249 * boost-inst.C: moved to support
3251 * several files: changes as a result
3253 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
3255 * text2.C (LyXText): adjust.
3257 (removeRow): make it take a RowList::iterator as arg, adjust.
3258 (fullRebreak): adjust
3259 (deleteEmptyParagraphMechanism): adjust
3260 (clearPaint): adjust
3263 * text.C (top_y): adjust
3264 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3265 (breakAgain): make it take a RowList::iterator as arg, adjust.
3266 (breakParagraph): adjust
3267 (insertChar): adjust
3270 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3271 need_break_row, and refresh_row.
3273 * text3.C (dispatch): adjust
3275 * text2.C (checkParagraph): adjust
3277 (setCursorFromCoordinates): adjust
3279 * text.C (top_y): adjust
3281 (getRow): make it return a RowList::iterator, adjust
3282 (getRowNearY): make it return a RowList::iterator, adjust
3284 * text2.C (init): adjust
3285 (insertRow): remove function
3286 (insertParagraph): adjust
3287 (redoParagraphs): adjust
3288 (fullRebreak): adjust
3289 (updateCounters): adjust
3291 * text.C (top_y): rewrite to use RowList iterators.
3293 (setHeightOfRow): rewrite to sue RowList iterators.
3294 (appendParagraph): adjust
3295 (breakAgain): adjust
3296 (breakAgainOneRow): adjust
3297 (breakParagraph): adjust
3299 (getRowNearY): adjust, and remove commented code.
3301 * lyxtext.h (firstRow): delete function
3302 (lastRow): delete function
3303 (rows): new function (const and non-const versions.)
3304 (insertRow): delete function
3306 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3308 2003-03-29 John Levon <levon@movementarian.org>
3310 * BufferView_pimpl.C: always update scrollbar top
3311 because pasting text when we're anchored could mean we
3312 miss an update altogether
3314 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3316 * text2.C (init): use rowlist_.end() and not 0.
3317 (insertRow): change to take a RowList::iterator as arg, adjust
3319 (insertParagraph): change to take a RowList::iterator as arg,
3321 (redoParagraphs): remove some debug msgs.
3323 * text.C (appendParagraph): change to take a RowList::iterator
3324 arg, adjust for this.
3325 (breakAgain): add an assert
3326 (breakAgainOneRow): ditto
3328 2003-03-29 John Levon <levon@movementarian.org>
3330 * text2.C: do not clear selection after inc/decDepth
3333 2003-03-29 John Levon <levon@movementarian.org>
3336 * buffer.C: fix broken strerrors according to Lars
3338 2003-03-29 John Levon <levon@movementarian.org>
3340 * converters.C: more Alert cleanups
3342 2003-03-29 John Levon <levon@movementarian.org>
3344 * bufferview_funcs.C: remove pointless Alert
3346 * buffer.C: fix confusing error message when
3347 a template is chmoded 000
3349 2003-03-29 John Levon <levon@movementarian.org>
3353 * BufferView_pimpl.C: Alert fixes
3357 * tabular-old.C: remove unused table compat reading
3359 2003-03-29 John Levon <levon@movementarian.org>
3364 * lyx_cb.C: more Alert cleanups
3366 * lyxfunc.C: don't allow chktex if not latex document
3368 2003-03-29 John Levon <levon@movementarian.org>
3372 * buffer.C: warnings pushed down from support/,
3375 2003-03-29 John Levon <levon@movementarian.org>
3377 * lyxfunc.C: safety check for C-r (revert)
3379 2003-03-29 John Levon <levon@movementarian.org>
3382 * bufferlist.C: several UI fixes using Alert::prompt.
3383 Fix the pointless looping quit code. Fix stupid revert
3388 * lyx_cb.C: use Alert::prompt
3390 * lyx_main.C: remove a silly question
3392 * lyxfunc.C: remove a couple of silly questions,
3395 2003-03-28 John Levon <levon@movementarian.org>
3397 * text2.C: fix bug 974 (End on empty par)
3399 2003-03-28 John Levon <levon@movementarian.org>
3401 * BufferView_pimpl.C:
3403 * lfuns.h: remove do-nothing math greek lfuns
3405 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3407 * lyxgluelength.h (isValidGlueLength): add default arg on
3408 parameter 2. Remove default arg from friend in class.
3410 * lyxlength.h (isValidLength): add default arg on parameter 2.
3411 Remove default arg from friend in class.
3413 * text2.C (LyXText): adjust, initialize refresh_row.
3417 (insertParagraph): adjst
3418 (redoParagraphs): adjust
3419 (fullRebreak): adjust
3420 (updateCounters): adjust
3421 (deleteEmptyParagraphMechanism): first attempt at fixing a
3424 * text.C (top_y): adjust
3425 (setHeightOfRow): adjust
3427 (getRowNearY): adjust
3429 * lyxtext.h: include RowList.h
3430 (~LyXText): not needed anymore, deleted.
3431 (firstRow): modify for RowList
3432 (lastRow): new function
3433 Delete firstrow and lastrow class variables, add a Rowlist
3434 rowlist_ class variable.
3436 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3439 * RowList.C (insert): fix case where it == begin().
3441 2003-03-26 Angus Leeming <leeming@lyx.org>
3443 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3444 the thesaurus dialog.
3446 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3448 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3450 * RowList.[Ch]: new files
3452 * ParagraphList.C (erase): handle the case where it == begin
3455 2003-03-25 John Levon <levon@movementarian.org>
3459 * aspell.C: add new aspell support
3462 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3465 2003-03-25 Angus Leeming <leeming@lyx.org>
3468 * LyXAction.C (init): new LFUN_INSET_INSERT.
3470 * BufferView_pimpl.C (dispatch): split out part of the
3471 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3473 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3476 2003-03-25 Angus Leeming <leeming@lyx.org>
3478 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3480 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3483 * text3.C: remove useless row->height(0)
3485 2003-03-25 John Levon <levon@movementarian.org>
3489 * text3.C: rename the refreshing stuff to better names
3491 2003-03-24 John Levon <levon@movementarian.org>
3493 * BufferView_pimpl.h:
3494 * BufferView_pimpl.C: update layout choice on a mouse
3497 2003-03-23 John Levon <levon@movementarian.org>
3499 * Makefile.am: fix commandtags.h reference
3501 2003-03-22 John Levon <levon@movementarian.org>
3503 * BufferView_pimpl.C:
3508 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3510 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3513 * text.C: take the rtl methods out of line
3515 2003-03-21 André Pönitz <poenitz@gmx.net>
3517 * metricsinfo.[Ch]: new files containing structures to be passed around
3518 during the two-phase-drawing...
3520 2003-03-21 André Pönitz <poenitz@gmx.net>
3522 * lyxtextclass.C: read 'environment' tag.
3524 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3526 * text2.C (removeRow): fix bug 964
3528 2003-03-20 John Levon <levon@movementarian.org>
3532 * text2.C: paint cleanups. Inset::update() dropped font
3535 2003-03-19 John Levon <levon@movementarian.org>
3537 * lyxfunc.C: only fitcursor/markDirty if available()
3539 2003-03-19 John Levon <levon@movementarian.org>
3541 * commandtags.h: rename to ...
3543 * lfuns.h: ... this, and renumber / cleanup
3545 2003-03-19 John Levon <levon@movementarian.org>
3547 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3548 fit the cursor after an lfun
3552 * BufferView_pimpl.h:
3553 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3555 * LyXAction.C: layout-character should have ReadOnly
3557 * ParagraphParameters.C:
3559 * bufferview_funcs.C:
3566 * undo_funcs.C: changes from above
3568 2003-03-18 John Levon <levon@movementarian.org>
3570 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3571 remove it from update()
3573 * lyxfunc.C: update layout choice after an lfun
3575 * text3.C: remove extra updateLayoutChoice()s
3577 2003-03-18 John Levon <levon@movementarian.org>
3579 * text.C: top_y change means full repaint, fix
3580 a drawing bug with cursor movement
3582 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3586 * text2.C: anchor row on setCursor
3588 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3590 * lyxtext.h: remove almost all mutable keywords
3593 * text3.C: remove const keywords accordingly
3595 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3597 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3599 (TeXEnvironment): ditto
3602 2003-03-17 John Levon <levon@movementarian.org>
3604 * text.C (rowBreakPoint): remove attempt to fix displayed
3605 math insets inside a manual label
3607 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3609 * lyxtext.h: remove BufferView* as first arg from almost all class
3611 * other files: adjust.
3613 2003-03-17 John Levon <levon@movementarian.org>
3617 * text2.C: more paint cleanups
3619 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3622 * rowpainter.C: remove "smart" background painting code
3624 2003-03-16 John Levon <levon@movementarian.org>
3629 * text3.C: add helper functions for setting refresh_row/y
3631 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3633 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3634 newline inset which *can* get inserted in the pass_thru layouts.
3635 This is primarily for literate documents.
3637 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3639 * buffer.C: increment LYX_FORMAT to 223
3641 2003-03-14 André Pönitz <poenitz@gmx.net>
3643 * textclass.h: prepare for environment handling, ws changes
3644 * lyxlayout.C: read latexheader and latexfooter tags
3646 2003-03-14 John Levon <levon@movementarian.org>
3648 * text2.C: rewrite ::status() a bit
3650 2003-03-13 John Levon <levon@movementarian.org>
3652 * lyxtext.h: add some docs
3654 2003-03-13 John Levon <levon@movementarian.org>
3659 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3661 2003-03-13 John Levon <levon@movementarian.org>
3663 * text3.C: fix appendix redrawing
3665 2003-03-13 John Levon <levon@movementarian.org>
3667 * text.C (setHeightOfRow):
3669 * rowpainter.C: make appendix mark have the text
3670 "Appendix" so the user knows what it is
3673 * LColor.C: s/appendixline/appendix/ from above
3675 2003-03-13 John Levon <levon@movementarian.org>
3677 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3679 * text.C: fix a getChar(pos) bug properly
3681 2003-03-13 Angus Leeming <leeming@lyx.org>
3684 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3685 Probably only temporary. Let's see how things pan out.
3687 * BufferView.C (unlockInset):
3688 * BufferView_pimpl.C (fitCursor):
3689 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3691 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3692 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3694 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3695 new functions that convert ParagraphParameters to and from a string.
3697 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3698 BufferView::Pimpl's dispatch.
3699 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3701 2003-03-13 André Pönitz <poenitz@gmx.net>
3705 * factory.C: make it aware of InsetEnv
3707 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3709 * text2.C (setCursor): never ask for one past last
3710 (setCursor): add some debugging messages.
3712 * text.C (singleWidth): never ask for one past last
3713 (singleWidth): ditto
3715 (rightMargin): ditto
3716 (rowBreakPoint): ditto
3717 (setHeightOfRow): ditto
3718 (prepareToPrint): ditto
3720 * rowpainter.C (paintBackground): never ask for one past last
3721 (paintText): never ask for one past last
3723 * paragraph_pimpl.C (getChar): make the assert stricter, never
3724 allow the one past last pos to be taken
3726 * paragraph.C (getChar): ws changes only
3728 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3729 (numberOfSeparators): ditto
3730 (numberOfHfills): ditto
3732 2003-03-12 John Levon <levon@movementarian.org>
3738 * paragraph_funcs.C: fix per-buffer authorlists
3740 2003-03-12 John Levon <levon@movementarian.org>
3742 * text.C: fix newline in right address
3744 2003-03-12 Angus Leeming <leeming@lyx.org>
3746 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3747 duplicate those in LyXFunc::dispatch.
3751 * ToolbarDefaults.C:
3752 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3753 Add LFUN_FONTFREE_UPDATE.
3755 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3756 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3758 * bufferview_func.[Ch]: several new functions to facilliate
3759 transfer of data to and from the character dialog.
3761 2003-03-12 John Levon <levon@movementarian.org>
3766 * paragraph_funcs.C:
3767 * paragraph_pimpl.C:
3771 * text3.C: remove META_NEWLINE in favour of an inset
3774 * rowpainter.C: remove paintNewline (done by inset)
3776 2003-03-12 John Levon <levon@movementarian.org>
3778 * paragraph_pimpl.C: complain about bad getChar()s
3779 for a while at least
3781 2003-03-12 John Levon <levon@movementarian.org>
3784 * buffer.C: move paragraph read into a separate function,
3785 a little renaming to reflect that.
3788 * bufferparams.C: remove the author_ids map, not necessary now
3791 * factory.C: moved Buffer::readInset to here
3793 * paragraph_funcs.h:
3794 * paragraph_funcs.C: readParagraph free function moved from
3797 * tabular.C: name change
3799 2003-03-12 John Levon <levon@movementarian.org>
3802 * ParagraphParameters.C: move par params input to
3805 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3806 behave like a normal read from the stream wrt reading
3807 a line vs. a \\token
3809 2003-03-12 John Levon <levon@movementarian.org>
3812 * ParagraphParameters.h:
3813 * ParagraphParameters.C: move output code to a
3816 2003-03-12 John Levon <levon@movementarian.org>
3818 * BufferView.C (insertLyXFile):
3821 * tabular.C: use a parlist iterator for creating the
3824 2003-03-12 John Levon <levon@movementarian.org>
3826 * buffer.C: make current_change static local not
3829 2003-03-12 John Levon <levon@movementarian.org>
3831 * buffer.C: fix insertStringAsLines for change tracking
3833 2003-03-12 John Levon <levon@movementarian.org>
3840 * bufferparams.C: move author list into params. Rename some
3841 functions. Move the header reading into a separate token
3842 loop. Move the header token reading into BufferParams.
3844 2003-03-12 John Levon <levon@movementarian.org>
3846 * changes.C: put debug inside lyxerr.debugging() checks
3848 2003-03-11 André Pönitz <poenitz@gmx.net>
3850 * factory.C: make it aware of InsetHFill
3852 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3854 * buffer.C (latexParagraphs): move function from here...
3855 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3858 2003-03-10 Angus Leeming <leeming@lyx.org>
3860 * LyXAction.C (init): fix bug in poplating array with multiple entries
3861 with the same LFUN (spotted by JMarc).
3863 2003-03-10 John Levon <levon@movementarian.org>
3866 * text2.C: move getColumnNearX() near its
3869 2003-03-10 John Levon <levon@movementarian.org>
3871 * text.C: fix break before a minipage
3873 2003-03-10 John Levon <levon@movementarian.org>
3875 * text.C: fix the last commit
3877 2003-03-09 John Levon <levon@movementarian.org>
3881 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3882 bug 365 (don't break before insets unless needed). Don't
3883 return a value > last under any circumstances.
3885 2003-03-09 Angus Leeming <leeming@lyx.org>
3887 * BufferView_pimpl.C (trackChanges, dispatch): call
3888 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3890 2003-03-09 Angus Leeming <leeming@lyx.org>
3892 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3893 than Dialogs::showAboutlyx().
3895 2003-03-09 Angus Leeming <leeming@lyx.org>
3897 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3898 than Dialogs::showTabularCreate().
3900 2003-03-09 John Levon <levon@movementarian.org>
3904 * text2.C: 3rd arg to nextBreakPoint was always the same.
3907 2003-03-08 John Levon <levon@movementarian.org>
3914 * text2.C: Remove the "main" bit from the "main body"
3917 2003-03-08 John Levon <levon@movementarian.org>
3919 * text.C (leftMargin): The left margin of an empty
3920 manual label paragraph should not include the label width
3923 * text.C (prepareToPrint): don't attempt to measure hfills
3924 for empty manual label paragraphs - the answer should be 0
3926 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3928 * CutAndPaste.C: remove commented code and reindent.
3930 2003-03-08 John Levon <levon@movementarian.org>
3933 * lyxfunc.C: move reloadBuffer()
3936 * BufferView.C: to here
3938 * lyxvc.C: add comment
3941 * vc-backend.C: call bv->reload() to avoid
3942 getStatus() check on MENURELOAD
3944 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3946 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3947 to an old format .dep file.
3949 2003-03-07 Angus Leeming <leeming@lyx.org>
3951 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3952 when the LFUN_MOUSE_RELEASE should have been handled by
3953 inset->localDispatch.
3955 2003-03-07 Angus Leeming <leeming@lyx.org>
3957 * BufferView_pimpl.C (dispatch):
3958 * LyXAction.C (init):
3959 * ToolbarDefaults.C (init):
3961 * lyxfunc.C (getStatus):
3962 remove LFUN_INSET_GRAPHICS.
3964 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3966 2003-03-07 Angus Leeming <leeming@lyx.org>
3969 * LyXAction.C (init):
3970 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3972 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3975 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3977 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3978 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3980 2003-03-07 Angus Leeming <leeming@lyx.org>
3982 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3985 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3987 * ParagraphList.C (front): new function
3990 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3992 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3993 and top_row_offset_. removed var first_y.
3995 * text2.C (LyXText, removeRow):
3997 * BufferView_pimpl.C:
3998 use these methods instead of using first_y
4000 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4002 * text2.C (pasteSelection): adjust for checkPastePossible
4004 * CutAndPaste.C: remove Paragraph * buf and replace with
4005 ParagraphList paragraphs.
4006 (DeleteBuffer): delete
4007 (cutSelection): change the tc type to textclass_type
4008 (copySelection): change the tc type to textclass_type
4009 (copySelection): adjust for ParagraphList
4010 (pasteSelection): change the tc type to textclass_type
4011 (pasteSelection): adjust for Paragraphlist
4012 (nrOfParagraphs): simplify for ParagraphList
4013 (checkPastePossible): simplify for ParagraphList
4014 (checkPastePossible): remove unused arg
4016 * ParagraphList.C (insert): handle the case where there are no
4019 * CutAndPaste.h: make CutAndPaste a namespace.
4021 * text3.C (dispatch): adjust
4023 * text.C (breakParagraph): add a ParagraphList as arg
4025 * paragraph_funcs.C (breakParagraph): change to take a
4026 BufferParams and a ParagraphList as args.
4027 (breakParagraphConservative): ditto
4028 (mergeParagraph): ditto
4029 (TeXDeeper): add a ParagraphList arg
4030 (TeXEnvironment): ditto
4033 * buffer.C (readLyXformat2): adjust
4034 (insertStringAsLines): adjust
4035 (latexParagraphs): adjust
4037 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4038 (cutSelection): adjust
4039 (pasteSelection): adjust
4041 * BufferView_pimpl.C (insertInset): adjust
4043 2003-03-05 Angus Leeming <leeming@lyx.org>
4046 * LyXAction.C (init):
4047 * BufferView_pimpl.C (dispatch):
4048 * lyxfunc.C (getStatus):
4049 remove LFUN_CHILD_INSERT.
4051 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4053 2003-03-05 Angus Leeming <leeming@lyx.org>
4056 * LyXAction.C (init):
4057 * src/factory.C (createInset):
4058 * lyxfunc.C (getStatus):
4059 * text3.C (dispatch):
4060 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4062 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4064 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4066 * ParagraphList.C (insert): handle insert right before end()
4067 (erase): fix cases where it can be first or last paragraph.
4069 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4071 * paragraph_funcs.C (TeXEnvironment): remove all usage of
4072 Paragraph::next and Paragraph::previous
4075 * text.C (breakParagraph): adjust
4077 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4078 BufferParams& as arg.
4079 (breakParagraph): use ParagraphList::insert
4080 (breakParagraphConservative): take a Buffer* instead of a
4081 BufferParams& as arg.
4082 (breakParagraphConservative): use ParagraphList::insert.
4084 * buffer.C (insertStringAsLines): un-const it
4085 (insertStringAsLines): adjust
4087 * ParagraphList.C (insert): new function
4089 * CutAndPaste.C (pasteSelection): adjust
4091 * text.C (backspace): adjust
4093 * tabular.C (SetMultiColumn): adjust
4095 * CutAndPaste.C (cutSelection): adjust
4096 (pasteSelection): adjust
4098 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4099 Buffer const * as arg
4101 * ParagraphList.C (erase): new function
4102 * paragraph_funcs.C (mergeParagraph): use it
4103 (mergeParagraph): make it take a Buffer* instead of a
4104 BufferParams* as arg
4106 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4108 (breakParagraphConservative): ditto
4110 * paragraph.h: remove the breakParagraph friend
4112 * paragraph.C (eraseIntern): new function
4113 (setChange): new function
4115 * paragraph_funcs.C (mergeParagraph): make it take a
4116 ParagraphList::iterator instead of a Paragraph *, adjust
4119 * paragraph.h: move an #endif so that the change tracking stuff
4120 also works in the NO_NEXT case.
4122 2003-03-04 Angus Leeming <leeming@lyx.org>
4125 * LyXAction.C: new LFUN_INSET_MODIFY.
4127 * BufferView_pimpl.C (dispatch): if an inset is found to be open
4128 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4130 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4132 * several files: ws changes only
4134 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4135 (TeXEnvironment): ditto
4138 * buffer.C (makeLaTeXFile): adjust
4139 (latexParagraphs): make it take ParagraphList::iterator as args
4141 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4143 * buffer.C (latexParagraphs): adjust
4145 * paragraph.C (TeXOnePar): move function...
4146 (optArgInset): move function...
4147 (TeXEnvironment): move function...
4148 * paragraph_pimpl.C (TeXDeeper): move function...
4149 * paragraph_funcs.C: ...here
4151 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4153 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4155 * buffer.C (readInset): remove compability code for old Figure and
4158 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4160 * buffer.C: ws changes
4163 * BufferView_pimpl.C: ditto
4166 * bufferlist.h: ditto
4170 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
4172 * converter.[Ch]: split into itself +
4175 * Makefile.am: += graph.[Ch] + format.[Ch]
4182 * lyxrc.C: added #include "format.h"
4184 2003-02-27 Angus Leeming <leeming@lyx.org>
4186 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4189 * factory.C (createInset): add "label" to the factory.
4191 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4192 string and do no more.
4194 2003-02-27 Angus Leeming <leeming@lyx.org>
4197 * LyXAction.C (init):
4198 * factory.C (createInset):
4199 * BufferView_pimpl.C (dispatch):
4200 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4202 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4204 * lyxfunc.C (dispatch):
4205 * text3.C (dispatch): pass name to params2string.
4207 2003-02-26 Angus Leeming <leeming@lyx.org>
4209 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4211 Rearrange the ~includes. Strip out the unnecessary ones.
4213 * factory.C (createInset): reformat.
4214 create new insets for the various LFUN_XYZ_APPLY lfuns.
4216 2003-02-26 John Levon <levon@movementarian.org>
4219 * lyxrow.C: add isParStart,isParEnd helpers
4221 * paragraph.h: make isInserted/DeletedText take refs
4223 * paragraph_funcs.h:
4224 * paragraph_funcs.C: remove #if 0'd code
4229 * text.C: use lyxrow helpers above.
4230 Move draw and paint routines to RowPainter.
4231 Make several methods use refs not pointers.
4232 Make backgroundColor() const.
4233 Add markChangeInDraw(), isInInset().
4234 Merge changeRegionCase into changeCase.
4235 Make workWidth() shouldn't-happen code into an Assert.
4238 * rowpainter.C: new class for painting a row.
4241 * vspace.C: make inPixels take a ref
4243 2003-02-26 Angus Leeming <leeming@lyx.org>
4245 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4248 2003-02-25 John Levon <levon@movementarian.org>
4250 * ispell.C: give the forked command a more accurate name
4252 2003-02-22 John Levon <levon@movementarian.org>
4255 * toc.C: make TocItem store an id not a Paragraph *
4258 2003-02-21 Angus Leeming <leeming@lyx.org>
4260 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4261 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4262 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4263 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4264 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4265 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4267 * BufferView_pimpl.C (dispatch):
4268 * LyXAction.C (init):
4269 * factory.C (createInset):
4270 * lyxfunc.C (getStatus, dispatch):
4271 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4273 2003-02-21 Angus Leeming <leeming@lyx.org>
4275 * BufferView_pimpl.C (MenuInsertLyXFile):
4276 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4277 * lyxfunc.C (menuNew, open, doImport):
4278 no longer pass a LyXView & to fileDlg.
4280 2003-02-21 Angus Leeming <leeming@lyx.org>
4282 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4283 * LyXAction.C: change, BIBKEY to BIBITEM.
4284 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4285 Change InsetBibKey to InsetBibitem.
4286 Change BIBKEY_CODE to BIBITEM_CODE.
4287 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4288 * factory.C: replace insetbib.h with insetbibitem.h.
4289 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4290 * paragraph.C: replace insetbib.h with insetbibitem.h.
4291 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4292 Change bibkey() to bibitem().
4293 * text.C: remove insetbib.h.
4294 * text2.C: replace insetbib.h with insetbibitem.h.
4295 change bibkey() to bibitem().
4296 * text3.C: remove insetbib.h.
4297 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4299 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4301 * lyxrc.C (output): enclose user email in quotes (in case there are
4304 2003-02-18 John Levon <levon@movementarian.org>
4306 * buffer.h: add std::
4308 2003-02-17 John Levon <levon@movementarian.org>
4314 * pspell.C: reworking. Especially in ispell, a large
4315 number of clean ups and bug fixes.
4317 * lyxfunc.C: fix revert to behave sensibly
4319 2003-02-17 André Pönitz <poenitz@gmx.net>
4322 * commandtags.h: new LFUN_INSERT_BIBKEY
4332 * paragraph_func.C: remove special bibkey handling
4334 2003-02-17 John Levon <levon@movementarian.org>
4336 * text.C (Delete): fix case where delete at the end of
4337 the very first paragraph would not merge the pars
4339 2003-02-17 John Levon <levon@movementarian.org>
4341 * lyxrow.C: fix lastPrintablePos()
4343 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4345 * bufferparams.C (writeLaTeX): add a std:here
4347 * buffer.C: and remove a using directive there
4349 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4351 * buffer.C (makeLaTeXFile): move the code that generates the
4354 * bufferparams.C (writeLaTeX): ... in this new method
4356 * LaTeXFeatures.C (getEncodingSet): make const
4357 (getLanguages): make const
4359 * MenuBackend.C (binding): returns the binding associated to this
4361 (add): sets the status of each item by calling getStatus. Adds
4363 (read): add support for OptSubMenu
4364 (expand): remove extra separator at the end of expanded menu
4366 2003-02-15 John Levon <levon@movementarian.org>
4369 * BufferView_pimpl.C:
4371 * bufferlist.C: remove pointless BufferStorage bloat. Remove
4372 inset code that had no actual effect. Remove unneeded status
4375 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4377 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4380 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
4382 * text.C (drawLengthMarker): also draw an arrow marker for
4383 symbolic lengths (medskip...)
4385 2003-02-14 John Levon <levon@movementarian.org>
4388 * tabular.C: better method names
4390 2003-02-14 John Levon <levon@movementarian.org>
4392 * BufferView_pimpl.C:
4397 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4398 it's a more accurate name. Remove some pointless uses.
4400 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4402 * text2.C (LyXText): change order of initilizers to shut off
4405 2003-02-14 John Levon <levon@movementarian.org>
4407 * buffer.C: use ParIterator for getParFromID()
4411 * paragraph_pimpl.h:
4412 * paragraph_pimpl.C: remove unused getParFromID()
4414 2003-02-14 John Levon <levon@movementarian.org>
4416 * buffer.C: remove some very old #if 0'd parse code
4418 2003-02-13 John Levon <levon@movementarian.org>
4422 * text2.C: move hfillExpansion(), numberOfSeparators(),
4423 rowLast(), rowLastPrintable(), numberofHfills(),
4424 numberOfLabelHfills() ...
4427 * lyxrow.C: ... to member functions here.
4432 * text.C: remove LyXText::beginningOfMainBody(), and call
4433 p->beginningOfMainBody() directly. Move the check for
4434 LABEL_MANUAL into the latter.
4441 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4447 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4448 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4450 2003-02-13 John Levon <levon@movementarian.org>
4452 * CutAndPaste.C: remove debug
4454 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4456 * paragraph.C (asString): remove two unused variables
4458 * lyxtextclass.C (readTitleType):
4460 (LyXTextClass): handle new members titletype_ and titlename_
4462 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4464 2003-02-09 John Levon <levon@movementarian.org>
4467 * buffer.C: replace hand-coded list with a map for the dep clean
4469 2003-02-08 John Levon <levon@movementarian.org>
4471 * LaTeX.C: consolidate code into showRunMessage() helper
4473 2003-02-08 John Levon <levon@movementarian.org>
4478 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4479 and pass the size in explicitly
4481 * BufferView_pimpl.h:
4482 * BufferView_pimpl.C:
4484 * BufferView.C: add getCurrentChange()
4486 * BufferView_pimpl.h:
4487 * BufferView_pimpl.C: handle change lfuns
4489 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4490 for changes. Mark pasted paragraphs as new.
4492 * support/lyxtime.h:
4493 * support/lyxtime.C:
4494 * DepTable.C: abstract time_t as lyx::time_type
4497 * LColor.C: add colours for new text, deleted text, changebars
4499 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4500 package use "usenames" option.
4504 * LyXAction.C: add change lfuns
4508 * author.C: author handling
4511 * buffer.C: add a per-buffer author list, with first entry as
4512 current author. Handle new .lyx tokens for change tracking. Output
4513 author list to .lyx file. Output dvipost stuff to .tex preamble.
4514 Bump lyx format to 222.
4517 * bufferlist.C: add setCurrentAuthor() to reset current author details
4521 * bufferparams.C: add param for tracking
4523 * bufferview_funcs.C: output change info in minibuffer
4527 * changes.C: add change-tracking structure
4530 * debug.C: add CHANGES debug flag
4533 * lyxfind.C: add code for finding the next change piece
4536 * lyxrc.C: add user_name and user_email
4539 * lyxrow.C: add a metric for the top of the text line
4542 * text.C: implement accept/rejectChange()
4545 * text.C: paint changebars. Paint new/deleted text in the chosen
4546 colours. Strike through deleted text.
4550 * paragraph_pimpl.h:
4551 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4552 in the current change to the insert functions. Rework erase to
4553 mark text as deleted, adding an eraseIntern() and a range-based
4554 erase(). Implement per-paragraph change lookup and
4557 * paragraph_funcs.C: Fixup paste for change tracking.
4559 * tabular.C: mark added row/columns as new.
4561 * text.C: fix rowLast() to never return -1. Don't allow
4562 spellchecking of deleted text. Track transpose changes. Don't
4563 allow paragraph break or merge where appropriate.
4565 * text2.C: leave cursor at end of selection after a cut.
4567 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4569 * text.C (getLengthMarkerHeight):
4570 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4571 visible on screen too.
4573 2003-02-07 John Levon <levon@movementarian.org>
4575 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4577 2003-02-05 Angus Leeming <leeming@lyx.org>
4579 * lyxserver.C (read_ready): revert my patch of 11 September last year
4580 as it sends PC cpu through the roof. Presumably this means that
4581 the lyxserver will no longer run on an Alpha...
4583 2003-01-30 Angus Leeming <leeming@lyx.org>
4585 * factory.C (createInset): create an InsetCommandParam of type "index"
4586 and use it to 'do the right thing'.
4588 * text2.C (getStringToIndex): ensure that cursor position is always
4589 reset to the reset_cursor position.
4591 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4593 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4596 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4600 * lyxfunc.C: Output messages with identical spelling, punctuation,
4603 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4605 * MenuBackend.C (expandFormats): List only viewable export formats
4608 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4611 * lyxfunc.C (getStatus): Make sure that formats other than
4612 "fax" can also be disabled
4614 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4616 * text3.C (dispatch): put the lfuns that insert insets in 3
4617 groups, and call doInsertInset with appropriate arguments.
4618 (doInsertInset): new function, that creates an inset and inserts
4619 it according to some boolean parameters.
4621 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4623 * buffer.C (readFile): remember to pass on 'par' when calling
4624 readFile recursively.
4626 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4628 * MenuBackend.C (expandFormats): add "..." to import formats.
4630 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4632 * paragraph.C (asString): Remove XForms RTL hacks.
4634 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4635 * buffer.C: fix typo
4637 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4639 * Makefile.am (LIBS): delete var
4640 (lyx_LDADD): add @LIBS@ here instead.
4642 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4644 * Clarify the meaning of "wheel mouse jump"
4646 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4648 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4651 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4653 * importer.C (Loaders): do not preallocate 3 elements in the
4654 vector, since one ends up with 6 elements otherwise
4656 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4658 * DepTable.C (write): write the file name as last element of the
4659 .dep file (because it may contain spaces)
4660 (read): read info in the right order
4662 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4664 * paragraph_pimpl.C (simpleTeXBlanks):
4665 (simpleTeXSpecialChars):
4666 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4668 * tabular.C (latex): add some missing case statements. Reindent.
4670 * MenuBackend.C (expandToc): remove unused variable.
4672 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4681 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4684 2003-01-05 John Levon <levon@movementarian.org>
4687 * BufferView.C: add getEncoding()
4690 * kbsequence.C: do not store last keypress
4693 * lyxfunc.C: store last keypress here instead. Pass encoding
4696 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4698 * lyx_main.C (init): remove annoying error message when following
4699 symbolic links (bug #780)
4701 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4703 * text.C (insertChar):
4704 * lyxrc.C (getDescription): remove extra spaces
4706 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4708 * lyxrc.C (getDescription): remove extra spaces
4710 2002-12-20 John Levon <levon@movementarian.org>
4712 * text3.C: hack fix for page up/down across tall rows
4714 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4716 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4719 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4721 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4722 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4723 thesaurus is not compiled in
4725 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4727 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4729 2002-12-16 Angus Leeming <leeming@lyx.org>
4732 * lyx_main.C (init): remove override_x_deadkeys stuff.
4734 2002-12-12 John Levon <levon@movementarian.org>
4736 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4737 insert. Only remove shift modifier under strict
4740 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4742 * MenuBackend.C (expandToc): fix crash.
4744 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4746 * MenuBackend.C (expandToc): gettext on float names.
4748 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4750 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4751 implement bool empty() [bug 490]
4753 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4755 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4757 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4759 * several files: ws changes
4761 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4763 * text2.C (setCounter): clean up a bit, use boost.format.
4764 (updateCounters): initialize par upon declaration.
4766 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4767 if the layout exists. We do not just store the layout any more.
4768 (SwitchLayoutsBetweenClasses): use boost.format
4770 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4772 * converter.C (convert): if from and to files are the same, use a
4773 temporary files as intermediary
4775 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4778 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4780 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4782 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4784 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4786 * tabular.C (asciiPrintCell): use string(size, char) instead of
4789 * sgml.C (openTag): fix order of arguments to string constructor
4792 * lyxfunc.C (dispatch): use boost.format
4794 * lots of files: change "c" -> 'c'
4796 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4798 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4800 2002-11-25 Angus Leeming <leeming@lyx.org>
4802 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4804 * lyx_main.C (init): compile fix.
4806 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4808 * lyx_cb.C (start): boost.formatify
4809 do not include <iostream>
4811 * lengthcommon.C: ws only
4813 * boost-inst.C,BoostFormat.h: add more explict instantations
4815 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4817 * lots of files: handle USE_BOOST_FORMAT
4819 2002-11-21 John Levon <levon@movementarian.org>
4821 * pspell.C: fix compile
4823 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4825 * lyxfunc.C (dispatch): use boost::format
4829 * lyxfont.C (stateText): use boost::format
4831 * lyx_main.C (LyX): use boost::format
4833 (queryUserLyXDir): ditto
4836 (typedef boost::function): use the recommened syntax.
4838 * importer.C (Import): use boost::format
4840 * debug.C (showLevel): use boost::format
4842 * converter.C (view): use boost::format
4847 * bufferview_funcs.C (currentState): use boost::format
4849 * bufferlist.C (emergencyWrite): use boost::format
4851 * buffer.C (readLyXformat2): use boost::format
4852 (parseSingleLyXformat2Token): ditto
4854 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4856 * LaTeX.C (run): use boost::format
4858 * Chktex.C (scanLogFile): use boost::format
4860 * BufferView_pimpl.C (savePosition): use boost::format
4861 (restorePosition): ditto
4862 (MenuInsertLyXFile): ditto
4864 * BoostFormat.h: help file for explicit instation.
4866 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4868 * tabular.C (latex): Support for block alignment in fixed width
4871 2002-11-17 John Levon <levon@movementarian.org>
4873 * BufferView_pimpl.C:
4875 * lyxfunc.C: split filedialog into open/save
4877 2002-11-08 Juergen Vigna <jug@sad.it>
4879 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4880 by my last patch (hopefully).
4882 2002-11-08 John Levon <levon@movementarian.org>
4891 * toc.C: ParConstIterator, and use it (from Lars)
4893 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4895 * lyxtextclass.[Ch]: revise and add doxygen comments
4897 2002-11-07 John Levon <levon@movementarian.org>
4899 * text.C: fix progress value for spellchecker
4901 * toc.C: fix navigate menu for insetwrap inside minipage
4903 * paragraph_funcs.C: added FIXME for suspect code
4905 2002-11-07 John Levon <levon@movementarian.org>
4907 * BufferView_pimpl.C: fix redrawing of insets
4910 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4912 * text2.C (updateCounters): fix bug 668
4914 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4916 * text3.C (dispatch): Do not make the buffer dirty when moving the
4919 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4921 * vc-backend.C: STRCONV
4924 * text2.C (setCounter): STRCONV
4926 * paragraph.C (asString): STRCONV
4928 * lyxlength.C (asString): STRCONV
4929 (asLatexString): ditto
4931 * lyxgluelength.C (asString): STRCONV
4932 (asLatexString): ditto
4934 * lyxfunc.C (dispatch): STRCONV
4937 * lyxfont.C (stateText): STRCONV
4939 * importer.C (Import): STRCONV
4941 * counters.C (labelItem): STRCONV
4942 (numberLabel): ditto
4943 (numberLabel): remove unused ostringstream o
4948 * bufferview_funcs.C (currentState): STRCONV
4950 * buffer.C (readFile): STRCONV
4951 (asciiParagraph): ditto
4952 (makeLaTeXFile): ditto
4954 * Spacing.C (writeEnvirBegin): STRCONV
4956 * LaTeXFeatures.C (getLanguages): STRCONV
4957 (getPackages): ditto
4959 (getBabelOptions): ditto
4960 (getTClassPreamble): ditto
4961 (getLyXSGMLEntities): ditto
4962 (getIncludedFiles): ditto
4966 (scanAuxFile): ditto
4969 * LString.h: add the STRCONV macros
4971 * BufferView_pimpl.C (savePosition): STRCONV
4972 (restorePosition): ditto
4973 (MenuInsertLyXFile): ditto
4975 * vc-backend.C (scanMaster): change from submatch[...] to
4978 * funcrequest.C: include config.h
4980 * factory.C: include config.h
4982 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4984 * box.C: include config.h
4986 * LaTeX.C (scanAuxFile): change from submatch[...] to
4990 2002-10-25 Angus Leeming <leeming@lyx.org>
4992 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4994 * ispell.[Ch] (setError): new method.
4995 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4996 Use setError() insetead of goto END.
4998 * lyx_cb.C (AutoSave): move out child process into new class
5001 2002-10-30 John Levon <levon@movementarian.org>
5003 * text3.C: make start appendix undoable
5005 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
5007 * lyxlength.C (inPixels): Fix returned value.
5009 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5012 2002-10-24 Angus Leeming <leeming@lyx.org>
5014 * lyxgluelength.h: no need to forward declare BufferParams
5015 or BufferView, so don't.
5017 2002-10-21 John Levon <levon@movementarian.org>
5019 * BufferView.C: menuUndo ->undo, redo
5021 * BufferView.h: document, remove dead, make some methods private
5023 * paragraph_funcs.h:
5024 * paragraph_funcs.C:
5025 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5030 * sgml.C: move sgml open/close tag into sgml.C
5032 * bufferview_funcs.h: unused prototype
5035 * lyxfunc.C: remove unused
5038 * text.C: remove unused
5040 2002-10-21 John Levon <levon@movementarian.org>
5044 * BufferView_pimpl.h:
5045 * BufferView_pimpl.C: fix mouse wheel handling based on
5046 patch from Darren Freeman
5048 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
5050 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5052 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
5054 * lyxlength.C (inPixels): Fix hanfling of negative length.
5055 Fix LyXLength::MU case.
5057 2002-10-16 John Levon <levon@movementarian.org>
5059 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5061 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5063 * converter.C (view): add support for $$i (file name) and $$p
5064 (file path) for the viewer command. If $$i is not specified, then
5065 it is appended to the command (for compatibility with old syntax)
5067 2002-10-14 Juergen Vigna <jug@sad.it>
5069 * undo_funcs.C (textHandleUndo): alter the order in which the
5070 new undopar is added to the LyXText, as we have to set first
5071 the right prev/next and then add it as otherwise the rebuild of
5072 LyXText is not correct. Also reset the cursor to the right paragraph,
5073 with this IMO we could remove the hack in "redoParagraphs()".
5075 2002-10-09 Angus Leeming <leeming@lyx.org>
5077 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5078 to turn off an optimisation if a new inset is to be inserted.
5080 2002-10-11 André Pönitz <poenitz@gmx.net>
5082 * lyxtext.h: make some functions public to allow access
5083 from inset/lyxtext for handling LFUN_PRIOR/NEXT
5085 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5087 * text3.C (dispatch): when changing layout, avoid an infinite loop
5090 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5092 * lyxrc.C (read): treat a viewer or converter command of "none" as
5095 * MenuBackend.C (expandFormats): for an update, also allow the
5096 formats that are not viewable
5098 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5099 script if it is newer than the lyxrc.defaults in user directory
5101 2002-10-07 André Pönitz <poenitz@gmx.net>
5103 * text.C: Vitaly Lipatov's small i18n fix
5105 2002-09-25 Angus Leeming <leeming@lyx.org>
5107 * ispell.h: doxygen fix.
5109 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
5111 * buffer.h (readFile): Add a new argument to the method, to allow
5112 reading of old-format templates.
5114 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
5116 * toc.C (getTocList): Get TOC from InsetWrap.
5118 2002-09-16 John Levon <levon@movementarian.org>
5120 * lyxfunc.C: check tabular for cut/copy too
5122 2002-09-12 John Levon <levon@movementarian.org>
5127 * factory.C: add header
5129 * paragraph_funcs.h:
5130 * paragraph_funcs.C: cleanup
5132 2002-09-11 John Levon <levon@movementarian.org>
5134 * PrinterParams.h: odd/even default to true
5136 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
5138 * PrinterParams.h: update printer parameters for new xforms dialog
5140 2002-09-11 Angus Leeming <leeming@lyx.org>
5142 * lyxserver.C (read_ready): re-write to make it more transparent
5143 and to make it work in coherent fashion under Tru64 Unix.
5145 2002-09-11 André Pönitz <poenitz@gmx.net>
5149 * text3.C: implement LFUN_WORDSEL
5151 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5153 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5154 make floatlist_ a boost::shared_ptr<FloatList>
5156 * lyxtextclass.C: include FloatList.h
5157 (LyXTextClass): initialize floatlist_
5158 (TextClassTags): add TC_NOFLOAT
5159 (Read): match "nofloat" to TC_NOFLOAT and use it.
5160 (readFloat): modify call to floatlist_
5164 * FloatList.[Ch] (FloatList): remove commented out float
5166 (erase): new function
5168 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5170 * MenuBackend.C (expandToc): fix crash when there is no document
5173 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
5175 * many files: Add insetwrap.
5177 2002-09-09 John Levon <levon@movementarian.org>
5179 * text2.C: remove confusing and awkward depth wraparound
5181 2002-09-09 John Levon <levon@movementarian.org>
5183 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5186 * buffer.C: remove getIncludeonlyList()
5189 * lyxfunc.C: remove headers
5191 2002-09-09 Juergen Vigna <jug@sad.it>
5193 * text.C (getColumnNearX): fix form Michael this is most
5194 probably a cut&paste bug.
5196 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5198 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5200 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5201 references, ws changes.
5203 * text2.C (init): update counters after init
5204 (insertParagraph): no need to set counter on idividual paragraphs.
5205 (setCounter): access the counters object in the textclass object
5206 on in the buffer object.
5207 (updateCounters): ditto
5209 * lyxtextclass.C: include counters.h, add variable ctrs_ as
5210 shared_ptr<Counters> to avoid loading counters.h in all
5212 (LyXTextClass): initialize ctrs_
5213 (TextClassTags): add TC_COUNTER, and ...
5214 (Read): use it here.
5215 (CounterTags): new tags
5216 (readCounter): new function
5217 (counters): new funtion
5218 (defaultLayoutName): return a const reference
5220 * counters.C (Counters): remove contructor
5221 (newCounter): remove a couple of unneeded statements.
5222 (newCounter): simplify a bit.
5223 (numberLabel): some small formatting changes.
5225 * buffer.[Ch]: remove all traces of counters, move the Counters
5226 object to the LyXTextClass.
5228 2002-09-06 Alain Castera <castera@in2p3.fr>
5230 * tabular.C: uses \tabularnewline; uses >{...} construct from array
5231 package to set the horizontal alignment on fixed width columns.
5234 * lyx_sty.h: added tabularnewline macro def.
5236 * LaTeXFeatures.C: added NeedTabularnewline macro feature
5238 2002-09-06 John Levon <levon@movementarian.org>
5240 * LyXAction.C: tooltips for sub/superscript
5242 * MenuBackend.C: a bit more verbose
5244 * lyxfunc.C: tiny clean
5246 * undo_funcs.C: document undo_frozen
5248 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
5250 * counters.C (Counters): add missing algorithm counter.
5252 * text2.C (setCounter): lookup the counter with layouts latexname
5253 instead of by section number.
5254 (setCounter): use a hackish way to lookup the correct enum
5256 a float name->type change
5257 reset enum couners with counter name directly instead of depth value.
5259 * counters.C (Counters): remove the push_backs, change to use the
5260 float type not the float name.
5261 (labelItem): remove unused string, float name->type change
5263 * counters.h: don't include vector, loose the enums and sects vectors
5265 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5267 * lyxtextclass.C (TextClassTags): add TC_FLOAT
5268 (Read): add float->TC_FLOAT to textclassTags
5269 (Read): and handle it in the switch
5270 (readFloat): new function
5272 * FloatList.C (FloatList): comment out the hardcoded float
5275 * lyxlayout.h: ws change.
5277 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
5279 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5281 2002-09-03 Angus Leeming <leeming@lyx.org>
5283 * BufferView_pimpl.h: qualified name is not allowed in member
5284 declaration: WorkArea & Pimpl::workarea() const;
5286 * factory.C: added using std::endl directive.
5288 * text3.C: added using std::find and std::vector directives.
5290 2002-08-29 André Pönitz <poenitz@gmx.net>
5293 * text2.C: remove unused member number_of_rows
5296 * BufferView2.C: remove file, move contents to...
5297 * BufferView.C: ... here
5299 * BufferView_pimpl.C:
5300 * factory.C: move more inset creation to factory
5302 * vspace.C: avoid direct usage of LyXText, ws changes
5305 don't provide direct access to WorkArea, use two simple
5306 acessors haveSelction() and workHeight() instead
5309 2002-08-29 John Levon <levon@movementarian.org>
5311 * BufferView_pimpl.C (dispatch): do not continue when
5314 2002-08-28 André Pönitz <poenitz@gmx.net>
5316 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5319 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5321 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
5323 * buffer.C: increment LYX_FORMAT to 221
5325 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5326 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5328 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5330 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5332 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5334 * factory.C (createInset): use LyXTextClass::floats
5336 * MenuBackend.C (expandFloatListInsert):
5337 (expandFloatInsert):
5340 * text2.C (setCounter):
5342 * LaTeXFeatures.C (useFloat):
5343 (getFloatDefinitions):
5345 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5347 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5348 floatlist_, with accessor floats().
5350 * FloatList.h: remove global FloatList
5352 2002-08-26 André Pönitz <poenitz@gmx.net>
5354 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5358 * BufferView_pimpl.C:
5359 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5361 2002-08-25 John Levon <levon@movementarian.org>
5363 * LyXAction.C: fix margin note description
5365 2002-08-24 John Levon <levon@movementarian.org>
5369 * bufferview_funcs.C:
5371 * undo_funcs.C: cleanups
5373 * lyxfunc.C: disable CUT/COPY when no selection
5375 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
5377 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5378 in "enum UNIT"; e.g. PTW for Percent of TextWidth
5380 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5381 Add backward compatibility to "mono", "gray" and "no".
5383 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
5385 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5386 (and file_format >= 200).
5388 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5390 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5392 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5394 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5396 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
5398 * BufferView_pimpl.C:
5405 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5406 inset and code to make it work with the paragraph code. The inset
5407 can be anywhere in the paragraph, but will only do the expected
5408 thing in LaTeX if the layout file contains the parameter line
5410 (or more generally, a nonzero value) for that layout.
5412 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5414 * paragraph.h: remove the declaration of undefined counters class
5417 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5419 * text2.C (setCounter): fixed enumeration mis-count as reported by
5420 Dr. Richard Hawkins.
5422 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5424 * paragraph_funcs.h: remove some unneeded includes
5426 * text.C (backspace): pasteParagraph now in global scipe
5428 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5429 (pasteSelection): ditto
5431 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5432 * paragraph_funcs.C (pasteParagraph): ... here
5434 2002-08-20 André Pönitz <poenitz@gmx.net>
5436 * commandtags.h: new LFUNs for swapping/copying table row/colums
5439 * lyxfunc.C: support for new lfuns
5441 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5444 * buffer.[Ch]: remove NO_COMPABILITY stuff
5446 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5448 * boost.C (throw_exception): new file, with helper function for
5449 boost compiled without exceptions.
5454 * ParameterStruct.h:
5455 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5457 * bufferlist.C (emergencyWriteAll): use boost bind
5459 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5461 * text.C: include paragraph_funcs.h
5462 (breakParagraph): breakParagraph is now in global scope
5464 * paragraph_funcs.[Ch]: new files
5466 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5469 * buffer.C: include paragraph_funcs.h
5470 (insertStringAsLines): breakParagraph is now in global scope
5472 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5475 * CutAndPaste.C: include paragraph_funcs.h
5476 (cutSelection): breakParagraphConservative is now in global scope
5477 (pasteSelection): ditto
5479 * buffer.h: declare oprator== and operator!= for
5480 Buffer::inset_iterator
5482 * bufferlist.C (emergencyWrite): don't use fmt(...)
5484 * text3.C: add using std::endl
5486 * BufferView.C (moveCursorUpdate): remove default arg
5488 2002-08-20 André Pönitz <poenitz@gmx.net>
5490 * buffer.[Ch]: move inline functions to .C
5493 * BufferView_pimpl.C:
5495 * buffer.[Ch]: use improved inset_iterator
5498 * paragraph.[Ch]: write one paragraph at a time
5500 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5502 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5503 style if style is not specified.
5505 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5507 * text2.C (setCounter): when searching for right label for a
5508 caption, make sure to recurse to parent insets (so that a caption
5509 in a minipage in a figure float works) (bug #568)
5511 2002-08-20 André Pönitz <poenitz@gmx.net>
5513 * text3.C: new file for LyXText::dispatch() and helpers
5515 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5517 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5519 2002-08-19 André Pönitz <poenitz@gmx.net>
5522 * text.C: new LyXText::dispatch()
5524 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5526 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5528 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5530 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5533 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5535 * Makefile.am: use $(variables) instead of @substitutions@
5537 2002-08-15 André Pönitz <poenitz@gmx.net>
5540 * BufferView_pimpl.C: streamlining mathed <-> outer world
5544 * LyXAction.C: remove unused LFUN_MATH
5546 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5548 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5550 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5552 * paragraph.C (Paragraph): reformat a bit
5553 (cutIntoMinibuffer): use builtin InsetList function instad of
5557 * buffer.C: include boost/bind.hpp, add using std::for_each
5558 (writeFileAscii): use ParagraphList iterators
5559 (validate): use for_each for validate traversal of paragraphs
5560 (getBibkeyList): use ParagraphList iterators
5561 (resizeInsets): use for_each to resizeInsetsLyXText for all
5563 (getParFromID): use ParagraphList iterators
5565 * BufferView2.C (lockInset): use paragraph list and iterators
5567 2002-08-14 John Levon <levon@movementarian.org>
5569 * lyxserver.C: remove spurious xforms include
5571 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5573 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5575 2002-08-13 André Pönitz <poenitz@gmx.net>
5578 * lyxfunc.C: further cleaning
5580 2002-08-13 André Pönitz <poenitz@gmx.net>
5582 * funcrequest.h: new constructor
5584 * funcrequest.C: move stuff here from .h
5587 * BufferView_pimpl.C:
5590 * lyxfunc.C: subsequent changes
5592 * lyxfunc.h: new view() member function
5594 * lyxfunc.C: subsequent changes
5596 2002-08-13 Angus Leeming <leeming@lyx.org>
5599 * BufferView_pimpl.C:
5607 changes due to the changed LyXView interface that now returns references
5608 to member variables not pointers.
5610 2002-08-13 Angus Leeming <leeming@lyx.org>
5612 * WordLangTuple (word, lang_code): return references to strings,
5617 * lyxtext.h: forward-declare WordLangTuple.
5622 * text.C: #include "WordLangTuple.h".
5625 * text.C: (selectNextWordToSpellcheck): constify return type.
5627 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5633 * paragraph_pimpl.h:
5636 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5638 Made updateCounter always count from start of buffer, and removed
5639 second argument (par).
5640 Reverted floats number display to '#'. Perhaps I'll try again when the
5641 code base is sanitized a bit.
5643 2002-08-12 Angus Leeming <leeming@lyx.org>
5645 * buffer.[Ch] (getLabelList): constify.
5647 2002-08-07 André Pönitz <poenitz@gmx.net>
5649 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5651 * funcrequest.h: extension to keep mouse (x,y) position
5653 2002-08-12 Juergen Vigna <jug@sad.it>
5655 * BufferView2.C (insertErrors): forbid undo when inserting error
5658 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5660 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5662 * ParagraphList.[Ch]: new files
5664 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5666 * BufferView2.C (lockInset): ParagraphList changes
5669 * bufferlist.C: ditto
5673 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5675 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5676 unused class variable counter_,
5678 * paragraph.[Ch] (getFirstCounter): delete unused function
5680 * counters.C: include LAssert.h
5681 (reset): add a new function with no arg, change other version to
5682 not have def. arg and to not allow empty arg.
5684 * text2.C (setCounter): remove empty arg from call to Counters::reset
5686 2002-08-11 John Levon <levon@movementarian.org>
5688 * Makefile.am: add WordLangTuple.h
5690 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5692 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5693 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5695 * insets/insettext.C: InsetList changes
5697 * graphics/GraphicsSupport.C (operator()): InsetList changes
5699 * toc.C (getTocList): InsetList changes
5701 * paragraph_pimpl.[Ch]: InsetList changes
5703 * paragraph.[Ch]: InsetList changes
5705 * buffer.C (inset_iterator): InsetList changes
5706 (setParagraph): ditto
5707 * buffer.h (inset_iterator): ditto
5708 * iterators.C (operator++): ditto
5709 * iterators.h: ditto
5711 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5713 * InsetList.[Ch]: new files, most InsetList handling moved out of
5716 * BufferView2.C (removeAutoInsets): InsetList changes
5718 (ChangeInsets): ditto
5720 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5722 * paragraph_pimpl.h (empty): new function
5724 * paragraph.[Ch] (empty): new function
5726 * other files: use the new Paragraph::empty function
5728 2002-08-09 John Levon <levon@movementarian.org>
5730 * lyxtext.h: remove unused refresh_height
5732 2002-08-09 John Levon <levon@movementarian.org>
5739 * paragraph.C: move sgml char escaping out of paragraph
5742 * paragraph.C: remove id setter
5746 * paragraph_pimpl.C: remove dead tex_code_break_column
5748 * bufferview_funcs.C: small cleanup
5750 * lyxfunc.C: remove dead proto
5752 * lyxtext.h: make some stuff private. Remove some dead stuff.
5754 * lyxgluelength.C: make as[LyX]String() readable
5756 2002-08-08 John Levon <levon@movementarian.org>
5761 * ToolbarDefaults.C:
5764 * toc.C: lyxaction cleanup
5766 2002-08-08 John Levon <levon@movementarian.org>
5768 * BufferView2.C: small cleanup
5771 * lyxfind.C: move unnecessary header into the .C
5773 2002-08-08 John Levon <levon@movementarian.org>
5775 * funcrequest.h: just tedious nonsense
5778 * lyx_main.C: cleanups
5781 * vspace.C: remove dead header lyx_main.h
5783 2002-08-07 Angus Leeming <leeming@lyx.org>
5786 * paragraph_pimpl.h:
5787 Forward declare class Counters in paragraph.h by moving the ctrs member
5788 variable into Paragraph::Pimpl.
5789 (counters): new method, returning a reference to pimpl_->ctrs.
5791 * text2.C: ensuing changes.
5793 2002-08-07 John Levon <levon@movementarian.org>
5795 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5797 * BufferView_pimpl.C: announce X selection on double/triple
5800 * lyx_main.C: use correct bool in batch dispatch
5802 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5804 2002-08-07 André Pönitz <poenitz@gmx.net>
5806 * funcrequest.h: new class to wrap a kb_action and its argument
5809 * BufferView_pimpl[Ch]:
5813 * lyxrc.C: subsequent changes
5816 2002-08-07 John Levon <levon@movementarian.org>
5818 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5819 document options change.
5821 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5826 * makefile.am: move counters functionality over from
5827 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5829 2002-08-06 John Levon <levon@movementarian.org>
5831 * WordLangTuple.h: new file for word + language code tuple
5842 * BufferView2.C: use WordLangTuple
5845 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5847 2002-08-06 John Levon <levon@movementarian.org>
5849 * lyx_main.C: fix cmdline batch handling
5851 2002-08-06 André Pönitz <poenitz@gmx.net>
5853 * lyxrc.C: set default for show_banner to true
5855 2002-08-06 John Levon <levon@movementarian.org>
5857 * pspell.C: fix a crash, and allow new aspell to work
5859 2002-08-06 John Levon <levon@movementarian.org>
5862 * kbmap.C: small cleanup
5865 * vspace.C: add const
5867 2002-08-05 John Levon <levon@movementarian.org>
5869 * LyXAction.C: back to tabular-insert
5871 2002-08-04 John Levon <levon@movementarian.org>
5874 * BufferView.C: cosmetic change
5876 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5886 * BufferView2.C: purge all "Lyx" not "LyX" strings
5889 * lyxcursor.C: attempt to add some documentation
5894 * ToolbarDefaults.C:
5895 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5896 merge with LFUN_TABULAR_INSERT
5903 * pspell.C: split up i/pspell implementations into separate
5904 files, many cleanups
5906 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5908 * text2.C: some cleanup
5910 * lyxfunc.C: don't check for isp_command == "none" any more, it
5911 didn't make any sense
5913 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5918 * makefile.am: move counters functionality over
5919 from text2.C/paragraph.[Ch] to counters.[Ch], and
5921 2002-08-02 John Levon <levon@movementarian.org>
5923 * buffer.C: s/lyxconvert/lyx2lyx/
5925 2002-08-02 Angus Leeming <leeming@lyx.org>
5927 * lyxlex.C: revert John's change as it breaks reading of the user
5930 2002-08-02 Angus Leeming <leeming@lyx.org>
5932 * importer.C (Import):
5933 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5934 changes due to LyXView::view() now returning a boost::shared_ptr.
5936 2002-08-02 John Levon <levon@movementarian.org>
5938 * lyxlex.C: small cleanup
5940 2002-08-02 John Levon <levon@movementarian.org>
5942 * text2.C (status): small cleanup, no logic change
5944 2002-08-01 John Levon <levon@movementarian.org>
5947 * buffer.C (writeFile): don't output alerts, caller
5951 * lyx_cb.C: from above
5953 * lyxfunc.C: allow to open non-existent files
5955 2002-07-31 John Levon <levon@movementarian.org>
5957 * lyxserver.C: don't let incidental errors get
5960 2002-07-30 John Levon <levon@movementarian.org>
5962 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5964 2002-07-30 John Levon <levon@movementarian.org>
5967 * lyxserver.C: remove I/O callback too
5969 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5971 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5974 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5976 * many files: strip,frontStrip -> trim,ltrim,rtrim
5978 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5980 * PrinterParams.h: remove extern containsOnly, and include
5981 support/lstrings.h instead.
5983 * LaTeX.C (scanAuxFile): modify because of strip changes
5985 * buffer.C (makeLaTeXFile): ditto
5986 * bufferparams.C (writeFile): ditt
5987 * lyxfont.C (stateText): ditto
5988 * lyxserver.C (read_ready): ditto
5989 * vc-backend.C (scanMaster): ditto
5991 * BufferView_pimpl.h: ws changes
5993 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5995 2002-07-26 André Pönitz <poenitz@gmx.net>
5997 * kb_sequence.C: remove unnedred usings
5999 2002-07-26 Juergen Vigna <jug@sad.it>
6001 * lyxfind.C (LyXReplace): we have to check better if the returned
6002 text is not of theLockingInset()->getLockingInset().
6004 2002-07-25 Juergen Vigna <jug@sad.it>
6006 * lyxfind.C (LyXReplace): don't replace if we don't get the
6009 * undo_funcs.C (createUndo): remove debugging code.
6011 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
6013 * buffer.C (parseSingleLyXformat2Token): Use default placement
6014 when reading old floats.
6016 * FloatList.C (FloatList): Change the default placement of figure
6017 and tables to "tbp".
6019 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
6021 * MenuBackend.C: using std::max
6023 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6025 * MenuBackend.C (expandToc):
6026 (expandToc2): code moved from xforms menu frontend. It is now
6027 generic and TOCs are transparent to menu frontends.
6029 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6031 * toc.C (getTocList): protect against buf=0
6033 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6034 Menu as first parameter. Now, this calls itself recursively to
6035 expand a whole tree (this will be useful for TOC handling)
6036 (expandFloatInsert): remove 'wide' version of floats
6038 * MenuBackend.h (submenuname): returns the name of the submenu.
6039 (submenu): returns the submenu itself, provided it has been
6040 created by MenuBackend::expand
6042 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6044 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6045 insets which have noFontChange == true. (bug #172)
6047 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6049 * BufferView_pimpl.C: add connection objects and use them...
6052 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6054 * MenuBackend.C (expandLastfiles):
6057 (expandFloatListInsert):
6058 (expandFloatInsert):
6059 (expand): split expand in parts
6061 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6063 * lyx_gui.C: use lyx_gui::exit()
6065 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6067 * LyXAction.C: show the failing pseudo action
6069 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
6071 * buffer.C (readFile): Run the lyxconvert script in order to read
6074 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6078 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6080 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
6084 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6086 2002-07-22 Herbert Voss <voss@lyx.org>
6089 * lyxlength.[Ch]: add support for the vertical lengths
6091 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
6093 * toc.[Ch]: std:: fixes
6095 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6097 * lyxrc.C: do not include lyx_main.h
6099 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6105 * BufferView2.C: include "lyxlex.h"
6108 * bufferparams.h: do not #include "lyxlex.h"
6110 * lyxtextclasslist.C (Add): remove method
6111 (classlist): renamed to classlist_
6113 * paragraph_pimpl.C:
6117 * bufferview_funcs.C:
6122 * toc.C (getTocList): use BufferParams::getLyXTextClass
6124 * toc.C (getTocList): use InsetFloat::addToToc
6126 * toc.[Ch]: new files, containing helper functions to handle table
6129 * lyxfunc.C (dispatch): no need to remove spaces around command
6131 (getStatus): handle LFUN_SEQUENCE by returning the status of the
6132 first command of the sequence; it is not very clever, but I do not
6133 have a better idea, actually
6135 * LyXAction.C (LookupFunc): make sure to remove space at the
6136 beginning and end of the command
6138 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6140 * MenuBackend.C (getMenubar): new method: return the menubar of
6142 (read): treat differently reading of menu and menubar (in
6143 particular, the menubar has no name now)
6144 (Menu::menubar): remove
6146 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6149 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6151 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6152 a bibitem inset in a RTL paragraph.
6154 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
6156 * paragraph_pimpl.C: constify
6158 * BufferView_pimpl.C:
6160 * lyxfunc.C: fix dispatch in a nicer way
6162 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6164 * lyxfunc.C (dispatch):
6165 * BufferView_pimpl.C:
6166 * BufferView_pimpl.h:
6168 * BufferView.h: rename Dispatch() to dispatch()
6170 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6172 * lyxlayout.C (Read): honor DependsOn tag
6174 * lyxlayout.[Ch] (depends_on): new method
6176 * version.C.in: update lyx_docversion
6178 * LaTeXFeatures.C (getMacros): only define \LyX when needed
6180 * paragraph.C (validate): remove from here...
6181 * paragraph_pimpl.C (validate): ... and move here
6182 (isTextAt): make it const
6184 * buffer.C (getLists): ws cleanup
6186 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
6188 * language.C (read): Use iso8859-1 encoding in latex_lang
6189 (this prevents LyX from crashing when using iso10646-1 encoding).
6191 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6193 * text2.C (toggleInset): if cursor is inside an inset, close the
6194 inset and leave cursor _after_ it
6196 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6198 * lyxfunc.C: move minibuffer completion handling out of here
6200 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
6202 * BufferView_pimpl.C:
6203 * LaTeX.C: fix dispatch calls
6205 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
6207 * text.C (drawChars): Fix Arabic text rendering.
6209 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
6213 * lyxfunc.C: remove message-push/pop
6217 * lyxfunc.C: rationalise some code by removing verboseDispatch
6218 in favour of a bool argument to dispatch()
6220 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6222 * lyx_main.C (init): make sure to read symlinks as absolute paths
6224 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6227 * lyxfunc.C: no need for commandshortcut to be a member
6229 2002-07-15 André Pönitz <poenitz@gmx.net>
6231 * converter.C: add support for $$s (scripts from lib/scripts dir)
6232 * lyx_main.C: white space
6234 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6238 * lyxrc.C: remove second exit confirmation
6240 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
6245 * BufferView_pimpl.h:
6246 * BufferView_pimpl.C:
6247 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6249 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6251 * MenuBackend.C (expand): add numeric shortcuts to document menu
6253 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6255 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6257 * lyxfont.C (setLyXFamily):
6264 * buffer.C (asciiParagraph): use ascii_lowercase
6266 2002-07-15 Mike Fabian <mfabian@suse.de>
6268 * lyxlex_pimpl.C (search_kw):
6269 * lyxlex.C (getLongString):
6270 * converter.h (operator<):
6271 * converter.C (operator<):
6272 * buffer.C (parseSingleLyXformat2Token):
6274 * ToolbarDefaults.C (read):
6275 * MenuBackend.C (checkShortcuts):
6277 * LColor.C (getFromGUIName):
6278 (getFromLyXName): use the compare_ascii_no_case instead of
6279 compare_no_case, because in turkish, 'i' is not the lowercase
6280 version of 'I', and thus turkish locale breaks parsing of tags.
6282 2002-07-16 Angus Leeming <leeming@lyx.org>
6284 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6285 now takes a Buffer const & argument.
6287 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
6289 * BufferView.C (resize): check there's a buffer to resize
6291 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
6293 * lyxfunc.C: remove dead code
6296 * lyxserver.C: use lyx_guii::set_read_callback
6298 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
6300 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6301 an inset in a RTL paragraph.
6303 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6305 * lyxfunc.C: repaint after a font size update
6307 2002-07-15 André Pönitz <poenitz@gmx.net>
6309 * lyxlength.C: inBP should be able to return negative values
6311 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6313 * lyxfunc.C: use lyx_gui::update_fonts()
6315 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
6317 * lyxfunc.C: use lyx_gui::update_color()
6319 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6325 * lyxrc.C: remove file->new asks for name option, and let
6326 buffer-new take an argument
6328 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
6330 * BufferView_pimpl.C: remove unneeded extra repaint()
6332 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
6334 * LyXAction.C: allow command-sequence with NoBuffer
6336 * lyxfunc.C: don't insist on trailing ';' for command-sequence
6338 2002-07-10 Angus Leeming <leeming@lyx.org>
6340 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6342 2002-07-09 Angus Leeming <leeming@lyx.org>
6344 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6346 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6348 * lengthcommon.h: whitespace
6350 * lyxfunc.C: update scrollbar after goto paragraph
6352 * lyxtext.h: factor out page break drawing, and fix it so
6353 page break/added space paints as selected nicely
6355 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
6357 * BufferView_pimpl.C: add FIXMEs, clean up a little
6359 2002-07-09 André Pönitz <poenitz@gmx.net>
6361 * lyxfont.[Ch]: support for wasy symbols
6363 2002-07-08 André Pönitz <poenitz@gmx.net>
6365 * BufferView_pimpl.C: apply John's patch for #93.
6367 2002-07-05 Angus Leeming <leeming@lyx.org>
6369 * BufferView_pimpl.C (buffer): generate previews if desired.
6371 * LColor.h: add "preview" to the color enum.
6373 * LColor.C (LColor): add a corresponding entry to the items array.
6375 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6378 2002-07-05 Angus Leeming <leeming@lyx.org>
6380 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6381 The body of the code is now in the method that is passed an ostream &
6382 rather than a file name.
6383 Pass an additional only_preamble parameter, useful for the forthcoming
6386 2002-07-03 André Pönitz <poenitz@gmx.net>
6388 * lyxfunc.C: simplify getStatus() a bit for math stuff
6390 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6392 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6394 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6396 * text.C (changeRegionCase): do not change case of all the
6397 document when region ends at paragraph end (bug #461)
6399 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6401 * paragraph.C (startTeXParParams):
6402 (endTeXParParams): add \protect when necessary
6404 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6406 * BufferView_pimpl.C (workAreaExpose): remove warning
6408 2002-06-27 Angus Leeming <leeming@lyx.org>
6410 * Makefile.am: add lyxlayout_ptr_fwd.h.
6412 2002-06-26 André Pönitz <poenitz@gmx.net>
6414 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6416 2002-06-25 Angus Leeming <leeming@lyx.org>
6418 * lyxfunc.C (dispatch): Comment out the call to
6419 grfx::GCache::changeDisplay. The method no longer exists now that the
6420 pixmap generation part of the graphics loader has been moved into
6423 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6425 * text2.C: layout as layout
6427 * text.C: layout as layout
6429 * tabular.C (OldFormatRead): layout as layout
6431 * paragraph_pimpl.C (TeXDeeper): layout as layout
6432 (realizeFont): layout as layout
6434 * paragraph.C (writeFile): layout as layout
6435 (validate): layout as layout
6436 (getFont): layout as layout
6437 (getLabelFont): layout as layout
6438 (getLayoutFont): layout as layout
6439 (breakParagraph): layout as layout
6440 (stripLeadingSpaces): layout as layout
6441 (getEndLabel): layout as layout
6442 (getMaxDepthAfter): layout as layout
6443 (applyLayout): layout as layout
6444 (TeXOnePar): layout as layout
6445 (simpleTeXOnePar): layout as layout
6446 (TeXEnvironment): layout as layout
6447 (layout): layout as layout
6448 (layout): layout as layout
6450 * lyxtextclass.C (compare_name): new functor to work with
6451 shared_ptr, layout as layout
6452 (Read): layout as layout
6453 (hasLayout): layout as layout
6454 (operator): layout as layout
6455 (delete_layout): layout as layout
6456 (defaultLayout): layout as layout
6458 * lyxlayout_ptr_fwd.h: new file
6460 * lyxlayout.C (Read): layout as layout
6462 * lyx_cb.C (MenuInsertLabel): layout as layout
6464 * bufferlist.C (newFile): layout as layout
6466 * buffer.C (readLyXformat2): layout as layout
6467 (parseSingleLyXformat2Token): layout as layout
6468 (insertStringAsLines): layout as layout
6469 (asciiParagraph): layout as layout
6470 (latexParagraphs): layout as layout
6471 (makeLinuxDocFile): layout as layout
6472 (simpleLinuxDocOnePar): layout as layout
6473 (makeDocBookFile): layout as layout
6474 (simpleDocBookOnePar): layout as layout
6475 (getLists): layout as layout
6477 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6479 * CutAndPaste.C (cutSelection): layout as layout
6480 (pasteSelection): layout as layout
6481 (SwitchLayoutsBetweenClasses): layout as layout
6483 * BufferView_pimpl.C (Dispatch): layout as layout
6484 (smartQuote): layout as layout
6486 * BufferView2.C (unlockInset): layout as layout
6488 2002-06-24 André Pönitz <poenitz@gmx.net>
6490 * lyxfunc.C: fix #487
6492 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6496 * lyxfunc.C: remove display_shortcuts, show_banner
6498 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6500 * Buffer_pimpl.C: oops, update on resize
6502 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6509 * BufferView.C: use repaint()
6511 * BufferView_pimpl.h:
6512 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6513 as it's a clearer description. Remove superfluous
6516 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6518 * text.C: fix bug 488. Not ideal, but getting
6519 getWord() to work properly for the insets that
6520 matter is more difficult ...
6522 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6524 * BufferView_pimpl.C:
6527 * lyxfunc.C: remove the six million index lyxfuncs to just
6528 one, and DTRT (bug 458)
6530 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6534 * BufferView_pimpl.h:
6535 * BufferView_pimpl.C: clean up resize() stuff,
6536 and unnecessary updateScreen()s
6538 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6542 * BufferView_pimpl.h:
6543 * BufferView_pimpl.C:
6546 * minibuffer.C: remove focus management of workarea,
6547 not needed. Use screen's greyOut()
6549 2002-06-17 Herbert Voss <voss@lyx.org>
6551 * converter.C: (convert) do not post a message, when converting
6552 fails, let the calling function decide what to do in this case
6554 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6556 * lyxfunc.C: tidy up a little
6558 2002-06-16 <alstrup@diku.dk>
6560 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6561 Got rid of FORMS_H_LOCATION include. Now we are
6564 2002-06-15 LyX Development team <lyx@rilke>
6566 * buffer.[Ch] (sgmlOpenTag):
6567 (sgmlCloseTag): Added support for avoiding pernicious mixed
6568 content. Return number of lines written.
6571 (makeDocBookFile): Fixed calls to sgml*Tag.
6572 Simple white space clean.
6574 (simpleDocBookOnePar): Simple white space clean.
6576 * tabular.[Ch] (docBook): Renamed to docbook and got another
6577 argument to related with the pernicious mixed content.
6579 (docbookRow): Fixed calls for docbook inset method.
6581 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6583 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6584 so it's X11 independent.
6588 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6590 2002-06-15 Lyx Development team <lyx@electronia>
6592 * intl.h: Renamed getTrans to getTransManager.
6594 2002-06-14 Angus Leeming <leeming@lyx.org>
6596 * Makefile.am: nuke forgotten stl_string_fwd.h.
6598 2002-06-12 Angus Leeming <leeming@lyx.org>
6600 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6602 2002-06-13 Angus Leeming <leeming@lyx.org>
6605 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6607 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6609 * kbmap.C (getiso): add support for cyrillic and greek
6611 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6615 * BufferView_pimpl.h:
6616 * BufferView_pimpl.C: move bogus scrolling logic
6619 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6622 * BufferView_pimpl.C: view->resize() change
6624 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6626 * BufferView_pimpl.C: topCursorVisible
6629 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6633 * lyx_gui.C: move to frontends/
6637 * lyx_main.C: changes from above
6639 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6646 * lyx_main.C: minor tidy
6648 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6650 * BufferView_pimpl.h:
6651 * BufferView_pimpl.C:
6653 * BufferView.C: make painter() const,
6656 * BufferView2.C: use screen() accessor
6659 * lyx_main.C: some minor cleanup
6661 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6663 * BufferView_pimpl.h:
6664 * BufferView_pimpl.C: remove enter/leaveView,
6667 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6672 * BufferView_pimpl.h:
6673 * BufferView_pimpl.C: only construct screen once,
6676 * lyxrc.C: remove pointless comment
6678 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6681 * BufferView.C: remove active() and belowMouse()
6683 * BufferView_pimpl.h:
6684 * BufferView_pimpl.C: use workarea() not workarea_,
6685 and make it use a scoped_ptr instead
6687 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6689 * lyx_gui.C: add debug message on BadWindow
6691 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6693 * sp_spell.C: fdopen is not part of the C++ standard.
6695 * paragraph.C (InsetIterator): use >= instead of ==
6697 2002-06-07 Angus Leeming <leeming@lyx.org>
6699 Fixes needed to compile with Compaq cxx 6.5.
6700 * BufferView_pimpl.C:
6707 * lyxtextclasslist.C:
6712 all c-library variables have been moved into namespace std. Wrap
6713 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6718 Add a using std::abs declaration.
6720 * kbmap.h (modifier_pair):
6721 * paragraph.h (InsetTable, InsetList):
6722 * lyxfont.h (FontBits):
6723 type definition made public.
6725 * bufferlist.C (emergencyWriteAll): the compiler complains that
6726 there is more than one possible lyx::class_fun template to choose from.
6727 I re-named the void specialisation as lyx::void_class_fun.
6729 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6731 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6732 the compiler is is unable to find tostr in write_attribute.
6734 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6736 * buffer.C (sgmlError): hide #warning
6738 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6740 * xtl/*: get rid of xtl, which is not in use anyway
6742 * LyXAction.C (init):
6743 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6744 were unimplemented xtl experimentation
6746 2002-06-04 André Pönitz <poenitz@gmx.net>
6748 * lyxfunc.C: disable array operation on simple formulae
6750 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6752 * converter.C: constify a bit
6754 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6756 * lyx_gui.C: check xforms version correctly
6758 2002-04-30 Herbert Voss <voss@lyx.org>
6760 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6763 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6765 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6766 attempt to register it with a VCS)
6768 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6770 * lyx_main.C (init): honor variables LYX_DIR_13x and
6773 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6777 * lyx_main.C: fix a crash on bad command line,
6778 and give a useful exit status on error
6780 * lyxfunc.C (doImport): allow -i lyx to work
6782 2002-03-30 André Pönitz <poenitz@gmx.net>
6784 * lyxfunc.C: mathed font changes
6786 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6801 * trans_mgr.h: srcdocs, and some minor cleanups
6803 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6805 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6806 call getFont all the time)
6808 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6810 * switch from SigC signals to boost::signals
6812 2002-05-29 André Pönitz <poenitz@gmx.net>
6814 * paragraph_pimpl.C (getChar): don't call size() too often...
6816 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6818 * paragraph_pimpl.C (insertChar): do not try to update tables when
6819 appending (pos == size())
6821 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6822 in order to reduce drastically the number of comparisons needed to
6823 parse a large document
6825 2002-05-29 André Pönitz <poenitz@gmx.net>
6831 * textclasslist.[Ch]:
6832 * sp_ispell.h: whitespace change
6834 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6836 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6837 lyxaction directly now.
6839 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6843 * lyxvc.C: remove unused headers
6845 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6852 * undo_funcs.C: some cleanups. Use shared_ptr
6853 and a template for the undo stacks.
6855 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6857 * BufferView_pimpl.h:
6858 * BufferView_pimpl.C:
6865 * text2.C: use key_state/mouse_state
6867 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6869 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6872 * chset.C: change include order
6873 (loadFile): use boost regex and get rid of LRegex and LSubstring
6875 * Makefile.am (BOOST_LIBS): new variable
6878 * LaTeX.C: change include order.
6879 (scanAuxFile): use boost regex and get rid of LRegex and
6883 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6888 * FontInfo.C: moved to frontends/xforms/
6891 * FontLoader.C: moved into frontends for GUIIzation
6896 * lyxfunc.C: changes from above
6898 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6900 * LColor.C: remove spurious X include
6902 * BufferView_pimpl.C:
6907 * text2.C: move font metrics to frontends/
6909 2002-05-24 Juergen Vigna <jug@sad.it>
6911 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6912 setting the undo_cursor.
6914 * ParagraphParameters.h: include local includes first.
6916 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6918 * BufferView_pimpl.C:
6919 * BufferView_pimpl.h:
6923 * screen.C: move WorkArea into frontends/
6929 * BufferView2.C: move LyXScreen into frontends/
6933 * lyx_gui.C: move lyxlookup into frontends/xforms/
6935 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6938 * BufferView_pimpl.C:
6948 * bufferview_funcs.C:
6961 * vc-backend.C: move LyX/XFormsView into frontends/
6963 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6975 * text2.C: move Painter to frontends/
6977 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6979 * buffer.C: comment out some some code that depend upon lyx_format
6982 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6983 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6985 * buffer.h (NO_COMPABILITY): turn off compability
6987 * ColorHandler.C: include scoped_array.hpp
6989 * font.C: Use more specific smart_ptr header.
6992 * ShareContainer.h: ditto
6996 * BufferView_pimpl.h: ditto
6997 * ColorHandler.h: ditto
6999 * kbmap.C (defkey): change call to shared_ptr::reset
7001 2002-05-21 Juergen Vigna <jug@sad.it>
7003 * buffer.C (insertErtContents): fix to insert ert asis if it is
7004 non empty. Skip it completely if it contains only whitespaces.
7006 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
7008 * BufferView_pimpl.C:
7009 * BufferView2.C: clear selection on paste (bug 393)
7011 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7013 * DepTable.C: include ctime
7015 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
7017 * buffer.C (latexParagraphs): Add new argument (moving_arg).
7019 2002-05-14 Juergen Vigna <jug@sad.it>
7021 * text.C (breakParagraph): fixed function to honor the keepempty
7022 layout in the right maner and also to permit the right breaking
7023 algorithm on empty or non empyt keepempty paragraphs.
7025 * paragraph.C (breakParagraph): we have to check also if the par
7026 is really empty (!size()) for isempty otherwise we do the wrong
7029 2002-05-10 Juergen Vigna <jug@sad.it>
7031 * buffer.[Ch] : The following are only changes to the ert
7032 compatibility read reading old LaTeX layout and font stuff and
7033 convert it to ERTInsets.
7035 * buffer.h: added isErtInset().
7037 * buffer.C (struct ErtComp): add a fromlayout bool to check
7038 if we're inside a LaTeX layout.
7039 (isErtInset): new helper function.
7040 (insertErtContents): look for other ert insets before this one
7041 and insert the contents there, so that we don't have subsequent
7042 ERT insets with nothing between them. This way we create only one
7043 inset with multiple paragraphs. Also check if we don't insert only
7044 spaces ' ' as they are ignored anyway afterwards in the .tex file
7045 so if we have only spaces we will ignore this latex part in the
7047 (parseSingleLyXformat2Token \\layout): better compatibility when
7048 reading layout-latex stuff.
7049 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7051 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7052 stuff after reading the inset only get the information back from
7055 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
7057 * buffer.C (makeLaTeXFile): Put language options after loading babel.
7059 * LaTeXFeatures.C (getBabelOptions): New method.
7061 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7063 * BufferView_pimpl.C (Dispatch): work around missing argument for
7066 2002-05-08 Juergen Vigna <jug@sad.it>
7068 * text.C (leftMargin): handle paragraph leftindent.
7070 * paragraph.C (writeFile): write the new \\leftindent tag.
7071 (validate): handle leftindent code.
7072 (TeXEnvironment): handle paragraphleftindent code again.
7074 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7076 * buffer.C (parseSingleLyXformat2Token): added compatibility code
7077 for paragrap_extra indent code and new token \\leftindent.
7078 (latexParagraphs): handle the leftindent as environment.
7080 * ParameterStruct.h: added leftindent support.
7082 * ParagraphParameters.C (leftIndent): added support functions for
7083 the paragraph left indent.
7085 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7088 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
7090 * paragraph.C (isRightToLeftPar): Return false for a paragraph
7093 * text.C (computeBidiTables): No bidi in insetERT.
7095 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7098 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7100 * version.C.in: pre 5
7102 2002-05-02 José Matos <jamatos@fep.up.pt>
7103 * buffer.C (makeDocBookFile): white space changes, add newline to
7105 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7107 * tabular.C (docBook): fix typo.
7109 2002-05-03 Juergen Vigna <jug@sad.it>
7111 * screen.C (drawFromTo): recalculate the rowpointer if we had a
7112 change in LyXText as we can not be sure it was not freed.
7113 (drawOneRow): remove unused code.
7115 * text.C (drawInset): redo the calculation of the need_break_row as
7116 it could have a row which was already freed.
7117 (draw): look at the return value of drawInset and return false if
7118 it also returned false.
7119 (paintRowText): look at the return value of draw and return false if
7120 it also returned false.
7122 * lyxtext.h: added bool return type to drawInset() and draw() so that
7123 if we have a change in the row so that the rowbreak has to be redone
7124 we abort drawing as it will be called again.
7126 2002-05-02 Juergen Vigna <jug@sad.it>
7128 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7129 a change in the maintext also if we're inside an inset.
7130 (Dispatch): set the cursor again after a break line and after the
7131 screen has been updated as it could be we're in a different row.
7133 * text2.C (fixCursorAfterDelete): check to make sure we don't request
7134 to set the cursor behind the pargraph with > size().
7135 (setCursor): check also for the same paragraph when checking where
7136 to put the cursor if we have a NFR inset.
7138 * buffer.C (parseSingleLyXformat2Token): move the compatibility
7139 parts of layout read further up as it still was in the wrong
7142 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7144 * screen.C (drawFromTo): change sine fullRebreak always return
7147 * buffer.C (parseSingleLyXformat2Token): reindent some
7149 * BufferView_pimpl.C (update): change since fullRebreak always
7151 (Dispatch): git rid of the last hardcoded "Standard"s.
7153 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7155 * text2.[Ch] (fullRebreak): make it return void now that we always
7158 2002-04-30 Juergen Vigna <jug@sad.it>
7160 * buffer.C (parseSingleLyXformat2Token): reset the font before the
7161 ert compatibility check for "latex" layout.
7163 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
7165 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7166 minipages: use col% instead of p%, and also use the current font.
7167 (makeLaTeXFile): Fix use babel condition.
7168 (parseSingleLyXformat2Token): Correct font when reading old floats.
7170 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
7172 * BufferView_pimpl.C (Dispatch): Check that float type exists when
7173 inserting list of floats.
7175 2002-04-25 Herbert Voss <voss@lyx.org>
7177 * MenuBackend.C (expand): don't add the graphics extensions to the
7180 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7182 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7183 non-existing layout, do not complain if it was the default layout
7184 of the original class (bug #342)
7186 2002-04-24 Juergen Vigna <jug@sad.it>
7188 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7189 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7191 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
7193 * buffer.C (getBibkeyList): If using \bibliography, return the
7194 option field with the reference itself. Enables us to provide natbib
7195 support when using \bibliography.
7197 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
7199 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7201 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7202 natbib is provided by the LaTeX class.
7204 2002-04-23 Juergen Vigna <jug@sad.it>
7206 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7209 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7211 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7213 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7215 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7216 ensuremath around textordmasculine, textordfeminine and
7219 2002-04-19 Juergen Vigna <jug@sad.it>
7221 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7222 reinitializing the buffer otherwise row-dimensions may be wrong.
7223 (update): reset also the selection cursors if they do exits otherwise
7224 their x/y positions may be wrong.
7226 * text2.C (cursorDown): don't enter the inset if we came from a row
7227 above and are one row over the inset.
7229 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7230 really leaving an inset.
7232 2002-04-18 Juergen Vigna <jug@sad.it>
7234 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7235 of the selected paragraph does not have the selected layout also if
7238 * text2.C (setLayout): fixed bug which did not change last selected
7241 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7242 changed the read and substituted \\end_float with \\end_inset!
7244 * BufferView_pimpl.C (cursorPrevious):
7245 (cursorNext): fixed to make it work with rows heigher than the work
7246 area without moving the cursor only the draw of the row.
7247 (workAreaMotionNotify): fix jumping over high rows.
7249 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7251 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7254 2002-04-16 Juergen Vigna <jug@sad.it>
7256 * text2.C (setCursor): set also the irow().
7257 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7259 (cursorDown): support for locking an inset if the x_fix value goes
7260 inside it. That way I can transverse insets too with cursor up/down.
7262 * lyxrow.h: added irow helper function same as other (i) functions.
7264 * BufferView_pimpl.C (cursorPrevious):
7265 (cursorNext): fixed for insets!
7267 2002-04-15 Juergen Vigna <jug@sad.it>
7269 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7270 position otherwise it is wrong in some cases.
7272 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7273 inside the inset before the call.
7275 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
7277 * buffer.[Ch] (getBibkeyList): make it const.
7279 2002-04-12 Juergen Vigna <jug@sad.it>
7281 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7283 * text2.C (getCursorX): new helper function
7284 (setCursor): compute also ix_
7285 (setCursorFromCoordinates): set also ix.
7287 * lyxcursor.h: added ix_ and helper functions.
7289 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7291 * buffer.C (insertStringAsLines): dont break paragraph if the this
7292 paragraph is inside an inset which does not permit it!
7294 * text.C (breakParagraph): honor keepempty flag and break the paragraph
7295 also with no chars on this paragraph.
7296 (paintRowText): only paint stuff if it's inside the workarea!
7298 * paragraph.C (breakParagraph): honor keepempty flag and break the
7299 paragraph always below not above.
7301 * BufferView2.C (unlockInset): update the paragraph layout on inset
7302 unlock as we changed paragraph in such a case.
7304 * lyxfind.C (LyXFind): clear the former selection if not found!
7306 * text2.C (insertInset): freeze Undo after setUndo so that it is not
7307 again called in insertChar().
7309 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7310 an inset which uses the whole row!
7311 (rightMargin): ditto.
7312 (insertChar): force a rebreak if we inserted an inset!
7314 2002-03-28 Herbert Voss <voss@lyx.org>
7316 * lyxlength.[Ch]: add inBP() to get the right PS-point
7317 units (BigPoint). With inPixels we have rounding errors
7319 2002-04-11 Juergen Vigna <jug@sad.it>
7321 * text2.C (setCursorFromCoordinates): set iy to the right value.
7322 (setCursor): add check if row->previous exists!
7324 * buffer.C (parseSingleLyXformat2Token): reset font after read of
7325 an old float_type as this was the case in the old code!
7327 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7329 * BufferView2.C (showLockedInsetCursor): use iy
7330 (fitLockedInsetCursor): ditto
7332 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7333 locked insets as there we have the right value now.
7335 * lyxcursor.C: added iy_ variable and iy functions to set to the
7336 baseline of cursor-y of the locked inset.
7338 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7339 (setCursor): fixed for insets which need a full row.
7341 * text.C (rowLastPrintable): don't ignore the last space when before
7342 an inset which needs a full row.
7343 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7344 as last character of a row when before a inset which needs a full row.
7346 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7348 * version.C.in: update date
7350 * text2.C (fullRebreak): try to always return true and see what
7353 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7355 * MenuBackend.C (expand): use Floating::listName
7357 * FloatList.C (FloatList): add listName argument to the built-in
7360 * Floating.[Ch]: add listName member, which is the 'List of XXX'
7361 text associated with the float.
7363 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7365 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7367 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7369 * ShareContainer.h: add a couple of missing typenames.
7371 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
7373 * lyxrc.C (getDescription): use _() correctly rather than N_().
7375 2002-03-28 Herbert Voss <voss@lyx.org>
7377 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7378 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7380 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7382 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7383 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7385 2002-03-29 Juergen Vigna <jug@sad.it>
7387 * lyxfunc.C (dispatch): add a missing fitCursor call.
7389 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7390 it was scrolled by a cursor move, so return the bool status.
7392 * BufferView.C (fitCursor): return the bool flag also to the outside
7393 world as this is needed.
7395 * screen.C (toggleToggle): don't subtract the offset if it's positive.
7397 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7398 call the edit() as it is not needed (and wrong) IMO.
7399 (workAreaButtonPress): set the screen_first variable before evt.
7400 unlock the inset as this may change screen_first and then we have
7401 a wrong y position for the click!
7403 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7405 * MenuBackend.C (expand): another translation that I missed
7407 2002-03-28 Juergen Vigna <jug@sad.it>
7409 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7411 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7413 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7415 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7417 * MenuBackend.C (expand): fix export/view/update when there is no
7420 2002-03-27 Herbert Voss <voss@lyx.org>
7422 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7425 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7427 * bufferview_funcs.C (currentState): only show paragraph number
7428 for is DEVEL_VERSION is set.
7430 * lyxfunc.C (dispatch): put warning in INFO channel
7432 * MenuBackend.C (expand): translate the name of floats
7434 * FloatList.C (FloatList): mark the float names for translation
7436 * converter.C (convert): use LibScriptSearch
7438 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7440 * MenuBackend.C (defaults): fix default menu (we might as well get
7443 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7445 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7448 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7450 * lyxvc.C: reorder includes.
7452 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7454 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7457 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7459 * CutAndPaste.C: change layouts earlier on paste
7460 to avoid crashing when calling getFont()
7462 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7464 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7467 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7469 * WorkArea.C: remove 'Pending' debug message.
7471 * most files: ws cleanup
7473 * buffer.[Ch]: ws changes
7475 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7477 2002-03-21 Juergen Vigna <jug@sad.it>
7479 * tabular.C (SetMultiColumn): collapse also the contents of the
7480 cells and set the last border right. Added a Buffer const * param.
7482 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7484 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7487 2002-03-19 Juergen Vigna <jug@sad.it>
7489 * text2.C (clearSelection): reset also xsel_cache.
7491 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7492 where it needs to be called (John tells us to do so too :)
7493 (selectionLost): reset sel_cache.
7495 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7497 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7499 * text2.C (setCursorIntern): put debuging code in INSETS channel
7501 2002-03-19 André Pönitz <poenitz@gmx.net>
7503 * lyxfunc.C: tiny whitespace change
7505 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7507 * ToolbarDefaults.C (init):
7508 * LyXAction.C (init):
7510 * BufferView_pimpl.C (Dispatch):
7511 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7513 2002-03-19 Allan Rae <rae@lyx.org>
7515 * exporter.C (Export): removeAutoInsets before doing anything else.
7516 While I've just introduced a dependency on BufferView this really is
7517 the best place to clean the buffer otherwise you need to cleanup in
7518 a dozen places before calling export or cleanup in a dozen functions
7521 * converter.C (runLaTeX):
7522 (scanLog): Better handling of removeAutoInsets and screen updates.
7524 * lyxfunc.C (dispatch): small whitespace changes
7526 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7528 * WorkArea.C (C_WorkAreaEvent): return a value.
7529 (event_cb): return 1 if we handled the event, 0 otherwise.
7531 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7533 2002-03-18 Juergen Vigna <jug@sad.it>
7535 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7536 (GetAdditionalWidth): ditto.
7540 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7541 inset if we're there actually (probably not used right now but this
7542 is the direction to go for unifying code).
7543 (paste): disable code to clear the selection.
7545 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7546 inside an InsetText and move the check further up as it is in the
7549 * text2.C (pasteSelection): set a selection over the pasted text.
7551 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7553 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7554 and libgraphics to build on Cygwin.
7556 2002-03-15 Juergen Vigna <jug@sad.it>
7558 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7559 inserting an Inset into the paragraph. I know this is not the best
7560 fix but we already use current_view in CutAndPaste so we will remove
7561 all of it's using at the same time.
7563 * buffer.C (sgmlError): deactivated function till it is rewritten in
7564 the right mode, now it can create problems.
7566 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7567 before accessing it.
7569 2002-03-14 Juergen Vigna <jug@sad.it>
7571 * undo_funcs.C (textHandleUndo): do the right thing when updating
7572 the inset after the undo/redo.
7574 * text2.C (setCursor): just some testcode for #44 not ready yet.
7576 * undo_funcs.C (textHandleUndo): set the next() and previous()
7577 pointers of the paragraph to 0 before deleting otherwise we have
7578 problems with the Paragraph::[destructor].
7580 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7581 on a paragraph insertion.
7583 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7585 * buffer.C (asciiParagraph): use += operator for char append to
7588 * paragraph.C (getFontSettings): compare >= not just >
7589 (highestFontInRange): ditto
7592 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7594 * paragraph.C: change several algorithm to be more appripriate for
7595 the problem domain. This is lookip in FontList and in the InsetList.
7597 2002-03-13 André Pönitz <poenitz@gmx.net>
7600 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7602 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7607 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7609 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7611 * Painter.C (display): anon helper function, adjust code for this
7613 (pixmap): remove function.
7615 * Painter.h: remove private display variable.
7617 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7619 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7621 * WorkArea.[Ch]: remove figinset_canvas cruft.
7623 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7625 * lyxtextclass.C (operator): add one item cache optimization.
7627 * bufferlist.h: doxy changes
7629 * bufferlist.C: ws changes
7631 * DepTable.[Ch] (ext_exist): place const in the right spot.
7633 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7635 (workAreaExpose): call resizeInsets when the with BufferView changes.
7636 (Dispatch): adjust for protectedBlank removal
7637 (specialChar): call updateInset if the insert went ok.
7639 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7640 specialChar instead.
7642 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7644 * BufferView.h: doxy change
7646 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7648 * lyxtextclass.C (operator[]): remove non-const version
7649 (defaultLayout): remove non-const version
7651 2002-03-12 Juergen Vigna <jug@sad.it>
7653 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7654 did resize the LyXText too.
7656 * buffer.C (readLyXformat2): set layout information on newly allocated
7659 * tabular.C (OldFormatRead): set layout information on the paragraph.
7661 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7663 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7665 2002-03-11 Juergen Vigna <jug@sad.it>
7667 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7669 (resizeCurrentBuffer): force also the insets to resize themselfes.
7670 (moveCursorUpdate): fixed up for InsetText.
7672 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7675 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7676 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7677 value of Dialogs::tooltipsEnabled().
7678 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7680 2002-03-08 Juergen Vigna <jug@sad.it>
7682 * BufferView_pimpl.C (updateInset): update inset inside inset also
7683 if it isn't inside theLockingInset().
7685 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7687 * buffer.C (asciiParagraph): redo some of the word and line length
7689 (getLists): look for Caption instead of caption.
7691 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7693 * buffer.C (Buffer): initialize niceFile to true
7696 (makeDocBookFile): make sure niceFile is true on exit
7698 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7700 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7702 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7704 * LyXSendto.C: remove.
7705 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7706 * lyx_gui.C: remove now-redundant comment.
7707 * ColorHandler.h: remove forward declaration of class WorkArea.
7708 * lyxfunc.C: remove #include "WorkArea.h".
7710 2002-03-07 Juergen Vigna <jug@sad.it>
7712 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7713 got moved away with the DEPM and also set the inset_owner always
7714 right which before could have been omitted.
7716 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7718 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7719 wanted layout is not found.
7721 2002-03-07 Juergen Vigna <jug@sad.it>
7723 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7725 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7727 * paragraph.C (breakParagraph): use default layout not layout of
7729 (Paragraph): clear ParagraphParameters.
7731 2002-03-06 Juergen Vigna <jug@sad.it>
7733 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7734 otherwise it would not be a valid lenght. Fixed a special case in
7735 the minipage compatibility read where we end the document with a
7738 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7739 was set as it could be 0 for InsetTexts first entry.
7741 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7743 * paragraph.C (writeFile): if layout is empty write out
7744 defaultLayoutName().
7746 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7747 file without named layout we set layout to defaultLayoutName().
7749 2002-03-06 Juergen Vigna <jug@sad.it>
7751 * CutAndPaste.C (copySelection): set layout for new paragraph.
7753 * text.C (prepareToPrint): leave ERT inset left aligned
7754 (leftMargin): don't indent paragraphs inside ERT insets
7756 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7758 * paragraph.C (breakParagraph): dont call clear do the work manually
7760 * paragraph.[Ch] (clear): remove function
7762 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7764 * paragraph.C (Paragraph): dont call clear, the work has already
7767 * lyxtextclass.C (operator): assert if n is empty
7769 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7770 work manually instead.
7772 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7774 * BufferView_pimpl.C: protect selectionLost against text == 0
7776 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7778 * text.C (breakParagraph): fix a setting layout to '0' problem.
7780 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7782 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7783 final location of file, for the included files, and graphics.
7785 2002-03-05 Juergen Vigna <jug@sad.it>
7787 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7789 2002-03-04 Juergen Vigna <jug@sad.it>
7791 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7793 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7794 last column of multicolumn cells.
7795 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7797 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7799 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7800 file if it doesn't go to a temporary file.
7802 * buffer.C (sgmlOpenTag):
7803 (sgmlCloseTag): remove extra newline insertion.
7805 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7807 * text.C (getRowNearY): comment out debug msg
7809 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7811 * text2.C: first -> first_y
7813 * text.C (getRowNearY): add some attemts at a possible
7814 optimization, not working.
7816 * tabular.[Ch]: add BufferParams to several function so that newly
7817 created paragraph can be initialized to he default layotu for the
7820 * tabular-old.C (ReadOld): add buf->params to call of Init
7822 * screen.C: rename text->first to text->first_y
7824 * paragraph.C (breakParagraph): always set layout in the broken
7827 * lyxtextclass.C (Read): remove lowercase
7830 (delete_layout): ditto
7832 * lyxtext.h: rename first -> first_y
7834 * lyxlayout.C (Read): remove lowercase
7837 (obsoleted_by): ditto
7839 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7841 * buffer.C (insertErtContents): add params are to InsetERT
7842 (parseSingleLyXformat2Token): add code to check if a paragraphs
7843 layout really exist.
7844 (parseSingleLyXformat2Token): add params to several inset
7846 (asciiParagraph): remove lowercase, do the layout comparisons with
7849 * BufferView_pimpl.C (cursorNext): first -> first_y
7850 (resizeCurrentBuffer): first -> first_y
7851 (updateScrollbar): first -> first_y
7852 (scrollCB): first -> first_y
7853 (workAreaMotionNotify): first -> first_y
7854 (workAreaButtonPress): first -> first_y
7855 (checkInsetHit): first -> first_y
7856 (cursorPrevious): first -> first_y
7857 (cursorNext): first -> first_y
7858 (Dispatch): add buffer_->params to severl inset contructors
7860 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7862 * lyxlayout.C (Read): remove some debug info that I forgot.
7864 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7865 clean up the code slightly.
7866 (makeLinuxDocFile): ditto
7867 (makeDocBookFile): ditto
7869 * text2.C: layout as string
7871 * text.C: layout as string
7873 * paragraph_pimpl.C: layout as string
7875 * paragraph.[Ch]: layout as string
7877 * lyxtextclasslist.[Ch]: layout as string
7879 * lyxtextclass.[Ch]: layout as string
7881 * lyxtext.h: layout as string
7883 * lyxlayout.[Ch]: layout as string
7885 * lyx_cb.C: layout as string
7887 * bufferview_funcs.C: layout as string
7889 * bufferparams.C: layout as string
7891 * buffer.C: layout as string
7893 * LyXView.[Ch]: layout as string
7895 * LaTeXFeatures.[Ch]: layout as string
7897 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7899 * BufferView_pimpl.C: change current_layout to string, remove
7904 (workAreaButtonRelease): layout as string
7906 * BufferView2.C (unlockInset): adjust
7908 * vspace.C (asLatexCommand): use an explict temp variable.
7910 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7912 * Makefile.am: use FRONTEND_*
7914 2002-03-01 Juergen Vigna <jug@sad.it>
7916 * tabular.C (SetWidthOfMulticolCell): changed to something better
7917 I hope but still work in progress.
7918 (recalculateMulticolumnsOfColumn): renamed function from
7919 recalculateMulticolCells as it is more appropriate now.
7920 (SetWidthOfCell): calculate multicols better.
7922 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7924 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7926 * lyxfunc.C (processKeySym): print sequence also if it is
7927 `deleted' (complete)
7929 * kbsequence.C (print): print sequence even if it is deleted
7930 (complete would be a better word, actually).
7932 * lyxfunc.C (dispatch): print complete options after a prefix key
7934 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7936 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7938 * text2.C (setCharFont): eliminate setCharFont code duplication.
7940 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7942 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7943 LFUN_TABULAR_FEATURE (bug #177)
7945 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7947 * Makefile.am: remove figure.h
7949 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7951 * Bufferview_pimpl.C:
7963 * text2.C: remove #include "lyx_gui_misc.h".
7965 * LaTeX.C: added #include <cstdio>
7967 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7969 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7970 that the paragraph following this one can have.
7972 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7974 * vspace.C (asLatexCommand): fix bogus gcc warning
7976 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7978 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7980 * text2.C (setLayout): get rid of redundant code
7982 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7984 * text2.C (incDepth): make sure depth cannot be increased beyond
7987 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7989 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7990 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7992 * PainterBase.h (image):
7993 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7996 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8000 * BufferView_pimpl.C:
8001 * BufferView_pimpl.h:
8021 * sp_spell.C: remove fig inset, and the crap house of
8022 cards that follows it
8024 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
8030 * nt_defines.h: move .h into support/
8032 * vms_defines.h: remove
8034 * WorkArea.C: add space in debug output
8038 * buffer.C: add WITH_WARNINGS
8042 * bufferlist.C: s/retrive/retrieve/, add docs
8053 * lyxgui.C: add ID to X error handler
8055 * lyxtestclass.c: fix typo
8057 2002-02-26 Juergen Vigna <jug@sad.it>
8059 * tabular_funcs.C (write_attribute): changed so that some default
8060 attributes are not written at all.
8061 (getTokenValue): set default values before trying to read the
8062 value so we have the return value always set as default if we don't
8063 find the token we search for.
8065 * tabular.C (Write): write bools as bools not as strings!
8067 2002-02-22 Juergen Vigna <jug@sad.it>
8069 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8070 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8072 * text.C (leftMargin): don't add an indent for paragraphs inside
8073 tabular cells (fix #208).
8075 2002-02-21 José Matos <jamatos@fep.up.pt>
8077 * tabular.C (docBook): fixed support for long tables.
8079 2002-02-20 Juergen Vigna <jug@sad.it>
8081 * text2.C (getFont): get the drawing font of the Inset if this
8082 paragraph is inside an inset (only important for InsetERT for now).
8084 * buffer.C (insertErtContents): use new lanugage params in ERT
8087 * CutAndPaste.C: commenting out seemingly uneeded code.
8089 2002-02-19 Allan Rae <rae@lyx.org>
8091 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8092 Iterators might be simple to use but they also get invalidated.
8093 (removeAutoInsets): renamed saved cursor tracking variables and added
8094 some comments to clarify what everything does.
8096 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
8103 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8104 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8107 * vc-backend.h: remove #include "support/syscall.h"
8111 * converter.C: rearrange #includes in Lars' approved fashion.
8113 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8114 forward declare class Timeout in the header file.
8116 * XFormsView.C: changes due to the above.
8118 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8121 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8122 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8124 2002-02-18 José Matos <jamatos@fep.up.pt>
8126 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8129 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8131 * a lot of small ws changes
8132 * add a lot of using std::XXX
8133 * use std construcs some places where approp.
8134 * use some exisint stuff from lyxfunctional where approp.
8135 * Make file changes to use partial linking (lets test this now...)
8137 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8141 remove #include "support/syscontr.h" as it's redundant. Always has been.
8149 change Systemcalls::System to Systemcalls::Wait and
8150 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8151 No change of functionality, just reflects the stripped down Systemcalls
8154 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
8156 * debug.[Ch]: add a GRAPHICS type to the enum.
8158 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8160 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8162 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8165 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8167 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8168 match the changes below.
8170 * text2.C (toggleInset): if there is not editable inset at cursor
8171 position, try to see if cursor is _inside_ a collapsable inset
8174 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8176 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8177 document menu has a nice checkbox
8179 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8181 * lyxlength.C (asLatexString): change PW to output as percent of
8184 * lengthcommon.C: change '%' to 't%'
8186 * lyxfunc.C (dispatch): a few comments from Martin
8188 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
8192 * BufferView_pimpl.h:
8193 * BufferView_pimpl.C: clear our selection when X tells us we've lost
8196 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8198 * vspace.C (inPixels): fix compiler warning
8200 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8202 * lyxfunc.C (getStatus): fix status message for disabled commands.
8204 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
8206 * BufferView_pimpl.C: fix crash on close buffer
8207 during selection (#227)
8209 2002-01-27 Herbert Voss <voss@lyx.org>
8211 * buffer.C: link old Figure to new graphic inset
8213 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
8215 * FontLoader.C (getFontinfo): Change the latex font names in order
8216 to match the names of type1inst.
8218 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8220 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8222 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8225 (remove_files_with_extension): ditto
8226 (remove_file): ditto
8229 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8230 document is smaller than the work area height. Do not initialize
8231 static variables to 0.
8233 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8235 * lyx_gui.C (init): give the toolbar tooltips a normal font.
8237 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8238 LFUN_LAYOUT_PARAGRAPHS.
8240 * tabular.C (GetCellFromInset): new method. Finds an inset in a
8241 tabular. It is possible to provide a possible cell, which will
8242 typically be the actcell from the corresponding insettabular
8244 * lyxfunc.C (getStatus): small cleanup; disable
8245 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8248 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8250 * tabular.C (Validate): remove broken optimization (fixes bug #201)
8252 * paragraph.C (startTeXParParams):
8253 (endTeXParParams): new methods. The LaTeX code to
8254 start/end paragraph formatting
8255 (simpleTeXOnePar): call startTeXParParams also when paragraph is
8256 empty (fixes bug #200)
8258 * vspace.C (inPixels): adapt to the change below
8259 (inPixels): [later] more cleanups (remove unused variables)
8261 * lyxlength.C (inPixels): change to use a width and a height as
8264 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8266 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8267 Replaced with \paperwidth
8269 * DepTable.C (insert): add std:: qualifier
8271 2002-01-18 Allan Rae <rae@lyx.org>
8273 * text2.C (removeRow): add comment. Should other refresh_?? vars be
8276 * text.C (drawInset): Turned out I didn't know enough about how
8277 rebreaking worked. This fixes most of the redraw problems. I see
8278 an occasional cursor trail when a line is broken now and the cursor
8279 placement can seem out by a few pixels also after a rebreak.
8281 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8283 * buffer.C (parseSingleLyXformat2Token): update because minipage
8284 width is now a LyXLength
8286 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8288 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8291 2002-01-17 Juergen Vigna <jug@sad.it>
8293 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8295 * BufferView2.C (lockInset): call edit() so that theLockingInset()
8296 is set correctly and the inset is updated correctly.
8298 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8300 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8301 the beginning of the loop.
8303 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
8305 * lyxrc.C: improve help for use_scalable_fonts
8307 2002-01-17 Allan Rae <rae@lyx.org>
8309 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8311 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8313 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8314 make sure to set their inset_owner to the right value (bug #171)
8316 2001-12-12 Ben Stanley <bds02@uow.edu.au>
8319 * DepTable.C: Implement mtime checking to reduce time spent doing
8322 2002-01-16 Juergen Vigna <jug@sad.it>
8324 * tabular.C (GetAdditionalHeight): one of error fixed.
8326 * lyxrc.C (output): small fix in writing use_pspell.
8328 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
8330 * sp_base.h: #include LString.h
8332 2002-01-16 Allan Rae <rae@lyx.org>
8334 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
8335 Can someone check this please?
8337 * text.C (drawInset): It was possible that p.row would be removed by
8338 breakAgainOneRow upsetting a few other settings. There may be another
8339 small tweak possible by setting need_break_row = 0 when p.row has been
8340 removed but I don't know enough about the logic here.
8342 2002-01-15 Allan Rae <rae@lyx.org>
8344 * text.C (insertChar): removed conditional truism.
8346 * BufferView2.C (removeAutoInsets): More tweaks.
8347 cur_par_prev could be a stray pointer. Check for trailing empty line
8348 in case last line was cur_par and only had an error inset on it.
8350 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8352 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8355 * vc-backend.C (most methods):
8356 * exporter.C (Export):
8357 * converter.C (convert):
8359 * LyXSendto.C (SendtoApplyCB):
8360 * lyxfunc.C (dispatch):
8364 * lyx_cb.C (AutoSave):
8366 * BufferView_pimpl.C (MenuInsertLyXFile):
8367 * buffer.C (runChktex): use Buffer::filePath().
8369 * buffer.h: rename filename to filename_; rename filepath to
8370 filepath_ and make it private
8371 (filePath): new method
8373 * buffer.C (writeFile): use fileName()
8376 * lyx_main.C (init): fix starting of LyX when the binary is a
8377 link from so,ewhere else.
8379 * minibuffer.C: include <cctype> for isprint
8381 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8383 * buffer.C (parseSingleLyXformat2Token): changes associated with the
8384 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8385 name clash with InsetCollapsable's width function.
8387 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8389 * lastfiles.C: include <iterator>
8391 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8393 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8396 * buffer.C (makeLaTeXFile): ditto.
8397 Also make loop operation more transparent.
8399 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
8401 * ToolbarDefaults.C: remove trailing comma closing namespace.
8403 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8405 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8408 * trans.C (Load): comment out unused variable, allowed.
8410 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8412 * minibuffer.[Ch] (append_char): new method to recieve input from the
8413 drop-down completion browser. If a key was pressed, then recieve this
8414 char and append it to the existing string.
8415 (peek_event): modify the positioning data passed to the completion
8416 browser so that it can be placed above the minibuffer rather than below.
8417 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8419 * LyXAction.C (init): alloe error-next for readonly documents.
8421 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8424 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8426 * bufferlist.C (readFile): create the buffer _after_ checking that
8429 * lyxfunc.C (verboseDispatch): fix handling of arguments
8431 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8433 * lyxrc.C: use string::erase() instead of initializing to "".
8436 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8438 * BufferView_pimpl.h:
8439 * BufferView_pimpl.C:
8442 * text2.C: tell X when we have made a selection for copying
8444 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8446 * BufferView_pimpl.C (MenuInsertLyXFile):
8447 * lyxfunc.C (menuNew):
8449 (doImport): add shortcuts to directory buttons
8451 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8454 * lyxfunc.C (setStatusMessage):
8455 (getStatusMessage): new methods
8456 (getStatus):use setStatusMessage instead of setErrorMessage
8457 (dispatch): when function is disabled, set error message here
8458 [instead of in getStatus previously]
8460 * BufferView_pimpl.C (workAreaButtonRelease): update
8461 toolbar/menubar here too.
8463 2002-01-13 Allan Rae <rae@lyx.org>
8465 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8466 Now seems indestructible. Remaining task is to audit all other
8467 code affected by deleteEmptyParagraphMechanism. One small quirk
8468 left is that an empty document with an error in the preamble can
8469 be made to report an error but no error box appears. I don't know
8471 (removeAutoInsets): Improved comments.
8473 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8476 * Thesaurus.C: update for Aiksaurus 0.14
8478 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8480 * text2.C (firstParagraph): removed member function, all uses
8481 replaces with ownerParagraph
8482 (redoParagraphs): here
8484 (toggleAppendix): here
8485 * BufferView2.C (insertErrors): here
8486 (setCursorFromRow): here
8488 2002-01-13 Allan Rae <rae@lyx.org>
8490 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8491 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8492 There is still a way to segfault this although you may have to do this
8493 multiple times: Have an InsetERT with an unknown command in it.
8494 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8495 <down-arrow>, <Enter> again, View->DVI, BANG!
8497 * text2.C (setCursor):
8498 (deleteEmptyParagraphMechanism):
8499 * lyxtext.h (setCursor):
8500 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8501 Making use of the return value may help fix other bugs.
8503 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8505 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8507 * LyXView.C (updateMenubar): call MenuBar::update here
8508 (updateToolbar): but not here
8509 (showState): do not update toolbar/menubar
8511 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8512 should need to care about that.
8514 * lyxfunc.C (verboseDispatch): simplify a bit
8515 (getStatus): have a version which takes a pseudoaction, and
8516 another which requires a (kb_action,string).
8518 * LyXAction.C (retrieveActionArg): make it work also when action
8519 is not a pseudo-action.
8520 (getActionName): simplify a bit
8523 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8525 * lyxfunc.C (verboseDispatch): new families of methods with
8526 several ways to specify a command and a bool to indicate whether
8527 the command name and shortcut should be displayed in minibuffer
8528 (eventually, we could extend that to a finer bitmask like
8529 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8530 (dispatch): the pristine dispatch command which just, well,
8531 dispatchs! Note it still sets its result to minibuffer; I'm not
8534 * lyxfunc.h: remove setHintMessage
8536 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8538 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8540 * BufferView_pimpl.C (specialChar): delete new inset if we have
8541 not been able to insert it.
8543 * kbmap.C: revert to using int instead of kb_action, since all we
8544 are dealing with is pseudo-actions.
8546 * LyXAction.C (searchActionArg): change to return int instead of
8547 kb_action, since the result is a pseudoaction.
8549 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8551 * buffer.C (insertErtContents): Fix (partially) the font bug.
8553 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8555 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8556 as the other one is broken on my machine!
8558 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8561 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8563 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8565 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8566 reflect their actual use. Provide compatibility code for older lyxrc
8569 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8571 change names of popup font variables in line with the changes to lyxrc.C
8573 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8575 * buffer.C (asciiParagraph): avoid outputing a word twice after
8578 * lyxrc.C (getDescription): document that document_path and
8579 template_path can be empty.
8581 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8583 * LaTeXFeatures.C (getMacros):
8584 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8586 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8588 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8590 (getPackages): rename feature "floats" to "float". Use an array to
8591 iterate over 'simple' features (i.e. just a \usepackage). Add
8592 handling of "amsmath" (renamed from "amsstyle").
8594 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8596 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8599 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8601 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8602 FuncStaus::FuncStatus & FuncStaus::some_method().
8604 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8606 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8607 of the func_satus stuff. Edited and massaged in various ways by
8610 * lyxfunc.C (getStatus): use FuncStatus
8612 2002-01-08 Juergen Vigna <jug@sad.it>
8614 * text.C (nextBreakPoint): use function Inset::isChar().
8616 * paragraph.C (TeXOnePar): use function
8617 Inset::forceDefaultParagraphs.
8619 * buffer.C (latexParagraphs): use function
8620 Inset::forceDefaultParagraphs.
8622 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8624 * lyx_gui.C (init): set the style of the menu popups to
8625 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8627 2002-01-07 Juergen Vigna <jug@sad.it>
8629 * text.C (setHeightOfRow): small fix
8630 (prepareToPrint): don't look at alignment if we don't have the place
8633 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8635 * box.C: New file. Move the Box methods and functions out of box.h,
8636 following Lars' suggestion.
8638 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8640 * box.h: #include "support/LOstream.h", needed for inlined function.
8643 * lyxtextclasslist.C: added some using std declarations.
8645 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8647 * box.h: make signed dimensions to allow insets wider than
8648 the screen (bug #162)
8650 * BufferView_pimpl.C: add some insetHit debug
8652 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8654 * vc-backend.C: add FIXME
8656 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8658 * lyxfunc.C (getStatus): enable code for showing math font status
8661 2002-01-07 Juergen Vigna <jug@sad.it>
8663 * text.C (nextBreakPoint): removed debug output not needed anymore.
8665 2002-01-06 Juergen Vigna <jug@sad.it>
8667 * text.C (nextBreakPoint): fixed up this function we had this bug
8668 since ever but now hopefully we break row better.
8669 (insertChar): we have to check if an inset is the next char as it
8670 could now happen that a large inset is causing a break.
8672 2002-01-05 Juergen Vigna <jug@sad.it>
8674 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8675 if it doesn't like to be drawed.
8677 2002-01-04 Juergen Vigna <jug@sad.it>
8679 * BufferView2.C (lockInset): forgot to set a cursor.
8681 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8683 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8688 * form_maths_panel.C:
8689 * form_maths_panel.h:
8690 * form_maths_panel.fd: implemented sub- and super- buttons in math
8693 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8694 (or ^ space) to be used as in TeX (req'd by André).
8696 * lyxfunc.C: Allow ^ and _ again to be used both as
8697 super/subscript (mathed) and as themselves (in text).
8699 2002-01-03 Allan Rae <rae@lyx.org>
8701 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8702 "LyX" or the filename of the current buffer if it has one. This is a
8703 modified form of John Levon's patch.
8705 * XFormsView.C (setWindowTitle): also set icon title.
8707 * LyXView.h (setWindowTitle): signature changed.
8708 * XFormsView.h (setWindowTitle): ditto.
8710 2002-01-02 Juergen Vigna <jug@sad.it>
8712 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8714 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8716 * screen.C (topCursorVisible): introduce a temp var for
8717 text->cursor.row(), handle the case where this row is null. (kindo
8720 * text2.C (setCursor): add a couple of asserts.
8722 * paragraph.h (inset_iterator): add -> operator
8724 * paragraph.[Ch] (autoDeleteInsets): remove member function
8726 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8727 cursor pos correctly and handle inset deletion by itself.
8728 (insertErrors): move iterator declaration out of for expression
8730 * lyxtextclass.C: add <algorithm>
8732 * Makefile.am: added the new files to sources, removed layout.C
8734 * layout.C: removed file
8736 * layout.h: remove LYX_DUMMY_LAYOUT
8738 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8742 * lyxtextclass.[Ch]:
8743 * lyxtextclasslist.[Ch]: new files
8745 * include order changes to a lot of files, also changes because of
8748 2001-12-27 Juergen Vigna <jug@sad.it>
8750 * buffer.C (asciiParagraph): more fixes.
8752 * tabular.C (ascii): make ascii export support export of only the
8753 data separated by a column-delimiter.
8754 (ascii): better support for ascii export.
8756 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8758 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8760 * tabular_funcs.C: use a "using std::getline" instead of the
8761 previous fix from Angus (necessary for cxx + lyxstring)
8763 2001-12-24 Juergen Vigna <jug@sad.it>
8765 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8767 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8768 problems. First check a minipage also if we have some ert-contents
8769 (not only on par->size(), second set the right depth of the paragraph
8770 on the relink to the root-paragraph-list!
8772 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8773 which then did not anymore update the main paragraphs on undo/redo!
8775 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8777 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8778 code. Support all font-changing funcs (even those which are not in
8779 menu currently). Support for reporting font settings in
8780 mathed (disabled until Andre provides a function on mathed's side).
8782 * func_status.h (toggle): small helper function to set toggle
8785 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8787 * tabular_funcs.C: getline -> std::getline
8789 2001-12-21 Juergen Vigna <jug@sad.it>
8791 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8792 accessed and could be 0 (I couldn't generate this but it seems
8795 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8797 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8798 * tabular_funcs.h: here and include iosfwd
8800 2001-12-20 Juergen Vigna <jug@sad.it>
8802 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8803 inside inset but undo_par was.
8805 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8807 * Thesaurus.C: always include <config.h> in sources.
8811 * box.h: do not include <config.h> in header files
8813 * text.C (paintLastRow): remove unused variable
8815 * text.C (transformChar):
8817 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8820 * font.C (width): rewrite to use uppercase() instead of
8823 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8825 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8827 * lyxfind.C: clean up of find failure position change
8829 2001-12-20 Juergen Vigna <jug@sad.it>
8831 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8833 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8834 (TeXRow): added to LaTeX a single tabular row.
8835 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8836 (Latex): simplified and finally good LT-h/f support.
8837 (various_functions): just small adaptions for LT-h/f support.
8839 * tabular_funcs.[hC]: added and moved here all not classfunctions
8842 2001-12-19 Juergen Vigna <jug@sad.it>
8844 * tabular.[Ch]: better support for longtabular options (not finished
8847 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8849 * text.C (paintLastRow): use the label font instead of the font of
8850 the last character to compute the size of *_BOX. This makes more
8851 sense and avoids a crash with empty paragraphs.
8852 Use Painter::rectangle to draw EMPTY_BOX.
8854 2001-12-19 Juergen Vigna <jug@sad.it>
8856 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8857 the paragraphs if the replaced paragraph is not the first one!
8858 Tried to delete not used paragraphs but does not work yet so for
8859 now it's inside #ifdef's and by default off!
8861 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8863 * MenuBackend.C: include "lyx_main.h" instead of declaring
8864 lastfiles (actually was declared as LastFiles* instead of a
8867 2001-12-17 Juergen Vigna <jug@sad.it>
8869 * tabular.C (AppendColumn): applied John's fix
8871 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8875 * BufferView_pimpl.h:
8876 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8879 * box.h: new start of class for above
8881 * lyxfunc.C: ignore space-only minibuffer dispatches.
8882 Show the command name when it doesn't exist
8884 * minibuffer.C: don't add empty lines to the history
8886 * minibuffer.C: add a space on dropdown completion
8888 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8890 * text.C: fix line above/below drawing in insets
8892 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8894 * lyxlength.C (LyXLength): Initialize private variables.
8896 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8898 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8899 when inserting error insets.
8901 2001-12-13 Juergen Vigna <jug@sad.it>
8903 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8904 actually sometimes the before-paragraph.
8905 (setUndo): don't clear the redostack if we're not actually undoing!
8907 2001-12-06 Juergen Vigna <jug@sad.it>
8909 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8910 and fixed redoing of main paragraph, so we can use it now ;)
8912 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8914 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8916 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8919 2001-12-13 André Pönitz <poenitz@gmx.net>
8922 * undo_func.C: minor cleanup
8924 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8926 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8927 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8928 font in urw-fonts package which is marked as -urw-fontspecific and
8929 does not work (incidentally, changing the encoding in the
8930 fonts.dir of this package to -adobe-fontspecific fixes the
8933 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8934 is a crash when undoing first paragraph (Juergen, please take a
8935 look). THis does not mean the undo fix is wrong, just that it
8938 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8939 the (Paragraph*) version when needed instead of duplicating the
8942 * text.C (workWidth): use Inset::parOwner to find out where the
8943 inset has been inserted. This is a huge performance gain for large
8944 documents with lots of insets. If Inset::parOwner is not set, fall
8945 back on the brute force method
8947 * paragraph_pimpl.C (insertInset):
8948 * paragraph.C (Paragraph):
8949 (cutIntoMinibuffer): set parOwner of insets when
8950 inserting/removing them
8952 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8954 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8960 * mathed/formulabase.C:
8961 * mathed/math_cursor.[Ch]:
8962 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8965 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8967 * lyxlength.[Ch] (operator!=): new function
8969 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8971 * text.C (workWidth): use Inset::parOwner to find out where the
8972 inset has been inserted. This is a huge performance gain for large
8973 documents with lots of insets. If Inset::parOwner is not set, fall
8974 back on the brute force method
8976 * paragraph_pimpl.C (insertInset):
8977 * paragraph.C (Paragraph):
8978 (cutIntoMinibuffer): set parOwner of insets when
8979 inserting/removing them
8981 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8983 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8985 * tabular-old.C (getTokenValue):
8986 * tabular.C (getTokenValue):
8987 (write_attribute): new versions for LyXLength
8988 (everywhere): adjust the use of widths
8990 * tabular.h: change the type of widths from string to LyXLength
8992 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8994 * paragraph.C: fixed missing line number count when exporting
8995 Environments to LaTeX file
8997 * buffer.C: added informational message for checking line numbers.
8999 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9001 * text2.C (deleteEmptyParagraphMechanism): if there is only one
9002 paragraph, do the 'double space' part, but not the 'empty
9005 * text.C (workWidth): small optimization
9006 (getLengthMarkerHeight): use minimal size for negative lengths.
9008 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
9010 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9012 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9014 2001-12-11 André Pönitz <poenitz@gmx.net>
9017 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9019 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9021 * text2.C: keep selection on a setFont()
9023 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9025 * lyx_cb.C: another bv->text misuse, from insert label
9027 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9030 * kbsequence.C: re-instate nmodifier mask
9032 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
9034 * lyx_main.h: make lyxGUI private.
9036 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
9038 * lyxfind.C: place the cursor correctly on failed search
9040 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9042 * text.C (getLengthMarkerHeight): for small heights, the arrows
9043 are not always on top/bottom of the text
9044 (drawLengthMarker): smaller arrows; take the left margin in
9045 account; draw also vfills.
9047 (paintLastRow): remove special code for vfill and standard spaces,
9048 since everything is handled in drawLengthMarker now.
9050 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9052 * buffer.C (insertErtContents): try to handle font and language
9053 interaction a bit better.g
9055 * ColorHandler.C (updateColor): change the hash to cover the whole
9056 LColor enum, ws cleanup
9057 (getGCLinepars): ditto
9058 (getGCLinepars): only lookup in the linecache once.
9060 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
9062 * iterators.C (operator++): Make the iterator more robust
9064 * BufferView2.C (removeAutoInsets): Use paragraph iterators
9066 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9068 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9071 * text.C: better added space drawing
9073 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9076 * BufferView2.C: fix layout combo update on inset unlock
9078 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9080 * Makefile.am: don't compile unused files
9082 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9086 * LyXAction.C: remove old LFUN_LAYOUTNO
9088 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9090 * paragraph_pimpl.h:
9091 * paragraph_pimpl.C: isTextAt() doesn't need font param
9093 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9096 * lyxlex.C: little cleanup
9098 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
9100 * BufferView_pimpl.C: fix insertAscii for insets
9102 2001-12-05 Juergen Vigna <jug@sad.it>
9104 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9105 set the right font on the "multi" paragraph paste!
9107 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9113 * lyxlength.C: remove out-commented code.
9129 * vc-backend.C: change "while(" to "while ("
9131 * lyxlength.[Ch]: add zero function to check if length is zero or
9133 * lyxgluelength.C: use it
9135 2001-12-05 Allan Rae <rae@lyx.org>
9137 * lyxlength.C: Attempted a fix for the abs(int) header selection.
9138 Works for 2.95.3, from what I understand of Garst's reports this should
9139 work for other g++ versions. We're screwed if the abs(int) definition
9140 changed between bugfix releases of gcc.
9142 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9144 * text.C: fix chapter label offset !
9146 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
9149 * text.C: fix hfill at end of line, clean up
9151 2001-12-04 Juergen Vigna <jug@sad.it>
9153 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9154 that we force an update of the inset and it's owners if neccessary.
9156 2001-12-03 Juergen Vigna <jug@sad.it>
9158 * text.C (rowLast): simplified code
9160 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
9162 * lyxfunc.C: fix show options on timeout
9164 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9166 * screen.C (topCursorVisible): scroll half a page when the cursor
9167 reached top of bottom of screen
9169 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
9171 * minibuffer.C: deactivate on loss of focus
9173 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9175 * vspace.[Ch] (operator!=): add operator.
9177 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
9179 * BufferView_pimpl.C: refuse to open an inset when
9180 there's a selection.
9182 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
9184 * BufferView_pimpl.C: allow to click on RHS of full row insets
9186 2001-11-30 Juergen Vigna <jug@sad.it>
9188 * tabular.C (LyXTabular): add a same_id to set the same id's in the
9189 insets for undo reasons.
9191 2001-11-28 André Pönitz <poenitz@gmx.net>
9193 * vspace.[Ch]: cosmetical changes
9195 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9205 * kbsequence.C: part re-write of old kb code
9208 * WorkArea.C: remove Lgb_bug_find_hack
9210 2001-11-30 José Matos <jamatos@fep.up.pt>
9212 * buffer.C (makeDocBookFile): add a comment to point a hack.
9213 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9214 Fixed a double write of labels.
9216 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9219 * LaTeX.h Fixed bug in LaTeX class where it would not
9220 re-run latex if no depfiles were changed, but the .dvi was removed.
9222 2001-11-28 André Pönitz <poenitz@gmx.net>
9224 * all the files from the change on 2001/11/26:
9225 use lyx::layout_type instead of LyXTextClass::size_type
9226 use lyx::textclass_type instead of LyXTextClassList::size_type
9228 2001-11-29 Juergen Vigna <jug@sad.it>
9230 * text.C: added support for paragraph::isFreeSpacing()
9232 * buffer.C: same as above
9234 * paragraph.h: inserted isFreeSpacing() function to enable
9235 FreeSpacing inside InsetERT.
9237 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9238 of the paragraph's in the cut/copy buffer to 0!
9240 * text2.C (removeRow): remove the assert as it can!
9242 * lyxtext.h: added helper function firstRow returning firstrow and
9243 made firstrow private again.
9245 * BufferView2.C (lockInset): don't relock if we're already locked!
9247 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9249 (removeRow): added Assert::(firstrow)
9251 * debug.C: forgot to add INSETTEXT here.
9253 2001-11-28 Juergen Vigna <jug@sad.it>
9255 * sp_spell.C (initialize): changed error text to more general
9256 spellchecker command use (not only ispell!)
9258 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9260 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9262 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9264 * vspace.C: initialise lyxgluelength on failure
9266 2001-11-28 Allan Rae <rae@lyx.org>
9268 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9269 declaration & definition that looks like a function declaration.
9271 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9273 * BufferView2.C (copy):
9274 (copyEnvironment): do not clear the selection when doing a copy.
9276 * text.C (paintFirstRow): compilation fix
9278 2001-11-27 Ben Stanley <bds02@uow.edu.au>
9280 * tabular.C (Latex): correct line count when writing latex.
9282 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
9284 * paragraph_pimpl.h:
9285 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9288 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
9292 * LColor.C: change vfillline->added_space
9294 * text.C: add markers and text for added space
9296 * vspace.C: fix comment
9298 2001-11-28 André Pönitz <poenitz@gmx.net>
9300 * paragraph.C: whitespace changes
9301 * all the other files from the change on 2001/11/26:
9302 change *::pos_type into lyx::pos_type
9304 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
9306 * buffer.C (parseSingleLyXformat2Token): Set the language to the
9307 language of the document when inserting error insets.
9309 2001-11-26 André Pönitz <poenitz@gmx.net>
9311 * BufferView_pimpl.[Ch]:
9319 * paragraph_pimpl.[Ch]:
9322 * text2.C: reduce header dependencies, introduce type for positions
9324 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9326 * <various>: change to use Alert.h
9328 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
9330 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9331 when encountering an unknown token.
9332 (readLyXformat2): Show an error message if there were unknown tokens.
9334 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
9337 * BufferView_pimpl.C:
9341 * text2.C: use par->isInset()
9343 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
9345 * paragraph_pimpl.h:
9346 * paragraph_pimpl.C: cleanup
9348 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9350 * text2.C (removeRow):
9351 * text.C (setHeightOfRow): remove useless (and costly) call to
9354 2001-11-20 Allan Rae <rae@lyx.org>
9356 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9357 Now need Inset*::checkInsertChar() to return true for appropriate
9358 cases so that the characters in the minibuffer will actually be
9361 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
9363 * text.C: change the order of the includes.
9364 (workWidth): initialize it at once.
9365 (workWidth): make maxw unsigned
9366 (setHeightOfRow): remove unused variable (inset)
9367 (selectSelectedWord): remove unused variable (inset)
9368 (paintRowText): fix drawing of hfill characters, and clean up a bit.
9370 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9372 * lyxserver.C (emergencyCleanup): do not try to close pipes if
9373 server is not running.
9375 (closeConnection): add debug info when server is disabled.
9377 * ColorHandler.C (getGCForeground): send debug message to GUI
9380 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9382 * kbmap.C (bind): modify because return conventions of
9383 kb_sequence::parse have changed.
9385 * kbsequence.C (parse): only ignore spaces and not any stupid
9386 control character. This avoids tests like s[i] <= ' ', which are
9387 guaranteed to fail with 8bit characters and signed chars.
9388 Change return code to string::npos when there have been no error
9389 (0 was a bad idea when error is at first character)
9391 2001-11-14 José Matos <jamatos@fep.up.pt>
9394 * buffer.C (simpleDocBookOnePar): removed unused argument.
9396 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9398 * text.C (selectNextWordToSpellcheck): do not test explicitely for
9399 insets which are part of a word. Paragraph::isLetter takes care of
9400 that now. Use Paragraph::isInset to identify insets.
9401 (selectSelectedWord): do not test for hyphenation break.
9403 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9404 that protected spaces are considered as spaces.
9406 * paragraph.C (isLetter): cleanup the code for ispell extras; use
9409 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9412 * lyxserver.C: fix it. and small cleanup.
9414 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9416 * BufferView_pimpl.C: use inline helpers
9419 * LaTeXFeatures.C: fix typos
9422 * Spacing.C: move spacing_string into class
9424 * ToolbarDefaults.C: move stuff into namespace anon
9426 * layout.h: update enum
9428 * lyxfunc.C: use better debug
9430 * minibuffer.h: fix typo
9434 * WorkArea.C: add and use Debug::WORKAREA
9438 * text2.C: code re-organisation, inline helpers
9440 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9442 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9443 std::vector.empty().
9445 2001-11-09 Allan Rae <rae@lyx.org>
9447 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9448 '\n's after tables. Tabular and ERT inset work now makes this no
9451 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9454 * minibuffer.C: fix crash, improve drop-down completion
9456 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9459 * lyxserver.C: invalidate fd's when doing endPipe()
9461 2001-11-08 José Matos <jamatos@fep.up.pt>
9463 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9464 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9467 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9469 2001-11-07 José Matos <jamatos@fep.up.pt>
9472 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9475 * buffer.C (sgmlOpenTag):
9476 * buffer.C (sgmlCloseTag): removed debug info.
9478 * buffer.h (sgmlOpenTag):
9479 * buffer.h (sgmlCloseTag): made public.
9481 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9483 * buffer.C (saveParamsAsDefaults):
9484 * lyx_cb.C (MenuLayoutSave): remove
9486 * LyXAction.C (init):
9488 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9490 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9492 * buffer.C (setPaperStuff): removed from here...
9494 * bufferparams.C (setPaperStuff): ... and moved there.
9496 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9500 * XFormsView.C: add support for drop-down completion
9502 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9504 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9507 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9509 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9512 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9514 * lyx_main.C: change ref to known bugs
9516 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9518 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9519 to work around older babel problems.
9521 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9523 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9525 2001-10-24 Juergen Vigna <jug@sad.it>
9527 * tabular-old.C (ReadOld): below variable changes reflected.
9529 * tabular.[Ch]: added ltType struct for longtable header/footer
9530 defines and changed all instances where they are used. Added
9531 future support for double top/bottom rows.
9533 2001-10-24 José Matos <jamatos@fep.up.pt>
9535 * buffer.h (docbookHandleCaption):
9536 * buffer.C (docbookHandleCaption): removed unused function.
9537 (makeDocBookFile): moved docbook supported version to v4.1.
9539 2001-10-24 José Matos <jamatos@fep.up.pt>
9542 * tabular.C (docbookRow): new function to export docbook code of a row.
9543 (DocBook): now honors the longtable flags.
9545 2001-10-23 José Matos <jamatos@fep.up.pt>
9548 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9549 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9551 * buffer.C (makeLinuxDocFile):
9552 (makeDocBookFile): reworked the preamble, more clean, and with
9553 support for lyx defined entities. Changed the document declaration
9554 to be more XML friendly.
9556 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9557 if we need to output XML that should be done with a filter.
9559 2001-10-22 Juergen Vigna <jug@sad.it>
9561 * sp_pspell.h (class PSpell): add alive function needed in the
9562 controller to see if the spellchecker could be started.
9564 2001-10-22 Juergen Vigna <jug@sad.it>
9566 * buffer.C (insertStringAsLines): modify the font for inserting
9567 chars in certain conditions by calling checkInsertChar(font).
9569 2001-10-19 Juergen Vigna <jug@sad.it>
9571 * text.C (workWidth): use getRow instead of wrong algorithm.
9572 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9574 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9579 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9581 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9583 * text.C (workWidth): do not search for the exact row when
9584 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9585 optimization for big documents.
9587 2001-10-18 Juergen Vigna <jug@sad.it>
9589 * text.C (workWidth): new function with added Inset * parameter.
9591 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9593 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9595 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9596 change return type of getColumnNearX.
9599 * text.C (changeRegionCase): use uppercase/lowercase instead of
9602 (rightMargin): simplify code by factoring out the uses of
9607 (appendParagraph): use Paragraph::size_type
9609 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9611 * vspace.C (asLatexString): add a missing break
9613 2001-10-15 Herbert Voss <voss@perce.de>
9615 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9617 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9619 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9622 2001-10-10 André Pönitz <poenitz@gmx.net>
9624 * lyxfunc.C: removed greek_kb_flag.
9626 2001-10-10 Herbert Voss <voss@perce.de>
9628 * lyx_main.C: delete global string help_lyxdir.
9630 2001-10-09 Herbert Voss <voss@perce.de>
9632 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9634 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9636 * lyx_main.C: added global string help_lyxdir.
9638 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9640 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9642 * lyxrc.C (set_font_norm_type): support iso8859-4
9644 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9646 * LaTeX.C (deplog): add another regex for MikTeX
9648 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9650 * lyxrc.C (set_font_norm_type): support iso8859-3
9652 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9654 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9656 * LaTeXFeatures.C: remove special case of french and index
9658 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9659 before \begin{document}). This solves several incompatibilities.
9661 2001-10-03 Garst Reese <reese@isn.net>
9663 * lyx_cb.C: change CheckTex error msg.
9665 2001-10-03 José Matos <jamatos@fep.up.pt>
9667 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9669 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9671 * .cvsignore: update
9673 * lyx_main.C (commandLineVersionInfo): use new style version info.
9675 * buffer.C (writeFile):
9678 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9680 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9682 * version.h: update to use stuff in version.C
9684 * version.C.in: new file. Contains version information determined
9685 at compile time. This is a merging of version.h and
9688 2001-10-03 Juergen Vigna <jug@sad.it>
9690 * BufferView_pimpl.C (update): don't change "dirty" status in
9693 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9695 * WorkArea.C (c-tor): re-position version string slightly.
9697 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9699 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9700 revert to previous code.
9702 WorkArea.[Ch]: (show, destroySplash): methods removed.
9704 WorkArea.C: rework code so that it's an amalgam of the codes before and
9705 after the splash screen was moved to WorkArea.
9707 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9710 * vspace.C (inPixels):
9713 * buffer.C (insertStringAsLines):
9714 (asciiParagraph): fix types to be large enough
9716 * lyxlex_pimpl.h: change member status from short to int
9718 * layout.h: fix type of endlabeltype
9721 * kbsequence.C (parse): change return type to string::size_type
9723 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9726 * Bullet.C (bulletSize):
9727 (bulletEntry): do not use short ints as parameters
9729 * BufferView2.C (insertLyXFile): change a char to an int.
9731 * WorkArea.C (WorkArea): remove unneeded floats in computation
9733 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9735 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9737 * paragraph.C (asString): Do not ignore newline/hfill chars when
9738 copying to the clipboard.
9740 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9742 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9743 after a multi-line inset.
9745 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9747 * paragraph.C (validate): Set NeedLyXFootnoteCode
9749 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9751 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9752 and decrease-error to decrease.
9754 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9756 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9757 it more readable (should be equivalent)
9759 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9761 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9763 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9765 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9766 of a cursor (row, etc.) after a character has been deleted
9767 (deleteEmptyParagraphMechanism): call the method above on _all_
9768 cursors held by the LyXText when a double space has been
9771 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9773 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9775 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9777 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9778 background. Use greyOut() and the new show() methods to toggle between
9779 the foreground and background. Add code to remove the splash after
9780 its initial showing.
9782 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9783 (create_forms): no longer call Dialogs::showSplash.
9785 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9787 * .cvsignore: add version_info.h
9789 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9791 * version_info.h.in: new file
9793 * Makefile.am: add version_info.h.in
9795 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9796 version_info.h instead of VERSION_INFO
9798 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9800 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9801 The ERT inset now returns string().
9803 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9805 * lyxtext.h, text.C (selectNextWord): renamed as
9806 selectNextWordToSpellcheck.
9808 * text.C (selectNextWordToSpellcheck): Modified to not select
9809 words inside an ERT inset.
9811 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9813 * lyx_cb.C (MenuLayoutSave): change a bit the question
9815 * sp_base.h: include <sys/types.h>
9817 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9819 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9821 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9823 * several files: fix typos in user-visible strings
9825 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9827 * text2.C (pasteSelection): do not set the selection, since it
9828 will be cleared later. Actually, the intent was to fix the way the
9829 selection was set, but I figured rmoving the code was just as good.
9831 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9833 * FontLoader.C (available): Check if font is available without
9836 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9838 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9840 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9842 * lyxrc.[Ch]: added display_graphics variable and associated code.
9844 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9846 * bufferparams.C (hasClassDefaults): new method. Returns true if
9847 the buffer parameters correspond to known class defaults
9849 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9851 * XFormsView.C (show): set minimum size to the main window.
9853 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9855 * text2.C (copySelection):
9857 * lyxfind.C (LyXReplace):
9858 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9859 LyXText::selectionAsString.
9861 * paragraph.C (asString): add "label" argument to the second form
9863 * text2.C (selectionAsString): add "label" argument and pass it to
9864 Paragraph::asString.
9866 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9868 * lyx_main.C (commandLineHelp): remove version information
9870 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9872 * lyx_main.C: add -version commandline option
9874 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9876 * paragraph.h: make the optional constructor arg required instead.
9877 some modifications to other files because of this.
9879 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9881 * lyxserver.C (C_LyXComm_callback): make it static
9883 * lyx_main.C (error_handler): make it static
9885 * lyx_gui.C (LyX_XErrHandler): make it static
9887 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9889 * WorkArea.C: make the extern "C" methods static.
9891 * Makefile.am (lyx_LDADD): simplify
9893 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9895 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9896 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9898 * LyXAction.C (init):
9899 * lyxfunc.C (dispatch): associated code removal.
9901 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9903 * lyxfont.h (isSymbolFont): shut off warning
9905 * text.C (setHeightOfRow):
9906 (getVisibleRow): fix crash with empty paragraphs which have a
9909 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9911 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9914 2001-09-04 José Matos <jamatos@fep.up.pt>
9917 * tabular.C (docbook): rename docBook method to docbook.
9919 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9921 * Makefile.am: add dependencies to main.o.
9923 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9925 * FontLoader.C (available): Return false if !lyxrc.use_gui
9927 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9929 * FontInfo.C (query):
9930 * converter.C (view):
9931 * importer.C (Import):
9932 * exporter.C (Export): Can not -> cannot.
9934 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9936 * BufferView_pimpl.C: allow to create index inset even if
9939 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9941 * buffer.C (getLists): replace boost::tie code with an explicit pair
9942 as boost::tie can break some compilers.
9944 * iterators.h: Added a std:: declaration to the return type of
9947 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9949 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9952 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9954 * iterators.[Ch]: New files. Provide paragraph iterators.
9956 * buffer.C (changeLanguage): Use paragraph iterators.
9957 (isMultiLingual): ditto
9959 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9961 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9963 * FontLoader.C: Support for cmr font.
9965 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9967 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9968 (available): New method.
9970 * FontInfo.C (getFontname): Use scalable fonts even when
9971 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9974 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9976 * converter.C (Formats::view): reverted! Incorrect fix.
9978 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9980 * converter.C (Formats::view): only output the -paper option
9981 if the dvi viewer is xdvi, thereby fixing bug #233429.
9983 2001-08-23 Herbert Voss <voss@perce>
9985 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9987 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9989 * Spacing.h (Spacing): Set space to Default on in the default
9992 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9994 * vc-backend.h (RCS::versionString): add RCS to version
9995 (CVS::versionString): add CVS to version
9997 * vc-backend.C (scanMaster): do not add CVS to version.
9998 (scanMaster): do not add RCS to version
10000 * lyxvc.C (versionString): new method
10002 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10004 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10006 * Spacing.C (set): initialize fval
10008 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
10010 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10013 2001-08-16 Juergen Vigna <jug@sad.it>
10015 * lyxfunc.C (dispatch): implemented the new FINISHED states.
10017 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10019 * BufferView_pimpl.C:
10022 * text2.C: setParagraph takes linespacing now
10024 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
10026 * LyxAction.C: add internal LFUN_CITATION_INSERT
10028 * LyXView.C: actually apply fix
10030 * bufferlist.C: fix open non-existent file
10032 * lyxfind.C: fix indentation
10034 * lyxfunc.C: remove unneeded assert, fix typo
10036 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
10038 * MenuBackend.C: use "Floatname List"
10040 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
10042 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10043 when converting LaTeX layout to insetERT.
10044 Generate a non-collapsed float when reading old float
10046 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10048 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10051 2001-08-13 Juergen Vigna <jug@sad.it>
10053 * text.C (fill): return 0 instead of 20 as this seems to be the more
10056 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
10058 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10061 2001-08-13 Juergen Vigna <jug@sad.it>
10063 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10065 (SearchBackward): comment out the unlocking of the inset_owner this
10066 should not be needed!
10068 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
10070 * Many files: Remove inherit_language, and add latex_language
10072 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10073 collapsible insets.
10075 2001-08-10 Juergen Vigna <jug@sad.it>
10077 * text.C (prepareToPrint): fixed hfill-width in draw!
10079 * BufferView2.C (selectLastWord): save the selection cursor as this
10080 now is cleared in the function LyXText::clearSelection!
10082 2001-08-08 Juergen Vigna <jug@sad.it>
10084 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10085 BACKSPACE type functions.
10087 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10088 is only cutted from the document but not put in the cut-buffer, where
10089 still the old stuff should be.
10091 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10093 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10095 * tabular.C (SetWidthOfCell): fixed special case where the width
10097 (LeftLine): handle '|' in align_special.
10099 (LeftAlreadyDrawed): ditto
10100 (SetWidthOfCell): ditto
10102 2001-08-07 Juergen Vigna <jug@sad.it>
10104 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10106 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10108 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10109 * lyxlex.[hC]: ditto
10111 2001-08-06 Juergen Vigna <jug@sad.it>
10113 * text.C (getVisibleRow): fix up row clearing a bit.
10115 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10117 * minibuffer.C: make sure the X server sees the changes in the input.
10119 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10121 * paragraph.C (getFont): split into...
10122 (getLabelFont): this
10123 (getLayoutFont): and this
10124 * paragraph_pimpl.C (realizeFont): calling this
10126 * text2.C (getFont): split into...
10127 (getLayoutFont): this
10128 (getLabelFont): and this
10129 (realizeFont): all three calling this
10131 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10134 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10136 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10138 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
10140 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10141 layouts from the Quote inset insertion.
10143 2001-08-03 Juergen Vigna <jug@sad.it>
10145 * BufferView_pimpl.C (update): do the fitCursor only at the end!
10147 * screen.C (drawFromTo): don't call fitcursor here and do the loop
10148 only if status not is already CHANGED_IN_DRAW (second level).
10150 * text.C (draw): don't set the need_break_row when inside an
10153 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10155 * buffer.C (parseSingleLyXformat2Token): handle more latex
10158 * bufferview_funcs.[hC]: change function names to
10159 begin with small char, adjust other files.
10161 2001-08-02 André Pönitz <poenitz@gmx.net>
10164 BufferView_pimpl.C: remove broken special code for math-greek
10166 2001-08-02 Juergen Vigna <jug@sad.it>
10168 * BufferView_pimpl.C (update): redone this function so that we
10169 update the text again if there was a CHANGE_IN_DRAW.
10171 * screen.C (cursorToggle): removed LyXText parameter and recoded.
10172 (drawFromTo): added a new internal bool which is used by draw() and
10174 (general): some cursor drawing problems fixed.
10176 2001-08-01 Juergen Vigna <jug@sad.it>
10178 * lyxfind.C (LyXFind): fixed
10179 (SearchForward): ditto
10180 (SearchBackward): ditto
10182 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10183 spurius drawing of the cursor in the main area.
10185 * text2.C (status): small fix which could lead to a segfault!
10186 (clearSelection): remove unneeded BufferView param.
10188 2001-08-01 André Pönitz <poenitz@gmx.net>
10190 * lyxfunc.C: small change due to changed mathed interface
10192 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10194 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10196 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
10198 * lyxfunc.c: fail gracefully if file doesn't exist
10203 * BufferView_pimpl.C: IsDirWriteable() proto changed
10205 * LyXView.C: fix updateWindowTitle() to store the last title
10207 2001-07-31 Juergen Vigna <jug@sad.it>
10209 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10210 the font (wrong since using of Paragraph::highestFontInRange).
10212 * paragraph.C (highestFontInRange): added a default_size parameter.
10214 * text.C (getVisibleRow): minor clear row changes (still not perfect).
10215 (setHeightOfRow): reformat
10217 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10219 * converter.[hC] + affected files: move to (inital-char)lowercase
10222 * ParagraphParameters.C (ParagraphParameters): remove commented code
10224 * PainterBase.[Ch]: remove commented code
10226 * LaTeXFeatures.h: add "bool floats" for float.sty
10228 * LaTeXFeatures.C (LaTeXFeatures): init floats
10229 (require): handle float
10230 (getPackages): do it with floats
10232 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10234 * BufferView_pimpl.C (Dispatch): improve handling of
10235 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10237 * commandtags.h: #include lyxfont.h here temporarily to avoid
10240 * bufferlist.h: include LString.h here.
10242 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10244 * text2.C (getStringToIndex): new method.
10246 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
10248 * *: Reduced header file dependencies all over.
10250 2001-07-30 Baruch Even <baruch@lyx.org>
10252 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10254 2001-07-29 Baruch Even <baruch@lyx.org>
10256 * buffer.C (readInset): Changed GRAPHICS to Graphics.
10258 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10260 * ParameterStruct.h (endif): add a default constructor to make
10261 sure that all variables is initialized.
10263 * ParagraphParameters.C (ParagraphParameters): adjust
10265 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10267 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10268 index; also, check that there is something to index, and that it
10269 does not span over several paragraphs.
10270 (doubleClick): use WHOLE_WORD_STRICT for double click.
10272 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10274 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10277 2001-07-26 Baruch Even <baruch@lyx.org>
10279 * buffer.C (readInset): Changed to call up InsetGraphics when reading
10280 an InsetFig figure, backwards compatible reading of old figure code.
10282 2001-07-27 Juergen Vigna <jug@sad.it>
10284 * text2.C: font.realize function adaption.
10286 * text.C (draw): add a warnings lyxerr text if needed.
10288 * layout.C: font.realize function adaption.
10290 * language.C: add inherit_language and implement it's handlings
10292 * bufferview_funcs.C (StyleReset): remove language parameter from
10293 font creation (should be language_inherit now).
10295 * bufferparams.C (writeFile): handle ignore_language.
10297 * paragraph.C (getFontSettings): the language has to be resolved
10298 otherwise we have problems in LyXFont!
10300 * lyxfont.C (lyxWriteChanges): added document_language parameter
10301 (update): removed unneeded language parameter
10303 * paragraph.C (validate): fixed wrong output of color-package when
10304 using interface colors for certain fonts in certain environments,
10305 which should not seen as that on the final output.
10307 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
10309 * BufferView_pimpl.C:
10314 * LyXAction.C: add thesaurus support
10317 * lyxfind.C: add "once" parameter, for thesaurus, to not
10318 move to the next match
10320 2001-07-26 Juergen Vigna <jug@sad.it>
10322 * lyxfont.C (realize): honor ignore_language too!
10325 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10327 * text.C (draw): one place more for ignore_language to not draw
10330 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
10332 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10334 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10336 * buffer.C (parseSingleLyXformat2Token): a more general fix for
10337 the minipage conversion problem.
10339 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10341 * buffer.C (parseSingleLyXformat2Token): check minipage if we
10344 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10346 * BufferView.h: don't forward declare WorkArea
10348 * BufferView.C: don't include WorkArea.h
10350 2001-07-25 André Pönitz <poenitz@gmx.net>
10354 * lyxfunc.C: new LFUN 'math-space'
10356 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10358 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10360 * text2.C (toggleInset): call open/close
10362 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10364 * lyxfunc.C (dispatch): add debug for the disabled case
10366 * font.C (buttonText): make similar to rectText
10368 * buffer.C (readInset): comment out parsing of insetlist and
10371 * PainterBase.C (rectText): small correction
10373 * BufferView_pimpl.C: comment out insettheorem and insetlist
10374 * LyXAction.C: ditto
10375 * commandtags.h: ditto
10377 2001-07-24 Juergen Vigna <jug@sad.it>
10379 * text.C (draw): honor the ignore_language.
10381 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10383 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10385 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10388 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10390 * lyxtext.h: remove unused (and unimplemented) methods
10392 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10394 * text.C (getVisibleRow): honor background color
10397 * Painter.h: remove default color argument for fillRectangle
10399 * text.C (backgroundColor): new method
10401 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10403 * text.C (getVisibleRow): adjust
10405 * font.[Ch] (rectText): new method, metrics
10406 (buttonText): new method, metrics
10408 * PainterBase.[hC]: make rectText and buttonText always draw and take
10411 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10413 * ToolbarDefaults.C (read):
10414 * MenuBackend.C (read): allow escaping in all strings
10416 * BufferView_pimpl.C (insertAndEditInset): new method.
10417 (Dispatch): use insertAndEditInset whenever appropriate.
10419 * BufferView_pimpl.C (insertNote): removed
10421 * BufferView_pimpl.C (smartQuote): new method, moved from
10422 BufferView; if an insetquote cannot be inserted, insert a '"'
10425 * BufferView2.C: remove insertCorrectQuote();
10427 * lyxfunc.C (getStatus): Add support for all remaingin
10428 inset-insert lfuns.
10430 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10432 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10433 command (necessary to pass " as parameter of self-insert.
10435 * text.C (selectWordWhenUnderCursor):
10436 (selectWord): add word_location parameter
10437 (selectWordWhenUnderCursor): same + remove special code for word
10439 (selectNextWord): use kind() to guess type of insetspecialchar,
10442 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10443 (insertErtContents): create ert insets as collapsed.
10444 (readInset): better compatibility code for Info inset.
10446 2001-07-20 Juergen Vigna <jug@sad.it>
10448 * lyxfunc.C (dispatch): use always LyXFind now!
10450 * text2.C (init): add a reinit flag so that the LyXText can be
10451 reinited instead of deleted and reallocated (used in InsetText).
10453 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10459 2001-07-18 Juergen Vigna <jug@sad.it>
10461 * text.C (selectNextWord): handle insets inside inset by calling
10462 always the bv->text functions so that we can go up the_locking_inset!
10464 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10465 in strange locations when inside an inset!
10467 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10468 handling to include insets.
10470 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10472 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10474 * LyXAction.C (init):
10476 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10477 LIGATURE_BREAK, since the name is so stupid.
10479 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10481 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10484 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10486 * sp_form.[Ch]: remove.
10488 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10490 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10493 * src/buffer.C (readInset): ditto.
10495 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10497 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10498 menuSeparator(), endOfSentenceDot(), ldots() and
10499 hyphenationPoint(), which are therefore removed.
10500 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10502 * LyXAction.C (init):
10503 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10505 * paragraph.C (getWord): removed.
10507 * BufferView_pimpl.C (Dispatch): use last word or selection for
10508 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10510 * lyx_main.C (queryUserLyXDir): do not ask before creating
10511 user_dir, except if it has been named explicitely.
10513 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10515 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10516 a document of zero size.
10518 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10520 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10521 approriately in the c-tor and in require().
10522 (getPackages): output the appropriate LaTeX for natbib support.
10524 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10525 variables "use_natbib" and "use_numerical_citations" when reading the
10527 (readInset): read the various natbib cite commands.
10528 (validate): white-space change.
10530 * bufferparams.[Ch]: new variables "bool use_natbib" and
10531 "bool use_numerical_citations".
10532 (writeFile): output them in the LyX file.
10534 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10536 * lyxfunc.C (getStatus): add support for all the inset insertion
10539 * text2.C (insertInset):
10540 * paragraph.C (insetAllowed):
10541 * BufferView_pimpl.C (insertInset): update to take in account the
10542 renaming of insertInsetAllowed
10544 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10546 * text2.C (getInset): new method. returns inset at cursor position.
10548 * BufferView_pimpl.C (Dispatch): changes because of this.
10550 * LyXAction.C (init): rename open-stuff to inset-toggle.
10552 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10554 * text2.C (toggleInset): renamed from openStuff; use
10557 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10559 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10561 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10563 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10565 * buffer.C (readLyXformat2): Add filename to the error dialog
10567 2001-07-18 Juergen Vigna <jug@sad.it>
10569 * tabular.C (GetCellNumber): put an assert here instead of the check!
10571 2001-07-17 Juergen Vigna <jug@sad.it>
10573 * BufferView_pimpl.C (toggleSelection): adapted too.
10575 * text.C (selectNextWord): adapted for use with insets.
10576 (selectSelectedWord): ditto
10578 2001-07-17 Juergen Vigna <jug@sad.it>
10580 * sp_spell.C (PSpell): fix initialitation order.
10582 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10584 * paragraph.C: spacing
10586 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10588 * sp_spell.C: repair language selection for pspell
10590 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10592 * lyxfunc.h: change more methods to begin with lower char.
10594 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10596 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10597 for unknown layouts.
10599 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10601 * buffer.C (readLyXformat2): Generate an error dialog if there are
10604 2001-07-16 Juergen Vigna <jug@sad.it>
10606 * sp_spell.C: always compile ISpell part.
10608 * lyxrc.C: added use_pspell entry and it's handling.
10610 2001-07-13 Juergen Vigna <jug@sad.it>
10612 * sp_spell.C: removed double includes.
10614 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10616 Consistent use of Lsstream.h:
10617 * Lsstream.h: added using std::stringstream for consistencies sake.
10619 * buffer.C: removed using std::stringstream
10621 * lyxfont.C (stateText):
10622 * paragraph.C (asString):
10623 * text.C (selectNextWord, selectSelectedWord):
10624 * text2.C (setCounter):
10625 * vspace.C (asString, asLatexString):
10626 std::ostringstream -> ostringstream.
10628 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10630 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10631 * commandtags.h: add LFUN_HELP_ABOUTLYX
10632 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10634 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10636 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10638 * lyx_gui_misc.C: remove spellchecker
10639 * lyxfunc.C: showSpellchecker
10641 * sp_ispell.h: added
10642 * sp_pspell.h: added
10643 * sp_spell.C: added
10644 * sp_form.[Ch]: removed
10645 * spellchecker.[Ch]: removed
10647 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10649 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10651 (simpleTeXSpecialChars): Simply print the input character without
10652 any special translation if pass_thru is set.
10654 * layout.h: Added bool pass_thru to layout class for being able to
10655 implement pass through of a paragraph for Literate Programming.
10657 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10658 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10659 * layout.C (Read): add "passthru" to list of layout tags and add
10660 code to set the pass_thru boolean when it is read.
10662 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10664 * trans_decl.h: remove allowed from KmodInfo
10666 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10667 remove allowed code
10670 * paragraph_pimpl.C (erase): use boost::prior
10672 * Painter.C (text): use data() instead of c_str() when length is
10674 * WorkArea.C (putClipboard): ditto
10675 * font.h (width): ditto
10677 * BufferView2.C: use it-> instead of (*it). for iterators
10679 * paragraph_pimpl.C: ditto
10680 * paragraph.C: ditto
10681 * minibuffer.C: ditto
10682 * language.C: ditto
10684 * encoding.C: ditto
10685 * counters.C: ditto
10686 * converter.C: ditto
10688 * Variables.C: ditto
10689 * TextCache.C: ditto
10690 * MenuBackend.C: ditto
10691 * LyXAction.C: ditto
10693 * FloatList.C: ditto
10694 * DepTable.C: ditto
10695 * ColorHandler.C (LyXColorHandler): ditto
10697 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10699 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10701 * text2.C (openStuff): reintroduce this method (which had been
10702 nuked in NEW_INSETS frenzy).
10704 * lyxfunc.C (Dispatch): when an action has not been handled, use
10705 its name in the error message, not its number.
10707 * paragraph.C (inInset): change method name to begin with lowercase.
10710 * text2.C: updates because of this.
10712 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10714 * ToolbarDefaults.C (add): add spaces in error message
10716 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10718 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10719 (readLyXformat2): rename return_par to first_par, use lyxlex's
10720 pushToken and remove the manual push handling.
10721 (parseSingleLyXformat2Token): add another ert comp. variable:
10722 in_tabular, rename return_par to first_par. handle newlines better
10724 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10726 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10728 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10730 * text2.C (getParFromID): removed
10732 * buffer.C (getParFromID): new method moved form lyxtext.
10733 * BufferView2.C (insertErrors): adjust
10734 (setCursorFromRow): adjust
10735 * BufferView_pimpl.C (restorePosition): adjust
10736 * lyxfunc.C (Dispatch): adjust
10737 * undo_funcs.C (textUndo): adjust
10739 (textHandleUndo): adjust
10740 (textHandleUndo): adjust
10742 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10744 * buffer.C: up' the LYX_FORMAT
10746 * lyxfont.h: turn NO_LATEX on as default
10748 * buffer.C (insertErtContents): new methods of tex style compability.
10749 (parseSingleLyXformat2Token): use it several places.
10750 * tabular.C (OldFormatRead): and here
10752 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10754 * text2.C: remove some commented code.
10757 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10758 * trans.C: changes because of the above.
10760 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10762 * text2.C (setCounter): Fix counters bug with bibliography layout.
10764 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10766 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10767 own member functions
10768 (simpleTeXSpecialChars): ditto
10770 2001-07-06 Juergen Vigna <jug@sad.it>
10772 * a lot of files: changed the access to LyXText::status and the
10773 call of undo-functions.
10775 * undo.[Ch]: added a inset_id to the undo informations.
10777 * undo_funcs.[Ch]: added and moved here all undo functions.
10779 * lyxtext.h: give the status enum a weight, made status_ a private
10780 variable and made accessor functions for it, removed the whole bunch
10781 of undo-functions as they are now in their own file, make some
10782 functions publically available. Added function ownerParagraph with
10785 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10786 made InInset() a const function, added getParFromID() function.
10788 * buffer.[Ch]: added const version for inset_iterator functions,
10789 added getInsetFromID() function.
10791 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10792 changed undo functions for new version.
10794 2001-07-05 Juergen Vigna <jug@sad.it>
10796 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10797 unknow mechanism does not call the proper constructor but only this
10798 one also if I request the other!?
10800 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10802 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10804 * text2.C (LyXText): use initialization lists.
10806 * lyxtext.h (Selection): initialize set_ and mark_
10807 (init): remove method
10809 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10811 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10813 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10815 * screen.[Ch]: change method names to begin with lowercase
10817 * BufferView_pimpl.C (updateScrollbar): simplify further and
10818 hopefully make it a bit faster.
10820 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10822 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10823 calling directly xforms functions.
10825 * Painter.C (Painter):
10826 * lyx_cb.C (MenuWrite):
10827 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10830 * lyx_gui.C: remove bogus guiruntime extern declaration.
10832 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10834 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10836 (redoDrawingOfParagraph): ditto
10837 (redoParagraphs): ditto
10838 (cutSelection): don't create a object for CutAndPaste use the
10839 static method directly
10840 (pasteSelection): ditto
10842 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10845 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10847 * modifications to some other files because of this.
10849 * Makefile.am (lyx_SOURCES): add XFormsView
10851 * XFormsView.[Ch]: new files
10853 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10854 the main window. Move the gui dependent stuff to XFormsView
10856 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10858 * tabular.C (GetCellInset): update cur_cell also in the row/col
10859 version of this function.
10861 * lyxfunc.C: no need to include figure_form.h here.
10867 * lyxvc.C: no need to include forms.h here.
10869 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10871 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10873 * lyxfunc.C (Dispatch):
10875 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10876 constructor argument.
10878 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10880 * paragraph.C (Paragraph): dont't clear, and just set layout.
10881 (makeSameLayout): use params's copy contructor.
10883 * ParagraphParameters.[Ch] (makeSame): delete method
10885 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10887 * Variables.[Ch]: fix indentation, rename set to isSet
10889 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10891 * lyxfunc.C (Dispatch): fix typo
10893 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10895 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10898 * bufferlist.C: include assert.h for emergencyWrite().
10900 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10902 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10903 give up at last (bug #425202) !
10905 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10911 * spellchecker.C: strip spellchecker options and bring up
10912 preferences tab instead
10914 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10916 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10917 the istringstream constructor
10919 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10921 * paragraph.C (getLayout): fix return value
10923 * paragraph.h: do not declare getLayout as inline.
10925 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10927 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10929 * lyxcursor.h (operator<): new func
10930 (operator>): new func
10931 (operator>=): new func
10932 (operator<=): new func
10934 * text.C (changeCase): use selection.start and selection.end
10935 (changeRegionCase): require from to be <= to. Require par to be a
10938 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10940 2001-06-27 Juergen Vigna <jug@sad.it>
10942 * text.C (cursorLeftOneWord): changed to return the cursor and added
10943 overlay with BufferView * parameter which calls this one.
10945 (selectWord): use new getWord function.
10946 (changeCase): renamed from changeWordCase as and extended to work
10947 also on selections.
10949 * lyxtext.h: added enum word_location
10951 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10952 changeCase as this operates now also on selections.
10954 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10956 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10958 * many files: send debug output to Debug::INFO instead of
10961 * converter.C (View):
10963 (Move): send debug output to Debug::FILES instead of console.
10965 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10967 * lyxfunc.C (getStatus): use func_status
10969 * func_status.h: new header, describing the results of
10970 LyXFunc::getStatus;
10972 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10975 2001-06-25 The LyX Project <jug@sad.it>
10977 * buffer.C (sgmlOpenTag):
10979 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10981 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10983 * text2.C: remove some dead code
10985 * tabular.C (GetCellInset): store the last cell checked (gotten)
10987 * tabular.h: add the helper for the speedup
10989 * lyxtext.h: remove some dead code
10991 2001-06-26 The LyX Project <Asger>
10993 * paragraph.C: Change export to LaTeX of alignment to
10994 \begin{center} and family for better roundtrip work with reLyX.
10996 * Tune the math drawing a bit.
10998 2001-06-25 The LyX Project <Asger>
11000 * LColor.C (LColor): New color for math background. New color
11003 2001-06-25 The LyX Project <jug@sad.it>
11005 * lyxfunc.C (MenuNew): remove extra check for .lyx file
11007 * lyxfunc.C (Open):
11008 * bufferlist.C (newFile): do not restrict to files ending with
11011 * BufferView_pimpl.C (MenuInsertLyXFile):
11013 2001-06-24 The LyX Project <jug@sad.it>
11015 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11018 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11020 * lyxtext.h: rename most methods to begin with a small char.
11021 Lots of changes because of this.
11023 * paragraph.C (Paragraph): do not call fitToSize
11024 (erase): call Pimpl::erase
11025 (insertChar): call Pimpl::insertChar
11026 (insertInset): call Pipl::insertInset
11027 (breakParagraph): do not call fitToSize
11028 (breakParagraphConservative): do not call fitToSize
11029 (fitToSize): remove method
11031 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11033 2001-06-24 The LyX Project <Asger>
11035 * Fix Qt compilation^2
11037 2001-06-24 The LyX Project <jug@sad.it>
11039 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11040 depthHook(getDepth()-1).
11043 * ParagraphParameters.h:
11044 * ParameterStruct.h: change type of depth to unsigned int ==
11045 depth_type. Many adaptations to other files before of that.
11047 2001-06-24 The LyX Project <Asger>
11049 * Fix Qt compilation.
11051 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11053 * paragraph.h: renamed several methods to begin with small letter.
11054 several changes to many parts of the code because of this.
11056 2001-06-23 The LyX Project <jug@sad.it>
11058 * text2.C (InsertStringAsLines): renamed from InsertStringA;
11059 rewritten to discard all double spaces when KeepEmpty is off
11060 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11061 to only handle newlines but not fiddle with spaces and friends.
11063 * lyxfunc.C (MenuNew): when doing 'new from template', use
11064 template_path as default directory
11066 2001-06-23 The LyX Project <Asger>
11068 * Clean-up of header file includes all over
11069 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11071 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11073 * paragraph.h: renamed from lyxparagraph.h
11075 2001-06-23 Asger <lyx@violet.home.sad.it>
11077 * Buffer.h: Removed Buffer::resize
11078 * BufferList.h: Removed BufferList::resize
11079 * LyXView.h: Added LyXView::resize. This way, we will only reflow
11080 the document lazily when we change the width, or the font settings.
11082 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11084 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11086 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11088 * buffer.h: remove out of date comment
11090 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
11093 * screen.C: fix "theoretical" GC leak
11095 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11097 * LaTeX.C (scanAuxFile):
11098 (deplog): remove trailing \r when reading stream (useful under
11101 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
11103 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11104 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11105 and BufferView::theLockingInset(Inset*), so should use them and not
11106 access bv_->text->the_locking_inset directly.
11108 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11110 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11113 * tex-defs.h: remove old unused file
11115 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
11117 * BufferView_pimpl.C: fix typo, remove minibuffer message
11118 when buffer has loaded
11120 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11122 * lyxfunc.C (Dispatch): use stringstream
11123 (MenuNew): use stringstream
11124 (Open): use stringstream
11126 * importer.C (Import): use stringstream
11128 * bufferview_funcs.C (CurrentState): use stringstream
11130 * LaTeX.C (run): use stringstream
11132 * BufferView_pimpl.C (savePosition): use stringstream
11133 (restorePosition): use stringstream
11134 (MenuInsertLyXFile): use stringstream
11136 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
11149 * vspace.C: removed // -*- C++ -*- as first line.
11152 * version.h: added // -*- C++ -*- as first line.
11154 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11156 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11158 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11161 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11163 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11166 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11168 * gettext.C: include LString.h even when --disable-nls is on.
11170 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
11172 * converter.h (Get): changed argument type from int to
11173 FormatList::size_type to avoid unnecessary conversion.
11175 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11178 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11180 * gettext.h: include LString.h even when --disable-nls is on.
11182 2001-06-07 Juergen Vigna <jug@sad.it>
11184 * text.C (BreakAgain): subst spaces with tabs.
11186 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11187 (resizeInsetsLyXText): set force on resizeLyXText.
11189 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11191 * gettext.h (gettext_init):
11192 (locale_init): use a real definition instead of a macro
11194 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
11196 * Bufferview_pimpl.C:
11198 * LColor.C: further lcolor tidies
11200 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11202 * BufferView_pimpl.C (updateScrollbar): simplify.
11204 * BufferView2.C: don't include insets/insetinfo.h, change
11205 prototype for insertInset and call the Pimpl version. let
11206 updateInset call Pimpl version.
11208 * BufferView.h: move inset_slept to BufferView::Pimpl, move
11209 gotoInset to BufferView::Pimpl
11211 2001-06-01 Juergen Vigna <jug@sad.it>
11213 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11214 inside a LockingInset (is the update needed at all?).
11216 2001-05-31 Juergen Vigna <jug@sad.it>
11218 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11219 here not the old one otherwise how should we compare it afterwards
11222 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11227 * FontInfo.C: bring C functions into global namespace when
11230 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11232 * LString.h: make sure config.h has been loaded before LString.h.
11234 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11235 (one for each char read by EatLine!).
11237 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11240 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11242 * paragraph.C (BreakParagraph): set the inset_owner in the new par
11243 to the same as the par we break from
11245 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
11247 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11249 * MenuBackend.C (expand): also create menu entries for wide
11250 versions of the floats.
11252 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11254 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11256 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11257 frontends/Makefile.am
11263 * tabular.C (getTokenValue): add std::
11265 * tabular-old.C (getTokenValue): add std::
11266 (getTokenValue): ditto
11267 (getTokenValue): ditto
11269 * screen.C (ToggleSelection): adjust
11271 * lyxtext.h: put selection cursors inside a Selection struct.
11273 * lyxfunc.C (moveCursorUpdate): adjust
11275 * lyxfont.C (latexWriteStartChanges): add std::
11277 * lyxfind.C: adjust
11279 * font.h: delete with(char const *, LyXFont const &)
11281 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11283 * FontInfo.C (getFontname): add std::
11285 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11286 (workAreaButtonPress): adjust
11287 (tripleClick): adjust
11289 (moveCursorUpdate): adjust
11292 * BufferView2.C (gotoInset): adjust
11294 2001-05-30 Juergen Vigna <jug@sad.it>
11296 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11297 to check pspell I add this as default as I now have new pspell
11298 libraries and they seem to use this.
11300 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
11302 * text2.C (CutSelection): make the cursor valid before the call to
11305 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11307 * kbsequence.C (parse): de-uglify a bit the parsing code, which
11308 relied on 0 terminated strings and other horrors. Bug found due to
11309 the new assert in lyxstring!
11311 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11314 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11316 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11319 * lyxfunc.C (processKeySym): change method of getting to the
11322 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11323 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11324 * BufferView_pimpl.[Ch]: here as private methods.
11326 2001-05-28 Juergen Vigna <jug@sad.it>
11328 * text.C (SetHeightOfRow): added the update() call again as it is
11329 needed to initialize inset dimensions!
11331 2001-05-16 Juergen Vigna <jug@sad.it>
11333 * text2.C (SetCharFont): Add new function with BufferView * and
11334 bool toggleall parameters for setting insets internal fonts.
11335 (SetFont): Freeze the undo as we may change fonts in Insets and
11336 all this change should be inside only one Undo!
11338 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11339 setting font's in insets as for them we have the SetFont function!
11341 2001-05-15 Juergen Vigna <jug@sad.it>
11343 * text2.C (ClearSelection): to be sure we REALLY don't have any
11346 * tabular.C (TeXCellPreamble): fixed the left border problem for
11349 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
11351 * LaTeX.C (deplog): Make sure that the main .tex file is in the
11354 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
11356 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11357 LFUN_BREAKPARAGRAPH.
11359 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11360 help test to "internal only", similar for LFUN_INSERT_URL
11362 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11363 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11364 auto_region_delete and deadkeys.
11366 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
11369 * LColor.C: remove some dead entries, tidy a little
11371 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11373 * lyxfunc.C (processKeySym): comment the Escape handling, remove
11375 (Dispatch): implement LFUN_ESCAPE
11377 * commandtags.h: add LFUN_ESCAPE
11379 * LyXAction.C (init): add entry for LFUN_ESCAPE
11381 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11382 Remove commented code.
11383 (insertNote): moved here
11384 (open_new_inset): moved here
11386 * BufferView[2].[Ch]: move insertNote and open_new_inset to
11389 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11391 * kbmap.C (findbinding): clean it up and make it work correctly.
11393 * lyx_main.C (init): do not pass argc and argv as parameters
11395 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
11397 * buffer.C: fix path for OS/2 & Win32
11401 * lyx_main.C: Added os:: class.
11403 * os2_defines.h: update
11405 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11407 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11408 better by trying again with reduced state.
11410 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11412 * lyxrc.C (read): print error about invalid key sequence only when
11413 debugging (because not all latinX keysyms are known to some X
11416 * kbsequence.C (getiso): add a few std:: qualifiers
11417 (getiso): comment out extra return statement.
11419 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11421 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11423 (Dispatch): enhance the accent inset a bit. (not perfect)
11425 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11427 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11429 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11431 * bufferlist.C (emergencyWrite): fix assert() call
11433 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11435 * text.C (InsertChar): Added trivial patch to only send the "you
11436 can not do multiple spaces this way" message once during a
11439 2001-05-08 Baruch Even <baruch@lyx.org>
11441 * Makefile.am: Changed order of libraries to get LyX to link properly
11442 with the gnome frontend.
11444 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11446 * LaTeXFeatures.h: add a std:: qualifier
11448 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11450 * paragraph.C (String): use stringstream
11452 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11454 * paragraph.C (writeFile): remove footflag arg
11456 * buffer.C (makeLaTeXFile): use stringstream
11457 (latexParagraphs): remove footnot gurba
11459 * LaTeXFeatures.C (getPackages): use stringstream
11460 (getMacros): likewise
11461 (getTClassPreamble): likewise
11462 (getFloatDefinitions): new method
11464 * paragraph.C (writeFile): reindent
11467 * WorkArea.h: revert the xpos + etc changes.
11469 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11471 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11473 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11474 (pasteSelection): likewise
11475 * text2.C (CreateUndo): likewise
11477 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11479 * minibuffer.C (peek_event): temporarily reduce the functionality
11480 of the minibuffer (to allow args on lfuns)
11482 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11483 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11485 * buffer.C (readInset): add compability reading of old float
11486 lists, add reading of new style float list.
11487 (readInset): avoid reevaluation of inscmd.getCmdName()
11488 (getLists): reindent
11490 * MenuBackend.C (MenuItem): implement parsing of
11491 md_floatlistinsert and md_floatinsert.
11492 (expand::LastFiles): move initalizaton of iterators out of loop,
11493 avoid reevaluation.
11494 (expand::Documents): introduce typdedef vector<string> Strings,
11496 (expand::ExportFormats): introduce typedef vector<Format const *>
11497 Formats, and use it.
11498 (expand): implement FloatListInsert and FloatInsert.
11500 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11501 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11502 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11504 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11506 (Dispatch::LFUN_FLOAT_LIST): implement
11508 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11510 * LaTeX.C (run): Fix problem with --export code.
11512 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11514 * BufferView.[Ch] (workarea): removed.
11515 (getClipboard) new method; wrapper for workarea()->getClipboard()
11517 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11520 * WorkArea.h (width, height, xpos, ypos): These methods all
11521 returned the dimensions of the work_area sub-area of WorkArea,
11522 resulting in a position error if the WorkArea were resized. Now
11523 return the dimensions of the entire WorkArea.
11525 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11527 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11529 * LaTeX.C (deplog): correct the syntax of regex reg1
11531 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11533 * undo.C: remove !NEW_INSETS cruft
11535 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11537 * text2.C: remove !NEW_INSETS cruft
11539 * text.C: remove !NEW_INSETS cruft
11541 * tabular.C: remove !NEW_INSETS cruft
11543 * spellchecker.C: remove !NEW_INSETS cruft
11545 * lyxtext.h: remove !NEW_INSETS cruft
11547 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11549 * lyxfunc.C: remove !NEW_INSETS cruft
11551 * lyxfind.C: remove !NEW_INSETS cruft
11553 * lyx_cb.C: remove !NEW_INSETS cruft
11555 * figureForm.C: remove !NEW_INSETS cruft
11557 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11559 * buffer.[Ch]: remove !NEW_INSETS cruft
11561 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11563 * CutAndPaste.C: remove !NEW_INSETS cruft
11565 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11567 * BufferView2.C: remove !NEW_INSETS cruft
11569 * BufferView.h: remove !NEW_INSETS cruft
11571 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11573 * Lsstream.h: include LString.h before the sstream headers to
11574 fix problem with gcc 2.95.3 and lyxstring
11576 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11578 * lyx_main.C: add using directives when needed for C functions
11579 declared in std:: namespace.
11581 2001-04-27 Juergen Vigna <jug@sad.it>
11583 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11584 (SetHeightOfRow): comment out the update call should not be needed!
11586 2001-04-13 Juergen Vigna <jug@sad.it>
11588 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11589 (LyXTabular): tried to minimize operator= operations (and realized
11590 hopfully Lars wish).
11592 2001-04-27 Juergen Vigna <jug@sad.it>
11594 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11596 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11598 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11600 * buffer.C (readInset): hack to make listof algorithm work
11602 * BufferView_pimpl.C: hack to make listof algorithm work
11604 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11606 * LyXAction.C: removed all !NEW_INSETS cruft
11607 (init): moved lfun_item in method
11609 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11611 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11613 * BufferView2.C (theLockingInset): white space.
11615 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11617 * minibuffer.C: include <iostream>
11619 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11621 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11623 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11625 * text.[Ch] (TransposeChars): new method
11627 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11629 * call message directly through LyXView instead of through LyXFunc
11630 * BufferView2.C: adjust
11631 * BufferView_pimpl.C: adjust
11632 * FontLoader.C: adjust
11634 * bufferview_funcs.C: adjust
11635 * converter.C: adjust
11636 * figureForm.C: adjust
11637 * importer.C: adjust
11639 * lyx_gui_misc.C: adjust
11640 * lyxfunc.C: adjust
11643 + more files in subdirs
11645 * lyxparagraph.h (size): move up int file
11648 * adjust all uses of Assert to lyx::Assert.
11650 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11651 lyxfunctional in namespace lyx
11652 * layout.C (hasLayout): ditto
11655 (delete_layout): ditto
11656 (NumberOfClass): ditto
11657 * converter.C (GetFormat): ditto
11662 * bufferlist.C (getFileNames): ditto
11663 (emergencyWriteAll): ditto
11666 * MenuBackend.C (hasSubmenu): ditto
11669 * BufferView_pimpl.C (getInsetByCode): ditto
11671 2001-04-18 Juergen Vigna <jug@sad.it>
11673 * vspace.C (asLatexString): fixed the 100% problem.
11675 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11677 * lyxfunc.C (Dispatch):
11679 * minibuffer.h: add a few std:: qualifiers
11681 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11683 * minibuffer.[Ch]: reimplement so that commands is initiated and
11684 run from lyxfunc, simplified som handling, and made the completion
11685 and history code for complete. wip.
11687 * lyxfunc.C (processKeySym): call message
11688 (miniDispatch): new temporary method
11689 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11690 (LFUN_MESSAGE): implement
11691 (LFUN_MESSAGE_PUSH): implement
11692 (LFUN_MESSAGE_POP): implement
11693 (initMiniBuffer): the initial/defualt minibuffer message.
11695 * lyxfont.[Ch]: inline some more getters
11697 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11699 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11701 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11702 (AutoSave): use LFUN_MESSAGE
11703 (Reconfigure): ditto
11705 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11707 * figureForm.C: use LFUN_MESSAGE
11709 * converter.C (runLaTeX): use LFUN_MESSAGE
11711 * bufferview_funcs.C: use LFUN_MESSAGE
11713 (changeDepth): ditto
11715 * bufferparams.h: use boost::
11717 * bufferlist.h: inherit privately from noncopyable
11719 * bufferlist.C (loadLyXFile): remove some commented code.
11721 * buffer.C (runChktex): use LFUN_MESSAGE
11723 * ShareContainer.h: inherit privately from noncopyable
11725 * ParagraphParameters.[hC] (depth): inline it.
11727 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11729 (message): new method
11730 (messagePush): ditto
11731 (messagePop): ditto
11732 (show): init minibuffer
11733 (showState): direct call
11735 * LaTeX.[Ch]: inherit privately from noncopyable
11736 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11737 instead of WriteStatus.
11739 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11741 * BufferView_pimpl.C (buffer): don't init minibuffer
11742 (workAreaButtonPress): use LFUN_MESSAGE
11743 (workAreaButtonRelease): ditto
11744 (savePosition): ditto
11745 (restorePosition): ditto
11746 (MenuInsertLyXFile): ditto
11747 (workAreaExpose): don't init minibuffer
11748 (update): remove commented code, simplify
11750 * BufferView2.C (openStuff): use LFUN_MESSAGE
11751 (toggleFloat): ditto
11754 (copyEnvironment): ditto
11755 (pasteEnvironment): ditto
11760 (updateInset): remove some commented code
11762 * lastfiles.h: inherit privately from noncopyable
11765 * lyx_main.h: ditto
11767 * lyxlex_pimpl.h: ditto
11769 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11770 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11771 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11773 * LyXAction.h: inherit privately from noncopyable, add methods
11774 func_begin, func_end, returning iterators to the func map.
11776 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11777 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11778 (func_begin): new method
11779 (func_end): new method
11781 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11783 (copySelection): ditto
11784 (pasteSelection): ditto
11786 * BufferView.C: whitespace change
11787 * BufferView.h: inherit privately from noncopyable
11789 2001-04-16 Allan Rae <rae@lyx.org>
11791 * tabular-old.C (l_getline):
11792 * spellchecker.C (sc_check_word):
11793 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11794 an unrecognised preprocessor directive. So ensure they're wrapped.
11796 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11798 * src/exporter.C (Export): Give an error message when path to file
11801 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11803 * LaTeX.C (deplog): Always check that foundfile exists.
11805 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11808 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11810 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11812 * tabular.[Ch] (getLabelList): implement new method
11814 * minibuffer.h: comment ouf setTiimer
11816 * minibuffer.C (ExecutingCB): constify res
11817 (peek_event): constify s
11818 (Set): constify ntext
11819 (Init): constify nicename
11821 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11823 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11824 (savePosition): use two params to Minibuffer::Set
11825 (restorePosition): ditto
11827 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11829 * lyx_main.C: include language.h
11831 * Makefile.am (lyx_main.o): add language.h
11833 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11839 * CutAndPaste.C: include gettext.h
11841 * lyxfont.h: remove old hack with ON and OFF.
11844 * lyxfont.h: do not include language.h...
11849 * bufferview_funcs.C:
11855 * paragraph.C: ... but do it here instead
11857 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11859 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11861 * tabular.C: small reformat
11863 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11866 (BreakParagraph): ditto
11867 (SetOnlyLayout): ditto
11870 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11873 * lastfiles.C: removed most using decl, add std:: where needed
11875 * buffer.C: ws changes
11877 * MenuBackend.C (class compare_format): put into anon namespace
11878 (expand): constify label, names, action, action2
11881 * text.C (SingleWidth): constify font
11882 (IsBoundary): constify rtl2
11883 (GetVisibleRow): constify ww
11885 * LaTeX.C (deplog): constify logfile
11887 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11889 (workAreaExpose): constify widthChange, heightChange
11891 * lyxrow.C (par): moved
11894 * lyxrow.h: as inlines here
11896 * lyxfont.h (shape): moved from lyxfont.C
11897 (emph): moved from lyxfont.C
11899 * lyxfont.C (LyXFont): use initialization list for all
11901 (shape): move to lyxfont.h as inline
11902 (emph): move to lyxfont.h as inline
11905 2001-04-04 Juergen Vigna <jug@sad.it>
11907 * vspace.C: had to include stdio.h for use of sscanf
11909 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11912 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11913 independent of xforms.
11915 2001-04-02 Juergen Vigna <jug@sad.it>
11917 * spellchecker.C: fixed namespace placing!
11919 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11921 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11922 the LyXParagraph * is 0.
11924 2001-03-29 Juergen Vigna <jug@sad.it>
11926 * vspace.C: added support for %, c%, p%, l%.
11927 (stringFromUnit): added helper function.
11928 (asLatexString): changed to give right results for the %-values.
11930 * buffer.C: convert the widthp in a width%.
11932 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11934 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11937 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11938 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11940 * lyx_cb.[Ch]: see above.
11942 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11946 * lyx.[Ch]: replaced by figure_form.[Ch].
11950 * lyxfunc.C: changed headers associated with above changes.
11952 2001-03-27 Juergen Vigna <jug@sad.it>
11954 * BufferView_pimpl.C: set the temporary cursor right!
11956 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11958 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11960 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11962 * LString.h: removed "using std::getline"!
11964 * BufferView_pimpl.C (Dispatch): changes due to changes in
11965 InsetInclude::Params.
11967 * buffer.C (tag_name): removed redundant break statements as they were
11968 producing lots of warnings with my compiler.
11970 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11972 * LString.h: add "using std::getline" when using the real <string>.
11974 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11976 * buffer.C: removed bitset usage.
11977 PAR_TAG moved to an anonymous name space.
11978 (tag_name): new funtion, also in the anonymous namespace.
11979 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11980 (makeDocBookFile): clean code. Completed transition from string arrays
11982 (SimpleDocBookOnePar): code clean.
11984 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11986 * tabular.C: add some comments.
11988 2001-03-22 Juergen Vigna <jug@sad.it>
11990 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11991 compatibility read a bit and fixed bug with minipage in different
11994 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11996 * buffer.C (pop_tag): removed.
11997 (push_tag): removed.
11998 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11999 array replaced with vector. Added support for CDATA sections.
12000 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12002 (makeDocBookFile): XML conformant declaration of CDATA section,
12003 fixed bug related to <emphasis> in the first paragraph char.
12004 (sgmlOpenTag): exclude empty tags.
12005 (sgmlCloseTag): ditto.
12007 * buffer.h (pop_tag): removed.
12008 (push_tag): removed.
12010 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
12012 * language.h (Languages): added size_type and size().
12014 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12016 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12017 response on compability reading of minipages. One probliem is that
12018 the old usage of minipages was «flertydig»
12020 * several files here and in subdirs: don't use static at file
12021 scope use anon namespaces instead.
12023 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
12025 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12026 LaTeX output. This is necessary for Literate document
12029 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12031 * buffer.C: insert hfill when needed.
12033 * tabular.C (l_getline): use string::erase, small whitespace change.
12035 * BufferView_pimpl.C: try the anon namespace.
12036 * WorkArea.C: ditto
12038 2001-03-16 Juergen Vigna <jug@sad.it>
12040 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12041 otherwise it won't open options-dialogs.
12043 * buffer.C: honor pextraWidth(p) on converting minipages.
12045 * tabular.C (l_getline): changed the functions to strip trailing \r.
12047 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
12049 * BufferView_pimpl.C:
12050 * minibuffer..C: added "using SigC::slot" declaration.
12052 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12054 * lyxlex_pimpl.h: noncopyable is in namespace boost.
12060 * paragraph.C: ditto
12062 * lyxtext.h: NO_PEXTRA
12064 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12066 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12067 * ParameterStruct.h: ditto
12068 * ParagraphParameters.h: ditto
12069 * lyxparagraph.h: ditto
12071 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12073 * buffer.C: add compability for minipage alignment.
12074 (latexParagraphs): remove unwanted pextra check.
12076 * several files: remove CXX_WORKING_NAMESPACES
12078 * buffer.C (pop_tag): tie is in namespace boost
12080 * BufferView.h: noncopyable is in namespace boost
12082 * lyx_main.h: ditto
12085 * lastfiles.h: ditto
12086 * bufferlist.h: ditto
12087 * ShareContainer.h: ditto
12089 * LyXAction.h: ditto
12092 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12094 * Merging changes from BRANCH_MVC back into HEAD.
12096 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12098 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
12100 * BufferView_pimpl.C: change from intl.C
12104 * Makefile.am: move combox.*
12110 * intl.C: remove dialog (covered by prefs)
12112 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
12114 * lyxfunc.C (Dispatch): removed redundant break statement.
12116 2001-03-14 Juergen Vigna <jug@sad.it>
12118 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12120 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12122 * buffer.C: add hack to fix compability reading of minipages.
12124 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
12126 * buffer.C (getLists): Cleanup.
12128 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12130 * lyxfont.C (update): don't honor toggleall on font size.
12132 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
12136 * Makefile.am: moved to frontends/xforms/
12140 * BufferView_pimpl.C: changes for moved mathpanel
12142 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12144 * gettext.h: fix gettext_init() in --disable-nls
12146 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12148 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12150 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
12153 * lyx.h: strip external form
12155 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12157 * BufferView_pimpl.C: add comment, destroySplash()
12159 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
12161 * BufferView_pimpl.C:
12165 * lyxfunc.C: use re-worked insetinclude
12167 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12169 * buffer.C: add using std::stringstream.
12171 * lyx_cb.C: readd using std::ios.
12173 * buffer.C: add using std::map.
12175 * BufferView_pimpl.C: add using std::vector.
12177 * ShareContainer.h: add std:: to swap.
12179 * buffer.h: add some typedefs
12180 * buffer.C (getLists): use them
12181 (getLists): renamed from getTocList.
12182 add a counter for the different float types and use it in the
12184 (getLists): use the same counter for the NEW_INSETS and the "non"
12187 * lyx_cb.h: remove unused items, includes, using etc.
12189 * ShareContainer.h: remove some commented code, add more comments
12190 and "documentation".
12192 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12194 * buffer.C (getTocList): make the list also when NEW_INSETS is
12197 * buffer.h: remove TocType
12199 * buffer.C (getTocList): change to return a map<string,
12200 vector<TocItem> >, implement for dynamic number of list.
12202 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12203 * text2.C (PasteSelection): adjust
12204 * CutAndPaste.C (pasteSelection): adjust
12206 * FloatList.C (FloatList): update from the new_insets branch.
12207 * Floating.[Ch]: ditto
12208 * LaTeXFeatures.C: ditto
12210 * lyxlex_pimpl.C: ditto
12212 * paragraph.C (Last): remove when NEW_INSETS is defined.
12214 * other file: changes because of the above.
12216 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12218 * lyxparagraph.h: rename next to next_, previous to previous_,
12219 make them private for NEW_INSETS. Rename Next() to next(),
12220 Previous() to previous().
12222 * other files: changes because of the above.
12224 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
12227 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12230 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12232 * main.C (main): pass lyx_localedir to gettext_init().
12234 * gettext.h: remove locale_init and gettext_init macros
12236 * gettext.C (locale_init): new function
12237 (gettext_init): new function
12239 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12242 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
12244 * Moved credits to frontends:
12245 * credits.[Ch]: removed
12246 * credits_form.[Ch]: removed
12247 * lyx_gui_misc.C: remove credits stuff
12250 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12252 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12254 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12255 unneeded destructor.
12257 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12258 a standalone pointer again.
12260 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12262 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
12268 * ToolbarDefaults.C:
12277 * BufferView_pimpl.C: use new file dialog in GUII
12280 * lyx_cb.C: remove LayoutsCB to Toolbar
12282 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12284 * ShareContainer.h (get): add std:: qualifier
12286 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12288 * ShareContainer.h: define a proper ShareContainer::value_type
12289 type (and use typename to please compaq cxx)
12291 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12293 * lyxparagraph.h: move serveral local vars to
12294 ParameterStruct/ParagraphParameters., use ShareContainer in
12295 FontTable., make vars in FontTable private and add getter and
12298 * paragraph.C: changes because of the above.
12300 * lyxfont.h: remove copy constructor and copy assignment. (the
12301 default ones is ok), move number inside FontBits. move inlines to
12304 * lyxfont.C: add number to initializaton of statics, move several
12305 inlines here. constify several local vars. some whitespace
12306 cleanup. Dont hide outerscope variables.
12308 * Spacing.h: add two new constructors to match the set methods.
12310 * ShareContainer.h: new file, will perhaps be moved to support
12312 * ParameterStruct.h: new file
12314 * ParagraphParameters.h: new file
12316 * ParagraphParameters.C: new file
12318 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12319 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12321 * BufferView_pimpl.C: ParagraphParameter changes.
12322 * buffer.C: Likewise.
12323 * bufferview_funcs.C: Likewise.
12324 * text.C: Likewise.
12325 * text2.C: Likewise.
12327 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12329 * lyxfind.C (LyXReplace): do not redefine default argument in
12331 (IsStringInText): ditto
12332 (SearchForward): ditto
12333 (SearchBackward): ditto
12335 2001-03-06 Juergen Vigna <jug@sad.it>
12337 * lyxfind.C (IsStringInText): put parentes around expressions.
12339 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
12341 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12343 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
12345 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12347 * stl_string_fwd.h: add comment
12349 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12352 * tabular.C: remove unused DocBook methods
12358 killed DO_USE_DEFAULT_LANGUAGE
12360 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12362 * lyx_gui.C: do not include language.h.
12364 * bufferview_funcs.C (ToggleAndShow): do not provide optional
12365 arguments in function implementation.
12367 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12369 * BufferView_pimpl.C: add <ctime>
12371 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12373 * BufferView_pimpl.C: add using std::find_if
12375 2001-02-27 José Matos <jamatos@fep.up.pt>
12377 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12380 2001-02-11 José Matos <jamatos@fep.up.pt>
12382 * buffer.C (makeDocBookFile): command styles now have a parameter as
12383 "title" by default.
12385 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
12387 * layout_forms.[Ch]: removed
12388 * lyx_cb.[Ch]: out character
12389 * lyx_gui.C: out character
12390 * lyx_gui_misc.C: out character
12391 * bufferview_funcs.C: : out character,
12392 added toggleall as parameter in ToggleAndShow
12394 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
12396 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12398 * text2.C (SetCurrentFont): Disable number property at boundary.
12400 2001-02-26 Juergen Vigna <jug@sad.it>
12402 * lyxfunc.C (getStatus): added a string argument override function so
12403 that this is correctly called from LyXFunc::Dispatch if it contains a
12404 do_not_use_argument which is used!
12405 (Dispatch): added check for "custom" export and call appropriate func.
12407 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
12409 * lyxrc.C: Add language_command_local, language_use_babel and
12410 language_global_options.
12412 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12414 * buffer.C (makeLaTeXFile): Use language_use_babel and
12415 language_global_options.
12417 2001-02-23 Juergen Vigna <jug@sad.it>
12419 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12420 which works with LyXText and putted it inside BufferView. Here now we
12421 only call for that part the BufferView::Dispatch() function.
12423 * BufferView.C (Dispatch): added.
12425 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12426 functions which needs to use a LyXText over from LyXFunc.
12427 (MenuInsertLyXFile): added
12428 (getInsetByCode): added
12429 (moveCursorUpdate): added
12430 (static TEXT): added
12432 2001-02-22 Juergen Vigna <jug@sad.it>
12434 * BufferView_pimpl.C (update): call a status update to see if LyXText
12437 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12439 * vc-backend.C (revert): implement for CVS
12440 (getLog): implement for CVS
12442 2001-02-20 Juergen Vigna <jug@sad.it>
12444 * text2.C (ClearSelection): added BufferView param for inset_owner call
12446 * lyxfunc.C (TEXT): added this function and use it instead of
12447 directly owner->view()-text of getLyXText().
12449 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12451 * src/layout_forms.C: out preamble
12452 * src/layout_forms.h: out preamble
12453 * src/lyx_cb.C: out preamble
12454 * src/lyx_cb.h: out preamble
12455 * src/lyx_gui.C: out preamble
12456 * src/lyx_gui_misc.C: out preamble
12457 * src/lyxfunc.C: connect with guii preamble
12459 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12461 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12463 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12465 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12466 whether to run bibtex.
12468 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12470 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12472 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12474 * Makefile.am (lyx_SOURCES): removed bibforms.h
12476 * vspace.h: doxygen
12478 * text.C (GetVisibleRow): make several local vars const
12480 * tabular.C: small cleanup.
12482 * lyxserver.C (callback): use compare instead of strncmp
12484 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12485 inlines to after class or to paragraph.C
12487 * lyxfont.h: remove friend operator!=
12489 * converter.h: move friend bool operator< to non friend and after
12492 * combox.h: small cleanup
12494 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12495 to inlines after class def.
12497 * buffer.C (pop_tag): use string operations instead of strcmp
12499 * bmtable.c: doxygen, small cleanup
12501 * LaTeX.h: remove friend operator==
12503 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12515 * BufferView_pimpl.C:
12516 * BufferView.[Ch]: remove cruft
12518 2001-02-14 Juergen Vigna <jug@sad.it>
12520 * lyxfunc.C: removed #if 0 unused code
12522 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12524 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12526 * text2.C (SetSelection): added a BufferView * parameter
12528 2001-02-13 Juergen Vigna <jug@sad.it>
12530 * lyxfunc.C (Dispatch): fixed protected blank problem.
12531 * BufferView2.C (protectedBlank): added LyxText * parameter.
12533 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12534 (AppendColumn): same as above for column_info.
12536 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12537 (moveCursorUpdate): use a LyXText param for support of InsetText.
12539 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12540 (tripleClick): ditto
12542 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12544 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12546 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12548 * text2.C (SetSelection): set correct update status if inset_owner
12549 (ToggleFree): ditto
12551 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12553 * tabular.C: remove some commented code.
12555 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12557 * BufferView_pimpl.C: call hideSplash()
12559 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12562 * bibforms.h: remove
12565 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12566 add LFUN_CHILD_CREATE
12568 * counters.h: fix tiny typo
12573 * lyx.C: move splash to frontends/xforms/
12575 * lyx_gui_misc.C: move Include and Bibform to frontends
12577 * lyxvc.h: clarify comment
12579 * vspace.C: tiny housekeeping
12581 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12583 * text.C (PrepareToPrint): RTL Fix.
12585 * paragraph.C (GetUChar): New method.
12586 (String): Use GetUChar.
12588 * buffer.C (asciiParagraph): Use GetUChar.
12590 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12592 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12594 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12597 * buffer.C: rename to getLogName(), handle
12598 build log / latex log nicely
12600 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12603 * MenuBackend.h: remove support for reference menuitem type.
12605 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12607 * BufferView_pimpl.C: housekeeping
12608 * BufferView_pimpl.h:
12613 * minibuffer.h: move Timeout GUI-I
12615 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12617 * lyxrc.C (read): Update converters data-structures.
12619 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12621 * LaTeX.h (operator!=): add operator != for Aux_Info
12623 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12625 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12627 * LaTeXLog.C: deleted, useful code moved to Buffer
12630 * buffer.C: new function getLatexLogName()
12636 * lyxfunc.C: use frontends for LaTeX and VC logs
12638 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12640 * LaTeX.h: yet another std:: that Allan forgot.
12642 * Variables.C (set): renamed from isset(), because this clashes
12643 with some HP-UX macros (grr).
12645 2001-02-06 Allan Rae <rae@lyx.org>
12647 * LaTeX.h: Another bug fix. Missing std:: this time.
12649 2001-02-04 Allan Rae <rae@lyx.org>
12651 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12652 floats problem. I've left it commented out because it's not quite
12653 correct. It should also test that the current object is a table or
12654 figure inset. But I haven't gotten around to figuring out how to do
12655 that. I *think* it'll be something like: "table" == inset.type()
12657 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12660 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12662 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12663 all the citation/databases/styles in the auxilary file.
12664 (run): Rerun latex if there was a babel language error.
12666 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12668 * text.C (Backspace): Preserve the font when changing newline char
12670 (BreakParagraph): If the cursor is before a space, delete the space.
12672 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12674 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12676 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12677 new argument (code).
12678 (ChangeCitationsIfUnique): New method.
12680 * paragraph.C (GetPositionOfInset): Handle bibkey.
12682 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12684 * BufferView_pimpl.h: change type of Position::par_pos to
12685 LyXParagraph::size_type.
12687 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12689 * BufferView_pimpl.C (savePosition, restorePosition): Write
12690 messages to minibuffer.
12692 2001-01-28 José Matos <jamatos@fep.up.pt>
12694 * buffer.C (makeDocBookFile): adds support for document language.
12695 A silly restriction on the name of LatexCommand types where removed.
12696 Added support for CDATA sections, allows to chars unescaped, used
12697 among others in code, to avoid escape < and >.
12699 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12701 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12702 saved positions instrad of a stack. Furthermore, a position is
12703 stored using paragraph id/paragraph position.
12705 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12706 Remove LFUN_REF_BACK.
12708 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12710 * converter.C (dvipdfm_options): New method.
12712 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12714 * vspace.C (isValidLength): Fix for empty input string.
12716 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12718 * LyXAction.C (init): change description of LFUN_FIGURE to
12721 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12723 * LaTeX.C: add using directive
12725 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12727 * MenuBackend.C (expand): Fix the sorting of the formats.
12729 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12731 * lyx_main.C: tiny error message fix
12733 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12735 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12736 calling fl_initialize(). This fixes the problem with ',' as
12737 decimal separator in text files.
12739 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12741 * trans.C (process): Fix the keymap bug.
12743 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12745 * LaTeX.C (scanAuxFiles): New method. Provides support for
12746 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12747 (scanLogFile) Scan for "run BibTeX" messages.
12749 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12750 OT1 font encoding. Also, load the aecompl package if the ae
12753 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12755 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12757 * texrow.C (increasePos): turn two error messages into debug
12760 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12762 * LaTeX.C (scanAux): Handle the \@input macro.
12763 (runBibTeX): Use scanAux().
12765 * language.C (latex_options_): New field.
12767 * LaTeXFeatures.C (getMacros): Add language macros.
12769 * buffer.C (makeLaTeXFile): Small fix.
12771 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12773 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12775 * text2.C: add a using directive.
12777 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12782 * lyxfunc.C: kill LyXBell.
12784 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12786 * text.C (IsBoundary): Remove the error message
12788 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12790 * lyxrc.C (setDefaults): Correct initialization value for
12793 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12795 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12798 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12799 and GotoNextNote().
12801 * src/LyXAction.C: Added reference-next.
12803 * text.C (InsertChar): Use contains instead of strchr.
12805 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12807 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12809 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12810 alignment commands (when needed).
12812 * text.C (InsertChar): Add ':' to number separator chars.